libgcc/
[official-gcc.git] / libstdc++-v3 / configure
blob5fb310780a641749d70a937f831eaf9aec4a7b54
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 GLIBCXX_LIBS LIBICONV LTLIBICONV SYMVER_FILE port_specific_symbol_files ENABLE_SYMVERS_TRUE ENABLE_SYMVERS_FALSE ENABLE_SYMVERS_GNU_TRUE ENABLE_SYMVERS_GNU_FALSE ENABLE_SYMVERS_GNU_NAMESPACE_TRUE ENABLE_SYMVERS_GNU_NAMESPACE_FALSE ENABLE_SYMVERS_DARWIN_TRUE ENABLE_SYMVERS_DARWIN_FALSE ENABLE_VISIBILITY_TRUE ENABLE_VISIBILITY_FALSE GLIBCXX_LDBL_COMPAT_TRUE GLIBCXX_LDBL_COMPAT_FALSE baseline_dir ATOMICITY_SRCDIR ATOMIC_WORD_SRCDIR ATOMIC_FLAGS CPU_DEFINES_SRCDIR ABI_TWEAKS_SRCDIR OS_INC_SRCDIR ERROR_CONSTANTS_SRCDIR glibcxx_prefixdir gxx_include_dir glibcxx_toolexecdir glibcxx_toolexeclibdir GLIBCXX_INCLUDES TOPLEVEL_INCLUDES OPTIMIZE_CXXFLAGS WARN_FLAGS LIBSUPCXX_PICFLAGS LIBOBJS LTLIBOBJS'
462 ac_subst_files=''
463 ac_pwd=`pwd`
465 # Initialize some variables set by options.
466 ac_init_help=
467 ac_init_version=false
468 # The variables have the same names as the options, with
469 # dashes changed to underlines.
470 cache_file=/dev/null
471 exec_prefix=NONE
472 no_create=
473 no_recursion=
474 prefix=NONE
475 program_prefix=NONE
476 program_suffix=NONE
477 program_transform_name=s,x,x,
478 silent=
479 site=
480 srcdir=
481 verbose=
482 x_includes=NONE
483 x_libraries=NONE
485 # Installation directory options.
486 # These are left unexpanded so users can "make install exec_prefix=/foo"
487 # and all the variables that are supposed to be based on exec_prefix
488 # by default will actually change.
489 # Use braces instead of parens because sh, perl, etc. also accept them.
490 bindir='${exec_prefix}/bin'
491 sbindir='${exec_prefix}/sbin'
492 libexecdir='${exec_prefix}/libexec'
493 datadir='${prefix}/share'
494 sysconfdir='${prefix}/etc'
495 sharedstatedir='${prefix}/com'
496 localstatedir='${prefix}/var'
497 libdir='${exec_prefix}/lib'
498 includedir='${prefix}/include'
499 oldincludedir='/usr/include'
500 infodir='${prefix}/info'
501 mandir='${prefix}/man'
503 ac_prev=
504 for ac_option
506 # If the previous option needs an argument, assign it.
507 if test -n "$ac_prev"; then
508 eval "$ac_prev=\$ac_option"
509 ac_prev=
510 continue
513 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
515 # Accept the important Cygnus configure options, so we can diagnose typos.
517 case $ac_option in
519 -bindir | --bindir | --bindi | --bind | --bin | --bi)
520 ac_prev=bindir ;;
521 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
522 bindir=$ac_optarg ;;
524 -build | --build | --buil | --bui | --bu)
525 ac_prev=build_alias ;;
526 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
527 build_alias=$ac_optarg ;;
529 -cache-file | --cache-file | --cache-fil | --cache-fi \
530 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
531 ac_prev=cache_file ;;
532 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
533 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
534 cache_file=$ac_optarg ;;
536 --config-cache | -C)
537 cache_file=config.cache ;;
539 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
540 ac_prev=datadir ;;
541 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
542 | --da=*)
543 datadir=$ac_optarg ;;
545 -disable-* | --disable-*)
546 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
547 # Reject names that are not valid shell variable names.
548 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
549 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
550 { (exit 1); exit 1; }; }
551 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
552 eval "enable_$ac_feature=no" ;;
554 -enable-* | --enable-*)
555 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
556 # Reject names that are not valid shell variable names.
557 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
558 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
559 { (exit 1); exit 1; }; }
560 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
561 case $ac_option in
562 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
563 *) ac_optarg=yes ;;
564 esac
565 eval "enable_$ac_feature='$ac_optarg'" ;;
567 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
568 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
569 | --exec | --exe | --ex)
570 ac_prev=exec_prefix ;;
571 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
572 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
573 | --exec=* | --exe=* | --ex=*)
574 exec_prefix=$ac_optarg ;;
576 -gas | --gas | --ga | --g)
577 # Obsolete; use --with-gas.
578 with_gas=yes ;;
580 -help | --help | --hel | --he | -h)
581 ac_init_help=long ;;
582 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
583 ac_init_help=recursive ;;
584 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
585 ac_init_help=short ;;
587 -host | --host | --hos | --ho)
588 ac_prev=host_alias ;;
589 -host=* | --host=* | --hos=* | --ho=*)
590 host_alias=$ac_optarg ;;
592 -includedir | --includedir | --includedi | --included | --include \
593 | --includ | --inclu | --incl | --inc)
594 ac_prev=includedir ;;
595 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
596 | --includ=* | --inclu=* | --incl=* | --inc=*)
597 includedir=$ac_optarg ;;
599 -infodir | --infodir | --infodi | --infod | --info | --inf)
600 ac_prev=infodir ;;
601 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
602 infodir=$ac_optarg ;;
604 -libdir | --libdir | --libdi | --libd)
605 ac_prev=libdir ;;
606 -libdir=* | --libdir=* | --libdi=* | --libd=*)
607 libdir=$ac_optarg ;;
609 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
610 | --libexe | --libex | --libe)
611 ac_prev=libexecdir ;;
612 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
613 | --libexe=* | --libex=* | --libe=*)
614 libexecdir=$ac_optarg ;;
616 -localstatedir | --localstatedir | --localstatedi | --localstated \
617 | --localstate | --localstat | --localsta | --localst \
618 | --locals | --local | --loca | --loc | --lo)
619 ac_prev=localstatedir ;;
620 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
621 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
622 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
623 localstatedir=$ac_optarg ;;
625 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
626 ac_prev=mandir ;;
627 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
628 mandir=$ac_optarg ;;
630 -nfp | --nfp | --nf)
631 # Obsolete; use --without-fp.
632 with_fp=no ;;
634 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
635 | --no-cr | --no-c | -n)
636 no_create=yes ;;
638 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
639 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
640 no_recursion=yes ;;
642 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
643 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
644 | --oldin | --oldi | --old | --ol | --o)
645 ac_prev=oldincludedir ;;
646 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
647 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
648 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
649 oldincludedir=$ac_optarg ;;
651 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
652 ac_prev=prefix ;;
653 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
654 prefix=$ac_optarg ;;
656 -program-prefix | --program-prefix | --program-prefi | --program-pref \
657 | --program-pre | --program-pr | --program-p)
658 ac_prev=program_prefix ;;
659 -program-prefix=* | --program-prefix=* | --program-prefi=* \
660 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
661 program_prefix=$ac_optarg ;;
663 -program-suffix | --program-suffix | --program-suffi | --program-suff \
664 | --program-suf | --program-su | --program-s)
665 ac_prev=program_suffix ;;
666 -program-suffix=* | --program-suffix=* | --program-suffi=* \
667 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
668 program_suffix=$ac_optarg ;;
670 -program-transform-name | --program-transform-name \
671 | --program-transform-nam | --program-transform-na \
672 | --program-transform-n | --program-transform- \
673 | --program-transform | --program-transfor \
674 | --program-transfo | --program-transf \
675 | --program-trans | --program-tran \
676 | --progr-tra | --program-tr | --program-t)
677 ac_prev=program_transform_name ;;
678 -program-transform-name=* | --program-transform-name=* \
679 | --program-transform-nam=* | --program-transform-na=* \
680 | --program-transform-n=* | --program-transform-=* \
681 | --program-transform=* | --program-transfor=* \
682 | --program-transfo=* | --program-transf=* \
683 | --program-trans=* | --program-tran=* \
684 | --progr-tra=* | --program-tr=* | --program-t=*)
685 program_transform_name=$ac_optarg ;;
687 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
688 | -silent | --silent | --silen | --sile | --sil)
689 silent=yes ;;
691 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
692 ac_prev=sbindir ;;
693 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
694 | --sbi=* | --sb=*)
695 sbindir=$ac_optarg ;;
697 -sharedstatedir | --sharedstatedir | --sharedstatedi \
698 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
699 | --sharedst | --shareds | --shared | --share | --shar \
700 | --sha | --sh)
701 ac_prev=sharedstatedir ;;
702 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
703 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
704 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
705 | --sha=* | --sh=*)
706 sharedstatedir=$ac_optarg ;;
708 -site | --site | --sit)
709 ac_prev=site ;;
710 -site=* | --site=* | --sit=*)
711 site=$ac_optarg ;;
713 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
714 ac_prev=srcdir ;;
715 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
716 srcdir=$ac_optarg ;;
718 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
719 | --syscon | --sysco | --sysc | --sys | --sy)
720 ac_prev=sysconfdir ;;
721 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
722 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
723 sysconfdir=$ac_optarg ;;
725 -target | --target | --targe | --targ | --tar | --ta | --t)
726 ac_prev=target_alias ;;
727 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
728 target_alias=$ac_optarg ;;
730 -v | -verbose | --verbose | --verbos | --verbo | --verb)
731 verbose=yes ;;
733 -version | --version | --versio | --versi | --vers | -V)
734 ac_init_version=: ;;
736 -with-* | --with-*)
737 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
740 { echo "$as_me: error: invalid package name: $ac_package" >&2
741 { (exit 1); exit 1; }; }
742 ac_package=`echo $ac_package| sed 's/-/_/g'`
743 case $ac_option in
744 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
745 *) ac_optarg=yes ;;
746 esac
747 eval "with_$ac_package='$ac_optarg'" ;;
749 -without-* | --without-*)
750 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
751 # Reject names that are not valid shell variable names.
752 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
753 { echo "$as_me: error: invalid package name: $ac_package" >&2
754 { (exit 1); exit 1; }; }
755 ac_package=`echo $ac_package | sed 's/-/_/g'`
756 eval "with_$ac_package=no" ;;
758 --x)
759 # Obsolete; use --with-x.
760 with_x=yes ;;
762 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
763 | --x-incl | --x-inc | --x-in | --x-i)
764 ac_prev=x_includes ;;
765 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
766 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
767 x_includes=$ac_optarg ;;
769 -x-libraries | --x-libraries | --x-librarie | --x-librari \
770 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
771 ac_prev=x_libraries ;;
772 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
773 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
774 x_libraries=$ac_optarg ;;
776 -*) { echo "$as_me: error: unrecognized option: $ac_option
777 Try \`$0 --help' for more information." >&2
778 { (exit 1); exit 1; }; }
781 *=*)
782 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
785 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
786 { (exit 1); exit 1; }; }
787 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
788 eval "$ac_envvar='$ac_optarg'"
789 export $ac_envvar ;;
792 # FIXME: should be removed in autoconf 3.0.
793 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
794 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
795 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
796 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
799 esac
800 done
802 if test -n "$ac_prev"; then
803 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
804 { echo "$as_me: error: missing argument to $ac_option" >&2
805 { (exit 1); exit 1; }; }
808 # Be sure to have absolute paths.
809 for ac_var in exec_prefix prefix
811 eval ac_val=$`echo $ac_var`
812 case $ac_val in
813 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
814 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
815 { (exit 1); exit 1; }; };;
816 esac
817 done
819 # Be sure to have absolute paths.
820 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
821 localstatedir libdir includedir oldincludedir infodir mandir
823 eval ac_val=$`echo $ac_var`
824 case $ac_val in
825 [\\/$]* | ?:[\\/]* ) ;;
826 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
827 { (exit 1); exit 1; }; };;
828 esac
829 done
831 # There might be people who depend on the old broken behavior: `$host'
832 # used to hold the argument of --host etc.
833 # FIXME: To remove some day.
834 build=$build_alias
835 host=$host_alias
836 target=$target_alias
838 # FIXME: To remove some day.
839 if test "x$host_alias" != x; then
840 if test "x$build_alias" = x; then
841 cross_compiling=maybe
842 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
843 If a cross compiler is detected then cross compile mode will be used." >&2
844 elif test "x$build_alias" != "x$host_alias"; then
845 cross_compiling=yes
849 ac_tool_prefix=
850 test -n "$host_alias" && ac_tool_prefix=$host_alias-
852 test "$silent" = yes && exec 6>/dev/null
855 # Find the source files, if location was not specified.
856 if test -z "$srcdir"; then
857 ac_srcdir_defaulted=yes
858 # Try the directory containing this script, then its parent.
859 ac_confdir=`(dirname "$0") 2>/dev/null ||
860 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
861 X"$0" : 'X\(//\)[^/]' \| \
862 X"$0" : 'X\(//\)$' \| \
863 X"$0" : 'X\(/\)' \| \
864 . : '\(.\)' 2>/dev/null ||
865 echo X"$0" |
866 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
867 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
868 /^X\(\/\/\)$/{ s//\1/; q; }
869 /^X\(\/\).*/{ s//\1/; q; }
870 s/.*/./; q'`
871 srcdir=$ac_confdir
872 if test ! -r $srcdir/$ac_unique_file; then
873 srcdir=..
875 else
876 ac_srcdir_defaulted=no
878 if test ! -r $srcdir/$ac_unique_file; then
879 if test "$ac_srcdir_defaulted" = yes; then
880 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
881 { (exit 1); exit 1; }; }
882 else
883 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
884 { (exit 1); exit 1; }; }
887 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
888 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
889 { (exit 1); exit 1; }; }
890 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
891 ac_env_build_alias_set=${build_alias+set}
892 ac_env_build_alias_value=$build_alias
893 ac_cv_env_build_alias_set=${build_alias+set}
894 ac_cv_env_build_alias_value=$build_alias
895 ac_env_host_alias_set=${host_alias+set}
896 ac_env_host_alias_value=$host_alias
897 ac_cv_env_host_alias_set=${host_alias+set}
898 ac_cv_env_host_alias_value=$host_alias
899 ac_env_target_alias_set=${target_alias+set}
900 ac_env_target_alias_value=$target_alias
901 ac_cv_env_target_alias_set=${target_alias+set}
902 ac_cv_env_target_alias_value=$target_alias
903 ac_env_CPP_set=${CPP+set}
904 ac_env_CPP_value=$CPP
905 ac_cv_env_CPP_set=${CPP+set}
906 ac_cv_env_CPP_value=$CPP
907 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
908 ac_env_CPPFLAGS_value=$CPPFLAGS
909 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
910 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
911 ac_env_CXX_set=${CXX+set}
912 ac_env_CXX_value=$CXX
913 ac_cv_env_CXX_set=${CXX+set}
914 ac_cv_env_CXX_value=$CXX
915 ac_env_CXXFLAGS_set=${CXXFLAGS+set}
916 ac_env_CXXFLAGS_value=$CXXFLAGS
917 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set}
918 ac_cv_env_CXXFLAGS_value=$CXXFLAGS
919 ac_env_LDFLAGS_set=${LDFLAGS+set}
920 ac_env_LDFLAGS_value=$LDFLAGS
921 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
922 ac_cv_env_LDFLAGS_value=$LDFLAGS
923 ac_env_CXXCPP_set=${CXXCPP+set}
924 ac_env_CXXCPP_value=$CXXCPP
925 ac_cv_env_CXXCPP_set=${CXXCPP+set}
926 ac_cv_env_CXXCPP_value=$CXXCPP
929 # Report the --help message.
931 if test "$ac_init_help" = "long"; then
932 # Omit some internal or obsolete options to make the list less imposing.
933 # This message is too long to be a string in the A/UX 3.1 sh.
934 cat <<_ACEOF
935 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
937 Usage: $0 [OPTION]... [VAR=VALUE]...
939 To assign environment variables (e.g., CC, CFLAGS...), specify them as
940 VAR=VALUE. See below for descriptions of some of the useful variables.
942 Defaults for the options are specified in brackets.
944 Configuration:
945 -h, --help display this help and exit
946 --help=short display options specific to this package
947 --help=recursive display the short help of all the included packages
948 -V, --version display version information and exit
949 -q, --quiet, --silent do not print \`checking...' messages
950 --cache-file=FILE cache test results in FILE [disabled]
951 -C, --config-cache alias for \`--cache-file=config.cache'
952 -n, --no-create do not create output files
953 --srcdir=DIR find the sources in DIR [configure dir or \`..']
955 _ACEOF
957 cat <<_ACEOF
958 Installation directories:
959 --prefix=PREFIX install architecture-independent files in PREFIX
960 [$ac_default_prefix]
961 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
962 [PREFIX]
964 By default, \`make install' will install all the files in
965 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
966 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
967 for instance \`--prefix=\$HOME'.
969 For better control, use the options below.
971 Fine tuning of the installation directories:
972 --bindir=DIR user executables [EPREFIX/bin]
973 --sbindir=DIR system admin executables [EPREFIX/sbin]
974 --libexecdir=DIR program executables [EPREFIX/libexec]
975 --datadir=DIR read-only architecture-independent data [PREFIX/share]
976 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
977 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
978 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
979 --libdir=DIR object code libraries [EPREFIX/lib]
980 --includedir=DIR C header files [PREFIX/include]
981 --oldincludedir=DIR C header files for non-gcc [/usr/include]
982 --infodir=DIR info documentation [PREFIX/info]
983 --mandir=DIR man documentation [PREFIX/man]
984 _ACEOF
986 cat <<\_ACEOF
988 Program names:
989 --program-prefix=PREFIX prepend PREFIX to installed program names
990 --program-suffix=SUFFIX append SUFFIX to installed program names
991 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
993 System types:
994 --build=BUILD configure for building on BUILD [guessed]
995 --host=HOST cross-compile to build programs to run on HOST [BUILD]
996 --target=TARGET configure for building compilers for TARGET [HOST]
997 _ACEOF
1000 if test -n "$ac_init_help"; then
1001 case $ac_init_help in
1002 short | recursive ) echo "Configuration of package-unused version-unused:";;
1003 esac
1004 cat <<\_ACEOF
1006 Optional Features:
1007 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1008 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1009 --enable-multilib build many library versions (default)
1010 --enable-maintainer-mode enable make rules and dependencies not useful
1011 (and sometimes confusing) to the casual installer
1012 --enable-shared[=PKGS]
1013 build shared libraries [default=yes]
1014 --enable-static[=PKGS]
1015 build static libraries [default=yes]
1016 --enable-fast-install[=PKGS]
1017 optimize for fast installation [default=yes]
1018 --disable-libtool-lock avoid locking (might break parallel builds)
1019 --disable-hosted-libstdcxx
1020 only build freestanding C++ runtime support
1021 --enable-sjlj-exceptions
1022 force use of builtin_setjmp for exceptions
1023 [default=auto]
1024 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1025 [default=$is_hosted]
1026 --enable-cstdio=PACKAGE use target-specific I/O package
1027 [default=stdio]
1028 --enable-clocale[=MODEL]
1029 use MODEL for target locale package
1030 [default=auto]
1031 --enable-nls use Native Language Support (default)
1032 --enable-libstdcxx-allocator=KIND
1033 use KIND for target std::allocator base
1034 [default=auto]
1035 --enable-cheaders=KIND construct "C" headers for g++
1036 [default=$c_model]
1037 --enable-long-long enable template specializations for 'long long'
1038 [default=yes]
1039 --enable-wchar_t enable template specializations for 'wchar_t'
1040 [default=yes]
1041 --enable-c99 turns on ISO/IEC 9899:1999 support
1042 [default=yes]
1043 --enable-concept-checks use Boost-derived template checks [default=no]
1044 --enable-libstdcxx-debug-flags=FLAGS
1045 pass compiler FLAGS when building debug library
1046 [default="-g3 -O0"]
1047 --enable-libstdcxx-debug
1048 build extra debug library [default=no]
1049 --enable-cxx-flags=FLAGS
1050 pass compiler FLAGS when building library
1051 [default=]
1052 --enable-fully-dynamic-string
1053 do not put empty strings in per-process static
1054 memory [default=no]
1055 --enable-tls Use thread-local storage [default=yes]
1056 --disable-rpath do not hardcode runtime library paths
1057 --enable-linux-futex use the Linux futex system call
1058 [default=default]
1059 --enable-symvers=STYLE enables symbol versioning of the shared library
1060 [default=yes]
1061 --enable-visibility enables visibility safe usage [default=yes]
1062 --enable-version-specific-runtime-libs
1063 Specify that runtime libraries should be installed
1064 in a compiler-specific directory
1066 Optional Packages:
1067 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1068 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1069 --with-target-subdir=SUBDIR
1070 configuring in a subdirectory
1071 --with-cross-host=HOST configuring with a cross compiler
1072 --with-newlib assume newlib as a system C library
1073 --with-pic try to use only PIC/non-PIC objects [default=use
1074 both]
1075 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1076 --with-gnu-ld assume the C compiler uses GNU ld default=no
1077 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1078 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1079 --with-gxx-include-dir=DIR
1080 installation directory for include files
1082 Some influential environment variables:
1083 CC C compiler command
1084 CFLAGS C compiler flags
1085 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1086 nonstandard directory <lib dir>
1087 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1088 headers in a nonstandard directory <include dir>
1089 CXX C++ compiler command
1090 CXXFLAGS C++ compiler flags
1091 CPP C preprocessor
1092 CXXCPP C++ preprocessor
1094 Use these variables to override the choices made by `configure' or to help
1095 it to find libraries and programs with nonstandard names/locations.
1097 _ACEOF
1100 if test "$ac_init_help" = "recursive"; then
1101 # If there are subdirs, report their specific --help.
1102 ac_popdir=`pwd`
1103 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1104 test -d $ac_dir || continue
1105 ac_builddir=.
1107 if test "$ac_dir" != .; then
1108 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1109 # A "../" for each directory in $ac_dir_suffix.
1110 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1111 else
1112 ac_dir_suffix= ac_top_builddir=
1115 case $srcdir in
1116 .) # No --srcdir option. We are building in place.
1117 ac_srcdir=.
1118 if test -z "$ac_top_builddir"; then
1119 ac_top_srcdir=.
1120 else
1121 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1122 fi ;;
1123 [\\/]* | ?:[\\/]* ) # Absolute path.
1124 ac_srcdir=$srcdir$ac_dir_suffix;
1125 ac_top_srcdir=$srcdir ;;
1126 *) # Relative path.
1127 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1128 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1129 esac
1131 # Do not use `cd foo && pwd` to compute absolute paths, because
1132 # the directories may not exist.
1133 case `pwd` in
1134 .) ac_abs_builddir="$ac_dir";;
1136 case "$ac_dir" in
1137 .) ac_abs_builddir=`pwd`;;
1138 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1139 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1140 esac;;
1141 esac
1142 case $ac_abs_builddir in
1143 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1145 case ${ac_top_builddir}. in
1146 .) ac_abs_top_builddir=$ac_abs_builddir;;
1147 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1149 esac;;
1150 esac
1151 case $ac_abs_builddir in
1152 .) ac_abs_srcdir=$ac_srcdir;;
1154 case $ac_srcdir in
1155 .) ac_abs_srcdir=$ac_abs_builddir;;
1156 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1157 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1158 esac;;
1159 esac
1160 case $ac_abs_builddir in
1161 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1163 case $ac_top_srcdir in
1164 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1165 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1167 esac;;
1168 esac
1170 cd $ac_dir
1171 # Check for guested configure; otherwise get Cygnus style configure.
1172 if test -f $ac_srcdir/configure.gnu; then
1173 echo
1174 $SHELL $ac_srcdir/configure.gnu --help=recursive
1175 elif test -f $ac_srcdir/configure; then
1176 echo
1177 $SHELL $ac_srcdir/configure --help=recursive
1178 elif test -f $ac_srcdir/configure.ac ||
1179 test -f $ac_srcdir/configure.in; then
1180 echo
1181 $ac_configure --help
1182 else
1183 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1185 cd $ac_popdir
1186 done
1189 test -n "$ac_init_help" && exit 0
1190 if $ac_init_version; then
1191 cat <<\_ACEOF
1192 package-unused configure version-unused
1193 generated by GNU Autoconf 2.59
1195 Copyright (C) 2003 Free Software Foundation, Inc.
1196 This configure script is free software; the Free Software Foundation
1197 gives unlimited permission to copy, distribute and modify it.
1198 _ACEOF
1199 exit 0
1201 exec 5>config.log
1202 cat >&5 <<_ACEOF
1203 This file contains any messages produced by compilers while
1204 running configure, to aid debugging if configure makes a mistake.
1206 It was created by package-unused $as_me version-unused, which was
1207 generated by GNU Autoconf 2.59. Invocation command line was
1209 $ $0 $@
1211 _ACEOF
1213 cat <<_ASUNAME
1214 ## --------- ##
1215 ## Platform. ##
1216 ## --------- ##
1218 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1219 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1220 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1221 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1222 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1224 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1225 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1227 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1228 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1229 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1230 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1231 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1232 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1233 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1235 _ASUNAME
1237 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1238 for as_dir in $PATH
1240 IFS=$as_save_IFS
1241 test -z "$as_dir" && as_dir=.
1242 echo "PATH: $as_dir"
1243 done
1245 } >&5
1247 cat >&5 <<_ACEOF
1250 ## ----------- ##
1251 ## Core tests. ##
1252 ## ----------- ##
1254 _ACEOF
1257 # Keep a trace of the command line.
1258 # Strip out --no-create and --no-recursion so they do not pile up.
1259 # Strip out --silent because we don't want to record it for future runs.
1260 # Also quote any args containing shell meta-characters.
1261 # Make two passes to allow for proper duplicate-argument suppression.
1262 ac_configure_args=
1263 ac_configure_args0=
1264 ac_configure_args1=
1265 ac_sep=
1266 ac_must_keep_next=false
1267 for ac_pass in 1 2
1269 for ac_arg
1271 case $ac_arg in
1272 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1273 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1274 | -silent | --silent | --silen | --sile | --sil)
1275 continue ;;
1276 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1277 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1278 esac
1279 case $ac_pass in
1280 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1282 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1283 if test $ac_must_keep_next = true; then
1284 ac_must_keep_next=false # Got value, back to normal.
1285 else
1286 case $ac_arg in
1287 *=* | --config-cache | -C | -disable-* | --disable-* \
1288 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1289 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1290 | -with-* | --with-* | -without-* | --without-* | --x)
1291 case "$ac_configure_args0 " in
1292 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1293 esac
1295 -* ) ac_must_keep_next=true ;;
1296 esac
1298 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1299 # Get rid of the leading space.
1300 ac_sep=" "
1302 esac
1303 done
1304 done
1305 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1306 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1308 # When interrupted or exit'd, cleanup temporary files, and complete
1309 # config.log. We remove comments because anyway the quotes in there
1310 # would cause problems or look ugly.
1311 # WARNING: Be sure not to use single quotes in there, as some shells,
1312 # such as our DU 5.0 friend, will then `close' the trap.
1313 trap 'exit_status=$?
1314 # Save into config.log some information that might help in debugging.
1316 echo
1318 cat <<\_ASBOX
1319 ## ---------------- ##
1320 ## Cache variables. ##
1321 ## ---------------- ##
1322 _ASBOX
1323 echo
1324 # The following way of writing the cache mishandles newlines in values,
1326 (set) 2>&1 |
1327 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1328 *ac_space=\ *)
1329 sed -n \
1330 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1331 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1334 sed -n \
1335 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1337 esac;
1339 echo
1341 cat <<\_ASBOX
1342 ## ----------------- ##
1343 ## Output variables. ##
1344 ## ----------------- ##
1345 _ASBOX
1346 echo
1347 for ac_var in $ac_subst_vars
1349 eval ac_val=$`echo $ac_var`
1350 echo "$ac_var='"'"'$ac_val'"'"'"
1351 done | sort
1352 echo
1354 if test -n "$ac_subst_files"; then
1355 cat <<\_ASBOX
1356 ## ------------- ##
1357 ## Output files. ##
1358 ## ------------- ##
1359 _ASBOX
1360 echo
1361 for ac_var in $ac_subst_files
1363 eval ac_val=$`echo $ac_var`
1364 echo "$ac_var='"'"'$ac_val'"'"'"
1365 done | sort
1366 echo
1369 if test -s confdefs.h; then
1370 cat <<\_ASBOX
1371 ## ----------- ##
1372 ## confdefs.h. ##
1373 ## ----------- ##
1374 _ASBOX
1375 echo
1376 sed "/^$/d" confdefs.h | sort
1377 echo
1379 test "$ac_signal" != 0 &&
1380 echo "$as_me: caught signal $ac_signal"
1381 echo "$as_me: exit $exit_status"
1382 } >&5
1383 rm -f core *.core &&
1384 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1385 exit $exit_status
1387 for ac_signal in 1 2 13 15; do
1388 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1389 done
1390 ac_signal=0
1392 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1393 rm -rf conftest* confdefs.h
1394 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1395 echo >confdefs.h
1397 # Predefined preprocessor variables.
1399 cat >>confdefs.h <<_ACEOF
1400 #define PACKAGE_NAME "$PACKAGE_NAME"
1401 _ACEOF
1404 cat >>confdefs.h <<_ACEOF
1405 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1406 _ACEOF
1409 cat >>confdefs.h <<_ACEOF
1410 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1411 _ACEOF
1414 cat >>confdefs.h <<_ACEOF
1415 #define PACKAGE_STRING "$PACKAGE_STRING"
1416 _ACEOF
1419 cat >>confdefs.h <<_ACEOF
1420 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1421 _ACEOF
1424 # Let the site file select an alternate cache file if it wants to.
1425 # Prefer explicitly selected file to automatically selected ones.
1426 if test -z "$CONFIG_SITE"; then
1427 if test "x$prefix" != xNONE; then
1428 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1429 else
1430 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1433 for ac_site_file in $CONFIG_SITE; do
1434 if test -r "$ac_site_file"; then
1435 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1436 echo "$as_me: loading site script $ac_site_file" >&6;}
1437 sed 's/^/| /' "$ac_site_file" >&5
1438 . "$ac_site_file"
1440 done
1442 if test -r "$cache_file"; then
1443 # Some versions of bash will fail to source /dev/null (special
1444 # files actually), so we avoid doing that.
1445 if test -f "$cache_file"; then
1446 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1447 echo "$as_me: loading cache $cache_file" >&6;}
1448 case $cache_file in
1449 [\\/]* | ?:[\\/]* ) . $cache_file;;
1450 *) . ./$cache_file;;
1451 esac
1453 else
1454 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1455 echo "$as_me: creating cache $cache_file" >&6;}
1456 >$cache_file
1459 # Check that the precious variables saved in the cache have kept the same
1460 # value.
1461 ac_cache_corrupted=false
1462 for ac_var in `(set) 2>&1 |
1463 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1464 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1465 eval ac_new_set=\$ac_env_${ac_var}_set
1466 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1467 eval ac_new_val="\$ac_env_${ac_var}_value"
1468 case $ac_old_set,$ac_new_set in
1469 set,)
1470 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1471 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1472 ac_cache_corrupted=: ;;
1473 ,set)
1474 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1475 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1476 ac_cache_corrupted=: ;;
1477 ,);;
1479 if test "x$ac_old_val" != "x$ac_new_val"; then
1480 # differences in whitespace do not lead to failure.
1481 ac_old_val_w=`echo x $ac_old_val`
1482 ac_new_val_w=`echo x $ac_new_val`
1483 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1484 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1485 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1486 ac_cache_corrupted=:
1487 else
1488 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1489 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1490 eval $ac_var=\$ac_old_val
1492 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1493 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1494 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1495 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1496 fi;;
1497 esac
1498 # Pass precious variables to config.status.
1499 if test "$ac_new_set" = set; then
1500 case $ac_new_val in
1501 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1502 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1503 *) ac_arg=$ac_var=$ac_new_val ;;
1504 esac
1505 case " $ac_configure_args " in
1506 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1507 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1508 esac
1510 done
1511 if $ac_cache_corrupted; then
1512 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1513 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1514 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1515 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1516 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1517 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1518 { (exit 1); exit 1; }; }
1521 ac_ext=c
1522 ac_cpp='$CPP $CPPFLAGS'
1523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1557 ac_config_headers="$ac_config_headers config.h"
1560 # This works around the fact that libtool configuration may change LD
1561 # for this particular configuration, but some shells, instead of
1562 # keeping the changes in LD private, export them just because LD is
1563 # exported. Only used at the end of this file.
1564 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1566 # For libtool versioning info, format is CURRENT:REVISION:AGE
1567 libtool_VERSION=6:11:0
1570 # Find the rest of the source tree framework.
1571 # Default to --enable-multilib
1572 # Check whether --enable-multilib or --disable-multilib was given.
1573 if test "${enable_multilib+set}" = set; then
1574 enableval="$enable_multilib"
1575 case "$enableval" in
1576 yes) multilib=yes ;;
1577 no) multilib=no ;;
1578 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1579 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1580 { (exit 1); exit 1; }; } ;;
1581 esac
1582 else
1583 multilib=yes
1586 # We may get other options which we leave undocumented:
1587 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1588 # See config-ml.in if you want the gory details.
1590 if test "$srcdir" = "."; then
1591 if test "$with_target_subdir" != "."; then
1592 multi_basedir="$srcdir/$with_multisrctop../.."
1593 else
1594 multi_basedir="$srcdir/$with_multisrctop.."
1596 else
1597 multi_basedir="$srcdir/.."
1601 # Even if the default multilib is not a cross compilation,
1602 # it may be that some of the other multilibs are.
1603 if test $cross_compiling = no && test $multilib = yes \
1604 && test "x${with_multisubdir}" != x ; then
1605 cross_compiling=maybe
1608 ac_config_commands="$ac_config_commands default-1"
1611 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1613 # You will slowly go insane if you do not grok the following fact: when
1614 # building v3 as part of the compiler, the top-level /target/ becomes the
1615 # library's /host/. configure then causes --target to default to --host,
1616 # exactly like any other package using autoconf. Therefore, 'target' and
1617 # 'host' will always be the same. This makes sense both for native and
1618 # cross compilers, just think about it for a little while. :-)
1620 # Also, if v3 is being configured as part of a cross compiler, the top-level
1621 # configure script will pass the "real" host as $with_cross_host.
1623 # Do not delete or change the following two lines. For why, see
1624 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1625 ac_aux_dir=
1626 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1627 if test -f $ac_dir/install-sh; then
1628 ac_aux_dir=$ac_dir
1629 ac_install_sh="$ac_aux_dir/install-sh -c"
1630 break
1631 elif test -f $ac_dir/install.sh; then
1632 ac_aux_dir=$ac_dir
1633 ac_install_sh="$ac_aux_dir/install.sh -c"
1634 break
1635 elif test -f $ac_dir/shtool; then
1636 ac_aux_dir=$ac_dir
1637 ac_install_sh="$ac_aux_dir/shtool install -c"
1638 break
1640 done
1641 if test -z "$ac_aux_dir"; then
1642 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1643 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1644 { (exit 1); exit 1; }; }
1646 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1647 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1648 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1650 # Make sure we can run config.sub.
1651 $ac_config_sub sun4 >/dev/null 2>&1 ||
1652 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1653 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1654 { (exit 1); exit 1; }; }
1656 echo "$as_me:$LINENO: checking build system type" >&5
1657 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1658 if test "${ac_cv_build+set}" = set; then
1659 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 else
1661 ac_cv_build_alias=$build_alias
1662 test -z "$ac_cv_build_alias" &&
1663 ac_cv_build_alias=`$ac_config_guess`
1664 test -z "$ac_cv_build_alias" &&
1665 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1666 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1667 { (exit 1); exit 1; }; }
1668 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1669 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1670 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1671 { (exit 1); exit 1; }; }
1674 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1675 echo "${ECHO_T}$ac_cv_build" >&6
1676 build=$ac_cv_build
1677 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1678 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1679 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1682 echo "$as_me:$LINENO: checking host system type" >&5
1683 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1684 if test "${ac_cv_host+set}" = set; then
1685 echo $ECHO_N "(cached) $ECHO_C" >&6
1686 else
1687 ac_cv_host_alias=$host_alias
1688 test -z "$ac_cv_host_alias" &&
1689 ac_cv_host_alias=$ac_cv_build_alias
1690 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1691 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1692 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1693 { (exit 1); exit 1; }; }
1696 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1697 echo "${ECHO_T}$ac_cv_host" >&6
1698 host=$ac_cv_host
1699 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1700 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1701 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1704 echo "$as_me:$LINENO: checking target system type" >&5
1705 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1706 if test "${ac_cv_target+set}" = set; then
1707 echo $ECHO_N "(cached) $ECHO_C" >&6
1708 else
1709 ac_cv_target_alias=$target_alias
1710 test "x$ac_cv_target_alias" = "x" &&
1711 ac_cv_target_alias=$ac_cv_host_alias
1712 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1713 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1714 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1715 { (exit 1); exit 1; }; }
1718 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1719 echo "${ECHO_T}$ac_cv_target" >&6
1720 target=$ac_cv_target
1721 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1722 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1723 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1726 # The aliases save the names the user supplied, while $host etc.
1727 # will get canonicalized.
1728 test -n "$target_alias" &&
1729 test "$program_prefix$program_suffix$program_transform_name" = \
1730 NONENONEs,x,x, &&
1731 program_prefix=${target_alias}-
1732 target_alias=${target_alias-$host_alias}
1734 # Handy for debugging:
1735 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1737 if test "$build" != "$host"; then
1738 # We are being configured with some form of cross compiler.
1739 GLIBCXX_IS_NATIVE=false
1740 case "$host","$target" in
1741 # Darwin crosses can use the host system's libraries and headers,
1742 # because of the fat library support. Of course, it must be the
1743 # same version of Darwin on both sides. Allow the user to
1744 # just say --target=foo-darwin without a version number to mean
1745 # "the version on this system".
1746 *-*-darwin*,*-*-darwin*)
1747 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1748 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1749 if test $hostos = $targetos -o $targetos = darwin ; then
1750 GLIBCXX_IS_NATIVE=true
1757 esac
1758 else
1759 GLIBCXX_IS_NATIVE=true
1762 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1763 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1764 # 1.x: minimum required version
1765 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1766 # of other PACKAGE_* variables will, however, and there's nothing
1767 # we can do about that; they come from AC_INIT).
1768 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1769 # file in the top srcdir, etc, etc), so stop complaining.
1770 # no-dependencies: turns off auto dependency generation (just for now)
1771 # -Wall: turns on all automake warnings...
1772 # -Wno-portability: ...except this one, since GNU make is now required.
1773 am__api_version="1.9"
1774 # Find a good install program. We prefer a C program (faster),
1775 # so one script is as good as another. But avoid the broken or
1776 # incompatible versions:
1777 # SysV /etc/install, /usr/sbin/install
1778 # SunOS /usr/etc/install
1779 # IRIX /sbin/install
1780 # AIX /bin/install
1781 # AmigaOS /C/install, which installs bootblocks on floppy discs
1782 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1783 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1784 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1785 # OS/2's system install, which has a completely different semantic
1786 # ./install, which can be erroneously created by make from ./install.sh.
1787 # Reject install programs that cannot install multiple files.
1788 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1789 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1790 if test -z "$INSTALL"; then
1791 if test "${ac_cv_path_install+set}" = set; then
1792 echo $ECHO_N "(cached) $ECHO_C" >&6
1793 else
1794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1795 for as_dir in $PATH
1797 IFS=$as_save_IFS
1798 test -z "$as_dir" && as_dir=.
1799 # Account for people who put trailing slashes in PATH elements.
1800 case $as_dir/ in
1801 ./ | .// | /cC/* | \
1802 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1803 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1804 /usr/ucb/* ) ;;
1806 # OSF1 and SCO ODT 3.0 have their own names for install.
1807 # Don't use installbsd from OSF since it installs stuff as root
1808 # by default.
1809 for ac_prog in ginstall scoinst install; do
1810 for ac_exec_ext in '' $ac_executable_extensions; do
1811 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1812 if test $ac_prog = install &&
1813 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1814 # AIX install. It has an incompatible calling convention.
1816 elif test $ac_prog = install &&
1817 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1818 # program-specific install script used by HP pwplus--don't use.
1820 else
1821 rm -rf conftest.one conftest.two conftest.dir
1822 echo one > conftest.one
1823 echo two > conftest.two
1824 mkdir conftest.dir
1825 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1826 test -s conftest.one && test -s conftest.two &&
1827 test -s conftest.dir/conftest.one &&
1828 test -s conftest.dir/conftest.two
1829 then
1830 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1831 break 3
1835 done
1836 done
1838 esac
1839 done
1841 rm -rf conftest.one conftest.two conftest.dir
1844 if test "${ac_cv_path_install+set}" = set; then
1845 INSTALL=$ac_cv_path_install
1846 else
1847 # As a last resort, use the slow shell script. Don't cache a
1848 # value for INSTALL within a source directory, because that will
1849 # break other packages using the cache if that directory is
1850 # removed, or if the value is a relative name.
1851 INSTALL=$ac_install_sh
1854 echo "$as_me:$LINENO: result: $INSTALL" >&5
1855 echo "${ECHO_T}$INSTALL" >&6
1857 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1858 # It thinks the first close brace ends the variable substitution.
1859 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1861 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1863 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1865 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1866 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1867 # Just in case
1868 sleep 1
1869 echo timestamp > conftest.file
1870 # Do `set' in a subshell so we don't clobber the current shell's
1871 # arguments. Must try -L first in case configure is actually a
1872 # symlink; some systems play weird games with the mod time of symlinks
1873 # (eg FreeBSD returns the mod time of the symlink's containing
1874 # directory).
1875 if (
1876 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1877 if test "$*" = "X"; then
1878 # -L didn't work.
1879 set X `ls -t $srcdir/configure conftest.file`
1881 rm -f conftest.file
1882 if test "$*" != "X $srcdir/configure conftest.file" \
1883 && test "$*" != "X conftest.file $srcdir/configure"; then
1885 # If neither matched, then we have a broken ls. This can happen
1886 # if, for instance, CONFIG_SHELL is bash and it inherits a
1887 # broken ls alias from the environment. This has actually
1888 # happened. Such a system could not be considered "sane".
1889 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1890 alias in your environment" >&5
1891 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1892 alias in your environment" >&2;}
1893 { (exit 1); exit 1; }; }
1896 test "$2" = conftest.file
1898 then
1899 # Ok.
1901 else
1902 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1903 Check your system clock" >&5
1904 echo "$as_me: error: newly created file is older than distributed files!
1905 Check your system clock" >&2;}
1906 { (exit 1); exit 1; }; }
1908 echo "$as_me:$LINENO: result: yes" >&5
1909 echo "${ECHO_T}yes" >&6
1910 test "$program_prefix" != NONE &&
1911 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1912 # Use a double $ so make ignores it.
1913 test "$program_suffix" != NONE &&
1914 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1915 # Double any \ or $. echo might interpret backslashes.
1916 # By default was `s,x,x', remove it if useless.
1917 cat <<\_ACEOF >conftest.sed
1918 s/[\\$]/&&/g;s/;s,x,x,$//
1919 _ACEOF
1920 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1921 rm conftest.sed
1923 # expand $ac_aux_dir to an absolute path
1924 am_aux_dir=`cd $ac_aux_dir && pwd`
1926 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1927 # Use eval to expand $SHELL
1928 if eval "$MISSING --run true"; then
1929 am_missing_run="$MISSING --run "
1930 else
1931 am_missing_run=
1932 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1933 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1936 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1937 # We used to keeping the `.' as first argument, in order to
1938 # allow $(mkdir_p) to be used without argument. As in
1939 # $(mkdir_p) $(somedir)
1940 # where $(somedir) is conditionally defined. However this is wrong
1941 # for two reasons:
1942 # 1. if the package is installed by a user who cannot write `.'
1943 # make install will fail,
1944 # 2. the above comment should most certainly read
1945 # $(mkdir_p) $(DESTDIR)$(somedir)
1946 # so it does not work when $(somedir) is undefined and
1947 # $(DESTDIR) is not.
1948 # To support the latter case, we have to write
1949 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1950 # so the `.' trick is pointless.
1951 mkdir_p='mkdir -p --'
1952 else
1953 # On NextStep and OpenStep, the `mkdir' command does not
1954 # recognize any option. It will interpret all options as
1955 # directories to create, and then abort because `.' already
1956 # exists.
1957 for d in ./-p ./--version;
1959 test -d $d && rmdir $d
1960 done
1961 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1962 if test -f "$ac_aux_dir/mkinstalldirs"; then
1963 mkdir_p='$(mkinstalldirs)'
1964 else
1965 mkdir_p='$(install_sh) -d'
1969 for ac_prog in gawk mawk nawk awk
1971 # Extract the first word of "$ac_prog", so it can be a program name with args.
1972 set dummy $ac_prog; ac_word=$2
1973 echo "$as_me:$LINENO: checking for $ac_word" >&5
1974 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1975 if test "${ac_cv_prog_AWK+set}" = set; then
1976 echo $ECHO_N "(cached) $ECHO_C" >&6
1977 else
1978 if test -n "$AWK"; then
1979 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1980 else
1981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1982 for as_dir in $PATH
1984 IFS=$as_save_IFS
1985 test -z "$as_dir" && as_dir=.
1986 for ac_exec_ext in '' $ac_executable_extensions; do
1987 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1988 ac_cv_prog_AWK="$ac_prog"
1989 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 break 2
1992 done
1993 done
1997 AWK=$ac_cv_prog_AWK
1998 if test -n "$AWK"; then
1999 echo "$as_me:$LINENO: result: $AWK" >&5
2000 echo "${ECHO_T}$AWK" >&6
2001 else
2002 echo "$as_me:$LINENO: result: no" >&5
2003 echo "${ECHO_T}no" >&6
2006 test -n "$AWK" && break
2007 done
2009 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2010 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2011 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2012 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2013 echo $ECHO_N "(cached) $ECHO_C" >&6
2014 else
2015 cat >conftest.make <<\_ACEOF
2016 all:
2017 @echo 'ac_maketemp="$(MAKE)"'
2018 _ACEOF
2019 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2020 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2021 if test -n "$ac_maketemp"; then
2022 eval ac_cv_prog_make_${ac_make}_set=yes
2023 else
2024 eval ac_cv_prog_make_${ac_make}_set=no
2026 rm -f conftest.make
2028 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2029 echo "$as_me:$LINENO: result: yes" >&5
2030 echo "${ECHO_T}yes" >&6
2031 SET_MAKE=
2032 else
2033 echo "$as_me:$LINENO: result: no" >&5
2034 echo "${ECHO_T}no" >&6
2035 SET_MAKE="MAKE=${MAKE-make}"
2038 rm -rf .tst 2>/dev/null
2039 mkdir .tst 2>/dev/null
2040 if test -d .tst; then
2041 am__leading_dot=.
2042 else
2043 am__leading_dot=_
2045 rmdir .tst 2>/dev/null
2047 # test to see if srcdir already configured
2048 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2049 test -f $srcdir/config.status; then
2050 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2051 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2052 { (exit 1); exit 1; }; }
2055 # test whether we have cygpath
2056 if test -z "$CYGPATH_W"; then
2057 if (cygpath --version) >/dev/null 2>/dev/null; then
2058 CYGPATH_W='cygpath -w'
2059 else
2060 CYGPATH_W=echo
2065 # Define the identity of the package.
2066 PACKAGE='libstdc++'
2067 VERSION='version-unused'
2070 # Some tools Automake needs.
2072 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2075 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2078 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2081 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2084 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2086 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2088 # Installed binaries are usually stripped using `strip' when the user
2089 # run `make install-strip'. However `strip' might not be the right
2090 # tool to use in cross-compilation environments, therefore Automake
2091 # will honor the `STRIP' environment variable to overrule this program.
2092 if test "$cross_compiling" != no; then
2093 if test -n "$ac_tool_prefix"; then
2094 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2095 set dummy ${ac_tool_prefix}strip; ac_word=$2
2096 echo "$as_me:$LINENO: checking for $ac_word" >&5
2097 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2098 if test "${ac_cv_prog_STRIP+set}" = set; then
2099 echo $ECHO_N "(cached) $ECHO_C" >&6
2100 else
2101 if test -n "$STRIP"; then
2102 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2103 else
2104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2105 for as_dir in $PATH
2107 IFS=$as_save_IFS
2108 test -z "$as_dir" && as_dir=.
2109 for ac_exec_ext in '' $ac_executable_extensions; do
2110 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2111 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2112 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2113 break 2
2115 done
2116 done
2120 STRIP=$ac_cv_prog_STRIP
2121 if test -n "$STRIP"; then
2122 echo "$as_me:$LINENO: result: $STRIP" >&5
2123 echo "${ECHO_T}$STRIP" >&6
2124 else
2125 echo "$as_me:$LINENO: result: no" >&5
2126 echo "${ECHO_T}no" >&6
2130 if test -z "$ac_cv_prog_STRIP"; then
2131 ac_ct_STRIP=$STRIP
2132 # Extract the first word of "strip", so it can be a program name with args.
2133 set dummy strip; ac_word=$2
2134 echo "$as_me:$LINENO: checking for $ac_word" >&5
2135 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2136 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2137 echo $ECHO_N "(cached) $ECHO_C" >&6
2138 else
2139 if test -n "$ac_ct_STRIP"; then
2140 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2141 else
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2143 for as_dir in $PATH
2145 IFS=$as_save_IFS
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149 ac_cv_prog_ac_ct_STRIP="strip"
2150 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2151 break 2
2153 done
2154 done
2156 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2159 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2160 if test -n "$ac_ct_STRIP"; then
2161 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2162 echo "${ECHO_T}$ac_ct_STRIP" >&6
2163 else
2164 echo "$as_me:$LINENO: result: no" >&5
2165 echo "${ECHO_T}no" >&6
2168 STRIP=$ac_ct_STRIP
2169 else
2170 STRIP="$ac_cv_prog_STRIP"
2174 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2176 # We need awk for the "check" target. The system "awk" is bad on
2177 # some platforms.
2178 # Always define AMTAR for backward compatibility.
2180 AMTAR=${AMTAR-"${am_missing_run}tar"}
2182 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2193 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2194 # up critical shell variables.
2196 ac_ext=c
2197 ac_cpp='$CPP $CPPFLAGS'
2198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2201 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2202 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2203 # On Suns, sometimes $CPP names a directory.
2204 if test -n "$CPP" && test -d "$CPP"; then
2205 CPP=
2207 if test -z "$CPP"; then
2208 if test "${ac_cv_prog_CPP+set}" = set; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2210 else
2211 # Double quotes because CPP needs to be expanded
2212 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2214 ac_preproc_ok=false
2215 for ac_c_preproc_warn_flag in '' yes
2217 # Use a header file that comes with gcc, so configuring glibc
2218 # with a fresh cross-compiler works.
2219 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2220 # <limits.h> exists even on freestanding compilers.
2221 # On the NeXT, cc -E runs the code through the compiler's parser,
2222 # not just through cpp. "Syntax error" is here to catch this case.
2223 cat >conftest.$ac_ext <<_ACEOF
2224 /* confdefs.h. */
2225 _ACEOF
2226 cat confdefs.h >>conftest.$ac_ext
2227 cat >>conftest.$ac_ext <<_ACEOF
2228 /* end confdefs.h. */
2229 #ifdef __STDC__
2230 # include <limits.h>
2231 #else
2232 # include <assert.h>
2233 #endif
2234 Syntax error
2235 _ACEOF
2236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2238 ac_status=$?
2239 grep -v '^ *+' conftest.er1 >conftest.err
2240 rm -f conftest.er1
2241 cat conftest.err >&5
2242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2243 (exit $ac_status); } >/dev/null; then
2244 if test -s conftest.err; then
2245 ac_cpp_err=$ac_c_preproc_warn_flag
2246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2247 else
2248 ac_cpp_err=
2250 else
2251 ac_cpp_err=yes
2253 if test -z "$ac_cpp_err"; then
2255 else
2256 echo "$as_me: failed program was:" >&5
2257 sed 's/^/| /' conftest.$ac_ext >&5
2259 # Broken: fails on valid input.
2260 continue
2262 rm -f conftest.err conftest.$ac_ext
2264 # OK, works on sane cases. Now check whether non-existent headers
2265 # can be detected and how.
2266 cat >conftest.$ac_ext <<_ACEOF
2267 /* confdefs.h. */
2268 _ACEOF
2269 cat confdefs.h >>conftest.$ac_ext
2270 cat >>conftest.$ac_ext <<_ACEOF
2271 /* end confdefs.h. */
2272 #include <ac_nonexistent.h>
2273 _ACEOF
2274 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2275 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2276 ac_status=$?
2277 grep -v '^ *+' conftest.er1 >conftest.err
2278 rm -f conftest.er1
2279 cat conftest.err >&5
2280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2281 (exit $ac_status); } >/dev/null; then
2282 if test -s conftest.err; then
2283 ac_cpp_err=$ac_c_preproc_warn_flag
2284 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2285 else
2286 ac_cpp_err=
2288 else
2289 ac_cpp_err=yes
2291 if test -z "$ac_cpp_err"; then
2292 # Broken: success on invalid input.
2293 continue
2294 else
2295 echo "$as_me: failed program was:" >&5
2296 sed 's/^/| /' conftest.$ac_ext >&5
2298 # Passes both tests.
2299 ac_preproc_ok=:
2300 break
2302 rm -f conftest.err conftest.$ac_ext
2304 done
2305 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2306 rm -f conftest.err conftest.$ac_ext
2307 if $ac_preproc_ok; then
2308 break
2311 done
2312 ac_cv_prog_CPP=$CPP
2315 CPP=$ac_cv_prog_CPP
2316 else
2317 ac_cv_prog_CPP=$CPP
2319 echo "$as_me:$LINENO: result: $CPP" >&5
2320 echo "${ECHO_T}$CPP" >&6
2321 ac_preproc_ok=false
2322 for ac_c_preproc_warn_flag in '' yes
2324 # Use a header file that comes with gcc, so configuring glibc
2325 # with a fresh cross-compiler works.
2326 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2327 # <limits.h> exists even on freestanding compilers.
2328 # On the NeXT, cc -E runs the code through the compiler's parser,
2329 # not just through cpp. "Syntax error" is here to catch this case.
2330 cat >conftest.$ac_ext <<_ACEOF
2331 /* confdefs.h. */
2332 _ACEOF
2333 cat confdefs.h >>conftest.$ac_ext
2334 cat >>conftest.$ac_ext <<_ACEOF
2335 /* end confdefs.h. */
2336 #ifdef __STDC__
2337 # include <limits.h>
2338 #else
2339 # include <assert.h>
2340 #endif
2341 Syntax error
2342 _ACEOF
2343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2345 ac_status=$?
2346 grep -v '^ *+' conftest.er1 >conftest.err
2347 rm -f conftest.er1
2348 cat conftest.err >&5
2349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2350 (exit $ac_status); } >/dev/null; then
2351 if test -s conftest.err; then
2352 ac_cpp_err=$ac_c_preproc_warn_flag
2353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2354 else
2355 ac_cpp_err=
2357 else
2358 ac_cpp_err=yes
2360 if test -z "$ac_cpp_err"; then
2362 else
2363 echo "$as_me: failed program was:" >&5
2364 sed 's/^/| /' conftest.$ac_ext >&5
2366 # Broken: fails on valid input.
2367 continue
2369 rm -f conftest.err conftest.$ac_ext
2371 # OK, works on sane cases. Now check whether non-existent headers
2372 # can be detected and how.
2373 cat >conftest.$ac_ext <<_ACEOF
2374 /* confdefs.h. */
2375 _ACEOF
2376 cat confdefs.h >>conftest.$ac_ext
2377 cat >>conftest.$ac_ext <<_ACEOF
2378 /* end confdefs.h. */
2379 #include <ac_nonexistent.h>
2380 _ACEOF
2381 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2382 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2383 ac_status=$?
2384 grep -v '^ *+' conftest.er1 >conftest.err
2385 rm -f conftest.er1
2386 cat conftest.err >&5
2387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2388 (exit $ac_status); } >/dev/null; then
2389 if test -s conftest.err; then
2390 ac_cpp_err=$ac_c_preproc_warn_flag
2391 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2392 else
2393 ac_cpp_err=
2395 else
2396 ac_cpp_err=yes
2398 if test -z "$ac_cpp_err"; then
2399 # Broken: success on invalid input.
2400 continue
2401 else
2402 echo "$as_me: failed program was:" >&5
2403 sed 's/^/| /' conftest.$ac_ext >&5
2405 # Passes both tests.
2406 ac_preproc_ok=:
2407 break
2409 rm -f conftest.err conftest.$ac_ext
2411 done
2412 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2413 rm -f conftest.err conftest.$ac_ext
2414 if $ac_preproc_ok; then
2416 else
2417 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2419 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2420 See \`config.log' for more details." >&5
2421 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2422 See \`config.log' for more details." >&2;}
2423 { (exit 1); exit 1; }; }; }
2426 ac_ext=c
2427 ac_cpp='$CPP $CPPFLAGS'
2428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2433 echo "$as_me:$LINENO: checking for egrep" >&5
2434 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2435 if test "${ac_cv_prog_egrep+set}" = set; then
2436 echo $ECHO_N "(cached) $ECHO_C" >&6
2437 else
2438 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2439 then ac_cv_prog_egrep='grep -E'
2440 else ac_cv_prog_egrep='egrep'
2443 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2444 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2445 EGREP=$ac_cv_prog_egrep
2449 # Keep these sync'd with the list in Makefile.am. The first provides an
2450 # expandable list at autoconf time; the second provides an expandable list
2451 # (i.e., shell variable) at configure time.
2453 SUBDIRS='include libmath libsupc++ src doc po testsuite'
2455 # These need to be absolute paths, yet at the same time need to
2456 # canonicalize only relative paths, because then amd will not unmount
2457 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2458 glibcxx_builddir=`${PWDCMD-pwd}`
2459 case $srcdir in
2460 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2461 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2462 esac
2463 toplevel_srcdir=${glibcxx_srcdir}/..
2468 # We use these options to decide which functions to include. They are
2469 # set from the top level.
2471 # Check whether --with-target-subdir or --without-target-subdir was given.
2472 if test "${with_target_subdir+set}" = set; then
2473 withval="$with_target_subdir"
2478 # Check whether --with-cross-host or --without-cross-host was given.
2479 if test "${with_cross_host+set}" = set; then
2480 withval="$with_cross_host"
2485 # Check whether --with-newlib or --without-newlib was given.
2486 if test "${with_newlib+set}" = set; then
2487 withval="$with_newlib"
2491 # We're almost certainly being configured before anything else which uses
2492 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2493 # we not cache the value of CXX that we "discover" here, because it's set
2494 # to something unique for us and libjava. Other target libraries need to
2495 # find CXX for themselves. We yank the rug out from under the normal AC_*
2496 # process by sneakily renaming the cache variable. This also lets us debug
2497 # the value of "our" CXX in postmortems.
2499 # We must also force CXX to /not/ be a precious variable, otherwise the
2500 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2501 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2502 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2503 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2505 # -fno-builtin must be present here so that a non-conflicting form of
2506 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2511 save_CXXFLAGS="$CXXFLAGS"
2512 CXXFLAGS="$CXXFLAGS -fno-builtin"
2513 ac_ext=c
2514 ac_cpp='$CPP $CPPFLAGS'
2515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2518 if test -n "$ac_tool_prefix"; then
2519 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2520 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2521 echo "$as_me:$LINENO: checking for $ac_word" >&5
2522 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2523 if test "${ac_cv_prog_CC+set}" = set; then
2524 echo $ECHO_N "(cached) $ECHO_C" >&6
2525 else
2526 if test -n "$CC"; then
2527 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2532 IFS=$as_save_IFS
2533 test -z "$as_dir" && as_dir=.
2534 for ac_exec_ext in '' $ac_executable_extensions; do
2535 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2536 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2537 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2538 break 2
2540 done
2541 done
2545 CC=$ac_cv_prog_CC
2546 if test -n "$CC"; then
2547 echo "$as_me:$LINENO: result: $CC" >&5
2548 echo "${ECHO_T}$CC" >&6
2549 else
2550 echo "$as_me:$LINENO: result: no" >&5
2551 echo "${ECHO_T}no" >&6
2555 if test -z "$ac_cv_prog_CC"; then
2556 ac_ct_CC=$CC
2557 # Extract the first word of "gcc", so it can be a program name with args.
2558 set dummy gcc; ac_word=$2
2559 echo "$as_me:$LINENO: checking for $ac_word" >&5
2560 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2561 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2562 echo $ECHO_N "(cached) $ECHO_C" >&6
2563 else
2564 if test -n "$ac_ct_CC"; then
2565 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2566 else
2567 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2568 for as_dir in $PATH
2570 IFS=$as_save_IFS
2571 test -z "$as_dir" && as_dir=.
2572 for ac_exec_ext in '' $ac_executable_extensions; do
2573 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2574 ac_cv_prog_ac_ct_CC="gcc"
2575 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2576 break 2
2578 done
2579 done
2583 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2584 if test -n "$ac_ct_CC"; then
2585 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2586 echo "${ECHO_T}$ac_ct_CC" >&6
2587 else
2588 echo "$as_me:$LINENO: result: no" >&5
2589 echo "${ECHO_T}no" >&6
2592 CC=$ac_ct_CC
2593 else
2594 CC="$ac_cv_prog_CC"
2597 if test -z "$CC"; then
2598 if test -n "$ac_tool_prefix"; then
2599 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2600 set dummy ${ac_tool_prefix}cc; ac_word=$2
2601 echo "$as_me:$LINENO: checking for $ac_word" >&5
2602 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2603 if test "${ac_cv_prog_CC+set}" = set; then
2604 echo $ECHO_N "(cached) $ECHO_C" >&6
2605 else
2606 if test -n "$CC"; then
2607 ac_cv_prog_CC="$CC" # Let the user override the test.
2608 else
2609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2610 for as_dir in $PATH
2612 IFS=$as_save_IFS
2613 test -z "$as_dir" && as_dir=.
2614 for ac_exec_ext in '' $ac_executable_extensions; do
2615 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2616 ac_cv_prog_CC="${ac_tool_prefix}cc"
2617 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2618 break 2
2620 done
2621 done
2625 CC=$ac_cv_prog_CC
2626 if test -n "$CC"; then
2627 echo "$as_me:$LINENO: result: $CC" >&5
2628 echo "${ECHO_T}$CC" >&6
2629 else
2630 echo "$as_me:$LINENO: result: no" >&5
2631 echo "${ECHO_T}no" >&6
2635 if test -z "$ac_cv_prog_CC"; then
2636 ac_ct_CC=$CC
2637 # Extract the first word of "cc", so it can be a program name with args.
2638 set dummy cc; ac_word=$2
2639 echo "$as_me:$LINENO: checking for $ac_word" >&5
2640 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2641 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2642 echo $ECHO_N "(cached) $ECHO_C" >&6
2643 else
2644 if test -n "$ac_ct_CC"; then
2645 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2646 else
2647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2648 for as_dir in $PATH
2650 IFS=$as_save_IFS
2651 test -z "$as_dir" && as_dir=.
2652 for ac_exec_ext in '' $ac_executable_extensions; do
2653 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2654 ac_cv_prog_ac_ct_CC="cc"
2655 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2656 break 2
2658 done
2659 done
2663 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2664 if test -n "$ac_ct_CC"; then
2665 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2666 echo "${ECHO_T}$ac_ct_CC" >&6
2667 else
2668 echo "$as_me:$LINENO: result: no" >&5
2669 echo "${ECHO_T}no" >&6
2672 CC=$ac_ct_CC
2673 else
2674 CC="$ac_cv_prog_CC"
2678 if test -z "$CC"; then
2679 # Extract the first word of "cc", so it can be a program name with args.
2680 set dummy cc; ac_word=$2
2681 echo "$as_me:$LINENO: checking for $ac_word" >&5
2682 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2683 if test "${ac_cv_prog_CC+set}" = set; then
2684 echo $ECHO_N "(cached) $ECHO_C" >&6
2685 else
2686 if test -n "$CC"; then
2687 ac_cv_prog_CC="$CC" # Let the user override the test.
2688 else
2689 ac_prog_rejected=no
2690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2691 for as_dir in $PATH
2693 IFS=$as_save_IFS
2694 test -z "$as_dir" && as_dir=.
2695 for ac_exec_ext in '' $ac_executable_extensions; do
2696 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2697 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2698 ac_prog_rejected=yes
2699 continue
2701 ac_cv_prog_CC="cc"
2702 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2703 break 2
2705 done
2706 done
2708 if test $ac_prog_rejected = yes; then
2709 # We found a bogon in the path, so make sure we never use it.
2710 set dummy $ac_cv_prog_CC
2711 shift
2712 if test $# != 0; then
2713 # We chose a different compiler from the bogus one.
2714 # However, it has the same basename, so the bogon will be chosen
2715 # first if we set CC to just the basename; use the full file name.
2716 shift
2717 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2722 CC=$ac_cv_prog_CC
2723 if test -n "$CC"; then
2724 echo "$as_me:$LINENO: result: $CC" >&5
2725 echo "${ECHO_T}$CC" >&6
2726 else
2727 echo "$as_me:$LINENO: result: no" >&5
2728 echo "${ECHO_T}no" >&6
2732 if test -z "$CC"; then
2733 if test -n "$ac_tool_prefix"; then
2734 for ac_prog in cl
2736 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2737 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2738 echo "$as_me:$LINENO: checking for $ac_word" >&5
2739 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2740 if test "${ac_cv_prog_CC+set}" = set; then
2741 echo $ECHO_N "(cached) $ECHO_C" >&6
2742 else
2743 if test -n "$CC"; then
2744 ac_cv_prog_CC="$CC" # Let the user override the test.
2745 else
2746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2747 for as_dir in $PATH
2749 IFS=$as_save_IFS
2750 test -z "$as_dir" && as_dir=.
2751 for ac_exec_ext in '' $ac_executable_extensions; do
2752 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2753 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2754 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2755 break 2
2757 done
2758 done
2762 CC=$ac_cv_prog_CC
2763 if test -n "$CC"; then
2764 echo "$as_me:$LINENO: result: $CC" >&5
2765 echo "${ECHO_T}$CC" >&6
2766 else
2767 echo "$as_me:$LINENO: result: no" >&5
2768 echo "${ECHO_T}no" >&6
2771 test -n "$CC" && break
2772 done
2774 if test -z "$CC"; then
2775 ac_ct_CC=$CC
2776 for ac_prog in cl
2778 # Extract the first word of "$ac_prog", so it can be a program name with args.
2779 set dummy $ac_prog; ac_word=$2
2780 echo "$as_me:$LINENO: checking for $ac_word" >&5
2781 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2782 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2783 echo $ECHO_N "(cached) $ECHO_C" >&6
2784 else
2785 if test -n "$ac_ct_CC"; then
2786 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2787 else
2788 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2789 for as_dir in $PATH
2791 IFS=$as_save_IFS
2792 test -z "$as_dir" && as_dir=.
2793 for ac_exec_ext in '' $ac_executable_extensions; do
2794 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2795 ac_cv_prog_ac_ct_CC="$ac_prog"
2796 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2797 break 2
2799 done
2800 done
2804 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2805 if test -n "$ac_ct_CC"; then
2806 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2807 echo "${ECHO_T}$ac_ct_CC" >&6
2808 else
2809 echo "$as_me:$LINENO: result: no" >&5
2810 echo "${ECHO_T}no" >&6
2813 test -n "$ac_ct_CC" && break
2814 done
2816 CC=$ac_ct_CC
2822 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2823 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2824 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2825 See \`config.log' for more details." >&5
2826 echo "$as_me: error: no acceptable C compiler found in \$PATH
2827 See \`config.log' for more details." >&2;}
2828 { (exit 1); exit 1; }; }; }
2830 # Provide some information about the compiler.
2831 echo "$as_me:$LINENO:" \
2832 "checking for C compiler version" >&5
2833 ac_compiler=`set X $ac_compile; echo $2`
2834 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2835 (eval $ac_compiler --version </dev/null >&5) 2>&5
2836 ac_status=$?
2837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2838 (exit $ac_status); }
2839 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2840 (eval $ac_compiler -v </dev/null >&5) 2>&5
2841 ac_status=$?
2842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2843 (exit $ac_status); }
2844 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2845 (eval $ac_compiler -V </dev/null >&5) 2>&5
2846 ac_status=$?
2847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2848 (exit $ac_status); }
2850 cat >conftest.$ac_ext <<_ACEOF
2851 /* confdefs.h. */
2852 _ACEOF
2853 cat confdefs.h >>conftest.$ac_ext
2854 cat >>conftest.$ac_ext <<_ACEOF
2855 /* end confdefs.h. */
2858 main ()
2862 return 0;
2864 _ACEOF
2865 # FIXME: Cleanup?
2866 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2867 (eval $ac_link) 2>&5
2868 ac_status=$?
2869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2870 (exit $ac_status); }; then
2871 gcc_no_link=no
2872 else
2873 gcc_no_link=yes
2876 if test x$gcc_no_link = xyes; then
2877 # Setting cross_compile will disable run tests; it will
2878 # also disable AC_CHECK_FILE but that's generally
2879 # correct if we can't link.
2880 cross_compiling=yes
2881 EXEEXT=
2882 else
2883 cat >conftest.$ac_ext <<_ACEOF
2884 /* confdefs.h. */
2885 _ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2891 main ()
2895 return 0;
2897 _ACEOF
2898 ac_clean_files_save=$ac_clean_files
2899 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2900 # Try to create an executable without -o first, disregard a.out.
2901 # It will help us diagnose broken compilers, and finding out an intuition
2902 # of exeext.
2903 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2904 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2905 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2906 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2907 (eval $ac_link_default) 2>&5
2908 ac_status=$?
2909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2910 (exit $ac_status); }; then
2911 # Find the output, starting from the most likely. This scheme is
2912 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2913 # resort.
2915 # Be careful to initialize this variable, since it used to be cached.
2916 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2917 ac_cv_exeext=
2918 # b.out is created by i960 compilers.
2919 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2921 test -f "$ac_file" || continue
2922 case $ac_file in
2923 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2925 conftest.$ac_ext )
2926 # This is the source file.
2928 [ab].out )
2929 # We found the default executable, but exeext='' is most
2930 # certainly right.
2931 break;;
2932 *.* )
2933 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2934 # FIXME: I believe we export ac_cv_exeext for Libtool,
2935 # but it would be cool to find out if it's true. Does anybody
2936 # maintain Libtool? --akim.
2937 export ac_cv_exeext
2938 break;;
2940 break;;
2941 esac
2942 done
2943 else
2944 echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2948 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2949 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2950 See \`config.log' for more details." >&5
2951 echo "$as_me: error: C compiler cannot create executables
2952 See \`config.log' for more details." >&2;}
2953 { (exit 77); exit 77; }; }; }
2956 ac_exeext=$ac_cv_exeext
2957 echo "$as_me:$LINENO: result: $ac_file" >&5
2958 echo "${ECHO_T}$ac_file" >&6
2960 # Check the compiler produces executables we can run. If not, either
2961 # the compiler is broken, or we cross compile.
2962 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2963 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2964 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2965 # If not cross compiling, check that we can run a simple program.
2966 if test "$cross_compiling" != yes; then
2967 if { ac_try='./$ac_file'
2968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2969 (eval $ac_try) 2>&5
2970 ac_status=$?
2971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2972 (exit $ac_status); }; }; then
2973 cross_compiling=no
2974 else
2975 if test "$cross_compiling" = maybe; then
2976 cross_compiling=yes
2977 else
2978 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2979 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2980 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2981 If you meant to cross compile, use \`--host'.
2982 See \`config.log' for more details." >&5
2983 echo "$as_me: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&2;}
2986 { (exit 1); exit 1; }; }; }
2990 echo "$as_me:$LINENO: result: yes" >&5
2991 echo "${ECHO_T}yes" >&6
2993 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2994 ac_clean_files=$ac_clean_files_save
2995 # Check the compiler produces executables we can run. If not, either
2996 # the compiler is broken, or we cross compile.
2997 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2998 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2999 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3000 echo "${ECHO_T}$cross_compiling" >&6
3002 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3003 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3005 (eval $ac_link) 2>&5
3006 ac_status=$?
3007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3008 (exit $ac_status); }; then
3009 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3010 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3011 # work properly (i.e., refer to `conftest.exe'), while it won't with
3012 # `rm'.
3013 for ac_file in conftest.exe conftest conftest.*; do
3014 test -f "$ac_file" || continue
3015 case $ac_file in
3016 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3017 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018 export ac_cv_exeext
3019 break;;
3020 * ) break;;
3021 esac
3022 done
3023 else
3024 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3025 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3026 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3027 See \`config.log' for more details." >&5
3028 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3029 See \`config.log' for more details." >&2;}
3030 { (exit 1); exit 1; }; }; }
3033 rm -f conftest$ac_cv_exeext
3034 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3035 echo "${ECHO_T}$ac_cv_exeext" >&6
3037 rm -f conftest.$ac_ext
3038 EXEEXT=$ac_cv_exeext
3039 ac_exeext=$EXEEXT
3041 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3042 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3043 if test "${ac_cv_objext+set}" = set; then
3044 echo $ECHO_N "(cached) $ECHO_C" >&6
3045 else
3046 cat >conftest.$ac_ext <<_ACEOF
3047 /* confdefs.h. */
3048 _ACEOF
3049 cat confdefs.h >>conftest.$ac_ext
3050 cat >>conftest.$ac_ext <<_ACEOF
3051 /* end confdefs.h. */
3054 main ()
3058 return 0;
3060 _ACEOF
3061 rm -f conftest.o conftest.obj
3062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3063 (eval $ac_compile) 2>&5
3064 ac_status=$?
3065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3066 (exit $ac_status); }; then
3067 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3068 case $ac_file in
3069 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3070 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3071 break;;
3072 esac
3073 done
3074 else
3075 echo "$as_me: failed program was:" >&5
3076 sed 's/^/| /' conftest.$ac_ext >&5
3078 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3079 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3081 See \`config.log' for more details." >&5
3082 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3083 See \`config.log' for more details." >&2;}
3084 { (exit 1); exit 1; }; }; }
3087 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3089 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3090 echo "${ECHO_T}$ac_cv_objext" >&6
3091 OBJEXT=$ac_cv_objext
3092 ac_objext=$OBJEXT
3093 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3094 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3095 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3096 echo $ECHO_N "(cached) $ECHO_C" >&6
3097 else
3098 cat >conftest.$ac_ext <<_ACEOF
3099 /* confdefs.h. */
3100 _ACEOF
3101 cat confdefs.h >>conftest.$ac_ext
3102 cat >>conftest.$ac_ext <<_ACEOF
3103 /* end confdefs.h. */
3106 main ()
3108 #ifndef __GNUC__
3109 choke me
3110 #endif
3113 return 0;
3115 _ACEOF
3116 rm -f conftest.$ac_objext
3117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3118 (eval $ac_compile) 2>conftest.er1
3119 ac_status=$?
3120 grep -v '^ *+' conftest.er1 >conftest.err
3121 rm -f conftest.er1
3122 cat conftest.err >&5
3123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3124 (exit $ac_status); } &&
3125 { ac_try='test -z "$ac_c_werror_flag"
3126 || test ! -s conftest.err'
3127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3128 (eval $ac_try) 2>&5
3129 ac_status=$?
3130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3131 (exit $ac_status); }; } &&
3132 { ac_try='test -s conftest.$ac_objext'
3133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3134 (eval $ac_try) 2>&5
3135 ac_status=$?
3136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3137 (exit $ac_status); }; }; then
3138 ac_compiler_gnu=yes
3139 else
3140 echo "$as_me: failed program was:" >&5
3141 sed 's/^/| /' conftest.$ac_ext >&5
3143 ac_compiler_gnu=no
3145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3146 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3149 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3150 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3151 GCC=`test $ac_compiler_gnu = yes && echo yes`
3152 ac_test_CFLAGS=${CFLAGS+set}
3153 ac_save_CFLAGS=$CFLAGS
3154 CFLAGS="-g"
3155 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3156 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3157 if test "${ac_cv_prog_cc_g+set}" = set; then
3158 echo $ECHO_N "(cached) $ECHO_C" >&6
3159 else
3160 cat >conftest.$ac_ext <<_ACEOF
3161 /* confdefs.h. */
3162 _ACEOF
3163 cat confdefs.h >>conftest.$ac_ext
3164 cat >>conftest.$ac_ext <<_ACEOF
3165 /* end confdefs.h. */
3168 main ()
3172 return 0;
3174 _ACEOF
3175 rm -f conftest.$ac_objext
3176 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3177 (eval $ac_compile) 2>conftest.er1
3178 ac_status=$?
3179 grep -v '^ *+' conftest.er1 >conftest.err
3180 rm -f conftest.er1
3181 cat conftest.err >&5
3182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3183 (exit $ac_status); } &&
3184 { ac_try='test -z "$ac_c_werror_flag"
3185 || test ! -s conftest.err'
3186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3187 (eval $ac_try) 2>&5
3188 ac_status=$?
3189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3190 (exit $ac_status); }; } &&
3191 { ac_try='test -s conftest.$ac_objext'
3192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3193 (eval $ac_try) 2>&5
3194 ac_status=$?
3195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3196 (exit $ac_status); }; }; then
3197 ac_cv_prog_cc_g=yes
3198 else
3199 echo "$as_me: failed program was:" >&5
3200 sed 's/^/| /' conftest.$ac_ext >&5
3202 ac_cv_prog_cc_g=no
3204 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3206 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3207 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3208 if test "$ac_test_CFLAGS" = set; then
3209 CFLAGS=$ac_save_CFLAGS
3210 elif test $ac_cv_prog_cc_g = yes; then
3211 if test "$GCC" = yes; then
3212 CFLAGS="-g -O2"
3213 else
3214 CFLAGS="-g"
3216 else
3217 if test "$GCC" = yes; then
3218 CFLAGS="-O2"
3219 else
3220 CFLAGS=
3223 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3224 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3225 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3226 echo $ECHO_N "(cached) $ECHO_C" >&6
3227 else
3228 ac_cv_prog_cc_stdc=no
3229 ac_save_CC=$CC
3230 cat >conftest.$ac_ext <<_ACEOF
3231 /* confdefs.h. */
3232 _ACEOF
3233 cat confdefs.h >>conftest.$ac_ext
3234 cat >>conftest.$ac_ext <<_ACEOF
3235 /* end confdefs.h. */
3236 #include <stdarg.h>
3237 #include <stdio.h>
3238 #include <sys/types.h>
3239 #include <sys/stat.h>
3240 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3241 struct buf { int x; };
3242 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3243 static char *e (p, i)
3244 char **p;
3245 int i;
3247 return p[i];
3249 static char *f (char * (*g) (char **, int), char **p, ...)
3251 char *s;
3252 va_list v;
3253 va_start (v,p);
3254 s = g (p, va_arg (v,int));
3255 va_end (v);
3256 return s;
3259 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3260 function prototypes and stuff, but not '\xHH' hex character constants.
3261 These don't provoke an error unfortunately, instead are silently treated
3262 as 'x'. The following induces an error, until -std1 is added to get
3263 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3264 array size at least. It's necessary to write '\x00'==0 to get something
3265 that's true only with -std1. */
3266 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3268 int test (int i, double x);
3269 struct s1 {int (*f) (int a);};
3270 struct s2 {int (*f) (double a);};
3271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3272 int argc;
3273 char **argv;
3275 main ()
3277 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3279 return 0;
3281 _ACEOF
3282 # Don't try gcc -ansi; that turns off useful extensions and
3283 # breaks some systems' header files.
3284 # AIX -qlanglvl=ansi
3285 # Ultrix and OSF/1 -std1
3286 # HP-UX 10.20 and later -Ae
3287 # HP-UX older versions -Aa -D_HPUX_SOURCE
3288 # SVR4 -Xc -D__EXTENSIONS__
3289 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3291 CC="$ac_save_CC $ac_arg"
3292 rm -f conftest.$ac_objext
3293 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3294 (eval $ac_compile) 2>conftest.er1
3295 ac_status=$?
3296 grep -v '^ *+' conftest.er1 >conftest.err
3297 rm -f conftest.er1
3298 cat conftest.err >&5
3299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3300 (exit $ac_status); } &&
3301 { ac_try='test -z "$ac_c_werror_flag"
3302 || test ! -s conftest.err'
3303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3304 (eval $ac_try) 2>&5
3305 ac_status=$?
3306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3307 (exit $ac_status); }; } &&
3308 { ac_try='test -s conftest.$ac_objext'
3309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3310 (eval $ac_try) 2>&5
3311 ac_status=$?
3312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3313 (exit $ac_status); }; }; then
3314 ac_cv_prog_cc_stdc=$ac_arg
3315 break
3316 else
3317 echo "$as_me: failed program was:" >&5
3318 sed 's/^/| /' conftest.$ac_ext >&5
3321 rm -f conftest.err conftest.$ac_objext
3322 done
3323 rm -f conftest.$ac_ext conftest.$ac_objext
3324 CC=$ac_save_CC
3328 case "x$ac_cv_prog_cc_stdc" in
3329 x|xno)
3330 echo "$as_me:$LINENO: result: none needed" >&5
3331 echo "${ECHO_T}none needed" >&6 ;;
3333 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3334 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3335 CC="$CC $ac_cv_prog_cc_stdc" ;;
3336 esac
3338 # Some people use a C++ compiler to compile C. Since we use `exit',
3339 # in C++ we need to declare it. In case someone uses the same compiler
3340 # for both compiling C and C++ we need to have the C++ compiler decide
3341 # the declaration of exit, since it's the most demanding environment.
3342 cat >conftest.$ac_ext <<_ACEOF
3343 #ifndef __cplusplus
3344 choke me
3345 #endif
3346 _ACEOF
3347 rm -f conftest.$ac_objext
3348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3349 (eval $ac_compile) 2>conftest.er1
3350 ac_status=$?
3351 grep -v '^ *+' conftest.er1 >conftest.err
3352 rm -f conftest.er1
3353 cat conftest.err >&5
3354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3355 (exit $ac_status); } &&
3356 { ac_try='test -z "$ac_c_werror_flag"
3357 || test ! -s conftest.err'
3358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3359 (eval $ac_try) 2>&5
3360 ac_status=$?
3361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3362 (exit $ac_status); }; } &&
3363 { ac_try='test -s conftest.$ac_objext'
3364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3365 (eval $ac_try) 2>&5
3366 ac_status=$?
3367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3368 (exit $ac_status); }; }; then
3369 for ac_declaration in \
3370 '' \
3371 'extern "C" void std::exit (int) throw (); using std::exit;' \
3372 'extern "C" void std::exit (int); using std::exit;' \
3373 'extern "C" void exit (int) throw ();' \
3374 'extern "C" void exit (int);' \
3375 'void exit (int);'
3377 cat >conftest.$ac_ext <<_ACEOF
3378 /* confdefs.h. */
3379 _ACEOF
3380 cat confdefs.h >>conftest.$ac_ext
3381 cat >>conftest.$ac_ext <<_ACEOF
3382 /* end confdefs.h. */
3383 $ac_declaration
3384 #include <stdlib.h>
3386 main ()
3388 exit (42);
3390 return 0;
3392 _ACEOF
3393 rm -f conftest.$ac_objext
3394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3395 (eval $ac_compile) 2>conftest.er1
3396 ac_status=$?
3397 grep -v '^ *+' conftest.er1 >conftest.err
3398 rm -f conftest.er1
3399 cat conftest.err >&5
3400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3401 (exit $ac_status); } &&
3402 { ac_try='test -z "$ac_c_werror_flag"
3403 || test ! -s conftest.err'
3404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3405 (eval $ac_try) 2>&5
3406 ac_status=$?
3407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3408 (exit $ac_status); }; } &&
3409 { ac_try='test -s conftest.$ac_objext'
3410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3411 (eval $ac_try) 2>&5
3412 ac_status=$?
3413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3414 (exit $ac_status); }; }; then
3416 else
3417 echo "$as_me: failed program was:" >&5
3418 sed 's/^/| /' conftest.$ac_ext >&5
3420 continue
3422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3423 cat >conftest.$ac_ext <<_ACEOF
3424 /* confdefs.h. */
3425 _ACEOF
3426 cat confdefs.h >>conftest.$ac_ext
3427 cat >>conftest.$ac_ext <<_ACEOF
3428 /* end confdefs.h. */
3429 $ac_declaration
3431 main ()
3433 exit (42);
3435 return 0;
3437 _ACEOF
3438 rm -f conftest.$ac_objext
3439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3440 (eval $ac_compile) 2>conftest.er1
3441 ac_status=$?
3442 grep -v '^ *+' conftest.er1 >conftest.err
3443 rm -f conftest.er1
3444 cat conftest.err >&5
3445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3446 (exit $ac_status); } &&
3447 { ac_try='test -z "$ac_c_werror_flag"
3448 || test ! -s conftest.err'
3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3450 (eval $ac_try) 2>&5
3451 ac_status=$?
3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3453 (exit $ac_status); }; } &&
3454 { ac_try='test -s conftest.$ac_objext'
3455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3456 (eval $ac_try) 2>&5
3457 ac_status=$?
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }; }; then
3460 break
3461 else
3462 echo "$as_me: failed program was:" >&5
3463 sed 's/^/| /' conftest.$ac_ext >&5
3466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3467 done
3468 rm -f conftest*
3469 if test -n "$ac_declaration"; then
3470 echo '#ifdef __cplusplus' >>confdefs.h
3471 echo $ac_declaration >>confdefs.h
3472 echo '#endif' >>confdefs.h
3475 else
3476 echo "$as_me: failed program was:" >&5
3477 sed 's/^/| /' conftest.$ac_ext >&5
3480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3481 ac_ext=c
3482 ac_cpp='$CPP $CPPFLAGS'
3483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3487 ac_ext=cc
3488 ac_cpp='$CXXCPP $CPPFLAGS'
3489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3492 if test -n "$ac_tool_prefix"; then
3493 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3495 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3496 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3497 echo "$as_me:$LINENO: checking for $ac_word" >&5
3498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3499 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3500 echo $ECHO_N "(cached) $ECHO_C" >&6
3501 else
3502 if test -n "$CXX"; then
3503 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3504 else
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3506 for as_dir in $PATH
3508 IFS=$as_save_IFS
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3513 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3514 break 2
3516 done
3517 done
3521 CXX=$glibcxx_cv_prog_CXX
3522 if test -n "$CXX"; then
3523 echo "$as_me:$LINENO: result: $CXX" >&5
3524 echo "${ECHO_T}$CXX" >&6
3525 else
3526 echo "$as_me:$LINENO: result: no" >&5
3527 echo "${ECHO_T}no" >&6
3530 test -n "$CXX" && break
3531 done
3533 if test -z "$CXX"; then
3534 ac_ct_CXX=$CXX
3535 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3537 # Extract the first word of "$ac_prog", so it can be a program name with args.
3538 set dummy $ac_prog; ac_word=$2
3539 echo "$as_me:$LINENO: checking for $ac_word" >&5
3540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3541 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3542 echo $ECHO_N "(cached) $ECHO_C" >&6
3543 else
3544 if test -n "$ac_ct_CXX"; then
3545 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3546 else
3547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3548 for as_dir in $PATH
3550 IFS=$as_save_IFS
3551 test -z "$as_dir" && as_dir=.
3552 for ac_exec_ext in '' $ac_executable_extensions; do
3553 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3554 ac_cv_prog_ac_ct_CXX="$ac_prog"
3555 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3556 break 2
3558 done
3559 done
3563 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3564 if test -n "$ac_ct_CXX"; then
3565 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3566 echo "${ECHO_T}$ac_ct_CXX" >&6
3567 else
3568 echo "$as_me:$LINENO: result: no" >&5
3569 echo "${ECHO_T}no" >&6
3572 test -n "$ac_ct_CXX" && break
3573 done
3574 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3576 CXX=$ac_ct_CXX
3580 # Provide some information about the compiler.
3581 echo "$as_me:$LINENO:" \
3582 "checking for C++ compiler version" >&5
3583 ac_compiler=`set X $ac_compile; echo $2`
3584 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3585 (eval $ac_compiler --version </dev/null >&5) 2>&5
3586 ac_status=$?
3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3588 (exit $ac_status); }
3589 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3590 (eval $ac_compiler -v </dev/null >&5) 2>&5
3591 ac_status=$?
3592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3593 (exit $ac_status); }
3594 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3595 (eval $ac_compiler -V </dev/null >&5) 2>&5
3596 ac_status=$?
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); }
3600 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3601 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3602 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3603 echo $ECHO_N "(cached) $ECHO_C" >&6
3604 else
3605 cat >conftest.$ac_ext <<_ACEOF
3606 /* confdefs.h. */
3607 _ACEOF
3608 cat confdefs.h >>conftest.$ac_ext
3609 cat >>conftest.$ac_ext <<_ACEOF
3610 /* end confdefs.h. */
3613 main ()
3615 #ifndef __GNUC__
3616 choke me
3617 #endif
3620 return 0;
3622 _ACEOF
3623 rm -f conftest.$ac_objext
3624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3625 (eval $ac_compile) 2>conftest.er1
3626 ac_status=$?
3627 grep -v '^ *+' conftest.er1 >conftest.err
3628 rm -f conftest.er1
3629 cat conftest.err >&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); } &&
3632 { ac_try='test -z "$ac_cxx_werror_flag"
3633 || test ! -s conftest.err'
3634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3635 (eval $ac_try) 2>&5
3636 ac_status=$?
3637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3638 (exit $ac_status); }; } &&
3639 { ac_try='test -s conftest.$ac_objext'
3640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3641 (eval $ac_try) 2>&5
3642 ac_status=$?
3643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3644 (exit $ac_status); }; }; then
3645 ac_compiler_gnu=yes
3646 else
3647 echo "$as_me: failed program was:" >&5
3648 sed 's/^/| /' conftest.$ac_ext >&5
3650 ac_compiler_gnu=no
3652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3653 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3656 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3657 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3658 GXX=`test $ac_compiler_gnu = yes && echo yes`
3659 ac_test_CXXFLAGS=${CXXFLAGS+set}
3660 ac_save_CXXFLAGS=$CXXFLAGS
3661 CXXFLAGS="-g"
3662 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3663 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3664 if test "${ac_cv_prog_cxx_g+set}" = set; then
3665 echo $ECHO_N "(cached) $ECHO_C" >&6
3666 else
3667 cat >conftest.$ac_ext <<_ACEOF
3668 /* confdefs.h. */
3669 _ACEOF
3670 cat confdefs.h >>conftest.$ac_ext
3671 cat >>conftest.$ac_ext <<_ACEOF
3672 /* end confdefs.h. */
3675 main ()
3679 return 0;
3681 _ACEOF
3682 rm -f conftest.$ac_objext
3683 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3684 (eval $ac_compile) 2>conftest.er1
3685 ac_status=$?
3686 grep -v '^ *+' conftest.er1 >conftest.err
3687 rm -f conftest.er1
3688 cat conftest.err >&5
3689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3690 (exit $ac_status); } &&
3691 { ac_try='test -z "$ac_cxx_werror_flag"
3692 || test ! -s conftest.err'
3693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3694 (eval $ac_try) 2>&5
3695 ac_status=$?
3696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3697 (exit $ac_status); }; } &&
3698 { ac_try='test -s conftest.$ac_objext'
3699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3700 (eval $ac_try) 2>&5
3701 ac_status=$?
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); }; }; then
3704 ac_cv_prog_cxx_g=yes
3705 else
3706 echo "$as_me: failed program was:" >&5
3707 sed 's/^/| /' conftest.$ac_ext >&5
3709 ac_cv_prog_cxx_g=no
3711 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3713 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3714 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3715 if test "$ac_test_CXXFLAGS" = set; then
3716 CXXFLAGS=$ac_save_CXXFLAGS
3717 elif test $ac_cv_prog_cxx_g = yes; then
3718 if test "$GXX" = yes; then
3719 CXXFLAGS="-g -O2"
3720 else
3721 CXXFLAGS="-g"
3723 else
3724 if test "$GXX" = yes; then
3725 CXXFLAGS="-O2"
3726 else
3727 CXXFLAGS=
3730 for ac_declaration in \
3731 '' \
3732 'extern "C" void std::exit (int) throw (); using std::exit;' \
3733 'extern "C" void std::exit (int); using std::exit;' \
3734 'extern "C" void exit (int) throw ();' \
3735 'extern "C" void exit (int);' \
3736 'void exit (int);'
3738 cat >conftest.$ac_ext <<_ACEOF
3739 /* confdefs.h. */
3740 _ACEOF
3741 cat confdefs.h >>conftest.$ac_ext
3742 cat >>conftest.$ac_ext <<_ACEOF
3743 /* end confdefs.h. */
3744 $ac_declaration
3745 #include <stdlib.h>
3747 main ()
3749 exit (42);
3751 return 0;
3753 _ACEOF
3754 rm -f conftest.$ac_objext
3755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3756 (eval $ac_compile) 2>conftest.er1
3757 ac_status=$?
3758 grep -v '^ *+' conftest.er1 >conftest.err
3759 rm -f conftest.er1
3760 cat conftest.err >&5
3761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3762 (exit $ac_status); } &&
3763 { ac_try='test -z "$ac_cxx_werror_flag"
3764 || test ! -s conftest.err'
3765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3766 (eval $ac_try) 2>&5
3767 ac_status=$?
3768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3769 (exit $ac_status); }; } &&
3770 { ac_try='test -s conftest.$ac_objext'
3771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3772 (eval $ac_try) 2>&5
3773 ac_status=$?
3774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3775 (exit $ac_status); }; }; then
3777 else
3778 echo "$as_me: failed program was:" >&5
3779 sed 's/^/| /' conftest.$ac_ext >&5
3781 continue
3783 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3784 cat >conftest.$ac_ext <<_ACEOF
3785 /* confdefs.h. */
3786 _ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3790 $ac_declaration
3792 main ()
3794 exit (42);
3796 return 0;
3798 _ACEOF
3799 rm -f conftest.$ac_objext
3800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3801 (eval $ac_compile) 2>conftest.er1
3802 ac_status=$?
3803 grep -v '^ *+' conftest.er1 >conftest.err
3804 rm -f conftest.er1
3805 cat conftest.err >&5
3806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3807 (exit $ac_status); } &&
3808 { ac_try='test -z "$ac_cxx_werror_flag"
3809 || test ! -s conftest.err'
3810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3811 (eval $ac_try) 2>&5
3812 ac_status=$?
3813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3814 (exit $ac_status); }; } &&
3815 { ac_try='test -s conftest.$ac_objext'
3816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3817 (eval $ac_try) 2>&5
3818 ac_status=$?
3819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3820 (exit $ac_status); }; }; then
3821 break
3822 else
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3828 done
3829 rm -f conftest*
3830 if test -n "$ac_declaration"; then
3831 echo '#ifdef __cplusplus' >>confdefs.h
3832 echo $ac_declaration >>confdefs.h
3833 echo '#endif' >>confdefs.h
3836 ac_ext=c
3837 ac_cpp='$CPP $CPPFLAGS'
3838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3842 CXXFLAGS="$save_CXXFLAGS"
3847 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3848 # available). Uncomment the next line to force a particular method.
3849 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3850 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3851 LN_S=$as_ln_s
3852 if test "$LN_S" = "ln -s"; then
3853 echo "$as_me:$LINENO: result: yes" >&5
3854 echo "${ECHO_T}yes" >&6
3855 else
3856 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3857 echo "${ECHO_T}no, using $LN_S" >&6
3860 #LN_S='cp -p'
3862 if test -n "$ac_tool_prefix"; then
3863 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3864 set dummy ${ac_tool_prefix}as; ac_word=$2
3865 echo "$as_me:$LINENO: checking for $ac_word" >&5
3866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3867 if test "${ac_cv_prog_AS+set}" = set; then
3868 echo $ECHO_N "(cached) $ECHO_C" >&6
3869 else
3870 if test -n "$AS"; then
3871 ac_cv_prog_AS="$AS" # Let the user override the test.
3872 else
3873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 for as_dir in $PATH
3876 IFS=$as_save_IFS
3877 test -z "$as_dir" && as_dir=.
3878 for ac_exec_ext in '' $ac_executable_extensions; do
3879 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3880 ac_cv_prog_AS="${ac_tool_prefix}as"
3881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3882 break 2
3884 done
3885 done
3889 AS=$ac_cv_prog_AS
3890 if test -n "$AS"; then
3891 echo "$as_me:$LINENO: result: $AS" >&5
3892 echo "${ECHO_T}$AS" >&6
3893 else
3894 echo "$as_me:$LINENO: result: no" >&5
3895 echo "${ECHO_T}no" >&6
3899 if test -z "$ac_cv_prog_AS"; then
3900 ac_ct_AS=$AS
3901 # Extract the first word of "as", so it can be a program name with args.
3902 set dummy as; ac_word=$2
3903 echo "$as_me:$LINENO: checking for $ac_word" >&5
3904 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3905 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3906 echo $ECHO_N "(cached) $ECHO_C" >&6
3907 else
3908 if test -n "$ac_ct_AS"; then
3909 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3910 else
3911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3912 for as_dir in $PATH
3914 IFS=$as_save_IFS
3915 test -z "$as_dir" && as_dir=.
3916 for ac_exec_ext in '' $ac_executable_extensions; do
3917 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3918 ac_cv_prog_ac_ct_AS="as"
3919 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3920 break 2
3922 done
3923 done
3927 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3928 if test -n "$ac_ct_AS"; then
3929 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3930 echo "${ECHO_T}$ac_ct_AS" >&6
3931 else
3932 echo "$as_me:$LINENO: result: no" >&5
3933 echo "${ECHO_T}no" >&6
3936 AS=$ac_ct_AS
3937 else
3938 AS="$ac_cv_prog_AS"
3941 if test -n "$ac_tool_prefix"; then
3942 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3943 set dummy ${ac_tool_prefix}ar; ac_word=$2
3944 echo "$as_me:$LINENO: checking for $ac_word" >&5
3945 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3946 if test "${ac_cv_prog_AR+set}" = set; then
3947 echo $ECHO_N "(cached) $ECHO_C" >&6
3948 else
3949 if test -n "$AR"; then
3950 ac_cv_prog_AR="$AR" # Let the user override the test.
3951 else
3952 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3953 for as_dir in $PATH
3955 IFS=$as_save_IFS
3956 test -z "$as_dir" && as_dir=.
3957 for ac_exec_ext in '' $ac_executable_extensions; do
3958 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3959 ac_cv_prog_AR="${ac_tool_prefix}ar"
3960 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3961 break 2
3963 done
3964 done
3968 AR=$ac_cv_prog_AR
3969 if test -n "$AR"; then
3970 echo "$as_me:$LINENO: result: $AR" >&5
3971 echo "${ECHO_T}$AR" >&6
3972 else
3973 echo "$as_me:$LINENO: result: no" >&5
3974 echo "${ECHO_T}no" >&6
3978 if test -z "$ac_cv_prog_AR"; then
3979 ac_ct_AR=$AR
3980 # Extract the first word of "ar", so it can be a program name with args.
3981 set dummy ar; ac_word=$2
3982 echo "$as_me:$LINENO: checking for $ac_word" >&5
3983 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3984 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3985 echo $ECHO_N "(cached) $ECHO_C" >&6
3986 else
3987 if test -n "$ac_ct_AR"; then
3988 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3989 else
3990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3991 for as_dir in $PATH
3993 IFS=$as_save_IFS
3994 test -z "$as_dir" && as_dir=.
3995 for ac_exec_ext in '' $ac_executable_extensions; do
3996 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3997 ac_cv_prog_ac_ct_AR="ar"
3998 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3999 break 2
4001 done
4002 done
4006 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4007 if test -n "$ac_ct_AR"; then
4008 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4009 echo "${ECHO_T}$ac_ct_AR" >&6
4010 else
4011 echo "$as_me:$LINENO: result: no" >&5
4012 echo "${ECHO_T}no" >&6
4015 AR=$ac_ct_AR
4016 else
4017 AR="$ac_cv_prog_AR"
4020 if test -n "$ac_tool_prefix"; then
4021 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4022 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4023 echo "$as_me:$LINENO: checking for $ac_word" >&5
4024 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4025 if test "${ac_cv_prog_RANLIB+set}" = set; then
4026 echo $ECHO_N "(cached) $ECHO_C" >&6
4027 else
4028 if test -n "$RANLIB"; then
4029 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4030 else
4031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4032 for as_dir in $PATH
4034 IFS=$as_save_IFS
4035 test -z "$as_dir" && as_dir=.
4036 for ac_exec_ext in '' $ac_executable_extensions; do
4037 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4038 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4040 break 2
4042 done
4043 done
4047 RANLIB=$ac_cv_prog_RANLIB
4048 if test -n "$RANLIB"; then
4049 echo "$as_me:$LINENO: result: $RANLIB" >&5
4050 echo "${ECHO_T}$RANLIB" >&6
4051 else
4052 echo "$as_me:$LINENO: result: no" >&5
4053 echo "${ECHO_T}no" >&6
4057 if test -z "$ac_cv_prog_RANLIB"; then
4058 ac_ct_RANLIB=$RANLIB
4059 # Extract the first word of "ranlib", so it can be a program name with args.
4060 set dummy ranlib; ac_word=$2
4061 echo "$as_me:$LINENO: checking for $ac_word" >&5
4062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4063 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4064 echo $ECHO_N "(cached) $ECHO_C" >&6
4065 else
4066 if test -n "$ac_ct_RANLIB"; then
4067 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4068 else
4069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4070 for as_dir in $PATH
4072 IFS=$as_save_IFS
4073 test -z "$as_dir" && as_dir=.
4074 for ac_exec_ext in '' $ac_executable_extensions; do
4075 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4076 ac_cv_prog_ac_ct_RANLIB="ranlib"
4077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4078 break 2
4080 done
4081 done
4083 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4086 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4087 if test -n "$ac_ct_RANLIB"; then
4088 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4089 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4090 else
4091 echo "$as_me:$LINENO: result: no" >&5
4092 echo "${ECHO_T}no" >&6
4095 RANLIB=$ac_ct_RANLIB
4096 else
4097 RANLIB="$ac_cv_prog_RANLIB"
4101 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4102 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4103 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4104 if test "${enable_maintainer_mode+set}" = set; then
4105 enableval="$enable_maintainer_mode"
4106 USE_MAINTAINER_MODE=$enableval
4107 else
4108 USE_MAINTAINER_MODE=no
4110 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4111 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4114 if test $USE_MAINTAINER_MODE = yes; then
4115 MAINTAINER_MODE_TRUE=
4116 MAINTAINER_MODE_FALSE='#'
4117 else
4118 MAINTAINER_MODE_TRUE='#'
4119 MAINTAINER_MODE_FALSE=
4122 MAINT=$MAINTAINER_MODE_TRUE
4126 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4127 # which are themselves conditionally expanded.
4128 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4129 ## other macros from doing the same. This should be automated.) -pme
4130 need_libmath=no
4132 # Check for uClibc since Linux platforms use different configuration
4133 # directories depending on the C library in use.
4134 cat >conftest.$ac_ext <<_ACEOF
4135 /* confdefs.h. */
4136 _ACEOF
4137 cat confdefs.h >>conftest.$ac_ext
4138 cat >>conftest.$ac_ext <<_ACEOF
4139 /* end confdefs.h. */
4141 #include <stdio.h>
4142 #if __UCLIBC__
4143 _using_uclibc
4144 #endif
4146 _ACEOF
4147 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4148 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4149 uclibc=yes
4150 else
4151 uclibc=no
4153 rm -f conftest*
4156 # Find platform-specific directories containing configuration info.
4157 # Also possibly modify flags used elsewhere, as needed by the platform.
4159 . $glibcxx_srcdir/configure.host
4160 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4161 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4162 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4163 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4167 if test "x${with_newlib}" != "xyes"; then
4168 enable_dlopen=yes
4175 macro_version='2.1a'
4176 macro_revision='1.2435'
4189 ltmain="$ac_aux_dir/ltmain.sh"
4191 # Set options
4194 enable_win32_dll=no
4197 # Check whether --enable-shared or --disable-shared was given.
4198 if test "${enable_shared+set}" = set; then
4199 enableval="$enable_shared"
4200 p=${PACKAGE-default}
4201 case $enableval in
4202 yes) enable_shared=yes ;;
4203 no) enable_shared=no ;;
4205 enable_shared=no
4206 # Look at the argument we got. We use all the common list separators.
4207 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4208 for pkg in $enableval; do
4209 IFS="$lt_save_ifs"
4210 if test "X$pkg" = "X$p"; then
4211 enable_shared=yes
4213 done
4214 IFS="$lt_save_ifs"
4216 esac
4217 else
4218 enable_shared=yes
4228 # Check whether --enable-static or --disable-static was given.
4229 if test "${enable_static+set}" = set; then
4230 enableval="$enable_static"
4231 p=${PACKAGE-default}
4232 case $enableval in
4233 yes) enable_static=yes ;;
4234 no) enable_static=no ;;
4236 enable_static=no
4237 # Look at the argument we got. We use all the common list separators.
4238 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4239 for pkg in $enableval; do
4240 IFS="$lt_save_ifs"
4241 if test "X$pkg" = "X$p"; then
4242 enable_static=yes
4244 done
4245 IFS="$lt_save_ifs"
4247 esac
4248 else
4249 enable_static=yes
4260 # Check whether --with-pic or --without-pic was given.
4261 if test "${with_pic+set}" = set; then
4262 withval="$with_pic"
4263 pic_mode="$withval"
4264 else
4265 pic_mode=default
4268 test -z "$pic_mode" && pic_mode=default
4276 # Check whether --enable-fast-install or --disable-fast-install was given.
4277 if test "${enable_fast_install+set}" = set; then
4278 enableval="$enable_fast_install"
4279 p=${PACKAGE-default}
4280 case $enableval in
4281 yes) enable_fast_install=yes ;;
4282 no) enable_fast_install=no ;;
4284 enable_fast_install=no
4285 # Look at the argument we got. We use all the common list separators.
4286 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
4287 for pkg in $enableval; do
4288 IFS="$lt_save_ifs"
4289 if test "X$pkg" = "X$p"; then
4290 enable_fast_install=yes
4292 done
4293 IFS="$lt_save_ifs"
4295 esac
4296 else
4297 enable_fast_install=yes
4307 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4308 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4309 if test "${lt_cv_path_SED+set}" = set; then
4310 echo $ECHO_N "(cached) $ECHO_C" >&6
4311 else
4312 # Loop through the user's path and test for sed and gsed.
4313 # Then use that list of sed's as ones to test for truncation.
4314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4315 for as_dir in $PATH
4317 IFS=$as_save_IFS
4318 test -z "$as_dir" && as_dir=.
4319 for lt_ac_prog in sed gsed; do
4320 for ac_exec_ext in '' $ac_executable_extensions; do
4321 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4322 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4324 done
4325 done
4326 done
4327 IFS=$as_save_IFS
4328 lt_ac_max=0
4329 lt_ac_count=0
4330 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4331 # along with /bin/sed that truncates output.
4332 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4333 test ! -f $lt_ac_sed && continue
4334 cat /dev/null > conftest.in
4335 lt_ac_count=0
4336 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4337 # Check for GNU sed and select it if it is found.
4338 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4339 lt_cv_path_SED=$lt_ac_sed
4340 break
4342 while true; do
4343 cat conftest.in conftest.in >conftest.tmp
4344 mv conftest.tmp conftest.in
4345 cp conftest.in conftest.nl
4346 echo >>conftest.nl
4347 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4348 cmp -s conftest.out conftest.nl || break
4349 # 10000 chars as input seems more than enough
4350 test $lt_ac_count -gt 10 && break
4351 lt_ac_count=`expr $lt_ac_count + 1`
4352 if test $lt_ac_count -gt $lt_ac_max; then
4353 lt_ac_max=$lt_ac_count
4354 lt_cv_path_SED=$lt_ac_sed
4356 done
4357 done
4361 SED=$lt_cv_path_SED
4363 echo "$as_me:$LINENO: result: $SED" >&5
4364 echo "${ECHO_T}$SED" >&6
4366 test -z "$SED" && SED=sed
4367 Xsed="$SED -e 1s/^X//"
4379 echo "$as_me:$LINENO: checking for fgrep" >&5
4380 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4381 if test "${ac_cv_prog_fgrep+set}" = set; then
4382 echo $ECHO_N "(cached) $ECHO_C" >&6
4383 else
4384 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4385 then ac_cv_prog_fgrep='grep -F'
4386 else ac_cv_prog_fgrep='fgrep'
4389 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4390 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4391 FGREP=$ac_cv_prog_fgrep
4394 test -z "$GREP" && GREP=grep
4414 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4415 if test "${with_gnu_ld+set}" = set; then
4416 withval="$with_gnu_ld"
4417 test "$withval" = no || with_gnu_ld=yes
4418 else
4419 with_gnu_ld=no
4421 ac_prog=ld
4422 if test "$GCC" = yes; then
4423 # Check if gcc -print-prog-name=ld gives a path.
4424 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4425 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4426 case $host in
4427 *-*-mingw*)
4428 # gcc leaves a trailing carriage return which upsets mingw
4429 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4431 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4432 esac
4433 case $ac_prog in
4434 # Accept absolute paths.
4435 [\\/]* | ?:[\\/]*)
4436 re_direlt='/[^/][^/]*/\.\./'
4437 # Canonicalize the pathname of ld
4438 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4439 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4440 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4441 done
4442 test -z "$LD" && LD="$ac_prog"
4445 # If it fails, then pretend we aren't using GCC.
4446 ac_prog=ld
4449 # If it is relative, then search for the first ld in PATH.
4450 with_gnu_ld=unknown
4452 esac
4453 elif test "$with_gnu_ld" = yes; then
4454 echo "$as_me:$LINENO: checking for GNU ld" >&5
4455 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4456 else
4457 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4458 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4460 if test "${lt_cv_path_LD+set}" = set; then
4461 echo $ECHO_N "(cached) $ECHO_C" >&6
4462 else
4463 if test -z "$LD"; then
4464 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4465 for ac_dir in $PATH; do
4466 IFS="$lt_save_ifs"
4467 test -z "$ac_dir" && ac_dir=.
4468 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4469 lt_cv_path_LD="$ac_dir/$ac_prog"
4470 # Check to see if the program is GNU ld. I'd rather use --version,
4471 # but apparently some variants of GNU ld only accept -v.
4472 # Break only if it was the GNU/non-GNU ld that we prefer.
4473 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4474 *GNU* | *'with BFD'*)
4475 test "$with_gnu_ld" != no && break
4478 test "$with_gnu_ld" != yes && break
4480 esac
4482 done
4483 IFS="$lt_save_ifs"
4484 else
4485 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4489 LD="$lt_cv_path_LD"
4490 if test -n "$LD"; then
4491 echo "$as_me:$LINENO: result: $LD" >&5
4492 echo "${ECHO_T}$LD" >&6
4493 else
4494 echo "$as_me:$LINENO: result: no" >&5
4495 echo "${ECHO_T}no" >&6
4497 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4498 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4499 { (exit 1); exit 1; }; }
4500 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4501 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4502 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4503 echo $ECHO_N "(cached) $ECHO_C" >&6
4504 else
4505 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4506 case `$LD -v 2>&1 </dev/null` in
4507 *GNU* | *'with BFD'*)
4508 lt_cv_prog_gnu_ld=yes
4511 lt_cv_prog_gnu_ld=no
4513 esac
4515 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4516 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4517 with_gnu_ld=$lt_cv_prog_gnu_ld
4528 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4529 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4530 if test "${lt_cv_path_NM+set}" = set; then
4531 echo $ECHO_N "(cached) $ECHO_C" >&6
4532 else
4533 if test -n "$NM"; then
4534 # Let the user override the test.
4535 lt_cv_path_NM="$NM"
4536 else
4537 lt_nm_to_check="${ac_tool_prefix}nm"
4538 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4539 lt_nm_to_check="$lt_nm_to_check nm"
4541 for lt_tmp_nm in $lt_nm_to_check; do
4542 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4543 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4544 IFS="$lt_save_ifs"
4545 test -z "$ac_dir" && ac_dir=.
4546 tmp_nm="$ac_dir/$lt_tmp_nm"
4547 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4548 # Check to see if the nm accepts a BSD-compat flag.
4549 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4550 # nm: unknown option "B" ignored
4551 # Tru64's nm complains that /dev/null is an invalid object file
4552 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4553 */dev/null* | *'Invalid file or object type'*)
4554 lt_cv_path_NM="$tmp_nm -B"
4555 break
4558 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4559 */dev/null*)
4560 lt_cv_path_NM="$tmp_nm -p"
4561 break
4564 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4565 continue # so that we can try to find one that supports BSD flags
4567 esac
4569 esac
4571 done
4572 IFS="$lt_save_ifs"
4573 done
4574 : ${lt_cv_path_NM=no}
4577 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4578 echo "${ECHO_T}$lt_cv_path_NM" >&6
4579 if test "$lt_cv_path_NM" != "no"; then
4580 NM="$lt_cv_path_NM"
4581 else
4582 # Didn't find any BSD compatible name lister, look for dumpbin.
4583 if test -n "$ac_tool_prefix"; then
4584 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4586 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4587 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4588 echo "$as_me:$LINENO: checking for $ac_word" >&5
4589 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4590 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4591 echo $ECHO_N "(cached) $ECHO_C" >&6
4592 else
4593 if test -n "$DUMPBIN"; then
4594 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4595 else
4596 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4597 for as_dir in $PATH
4599 IFS=$as_save_IFS
4600 test -z "$as_dir" && as_dir=.
4601 for ac_exec_ext in '' $ac_executable_extensions; do
4602 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4603 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4604 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4605 break 2
4607 done
4608 done
4612 DUMPBIN=$ac_cv_prog_DUMPBIN
4613 if test -n "$DUMPBIN"; then
4614 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4615 echo "${ECHO_T}$DUMPBIN" >&6
4616 else
4617 echo "$as_me:$LINENO: result: no" >&5
4618 echo "${ECHO_T}no" >&6
4621 test -n "$DUMPBIN" && break
4622 done
4624 if test -z "$DUMPBIN"; then
4625 ac_ct_DUMPBIN=$DUMPBIN
4626 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4628 # Extract the first word of "$ac_prog", so it can be a program name with args.
4629 set dummy $ac_prog; ac_word=$2
4630 echo "$as_me:$LINENO: checking for $ac_word" >&5
4631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4632 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4633 echo $ECHO_N "(cached) $ECHO_C" >&6
4634 else
4635 if test -n "$ac_ct_DUMPBIN"; then
4636 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4637 else
4638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4639 for as_dir in $PATH
4641 IFS=$as_save_IFS
4642 test -z "$as_dir" && as_dir=.
4643 for ac_exec_ext in '' $ac_executable_extensions; do
4644 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4645 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4647 break 2
4649 done
4650 done
4654 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4655 if test -n "$ac_ct_DUMPBIN"; then
4656 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4657 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4658 else
4659 echo "$as_me:$LINENO: result: no" >&5
4660 echo "${ECHO_T}no" >&6
4663 test -n "$ac_ct_DUMPBIN" && break
4664 done
4665 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4667 DUMPBIN=$ac_ct_DUMPBIN
4671 if test "$DUMPBIN" != ":"; then
4672 NM="$DUMPBIN"
4675 test -z "$NM" && NM=nm
4682 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4683 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4684 if test "${lt_cv_nm_interface+set}" = set; then
4685 echo $ECHO_N "(cached) $ECHO_C" >&6
4686 else
4687 lt_cv_nm_interface="BSD nm"
4688 echo "int some_variable = 0;" > conftest.$ac_ext
4689 (eval echo "\"\$as_me:4689: $ac_compile\"" >&5)
4690 (eval "$ac_compile" 2>conftest.err)
4691 cat conftest.err >&5
4692 (eval echo "\"\$as_me:4692: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4693 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4694 cat conftest.err >&5
4695 (eval echo "\"\$as_me:4695: output\"" >&5)
4696 cat conftest.out >&5
4697 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4698 lt_cv_nm_interface="MS dumpbin"
4700 rm -f conftest*
4702 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4703 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4705 # find the maximum length of command line arguments
4706 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4707 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4708 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4709 echo $ECHO_N "(cached) $ECHO_C" >&6
4710 else
4712 teststring="ABCD"
4714 case $build_os in
4715 msdosdjgpp*)
4716 # On DJGPP, this test can blow up pretty badly due to problems in libc
4717 # (any single argument exceeding 2000 bytes causes a buffer overrun
4718 # during glob expansion). Even if it were fixed, the result of this
4719 # check would be larger than it should be.
4720 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4723 gnu*)
4724 # Under GNU Hurd, this test is not required because there is
4725 # no limit to the length of command line arguments.
4726 # Libtool will interpret -1 as no limit whatsoever
4727 lt_cv_sys_max_cmd_len=-1;
4730 cygwin* | mingw*)
4731 # On Win9x/ME, this test blows up -- it succeeds, but takes
4732 # about 5 minutes as the teststring grows exponentially.
4733 # Worse, since 9x/ME are not pre-emptively multitasking,
4734 # you end up with a "frozen" computer, even though with patience
4735 # the test eventually succeeds (with a max line length of 256k).
4736 # Instead, let's just punt: use the minimum linelength reported by
4737 # all of the supported platforms: 8192 (on NT/2K/XP).
4738 lt_cv_sys_max_cmd_len=8192;
4741 amigaos*)
4742 # On AmigaOS with pdksh, this test takes hours, literally.
4743 # So we just punt and use a minimum line length of 8192.
4744 lt_cv_sys_max_cmd_len=8192;
4747 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4748 # This has been around since 386BSD, at least. Likely further.
4749 if test -x /sbin/sysctl; then
4750 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4751 elif test -x /usr/sbin/sysctl; then
4752 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4753 else
4754 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4756 # And add a safety zone
4757 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4758 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4761 interix*)
4762 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4763 lt_cv_sys_max_cmd_len=196608
4766 osf*)
4767 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4768 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4769 # nice to cause kernel panics so lets avoid the loop below.
4770 # First set a reasonable default.
4771 lt_cv_sys_max_cmd_len=16384
4773 if test -x /sbin/sysconfig; then
4774 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4775 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4776 esac
4779 sco3.2v5*)
4780 lt_cv_sys_max_cmd_len=102400
4782 sysv5* | sco5v6* | sysv4.2uw2*)
4783 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4784 if test -n "$kargmax"; then
4785 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4786 else
4787 lt_cv_sys_max_cmd_len=32768
4791 lt_cv_sys_max_cmd_len=`getconf ARG_MAX 2> /dev/null`
4792 if test -n $lt_cv_sys_max_cmd_len; then
4793 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4794 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4795 else
4796 # Make teststring a little bigger before we do anything with it.
4797 # a 1K string should be a reasonable start.
4798 for i in 1 2 3 4 5 6 7 8 ; do
4799 teststring=$teststring$teststring
4800 done
4801 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4802 # If test is not a shell built-in, we'll probably end up computing a
4803 # maximum length that is only half of the actual maximum length, but
4804 # we can't tell.
4805 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4806 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4807 test $i != 17 # 1/2 MB should be enough
4809 i=`expr $i + 1`
4810 teststring=$teststring$teststring
4811 done
4812 # Only check the string length outside the loop.
4813 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4814 teststring=
4815 # Add a significant safety factor because C++ compilers can tack on
4816 # massive amounts of additional arguments before passing them to the
4817 # linker. It appears as though 1/2 is a usable value.
4818 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4821 esac
4825 if test -n $lt_cv_sys_max_cmd_len ; then
4826 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4827 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4828 else
4829 echo "$as_me:$LINENO: result: none" >&5
4830 echo "${ECHO_T}none" >&6
4832 max_cmd_len=$lt_cv_sys_max_cmd_len
4840 : ${CP="cp -f"}
4841 : ${MV="mv -f"}
4842 : ${RM="rm -f"}
4844 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4845 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4846 # Try some XSI features
4847 xsi_shell=no
4848 ( _lt_dummy="a/b/c"
4849 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4850 = c,a/b,, ) >/dev/null 2>&1 \
4851 && xsi_shell=yes
4852 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4853 echo "${ECHO_T}$xsi_shell" >&6
4856 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4857 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4858 lt_shell_append=no
4859 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4860 >/dev/null 2>&1 \
4861 && lt_shell_append=yes
4862 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4863 echo "${ECHO_T}$lt_shell_append" >&6
4866 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4867 lt_unset=unset
4868 else
4869 lt_unset=false
4876 # test EBCDIC or ASCII
4877 case `echo X|tr X '\101'` in
4878 A) # ASCII based system
4879 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4880 lt_SP2NL='tr \040 \012'
4881 lt_NL2SP='tr \015\012 \040\040'
4883 *) # EBCDIC based system
4884 lt_SP2NL='tr \100 \n'
4885 lt_NL2SP='tr \r\n \100\100'
4887 esac
4897 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4898 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4899 if test "${lt_cv_ld_reload_flag+set}" = set; then
4900 echo $ECHO_N "(cached) $ECHO_C" >&6
4901 else
4902 lt_cv_ld_reload_flag='-r'
4904 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4905 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4906 reload_flag=$lt_cv_ld_reload_flag
4907 case $reload_flag in
4908 "" | " "*) ;;
4909 *) reload_flag=" $reload_flag" ;;
4910 esac
4911 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4912 case $host_os in
4913 darwin*)
4914 if test "$GCC" = yes; then
4915 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4916 else
4917 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4920 esac
4931 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4932 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4933 if test "${lt_cv_deplibs_check_method+set}" = set; then
4934 echo $ECHO_N "(cached) $ECHO_C" >&6
4935 else
4936 lt_cv_file_magic_cmd='$MAGIC_CMD'
4937 lt_cv_file_magic_test_file=
4938 lt_cv_deplibs_check_method='unknown'
4939 # Need to set the preceding variable on all platforms that support
4940 # interlibrary dependencies.
4941 # 'none' -- dependencies not supported.
4942 # `unknown' -- same as none, but documents that we really don't know.
4943 # 'pass_all' -- all dependencies passed with no checks.
4944 # 'test_compile' -- check by making test program.
4945 # 'file_magic [[regex]]' -- check by looking for files in library path
4946 # which responds to the $file_magic_cmd with a given extended regex.
4947 # If you have `file' or equivalent on your system and you're not sure
4948 # whether `pass_all' will *always* work, you probably want this one.
4950 case $host_os in
4951 aix[4-9]*)
4952 lt_cv_deplibs_check_method=pass_all
4955 beos*)
4956 lt_cv_deplibs_check_method=pass_all
4959 bsdi[45]*)
4960 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4961 lt_cv_file_magic_cmd='/usr/bin/file -L'
4962 lt_cv_file_magic_test_file=/shlib/libc.so
4965 cygwin*)
4966 # func_win32_libid is a shell function defined in ltmain.sh
4967 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4968 lt_cv_file_magic_cmd='func_win32_libid'
4971 mingw* | pw32*)
4972 # Base MSYS/MinGW do not provide the 'file' command needed by
4973 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4974 # unless we find 'file', for example because we are cross-compiling.
4975 if ( file / ) >/dev/null 2>&1; then
4976 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4977 lt_cv_file_magic_cmd='func_win32_libid'
4978 else
4979 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4980 lt_cv_file_magic_cmd='$OBJDUMP -f'
4984 darwin* | rhapsody*)
4985 lt_cv_deplibs_check_method=pass_all
4988 freebsd* | dragonfly*)
4989 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4990 case $host_cpu in
4991 i*86 )
4992 # Not sure whether the presence of OpenBSD here was a mistake.
4993 # Let's accept both of them until this is cleared up.
4994 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4995 lt_cv_file_magic_cmd=/usr/bin/file
4996 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4998 esac
4999 else
5000 lt_cv_deplibs_check_method=pass_all
5004 gnu*)
5005 lt_cv_deplibs_check_method=pass_all
5008 hpux10.20* | hpux11*)
5009 lt_cv_file_magic_cmd=/usr/bin/file
5010 case $host_cpu in
5011 ia64*)
5012 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5013 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5015 hppa*64*)
5016 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
5017 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5020 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5021 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5023 esac
5026 interix[3-9]*)
5027 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5028 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5031 irix5* | irix6* | nonstopux*)
5032 case $LD in
5033 *-32|*"-32 ") libmagic=32-bit;;
5034 *-n32|*"-n32 ") libmagic=N32;;
5035 *-64|*"-64 ") libmagic=64-bit;;
5036 *) libmagic=never-match;;
5037 esac
5038 lt_cv_deplibs_check_method=pass_all
5041 # This must be Linux ELF.
5042 linux* | k*bsd*-gnu)
5043 lt_cv_deplibs_check_method=pass_all
5046 netbsd*)
5047 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5048 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5049 else
5050 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5054 newos6*)
5055 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5056 lt_cv_file_magic_cmd=/usr/bin/file
5057 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5060 *nto* | *qnx*)
5061 lt_cv_deplibs_check_method=pass_all
5064 openbsd*)
5065 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5066 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5067 else
5068 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5072 osf3* | osf4* | osf5*)
5073 lt_cv_deplibs_check_method=pass_all
5076 rdos*)
5077 lt_cv_deplibs_check_method=pass_all
5080 solaris*)
5081 lt_cv_deplibs_check_method=pass_all
5084 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5085 lt_cv_deplibs_check_method=pass_all
5088 sysv4 | sysv4.3*)
5089 case $host_vendor in
5090 motorola)
5091 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
5092 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5094 ncr)
5095 lt_cv_deplibs_check_method=pass_all
5097 sequent)
5098 lt_cv_file_magic_cmd='/bin/file'
5099 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5101 sni)
5102 lt_cv_file_magic_cmd='/bin/file'
5103 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5104 lt_cv_file_magic_test_file=/lib/libc.so
5106 siemens)
5107 lt_cv_deplibs_check_method=pass_all
5110 lt_cv_deplibs_check_method=pass_all
5112 esac
5115 tpf*)
5116 lt_cv_deplibs_check_method=pass_all
5118 esac
5121 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5122 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5123 file_magic_cmd=$lt_cv_file_magic_cmd
5124 deplibs_check_method=$lt_cv_deplibs_check_method
5125 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5138 if test -n "$ac_tool_prefix"; then
5139 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5140 set dummy ${ac_tool_prefix}ar; ac_word=$2
5141 echo "$as_me:$LINENO: checking for $ac_word" >&5
5142 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5143 if test "${ac_cv_prog_AR+set}" = set; then
5144 echo $ECHO_N "(cached) $ECHO_C" >&6
5145 else
5146 if test -n "$AR"; then
5147 ac_cv_prog_AR="$AR" # Let the user override the test.
5148 else
5149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5150 for as_dir in $PATH
5152 IFS=$as_save_IFS
5153 test -z "$as_dir" && as_dir=.
5154 for ac_exec_ext in '' $ac_executable_extensions; do
5155 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5156 ac_cv_prog_AR="${ac_tool_prefix}ar"
5157 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5158 break 2
5160 done
5161 done
5165 AR=$ac_cv_prog_AR
5166 if test -n "$AR"; then
5167 echo "$as_me:$LINENO: result: $AR" >&5
5168 echo "${ECHO_T}$AR" >&6
5169 else
5170 echo "$as_me:$LINENO: result: no" >&5
5171 echo "${ECHO_T}no" >&6
5175 if test -z "$ac_cv_prog_AR"; then
5176 ac_ct_AR=$AR
5177 # Extract the first word of "ar", so it can be a program name with args.
5178 set dummy ar; ac_word=$2
5179 echo "$as_me:$LINENO: checking for $ac_word" >&5
5180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5181 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5182 echo $ECHO_N "(cached) $ECHO_C" >&6
5183 else
5184 if test -n "$ac_ct_AR"; then
5185 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5186 else
5187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5188 for as_dir in $PATH
5190 IFS=$as_save_IFS
5191 test -z "$as_dir" && as_dir=.
5192 for ac_exec_ext in '' $ac_executable_extensions; do
5193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5194 ac_cv_prog_ac_ct_AR="ar"
5195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5196 break 2
5198 done
5199 done
5201 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5204 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5205 if test -n "$ac_ct_AR"; then
5206 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5207 echo "${ECHO_T}$ac_ct_AR" >&6
5208 else
5209 echo "$as_me:$LINENO: result: no" >&5
5210 echo "${ECHO_T}no" >&6
5213 AR=$ac_ct_AR
5214 else
5215 AR="$ac_cv_prog_AR"
5218 test -z "$AR" && AR=ar
5219 test -z "$AR_FLAGS" && AR_FLAGS=cru
5231 if test -n "$ac_tool_prefix"; then
5232 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5233 set dummy ${ac_tool_prefix}strip; ac_word=$2
5234 echo "$as_me:$LINENO: checking for $ac_word" >&5
5235 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5236 if test "${ac_cv_prog_STRIP+set}" = set; then
5237 echo $ECHO_N "(cached) $ECHO_C" >&6
5238 else
5239 if test -n "$STRIP"; then
5240 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5241 else
5242 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5243 for as_dir in $PATH
5245 IFS=$as_save_IFS
5246 test -z "$as_dir" && as_dir=.
5247 for ac_exec_ext in '' $ac_executable_extensions; do
5248 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5249 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5250 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5251 break 2
5253 done
5254 done
5258 STRIP=$ac_cv_prog_STRIP
5259 if test -n "$STRIP"; then
5260 echo "$as_me:$LINENO: result: $STRIP" >&5
5261 echo "${ECHO_T}$STRIP" >&6
5262 else
5263 echo "$as_me:$LINENO: result: no" >&5
5264 echo "${ECHO_T}no" >&6
5268 if test -z "$ac_cv_prog_STRIP"; then
5269 ac_ct_STRIP=$STRIP
5270 # Extract the first word of "strip", so it can be a program name with args.
5271 set dummy strip; ac_word=$2
5272 echo "$as_me:$LINENO: checking for $ac_word" >&5
5273 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5274 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5275 echo $ECHO_N "(cached) $ECHO_C" >&6
5276 else
5277 if test -n "$ac_ct_STRIP"; then
5278 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5279 else
5280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5281 for as_dir in $PATH
5283 IFS=$as_save_IFS
5284 test -z "$as_dir" && as_dir=.
5285 for ac_exec_ext in '' $ac_executable_extensions; do
5286 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5287 ac_cv_prog_ac_ct_STRIP="strip"
5288 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5289 break 2
5291 done
5292 done
5294 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5297 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5298 if test -n "$ac_ct_STRIP"; then
5299 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5300 echo "${ECHO_T}$ac_ct_STRIP" >&6
5301 else
5302 echo "$as_me:$LINENO: result: no" >&5
5303 echo "${ECHO_T}no" >&6
5306 STRIP=$ac_ct_STRIP
5307 else
5308 STRIP="$ac_cv_prog_STRIP"
5311 test -z "$STRIP" && STRIP=:
5318 if test -n "$ac_tool_prefix"; then
5319 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5320 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5321 echo "$as_me:$LINENO: checking for $ac_word" >&5
5322 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5323 if test "${ac_cv_prog_RANLIB+set}" = set; then
5324 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 else
5326 if test -n "$RANLIB"; then
5327 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5328 else
5329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5330 for as_dir in $PATH
5332 IFS=$as_save_IFS
5333 test -z "$as_dir" && as_dir=.
5334 for ac_exec_ext in '' $ac_executable_extensions; do
5335 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5336 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5337 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5338 break 2
5340 done
5341 done
5345 RANLIB=$ac_cv_prog_RANLIB
5346 if test -n "$RANLIB"; then
5347 echo "$as_me:$LINENO: result: $RANLIB" >&5
5348 echo "${ECHO_T}$RANLIB" >&6
5349 else
5350 echo "$as_me:$LINENO: result: no" >&5
5351 echo "${ECHO_T}no" >&6
5355 if test -z "$ac_cv_prog_RANLIB"; then
5356 ac_ct_RANLIB=$RANLIB
5357 # Extract the first word of "ranlib", so it can be a program name with args.
5358 set dummy ranlib; ac_word=$2
5359 echo "$as_me:$LINENO: checking for $ac_word" >&5
5360 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5361 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5362 echo $ECHO_N "(cached) $ECHO_C" >&6
5363 else
5364 if test -n "$ac_ct_RANLIB"; then
5365 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5366 else
5367 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5368 for as_dir in $PATH
5370 IFS=$as_save_IFS
5371 test -z "$as_dir" && as_dir=.
5372 for ac_exec_ext in '' $ac_executable_extensions; do
5373 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5374 ac_cv_prog_ac_ct_RANLIB="ranlib"
5375 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5376 break 2
5378 done
5379 done
5381 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5384 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5385 if test -n "$ac_ct_RANLIB"; then
5386 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5387 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5388 else
5389 echo "$as_me:$LINENO: result: no" >&5
5390 echo "${ECHO_T}no" >&6
5393 RANLIB=$ac_ct_RANLIB
5394 else
5395 RANLIB="$ac_cv_prog_RANLIB"
5398 test -z "$RANLIB" && RANLIB=:
5405 # Determine commands to create old-style static archives.
5406 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
5407 old_postinstall_cmds='chmod 644 $oldlib'
5408 old_postuninstall_cmds=
5410 if test -n "$RANLIB"; then
5411 case $host_os in
5412 openbsd*)
5413 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5416 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5418 esac
5419 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5455 # If no C compiler was specified, use CC.
5456 LTCC=${LTCC-"$CC"}
5458 # If no C compiler flags were specified, use CFLAGS.
5459 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5461 # Allow CC to be a program name with arguments.
5462 compiler=$CC
5465 # Check for command to grab the raw symbol name followed by C symbol from nm.
5466 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5467 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5468 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5469 echo $ECHO_N "(cached) $ECHO_C" >&6
5470 else
5472 # These are sane defaults that work on at least a few old systems.
5473 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5475 # Character class describing NM global symbol codes.
5476 symcode='[BCDEGRST]'
5478 # Regexp to match symbols that can be accessed directly from C.
5479 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5481 # Define system-specific variables.
5482 case $host_os in
5483 aix*)
5484 symcode='[BCDT]'
5486 cygwin* | mingw* | pw32*)
5487 symcode='[ABCDGISTW]'
5489 hpux*)
5490 if test "$host_cpu" = ia64; then
5491 symcode='[ABCDEGRST]'
5494 irix* | nonstopux*)
5495 symcode='[BCDEGRST]'
5497 osf*)
5498 symcode='[BCDEGQRST]'
5500 solaris*)
5501 symcode='[BDRT]'
5503 sco3.2v5*)
5504 symcode='[DT]'
5506 sysv4.2uw2*)
5507 symcode='[DT]'
5509 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5510 symcode='[ABDT]'
5512 sysv4)
5513 symcode='[DFNSTU]'
5515 esac
5517 # If we're using GNU nm, then use its standard symbol codes.
5518 case `$NM -V 2>&1` in
5519 *GNU* | *'with BFD'*)
5520 symcode='[ABCDGIRSTW]' ;;
5521 esac
5523 # Transform an extracted symbol line into a proper C declaration.
5524 # Some systems (esp. on ia64) link data and code symbols differently,
5525 # so use this general approach.
5526 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5528 # Transform an extracted symbol line into symbol name and symbol address
5529 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5531 # Handle CRLF in mingw tool chain
5532 opt_cr=
5533 case $build_os in
5534 mingw*)
5535 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5537 esac
5539 # Try without a prefix underscore, then with it.
5540 for ac_symprfx in "" "_"; do
5542 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5543 symxfrm="\\1 $ac_symprfx\\2 \\2"
5545 # Write the raw and C identifiers.
5546 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5547 # Fake it for dumpbin and say T for any non-static function
5548 # and D for any global variable.
5549 # Also find C++ and __fastcall symbols from MSVC++,
5550 # which start with @ or ?.
5551 lt_cv_sys_global_symbol_pipe="$AWK '"\
5552 " {last_section=section; section=\$ 3};"\
5553 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5554 " \$ 0!~/External *\|/{next};"\
5555 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5556 " {if(hide[section]) next};"\
5557 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5558 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5559 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5560 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5561 " ' prfx=^$ac_symprfx"
5562 else
5563 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5566 # Check to see that the pipe works correctly.
5567 pipe_works=no
5569 rm -f conftest*
5570 cat > conftest.$ac_ext <<_LT_EOF
5571 #ifdef __cplusplus
5572 extern "C" {
5573 #endif
5574 char nm_test_var;
5575 void nm_test_func(void);
5576 void nm_test_func(void){}
5577 #ifdef __cplusplus
5579 #endif
5580 int main(){nm_test_var='a';nm_test_func();return(0);}
5581 _LT_EOF
5583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5584 (eval $ac_compile) 2>&5
5585 ac_status=$?
5586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5587 (exit $ac_status); }; then
5588 # Now try to grab the symbols.
5589 nlist=conftest.nm
5590 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5591 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5592 ac_status=$?
5593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5594 (exit $ac_status); } && test -s "$nlist"; then
5595 # Try sorting and uniquifying the output.
5596 if sort "$nlist" | uniq > "$nlist"T; then
5597 mv -f "$nlist"T "$nlist"
5598 else
5599 rm -f "$nlist"T
5602 # Make sure that we snagged all the symbols we need.
5603 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5604 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5605 cat <<_LT_EOF > conftest.$ac_ext
5606 #ifdef __cplusplus
5607 extern "C" {
5608 #endif
5610 _LT_EOF
5611 # Now generate the symbol file.
5612 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5614 cat <<_LT_EOF >> conftest.$ac_ext
5616 /* The mapping between symbol names and symbols. */
5617 const struct {
5618 const char *name;
5619 void *address;
5621 lt__PROGRAM__LTX_preloaded_symbols[] =
5623 { "@PROGRAM@", (void *) 0 },
5624 _LT_EOF
5625 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5626 cat <<\_LT_EOF >> conftest.$ac_ext
5627 {0, (void *) 0}
5630 /* This works around a problem in FreeBSD linker */
5631 #ifdef FREEBSD_WORKAROUND
5632 static const void *lt_preloaded_setup() {
5633 return lt__PROGRAM__LTX_preloaded_symbols;
5635 #endif
5637 #ifdef __cplusplus
5639 #endif
5640 _LT_EOF
5641 # Now try linking the two files.
5642 mv conftest.$ac_objext conftstm.$ac_objext
5643 lt_save_LIBS="$LIBS"
5644 lt_save_CFLAGS="$CFLAGS"
5645 LIBS="conftstm.$ac_objext"
5646 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5647 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5648 (eval $ac_link) 2>&5
5649 ac_status=$?
5650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5651 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5652 pipe_works=yes
5654 LIBS="$lt_save_LIBS"
5655 CFLAGS="$lt_save_CFLAGS"
5656 else
5657 echo "cannot find nm_test_func in $nlist" >&5
5659 else
5660 echo "cannot find nm_test_var in $nlist" >&5
5662 else
5663 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5665 else
5666 echo "$progname: failed program was:" >&5
5667 cat conftest.$ac_ext >&5
5669 rm -f conftest* conftst*
5671 # Do not use the global_symbol_pipe unless it works.
5672 if test "$pipe_works" = yes; then
5673 break
5674 else
5675 lt_cv_sys_global_symbol_pipe=
5677 done
5681 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5682 lt_cv_sys_global_symbol_to_cdecl=
5684 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5685 echo "$as_me:$LINENO: result: failed" >&5
5686 echo "${ECHO_T}failed" >&6
5687 else
5688 echo "$as_me:$LINENO: result: ok" >&5
5689 echo "${ECHO_T}ok" >&6
5708 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5709 if test "${enable_libtool_lock+set}" = set; then
5710 enableval="$enable_libtool_lock"
5713 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5715 # Some flags need to be propagated to the compiler or linker for good
5716 # libtool support.
5717 case $host in
5718 ia64-*-hpux*)
5719 # Find out which ABI we are using.
5720 echo 'int i;' > conftest.$ac_ext
5721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5722 (eval $ac_compile) 2>&5
5723 ac_status=$?
5724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725 (exit $ac_status); }; then
5726 case `/usr/bin/file conftest.$ac_objext` in
5727 *ELF-32*)
5728 HPUX_IA64_MODE="32"
5730 *ELF-64*)
5731 HPUX_IA64_MODE="64"
5733 esac
5735 rm -rf conftest*
5737 *-*-irix6*)
5738 # Find out which ABI we are using.
5739 echo '#line 5739 "configure"' > conftest.$ac_ext
5740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5741 (eval $ac_compile) 2>&5
5742 ac_status=$?
5743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5744 (exit $ac_status); }; then
5745 if test "$lt_cv_prog_gnu_ld" = yes; then
5746 case `/usr/bin/file conftest.$ac_objext` in
5747 *32-bit*)
5748 LD="${LD-ld} -melf32bsmip"
5750 *N32*)
5751 LD="${LD-ld} -melf32bmipn32"
5753 *64-bit*)
5754 LD="${LD-ld} -melf64bmip"
5756 esac
5757 else
5758 case `/usr/bin/file conftest.$ac_objext` in
5759 *32-bit*)
5760 LD="${LD-ld} -32"
5762 *N32*)
5763 LD="${LD-ld} -n32"
5765 *64-bit*)
5766 LD="${LD-ld} -64"
5768 esac
5771 rm -rf conftest*
5774 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5775 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5776 # Find out which ABI we are using.
5777 echo 'int i;' > conftest.$ac_ext
5778 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5779 (eval $ac_compile) 2>&5
5780 ac_status=$?
5781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5782 (exit $ac_status); }; then
5783 case `/usr/bin/file conftest.o` in
5784 *32-bit*)
5785 case $host in
5786 x86_64-*kfreebsd*-gnu)
5787 LD="${LD-ld} -m elf_i386_fbsd"
5789 x86_64-*linux*)
5790 LD="${LD-ld} -m elf_i386"
5792 ppc64-*linux*|powerpc64-*linux*)
5793 LD="${LD-ld} -m elf32ppclinux"
5795 s390x-*linux*)
5796 LD="${LD-ld} -m elf_s390"
5798 sparc64-*linux*)
5799 LD="${LD-ld} -m elf32_sparc"
5801 esac
5803 *64-bit*)
5804 case $host in
5805 x86_64-*kfreebsd*-gnu)
5806 LD="${LD-ld} -m elf_x86_64_fbsd"
5808 x86_64-*linux*)
5809 LD="${LD-ld} -m elf_x86_64"
5811 ppc*-*linux*|powerpc*-*linux*)
5812 LD="${LD-ld} -m elf64ppc"
5814 s390*-*linux*|s390*-*tpf*)
5815 LD="${LD-ld} -m elf64_s390"
5817 sparc*-*linux*)
5818 LD="${LD-ld} -m elf64_sparc"
5820 esac
5822 esac
5824 rm -rf conftest*
5827 *-*-sco3.2v5*)
5828 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5829 SAVE_CFLAGS="$CFLAGS"
5830 CFLAGS="$CFLAGS -belf"
5831 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5832 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5833 if test "${lt_cv_cc_needs_belf+set}" = set; then
5834 echo $ECHO_N "(cached) $ECHO_C" >&6
5835 else
5836 ac_ext=c
5837 ac_cpp='$CPP $CPPFLAGS'
5838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5842 if test x$gcc_no_link = xyes; then
5843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5845 { (exit 1); exit 1; }; }
5847 cat >conftest.$ac_ext <<_ACEOF
5848 /* confdefs.h. */
5849 _ACEOF
5850 cat confdefs.h >>conftest.$ac_ext
5851 cat >>conftest.$ac_ext <<_ACEOF
5852 /* end confdefs.h. */
5855 main ()
5859 return 0;
5861 _ACEOF
5862 rm -f conftest.$ac_objext conftest$ac_exeext
5863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5864 (eval $ac_link) 2>conftest.er1
5865 ac_status=$?
5866 grep -v '^ *+' conftest.er1 >conftest.err
5867 rm -f conftest.er1
5868 cat conftest.err >&5
5869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5870 (exit $ac_status); } &&
5871 { ac_try='test -z "$ac_c_werror_flag"
5872 || test ! -s conftest.err'
5873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5874 (eval $ac_try) 2>&5
5875 ac_status=$?
5876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5877 (exit $ac_status); }; } &&
5878 { ac_try='test -s conftest$ac_exeext'
5879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5880 (eval $ac_try) 2>&5
5881 ac_status=$?
5882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5883 (exit $ac_status); }; }; then
5884 lt_cv_cc_needs_belf=yes
5885 else
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.$ac_ext >&5
5889 lt_cv_cc_needs_belf=no
5891 rm -f conftest.err conftest.$ac_objext \
5892 conftest$ac_exeext conftest.$ac_ext
5893 ac_ext=c
5894 ac_cpp='$CPP $CPPFLAGS'
5895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5900 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5901 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5902 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5903 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5904 CFLAGS="$SAVE_CFLAGS"
5907 sparc*-*solaris*)
5908 # Find out which ABI we are using.
5909 echo 'int i;' > conftest.$ac_ext
5910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5911 (eval $ac_compile) 2>&5
5912 ac_status=$?
5913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5914 (exit $ac_status); }; then
5915 case `/usr/bin/file conftest.o` in
5916 *64-bit*)
5917 case $lt_cv_prog_gnu_ld in
5918 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5919 *) LD="${LD-ld} -64" ;;
5920 esac
5922 esac
5924 rm -rf conftest*
5926 esac
5928 need_locks="$enable_libtool_lock"
5930 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
5931 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
5932 if test "${ac_cv_header_stdc+set}" = set; then
5933 echo $ECHO_N "(cached) $ECHO_C" >&6
5934 else
5935 cat >conftest.$ac_ext <<_ACEOF
5936 /* confdefs.h. */
5937 _ACEOF
5938 cat confdefs.h >>conftest.$ac_ext
5939 cat >>conftest.$ac_ext <<_ACEOF
5940 /* end confdefs.h. */
5941 #include <stdlib.h>
5942 #include <stdarg.h>
5943 #include <string.h>
5944 #include <float.h>
5947 main ()
5951 return 0;
5953 _ACEOF
5954 rm -f conftest.$ac_objext
5955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5956 (eval $ac_compile) 2>conftest.er1
5957 ac_status=$?
5958 grep -v '^ *+' conftest.er1 >conftest.err
5959 rm -f conftest.er1
5960 cat conftest.err >&5
5961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5962 (exit $ac_status); } &&
5963 { ac_try='test -z "$ac_c_werror_flag"
5964 || test ! -s conftest.err'
5965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5966 (eval $ac_try) 2>&5
5967 ac_status=$?
5968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5969 (exit $ac_status); }; } &&
5970 { ac_try='test -s conftest.$ac_objext'
5971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5972 (eval $ac_try) 2>&5
5973 ac_status=$?
5974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5975 (exit $ac_status); }; }; then
5976 ac_cv_header_stdc=yes
5977 else
5978 echo "$as_me: failed program was:" >&5
5979 sed 's/^/| /' conftest.$ac_ext >&5
5981 ac_cv_header_stdc=no
5983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5985 if test $ac_cv_header_stdc = yes; then
5986 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5987 cat >conftest.$ac_ext <<_ACEOF
5988 /* confdefs.h. */
5989 _ACEOF
5990 cat confdefs.h >>conftest.$ac_ext
5991 cat >>conftest.$ac_ext <<_ACEOF
5992 /* end confdefs.h. */
5993 #include <string.h>
5995 _ACEOF
5996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5997 $EGREP "memchr" >/dev/null 2>&1; then
5999 else
6000 ac_cv_header_stdc=no
6002 rm -f conftest*
6006 if test $ac_cv_header_stdc = yes; then
6007 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6008 cat >conftest.$ac_ext <<_ACEOF
6009 /* confdefs.h. */
6010 _ACEOF
6011 cat confdefs.h >>conftest.$ac_ext
6012 cat >>conftest.$ac_ext <<_ACEOF
6013 /* end confdefs.h. */
6014 #include <stdlib.h>
6016 _ACEOF
6017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6018 $EGREP "free" >/dev/null 2>&1; then
6020 else
6021 ac_cv_header_stdc=no
6023 rm -f conftest*
6027 if test $ac_cv_header_stdc = yes; then
6028 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6029 if test "$cross_compiling" = yes; then
6031 else
6032 cat >conftest.$ac_ext <<_ACEOF
6033 /* confdefs.h. */
6034 _ACEOF
6035 cat confdefs.h >>conftest.$ac_ext
6036 cat >>conftest.$ac_ext <<_ACEOF
6037 /* end confdefs.h. */
6038 #include <ctype.h>
6039 #if ((' ' & 0x0FF) == 0x020)
6040 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6041 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6042 #else
6043 # define ISLOWER(c) \
6044 (('a' <= (c) && (c) <= 'i') \
6045 || ('j' <= (c) && (c) <= 'r') \
6046 || ('s' <= (c) && (c) <= 'z'))
6047 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6048 #endif
6050 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6052 main ()
6054 int i;
6055 for (i = 0; i < 256; i++)
6056 if (XOR (islower (i), ISLOWER (i))
6057 || toupper (i) != TOUPPER (i))
6058 exit(2);
6059 exit (0);
6061 _ACEOF
6062 rm -f conftest$ac_exeext
6063 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6064 (eval $ac_link) 2>&5
6065 ac_status=$?
6066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6069 (eval $ac_try) 2>&5
6070 ac_status=$?
6071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6072 (exit $ac_status); }; }; then
6074 else
6075 echo "$as_me: program exited with status $ac_status" >&5
6076 echo "$as_me: failed program was:" >&5
6077 sed 's/^/| /' conftest.$ac_ext >&5
6079 ( exit $ac_status )
6080 ac_cv_header_stdc=no
6082 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6086 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6087 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6088 if test $ac_cv_header_stdc = yes; then
6090 cat >>confdefs.h <<\_ACEOF
6091 #define STDC_HEADERS 1
6092 _ACEOF
6096 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6106 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6107 inttypes.h stdint.h unistd.h
6109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6110 echo "$as_me:$LINENO: checking for $ac_header" >&5
6111 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6112 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6113 echo $ECHO_N "(cached) $ECHO_C" >&6
6114 else
6115 cat >conftest.$ac_ext <<_ACEOF
6116 /* confdefs.h. */
6117 _ACEOF
6118 cat confdefs.h >>conftest.$ac_ext
6119 cat >>conftest.$ac_ext <<_ACEOF
6120 /* end confdefs.h. */
6121 $ac_includes_default
6123 #include <$ac_header>
6124 _ACEOF
6125 rm -f conftest.$ac_objext
6126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6127 (eval $ac_compile) 2>conftest.er1
6128 ac_status=$?
6129 grep -v '^ *+' conftest.er1 >conftest.err
6130 rm -f conftest.er1
6131 cat conftest.err >&5
6132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6133 (exit $ac_status); } &&
6134 { ac_try='test -z "$ac_c_werror_flag"
6135 || test ! -s conftest.err'
6136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6137 (eval $ac_try) 2>&5
6138 ac_status=$?
6139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6140 (exit $ac_status); }; } &&
6141 { ac_try='test -s conftest.$ac_objext'
6142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6143 (eval $ac_try) 2>&5
6144 ac_status=$?
6145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6146 (exit $ac_status); }; }; then
6147 eval "$as_ac_Header=yes"
6148 else
6149 echo "$as_me: failed program was:" >&5
6150 sed 's/^/| /' conftest.$ac_ext >&5
6152 eval "$as_ac_Header=no"
6154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6156 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6157 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6159 cat >>confdefs.h <<_ACEOF
6160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6161 _ACEOF
6165 done
6169 for ac_header in dlfcn.h
6171 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6172 echo "$as_me:$LINENO: checking for $ac_header" >&5
6173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6175 echo $ECHO_N "(cached) $ECHO_C" >&6
6176 else
6177 cat >conftest.$ac_ext <<_ACEOF
6178 /* confdefs.h. */
6179 _ACEOF
6180 cat confdefs.h >>conftest.$ac_ext
6181 cat >>conftest.$ac_ext <<_ACEOF
6182 /* end confdefs.h. */
6183 $ac_includes_default
6185 #include <$ac_header>
6186 _ACEOF
6187 rm -f conftest.$ac_objext
6188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6189 (eval $ac_compile) 2>conftest.er1
6190 ac_status=$?
6191 grep -v '^ *+' conftest.er1 >conftest.err
6192 rm -f conftest.er1
6193 cat conftest.err >&5
6194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6195 (exit $ac_status); } &&
6196 { ac_try='test -z "$ac_c_werror_flag"
6197 || test ! -s conftest.err'
6198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6199 (eval $ac_try) 2>&5
6200 ac_status=$?
6201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6202 (exit $ac_status); }; } &&
6203 { ac_try='test -s conftest.$ac_objext'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 (eval $ac_try) 2>&5
6206 ac_status=$?
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; }; then
6209 eval "$as_ac_Header=yes"
6210 else
6211 echo "$as_me: failed program was:" >&5
6212 sed 's/^/| /' conftest.$ac_ext >&5
6214 eval "$as_ac_Header=no"
6216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6220 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6221 cat >>confdefs.h <<_ACEOF
6222 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6223 _ACEOF
6227 done
6231 ac_ext=cc
6232 ac_cpp='$CXXCPP $CPPFLAGS'
6233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6236 if test -n "$ac_tool_prefix"; then
6237 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6239 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6240 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6241 echo "$as_me:$LINENO: checking for $ac_word" >&5
6242 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6243 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6244 echo $ECHO_N "(cached) $ECHO_C" >&6
6245 else
6246 if test -n "$CXX"; then
6247 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6248 else
6249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6250 for as_dir in $PATH
6252 IFS=$as_save_IFS
6253 test -z "$as_dir" && as_dir=.
6254 for ac_exec_ext in '' $ac_executable_extensions; do
6255 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6256 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6257 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6258 break 2
6260 done
6261 done
6265 CXX=$glibcxx_cv_prog_CXX
6266 if test -n "$CXX"; then
6267 echo "$as_me:$LINENO: result: $CXX" >&5
6268 echo "${ECHO_T}$CXX" >&6
6269 else
6270 echo "$as_me:$LINENO: result: no" >&5
6271 echo "${ECHO_T}no" >&6
6274 test -n "$CXX" && break
6275 done
6277 if test -z "$CXX"; then
6278 ac_ct_CXX=$CXX
6279 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6281 # Extract the first word of "$ac_prog", so it can be a program name with args.
6282 set dummy $ac_prog; ac_word=$2
6283 echo "$as_me:$LINENO: checking for $ac_word" >&5
6284 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6285 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6286 echo $ECHO_N "(cached) $ECHO_C" >&6
6287 else
6288 if test -n "$ac_ct_CXX"; then
6289 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6290 else
6291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6292 for as_dir in $PATH
6294 IFS=$as_save_IFS
6295 test -z "$as_dir" && as_dir=.
6296 for ac_exec_ext in '' $ac_executable_extensions; do
6297 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6298 ac_cv_prog_ac_ct_CXX="$ac_prog"
6299 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6300 break 2
6302 done
6303 done
6307 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6308 if test -n "$ac_ct_CXX"; then
6309 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6310 echo "${ECHO_T}$ac_ct_CXX" >&6
6311 else
6312 echo "$as_me:$LINENO: result: no" >&5
6313 echo "${ECHO_T}no" >&6
6316 test -n "$ac_ct_CXX" && break
6317 done
6318 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6320 CXX=$ac_ct_CXX
6324 # Provide some information about the compiler.
6325 echo "$as_me:$LINENO:" \
6326 "checking for C++ compiler version" >&5
6327 ac_compiler=`set X $ac_compile; echo $2`
6328 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6329 (eval $ac_compiler --version </dev/null >&5) 2>&5
6330 ac_status=$?
6331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6332 (exit $ac_status); }
6333 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6334 (eval $ac_compiler -v </dev/null >&5) 2>&5
6335 ac_status=$?
6336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6337 (exit $ac_status); }
6338 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6339 (eval $ac_compiler -V </dev/null >&5) 2>&5
6340 ac_status=$?
6341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6342 (exit $ac_status); }
6344 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6345 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6346 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6347 echo $ECHO_N "(cached) $ECHO_C" >&6
6348 else
6349 cat >conftest.$ac_ext <<_ACEOF
6350 /* confdefs.h. */
6351 _ACEOF
6352 cat confdefs.h >>conftest.$ac_ext
6353 cat >>conftest.$ac_ext <<_ACEOF
6354 /* end confdefs.h. */
6357 main ()
6359 #ifndef __GNUC__
6360 choke me
6361 #endif
6364 return 0;
6366 _ACEOF
6367 rm -f conftest.$ac_objext
6368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6369 (eval $ac_compile) 2>conftest.er1
6370 ac_status=$?
6371 grep -v '^ *+' conftest.er1 >conftest.err
6372 rm -f conftest.er1
6373 cat conftest.err >&5
6374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6375 (exit $ac_status); } &&
6376 { ac_try='test -z "$ac_cxx_werror_flag"
6377 || test ! -s conftest.err'
6378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6379 (eval $ac_try) 2>&5
6380 ac_status=$?
6381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6382 (exit $ac_status); }; } &&
6383 { ac_try='test -s conftest.$ac_objext'
6384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6385 (eval $ac_try) 2>&5
6386 ac_status=$?
6387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6388 (exit $ac_status); }; }; then
6389 ac_compiler_gnu=yes
6390 else
6391 echo "$as_me: failed program was:" >&5
6392 sed 's/^/| /' conftest.$ac_ext >&5
6394 ac_compiler_gnu=no
6396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6397 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6400 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6401 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6402 GXX=`test $ac_compiler_gnu = yes && echo yes`
6403 ac_test_CXXFLAGS=${CXXFLAGS+set}
6404 ac_save_CXXFLAGS=$CXXFLAGS
6405 CXXFLAGS="-g"
6406 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6407 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6408 if test "${ac_cv_prog_cxx_g+set}" = set; then
6409 echo $ECHO_N "(cached) $ECHO_C" >&6
6410 else
6411 cat >conftest.$ac_ext <<_ACEOF
6412 /* confdefs.h. */
6413 _ACEOF
6414 cat confdefs.h >>conftest.$ac_ext
6415 cat >>conftest.$ac_ext <<_ACEOF
6416 /* end confdefs.h. */
6419 main ()
6423 return 0;
6425 _ACEOF
6426 rm -f conftest.$ac_objext
6427 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6428 (eval $ac_compile) 2>conftest.er1
6429 ac_status=$?
6430 grep -v '^ *+' conftest.er1 >conftest.err
6431 rm -f conftest.er1
6432 cat conftest.err >&5
6433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6434 (exit $ac_status); } &&
6435 { ac_try='test -z "$ac_cxx_werror_flag"
6436 || test ! -s conftest.err'
6437 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6438 (eval $ac_try) 2>&5
6439 ac_status=$?
6440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6441 (exit $ac_status); }; } &&
6442 { ac_try='test -s conftest.$ac_objext'
6443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6444 (eval $ac_try) 2>&5
6445 ac_status=$?
6446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447 (exit $ac_status); }; }; then
6448 ac_cv_prog_cxx_g=yes
6449 else
6450 echo "$as_me: failed program was:" >&5
6451 sed 's/^/| /' conftest.$ac_ext >&5
6453 ac_cv_prog_cxx_g=no
6455 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6457 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
6458 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
6459 if test "$ac_test_CXXFLAGS" = set; then
6460 CXXFLAGS=$ac_save_CXXFLAGS
6461 elif test $ac_cv_prog_cxx_g = yes; then
6462 if test "$GXX" = yes; then
6463 CXXFLAGS="-g -O2"
6464 else
6465 CXXFLAGS="-g"
6467 else
6468 if test "$GXX" = yes; then
6469 CXXFLAGS="-O2"
6470 else
6471 CXXFLAGS=
6474 for ac_declaration in \
6475 '' \
6476 'extern "C" void std::exit (int) throw (); using std::exit;' \
6477 'extern "C" void std::exit (int); using std::exit;' \
6478 'extern "C" void exit (int) throw ();' \
6479 'extern "C" void exit (int);' \
6480 'void exit (int);'
6482 cat >conftest.$ac_ext <<_ACEOF
6483 /* confdefs.h. */
6484 _ACEOF
6485 cat confdefs.h >>conftest.$ac_ext
6486 cat >>conftest.$ac_ext <<_ACEOF
6487 /* end confdefs.h. */
6488 $ac_declaration
6489 #include <stdlib.h>
6491 main ()
6493 exit (42);
6495 return 0;
6497 _ACEOF
6498 rm -f conftest.$ac_objext
6499 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6500 (eval $ac_compile) 2>conftest.er1
6501 ac_status=$?
6502 grep -v '^ *+' conftest.er1 >conftest.err
6503 rm -f conftest.er1
6504 cat conftest.err >&5
6505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6506 (exit $ac_status); } &&
6507 { ac_try='test -z "$ac_cxx_werror_flag"
6508 || test ! -s conftest.err'
6509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6510 (eval $ac_try) 2>&5
6511 ac_status=$?
6512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6513 (exit $ac_status); }; } &&
6514 { ac_try='test -s conftest.$ac_objext'
6515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6516 (eval $ac_try) 2>&5
6517 ac_status=$?
6518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6519 (exit $ac_status); }; }; then
6521 else
6522 echo "$as_me: failed program was:" >&5
6523 sed 's/^/| /' conftest.$ac_ext >&5
6525 continue
6527 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6528 cat >conftest.$ac_ext <<_ACEOF
6529 /* confdefs.h. */
6530 _ACEOF
6531 cat confdefs.h >>conftest.$ac_ext
6532 cat >>conftest.$ac_ext <<_ACEOF
6533 /* end confdefs.h. */
6534 $ac_declaration
6536 main ()
6538 exit (42);
6540 return 0;
6542 _ACEOF
6543 rm -f conftest.$ac_objext
6544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6545 (eval $ac_compile) 2>conftest.er1
6546 ac_status=$?
6547 grep -v '^ *+' conftest.er1 >conftest.err
6548 rm -f conftest.er1
6549 cat conftest.err >&5
6550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6551 (exit $ac_status); } &&
6552 { ac_try='test -z "$ac_cxx_werror_flag"
6553 || test ! -s conftest.err'
6554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6555 (eval $ac_try) 2>&5
6556 ac_status=$?
6557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6558 (exit $ac_status); }; } &&
6559 { ac_try='test -s conftest.$ac_objext'
6560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6561 (eval $ac_try) 2>&5
6562 ac_status=$?
6563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6564 (exit $ac_status); }; }; then
6565 break
6566 else
6567 echo "$as_me: failed program was:" >&5
6568 sed 's/^/| /' conftest.$ac_ext >&5
6571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6572 done
6573 rm -f conftest*
6574 if test -n "$ac_declaration"; then
6575 echo '#ifdef __cplusplus' >>confdefs.h
6576 echo $ac_declaration >>confdefs.h
6577 echo '#endif' >>confdefs.h
6580 ac_ext=c
6581 ac_cpp='$CPP $CPPFLAGS'
6582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6586 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
6587 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
6588 (test "X$CXX" != "Xg++"))) ; then
6589 ac_ext=cc
6590 ac_cpp='$CXXCPP $CPPFLAGS'
6591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6594 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
6595 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
6596 if test -z "$CXXCPP"; then
6597 if test "${ac_cv_prog_CXXCPP+set}" = set; then
6598 echo $ECHO_N "(cached) $ECHO_C" >&6
6599 else
6600 # Double quotes because CXXCPP needs to be expanded
6601 for CXXCPP in "$CXX -E" "/lib/cpp"
6603 ac_preproc_ok=false
6604 for ac_cxx_preproc_warn_flag in '' yes
6606 # Use a header file that comes with gcc, so configuring glibc
6607 # with a fresh cross-compiler works.
6608 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6609 # <limits.h> exists even on freestanding compilers.
6610 # On the NeXT, cc -E runs the code through the compiler's parser,
6611 # not just through cpp. "Syntax error" is here to catch this case.
6612 cat >conftest.$ac_ext <<_ACEOF
6613 /* confdefs.h. */
6614 _ACEOF
6615 cat confdefs.h >>conftest.$ac_ext
6616 cat >>conftest.$ac_ext <<_ACEOF
6617 /* end confdefs.h. */
6618 #ifdef __STDC__
6619 # include <limits.h>
6620 #else
6621 # include <assert.h>
6622 #endif
6623 Syntax error
6624 _ACEOF
6625 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6626 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6627 ac_status=$?
6628 grep -v '^ *+' conftest.er1 >conftest.err
6629 rm -f conftest.er1
6630 cat conftest.err >&5
6631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6632 (exit $ac_status); } >/dev/null; then
6633 if test -s conftest.err; then
6634 ac_cpp_err=$ac_cxx_preproc_warn_flag
6635 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6636 else
6637 ac_cpp_err=
6639 else
6640 ac_cpp_err=yes
6642 if test -z "$ac_cpp_err"; then
6644 else
6645 echo "$as_me: failed program was:" >&5
6646 sed 's/^/| /' conftest.$ac_ext >&5
6648 # Broken: fails on valid input.
6649 continue
6651 rm -f conftest.err conftest.$ac_ext
6653 # OK, works on sane cases. Now check whether non-existent headers
6654 # can be detected and how.
6655 cat >conftest.$ac_ext <<_ACEOF
6656 /* confdefs.h. */
6657 _ACEOF
6658 cat confdefs.h >>conftest.$ac_ext
6659 cat >>conftest.$ac_ext <<_ACEOF
6660 /* end confdefs.h. */
6661 #include <ac_nonexistent.h>
6662 _ACEOF
6663 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6664 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6665 ac_status=$?
6666 grep -v '^ *+' conftest.er1 >conftest.err
6667 rm -f conftest.er1
6668 cat conftest.err >&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } >/dev/null; then
6671 if test -s conftest.err; then
6672 ac_cpp_err=$ac_cxx_preproc_warn_flag
6673 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6674 else
6675 ac_cpp_err=
6677 else
6678 ac_cpp_err=yes
6680 if test -z "$ac_cpp_err"; then
6681 # Broken: success on invalid input.
6682 continue
6683 else
6684 echo "$as_me: failed program was:" >&5
6685 sed 's/^/| /' conftest.$ac_ext >&5
6687 # Passes both tests.
6688 ac_preproc_ok=:
6689 break
6691 rm -f conftest.err conftest.$ac_ext
6693 done
6694 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6695 rm -f conftest.err conftest.$ac_ext
6696 if $ac_preproc_ok; then
6697 break
6700 done
6701 ac_cv_prog_CXXCPP=$CXXCPP
6704 CXXCPP=$ac_cv_prog_CXXCPP
6705 else
6706 ac_cv_prog_CXXCPP=$CXXCPP
6708 echo "$as_me:$LINENO: result: $CXXCPP" >&5
6709 echo "${ECHO_T}$CXXCPP" >&6
6710 ac_preproc_ok=false
6711 for ac_cxx_preproc_warn_flag in '' yes
6713 # Use a header file that comes with gcc, so configuring glibc
6714 # with a fresh cross-compiler works.
6715 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6716 # <limits.h> exists even on freestanding compilers.
6717 # On the NeXT, cc -E runs the code through the compiler's parser,
6718 # not just through cpp. "Syntax error" is here to catch this case.
6719 cat >conftest.$ac_ext <<_ACEOF
6720 /* confdefs.h. */
6721 _ACEOF
6722 cat confdefs.h >>conftest.$ac_ext
6723 cat >>conftest.$ac_ext <<_ACEOF
6724 /* end confdefs.h. */
6725 #ifdef __STDC__
6726 # include <limits.h>
6727 #else
6728 # include <assert.h>
6729 #endif
6730 Syntax error
6731 _ACEOF
6732 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6733 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6734 ac_status=$?
6735 grep -v '^ *+' conftest.er1 >conftest.err
6736 rm -f conftest.er1
6737 cat conftest.err >&5
6738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6739 (exit $ac_status); } >/dev/null; then
6740 if test -s conftest.err; then
6741 ac_cpp_err=$ac_cxx_preproc_warn_flag
6742 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6743 else
6744 ac_cpp_err=
6746 else
6747 ac_cpp_err=yes
6749 if test -z "$ac_cpp_err"; then
6751 else
6752 echo "$as_me: failed program was:" >&5
6753 sed 's/^/| /' conftest.$ac_ext >&5
6755 # Broken: fails on valid input.
6756 continue
6758 rm -f conftest.err conftest.$ac_ext
6760 # OK, works on sane cases. Now check whether non-existent headers
6761 # can be detected and how.
6762 cat >conftest.$ac_ext <<_ACEOF
6763 /* confdefs.h. */
6764 _ACEOF
6765 cat confdefs.h >>conftest.$ac_ext
6766 cat >>conftest.$ac_ext <<_ACEOF
6767 /* end confdefs.h. */
6768 #include <ac_nonexistent.h>
6769 _ACEOF
6770 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
6771 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
6772 ac_status=$?
6773 grep -v '^ *+' conftest.er1 >conftest.err
6774 rm -f conftest.er1
6775 cat conftest.err >&5
6776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6777 (exit $ac_status); } >/dev/null; then
6778 if test -s conftest.err; then
6779 ac_cpp_err=$ac_cxx_preproc_warn_flag
6780 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6781 else
6782 ac_cpp_err=
6784 else
6785 ac_cpp_err=yes
6787 if test -z "$ac_cpp_err"; then
6788 # Broken: success on invalid input.
6789 continue
6790 else
6791 echo "$as_me: failed program was:" >&5
6792 sed 's/^/| /' conftest.$ac_ext >&5
6794 # Passes both tests.
6795 ac_preproc_ok=:
6796 break
6798 rm -f conftest.err conftest.$ac_ext
6800 done
6801 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6802 rm -f conftest.err conftest.$ac_ext
6803 if $ac_preproc_ok; then
6805 else
6806 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
6807 echo "$as_me: error: in \`$ac_pwd':" >&2;}
6808 _lt_caught_CXX_error=yes; }
6811 ac_ext=c
6812 ac_cpp='$CPP $CPPFLAGS'
6813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6817 else
6818 _lt_caught_CXX_error=yes
6825 # This can be used to rebuild libtool when needed
6826 LIBTOOL_DEPS="$ltmain"
6828 # Always use our own libtool.
6829 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
6855 test -z "$LN_S" && LN_S="ln -s"
6870 if test -n "${ZSH_VERSION+set}" ; then
6871 setopt NO_GLOB_SUBST
6874 echo "$as_me:$LINENO: checking for objdir" >&5
6875 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
6876 if test "${lt_cv_objdir+set}" = set; then
6877 echo $ECHO_N "(cached) $ECHO_C" >&6
6878 else
6879 rm -f .libs 2>/dev/null
6880 mkdir .libs 2>/dev/null
6881 if test -d .libs; then
6882 lt_cv_objdir=.libs
6883 else
6884 # MS-DOS does not allow filenames that begin with a dot.
6885 lt_cv_objdir=_libs
6887 rmdir .libs 2>/dev/null
6889 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
6890 echo "${ECHO_T}$lt_cv_objdir" >&6
6891 objdir=$lt_cv_objdir
6897 cat >>confdefs.h <<_ACEOF
6898 #define LT_OBJDIR "$lt_cv_objdir/"
6899 _ACEOF
6917 case $host_os in
6918 aix3*)
6919 # AIX sometimes has problems with the GCC collect2 program. For some
6920 # reason, if we set the COLLECT_NAMES environment variable, the problems
6921 # vanish in a puff of smoke.
6922 if test "X${COLLECT_NAMES+set}" != Xset; then
6923 COLLECT_NAMES=
6924 export COLLECT_NAMES
6927 esac
6929 # Sed substitution that helps us do robust quoting. It backslashifies
6930 # metacharacters that are still active within double-quoted strings.
6931 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6933 # Same as above, but do not quote variable references.
6934 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6936 # Sed substitution to delay expansion of an escaped shell variable in a
6937 # double_quote_subst'ed string.
6938 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6940 # Sed substitution to delay expansion of an escaped single quote.
6941 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6943 # Sed substitution to avoid accidental globbing in evaled expressions
6944 no_glob_subst='s/\*/\\\*/g'
6946 # Global variables:
6947 ofile=libtool
6948 can_build_shared=yes
6950 # All known linkers require a `.a' archive for static linking (except MSVC,
6951 # which needs '.lib').
6952 libext=a
6954 with_gnu_ld="$lt_cv_prog_gnu_ld"
6956 old_CC="$CC"
6957 old_CFLAGS="$CFLAGS"
6959 # Set sane defaults for various variables
6960 test -z "$CC" && CC=cc
6961 test -z "$LTCC" && LTCC=$CC
6962 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
6963 test -z "$LD" && LD=ld
6964 test -z "$ac_objext" && ac_objext=o
6966 for cc_temp in $compiler""; do
6967 case $cc_temp in
6968 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
6969 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
6970 \-*) ;;
6971 *) break;;
6972 esac
6973 done
6974 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6977 # Only perform the check for file, if the check method requires it
6978 test -z "$MAGIC_CMD" && MAGIC_CMD=file
6979 case $deplibs_check_method in
6980 file_magic*)
6981 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
6982 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
6983 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
6984 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
6985 echo $ECHO_N "(cached) $ECHO_C" >&6
6986 else
6987 case $MAGIC_CMD in
6988 [\\/*] | ?:[\\/]*)
6989 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
6992 lt_save_MAGIC_CMD="$MAGIC_CMD"
6993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6994 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
6995 for ac_dir in $ac_dummy; do
6996 IFS="$lt_save_ifs"
6997 test -z "$ac_dir" && ac_dir=.
6998 if test -f $ac_dir/${ac_tool_prefix}file; then
6999 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7000 if test -n "$file_magic_test_file"; then
7001 case $deplibs_check_method in
7002 "file_magic "*)
7003 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7005 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7006 $EGREP "$file_magic_regex" > /dev/null; then
7008 else
7009 cat <<_LT_EOF 1>&2
7011 *** Warning: the command libtool uses to detect shared libraries,
7012 *** $file_magic_cmd, produces output that libtool cannot recognize.
7013 *** The result is that libtool may fail to recognize shared libraries
7014 *** as such. This will affect the creation of libtool libraries that
7015 *** depend on shared libraries, but programs linked with such libtool
7016 *** libraries will work regardless of this problem. Nevertheless, you
7017 *** may want to report the problem to your system manager and/or to
7018 *** bug-libtool@gnu.org
7020 _LT_EOF
7021 fi ;;
7022 esac
7024 break
7026 done
7027 IFS="$lt_save_ifs"
7028 MAGIC_CMD="$lt_save_MAGIC_CMD"
7030 esac
7033 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7034 if test -n "$MAGIC_CMD"; then
7035 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7036 echo "${ECHO_T}$MAGIC_CMD" >&6
7037 else
7038 echo "$as_me:$LINENO: result: no" >&5
7039 echo "${ECHO_T}no" >&6
7046 if test -z "$lt_cv_path_MAGIC_CMD"; then
7047 if test -n "$ac_tool_prefix"; then
7048 echo "$as_me:$LINENO: checking for file" >&5
7049 echo $ECHO_N "checking for file... $ECHO_C" >&6
7050 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7051 echo $ECHO_N "(cached) $ECHO_C" >&6
7052 else
7053 case $MAGIC_CMD in
7054 [\\/*] | ?:[\\/]*)
7055 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7058 lt_save_MAGIC_CMD="$MAGIC_CMD"
7059 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7060 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7061 for ac_dir in $ac_dummy; do
7062 IFS="$lt_save_ifs"
7063 test -z "$ac_dir" && ac_dir=.
7064 if test -f $ac_dir/file; then
7065 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7066 if test -n "$file_magic_test_file"; then
7067 case $deplibs_check_method in
7068 "file_magic "*)
7069 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7070 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7071 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7072 $EGREP "$file_magic_regex" > /dev/null; then
7074 else
7075 cat <<_LT_EOF 1>&2
7077 *** Warning: the command libtool uses to detect shared libraries,
7078 *** $file_magic_cmd, produces output that libtool cannot recognize.
7079 *** The result is that libtool may fail to recognize shared libraries
7080 *** as such. This will affect the creation of libtool libraries that
7081 *** depend on shared libraries, but programs linked with such libtool
7082 *** libraries will work regardless of this problem. Nevertheless, you
7083 *** may want to report the problem to your system manager and/or to
7084 *** bug-libtool@gnu.org
7086 _LT_EOF
7087 fi ;;
7088 esac
7090 break
7092 done
7093 IFS="$lt_save_ifs"
7094 MAGIC_CMD="$lt_save_MAGIC_CMD"
7096 esac
7099 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7100 if test -n "$MAGIC_CMD"; then
7101 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7102 echo "${ECHO_T}$MAGIC_CMD" >&6
7103 else
7104 echo "$as_me:$LINENO: result: no" >&5
7105 echo "${ECHO_T}no" >&6
7109 else
7110 MAGIC_CMD=:
7116 esac
7118 # Use C for the default configuration in the libtool script
7120 lt_save_CC="$CC"
7121 ac_ext=c
7122 ac_cpp='$CPP $CPPFLAGS'
7123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7128 # Source file extension for C test sources.
7129 ac_ext=c
7131 # Object file extension for compiled C test sources.
7132 objext=o
7133 objext=$objext
7135 # Code to be used in simple compile tests
7136 lt_simple_compile_test_code="int some_variable = 0;"
7138 # Code to be used in simple link tests
7139 lt_simple_link_test_code='int main(){return(0);}'
7147 # If no C compiler was specified, use CC.
7148 LTCC=${LTCC-"$CC"}
7150 # If no C compiler flags were specified, use CFLAGS.
7151 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7153 # Allow CC to be a program name with arguments.
7154 compiler=$CC
7156 # Save the default compiler, since it gets overwritten when the other
7157 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7158 compiler_DEFAULT=$CC
7160 # save warnings/boilerplate of simple test code
7161 ac_outfile=conftest.$ac_objext
7162 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7163 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7164 _lt_compiler_boilerplate=`cat conftest.err`
7165 $RM conftest*
7167 ac_outfile=conftest.$ac_objext
7168 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7169 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7170 _lt_linker_boilerplate=`cat conftest.err`
7171 $RM conftest*
7174 ## CAVEAT EMPTOR:
7175 ## There is no encapsulation within the following macros, do not change
7176 ## the running order or otherwise move them around unless you know exactly
7177 ## what you are doing...
7178 if test -n "$compiler"; then
7180 lt_prog_compiler_no_builtin_flag=
7182 if test "$GCC" = yes; then
7183 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7185 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7186 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7187 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7188 echo $ECHO_N "(cached) $ECHO_C" >&6
7189 else
7190 lt_cv_prog_compiler_rtti_exceptions=no
7191 ac_outfile=conftest.$ac_objext
7192 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7193 lt_compiler_flag="-fno-rtti -fno-exceptions"
7194 # Insert the option either (1) after the last *FLAGS variable, or
7195 # (2) before a word containing "conftest.", or (3) at the end.
7196 # Note that $ac_compile itself does not contain backslashes and begins
7197 # with a dollar sign (not a hyphen), so the echo should work correctly.
7198 # The option is referenced via a variable to avoid confusing sed.
7199 lt_compile=`echo "$ac_compile" | $SED \
7200 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7201 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7202 -e 's:$: $lt_compiler_flag:'`
7203 (eval echo "\"\$as_me:7203: $lt_compile\"" >&5)
7204 (eval "$lt_compile" 2>conftest.err)
7205 ac_status=$?
7206 cat conftest.err >&5
7207 echo "$as_me:7207: \$? = $ac_status" >&5
7208 if (exit $ac_status) && test -s "$ac_outfile"; then
7209 # The compiler can only warn and ignore the option if not recognized
7210 # So say no if there are warnings other than the usual output.
7211 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7212 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7213 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7214 lt_cv_prog_compiler_rtti_exceptions=yes
7217 $RM conftest*
7220 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7221 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7223 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7224 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7225 else
7236 lt_prog_compiler_wl=
7237 lt_prog_compiler_pic=
7238 lt_prog_compiler_static=
7240 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7241 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7243 if test "$GCC" = yes; then
7244 lt_prog_compiler_wl='-Wl,'
7245 lt_prog_compiler_static='-static'
7247 case $host_os in
7248 aix*)
7249 # All AIX code is PIC.
7250 if test "$host_cpu" = ia64; then
7251 # AIX 5 now supports IA64 processor
7252 lt_prog_compiler_static='-Bstatic'
7256 amigaos*)
7257 if test "$host_cpu" = m68k; then
7258 # FIXME: we need at least 68020 code to build shared libraries, but
7259 # adding the `-m68020' flag to GCC prevents building anything better,
7260 # like `-m68040'.
7261 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7265 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7266 # PIC is the default for these OSes.
7269 mingw* | cygwin* | pw32* | os2*)
7270 # This hack is so that the source file can tell whether it is being
7271 # built for inclusion in a dll (and should export symbols for example).
7272 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7273 # (--disable-auto-import) libraries
7274 lt_prog_compiler_pic='-DDLL_EXPORT'
7277 darwin* | rhapsody*)
7278 # PIC is the default on this platform
7279 # Common symbols not allowed in MH_DYLIB files
7280 lt_prog_compiler_pic='-fno-common'
7283 hpux*)
7284 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7285 # not for PA HP-UX.
7286 case $host_cpu in
7287 hppa*64*|ia64*)
7288 # +Z the default
7291 lt_prog_compiler_pic='-fPIC'
7293 esac
7296 interix[3-9]*)
7297 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7298 # Instead, we relocate shared libraries at runtime.
7301 msdosdjgpp*)
7302 # Just because we use GCC doesn't mean we suddenly get shared libraries
7303 # on systems that don't support them.
7304 lt_prog_compiler_can_build_shared=no
7305 enable_shared=no
7308 *nto* | *qnx*)
7309 # QNX uses GNU C++, but need to define -shared option too, otherwise
7310 # it will coredump.
7311 lt_prog_compiler_pic='-fPIC -shared'
7314 sysv4*MP*)
7315 if test -d /usr/nec; then
7316 lt_prog_compiler_pic=-Kconform_pic
7321 lt_prog_compiler_pic='-fPIC'
7323 esac
7324 else
7325 # PORTME Check for flag to pass linker flags through the system compiler.
7326 case $host_os in
7327 aix*)
7328 lt_prog_compiler_wl='-Wl,'
7329 if test "$host_cpu" = ia64; then
7330 # AIX 5 now supports IA64 processor
7331 lt_prog_compiler_static='-Bstatic'
7332 else
7333 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
7336 darwin*)
7337 # PIC is the default on this platform
7338 # Common symbols not allowed in MH_DYLIB files
7339 case $cc_basename in
7340 xlc*)
7341 lt_prog_compiler_pic='-qnocommon'
7342 lt_prog_compiler_wl='-Wl,'
7344 esac
7347 mingw* | cygwin* | pw32* | os2*)
7348 # This hack is so that the source file can tell whether it is being
7349 # built for inclusion in a dll (and should export symbols for example).
7350 lt_prog_compiler_pic='-DDLL_EXPORT'
7353 hpux9* | hpux10* | hpux11*)
7354 lt_prog_compiler_wl='-Wl,'
7355 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
7356 # not for PA HP-UX.
7357 case $host_cpu in
7358 hppa*64*|ia64*)
7359 # +Z the default
7362 lt_prog_compiler_pic='+Z'
7364 esac
7365 # Is there a better lt_prog_compiler_static that works with the bundled CC?
7366 lt_prog_compiler_static='${wl}-a ${wl}archive'
7369 irix5* | irix6* | nonstopux*)
7370 lt_prog_compiler_wl='-Wl,'
7371 # PIC (with -KPIC) is the default.
7372 lt_prog_compiler_static='-non_shared'
7375 linux* | k*bsd*-gnu)
7376 case $cc_basename in
7377 icc* | ecc*)
7378 lt_prog_compiler_wl='-Wl,'
7379 lt_prog_compiler_pic='-KPIC'
7380 lt_prog_compiler_static='-static'
7382 pgcc* | pgf77* | pgf90* | pgf95*)
7383 # Portland Group compilers (*not* the Pentium gcc compiler,
7384 # which looks to be a dead project)
7385 lt_prog_compiler_wl='-Wl,'
7386 lt_prog_compiler_pic='-fpic'
7387 lt_prog_compiler_static='-Bstatic'
7389 ccc*)
7390 lt_prog_compiler_wl='-Wl,'
7391 # All Alpha code is PIC.
7392 lt_prog_compiler_static='-non_shared'
7395 case `$CC -V 2>&1 | sed 5q` in
7396 *Sun\ C*)
7397 # Sun C 5.9
7398 lt_prog_compiler_pic='-KPIC'
7399 lt_prog_compiler_static='-Bstatic'
7400 lt_prog_compiler_wl='-Wl,'
7402 *Sun\ F*)
7403 # Sun Fortran 8.3 passes all unrecognized flags to the linker
7404 lt_prog_compiler_pic='-KPIC'
7405 lt_prog_compiler_static='-Bstatic'
7406 lt_prog_compiler_wl=''
7408 esac
7410 esac
7413 newsos6)
7414 lt_prog_compiler_pic='-KPIC'
7415 lt_prog_compiler_static='-Bstatic'
7418 *nto* | *qnx*)
7419 # QNX uses GNU C++, but need to define -shared option too, otherwise
7420 # it will coredump.
7421 lt_prog_compiler_pic='-fPIC -shared'
7424 osf3* | osf4* | osf5*)
7425 lt_prog_compiler_wl='-Wl,'
7426 # All OSF/1 code is PIC.
7427 lt_prog_compiler_static='-non_shared'
7430 rdos*)
7431 lt_prog_compiler_static='-non_shared'
7434 solaris*)
7435 lt_prog_compiler_pic='-KPIC'
7436 lt_prog_compiler_static='-Bstatic'
7437 case $cc_basename in
7438 f77* | f90* | f95*)
7439 lt_prog_compiler_wl='-Qoption ld ';;
7441 lt_prog_compiler_wl='-Wl,';;
7442 esac
7445 sunos4*)
7446 lt_prog_compiler_wl='-Qoption ld '
7447 lt_prog_compiler_pic='-PIC'
7448 lt_prog_compiler_static='-Bstatic'
7451 sysv4 | sysv4.2uw2* | sysv4.3*)
7452 lt_prog_compiler_wl='-Wl,'
7453 lt_prog_compiler_pic='-KPIC'
7454 lt_prog_compiler_static='-Bstatic'
7457 sysv4*MP*)
7458 if test -d /usr/nec ;then
7459 lt_prog_compiler_pic='-Kconform_pic'
7460 lt_prog_compiler_static='-Bstatic'
7464 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
7465 lt_prog_compiler_wl='-Wl,'
7466 lt_prog_compiler_pic='-KPIC'
7467 lt_prog_compiler_static='-Bstatic'
7470 unicos*)
7471 lt_prog_compiler_wl='-Wl,'
7472 lt_prog_compiler_can_build_shared=no
7475 uts4*)
7476 lt_prog_compiler_pic='-pic'
7477 lt_prog_compiler_static='-Bstatic'
7481 lt_prog_compiler_can_build_shared=no
7483 esac
7486 case $host_os in
7487 # For platforms which do not support PIC, -DPIC is meaningless:
7488 *djgpp*)
7489 lt_prog_compiler_pic=
7492 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
7494 esac
7495 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
7496 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
7504 # Check to make sure the PIC flag actually works.
7506 if test -n "$lt_prog_compiler_pic"; then
7507 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
7508 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
7509 if test "${lt_prog_compiler_pic_works+set}" = set; then
7510 echo $ECHO_N "(cached) $ECHO_C" >&6
7511 else
7512 lt_prog_compiler_pic_works=no
7513 ac_outfile=conftest.$ac_objext
7514 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7515 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7516 # Insert the option either (1) after the last *FLAGS variable, or
7517 # (2) before a word containing "conftest.", or (3) at the end.
7518 # Note that $ac_compile itself does not contain backslashes and begins
7519 # with a dollar sign (not a hyphen), so the echo should work correctly.
7520 # The option is referenced via a variable to avoid confusing sed.
7521 lt_compile=`echo "$ac_compile" | $SED \
7522 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7523 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7524 -e 's:$: $lt_compiler_flag:'`
7525 (eval echo "\"\$as_me:7525: $lt_compile\"" >&5)
7526 (eval "$lt_compile" 2>conftest.err)
7527 ac_status=$?
7528 cat conftest.err >&5
7529 echo "$as_me:7529: \$? = $ac_status" >&5
7530 if (exit $ac_status) && test -s "$ac_outfile"; then
7531 # The compiler can only warn and ignore the option if not recognized
7532 # So say no if there are warnings other than the usual output.
7533 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7534 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7535 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7536 lt_prog_compiler_pic_works=yes
7539 $RM conftest*
7542 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works" >&5
7543 echo "${ECHO_T}$lt_prog_compiler_pic_works" >&6
7545 if test x"$lt_prog_compiler_pic_works" = xyes; then
7546 case $lt_prog_compiler_pic in
7547 "" | " "*) ;;
7548 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
7549 esac
7550 else
7551 lt_prog_compiler_pic=
7552 lt_prog_compiler_can_build_shared=no
7563 # Check to make sure the static flag actually works.
7565 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
7566 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
7567 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
7568 if test "${lt_prog_compiler_static_works+set}" = set; then
7569 echo $ECHO_N "(cached) $ECHO_C" >&6
7570 else
7571 lt_prog_compiler_static_works=no
7572 save_LDFLAGS="$LDFLAGS"
7573 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7574 echo "$lt_simple_link_test_code" > conftest.$ac_ext
7575 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7576 # The linker can only warn and ignore the option if not recognized
7577 # So say no if there are warnings
7578 if test -s conftest.err; then
7579 # Append any errors to the config.log.
7580 cat conftest.err 1>&5
7581 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
7582 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7583 if diff conftest.exp conftest.er2 >/dev/null; then
7584 lt_prog_compiler_static_works=yes
7586 else
7587 lt_prog_compiler_static_works=yes
7590 $RM conftest*
7591 LDFLAGS="$save_LDFLAGS"
7594 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works" >&5
7595 echo "${ECHO_T}$lt_prog_compiler_static_works" >&6
7597 if test x"$lt_prog_compiler_static_works" = xyes; then
7599 else
7600 lt_prog_compiler_static=
7609 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7610 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7611 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7612 echo $ECHO_N "(cached) $ECHO_C" >&6
7613 else
7614 lt_cv_prog_compiler_c_o=no
7615 $RM -r conftest 2>/dev/null
7616 mkdir conftest
7617 cd conftest
7618 mkdir out
7619 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7621 lt_compiler_flag="-o out/conftest2.$ac_objext"
7622 # Insert the option either (1) after the last *FLAGS variable, or
7623 # (2) before a word containing "conftest.", or (3) at the end.
7624 # Note that $ac_compile itself does not contain backslashes and begins
7625 # with a dollar sign (not a hyphen), so the echo should work correctly.
7626 lt_compile=`echo "$ac_compile" | $SED \
7627 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7628 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7629 -e 's:$: $lt_compiler_flag:'`
7630 (eval echo "\"\$as_me:7630: $lt_compile\"" >&5)
7631 (eval "$lt_compile" 2>out/conftest.err)
7632 ac_status=$?
7633 cat out/conftest.err >&5
7634 echo "$as_me:7634: \$? = $ac_status" >&5
7635 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7636 then
7637 # The compiler can only warn and ignore the option if not recognized
7638 # So say no if there are warnings
7639 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7640 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7641 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7642 lt_cv_prog_compiler_c_o=yes
7645 chmod u+w . 2>&5
7646 $RM conftest*
7647 # SGI C++ compiler will create directory out/ii_files/ for
7648 # template instantiation
7649 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7650 $RM out/* && rmdir out
7651 cd ..
7652 $RM -r conftest
7653 $RM conftest*
7656 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7657 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7664 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
7665 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
7666 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
7667 echo $ECHO_N "(cached) $ECHO_C" >&6
7668 else
7669 lt_cv_prog_compiler_c_o=no
7670 $RM -r conftest 2>/dev/null
7671 mkdir conftest
7672 cd conftest
7673 mkdir out
7674 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7676 lt_compiler_flag="-o out/conftest2.$ac_objext"
7677 # Insert the option either (1) after the last *FLAGS variable, or
7678 # (2) before a word containing "conftest.", or (3) at the end.
7679 # Note that $ac_compile itself does not contain backslashes and begins
7680 # with a dollar sign (not a hyphen), so the echo should work correctly.
7681 lt_compile=`echo "$ac_compile" | $SED \
7682 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7683 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7684 -e 's:$: $lt_compiler_flag:'`
7685 (eval echo "\"\$as_me:7685: $lt_compile\"" >&5)
7686 (eval "$lt_compile" 2>out/conftest.err)
7687 ac_status=$?
7688 cat out/conftest.err >&5
7689 echo "$as_me:7689: \$? = $ac_status" >&5
7690 if (exit $ac_status) && test -s out/conftest2.$ac_objext
7691 then
7692 # The compiler can only warn and ignore the option if not recognized
7693 # So say no if there are warnings
7694 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
7695 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
7696 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
7697 lt_cv_prog_compiler_c_o=yes
7700 chmod u+w . 2>&5
7701 $RM conftest*
7702 # SGI C++ compiler will create directory out/ii_files/ for
7703 # template instantiation
7704 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
7705 $RM out/* && rmdir out
7706 cd ..
7707 $RM -r conftest
7708 $RM conftest*
7711 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
7712 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
7717 hard_links="nottested"
7718 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
7719 # do not overwrite the value of need_locks provided by the user
7720 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
7721 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
7722 hard_links=yes
7723 $RM conftest*
7724 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7725 touch conftest.a
7726 ln conftest.a conftest.b 2>&5 || hard_links=no
7727 ln conftest.a conftest.b 2>/dev/null && hard_links=no
7728 echo "$as_me:$LINENO: result: $hard_links" >&5
7729 echo "${ECHO_T}$hard_links" >&6
7730 if test "$hard_links" = no; then
7731 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
7732 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
7733 need_locks=warn
7735 else
7736 need_locks=no
7744 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
7745 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
7747 runpath_var=
7748 allow_undefined_flag=
7749 always_export_symbols=no
7750 archive_cmds=
7751 archive_expsym_cmds=
7752 compiler_needs_object=no
7753 enable_shared_with_static_runtimes=no
7754 export_dynamic_flag_spec=
7755 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
7756 hardcode_automatic=no
7757 hardcode_direct=no
7758 hardcode_direct_absolute=no
7759 hardcode_libdir_flag_spec=
7760 hardcode_libdir_flag_spec_ld=
7761 hardcode_libdir_separator=
7762 hardcode_minus_L=no
7763 hardcode_shlibpath_var=unsupported
7764 inherit_rpath=no
7765 link_all_deplibs=unknown
7766 module_cmds=
7767 module_expsym_cmds=
7768 old_archive_from_new_cmds=
7769 old_archive_from_expsyms_cmds=
7770 thread_safe_flag_spec=
7771 whole_archive_flag_spec=
7772 # include_expsyms should be a list of space-separated symbols to be *always*
7773 # included in the symbol list
7774 include_expsyms=
7775 # exclude_expsyms can be an extended regexp of symbols to exclude
7776 # it will be wrapped by ` (' and `)$', so one must not match beginning or
7777 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
7778 # as well as any symbol that contains `d'.
7779 exclude_expsyms="_GLOBAL_OFFSET_TABLE_"
7780 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
7781 # platforms (ab)use it in PIC code, but their linkers get confused if
7782 # the symbol is explicitly referenced. Since portable code cannot
7783 # rely on this symbol name, it's probably fine to never include it in
7784 # preloaded symbol tables.
7785 extract_expsyms_cmds=
7787 case $host_os in
7788 cygwin* | mingw* | pw32*)
7789 # FIXME: the MSVC++ port hasn't been tested in a loooong time
7790 # When not using gcc, we currently assume that we are using
7791 # Microsoft Visual C++.
7792 if test "$GCC" != yes; then
7793 with_gnu_ld=no
7796 interix*)
7797 # we just hope/assume this is gcc and not c89 (= MSVC++)
7798 with_gnu_ld=yes
7800 openbsd*)
7801 with_gnu_ld=no
7803 esac
7805 ld_shlibs=yes
7806 if test "$with_gnu_ld" = yes; then
7807 # If archive_cmds runs LD, not CC, wlarc should be empty
7808 wlarc='${wl}'
7810 # Set some defaults for GNU ld with shared library support. These
7811 # are reset later if shared libraries are not supported. Putting them
7812 # here allows them to be overridden if necessary.
7813 runpath_var=LD_RUN_PATH
7814 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
7815 export_dynamic_flag_spec='${wl}--export-dynamic'
7816 # ancient GNU ld didn't support --whole-archive et. al.
7817 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
7818 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
7819 else
7820 whole_archive_flag_spec=
7822 supports_anon_versioning=no
7823 case `$LD -v 2>&1` in
7824 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
7825 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
7826 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
7827 *\ 2.11.*) ;; # other 2.11 versions
7828 *) supports_anon_versioning=yes ;;
7829 esac
7831 # See if GNU ld supports shared libraries.
7832 case $host_os in
7833 aix[3-9]*)
7834 # On AIX/PPC, the GNU linker is very broken
7835 if test "$host_cpu" != ia64; then
7836 ld_shlibs=no
7837 cat <<_LT_EOF 1>&2
7839 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
7840 *** to be unable to reliably create shared libraries on AIX.
7841 *** Therefore, libtool is disabling shared libraries support. If you
7842 *** really care for shared libraries, you may want to modify your PATH
7843 *** so that a non-GNU linker is found, and then restart.
7845 _LT_EOF
7849 amigaos*)
7850 if test "$host_cpu" = m68k; then
7851 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
7852 hardcode_libdir_flag_spec='-L$libdir'
7853 hardcode_minus_L=yes
7856 # Samuel A. Falvo II <kc5tja@dolphin.openprojects.net> reports
7857 # that the semantics of dynamic libraries on AmigaOS, at least up
7858 # to version 4, is to share data among multiple programs linked
7859 # with the same dynamic library. Since this doesn't match the
7860 # behavior of shared libraries on other platforms, we can't use
7861 # them.
7862 ld_shlibs=no
7865 beos*)
7866 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7867 allow_undefined_flag=unsupported
7868 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
7869 # support --undefined. This deserves some investigation. FIXME
7870 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7871 else
7872 ld_shlibs=no
7876 cygwin* | mingw* | pw32*)
7877 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
7878 # as there is no search path for DLLs.
7879 hardcode_libdir_flag_spec='-L$libdir'
7880 allow_undefined_flag=unsupported
7881 always_export_symbols=no
7882 enable_shared_with_static_runtimes=yes
7883 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
7885 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
7886 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7887 # If the export-symbols file already is a .def file (1st line
7888 # is EXPORTS), use it as is; otherwise, prepend...
7889 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
7890 cp $export_symbols $output_objdir/$soname.def;
7891 else
7892 echo EXPORTS > $output_objdir/$soname.def;
7893 cat $export_symbols >> $output_objdir/$soname.def;
7895 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
7896 else
7897 ld_shlibs=no
7901 interix[3-9]*)
7902 hardcode_direct=no
7903 hardcode_shlibpath_var=no
7904 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7905 export_dynamic_flag_spec='${wl}-E'
7906 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
7907 # Instead, shared libraries are loaded at an image base (0x10000000 by
7908 # default) and relocated if they conflict, which is a slow very memory
7909 # consuming and fragmenting process. To avoid this, we pick a random,
7910 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
7911 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
7912 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7913 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
7916 gnu* | linux* | tpf* | k*bsd*-gnu)
7917 tmp_diet=no
7918 if test "$host_os" = linux-dietlibc; then
7919 case $cc_basename in
7920 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
7921 esac
7923 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
7924 && test "$tmp_diet" = no
7925 then
7926 tmp_addflag=
7927 case $cc_basename,$host_cpu in
7928 pgcc*) # Portland Group C compiler
7929 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7930 tmp_addflag=' $pic_flag'
7932 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
7933 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7934 tmp_addflag=' $pic_flag -Mnomain' ;;
7935 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
7936 tmp_addflag=' -i_dynamic' ;;
7937 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
7938 tmp_addflag=' -i_dynamic -nofor_main' ;;
7939 ifc* | ifort*) # Intel Fortran compiler
7940 tmp_addflag=' -nofor_main' ;;
7941 esac
7942 case `$CC -V 2>&1 | sed 5q` in
7943 *Sun\ C*) # Sun C 5.9
7944 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
7945 compiler_needs_object=yes
7946 tmp_sharedflag='-G' ;;
7947 *Sun\ F*) # Sun Fortran 8.3
7948 tmp_sharedflag='-G' ;;
7950 tmp_sharedflag='-shared' ;;
7951 esac
7952 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7954 if test "x$supports_anon_versioning" = xyes; then
7955 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
7956 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
7957 echo "local: *; };" >> $output_objdir/$libname.ver~
7958 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
7960 else
7961 ld_shlibs=no
7965 netbsd*)
7966 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
7967 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
7968 wlarc=
7969 else
7970 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7971 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7975 solaris*)
7976 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
7977 ld_shlibs=no
7978 cat <<_LT_EOF 1>&2
7980 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
7981 *** create shared libraries on Solaris systems. Therefore, libtool
7982 *** is disabling shared libraries support. We urge you to upgrade GNU
7983 *** binutils to release 2.9.1 or newer. Another option is to modify
7984 *** your PATH or compiler configuration so that the native linker is
7985 *** used, and then restart.
7987 _LT_EOF
7988 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
7989 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
7990 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
7991 else
7992 ld_shlibs=no
7996 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
7997 case `$LD -v 2>&1` in
7998 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
7999 ld_shlibs=no
8000 cat <<_LT_EOF 1>&2
8002 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8003 *** reliably create shared libraries on SCO systems. Therefore, libtool
8004 *** is disabling shared libraries support. We urge you to upgrade GNU
8005 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8006 *** your PATH or compiler configuration so that the native linker is
8007 *** used, and then restart.
8009 _LT_EOF
8012 # For security reasons, it is highly recommended that you always
8013 # use absolute paths for naming shared libraries, and exclude the
8014 # DT_RUNPATH tag from executables and libraries. But doing so
8015 # requires that you compile everything twice, which is a pain.
8016 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8017 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8018 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8019 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8020 else
8021 ld_shlibs=no
8024 esac
8027 sunos4*)
8028 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8029 wlarc=
8030 hardcode_direct=yes
8031 hardcode_shlibpath_var=no
8035 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8036 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8037 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8038 else
8039 ld_shlibs=no
8042 esac
8044 if test "$ld_shlibs" = no; then
8045 runpath_var=
8046 hardcode_libdir_flag_spec=
8047 export_dynamic_flag_spec=
8048 whole_archive_flag_spec=
8050 else
8051 # PORTME fill in a description of your system's linker (not GNU ld)
8052 case $host_os in
8053 aix3*)
8054 allow_undefined_flag=unsupported
8055 always_export_symbols=yes
8056 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
8057 # Note: this linker hardcodes the directories in LIBPATH if there
8058 # are no directories specified by -L.
8059 hardcode_minus_L=yes
8060 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8061 # Neither direct hardcoding nor static linking is supported with a
8062 # broken collect2.
8063 hardcode_direct=unsupported
8067 aix[4-9]*)
8068 if test "$host_cpu" = ia64; then
8069 # On IA64, the linker does run time linking by default, so we don't
8070 # have to do anything special.
8071 aix_use_runtimelinking=no
8072 exp_sym_flag='-Bexport'
8073 no_entry_flag=""
8074 else
8075 # If we're using GNU nm, then we don't want the "-C" option.
8076 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8077 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8078 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8079 else
8080 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
8082 aix_use_runtimelinking=no
8084 # Test if we are trying to use run time linking or normal
8085 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8086 # need to do runtime linking.
8087 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8088 for ld_flag in $LDFLAGS; do
8089 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8090 aix_use_runtimelinking=yes
8091 break
8093 done
8095 esac
8097 exp_sym_flag='-bexport'
8098 no_entry_flag='-bnoentry'
8101 # When large executables or shared objects are built, AIX ld can
8102 # have problems creating the table of contents. If linking a library
8103 # or program results in "error TOC overflow" add -mminimal-toc to
8104 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8105 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8107 archive_cmds=''
8108 hardcode_direct=yes
8109 hardcode_direct_absolute=yes
8110 hardcode_libdir_separator=':'
8111 link_all_deplibs=yes
8112 file_list_spec='${wl}-f,'
8114 if test "$GCC" = yes; then
8115 case $host_os in aix4.[012]|aix4.[012].*)
8116 # We only want to do this on AIX 4.2 and lower, the check
8117 # below for broken collect2 doesn't work under 4.3+
8118 collect2name=`${CC} -print-prog-name=collect2`
8119 if test -f "$collect2name" &&
8120 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8121 then
8122 # We have reworked collect2
8124 else
8125 # We have old collect2
8126 hardcode_direct=unsupported
8127 # It fails to find uninstalled libraries when the uninstalled
8128 # path is not listed in the libpath. Setting hardcode_minus_L
8129 # to unsupported forces relinking
8130 hardcode_minus_L=yes
8131 hardcode_libdir_flag_spec='-L$libdir'
8132 hardcode_libdir_separator=
8135 esac
8136 shared_flag='-shared'
8137 if test "$aix_use_runtimelinking" = yes; then
8138 shared_flag="$shared_flag "'${wl}-G'
8140 else
8141 # not using gcc
8142 if test "$host_cpu" = ia64; then
8143 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8144 # chokes on -Wl,-G. The following line is correct:
8145 shared_flag='-G'
8146 else
8147 if test "$aix_use_runtimelinking" = yes; then
8148 shared_flag='${wl}-G'
8149 else
8150 shared_flag='${wl}-bM:SRE'
8155 # It seems that -bexpall does not export symbols beginning with
8156 # underscore (_), so it is better to generate a list of symbols to export.
8157 always_export_symbols=yes
8158 if test "$aix_use_runtimelinking" = yes; then
8159 # Warning - without using the other runtime loading flags (-brtl),
8160 # -berok will link without error, but may produce a broken library.
8161 allow_undefined_flag='-berok'
8162 # Determine the default libpath from the value encoded in an
8163 # empty executable.
8164 if test x$gcc_no_link = xyes; then
8165 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8166 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8167 { (exit 1); exit 1; }; }
8169 cat >conftest.$ac_ext <<_ACEOF
8170 /* confdefs.h. */
8171 _ACEOF
8172 cat confdefs.h >>conftest.$ac_ext
8173 cat >>conftest.$ac_ext <<_ACEOF
8174 /* end confdefs.h. */
8177 main ()
8181 return 0;
8183 _ACEOF
8184 rm -f conftest.$ac_objext conftest$ac_exeext
8185 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8186 (eval $ac_link) 2>conftest.er1
8187 ac_status=$?
8188 grep -v '^ *+' conftest.er1 >conftest.err
8189 rm -f conftest.er1
8190 cat conftest.err >&5
8191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8192 (exit $ac_status); } &&
8193 { ac_try='test -z "$ac_c_werror_flag"
8194 || test ! -s conftest.err'
8195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8196 (eval $ac_try) 2>&5
8197 ac_status=$?
8198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8199 (exit $ac_status); }; } &&
8200 { ac_try='test -s conftest$ac_exeext'
8201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8202 (eval $ac_try) 2>&5
8203 ac_status=$?
8204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8205 (exit $ac_status); }; }; then
8207 lt_aix_libpath_sed='
8208 /Import File Strings/,/^$/ {
8209 /^0/ {
8210 s/^0 *\(.*\)$/\1/
8214 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8215 # Check for a 64-bit object if we didn't find anything.
8216 if test -z "$aix_libpath"; then
8217 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8219 else
8220 echo "$as_me: failed program was:" >&5
8221 sed 's/^/| /' conftest.$ac_ext >&5
8224 rm -f conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8228 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8229 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
8230 else
8231 if test "$host_cpu" = ia64; then
8232 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8233 allow_undefined_flag="-z nodefs"
8234 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
8235 else
8236 # Determine the default libpath from the value encoded in an
8237 # empty executable.
8238 if test x$gcc_no_link = xyes; then
8239 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8240 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8241 { (exit 1); exit 1; }; }
8243 cat >conftest.$ac_ext <<_ACEOF
8244 /* confdefs.h. */
8245 _ACEOF
8246 cat confdefs.h >>conftest.$ac_ext
8247 cat >>conftest.$ac_ext <<_ACEOF
8248 /* end confdefs.h. */
8251 main ()
8255 return 0;
8257 _ACEOF
8258 rm -f conftest.$ac_objext conftest$ac_exeext
8259 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8260 (eval $ac_link) 2>conftest.er1
8261 ac_status=$?
8262 grep -v '^ *+' conftest.er1 >conftest.err
8263 rm -f conftest.er1
8264 cat conftest.err >&5
8265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8266 (exit $ac_status); } &&
8267 { ac_try='test -z "$ac_c_werror_flag"
8268 || test ! -s conftest.err'
8269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8270 (eval $ac_try) 2>&5
8271 ac_status=$?
8272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8273 (exit $ac_status); }; } &&
8274 { ac_try='test -s conftest$ac_exeext'
8275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8276 (eval $ac_try) 2>&5
8277 ac_status=$?
8278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8279 (exit $ac_status); }; }; then
8281 lt_aix_libpath_sed='
8282 /Import File Strings/,/^$/ {
8283 /^0/ {
8284 s/^0 *\(.*\)$/\1/
8288 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8289 # Check for a 64-bit object if we didn't find anything.
8290 if test -z "$aix_libpath"; then
8291 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8293 else
8294 echo "$as_me: failed program was:" >&5
8295 sed 's/^/| /' conftest.$ac_ext >&5
8298 rm -f conftest.err conftest.$ac_objext \
8299 conftest$ac_exeext conftest.$ac_ext
8300 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8302 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8303 # Warning - without using the other run time loading flags,
8304 # -berok will link without error, but may produce a broken library.
8305 no_undefined_flag=' ${wl}-bernotok'
8306 allow_undefined_flag=' ${wl}-berok'
8307 # Exported symbols can be pulled into shared objects from archives
8308 whole_archive_flag_spec='$convenience'
8309 archive_cmds_need_lc=yes
8310 # This is similar to how AIX traditionally builds its shared libraries.
8311 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
8316 amigaos*)
8317 if test "$host_cpu" = m68k; then
8318 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
8319 hardcode_libdir_flag_spec='-L$libdir'
8320 hardcode_minus_L=yes
8322 # see comment about different semantics on the GNU ld section
8323 ld_shlibs=no
8326 bsdi[45]*)
8327 export_dynamic_flag_spec=-rdynamic
8330 cygwin* | mingw* | pw32*)
8331 # When not using gcc, we currently assume that we are using
8332 # Microsoft Visual C++.
8333 # hardcode_libdir_flag_spec is actually meaningless, as there is
8334 # no search path for DLLs.
8335 hardcode_libdir_flag_spec=' '
8336 allow_undefined_flag=unsupported
8337 # Tell ltmain to make .lib files, not .a files.
8338 libext=lib
8339 # Tell ltmain to make .dll files, not .so files.
8340 shrext_cmds=".dll"
8341 # FIXME: Setting linknames here is a bad hack.
8342 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
8343 # The linker will automatically build a .lib file if we build a DLL.
8344 old_archive_from_new_cmds='true'
8345 # FIXME: Should let the user specify the lib program.
8346 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8347 fix_srcfile_path='`cygpath -w "$srcfile"`'
8348 enable_shared_with_static_runtimes=yes
8351 darwin* | rhapsody*)
8352 case $host_os in
8353 rhapsody* | darwin1.[012])
8354 allow_undefined_flag='${wl}-undefined ${wl}suppress'
8356 *) # Darwin 1.3 on
8357 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
8358 10.[012])
8359 allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8361 10.*)
8362 allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
8364 esac
8366 esac
8367 archive_cmds_need_lc=no
8368 hardcode_direct=no
8369 hardcode_automatic=yes
8370 hardcode_shlibpath_var=unsupported
8371 whole_archive_flag_spec=''
8372 link_all_deplibs=yes
8373 if test "$GCC" = yes ; then
8374 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
8375 echo $ECHO_N "(cached) $ECHO_C" >&6
8376 else
8377 lt_cv_apple_cc_single_mod=no
8378 if test -z "${LT_MULTI_MODULE}"; then
8379 # By default we will add the -single_module flag. You can override
8380 # by either setting the environment variable LT_MULTI_MODULE
8381 # non-empty at configure time, or by adding -multi-module to the
8382 # link flags.
8383 echo "int foo(void){return 1;}" > conftest.c
8384 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8385 -dynamiclib ${wl}-single_module conftest.c
8386 if test -f libconftest.dylib; then
8387 lt_cv_apple_cc_single_mod=yes
8388 rm libconftest.dylib
8390 rm conftest.$ac_ext
8394 output_verbose_link_cmd=echo
8395 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
8396 archive_cmds='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8397 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $single_module -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8398 else
8399 archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
8400 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8402 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8403 module_expsym_cmds='sed -e "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8404 else
8405 case $cc_basename in
8406 xlc*)
8407 output_verbose_link_cmd=echo
8408 archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO $rpath/$soname` $verstring'
8409 module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8410 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8411 archive_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8412 module_expsym_cmds='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8415 ld_shlibs=no
8417 esac
8421 dgux*)
8422 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8423 hardcode_libdir_flag_spec='-L$libdir'
8424 hardcode_shlibpath_var=no
8427 freebsd1*)
8428 ld_shlibs=no
8431 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
8432 # support. Future versions do this automatically, but an explicit c++rt0.o
8433 # does not break anything, and helps significantly (at the cost of a little
8434 # extra space).
8435 freebsd2.2*)
8436 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
8437 hardcode_libdir_flag_spec='-R$libdir'
8438 hardcode_direct=yes
8439 hardcode_shlibpath_var=no
8442 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
8443 freebsd2*)
8444 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8445 hardcode_direct=yes
8446 hardcode_minus_L=yes
8447 hardcode_shlibpath_var=no
8450 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
8451 freebsd* | dragonfly*)
8452 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
8453 hardcode_libdir_flag_spec='-R$libdir'
8454 hardcode_direct=yes
8455 hardcode_shlibpath_var=no
8458 hpux9*)
8459 if test "$GCC" = yes; then
8460 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8461 else
8462 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
8464 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8465 hardcode_libdir_separator=:
8466 hardcode_direct=yes
8468 # hardcode_minus_L: Not really in the search PATH,
8469 # but as the default location of the library.
8470 hardcode_minus_L=yes
8471 export_dynamic_flag_spec='${wl}-E'
8474 hpux10*)
8475 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8476 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8477 else
8478 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
8480 if test "$with_gnu_ld" = no; then
8481 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8482 hardcode_libdir_flag_spec_ld='+b $libdir'
8483 hardcode_libdir_separator=:
8484 hardcode_direct=yes
8485 hardcode_direct_absolute=yes
8486 export_dynamic_flag_spec='${wl}-E'
8487 # hardcode_minus_L: Not really in the search PATH,
8488 # but as the default location of the library.
8489 hardcode_minus_L=yes
8493 hpux11*)
8494 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
8495 case $host_cpu in
8496 hppa*64*)
8497 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8499 ia64*)
8500 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8503 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8505 esac
8506 else
8507 case $host_cpu in
8508 hppa*64*)
8509 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8511 ia64*)
8512 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
8515 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
8517 esac
8519 if test "$with_gnu_ld" = no; then
8520 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
8521 hardcode_libdir_separator=:
8523 case $host_cpu in
8524 hppa*64*|ia64*)
8525 hardcode_direct=no
8526 hardcode_shlibpath_var=no
8529 hardcode_direct=yes
8530 hardcode_direct_absolute=yes
8531 export_dynamic_flag_spec='${wl}-E'
8533 # hardcode_minus_L: Not really in the search PATH,
8534 # but as the default location of the library.
8535 hardcode_minus_L=yes
8537 esac
8541 irix5* | irix6* | nonstopux*)
8542 if test "$GCC" = yes; then
8543 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8544 # Try to use the -exported_symbol ld option, if it does not
8545 # work, assume that -exports_file does not work either and
8546 # implicitly export all symbols.
8547 save_LDFLAGS="$LDFLAGS"
8548 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
8549 if test x$gcc_no_link = xyes; then
8550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8552 { (exit 1); exit 1; }; }
8554 cat >conftest.$ac_ext <<_ACEOF
8555 int foo(void) {}
8556 _ACEOF
8557 rm -f conftest.$ac_objext conftest$ac_exeext
8558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8559 (eval $ac_link) 2>conftest.er1
8560 ac_status=$?
8561 grep -v '^ *+' conftest.er1 >conftest.err
8562 rm -f conftest.er1
8563 cat conftest.err >&5
8564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565 (exit $ac_status); } &&
8566 { ac_try='test -z "$ac_c_werror_flag"
8567 || test ! -s conftest.err'
8568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8569 (eval $ac_try) 2>&5
8570 ac_status=$?
8571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8572 (exit $ac_status); }; } &&
8573 { ac_try='test -s conftest$ac_exeext'
8574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8575 (eval $ac_try) 2>&5
8576 ac_status=$?
8577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8578 (exit $ac_status); }; }; then
8579 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
8581 else
8582 echo "$as_me: failed program was:" >&5
8583 sed 's/^/| /' conftest.$ac_ext >&5
8586 rm -f conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8588 LDFLAGS="$save_LDFLAGS"
8589 else
8590 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8591 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
8593 archive_cmds_need_lc='no'
8594 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8595 hardcode_libdir_separator=:
8596 inherit_rpath=yes
8597 link_all_deplibs=yes
8600 netbsd*)
8601 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8602 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
8603 else
8604 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
8606 hardcode_libdir_flag_spec='-R$libdir'
8607 hardcode_direct=yes
8608 hardcode_shlibpath_var=no
8611 newsos6)
8612 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8613 hardcode_direct=yes
8614 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8615 hardcode_libdir_separator=:
8616 hardcode_shlibpath_var=no
8619 *nto* | *qnx*)
8622 openbsd*)
8623 hardcode_direct=yes
8624 hardcode_shlibpath_var=no
8625 hardcode_direct_absolute=yes
8626 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8627 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8628 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8629 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8630 export_dynamic_flag_spec='${wl}-E'
8631 else
8632 case $host_os in
8633 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8634 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8635 hardcode_libdir_flag_spec='-R$libdir'
8638 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8639 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8641 esac
8645 os2*)
8646 hardcode_libdir_flag_spec='-L$libdir'
8647 hardcode_minus_L=yes
8648 allow_undefined_flag=unsupported
8649 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
8650 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
8653 osf3*)
8654 if test "$GCC" = yes; then
8655 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8656 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8657 else
8658 allow_undefined_flag=' -expect_unresolved \*'
8659 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8661 archive_cmds_need_lc='no'
8662 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8663 hardcode_libdir_separator=:
8666 osf4* | osf5*) # as osf3* with the addition of -msym flag
8667 if test "$GCC" = yes; then
8668 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
8669 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
8670 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8671 else
8672 allow_undefined_flag=' -expect_unresolved \*'
8673 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
8674 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
8675 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
8677 # Both c and cxx compiler support -rpath directly
8678 hardcode_libdir_flag_spec='-rpath $libdir'
8680 archive_cmds_need_lc='no'
8681 hardcode_libdir_separator=:
8684 solaris*)
8685 no_undefined_flag=' -z defs'
8686 if test "$GCC" = yes; then
8687 wlarc='${wl}'
8688 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
8689 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8690 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8691 else
8692 case `$CC -V 2>&1` in
8693 *"Compilers 5.0"*)
8694 wlarc=''
8695 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
8696 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8697 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
8700 wlarc='${wl}'
8701 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
8702 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
8703 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
8705 esac
8707 hardcode_libdir_flag_spec='-R$libdir'
8708 hardcode_shlibpath_var=no
8709 case $host_os in
8710 solaris2.[0-5] | solaris2.[0-5].*) ;;
8712 # The compiler driver will combine and reorder linker options,
8713 # but understands `-z linker_flag'. GCC discards it without `$wl',
8714 # but is careful enough not to reorder.
8715 # Supported since Solaris 2.6 (maybe 2.5.1?)
8716 if test "$GCC" = yes; then
8717 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
8718 else
8719 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
8722 esac
8723 link_all_deplibs=yes
8726 sunos4*)
8727 if test "x$host_vendor" = xsequent; then
8728 # Use $CC to link under sequent, because it throws in some extra .o
8729 # files that make .init and .fini sections work.
8730 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
8731 else
8732 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
8734 hardcode_libdir_flag_spec='-L$libdir'
8735 hardcode_direct=yes
8736 hardcode_minus_L=yes
8737 hardcode_shlibpath_var=no
8740 sysv4)
8741 case $host_vendor in
8742 sni)
8743 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8744 hardcode_direct=yes # is this really true???
8746 siemens)
8747 ## LD is ld it makes a PLAMLIB
8748 ## CC just makes a GrossModule.
8749 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
8750 reload_cmds='$CC -r -o $output$reload_objs'
8751 hardcode_direct=no
8753 motorola)
8754 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8755 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
8757 esac
8758 runpath_var='LD_RUN_PATH'
8759 hardcode_shlibpath_var=no
8762 sysv4.3*)
8763 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8764 hardcode_shlibpath_var=no
8765 export_dynamic_flag_spec='-Bexport'
8768 sysv4*MP*)
8769 if test -d /usr/nec; then
8770 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8771 hardcode_shlibpath_var=no
8772 runpath_var=LD_RUN_PATH
8773 hardcode_runpath_var=yes
8774 ld_shlibs=yes
8778 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8779 no_undefined_flag='${wl}-z,text'
8780 archive_cmds_need_lc=no
8781 hardcode_shlibpath_var=no
8782 runpath_var='LD_RUN_PATH'
8784 if test "$GCC" = yes; then
8785 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8786 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8787 else
8788 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8789 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8793 sysv5* | sco3.2v5* | sco5v6*)
8794 # Note: We can NOT use -z defs as we might desire, because we do not
8795 # link with -lc, and that would cause any symbols used from libc to
8796 # always be unresolved, which means just about no library would
8797 # ever link correctly. If we're not using GNU ld we use -z text
8798 # though, which does catch some bad symbols but isn't as heavy-handed
8799 # as -z defs.
8800 no_undefined_flag='${wl}-z,text'
8801 allow_undefined_flag='${wl}-z,nodefs'
8802 archive_cmds_need_lc=no
8803 hardcode_shlibpath_var=no
8804 hardcode_libdir_flag_spec='${wl}-R,$libdir'
8805 hardcode_libdir_separator=':'
8806 link_all_deplibs=yes
8807 export_dynamic_flag_spec='${wl}-Bexport'
8808 runpath_var='LD_RUN_PATH'
8810 if test "$GCC" = yes; then
8811 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8812 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8813 else
8814 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8815 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8819 uts4*)
8820 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
8821 hardcode_libdir_flag_spec='-L$libdir'
8822 hardcode_shlibpath_var=no
8826 ld_shlibs=no
8828 esac
8830 if test x$host_vendor = xsni; then
8831 case $host in
8832 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
8833 export_dynamic_flag_spec='${wl}-Blargedynsym'
8835 esac
8839 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
8840 echo "${ECHO_T}$ld_shlibs" >&6
8841 test "$ld_shlibs" = no && can_build_shared=no
8843 with_gnu_ld=$with_gnu_ld
8860 # Do we need to explicitly link libc?
8862 case "x$archive_cmds_need_lc" in
8863 x|xyes)
8864 # Assume -lc should be added
8865 archive_cmds_need_lc=yes
8867 if test "$enable_shared" = yes && test "$GCC" = yes; then
8868 case $archive_cmds in
8869 *'~'*)
8870 # FIXME: we may have to deal with multi-command sequences.
8872 '$CC '*)
8873 # Test whether the compiler implicitly links with -lc since on some
8874 # systems, -lgcc has to come before -lc. If gcc already passes -lc
8875 # to ld, don't add -lc before -lgcc.
8876 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8877 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
8878 $RM conftest*
8879 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8882 (eval $ac_compile) 2>&5
8883 ac_status=$?
8884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8885 (exit $ac_status); } 2>conftest.err; then
8886 soname=conftest
8887 lib=conftest
8888 libobjs=conftest.$ac_objext
8889 deplibs=
8890 wl=$lt_prog_compiler_wl
8891 pic_flag=$lt_prog_compiler_pic
8892 compiler_flags=-v
8893 linker_flags=-v
8894 verstring=
8895 output_objdir=.
8896 libname=conftest
8897 lt_save_allow_undefined_flag=$allow_undefined_flag
8898 allow_undefined_flag=
8899 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
8900 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
8901 ac_status=$?
8902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8903 (exit $ac_status); }
8904 then
8905 archive_cmds_need_lc=no
8906 else
8907 archive_cmds_need_lc=yes
8909 allow_undefined_flag=$lt_save_allow_undefined_flag
8910 else
8911 cat conftest.err 1>&5
8913 $RM conftest*
8914 echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
8915 echo "${ECHO_T}$archive_cmds_need_lc" >&6
8917 esac
8920 esac
9078 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9079 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9080 withGCC=$GCC
9081 if test "$withGCC" = yes; then
9082 case $host_os in
9083 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9084 *) lt_awk_arg="/^libraries:/" ;;
9085 esac
9086 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9087 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9088 # if the path contains ";" then we assume it to be the separator
9089 # otherwise default to the standard path separator (i.e. ":") - it is
9090 # assumed that no part of a normal pathname contains ";" but that should
9091 # okay in the real world where ";" in dirpaths is itself problematic.
9092 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9093 else
9094 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9096 # Ok, now we have the path, separated by spaces, we can step through it
9097 # and add multilib dir if necessary.
9098 lt_tmp_lt_search_path_spec=
9099 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9100 for lt_sys_path in $lt_search_path_spec; do
9101 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9102 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9103 else
9104 test -d "$lt_sys_path" && \
9105 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9107 done
9108 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9109 BEGIN {RS=" "; FS="/|\n";} {
9110 lt_foo="";
9111 lt_count=0;
9112 for (lt_i = NF; lt_i > 0; lt_i--) {
9113 if ($lt_i != "" && $lt_i != ".") {
9114 if ($lt_i == "..") {
9115 lt_count++;
9116 } else {
9117 if (lt_count == 0) {
9118 lt_foo="/" $lt_i lt_foo;
9119 } else {
9120 lt_count--;
9125 if (lt_foo != "") { lt_freq[lt_foo]++; }
9126 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9128 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9129 else
9130 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9132 library_names_spec=
9133 libname_spec='lib$name'
9134 soname_spec=
9135 shrext_cmds=".so"
9136 postinstall_cmds=
9137 postuninstall_cmds=
9138 finish_cmds=
9139 finish_eval=
9140 shlibpath_var=
9141 shlibpath_overrides_runpath=unknown
9142 version_type=none
9143 dynamic_linker="$host_os ld.so"
9144 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9145 need_lib_prefix=unknown
9146 hardcode_into_libs=no
9148 # when you set need_version to no, make sure it does not cause -set_version
9149 # flags to be left without arguments
9150 need_version=unknown
9152 case $host_os in
9153 aix3*)
9154 version_type=linux
9155 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9156 shlibpath_var=LIBPATH
9158 # AIX 3 has no versioning support, so we append a major version to the name.
9159 soname_spec='${libname}${release}${shared_ext}$major'
9162 aix[4-9]*)
9163 version_type=linux
9164 need_lib_prefix=no
9165 need_version=no
9166 hardcode_into_libs=yes
9167 if test "$host_cpu" = ia64; then
9168 # AIX 5 supports IA64
9169 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9170 shlibpath_var=LD_LIBRARY_PATH
9171 else
9172 # With GCC up to 2.95.x, collect2 would create an import file
9173 # for dependence libraries. The import file would start with
9174 # the line `#! .'. This would cause the generated library to
9175 # depend on `.', always an invalid library. This was fixed in
9176 # development snapshots of GCC prior to 3.0.
9177 case $host_os in
9178 aix4 | aix4.[01] | aix4.[01].*)
9179 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9180 echo ' yes '
9181 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9183 else
9184 can_build_shared=no
9187 esac
9188 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9189 # soname into executable. Probably we can add versioning support to
9190 # collect2, so additional links can be useful in future.
9191 if test "$aix_use_runtimelinking" = yes; then
9192 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9193 # instead of lib<name>.a to let people know that these are not
9194 # typical AIX shared libraries.
9195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9196 else
9197 # We preserve .a as extension for shared libraries through AIX4.2
9198 # and later when we are not doing run time linking.
9199 library_names_spec='${libname}${release}.a $libname.a'
9200 soname_spec='${libname}${release}${shared_ext}$major'
9202 shlibpath_var=LIBPATH
9206 amigaos*)
9207 if test "$host_cpu" = m68k; then
9208 library_names_spec='$libname.ixlibrary $libname.a'
9209 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9210 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
9211 else
9212 dynamic_linker=no
9216 beos*)
9217 library_names_spec='${libname}${shared_ext}'
9218 dynamic_linker="$host_os ld.so"
9219 shlibpath_var=LIBRARY_PATH
9222 bsdi[45]*)
9223 version_type=linux
9224 need_version=no
9225 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9226 soname_spec='${libname}${release}${shared_ext}$major'
9227 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9228 shlibpath_var=LD_LIBRARY_PATH
9229 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9230 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9231 # the default ld.so.conf also contains /usr/contrib/lib and
9232 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9233 # libtool to hard-code these into programs
9236 cygwin* | mingw* | pw32*)
9237 version_type=windows
9238 shrext_cmds=".dll"
9239 need_version=no
9240 need_lib_prefix=no
9242 case $withGCC,$host_os in
9243 yes,cygwin* | yes,mingw* | yes,pw32*)
9244 library_names_spec='$libname.dll.a'
9245 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9246 postinstall_cmds='base_file=`basename \${file}`~
9247 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9248 dldir=$destdir/`dirname \$dlpath`~
9249 test -d \$dldir || mkdir -p \$dldir~
9250 $install_prog $dir/$dlname \$dldir/$dlname~
9251 chmod a+x \$dldir/$dlname~
9252 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9253 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9255 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9256 dlpath=$dir/\$dldll~
9257 $RM \$dlpath'
9258 shlibpath_overrides_runpath=yes
9260 case $host_os in
9261 cygwin*)
9262 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9263 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9264 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9266 mingw*)
9267 # MinGW DLLs use traditional 'lib' prefix
9268 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9269 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9270 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9271 # It is most probably a Windows format PATH printed by
9272 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9273 # path with ; separators, and with drive letters. We can handle the
9274 # drive letters (cygwin fileutils understands them), so leave them,
9275 # especially as we might pass files found there to a mingw objdump,
9276 # which wouldn't understand a cygwinified path. Ahh.
9277 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9278 else
9279 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9282 pw32*)
9283 # pw32 DLLs use 'pw' prefix rather than 'lib'
9284 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9286 esac
9290 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9292 esac
9293 dynamic_linker='Win32 ld.exe'
9294 # FIXME: first we should search . and the directory the executable is in
9295 shlibpath_var=PATH
9298 darwin* | rhapsody*)
9299 dynamic_linker="$host_os dyld"
9300 version_type=darwin
9301 need_lib_prefix=no
9302 need_version=no
9303 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9304 soname_spec='${libname}${release}${major}$shared_ext'
9305 shlibpath_overrides_runpath=yes
9306 shlibpath_var=DYLD_LIBRARY_PATH
9307 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9309 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9310 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9313 dgux*)
9314 version_type=linux
9315 need_lib_prefix=no
9316 need_version=no
9317 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
9318 soname_spec='${libname}${release}${shared_ext}$major'
9319 shlibpath_var=LD_LIBRARY_PATH
9322 freebsd1*)
9323 dynamic_linker=no
9326 freebsd* | dragonfly*)
9327 # DragonFly does not have aout. When/if they implement a new
9328 # versioning mechanism, adjust this.
9329 if test -x /usr/bin/objformat; then
9330 objformat=`/usr/bin/objformat`
9331 else
9332 case $host_os in
9333 freebsd[123]*) objformat=aout ;;
9334 *) objformat=elf ;;
9335 esac
9337 version_type=freebsd-$objformat
9338 case $version_type in
9339 freebsd-elf*)
9340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9341 need_version=no
9342 need_lib_prefix=no
9344 freebsd-*)
9345 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
9346 need_version=yes
9348 esac
9349 shlibpath_var=LD_LIBRARY_PATH
9350 case $host_os in
9351 freebsd2*)
9352 shlibpath_overrides_runpath=yes
9354 freebsd3.[01]* | freebsdelf3.[01]*)
9355 shlibpath_overrides_runpath=yes
9356 hardcode_into_libs=yes
9358 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
9359 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
9360 shlibpath_overrides_runpath=no
9361 hardcode_into_libs=yes
9363 *) # from 4.6 on, and DragonFly
9364 shlibpath_overrides_runpath=yes
9365 hardcode_into_libs=yes
9367 esac
9370 gnu*)
9371 version_type=linux
9372 need_lib_prefix=no
9373 need_version=no
9374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
9375 soname_spec='${libname}${release}${shared_ext}$major'
9376 shlibpath_var=LD_LIBRARY_PATH
9377 hardcode_into_libs=yes
9380 hpux9* | hpux10* | hpux11*)
9381 # Give a soname corresponding to the major version so that dld.sl refuses to
9382 # link against other versions.
9383 version_type=sunos
9384 need_lib_prefix=no
9385 need_version=no
9386 case $host_cpu in
9387 ia64*)
9388 shrext_cmds='.so'
9389 hardcode_into_libs=yes
9390 dynamic_linker="$host_os dld.so"
9391 shlibpath_var=LD_LIBRARY_PATH
9392 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9393 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9394 soname_spec='${libname}${release}${shared_ext}$major'
9395 if test "X$HPUX_IA64_MODE" = X32; then
9396 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
9397 else
9398 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
9400 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9402 hppa*64*)
9403 shrext_cmds='.sl'
9404 hardcode_into_libs=yes
9405 dynamic_linker="$host_os dld.sl"
9406 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
9407 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
9408 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9409 soname_spec='${libname}${release}${shared_ext}$major'
9410 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
9411 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
9414 shrext_cmds='.sl'
9415 dynamic_linker="$host_os dld.sl"
9416 shlibpath_var=SHLIB_PATH
9417 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
9418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9419 soname_spec='${libname}${release}${shared_ext}$major'
9421 esac
9422 # HP-UX runs *really* slowly unless shared libraries are mode 555.
9423 postinstall_cmds='chmod 555 $lib'
9426 interix[3-9]*)
9427 version_type=linux
9428 need_lib_prefix=no
9429 need_version=no
9430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9431 soname_spec='${libname}${release}${shared_ext}$major'
9432 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
9433 shlibpath_var=LD_LIBRARY_PATH
9434 shlibpath_overrides_runpath=no
9435 hardcode_into_libs=yes
9438 irix5* | irix6* | nonstopux*)
9439 case $host_os in
9440 nonstopux*) version_type=nonstopux ;;
9442 if test "$lt_cv_prog_gnu_ld" = yes; then
9443 version_type=linux
9444 else
9445 version_type=irix
9446 fi ;;
9447 esac
9448 need_lib_prefix=no
9449 need_version=no
9450 soname_spec='${libname}${release}${shared_ext}$major'
9451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
9452 case $host_os in
9453 irix5* | nonstopux*)
9454 libsuff= shlibsuff=
9457 case $LD in # libtool.m4 will add one of these switches to LD
9458 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
9459 libsuff= shlibsuff= libmagic=32-bit;;
9460 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
9461 libsuff=32 shlibsuff=N32 libmagic=N32;;
9462 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
9463 libsuff=64 shlibsuff=64 libmagic=64-bit;;
9464 *) libsuff= shlibsuff= libmagic=never-match;;
9465 esac
9467 esac
9468 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
9469 shlibpath_overrides_runpath=no
9470 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
9471 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
9472 hardcode_into_libs=yes
9475 # No shared lib support for Linux oldld, aout, or coff.
9476 linux*oldld* | linux*aout* | linux*coff*)
9477 dynamic_linker=no
9480 # This must be Linux ELF.
9481 linux* | k*bsd*-gnu)
9482 version_type=linux
9483 need_lib_prefix=no
9484 need_version=no
9485 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9486 soname_spec='${libname}${release}${shared_ext}$major'
9487 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
9488 shlibpath_var=LD_LIBRARY_PATH
9489 shlibpath_overrides_runpath=no
9490 # Some binutils ld are patched to set DT_RUNPATH
9491 save_LDFLAGS=$LDFLAGS
9492 save_libdir=$libdir
9493 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
9494 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
9495 if test x$gcc_no_link = xyes; then
9496 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9497 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9498 { (exit 1); exit 1; }; }
9500 cat >conftest.$ac_ext <<_ACEOF
9501 /* confdefs.h. */
9502 _ACEOF
9503 cat confdefs.h >>conftest.$ac_ext
9504 cat >>conftest.$ac_ext <<_ACEOF
9505 /* end confdefs.h. */
9508 main ()
9512 return 0;
9514 _ACEOF
9515 rm -f conftest.$ac_objext conftest$ac_exeext
9516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9517 (eval $ac_link) 2>conftest.er1
9518 ac_status=$?
9519 grep -v '^ *+' conftest.er1 >conftest.err
9520 rm -f conftest.er1
9521 cat conftest.err >&5
9522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9523 (exit $ac_status); } &&
9524 { ac_try='test -z "$ac_c_werror_flag"
9525 || test ! -s conftest.err'
9526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9527 (eval $ac_try) 2>&5
9528 ac_status=$?
9529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9530 (exit $ac_status); }; } &&
9531 { ac_try='test -s conftest$ac_exeext'
9532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9533 (eval $ac_try) 2>&5
9534 ac_status=$?
9535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9536 (exit $ac_status); }; }; then
9537 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
9538 shlibpath_overrides_runpath=yes
9541 else
9542 echo "$as_me: failed program was:" >&5
9543 sed 's/^/| /' conftest.$ac_ext >&5
9546 rm -f conftest.err conftest.$ac_objext \
9547 conftest$ac_exeext conftest.$ac_ext
9548 LDFLAGS=$save_LDFLAGS
9549 libdir=$save_libdir
9551 # This implies no fast_install, which is unacceptable.
9552 # Some rework will be needed to allow for fast_install
9553 # before this can be enabled.
9554 hardcode_into_libs=yes
9556 # Append ld.so.conf contents to the search path
9557 if test -f /etc/ld.so.conf; then
9558 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9559 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9562 # We used to test for /lib/ld.so.1 and disable shared libraries on
9563 # powerpc, because MkLinux only supported shared libraries with the
9564 # GNU dynamic linker. Since this was broken with cross compilers,
9565 # most powerpc-linux boxes support dynamic linking these days and
9566 # people can always --disable-shared, the test was removed, and we
9567 # assume the GNU/Linux dynamic linker is in use.
9568 dynamic_linker='GNU/Linux ld.so'
9571 netbsd*)
9572 version_type=sunos
9573 need_lib_prefix=no
9574 need_version=no
9575 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9577 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9578 dynamic_linker='NetBSD (a.out) ld.so'
9579 else
9580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
9581 soname_spec='${libname}${release}${shared_ext}$major'
9582 dynamic_linker='NetBSD ld.elf_so'
9584 shlibpath_var=LD_LIBRARY_PATH
9585 shlibpath_overrides_runpath=yes
9586 hardcode_into_libs=yes
9589 newsos6)
9590 version_type=linux
9591 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9592 shlibpath_var=LD_LIBRARY_PATH
9593 shlibpath_overrides_runpath=yes
9596 *nto* | *qnx*)
9597 version_type=qnx
9598 need_lib_prefix=no
9599 need_version=no
9600 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9601 soname_spec='${libname}${release}${shared_ext}$major'
9602 shlibpath_var=LD_LIBRARY_PATH
9603 shlibpath_overrides_runpath=no
9604 hardcode_into_libs=yes
9605 dynamic_linker='ldqnx.so'
9608 openbsd*)
9609 version_type=sunos
9610 sys_lib_dlsearch_path_spec="/usr/lib"
9611 need_lib_prefix=no
9612 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
9613 case $host_os in
9614 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
9615 *) need_version=no ;;
9616 esac
9617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9618 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
9619 shlibpath_var=LD_LIBRARY_PATH
9620 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9621 case $host_os in
9622 openbsd2.[89] | openbsd2.[89].*)
9623 shlibpath_overrides_runpath=no
9626 shlibpath_overrides_runpath=yes
9628 esac
9629 else
9630 shlibpath_overrides_runpath=yes
9634 os2*)
9635 libname_spec='$name'
9636 shrext_cmds=".dll"
9637 need_lib_prefix=no
9638 library_names_spec='$libname${shared_ext} $libname.a'
9639 dynamic_linker='OS/2 ld.exe'
9640 shlibpath_var=LIBPATH
9643 osf3* | osf4* | osf5*)
9644 version_type=osf
9645 need_lib_prefix=no
9646 need_version=no
9647 soname_spec='${libname}${release}${shared_ext}$major'
9648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9649 shlibpath_var=LD_LIBRARY_PATH
9650 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
9651 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9654 rdos*)
9655 dynamic_linker=no
9658 solaris*)
9659 version_type=linux
9660 need_lib_prefix=no
9661 need_version=no
9662 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9663 soname_spec='${libname}${release}${shared_ext}$major'
9664 shlibpath_var=LD_LIBRARY_PATH
9665 shlibpath_overrides_runpath=yes
9666 hardcode_into_libs=yes
9667 # ldd complains unless libraries are executable
9668 postinstall_cmds='chmod +x $lib'
9671 sunos4*)
9672 version_type=sunos
9673 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
9674 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
9675 shlibpath_var=LD_LIBRARY_PATH
9676 shlibpath_overrides_runpath=yes
9677 if test "$with_gnu_ld" = yes; then
9678 need_lib_prefix=no
9680 need_version=yes
9683 sysv4 | sysv4.3*)
9684 version_type=linux
9685 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9686 soname_spec='${libname}${release}${shared_ext}$major'
9687 shlibpath_var=LD_LIBRARY_PATH
9688 case $host_vendor in
9689 sni)
9690 shlibpath_overrides_runpath=no
9691 need_lib_prefix=no
9692 runpath_var=LD_RUN_PATH
9694 siemens)
9695 need_lib_prefix=no
9697 motorola)
9698 need_lib_prefix=no
9699 need_version=no
9700 shlibpath_overrides_runpath=no
9701 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
9703 esac
9706 sysv4*MP*)
9707 if test -d /usr/nec ;then
9708 version_type=linux
9709 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
9710 soname_spec='$libname${shared_ext}.$major'
9711 shlibpath_var=LD_LIBRARY_PATH
9715 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
9716 version_type=freebsd-elf
9717 need_lib_prefix=no
9718 need_version=no
9719 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
9720 soname_spec='${libname}${release}${shared_ext}$major'
9721 shlibpath_var=LD_LIBRARY_PATH
9722 shlibpath_overrides_runpath=yes
9723 hardcode_into_libs=yes
9724 if test "$with_gnu_ld" = yes; then
9725 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
9726 else
9727 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
9728 case $host_os in
9729 sco3.2v5*)
9730 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
9732 esac
9734 sys_lib_dlsearch_path_spec='/usr/lib'
9737 tpf*)
9738 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
9739 version_type=linux
9740 need_lib_prefix=no
9741 need_version=no
9742 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9743 shlibpath_var=LD_LIBRARY_PATH
9744 shlibpath_overrides_runpath=no
9745 hardcode_into_libs=yes
9748 uts4*)
9749 version_type=linux
9750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9751 soname_spec='${libname}${release}${shared_ext}$major'
9752 shlibpath_var=LD_LIBRARY_PATH
9756 dynamic_linker=no
9758 esac
9759 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
9760 echo "${ECHO_T}$dynamic_linker" >&6
9761 test "$dynamic_linker" = no && can_build_shared=no
9763 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
9764 if test "$GCC" = yes; then
9765 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
9854 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
9855 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
9856 hardcode_action=
9857 if test -n "$hardcode_libdir_flag_spec" ||
9858 test -n "$runpath_var" ||
9859 test "X$hardcode_automatic" = "Xyes" ; then
9861 # We can hardcode non-existent directories.
9862 if test "$hardcode_direct" != no &&
9863 # If the only mechanism to avoid hardcoding is shlibpath_var, we
9864 # have to relink, otherwise we might link with an installed library
9865 # when we should be linking with a yet-to-be-installed one
9866 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
9867 test "$hardcode_minus_L" != no; then
9868 # Linking always hardcodes the temporary library directory.
9869 hardcode_action=relink
9870 else
9871 # We can link without hardcoding, and we can hardcode nonexisting dirs.
9872 hardcode_action=immediate
9874 else
9875 # We cannot hardcode anything, or else we can only hardcode existing
9876 # directories.
9877 hardcode_action=unsupported
9879 echo "$as_me:$LINENO: result: $hardcode_action" >&5
9880 echo "${ECHO_T}$hardcode_action" >&6
9882 if test "$hardcode_action" = relink ||
9883 test "$inherit_rpath" = yes; then
9884 # Fast installation is not supported
9885 enable_fast_install=no
9886 elif test "$shlibpath_overrides_runpath" = yes ||
9887 test "$enable_shared" = no; then
9888 # Fast installation is not necessary
9889 enable_fast_install=needless
9897 if test "x$enable_dlopen" != xyes; then
9898 enable_dlopen=unknown
9899 enable_dlopen_self=unknown
9900 enable_dlopen_self_static=unknown
9901 else
9902 lt_cv_dlopen=no
9903 lt_cv_dlopen_libs=
9905 case $host_os in
9906 beos*)
9907 lt_cv_dlopen="load_add_on"
9908 lt_cv_dlopen_libs=
9909 lt_cv_dlopen_self=yes
9912 mingw* | pw32*)
9913 lt_cv_dlopen="LoadLibrary"
9914 lt_cv_dlopen_libs=
9917 cygwin*)
9918 lt_cv_dlopen="dlopen"
9919 lt_cv_dlopen_libs=
9922 darwin*)
9923 # if libdl is installed we need to link against it
9924 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
9925 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
9926 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
9927 echo $ECHO_N "(cached) $ECHO_C" >&6
9928 else
9929 ac_check_lib_save_LIBS=$LIBS
9930 LIBS="-ldl $LIBS"
9931 if test x$gcc_no_link = xyes; then
9932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9934 { (exit 1); exit 1; }; }
9936 cat >conftest.$ac_ext <<_ACEOF
9937 /* confdefs.h. */
9938 _ACEOF
9939 cat confdefs.h >>conftest.$ac_ext
9940 cat >>conftest.$ac_ext <<_ACEOF
9941 /* end confdefs.h. */
9943 /* Override any gcc2 internal prototype to avoid an error. */
9944 #ifdef __cplusplus
9945 extern "C"
9946 #endif
9947 /* We use char because int might match the return type of a gcc2
9948 builtin and then its argument prototype would still apply. */
9949 char dlopen ();
9951 main ()
9953 dlopen ();
9955 return 0;
9957 _ACEOF
9958 rm -f conftest.$ac_objext conftest$ac_exeext
9959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9960 (eval $ac_link) 2>conftest.er1
9961 ac_status=$?
9962 grep -v '^ *+' conftest.er1 >conftest.err
9963 rm -f conftest.er1
9964 cat conftest.err >&5
9965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9966 (exit $ac_status); } &&
9967 { ac_try='test -z "$ac_c_werror_flag"
9968 || test ! -s conftest.err'
9969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9970 (eval $ac_try) 2>&5
9971 ac_status=$?
9972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9973 (exit $ac_status); }; } &&
9974 { ac_try='test -s conftest$ac_exeext'
9975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9976 (eval $ac_try) 2>&5
9977 ac_status=$?
9978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9979 (exit $ac_status); }; }; then
9980 ac_cv_lib_dl_dlopen=yes
9981 else
9982 echo "$as_me: failed program was:" >&5
9983 sed 's/^/| /' conftest.$ac_ext >&5
9985 ac_cv_lib_dl_dlopen=no
9987 rm -f conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 LIBS=$ac_check_lib_save_LIBS
9991 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
9992 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
9993 if test $ac_cv_lib_dl_dlopen = yes; then
9994 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
9995 else
9997 lt_cv_dlopen="dyld"
9998 lt_cv_dlopen_libs=
9999 lt_cv_dlopen_self=yes
10006 echo "$as_me:$LINENO: checking for shl_load" >&5
10007 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10008 if test "${ac_cv_func_shl_load+set}" = set; then
10009 echo $ECHO_N "(cached) $ECHO_C" >&6
10010 else
10011 if test x$gcc_no_link = xyes; then
10012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10014 { (exit 1); exit 1; }; }
10016 cat >conftest.$ac_ext <<_ACEOF
10017 /* confdefs.h. */
10018 _ACEOF
10019 cat confdefs.h >>conftest.$ac_ext
10020 cat >>conftest.$ac_ext <<_ACEOF
10021 /* end confdefs.h. */
10022 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10024 #define shl_load innocuous_shl_load
10026 /* System header to define __stub macros and hopefully few prototypes,
10027 which can conflict with char shl_load (); below.
10028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10029 <limits.h> exists even on freestanding compilers. */
10031 #ifdef __STDC__
10032 # include <limits.h>
10033 #else
10034 # include <assert.h>
10035 #endif
10037 #undef shl_load
10039 /* Override any gcc2 internal prototype to avoid an error. */
10040 #ifdef __cplusplus
10041 extern "C"
10043 #endif
10044 /* We use char because int might match the return type of a gcc2
10045 builtin and then its argument prototype would still apply. */
10046 char shl_load ();
10047 /* The GNU C library defines this for functions which it implements
10048 to always fail with ENOSYS. Some functions are actually named
10049 something starting with __ and the normal name is an alias. */
10050 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10051 choke me
10052 #else
10053 char (*f) () = shl_load;
10054 #endif
10055 #ifdef __cplusplus
10057 #endif
10060 main ()
10062 return f != shl_load;
10064 return 0;
10066 _ACEOF
10067 rm -f conftest.$ac_objext conftest$ac_exeext
10068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10069 (eval $ac_link) 2>conftest.er1
10070 ac_status=$?
10071 grep -v '^ *+' conftest.er1 >conftest.err
10072 rm -f conftest.er1
10073 cat conftest.err >&5
10074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10075 (exit $ac_status); } &&
10076 { ac_try='test -z "$ac_c_werror_flag"
10077 || test ! -s conftest.err'
10078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10079 (eval $ac_try) 2>&5
10080 ac_status=$?
10081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10082 (exit $ac_status); }; } &&
10083 { ac_try='test -s conftest$ac_exeext'
10084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10085 (eval $ac_try) 2>&5
10086 ac_status=$?
10087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10088 (exit $ac_status); }; }; then
10089 ac_cv_func_shl_load=yes
10090 else
10091 echo "$as_me: failed program was:" >&5
10092 sed 's/^/| /' conftest.$ac_ext >&5
10094 ac_cv_func_shl_load=no
10096 rm -f conftest.err conftest.$ac_objext \
10097 conftest$ac_exeext conftest.$ac_ext
10099 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10100 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10101 if test $ac_cv_func_shl_load = yes; then
10102 lt_cv_dlopen="shl_load"
10103 else
10104 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10105 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10106 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10107 echo $ECHO_N "(cached) $ECHO_C" >&6
10108 else
10109 ac_check_lib_save_LIBS=$LIBS
10110 LIBS="-ldld $LIBS"
10111 if test x$gcc_no_link = xyes; then
10112 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10113 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10114 { (exit 1); exit 1; }; }
10116 cat >conftest.$ac_ext <<_ACEOF
10117 /* confdefs.h. */
10118 _ACEOF
10119 cat confdefs.h >>conftest.$ac_ext
10120 cat >>conftest.$ac_ext <<_ACEOF
10121 /* end confdefs.h. */
10123 /* Override any gcc2 internal prototype to avoid an error. */
10124 #ifdef __cplusplus
10125 extern "C"
10126 #endif
10127 /* We use char because int might match the return type of a gcc2
10128 builtin and then its argument prototype would still apply. */
10129 char shl_load ();
10131 main ()
10133 shl_load ();
10135 return 0;
10137 _ACEOF
10138 rm -f conftest.$ac_objext conftest$ac_exeext
10139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10140 (eval $ac_link) 2>conftest.er1
10141 ac_status=$?
10142 grep -v '^ *+' conftest.er1 >conftest.err
10143 rm -f conftest.er1
10144 cat conftest.err >&5
10145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10146 (exit $ac_status); } &&
10147 { ac_try='test -z "$ac_c_werror_flag"
10148 || test ! -s conftest.err'
10149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10150 (eval $ac_try) 2>&5
10151 ac_status=$?
10152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10153 (exit $ac_status); }; } &&
10154 { ac_try='test -s conftest$ac_exeext'
10155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10156 (eval $ac_try) 2>&5
10157 ac_status=$?
10158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10159 (exit $ac_status); }; }; then
10160 ac_cv_lib_dld_shl_load=yes
10161 else
10162 echo "$as_me: failed program was:" >&5
10163 sed 's/^/| /' conftest.$ac_ext >&5
10165 ac_cv_lib_dld_shl_load=no
10167 rm -f conftest.err conftest.$ac_objext \
10168 conftest$ac_exeext conftest.$ac_ext
10169 LIBS=$ac_check_lib_save_LIBS
10171 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10172 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10173 if test $ac_cv_lib_dld_shl_load = yes; then
10174 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"
10175 else
10176 echo "$as_me:$LINENO: checking for dlopen" >&5
10177 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10178 if test "${ac_cv_func_dlopen+set}" = set; then
10179 echo $ECHO_N "(cached) $ECHO_C" >&6
10180 else
10181 if test x$gcc_no_link = xyes; then
10182 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10183 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10184 { (exit 1); exit 1; }; }
10186 cat >conftest.$ac_ext <<_ACEOF
10187 /* confdefs.h. */
10188 _ACEOF
10189 cat confdefs.h >>conftest.$ac_ext
10190 cat >>conftest.$ac_ext <<_ACEOF
10191 /* end confdefs.h. */
10192 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10193 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10194 #define dlopen innocuous_dlopen
10196 /* System header to define __stub macros and hopefully few prototypes,
10197 which can conflict with char dlopen (); below.
10198 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10199 <limits.h> exists even on freestanding compilers. */
10201 #ifdef __STDC__
10202 # include <limits.h>
10203 #else
10204 # include <assert.h>
10205 #endif
10207 #undef dlopen
10209 /* Override any gcc2 internal prototype to avoid an error. */
10210 #ifdef __cplusplus
10211 extern "C"
10213 #endif
10214 /* We use char because int might match the return type of a gcc2
10215 builtin and then its argument prototype would still apply. */
10216 char dlopen ();
10217 /* The GNU C library defines this for functions which it implements
10218 to always fail with ENOSYS. Some functions are actually named
10219 something starting with __ and the normal name is an alias. */
10220 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10221 choke me
10222 #else
10223 char (*f) () = dlopen;
10224 #endif
10225 #ifdef __cplusplus
10227 #endif
10230 main ()
10232 return f != dlopen;
10234 return 0;
10236 _ACEOF
10237 rm -f conftest.$ac_objext conftest$ac_exeext
10238 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10239 (eval $ac_link) 2>conftest.er1
10240 ac_status=$?
10241 grep -v '^ *+' conftest.er1 >conftest.err
10242 rm -f conftest.er1
10243 cat conftest.err >&5
10244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10245 (exit $ac_status); } &&
10246 { ac_try='test -z "$ac_c_werror_flag"
10247 || test ! -s conftest.err'
10248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10249 (eval $ac_try) 2>&5
10250 ac_status=$?
10251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10252 (exit $ac_status); }; } &&
10253 { ac_try='test -s conftest$ac_exeext'
10254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10255 (eval $ac_try) 2>&5
10256 ac_status=$?
10257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10258 (exit $ac_status); }; }; then
10259 ac_cv_func_dlopen=yes
10260 else
10261 echo "$as_me: failed program was:" >&5
10262 sed 's/^/| /' conftest.$ac_ext >&5
10264 ac_cv_func_dlopen=no
10266 rm -f conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10269 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10270 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10271 if test $ac_cv_func_dlopen = yes; then
10272 lt_cv_dlopen="dlopen"
10273 else
10274 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10275 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10276 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10277 echo $ECHO_N "(cached) $ECHO_C" >&6
10278 else
10279 ac_check_lib_save_LIBS=$LIBS
10280 LIBS="-ldl $LIBS"
10281 if test x$gcc_no_link = xyes; then
10282 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10283 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10284 { (exit 1); exit 1; }; }
10286 cat >conftest.$ac_ext <<_ACEOF
10287 /* confdefs.h. */
10288 _ACEOF
10289 cat confdefs.h >>conftest.$ac_ext
10290 cat >>conftest.$ac_ext <<_ACEOF
10291 /* end confdefs.h. */
10293 /* Override any gcc2 internal prototype to avoid an error. */
10294 #ifdef __cplusplus
10295 extern "C"
10296 #endif
10297 /* We use char because int might match the return type of a gcc2
10298 builtin and then its argument prototype would still apply. */
10299 char dlopen ();
10301 main ()
10303 dlopen ();
10305 return 0;
10307 _ACEOF
10308 rm -f conftest.$ac_objext conftest$ac_exeext
10309 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10310 (eval $ac_link) 2>conftest.er1
10311 ac_status=$?
10312 grep -v '^ *+' conftest.er1 >conftest.err
10313 rm -f conftest.er1
10314 cat conftest.err >&5
10315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10316 (exit $ac_status); } &&
10317 { ac_try='test -z "$ac_c_werror_flag"
10318 || test ! -s conftest.err'
10319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10320 (eval $ac_try) 2>&5
10321 ac_status=$?
10322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10323 (exit $ac_status); }; } &&
10324 { ac_try='test -s conftest$ac_exeext'
10325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10326 (eval $ac_try) 2>&5
10327 ac_status=$?
10328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10329 (exit $ac_status); }; }; then
10330 ac_cv_lib_dl_dlopen=yes
10331 else
10332 echo "$as_me: failed program was:" >&5
10333 sed 's/^/| /' conftest.$ac_ext >&5
10335 ac_cv_lib_dl_dlopen=no
10337 rm -f conftest.err conftest.$ac_objext \
10338 conftest$ac_exeext conftest.$ac_ext
10339 LIBS=$ac_check_lib_save_LIBS
10341 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10342 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10343 if test $ac_cv_lib_dl_dlopen = yes; then
10344 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10345 else
10346 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
10347 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
10348 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
10349 echo $ECHO_N "(cached) $ECHO_C" >&6
10350 else
10351 ac_check_lib_save_LIBS=$LIBS
10352 LIBS="-lsvld $LIBS"
10353 if test x$gcc_no_link = xyes; then
10354 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10355 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10356 { (exit 1); exit 1; }; }
10358 cat >conftest.$ac_ext <<_ACEOF
10359 /* confdefs.h. */
10360 _ACEOF
10361 cat confdefs.h >>conftest.$ac_ext
10362 cat >>conftest.$ac_ext <<_ACEOF
10363 /* end confdefs.h. */
10365 /* Override any gcc2 internal prototype to avoid an error. */
10366 #ifdef __cplusplus
10367 extern "C"
10368 #endif
10369 /* We use char because int might match the return type of a gcc2
10370 builtin and then its argument prototype would still apply. */
10371 char dlopen ();
10373 main ()
10375 dlopen ();
10377 return 0;
10379 _ACEOF
10380 rm -f conftest.$ac_objext conftest$ac_exeext
10381 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10382 (eval $ac_link) 2>conftest.er1
10383 ac_status=$?
10384 grep -v '^ *+' conftest.er1 >conftest.err
10385 rm -f conftest.er1
10386 cat conftest.err >&5
10387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10388 (exit $ac_status); } &&
10389 { ac_try='test -z "$ac_c_werror_flag"
10390 || test ! -s conftest.err'
10391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10392 (eval $ac_try) 2>&5
10393 ac_status=$?
10394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10395 (exit $ac_status); }; } &&
10396 { ac_try='test -s conftest$ac_exeext'
10397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10398 (eval $ac_try) 2>&5
10399 ac_status=$?
10400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10401 (exit $ac_status); }; }; then
10402 ac_cv_lib_svld_dlopen=yes
10403 else
10404 echo "$as_me: failed program was:" >&5
10405 sed 's/^/| /' conftest.$ac_ext >&5
10407 ac_cv_lib_svld_dlopen=no
10409 rm -f conftest.err conftest.$ac_objext \
10410 conftest$ac_exeext conftest.$ac_ext
10411 LIBS=$ac_check_lib_save_LIBS
10413 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
10414 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
10415 if test $ac_cv_lib_svld_dlopen = yes; then
10416 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10417 else
10418 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
10419 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
10420 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
10421 echo $ECHO_N "(cached) $ECHO_C" >&6
10422 else
10423 ac_check_lib_save_LIBS=$LIBS
10424 LIBS="-ldld $LIBS"
10425 if test x$gcc_no_link = xyes; then
10426 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10427 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10428 { (exit 1); exit 1; }; }
10430 cat >conftest.$ac_ext <<_ACEOF
10431 /* confdefs.h. */
10432 _ACEOF
10433 cat confdefs.h >>conftest.$ac_ext
10434 cat >>conftest.$ac_ext <<_ACEOF
10435 /* end confdefs.h. */
10437 /* Override any gcc2 internal prototype to avoid an error. */
10438 #ifdef __cplusplus
10439 extern "C"
10440 #endif
10441 /* We use char because int might match the return type of a gcc2
10442 builtin and then its argument prototype would still apply. */
10443 char dld_link ();
10445 main ()
10447 dld_link ();
10449 return 0;
10451 _ACEOF
10452 rm -f conftest.$ac_objext conftest$ac_exeext
10453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10454 (eval $ac_link) 2>conftest.er1
10455 ac_status=$?
10456 grep -v '^ *+' conftest.er1 >conftest.err
10457 rm -f conftest.er1
10458 cat conftest.err >&5
10459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10460 (exit $ac_status); } &&
10461 { ac_try='test -z "$ac_c_werror_flag"
10462 || test ! -s conftest.err'
10463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10464 (eval $ac_try) 2>&5
10465 ac_status=$?
10466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10467 (exit $ac_status); }; } &&
10468 { ac_try='test -s conftest$ac_exeext'
10469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10470 (eval $ac_try) 2>&5
10471 ac_status=$?
10472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10473 (exit $ac_status); }; }; then
10474 ac_cv_lib_dld_dld_link=yes
10475 else
10476 echo "$as_me: failed program was:" >&5
10477 sed 's/^/| /' conftest.$ac_ext >&5
10479 ac_cv_lib_dld_dld_link=no
10481 rm -f conftest.err conftest.$ac_objext \
10482 conftest$ac_exeext conftest.$ac_ext
10483 LIBS=$ac_check_lib_save_LIBS
10485 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
10486 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
10487 if test $ac_cv_lib_dld_dld_link = yes; then
10488 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"
10507 esac
10509 if test "x$lt_cv_dlopen" != xno; then
10510 enable_dlopen=yes
10511 else
10512 enable_dlopen=no
10515 case $lt_cv_dlopen in
10516 dlopen)
10517 save_CPPFLAGS="$CPPFLAGS"
10518 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
10520 save_LDFLAGS="$LDFLAGS"
10521 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
10523 save_LIBS="$LIBS"
10524 LIBS="$lt_cv_dlopen_libs $LIBS"
10526 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
10527 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
10528 if test "${lt_cv_dlopen_self+set}" = set; then
10529 echo $ECHO_N "(cached) $ECHO_C" >&6
10530 else
10531 if test "$cross_compiling" = yes; then :
10532 lt_cv_dlopen_self=cross
10533 else
10534 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10535 lt_status=$lt_dlunknown
10536 cat > conftest.$ac_ext <<_LT_EOF
10537 #line 10537 "configure"
10538 #include "confdefs.h"
10540 #if HAVE_DLFCN_H
10541 #include <dlfcn.h>
10542 #endif
10544 #include <stdio.h>
10546 #ifdef RTLD_GLOBAL
10547 # define LT_DLGLOBAL RTLD_GLOBAL
10548 #else
10549 # ifdef DL_GLOBAL
10550 # define LT_DLGLOBAL DL_GLOBAL
10551 # else
10552 # define LT_DLGLOBAL 0
10553 # endif
10554 #endif
10556 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10557 find out it does not work in some platform. */
10558 #ifndef LT_DLLAZY_OR_NOW
10559 # ifdef RTLD_LAZY
10560 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10561 # else
10562 # ifdef DL_LAZY
10563 # define LT_DLLAZY_OR_NOW DL_LAZY
10564 # else
10565 # ifdef RTLD_NOW
10566 # define LT_DLLAZY_OR_NOW RTLD_NOW
10567 # else
10568 # ifdef DL_NOW
10569 # define LT_DLLAZY_OR_NOW DL_NOW
10570 # else
10571 # define LT_DLLAZY_OR_NOW 0
10572 # endif
10573 # endif
10574 # endif
10575 # endif
10576 #endif
10578 #ifdef __cplusplus
10579 extern "C" void exit (int);
10580 #endif
10582 void fnord() { int i=42;}
10583 int main ()
10585 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10586 int status = $lt_dlunknown;
10588 if (self)
10590 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10591 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10592 /* dlclose (self); */
10594 else
10595 puts (dlerror ());
10597 exit (status);
10599 _LT_EOF
10600 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10601 (eval $ac_link) 2>&5
10602 ac_status=$?
10603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10604 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10605 (./conftest; exit; ) >&5 2>/dev/null
10606 lt_status=$?
10607 case x$lt_status in
10608 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
10609 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
10610 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
10611 esac
10612 else :
10613 # compilation failed
10614 lt_cv_dlopen_self=no
10617 rm -fr conftest*
10621 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
10622 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
10624 if test "x$lt_cv_dlopen_self" = xyes; then
10625 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
10626 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
10627 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
10628 if test "${lt_cv_dlopen_self_static+set}" = set; then
10629 echo $ECHO_N "(cached) $ECHO_C" >&6
10630 else
10631 if test "$cross_compiling" = yes; then :
10632 lt_cv_dlopen_self_static=cross
10633 else
10634 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10635 lt_status=$lt_dlunknown
10636 cat > conftest.$ac_ext <<_LT_EOF
10637 #line 10637 "configure"
10638 #include "confdefs.h"
10640 #if HAVE_DLFCN_H
10641 #include <dlfcn.h>
10642 #endif
10644 #include <stdio.h>
10646 #ifdef RTLD_GLOBAL
10647 # define LT_DLGLOBAL RTLD_GLOBAL
10648 #else
10649 # ifdef DL_GLOBAL
10650 # define LT_DLGLOBAL DL_GLOBAL
10651 # else
10652 # define LT_DLGLOBAL 0
10653 # endif
10654 #endif
10656 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
10657 find out it does not work in some platform. */
10658 #ifndef LT_DLLAZY_OR_NOW
10659 # ifdef RTLD_LAZY
10660 # define LT_DLLAZY_OR_NOW RTLD_LAZY
10661 # else
10662 # ifdef DL_LAZY
10663 # define LT_DLLAZY_OR_NOW DL_LAZY
10664 # else
10665 # ifdef RTLD_NOW
10666 # define LT_DLLAZY_OR_NOW RTLD_NOW
10667 # else
10668 # ifdef DL_NOW
10669 # define LT_DLLAZY_OR_NOW DL_NOW
10670 # else
10671 # define LT_DLLAZY_OR_NOW 0
10672 # endif
10673 # endif
10674 # endif
10675 # endif
10676 #endif
10678 #ifdef __cplusplus
10679 extern "C" void exit (int);
10680 #endif
10682 void fnord() { int i=42;}
10683 int main ()
10685 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
10686 int status = $lt_dlunknown;
10688 if (self)
10690 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
10691 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
10692 /* dlclose (self); */
10694 else
10695 puts (dlerror ());
10697 exit (status);
10699 _LT_EOF
10700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10701 (eval $ac_link) 2>&5
10702 ac_status=$?
10703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10704 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
10705 (./conftest; exit; ) >&5 2>/dev/null
10706 lt_status=$?
10707 case x$lt_status in
10708 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
10709 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
10710 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
10711 esac
10712 else :
10713 # compilation failed
10714 lt_cv_dlopen_self_static=no
10717 rm -fr conftest*
10721 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
10722 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
10725 CPPFLAGS="$save_CPPFLAGS"
10726 LDFLAGS="$save_LDFLAGS"
10727 LIBS="$save_LIBS"
10729 esac
10731 case $lt_cv_dlopen_self in
10732 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
10733 *) enable_dlopen_self=unknown ;;
10734 esac
10736 case $lt_cv_dlopen_self_static in
10737 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
10738 *) enable_dlopen_self_static=unknown ;;
10739 esac
10758 striplib=
10759 old_striplib=
10760 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
10761 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
10762 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
10763 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
10764 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
10765 echo "$as_me:$LINENO: result: yes" >&5
10766 echo "${ECHO_T}yes" >&6
10767 else
10768 # FIXME - insert some real tests, host_os isn't really good enough
10769 case $host_os in
10770 darwin*)
10771 if test -n "$STRIP" ; then
10772 striplib="$STRIP -x"
10773 old_striplib="$STRIP -S"
10774 echo "$as_me:$LINENO: result: yes" >&5
10775 echo "${ECHO_T}yes" >&6
10776 else
10777 echo "$as_me:$LINENO: result: no" >&5
10778 echo "${ECHO_T}no" >&6
10782 echo "$as_me:$LINENO: result: no" >&5
10783 echo "${ECHO_T}no" >&6
10785 esac
10799 # Report which library types will actually be built
10800 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
10801 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
10802 echo "$as_me:$LINENO: result: $can_build_shared" >&5
10803 echo "${ECHO_T}$can_build_shared" >&6
10805 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
10806 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
10807 test "$can_build_shared" = "no" && enable_shared=no
10809 # On AIX, shared libraries and static libraries use the same namespace, and
10810 # are all built from PIC.
10811 case $host_os in
10812 aix3*)
10813 test "$enable_shared" = yes && enable_static=no
10814 if test -n "$RANLIB"; then
10815 archive_cmds="$archive_cmds~\$RANLIB \$lib"
10816 postinstall_cmds='$RANLIB $lib'
10820 aix[4-9]*)
10821 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
10822 test "$enable_shared" = yes && enable_static=no
10825 esac
10826 echo "$as_me:$LINENO: result: $enable_shared" >&5
10827 echo "${ECHO_T}$enable_shared" >&6
10829 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
10830 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
10831 # Make sure either enable_shared or enable_static is yes.
10832 test "$enable_shared" = yes || enable_static=yes
10833 echo "$as_me:$LINENO: result: $enable_static" >&5
10834 echo "${ECHO_T}$enable_static" >&6
10840 ac_ext=c
10841 ac_cpp='$CPP $CPPFLAGS'
10842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10846 CC="$lt_save_CC"
10849 ac_ext=cc
10850 ac_cpp='$CXXCPP $CPPFLAGS'
10851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
10855 archive_cmds_need_lc_CXX=no
10856 allow_undefined_flag_CXX=
10857 always_export_symbols_CXX=no
10858 archive_expsym_cmds_CXX=
10859 compiler_needs_object_CXX=no
10860 export_dynamic_flag_spec_CXX=
10861 hardcode_direct_CXX=no
10862 hardcode_direct_absolute_CXX=no
10863 hardcode_libdir_flag_spec_CXX=
10864 hardcode_libdir_flag_spec_ld_CXX=
10865 hardcode_libdir_separator_CXX=
10866 hardcode_minus_L_CXX=no
10867 hardcode_shlibpath_var_CXX=unsupported
10868 hardcode_automatic_CXX=no
10869 inherit_rpath_CXX=no
10870 module_cmds_CXX=
10871 module_expsym_cmds_CXX=
10872 link_all_deplibs_CXX=unknown
10873 old_archive_cmds_CXX=$old_archive_cmds
10874 no_undefined_flag_CXX=
10875 whole_archive_flag_spec_CXX=
10876 enable_shared_with_static_runtimes_CXX=no
10878 # Source file extension for C++ test sources.
10879 ac_ext=cpp
10881 # Object file extension for compiled C++ test sources.
10882 objext=o
10883 objext_CXX=$objext
10885 # No sense in running all these tests if we already determined that
10886 # the CXX compiler isn't working. Some variables (like enable_shared)
10887 # are currently assumed to apply to all compilers on this platform,
10888 # and will be corrupted by setting them based on a non-working compiler.
10889 if test "$_lt_caught_CXX_error" != yes; then
10890 # Code to be used in simple compile tests
10891 lt_simple_compile_test_code="int some_variable = 0;"
10893 # Code to be used in simple link tests
10894 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
10896 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
10903 # If no C compiler was specified, use CC.
10904 LTCC=${LTCC-"$CC"}
10906 # If no C compiler flags were specified, use CFLAGS.
10907 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10909 # Allow CC to be a program name with arguments.
10910 compiler=$CC
10913 # save warnings/boilerplate of simple test code
10914 ac_outfile=conftest.$ac_objext
10915 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10916 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10917 _lt_compiler_boilerplate=`cat conftest.err`
10918 $RM conftest*
10920 ac_outfile=conftest.$ac_objext
10921 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10922 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10923 _lt_linker_boilerplate=`cat conftest.err`
10924 $RM conftest*
10927 # Allow CC to be a program name with arguments.
10928 lt_save_CC=$CC
10929 lt_save_LD=$LD
10930 lt_save_GCC=$GCC
10931 GCC=$GXX
10932 lt_save_with_gnu_ld=$with_gnu_ld
10933 lt_save_path_LD=$lt_cv_path_LD
10934 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
10935 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
10936 else
10937 $as_unset lt_cv_prog_gnu_ld
10939 if test -n "${lt_cv_path_LDCXX+set}"; then
10940 lt_cv_path_LD=$lt_cv_path_LDCXX
10941 else
10942 $as_unset lt_cv_path_LD
10944 test -z "${LDCXX+set}" || LD=$LDCXX
10945 CC=${CXX-"c++"}
10946 compiler=$CC
10947 compiler_CXX=$CC
10948 for cc_temp in $compiler""; do
10949 case $cc_temp in
10950 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10951 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10952 \-*) ;;
10953 *) break;;
10954 esac
10955 done
10956 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
10959 if test -n "$compiler"; then
10960 # We don't want -fno-exception when compiling C++ code, so set the
10961 # no_builtin_flag separately
10962 if test "$GXX" = yes; then
10963 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
10964 else
10965 lt_prog_compiler_no_builtin_flag_CXX=
10968 if test "$GXX" = yes; then
10969 # Set up default GNU C++ configuration
10973 # Check whether --with-gnu-ld or --without-gnu-ld was given.
10974 if test "${with_gnu_ld+set}" = set; then
10975 withval="$with_gnu_ld"
10976 test "$withval" = no || with_gnu_ld=yes
10977 else
10978 with_gnu_ld=no
10980 ac_prog=ld
10981 if test "$GCC" = yes; then
10982 # Check if gcc -print-prog-name=ld gives a path.
10983 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
10984 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
10985 case $host in
10986 *-*-mingw*)
10987 # gcc leaves a trailing carriage return which upsets mingw
10988 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
10990 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
10991 esac
10992 case $ac_prog in
10993 # Accept absolute paths.
10994 [\\/]* | ?:[\\/]*)
10995 re_direlt='/[^/][^/]*/\.\./'
10996 # Canonicalize the pathname of ld
10997 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
10998 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
10999 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11000 done
11001 test -z "$LD" && LD="$ac_prog"
11004 # If it fails, then pretend we aren't using GCC.
11005 ac_prog=ld
11008 # If it is relative, then search for the first ld in PATH.
11009 with_gnu_ld=unknown
11011 esac
11012 elif test "$with_gnu_ld" = yes; then
11013 echo "$as_me:$LINENO: checking for GNU ld" >&5
11014 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11015 else
11016 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11017 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11019 if test "${lt_cv_path_LD+set}" = set; then
11020 echo $ECHO_N "(cached) $ECHO_C" >&6
11021 else
11022 if test -z "$LD"; then
11023 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11024 for ac_dir in $PATH; do
11025 IFS="$lt_save_ifs"
11026 test -z "$ac_dir" && ac_dir=.
11027 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11028 lt_cv_path_LD="$ac_dir/$ac_prog"
11029 # Check to see if the program is GNU ld. I'd rather use --version,
11030 # but apparently some variants of GNU ld only accept -v.
11031 # Break only if it was the GNU/non-GNU ld that we prefer.
11032 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11033 *GNU* | *'with BFD'*)
11034 test "$with_gnu_ld" != no && break
11037 test "$with_gnu_ld" != yes && break
11039 esac
11041 done
11042 IFS="$lt_save_ifs"
11043 else
11044 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11048 LD="$lt_cv_path_LD"
11049 if test -n "$LD"; then
11050 echo "$as_me:$LINENO: result: $LD" >&5
11051 echo "${ECHO_T}$LD" >&6
11052 else
11053 echo "$as_me:$LINENO: result: no" >&5
11054 echo "${ECHO_T}no" >&6
11056 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11057 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11058 { (exit 1); exit 1; }; }
11059 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11060 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11061 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11062 echo $ECHO_N "(cached) $ECHO_C" >&6
11063 else
11064 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11065 case `$LD -v 2>&1 </dev/null` in
11066 *GNU* | *'with BFD'*)
11067 lt_cv_prog_gnu_ld=yes
11070 lt_cv_prog_gnu_ld=no
11072 esac
11074 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11075 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11076 with_gnu_ld=$lt_cv_prog_gnu_ld
11084 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11085 # archiving commands below assume that GNU ld is being used.
11086 if test "$with_gnu_ld" = yes; then
11087 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11088 archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11090 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11091 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11093 # If archive_cmds runs LD, not CC, wlarc should be empty
11094 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11095 # investigate it a little bit more. (MM)
11096 wlarc='${wl}'
11098 # ancient GNU ld didn't support --whole-archive et. al.
11099 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11100 $GREP 'no-whole-archive' > /dev/null; then
11101 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11102 else
11103 whole_archive_flag_spec_CXX=
11105 else
11106 with_gnu_ld=no
11107 wlarc=
11109 # A generic and very simple default shared library creation
11110 # command for GNU C++ for the case where it uses the native
11111 # linker, instead of GNU ld. If possible, this setting should
11112 # overridden to take advantage of the native linker features on
11113 # the platform it is being used on.
11114 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11117 # Commands to make compiler produce verbose output that lists
11118 # what "hidden" libraries, object files and flags are used when
11119 # linking a shared library.
11120 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11122 else
11123 GXX=no
11124 with_gnu_ld=no
11125 wlarc=
11128 # PORTME: fill in a description of your system's C++ link characteristics
11129 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11130 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11131 ld_shlibs_CXX=yes
11132 case $host_os in
11133 aix3*)
11134 # FIXME: insert proper C++ library support
11135 ld_shlibs_CXX=no
11137 aix[4-9]*)
11138 if test "$host_cpu" = ia64; then
11139 # On IA64, the linker does run time linking by default, so we don't
11140 # have to do anything special.
11141 aix_use_runtimelinking=no
11142 exp_sym_flag='-Bexport'
11143 no_entry_flag=""
11144 else
11145 aix_use_runtimelinking=no
11147 # Test if we are trying to use run time linking or normal
11148 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11149 # need to do runtime linking.
11150 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11151 for ld_flag in $LDFLAGS; do
11152 case $ld_flag in
11153 *-brtl*)
11154 aix_use_runtimelinking=yes
11155 break
11157 esac
11158 done
11160 esac
11162 exp_sym_flag='-bexport'
11163 no_entry_flag='-bnoentry'
11166 # When large executables or shared objects are built, AIX ld can
11167 # have problems creating the table of contents. If linking a library
11168 # or program results in "error TOC overflow" add -mminimal-toc to
11169 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11170 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11172 archive_cmds_CXX=''
11173 hardcode_direct_CXX=yes
11174 hardcode_direct_absolute_CXX=yes
11175 hardcode_libdir_separator_CXX=':'
11176 link_all_deplibs_CXX=yes
11177 file_list_spec_CXX='${wl}-f,'
11179 if test "$GXX" = yes; then
11180 case $host_os in aix4.[012]|aix4.[012].*)
11181 # We only want to do this on AIX 4.2 and lower, the check
11182 # below for broken collect2 doesn't work under 4.3+
11183 collect2name=`${CC} -print-prog-name=collect2`
11184 if test -f "$collect2name" &&
11185 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11186 then
11187 # We have reworked collect2
11189 else
11190 # We have old collect2
11191 hardcode_direct_CXX=unsupported
11192 # It fails to find uninstalled libraries when the uninstalled
11193 # path is not listed in the libpath. Setting hardcode_minus_L
11194 # to unsupported forces relinking
11195 hardcode_minus_L_CXX=yes
11196 hardcode_libdir_flag_spec_CXX='-L$libdir'
11197 hardcode_libdir_separator_CXX=
11199 esac
11200 shared_flag='-shared'
11201 if test "$aix_use_runtimelinking" = yes; then
11202 shared_flag="$shared_flag "'${wl}-G'
11204 else
11205 # not using gcc
11206 if test "$host_cpu" = ia64; then
11207 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11208 # chokes on -Wl,-G. The following line is correct:
11209 shared_flag='-G'
11210 else
11211 if test "$aix_use_runtimelinking" = yes; then
11212 shared_flag='${wl}-G'
11213 else
11214 shared_flag='${wl}-bM:SRE'
11219 # It seems that -bexpall does not export symbols beginning with
11220 # underscore (_), so it is better to generate a list of symbols to
11221 # export.
11222 always_export_symbols_CXX=yes
11223 if test "$aix_use_runtimelinking" = yes; then
11224 # Warning - without using the other runtime loading flags (-brtl),
11225 # -berok will link without error, but may produce a broken library.
11226 allow_undefined_flag_CXX='-berok'
11227 # Determine the default libpath from the value encoded in an empty
11228 # executable.
11229 if test x$gcc_no_link = xyes; then
11230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11232 { (exit 1); exit 1; }; }
11234 cat >conftest.$ac_ext <<_ACEOF
11235 /* confdefs.h. */
11236 _ACEOF
11237 cat confdefs.h >>conftest.$ac_ext
11238 cat >>conftest.$ac_ext <<_ACEOF
11239 /* end confdefs.h. */
11242 main ()
11246 return 0;
11248 _ACEOF
11249 rm -f conftest.$ac_objext conftest$ac_exeext
11250 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11251 (eval $ac_link) 2>conftest.er1
11252 ac_status=$?
11253 grep -v '^ *+' conftest.er1 >conftest.err
11254 rm -f conftest.er1
11255 cat conftest.err >&5
11256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11257 (exit $ac_status); } &&
11258 { ac_try='test -z "$ac_cxx_werror_flag"
11259 || test ! -s conftest.err'
11260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11261 (eval $ac_try) 2>&5
11262 ac_status=$?
11263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11264 (exit $ac_status); }; } &&
11265 { ac_try='test -s conftest$ac_exeext'
11266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11267 (eval $ac_try) 2>&5
11268 ac_status=$?
11269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11270 (exit $ac_status); }; }; then
11272 lt_aix_libpath_sed='
11273 /Import File Strings/,/^$/ {
11274 /^0/ {
11275 s/^0 *\(.*\)$/\1/
11279 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11280 # Check for a 64-bit object if we didn't find anything.
11281 if test -z "$aix_libpath"; then
11282 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11284 else
11285 echo "$as_me: failed program was:" >&5
11286 sed 's/^/| /' conftest.$ac_ext >&5
11289 rm -f conftest.err conftest.$ac_objext \
11290 conftest$ac_exeext conftest.$ac_ext
11291 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11293 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11295 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
11296 else
11297 if test "$host_cpu" = ia64; then
11298 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
11299 allow_undefined_flag_CXX="-z nodefs"
11300 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
11301 else
11302 # Determine the default libpath from the value encoded in an
11303 # empty executable.
11304 if test x$gcc_no_link = xyes; then
11305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11307 { (exit 1); exit 1; }; }
11309 cat >conftest.$ac_ext <<_ACEOF
11310 /* confdefs.h. */
11311 _ACEOF
11312 cat confdefs.h >>conftest.$ac_ext
11313 cat >>conftest.$ac_ext <<_ACEOF
11314 /* end confdefs.h. */
11317 main ()
11321 return 0;
11323 _ACEOF
11324 rm -f conftest.$ac_objext conftest$ac_exeext
11325 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11326 (eval $ac_link) 2>conftest.er1
11327 ac_status=$?
11328 grep -v '^ *+' conftest.er1 >conftest.err
11329 rm -f conftest.er1
11330 cat conftest.err >&5
11331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11332 (exit $ac_status); } &&
11333 { ac_try='test -z "$ac_cxx_werror_flag"
11334 || test ! -s conftest.err'
11335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11336 (eval $ac_try) 2>&5
11337 ac_status=$?
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 (exit $ac_status); }; } &&
11340 { ac_try='test -s conftest$ac_exeext'
11341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11342 (eval $ac_try) 2>&5
11343 ac_status=$?
11344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11345 (exit $ac_status); }; }; then
11347 lt_aix_libpath_sed='
11348 /Import File Strings/,/^$/ {
11349 /^0/ {
11350 s/^0 *\(.*\)$/\1/
11354 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11355 # Check for a 64-bit object if we didn't find anything.
11356 if test -z "$aix_libpath"; then
11357 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11359 else
11360 echo "$as_me: failed program was:" >&5
11361 sed 's/^/| /' conftest.$ac_ext >&5
11364 rm -f conftest.err conftest.$ac_objext \
11365 conftest$ac_exeext conftest.$ac_ext
11366 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11368 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11369 # Warning - without using the other run time loading flags,
11370 # -berok will link without error, but may produce a broken library.
11371 no_undefined_flag_CXX=' ${wl}-bernotok'
11372 allow_undefined_flag_CXX=' ${wl}-berok'
11373 # Exported symbols can be pulled into shared objects from archives
11374 whole_archive_flag_spec_CXX='$convenience'
11375 archive_cmds_need_lc_CXX=yes
11376 # This is similar to how AIX traditionally builds its shared
11377 # libraries.
11378 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
11383 beos*)
11384 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11385 allow_undefined_flag_CXX=unsupported
11386 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11387 # support --undefined. This deserves some investigation. FIXME
11388 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11389 else
11390 ld_shlibs_CXX=no
11394 chorus*)
11395 case $cc_basename in
11397 # FIXME: insert proper C++ library support
11398 ld_shlibs_CXX=no
11400 esac
11403 cygwin* | mingw* | pw32*)
11404 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
11405 # as there is no search path for DLLs.
11406 hardcode_libdir_flag_spec_CXX='-L$libdir'
11407 allow_undefined_flag_CXX=unsupported
11408 always_export_symbols_CXX=no
11409 enable_shared_with_static_runtimes_CXX=yes
11411 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11412 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11413 # If the export-symbols file already is a .def file (1st line
11414 # is EXPORTS), use it as is; otherwise, prepend...
11415 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11416 cp $export_symbols $output_objdir/$soname.def;
11417 else
11418 echo EXPORTS > $output_objdir/$soname.def;
11419 cat $export_symbols >> $output_objdir/$soname.def;
11421 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11422 else
11423 ld_shlibs_CXX=no
11426 darwin* | rhapsody*)
11427 case $host_os in
11428 rhapsody* | darwin1.[012])
11429 allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
11431 *) # Darwin 1.3 on
11432 case ${MACOSX_DEPLOYMENT_TARGET-10.0} in
11433 10.[012])
11434 allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
11436 10.*)
11437 allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
11439 esac
11441 esac
11442 archive_cmds_need_lc_CXX=no
11443 hardcode_direct_CXX=no
11444 hardcode_automatic_CXX=yes
11445 hardcode_shlibpath_var_CXX=unsupported
11446 whole_archive_flag_spec_CXX=''
11447 link_all_deplibs_CXX=yes
11449 if test "$GXX" = yes ; then
11450 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
11451 echo $ECHO_N "(cached) $ECHO_C" >&6
11452 else
11453 lt_cv_apple_cc_single_mod=no
11454 if test -z "${LT_MULTI_MODULE}"; then
11455 # By default we will add the -single_module flag. You can override
11456 # by either setting the environment variable LT_MULTI_MODULE
11457 # non-empty at configure time, or by adding -multi-module to the
11458 # link flags.
11459 echo "int foo(void){return 1;}" > conftest.c
11460 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
11461 -dynamiclib ${wl}-single_module conftest.c
11462 if test -f libconftest.dylib; then
11463 lt_cv_apple_cc_single_mod=yes
11464 rm libconftest.dylib
11466 rm conftest.$ac_ext
11470 output_verbose_link_cmd=echo
11471 if test "X$lt_cv_apple_cc_single_mod" = Xyes ; then
11472 archive_cmds_CXX='$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11473 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11474 else
11475 archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
11476 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11478 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11479 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11480 else
11481 case $cc_basename in
11482 xlc*)
11483 output_verbose_link_cmd=echo
11484 archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`$ECHO "$rpath/$soname"` $verstring'
11485 module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11486 # Don't fix this by using the ld -exported_symbols_list flag,
11487 # it doesn't exist in older darwin lds
11488 archive_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11489 module_expsym_cmds_CXX='sed "s,^,_," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11492 ld_shlibs_CXX=no
11494 esac
11498 dgux*)
11499 case $cc_basename in
11500 ec++*)
11501 # FIXME: insert proper C++ library support
11502 ld_shlibs_CXX=no
11504 ghcx*)
11505 # Green Hills C++ Compiler
11506 # FIXME: insert proper C++ library support
11507 ld_shlibs_CXX=no
11510 # FIXME: insert proper C++ library support
11511 ld_shlibs_CXX=no
11513 esac
11516 freebsd[12]*)
11517 # C++ shared libraries reported to be fairly broken before
11518 # switch to ELF
11519 ld_shlibs_CXX=no
11522 freebsd-elf*)
11523 archive_cmds_need_lc_CXX=no
11526 freebsd* | dragonfly*)
11527 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
11528 # conventions
11529 ld_shlibs_CXX=yes
11532 gnu*)
11535 hpux9*)
11536 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11537 hardcode_libdir_separator_CXX=:
11538 export_dynamic_flag_spec_CXX='${wl}-E'
11539 hardcode_direct_CXX=yes
11540 hardcode_minus_L_CXX=yes # Not in the search PATH,
11541 # but as the default
11542 # location of the library.
11544 case $cc_basename in
11545 CC*)
11546 # FIXME: insert proper C++ library support
11547 ld_shlibs_CXX=no
11549 aCC*)
11550 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11551 # Commands to make compiler produce verbose output that lists
11552 # what "hidden" libraries, object files and flags are used when
11553 # linking a shared library.
11555 # There doesn't appear to be a way to prevent this compiler from
11556 # explicitly linking system object files so we need to strip them
11557 # from the output so that they don't get included in the library
11558 # dependencies.
11559 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11562 if test "$GXX" = yes; then
11563 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
11564 else
11565 # FIXME: insert proper C++ library support
11566 ld_shlibs_CXX=no
11569 esac
11572 hpux10*|hpux11*)
11573 if test $with_gnu_ld = no; then
11574 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
11575 hardcode_libdir_separator_CXX=:
11577 case $host_cpu in
11578 hppa*64*|ia64*)
11581 export_dynamic_flag_spec_CXX='${wl}-E'
11583 esac
11585 case $host_cpu in
11586 hppa*64*|ia64*)
11587 hardcode_direct_CXX=no
11588 hardcode_shlibpath_var_CXX=no
11591 hardcode_direct_CXX=yes
11592 hardcode_direct_absolute_CXX=yes
11593 hardcode_minus_L_CXX=yes # Not in the search PATH,
11594 # but as the default
11595 # location of the library.
11597 esac
11599 case $cc_basename in
11600 CC*)
11601 # FIXME: insert proper C++ library support
11602 ld_shlibs_CXX=no
11604 aCC*)
11605 case $host_cpu in
11606 hppa*64*)
11607 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11609 ia64*)
11610 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11613 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11615 esac
11616 # Commands to make compiler produce verbose output that lists
11617 # what "hidden" libraries, object files and flags are used when
11618 # linking a shared library.
11620 # There doesn't appear to be a way to prevent this compiler from
11621 # explicitly linking system object files so we need to strip them
11622 # from the output so that they don't get included in the library
11623 # dependencies.
11624 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11627 if test "$GXX" = yes; then
11628 if test $with_gnu_ld = no; then
11629 case $host_cpu in
11630 hppa*64*)
11631 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11633 ia64*)
11634 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11637 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11639 esac
11641 else
11642 # FIXME: insert proper C++ library support
11643 ld_shlibs_CXX=no
11646 esac
11649 interix[3-9]*)
11650 hardcode_direct_CXX=no
11651 hardcode_shlibpath_var_CXX=no
11652 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11653 export_dynamic_flag_spec_CXX='${wl}-E'
11654 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11655 # Instead, shared libraries are loaded at an image base (0x10000000 by
11656 # default) and relocated if they conflict, which is a slow very memory
11657 # consuming and fragmenting process. To avoid this, we pick a random,
11658 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11659 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11660 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11661 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11663 irix5* | irix6*)
11664 case $cc_basename in
11665 CC*)
11666 # SGI C++
11667 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11669 # Archives containing C++ object files must be created using
11670 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
11671 # necessary to make sure instantiated templates are included
11672 # in the archive.
11673 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
11676 if test "$GXX" = yes; then
11677 if test "$with_gnu_ld" = no; then
11678 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11679 else
11680 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
11683 link_all_deplibs_CXX=yes
11685 esac
11686 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11687 hardcode_libdir_separator_CXX=:
11688 inherit_rpath_CXX=yes
11691 linux* | k*bsd*-gnu)
11692 case $cc_basename in
11693 KCC*)
11694 # Kuck and Associates, Inc. (KAI) C++ Compiler
11696 # KCC will only create a shared library if the output file
11697 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11698 # to its proper name (with version) after linking.
11699 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11700 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
11701 # Commands to make compiler produce verbose output that lists
11702 # what "hidden" libraries, object files and flags are used when
11703 # linking a shared library.
11705 # There doesn't appear to be a way to prevent this compiler from
11706 # explicitly linking system object files so we need to strip them
11707 # from the output so that they don't get included in the library
11708 # dependencies.
11709 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11711 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11712 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11714 # Archives containing C++ object files must be created using
11715 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
11716 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
11718 icpc* | ecpc* )
11719 # Intel C++
11720 with_gnu_ld=yes
11721 # version 8.0 and above of icpc choke on multiply defined symbols
11722 # if we add $predep_objects and $postdep_objects, however 7.1 and
11723 # earlier do not add the objects themselves.
11724 case `$CC -V 2>&1` in
11725 *"Version 7."*)
11726 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11727 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11729 *) # Version 8.0 or newer
11730 tmp_idyn=
11731 case $host_cpu in
11732 ia64*) tmp_idyn=' -i_dynamic';;
11733 esac
11734 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11735 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11737 esac
11738 archive_cmds_need_lc_CXX=no
11739 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11740 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11741 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
11743 pgCC*)
11744 # Portland Group C++ compiler
11745 case `$CC -V` in
11746 *pgCC\ [1-5]*)
11747 prelink_cmds_CXX='tpldir=Template.dir~
11748 rm -rf $tpldir~
11749 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
11750 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
11751 old_archive_cmds_CXX='tpldir=Template.dir~
11752 rm -rf $tpldir~
11753 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
11754 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
11755 $RANLIB $oldlib'
11756 archive_cmds_CXX='tpldir=Template.dir~
11757 rm -rf $tpldir~
11758 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11759 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11760 archive_expsym_cmds_CXX='tpldir=Template.dir~
11761 rm -rf $tpldir~
11762 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
11763 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11765 *) # Version 6 will use weak symbols
11766 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
11767 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
11769 esac
11771 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
11772 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11773 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11775 cxx*)
11776 # Compaq C++
11777 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11778 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
11780 runpath_var=LD_RUN_PATH
11781 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11782 hardcode_libdir_separator_CXX=:
11784 # Commands to make compiler produce verbose output that lists
11785 # what "hidden" libraries, object files and flags are used when
11786 # linking a shared library.
11788 # There doesn't appear to be a way to prevent this compiler from
11789 # explicitly linking system object files so we need to strip them
11790 # from the output so that they don't get included in the library
11791 # dependencies.
11792 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11795 case `$CC -V 2>&1 | sed 5q` in
11796 *Sun\ C*)
11797 # Sun C++ 5.9
11798 no_undefined_flag_CXX=' -zdefs'
11799 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11800 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
11801 hardcode_libdir_flag_spec_CXX='-R$libdir'
11802 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
11803 compiler_needs_object_CXX=yes
11805 # Not sure whether something based on
11806 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
11807 # would be better.
11808 output_verbose_link_cmd='echo'
11810 # Archives containing C++ object files must be created using
11811 # "CC -xar", where "CC" is the Sun C++ compiler. This is
11812 # necessary to make sure instantiated templates are included
11813 # in the archive.
11814 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
11816 esac
11818 esac
11821 lynxos*)
11822 # FIXME: insert proper C++ library support
11823 ld_shlibs_CXX=no
11826 m88k*)
11827 # FIXME: insert proper C++ library support
11828 ld_shlibs_CXX=no
11831 mvs*)
11832 case $cc_basename in
11833 cxx*)
11834 # FIXME: insert proper C++ library support
11835 ld_shlibs_CXX=no
11838 # FIXME: insert proper C++ library support
11839 ld_shlibs_CXX=no
11841 esac
11844 netbsd*)
11845 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11846 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
11847 wlarc=
11848 hardcode_libdir_flag_spec_CXX='-R$libdir'
11849 hardcode_direct_CXX=yes
11850 hardcode_shlibpath_var_CXX=no
11852 # Workaround some broken pre-1.5 toolchains
11853 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
11856 *nto* | *qnx*)
11857 ld_shlibs_CXX=yes
11860 openbsd2*)
11861 # C++ shared libraries are fairly broken
11862 ld_shlibs_CXX=no
11865 openbsd*)
11866 hardcode_direct_CXX=yes
11867 hardcode_shlibpath_var_CXX=no
11868 hardcode_direct_absolute_CXX=yes
11869 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11870 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11871 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11872 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
11873 export_dynamic_flag_spec_CXX='${wl}-E'
11874 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11876 output_verbose_link_cmd=echo
11879 osf3* | osf4* | osf5*)
11880 case $cc_basename in
11881 KCC*)
11882 # Kuck and Associates, Inc. (KAI) C++ Compiler
11884 # KCC will only create a shared library if the output file
11885 # ends with ".so" (or ".sl" for HP-UX), so rename the library
11886 # to its proper name (with version) after linking.
11887 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
11889 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11890 hardcode_libdir_separator_CXX=:
11892 # Archives containing C++ object files must be created using
11893 # the KAI C++ compiler.
11894 case $host in
11895 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
11896 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
11897 esac
11899 RCC*)
11900 # Rational C++ 2.4.1
11901 # FIXME: insert proper C++ library support
11902 ld_shlibs_CXX=no
11904 cxx*)
11905 case $host in
11906 osf3*)
11907 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11908 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11909 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11912 allow_undefined_flag_CXX=' -expect_unresolved \*'
11913 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
11914 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
11915 echo "-hidden">> $lib.exp~
11916 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
11917 $RM $lib.exp'
11918 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
11920 esac
11922 hardcode_libdir_separator_CXX=:
11924 # Commands to make compiler produce verbose output that lists
11925 # what "hidden" libraries, object files and flags are used when
11926 # linking a shared library.
11928 # There doesn't appear to be a way to prevent this compiler from
11929 # explicitly linking system object files so we need to strip them
11930 # from the output so that they don't get included in the library
11931 # dependencies.
11932 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
11935 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
11936 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
11937 case $host in
11938 osf3*)
11939 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11942 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
11944 esac
11946 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11947 hardcode_libdir_separator_CXX=:
11949 # Commands to make compiler produce verbose output that lists
11950 # what "hidden" libraries, object files and flags are used when
11951 # linking a shared library.
11952 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11954 else
11955 # FIXME: insert proper C++ library support
11956 ld_shlibs_CXX=no
11959 esac
11962 psos*)
11963 # FIXME: insert proper C++ library support
11964 ld_shlibs_CXX=no
11967 sunos4*)
11968 case $cc_basename in
11969 CC*)
11970 # Sun C++ 4.x
11971 # FIXME: insert proper C++ library support
11972 ld_shlibs_CXX=no
11974 lcc*)
11975 # Lucid
11976 # FIXME: insert proper C++ library support
11977 ld_shlibs_CXX=no
11980 # FIXME: insert proper C++ library support
11981 ld_shlibs_CXX=no
11983 esac
11986 solaris*)
11987 case $cc_basename in
11988 CC*)
11989 # Sun C++ 4.2, 5.x and Centerline C++
11990 archive_cmds_need_lc_CXX=yes
11991 no_undefined_flag_CXX=' -zdefs'
11992 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
11993 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
11994 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
11996 hardcode_libdir_flag_spec_CXX='-R$libdir'
11997 hardcode_shlibpath_var_CXX=no
11998 case $host_os in
11999 solaris2.[0-5] | solaris2.[0-5].*) ;;
12001 # The compiler driver will combine and reorder linker options,
12002 # but understands `-z linker_flag'.
12003 # Supported since Solaris 2.6 (maybe 2.5.1?)
12004 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12006 esac
12007 link_all_deplibs_CXX=yes
12009 output_verbose_link_cmd='echo'
12011 # Archives containing C++ object files must be created using
12012 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12013 # necessary to make sure instantiated templates are included
12014 # in the archive.
12015 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12017 gcx*)
12018 # Green Hills C++ Compiler
12019 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12021 # The C++ compiler must be used to create the archive.
12022 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12025 # GNU C++ compiler with Solaris linker
12026 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12027 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12028 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12029 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12030 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12031 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12033 # Commands to make compiler produce verbose output that lists
12034 # what "hidden" libraries, object files and flags are used when
12035 # linking a shared library.
12036 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12037 else
12038 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12039 # platform.
12040 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12041 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12042 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12044 # Commands to make compiler produce verbose output that lists
12045 # what "hidden" libraries, object files and flags are used when
12046 # linking a shared library.
12047 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12050 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12051 case $host_os in
12052 solaris2.[0-5] | solaris2.[0-5].*) ;;
12054 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12056 esac
12059 esac
12062 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12063 no_undefined_flag_CXX='${wl}-z,text'
12064 archive_cmds_need_lc_CXX=no
12065 hardcode_shlibpath_var_CXX=no
12066 runpath_var='LD_RUN_PATH'
12068 case $cc_basename in
12069 CC*)
12070 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12071 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12074 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12075 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12077 esac
12080 sysv5* | sco3.2v5* | sco5v6*)
12081 # Note: We can NOT use -z defs as we might desire, because we do not
12082 # link with -lc, and that would cause any symbols used from libc to
12083 # always be unresolved, which means just about no library would
12084 # ever link correctly. If we're not using GNU ld we use -z text
12085 # though, which does catch some bad symbols but isn't as heavy-handed
12086 # as -z defs.
12087 no_undefined_flag_CXX='${wl}-z,text'
12088 allow_undefined_flag_CXX='${wl}-z,nodefs'
12089 archive_cmds_need_lc_CXX=no
12090 hardcode_shlibpath_var_CXX=no
12091 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12092 hardcode_libdir_separator_CXX=':'
12093 link_all_deplibs_CXX=yes
12094 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12095 runpath_var='LD_RUN_PATH'
12097 case $cc_basename in
12098 CC*)
12099 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12100 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12103 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12104 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12106 esac
12109 tandem*)
12110 case $cc_basename in
12111 NCC*)
12112 # NonStop-UX NCC 3.20
12113 # FIXME: insert proper C++ library support
12114 ld_shlibs_CXX=no
12117 # FIXME: insert proper C++ library support
12118 ld_shlibs_CXX=no
12120 esac
12123 vxworks*)
12124 # FIXME: insert proper C++ library support
12125 ld_shlibs_CXX=no
12129 # FIXME: insert proper C++ library support
12130 ld_shlibs_CXX=no
12132 esac
12134 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12135 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12136 test "$ld_shlibs_CXX" = no && can_build_shared=no
12138 GCC_CXX="$GXX"
12139 LD_CXX="$LD"
12141 ## CAVEAT EMPTOR:
12142 ## There is no encapsulation within the following macros, do not change
12143 ## the running order or otherwise move them around unless you know exactly
12144 ## what you are doing...
12145 # Dependencies to place before and after the object being linked:
12146 predep_objects_CXX=
12147 postdep_objects_CXX=
12148 predeps_CXX=
12149 postdeps_CXX=
12150 compiler_lib_search_path_CXX=
12152 cat > conftest.$ac_ext <<_LT_EOF
12153 class Foo
12155 public:
12156 Foo (void) { a = 0; }
12157 private:
12158 int a;
12160 _LT_EOF
12162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12163 (eval $ac_compile) 2>&5
12164 ac_status=$?
12165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12166 (exit $ac_status); }; then
12167 # Parse the compiler output and extract the necessary
12168 # objects, libraries and library flags.
12170 # Sentinel used to keep track of whether or not we are before
12171 # the conftest object file.
12172 pre_test_object_deps_done=no
12174 # The `*' in the case matches for architectures that use `case' in
12175 # $output_verbose_cmd can trigger glob expansion during the loop
12176 # eval without this substitution.
12177 output_verbose_link_cmd=`$ECHO "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
12179 for p in `eval $output_verbose_link_cmd`; do
12180 case $p in
12182 -L* | -R* | -l*)
12183 # Some compilers place space between "-{L,R}" and the path.
12184 # Remove the space.
12185 if test $p = "-L" ||
12186 test $p = "-R"; then
12187 prev=$p
12188 continue
12189 else
12190 prev=
12193 if test "$pre_test_object_deps_done" = no; then
12194 case $p in
12195 -L* | -R*)
12196 # Internal compiler library paths should come after those
12197 # provided the user. The postdeps already come after the
12198 # user supplied libs so there is no need to process them.
12199 if test -z "$compiler_lib_search_path_CXX"; then
12200 compiler_lib_search_path_CXX="${prev}${p}"
12201 else
12202 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12205 # The "-l" case would never come before the object being
12206 # linked, so don't bother handling this case.
12207 esac
12208 else
12209 if test -z "$postdeps_CXX"; then
12210 postdeps_CXX="${prev}${p}"
12211 else
12212 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12217 *.$objext)
12218 # This assumes that the test object file only shows up
12219 # once in the compiler output.
12220 if test "$p" = "conftest.$objext"; then
12221 pre_test_object_deps_done=yes
12222 continue
12225 if test "$pre_test_object_deps_done" = no; then
12226 if test -z "$predep_objects_CXX"; then
12227 predep_objects_CXX="$p"
12228 else
12229 predep_objects_CXX="$predep_objects_CXX $p"
12231 else
12232 if test -z "$postdep_objects_CXX"; then
12233 postdep_objects_CXX="$p"
12234 else
12235 postdep_objects_CXX="$postdep_objects_CXX $p"
12240 *) ;; # Ignore the rest.
12242 esac
12243 done
12245 # Clean up.
12246 rm -f a.out a.exe
12247 else
12248 echo "libtool.m4: error: problem compiling CXX test program"
12251 $RM -f confest.$objext
12253 # PORTME: override above test on systems where it is broken
12254 case $host_os in
12255 interix[3-9]*)
12256 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12257 # hack all around it, let's just trust "g++" to DTRT.
12258 predep_objects_CXX=
12259 postdep_objects_CXX=
12260 postdeps_CXX=
12263 linux*)
12264 case `$CC -V 2>&1 | sed 5q` in
12265 *Sun\ C*)
12266 # Sun C++ 5.9
12268 # The more standards-conforming stlport4 library is
12269 # incompatible with the Cstd library. Avoid specifying
12270 # it if it's in CXXFLAGS. Ignore libCrun as
12271 # -library=stlport4 depends on it.
12272 case " $CXX $CXXFLAGS " in
12273 *" -library=stlport4 "*)
12274 solaris_use_stlport4=yes
12276 esac
12278 if test "$solaris_use_stlport4" != yes; then
12279 postdeps_CXX='-library=Cstd -library=Crun'
12282 esac
12285 solaris*)
12286 case $cc_basename in
12287 CC*)
12288 # The more standards-conforming stlport4 library is
12289 # incompatible with the Cstd library. Avoid specifying
12290 # it if it's in CXXFLAGS. Ignore libCrun as
12291 # -library=stlport4 depends on it.
12292 case " $CXX $CXXFLAGS " in
12293 *" -library=stlport4 "*)
12294 solaris_use_stlport4=yes
12296 esac
12298 # Adding this requires a known-good setup of shared libraries for
12299 # Sun compiler versions before 5.6, else PIC objects from an old
12300 # archive will be linked into the output, leading to subtle bugs.
12301 if test "$solaris_use_stlport4" != yes; then
12302 postdeps_CXX='-library=Cstd -library=Crun'
12305 esac
12307 esac
12310 case " $postdeps_CXX " in
12311 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12312 esac
12339 lt_prog_compiler_wl_CXX=
12340 lt_prog_compiler_pic_CXX=
12341 lt_prog_compiler_static_CXX=
12343 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
12344 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
12346 # C++ specific cases for pic, static, wl, etc.
12347 if test "$GXX" = yes; then
12348 lt_prog_compiler_wl_CXX='-Wl,'
12349 lt_prog_compiler_static_CXX='-static'
12351 case $host_os in
12352 aix*)
12353 # All AIX code is PIC.
12354 if test "$host_cpu" = ia64; then
12355 # AIX 5 now supports IA64 processor
12356 lt_prog_compiler_static_CXX='-Bstatic'
12359 amigaos*)
12360 if test "$host_cpu" = m68k; then
12361 # FIXME: we need at least 68020 code to build shared libraries, but
12362 # adding the `-m68020' flag to GCC prevents building anything better,
12363 # like `-m68040'.
12364 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12367 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12368 # PIC is the default for these OSes.
12370 mingw* | cygwin* | os2* | pw32*)
12371 # This hack is so that the source file can tell whether it is being
12372 # built for inclusion in a dll (and should export symbols for example).
12373 # Although the cygwin gcc ignores -fPIC, still need this for old-style
12374 # (--disable-auto-import) libraries
12375 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12377 darwin* | rhapsody*)
12378 # PIC is the default on this platform
12379 # Common symbols not allowed in MH_DYLIB files
12380 lt_prog_compiler_pic_CXX='-fno-common'
12382 *djgpp*)
12383 # DJGPP does not support shared libraries at all
12384 lt_prog_compiler_pic_CXX=
12386 interix[3-9]*)
12387 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12388 # Instead, we relocate shared libraries at runtime.
12390 sysv4*MP*)
12391 if test -d /usr/nec; then
12392 lt_prog_compiler_pic_CXX=-Kconform_pic
12395 hpux*)
12396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
12397 # not for PA HP-UX.
12398 case $host_cpu in
12399 hppa*64*|ia64*)
12402 lt_prog_compiler_pic_CXX='-fPIC'
12404 esac
12406 *qnx* | *nto*)
12407 # QNX uses GNU C++, but need to define -shared option too, otherwise
12408 # it will coredump.
12409 lt_prog_compiler_pic_CXX='-fPIC -shared'
12412 lt_prog_compiler_pic_CXX='-fPIC'
12414 esac
12415 else
12416 case $host_os in
12417 aix[4-9]*)
12418 # All AIX code is PIC.
12419 if test "$host_cpu" = ia64; then
12420 # AIX 5 now supports IA64 processor
12421 lt_prog_compiler_static_CXX='-Bstatic'
12422 else
12423 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
12426 chorus*)
12427 case $cc_basename in
12428 cxch68*)
12429 # Green Hills C++ Compiler
12430 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
12432 esac
12434 darwin*)
12435 # PIC is the default on this platform
12436 # Common symbols not allowed in MH_DYLIB files
12437 case $cc_basename in
12438 xlc*)
12439 lt_prog_compiler_pic_CXX='-qnocommon'
12440 lt_prog_compiler_wl_CXX='-Wl,'
12442 esac
12444 dgux*)
12445 case $cc_basename in
12446 ec++*)
12447 lt_prog_compiler_pic_CXX='-KPIC'
12449 ghcx*)
12450 # Green Hills C++ Compiler
12451 lt_prog_compiler_pic_CXX='-pic'
12455 esac
12457 freebsd* | dragonfly*)
12458 # FreeBSD uses GNU C++
12460 hpux9* | hpux10* | hpux11*)
12461 case $cc_basename in
12462 CC*)
12463 lt_prog_compiler_wl_CXX='-Wl,'
12464 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12465 if test "$host_cpu" != ia64; then
12466 lt_prog_compiler_pic_CXX='+Z'
12469 aCC*)
12470 lt_prog_compiler_wl_CXX='-Wl,'
12471 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
12472 case $host_cpu in
12473 hppa*64*|ia64*)
12474 # +Z the default
12477 lt_prog_compiler_pic_CXX='+Z'
12479 esac
12483 esac
12485 interix*)
12486 # This is c89, which is MS Visual C++ (no shared libs)
12487 # Anyone wants to do a port?
12489 irix5* | irix6* | nonstopux*)
12490 case $cc_basename in
12491 CC*)
12492 lt_prog_compiler_wl_CXX='-Wl,'
12493 lt_prog_compiler_static_CXX='-non_shared'
12494 # CC pic flag -KPIC is the default.
12498 esac
12500 linux* | k*bsd*-gnu)
12501 case $cc_basename in
12502 KCC*)
12503 # KAI C++ Compiler
12504 lt_prog_compiler_wl_CXX='--backend -Wl,'
12505 lt_prog_compiler_pic_CXX='-fPIC'
12507 icpc* | ecpc* )
12508 # Intel C++
12509 lt_prog_compiler_wl_CXX='-Wl,'
12510 lt_prog_compiler_pic_CXX='-KPIC'
12511 lt_prog_compiler_static_CXX='-static'
12513 pgCC*)
12514 # Portland Group C++ compiler
12515 lt_prog_compiler_wl_CXX='-Wl,'
12516 lt_prog_compiler_pic_CXX='-fpic'
12517 lt_prog_compiler_static_CXX='-Bstatic'
12519 cxx*)
12520 # Compaq C++
12521 # Make sure the PIC flag is empty. It appears that all Alpha
12522 # Linux and Compaq Tru64 Unix objects are PIC.
12523 lt_prog_compiler_pic_CXX=
12524 lt_prog_compiler_static_CXX='-non_shared'
12527 case `$CC -V 2>&1 | sed 5q` in
12528 *Sun\ C*)
12529 # Sun C++ 5.9
12530 lt_prog_compiler_pic_CXX='-KPIC'
12531 lt_prog_compiler_static_CXX='-Bstatic'
12532 lt_prog_compiler_wl_CXX='-Qoption ld '
12534 esac
12536 esac
12538 lynxos*)
12540 m88k*)
12542 mvs*)
12543 case $cc_basename in
12544 cxx*)
12545 lt_prog_compiler_pic_CXX='-W c,exportall'
12549 esac
12551 netbsd*)
12553 *qnx* | *nto*)
12554 # QNX uses GNU C++, but need to define -shared option too, otherwise
12555 # it will coredump.
12556 lt_prog_compiler_pic_CXX='-fPIC -shared'
12558 osf3* | osf4* | osf5*)
12559 case $cc_basename in
12560 KCC*)
12561 lt_prog_compiler_wl_CXX='--backend -Wl,'
12563 RCC*)
12564 # Rational C++ 2.4.1
12565 lt_prog_compiler_pic_CXX='-pic'
12567 cxx*)
12568 # Digital/Compaq C++
12569 lt_prog_compiler_wl_CXX='-Wl,'
12570 # Make sure the PIC flag is empty. It appears that all Alpha
12571 # Linux and Compaq Tru64 Unix objects are PIC.
12572 lt_prog_compiler_pic_CXX=
12573 lt_prog_compiler_static_CXX='-non_shared'
12577 esac
12579 psos*)
12581 solaris*)
12582 case $cc_basename in
12583 CC*)
12584 # Sun C++ 4.2, 5.x and Centerline C++
12585 lt_prog_compiler_pic_CXX='-KPIC'
12586 lt_prog_compiler_static_CXX='-Bstatic'
12587 lt_prog_compiler_wl_CXX='-Qoption ld '
12589 gcx*)
12590 # Green Hills C++ Compiler
12591 lt_prog_compiler_pic_CXX='-PIC'
12595 esac
12597 sunos4*)
12598 case $cc_basename in
12599 CC*)
12600 # Sun C++ 4.x
12601 lt_prog_compiler_pic_CXX='-pic'
12602 lt_prog_compiler_static_CXX='-Bstatic'
12604 lcc*)
12605 # Lucid
12606 lt_prog_compiler_pic_CXX='-pic'
12610 esac
12612 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
12613 case $cc_basename in
12614 CC*)
12615 lt_prog_compiler_wl_CXX='-Wl,'
12616 lt_prog_compiler_pic_CXX='-KPIC'
12617 lt_prog_compiler_static_CXX='-Bstatic'
12619 esac
12621 tandem*)
12622 case $cc_basename in
12623 NCC*)
12624 # NonStop-UX NCC 3.20
12625 lt_prog_compiler_pic_CXX='-KPIC'
12629 esac
12631 vxworks*)
12634 lt_prog_compiler_can_build_shared_CXX=no
12636 esac
12639 case $host_os in
12640 # For platforms which do not support PIC, -DPIC is meaningless:
12641 *djgpp*)
12642 lt_prog_compiler_pic_CXX=
12645 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
12647 esac
12648 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
12649 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
12654 # Check to make sure the PIC flag actually works.
12656 if test -n "$lt_prog_compiler_pic_CXX"; then
12657 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
12658 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
12659 if test "${lt_prog_compiler_pic_works_CXX+set}" = set; then
12660 echo $ECHO_N "(cached) $ECHO_C" >&6
12661 else
12662 lt_prog_compiler_pic_works_CXX=no
12663 ac_outfile=conftest.$ac_objext
12664 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12665 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12666 # Insert the option either (1) after the last *FLAGS variable, or
12667 # (2) before a word containing "conftest.", or (3) at the end.
12668 # Note that $ac_compile itself does not contain backslashes and begins
12669 # with a dollar sign (not a hyphen), so the echo should work correctly.
12670 # The option is referenced via a variable to avoid confusing sed.
12671 lt_compile=`echo "$ac_compile" | $SED \
12672 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12673 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12674 -e 's:$: $lt_compiler_flag:'`
12675 (eval echo "\"\$as_me:12675: $lt_compile\"" >&5)
12676 (eval "$lt_compile" 2>conftest.err)
12677 ac_status=$?
12678 cat conftest.err >&5
12679 echo "$as_me:12679: \$? = $ac_status" >&5
12680 if (exit $ac_status) && test -s "$ac_outfile"; then
12681 # The compiler can only warn and ignore the option if not recognized
12682 # So say no if there are warnings other than the usual output.
12683 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
12684 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12685 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
12686 lt_prog_compiler_pic_works_CXX=yes
12689 $RM conftest*
12692 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_works_CXX" >&5
12693 echo "${ECHO_T}$lt_prog_compiler_pic_works_CXX" >&6
12695 if test x"$lt_prog_compiler_pic_works_CXX" = xyes; then
12696 case $lt_prog_compiler_pic_CXX in
12697 "" | " "*) ;;
12698 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
12699 esac
12700 else
12701 lt_prog_compiler_pic_CXX=
12702 lt_prog_compiler_can_build_shared_CXX=no
12710 # Check to make sure the static flag actually works.
12712 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
12713 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
12714 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
12715 if test "${lt_prog_compiler_static_works_CXX+set}" = set; then
12716 echo $ECHO_N "(cached) $ECHO_C" >&6
12717 else
12718 lt_prog_compiler_static_works_CXX=no
12719 save_LDFLAGS="$LDFLAGS"
12720 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12721 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12722 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12723 # The linker can only warn and ignore the option if not recognized
12724 # So say no if there are warnings
12725 if test -s conftest.err; then
12726 # Append any errors to the config.log.
12727 cat conftest.err 1>&5
12728 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
12729 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12730 if diff conftest.exp conftest.er2 >/dev/null; then
12731 lt_prog_compiler_static_works_CXX=yes
12733 else
12734 lt_prog_compiler_static_works_CXX=yes
12737 $RM conftest*
12738 LDFLAGS="$save_LDFLAGS"
12741 echo "$as_me:$LINENO: result: $lt_prog_compiler_static_works_CXX" >&5
12742 echo "${ECHO_T}$lt_prog_compiler_static_works_CXX" >&6
12744 if test x"$lt_prog_compiler_static_works_CXX" = xyes; then
12746 else
12747 lt_prog_compiler_static_CXX=
12753 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12754 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12755 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12756 echo $ECHO_N "(cached) $ECHO_C" >&6
12757 else
12758 lt_cv_prog_compiler_c_o_CXX=no
12759 $RM -r conftest 2>/dev/null
12760 mkdir conftest
12761 cd conftest
12762 mkdir out
12763 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12765 lt_compiler_flag="-o out/conftest2.$ac_objext"
12766 # Insert the option either (1) after the last *FLAGS variable, or
12767 # (2) before a word containing "conftest.", or (3) at the end.
12768 # Note that $ac_compile itself does not contain backslashes and begins
12769 # with a dollar sign (not a hyphen), so the echo should work correctly.
12770 lt_compile=`echo "$ac_compile" | $SED \
12771 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12772 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12773 -e 's:$: $lt_compiler_flag:'`
12774 (eval echo "\"\$as_me:12774: $lt_compile\"" >&5)
12775 (eval "$lt_compile" 2>out/conftest.err)
12776 ac_status=$?
12777 cat out/conftest.err >&5
12778 echo "$as_me:12778: \$? = $ac_status" >&5
12779 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12780 then
12781 # The compiler can only warn and ignore the option if not recognized
12782 # So say no if there are warnings
12783 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12784 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12785 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12786 lt_cv_prog_compiler_c_o_CXX=yes
12789 chmod u+w . 2>&5
12790 $RM conftest*
12791 # SGI C++ compiler will create directory out/ii_files/ for
12792 # template instantiation
12793 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12794 $RM out/* && rmdir out
12795 cd ..
12796 $RM -r conftest
12797 $RM conftest*
12800 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12801 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12805 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
12806 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
12807 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
12808 echo $ECHO_N "(cached) $ECHO_C" >&6
12809 else
12810 lt_cv_prog_compiler_c_o_CXX=no
12811 $RM -r conftest 2>/dev/null
12812 mkdir conftest
12813 cd conftest
12814 mkdir out
12815 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12817 lt_compiler_flag="-o out/conftest2.$ac_objext"
12818 # Insert the option either (1) after the last *FLAGS variable, or
12819 # (2) before a word containing "conftest.", or (3) at the end.
12820 # Note that $ac_compile itself does not contain backslashes and begins
12821 # with a dollar sign (not a hyphen), so the echo should work correctly.
12822 lt_compile=`echo "$ac_compile" | $SED \
12823 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12824 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12825 -e 's:$: $lt_compiler_flag:'`
12826 (eval echo "\"\$as_me:12826: $lt_compile\"" >&5)
12827 (eval "$lt_compile" 2>out/conftest.err)
12828 ac_status=$?
12829 cat out/conftest.err >&5
12830 echo "$as_me:12830: \$? = $ac_status" >&5
12831 if (exit $ac_status) && test -s out/conftest2.$ac_objext
12832 then
12833 # The compiler can only warn and ignore the option if not recognized
12834 # So say no if there are warnings
12835 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
12836 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
12837 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
12838 lt_cv_prog_compiler_c_o_CXX=yes
12841 chmod u+w . 2>&5
12842 $RM conftest*
12843 # SGI C++ compiler will create directory out/ii_files/ for
12844 # template instantiation
12845 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
12846 $RM out/* && rmdir out
12847 cd ..
12848 $RM -r conftest
12849 $RM conftest*
12852 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
12853 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
12858 hard_links="nottested"
12859 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
12860 # do not overwrite the value of need_locks provided by the user
12861 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
12862 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
12863 hard_links=yes
12864 $RM conftest*
12865 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12866 touch conftest.a
12867 ln conftest.a conftest.b 2>&5 || hard_links=no
12868 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12869 echo "$as_me:$LINENO: result: $hard_links" >&5
12870 echo "${ECHO_T}$hard_links" >&6
12871 if test "$hard_links" = no; then
12872 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
12873 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
12874 need_locks=warn
12876 else
12877 need_locks=no
12882 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12883 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
12885 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12886 case $host_os in
12887 aix[4-9]*)
12888 # If we're using GNU nm, then we don't want the "-C" option.
12889 # -C means demangle to AIX nm, but means don't demangle with GNU nm
12890 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12891 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12892 else
12893 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
12896 pw32*)
12897 export_symbols_cmds_CXX="$ltdll_cmds"
12899 cygwin* | mingw*)
12900 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
12903 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12905 esac
12907 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12908 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12909 test "$ld_shlibs_CXX" = no && can_build_shared=no
12911 with_gnu_ld_CXX=$with_gnu_ld
12919 # Do we need to explicitly link libc?
12921 case "x$archive_cmds_need_lc_CXX" in
12922 x|xyes)
12923 # Assume -lc should be added
12924 archive_cmds_need_lc_CXX=yes
12926 if test "$enable_shared" = yes && test "$GCC" = yes; then
12927 case $archive_cmds_CXX in
12928 *'~'*)
12929 # FIXME: we may have to deal with multi-command sequences.
12931 '$CC '*)
12932 # Test whether the compiler implicitly links with -lc since on some
12933 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12934 # to ld, don't add -lc before -lgcc.
12935 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12936 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
12937 $RM conftest*
12938 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12941 (eval $ac_compile) 2>&5
12942 ac_status=$?
12943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12944 (exit $ac_status); } 2>conftest.err; then
12945 soname=conftest
12946 lib=conftest
12947 libobjs=conftest.$ac_objext
12948 deplibs=
12949 wl=$lt_prog_compiler_wl_CXX
12950 pic_flag=$lt_prog_compiler_pic_CXX
12951 compiler_flags=-v
12952 linker_flags=-v
12953 verstring=
12954 output_objdir=.
12955 libname=conftest
12956 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
12957 allow_undefined_flag_CXX=
12958 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
12959 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12960 ac_status=$?
12961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12962 (exit $ac_status); }
12963 then
12964 archive_cmds_need_lc_CXX=no
12965 else
12966 archive_cmds_need_lc_CXX=yes
12968 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
12969 else
12970 cat conftest.err 1>&5
12972 $RM conftest*
12973 echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
12974 echo "${ECHO_T}$archive_cmds_need_lc_CXX" >&6
12976 esac
12979 esac
13044 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13045 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13046 withGCC=$GXX
13047 library_names_spec=
13048 libname_spec='lib$name'
13049 soname_spec=
13050 shrext_cmds=".so"
13051 postinstall_cmds=
13052 postuninstall_cmds=
13053 finish_cmds=
13054 finish_eval=
13055 shlibpath_var=
13056 shlibpath_overrides_runpath=unknown
13057 version_type=none
13058 dynamic_linker="$host_os ld.so"
13059 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13060 need_lib_prefix=unknown
13061 hardcode_into_libs=no
13063 # when you set need_version to no, make sure it does not cause -set_version
13064 # flags to be left without arguments
13065 need_version=unknown
13067 case $host_os in
13068 aix3*)
13069 version_type=linux
13070 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13071 shlibpath_var=LIBPATH
13073 # AIX 3 has no versioning support, so we append a major version to the name.
13074 soname_spec='${libname}${release}${shared_ext}$major'
13077 aix[4-9]*)
13078 version_type=linux
13079 need_lib_prefix=no
13080 need_version=no
13081 hardcode_into_libs=yes
13082 if test "$host_cpu" = ia64; then
13083 # AIX 5 supports IA64
13084 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13085 shlibpath_var=LD_LIBRARY_PATH
13086 else
13087 # With GCC up to 2.95.x, collect2 would create an import file
13088 # for dependence libraries. The import file would start with
13089 # the line `#! .'. This would cause the generated library to
13090 # depend on `.', always an invalid library. This was fixed in
13091 # development snapshots of GCC prior to 3.0.
13092 case $host_os in
13093 aix4 | aix4.[01] | aix4.[01].*)
13094 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13095 echo ' yes '
13096 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13098 else
13099 can_build_shared=no
13102 esac
13103 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13104 # soname into executable. Probably we can add versioning support to
13105 # collect2, so additional links can be useful in future.
13106 if test "$aix_use_runtimelinking" = yes; then
13107 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13108 # instead of lib<name>.a to let people know that these are not
13109 # typical AIX shared libraries.
13110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13111 else
13112 # We preserve .a as extension for shared libraries through AIX4.2
13113 # and later when we are not doing run time linking.
13114 library_names_spec='${libname}${release}.a $libname.a'
13115 soname_spec='${libname}${release}${shared_ext}$major'
13117 shlibpath_var=LIBPATH
13121 amigaos*)
13122 if test "$host_cpu" = m68k; then
13123 library_names_spec='$libname.ixlibrary $libname.a'
13124 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13125 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
13126 else
13127 dynamic_linker=no
13131 beos*)
13132 library_names_spec='${libname}${shared_ext}'
13133 dynamic_linker="$host_os ld.so"
13134 shlibpath_var=LIBRARY_PATH
13137 bsdi[45]*)
13138 version_type=linux
13139 need_version=no
13140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13141 soname_spec='${libname}${release}${shared_ext}$major'
13142 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13143 shlibpath_var=LD_LIBRARY_PATH
13144 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13145 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13146 # the default ld.so.conf also contains /usr/contrib/lib and
13147 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13148 # libtool to hard-code these into programs
13151 cygwin* | mingw* | pw32*)
13152 version_type=windows
13153 shrext_cmds=".dll"
13154 need_version=no
13155 need_lib_prefix=no
13157 case $withGCC,$host_os in
13158 yes,cygwin* | yes,mingw* | yes,pw32*)
13159 library_names_spec='$libname.dll.a'
13160 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13161 postinstall_cmds='base_file=`basename \${file}`~
13162 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13163 dldir=$destdir/`dirname \$dlpath`~
13164 test -d \$dldir || mkdir -p \$dldir~
13165 $install_prog $dir/$dlname \$dldir/$dlname~
13166 chmod a+x \$dldir/$dlname~
13167 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13168 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13170 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13171 dlpath=$dir/\$dldll~
13172 $RM \$dlpath'
13173 shlibpath_overrides_runpath=yes
13175 case $host_os in
13176 cygwin*)
13177 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13178 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13179 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13181 mingw*)
13182 # MinGW DLLs use traditional 'lib' prefix
13183 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13184 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13185 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13186 # It is most probably a Windows format PATH printed by
13187 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13188 # path with ; separators, and with drive letters. We can handle the
13189 # drive letters (cygwin fileutils understands them), so leave them,
13190 # especially as we might pass files found there to a mingw objdump,
13191 # which wouldn't understand a cygwinified path. Ahh.
13192 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13193 else
13194 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13197 pw32*)
13198 # pw32 DLLs use 'pw' prefix rather than 'lib'
13199 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13201 esac
13205 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13207 esac
13208 dynamic_linker='Win32 ld.exe'
13209 # FIXME: first we should search . and the directory the executable is in
13210 shlibpath_var=PATH
13213 darwin* | rhapsody*)
13214 dynamic_linker="$host_os dyld"
13215 version_type=darwin
13216 need_lib_prefix=no
13217 need_version=no
13218 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13219 soname_spec='${libname}${release}${major}$shared_ext'
13220 shlibpath_overrides_runpath=yes
13221 shlibpath_var=DYLD_LIBRARY_PATH
13222 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13224 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13227 dgux*)
13228 version_type=linux
13229 need_lib_prefix=no
13230 need_version=no
13231 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13232 soname_spec='${libname}${release}${shared_ext}$major'
13233 shlibpath_var=LD_LIBRARY_PATH
13236 freebsd1*)
13237 dynamic_linker=no
13240 freebsd* | dragonfly*)
13241 # DragonFly does not have aout. When/if they implement a new
13242 # versioning mechanism, adjust this.
13243 if test -x /usr/bin/objformat; then
13244 objformat=`/usr/bin/objformat`
13245 else
13246 case $host_os in
13247 freebsd[123]*) objformat=aout ;;
13248 *) objformat=elf ;;
13249 esac
13251 version_type=freebsd-$objformat
13252 case $version_type in
13253 freebsd-elf*)
13254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13255 need_version=no
13256 need_lib_prefix=no
13258 freebsd-*)
13259 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13260 need_version=yes
13262 esac
13263 shlibpath_var=LD_LIBRARY_PATH
13264 case $host_os in
13265 freebsd2*)
13266 shlibpath_overrides_runpath=yes
13268 freebsd3.[01]* | freebsdelf3.[01]*)
13269 shlibpath_overrides_runpath=yes
13270 hardcode_into_libs=yes
13272 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13273 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13274 shlibpath_overrides_runpath=no
13275 hardcode_into_libs=yes
13277 *) # from 4.6 on, and DragonFly
13278 shlibpath_overrides_runpath=yes
13279 hardcode_into_libs=yes
13281 esac
13284 gnu*)
13285 version_type=linux
13286 need_lib_prefix=no
13287 need_version=no
13288 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13289 soname_spec='${libname}${release}${shared_ext}$major'
13290 shlibpath_var=LD_LIBRARY_PATH
13291 hardcode_into_libs=yes
13294 hpux9* | hpux10* | hpux11*)
13295 # Give a soname corresponding to the major version so that dld.sl refuses to
13296 # link against other versions.
13297 version_type=sunos
13298 need_lib_prefix=no
13299 need_version=no
13300 case $host_cpu in
13301 ia64*)
13302 shrext_cmds='.so'
13303 hardcode_into_libs=yes
13304 dynamic_linker="$host_os dld.so"
13305 shlibpath_var=LD_LIBRARY_PATH
13306 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13307 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13308 soname_spec='${libname}${release}${shared_ext}$major'
13309 if test "X$HPUX_IA64_MODE" = X32; then
13310 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13311 else
13312 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13314 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13316 hppa*64*)
13317 shrext_cmds='.sl'
13318 hardcode_into_libs=yes
13319 dynamic_linker="$host_os dld.sl"
13320 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13321 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13323 soname_spec='${libname}${release}${shared_ext}$major'
13324 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13325 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13328 shrext_cmds='.sl'
13329 dynamic_linker="$host_os dld.sl"
13330 shlibpath_var=SHLIB_PATH
13331 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13332 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13333 soname_spec='${libname}${release}${shared_ext}$major'
13335 esac
13336 # HP-UX runs *really* slowly unless shared libraries are mode 555.
13337 postinstall_cmds='chmod 555 $lib'
13340 interix[3-9]*)
13341 version_type=linux
13342 need_lib_prefix=no
13343 need_version=no
13344 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13345 soname_spec='${libname}${release}${shared_ext}$major'
13346 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13347 shlibpath_var=LD_LIBRARY_PATH
13348 shlibpath_overrides_runpath=no
13349 hardcode_into_libs=yes
13352 irix5* | irix6* | nonstopux*)
13353 case $host_os in
13354 nonstopux*) version_type=nonstopux ;;
13356 if test "$lt_cv_prog_gnu_ld" = yes; then
13357 version_type=linux
13358 else
13359 version_type=irix
13360 fi ;;
13361 esac
13362 need_lib_prefix=no
13363 need_version=no
13364 soname_spec='${libname}${release}${shared_ext}$major'
13365 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13366 case $host_os in
13367 irix5* | nonstopux*)
13368 libsuff= shlibsuff=
13371 case $LD in # libtool.m4 will add one of these switches to LD
13372 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13373 libsuff= shlibsuff= libmagic=32-bit;;
13374 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13375 libsuff=32 shlibsuff=N32 libmagic=N32;;
13376 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13377 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13378 *) libsuff= shlibsuff= libmagic=never-match;;
13379 esac
13381 esac
13382 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13383 shlibpath_overrides_runpath=no
13384 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13385 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13386 hardcode_into_libs=yes
13389 # No shared lib support for Linux oldld, aout, or coff.
13390 linux*oldld* | linux*aout* | linux*coff*)
13391 dynamic_linker=no
13394 # This must be Linux ELF.
13395 linux* | k*bsd*-gnu)
13396 version_type=linux
13397 need_lib_prefix=no
13398 need_version=no
13399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13400 soname_spec='${libname}${release}${shared_ext}$major'
13401 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13402 shlibpath_var=LD_LIBRARY_PATH
13403 shlibpath_overrides_runpath=no
13404 # Some binutils ld are patched to set DT_RUNPATH
13405 save_LDFLAGS=$LDFLAGS
13406 save_libdir=$libdir
13407 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
13408 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
13409 if test x$gcc_no_link = xyes; then
13410 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
13411 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
13412 { (exit 1); exit 1; }; }
13414 cat >conftest.$ac_ext <<_ACEOF
13415 /* confdefs.h. */
13416 _ACEOF
13417 cat confdefs.h >>conftest.$ac_ext
13418 cat >>conftest.$ac_ext <<_ACEOF
13419 /* end confdefs.h. */
13422 main ()
13426 return 0;
13428 _ACEOF
13429 rm -f conftest.$ac_objext conftest$ac_exeext
13430 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
13431 (eval $ac_link) 2>conftest.er1
13432 ac_status=$?
13433 grep -v '^ *+' conftest.er1 >conftest.err
13434 rm -f conftest.er1
13435 cat conftest.err >&5
13436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13437 (exit $ac_status); } &&
13438 { ac_try='test -z "$ac_cxx_werror_flag"
13439 || test ! -s conftest.err'
13440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13441 (eval $ac_try) 2>&5
13442 ac_status=$?
13443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13444 (exit $ac_status); }; } &&
13445 { ac_try='test -s conftest$ac_exeext'
13446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13447 (eval $ac_try) 2>&5
13448 ac_status=$?
13449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13450 (exit $ac_status); }; }; then
13451 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir"; then
13452 shlibpath_overrides_runpath=yes
13455 else
13456 echo "$as_me: failed program was:" >&5
13457 sed 's/^/| /' conftest.$ac_ext >&5
13460 rm -f conftest.err conftest.$ac_objext \
13461 conftest$ac_exeext conftest.$ac_ext
13462 LDFLAGS=$save_LDFLAGS
13463 libdir=$save_libdir
13465 # This implies no fast_install, which is unacceptable.
13466 # Some rework will be needed to allow for fast_install
13467 # before this can be enabled.
13468 hardcode_into_libs=yes
13470 # Append ld.so.conf contents to the search path
13471 if test -f /etc/ld.so.conf; then
13472 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13473 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13476 # We used to test for /lib/ld.so.1 and disable shared libraries on
13477 # powerpc, because MkLinux only supported shared libraries with the
13478 # GNU dynamic linker. Since this was broken with cross compilers,
13479 # most powerpc-linux boxes support dynamic linking these days and
13480 # people can always --disable-shared, the test was removed, and we
13481 # assume the GNU/Linux dynamic linker is in use.
13482 dynamic_linker='GNU/Linux ld.so'
13485 netbsd*)
13486 version_type=sunos
13487 need_lib_prefix=no
13488 need_version=no
13489 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13490 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13491 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13492 dynamic_linker='NetBSD (a.out) ld.so'
13493 else
13494 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13495 soname_spec='${libname}${release}${shared_ext}$major'
13496 dynamic_linker='NetBSD ld.elf_so'
13498 shlibpath_var=LD_LIBRARY_PATH
13499 shlibpath_overrides_runpath=yes
13500 hardcode_into_libs=yes
13503 newsos6)
13504 version_type=linux
13505 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13506 shlibpath_var=LD_LIBRARY_PATH
13507 shlibpath_overrides_runpath=yes
13510 *nto* | *qnx*)
13511 version_type=qnx
13512 need_lib_prefix=no
13513 need_version=no
13514 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13515 soname_spec='${libname}${release}${shared_ext}$major'
13516 shlibpath_var=LD_LIBRARY_PATH
13517 shlibpath_overrides_runpath=no
13518 hardcode_into_libs=yes
13519 dynamic_linker='ldqnx.so'
13522 openbsd*)
13523 version_type=sunos
13524 sys_lib_dlsearch_path_spec="/usr/lib"
13525 need_lib_prefix=no
13526 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13527 case $host_os in
13528 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13529 *) need_version=no ;;
13530 esac
13531 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13532 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13533 shlibpath_var=LD_LIBRARY_PATH
13534 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13535 case $host_os in
13536 openbsd2.[89] | openbsd2.[89].*)
13537 shlibpath_overrides_runpath=no
13540 shlibpath_overrides_runpath=yes
13542 esac
13543 else
13544 shlibpath_overrides_runpath=yes
13548 os2*)
13549 libname_spec='$name'
13550 shrext_cmds=".dll"
13551 need_lib_prefix=no
13552 library_names_spec='$libname${shared_ext} $libname.a'
13553 dynamic_linker='OS/2 ld.exe'
13554 shlibpath_var=LIBPATH
13557 osf3* | osf4* | osf5*)
13558 version_type=osf
13559 need_lib_prefix=no
13560 need_version=no
13561 soname_spec='${libname}${release}${shared_ext}$major'
13562 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13563 shlibpath_var=LD_LIBRARY_PATH
13564 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13565 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13568 rdos*)
13569 dynamic_linker=no
13572 solaris*)
13573 version_type=linux
13574 need_lib_prefix=no
13575 need_version=no
13576 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13577 soname_spec='${libname}${release}${shared_ext}$major'
13578 shlibpath_var=LD_LIBRARY_PATH
13579 shlibpath_overrides_runpath=yes
13580 hardcode_into_libs=yes
13581 # ldd complains unless libraries are executable
13582 postinstall_cmds='chmod +x $lib'
13585 sunos4*)
13586 version_type=sunos
13587 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13588 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13589 shlibpath_var=LD_LIBRARY_PATH
13590 shlibpath_overrides_runpath=yes
13591 if test "$with_gnu_ld" = yes; then
13592 need_lib_prefix=no
13594 need_version=yes
13597 sysv4 | sysv4.3*)
13598 version_type=linux
13599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13600 soname_spec='${libname}${release}${shared_ext}$major'
13601 shlibpath_var=LD_LIBRARY_PATH
13602 case $host_vendor in
13603 sni)
13604 shlibpath_overrides_runpath=no
13605 need_lib_prefix=no
13606 runpath_var=LD_RUN_PATH
13608 siemens)
13609 need_lib_prefix=no
13611 motorola)
13612 need_lib_prefix=no
13613 need_version=no
13614 shlibpath_overrides_runpath=no
13615 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13617 esac
13620 sysv4*MP*)
13621 if test -d /usr/nec ;then
13622 version_type=linux
13623 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13624 soname_spec='$libname${shared_ext}.$major'
13625 shlibpath_var=LD_LIBRARY_PATH
13629 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13630 version_type=freebsd-elf
13631 need_lib_prefix=no
13632 need_version=no
13633 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13634 soname_spec='${libname}${release}${shared_ext}$major'
13635 shlibpath_var=LD_LIBRARY_PATH
13636 shlibpath_overrides_runpath=yes
13637 hardcode_into_libs=yes
13638 if test "$with_gnu_ld" = yes; then
13639 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13640 else
13641 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13642 case $host_os in
13643 sco3.2v5*)
13644 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13646 esac
13648 sys_lib_dlsearch_path_spec='/usr/lib'
13651 tpf*)
13652 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13653 version_type=linux
13654 need_lib_prefix=no
13655 need_version=no
13656 library_name_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13657 shlibpath_var=LD_LIBRARY_PATH
13658 shlibpath_overrides_runpath=no
13659 hardcode_into_libs=yes
13662 uts4*)
13663 version_type=linux
13664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13665 soname_spec='${libname}${release}${shared_ext}$major'
13666 shlibpath_var=LD_LIBRARY_PATH
13670 dynamic_linker=no
13672 esac
13673 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
13674 echo "${ECHO_T}$dynamic_linker" >&6
13675 test "$dynamic_linker" = no && can_build_shared=no
13677 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13678 if test "$GCC" = yes; then
13679 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13717 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
13718 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
13719 hardcode_action_CXX=
13720 if test -n "$hardcode_libdir_flag_spec_CXX" ||
13721 test -n "$runpath_var_CXX" ||
13722 test "X$hardcode_automatic_CXX" = "Xyes" ; then
13724 # We can hardcode non-existent directories.
13725 if test "$hardcode_direct_CXX" != no &&
13726 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13727 # have to relink, otherwise we might link with an installed library
13728 # when we should be linking with a yet-to-be-installed one
13729 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
13730 test "$hardcode_minus_L_CXX" != no; then
13731 # Linking always hardcodes the temporary library directory.
13732 hardcode_action_CXX=relink
13733 else
13734 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13735 hardcode_action_CXX=immediate
13737 else
13738 # We cannot hardcode anything, or else we can only hardcode existing
13739 # directories.
13740 hardcode_action_CXX=unsupported
13742 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
13743 echo "${ECHO_T}$hardcode_action_CXX" >&6
13745 if test "$hardcode_action_CXX" = relink ||
13746 test "$inherit_rpath_CXX" = yes; then
13747 # Fast installation is not supported
13748 enable_fast_install=no
13749 elif test "$shlibpath_overrides_runpath" = yes ||
13750 test "$enable_shared" = no; then
13751 # Fast installation is not necessary
13752 enable_fast_install=needless
13761 fi # test -n "$compiler"
13763 CC=$lt_save_CC
13764 LDCXX=$LD
13765 LD=$lt_save_LD
13766 GCC=$lt_save_GCC
13767 with_gnu_ld=$lt_save_with_gnu_ld
13768 lt_cv_path_LDCXX=$lt_cv_path_LD
13769 lt_cv_path_LD=$lt_save_path_LD
13770 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
13771 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
13772 fi # test "$_lt_caught_CXX_error" != yes
13774 ac_ext=c
13775 ac_cpp='$CPP $CPPFLAGS'
13776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13792 ac_config_commands="$ac_config_commands libtool"
13797 # Only expand once:
13803 # Possibly disable most of the library.
13804 ## TODO: Consider skipping unncessary tests altogether in this case, rather
13805 ## than just ignoring the results. Faster /and/ more correct, win win.
13807 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
13808 if test "${enable_hosted_libstdcxx+set}" = set; then
13809 enableval="$enable_hosted_libstdcxx"
13811 else
13812 case "$host" in
13813 arm*-*-symbianelf*)
13814 enable_hosted_libstdcxx=no
13817 enable_hosted_libstdcxx=yes
13819 esac
13821 if test "$enable_hosted_libstdcxx" = no; then
13822 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
13823 echo "$as_me: Only freestanding libraries will be built" >&6;}
13824 is_hosted=no
13825 hosted_define=0
13826 enable_abi_check=no
13827 enable_libstdcxx_pch=no
13828 else
13829 is_hosted=yes
13830 hosted_define=1
13834 cat >>confdefs.h <<_ACEOF
13835 #define _GLIBCXX_HOSTED $hosted_define
13836 _ACEOF
13840 # Enable compiler support that doesn't require linking.
13842 echo "$as_me:$LINENO: checking for exception model to use" >&5
13843 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
13846 ac_ext=cc
13847 ac_cpp='$CXXCPP $CPPFLAGS'
13848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13852 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
13853 if test "${enable_sjlj_exceptions+set}" = set; then
13854 enableval="$enable_sjlj_exceptions"
13856 case "$enableval" in
13857 yes|no|auto) ;;
13858 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
13859 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
13860 { (exit 1); exit 1; }; } ;;
13861 esac
13863 else
13864 enable_sjlj_exceptions=auto
13868 if test $enable_sjlj_exceptions = auto; then
13869 # Botheration. Now we've got to detect the exception model. Link tests
13870 # against libgcc.a are problematic since we've not been given proper -L
13871 # bits for single-tree newlib and libgloss.
13873 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
13874 cat > conftest.$ac_ext << EOF
13875 #line 13875 "configure"
13876 struct S { ~S(); };
13877 void bar();
13878 void foo()
13880 S s;
13881 bar();
13884 old_CXXFLAGS="$CXXFLAGS"
13885 CXXFLAGS=-S
13886 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13887 (eval $ac_compile) 2>&5
13888 ac_status=$?
13889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13890 (exit $ac_status); }; then
13891 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
13892 enable_sjlj_exceptions=yes
13893 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
13894 enable_sjlj_exceptions=no
13895 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
13896 enable_sjlj_exceptions=no
13899 CXXFLAGS="$old_CXXFLAGS"
13900 rm -f conftest*
13903 # This is a tad weird, for hysterical raisins. We have to map
13904 # enable/disable to two different models.
13905 case $enable_sjlj_exceptions in
13906 yes)
13908 cat >>confdefs.h <<\_ACEOF
13909 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
13910 _ACEOF
13912 ac_exception_model_name=sjlj
13915 ac_exception_model_name="call frame"
13918 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
13919 echo "$as_me: error: unable to detect exception model" >&2;}
13920 { (exit 1); exit 1; }; }
13922 esac
13923 ac_ext=c
13924 ac_cpp='$CPP $CPPFLAGS'
13925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13929 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
13930 echo "${ECHO_T}$ac_exception_model_name" >&6
13933 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
13934 if test "${enable_libstdcxx_pch+set}" = set; then
13935 enableval="$enable_libstdcxx_pch"
13937 case "$enableval" in
13938 yes|no) ;;
13939 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
13940 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
13941 { (exit 1); exit 1; }; } ;;
13942 esac
13944 else
13945 enable_libstdcxx_pch=$is_hosted
13948 if test $enable_libstdcxx_pch = yes; then
13949 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
13950 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
13951 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
13952 echo $ECHO_N "(cached) $ECHO_C" >&6
13953 else
13954 ac_save_CXXFLAGS="$CXXFLAGS"
13955 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
13958 ac_ext=cc
13959 ac_cpp='$CXXCPP $CPPFLAGS'
13960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
13964 echo '#include <math.h>' > conftest.h
13965 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
13966 -o conftest.h.gch 1>&5 2>&1 &&
13967 echo '#error "pch failed"' > conftest.h &&
13968 echo '#include "conftest.h"' > conftest.cc &&
13969 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
13970 then
13971 glibcxx_cv_prog_CXX_pch=yes
13972 else
13973 glibcxx_cv_prog_CXX_pch=no
13975 rm -f conftest*
13976 CXXFLAGS=$ac_save_CXXFLAGS
13977 ac_ext=c
13978 ac_cpp='$CPP $CPPFLAGS'
13979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13985 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
13986 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
13987 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
13990 echo "$as_me:$LINENO: checking for enabled PCH" >&5
13991 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
13992 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
13993 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
13996 if test $enable_libstdcxx_pch = yes; then
13997 glibcxx_PCHFLAGS="-include bits/stdc++.h"
13998 else
13999 glibcxx_PCHFLAGS=""
14006 ac_ext=cc
14007 ac_cpp='$CXXCPP $CPPFLAGS'
14008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14012 old_CXXFLAGS="$CXXFLAGS"
14014 # Compile unoptimized.
14015 CXXFLAGS='-O0 -S'
14017 # Fake what AC_TRY_COMPILE does, without linking as this is
14018 # unnecessary for a builtins test.
14020 cat > conftest.$ac_ext << EOF
14021 #line 14021 "configure"
14022 int main()
14024 // NB: _Atomic_word not necessarily int.
14025 typedef int atomic_type;
14026 atomic_type c1;
14027 atomic_type c2;
14028 const atomic_type c3(0);
14029 __sync_fetch_and_add(&c1, c2);
14030 __sync_val_compare_and_swap(&c1, c3, c2);
14031 __sync_lock_test_and_set(&c1, c3);
14032 __sync_lock_release(&c1);
14033 __sync_synchronize();
14034 return 0;
14038 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14039 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14041 (eval $ac_compile) 2>&5
14042 ac_status=$?
14043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14044 (exit $ac_status); }; then
14045 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14046 enable_atomic_builtinsi=no
14047 else
14049 cat >>confdefs.h <<\_ACEOF
14050 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14051 _ACEOF
14053 enable_atomic_builtinsi=yes
14056 echo "$as_me:$LINENO: result: $enable_atomic_builtinsi" >&5
14057 echo "${ECHO_T}$enable_atomic_builtinsi" >&6
14058 rm -f conftest*
14060 cat > conftest.$ac_ext << EOF
14061 #line 14061 "configure"
14062 int main()
14064 typedef bool atomic_type;
14065 atomic_type c1;
14066 atomic_type c2;
14067 const atomic_type c3(0);
14068 __sync_fetch_and_add(&c1, c2);
14069 __sync_val_compare_and_swap(&c1, c3, c2);
14070 __sync_lock_test_and_set(&c1, c3);
14071 __sync_lock_release(&c1);
14072 __sync_synchronize();
14073 return 0;
14077 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14078 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14080 (eval $ac_compile) 2>&5
14081 ac_status=$?
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); }; then
14084 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
14085 enable_atomic_builtinsb=no
14086 else
14088 cat >>confdefs.h <<\_ACEOF
14089 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14090 _ACEOF
14092 enable_atomic_builtinsb=yes
14095 echo "$as_me:$LINENO: result: $enable_atomic_builtinsb" >&5
14096 echo "${ECHO_T}$enable_atomic_builtinsb" >&6
14097 rm -f conftest*
14099 CXXFLAGS="$old_CXXFLAGS"
14100 ac_ext=c
14101 ac_cpp='$CPP $CPPFLAGS'
14102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14107 # Set atomicity_dir to builtins if either of above tests pass.
14108 if test $enable_atomic_builtinsi = yes || test $enable_atomic_builtinsb = yes ; then
14109 atomicity_dir=cpu/generic/atomicity_builtins
14112 # If still generic, set to mutex.
14113 if test $atomicity_dir = "cpu/generic" ; then
14114 atomicity_dir=cpu/generic/atomicity_mutex
14115 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
14116 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
14117 if test $target_thread_file = single; then
14118 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
14119 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
14120 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
14121 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
14122 else
14123 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
14124 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
14125 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
14126 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
14132 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14133 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14134 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14135 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14136 echo "${ECHO_T}$target_thread_file" >&6
14138 if test $target_thread_file != single; then
14140 cat >>confdefs.h <<\_ACEOF
14141 #define HAVE_GTHR_DEFAULT 1
14142 _ACEOF
14146 glibcxx_thread_h=gthr-$target_thread_file.h
14148 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14149 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14150 enable_thread=yes
14151 else
14152 enable_thread=no
14158 # Checks for compiler support that don't require linking.
14160 # All these tests are for C++; save the language and the compiler flags.
14161 # The CXXFLAGS thing is suspicious, but based on similar bits previously
14162 # found in GLIBCXX_CONFIGURE.
14165 ac_ext=cc
14166 ac_cpp='$CXXCPP $CPPFLAGS'
14167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14171 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14172 ac_save_CXXFLAGS="$CXXFLAGS"
14174 # Check for maintainer-mode bits.
14175 if test x"$USE_MAINTAINER_MODE" = xno; then
14176 WERROR=''
14177 else
14178 WERROR='-Werror'
14181 # Check for -ffunction-sections -fdata-sections
14182 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
14183 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
14184 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
14185 cat >conftest.$ac_ext <<_ACEOF
14186 /* confdefs.h. */
14187 _ACEOF
14188 cat confdefs.h >>conftest.$ac_ext
14189 cat >>conftest.$ac_ext <<_ACEOF
14190 /* end confdefs.h. */
14191 int foo; void bar() { };
14193 main ()
14197 return 0;
14199 _ACEOF
14200 rm -f conftest.$ac_objext
14201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14202 (eval $ac_compile) 2>conftest.er1
14203 ac_status=$?
14204 grep -v '^ *+' conftest.er1 >conftest.err
14205 rm -f conftest.er1
14206 cat conftest.err >&5
14207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14208 (exit $ac_status); } &&
14209 { ac_try='test -z "$ac_cxx_werror_flag"
14210 || test ! -s conftest.err'
14211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14212 (eval $ac_try) 2>&5
14213 ac_status=$?
14214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14215 (exit $ac_status); }; } &&
14216 { ac_try='test -s conftest.$ac_objext'
14217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14218 (eval $ac_try) 2>&5
14219 ac_status=$?
14220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14221 (exit $ac_status); }; }; then
14222 ac_fdsections=yes
14223 else
14224 echo "$as_me: failed program was:" >&5
14225 sed 's/^/| /' conftest.$ac_ext >&5
14227 ac_fdsections=no
14229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14230 if test "$ac_test_CXXFLAGS" = set; then
14231 CXXFLAGS="$ac_save_CXXFLAGS"
14232 else
14233 # this is the suspicious part
14234 CXXFLAGS=''
14236 if test x"$ac_fdsections" = x"yes"; then
14237 SECTION_FLAGS='-ffunction-sections -fdata-sections'
14239 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
14240 echo "${ECHO_T}$ac_fdsections" >&6
14242 ac_ext=c
14243 ac_cpp='$CPP $CPPFLAGS'
14244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14253 echo "$as_me:$LINENO: checking for ISO C++200x standard layout type support" >&5
14254 echo $ECHO_N "checking for ISO C++200x standard layout type support... $ECHO_C" >&6
14255 if test "${ac_standard_layout+set}" = set; then
14256 echo $ECHO_N "(cached) $ECHO_C" >&6
14257 else
14261 ac_ext=cc
14262 ac_cpp='$CXXCPP $CPPFLAGS'
14263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14267 ac_test_CXXFLAGS="${CXXFLAGS+set}"
14268 ac_save_CXXFLAGS="$CXXFLAGS"
14269 CXXFLAGS='-std=gnu++0x'
14271 cat >conftest.$ac_ext <<_ACEOF
14272 /* confdefs.h. */
14273 _ACEOF
14274 cat confdefs.h >>conftest.$ac_ext
14275 cat >>conftest.$ac_ext <<_ACEOF
14276 /* end confdefs.h. */
14277 struct b
14279 bool t;
14281 // Need standard layout relaxation from POD
14282 private:
14283 b& operator=(const b&);
14284 b(const b&);
14287 int main()
14289 b tst1 = { false };
14290 return 0;
14293 main ()
14297 return 0;
14299 _ACEOF
14300 rm -f conftest.$ac_objext
14301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14302 (eval $ac_compile) 2>conftest.er1
14303 ac_status=$?
14304 grep -v '^ *+' conftest.er1 >conftest.err
14305 rm -f conftest.er1
14306 cat conftest.err >&5
14307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14308 (exit $ac_status); } &&
14309 { ac_try='test -z "$ac_cxx_werror_flag"
14310 || test ! -s conftest.err'
14311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14312 (eval $ac_try) 2>&5
14313 ac_status=$?
14314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14315 (exit $ac_status); }; } &&
14316 { ac_try='test -s conftest.$ac_objext'
14317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14318 (eval $ac_try) 2>&5
14319 ac_status=$?
14320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14321 (exit $ac_status); }; }; then
14322 ac_standard_layout=yes
14323 else
14324 echo "$as_me: failed program was:" >&5
14325 sed 's/^/| /' conftest.$ac_ext >&5
14327 ac_standard_layout=no
14329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14331 CXXFLAGS="$ac_save_CXXFLAGS"
14332 ac_ext=c
14333 ac_cpp='$CPP $CPPFLAGS'
14334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14341 echo "$as_me:$LINENO: result: $ac_standard_layout" >&5
14342 echo "${ECHO_T}$ac_standard_layout" >&6
14343 if test x"$ac_standard_layout" = x"yes"; then
14345 cat >>confdefs.h <<\_ACEOF
14346 #define _GLIBCXX_USE_STANDARD_LAYOUT 1
14347 _ACEOF
14352 # Enable all the variable C++ runtime options that doesn't require linking.
14354 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
14355 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
14356 # Check whether --enable-cstdio or --disable-cstdio was given.
14357 if test "${enable_cstdio+set}" = set; then
14358 enableval="$enable_cstdio"
14360 case "$enableval" in
14361 stdio) ;;
14362 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
14363 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
14364 { (exit 1); exit 1; }; } ;;
14365 esac
14367 else
14368 enable_cstdio=stdio
14372 # Now that libio has been removed, you can have any color you want as long
14373 # as it's black. This is one big no-op until other packages are added, but
14374 # showing the framework never hurts.
14375 case ${enable_cstdio} in
14376 stdio)
14377 CSTDIO_H=config/io/c_io_stdio.h
14378 BASIC_FILE_H=config/io/basic_file_stdio.h
14379 BASIC_FILE_CC=config/io/basic_file_stdio.cc
14380 echo "$as_me:$LINENO: result: stdio" >&5
14381 echo "${ECHO_T}stdio" >&6
14383 esac
14390 # Check whether --enable-clocale or --disable-clocale was given.
14391 if test "${enable_clocale+set}" = set; then
14392 enableval="$enable_clocale"
14394 case "$enableval" in
14395 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
14396 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
14397 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
14398 { (exit 1); exit 1; }; } ;;
14399 esac
14401 else
14402 enable_clocale=auto
14406 # Deal with gettext issues. Default to not using it (=no) until we detect
14407 # support for it later. Let the user turn it off via --e/d, but let that
14408 # default to on for easier handling.
14409 USE_NLS=no
14410 # Check whether --enable-nls or --disable-nls was given.
14411 if test "${enable_nls+set}" = set; then
14412 enableval="$enable_nls"
14414 else
14415 enable_nls=yes
14418 # Either a known packaage, or "auto"
14419 if test $enable_clocale = no || test $enable_clocale = yes; then
14420 enable_clocale=auto
14422 enable_clocale_flag=$enable_clocale
14424 # Probe for locale model to use if none specified.
14425 # Default to "generic".
14426 if test $enable_clocale_flag = auto; then
14427 case ${target_os} in
14428 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
14429 enable_clocale_flag=gnu
14431 darwin* | freebsd*)
14432 enable_clocale_flag=darwin
14435 enable_clocale_flag=generic
14437 esac
14440 # Sanity check model, and test for special functionality.
14441 if test $enable_clocale_flag = gnu; then
14442 cat >conftest.$ac_ext <<_ACEOF
14443 /* confdefs.h. */
14444 _ACEOF
14445 cat confdefs.h >>conftest.$ac_ext
14446 cat >>conftest.$ac_ext <<_ACEOF
14447 /* end confdefs.h. */
14449 #include <features.h>
14450 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
14451 _GLIBCXX_ok
14452 #endif
14454 _ACEOF
14455 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14456 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
14457 enable_clocale_flag=gnu
14458 else
14459 enable_clocale_flag=generic
14461 rm -f conftest*
14464 if test $enable_clocale = auto; then
14465 # Test for bugs early in glibc-2.2.x series
14466 if test "$cross_compiling" = yes; then
14467 enable_clocale_flag=generic
14468 else
14469 cat >conftest.$ac_ext <<_ACEOF
14470 /* confdefs.h. */
14471 _ACEOF
14472 cat confdefs.h >>conftest.$ac_ext
14473 cat >>conftest.$ac_ext <<_ACEOF
14474 /* end confdefs.h. */
14476 #define _GNU_SOURCE 1
14477 #include <locale.h>
14478 #include <string.h>
14479 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
14480 extern __typeof(newlocale) __newlocale;
14481 extern __typeof(duplocale) __duplocale;
14482 extern __typeof(strcoll_l) __strcoll_l;
14483 #endif
14484 int main()
14486 const char __one[] = "Äuglein Augmen";
14487 const char __two[] = "Äuglein";
14488 int i;
14489 int j;
14490 __locale_t loc;
14491 __locale_t loc_dup;
14492 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
14493 loc_dup = __duplocale(loc);
14494 i = __strcoll_l(__one, __two, loc);
14495 j = __strcoll_l(__one, __two, loc_dup);
14496 return 0;
14499 _ACEOF
14500 rm -f conftest$ac_exeext
14501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14502 (eval $ac_link) 2>&5
14503 ac_status=$?
14504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14505 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
14506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14507 (eval $ac_try) 2>&5
14508 ac_status=$?
14509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14510 (exit $ac_status); }; }; then
14511 enable_clocale_flag=gnu
14512 else
14513 echo "$as_me: program exited with status $ac_status" >&5
14514 echo "$as_me: failed program was:" >&5
14515 sed 's/^/| /' conftest.$ac_ext >&5
14517 ( exit $ac_status )
14518 enable_clocale_flag=generic
14520 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
14524 # Set it to scream when it hurts.
14525 ac_save_CFLAGS="$CFLAGS"
14526 CFLAGS="-Wimplicit-function-declaration -Werror"
14528 # Use strxfrm_l if available.
14529 cat >conftest.$ac_ext <<_ACEOF
14530 /* confdefs.h. */
14531 _ACEOF
14532 cat confdefs.h >>conftest.$ac_ext
14533 cat >>conftest.$ac_ext <<_ACEOF
14534 /* end confdefs.h. */
14535 #define _GNU_SOURCE 1
14536 #include <string.h>
14537 #include <locale.h>
14539 main ()
14541 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
14543 return 0;
14545 _ACEOF
14546 rm -f conftest.$ac_objext
14547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14548 (eval $ac_compile) 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } &&
14555 { ac_try='test -z "$ac_c_werror_flag"
14556 || test ! -s conftest.err'
14557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14558 (eval $ac_try) 2>&5
14559 ac_status=$?
14560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14561 (exit $ac_status); }; } &&
14562 { ac_try='test -s conftest.$ac_objext'
14563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14564 (eval $ac_try) 2>&5
14565 ac_status=$?
14566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14567 (exit $ac_status); }; }; then
14569 cat >>confdefs.h <<\_ACEOF
14570 #define HAVE_STRXFRM_L 1
14571 _ACEOF
14573 else
14574 echo "$as_me: failed program was:" >&5
14575 sed 's/^/| /' conftest.$ac_ext >&5
14578 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14580 # Use strerror_l if available.
14581 cat >conftest.$ac_ext <<_ACEOF
14582 /* confdefs.h. */
14583 _ACEOF
14584 cat confdefs.h >>conftest.$ac_ext
14585 cat >>conftest.$ac_ext <<_ACEOF
14586 /* end confdefs.h. */
14587 #define _GNU_SOURCE 1
14588 #include <string.h>
14589 #include <locale.h>
14591 main ()
14593 __locale_t loc; strerror_l(5, loc);
14595 return 0;
14597 _ACEOF
14598 rm -f conftest.$ac_objext
14599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14600 (eval $ac_compile) 2>conftest.er1
14601 ac_status=$?
14602 grep -v '^ *+' conftest.er1 >conftest.err
14603 rm -f conftest.er1
14604 cat conftest.err >&5
14605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14606 (exit $ac_status); } &&
14607 { ac_try='test -z "$ac_c_werror_flag"
14608 || test ! -s conftest.err'
14609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14610 (eval $ac_try) 2>&5
14611 ac_status=$?
14612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14613 (exit $ac_status); }; } &&
14614 { ac_try='test -s conftest.$ac_objext'
14615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14616 (eval $ac_try) 2>&5
14617 ac_status=$?
14618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14619 (exit $ac_status); }; }; then
14621 cat >>confdefs.h <<\_ACEOF
14622 #define HAVE_STRERROR_L 1
14623 _ACEOF
14625 else
14626 echo "$as_me: failed program was:" >&5
14627 sed 's/^/| /' conftest.$ac_ext >&5
14630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14632 CFLAGS="$ac_save_CFLAGS"
14635 # Perhaps use strerror_r if available, and strerror_l isn't.
14636 ac_save_CFLAGS="$CFLAGS"
14637 CFLAGS="-Wimplicit-function-declaration -Werror"
14638 cat >conftest.$ac_ext <<_ACEOF
14639 /* confdefs.h. */
14640 _ACEOF
14641 cat confdefs.h >>conftest.$ac_ext
14642 cat >>conftest.$ac_ext <<_ACEOF
14643 /* end confdefs.h. */
14644 #define _GNU_SOURCE 1
14645 #include <string.h>
14646 #include <locale.h>
14648 main ()
14650 char s[128]; strerror_r(5, s, 128);
14652 return 0;
14654 _ACEOF
14655 rm -f conftest.$ac_objext
14656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14657 (eval $ac_compile) 2>conftest.er1
14658 ac_status=$?
14659 grep -v '^ *+' conftest.er1 >conftest.err
14660 rm -f conftest.er1
14661 cat conftest.err >&5
14662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14663 (exit $ac_status); } &&
14664 { ac_try='test -z "$ac_c_werror_flag"
14665 || test ! -s conftest.err'
14666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14667 (eval $ac_try) 2>&5
14668 ac_status=$?
14669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14670 (exit $ac_status); }; } &&
14671 { ac_try='test -s conftest.$ac_objext'
14672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14673 (eval $ac_try) 2>&5
14674 ac_status=$?
14675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14676 (exit $ac_status); }; }; then
14678 cat >>confdefs.h <<\_ACEOF
14679 #define HAVE_STRERROR_R 1
14680 _ACEOF
14682 else
14683 echo "$as_me: failed program was:" >&5
14684 sed 's/^/| /' conftest.$ac_ext >&5
14687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14688 CFLAGS="$ac_save_CFLAGS"
14690 # Set configure bits for specified locale package
14691 echo "$as_me:$LINENO: checking for C locale to use" >&5
14692 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
14693 case ${enable_clocale_flag} in
14694 generic)
14695 echo "$as_me:$LINENO: result: generic" >&5
14696 echo "${ECHO_T}generic" >&6
14698 CLOCALE_H=config/locale/generic/c_locale.h
14699 CLOCALE_CC=config/locale/generic/c_locale.cc
14700 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14701 CCOLLATE_CC=config/locale/generic/collate_members.cc
14702 CCTYPE_CC=config/locale/generic/ctype_members.cc
14703 CMESSAGES_H=config/locale/generic/messages_members.h
14704 CMESSAGES_CC=config/locale/generic/messages_members.cc
14705 CMONEY_CC=config/locale/generic/monetary_members.cc
14706 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14707 CTIME_H=config/locale/generic/time_members.h
14708 CTIME_CC=config/locale/generic/time_members.cc
14709 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14711 darwin)
14712 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
14713 echo "${ECHO_T}darwin or freebsd" >&6
14715 CLOCALE_H=config/locale/generic/c_locale.h
14716 CLOCALE_CC=config/locale/generic/c_locale.cc
14717 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14718 CCOLLATE_CC=config/locale/generic/collate_members.cc
14719 CCTYPE_CC=config/locale/darwin/ctype_members.cc
14720 CMESSAGES_H=config/locale/generic/messages_members.h
14721 CMESSAGES_CC=config/locale/generic/messages_members.cc
14722 CMONEY_CC=config/locale/generic/monetary_members.cc
14723 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14724 CTIME_H=config/locale/generic/time_members.h
14725 CTIME_CC=config/locale/generic/time_members.cc
14726 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14729 gnu)
14730 echo "$as_me:$LINENO: result: gnu" >&5
14731 echo "${ECHO_T}gnu" >&6
14733 # Declare intention to use gettext, and add support for specific
14734 # languages.
14735 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
14736 ALL_LINGUAS="de fr"
14738 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
14739 # Extract the first word of "msgfmt", so it can be a program name with args.
14740 set dummy msgfmt; ac_word=$2
14741 echo "$as_me:$LINENO: checking for $ac_word" >&5
14742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
14743 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
14744 echo $ECHO_N "(cached) $ECHO_C" >&6
14745 else
14746 if test -n "$check_msgfmt"; then
14747 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
14748 else
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH
14752 IFS=$as_save_IFS
14753 test -z "$as_dir" && as_dir=.
14754 for ac_exec_ext in '' $ac_executable_extensions; do
14755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14756 ac_cv_prog_check_msgfmt="yes"
14757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14758 break 2
14760 done
14761 done
14763 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
14766 check_msgfmt=$ac_cv_prog_check_msgfmt
14767 if test -n "$check_msgfmt"; then
14768 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
14769 echo "${ECHO_T}$check_msgfmt" >&6
14770 else
14771 echo "$as_me:$LINENO: result: no" >&5
14772 echo "${ECHO_T}no" >&6
14775 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
14776 USE_NLS=yes
14778 # Export the build objects.
14779 for ling in $ALL_LINGUAS; do \
14780 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
14781 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
14782 done
14786 CLOCALE_H=config/locale/gnu/c_locale.h
14787 CLOCALE_CC=config/locale/gnu/c_locale.cc
14788 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
14789 CCOLLATE_CC=config/locale/gnu/collate_members.cc
14790 CCTYPE_CC=config/locale/gnu/ctype_members.cc
14791 CMESSAGES_H=config/locale/gnu/messages_members.h
14792 CMESSAGES_CC=config/locale/gnu/messages_members.cc
14793 CMONEY_CC=config/locale/gnu/monetary_members.cc
14794 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
14795 CTIME_H=config/locale/gnu/time_members.h
14796 CTIME_CC=config/locale/gnu/time_members.cc
14797 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
14799 ieee_1003.1-2001)
14800 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
14801 echo "${ECHO_T}IEEE 1003.1" >&6
14803 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
14804 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
14805 CCODECVT_CC=config/locale/generic/codecvt_members.cc
14806 CCOLLATE_CC=config/locale/generic/collate_members.cc
14807 CCTYPE_CC=config/locale/generic/ctype_members.cc
14808 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
14809 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
14810 CMONEY_CC=config/locale/generic/monetary_members.cc
14811 CNUMERIC_CC=config/locale/generic/numeric_members.cc
14812 CTIME_H=config/locale/generic/time_members.h
14813 CTIME_CC=config/locale/generic/time_members.cc
14814 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
14816 esac
14818 # This is where the testsuite looks for locale catalogs, using the
14819 # -DLOCALEDIR define during testsuite compilation.
14820 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
14823 # A standalone libintl (e.g., GNU libintl) may be in use.
14824 if test $USE_NLS = yes; then
14826 for ac_header in libintl.h
14828 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
14829 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14830 echo "$as_me:$LINENO: checking for $ac_header" >&5
14831 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14832 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14833 echo $ECHO_N "(cached) $ECHO_C" >&6
14835 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14836 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14837 else
14838 # Is the header compilable?
14839 echo "$as_me:$LINENO: checking $ac_header usability" >&5
14840 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
14841 cat >conftest.$ac_ext <<_ACEOF
14842 /* confdefs.h. */
14843 _ACEOF
14844 cat confdefs.h >>conftest.$ac_ext
14845 cat >>conftest.$ac_ext <<_ACEOF
14846 /* end confdefs.h. */
14847 $ac_includes_default
14848 #include <$ac_header>
14849 _ACEOF
14850 rm -f conftest.$ac_objext
14851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14852 (eval $ac_compile) 2>conftest.er1
14853 ac_status=$?
14854 grep -v '^ *+' conftest.er1 >conftest.err
14855 rm -f conftest.er1
14856 cat conftest.err >&5
14857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14858 (exit $ac_status); } &&
14859 { ac_try='test -z "$ac_c_werror_flag"
14860 || test ! -s conftest.err'
14861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14862 (eval $ac_try) 2>&5
14863 ac_status=$?
14864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14865 (exit $ac_status); }; } &&
14866 { ac_try='test -s conftest.$ac_objext'
14867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14868 (eval $ac_try) 2>&5
14869 ac_status=$?
14870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14871 (exit $ac_status); }; }; then
14872 ac_header_compiler=yes
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14877 ac_header_compiler=no
14879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
14880 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
14881 echo "${ECHO_T}$ac_header_compiler" >&6
14883 # Is the header present?
14884 echo "$as_me:$LINENO: checking $ac_header presence" >&5
14885 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
14886 cat >conftest.$ac_ext <<_ACEOF
14887 /* confdefs.h. */
14888 _ACEOF
14889 cat confdefs.h >>conftest.$ac_ext
14890 cat >>conftest.$ac_ext <<_ACEOF
14891 /* end confdefs.h. */
14892 #include <$ac_header>
14893 _ACEOF
14894 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
14895 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
14896 ac_status=$?
14897 grep -v '^ *+' conftest.er1 >conftest.err
14898 rm -f conftest.er1
14899 cat conftest.err >&5
14900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14901 (exit $ac_status); } >/dev/null; then
14902 if test -s conftest.err; then
14903 ac_cpp_err=$ac_c_preproc_warn_flag
14904 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
14905 else
14906 ac_cpp_err=
14908 else
14909 ac_cpp_err=yes
14911 if test -z "$ac_cpp_err"; then
14912 ac_header_preproc=yes
14913 else
14914 echo "$as_me: failed program was:" >&5
14915 sed 's/^/| /' conftest.$ac_ext >&5
14917 ac_header_preproc=no
14919 rm -f conftest.err conftest.$ac_ext
14920 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
14921 echo "${ECHO_T}$ac_header_preproc" >&6
14923 # So? What about this header?
14924 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
14925 yes:no: )
14926 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
14927 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
14928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
14929 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
14930 ac_header_preproc=yes
14932 no:yes:* )
14933 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
14934 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
14935 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
14936 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
14937 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
14938 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
14939 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
14940 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
14941 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
14942 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
14943 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
14944 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
14946 cat <<\_ASBOX
14947 ## ----------------------------------------- ##
14948 ## Report this to the package-unused lists. ##
14949 ## ----------------------------------------- ##
14950 _ASBOX
14952 sed "s/^/$as_me: WARNING: /" >&2
14954 esac
14955 echo "$as_me:$LINENO: checking for $ac_header" >&5
14956 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
14957 if eval "test \"\${$as_ac_Header+set}\" = set"; then
14958 echo $ECHO_N "(cached) $ECHO_C" >&6
14959 else
14960 eval "$as_ac_Header=\$ac_header_preproc"
14962 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
14963 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
14966 if test `eval echo '${'$as_ac_Header'}'` = yes; then
14967 cat >>confdefs.h <<_ACEOF
14968 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
14969 _ACEOF
14971 else
14972 USE_NLS=no
14975 done
14977 echo "$as_me:$LINENO: checking for library containing gettext" >&5
14978 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
14979 if test "${ac_cv_search_gettext+set}" = set; then
14980 echo $ECHO_N "(cached) $ECHO_C" >&6
14981 else
14982 ac_func_search_save_LIBS=$LIBS
14983 ac_cv_search_gettext=no
14984 if test x$gcc_no_link = xyes; then
14985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14987 { (exit 1); exit 1; }; }
14989 cat >conftest.$ac_ext <<_ACEOF
14990 /* confdefs.h. */
14991 _ACEOF
14992 cat confdefs.h >>conftest.$ac_ext
14993 cat >>conftest.$ac_ext <<_ACEOF
14994 /* end confdefs.h. */
14996 /* Override any gcc2 internal prototype to avoid an error. */
14997 #ifdef __cplusplus
14998 extern "C"
14999 #endif
15000 /* We use char because int might match the return type of a gcc2
15001 builtin and then its argument prototype would still apply. */
15002 char gettext ();
15004 main ()
15006 gettext ();
15008 return 0;
15010 _ACEOF
15011 rm -f conftest.$ac_objext conftest$ac_exeext
15012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15013 (eval $ac_link) 2>conftest.er1
15014 ac_status=$?
15015 grep -v '^ *+' conftest.er1 >conftest.err
15016 rm -f conftest.er1
15017 cat conftest.err >&5
15018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15019 (exit $ac_status); } &&
15020 { ac_try='test -z "$ac_c_werror_flag"
15021 || test ! -s conftest.err'
15022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15023 (eval $ac_try) 2>&5
15024 ac_status=$?
15025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15026 (exit $ac_status); }; } &&
15027 { ac_try='test -s conftest$ac_exeext'
15028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15029 (eval $ac_try) 2>&5
15030 ac_status=$?
15031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15032 (exit $ac_status); }; }; then
15033 ac_cv_search_gettext="none required"
15034 else
15035 echo "$as_me: failed program was:" >&5
15036 sed 's/^/| /' conftest.$ac_ext >&5
15039 rm -f conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 if test "$ac_cv_search_gettext" = no; then
15042 for ac_lib in intl; do
15043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15044 if test x$gcc_no_link = xyes; then
15045 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15046 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15047 { (exit 1); exit 1; }; }
15049 cat >conftest.$ac_ext <<_ACEOF
15050 /* confdefs.h. */
15051 _ACEOF
15052 cat confdefs.h >>conftest.$ac_ext
15053 cat >>conftest.$ac_ext <<_ACEOF
15054 /* end confdefs.h. */
15056 /* Override any gcc2 internal prototype to avoid an error. */
15057 #ifdef __cplusplus
15058 extern "C"
15059 #endif
15060 /* We use char because int might match the return type of a gcc2
15061 builtin and then its argument prototype would still apply. */
15062 char gettext ();
15064 main ()
15066 gettext ();
15068 return 0;
15070 _ACEOF
15071 rm -f conftest.$ac_objext conftest$ac_exeext
15072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15073 (eval $ac_link) 2>conftest.er1
15074 ac_status=$?
15075 grep -v '^ *+' conftest.er1 >conftest.err
15076 rm -f conftest.er1
15077 cat conftest.err >&5
15078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15079 (exit $ac_status); } &&
15080 { ac_try='test -z "$ac_c_werror_flag"
15081 || test ! -s conftest.err'
15082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15083 (eval $ac_try) 2>&5
15084 ac_status=$?
15085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15086 (exit $ac_status); }; } &&
15087 { ac_try='test -s conftest$ac_exeext'
15088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15089 (eval $ac_try) 2>&5
15090 ac_status=$?
15091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15092 (exit $ac_status); }; }; then
15093 ac_cv_search_gettext="-l$ac_lib"
15094 break
15095 else
15096 echo "$as_me: failed program was:" >&5
15097 sed 's/^/| /' conftest.$ac_ext >&5
15100 rm -f conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 done
15104 LIBS=$ac_func_search_save_LIBS
15106 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
15107 echo "${ECHO_T}$ac_cv_search_gettext" >&6
15108 if test "$ac_cv_search_gettext" != no; then
15109 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
15111 else
15112 USE_NLS=no
15116 if test $USE_NLS = yes; then
15118 cat >>confdefs.h <<\_ACEOF
15119 #define _GLIBCXX_USE_NLS 1
15120 _ACEOF
15139 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
15140 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
15141 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
15142 if test "${enable_libstdcxx_allocator+set}" = set; then
15143 enableval="$enable_libstdcxx_allocator"
15145 case "$enableval" in
15146 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
15147 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
15148 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
15149 { (exit 1); exit 1; }; } ;;
15150 esac
15152 else
15153 enable_libstdcxx_allocator=auto
15157 # If they didn't use this option switch, or if they specified --enable
15158 # with no specific model, we'll have to look for one. If they
15159 # specified --disable (???), do likewise.
15160 if test $enable_libstdcxx_allocator = no ||
15161 test $enable_libstdcxx_allocator = yes;
15162 then
15163 enable_libstdcxx_allocator=auto
15166 # Either a known package, or "auto". Auto implies the default choice
15167 # for a particular platform.
15168 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
15170 # Probe for host-specific support if no specific model is specified.
15171 # Default to "new".
15172 if test $enable_libstdcxx_allocator_flag = auto; then
15173 case ${target_os} in
15174 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15175 enable_libstdcxx_allocator_flag=new
15178 enable_libstdcxx_allocator_flag=new
15180 esac
15182 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
15183 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
15186 # Set configure bits for specified locale package
15187 case ${enable_libstdcxx_allocator_flag} in
15188 bitmap)
15189 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
15190 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
15192 malloc)
15193 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
15194 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
15197 ALLOCATOR_H=config/allocator/mt_allocator_base.h
15198 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
15200 new)
15201 ALLOCATOR_H=config/allocator/new_allocator_base.h
15202 ALLOCATOR_NAME=__gnu_cxx::new_allocator
15204 pool)
15205 ALLOCATOR_H=config/allocator/pool_allocator_base.h
15206 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
15208 esac
15214 # Check whether --enable-cheaders or --disable-cheaders was given.
15215 if test "${enable_cheaders+set}" = set; then
15216 enableval="$enable_cheaders"
15218 case "$enableval" in
15219 c|c_std|c_global) ;;
15220 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
15221 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
15222 { (exit 1); exit 1; }; } ;;
15223 esac
15225 else
15226 enable_cheaders=$c_model
15229 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
15230 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
15232 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
15234 # Allow overrides to configure.host here.
15235 if test $enable_cheaders = c_global; then
15236 c_compatibility=yes
15239 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
15240 c_extra=yes
15250 # Check whether --enable-long-long or --disable-long-long was given.
15251 if test "${enable_long_long+set}" = set; then
15252 enableval="$enable_long_long"
15254 case "$enableval" in
15255 yes|no) ;;
15256 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
15257 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
15258 { (exit 1); exit 1; }; } ;;
15259 esac
15261 else
15262 enable_long_long=yes
15265 if test $enable_long_long = yes; then
15267 cat >>confdefs.h <<\_ACEOF
15268 #define _GLIBCXX_USE_LONG_LONG 1
15269 _ACEOF
15272 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
15273 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
15274 echo "$as_me:$LINENO: result: $enable_long_long" >&5
15275 echo "${ECHO_T}$enable_long_long" >&6
15278 # Check whether --enable-wchar_t or --disable-wchar_t was given.
15279 if test "${enable_wchar_t+set}" = set; then
15280 enableval="$enable_wchar_t"
15282 case "$enableval" in
15283 yes|no) ;;
15284 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
15285 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
15286 { (exit 1); exit 1; }; } ;;
15287 esac
15289 else
15290 enable_wchar_t=yes
15294 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
15296 for ac_header in wchar.h
15298 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15300 echo "$as_me:$LINENO: checking for $ac_header" >&5
15301 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15302 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15303 echo $ECHO_N "(cached) $ECHO_C" >&6
15305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15306 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15307 else
15308 # Is the header compilable?
15309 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15310 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15311 cat >conftest.$ac_ext <<_ACEOF
15312 /* confdefs.h. */
15313 _ACEOF
15314 cat confdefs.h >>conftest.$ac_ext
15315 cat >>conftest.$ac_ext <<_ACEOF
15316 /* end confdefs.h. */
15317 $ac_includes_default
15318 #include <$ac_header>
15319 _ACEOF
15320 rm -f conftest.$ac_objext
15321 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15322 (eval $ac_compile) 2>conftest.er1
15323 ac_status=$?
15324 grep -v '^ *+' conftest.er1 >conftest.err
15325 rm -f conftest.er1
15326 cat conftest.err >&5
15327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15328 (exit $ac_status); } &&
15329 { ac_try='test -z "$ac_c_werror_flag"
15330 || test ! -s conftest.err'
15331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15332 (eval $ac_try) 2>&5
15333 ac_status=$?
15334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15335 (exit $ac_status); }; } &&
15336 { ac_try='test -s conftest.$ac_objext'
15337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15338 (eval $ac_try) 2>&5
15339 ac_status=$?
15340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15341 (exit $ac_status); }; }; then
15342 ac_header_compiler=yes
15343 else
15344 echo "$as_me: failed program was:" >&5
15345 sed 's/^/| /' conftest.$ac_ext >&5
15347 ac_header_compiler=no
15349 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15350 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15351 echo "${ECHO_T}$ac_header_compiler" >&6
15353 # Is the header present?
15354 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15355 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15356 cat >conftest.$ac_ext <<_ACEOF
15357 /* confdefs.h. */
15358 _ACEOF
15359 cat confdefs.h >>conftest.$ac_ext
15360 cat >>conftest.$ac_ext <<_ACEOF
15361 /* end confdefs.h. */
15362 #include <$ac_header>
15363 _ACEOF
15364 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15365 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15366 ac_status=$?
15367 grep -v '^ *+' conftest.er1 >conftest.err
15368 rm -f conftest.er1
15369 cat conftest.err >&5
15370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15371 (exit $ac_status); } >/dev/null; then
15372 if test -s conftest.err; then
15373 ac_cpp_err=$ac_c_preproc_warn_flag
15374 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15375 else
15376 ac_cpp_err=
15378 else
15379 ac_cpp_err=yes
15381 if test -z "$ac_cpp_err"; then
15382 ac_header_preproc=yes
15383 else
15384 echo "$as_me: failed program was:" >&5
15385 sed 's/^/| /' conftest.$ac_ext >&5
15387 ac_header_preproc=no
15389 rm -f conftest.err conftest.$ac_ext
15390 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15391 echo "${ECHO_T}$ac_header_preproc" >&6
15393 # So? What about this header?
15394 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15395 yes:no: )
15396 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15397 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15398 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15399 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15400 ac_header_preproc=yes
15402 no:yes:* )
15403 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15404 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15405 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15406 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15407 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15408 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15409 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15410 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15411 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15412 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15413 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15414 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15416 cat <<\_ASBOX
15417 ## ----------------------------------------- ##
15418 ## Report this to the package-unused lists. ##
15419 ## ----------------------------------------- ##
15420 _ASBOX
15422 sed "s/^/$as_me: WARNING: /" >&2
15424 esac
15425 echo "$as_me:$LINENO: checking for $ac_header" >&5
15426 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15427 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15428 echo $ECHO_N "(cached) $ECHO_C" >&6
15429 else
15430 eval "$as_ac_Header=\$ac_header_preproc"
15432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15433 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15436 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15437 cat >>confdefs.h <<_ACEOF
15438 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15439 _ACEOF
15440 ac_has_wchar_h=yes
15441 else
15442 ac_has_wchar_h=no
15445 done
15447 echo "$as_me:$LINENO: checking for mbstate_t" >&5
15448 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
15449 cat >conftest.$ac_ext <<_ACEOF
15450 /* confdefs.h. */
15451 _ACEOF
15452 cat confdefs.h >>conftest.$ac_ext
15453 cat >>conftest.$ac_ext <<_ACEOF
15454 /* end confdefs.h. */
15455 #include <wchar.h>
15457 main ()
15459 mbstate_t teststate;
15461 return 0;
15463 _ACEOF
15464 rm -f conftest.$ac_objext
15465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15466 (eval $ac_compile) 2>conftest.er1
15467 ac_status=$?
15468 grep -v '^ *+' conftest.er1 >conftest.err
15469 rm -f conftest.er1
15470 cat conftest.err >&5
15471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15472 (exit $ac_status); } &&
15473 { ac_try='test -z "$ac_c_werror_flag"
15474 || test ! -s conftest.err'
15475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15476 (eval $ac_try) 2>&5
15477 ac_status=$?
15478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15479 (exit $ac_status); }; } &&
15480 { ac_try='test -s conftest.$ac_objext'
15481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15482 (eval $ac_try) 2>&5
15483 ac_status=$?
15484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15485 (exit $ac_status); }; }; then
15486 have_mbstate_t=yes
15487 else
15488 echo "$as_me: failed program was:" >&5
15489 sed 's/^/| /' conftest.$ac_ext >&5
15491 have_mbstate_t=no
15493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15494 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
15495 echo "${ECHO_T}$have_mbstate_t" >&6
15496 if test x"$have_mbstate_t" = xyes; then
15498 cat >>confdefs.h <<\_ACEOF
15499 #define HAVE_MBSTATE_T 1
15500 _ACEOF
15504 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
15505 # ac_has_wchar_h.
15507 for ac_header in wctype.h
15509 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15510 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15511 echo "$as_me:$LINENO: checking for $ac_header" >&5
15512 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15513 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15514 echo $ECHO_N "(cached) $ECHO_C" >&6
15516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15517 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15518 else
15519 # Is the header compilable?
15520 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15521 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15522 cat >conftest.$ac_ext <<_ACEOF
15523 /* confdefs.h. */
15524 _ACEOF
15525 cat confdefs.h >>conftest.$ac_ext
15526 cat >>conftest.$ac_ext <<_ACEOF
15527 /* end confdefs.h. */
15528 $ac_includes_default
15529 #include <$ac_header>
15530 _ACEOF
15531 rm -f conftest.$ac_objext
15532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15533 (eval $ac_compile) 2>conftest.er1
15534 ac_status=$?
15535 grep -v '^ *+' conftest.er1 >conftest.err
15536 rm -f conftest.er1
15537 cat conftest.err >&5
15538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15539 (exit $ac_status); } &&
15540 { ac_try='test -z "$ac_c_werror_flag"
15541 || test ! -s conftest.err'
15542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15543 (eval $ac_try) 2>&5
15544 ac_status=$?
15545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15546 (exit $ac_status); }; } &&
15547 { ac_try='test -s conftest.$ac_objext'
15548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15549 (eval $ac_try) 2>&5
15550 ac_status=$?
15551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15552 (exit $ac_status); }; }; then
15553 ac_header_compiler=yes
15554 else
15555 echo "$as_me: failed program was:" >&5
15556 sed 's/^/| /' conftest.$ac_ext >&5
15558 ac_header_compiler=no
15560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15561 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15562 echo "${ECHO_T}$ac_header_compiler" >&6
15564 # Is the header present?
15565 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15566 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15567 cat >conftest.$ac_ext <<_ACEOF
15568 /* confdefs.h. */
15569 _ACEOF
15570 cat confdefs.h >>conftest.$ac_ext
15571 cat >>conftest.$ac_ext <<_ACEOF
15572 /* end confdefs.h. */
15573 #include <$ac_header>
15574 _ACEOF
15575 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15576 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15577 ac_status=$?
15578 grep -v '^ *+' conftest.er1 >conftest.err
15579 rm -f conftest.er1
15580 cat conftest.err >&5
15581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15582 (exit $ac_status); } >/dev/null; then
15583 if test -s conftest.err; then
15584 ac_cpp_err=$ac_c_preproc_warn_flag
15585 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15586 else
15587 ac_cpp_err=
15589 else
15590 ac_cpp_err=yes
15592 if test -z "$ac_cpp_err"; then
15593 ac_header_preproc=yes
15594 else
15595 echo "$as_me: failed program was:" >&5
15596 sed 's/^/| /' conftest.$ac_ext >&5
15598 ac_header_preproc=no
15600 rm -f conftest.err conftest.$ac_ext
15601 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15602 echo "${ECHO_T}$ac_header_preproc" >&6
15604 # So? What about this header?
15605 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15606 yes:no: )
15607 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15608 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15609 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15610 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15611 ac_header_preproc=yes
15613 no:yes:* )
15614 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15615 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15616 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15617 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15618 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15619 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15620 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15621 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15622 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15623 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15624 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15625 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15627 cat <<\_ASBOX
15628 ## ----------------------------------------- ##
15629 ## Report this to the package-unused lists. ##
15630 ## ----------------------------------------- ##
15631 _ASBOX
15633 sed "s/^/$as_me: WARNING: /" >&2
15635 esac
15636 echo "$as_me:$LINENO: checking for $ac_header" >&5
15637 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15638 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15639 echo $ECHO_N "(cached) $ECHO_C" >&6
15640 else
15641 eval "$as_ac_Header=\$ac_header_preproc"
15643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15644 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15647 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15648 cat >>confdefs.h <<_ACEOF
15649 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15650 _ACEOF
15651 ac_has_wctype_h=yes
15652 else
15653 ac_has_wctype_h=no
15656 done
15659 if test x"$enable_wchar_t" = x"yes"; then
15663 ac_ext=cc
15664 ac_cpp='$CXXCPP $CPPFLAGS'
15665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15670 if test x"$ac_has_wchar_h" = xyes &&
15671 test x"$ac_has_wctype_h" = xyes; then
15672 cat >conftest.$ac_ext <<_ACEOF
15673 /* confdefs.h. */
15674 _ACEOF
15675 cat confdefs.h >>conftest.$ac_ext
15676 cat >>conftest.$ac_ext <<_ACEOF
15677 /* end confdefs.h. */
15678 #include <wchar.h>
15679 #include <stddef.h>
15680 wint_t i;
15681 long l = WEOF;
15682 long j = WCHAR_MIN;
15683 long k = WCHAR_MAX;
15684 namespace test
15686 using ::btowc;
15687 using ::fgetwc;
15688 using ::fgetws;
15689 using ::fputwc;
15690 using ::fputws;
15691 using ::fwide;
15692 using ::fwprintf;
15693 using ::fwscanf;
15694 using ::getwc;
15695 using ::getwchar;
15696 using ::mbrlen;
15697 using ::mbrtowc;
15698 using ::mbsinit;
15699 using ::mbsrtowcs;
15700 using ::putwc;
15701 using ::putwchar;
15702 using ::swprintf;
15703 using ::swscanf;
15704 using ::ungetwc;
15705 using ::vfwprintf;
15706 using ::vswprintf;
15707 using ::vwprintf;
15708 using ::wcrtomb;
15709 using ::wcscat;
15710 using ::wcschr;
15711 using ::wcscmp;
15712 using ::wcscoll;
15713 using ::wcscpy;
15714 using ::wcscspn;
15715 using ::wcsftime;
15716 using ::wcslen;
15717 using ::wcsncat;
15718 using ::wcsncmp;
15719 using ::wcsncpy;
15720 using ::wcspbrk;
15721 using ::wcsrchr;
15722 using ::wcsrtombs;
15723 using ::wcsspn;
15724 using ::wcsstr;
15725 using ::wcstod;
15726 using ::wcstok;
15727 using ::wcstol;
15728 using ::wcstoul;
15729 using ::wcsxfrm;
15730 using ::wctob;
15731 using ::wmemchr;
15732 using ::wmemcmp;
15733 using ::wmemcpy;
15734 using ::wmemmove;
15735 using ::wmemset;
15736 using ::wprintf;
15737 using ::wscanf;
15741 main ()
15745 return 0;
15747 _ACEOF
15748 rm -f conftest.$ac_objext
15749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15750 (eval $ac_compile) 2>conftest.er1
15751 ac_status=$?
15752 grep -v '^ *+' conftest.er1 >conftest.err
15753 rm -f conftest.er1
15754 cat conftest.err >&5
15755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15756 (exit $ac_status); } &&
15757 { ac_try='test -z "$ac_cxx_werror_flag"
15758 || test ! -s conftest.err'
15759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15760 (eval $ac_try) 2>&5
15761 ac_status=$?
15762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15763 (exit $ac_status); }; } &&
15764 { ac_try='test -s conftest.$ac_objext'
15765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15766 (eval $ac_try) 2>&5
15767 ac_status=$?
15768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15769 (exit $ac_status); }; }; then
15771 else
15772 echo "$as_me: failed program was:" >&5
15773 sed 's/^/| /' conftest.$ac_ext >&5
15775 enable_wchar_t=no
15777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15778 else
15779 enable_wchar_t=no
15782 ac_ext=c
15783 ac_cpp='$CPP $CPPFLAGS'
15784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15790 if test x"$enable_wchar_t" = x"yes"; then
15792 cat >>confdefs.h <<\_ACEOF
15793 #define _GLIBCXX_USE_WCHAR_T 1
15794 _ACEOF
15798 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
15799 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
15800 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
15801 echo "${ECHO_T}$enable_wchar_t" >&6
15805 # Check whether --enable-c99 or --disable-c99 was given.
15806 if test "${enable_c99+set}" = set; then
15807 enableval="$enable_c99"
15809 case "$enableval" in
15810 yes|no) ;;
15811 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
15812 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
15813 { (exit 1); exit 1; }; } ;;
15814 esac
15816 else
15817 enable_c99=yes
15821 if test x"$enable_c99" = x"yes"; then
15825 ac_ext=cc
15826 ac_cpp='$CXXCPP $CPPFLAGS'
15827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15832 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
15833 # undefined and fake C99 facilities - like pre-standard snprintf - may be
15834 # spuriously enabled.
15835 # Long term, -std=c++0x could be even better, could manage to explicitely
15836 # request C99 facilities to the underlying C headers.
15837 ac_save_CXXFLAGS="$CXXFLAGS"
15838 CXXFLAGS="$CXXFLAGS -std=c++98"
15839 ac_save_LIBS="$LIBS"
15840 ac_save_gcc_no_link="$gcc_no_link"
15842 if test x$gcc_no_link != xyes; then
15843 # Use -fno-exceptions to that the C driver can link these tests without
15844 # hitting undefined references to personality routines.
15845 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15846 echo "$as_me:$LINENO: checking for sin in -lm" >&5
15847 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
15848 if test "${ac_cv_lib_m_sin+set}" = set; then
15849 echo $ECHO_N "(cached) $ECHO_C" >&6
15850 else
15851 ac_check_lib_save_LIBS=$LIBS
15852 LIBS="-lm $LIBS"
15853 if test x$gcc_no_link = xyes; then
15854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15856 { (exit 1); exit 1; }; }
15858 cat >conftest.$ac_ext <<_ACEOF
15859 /* confdefs.h. */
15860 _ACEOF
15861 cat confdefs.h >>conftest.$ac_ext
15862 cat >>conftest.$ac_ext <<_ACEOF
15863 /* end confdefs.h. */
15865 /* Override any gcc2 internal prototype to avoid an error. */
15866 #ifdef __cplusplus
15867 extern "C"
15868 #endif
15869 /* We use char because int might match the return type of a gcc2
15870 builtin and then its argument prototype would still apply. */
15871 char sin ();
15873 main ()
15875 sin ();
15877 return 0;
15879 _ACEOF
15880 rm -f conftest.$ac_objext conftest$ac_exeext
15881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15882 (eval $ac_link) 2>conftest.er1
15883 ac_status=$?
15884 grep -v '^ *+' conftest.er1 >conftest.err
15885 rm -f conftest.er1
15886 cat conftest.err >&5
15887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15888 (exit $ac_status); } &&
15889 { ac_try='test -z "$ac_cxx_werror_flag"
15890 || test ! -s conftest.err'
15891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15892 (eval $ac_try) 2>&5
15893 ac_status=$?
15894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15895 (exit $ac_status); }; } &&
15896 { ac_try='test -s conftest$ac_exeext'
15897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15898 (eval $ac_try) 2>&5
15899 ac_status=$?
15900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15901 (exit $ac_status); }; }; then
15902 ac_cv_lib_m_sin=yes
15903 else
15904 echo "$as_me: failed program was:" >&5
15905 sed 's/^/| /' conftest.$ac_ext >&5
15907 ac_cv_lib_m_sin=no
15909 rm -f conftest.err conftest.$ac_objext \
15910 conftest$ac_exeext conftest.$ac_ext
15911 LIBS=$ac_check_lib_save_LIBS
15913 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
15914 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
15915 if test $ac_cv_lib_m_sin = yes; then
15917 LIBS="$LIBS -lm"
15919 else
15921 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
15922 gcc_no_link=yes
15928 # Check for the existence of <math.h> functions used if C99 is enabled.
15929 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
15930 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
15931 if test "${glibcxx_cv_c99_math+set}" = set; then
15932 echo $ECHO_N "(cached) $ECHO_C" >&6
15933 else
15935 if test x$gcc_no_link = xyes; then
15936 cat >conftest.$ac_ext <<_ACEOF
15937 /* confdefs.h. */
15938 _ACEOF
15939 cat confdefs.h >>conftest.$ac_ext
15940 cat >>conftest.$ac_ext <<_ACEOF
15941 /* end confdefs.h. */
15942 #include <math.h>
15943 volatile double d1, d2;
15944 volatile int i;
15946 main ()
15948 i = fpclassify(d1);
15949 i = isfinite(d1);
15950 i = isinf(d1);
15951 i = isnan(d1);
15952 i = isnormal(d1);
15953 i = signbit(d1);
15954 i = isgreater(d1, d2);
15955 i = isgreaterequal(d1, d2);
15956 i = isless(d1, d2);
15957 i = islessequal(d1, d2);
15958 i = islessgreater(d1, d2);
15959 i = islessgreater(d1, d2);
15960 i = isunordered(d1, d2);
15963 return 0;
15965 _ACEOF
15966 rm -f conftest.$ac_objext
15967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15968 (eval $ac_compile) 2>conftest.er1
15969 ac_status=$?
15970 grep -v '^ *+' conftest.er1 >conftest.err
15971 rm -f conftest.er1
15972 cat conftest.err >&5
15973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15974 (exit $ac_status); } &&
15975 { ac_try='test -z "$ac_cxx_werror_flag"
15976 || test ! -s conftest.err'
15977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15978 (eval $ac_try) 2>&5
15979 ac_status=$?
15980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15981 (exit $ac_status); }; } &&
15982 { ac_try='test -s conftest.$ac_objext'
15983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15984 (eval $ac_try) 2>&5
15985 ac_status=$?
15986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15987 (exit $ac_status); }; }; then
15988 glibcxx_cv_c99_math=yes
15989 else
15990 echo "$as_me: failed program was:" >&5
15991 sed 's/^/| /' conftest.$ac_ext >&5
15993 glibcxx_cv_c99_math=no
15995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15996 else
15997 if test x$gcc_no_link = xyes; then
15998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16000 { (exit 1); exit 1; }; }
16002 cat >conftest.$ac_ext <<_ACEOF
16003 /* confdefs.h. */
16004 _ACEOF
16005 cat confdefs.h >>conftest.$ac_ext
16006 cat >>conftest.$ac_ext <<_ACEOF
16007 /* end confdefs.h. */
16008 #include <math.h>
16009 volatile double d1, d2;
16010 volatile int i;
16012 main ()
16014 i = fpclassify(d1);
16015 i = isfinite(d1);
16016 i = isinf(d1);
16017 i = isnan(d1);
16018 i = isnormal(d1);
16019 i = signbit(d1);
16020 i = isgreater(d1, d2);
16021 i = isgreaterequal(d1, d2);
16022 i = isless(d1, d2);
16023 i = islessequal(d1, d2);
16024 i = islessgreater(d1, d2);
16025 i = islessgreater(d1, d2);
16026 i = isunordered(d1, d2);
16029 return 0;
16031 _ACEOF
16032 rm -f conftest.$ac_objext conftest$ac_exeext
16033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16034 (eval $ac_link) 2>conftest.er1
16035 ac_status=$?
16036 grep -v '^ *+' conftest.er1 >conftest.err
16037 rm -f conftest.er1
16038 cat conftest.err >&5
16039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16040 (exit $ac_status); } &&
16041 { ac_try='test -z "$ac_cxx_werror_flag"
16042 || test ! -s conftest.err'
16043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16044 (eval $ac_try) 2>&5
16045 ac_status=$?
16046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16047 (exit $ac_status); }; } &&
16048 { ac_try='test -s conftest$ac_exeext'
16049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16050 (eval $ac_try) 2>&5
16051 ac_status=$?
16052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16053 (exit $ac_status); }; }; then
16054 glibcxx_cv_c99_math=yes
16055 else
16056 echo "$as_me: failed program was:" >&5
16057 sed 's/^/| /' conftest.$ac_ext >&5
16059 glibcxx_cv_c99_math=no
16061 rm -f conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext conftest.$ac_ext
16067 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
16068 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
16069 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16071 cat >>confdefs.h <<\_ACEOF
16072 #define _GLIBCXX_USE_C99_MATH 1
16073 _ACEOF
16077 # Check for the existence of <complex.h> complex math functions.
16078 # This is necessary even though libstdc++ uses the builtin versions
16079 # of these functions, because if the builtin cannot be used, a reference
16080 # to the library function is emitted.
16082 for ac_header in tgmath.h
16084 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16085 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16086 echo "$as_me:$LINENO: checking for $ac_header" >&5
16087 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16088 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16089 echo $ECHO_N "(cached) $ECHO_C" >&6
16091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16092 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16093 else
16094 # Is the header compilable?
16095 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16096 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16097 cat >conftest.$ac_ext <<_ACEOF
16098 /* confdefs.h. */
16099 _ACEOF
16100 cat confdefs.h >>conftest.$ac_ext
16101 cat >>conftest.$ac_ext <<_ACEOF
16102 /* end confdefs.h. */
16103 $ac_includes_default
16104 #include <$ac_header>
16105 _ACEOF
16106 rm -f conftest.$ac_objext
16107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16108 (eval $ac_compile) 2>conftest.er1
16109 ac_status=$?
16110 grep -v '^ *+' conftest.er1 >conftest.err
16111 rm -f conftest.er1
16112 cat conftest.err >&5
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); } &&
16115 { ac_try='test -z "$ac_cxx_werror_flag"
16116 || test ! -s conftest.err'
16117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16118 (eval $ac_try) 2>&5
16119 ac_status=$?
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); }; } &&
16122 { ac_try='test -s conftest.$ac_objext'
16123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16124 (eval $ac_try) 2>&5
16125 ac_status=$?
16126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16127 (exit $ac_status); }; }; then
16128 ac_header_compiler=yes
16129 else
16130 echo "$as_me: failed program was:" >&5
16131 sed 's/^/| /' conftest.$ac_ext >&5
16133 ac_header_compiler=no
16135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16136 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16137 echo "${ECHO_T}$ac_header_compiler" >&6
16139 # Is the header present?
16140 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16141 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16142 cat >conftest.$ac_ext <<_ACEOF
16143 /* confdefs.h. */
16144 _ACEOF
16145 cat confdefs.h >>conftest.$ac_ext
16146 cat >>conftest.$ac_ext <<_ACEOF
16147 /* end confdefs.h. */
16148 #include <$ac_header>
16149 _ACEOF
16150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16152 ac_status=$?
16153 grep -v '^ *+' conftest.er1 >conftest.err
16154 rm -f conftest.er1
16155 cat conftest.err >&5
16156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16157 (exit $ac_status); } >/dev/null; then
16158 if test -s conftest.err; then
16159 ac_cpp_err=$ac_cxx_preproc_warn_flag
16160 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16161 else
16162 ac_cpp_err=
16164 else
16165 ac_cpp_err=yes
16167 if test -z "$ac_cpp_err"; then
16168 ac_header_preproc=yes
16169 else
16170 echo "$as_me: failed program was:" >&5
16171 sed 's/^/| /' conftest.$ac_ext >&5
16173 ac_header_preproc=no
16175 rm -f conftest.err conftest.$ac_ext
16176 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16177 echo "${ECHO_T}$ac_header_preproc" >&6
16179 # So? What about this header?
16180 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16181 yes:no: )
16182 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16183 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16184 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16185 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16186 ac_header_preproc=yes
16188 no:yes:* )
16189 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16190 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16191 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16192 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16193 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16194 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16195 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16196 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16197 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16198 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16199 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16200 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16202 cat <<\_ASBOX
16203 ## ----------------------------------------- ##
16204 ## Report this to the package-unused lists. ##
16205 ## ----------------------------------------- ##
16206 _ASBOX
16208 sed "s/^/$as_me: WARNING: /" >&2
16210 esac
16211 echo "$as_me:$LINENO: checking for $ac_header" >&5
16212 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16213 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16214 echo $ECHO_N "(cached) $ECHO_C" >&6
16215 else
16216 eval "$as_ac_Header=\$ac_header_preproc"
16218 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16219 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16222 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16223 cat >>confdefs.h <<_ACEOF
16224 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16225 _ACEOF
16226 ac_has_tgmath_h=yes
16227 else
16228 ac_has_tgmath_h=no
16231 done
16234 for ac_header in complex.h
16236 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16238 echo "$as_me:$LINENO: checking for $ac_header" >&5
16239 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16240 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16241 echo $ECHO_N "(cached) $ECHO_C" >&6
16243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16244 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16245 else
16246 # Is the header compilable?
16247 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16248 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255 $ac_includes_default
16256 #include <$ac_header>
16257 _ACEOF
16258 rm -f conftest.$ac_objext
16259 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16260 (eval $ac_compile) 2>conftest.er1
16261 ac_status=$?
16262 grep -v '^ *+' conftest.er1 >conftest.err
16263 rm -f conftest.er1
16264 cat conftest.err >&5
16265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16266 (exit $ac_status); } &&
16267 { ac_try='test -z "$ac_cxx_werror_flag"
16268 || test ! -s conftest.err'
16269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16270 (eval $ac_try) 2>&5
16271 ac_status=$?
16272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16273 (exit $ac_status); }; } &&
16274 { ac_try='test -s conftest.$ac_objext'
16275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16276 (eval $ac_try) 2>&5
16277 ac_status=$?
16278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16279 (exit $ac_status); }; }; then
16280 ac_header_compiler=yes
16281 else
16282 echo "$as_me: failed program was:" >&5
16283 sed 's/^/| /' conftest.$ac_ext >&5
16285 ac_header_compiler=no
16287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16288 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16289 echo "${ECHO_T}$ac_header_compiler" >&6
16291 # Is the header present?
16292 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16294 cat >conftest.$ac_ext <<_ACEOF
16295 /* confdefs.h. */
16296 _ACEOF
16297 cat confdefs.h >>conftest.$ac_ext
16298 cat >>conftest.$ac_ext <<_ACEOF
16299 /* end confdefs.h. */
16300 #include <$ac_header>
16301 _ACEOF
16302 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16304 ac_status=$?
16305 grep -v '^ *+' conftest.er1 >conftest.err
16306 rm -f conftest.er1
16307 cat conftest.err >&5
16308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16309 (exit $ac_status); } >/dev/null; then
16310 if test -s conftest.err; then
16311 ac_cpp_err=$ac_cxx_preproc_warn_flag
16312 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
16313 else
16314 ac_cpp_err=
16316 else
16317 ac_cpp_err=yes
16319 if test -z "$ac_cpp_err"; then
16320 ac_header_preproc=yes
16321 else
16322 echo "$as_me: failed program was:" >&5
16323 sed 's/^/| /' conftest.$ac_ext >&5
16325 ac_header_preproc=no
16327 rm -f conftest.err conftest.$ac_ext
16328 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16329 echo "${ECHO_T}$ac_header_preproc" >&6
16331 # So? What about this header?
16332 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
16333 yes:no: )
16334 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16335 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16336 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16337 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16338 ac_header_preproc=yes
16340 no:yes:* )
16341 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16342 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16343 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16344 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16345 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16346 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16347 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16348 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16349 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16350 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16351 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16352 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16354 cat <<\_ASBOX
16355 ## ----------------------------------------- ##
16356 ## Report this to the package-unused lists. ##
16357 ## ----------------------------------------- ##
16358 _ASBOX
16360 sed "s/^/$as_me: WARNING: /" >&2
16362 esac
16363 echo "$as_me:$LINENO: checking for $ac_header" >&5
16364 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16365 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16366 echo $ECHO_N "(cached) $ECHO_C" >&6
16367 else
16368 eval "$as_ac_Header=\$ac_header_preproc"
16370 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16371 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16374 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16375 cat >>confdefs.h <<_ACEOF
16376 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16377 _ACEOF
16378 ac_has_complex_h=yes
16379 else
16380 ac_has_complex_h=no
16383 done
16385 glibcxx_cv_c99_complex=no;
16386 if test x"$ac_has_complex_h" = x"yes"; then
16387 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
16388 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
16389 if test x$gcc_no_link = xyes; then
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396 #include <complex.h>
16397 typedef __complex__ float float_type;
16398 typedef __complex__ double double_type;
16399 typedef __complex__ long double ld_type;
16400 volatile float_type tmpf;
16401 volatile double_type tmpd;
16402 volatile ld_type tmpld;
16403 volatile float f;
16404 volatile double d;
16405 volatile long double ld;
16407 main ()
16409 f = cabsf(tmpf);
16410 f = cargf(tmpf);
16411 tmpf = ccosf(tmpf);
16412 tmpf = ccoshf(tmpf);
16413 tmpf = cexpf(tmpf);
16414 tmpf = clogf(tmpf);
16415 tmpf = csinf(tmpf);
16416 tmpf = csinhf(tmpf);
16417 tmpf = csqrtf(tmpf);
16418 tmpf = ctanf(tmpf);
16419 tmpf = ctanhf(tmpf);
16420 tmpf = cpowf(tmpf, tmpf);
16421 tmpf = cprojf(tmpf);
16422 d = cabs(tmpd);
16423 d = carg(tmpd);
16424 tmpd = ccos(tmpd);
16425 tmpd = ccosh(tmpd);
16426 tmpd = cexp(tmpd);
16427 tmpd = clog(tmpd);
16428 tmpd = csin(tmpd);
16429 tmpd = csinh(tmpd);
16430 tmpd = csqrt(tmpd);
16431 tmpd = ctan(tmpd);
16432 tmpd = ctanh(tmpd);
16433 tmpd = cpow(tmpd, tmpd);
16434 tmpd = cproj(tmpd);
16435 ld = cabsl(tmpld);
16436 ld = cargl(tmpld);
16437 tmpld = ccosl(tmpld);
16438 tmpld = ccoshl(tmpld);
16439 tmpld = cexpl(tmpld);
16440 tmpld = clogl(tmpld);
16441 tmpld = csinl(tmpld);
16442 tmpld = csinhl(tmpld);
16443 tmpld = csqrtl(tmpld);
16444 tmpld = ctanl(tmpld);
16445 tmpld = ctanhl(tmpld);
16446 tmpld = cpowl(tmpld, tmpld);
16447 tmpld = cprojl(tmpld);
16450 return 0;
16452 _ACEOF
16453 rm -f conftest.$ac_objext
16454 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16455 (eval $ac_compile) 2>conftest.er1
16456 ac_status=$?
16457 grep -v '^ *+' conftest.er1 >conftest.err
16458 rm -f conftest.er1
16459 cat conftest.err >&5
16460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16461 (exit $ac_status); } &&
16462 { ac_try='test -z "$ac_cxx_werror_flag"
16463 || test ! -s conftest.err'
16464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16465 (eval $ac_try) 2>&5
16466 ac_status=$?
16467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16468 (exit $ac_status); }; } &&
16469 { ac_try='test -s conftest.$ac_objext'
16470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16471 (eval $ac_try) 2>&5
16472 ac_status=$?
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); }; }; then
16475 glibcxx_cv_c99_complex=yes
16476 else
16477 echo "$as_me: failed program was:" >&5
16478 sed 's/^/| /' conftest.$ac_ext >&5
16480 glibcxx_cv_c99_complex=no
16482 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16483 else
16484 if test x$gcc_no_link = xyes; then
16485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16487 { (exit 1); exit 1; }; }
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495 #include <complex.h>
16496 typedef __complex__ float float_type;
16497 typedef __complex__ double double_type;
16498 typedef __complex__ long double ld_type;
16499 volatile float_type tmpf;
16500 volatile double_type tmpd;
16501 volatile ld_type tmpld;
16502 volatile float f;
16503 volatile double d;
16504 volatile long double ld;
16506 main ()
16508 f = cabsf(tmpf);
16509 f = cargf(tmpf);
16510 tmpf = ccosf(tmpf);
16511 tmpf = ccoshf(tmpf);
16512 tmpf = cexpf(tmpf);
16513 tmpf = clogf(tmpf);
16514 tmpf = csinf(tmpf);
16515 tmpf = csinhf(tmpf);
16516 tmpf = csqrtf(tmpf);
16517 tmpf = ctanf(tmpf);
16518 tmpf = ctanhf(tmpf);
16519 tmpf = cpowf(tmpf, tmpf);
16520 tmpf = cprojf(tmpf);
16521 d = cabs(tmpd);
16522 d = carg(tmpd);
16523 tmpd = ccos(tmpd);
16524 tmpd = ccosh(tmpd);
16525 tmpd = cexp(tmpd);
16526 tmpd = clog(tmpd);
16527 tmpd = csin(tmpd);
16528 tmpd = csinh(tmpd);
16529 tmpd = csqrt(tmpd);
16530 tmpd = ctan(tmpd);
16531 tmpd = ctanh(tmpd);
16532 tmpd = cpow(tmpd, tmpd);
16533 tmpd = cproj(tmpd);
16534 ld = cabsl(tmpld);
16535 ld = cargl(tmpld);
16536 tmpld = ccosl(tmpld);
16537 tmpld = ccoshl(tmpld);
16538 tmpld = cexpl(tmpld);
16539 tmpld = clogl(tmpld);
16540 tmpld = csinl(tmpld);
16541 tmpld = csinhl(tmpld);
16542 tmpld = csqrtl(tmpld);
16543 tmpld = ctanl(tmpld);
16544 tmpld = ctanhl(tmpld);
16545 tmpld = cpowl(tmpld, tmpld);
16546 tmpld = cprojl(tmpld);
16549 return 0;
16551 _ACEOF
16552 rm -f conftest.$ac_objext conftest$ac_exeext
16553 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16554 (eval $ac_link) 2>conftest.er1
16555 ac_status=$?
16556 grep -v '^ *+' conftest.er1 >conftest.err
16557 rm -f conftest.er1
16558 cat conftest.err >&5
16559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16560 (exit $ac_status); } &&
16561 { ac_try='test -z "$ac_cxx_werror_flag"
16562 || test ! -s conftest.err'
16563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16564 (eval $ac_try) 2>&5
16565 ac_status=$?
16566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16567 (exit $ac_status); }; } &&
16568 { ac_try='test -s conftest$ac_exeext'
16569 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16570 (eval $ac_try) 2>&5
16571 ac_status=$?
16572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16573 (exit $ac_status); }; }; then
16574 glibcxx_cv_c99_complex=yes
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16579 glibcxx_cv_c99_complex=no
16581 rm -f conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16585 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
16586 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
16587 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16589 cat >>confdefs.h <<\_ACEOF
16590 #define _GLIBCXX_USE_C99_COMPLEX 1
16591 _ACEOF
16595 # Check for the existence in <stdio.h> of vscanf, et. al.
16596 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
16597 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
16598 if test "${glibcxx_cv_c99_stdio+set}" = set; then
16599 echo $ECHO_N "(cached) $ECHO_C" >&6
16600 else
16602 if test x$gcc_no_link = xyes; then
16603 cat >conftest.$ac_ext <<_ACEOF
16604 /* confdefs.h. */
16605 _ACEOF
16606 cat confdefs.h >>conftest.$ac_ext
16607 cat >>conftest.$ac_ext <<_ACEOF
16608 /* end confdefs.h. */
16609 #include <stdio.h>
16610 #include <stdarg.h>
16611 void foo(char* fmt, ...)
16613 va_list args; va_start(args, fmt);
16614 vfscanf(stderr, "%i", args);
16615 vscanf("%i", args);
16616 vsnprintf(fmt, 0, "%i", args);
16617 vsscanf(fmt, "%i", args);
16620 main ()
16622 snprintf("12", 0, "%i");
16624 return 0;
16626 _ACEOF
16627 rm -f conftest.$ac_objext
16628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16629 (eval $ac_compile) 2>conftest.er1
16630 ac_status=$?
16631 grep -v '^ *+' conftest.er1 >conftest.err
16632 rm -f conftest.er1
16633 cat conftest.err >&5
16634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16635 (exit $ac_status); } &&
16636 { ac_try='test -z "$ac_cxx_werror_flag"
16637 || test ! -s conftest.err'
16638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16639 (eval $ac_try) 2>&5
16640 ac_status=$?
16641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16642 (exit $ac_status); }; } &&
16643 { ac_try='test -s conftest.$ac_objext'
16644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16645 (eval $ac_try) 2>&5
16646 ac_status=$?
16647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16648 (exit $ac_status); }; }; then
16649 glibcxx_cv_c99_stdio=yes
16650 else
16651 echo "$as_me: failed program was:" >&5
16652 sed 's/^/| /' conftest.$ac_ext >&5
16654 glibcxx_cv_c99_stdio=no
16656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16657 else
16658 if test x$gcc_no_link = xyes; then
16659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16661 { (exit 1); exit 1; }; }
16663 cat >conftest.$ac_ext <<_ACEOF
16664 /* confdefs.h. */
16665 _ACEOF
16666 cat confdefs.h >>conftest.$ac_ext
16667 cat >>conftest.$ac_ext <<_ACEOF
16668 /* end confdefs.h. */
16669 #include <stdio.h>
16670 #include <stdarg.h>
16671 void foo(char* fmt, ...)
16673 va_list args; va_start(args, fmt);
16674 vfscanf(stderr, "%i", args);
16675 vscanf("%i", args);
16676 vsnprintf(fmt, 0, "%i", args);
16677 vsscanf(fmt, "%i", args);
16680 main ()
16682 snprintf("12", 0, "%i");
16684 return 0;
16686 _ACEOF
16687 rm -f conftest.$ac_objext conftest$ac_exeext
16688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16689 (eval $ac_link) 2>conftest.er1
16690 ac_status=$?
16691 grep -v '^ *+' conftest.er1 >conftest.err
16692 rm -f conftest.er1
16693 cat conftest.err >&5
16694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16695 (exit $ac_status); } &&
16696 { ac_try='test -z "$ac_cxx_werror_flag"
16697 || test ! -s conftest.err'
16698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16699 (eval $ac_try) 2>&5
16700 ac_status=$?
16701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16702 (exit $ac_status); }; } &&
16703 { ac_try='test -s conftest$ac_exeext'
16704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16705 (eval $ac_try) 2>&5
16706 ac_status=$?
16707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16708 (exit $ac_status); }; }; then
16709 glibcxx_cv_c99_stdio=yes
16710 else
16711 echo "$as_me: failed program was:" >&5
16712 sed 's/^/| /' conftest.$ac_ext >&5
16714 glibcxx_cv_c99_stdio=no
16716 rm -f conftest.err conftest.$ac_objext \
16717 conftest$ac_exeext conftest.$ac_ext
16722 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
16723 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
16725 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16726 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
16727 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
16728 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
16729 echo $ECHO_N "(cached) $ECHO_C" >&6
16730 else
16732 if test x$gcc_no_link = xyes; then
16733 cat >conftest.$ac_ext <<_ACEOF
16734 /* confdefs.h. */
16735 _ACEOF
16736 cat confdefs.h >>conftest.$ac_ext
16737 cat >>conftest.$ac_ext <<_ACEOF
16738 /* end confdefs.h. */
16739 #include <stdlib.h>
16740 volatile float f;
16741 volatile long double ld;
16742 volatile unsigned long long ll;
16743 lldiv_t mydivt;
16745 main ()
16747 char* tmp;
16748 f = strtof("gnu", &tmp);
16749 ld = strtold("gnu", &tmp);
16750 ll = strtoll("gnu", &tmp, 10);
16751 ll = strtoull("gnu", &tmp, 10);
16752 ll = llabs(10);
16753 mydivt = lldiv(10,1);
16754 ll = mydivt.quot;
16755 ll = mydivt.rem;
16756 ll = atoll("10");
16757 _Exit(0);
16760 return 0;
16762 _ACEOF
16763 rm -f conftest.$ac_objext
16764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16765 (eval $ac_compile) 2>conftest.er1
16766 ac_status=$?
16767 grep -v '^ *+' conftest.er1 >conftest.err
16768 rm -f conftest.er1
16769 cat conftest.err >&5
16770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16771 (exit $ac_status); } &&
16772 { ac_try='test -z "$ac_cxx_werror_flag"
16773 || test ! -s conftest.err'
16774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16775 (eval $ac_try) 2>&5
16776 ac_status=$?
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); }; } &&
16779 { ac_try='test -s conftest.$ac_objext'
16780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16781 (eval $ac_try) 2>&5
16782 ac_status=$?
16783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16784 (exit $ac_status); }; }; then
16785 glibcxx_cv_c99_stdlib=yes
16786 else
16787 echo "$as_me: failed program was:" >&5
16788 sed 's/^/| /' conftest.$ac_ext >&5
16790 glibcxx_cv_c99_stdlib=no
16792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16793 else
16794 if test x$gcc_no_link = xyes; then
16795 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16796 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16797 { (exit 1); exit 1; }; }
16799 cat >conftest.$ac_ext <<_ACEOF
16800 /* confdefs.h. */
16801 _ACEOF
16802 cat confdefs.h >>conftest.$ac_ext
16803 cat >>conftest.$ac_ext <<_ACEOF
16804 /* end confdefs.h. */
16805 #include <stdlib.h>
16806 volatile float f;
16807 volatile long double ld;
16808 volatile unsigned long long ll;
16809 lldiv_t mydivt;
16811 main ()
16813 char* tmp;
16814 f = strtof("gnu", &tmp);
16815 ld = strtold("gnu", &tmp);
16816 ll = strtoll("gnu", &tmp, 10);
16817 ll = strtoull("gnu", &tmp, 10);
16818 ll = llabs(10);
16819 mydivt = lldiv(10,1);
16820 ll = mydivt.quot;
16821 ll = mydivt.rem;
16822 ll = atoll("10");
16823 _Exit(0);
16826 return 0;
16828 _ACEOF
16829 rm -f conftest.$ac_objext conftest$ac_exeext
16830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16831 (eval $ac_link) 2>conftest.er1
16832 ac_status=$?
16833 grep -v '^ *+' conftest.er1 >conftest.err
16834 rm -f conftest.er1
16835 cat conftest.err >&5
16836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16837 (exit $ac_status); } &&
16838 { ac_try='test -z "$ac_cxx_werror_flag"
16839 || test ! -s conftest.err'
16840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16841 (eval $ac_try) 2>&5
16842 ac_status=$?
16843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16844 (exit $ac_status); }; } &&
16845 { ac_try='test -s conftest$ac_exeext'
16846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16847 (eval $ac_try) 2>&5
16848 ac_status=$?
16849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16850 (exit $ac_status); }; }; then
16851 glibcxx_cv_c99_stdlib=yes
16852 else
16853 echo "$as_me: failed program was:" >&5
16854 sed 's/^/| /' conftest.$ac_ext >&5
16856 glibcxx_cv_c99_stdlib=no
16858 rm -f conftest.err conftest.$ac_objext \
16859 conftest$ac_exeext conftest.$ac_ext
16864 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
16865 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
16867 # Check for the existence in <wchar.h> of wcstold, etc.
16868 glibcxx_cv_c99_wchar=no;
16869 if test x"$ac_has_wchar_h" = xyes &&
16870 test x"$ac_has_wctype_h" = xyes; then
16871 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
16872 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
16873 cat >conftest.$ac_ext <<_ACEOF
16874 /* confdefs.h. */
16875 _ACEOF
16876 cat confdefs.h >>conftest.$ac_ext
16877 cat >>conftest.$ac_ext <<_ACEOF
16878 /* end confdefs.h. */
16879 #include <wchar.h>
16880 namespace test
16882 using ::wcstold;
16883 using ::wcstoll;
16884 using ::wcstoull;
16888 main ()
16892 return 0;
16894 _ACEOF
16895 rm -f conftest.$ac_objext
16896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16897 (eval $ac_compile) 2>conftest.er1
16898 ac_status=$?
16899 grep -v '^ *+' conftest.er1 >conftest.err
16900 rm -f conftest.er1
16901 cat conftest.err >&5
16902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16903 (exit $ac_status); } &&
16904 { ac_try='test -z "$ac_cxx_werror_flag"
16905 || test ! -s conftest.err'
16906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16907 (eval $ac_try) 2>&5
16908 ac_status=$?
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); }; } &&
16911 { ac_try='test -s conftest.$ac_objext'
16912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16913 (eval $ac_try) 2>&5
16914 ac_status=$?
16915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16916 (exit $ac_status); }; }; then
16917 glibcxx_cv_c99_wchar=yes
16918 else
16919 echo "$as_me: failed program was:" >&5
16920 sed 's/^/| /' conftest.$ac_ext >&5
16922 glibcxx_cv_c99_wchar=no
16924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16926 # Checks for wide character functions that may not be present.
16927 # Injection of these is wrapped with guard macros.
16928 # NB: only put functions here, instead of immediately above, if
16929 # absolutely necessary.
16930 cat >conftest.$ac_ext <<_ACEOF
16931 /* confdefs.h. */
16932 _ACEOF
16933 cat confdefs.h >>conftest.$ac_ext
16934 cat >>conftest.$ac_ext <<_ACEOF
16935 /* end confdefs.h. */
16936 #include <wchar.h>
16937 namespace test { using ::vfwscanf; }
16939 main ()
16943 return 0;
16945 _ACEOF
16946 rm -f conftest.$ac_objext
16947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16948 (eval $ac_compile) 2>conftest.er1
16949 ac_status=$?
16950 grep -v '^ *+' conftest.er1 >conftest.err
16951 rm -f conftest.er1
16952 cat conftest.err >&5
16953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16954 (exit $ac_status); } &&
16955 { ac_try='test -z "$ac_cxx_werror_flag"
16956 || test ! -s conftest.err'
16957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16958 (eval $ac_try) 2>&5
16959 ac_status=$?
16960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16961 (exit $ac_status); }; } &&
16962 { ac_try='test -s conftest.$ac_objext'
16963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16964 (eval $ac_try) 2>&5
16965 ac_status=$?
16966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16967 (exit $ac_status); }; }; then
16969 cat >>confdefs.h <<\_ACEOF
16970 #define HAVE_VFWSCANF 1
16971 _ACEOF
16973 else
16974 echo "$as_me: failed program was:" >&5
16975 sed 's/^/| /' conftest.$ac_ext >&5
16978 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16980 cat >conftest.$ac_ext <<_ACEOF
16981 /* confdefs.h. */
16982 _ACEOF
16983 cat confdefs.h >>conftest.$ac_ext
16984 cat >>conftest.$ac_ext <<_ACEOF
16985 /* end confdefs.h. */
16986 #include <wchar.h>
16987 namespace test { using ::vswscanf; }
16989 main ()
16993 return 0;
16995 _ACEOF
16996 rm -f conftest.$ac_objext
16997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16998 (eval $ac_compile) 2>conftest.er1
16999 ac_status=$?
17000 grep -v '^ *+' conftest.er1 >conftest.err
17001 rm -f conftest.er1
17002 cat conftest.err >&5
17003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17004 (exit $ac_status); } &&
17005 { ac_try='test -z "$ac_cxx_werror_flag"
17006 || test ! -s conftest.err'
17007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17008 (eval $ac_try) 2>&5
17009 ac_status=$?
17010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17011 (exit $ac_status); }; } &&
17012 { ac_try='test -s conftest.$ac_objext'
17013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17014 (eval $ac_try) 2>&5
17015 ac_status=$?
17016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17017 (exit $ac_status); }; }; then
17019 cat >>confdefs.h <<\_ACEOF
17020 #define HAVE_VSWSCANF 1
17021 _ACEOF
17023 else
17024 echo "$as_me: failed program was:" >&5
17025 sed 's/^/| /' conftest.$ac_ext >&5
17028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17030 cat >conftest.$ac_ext <<_ACEOF
17031 /* confdefs.h. */
17032 _ACEOF
17033 cat confdefs.h >>conftest.$ac_ext
17034 cat >>conftest.$ac_ext <<_ACEOF
17035 /* end confdefs.h. */
17036 #include <wchar.h>
17037 namespace test { using ::vwscanf; }
17039 main ()
17043 return 0;
17045 _ACEOF
17046 rm -f conftest.$ac_objext
17047 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17048 (eval $ac_compile) 2>conftest.er1
17049 ac_status=$?
17050 grep -v '^ *+' conftest.er1 >conftest.err
17051 rm -f conftest.er1
17052 cat conftest.err >&5
17053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17054 (exit $ac_status); } &&
17055 { ac_try='test -z "$ac_cxx_werror_flag"
17056 || test ! -s conftest.err'
17057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17058 (eval $ac_try) 2>&5
17059 ac_status=$?
17060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17061 (exit $ac_status); }; } &&
17062 { ac_try='test -s conftest.$ac_objext'
17063 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17064 (eval $ac_try) 2>&5
17065 ac_status=$?
17066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17067 (exit $ac_status); }; }; then
17069 cat >>confdefs.h <<\_ACEOF
17070 #define HAVE_VWSCANF 1
17071 _ACEOF
17073 else
17074 echo "$as_me: failed program was:" >&5
17075 sed 's/^/| /' conftest.$ac_ext >&5
17078 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17080 cat >conftest.$ac_ext <<_ACEOF
17081 /* confdefs.h. */
17082 _ACEOF
17083 cat confdefs.h >>conftest.$ac_ext
17084 cat >>conftest.$ac_ext <<_ACEOF
17085 /* end confdefs.h. */
17086 #include <wchar.h>
17087 namespace test { using ::wcstof; }
17089 main ()
17093 return 0;
17095 _ACEOF
17096 rm -f conftest.$ac_objext
17097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17098 (eval $ac_compile) 2>conftest.er1
17099 ac_status=$?
17100 grep -v '^ *+' conftest.er1 >conftest.err
17101 rm -f conftest.er1
17102 cat conftest.err >&5
17103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17104 (exit $ac_status); } &&
17105 { ac_try='test -z "$ac_cxx_werror_flag"
17106 || test ! -s conftest.err'
17107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17108 (eval $ac_try) 2>&5
17109 ac_status=$?
17110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17111 (exit $ac_status); }; } &&
17112 { ac_try='test -s conftest.$ac_objext'
17113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17114 (eval $ac_try) 2>&5
17115 ac_status=$?
17116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17117 (exit $ac_status); }; }; then
17119 cat >>confdefs.h <<\_ACEOF
17120 #define HAVE_WCSTOF 1
17121 _ACEOF
17123 else
17124 echo "$as_me: failed program was:" >&5
17125 sed 's/^/| /' conftest.$ac_ext >&5
17128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17130 cat >conftest.$ac_ext <<_ACEOF
17131 /* confdefs.h. */
17132 _ACEOF
17133 cat confdefs.h >>conftest.$ac_ext
17134 cat >>conftest.$ac_ext <<_ACEOF
17135 /* end confdefs.h. */
17136 #include <wctype.h>
17138 main ()
17140 wint_t t; int i = iswblank(t);
17142 return 0;
17144 _ACEOF
17145 rm -f conftest.$ac_objext
17146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17147 (eval $ac_compile) 2>conftest.er1
17148 ac_status=$?
17149 grep -v '^ *+' conftest.er1 >conftest.err
17150 rm -f conftest.er1
17151 cat conftest.err >&5
17152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17153 (exit $ac_status); } &&
17154 { ac_try='test -z "$ac_cxx_werror_flag"
17155 || test ! -s conftest.err'
17156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17157 (eval $ac_try) 2>&5
17158 ac_status=$?
17159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17160 (exit $ac_status); }; } &&
17161 { ac_try='test -s conftest.$ac_objext'
17162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17163 (eval $ac_try) 2>&5
17164 ac_status=$?
17165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17166 (exit $ac_status); }; }; then
17168 cat >>confdefs.h <<\_ACEOF
17169 #define HAVE_ISWBLANK 1
17170 _ACEOF
17172 else
17173 echo "$as_me: failed program was:" >&5
17174 sed 's/^/| /' conftest.$ac_ext >&5
17177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17179 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
17180 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
17183 # Option parsed, now set things appropriately.
17184 if test x"$glibcxx_cv_c99_math" = x"no" ||
17185 test x"$glibcxx_cv_c99_complex" = x"no" ||
17186 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17187 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17188 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17189 enable_c99=no;
17190 else
17192 cat >>confdefs.h <<\_ACEOF
17193 #define _GLIBCXX_USE_C99 1
17194 _ACEOF
17198 gcc_no_link="$ac_save_gcc_no_link"
17199 LIBS="$ac_save_LIBS"
17200 CXXFLAGS="$ac_save_CXXFLAGS"
17201 ac_ext=c
17202 ac_cpp='$CPP $CPPFLAGS'
17203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17209 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
17210 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
17211 echo "$as_me:$LINENO: result: $enable_c99" >&5
17212 echo "${ECHO_T}$enable_c99" >&6
17215 # Check whether --enable-concept-checks or --disable-concept-checks was given.
17216 if test "${enable_concept_checks+set}" = set; then
17217 enableval="$enable_concept_checks"
17219 case "$enableval" in
17220 yes|no) ;;
17221 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
17222 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
17223 { (exit 1); exit 1; }; } ;;
17224 esac
17226 else
17227 enable_concept_checks=no
17230 if test $enable_concept_checks = yes; then
17232 cat >>confdefs.h <<\_ACEOF
17233 #define _GLIBCXX_CONCEPT_CHECKS 1
17234 _ACEOF
17239 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
17240 if test "${enable_libstdcxx_debug_flags+set}" = set; then
17241 enableval="$enable_libstdcxx_debug_flags"
17242 case "x$enable_libstdcxx_debug_flags" in
17243 xno | x) enable_libstdcxx_debug_flags= ;;
17244 x-*) ;;
17245 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
17246 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
17247 { (exit 1); exit 1; }; } ;;
17248 esac
17249 else
17250 enable_libstdcxx_debug_flags="-g3 -O0"
17254 # Option parsed, now set things appropriately
17255 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17258 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
17259 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17262 echo "$as_me:$LINENO: checking for additional debug build" >&5
17263 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
17264 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
17265 if test "${enable_libstdcxx_debug+set}" = set; then
17266 enableval="$enable_libstdcxx_debug"
17268 case "$enableval" in
17269 yes|no) ;;
17270 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
17271 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
17272 { (exit 1); exit 1; }; } ;;
17273 esac
17275 else
17276 enable_libstdcxx_debug=no
17279 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
17280 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
17285 enable_parallel=no;
17287 # See if configured libgomp/omp.h exists. (libgomp may be in
17288 # noconfigdirs but not explicitly disabled.)
17289 if test -f $glibcxx_builddir/../libgomp/omp.h; then
17290 enable_parallel=yes;
17291 else
17292 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
17293 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
17296 echo "$as_me:$LINENO: checking for parallel mode support" >&5
17297 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
17298 echo "$as_me:$LINENO: result: $enable_parallel" >&5
17299 echo "${ECHO_T}$enable_parallel" >&6
17302 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
17303 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
17304 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
17305 if test "${enable_cxx_flags+set}" = set; then
17306 enableval="$enable_cxx_flags"
17307 case "x$enable_cxx_flags" in
17308 xno | x) enable_cxx_flags= ;;
17309 x-*) ;;
17310 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
17311 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
17312 { (exit 1); exit 1; }; } ;;
17313 esac
17314 else
17315 enable_cxx_flags=
17319 # Run through flags (either default or command-line) and set anything
17320 # extra (e.g., #defines) that must accompany particular g++ options.
17321 if test -n "$enable_cxx_flags"; then
17322 for f in $enable_cxx_flags; do
17323 case "$f" in
17324 -fhonor-std) ;;
17325 -*) ;;
17326 *) # and we're trying to pass /what/ exactly?
17327 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
17328 echo "$as_me: error: compiler flags start with a -" >&2;}
17329 { (exit 1); exit 1; }; } ;;
17330 esac
17331 done
17334 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17335 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
17336 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
17340 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
17341 if test "${enable_fully_dynamic_string+set}" = set; then
17342 enableval="$enable_fully_dynamic_string"
17344 case "$enableval" in
17345 yes|no) ;;
17346 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
17347 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
17348 { (exit 1); exit 1; }; } ;;
17349 esac
17351 else
17352 enable_fully_dynamic_string=no
17355 if test $enable_fully_dynamic_string = yes; then
17357 cat >>confdefs.h <<\_ACEOF
17358 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
17359 _ACEOF
17364 # Checks for operating systems support that don't require linking.
17367 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
17368 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
17369 if test "${glibcxx_cv_system_error1+set}" = set; then
17370 echo $ECHO_N "(cached) $ECHO_C" >&6
17371 else
17373 cat >conftest.$ac_ext <<_ACEOF
17374 /* confdefs.h. */
17375 _ACEOF
17376 cat confdefs.h >>conftest.$ac_ext
17377 cat >>conftest.$ac_ext <<_ACEOF
17378 /* end confdefs.h. */
17379 #include <errno.h>
17381 main ()
17383 int i = EOWNERDEAD;
17385 return 0;
17387 _ACEOF
17388 rm -f conftest.$ac_objext
17389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17390 (eval $ac_compile) 2>conftest.er1
17391 ac_status=$?
17392 grep -v '^ *+' conftest.er1 >conftest.err
17393 rm -f conftest.er1
17394 cat conftest.err >&5
17395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17396 (exit $ac_status); } &&
17397 { ac_try='test -z "$ac_c_werror_flag"
17398 || test ! -s conftest.err'
17399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17400 (eval $ac_try) 2>&5
17401 ac_status=$?
17402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17403 (exit $ac_status); }; } &&
17404 { ac_try='test -s conftest.$ac_objext'
17405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17406 (eval $ac_try) 2>&5
17407 ac_status=$?
17408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17409 (exit $ac_status); }; }; then
17410 glibcxx_cv_system_error1=yes
17411 else
17412 echo "$as_me: failed program was:" >&5
17413 sed 's/^/| /' conftest.$ac_ext >&5
17415 glibcxx_cv_system_error1=no
17417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17421 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
17422 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
17423 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17425 cat >>confdefs.h <<\_ACEOF
17426 #define HAVE_EOWNERDEAD 1
17427 _ACEOF
17430 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
17431 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
17432 if test "${glibcxx_cv_system_error2+set}" = set; then
17433 echo $ECHO_N "(cached) $ECHO_C" >&6
17434 else
17436 cat >conftest.$ac_ext <<_ACEOF
17437 /* confdefs.h. */
17438 _ACEOF
17439 cat confdefs.h >>conftest.$ac_ext
17440 cat >>conftest.$ac_ext <<_ACEOF
17441 /* end confdefs.h. */
17442 #include <errno.h>
17444 main ()
17446 int i = ENOTRECOVERABLE;
17448 return 0;
17450 _ACEOF
17451 rm -f conftest.$ac_objext
17452 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17453 (eval $ac_compile) 2>conftest.er1
17454 ac_status=$?
17455 grep -v '^ *+' conftest.er1 >conftest.err
17456 rm -f conftest.er1
17457 cat conftest.err >&5
17458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17459 (exit $ac_status); } &&
17460 { ac_try='test -z "$ac_c_werror_flag"
17461 || test ! -s conftest.err'
17462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17463 (eval $ac_try) 2>&5
17464 ac_status=$?
17465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17466 (exit $ac_status); }; } &&
17467 { ac_try='test -s conftest.$ac_objext'
17468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17469 (eval $ac_try) 2>&5
17470 ac_status=$?
17471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17472 (exit $ac_status); }; }; then
17473 glibcxx_cv_system_error2=yes
17474 else
17475 echo "$as_me: failed program was:" >&5
17476 sed 's/^/| /' conftest.$ac_ext >&5
17478 glibcxx_cv_system_error2=no
17480 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17484 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
17485 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
17486 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17488 cat >>confdefs.h <<\_ACEOF
17489 #define HAVE_ENOTRECOVERABLE 1
17490 _ACEOF
17493 echo "$as_me:$LINENO: checking for ENOLINK" >&5
17494 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
17495 if test "${glibcxx_cv_system_error3+set}" = set; then
17496 echo $ECHO_N "(cached) $ECHO_C" >&6
17497 else
17499 cat >conftest.$ac_ext <<_ACEOF
17500 /* confdefs.h. */
17501 _ACEOF
17502 cat confdefs.h >>conftest.$ac_ext
17503 cat >>conftest.$ac_ext <<_ACEOF
17504 /* end confdefs.h. */
17505 #include <errno.h>
17507 main ()
17509 int i = ENOLINK;
17511 return 0;
17513 _ACEOF
17514 rm -f conftest.$ac_objext
17515 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17516 (eval $ac_compile) 2>conftest.er1
17517 ac_status=$?
17518 grep -v '^ *+' conftest.er1 >conftest.err
17519 rm -f conftest.er1
17520 cat conftest.err >&5
17521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17522 (exit $ac_status); } &&
17523 { ac_try='test -z "$ac_c_werror_flag"
17524 || test ! -s conftest.err'
17525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17526 (eval $ac_try) 2>&5
17527 ac_status=$?
17528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17529 (exit $ac_status); }; } &&
17530 { ac_try='test -s conftest.$ac_objext'
17531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17532 (eval $ac_try) 2>&5
17533 ac_status=$?
17534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17535 (exit $ac_status); }; }; then
17536 glibcxx_cv_system_error3=yes
17537 else
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17541 glibcxx_cv_system_error3=no
17543 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17547 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
17548 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
17549 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17551 cat >>confdefs.h <<\_ACEOF
17552 #define HAVE_ENOLINK 1
17553 _ACEOF
17556 echo "$as_me:$LINENO: checking for EPROTO" >&5
17557 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
17558 if test "${glibcxx_cv_system_error4+set}" = set; then
17559 echo $ECHO_N "(cached) $ECHO_C" >&6
17560 else
17562 cat >conftest.$ac_ext <<_ACEOF
17563 /* confdefs.h. */
17564 _ACEOF
17565 cat confdefs.h >>conftest.$ac_ext
17566 cat >>conftest.$ac_ext <<_ACEOF
17567 /* end confdefs.h. */
17568 #include <errno.h>
17570 main ()
17572 int i = EPROTO;
17574 return 0;
17576 _ACEOF
17577 rm -f conftest.$ac_objext
17578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17579 (eval $ac_compile) 2>conftest.er1
17580 ac_status=$?
17581 grep -v '^ *+' conftest.er1 >conftest.err
17582 rm -f conftest.er1
17583 cat conftest.err >&5
17584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17585 (exit $ac_status); } &&
17586 { ac_try='test -z "$ac_c_werror_flag"
17587 || test ! -s conftest.err'
17588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17589 (eval $ac_try) 2>&5
17590 ac_status=$?
17591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17592 (exit $ac_status); }; } &&
17593 { ac_try='test -s conftest.$ac_objext'
17594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17595 (eval $ac_try) 2>&5
17596 ac_status=$?
17597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); }; }; then
17599 glibcxx_cv_system_error4=yes
17600 else
17601 echo "$as_me: failed program was:" >&5
17602 sed 's/^/| /' conftest.$ac_ext >&5
17604 glibcxx_cv_system_error4=no
17606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17610 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
17611 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
17612 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17614 cat >>confdefs.h <<\_ACEOF
17615 #define HAVE_EPROTO 1
17616 _ACEOF
17619 echo "$as_me:$LINENO: checking for ENODATA" >&5
17620 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
17621 if test "${glibcxx_cv_system_error5+set}" = set; then
17622 echo $ECHO_N "(cached) $ECHO_C" >&6
17623 else
17625 cat >conftest.$ac_ext <<_ACEOF
17626 /* confdefs.h. */
17627 _ACEOF
17628 cat confdefs.h >>conftest.$ac_ext
17629 cat >>conftest.$ac_ext <<_ACEOF
17630 /* end confdefs.h. */
17631 #include <errno.h>
17633 main ()
17635 int i = ENODATA;
17637 return 0;
17639 _ACEOF
17640 rm -f conftest.$ac_objext
17641 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17642 (eval $ac_compile) 2>conftest.er1
17643 ac_status=$?
17644 grep -v '^ *+' conftest.er1 >conftest.err
17645 rm -f conftest.er1
17646 cat conftest.err >&5
17647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648 (exit $ac_status); } &&
17649 { ac_try='test -z "$ac_c_werror_flag"
17650 || test ! -s conftest.err'
17651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17652 (eval $ac_try) 2>&5
17653 ac_status=$?
17654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17655 (exit $ac_status); }; } &&
17656 { ac_try='test -s conftest.$ac_objext'
17657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17658 (eval $ac_try) 2>&5
17659 ac_status=$?
17660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17661 (exit $ac_status); }; }; then
17662 glibcxx_cv_system_error5=yes
17663 else
17664 echo "$as_me: failed program was:" >&5
17665 sed 's/^/| /' conftest.$ac_ext >&5
17667 glibcxx_cv_system_error5=no
17669 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17673 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
17674 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
17675 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17677 cat >>confdefs.h <<\_ACEOF
17678 #define HAVE_ENODATA 1
17679 _ACEOF
17682 echo "$as_me:$LINENO: checking for ENOSR" >&5
17683 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
17684 if test "${glibcxx_cv_system_error6+set}" = set; then
17685 echo $ECHO_N "(cached) $ECHO_C" >&6
17686 else
17688 cat >conftest.$ac_ext <<_ACEOF
17689 /* confdefs.h. */
17690 _ACEOF
17691 cat confdefs.h >>conftest.$ac_ext
17692 cat >>conftest.$ac_ext <<_ACEOF
17693 /* end confdefs.h. */
17694 #include <errno.h>
17696 main ()
17698 int i = ENOSR;
17700 return 0;
17702 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17705 (eval $ac_compile) 2>conftest.er1
17706 ac_status=$?
17707 grep -v '^ *+' conftest.er1 >conftest.err
17708 rm -f conftest.er1
17709 cat conftest.err >&5
17710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17711 (exit $ac_status); } &&
17712 { ac_try='test -z "$ac_c_werror_flag"
17713 || test ! -s conftest.err'
17714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17715 (eval $ac_try) 2>&5
17716 ac_status=$?
17717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17718 (exit $ac_status); }; } &&
17719 { ac_try='test -s conftest.$ac_objext'
17720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17721 (eval $ac_try) 2>&5
17722 ac_status=$?
17723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17724 (exit $ac_status); }; }; then
17725 glibcxx_cv_system_error6=yes
17726 else
17727 echo "$as_me: failed program was:" >&5
17728 sed 's/^/| /' conftest.$ac_ext >&5
17730 glibcxx_cv_system_error6=no
17732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17736 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
17737 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
17738 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17740 cat >>confdefs.h <<\_ACEOF
17741 #define HAVE_ENOSR 1
17742 _ACEOF
17745 echo "$as_me:$LINENO: checking for ENOSTR" >&5
17746 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
17747 if test "${glibcxx_cv_system_error7+set}" = set; then
17748 echo $ECHO_N "(cached) $ECHO_C" >&6
17749 else
17751 cat >conftest.$ac_ext <<_ACEOF
17752 /* confdefs.h. */
17753 _ACEOF
17754 cat confdefs.h >>conftest.$ac_ext
17755 cat >>conftest.$ac_ext <<_ACEOF
17756 /* end confdefs.h. */
17757 #include <errno.h>
17759 main ()
17761 int i = ENOSTR;
17763 return 0;
17765 _ACEOF
17766 rm -f conftest.$ac_objext
17767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17768 (eval $ac_compile) 2>conftest.er1
17769 ac_status=$?
17770 grep -v '^ *+' conftest.er1 >conftest.err
17771 rm -f conftest.er1
17772 cat conftest.err >&5
17773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17774 (exit $ac_status); } &&
17775 { ac_try='test -z "$ac_c_werror_flag"
17776 || test ! -s conftest.err'
17777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17778 (eval $ac_try) 2>&5
17779 ac_status=$?
17780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17781 (exit $ac_status); }; } &&
17782 { ac_try='test -s conftest.$ac_objext'
17783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17784 (eval $ac_try) 2>&5
17785 ac_status=$?
17786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17787 (exit $ac_status); }; }; then
17788 glibcxx_cv_system_error7=yes
17789 else
17790 echo "$as_me: failed program was:" >&5
17791 sed 's/^/| /' conftest.$ac_ext >&5
17793 glibcxx_cv_system_error7=no
17795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17799 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
17800 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
17801 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17803 cat >>confdefs.h <<\_ACEOF
17804 #define HAVE_ENOSTR 1
17805 _ACEOF
17808 echo "$as_me:$LINENO: checking for ETIME" >&5
17809 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
17810 if test "${glibcxx_cv_system_error8+set}" = set; then
17811 echo $ECHO_N "(cached) $ECHO_C" >&6
17812 else
17814 cat >conftest.$ac_ext <<_ACEOF
17815 /* confdefs.h. */
17816 _ACEOF
17817 cat confdefs.h >>conftest.$ac_ext
17818 cat >>conftest.$ac_ext <<_ACEOF
17819 /* end confdefs.h. */
17820 #include <errno.h>
17822 main ()
17824 int i = ETIME;
17826 return 0;
17828 _ACEOF
17829 rm -f conftest.$ac_objext
17830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17831 (eval $ac_compile) 2>conftest.er1
17832 ac_status=$?
17833 grep -v '^ *+' conftest.er1 >conftest.err
17834 rm -f conftest.er1
17835 cat conftest.err >&5
17836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17837 (exit $ac_status); } &&
17838 { ac_try='test -z "$ac_c_werror_flag"
17839 || test ! -s conftest.err'
17840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17841 (eval $ac_try) 2>&5
17842 ac_status=$?
17843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17844 (exit $ac_status); }; } &&
17845 { ac_try='test -s conftest.$ac_objext'
17846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17847 (eval $ac_try) 2>&5
17848 ac_status=$?
17849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17850 (exit $ac_status); }; }; then
17851 glibcxx_cv_system_error8=yes
17852 else
17853 echo "$as_me: failed program was:" >&5
17854 sed 's/^/| /' conftest.$ac_ext >&5
17856 glibcxx_cv_system_error8=no
17858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17862 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
17863 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
17864 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17866 cat >>confdefs.h <<\_ACEOF
17867 #define HAVE_ETIME 1
17868 _ACEOF
17871 echo "$as_me:$LINENO: checking for EBADMSG" >&5
17872 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
17873 if test "${glibcxx_cv_system_error9+set}" = set; then
17874 echo $ECHO_N "(cached) $ECHO_C" >&6
17875 else
17877 cat >conftest.$ac_ext <<_ACEOF
17878 /* confdefs.h. */
17879 _ACEOF
17880 cat confdefs.h >>conftest.$ac_ext
17881 cat >>conftest.$ac_ext <<_ACEOF
17882 /* end confdefs.h. */
17883 #include <errno.h>
17885 main ()
17887 int i = EBADMSG;
17889 return 0;
17891 _ACEOF
17892 rm -f conftest.$ac_objext
17893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17894 (eval $ac_compile) 2>conftest.er1
17895 ac_status=$?
17896 grep -v '^ *+' conftest.er1 >conftest.err
17897 rm -f conftest.er1
17898 cat conftest.err >&5
17899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17900 (exit $ac_status); } &&
17901 { ac_try='test -z "$ac_c_werror_flag"
17902 || test ! -s conftest.err'
17903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17904 (eval $ac_try) 2>&5
17905 ac_status=$?
17906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17907 (exit $ac_status); }; } &&
17908 { ac_try='test -s conftest.$ac_objext'
17909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17910 (eval $ac_try) 2>&5
17911 ac_status=$?
17912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17913 (exit $ac_status); }; }; then
17914 glibcxx_cv_system_error9=yes
17915 else
17916 echo "$as_me: failed program was:" >&5
17917 sed 's/^/| /' conftest.$ac_ext >&5
17919 glibcxx_cv_system_error9=no
17921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17925 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
17926 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
17927 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17929 cat >>confdefs.h <<\_ACEOF
17930 #define HAVE_EBADMSG 1
17931 _ACEOF
17934 echo "$as_me:$LINENO: checking for ECANCELED" >&5
17935 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
17936 if test "${glibcxx_cv_system_error10+set}" = set; then
17937 echo $ECHO_N "(cached) $ECHO_C" >&6
17938 else
17940 cat >conftest.$ac_ext <<_ACEOF
17941 /* confdefs.h. */
17942 _ACEOF
17943 cat confdefs.h >>conftest.$ac_ext
17944 cat >>conftest.$ac_ext <<_ACEOF
17945 /* end confdefs.h. */
17946 #include <errno.h>
17948 main ()
17950 int i = ECANCELED;
17952 return 0;
17954 _ACEOF
17955 rm -f conftest.$ac_objext
17956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17957 (eval $ac_compile) 2>conftest.er1
17958 ac_status=$?
17959 grep -v '^ *+' conftest.er1 >conftest.err
17960 rm -f conftest.er1
17961 cat conftest.err >&5
17962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17963 (exit $ac_status); } &&
17964 { ac_try='test -z "$ac_c_werror_flag"
17965 || test ! -s conftest.err'
17966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17967 (eval $ac_try) 2>&5
17968 ac_status=$?
17969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17970 (exit $ac_status); }; } &&
17971 { ac_try='test -s conftest.$ac_objext'
17972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17973 (eval $ac_try) 2>&5
17974 ac_status=$?
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); }; }; then
17977 glibcxx_cv_system_error10=yes
17978 else
17979 echo "$as_me: failed program was:" >&5
17980 sed 's/^/| /' conftest.$ac_ext >&5
17982 glibcxx_cv_system_error10=no
17984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17988 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
17989 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
17990 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17992 cat >>confdefs.h <<\_ACEOF
17993 #define HAVE_ECANCELED 1
17994 _ACEOF
17997 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
17998 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
17999 if test "${glibcxx_cv_system_error11+set}" = set; then
18000 echo $ECHO_N "(cached) $ECHO_C" >&6
18001 else
18003 cat >conftest.$ac_ext <<_ACEOF
18004 /* confdefs.h. */
18005 _ACEOF
18006 cat confdefs.h >>conftest.$ac_ext
18007 cat >>conftest.$ac_ext <<_ACEOF
18008 /* end confdefs.h. */
18009 #include <errno.h>
18011 main ()
18013 int i = EOVERFLOW;
18015 return 0;
18017 _ACEOF
18018 rm -f conftest.$ac_objext
18019 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18020 (eval $ac_compile) 2>conftest.er1
18021 ac_status=$?
18022 grep -v '^ *+' conftest.er1 >conftest.err
18023 rm -f conftest.er1
18024 cat conftest.err >&5
18025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18026 (exit $ac_status); } &&
18027 { ac_try='test -z "$ac_c_werror_flag"
18028 || test ! -s conftest.err'
18029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18030 (eval $ac_try) 2>&5
18031 ac_status=$?
18032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18033 (exit $ac_status); }; } &&
18034 { ac_try='test -s conftest.$ac_objext'
18035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18036 (eval $ac_try) 2>&5
18037 ac_status=$?
18038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18039 (exit $ac_status); }; }; then
18040 glibcxx_cv_system_error11=yes
18041 else
18042 echo "$as_me: failed program was:" >&5
18043 sed 's/^/| /' conftest.$ac_ext >&5
18045 glibcxx_cv_system_error11=no
18047 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18051 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
18052 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
18053 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18055 cat >>confdefs.h <<\_ACEOF
18056 #define HAVE_EOVERFLOW 1
18057 _ACEOF
18060 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
18061 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
18062 if test "${glibcxx_cv_system_error12+set}" = set; then
18063 echo $ECHO_N "(cached) $ECHO_C" >&6
18064 else
18066 cat >conftest.$ac_ext <<_ACEOF
18067 /* confdefs.h. */
18068 _ACEOF
18069 cat confdefs.h >>conftest.$ac_ext
18070 cat >>conftest.$ac_ext <<_ACEOF
18071 /* end confdefs.h. */
18072 #include <errno.h>
18074 main ()
18076 int i = ENOTSUP;
18078 return 0;
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18083 (eval $ac_compile) 2>conftest.er1
18084 ac_status=$?
18085 grep -v '^ *+' conftest.er1 >conftest.err
18086 rm -f conftest.er1
18087 cat conftest.err >&5
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); } &&
18090 { ac_try='test -z "$ac_c_werror_flag"
18091 || test ! -s conftest.err'
18092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18093 (eval $ac_try) 2>&5
18094 ac_status=$?
18095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18096 (exit $ac_status); }; } &&
18097 { ac_try='test -s conftest.$ac_objext'
18098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18099 (eval $ac_try) 2>&5
18100 ac_status=$?
18101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18102 (exit $ac_status); }; }; then
18103 glibcxx_cv_system_error12=yes
18104 else
18105 echo "$as_me: failed program was:" >&5
18106 sed 's/^/| /' conftest.$ac_ext >&5
18108 glibcxx_cv_system_error12=no
18110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18114 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
18115 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
18116 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18118 cat >>confdefs.h <<\_ACEOF
18119 #define HAVE_ENOTSUP 1
18120 _ACEOF
18123 echo "$as_me:$LINENO: checking for EIDRM" >&5
18124 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
18125 if test "${glibcxx_cv_system_error13+set}" = set; then
18126 echo $ECHO_N "(cached) $ECHO_C" >&6
18127 else
18129 cat >conftest.$ac_ext <<_ACEOF
18130 /* confdefs.h. */
18131 _ACEOF
18132 cat confdefs.h >>conftest.$ac_ext
18133 cat >>conftest.$ac_ext <<_ACEOF
18134 /* end confdefs.h. */
18135 #include <errno.h>
18137 main ()
18139 int i = EIDRM;
18141 return 0;
18143 _ACEOF
18144 rm -f conftest.$ac_objext
18145 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18146 (eval $ac_compile) 2>conftest.er1
18147 ac_status=$?
18148 grep -v '^ *+' conftest.er1 >conftest.err
18149 rm -f conftest.er1
18150 cat conftest.err >&5
18151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18152 (exit $ac_status); } &&
18153 { ac_try='test -z "$ac_c_werror_flag"
18154 || test ! -s conftest.err'
18155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18156 (eval $ac_try) 2>&5
18157 ac_status=$?
18158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18159 (exit $ac_status); }; } &&
18160 { ac_try='test -s conftest.$ac_objext'
18161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18162 (eval $ac_try) 2>&5
18163 ac_status=$?
18164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18165 (exit $ac_status); }; }; then
18166 glibcxx_cv_system_error13=yes
18167 else
18168 echo "$as_me: failed program was:" >&5
18169 sed 's/^/| /' conftest.$ac_ext >&5
18171 glibcxx_cv_system_error13=no
18173 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18177 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
18178 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
18179 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18181 cat >>confdefs.h <<\_ACEOF
18182 #define HAVE_EIDRM 1
18183 _ACEOF
18186 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
18187 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
18188 if test "${glibcxx_cv_system_error14+set}" = set; then
18189 echo $ECHO_N "(cached) $ECHO_C" >&6
18190 else
18192 cat >conftest.$ac_ext <<_ACEOF
18193 /* confdefs.h. */
18194 _ACEOF
18195 cat confdefs.h >>conftest.$ac_ext
18196 cat >>conftest.$ac_ext <<_ACEOF
18197 /* end confdefs.h. */
18198 #include <errno.h>
18200 main ()
18202 int i = ETXTBSY;
18204 return 0;
18206 _ACEOF
18207 rm -f conftest.$ac_objext
18208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18209 (eval $ac_compile) 2>conftest.er1
18210 ac_status=$?
18211 grep -v '^ *+' conftest.er1 >conftest.err
18212 rm -f conftest.er1
18213 cat conftest.err >&5
18214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18215 (exit $ac_status); } &&
18216 { ac_try='test -z "$ac_c_werror_flag"
18217 || test ! -s conftest.err'
18218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18219 (eval $ac_try) 2>&5
18220 ac_status=$?
18221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18222 (exit $ac_status); }; } &&
18223 { ac_try='test -s conftest.$ac_objext'
18224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18225 (eval $ac_try) 2>&5
18226 ac_status=$?
18227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18228 (exit $ac_status); }; }; then
18229 glibcxx_cv_system_error14=yes
18230 else
18231 echo "$as_me: failed program was:" >&5
18232 sed 's/^/| /' conftest.$ac_ext >&5
18234 glibcxx_cv_system_error14=no
18236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18240 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
18241 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
18242 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18244 cat >>confdefs.h <<\_ACEOF
18245 #define HAVE_ETXTBSY 1
18246 _ACEOF
18253 # Only do link tests if native. Else, hardcode.
18254 if $GLIBCXX_IS_NATIVE; then
18256 # We can do more elaborate tests that assume a working linker.
18257 CANADIAN=no
18259 # Check for available headers.
18274 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
18275 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
18276 sys/types.h sys/ipc.h sys/sem.h
18278 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18280 echo "$as_me:$LINENO: checking for $ac_header" >&5
18281 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18282 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18283 echo $ECHO_N "(cached) $ECHO_C" >&6
18285 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18286 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18287 else
18288 # Is the header compilable?
18289 echo "$as_me:$LINENO: checking $ac_header usability" >&5
18290 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
18291 cat >conftest.$ac_ext <<_ACEOF
18292 /* confdefs.h. */
18293 _ACEOF
18294 cat confdefs.h >>conftest.$ac_ext
18295 cat >>conftest.$ac_ext <<_ACEOF
18296 /* end confdefs.h. */
18297 $ac_includes_default
18298 #include <$ac_header>
18299 _ACEOF
18300 rm -f conftest.$ac_objext
18301 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18302 (eval $ac_compile) 2>conftest.er1
18303 ac_status=$?
18304 grep -v '^ *+' conftest.er1 >conftest.err
18305 rm -f conftest.er1
18306 cat conftest.err >&5
18307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18308 (exit $ac_status); } &&
18309 { ac_try='test -z "$ac_c_werror_flag"
18310 || test ! -s conftest.err'
18311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18312 (eval $ac_try) 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); }; } &&
18316 { ac_try='test -s conftest.$ac_objext'
18317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18318 (eval $ac_try) 2>&5
18319 ac_status=$?
18320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18321 (exit $ac_status); }; }; then
18322 ac_header_compiler=yes
18323 else
18324 echo "$as_me: failed program was:" >&5
18325 sed 's/^/| /' conftest.$ac_ext >&5
18327 ac_header_compiler=no
18329 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18330 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18331 echo "${ECHO_T}$ac_header_compiler" >&6
18333 # Is the header present?
18334 echo "$as_me:$LINENO: checking $ac_header presence" >&5
18335 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
18336 cat >conftest.$ac_ext <<_ACEOF
18337 /* confdefs.h. */
18338 _ACEOF
18339 cat confdefs.h >>conftest.$ac_ext
18340 cat >>conftest.$ac_ext <<_ACEOF
18341 /* end confdefs.h. */
18342 #include <$ac_header>
18343 _ACEOF
18344 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
18345 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
18346 ac_status=$?
18347 grep -v '^ *+' conftest.er1 >conftest.err
18348 rm -f conftest.er1
18349 cat conftest.err >&5
18350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18351 (exit $ac_status); } >/dev/null; then
18352 if test -s conftest.err; then
18353 ac_cpp_err=$ac_c_preproc_warn_flag
18354 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
18355 else
18356 ac_cpp_err=
18358 else
18359 ac_cpp_err=yes
18361 if test -z "$ac_cpp_err"; then
18362 ac_header_preproc=yes
18363 else
18364 echo "$as_me: failed program was:" >&5
18365 sed 's/^/| /' conftest.$ac_ext >&5
18367 ac_header_preproc=no
18369 rm -f conftest.err conftest.$ac_ext
18370 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18371 echo "${ECHO_T}$ac_header_preproc" >&6
18373 # So? What about this header?
18374 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18375 yes:no: )
18376 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18377 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18378 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18379 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18380 ac_header_preproc=yes
18382 no:yes:* )
18383 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18384 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18385 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18386 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18387 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18388 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18389 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18390 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18391 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18392 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18393 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18394 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18396 cat <<\_ASBOX
18397 ## ----------------------------------------- ##
18398 ## Report this to the package-unused lists. ##
18399 ## ----------------------------------------- ##
18400 _ASBOX
18402 sed "s/^/$as_me: WARNING: /" >&2
18404 esac
18405 echo "$as_me:$LINENO: checking for $ac_header" >&5
18406 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
18407 if eval "test \"\${$as_ac_Header+set}\" = set"; then
18408 echo $ECHO_N "(cached) $ECHO_C" >&6
18409 else
18410 eval "$as_ac_Header=\$ac_header_preproc"
18412 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
18413 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
18416 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18417 cat >>confdefs.h <<_ACEOF
18418 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18419 _ACEOF
18423 done
18428 # Check whether --with-gnu-ld or --without-gnu-ld was given.
18429 if test "${with_gnu_ld+set}" = set; then
18430 withval="$with_gnu_ld"
18431 test "$withval" = no || with_gnu_ld=yes
18432 else
18433 with_gnu_ld=no
18435 ac_prog=ld
18436 if test "$GCC" = yes; then
18437 # Check if gcc -print-prog-name=ld gives a path.
18438 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
18439 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
18440 case $host in
18441 *-*-mingw*)
18442 # gcc leaves a trailing carriage return which upsets mingw
18443 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
18445 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
18446 esac
18447 case $ac_prog in
18448 # Accept absolute paths.
18449 [\\/]* | ?:[\\/]*)
18450 re_direlt='/[^/][^/]*/\.\./'
18451 # Canonicalize the pathname of ld
18452 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
18453 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
18454 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
18455 done
18456 test -z "$LD" && LD="$ac_prog"
18459 # If it fails, then pretend we aren't using GCC.
18460 ac_prog=ld
18463 # If it is relative, then search for the first ld in PATH.
18464 with_gnu_ld=unknown
18466 esac
18467 elif test "$with_gnu_ld" = yes; then
18468 echo "$as_me:$LINENO: checking for GNU ld" >&5
18469 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
18470 else
18471 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
18472 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
18474 if test "${lt_cv_path_LD+set}" = set; then
18475 echo $ECHO_N "(cached) $ECHO_C" >&6
18476 else
18477 if test -z "$LD"; then
18478 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
18479 for ac_dir in $PATH; do
18480 IFS="$lt_save_ifs"
18481 test -z "$ac_dir" && ac_dir=.
18482 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
18483 lt_cv_path_LD="$ac_dir/$ac_prog"
18484 # Check to see if the program is GNU ld. I'd rather use --version,
18485 # but apparently some variants of GNU ld only accept -v.
18486 # Break only if it was the GNU/non-GNU ld that we prefer.
18487 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
18488 *GNU* | *'with BFD'*)
18489 test "$with_gnu_ld" != no && break
18492 test "$with_gnu_ld" != yes && break
18494 esac
18496 done
18497 IFS="$lt_save_ifs"
18498 else
18499 lt_cv_path_LD="$LD" # Let the user override the test with a path.
18503 LD="$lt_cv_path_LD"
18504 if test -n "$LD"; then
18505 echo "$as_me:$LINENO: result: $LD" >&5
18506 echo "${ECHO_T}$LD" >&6
18507 else
18508 echo "$as_me:$LINENO: result: no" >&5
18509 echo "${ECHO_T}no" >&6
18511 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
18512 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
18513 { (exit 1); exit 1; }; }
18514 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
18515 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
18516 if test "${lt_cv_prog_gnu_ld+set}" = set; then
18517 echo $ECHO_N "(cached) $ECHO_C" >&6
18518 else
18519 # I'd rather use --version here, but apparently some GNU lds only accept -v.
18520 case `$LD -v 2>&1 </dev/null` in
18521 *GNU* | *'with BFD'*)
18522 lt_cv_prog_gnu_ld=yes
18525 lt_cv_prog_gnu_ld=no
18527 esac
18529 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
18530 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
18531 with_gnu_ld=$lt_cv_prog_gnu_ld
18539 # If we're not using GNU ld, then there's no point in even trying these
18540 # tests. Check for that first. We should have already tested for gld
18541 # by now (in libtool), but require it now just to be safe...
18542 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
18543 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
18547 # The name set by libtool depends on the version of libtool. Shame on us
18548 # for depending on an impl detail, but c'est la vie. Older versions used
18549 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
18550 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
18551 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
18552 # set (hence we're using an older libtool), then set it.
18553 if test x${with_gnu_ld+set} != xset; then
18554 if test x${ac_cv_prog_gnu_ld+set} != xset; then
18555 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
18556 with_gnu_ld=no
18557 else
18558 with_gnu_ld=$ac_cv_prog_gnu_ld
18562 # Start by getting the version number. I think the libtool test already
18563 # does some of this, but throws away the result.
18564 glibcxx_ld_is_gold=no
18565 if test x"$with_gnu_ld" = x"yes"; then
18566 echo "$as_me:$LINENO: checking for ld version" >&5
18567 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
18569 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
18570 glibcxx_ld_is_gold=yes
18572 ldver=`$LD --version 2>/dev/null | head -1 | \
18573 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
18575 glibcxx_gnu_ld_version=`echo $ldver | \
18576 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
18577 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
18578 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
18581 # Set --gc-sections.
18582 glibcxx_have_gc_sections=no
18583 if test "$glibcxx_ld_is_gold" = "yes"; then
18584 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
18585 glibcxx_have_gc_sections=yes
18587 else
18588 glibcxx_gcsections_min_ld=21602
18589 if test x"$with_gnu_ld" = x"yes" &&
18590 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
18591 glibcxx_have_gc_sections=yes
18594 if test "$glibcxx_have_gc_sections" = "yes"; then
18595 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
18596 # NB: This flag only works reliably after 2.16.1. Configure tests
18597 # for this are difficult, so hard wire a value that should work.
18599 ac_test_CFLAGS="${CFLAGS+set}"
18600 ac_save_CFLAGS="$CFLAGS"
18601 CFLAGS='-Wl,--gc-sections'
18603 # Check for -Wl,--gc-sections
18604 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
18605 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
18606 if test x$gcc_no_link = xyes; then
18607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18609 { (exit 1); exit 1; }; }
18611 cat >conftest.$ac_ext <<_ACEOF
18612 /* confdefs.h. */
18613 _ACEOF
18614 cat confdefs.h >>conftest.$ac_ext
18615 cat >>conftest.$ac_ext <<_ACEOF
18616 /* end confdefs.h. */
18617 int one(void) { return 1; }
18618 int two(void) { return 2; }
18621 main ()
18623 two();
18625 return 0;
18627 _ACEOF
18628 rm -f conftest.$ac_objext conftest$ac_exeext
18629 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18630 (eval $ac_link) 2>conftest.er1
18631 ac_status=$?
18632 grep -v '^ *+' conftest.er1 >conftest.err
18633 rm -f conftest.er1
18634 cat conftest.err >&5
18635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18636 (exit $ac_status); } &&
18637 { ac_try='test -z "$ac_c_werror_flag"
18638 || test ! -s conftest.err'
18639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18640 (eval $ac_try) 2>&5
18641 ac_status=$?
18642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18643 (exit $ac_status); }; } &&
18644 { ac_try='test -s conftest$ac_exeext'
18645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18646 (eval $ac_try) 2>&5
18647 ac_status=$?
18648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18649 (exit $ac_status); }; }; then
18650 ac_gcsections=yes
18651 else
18652 echo "$as_me: failed program was:" >&5
18653 sed 's/^/| /' conftest.$ac_ext >&5
18655 ac_gcsections=no
18657 rm -f conftest.err conftest.$ac_objext \
18658 conftest$ac_exeext conftest.$ac_ext
18659 if test "$ac_gcsections" = "yes"; then
18660 rm -f conftest.c
18661 touch conftest.c
18662 if $CC -c conftest.c; then
18663 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
18664 grep "Warning: gc-sections option ignored" > /dev/null; then
18665 ac_gcsections=no
18668 rm -f conftest.c conftest.o conftest
18670 if test "$ac_gcsections" = "yes"; then
18671 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
18673 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
18674 echo "${ECHO_T}$ac_gcsections" >&6
18676 if test "$ac_test_CFLAGS" = set; then
18677 CFLAGS="$ac_save_CFLAGS"
18678 else
18679 # this is the suspicious part
18680 CFLAGS=''
18684 # Set -z,relro.
18685 # Note this is only for shared objects.
18686 ac_ld_relro=no
18687 if test x"$with_gnu_ld" = x"yes"; then
18688 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
18689 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
18690 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
18691 if test -n "$cxx_z_relo"; then
18692 OPT_LDFLAGS="-Wl,-z,relro"
18693 ac_ld_relro=yes
18695 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
18696 echo "${ECHO_T}$ac_ld_relro" >&6
18699 # Set linker optimization flags.
18700 if test x"$with_gnu_ld" = x"yes"; then
18701 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
18708 ac_test_CXXFLAGS="${CXXFLAGS+set}"
18709 ac_save_CXXFLAGS="$CXXFLAGS"
18710 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
18712 echo "$as_me:$LINENO: checking for sin in -lm" >&5
18713 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
18714 if test "${ac_cv_lib_m_sin+set}" = set; then
18715 echo $ECHO_N "(cached) $ECHO_C" >&6
18716 else
18717 ac_check_lib_save_LIBS=$LIBS
18718 LIBS="-lm $LIBS"
18719 if test x$gcc_no_link = xyes; then
18720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18722 { (exit 1); exit 1; }; }
18724 cat >conftest.$ac_ext <<_ACEOF
18725 /* confdefs.h. */
18726 _ACEOF
18727 cat confdefs.h >>conftest.$ac_ext
18728 cat >>conftest.$ac_ext <<_ACEOF
18729 /* end confdefs.h. */
18731 /* Override any gcc2 internal prototype to avoid an error. */
18732 #ifdef __cplusplus
18733 extern "C"
18734 #endif
18735 /* We use char because int might match the return type of a gcc2
18736 builtin and then its argument prototype would still apply. */
18737 char sin ();
18739 main ()
18741 sin ();
18743 return 0;
18745 _ACEOF
18746 rm -f conftest.$ac_objext conftest$ac_exeext
18747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18748 (eval $ac_link) 2>conftest.er1
18749 ac_status=$?
18750 grep -v '^ *+' conftest.er1 >conftest.err
18751 rm -f conftest.er1
18752 cat conftest.err >&5
18753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18754 (exit $ac_status); } &&
18755 { ac_try='test -z "$ac_c_werror_flag"
18756 || test ! -s conftest.err'
18757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18758 (eval $ac_try) 2>&5
18759 ac_status=$?
18760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18761 (exit $ac_status); }; } &&
18762 { ac_try='test -s conftest$ac_exeext'
18763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18764 (eval $ac_try) 2>&5
18765 ac_status=$?
18766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18767 (exit $ac_status); }; }; then
18768 ac_cv_lib_m_sin=yes
18769 else
18770 echo "$as_me: failed program was:" >&5
18771 sed 's/^/| /' conftest.$ac_ext >&5
18773 ac_cv_lib_m_sin=no
18775 rm -f conftest.err conftest.$ac_objext \
18776 conftest$ac_exeext conftest.$ac_ext
18777 LIBS=$ac_check_lib_save_LIBS
18779 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
18780 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
18781 if test $ac_cv_lib_m_sin = yes; then
18782 libm="-lm"
18785 ac_save_LIBS="$LIBS"
18786 LIBS="$LIBS $libm"
18790 echo "$as_me:$LINENO: checking for isinf declaration" >&5
18791 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
18792 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
18793 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
18794 echo $ECHO_N "(cached) $ECHO_C" >&6
18795 else
18799 ac_ext=cc
18800 ac_cpp='$CXXCPP $CPPFLAGS'
18801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18805 cat >conftest.$ac_ext <<_ACEOF
18806 /* confdefs.h. */
18807 _ACEOF
18808 cat confdefs.h >>conftest.$ac_ext
18809 cat >>conftest.$ac_ext <<_ACEOF
18810 /* end confdefs.h. */
18811 #include <math.h>
18812 #ifdef HAVE_IEEEFP_H
18813 #include <ieeefp.h>
18814 #endif
18817 main ()
18819 isinf(0);
18821 return 0;
18823 _ACEOF
18824 rm -f conftest.$ac_objext
18825 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18826 (eval $ac_compile) 2>conftest.er1
18827 ac_status=$?
18828 grep -v '^ *+' conftest.er1 >conftest.err
18829 rm -f conftest.er1
18830 cat conftest.err >&5
18831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18832 (exit $ac_status); } &&
18833 { ac_try='test -z "$ac_cxx_werror_flag"
18834 || test ! -s conftest.err'
18835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18836 (eval $ac_try) 2>&5
18837 ac_status=$?
18838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18839 (exit $ac_status); }; } &&
18840 { ac_try='test -s conftest.$ac_objext'
18841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18842 (eval $ac_try) 2>&5
18843 ac_status=$?
18844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18845 (exit $ac_status); }; }; then
18846 glibcxx_cv_func_isinf_use=yes
18847 else
18848 echo "$as_me: failed program was:" >&5
18849 sed 's/^/| /' conftest.$ac_ext >&5
18851 glibcxx_cv_func_isinf_use=no
18853 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18854 ac_ext=c
18855 ac_cpp='$CPP $CPPFLAGS'
18856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
18865 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
18867 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
18869 for ac_func in isinf
18871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
18872 echo "$as_me:$LINENO: checking for $ac_func" >&5
18873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
18874 if eval "test \"\${$as_ac_var+set}\" = set"; then
18875 echo $ECHO_N "(cached) $ECHO_C" >&6
18876 else
18877 if test x$gcc_no_link = xyes; then
18878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
18879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
18880 { (exit 1); exit 1; }; }
18882 cat >conftest.$ac_ext <<_ACEOF
18883 /* confdefs.h. */
18884 _ACEOF
18885 cat confdefs.h >>conftest.$ac_ext
18886 cat >>conftest.$ac_ext <<_ACEOF
18887 /* end confdefs.h. */
18888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
18889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
18890 #define $ac_func innocuous_$ac_func
18892 /* System header to define __stub macros and hopefully few prototypes,
18893 which can conflict with char $ac_func (); below.
18894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
18895 <limits.h> exists even on freestanding compilers. */
18897 #ifdef __STDC__
18898 # include <limits.h>
18899 #else
18900 # include <assert.h>
18901 #endif
18903 #undef $ac_func
18905 /* Override any gcc2 internal prototype to avoid an error. */
18906 #ifdef __cplusplus
18907 extern "C"
18909 #endif
18910 /* We use char because int might match the return type of a gcc2
18911 builtin and then its argument prototype would still apply. */
18912 char $ac_func ();
18913 /* The GNU C library defines this for functions which it implements
18914 to always fail with ENOSYS. Some functions are actually named
18915 something starting with __ and the normal name is an alias. */
18916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18917 choke me
18918 #else
18919 char (*f) () = $ac_func;
18920 #endif
18921 #ifdef __cplusplus
18923 #endif
18926 main ()
18928 return f != $ac_func;
18930 return 0;
18932 _ACEOF
18933 rm -f conftest.$ac_objext conftest$ac_exeext
18934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
18935 (eval $ac_link) 2>conftest.er1
18936 ac_status=$?
18937 grep -v '^ *+' conftest.er1 >conftest.err
18938 rm -f conftest.er1
18939 cat conftest.err >&5
18940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18941 (exit $ac_status); } &&
18942 { ac_try='test -z "$ac_c_werror_flag"
18943 || test ! -s conftest.err'
18944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18945 (eval $ac_try) 2>&5
18946 ac_status=$?
18947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18948 (exit $ac_status); }; } &&
18949 { ac_try='test -s conftest$ac_exeext'
18950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18951 (eval $ac_try) 2>&5
18952 ac_status=$?
18953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18954 (exit $ac_status); }; }; then
18955 eval "$as_ac_var=yes"
18956 else
18957 echo "$as_me: failed program was:" >&5
18958 sed 's/^/| /' conftest.$ac_ext >&5
18960 eval "$as_ac_var=no"
18962 rm -f conftest.err conftest.$ac_objext \
18963 conftest$ac_exeext conftest.$ac_ext
18965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
18966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
18967 if test `eval echo '${'$as_ac_var'}'` = yes; then
18968 cat >>confdefs.h <<_ACEOF
18969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
18970 _ACEOF
18973 done
18975 else
18977 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
18978 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
18979 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
18980 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
18981 echo $ECHO_N "(cached) $ECHO_C" >&6
18982 else
18986 ac_ext=cc
18987 ac_cpp='$CXXCPP $CPPFLAGS'
18988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18992 cat >conftest.$ac_ext <<_ACEOF
18993 /* confdefs.h. */
18994 _ACEOF
18995 cat confdefs.h >>conftest.$ac_ext
18996 cat >>conftest.$ac_ext <<_ACEOF
18997 /* end confdefs.h. */
18998 #include <math.h>
18999 #ifdef HAVE_IEEEFP_H
19000 #include <ieeefp.h>
19001 #endif
19004 main ()
19006 _isinf(0);
19008 return 0;
19010 _ACEOF
19011 rm -f conftest.$ac_objext
19012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19013 (eval $ac_compile) 2>conftest.er1
19014 ac_status=$?
19015 grep -v '^ *+' conftest.er1 >conftest.err
19016 rm -f conftest.er1
19017 cat conftest.err >&5
19018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19019 (exit $ac_status); } &&
19020 { ac_try='test -z "$ac_cxx_werror_flag"
19021 || test ! -s conftest.err'
19022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19023 (eval $ac_try) 2>&5
19024 ac_status=$?
19025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19026 (exit $ac_status); }; } &&
19027 { ac_try='test -s conftest.$ac_objext'
19028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19029 (eval $ac_try) 2>&5
19030 ac_status=$?
19031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19032 (exit $ac_status); }; }; then
19033 glibcxx_cv_func__isinf_use=yes
19034 else
19035 echo "$as_me: failed program was:" >&5
19036 sed 's/^/| /' conftest.$ac_ext >&5
19038 glibcxx_cv_func__isinf_use=no
19040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19041 ac_ext=c
19042 ac_cpp='$CPP $CPPFLAGS'
19043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
19052 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
19054 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
19056 for ac_func in _isinf
19058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19059 echo "$as_me:$LINENO: checking for $ac_func" >&5
19060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19061 if eval "test \"\${$as_ac_var+set}\" = set"; then
19062 echo $ECHO_N "(cached) $ECHO_C" >&6
19063 else
19064 if test x$gcc_no_link = xyes; then
19065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19067 { (exit 1); exit 1; }; }
19069 cat >conftest.$ac_ext <<_ACEOF
19070 /* confdefs.h. */
19071 _ACEOF
19072 cat confdefs.h >>conftest.$ac_ext
19073 cat >>conftest.$ac_ext <<_ACEOF
19074 /* end confdefs.h. */
19075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19077 #define $ac_func innocuous_$ac_func
19079 /* System header to define __stub macros and hopefully few prototypes,
19080 which can conflict with char $ac_func (); below.
19081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19082 <limits.h> exists even on freestanding compilers. */
19084 #ifdef __STDC__
19085 # include <limits.h>
19086 #else
19087 # include <assert.h>
19088 #endif
19090 #undef $ac_func
19092 /* Override any gcc2 internal prototype to avoid an error. */
19093 #ifdef __cplusplus
19094 extern "C"
19096 #endif
19097 /* We use char because int might match the return type of a gcc2
19098 builtin and then its argument prototype would still apply. */
19099 char $ac_func ();
19100 /* The GNU C library defines this for functions which it implements
19101 to always fail with ENOSYS. Some functions are actually named
19102 something starting with __ and the normal name is an alias. */
19103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19104 choke me
19105 #else
19106 char (*f) () = $ac_func;
19107 #endif
19108 #ifdef __cplusplus
19110 #endif
19113 main ()
19115 return f != $ac_func;
19117 return 0;
19119 _ACEOF
19120 rm -f conftest.$ac_objext conftest$ac_exeext
19121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19122 (eval $ac_link) 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } &&
19129 { ac_try='test -z "$ac_c_werror_flag"
19130 || test ! -s conftest.err'
19131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19132 (eval $ac_try) 2>&5
19133 ac_status=$?
19134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19135 (exit $ac_status); }; } &&
19136 { ac_try='test -s conftest$ac_exeext'
19137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19138 (eval $ac_try) 2>&5
19139 ac_status=$?
19140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19141 (exit $ac_status); }; }; then
19142 eval "$as_ac_var=yes"
19143 else
19144 echo "$as_me: failed program was:" >&5
19145 sed 's/^/| /' conftest.$ac_ext >&5
19147 eval "$as_ac_var=no"
19149 rm -f conftest.err conftest.$ac_objext \
19150 conftest$ac_exeext conftest.$ac_ext
19152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19154 if test `eval echo '${'$as_ac_var'}'` = yes; then
19155 cat >>confdefs.h <<_ACEOF
19156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19157 _ACEOF
19160 done
19170 echo "$as_me:$LINENO: checking for isnan declaration" >&5
19171 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
19172 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
19173 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
19174 echo $ECHO_N "(cached) $ECHO_C" >&6
19175 else
19179 ac_ext=cc
19180 ac_cpp='$CXXCPP $CPPFLAGS'
19181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19185 cat >conftest.$ac_ext <<_ACEOF
19186 /* confdefs.h. */
19187 _ACEOF
19188 cat confdefs.h >>conftest.$ac_ext
19189 cat >>conftest.$ac_ext <<_ACEOF
19190 /* end confdefs.h. */
19191 #include <math.h>
19192 #ifdef HAVE_IEEEFP_H
19193 #include <ieeefp.h>
19194 #endif
19197 main ()
19199 isnan(0);
19201 return 0;
19203 _ACEOF
19204 rm -f conftest.$ac_objext
19205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19206 (eval $ac_compile) 2>conftest.er1
19207 ac_status=$?
19208 grep -v '^ *+' conftest.er1 >conftest.err
19209 rm -f conftest.er1
19210 cat conftest.err >&5
19211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19212 (exit $ac_status); } &&
19213 { ac_try='test -z "$ac_cxx_werror_flag"
19214 || test ! -s conftest.err'
19215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19216 (eval $ac_try) 2>&5
19217 ac_status=$?
19218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19219 (exit $ac_status); }; } &&
19220 { ac_try='test -s conftest.$ac_objext'
19221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19222 (eval $ac_try) 2>&5
19223 ac_status=$?
19224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19225 (exit $ac_status); }; }; then
19226 glibcxx_cv_func_isnan_use=yes
19227 else
19228 echo "$as_me: failed program was:" >&5
19229 sed 's/^/| /' conftest.$ac_ext >&5
19231 glibcxx_cv_func_isnan_use=no
19233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19234 ac_ext=c
19235 ac_cpp='$CPP $CPPFLAGS'
19236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
19245 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
19247 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
19249 for ac_func in isnan
19251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19252 echo "$as_me:$LINENO: checking for $ac_func" >&5
19253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19254 if eval "test \"\${$as_ac_var+set}\" = set"; then
19255 echo $ECHO_N "(cached) $ECHO_C" >&6
19256 else
19257 if test x$gcc_no_link = xyes; then
19258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19260 { (exit 1); exit 1; }; }
19262 cat >conftest.$ac_ext <<_ACEOF
19263 /* confdefs.h. */
19264 _ACEOF
19265 cat confdefs.h >>conftest.$ac_ext
19266 cat >>conftest.$ac_ext <<_ACEOF
19267 /* end confdefs.h. */
19268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19270 #define $ac_func innocuous_$ac_func
19272 /* System header to define __stub macros and hopefully few prototypes,
19273 which can conflict with char $ac_func (); below.
19274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19275 <limits.h> exists even on freestanding compilers. */
19277 #ifdef __STDC__
19278 # include <limits.h>
19279 #else
19280 # include <assert.h>
19281 #endif
19283 #undef $ac_func
19285 /* Override any gcc2 internal prototype to avoid an error. */
19286 #ifdef __cplusplus
19287 extern "C"
19289 #endif
19290 /* We use char because int might match the return type of a gcc2
19291 builtin and then its argument prototype would still apply. */
19292 char $ac_func ();
19293 /* The GNU C library defines this for functions which it implements
19294 to always fail with ENOSYS. Some functions are actually named
19295 something starting with __ and the normal name is an alias. */
19296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19297 choke me
19298 #else
19299 char (*f) () = $ac_func;
19300 #endif
19301 #ifdef __cplusplus
19303 #endif
19306 main ()
19308 return f != $ac_func;
19310 return 0;
19312 _ACEOF
19313 rm -f conftest.$ac_objext conftest$ac_exeext
19314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19315 (eval $ac_link) 2>conftest.er1
19316 ac_status=$?
19317 grep -v '^ *+' conftest.er1 >conftest.err
19318 rm -f conftest.er1
19319 cat conftest.err >&5
19320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19321 (exit $ac_status); } &&
19322 { ac_try='test -z "$ac_c_werror_flag"
19323 || test ! -s conftest.err'
19324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19325 (eval $ac_try) 2>&5
19326 ac_status=$?
19327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19328 (exit $ac_status); }; } &&
19329 { ac_try='test -s conftest$ac_exeext'
19330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19331 (eval $ac_try) 2>&5
19332 ac_status=$?
19333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19334 (exit $ac_status); }; }; then
19335 eval "$as_ac_var=yes"
19336 else
19337 echo "$as_me: failed program was:" >&5
19338 sed 's/^/| /' conftest.$ac_ext >&5
19340 eval "$as_ac_var=no"
19342 rm -f conftest.err conftest.$ac_objext \
19343 conftest$ac_exeext conftest.$ac_ext
19345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19347 if test `eval echo '${'$as_ac_var'}'` = yes; then
19348 cat >>confdefs.h <<_ACEOF
19349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19350 _ACEOF
19353 done
19355 else
19357 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
19358 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
19359 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
19360 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
19361 echo $ECHO_N "(cached) $ECHO_C" >&6
19362 else
19366 ac_ext=cc
19367 ac_cpp='$CXXCPP $CPPFLAGS'
19368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 #include <math.h>
19379 #ifdef HAVE_IEEEFP_H
19380 #include <ieeefp.h>
19381 #endif
19384 main ()
19386 _isnan(0);
19388 return 0;
19390 _ACEOF
19391 rm -f conftest.$ac_objext
19392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19393 (eval $ac_compile) 2>conftest.er1
19394 ac_status=$?
19395 grep -v '^ *+' conftest.er1 >conftest.err
19396 rm -f conftest.er1
19397 cat conftest.err >&5
19398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19399 (exit $ac_status); } &&
19400 { ac_try='test -z "$ac_cxx_werror_flag"
19401 || test ! -s conftest.err'
19402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19403 (eval $ac_try) 2>&5
19404 ac_status=$?
19405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19406 (exit $ac_status); }; } &&
19407 { ac_try='test -s conftest.$ac_objext'
19408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19409 (eval $ac_try) 2>&5
19410 ac_status=$?
19411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19412 (exit $ac_status); }; }; then
19413 glibcxx_cv_func__isnan_use=yes
19414 else
19415 echo "$as_me: failed program was:" >&5
19416 sed 's/^/| /' conftest.$ac_ext >&5
19418 glibcxx_cv_func__isnan_use=no
19420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19421 ac_ext=c
19422 ac_cpp='$CPP $CPPFLAGS'
19423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
19432 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
19434 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
19436 for ac_func in _isnan
19438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19439 echo "$as_me:$LINENO: checking for $ac_func" >&5
19440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19441 if eval "test \"\${$as_ac_var+set}\" = set"; then
19442 echo $ECHO_N "(cached) $ECHO_C" >&6
19443 else
19444 if test x$gcc_no_link = xyes; then
19445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19447 { (exit 1); exit 1; }; }
19449 cat >conftest.$ac_ext <<_ACEOF
19450 /* confdefs.h. */
19451 _ACEOF
19452 cat confdefs.h >>conftest.$ac_ext
19453 cat >>conftest.$ac_ext <<_ACEOF
19454 /* end confdefs.h. */
19455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19457 #define $ac_func innocuous_$ac_func
19459 /* System header to define __stub macros and hopefully few prototypes,
19460 which can conflict with char $ac_func (); below.
19461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19462 <limits.h> exists even on freestanding compilers. */
19464 #ifdef __STDC__
19465 # include <limits.h>
19466 #else
19467 # include <assert.h>
19468 #endif
19470 #undef $ac_func
19472 /* Override any gcc2 internal prototype to avoid an error. */
19473 #ifdef __cplusplus
19474 extern "C"
19476 #endif
19477 /* We use char because int might match the return type of a gcc2
19478 builtin and then its argument prototype would still apply. */
19479 char $ac_func ();
19480 /* The GNU C library defines this for functions which it implements
19481 to always fail with ENOSYS. Some functions are actually named
19482 something starting with __ and the normal name is an alias. */
19483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19484 choke me
19485 #else
19486 char (*f) () = $ac_func;
19487 #endif
19488 #ifdef __cplusplus
19490 #endif
19493 main ()
19495 return f != $ac_func;
19497 return 0;
19499 _ACEOF
19500 rm -f conftest.$ac_objext conftest$ac_exeext
19501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19502 (eval $ac_link) 2>conftest.er1
19503 ac_status=$?
19504 grep -v '^ *+' conftest.er1 >conftest.err
19505 rm -f conftest.er1
19506 cat conftest.err >&5
19507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19508 (exit $ac_status); } &&
19509 { ac_try='test -z "$ac_c_werror_flag"
19510 || test ! -s conftest.err'
19511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19512 (eval $ac_try) 2>&5
19513 ac_status=$?
19514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19515 (exit $ac_status); }; } &&
19516 { ac_try='test -s conftest$ac_exeext'
19517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19518 (eval $ac_try) 2>&5
19519 ac_status=$?
19520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19521 (exit $ac_status); }; }; then
19522 eval "$as_ac_var=yes"
19523 else
19524 echo "$as_me: failed program was:" >&5
19525 sed 's/^/| /' conftest.$ac_ext >&5
19527 eval "$as_ac_var=no"
19529 rm -f conftest.err conftest.$ac_objext \
19530 conftest$ac_exeext conftest.$ac_ext
19532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19534 if test `eval echo '${'$as_ac_var'}'` = yes; then
19535 cat >>confdefs.h <<_ACEOF
19536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19537 _ACEOF
19540 done
19550 echo "$as_me:$LINENO: checking for finite declaration" >&5
19551 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
19552 if test x${glibcxx_cv_func_finite_use+set} != xset; then
19553 if test "${glibcxx_cv_func_finite_use+set}" = set; then
19554 echo $ECHO_N "(cached) $ECHO_C" >&6
19555 else
19559 ac_ext=cc
19560 ac_cpp='$CXXCPP $CPPFLAGS'
19561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19565 cat >conftest.$ac_ext <<_ACEOF
19566 /* confdefs.h. */
19567 _ACEOF
19568 cat confdefs.h >>conftest.$ac_ext
19569 cat >>conftest.$ac_ext <<_ACEOF
19570 /* end confdefs.h. */
19571 #include <math.h>
19572 #ifdef HAVE_IEEEFP_H
19573 #include <ieeefp.h>
19574 #endif
19577 main ()
19579 finite(0);
19581 return 0;
19583 _ACEOF
19584 rm -f conftest.$ac_objext
19585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19586 (eval $ac_compile) 2>conftest.er1
19587 ac_status=$?
19588 grep -v '^ *+' conftest.er1 >conftest.err
19589 rm -f conftest.er1
19590 cat conftest.err >&5
19591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19592 (exit $ac_status); } &&
19593 { ac_try='test -z "$ac_cxx_werror_flag"
19594 || test ! -s conftest.err'
19595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19596 (eval $ac_try) 2>&5
19597 ac_status=$?
19598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19599 (exit $ac_status); }; } &&
19600 { ac_try='test -s conftest.$ac_objext'
19601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19602 (eval $ac_try) 2>&5
19603 ac_status=$?
19604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19605 (exit $ac_status); }; }; then
19606 glibcxx_cv_func_finite_use=yes
19607 else
19608 echo "$as_me: failed program was:" >&5
19609 sed 's/^/| /' conftest.$ac_ext >&5
19611 glibcxx_cv_func_finite_use=no
19613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19614 ac_ext=c
19615 ac_cpp='$CPP $CPPFLAGS'
19616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
19625 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
19627 if test x$glibcxx_cv_func_finite_use = x"yes"; then
19629 for ac_func in finite
19631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19632 echo "$as_me:$LINENO: checking for $ac_func" >&5
19633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19634 if eval "test \"\${$as_ac_var+set}\" = set"; then
19635 echo $ECHO_N "(cached) $ECHO_C" >&6
19636 else
19637 if test x$gcc_no_link = xyes; then
19638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19640 { (exit 1); exit 1; }; }
19642 cat >conftest.$ac_ext <<_ACEOF
19643 /* confdefs.h. */
19644 _ACEOF
19645 cat confdefs.h >>conftest.$ac_ext
19646 cat >>conftest.$ac_ext <<_ACEOF
19647 /* end confdefs.h. */
19648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19650 #define $ac_func innocuous_$ac_func
19652 /* System header to define __stub macros and hopefully few prototypes,
19653 which can conflict with char $ac_func (); below.
19654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19655 <limits.h> exists even on freestanding compilers. */
19657 #ifdef __STDC__
19658 # include <limits.h>
19659 #else
19660 # include <assert.h>
19661 #endif
19663 #undef $ac_func
19665 /* Override any gcc2 internal prototype to avoid an error. */
19666 #ifdef __cplusplus
19667 extern "C"
19669 #endif
19670 /* We use char because int might match the return type of a gcc2
19671 builtin and then its argument prototype would still apply. */
19672 char $ac_func ();
19673 /* The GNU C library defines this for functions which it implements
19674 to always fail with ENOSYS. Some functions are actually named
19675 something starting with __ and the normal name is an alias. */
19676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19677 choke me
19678 #else
19679 char (*f) () = $ac_func;
19680 #endif
19681 #ifdef __cplusplus
19683 #endif
19686 main ()
19688 return f != $ac_func;
19690 return 0;
19692 _ACEOF
19693 rm -f conftest.$ac_objext conftest$ac_exeext
19694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19695 (eval $ac_link) 2>conftest.er1
19696 ac_status=$?
19697 grep -v '^ *+' conftest.er1 >conftest.err
19698 rm -f conftest.er1
19699 cat conftest.err >&5
19700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19701 (exit $ac_status); } &&
19702 { ac_try='test -z "$ac_c_werror_flag"
19703 || test ! -s conftest.err'
19704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19705 (eval $ac_try) 2>&5
19706 ac_status=$?
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); }; } &&
19709 { ac_try='test -s conftest$ac_exeext'
19710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19711 (eval $ac_try) 2>&5
19712 ac_status=$?
19713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19714 (exit $ac_status); }; }; then
19715 eval "$as_ac_var=yes"
19716 else
19717 echo "$as_me: failed program was:" >&5
19718 sed 's/^/| /' conftest.$ac_ext >&5
19720 eval "$as_ac_var=no"
19722 rm -f conftest.err conftest.$ac_objext \
19723 conftest$ac_exeext conftest.$ac_ext
19725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19727 if test `eval echo '${'$as_ac_var'}'` = yes; then
19728 cat >>confdefs.h <<_ACEOF
19729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19730 _ACEOF
19733 done
19735 else
19737 echo "$as_me:$LINENO: checking for _finite declaration" >&5
19738 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
19739 if test x${glibcxx_cv_func__finite_use+set} != xset; then
19740 if test "${glibcxx_cv_func__finite_use+set}" = set; then
19741 echo $ECHO_N "(cached) $ECHO_C" >&6
19742 else
19746 ac_ext=cc
19747 ac_cpp='$CXXCPP $CPPFLAGS'
19748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19752 cat >conftest.$ac_ext <<_ACEOF
19753 /* confdefs.h. */
19754 _ACEOF
19755 cat confdefs.h >>conftest.$ac_ext
19756 cat >>conftest.$ac_ext <<_ACEOF
19757 /* end confdefs.h. */
19758 #include <math.h>
19759 #ifdef HAVE_IEEEFP_H
19760 #include <ieeefp.h>
19761 #endif
19764 main ()
19766 _finite(0);
19768 return 0;
19770 _ACEOF
19771 rm -f conftest.$ac_objext
19772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19773 (eval $ac_compile) 2>conftest.er1
19774 ac_status=$?
19775 grep -v '^ *+' conftest.er1 >conftest.err
19776 rm -f conftest.er1
19777 cat conftest.err >&5
19778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19779 (exit $ac_status); } &&
19780 { ac_try='test -z "$ac_cxx_werror_flag"
19781 || test ! -s conftest.err'
19782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19783 (eval $ac_try) 2>&5
19784 ac_status=$?
19785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19786 (exit $ac_status); }; } &&
19787 { ac_try='test -s conftest.$ac_objext'
19788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19789 (eval $ac_try) 2>&5
19790 ac_status=$?
19791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19792 (exit $ac_status); }; }; then
19793 glibcxx_cv_func__finite_use=yes
19794 else
19795 echo "$as_me: failed program was:" >&5
19796 sed 's/^/| /' conftest.$ac_ext >&5
19798 glibcxx_cv_func__finite_use=no
19800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19801 ac_ext=c
19802 ac_cpp='$CPP $CPPFLAGS'
19803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
19812 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
19814 if test x$glibcxx_cv_func__finite_use = x"yes"; then
19816 for ac_func in _finite
19818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
19819 echo "$as_me:$LINENO: checking for $ac_func" >&5
19820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
19821 if eval "test \"\${$as_ac_var+set}\" = set"; then
19822 echo $ECHO_N "(cached) $ECHO_C" >&6
19823 else
19824 if test x$gcc_no_link = xyes; then
19825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19827 { (exit 1); exit 1; }; }
19829 cat >conftest.$ac_ext <<_ACEOF
19830 /* confdefs.h. */
19831 _ACEOF
19832 cat confdefs.h >>conftest.$ac_ext
19833 cat >>conftest.$ac_ext <<_ACEOF
19834 /* end confdefs.h. */
19835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
19836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
19837 #define $ac_func innocuous_$ac_func
19839 /* System header to define __stub macros and hopefully few prototypes,
19840 which can conflict with char $ac_func (); below.
19841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
19842 <limits.h> exists even on freestanding compilers. */
19844 #ifdef __STDC__
19845 # include <limits.h>
19846 #else
19847 # include <assert.h>
19848 #endif
19850 #undef $ac_func
19852 /* Override any gcc2 internal prototype to avoid an error. */
19853 #ifdef __cplusplus
19854 extern "C"
19856 #endif
19857 /* We use char because int might match the return type of a gcc2
19858 builtin and then its argument prototype would still apply. */
19859 char $ac_func ();
19860 /* The GNU C library defines this for functions which it implements
19861 to always fail with ENOSYS. Some functions are actually named
19862 something starting with __ and the normal name is an alias. */
19863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19864 choke me
19865 #else
19866 char (*f) () = $ac_func;
19867 #endif
19868 #ifdef __cplusplus
19870 #endif
19873 main ()
19875 return f != $ac_func;
19877 return 0;
19879 _ACEOF
19880 rm -f conftest.$ac_objext conftest$ac_exeext
19881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19882 (eval $ac_link) 2>conftest.er1
19883 ac_status=$?
19884 grep -v '^ *+' conftest.er1 >conftest.err
19885 rm -f conftest.er1
19886 cat conftest.err >&5
19887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19888 (exit $ac_status); } &&
19889 { ac_try='test -z "$ac_c_werror_flag"
19890 || test ! -s conftest.err'
19891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19892 (eval $ac_try) 2>&5
19893 ac_status=$?
19894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19895 (exit $ac_status); }; } &&
19896 { ac_try='test -s conftest$ac_exeext'
19897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19898 (eval $ac_try) 2>&5
19899 ac_status=$?
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); }; }; then
19902 eval "$as_ac_var=yes"
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19907 eval "$as_ac_var=no"
19909 rm -f conftest.err conftest.$ac_objext \
19910 conftest$ac_exeext conftest.$ac_ext
19912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
19913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
19914 if test `eval echo '${'$as_ac_var'}'` = yes; then
19915 cat >>confdefs.h <<_ACEOF
19916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
19917 _ACEOF
19920 done
19930 echo "$as_me:$LINENO: checking for copysign declaration" >&5
19931 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
19932 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
19933 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
19934 echo $ECHO_N "(cached) $ECHO_C" >&6
19935 else
19939 ac_ext=cc
19940 ac_cpp='$CXXCPP $CPPFLAGS'
19941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19945 cat >conftest.$ac_ext <<_ACEOF
19946 /* confdefs.h. */
19947 _ACEOF
19948 cat confdefs.h >>conftest.$ac_ext
19949 cat >>conftest.$ac_ext <<_ACEOF
19950 /* end confdefs.h. */
19951 #include <math.h>
19953 main ()
19955 copysign(0, 0);
19957 return 0;
19959 _ACEOF
19960 rm -f conftest.$ac_objext
19961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19962 (eval $ac_compile) 2>conftest.er1
19963 ac_status=$?
19964 grep -v '^ *+' conftest.er1 >conftest.err
19965 rm -f conftest.er1
19966 cat conftest.err >&5
19967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19968 (exit $ac_status); } &&
19969 { ac_try='test -z "$ac_cxx_werror_flag"
19970 || test ! -s conftest.err'
19971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19972 (eval $ac_try) 2>&5
19973 ac_status=$?
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); }; } &&
19976 { ac_try='test -s conftest.$ac_objext'
19977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19978 (eval $ac_try) 2>&5
19979 ac_status=$?
19980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19981 (exit $ac_status); }; }; then
19982 glibcxx_cv_func_copysign_use=yes
19983 else
19984 echo "$as_me: failed program was:" >&5
19985 sed 's/^/| /' conftest.$ac_ext >&5
19987 glibcxx_cv_func_copysign_use=no
19989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19990 ac_ext=c
19991 ac_cpp='$CPP $CPPFLAGS'
19992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
20001 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
20003 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
20005 for ac_func in copysign
20007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20008 echo "$as_me:$LINENO: checking for $ac_func" >&5
20009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20010 if eval "test \"\${$as_ac_var+set}\" = set"; then
20011 echo $ECHO_N "(cached) $ECHO_C" >&6
20012 else
20013 if test x$gcc_no_link = xyes; then
20014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20016 { (exit 1); exit 1; }; }
20018 cat >conftest.$ac_ext <<_ACEOF
20019 /* confdefs.h. */
20020 _ACEOF
20021 cat confdefs.h >>conftest.$ac_ext
20022 cat >>conftest.$ac_ext <<_ACEOF
20023 /* end confdefs.h. */
20024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20026 #define $ac_func innocuous_$ac_func
20028 /* System header to define __stub macros and hopefully few prototypes,
20029 which can conflict with char $ac_func (); below.
20030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20031 <limits.h> exists even on freestanding compilers. */
20033 #ifdef __STDC__
20034 # include <limits.h>
20035 #else
20036 # include <assert.h>
20037 #endif
20039 #undef $ac_func
20041 /* Override any gcc2 internal prototype to avoid an error. */
20042 #ifdef __cplusplus
20043 extern "C"
20045 #endif
20046 /* We use char because int might match the return type of a gcc2
20047 builtin and then its argument prototype would still apply. */
20048 char $ac_func ();
20049 /* The GNU C library defines this for functions which it implements
20050 to always fail with ENOSYS. Some functions are actually named
20051 something starting with __ and the normal name is an alias. */
20052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20053 choke me
20054 #else
20055 char (*f) () = $ac_func;
20056 #endif
20057 #ifdef __cplusplus
20059 #endif
20062 main ()
20064 return f != $ac_func;
20066 return 0;
20068 _ACEOF
20069 rm -f conftest.$ac_objext conftest$ac_exeext
20070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20071 (eval $ac_link) 2>conftest.er1
20072 ac_status=$?
20073 grep -v '^ *+' conftest.er1 >conftest.err
20074 rm -f conftest.er1
20075 cat conftest.err >&5
20076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20077 (exit $ac_status); } &&
20078 { ac_try='test -z "$ac_c_werror_flag"
20079 || test ! -s conftest.err'
20080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20081 (eval $ac_try) 2>&5
20082 ac_status=$?
20083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20084 (exit $ac_status); }; } &&
20085 { ac_try='test -s conftest$ac_exeext'
20086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20087 (eval $ac_try) 2>&5
20088 ac_status=$?
20089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20090 (exit $ac_status); }; }; then
20091 eval "$as_ac_var=yes"
20092 else
20093 echo "$as_me: failed program was:" >&5
20094 sed 's/^/| /' conftest.$ac_ext >&5
20096 eval "$as_ac_var=no"
20098 rm -f conftest.err conftest.$ac_objext \
20099 conftest$ac_exeext conftest.$ac_ext
20101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20103 if test `eval echo '${'$as_ac_var'}'` = yes; then
20104 cat >>confdefs.h <<_ACEOF
20105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20106 _ACEOF
20109 done
20111 else
20113 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
20114 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
20115 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
20116 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
20117 echo $ECHO_N "(cached) $ECHO_C" >&6
20118 else
20122 ac_ext=cc
20123 ac_cpp='$CXXCPP $CPPFLAGS'
20124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20128 cat >conftest.$ac_ext <<_ACEOF
20129 /* confdefs.h. */
20130 _ACEOF
20131 cat confdefs.h >>conftest.$ac_ext
20132 cat >>conftest.$ac_ext <<_ACEOF
20133 /* end confdefs.h. */
20134 #include <math.h>
20136 main ()
20138 _copysign(0, 0);
20140 return 0;
20142 _ACEOF
20143 rm -f conftest.$ac_objext
20144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20145 (eval $ac_compile) 2>conftest.er1
20146 ac_status=$?
20147 grep -v '^ *+' conftest.er1 >conftest.err
20148 rm -f conftest.er1
20149 cat conftest.err >&5
20150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20151 (exit $ac_status); } &&
20152 { ac_try='test -z "$ac_cxx_werror_flag"
20153 || test ! -s conftest.err'
20154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20155 (eval $ac_try) 2>&5
20156 ac_status=$?
20157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20158 (exit $ac_status); }; } &&
20159 { ac_try='test -s conftest.$ac_objext'
20160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20161 (eval $ac_try) 2>&5
20162 ac_status=$?
20163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20164 (exit $ac_status); }; }; then
20165 glibcxx_cv_func__copysign_use=yes
20166 else
20167 echo "$as_me: failed program was:" >&5
20168 sed 's/^/| /' conftest.$ac_ext >&5
20170 glibcxx_cv_func__copysign_use=no
20172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20173 ac_ext=c
20174 ac_cpp='$CPP $CPPFLAGS'
20175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
20184 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
20186 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
20188 for ac_func in _copysign
20190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20191 echo "$as_me:$LINENO: checking for $ac_func" >&5
20192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20193 if eval "test \"\${$as_ac_var+set}\" = set"; then
20194 echo $ECHO_N "(cached) $ECHO_C" >&6
20195 else
20196 if test x$gcc_no_link = xyes; then
20197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20199 { (exit 1); exit 1; }; }
20201 cat >conftest.$ac_ext <<_ACEOF
20202 /* confdefs.h. */
20203 _ACEOF
20204 cat confdefs.h >>conftest.$ac_ext
20205 cat >>conftest.$ac_ext <<_ACEOF
20206 /* end confdefs.h. */
20207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20209 #define $ac_func innocuous_$ac_func
20211 /* System header to define __stub macros and hopefully few prototypes,
20212 which can conflict with char $ac_func (); below.
20213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20214 <limits.h> exists even on freestanding compilers. */
20216 #ifdef __STDC__
20217 # include <limits.h>
20218 #else
20219 # include <assert.h>
20220 #endif
20222 #undef $ac_func
20224 /* Override any gcc2 internal prototype to avoid an error. */
20225 #ifdef __cplusplus
20226 extern "C"
20228 #endif
20229 /* We use char because int might match the return type of a gcc2
20230 builtin and then its argument prototype would still apply. */
20231 char $ac_func ();
20232 /* The GNU C library defines this for functions which it implements
20233 to always fail with ENOSYS. Some functions are actually named
20234 something starting with __ and the normal name is an alias. */
20235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20236 choke me
20237 #else
20238 char (*f) () = $ac_func;
20239 #endif
20240 #ifdef __cplusplus
20242 #endif
20245 main ()
20247 return f != $ac_func;
20249 return 0;
20251 _ACEOF
20252 rm -f conftest.$ac_objext conftest$ac_exeext
20253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20254 (eval $ac_link) 2>conftest.er1
20255 ac_status=$?
20256 grep -v '^ *+' conftest.er1 >conftest.err
20257 rm -f conftest.er1
20258 cat conftest.err >&5
20259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20260 (exit $ac_status); } &&
20261 { ac_try='test -z "$ac_c_werror_flag"
20262 || test ! -s conftest.err'
20263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20264 (eval $ac_try) 2>&5
20265 ac_status=$?
20266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20267 (exit $ac_status); }; } &&
20268 { ac_try='test -s conftest$ac_exeext'
20269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20270 (eval $ac_try) 2>&5
20271 ac_status=$?
20272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20273 (exit $ac_status); }; }; then
20274 eval "$as_ac_var=yes"
20275 else
20276 echo "$as_me: failed program was:" >&5
20277 sed 's/^/| /' conftest.$ac_ext >&5
20279 eval "$as_ac_var=no"
20281 rm -f conftest.err conftest.$ac_objext \
20282 conftest$ac_exeext conftest.$ac_ext
20284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20286 if test `eval echo '${'$as_ac_var'}'` = yes; then
20287 cat >>confdefs.h <<_ACEOF
20288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20289 _ACEOF
20292 done
20302 echo "$as_me:$LINENO: checking for sincos declaration" >&5
20303 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
20304 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
20305 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
20306 echo $ECHO_N "(cached) $ECHO_C" >&6
20307 else
20311 ac_ext=cc
20312 ac_cpp='$CXXCPP $CPPFLAGS'
20313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20317 cat >conftest.$ac_ext <<_ACEOF
20318 /* confdefs.h. */
20319 _ACEOF
20320 cat confdefs.h >>conftest.$ac_ext
20321 cat >>conftest.$ac_ext <<_ACEOF
20322 /* end confdefs.h. */
20323 #include <math.h>
20325 main ()
20327 sincos(0, 0, 0);
20329 return 0;
20331 _ACEOF
20332 rm -f conftest.$ac_objext
20333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20334 (eval $ac_compile) 2>conftest.er1
20335 ac_status=$?
20336 grep -v '^ *+' conftest.er1 >conftest.err
20337 rm -f conftest.er1
20338 cat conftest.err >&5
20339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20340 (exit $ac_status); } &&
20341 { ac_try='test -z "$ac_cxx_werror_flag"
20342 || test ! -s conftest.err'
20343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20344 (eval $ac_try) 2>&5
20345 ac_status=$?
20346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20347 (exit $ac_status); }; } &&
20348 { ac_try='test -s conftest.$ac_objext'
20349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20350 (eval $ac_try) 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); }; }; then
20354 glibcxx_cv_func_sincos_use=yes
20355 else
20356 echo "$as_me: failed program was:" >&5
20357 sed 's/^/| /' conftest.$ac_ext >&5
20359 glibcxx_cv_func_sincos_use=no
20361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20362 ac_ext=c
20363 ac_cpp='$CPP $CPPFLAGS'
20364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20372 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
20373 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
20375 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
20377 for ac_func in sincos
20379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20380 echo "$as_me:$LINENO: checking for $ac_func" >&5
20381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20382 if eval "test \"\${$as_ac_var+set}\" = set"; then
20383 echo $ECHO_N "(cached) $ECHO_C" >&6
20384 else
20385 if test x$gcc_no_link = xyes; then
20386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20388 { (exit 1); exit 1; }; }
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20398 #define $ac_func innocuous_$ac_func
20400 /* System header to define __stub macros and hopefully few prototypes,
20401 which can conflict with char $ac_func (); below.
20402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20403 <limits.h> exists even on freestanding compilers. */
20405 #ifdef __STDC__
20406 # include <limits.h>
20407 #else
20408 # include <assert.h>
20409 #endif
20411 #undef $ac_func
20413 /* Override any gcc2 internal prototype to avoid an error. */
20414 #ifdef __cplusplus
20415 extern "C"
20417 #endif
20418 /* We use char because int might match the return type of a gcc2
20419 builtin and then its argument prototype would still apply. */
20420 char $ac_func ();
20421 /* The GNU C library defines this for functions which it implements
20422 to always fail with ENOSYS. Some functions are actually named
20423 something starting with __ and the normal name is an alias. */
20424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20425 choke me
20426 #else
20427 char (*f) () = $ac_func;
20428 #endif
20429 #ifdef __cplusplus
20431 #endif
20434 main ()
20436 return f != $ac_func;
20438 return 0;
20440 _ACEOF
20441 rm -f conftest.$ac_objext conftest$ac_exeext
20442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20443 (eval $ac_link) 2>conftest.er1
20444 ac_status=$?
20445 grep -v '^ *+' conftest.er1 >conftest.err
20446 rm -f conftest.er1
20447 cat conftest.err >&5
20448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20449 (exit $ac_status); } &&
20450 { ac_try='test -z "$ac_c_werror_flag"
20451 || test ! -s conftest.err'
20452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20453 (eval $ac_try) 2>&5
20454 ac_status=$?
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); }; } &&
20457 { ac_try='test -s conftest$ac_exeext'
20458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20459 (eval $ac_try) 2>&5
20460 ac_status=$?
20461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20462 (exit $ac_status); }; }; then
20463 eval "$as_ac_var=yes"
20464 else
20465 echo "$as_me: failed program was:" >&5
20466 sed 's/^/| /' conftest.$ac_ext >&5
20468 eval "$as_ac_var=no"
20470 rm -f conftest.err conftest.$ac_objext \
20471 conftest$ac_exeext conftest.$ac_ext
20473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20475 if test `eval echo '${'$as_ac_var'}'` = yes; then
20476 cat >>confdefs.h <<_ACEOF
20477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20478 _ACEOF
20481 done
20483 else
20485 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
20486 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
20487 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
20488 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
20489 echo $ECHO_N "(cached) $ECHO_C" >&6
20490 else
20494 ac_ext=cc
20495 ac_cpp='$CXXCPP $CPPFLAGS'
20496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20500 cat >conftest.$ac_ext <<_ACEOF
20501 /* confdefs.h. */
20502 _ACEOF
20503 cat confdefs.h >>conftest.$ac_ext
20504 cat >>conftest.$ac_ext <<_ACEOF
20505 /* end confdefs.h. */
20506 #include <math.h>
20508 main ()
20510 _sincos(0, 0, 0);
20512 return 0;
20514 _ACEOF
20515 rm -f conftest.$ac_objext
20516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20517 (eval $ac_compile) 2>conftest.er1
20518 ac_status=$?
20519 grep -v '^ *+' conftest.er1 >conftest.err
20520 rm -f conftest.er1
20521 cat conftest.err >&5
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } &&
20524 { ac_try='test -z "$ac_cxx_werror_flag"
20525 || test ! -s conftest.err'
20526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20527 (eval $ac_try) 2>&5
20528 ac_status=$?
20529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20530 (exit $ac_status); }; } &&
20531 { ac_try='test -s conftest.$ac_objext'
20532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20533 (eval $ac_try) 2>&5
20534 ac_status=$?
20535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20536 (exit $ac_status); }; }; then
20537 glibcxx_cv_func__sincos_use=yes
20538 else
20539 echo "$as_me: failed program was:" >&5
20540 sed 's/^/| /' conftest.$ac_ext >&5
20542 glibcxx_cv_func__sincos_use=no
20544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20545 ac_ext=c
20546 ac_cpp='$CPP $CPPFLAGS'
20547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
20556 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
20558 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
20560 for ac_func in _sincos
20562 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20563 echo "$as_me:$LINENO: checking for $ac_func" >&5
20564 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20565 if eval "test \"\${$as_ac_var+set}\" = set"; then
20566 echo $ECHO_N "(cached) $ECHO_C" >&6
20567 else
20568 if test x$gcc_no_link = xyes; then
20569 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20570 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20571 { (exit 1); exit 1; }; }
20573 cat >conftest.$ac_ext <<_ACEOF
20574 /* confdefs.h. */
20575 _ACEOF
20576 cat confdefs.h >>conftest.$ac_ext
20577 cat >>conftest.$ac_ext <<_ACEOF
20578 /* end confdefs.h. */
20579 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20580 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20581 #define $ac_func innocuous_$ac_func
20583 /* System header to define __stub macros and hopefully few prototypes,
20584 which can conflict with char $ac_func (); below.
20585 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20586 <limits.h> exists even on freestanding compilers. */
20588 #ifdef __STDC__
20589 # include <limits.h>
20590 #else
20591 # include <assert.h>
20592 #endif
20594 #undef $ac_func
20596 /* Override any gcc2 internal prototype to avoid an error. */
20597 #ifdef __cplusplus
20598 extern "C"
20600 #endif
20601 /* We use char because int might match the return type of a gcc2
20602 builtin and then its argument prototype would still apply. */
20603 char $ac_func ();
20604 /* The GNU C library defines this for functions which it implements
20605 to always fail with ENOSYS. Some functions are actually named
20606 something starting with __ and the normal name is an alias. */
20607 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20608 choke me
20609 #else
20610 char (*f) () = $ac_func;
20611 #endif
20612 #ifdef __cplusplus
20614 #endif
20617 main ()
20619 return f != $ac_func;
20621 return 0;
20623 _ACEOF
20624 rm -f conftest.$ac_objext conftest$ac_exeext
20625 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20626 (eval $ac_link) 2>conftest.er1
20627 ac_status=$?
20628 grep -v '^ *+' conftest.er1 >conftest.err
20629 rm -f conftest.er1
20630 cat conftest.err >&5
20631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20632 (exit $ac_status); } &&
20633 { ac_try='test -z "$ac_c_werror_flag"
20634 || test ! -s conftest.err'
20635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20636 (eval $ac_try) 2>&5
20637 ac_status=$?
20638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20639 (exit $ac_status); }; } &&
20640 { ac_try='test -s conftest$ac_exeext'
20641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20642 (eval $ac_try) 2>&5
20643 ac_status=$?
20644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20645 (exit $ac_status); }; }; then
20646 eval "$as_ac_var=yes"
20647 else
20648 echo "$as_me: failed program was:" >&5
20649 sed 's/^/| /' conftest.$ac_ext >&5
20651 eval "$as_ac_var=no"
20653 rm -f conftest.err conftest.$ac_objext \
20654 conftest$ac_exeext conftest.$ac_ext
20656 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20657 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20658 if test `eval echo '${'$as_ac_var'}'` = yes; then
20659 cat >>confdefs.h <<_ACEOF
20660 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20661 _ACEOF
20664 done
20674 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
20675 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
20676 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
20677 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
20678 echo $ECHO_N "(cached) $ECHO_C" >&6
20679 else
20683 ac_ext=cc
20684 ac_cpp='$CXXCPP $CPPFLAGS'
20685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20689 cat >conftest.$ac_ext <<_ACEOF
20690 /* confdefs.h. */
20691 _ACEOF
20692 cat confdefs.h >>conftest.$ac_ext
20693 cat >>conftest.$ac_ext <<_ACEOF
20694 /* end confdefs.h. */
20695 #include <math.h>
20696 #ifdef HAVE_IEEEFP_H
20697 #include <ieeefp.h>
20698 #endif
20701 main ()
20703 fpclass(0);
20705 return 0;
20707 _ACEOF
20708 rm -f conftest.$ac_objext
20709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20710 (eval $ac_compile) 2>conftest.er1
20711 ac_status=$?
20712 grep -v '^ *+' conftest.er1 >conftest.err
20713 rm -f conftest.er1
20714 cat conftest.err >&5
20715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20716 (exit $ac_status); } &&
20717 { ac_try='test -z "$ac_cxx_werror_flag"
20718 || test ! -s conftest.err'
20719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20720 (eval $ac_try) 2>&5
20721 ac_status=$?
20722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20723 (exit $ac_status); }; } &&
20724 { ac_try='test -s conftest.$ac_objext'
20725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20726 (eval $ac_try) 2>&5
20727 ac_status=$?
20728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20729 (exit $ac_status); }; }; then
20730 glibcxx_cv_func_fpclass_use=yes
20731 else
20732 echo "$as_me: failed program was:" >&5
20733 sed 's/^/| /' conftest.$ac_ext >&5
20735 glibcxx_cv_func_fpclass_use=no
20737 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20738 ac_ext=c
20739 ac_cpp='$CPP $CPPFLAGS'
20740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20748 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
20749 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
20751 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
20753 for ac_func in fpclass
20755 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20756 echo "$as_me:$LINENO: checking for $ac_func" >&5
20757 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20758 if eval "test \"\${$as_ac_var+set}\" = set"; then
20759 echo $ECHO_N "(cached) $ECHO_C" >&6
20760 else
20761 if test x$gcc_no_link = xyes; then
20762 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20763 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20764 { (exit 1); exit 1; }; }
20766 cat >conftest.$ac_ext <<_ACEOF
20767 /* confdefs.h. */
20768 _ACEOF
20769 cat confdefs.h >>conftest.$ac_ext
20770 cat >>conftest.$ac_ext <<_ACEOF
20771 /* end confdefs.h. */
20772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20774 #define $ac_func innocuous_$ac_func
20776 /* System header to define __stub macros and hopefully few prototypes,
20777 which can conflict with char $ac_func (); below.
20778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20779 <limits.h> exists even on freestanding compilers. */
20781 #ifdef __STDC__
20782 # include <limits.h>
20783 #else
20784 # include <assert.h>
20785 #endif
20787 #undef $ac_func
20789 /* Override any gcc2 internal prototype to avoid an error. */
20790 #ifdef __cplusplus
20791 extern "C"
20793 #endif
20794 /* We use char because int might match the return type of a gcc2
20795 builtin and then its argument prototype would still apply. */
20796 char $ac_func ();
20797 /* The GNU C library defines this for functions which it implements
20798 to always fail with ENOSYS. Some functions are actually named
20799 something starting with __ and the normal name is an alias. */
20800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20801 choke me
20802 #else
20803 char (*f) () = $ac_func;
20804 #endif
20805 #ifdef __cplusplus
20807 #endif
20810 main ()
20812 return f != $ac_func;
20814 return 0;
20816 _ACEOF
20817 rm -f conftest.$ac_objext conftest$ac_exeext
20818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20819 (eval $ac_link) 2>conftest.er1
20820 ac_status=$?
20821 grep -v '^ *+' conftest.er1 >conftest.err
20822 rm -f conftest.er1
20823 cat conftest.err >&5
20824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20825 (exit $ac_status); } &&
20826 { ac_try='test -z "$ac_c_werror_flag"
20827 || test ! -s conftest.err'
20828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20829 (eval $ac_try) 2>&5
20830 ac_status=$?
20831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20832 (exit $ac_status); }; } &&
20833 { ac_try='test -s conftest$ac_exeext'
20834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20835 (eval $ac_try) 2>&5
20836 ac_status=$?
20837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20838 (exit $ac_status); }; }; then
20839 eval "$as_ac_var=yes"
20840 else
20841 echo "$as_me: failed program was:" >&5
20842 sed 's/^/| /' conftest.$ac_ext >&5
20844 eval "$as_ac_var=no"
20846 rm -f conftest.err conftest.$ac_objext \
20847 conftest$ac_exeext conftest.$ac_ext
20849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
20850 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
20851 if test `eval echo '${'$as_ac_var'}'` = yes; then
20852 cat >>confdefs.h <<_ACEOF
20853 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
20854 _ACEOF
20857 done
20859 else
20861 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
20862 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
20863 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
20864 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
20865 echo $ECHO_N "(cached) $ECHO_C" >&6
20866 else
20870 ac_ext=cc
20871 ac_cpp='$CXXCPP $CPPFLAGS'
20872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20876 cat >conftest.$ac_ext <<_ACEOF
20877 /* confdefs.h. */
20878 _ACEOF
20879 cat confdefs.h >>conftest.$ac_ext
20880 cat >>conftest.$ac_ext <<_ACEOF
20881 /* end confdefs.h. */
20882 #include <math.h>
20883 #ifdef HAVE_IEEEFP_H
20884 #include <ieeefp.h>
20885 #endif
20888 main ()
20890 _fpclass(0);
20892 return 0;
20894 _ACEOF
20895 rm -f conftest.$ac_objext
20896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20897 (eval $ac_compile) 2>conftest.er1
20898 ac_status=$?
20899 grep -v '^ *+' conftest.er1 >conftest.err
20900 rm -f conftest.er1
20901 cat conftest.err >&5
20902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20903 (exit $ac_status); } &&
20904 { ac_try='test -z "$ac_cxx_werror_flag"
20905 || test ! -s conftest.err'
20906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20907 (eval $ac_try) 2>&5
20908 ac_status=$?
20909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20910 (exit $ac_status); }; } &&
20911 { ac_try='test -s conftest.$ac_objext'
20912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20913 (eval $ac_try) 2>&5
20914 ac_status=$?
20915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916 (exit $ac_status); }; }; then
20917 glibcxx_cv_func__fpclass_use=yes
20918 else
20919 echo "$as_me: failed program was:" >&5
20920 sed 's/^/| /' conftest.$ac_ext >&5
20922 glibcxx_cv_func__fpclass_use=no
20924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20925 ac_ext=c
20926 ac_cpp='$CPP $CPPFLAGS'
20927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
20936 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
20938 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
20940 for ac_func in _fpclass
20942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
20943 echo "$as_me:$LINENO: checking for $ac_func" >&5
20944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
20945 if eval "test \"\${$as_ac_var+set}\" = set"; then
20946 echo $ECHO_N "(cached) $ECHO_C" >&6
20947 else
20948 if test x$gcc_no_link = xyes; then
20949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20951 { (exit 1); exit 1; }; }
20953 cat >conftest.$ac_ext <<_ACEOF
20954 /* confdefs.h. */
20955 _ACEOF
20956 cat confdefs.h >>conftest.$ac_ext
20957 cat >>conftest.$ac_ext <<_ACEOF
20958 /* end confdefs.h. */
20959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
20960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
20961 #define $ac_func innocuous_$ac_func
20963 /* System header to define __stub macros and hopefully few prototypes,
20964 which can conflict with char $ac_func (); below.
20965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
20966 <limits.h> exists even on freestanding compilers. */
20968 #ifdef __STDC__
20969 # include <limits.h>
20970 #else
20971 # include <assert.h>
20972 #endif
20974 #undef $ac_func
20976 /* Override any gcc2 internal prototype to avoid an error. */
20977 #ifdef __cplusplus
20978 extern "C"
20980 #endif
20981 /* We use char because int might match the return type of a gcc2
20982 builtin and then its argument prototype would still apply. */
20983 char $ac_func ();
20984 /* The GNU C library defines this for functions which it implements
20985 to always fail with ENOSYS. Some functions are actually named
20986 something starting with __ and the normal name is an alias. */
20987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
20988 choke me
20989 #else
20990 char (*f) () = $ac_func;
20991 #endif
20992 #ifdef __cplusplus
20994 #endif
20997 main ()
20999 return f != $ac_func;
21001 return 0;
21003 _ACEOF
21004 rm -f conftest.$ac_objext conftest$ac_exeext
21005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21006 (eval $ac_link) 2>conftest.er1
21007 ac_status=$?
21008 grep -v '^ *+' conftest.er1 >conftest.err
21009 rm -f conftest.er1
21010 cat conftest.err >&5
21011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21012 (exit $ac_status); } &&
21013 { ac_try='test -z "$ac_c_werror_flag"
21014 || test ! -s conftest.err'
21015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21016 (eval $ac_try) 2>&5
21017 ac_status=$?
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); }; } &&
21020 { ac_try='test -s conftest$ac_exeext'
21021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21022 (eval $ac_try) 2>&5
21023 ac_status=$?
21024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21025 (exit $ac_status); }; }; then
21026 eval "$as_ac_var=yes"
21027 else
21028 echo "$as_me: failed program was:" >&5
21029 sed 's/^/| /' conftest.$ac_ext >&5
21031 eval "$as_ac_var=no"
21033 rm -f conftest.err conftest.$ac_objext \
21034 conftest$ac_exeext conftest.$ac_ext
21036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21038 if test `eval echo '${'$as_ac_var'}'` = yes; then
21039 cat >>confdefs.h <<_ACEOF
21040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21041 _ACEOF
21044 done
21054 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
21055 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
21056 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21057 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
21058 echo $ECHO_N "(cached) $ECHO_C" >&6
21059 else
21063 ac_ext=cc
21064 ac_cpp='$CXXCPP $CPPFLAGS'
21065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21069 cat >conftest.$ac_ext <<_ACEOF
21070 /* confdefs.h. */
21071 _ACEOF
21072 cat confdefs.h >>conftest.$ac_ext
21073 cat >>conftest.$ac_ext <<_ACEOF
21074 /* end confdefs.h. */
21075 #include <math.h>
21076 #ifdef HAVE_IEEEFP_H
21077 #include <ieeefp.h>
21078 #endif
21081 main ()
21083 qfpclass(0);
21085 return 0;
21087 _ACEOF
21088 rm -f conftest.$ac_objext
21089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21090 (eval $ac_compile) 2>conftest.er1
21091 ac_status=$?
21092 grep -v '^ *+' conftest.er1 >conftest.err
21093 rm -f conftest.er1
21094 cat conftest.err >&5
21095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21096 (exit $ac_status); } &&
21097 { ac_try='test -z "$ac_cxx_werror_flag"
21098 || test ! -s conftest.err'
21099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21100 (eval $ac_try) 2>&5
21101 ac_status=$?
21102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21103 (exit $ac_status); }; } &&
21104 { ac_try='test -s conftest.$ac_objext'
21105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21106 (eval $ac_try) 2>&5
21107 ac_status=$?
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); }; }; then
21110 glibcxx_cv_func_qfpclass_use=yes
21111 else
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21115 glibcxx_cv_func_qfpclass_use=no
21117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21118 ac_ext=c
21119 ac_cpp='$CPP $CPPFLAGS'
21120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
21129 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
21131 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21133 for ac_func in qfpclass
21135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21136 echo "$as_me:$LINENO: checking for $ac_func" >&5
21137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21138 if eval "test \"\${$as_ac_var+set}\" = set"; then
21139 echo $ECHO_N "(cached) $ECHO_C" >&6
21140 else
21141 if test x$gcc_no_link = xyes; then
21142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21144 { (exit 1); exit 1; }; }
21146 cat >conftest.$ac_ext <<_ACEOF
21147 /* confdefs.h. */
21148 _ACEOF
21149 cat confdefs.h >>conftest.$ac_ext
21150 cat >>conftest.$ac_ext <<_ACEOF
21151 /* end confdefs.h. */
21152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21154 #define $ac_func innocuous_$ac_func
21156 /* System header to define __stub macros and hopefully few prototypes,
21157 which can conflict with char $ac_func (); below.
21158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21159 <limits.h> exists even on freestanding compilers. */
21161 #ifdef __STDC__
21162 # include <limits.h>
21163 #else
21164 # include <assert.h>
21165 #endif
21167 #undef $ac_func
21169 /* Override any gcc2 internal prototype to avoid an error. */
21170 #ifdef __cplusplus
21171 extern "C"
21173 #endif
21174 /* We use char because int might match the return type of a gcc2
21175 builtin and then its argument prototype would still apply. */
21176 char $ac_func ();
21177 /* The GNU C library defines this for functions which it implements
21178 to always fail with ENOSYS. Some functions are actually named
21179 something starting with __ and the normal name is an alias. */
21180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21181 choke me
21182 #else
21183 char (*f) () = $ac_func;
21184 #endif
21185 #ifdef __cplusplus
21187 #endif
21190 main ()
21192 return f != $ac_func;
21194 return 0;
21196 _ACEOF
21197 rm -f conftest.$ac_objext conftest$ac_exeext
21198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21199 (eval $ac_link) 2>conftest.er1
21200 ac_status=$?
21201 grep -v '^ *+' conftest.er1 >conftest.err
21202 rm -f conftest.er1
21203 cat conftest.err >&5
21204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21205 (exit $ac_status); } &&
21206 { ac_try='test -z "$ac_c_werror_flag"
21207 || test ! -s conftest.err'
21208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21209 (eval $ac_try) 2>&5
21210 ac_status=$?
21211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21212 (exit $ac_status); }; } &&
21213 { ac_try='test -s conftest$ac_exeext'
21214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21215 (eval $ac_try) 2>&5
21216 ac_status=$?
21217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21218 (exit $ac_status); }; }; then
21219 eval "$as_ac_var=yes"
21220 else
21221 echo "$as_me: failed program was:" >&5
21222 sed 's/^/| /' conftest.$ac_ext >&5
21224 eval "$as_ac_var=no"
21226 rm -f conftest.err conftest.$ac_objext \
21227 conftest$ac_exeext conftest.$ac_ext
21229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21231 if test `eval echo '${'$as_ac_var'}'` = yes; then
21232 cat >>confdefs.h <<_ACEOF
21233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21234 _ACEOF
21237 done
21239 else
21241 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
21242 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
21243 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21244 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
21245 echo $ECHO_N "(cached) $ECHO_C" >&6
21246 else
21250 ac_ext=cc
21251 ac_cpp='$CXXCPP $CPPFLAGS'
21252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21256 cat >conftest.$ac_ext <<_ACEOF
21257 /* confdefs.h. */
21258 _ACEOF
21259 cat confdefs.h >>conftest.$ac_ext
21260 cat >>conftest.$ac_ext <<_ACEOF
21261 /* end confdefs.h. */
21262 #include <math.h>
21263 #ifdef HAVE_IEEEFP_H
21264 #include <ieeefp.h>
21265 #endif
21268 main ()
21270 _qfpclass(0);
21272 return 0;
21274 _ACEOF
21275 rm -f conftest.$ac_objext
21276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21277 (eval $ac_compile) 2>conftest.er1
21278 ac_status=$?
21279 grep -v '^ *+' conftest.er1 >conftest.err
21280 rm -f conftest.er1
21281 cat conftest.err >&5
21282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21283 (exit $ac_status); } &&
21284 { ac_try='test -z "$ac_cxx_werror_flag"
21285 || test ! -s conftest.err'
21286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21287 (eval $ac_try) 2>&5
21288 ac_status=$?
21289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21290 (exit $ac_status); }; } &&
21291 { ac_try='test -s conftest.$ac_objext'
21292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21293 (eval $ac_try) 2>&5
21294 ac_status=$?
21295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21296 (exit $ac_status); }; }; then
21297 glibcxx_cv_func__qfpclass_use=yes
21298 else
21299 echo "$as_me: failed program was:" >&5
21300 sed 's/^/| /' conftest.$ac_ext >&5
21302 glibcxx_cv_func__qfpclass_use=no
21304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21305 ac_ext=c
21306 ac_cpp='$CPP $CPPFLAGS'
21307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
21316 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
21318 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21320 for ac_func in _qfpclass
21322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21323 echo "$as_me:$LINENO: checking for $ac_func" >&5
21324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21325 if eval "test \"\${$as_ac_var+set}\" = set"; then
21326 echo $ECHO_N "(cached) $ECHO_C" >&6
21327 else
21328 if test x$gcc_no_link = xyes; then
21329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21331 { (exit 1); exit 1; }; }
21333 cat >conftest.$ac_ext <<_ACEOF
21334 /* confdefs.h. */
21335 _ACEOF
21336 cat confdefs.h >>conftest.$ac_ext
21337 cat >>conftest.$ac_ext <<_ACEOF
21338 /* end confdefs.h. */
21339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21341 #define $ac_func innocuous_$ac_func
21343 /* System header to define __stub macros and hopefully few prototypes,
21344 which can conflict with char $ac_func (); below.
21345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21346 <limits.h> exists even on freestanding compilers. */
21348 #ifdef __STDC__
21349 # include <limits.h>
21350 #else
21351 # include <assert.h>
21352 #endif
21354 #undef $ac_func
21356 /* Override any gcc2 internal prototype to avoid an error. */
21357 #ifdef __cplusplus
21358 extern "C"
21360 #endif
21361 /* We use char because int might match the return type of a gcc2
21362 builtin and then its argument prototype would still apply. */
21363 char $ac_func ();
21364 /* The GNU C library defines this for functions which it implements
21365 to always fail with ENOSYS. Some functions are actually named
21366 something starting with __ and the normal name is an alias. */
21367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21368 choke me
21369 #else
21370 char (*f) () = $ac_func;
21371 #endif
21372 #ifdef __cplusplus
21374 #endif
21377 main ()
21379 return f != $ac_func;
21381 return 0;
21383 _ACEOF
21384 rm -f conftest.$ac_objext conftest$ac_exeext
21385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21386 (eval $ac_link) 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } &&
21393 { ac_try='test -z "$ac_c_werror_flag"
21394 || test ! -s conftest.err'
21395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21396 (eval $ac_try) 2>&5
21397 ac_status=$?
21398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21399 (exit $ac_status); }; } &&
21400 { ac_try='test -s conftest$ac_exeext'
21401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21402 (eval $ac_try) 2>&5
21403 ac_status=$?
21404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21405 (exit $ac_status); }; }; then
21406 eval "$as_ac_var=yes"
21407 else
21408 echo "$as_me: failed program was:" >&5
21409 sed 's/^/| /' conftest.$ac_ext >&5
21411 eval "$as_ac_var=no"
21413 rm -f conftest.err conftest.$ac_objext \
21414 conftest$ac_exeext conftest.$ac_ext
21416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21418 if test `eval echo '${'$as_ac_var'}'` = yes; then
21419 cat >>confdefs.h <<_ACEOF
21420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21421 _ACEOF
21424 done
21434 echo "$as_me:$LINENO: checking for hypot declaration" >&5
21435 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
21436 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21437 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
21438 echo $ECHO_N "(cached) $ECHO_C" >&6
21439 else
21443 ac_ext=cc
21444 ac_cpp='$CXXCPP $CPPFLAGS'
21445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21449 cat >conftest.$ac_ext <<_ACEOF
21450 /* confdefs.h. */
21451 _ACEOF
21452 cat confdefs.h >>conftest.$ac_ext
21453 cat >>conftest.$ac_ext <<_ACEOF
21454 /* end confdefs.h. */
21455 #include <math.h>
21457 main ()
21459 hypot(0, 0);
21461 return 0;
21463 _ACEOF
21464 rm -f conftest.$ac_objext
21465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21466 (eval $ac_compile) 2>conftest.er1
21467 ac_status=$?
21468 grep -v '^ *+' conftest.er1 >conftest.err
21469 rm -f conftest.er1
21470 cat conftest.err >&5
21471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21472 (exit $ac_status); } &&
21473 { ac_try='test -z "$ac_cxx_werror_flag"
21474 || test ! -s conftest.err'
21475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21476 (eval $ac_try) 2>&5
21477 ac_status=$?
21478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21479 (exit $ac_status); }; } &&
21480 { ac_try='test -s conftest.$ac_objext'
21481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21482 (eval $ac_try) 2>&5
21483 ac_status=$?
21484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21485 (exit $ac_status); }; }; then
21486 glibcxx_cv_func_hypot_use=yes
21487 else
21488 echo "$as_me: failed program was:" >&5
21489 sed 's/^/| /' conftest.$ac_ext >&5
21491 glibcxx_cv_func_hypot_use=no
21493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21494 ac_ext=c
21495 ac_cpp='$CPP $CPPFLAGS'
21496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
21505 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
21507 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21509 for ac_func in hypot
21511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21512 echo "$as_me:$LINENO: checking for $ac_func" >&5
21513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21514 if eval "test \"\${$as_ac_var+set}\" = set"; then
21515 echo $ECHO_N "(cached) $ECHO_C" >&6
21516 else
21517 if test x$gcc_no_link = xyes; then
21518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21520 { (exit 1); exit 1; }; }
21522 cat >conftest.$ac_ext <<_ACEOF
21523 /* confdefs.h. */
21524 _ACEOF
21525 cat confdefs.h >>conftest.$ac_ext
21526 cat >>conftest.$ac_ext <<_ACEOF
21527 /* end confdefs.h. */
21528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21530 #define $ac_func innocuous_$ac_func
21532 /* System header to define __stub macros and hopefully few prototypes,
21533 which can conflict with char $ac_func (); below.
21534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21535 <limits.h> exists even on freestanding compilers. */
21537 #ifdef __STDC__
21538 # include <limits.h>
21539 #else
21540 # include <assert.h>
21541 #endif
21543 #undef $ac_func
21545 /* Override any gcc2 internal prototype to avoid an error. */
21546 #ifdef __cplusplus
21547 extern "C"
21549 #endif
21550 /* We use char because int might match the return type of a gcc2
21551 builtin and then its argument prototype would still apply. */
21552 char $ac_func ();
21553 /* The GNU C library defines this for functions which it implements
21554 to always fail with ENOSYS. Some functions are actually named
21555 something starting with __ and the normal name is an alias. */
21556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21557 choke me
21558 #else
21559 char (*f) () = $ac_func;
21560 #endif
21561 #ifdef __cplusplus
21563 #endif
21566 main ()
21568 return f != $ac_func;
21570 return 0;
21572 _ACEOF
21573 rm -f conftest.$ac_objext conftest$ac_exeext
21574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21575 (eval $ac_link) 2>conftest.er1
21576 ac_status=$?
21577 grep -v '^ *+' conftest.er1 >conftest.err
21578 rm -f conftest.er1
21579 cat conftest.err >&5
21580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21581 (exit $ac_status); } &&
21582 { ac_try='test -z "$ac_c_werror_flag"
21583 || test ! -s conftest.err'
21584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21585 (eval $ac_try) 2>&5
21586 ac_status=$?
21587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21588 (exit $ac_status); }; } &&
21589 { ac_try='test -s conftest$ac_exeext'
21590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21591 (eval $ac_try) 2>&5
21592 ac_status=$?
21593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21594 (exit $ac_status); }; }; then
21595 eval "$as_ac_var=yes"
21596 else
21597 echo "$as_me: failed program was:" >&5
21598 sed 's/^/| /' conftest.$ac_ext >&5
21600 eval "$as_ac_var=no"
21602 rm -f conftest.err conftest.$ac_objext \
21603 conftest$ac_exeext conftest.$ac_ext
21605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21607 if test `eval echo '${'$as_ac_var'}'` = yes; then
21608 cat >>confdefs.h <<_ACEOF
21609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21610 _ACEOF
21613 done
21615 else
21617 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
21618 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
21619 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21620 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
21621 echo $ECHO_N "(cached) $ECHO_C" >&6
21622 else
21626 ac_ext=cc
21627 ac_cpp='$CXXCPP $CPPFLAGS'
21628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21632 cat >conftest.$ac_ext <<_ACEOF
21633 /* confdefs.h. */
21634 _ACEOF
21635 cat confdefs.h >>conftest.$ac_ext
21636 cat >>conftest.$ac_ext <<_ACEOF
21637 /* end confdefs.h. */
21638 #include <math.h>
21640 main ()
21642 _hypot(0, 0);
21644 return 0;
21646 _ACEOF
21647 rm -f conftest.$ac_objext
21648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21649 (eval $ac_compile) 2>conftest.er1
21650 ac_status=$?
21651 grep -v '^ *+' conftest.er1 >conftest.err
21652 rm -f conftest.er1
21653 cat conftest.err >&5
21654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21655 (exit $ac_status); } &&
21656 { ac_try='test -z "$ac_cxx_werror_flag"
21657 || test ! -s conftest.err'
21658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21659 (eval $ac_try) 2>&5
21660 ac_status=$?
21661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21662 (exit $ac_status); }; } &&
21663 { ac_try='test -s conftest.$ac_objext'
21664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21665 (eval $ac_try) 2>&5
21666 ac_status=$?
21667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21668 (exit $ac_status); }; }; then
21669 glibcxx_cv_func__hypot_use=yes
21670 else
21671 echo "$as_me: failed program was:" >&5
21672 sed 's/^/| /' conftest.$ac_ext >&5
21674 glibcxx_cv_func__hypot_use=no
21676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21677 ac_ext=c
21678 ac_cpp='$CPP $CPPFLAGS'
21679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
21688 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
21690 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21692 for ac_func in _hypot
21694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21695 echo "$as_me:$LINENO: checking for $ac_func" >&5
21696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21697 if eval "test \"\${$as_ac_var+set}\" = set"; then
21698 echo $ECHO_N "(cached) $ECHO_C" >&6
21699 else
21700 if test x$gcc_no_link = xyes; then
21701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21703 { (exit 1); exit 1; }; }
21705 cat >conftest.$ac_ext <<_ACEOF
21706 /* confdefs.h. */
21707 _ACEOF
21708 cat confdefs.h >>conftest.$ac_ext
21709 cat >>conftest.$ac_ext <<_ACEOF
21710 /* end confdefs.h. */
21711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21713 #define $ac_func innocuous_$ac_func
21715 /* System header to define __stub macros and hopefully few prototypes,
21716 which can conflict with char $ac_func (); below.
21717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21718 <limits.h> exists even on freestanding compilers. */
21720 #ifdef __STDC__
21721 # include <limits.h>
21722 #else
21723 # include <assert.h>
21724 #endif
21726 #undef $ac_func
21728 /* Override any gcc2 internal prototype to avoid an error. */
21729 #ifdef __cplusplus
21730 extern "C"
21732 #endif
21733 /* We use char because int might match the return type of a gcc2
21734 builtin and then its argument prototype would still apply. */
21735 char $ac_func ();
21736 /* The GNU C library defines this for functions which it implements
21737 to always fail with ENOSYS. Some functions are actually named
21738 something starting with __ and the normal name is an alias. */
21739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21740 choke me
21741 #else
21742 char (*f) () = $ac_func;
21743 #endif
21744 #ifdef __cplusplus
21746 #endif
21749 main ()
21751 return f != $ac_func;
21753 return 0;
21755 _ACEOF
21756 rm -f conftest.$ac_objext conftest$ac_exeext
21757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21758 (eval $ac_link) 2>conftest.er1
21759 ac_status=$?
21760 grep -v '^ *+' conftest.er1 >conftest.err
21761 rm -f conftest.er1
21762 cat conftest.err >&5
21763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21764 (exit $ac_status); } &&
21765 { ac_try='test -z "$ac_c_werror_flag"
21766 || test ! -s conftest.err'
21767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21768 (eval $ac_try) 2>&5
21769 ac_status=$?
21770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21771 (exit $ac_status); }; } &&
21772 { ac_try='test -s conftest$ac_exeext'
21773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21774 (eval $ac_try) 2>&5
21775 ac_status=$?
21776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21777 (exit $ac_status); }; }; then
21778 eval "$as_ac_var=yes"
21779 else
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21783 eval "$as_ac_var=no"
21785 rm -f conftest.err conftest.$ac_objext \
21786 conftest$ac_exeext conftest.$ac_ext
21788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21790 if test `eval echo '${'$as_ac_var'}'` = yes; then
21791 cat >>confdefs.h <<_ACEOF
21792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21793 _ACEOF
21796 done
21806 echo "$as_me:$LINENO: checking for float trig functions" >&5
21807 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
21808 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
21809 echo $ECHO_N "(cached) $ECHO_C" >&6
21810 else
21814 ac_ext=cc
21815 ac_cpp='$CXXCPP $CPPFLAGS'
21816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21820 cat >conftest.$ac_ext <<_ACEOF
21821 /* confdefs.h. */
21822 _ACEOF
21823 cat confdefs.h >>conftest.$ac_ext
21824 cat >>conftest.$ac_ext <<_ACEOF
21825 /* end confdefs.h. */
21826 #include <math.h>
21828 main ()
21830 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21832 return 0;
21834 _ACEOF
21835 rm -f conftest.$ac_objext
21836 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21837 (eval $ac_compile) 2>conftest.er1
21838 ac_status=$?
21839 grep -v '^ *+' conftest.er1 >conftest.err
21840 rm -f conftest.er1
21841 cat conftest.err >&5
21842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21843 (exit $ac_status); } &&
21844 { ac_try='test -z "$ac_cxx_werror_flag"
21845 || test ! -s conftest.err'
21846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21847 (eval $ac_try) 2>&5
21848 ac_status=$?
21849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21850 (exit $ac_status); }; } &&
21851 { ac_try='test -s conftest.$ac_objext'
21852 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21853 (eval $ac_try) 2>&5
21854 ac_status=$?
21855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21856 (exit $ac_status); }; }; then
21857 glibcxx_cv_func_float_trig_use=yes
21858 else
21859 echo "$as_me: failed program was:" >&5
21860 sed 's/^/| /' conftest.$ac_ext >&5
21862 glibcxx_cv_func_float_trig_use=no
21864 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21865 ac_ext=c
21866 ac_cpp='$CPP $CPPFLAGS'
21867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
21874 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
21875 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
21885 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
21887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
21888 echo "$as_me:$LINENO: checking for $ac_func" >&5
21889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
21890 if eval "test \"\${$as_ac_var+set}\" = set"; then
21891 echo $ECHO_N "(cached) $ECHO_C" >&6
21892 else
21893 if test x$gcc_no_link = xyes; then
21894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21896 { (exit 1); exit 1; }; }
21898 cat >conftest.$ac_ext <<_ACEOF
21899 /* confdefs.h. */
21900 _ACEOF
21901 cat confdefs.h >>conftest.$ac_ext
21902 cat >>conftest.$ac_ext <<_ACEOF
21903 /* end confdefs.h. */
21904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
21905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
21906 #define $ac_func innocuous_$ac_func
21908 /* System header to define __stub macros and hopefully few prototypes,
21909 which can conflict with char $ac_func (); below.
21910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
21911 <limits.h> exists even on freestanding compilers. */
21913 #ifdef __STDC__
21914 # include <limits.h>
21915 #else
21916 # include <assert.h>
21917 #endif
21919 #undef $ac_func
21921 /* Override any gcc2 internal prototype to avoid an error. */
21922 #ifdef __cplusplus
21923 extern "C"
21925 #endif
21926 /* We use char because int might match the return type of a gcc2
21927 builtin and then its argument prototype would still apply. */
21928 char $ac_func ();
21929 /* The GNU C library defines this for functions which it implements
21930 to always fail with ENOSYS. Some functions are actually named
21931 something starting with __ and the normal name is an alias. */
21932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
21933 choke me
21934 #else
21935 char (*f) () = $ac_func;
21936 #endif
21937 #ifdef __cplusplus
21939 #endif
21942 main ()
21944 return f != $ac_func;
21946 return 0;
21948 _ACEOF
21949 rm -f conftest.$ac_objext conftest$ac_exeext
21950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21951 (eval $ac_link) 2>conftest.er1
21952 ac_status=$?
21953 grep -v '^ *+' conftest.er1 >conftest.err
21954 rm -f conftest.er1
21955 cat conftest.err >&5
21956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21957 (exit $ac_status); } &&
21958 { ac_try='test -z "$ac_c_werror_flag"
21959 || test ! -s conftest.err'
21960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21961 (eval $ac_try) 2>&5
21962 ac_status=$?
21963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21964 (exit $ac_status); }; } &&
21965 { ac_try='test -s conftest$ac_exeext'
21966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21967 (eval $ac_try) 2>&5
21968 ac_status=$?
21969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21970 (exit $ac_status); }; }; then
21971 eval "$as_ac_var=yes"
21972 else
21973 echo "$as_me: failed program was:" >&5
21974 sed 's/^/| /' conftest.$ac_ext >&5
21976 eval "$as_ac_var=no"
21978 rm -f conftest.err conftest.$ac_objext \
21979 conftest$ac_exeext conftest.$ac_ext
21981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
21982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
21983 if test `eval echo '${'$as_ac_var'}'` = yes; then
21984 cat >>confdefs.h <<_ACEOF
21985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
21986 _ACEOF
21989 done
21991 else
21992 echo "$as_me:$LINENO: checking for _float trig functions" >&5
21993 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
21994 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
21995 echo $ECHO_N "(cached) $ECHO_C" >&6
21996 else
22000 ac_ext=cc
22001 ac_cpp='$CXXCPP $CPPFLAGS'
22002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22006 cat >conftest.$ac_ext <<_ACEOF
22007 /* confdefs.h. */
22008 _ACEOF
22009 cat confdefs.h >>conftest.$ac_ext
22010 cat >>conftest.$ac_ext <<_ACEOF
22011 /* end confdefs.h. */
22012 #include <math.h>
22014 main ()
22016 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22018 return 0;
22020 _ACEOF
22021 rm -f conftest.$ac_objext
22022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22023 (eval $ac_compile) 2>conftest.er1
22024 ac_status=$?
22025 grep -v '^ *+' conftest.er1 >conftest.err
22026 rm -f conftest.er1
22027 cat conftest.err >&5
22028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22029 (exit $ac_status); } &&
22030 { ac_try='test -z "$ac_cxx_werror_flag"
22031 || test ! -s conftest.err'
22032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22033 (eval $ac_try) 2>&5
22034 ac_status=$?
22035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22036 (exit $ac_status); }; } &&
22037 { ac_try='test -s conftest.$ac_objext'
22038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22039 (eval $ac_try) 2>&5
22040 ac_status=$?
22041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22042 (exit $ac_status); }; }; then
22043 glibcxx_cv_func__float_trig_use=yes
22044 else
22045 echo "$as_me: failed program was:" >&5
22046 sed 's/^/| /' conftest.$ac_ext >&5
22048 glibcxx_cv_func__float_trig_use=no
22050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22051 ac_ext=c
22052 ac_cpp='$CPP $CPPFLAGS'
22053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22059 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
22060 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
22061 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22071 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22073 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22074 echo "$as_me:$LINENO: checking for $ac_func" >&5
22075 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22076 if eval "test \"\${$as_ac_var+set}\" = set"; then
22077 echo $ECHO_N "(cached) $ECHO_C" >&6
22078 else
22079 if test x$gcc_no_link = xyes; then
22080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22082 { (exit 1); exit 1; }; }
22084 cat >conftest.$ac_ext <<_ACEOF
22085 /* confdefs.h. */
22086 _ACEOF
22087 cat confdefs.h >>conftest.$ac_ext
22088 cat >>conftest.$ac_ext <<_ACEOF
22089 /* end confdefs.h. */
22090 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22091 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22092 #define $ac_func innocuous_$ac_func
22094 /* System header to define __stub macros and hopefully few prototypes,
22095 which can conflict with char $ac_func (); below.
22096 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22097 <limits.h> exists even on freestanding compilers. */
22099 #ifdef __STDC__
22100 # include <limits.h>
22101 #else
22102 # include <assert.h>
22103 #endif
22105 #undef $ac_func
22107 /* Override any gcc2 internal prototype to avoid an error. */
22108 #ifdef __cplusplus
22109 extern "C"
22111 #endif
22112 /* We use char because int might match the return type of a gcc2
22113 builtin and then its argument prototype would still apply. */
22114 char $ac_func ();
22115 /* The GNU C library defines this for functions which it implements
22116 to always fail with ENOSYS. Some functions are actually named
22117 something starting with __ and the normal name is an alias. */
22118 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22119 choke me
22120 #else
22121 char (*f) () = $ac_func;
22122 #endif
22123 #ifdef __cplusplus
22125 #endif
22128 main ()
22130 return f != $ac_func;
22132 return 0;
22134 _ACEOF
22135 rm -f conftest.$ac_objext conftest$ac_exeext
22136 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22137 (eval $ac_link) 2>conftest.er1
22138 ac_status=$?
22139 grep -v '^ *+' conftest.er1 >conftest.err
22140 rm -f conftest.er1
22141 cat conftest.err >&5
22142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22143 (exit $ac_status); } &&
22144 { ac_try='test -z "$ac_c_werror_flag"
22145 || test ! -s conftest.err'
22146 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22147 (eval $ac_try) 2>&5
22148 ac_status=$?
22149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22150 (exit $ac_status); }; } &&
22151 { ac_try='test -s conftest$ac_exeext'
22152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22153 (eval $ac_try) 2>&5
22154 ac_status=$?
22155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22156 (exit $ac_status); }; }; then
22157 eval "$as_ac_var=yes"
22158 else
22159 echo "$as_me: failed program was:" >&5
22160 sed 's/^/| /' conftest.$ac_ext >&5
22162 eval "$as_ac_var=no"
22164 rm -f conftest.err conftest.$ac_objext \
22165 conftest$ac_exeext conftest.$ac_ext
22167 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22168 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22169 if test `eval echo '${'$as_ac_var'}'` = yes; then
22170 cat >>confdefs.h <<_ACEOF
22171 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22172 _ACEOF
22175 done
22193 echo "$as_me:$LINENO: checking for float round functions" >&5
22194 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
22195 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
22196 echo $ECHO_N "(cached) $ECHO_C" >&6
22197 else
22201 ac_ext=cc
22202 ac_cpp='$CXXCPP $CPPFLAGS'
22203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22207 cat >conftest.$ac_ext <<_ACEOF
22208 /* confdefs.h. */
22209 _ACEOF
22210 cat confdefs.h >>conftest.$ac_ext
22211 cat >>conftest.$ac_ext <<_ACEOF
22212 /* end confdefs.h. */
22213 #include <math.h>
22215 main ()
22217 ceilf (0); floorf (0);
22219 return 0;
22221 _ACEOF
22222 rm -f conftest.$ac_objext
22223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22224 (eval $ac_compile) 2>conftest.er1
22225 ac_status=$?
22226 grep -v '^ *+' conftest.er1 >conftest.err
22227 rm -f conftest.er1
22228 cat conftest.err >&5
22229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22230 (exit $ac_status); } &&
22231 { ac_try='test -z "$ac_cxx_werror_flag"
22232 || test ! -s conftest.err'
22233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22234 (eval $ac_try) 2>&5
22235 ac_status=$?
22236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22237 (exit $ac_status); }; } &&
22238 { ac_try='test -s conftest.$ac_objext'
22239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22240 (eval $ac_try) 2>&5
22241 ac_status=$?
22242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22243 (exit $ac_status); }; }; then
22244 glibcxx_cv_func_float_round_use=yes
22245 else
22246 echo "$as_me: failed program was:" >&5
22247 sed 's/^/| /' conftest.$ac_ext >&5
22249 glibcxx_cv_func_float_round_use=no
22251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22252 ac_ext=c
22253 ac_cpp='$CPP $CPPFLAGS'
22254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
22261 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
22262 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22265 for ac_func in ceilf floorf
22267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22268 echo "$as_me:$LINENO: checking for $ac_func" >&5
22269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22270 if eval "test \"\${$as_ac_var+set}\" = set"; then
22271 echo $ECHO_N "(cached) $ECHO_C" >&6
22272 else
22273 if test x$gcc_no_link = xyes; then
22274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22276 { (exit 1); exit 1; }; }
22278 cat >conftest.$ac_ext <<_ACEOF
22279 /* confdefs.h. */
22280 _ACEOF
22281 cat confdefs.h >>conftest.$ac_ext
22282 cat >>conftest.$ac_ext <<_ACEOF
22283 /* end confdefs.h. */
22284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22286 #define $ac_func innocuous_$ac_func
22288 /* System header to define __stub macros and hopefully few prototypes,
22289 which can conflict with char $ac_func (); below.
22290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22291 <limits.h> exists even on freestanding compilers. */
22293 #ifdef __STDC__
22294 # include <limits.h>
22295 #else
22296 # include <assert.h>
22297 #endif
22299 #undef $ac_func
22301 /* Override any gcc2 internal prototype to avoid an error. */
22302 #ifdef __cplusplus
22303 extern "C"
22305 #endif
22306 /* We use char because int might match the return type of a gcc2
22307 builtin and then its argument prototype would still apply. */
22308 char $ac_func ();
22309 /* The GNU C library defines this for functions which it implements
22310 to always fail with ENOSYS. Some functions are actually named
22311 something starting with __ and the normal name is an alias. */
22312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22313 choke me
22314 #else
22315 char (*f) () = $ac_func;
22316 #endif
22317 #ifdef __cplusplus
22319 #endif
22322 main ()
22324 return f != $ac_func;
22326 return 0;
22328 _ACEOF
22329 rm -f conftest.$ac_objext conftest$ac_exeext
22330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22331 (eval $ac_link) 2>conftest.er1
22332 ac_status=$?
22333 grep -v '^ *+' conftest.er1 >conftest.err
22334 rm -f conftest.er1
22335 cat conftest.err >&5
22336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22337 (exit $ac_status); } &&
22338 { ac_try='test -z "$ac_c_werror_flag"
22339 || test ! -s conftest.err'
22340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22341 (eval $ac_try) 2>&5
22342 ac_status=$?
22343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22344 (exit $ac_status); }; } &&
22345 { ac_try='test -s conftest$ac_exeext'
22346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22347 (eval $ac_try) 2>&5
22348 ac_status=$?
22349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22350 (exit $ac_status); }; }; then
22351 eval "$as_ac_var=yes"
22352 else
22353 echo "$as_me: failed program was:" >&5
22354 sed 's/^/| /' conftest.$ac_ext >&5
22356 eval "$as_ac_var=no"
22358 rm -f conftest.err conftest.$ac_objext \
22359 conftest$ac_exeext conftest.$ac_ext
22361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22363 if test `eval echo '${'$as_ac_var'}'` = yes; then
22364 cat >>confdefs.h <<_ACEOF
22365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22366 _ACEOF
22369 done
22371 else
22372 echo "$as_me:$LINENO: checking for _float round functions" >&5
22373 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
22374 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
22375 echo $ECHO_N "(cached) $ECHO_C" >&6
22376 else
22380 ac_ext=cc
22381 ac_cpp='$CXXCPP $CPPFLAGS'
22382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386 cat >conftest.$ac_ext <<_ACEOF
22387 /* confdefs.h. */
22388 _ACEOF
22389 cat confdefs.h >>conftest.$ac_ext
22390 cat >>conftest.$ac_ext <<_ACEOF
22391 /* end confdefs.h. */
22392 #include <math.h>
22394 main ()
22396 _ceilf (0); _floorf (0);
22398 return 0;
22400 _ACEOF
22401 rm -f conftest.$ac_objext
22402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22403 (eval $ac_compile) 2>conftest.er1
22404 ac_status=$?
22405 grep -v '^ *+' conftest.er1 >conftest.err
22406 rm -f conftest.er1
22407 cat conftest.err >&5
22408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22409 (exit $ac_status); } &&
22410 { ac_try='test -z "$ac_cxx_werror_flag"
22411 || test ! -s conftest.err'
22412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22413 (eval $ac_try) 2>&5
22414 ac_status=$?
22415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22416 (exit $ac_status); }; } &&
22417 { ac_try='test -s conftest.$ac_objext'
22418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22419 (eval $ac_try) 2>&5
22420 ac_status=$?
22421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22422 (exit $ac_status); }; }; then
22423 glibcxx_cv_func__float_round_use=yes
22424 else
22425 echo "$as_me: failed program was:" >&5
22426 sed 's/^/| /' conftest.$ac_ext >&5
22428 glibcxx_cv_func__float_round_use=no
22430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22431 ac_ext=c
22432 ac_cpp='$CPP $CPPFLAGS'
22433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
22440 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
22441 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22444 for ac_func in _ceilf _floorf
22446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22447 echo "$as_me:$LINENO: checking for $ac_func" >&5
22448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22449 if eval "test \"\${$as_ac_var+set}\" = set"; then
22450 echo $ECHO_N "(cached) $ECHO_C" >&6
22451 else
22452 if test x$gcc_no_link = xyes; then
22453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22455 { (exit 1); exit 1; }; }
22457 cat >conftest.$ac_ext <<_ACEOF
22458 /* confdefs.h. */
22459 _ACEOF
22460 cat confdefs.h >>conftest.$ac_ext
22461 cat >>conftest.$ac_ext <<_ACEOF
22462 /* end confdefs.h. */
22463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22465 #define $ac_func innocuous_$ac_func
22467 /* System header to define __stub macros and hopefully few prototypes,
22468 which can conflict with char $ac_func (); below.
22469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22470 <limits.h> exists even on freestanding compilers. */
22472 #ifdef __STDC__
22473 # include <limits.h>
22474 #else
22475 # include <assert.h>
22476 #endif
22478 #undef $ac_func
22480 /* Override any gcc2 internal prototype to avoid an error. */
22481 #ifdef __cplusplus
22482 extern "C"
22484 #endif
22485 /* We use char because int might match the return type of a gcc2
22486 builtin and then its argument prototype would still apply. */
22487 char $ac_func ();
22488 /* The GNU C library defines this for functions which it implements
22489 to always fail with ENOSYS. Some functions are actually named
22490 something starting with __ and the normal name is an alias. */
22491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22492 choke me
22493 #else
22494 char (*f) () = $ac_func;
22495 #endif
22496 #ifdef __cplusplus
22498 #endif
22501 main ()
22503 return f != $ac_func;
22505 return 0;
22507 _ACEOF
22508 rm -f conftest.$ac_objext conftest$ac_exeext
22509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22510 (eval $ac_link) 2>conftest.er1
22511 ac_status=$?
22512 grep -v '^ *+' conftest.er1 >conftest.err
22513 rm -f conftest.er1
22514 cat conftest.err >&5
22515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22516 (exit $ac_status); } &&
22517 { ac_try='test -z "$ac_c_werror_flag"
22518 || test ! -s conftest.err'
22519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22520 (eval $ac_try) 2>&5
22521 ac_status=$?
22522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22523 (exit $ac_status); }; } &&
22524 { ac_try='test -s conftest$ac_exeext'
22525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22526 (eval $ac_try) 2>&5
22527 ac_status=$?
22528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22529 (exit $ac_status); }; }; then
22530 eval "$as_ac_var=yes"
22531 else
22532 echo "$as_me: failed program was:" >&5
22533 sed 's/^/| /' conftest.$ac_ext >&5
22535 eval "$as_ac_var=no"
22537 rm -f conftest.err conftest.$ac_objext \
22538 conftest$ac_exeext conftest.$ac_ext
22540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22542 if test `eval echo '${'$as_ac_var'}'` = yes; then
22543 cat >>confdefs.h <<_ACEOF
22544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22545 _ACEOF
22548 done
22560 echo "$as_me:$LINENO: checking for expf declaration" >&5
22561 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
22562 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22563 if test "${glibcxx_cv_func_expf_use+set}" = set; then
22564 echo $ECHO_N "(cached) $ECHO_C" >&6
22565 else
22569 ac_ext=cc
22570 ac_cpp='$CXXCPP $CPPFLAGS'
22571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22575 cat >conftest.$ac_ext <<_ACEOF
22576 /* confdefs.h. */
22577 _ACEOF
22578 cat confdefs.h >>conftest.$ac_ext
22579 cat >>conftest.$ac_ext <<_ACEOF
22580 /* end confdefs.h. */
22581 #include <math.h>
22582 #ifdef HAVE_IEEEFP_H
22583 #include <ieeefp.h>
22584 #endif
22587 main ()
22589 expf(0);
22591 return 0;
22593 _ACEOF
22594 rm -f conftest.$ac_objext
22595 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22596 (eval $ac_compile) 2>conftest.er1
22597 ac_status=$?
22598 grep -v '^ *+' conftest.er1 >conftest.err
22599 rm -f conftest.er1
22600 cat conftest.err >&5
22601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22602 (exit $ac_status); } &&
22603 { ac_try='test -z "$ac_cxx_werror_flag"
22604 || test ! -s conftest.err'
22605 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22606 (eval $ac_try) 2>&5
22607 ac_status=$?
22608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22609 (exit $ac_status); }; } &&
22610 { ac_try='test -s conftest.$ac_objext'
22611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22612 (eval $ac_try) 2>&5
22613 ac_status=$?
22614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22615 (exit $ac_status); }; }; then
22616 glibcxx_cv_func_expf_use=yes
22617 else
22618 echo "$as_me: failed program was:" >&5
22619 sed 's/^/| /' conftest.$ac_ext >&5
22621 glibcxx_cv_func_expf_use=no
22623 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22624 ac_ext=c
22625 ac_cpp='$CPP $CPPFLAGS'
22626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22634 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
22635 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
22637 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22639 for ac_func in expf
22641 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22642 echo "$as_me:$LINENO: checking for $ac_func" >&5
22643 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22644 if eval "test \"\${$as_ac_var+set}\" = set"; then
22645 echo $ECHO_N "(cached) $ECHO_C" >&6
22646 else
22647 if test x$gcc_no_link = xyes; then
22648 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22649 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22650 { (exit 1); exit 1; }; }
22652 cat >conftest.$ac_ext <<_ACEOF
22653 /* confdefs.h. */
22654 _ACEOF
22655 cat confdefs.h >>conftest.$ac_ext
22656 cat >>conftest.$ac_ext <<_ACEOF
22657 /* end confdefs.h. */
22658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22660 #define $ac_func innocuous_$ac_func
22662 /* System header to define __stub macros and hopefully few prototypes,
22663 which can conflict with char $ac_func (); below.
22664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22665 <limits.h> exists even on freestanding compilers. */
22667 #ifdef __STDC__
22668 # include <limits.h>
22669 #else
22670 # include <assert.h>
22671 #endif
22673 #undef $ac_func
22675 /* Override any gcc2 internal prototype to avoid an error. */
22676 #ifdef __cplusplus
22677 extern "C"
22679 #endif
22680 /* We use char because int might match the return type of a gcc2
22681 builtin and then its argument prototype would still apply. */
22682 char $ac_func ();
22683 /* The GNU C library defines this for functions which it implements
22684 to always fail with ENOSYS. Some functions are actually named
22685 something starting with __ and the normal name is an alias. */
22686 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22687 choke me
22688 #else
22689 char (*f) () = $ac_func;
22690 #endif
22691 #ifdef __cplusplus
22693 #endif
22696 main ()
22698 return f != $ac_func;
22700 return 0;
22702 _ACEOF
22703 rm -f conftest.$ac_objext conftest$ac_exeext
22704 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22705 (eval $ac_link) 2>conftest.er1
22706 ac_status=$?
22707 grep -v '^ *+' conftest.er1 >conftest.err
22708 rm -f conftest.er1
22709 cat conftest.err >&5
22710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22711 (exit $ac_status); } &&
22712 { ac_try='test -z "$ac_c_werror_flag"
22713 || test ! -s conftest.err'
22714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22715 (eval $ac_try) 2>&5
22716 ac_status=$?
22717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22718 (exit $ac_status); }; } &&
22719 { ac_try='test -s conftest$ac_exeext'
22720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22721 (eval $ac_try) 2>&5
22722 ac_status=$?
22723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22724 (exit $ac_status); }; }; then
22725 eval "$as_ac_var=yes"
22726 else
22727 echo "$as_me: failed program was:" >&5
22728 sed 's/^/| /' conftest.$ac_ext >&5
22730 eval "$as_ac_var=no"
22732 rm -f conftest.err conftest.$ac_objext \
22733 conftest$ac_exeext conftest.$ac_ext
22735 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22736 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22737 if test `eval echo '${'$as_ac_var'}'` = yes; then
22738 cat >>confdefs.h <<_ACEOF
22739 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22740 _ACEOF
22743 done
22745 else
22747 echo "$as_me:$LINENO: checking for _expf declaration" >&5
22748 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
22749 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22750 if test "${glibcxx_cv_func__expf_use+set}" = set; then
22751 echo $ECHO_N "(cached) $ECHO_C" >&6
22752 else
22756 ac_ext=cc
22757 ac_cpp='$CXXCPP $CPPFLAGS'
22758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22762 cat >conftest.$ac_ext <<_ACEOF
22763 /* confdefs.h. */
22764 _ACEOF
22765 cat confdefs.h >>conftest.$ac_ext
22766 cat >>conftest.$ac_ext <<_ACEOF
22767 /* end confdefs.h. */
22768 #include <math.h>
22769 #ifdef HAVE_IEEEFP_H
22770 #include <ieeefp.h>
22771 #endif
22774 main ()
22776 _expf(0);
22778 return 0;
22780 _ACEOF
22781 rm -f conftest.$ac_objext
22782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22783 (eval $ac_compile) 2>conftest.er1
22784 ac_status=$?
22785 grep -v '^ *+' conftest.er1 >conftest.err
22786 rm -f conftest.er1
22787 cat conftest.err >&5
22788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22789 (exit $ac_status); } &&
22790 { ac_try='test -z "$ac_cxx_werror_flag"
22791 || test ! -s conftest.err'
22792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22793 (eval $ac_try) 2>&5
22794 ac_status=$?
22795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22796 (exit $ac_status); }; } &&
22797 { ac_try='test -s conftest.$ac_objext'
22798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22799 (eval $ac_try) 2>&5
22800 ac_status=$?
22801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22802 (exit $ac_status); }; }; then
22803 glibcxx_cv_func__expf_use=yes
22804 else
22805 echo "$as_me: failed program was:" >&5
22806 sed 's/^/| /' conftest.$ac_ext >&5
22808 glibcxx_cv_func__expf_use=no
22810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22811 ac_ext=c
22812 ac_cpp='$CPP $CPPFLAGS'
22813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
22822 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
22824 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22826 for ac_func in _expf
22828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
22829 echo "$as_me:$LINENO: checking for $ac_func" >&5
22830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
22831 if eval "test \"\${$as_ac_var+set}\" = set"; then
22832 echo $ECHO_N "(cached) $ECHO_C" >&6
22833 else
22834 if test x$gcc_no_link = xyes; then
22835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22837 { (exit 1); exit 1; }; }
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
22846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
22847 #define $ac_func innocuous_$ac_func
22849 /* System header to define __stub macros and hopefully few prototypes,
22850 which can conflict with char $ac_func (); below.
22851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
22852 <limits.h> exists even on freestanding compilers. */
22854 #ifdef __STDC__
22855 # include <limits.h>
22856 #else
22857 # include <assert.h>
22858 #endif
22860 #undef $ac_func
22862 /* Override any gcc2 internal prototype to avoid an error. */
22863 #ifdef __cplusplus
22864 extern "C"
22866 #endif
22867 /* We use char because int might match the return type of a gcc2
22868 builtin and then its argument prototype would still apply. */
22869 char $ac_func ();
22870 /* The GNU C library defines this for functions which it implements
22871 to always fail with ENOSYS. Some functions are actually named
22872 something starting with __ and the normal name is an alias. */
22873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
22874 choke me
22875 #else
22876 char (*f) () = $ac_func;
22877 #endif
22878 #ifdef __cplusplus
22880 #endif
22883 main ()
22885 return f != $ac_func;
22887 return 0;
22889 _ACEOF
22890 rm -f conftest.$ac_objext conftest$ac_exeext
22891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22892 (eval $ac_link) 2>conftest.er1
22893 ac_status=$?
22894 grep -v '^ *+' conftest.er1 >conftest.err
22895 rm -f conftest.er1
22896 cat conftest.err >&5
22897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22898 (exit $ac_status); } &&
22899 { ac_try='test -z "$ac_c_werror_flag"
22900 || test ! -s conftest.err'
22901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22902 (eval $ac_try) 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); }; } &&
22906 { ac_try='test -s conftest$ac_exeext'
22907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22908 (eval $ac_try) 2>&5
22909 ac_status=$?
22910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22911 (exit $ac_status); }; }; then
22912 eval "$as_ac_var=yes"
22913 else
22914 echo "$as_me: failed program was:" >&5
22915 sed 's/^/| /' conftest.$ac_ext >&5
22917 eval "$as_ac_var=no"
22919 rm -f conftest.err conftest.$ac_objext \
22920 conftest$ac_exeext conftest.$ac_ext
22922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
22923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
22924 if test `eval echo '${'$as_ac_var'}'` = yes; then
22925 cat >>confdefs.h <<_ACEOF
22926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
22927 _ACEOF
22930 done
22940 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
22941 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
22942 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22943 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
22944 echo $ECHO_N "(cached) $ECHO_C" >&6
22945 else
22949 ac_ext=cc
22950 ac_cpp='$CXXCPP $CPPFLAGS'
22951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22955 cat >conftest.$ac_ext <<_ACEOF
22956 /* confdefs.h. */
22957 _ACEOF
22958 cat confdefs.h >>conftest.$ac_ext
22959 cat >>conftest.$ac_ext <<_ACEOF
22960 /* end confdefs.h. */
22961 #include <math.h>
22962 #ifdef HAVE_IEEEFP_H
22963 #include <ieeefp.h>
22964 #endif
22967 main ()
22969 isnanf(0);
22971 return 0;
22973 _ACEOF
22974 rm -f conftest.$ac_objext
22975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22976 (eval $ac_compile) 2>conftest.er1
22977 ac_status=$?
22978 grep -v '^ *+' conftest.er1 >conftest.err
22979 rm -f conftest.er1
22980 cat conftest.err >&5
22981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22982 (exit $ac_status); } &&
22983 { ac_try='test -z "$ac_cxx_werror_flag"
22984 || test ! -s conftest.err'
22985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22986 (eval $ac_try) 2>&5
22987 ac_status=$?
22988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22989 (exit $ac_status); }; } &&
22990 { ac_try='test -s conftest.$ac_objext'
22991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22992 (eval $ac_try) 2>&5
22993 ac_status=$?
22994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22995 (exit $ac_status); }; }; then
22996 glibcxx_cv_func_isnanf_use=yes
22997 else
22998 echo "$as_me: failed program was:" >&5
22999 sed 's/^/| /' conftest.$ac_ext >&5
23001 glibcxx_cv_func_isnanf_use=no
23003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23004 ac_ext=c
23005 ac_cpp='$CPP $CPPFLAGS'
23006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
23015 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
23017 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23019 for ac_func in isnanf
23021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23022 echo "$as_me:$LINENO: checking for $ac_func" >&5
23023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23024 if eval "test \"\${$as_ac_var+set}\" = set"; then
23025 echo $ECHO_N "(cached) $ECHO_C" >&6
23026 else
23027 if test x$gcc_no_link = xyes; then
23028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23030 { (exit 1); exit 1; }; }
23032 cat >conftest.$ac_ext <<_ACEOF
23033 /* confdefs.h. */
23034 _ACEOF
23035 cat confdefs.h >>conftest.$ac_ext
23036 cat >>conftest.$ac_ext <<_ACEOF
23037 /* end confdefs.h. */
23038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23040 #define $ac_func innocuous_$ac_func
23042 /* System header to define __stub macros and hopefully few prototypes,
23043 which can conflict with char $ac_func (); below.
23044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23045 <limits.h> exists even on freestanding compilers. */
23047 #ifdef __STDC__
23048 # include <limits.h>
23049 #else
23050 # include <assert.h>
23051 #endif
23053 #undef $ac_func
23055 /* Override any gcc2 internal prototype to avoid an error. */
23056 #ifdef __cplusplus
23057 extern "C"
23059 #endif
23060 /* We use char because int might match the return type of a gcc2
23061 builtin and then its argument prototype would still apply. */
23062 char $ac_func ();
23063 /* The GNU C library defines this for functions which it implements
23064 to always fail with ENOSYS. Some functions are actually named
23065 something starting with __ and the normal name is an alias. */
23066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23067 choke me
23068 #else
23069 char (*f) () = $ac_func;
23070 #endif
23071 #ifdef __cplusplus
23073 #endif
23076 main ()
23078 return f != $ac_func;
23080 return 0;
23082 _ACEOF
23083 rm -f conftest.$ac_objext conftest$ac_exeext
23084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23085 (eval $ac_link) 2>conftest.er1
23086 ac_status=$?
23087 grep -v '^ *+' conftest.er1 >conftest.err
23088 rm -f conftest.er1
23089 cat conftest.err >&5
23090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23091 (exit $ac_status); } &&
23092 { ac_try='test -z "$ac_c_werror_flag"
23093 || test ! -s conftest.err'
23094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23095 (eval $ac_try) 2>&5
23096 ac_status=$?
23097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23098 (exit $ac_status); }; } &&
23099 { ac_try='test -s conftest$ac_exeext'
23100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23101 (eval $ac_try) 2>&5
23102 ac_status=$?
23103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23104 (exit $ac_status); }; }; then
23105 eval "$as_ac_var=yes"
23106 else
23107 echo "$as_me: failed program was:" >&5
23108 sed 's/^/| /' conftest.$ac_ext >&5
23110 eval "$as_ac_var=no"
23112 rm -f conftest.err conftest.$ac_objext \
23113 conftest$ac_exeext conftest.$ac_ext
23115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23117 if test `eval echo '${'$as_ac_var'}'` = yes; then
23118 cat >>confdefs.h <<_ACEOF
23119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23120 _ACEOF
23123 done
23125 else
23127 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
23128 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
23129 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23130 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
23131 echo $ECHO_N "(cached) $ECHO_C" >&6
23132 else
23136 ac_ext=cc
23137 ac_cpp='$CXXCPP $CPPFLAGS'
23138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23142 cat >conftest.$ac_ext <<_ACEOF
23143 /* confdefs.h. */
23144 _ACEOF
23145 cat confdefs.h >>conftest.$ac_ext
23146 cat >>conftest.$ac_ext <<_ACEOF
23147 /* end confdefs.h. */
23148 #include <math.h>
23149 #ifdef HAVE_IEEEFP_H
23150 #include <ieeefp.h>
23151 #endif
23154 main ()
23156 _isnanf(0);
23158 return 0;
23160 _ACEOF
23161 rm -f conftest.$ac_objext
23162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23163 (eval $ac_compile) 2>conftest.er1
23164 ac_status=$?
23165 grep -v '^ *+' conftest.er1 >conftest.err
23166 rm -f conftest.er1
23167 cat conftest.err >&5
23168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23169 (exit $ac_status); } &&
23170 { ac_try='test -z "$ac_cxx_werror_flag"
23171 || test ! -s conftest.err'
23172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23173 (eval $ac_try) 2>&5
23174 ac_status=$?
23175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23176 (exit $ac_status); }; } &&
23177 { ac_try='test -s conftest.$ac_objext'
23178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23179 (eval $ac_try) 2>&5
23180 ac_status=$?
23181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23182 (exit $ac_status); }; }; then
23183 glibcxx_cv_func__isnanf_use=yes
23184 else
23185 echo "$as_me: failed program was:" >&5
23186 sed 's/^/| /' conftest.$ac_ext >&5
23188 glibcxx_cv_func__isnanf_use=no
23190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23191 ac_ext=c
23192 ac_cpp='$CPP $CPPFLAGS'
23193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
23202 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
23204 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23206 for ac_func in _isnanf
23208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23209 echo "$as_me:$LINENO: checking for $ac_func" >&5
23210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23211 if eval "test \"\${$as_ac_var+set}\" = set"; then
23212 echo $ECHO_N "(cached) $ECHO_C" >&6
23213 else
23214 if test x$gcc_no_link = xyes; then
23215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23217 { (exit 1); exit 1; }; }
23219 cat >conftest.$ac_ext <<_ACEOF
23220 /* confdefs.h. */
23221 _ACEOF
23222 cat confdefs.h >>conftest.$ac_ext
23223 cat >>conftest.$ac_ext <<_ACEOF
23224 /* end confdefs.h. */
23225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23227 #define $ac_func innocuous_$ac_func
23229 /* System header to define __stub macros and hopefully few prototypes,
23230 which can conflict with char $ac_func (); below.
23231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23232 <limits.h> exists even on freestanding compilers. */
23234 #ifdef __STDC__
23235 # include <limits.h>
23236 #else
23237 # include <assert.h>
23238 #endif
23240 #undef $ac_func
23242 /* Override any gcc2 internal prototype to avoid an error. */
23243 #ifdef __cplusplus
23244 extern "C"
23246 #endif
23247 /* We use char because int might match the return type of a gcc2
23248 builtin and then its argument prototype would still apply. */
23249 char $ac_func ();
23250 /* The GNU C library defines this for functions which it implements
23251 to always fail with ENOSYS. Some functions are actually named
23252 something starting with __ and the normal name is an alias. */
23253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23254 choke me
23255 #else
23256 char (*f) () = $ac_func;
23257 #endif
23258 #ifdef __cplusplus
23260 #endif
23263 main ()
23265 return f != $ac_func;
23267 return 0;
23269 _ACEOF
23270 rm -f conftest.$ac_objext conftest$ac_exeext
23271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23272 (eval $ac_link) 2>conftest.er1
23273 ac_status=$?
23274 grep -v '^ *+' conftest.er1 >conftest.err
23275 rm -f conftest.er1
23276 cat conftest.err >&5
23277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23278 (exit $ac_status); } &&
23279 { ac_try='test -z "$ac_c_werror_flag"
23280 || test ! -s conftest.err'
23281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23282 (eval $ac_try) 2>&5
23283 ac_status=$?
23284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23285 (exit $ac_status); }; } &&
23286 { ac_try='test -s conftest$ac_exeext'
23287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23288 (eval $ac_try) 2>&5
23289 ac_status=$?
23290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23291 (exit $ac_status); }; }; then
23292 eval "$as_ac_var=yes"
23293 else
23294 echo "$as_me: failed program was:" >&5
23295 sed 's/^/| /' conftest.$ac_ext >&5
23297 eval "$as_ac_var=no"
23299 rm -f conftest.err conftest.$ac_objext \
23300 conftest$ac_exeext conftest.$ac_ext
23302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23304 if test `eval echo '${'$as_ac_var'}'` = yes; then
23305 cat >>confdefs.h <<_ACEOF
23306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23307 _ACEOF
23310 done
23320 echo "$as_me:$LINENO: checking for isinff declaration" >&5
23321 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
23322 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23323 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
23324 echo $ECHO_N "(cached) $ECHO_C" >&6
23325 else
23329 ac_ext=cc
23330 ac_cpp='$CXXCPP $CPPFLAGS'
23331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23335 cat >conftest.$ac_ext <<_ACEOF
23336 /* confdefs.h. */
23337 _ACEOF
23338 cat confdefs.h >>conftest.$ac_ext
23339 cat >>conftest.$ac_ext <<_ACEOF
23340 /* end confdefs.h. */
23341 #include <math.h>
23342 #ifdef HAVE_IEEEFP_H
23343 #include <ieeefp.h>
23344 #endif
23347 main ()
23349 isinff(0);
23351 return 0;
23353 _ACEOF
23354 rm -f conftest.$ac_objext
23355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23356 (eval $ac_compile) 2>conftest.er1
23357 ac_status=$?
23358 grep -v '^ *+' conftest.er1 >conftest.err
23359 rm -f conftest.er1
23360 cat conftest.err >&5
23361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23362 (exit $ac_status); } &&
23363 { ac_try='test -z "$ac_cxx_werror_flag"
23364 || test ! -s conftest.err'
23365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23366 (eval $ac_try) 2>&5
23367 ac_status=$?
23368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23369 (exit $ac_status); }; } &&
23370 { ac_try='test -s conftest.$ac_objext'
23371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23372 (eval $ac_try) 2>&5
23373 ac_status=$?
23374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23375 (exit $ac_status); }; }; then
23376 glibcxx_cv_func_isinff_use=yes
23377 else
23378 echo "$as_me: failed program was:" >&5
23379 sed 's/^/| /' conftest.$ac_ext >&5
23381 glibcxx_cv_func_isinff_use=no
23383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23384 ac_ext=c
23385 ac_cpp='$CPP $CPPFLAGS'
23386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
23395 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
23397 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23399 for ac_func in isinff
23401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23402 echo "$as_me:$LINENO: checking for $ac_func" >&5
23403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23404 if eval "test \"\${$as_ac_var+set}\" = set"; then
23405 echo $ECHO_N "(cached) $ECHO_C" >&6
23406 else
23407 if test x$gcc_no_link = xyes; then
23408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23410 { (exit 1); exit 1; }; }
23412 cat >conftest.$ac_ext <<_ACEOF
23413 /* confdefs.h. */
23414 _ACEOF
23415 cat confdefs.h >>conftest.$ac_ext
23416 cat >>conftest.$ac_ext <<_ACEOF
23417 /* end confdefs.h. */
23418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23420 #define $ac_func innocuous_$ac_func
23422 /* System header to define __stub macros and hopefully few prototypes,
23423 which can conflict with char $ac_func (); below.
23424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23425 <limits.h> exists even on freestanding compilers. */
23427 #ifdef __STDC__
23428 # include <limits.h>
23429 #else
23430 # include <assert.h>
23431 #endif
23433 #undef $ac_func
23435 /* Override any gcc2 internal prototype to avoid an error. */
23436 #ifdef __cplusplus
23437 extern "C"
23439 #endif
23440 /* We use char because int might match the return type of a gcc2
23441 builtin and then its argument prototype would still apply. */
23442 char $ac_func ();
23443 /* The GNU C library defines this for functions which it implements
23444 to always fail with ENOSYS. Some functions are actually named
23445 something starting with __ and the normal name is an alias. */
23446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23447 choke me
23448 #else
23449 char (*f) () = $ac_func;
23450 #endif
23451 #ifdef __cplusplus
23453 #endif
23456 main ()
23458 return f != $ac_func;
23460 return 0;
23462 _ACEOF
23463 rm -f conftest.$ac_objext conftest$ac_exeext
23464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23465 (eval $ac_link) 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } &&
23472 { ac_try='test -z "$ac_c_werror_flag"
23473 || test ! -s conftest.err'
23474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23475 (eval $ac_try) 2>&5
23476 ac_status=$?
23477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23478 (exit $ac_status); }; } &&
23479 { ac_try='test -s conftest$ac_exeext'
23480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23481 (eval $ac_try) 2>&5
23482 ac_status=$?
23483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23484 (exit $ac_status); }; }; then
23485 eval "$as_ac_var=yes"
23486 else
23487 echo "$as_me: failed program was:" >&5
23488 sed 's/^/| /' conftest.$ac_ext >&5
23490 eval "$as_ac_var=no"
23492 rm -f conftest.err conftest.$ac_objext \
23493 conftest$ac_exeext conftest.$ac_ext
23495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23497 if test `eval echo '${'$as_ac_var'}'` = yes; then
23498 cat >>confdefs.h <<_ACEOF
23499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23500 _ACEOF
23503 done
23505 else
23507 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
23508 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
23509 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23510 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
23511 echo $ECHO_N "(cached) $ECHO_C" >&6
23512 else
23516 ac_ext=cc
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23522 cat >conftest.$ac_ext <<_ACEOF
23523 /* confdefs.h. */
23524 _ACEOF
23525 cat confdefs.h >>conftest.$ac_ext
23526 cat >>conftest.$ac_ext <<_ACEOF
23527 /* end confdefs.h. */
23528 #include <math.h>
23529 #ifdef HAVE_IEEEFP_H
23530 #include <ieeefp.h>
23531 #endif
23534 main ()
23536 _isinff(0);
23538 return 0;
23540 _ACEOF
23541 rm -f conftest.$ac_objext
23542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23543 (eval $ac_compile) 2>conftest.er1
23544 ac_status=$?
23545 grep -v '^ *+' conftest.er1 >conftest.err
23546 rm -f conftest.er1
23547 cat conftest.err >&5
23548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23549 (exit $ac_status); } &&
23550 { ac_try='test -z "$ac_cxx_werror_flag"
23551 || test ! -s conftest.err'
23552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23553 (eval $ac_try) 2>&5
23554 ac_status=$?
23555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23556 (exit $ac_status); }; } &&
23557 { ac_try='test -s conftest.$ac_objext'
23558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23559 (eval $ac_try) 2>&5
23560 ac_status=$?
23561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23562 (exit $ac_status); }; }; then
23563 glibcxx_cv_func__isinff_use=yes
23564 else
23565 echo "$as_me: failed program was:" >&5
23566 sed 's/^/| /' conftest.$ac_ext >&5
23568 glibcxx_cv_func__isinff_use=no
23570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23571 ac_ext=c
23572 ac_cpp='$CPP $CPPFLAGS'
23573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
23582 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
23584 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23586 for ac_func in _isinff
23588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23589 echo "$as_me:$LINENO: checking for $ac_func" >&5
23590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23591 if eval "test \"\${$as_ac_var+set}\" = set"; then
23592 echo $ECHO_N "(cached) $ECHO_C" >&6
23593 else
23594 if test x$gcc_no_link = xyes; then
23595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23597 { (exit 1); exit 1; }; }
23599 cat >conftest.$ac_ext <<_ACEOF
23600 /* confdefs.h. */
23601 _ACEOF
23602 cat confdefs.h >>conftest.$ac_ext
23603 cat >>conftest.$ac_ext <<_ACEOF
23604 /* end confdefs.h. */
23605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23607 #define $ac_func innocuous_$ac_func
23609 /* System header to define __stub macros and hopefully few prototypes,
23610 which can conflict with char $ac_func (); below.
23611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23612 <limits.h> exists even on freestanding compilers. */
23614 #ifdef __STDC__
23615 # include <limits.h>
23616 #else
23617 # include <assert.h>
23618 #endif
23620 #undef $ac_func
23622 /* Override any gcc2 internal prototype to avoid an error. */
23623 #ifdef __cplusplus
23624 extern "C"
23626 #endif
23627 /* We use char because int might match the return type of a gcc2
23628 builtin and then its argument prototype would still apply. */
23629 char $ac_func ();
23630 /* The GNU C library defines this for functions which it implements
23631 to always fail with ENOSYS. Some functions are actually named
23632 something starting with __ and the normal name is an alias. */
23633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23634 choke me
23635 #else
23636 char (*f) () = $ac_func;
23637 #endif
23638 #ifdef __cplusplus
23640 #endif
23643 main ()
23645 return f != $ac_func;
23647 return 0;
23649 _ACEOF
23650 rm -f conftest.$ac_objext conftest$ac_exeext
23651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23652 (eval $ac_link) 2>conftest.er1
23653 ac_status=$?
23654 grep -v '^ *+' conftest.er1 >conftest.err
23655 rm -f conftest.er1
23656 cat conftest.err >&5
23657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23658 (exit $ac_status); } &&
23659 { ac_try='test -z "$ac_c_werror_flag"
23660 || test ! -s conftest.err'
23661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23662 (eval $ac_try) 2>&5
23663 ac_status=$?
23664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23665 (exit $ac_status); }; } &&
23666 { ac_try='test -s conftest$ac_exeext'
23667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23668 (eval $ac_try) 2>&5
23669 ac_status=$?
23670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23671 (exit $ac_status); }; }; then
23672 eval "$as_ac_var=yes"
23673 else
23674 echo "$as_me: failed program was:" >&5
23675 sed 's/^/| /' conftest.$ac_ext >&5
23677 eval "$as_ac_var=no"
23679 rm -f conftest.err conftest.$ac_objext \
23680 conftest$ac_exeext conftest.$ac_ext
23682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23684 if test `eval echo '${'$as_ac_var'}'` = yes; then
23685 cat >>confdefs.h <<_ACEOF
23686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23687 _ACEOF
23690 done
23700 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
23701 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
23702 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23703 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
23704 echo $ECHO_N "(cached) $ECHO_C" >&6
23705 else
23709 ac_ext=cc
23710 ac_cpp='$CXXCPP $CPPFLAGS'
23711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23715 cat >conftest.$ac_ext <<_ACEOF
23716 /* confdefs.h. */
23717 _ACEOF
23718 cat confdefs.h >>conftest.$ac_ext
23719 cat >>conftest.$ac_ext <<_ACEOF
23720 /* end confdefs.h. */
23721 #include <math.h>
23723 main ()
23725 atan2f(0, 0);
23727 return 0;
23729 _ACEOF
23730 rm -f conftest.$ac_objext
23731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23732 (eval $ac_compile) 2>conftest.er1
23733 ac_status=$?
23734 grep -v '^ *+' conftest.er1 >conftest.err
23735 rm -f conftest.er1
23736 cat conftest.err >&5
23737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23738 (exit $ac_status); } &&
23739 { ac_try='test -z "$ac_cxx_werror_flag"
23740 || test ! -s conftest.err'
23741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23742 (eval $ac_try) 2>&5
23743 ac_status=$?
23744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23745 (exit $ac_status); }; } &&
23746 { ac_try='test -s conftest.$ac_objext'
23747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23748 (eval $ac_try) 2>&5
23749 ac_status=$?
23750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23751 (exit $ac_status); }; }; then
23752 glibcxx_cv_func_atan2f_use=yes
23753 else
23754 echo "$as_me: failed program was:" >&5
23755 sed 's/^/| /' conftest.$ac_ext >&5
23757 glibcxx_cv_func_atan2f_use=no
23759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23760 ac_ext=c
23761 ac_cpp='$CPP $CPPFLAGS'
23762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
23771 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
23773 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23775 for ac_func in atan2f
23777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23778 echo "$as_me:$LINENO: checking for $ac_func" >&5
23779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23780 if eval "test \"\${$as_ac_var+set}\" = set"; then
23781 echo $ECHO_N "(cached) $ECHO_C" >&6
23782 else
23783 if test x$gcc_no_link = xyes; then
23784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23786 { (exit 1); exit 1; }; }
23788 cat >conftest.$ac_ext <<_ACEOF
23789 /* confdefs.h. */
23790 _ACEOF
23791 cat confdefs.h >>conftest.$ac_ext
23792 cat >>conftest.$ac_ext <<_ACEOF
23793 /* end confdefs.h. */
23794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23796 #define $ac_func innocuous_$ac_func
23798 /* System header to define __stub macros and hopefully few prototypes,
23799 which can conflict with char $ac_func (); below.
23800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23801 <limits.h> exists even on freestanding compilers. */
23803 #ifdef __STDC__
23804 # include <limits.h>
23805 #else
23806 # include <assert.h>
23807 #endif
23809 #undef $ac_func
23811 /* Override any gcc2 internal prototype to avoid an error. */
23812 #ifdef __cplusplus
23813 extern "C"
23815 #endif
23816 /* We use char because int might match the return type of a gcc2
23817 builtin and then its argument prototype would still apply. */
23818 char $ac_func ();
23819 /* The GNU C library defines this for functions which it implements
23820 to always fail with ENOSYS. Some functions are actually named
23821 something starting with __ and the normal name is an alias. */
23822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
23823 choke me
23824 #else
23825 char (*f) () = $ac_func;
23826 #endif
23827 #ifdef __cplusplus
23829 #endif
23832 main ()
23834 return f != $ac_func;
23836 return 0;
23838 _ACEOF
23839 rm -f conftest.$ac_objext conftest$ac_exeext
23840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23841 (eval $ac_link) 2>conftest.er1
23842 ac_status=$?
23843 grep -v '^ *+' conftest.er1 >conftest.err
23844 rm -f conftest.er1
23845 cat conftest.err >&5
23846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23847 (exit $ac_status); } &&
23848 { ac_try='test -z "$ac_c_werror_flag"
23849 || test ! -s conftest.err'
23850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23851 (eval $ac_try) 2>&5
23852 ac_status=$?
23853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23854 (exit $ac_status); }; } &&
23855 { ac_try='test -s conftest$ac_exeext'
23856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23857 (eval $ac_try) 2>&5
23858 ac_status=$?
23859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23860 (exit $ac_status); }; }; then
23861 eval "$as_ac_var=yes"
23862 else
23863 echo "$as_me: failed program was:" >&5
23864 sed 's/^/| /' conftest.$ac_ext >&5
23866 eval "$as_ac_var=no"
23868 rm -f conftest.err conftest.$ac_objext \
23869 conftest$ac_exeext conftest.$ac_ext
23871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
23872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
23873 if test `eval echo '${'$as_ac_var'}'` = yes; then
23874 cat >>confdefs.h <<_ACEOF
23875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
23876 _ACEOF
23879 done
23881 else
23883 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
23884 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
23885 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23886 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
23887 echo $ECHO_N "(cached) $ECHO_C" >&6
23888 else
23892 ac_ext=cc
23893 ac_cpp='$CXXCPP $CPPFLAGS'
23894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23898 cat >conftest.$ac_ext <<_ACEOF
23899 /* confdefs.h. */
23900 _ACEOF
23901 cat confdefs.h >>conftest.$ac_ext
23902 cat >>conftest.$ac_ext <<_ACEOF
23903 /* end confdefs.h. */
23904 #include <math.h>
23906 main ()
23908 _atan2f(0, 0);
23910 return 0;
23912 _ACEOF
23913 rm -f conftest.$ac_objext
23914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23915 (eval $ac_compile) 2>conftest.er1
23916 ac_status=$?
23917 grep -v '^ *+' conftest.er1 >conftest.err
23918 rm -f conftest.er1
23919 cat conftest.err >&5
23920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23921 (exit $ac_status); } &&
23922 { ac_try='test -z "$ac_cxx_werror_flag"
23923 || test ! -s conftest.err'
23924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23925 (eval $ac_try) 2>&5
23926 ac_status=$?
23927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23928 (exit $ac_status); }; } &&
23929 { ac_try='test -s conftest.$ac_objext'
23930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23931 (eval $ac_try) 2>&5
23932 ac_status=$?
23933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23934 (exit $ac_status); }; }; then
23935 glibcxx_cv_func__atan2f_use=yes
23936 else
23937 echo "$as_me: failed program was:" >&5
23938 sed 's/^/| /' conftest.$ac_ext >&5
23940 glibcxx_cv_func__atan2f_use=no
23942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23943 ac_ext=c
23944 ac_cpp='$CPP $CPPFLAGS'
23945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
23954 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
23956 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23958 for ac_func in _atan2f
23960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
23961 echo "$as_me:$LINENO: checking for $ac_func" >&5
23962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
23963 if eval "test \"\${$as_ac_var+set}\" = set"; then
23964 echo $ECHO_N "(cached) $ECHO_C" >&6
23965 else
23966 if test x$gcc_no_link = xyes; then
23967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23969 { (exit 1); exit 1; }; }
23971 cat >conftest.$ac_ext <<_ACEOF
23972 /* confdefs.h. */
23973 _ACEOF
23974 cat confdefs.h >>conftest.$ac_ext
23975 cat >>conftest.$ac_ext <<_ACEOF
23976 /* end confdefs.h. */
23977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
23978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
23979 #define $ac_func innocuous_$ac_func
23981 /* System header to define __stub macros and hopefully few prototypes,
23982 which can conflict with char $ac_func (); below.
23983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
23984 <limits.h> exists even on freestanding compilers. */
23986 #ifdef __STDC__
23987 # include <limits.h>
23988 #else
23989 # include <assert.h>
23990 #endif
23992 #undef $ac_func
23994 /* Override any gcc2 internal prototype to avoid an error. */
23995 #ifdef __cplusplus
23996 extern "C"
23998 #endif
23999 /* We use char because int might match the return type of a gcc2
24000 builtin and then its argument prototype would still apply. */
24001 char $ac_func ();
24002 /* The GNU C library defines this for functions which it implements
24003 to always fail with ENOSYS. Some functions are actually named
24004 something starting with __ and the normal name is an alias. */
24005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24006 choke me
24007 #else
24008 char (*f) () = $ac_func;
24009 #endif
24010 #ifdef __cplusplus
24012 #endif
24015 main ()
24017 return f != $ac_func;
24019 return 0;
24021 _ACEOF
24022 rm -f conftest.$ac_objext conftest$ac_exeext
24023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24024 (eval $ac_link) 2>conftest.er1
24025 ac_status=$?
24026 grep -v '^ *+' conftest.er1 >conftest.err
24027 rm -f conftest.er1
24028 cat conftest.err >&5
24029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24030 (exit $ac_status); } &&
24031 { ac_try='test -z "$ac_c_werror_flag"
24032 || test ! -s conftest.err'
24033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24034 (eval $ac_try) 2>&5
24035 ac_status=$?
24036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24037 (exit $ac_status); }; } &&
24038 { ac_try='test -s conftest$ac_exeext'
24039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24040 (eval $ac_try) 2>&5
24041 ac_status=$?
24042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24043 (exit $ac_status); }; }; then
24044 eval "$as_ac_var=yes"
24045 else
24046 echo "$as_me: failed program was:" >&5
24047 sed 's/^/| /' conftest.$ac_ext >&5
24049 eval "$as_ac_var=no"
24051 rm -f conftest.err conftest.$ac_objext \
24052 conftest$ac_exeext conftest.$ac_ext
24054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24056 if test `eval echo '${'$as_ac_var'}'` = yes; then
24057 cat >>confdefs.h <<_ACEOF
24058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24059 _ACEOF
24062 done
24072 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
24073 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
24074 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24075 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
24076 echo $ECHO_N "(cached) $ECHO_C" >&6
24077 else
24081 ac_ext=cc
24082 ac_cpp='$CXXCPP $CPPFLAGS'
24083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24087 cat >conftest.$ac_ext <<_ACEOF
24088 /* confdefs.h. */
24089 _ACEOF
24090 cat confdefs.h >>conftest.$ac_ext
24091 cat >>conftest.$ac_ext <<_ACEOF
24092 /* end confdefs.h. */
24093 #include <math.h>
24094 #ifdef HAVE_IEEEFP_H
24095 #include <ieeefp.h>
24096 #endif
24099 main ()
24101 fabsf(0);
24103 return 0;
24105 _ACEOF
24106 rm -f conftest.$ac_objext
24107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24108 (eval $ac_compile) 2>conftest.er1
24109 ac_status=$?
24110 grep -v '^ *+' conftest.er1 >conftest.err
24111 rm -f conftest.er1
24112 cat conftest.err >&5
24113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24114 (exit $ac_status); } &&
24115 { ac_try='test -z "$ac_cxx_werror_flag"
24116 || test ! -s conftest.err'
24117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24118 (eval $ac_try) 2>&5
24119 ac_status=$?
24120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24121 (exit $ac_status); }; } &&
24122 { ac_try='test -s conftest.$ac_objext'
24123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24124 (eval $ac_try) 2>&5
24125 ac_status=$?
24126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24127 (exit $ac_status); }; }; then
24128 glibcxx_cv_func_fabsf_use=yes
24129 else
24130 echo "$as_me: failed program was:" >&5
24131 sed 's/^/| /' conftest.$ac_ext >&5
24133 glibcxx_cv_func_fabsf_use=no
24135 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24136 ac_ext=c
24137 ac_cpp='$CPP $CPPFLAGS'
24138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24146 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
24147 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
24149 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24151 for ac_func in fabsf
24153 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24154 echo "$as_me:$LINENO: checking for $ac_func" >&5
24155 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24156 if eval "test \"\${$as_ac_var+set}\" = set"; then
24157 echo $ECHO_N "(cached) $ECHO_C" >&6
24158 else
24159 if test x$gcc_no_link = xyes; then
24160 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24161 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24162 { (exit 1); exit 1; }; }
24164 cat >conftest.$ac_ext <<_ACEOF
24165 /* confdefs.h. */
24166 _ACEOF
24167 cat confdefs.h >>conftest.$ac_ext
24168 cat >>conftest.$ac_ext <<_ACEOF
24169 /* end confdefs.h. */
24170 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24171 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24172 #define $ac_func innocuous_$ac_func
24174 /* System header to define __stub macros and hopefully few prototypes,
24175 which can conflict with char $ac_func (); below.
24176 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24177 <limits.h> exists even on freestanding compilers. */
24179 #ifdef __STDC__
24180 # include <limits.h>
24181 #else
24182 # include <assert.h>
24183 #endif
24185 #undef $ac_func
24187 /* Override any gcc2 internal prototype to avoid an error. */
24188 #ifdef __cplusplus
24189 extern "C"
24191 #endif
24192 /* We use char because int might match the return type of a gcc2
24193 builtin and then its argument prototype would still apply. */
24194 char $ac_func ();
24195 /* The GNU C library defines this for functions which it implements
24196 to always fail with ENOSYS. Some functions are actually named
24197 something starting with __ and the normal name is an alias. */
24198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24199 choke me
24200 #else
24201 char (*f) () = $ac_func;
24202 #endif
24203 #ifdef __cplusplus
24205 #endif
24208 main ()
24210 return f != $ac_func;
24212 return 0;
24214 _ACEOF
24215 rm -f conftest.$ac_objext conftest$ac_exeext
24216 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24217 (eval $ac_link) 2>conftest.er1
24218 ac_status=$?
24219 grep -v '^ *+' conftest.er1 >conftest.err
24220 rm -f conftest.er1
24221 cat conftest.err >&5
24222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24223 (exit $ac_status); } &&
24224 { ac_try='test -z "$ac_c_werror_flag"
24225 || test ! -s conftest.err'
24226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24227 (eval $ac_try) 2>&5
24228 ac_status=$?
24229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24230 (exit $ac_status); }; } &&
24231 { ac_try='test -s conftest$ac_exeext'
24232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24233 (eval $ac_try) 2>&5
24234 ac_status=$?
24235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24236 (exit $ac_status); }; }; then
24237 eval "$as_ac_var=yes"
24238 else
24239 echo "$as_me: failed program was:" >&5
24240 sed 's/^/| /' conftest.$ac_ext >&5
24242 eval "$as_ac_var=no"
24244 rm -f conftest.err conftest.$ac_objext \
24245 conftest$ac_exeext conftest.$ac_ext
24247 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24248 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24249 if test `eval echo '${'$as_ac_var'}'` = yes; then
24250 cat >>confdefs.h <<_ACEOF
24251 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24252 _ACEOF
24255 done
24257 else
24259 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
24260 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
24261 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24262 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
24263 echo $ECHO_N "(cached) $ECHO_C" >&6
24264 else
24268 ac_ext=cc
24269 ac_cpp='$CXXCPP $CPPFLAGS'
24270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24274 cat >conftest.$ac_ext <<_ACEOF
24275 /* confdefs.h. */
24276 _ACEOF
24277 cat confdefs.h >>conftest.$ac_ext
24278 cat >>conftest.$ac_ext <<_ACEOF
24279 /* end confdefs.h. */
24280 #include <math.h>
24281 #ifdef HAVE_IEEEFP_H
24282 #include <ieeefp.h>
24283 #endif
24286 main ()
24288 _fabsf(0);
24290 return 0;
24292 _ACEOF
24293 rm -f conftest.$ac_objext
24294 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24295 (eval $ac_compile) 2>conftest.er1
24296 ac_status=$?
24297 grep -v '^ *+' conftest.er1 >conftest.err
24298 rm -f conftest.er1
24299 cat conftest.err >&5
24300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24301 (exit $ac_status); } &&
24302 { ac_try='test -z "$ac_cxx_werror_flag"
24303 || test ! -s conftest.err'
24304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24305 (eval $ac_try) 2>&5
24306 ac_status=$?
24307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24308 (exit $ac_status); }; } &&
24309 { ac_try='test -s conftest.$ac_objext'
24310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24311 (eval $ac_try) 2>&5
24312 ac_status=$?
24313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24314 (exit $ac_status); }; }; then
24315 glibcxx_cv_func__fabsf_use=yes
24316 else
24317 echo "$as_me: failed program was:" >&5
24318 sed 's/^/| /' conftest.$ac_ext >&5
24320 glibcxx_cv_func__fabsf_use=no
24322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24323 ac_ext=c
24324 ac_cpp='$CPP $CPPFLAGS'
24325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24333 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
24334 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
24336 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24338 for ac_func in _fabsf
24340 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24341 echo "$as_me:$LINENO: checking for $ac_func" >&5
24342 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24343 if eval "test \"\${$as_ac_var+set}\" = set"; then
24344 echo $ECHO_N "(cached) $ECHO_C" >&6
24345 else
24346 if test x$gcc_no_link = xyes; then
24347 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24348 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24349 { (exit 1); exit 1; }; }
24351 cat >conftest.$ac_ext <<_ACEOF
24352 /* confdefs.h. */
24353 _ACEOF
24354 cat confdefs.h >>conftest.$ac_ext
24355 cat >>conftest.$ac_ext <<_ACEOF
24356 /* end confdefs.h. */
24357 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24358 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24359 #define $ac_func innocuous_$ac_func
24361 /* System header to define __stub macros and hopefully few prototypes,
24362 which can conflict with char $ac_func (); below.
24363 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24364 <limits.h> exists even on freestanding compilers. */
24366 #ifdef __STDC__
24367 # include <limits.h>
24368 #else
24369 # include <assert.h>
24370 #endif
24372 #undef $ac_func
24374 /* Override any gcc2 internal prototype to avoid an error. */
24375 #ifdef __cplusplus
24376 extern "C"
24378 #endif
24379 /* We use char because int might match the return type of a gcc2
24380 builtin and then its argument prototype would still apply. */
24381 char $ac_func ();
24382 /* The GNU C library defines this for functions which it implements
24383 to always fail with ENOSYS. Some functions are actually named
24384 something starting with __ and the normal name is an alias. */
24385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24386 choke me
24387 #else
24388 char (*f) () = $ac_func;
24389 #endif
24390 #ifdef __cplusplus
24392 #endif
24395 main ()
24397 return f != $ac_func;
24399 return 0;
24401 _ACEOF
24402 rm -f conftest.$ac_objext conftest$ac_exeext
24403 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24404 (eval $ac_link) 2>conftest.er1
24405 ac_status=$?
24406 grep -v '^ *+' conftest.er1 >conftest.err
24407 rm -f conftest.er1
24408 cat conftest.err >&5
24409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24410 (exit $ac_status); } &&
24411 { ac_try='test -z "$ac_c_werror_flag"
24412 || test ! -s conftest.err'
24413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24414 (eval $ac_try) 2>&5
24415 ac_status=$?
24416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24417 (exit $ac_status); }; } &&
24418 { ac_try='test -s conftest$ac_exeext'
24419 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24420 (eval $ac_try) 2>&5
24421 ac_status=$?
24422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24423 (exit $ac_status); }; }; then
24424 eval "$as_ac_var=yes"
24425 else
24426 echo "$as_me: failed program was:" >&5
24427 sed 's/^/| /' conftest.$ac_ext >&5
24429 eval "$as_ac_var=no"
24431 rm -f conftest.err conftest.$ac_objext \
24432 conftest$ac_exeext conftest.$ac_ext
24434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24435 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24436 if test `eval echo '${'$as_ac_var'}'` = yes; then
24437 cat >>confdefs.h <<_ACEOF
24438 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24439 _ACEOF
24442 done
24452 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
24453 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
24454 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24455 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
24456 echo $ECHO_N "(cached) $ECHO_C" >&6
24457 else
24461 ac_ext=cc
24462 ac_cpp='$CXXCPP $CPPFLAGS'
24463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24467 cat >conftest.$ac_ext <<_ACEOF
24468 /* confdefs.h. */
24469 _ACEOF
24470 cat confdefs.h >>conftest.$ac_ext
24471 cat >>conftest.$ac_ext <<_ACEOF
24472 /* end confdefs.h. */
24473 #include <math.h>
24475 main ()
24477 fmodf(0, 0);
24479 return 0;
24481 _ACEOF
24482 rm -f conftest.$ac_objext
24483 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24484 (eval $ac_compile) 2>conftest.er1
24485 ac_status=$?
24486 grep -v '^ *+' conftest.er1 >conftest.err
24487 rm -f conftest.er1
24488 cat conftest.err >&5
24489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24490 (exit $ac_status); } &&
24491 { ac_try='test -z "$ac_cxx_werror_flag"
24492 || test ! -s conftest.err'
24493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24494 (eval $ac_try) 2>&5
24495 ac_status=$?
24496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24497 (exit $ac_status); }; } &&
24498 { ac_try='test -s conftest.$ac_objext'
24499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24500 (eval $ac_try) 2>&5
24501 ac_status=$?
24502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24503 (exit $ac_status); }; }; then
24504 glibcxx_cv_func_fmodf_use=yes
24505 else
24506 echo "$as_me: failed program was:" >&5
24507 sed 's/^/| /' conftest.$ac_ext >&5
24509 glibcxx_cv_func_fmodf_use=no
24511 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24512 ac_ext=c
24513 ac_cpp='$CPP $CPPFLAGS'
24514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24522 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
24523 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
24525 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24527 for ac_func in fmodf
24529 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24530 echo "$as_me:$LINENO: checking for $ac_func" >&5
24531 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24532 if eval "test \"\${$as_ac_var+set}\" = set"; then
24533 echo $ECHO_N "(cached) $ECHO_C" >&6
24534 else
24535 if test x$gcc_no_link = xyes; then
24536 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24537 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24538 { (exit 1); exit 1; }; }
24540 cat >conftest.$ac_ext <<_ACEOF
24541 /* confdefs.h. */
24542 _ACEOF
24543 cat confdefs.h >>conftest.$ac_ext
24544 cat >>conftest.$ac_ext <<_ACEOF
24545 /* end confdefs.h. */
24546 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24547 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24548 #define $ac_func innocuous_$ac_func
24550 /* System header to define __stub macros and hopefully few prototypes,
24551 which can conflict with char $ac_func (); below.
24552 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24553 <limits.h> exists even on freestanding compilers. */
24555 #ifdef __STDC__
24556 # include <limits.h>
24557 #else
24558 # include <assert.h>
24559 #endif
24561 #undef $ac_func
24563 /* Override any gcc2 internal prototype to avoid an error. */
24564 #ifdef __cplusplus
24565 extern "C"
24567 #endif
24568 /* We use char because int might match the return type of a gcc2
24569 builtin and then its argument prototype would still apply. */
24570 char $ac_func ();
24571 /* The GNU C library defines this for functions which it implements
24572 to always fail with ENOSYS. Some functions are actually named
24573 something starting with __ and the normal name is an alias. */
24574 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24575 choke me
24576 #else
24577 char (*f) () = $ac_func;
24578 #endif
24579 #ifdef __cplusplus
24581 #endif
24584 main ()
24586 return f != $ac_func;
24588 return 0;
24590 _ACEOF
24591 rm -f conftest.$ac_objext conftest$ac_exeext
24592 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24593 (eval $ac_link) 2>conftest.er1
24594 ac_status=$?
24595 grep -v '^ *+' conftest.er1 >conftest.err
24596 rm -f conftest.er1
24597 cat conftest.err >&5
24598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24599 (exit $ac_status); } &&
24600 { ac_try='test -z "$ac_c_werror_flag"
24601 || test ! -s conftest.err'
24602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24603 (eval $ac_try) 2>&5
24604 ac_status=$?
24605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24606 (exit $ac_status); }; } &&
24607 { ac_try='test -s conftest$ac_exeext'
24608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24609 (eval $ac_try) 2>&5
24610 ac_status=$?
24611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24612 (exit $ac_status); }; }; then
24613 eval "$as_ac_var=yes"
24614 else
24615 echo "$as_me: failed program was:" >&5
24616 sed 's/^/| /' conftest.$ac_ext >&5
24618 eval "$as_ac_var=no"
24620 rm -f conftest.err conftest.$ac_objext \
24621 conftest$ac_exeext conftest.$ac_ext
24623 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24624 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24625 if test `eval echo '${'$as_ac_var'}'` = yes; then
24626 cat >>confdefs.h <<_ACEOF
24627 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24628 _ACEOF
24631 done
24633 else
24635 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
24636 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
24637 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24638 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
24639 echo $ECHO_N "(cached) $ECHO_C" >&6
24640 else
24644 ac_ext=cc
24645 ac_cpp='$CXXCPP $CPPFLAGS'
24646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24650 cat >conftest.$ac_ext <<_ACEOF
24651 /* confdefs.h. */
24652 _ACEOF
24653 cat confdefs.h >>conftest.$ac_ext
24654 cat >>conftest.$ac_ext <<_ACEOF
24655 /* end confdefs.h. */
24656 #include <math.h>
24658 main ()
24660 _fmodf(0, 0);
24662 return 0;
24664 _ACEOF
24665 rm -f conftest.$ac_objext
24666 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24667 (eval $ac_compile) 2>conftest.er1
24668 ac_status=$?
24669 grep -v '^ *+' conftest.er1 >conftest.err
24670 rm -f conftest.er1
24671 cat conftest.err >&5
24672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24673 (exit $ac_status); } &&
24674 { ac_try='test -z "$ac_cxx_werror_flag"
24675 || test ! -s conftest.err'
24676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24677 (eval $ac_try) 2>&5
24678 ac_status=$?
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); }; } &&
24681 { ac_try='test -s conftest.$ac_objext'
24682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24683 (eval $ac_try) 2>&5
24684 ac_status=$?
24685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24686 (exit $ac_status); }; }; then
24687 glibcxx_cv_func__fmodf_use=yes
24688 else
24689 echo "$as_me: failed program was:" >&5
24690 sed 's/^/| /' conftest.$ac_ext >&5
24692 glibcxx_cv_func__fmodf_use=no
24694 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24695 ac_ext=c
24696 ac_cpp='$CPP $CPPFLAGS'
24697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24705 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
24706 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
24708 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24710 for ac_func in _fmodf
24712 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24713 echo "$as_me:$LINENO: checking for $ac_func" >&5
24714 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24715 if eval "test \"\${$as_ac_var+set}\" = set"; then
24716 echo $ECHO_N "(cached) $ECHO_C" >&6
24717 else
24718 if test x$gcc_no_link = xyes; then
24719 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24720 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24721 { (exit 1); exit 1; }; }
24723 cat >conftest.$ac_ext <<_ACEOF
24724 /* confdefs.h. */
24725 _ACEOF
24726 cat confdefs.h >>conftest.$ac_ext
24727 cat >>conftest.$ac_ext <<_ACEOF
24728 /* end confdefs.h. */
24729 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24730 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24731 #define $ac_func innocuous_$ac_func
24733 /* System header to define __stub macros and hopefully few prototypes,
24734 which can conflict with char $ac_func (); below.
24735 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24736 <limits.h> exists even on freestanding compilers. */
24738 #ifdef __STDC__
24739 # include <limits.h>
24740 #else
24741 # include <assert.h>
24742 #endif
24744 #undef $ac_func
24746 /* Override any gcc2 internal prototype to avoid an error. */
24747 #ifdef __cplusplus
24748 extern "C"
24750 #endif
24751 /* We use char because int might match the return type of a gcc2
24752 builtin and then its argument prototype would still apply. */
24753 char $ac_func ();
24754 /* The GNU C library defines this for functions which it implements
24755 to always fail with ENOSYS. Some functions are actually named
24756 something starting with __ and the normal name is an alias. */
24757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24758 choke me
24759 #else
24760 char (*f) () = $ac_func;
24761 #endif
24762 #ifdef __cplusplus
24764 #endif
24767 main ()
24769 return f != $ac_func;
24771 return 0;
24773 _ACEOF
24774 rm -f conftest.$ac_objext conftest$ac_exeext
24775 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24776 (eval $ac_link) 2>conftest.er1
24777 ac_status=$?
24778 grep -v '^ *+' conftest.er1 >conftest.err
24779 rm -f conftest.er1
24780 cat conftest.err >&5
24781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24782 (exit $ac_status); } &&
24783 { ac_try='test -z "$ac_c_werror_flag"
24784 || test ! -s conftest.err'
24785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24786 (eval $ac_try) 2>&5
24787 ac_status=$?
24788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24789 (exit $ac_status); }; } &&
24790 { ac_try='test -s conftest$ac_exeext'
24791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24792 (eval $ac_try) 2>&5
24793 ac_status=$?
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); }; }; then
24796 eval "$as_ac_var=yes"
24797 else
24798 echo "$as_me: failed program was:" >&5
24799 sed 's/^/| /' conftest.$ac_ext >&5
24801 eval "$as_ac_var=no"
24803 rm -f conftest.err conftest.$ac_objext \
24804 conftest$ac_exeext conftest.$ac_ext
24806 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24807 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24808 if test `eval echo '${'$as_ac_var'}'` = yes; then
24809 cat >>confdefs.h <<_ACEOF
24810 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24811 _ACEOF
24814 done
24824 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
24825 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
24826 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24827 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
24828 echo $ECHO_N "(cached) $ECHO_C" >&6
24829 else
24833 ac_ext=cc
24834 ac_cpp='$CXXCPP $CPPFLAGS'
24835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24839 cat >conftest.$ac_ext <<_ACEOF
24840 /* confdefs.h. */
24841 _ACEOF
24842 cat confdefs.h >>conftest.$ac_ext
24843 cat >>conftest.$ac_ext <<_ACEOF
24844 /* end confdefs.h. */
24845 #include <math.h>
24847 main ()
24849 frexpf(0, 0);
24851 return 0;
24853 _ACEOF
24854 rm -f conftest.$ac_objext
24855 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24856 (eval $ac_compile) 2>conftest.er1
24857 ac_status=$?
24858 grep -v '^ *+' conftest.er1 >conftest.err
24859 rm -f conftest.er1
24860 cat conftest.err >&5
24861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24862 (exit $ac_status); } &&
24863 { ac_try='test -z "$ac_cxx_werror_flag"
24864 || test ! -s conftest.err'
24865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24866 (eval $ac_try) 2>&5
24867 ac_status=$?
24868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24869 (exit $ac_status); }; } &&
24870 { ac_try='test -s conftest.$ac_objext'
24871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24872 (eval $ac_try) 2>&5
24873 ac_status=$?
24874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24875 (exit $ac_status); }; }; then
24876 glibcxx_cv_func_frexpf_use=yes
24877 else
24878 echo "$as_me: failed program was:" >&5
24879 sed 's/^/| /' conftest.$ac_ext >&5
24881 glibcxx_cv_func_frexpf_use=no
24883 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24884 ac_ext=c
24885 ac_cpp='$CPP $CPPFLAGS'
24886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24894 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
24895 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
24897 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24899 for ac_func in frexpf
24901 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24902 echo "$as_me:$LINENO: checking for $ac_func" >&5
24903 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24904 if eval "test \"\${$as_ac_var+set}\" = set"; then
24905 echo $ECHO_N "(cached) $ECHO_C" >&6
24906 else
24907 if test x$gcc_no_link = xyes; then
24908 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24909 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24910 { (exit 1); exit 1; }; }
24912 cat >conftest.$ac_ext <<_ACEOF
24913 /* confdefs.h. */
24914 _ACEOF
24915 cat confdefs.h >>conftest.$ac_ext
24916 cat >>conftest.$ac_ext <<_ACEOF
24917 /* end confdefs.h. */
24918 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24919 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24920 #define $ac_func innocuous_$ac_func
24922 /* System header to define __stub macros and hopefully few prototypes,
24923 which can conflict with char $ac_func (); below.
24924 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24925 <limits.h> exists even on freestanding compilers. */
24927 #ifdef __STDC__
24928 # include <limits.h>
24929 #else
24930 # include <assert.h>
24931 #endif
24933 #undef $ac_func
24935 /* Override any gcc2 internal prototype to avoid an error. */
24936 #ifdef __cplusplus
24937 extern "C"
24939 #endif
24940 /* We use char because int might match the return type of a gcc2
24941 builtin and then its argument prototype would still apply. */
24942 char $ac_func ();
24943 /* The GNU C library defines this for functions which it implements
24944 to always fail with ENOSYS. Some functions are actually named
24945 something starting with __ and the normal name is an alias. */
24946 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24947 choke me
24948 #else
24949 char (*f) () = $ac_func;
24950 #endif
24951 #ifdef __cplusplus
24953 #endif
24956 main ()
24958 return f != $ac_func;
24960 return 0;
24962 _ACEOF
24963 rm -f conftest.$ac_objext conftest$ac_exeext
24964 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24965 (eval $ac_link) 2>conftest.er1
24966 ac_status=$?
24967 grep -v '^ *+' conftest.er1 >conftest.err
24968 rm -f conftest.er1
24969 cat conftest.err >&5
24970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24971 (exit $ac_status); } &&
24972 { ac_try='test -z "$ac_c_werror_flag"
24973 || test ! -s conftest.err'
24974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24975 (eval $ac_try) 2>&5
24976 ac_status=$?
24977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24978 (exit $ac_status); }; } &&
24979 { ac_try='test -s conftest$ac_exeext'
24980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24981 (eval $ac_try) 2>&5
24982 ac_status=$?
24983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24984 (exit $ac_status); }; }; then
24985 eval "$as_ac_var=yes"
24986 else
24987 echo "$as_me: failed program was:" >&5
24988 sed 's/^/| /' conftest.$ac_ext >&5
24990 eval "$as_ac_var=no"
24992 rm -f conftest.err conftest.$ac_objext \
24993 conftest$ac_exeext conftest.$ac_ext
24995 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24996 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24997 if test `eval echo '${'$as_ac_var'}'` = yes; then
24998 cat >>confdefs.h <<_ACEOF
24999 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25000 _ACEOF
25003 done
25005 else
25007 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
25008 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
25009 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
25010 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
25011 echo $ECHO_N "(cached) $ECHO_C" >&6
25012 else
25016 ac_ext=cc
25017 ac_cpp='$CXXCPP $CPPFLAGS'
25018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25022 cat >conftest.$ac_ext <<_ACEOF
25023 /* confdefs.h. */
25024 _ACEOF
25025 cat confdefs.h >>conftest.$ac_ext
25026 cat >>conftest.$ac_ext <<_ACEOF
25027 /* end confdefs.h. */
25028 #include <math.h>
25030 main ()
25032 _frexpf(0, 0);
25034 return 0;
25036 _ACEOF
25037 rm -f conftest.$ac_objext
25038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25039 (eval $ac_compile) 2>conftest.er1
25040 ac_status=$?
25041 grep -v '^ *+' conftest.er1 >conftest.err
25042 rm -f conftest.er1
25043 cat conftest.err >&5
25044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25045 (exit $ac_status); } &&
25046 { ac_try='test -z "$ac_cxx_werror_flag"
25047 || test ! -s conftest.err'
25048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25049 (eval $ac_try) 2>&5
25050 ac_status=$?
25051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25052 (exit $ac_status); }; } &&
25053 { ac_try='test -s conftest.$ac_objext'
25054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25055 (eval $ac_try) 2>&5
25056 ac_status=$?
25057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25058 (exit $ac_status); }; }; then
25059 glibcxx_cv_func__frexpf_use=yes
25060 else
25061 echo "$as_me: failed program was:" >&5
25062 sed 's/^/| /' conftest.$ac_ext >&5
25064 glibcxx_cv_func__frexpf_use=no
25066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25067 ac_ext=c
25068 ac_cpp='$CPP $CPPFLAGS'
25069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
25078 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
25080 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
25082 for ac_func in _frexpf
25084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25085 echo "$as_me:$LINENO: checking for $ac_func" >&5
25086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25087 if eval "test \"\${$as_ac_var+set}\" = set"; then
25088 echo $ECHO_N "(cached) $ECHO_C" >&6
25089 else
25090 if test x$gcc_no_link = xyes; then
25091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25093 { (exit 1); exit 1; }; }
25095 cat >conftest.$ac_ext <<_ACEOF
25096 /* confdefs.h. */
25097 _ACEOF
25098 cat confdefs.h >>conftest.$ac_ext
25099 cat >>conftest.$ac_ext <<_ACEOF
25100 /* end confdefs.h. */
25101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25103 #define $ac_func innocuous_$ac_func
25105 /* System header to define __stub macros and hopefully few prototypes,
25106 which can conflict with char $ac_func (); below.
25107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25108 <limits.h> exists even on freestanding compilers. */
25110 #ifdef __STDC__
25111 # include <limits.h>
25112 #else
25113 # include <assert.h>
25114 #endif
25116 #undef $ac_func
25118 /* Override any gcc2 internal prototype to avoid an error. */
25119 #ifdef __cplusplus
25120 extern "C"
25122 #endif
25123 /* We use char because int might match the return type of a gcc2
25124 builtin and then its argument prototype would still apply. */
25125 char $ac_func ();
25126 /* The GNU C library defines this for functions which it implements
25127 to always fail with ENOSYS. Some functions are actually named
25128 something starting with __ and the normal name is an alias. */
25129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25130 choke me
25131 #else
25132 char (*f) () = $ac_func;
25133 #endif
25134 #ifdef __cplusplus
25136 #endif
25139 main ()
25141 return f != $ac_func;
25143 return 0;
25145 _ACEOF
25146 rm -f conftest.$ac_objext conftest$ac_exeext
25147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25148 (eval $ac_link) 2>conftest.er1
25149 ac_status=$?
25150 grep -v '^ *+' conftest.er1 >conftest.err
25151 rm -f conftest.er1
25152 cat conftest.err >&5
25153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25154 (exit $ac_status); } &&
25155 { ac_try='test -z "$ac_c_werror_flag"
25156 || test ! -s conftest.err'
25157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25158 (eval $ac_try) 2>&5
25159 ac_status=$?
25160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25161 (exit $ac_status); }; } &&
25162 { ac_try='test -s conftest$ac_exeext'
25163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25164 (eval $ac_try) 2>&5
25165 ac_status=$?
25166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25167 (exit $ac_status); }; }; then
25168 eval "$as_ac_var=yes"
25169 else
25170 echo "$as_me: failed program was:" >&5
25171 sed 's/^/| /' conftest.$ac_ext >&5
25173 eval "$as_ac_var=no"
25175 rm -f conftest.err conftest.$ac_objext \
25176 conftest$ac_exeext conftest.$ac_ext
25178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25180 if test `eval echo '${'$as_ac_var'}'` = yes; then
25181 cat >>confdefs.h <<_ACEOF
25182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25183 _ACEOF
25186 done
25196 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
25197 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
25198 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
25199 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
25200 echo $ECHO_N "(cached) $ECHO_C" >&6
25201 else
25205 ac_ext=cc
25206 ac_cpp='$CXXCPP $CPPFLAGS'
25207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25211 cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217 #include <math.h>
25219 main ()
25221 hypotf(0, 0);
25223 return 0;
25225 _ACEOF
25226 rm -f conftest.$ac_objext
25227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25228 (eval $ac_compile) 2>conftest.er1
25229 ac_status=$?
25230 grep -v '^ *+' conftest.er1 >conftest.err
25231 rm -f conftest.er1
25232 cat conftest.err >&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); } &&
25235 { ac_try='test -z "$ac_cxx_werror_flag"
25236 || test ! -s conftest.err'
25237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25238 (eval $ac_try) 2>&5
25239 ac_status=$?
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); }; } &&
25242 { ac_try='test -s conftest.$ac_objext'
25243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25244 (eval $ac_try) 2>&5
25245 ac_status=$?
25246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25247 (exit $ac_status); }; }; then
25248 glibcxx_cv_func_hypotf_use=yes
25249 else
25250 echo "$as_me: failed program was:" >&5
25251 sed 's/^/| /' conftest.$ac_ext >&5
25253 glibcxx_cv_func_hypotf_use=no
25255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25256 ac_ext=c
25257 ac_cpp='$CPP $CPPFLAGS'
25258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
25267 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
25269 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
25271 for ac_func in hypotf
25273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25274 echo "$as_me:$LINENO: checking for $ac_func" >&5
25275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25276 if eval "test \"\${$as_ac_var+set}\" = set"; then
25277 echo $ECHO_N "(cached) $ECHO_C" >&6
25278 else
25279 if test x$gcc_no_link = xyes; then
25280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25282 { (exit 1); exit 1; }; }
25284 cat >conftest.$ac_ext <<_ACEOF
25285 /* confdefs.h. */
25286 _ACEOF
25287 cat confdefs.h >>conftest.$ac_ext
25288 cat >>conftest.$ac_ext <<_ACEOF
25289 /* end confdefs.h. */
25290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25292 #define $ac_func innocuous_$ac_func
25294 /* System header to define __stub macros and hopefully few prototypes,
25295 which can conflict with char $ac_func (); below.
25296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25297 <limits.h> exists even on freestanding compilers. */
25299 #ifdef __STDC__
25300 # include <limits.h>
25301 #else
25302 # include <assert.h>
25303 #endif
25305 #undef $ac_func
25307 /* Override any gcc2 internal prototype to avoid an error. */
25308 #ifdef __cplusplus
25309 extern "C"
25311 #endif
25312 /* We use char because int might match the return type of a gcc2
25313 builtin and then its argument prototype would still apply. */
25314 char $ac_func ();
25315 /* The GNU C library defines this for functions which it implements
25316 to always fail with ENOSYS. Some functions are actually named
25317 something starting with __ and the normal name is an alias. */
25318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25319 choke me
25320 #else
25321 char (*f) () = $ac_func;
25322 #endif
25323 #ifdef __cplusplus
25325 #endif
25328 main ()
25330 return f != $ac_func;
25332 return 0;
25334 _ACEOF
25335 rm -f conftest.$ac_objext conftest$ac_exeext
25336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25337 (eval $ac_link) 2>conftest.er1
25338 ac_status=$?
25339 grep -v '^ *+' conftest.er1 >conftest.err
25340 rm -f conftest.er1
25341 cat conftest.err >&5
25342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25343 (exit $ac_status); } &&
25344 { ac_try='test -z "$ac_c_werror_flag"
25345 || test ! -s conftest.err'
25346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25347 (eval $ac_try) 2>&5
25348 ac_status=$?
25349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25350 (exit $ac_status); }; } &&
25351 { ac_try='test -s conftest$ac_exeext'
25352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25353 (eval $ac_try) 2>&5
25354 ac_status=$?
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); }; }; then
25357 eval "$as_ac_var=yes"
25358 else
25359 echo "$as_me: failed program was:" >&5
25360 sed 's/^/| /' conftest.$ac_ext >&5
25362 eval "$as_ac_var=no"
25364 rm -f conftest.err conftest.$ac_objext \
25365 conftest$ac_exeext conftest.$ac_ext
25367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25369 if test `eval echo '${'$as_ac_var'}'` = yes; then
25370 cat >>confdefs.h <<_ACEOF
25371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25372 _ACEOF
25375 done
25377 else
25379 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
25380 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
25381 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
25382 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
25383 echo $ECHO_N "(cached) $ECHO_C" >&6
25384 else
25388 ac_ext=cc
25389 ac_cpp='$CXXCPP $CPPFLAGS'
25390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25394 cat >conftest.$ac_ext <<_ACEOF
25395 /* confdefs.h. */
25396 _ACEOF
25397 cat confdefs.h >>conftest.$ac_ext
25398 cat >>conftest.$ac_ext <<_ACEOF
25399 /* end confdefs.h. */
25400 #include <math.h>
25402 main ()
25404 _hypotf(0, 0);
25406 return 0;
25408 _ACEOF
25409 rm -f conftest.$ac_objext
25410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25411 (eval $ac_compile) 2>conftest.er1
25412 ac_status=$?
25413 grep -v '^ *+' conftest.er1 >conftest.err
25414 rm -f conftest.er1
25415 cat conftest.err >&5
25416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25417 (exit $ac_status); } &&
25418 { ac_try='test -z "$ac_cxx_werror_flag"
25419 || test ! -s conftest.err'
25420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25421 (eval $ac_try) 2>&5
25422 ac_status=$?
25423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25424 (exit $ac_status); }; } &&
25425 { ac_try='test -s conftest.$ac_objext'
25426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25427 (eval $ac_try) 2>&5
25428 ac_status=$?
25429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25430 (exit $ac_status); }; }; then
25431 glibcxx_cv_func__hypotf_use=yes
25432 else
25433 echo "$as_me: failed program was:" >&5
25434 sed 's/^/| /' conftest.$ac_ext >&5
25436 glibcxx_cv_func__hypotf_use=no
25438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25439 ac_ext=c
25440 ac_cpp='$CPP $CPPFLAGS'
25441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
25450 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
25452 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
25454 for ac_func in _hypotf
25456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25457 echo "$as_me:$LINENO: checking for $ac_func" >&5
25458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25459 if eval "test \"\${$as_ac_var+set}\" = set"; then
25460 echo $ECHO_N "(cached) $ECHO_C" >&6
25461 else
25462 if test x$gcc_no_link = xyes; then
25463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25465 { (exit 1); exit 1; }; }
25467 cat >conftest.$ac_ext <<_ACEOF
25468 /* confdefs.h. */
25469 _ACEOF
25470 cat confdefs.h >>conftest.$ac_ext
25471 cat >>conftest.$ac_ext <<_ACEOF
25472 /* end confdefs.h. */
25473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25475 #define $ac_func innocuous_$ac_func
25477 /* System header to define __stub macros and hopefully few prototypes,
25478 which can conflict with char $ac_func (); below.
25479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25480 <limits.h> exists even on freestanding compilers. */
25482 #ifdef __STDC__
25483 # include <limits.h>
25484 #else
25485 # include <assert.h>
25486 #endif
25488 #undef $ac_func
25490 /* Override any gcc2 internal prototype to avoid an error. */
25491 #ifdef __cplusplus
25492 extern "C"
25494 #endif
25495 /* We use char because int might match the return type of a gcc2
25496 builtin and then its argument prototype would still apply. */
25497 char $ac_func ();
25498 /* The GNU C library defines this for functions which it implements
25499 to always fail with ENOSYS. Some functions are actually named
25500 something starting with __ and the normal name is an alias. */
25501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25502 choke me
25503 #else
25504 char (*f) () = $ac_func;
25505 #endif
25506 #ifdef __cplusplus
25508 #endif
25511 main ()
25513 return f != $ac_func;
25515 return 0;
25517 _ACEOF
25518 rm -f conftest.$ac_objext conftest$ac_exeext
25519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25520 (eval $ac_link) 2>conftest.er1
25521 ac_status=$?
25522 grep -v '^ *+' conftest.er1 >conftest.err
25523 rm -f conftest.er1
25524 cat conftest.err >&5
25525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25526 (exit $ac_status); } &&
25527 { ac_try='test -z "$ac_c_werror_flag"
25528 || test ! -s conftest.err'
25529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25530 (eval $ac_try) 2>&5
25531 ac_status=$?
25532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25533 (exit $ac_status); }; } &&
25534 { ac_try='test -s conftest$ac_exeext'
25535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25536 (eval $ac_try) 2>&5
25537 ac_status=$?
25538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25539 (exit $ac_status); }; }; then
25540 eval "$as_ac_var=yes"
25541 else
25542 echo "$as_me: failed program was:" >&5
25543 sed 's/^/| /' conftest.$ac_ext >&5
25545 eval "$as_ac_var=no"
25547 rm -f conftest.err conftest.$ac_objext \
25548 conftest$ac_exeext conftest.$ac_ext
25550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25552 if test `eval echo '${'$as_ac_var'}'` = yes; then
25553 cat >>confdefs.h <<_ACEOF
25554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25555 _ACEOF
25558 done
25568 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
25569 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
25570 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
25571 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
25572 echo $ECHO_N "(cached) $ECHO_C" >&6
25573 else
25577 ac_ext=cc
25578 ac_cpp='$CXXCPP $CPPFLAGS'
25579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25583 cat >conftest.$ac_ext <<_ACEOF
25584 /* confdefs.h. */
25585 _ACEOF
25586 cat confdefs.h >>conftest.$ac_ext
25587 cat >>conftest.$ac_ext <<_ACEOF
25588 /* end confdefs.h. */
25589 #include <math.h>
25591 main ()
25593 ldexpf(0, 0);
25595 return 0;
25597 _ACEOF
25598 rm -f conftest.$ac_objext
25599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25600 (eval $ac_compile) 2>conftest.er1
25601 ac_status=$?
25602 grep -v '^ *+' conftest.er1 >conftest.err
25603 rm -f conftest.er1
25604 cat conftest.err >&5
25605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25606 (exit $ac_status); } &&
25607 { ac_try='test -z "$ac_cxx_werror_flag"
25608 || test ! -s conftest.err'
25609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25610 (eval $ac_try) 2>&5
25611 ac_status=$?
25612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25613 (exit $ac_status); }; } &&
25614 { ac_try='test -s conftest.$ac_objext'
25615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25616 (eval $ac_try) 2>&5
25617 ac_status=$?
25618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25619 (exit $ac_status); }; }; then
25620 glibcxx_cv_func_ldexpf_use=yes
25621 else
25622 echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.$ac_ext >&5
25625 glibcxx_cv_func_ldexpf_use=no
25627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25628 ac_ext=c
25629 ac_cpp='$CPP $CPPFLAGS'
25630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
25639 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
25641 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
25643 for ac_func in ldexpf
25645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25646 echo "$as_me:$LINENO: checking for $ac_func" >&5
25647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25648 if eval "test \"\${$as_ac_var+set}\" = set"; then
25649 echo $ECHO_N "(cached) $ECHO_C" >&6
25650 else
25651 if test x$gcc_no_link = xyes; then
25652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25654 { (exit 1); exit 1; }; }
25656 cat >conftest.$ac_ext <<_ACEOF
25657 /* confdefs.h. */
25658 _ACEOF
25659 cat confdefs.h >>conftest.$ac_ext
25660 cat >>conftest.$ac_ext <<_ACEOF
25661 /* end confdefs.h. */
25662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25664 #define $ac_func innocuous_$ac_func
25666 /* System header to define __stub macros and hopefully few prototypes,
25667 which can conflict with char $ac_func (); below.
25668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25669 <limits.h> exists even on freestanding compilers. */
25671 #ifdef __STDC__
25672 # include <limits.h>
25673 #else
25674 # include <assert.h>
25675 #endif
25677 #undef $ac_func
25679 /* Override any gcc2 internal prototype to avoid an error. */
25680 #ifdef __cplusplus
25681 extern "C"
25683 #endif
25684 /* We use char because int might match the return type of a gcc2
25685 builtin and then its argument prototype would still apply. */
25686 char $ac_func ();
25687 /* The GNU C library defines this for functions which it implements
25688 to always fail with ENOSYS. Some functions are actually named
25689 something starting with __ and the normal name is an alias. */
25690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25691 choke me
25692 #else
25693 char (*f) () = $ac_func;
25694 #endif
25695 #ifdef __cplusplus
25697 #endif
25700 main ()
25702 return f != $ac_func;
25704 return 0;
25706 _ACEOF
25707 rm -f conftest.$ac_objext conftest$ac_exeext
25708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25709 (eval $ac_link) 2>conftest.er1
25710 ac_status=$?
25711 grep -v '^ *+' conftest.er1 >conftest.err
25712 rm -f conftest.er1
25713 cat conftest.err >&5
25714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25715 (exit $ac_status); } &&
25716 { ac_try='test -z "$ac_c_werror_flag"
25717 || test ! -s conftest.err'
25718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25719 (eval $ac_try) 2>&5
25720 ac_status=$?
25721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25722 (exit $ac_status); }; } &&
25723 { ac_try='test -s conftest$ac_exeext'
25724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25725 (eval $ac_try) 2>&5
25726 ac_status=$?
25727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25728 (exit $ac_status); }; }; then
25729 eval "$as_ac_var=yes"
25730 else
25731 echo "$as_me: failed program was:" >&5
25732 sed 's/^/| /' conftest.$ac_ext >&5
25734 eval "$as_ac_var=no"
25736 rm -f conftest.err conftest.$ac_objext \
25737 conftest$ac_exeext conftest.$ac_ext
25739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25741 if test `eval echo '${'$as_ac_var'}'` = yes; then
25742 cat >>confdefs.h <<_ACEOF
25743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25744 _ACEOF
25747 done
25749 else
25751 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
25752 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
25753 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
25754 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
25755 echo $ECHO_N "(cached) $ECHO_C" >&6
25756 else
25760 ac_ext=cc
25761 ac_cpp='$CXXCPP $CPPFLAGS'
25762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25766 cat >conftest.$ac_ext <<_ACEOF
25767 /* confdefs.h. */
25768 _ACEOF
25769 cat confdefs.h >>conftest.$ac_ext
25770 cat >>conftest.$ac_ext <<_ACEOF
25771 /* end confdefs.h. */
25772 #include <math.h>
25774 main ()
25776 _ldexpf(0, 0);
25778 return 0;
25780 _ACEOF
25781 rm -f conftest.$ac_objext
25782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25783 (eval $ac_compile) 2>conftest.er1
25784 ac_status=$?
25785 grep -v '^ *+' conftest.er1 >conftest.err
25786 rm -f conftest.er1
25787 cat conftest.err >&5
25788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25789 (exit $ac_status); } &&
25790 { ac_try='test -z "$ac_cxx_werror_flag"
25791 || test ! -s conftest.err'
25792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25793 (eval $ac_try) 2>&5
25794 ac_status=$?
25795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25796 (exit $ac_status); }; } &&
25797 { ac_try='test -s conftest.$ac_objext'
25798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25799 (eval $ac_try) 2>&5
25800 ac_status=$?
25801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25802 (exit $ac_status); }; }; then
25803 glibcxx_cv_func__ldexpf_use=yes
25804 else
25805 echo "$as_me: failed program was:" >&5
25806 sed 's/^/| /' conftest.$ac_ext >&5
25808 glibcxx_cv_func__ldexpf_use=no
25810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25811 ac_ext=c
25812 ac_cpp='$CPP $CPPFLAGS'
25813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
25822 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
25824 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
25826 for ac_func in _ldexpf
25828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25829 echo "$as_me:$LINENO: checking for $ac_func" >&5
25830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25831 if eval "test \"\${$as_ac_var+set}\" = set"; then
25832 echo $ECHO_N "(cached) $ECHO_C" >&6
25833 else
25834 if test x$gcc_no_link = xyes; then
25835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25837 { (exit 1); exit 1; }; }
25839 cat >conftest.$ac_ext <<_ACEOF
25840 /* confdefs.h. */
25841 _ACEOF
25842 cat confdefs.h >>conftest.$ac_ext
25843 cat >>conftest.$ac_ext <<_ACEOF
25844 /* end confdefs.h. */
25845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25847 #define $ac_func innocuous_$ac_func
25849 /* System header to define __stub macros and hopefully few prototypes,
25850 which can conflict with char $ac_func (); below.
25851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25852 <limits.h> exists even on freestanding compilers. */
25854 #ifdef __STDC__
25855 # include <limits.h>
25856 #else
25857 # include <assert.h>
25858 #endif
25860 #undef $ac_func
25862 /* Override any gcc2 internal prototype to avoid an error. */
25863 #ifdef __cplusplus
25864 extern "C"
25866 #endif
25867 /* We use char because int might match the return type of a gcc2
25868 builtin and then its argument prototype would still apply. */
25869 char $ac_func ();
25870 /* The GNU C library defines this for functions which it implements
25871 to always fail with ENOSYS. Some functions are actually named
25872 something starting with __ and the normal name is an alias. */
25873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25874 choke me
25875 #else
25876 char (*f) () = $ac_func;
25877 #endif
25878 #ifdef __cplusplus
25880 #endif
25883 main ()
25885 return f != $ac_func;
25887 return 0;
25889 _ACEOF
25890 rm -f conftest.$ac_objext conftest$ac_exeext
25891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25892 (eval $ac_link) 2>conftest.er1
25893 ac_status=$?
25894 grep -v '^ *+' conftest.er1 >conftest.err
25895 rm -f conftest.er1
25896 cat conftest.err >&5
25897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25898 (exit $ac_status); } &&
25899 { ac_try='test -z "$ac_c_werror_flag"
25900 || test ! -s conftest.err'
25901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25902 (eval $ac_try) 2>&5
25903 ac_status=$?
25904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25905 (exit $ac_status); }; } &&
25906 { ac_try='test -s conftest$ac_exeext'
25907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25908 (eval $ac_try) 2>&5
25909 ac_status=$?
25910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25911 (exit $ac_status); }; }; then
25912 eval "$as_ac_var=yes"
25913 else
25914 echo "$as_me: failed program was:" >&5
25915 sed 's/^/| /' conftest.$ac_ext >&5
25917 eval "$as_ac_var=no"
25919 rm -f conftest.err conftest.$ac_objext \
25920 conftest$ac_exeext conftest.$ac_ext
25922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25924 if test `eval echo '${'$as_ac_var'}'` = yes; then
25925 cat >>confdefs.h <<_ACEOF
25926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25927 _ACEOF
25930 done
25940 echo "$as_me:$LINENO: checking for logf declaration" >&5
25941 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
25942 if test x${glibcxx_cv_func_logf_use+set} != xset; then
25943 if test "${glibcxx_cv_func_logf_use+set}" = set; then
25944 echo $ECHO_N "(cached) $ECHO_C" >&6
25945 else
25949 ac_ext=cc
25950 ac_cpp='$CXXCPP $CPPFLAGS'
25951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25955 cat >conftest.$ac_ext <<_ACEOF
25956 /* confdefs.h. */
25957 _ACEOF
25958 cat confdefs.h >>conftest.$ac_ext
25959 cat >>conftest.$ac_ext <<_ACEOF
25960 /* end confdefs.h. */
25961 #include <math.h>
25962 #ifdef HAVE_IEEEFP_H
25963 #include <ieeefp.h>
25964 #endif
25967 main ()
25969 logf(0);
25971 return 0;
25973 _ACEOF
25974 rm -f conftest.$ac_objext
25975 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25976 (eval $ac_compile) 2>conftest.er1
25977 ac_status=$?
25978 grep -v '^ *+' conftest.er1 >conftest.err
25979 rm -f conftest.er1
25980 cat conftest.err >&5
25981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25982 (exit $ac_status); } &&
25983 { ac_try='test -z "$ac_cxx_werror_flag"
25984 || test ! -s conftest.err'
25985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25986 (eval $ac_try) 2>&5
25987 ac_status=$?
25988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25989 (exit $ac_status); }; } &&
25990 { ac_try='test -s conftest.$ac_objext'
25991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25992 (eval $ac_try) 2>&5
25993 ac_status=$?
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); }; }; then
25996 glibcxx_cv_func_logf_use=yes
25997 else
25998 echo "$as_me: failed program was:" >&5
25999 sed 's/^/| /' conftest.$ac_ext >&5
26001 glibcxx_cv_func_logf_use=no
26003 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26004 ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26014 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
26015 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
26017 if test x$glibcxx_cv_func_logf_use = x"yes"; then
26019 for ac_func in logf
26021 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26022 echo "$as_me:$LINENO: checking for $ac_func" >&5
26023 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26024 if eval "test \"\${$as_ac_var+set}\" = set"; then
26025 echo $ECHO_N "(cached) $ECHO_C" >&6
26026 else
26027 if test x$gcc_no_link = xyes; then
26028 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26029 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26030 { (exit 1); exit 1; }; }
26032 cat >conftest.$ac_ext <<_ACEOF
26033 /* confdefs.h. */
26034 _ACEOF
26035 cat confdefs.h >>conftest.$ac_ext
26036 cat >>conftest.$ac_ext <<_ACEOF
26037 /* end confdefs.h. */
26038 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26039 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26040 #define $ac_func innocuous_$ac_func
26042 /* System header to define __stub macros and hopefully few prototypes,
26043 which can conflict with char $ac_func (); below.
26044 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26045 <limits.h> exists even on freestanding compilers. */
26047 #ifdef __STDC__
26048 # include <limits.h>
26049 #else
26050 # include <assert.h>
26051 #endif
26053 #undef $ac_func
26055 /* Override any gcc2 internal prototype to avoid an error. */
26056 #ifdef __cplusplus
26057 extern "C"
26059 #endif
26060 /* We use char because int might match the return type of a gcc2
26061 builtin and then its argument prototype would still apply. */
26062 char $ac_func ();
26063 /* The GNU C library defines this for functions which it implements
26064 to always fail with ENOSYS. Some functions are actually named
26065 something starting with __ and the normal name is an alias. */
26066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26067 choke me
26068 #else
26069 char (*f) () = $ac_func;
26070 #endif
26071 #ifdef __cplusplus
26073 #endif
26076 main ()
26078 return f != $ac_func;
26080 return 0;
26082 _ACEOF
26083 rm -f conftest.$ac_objext conftest$ac_exeext
26084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26085 (eval $ac_link) 2>conftest.er1
26086 ac_status=$?
26087 grep -v '^ *+' conftest.er1 >conftest.err
26088 rm -f conftest.er1
26089 cat conftest.err >&5
26090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26091 (exit $ac_status); } &&
26092 { ac_try='test -z "$ac_c_werror_flag"
26093 || test ! -s conftest.err'
26094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26095 (eval $ac_try) 2>&5
26096 ac_status=$?
26097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26098 (exit $ac_status); }; } &&
26099 { ac_try='test -s conftest$ac_exeext'
26100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26101 (eval $ac_try) 2>&5
26102 ac_status=$?
26103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26104 (exit $ac_status); }; }; then
26105 eval "$as_ac_var=yes"
26106 else
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26110 eval "$as_ac_var=no"
26112 rm -f conftest.err conftest.$ac_objext \
26113 conftest$ac_exeext conftest.$ac_ext
26115 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26116 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26117 if test `eval echo '${'$as_ac_var'}'` = yes; then
26118 cat >>confdefs.h <<_ACEOF
26119 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26120 _ACEOF
26123 done
26125 else
26127 echo "$as_me:$LINENO: checking for _logf declaration" >&5
26128 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
26129 if test x${glibcxx_cv_func__logf_use+set} != xset; then
26130 if test "${glibcxx_cv_func__logf_use+set}" = set; then
26131 echo $ECHO_N "(cached) $ECHO_C" >&6
26132 else
26136 ac_ext=cc
26137 ac_cpp='$CXXCPP $CPPFLAGS'
26138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26142 cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h. */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148 #include <math.h>
26149 #ifdef HAVE_IEEEFP_H
26150 #include <ieeefp.h>
26151 #endif
26154 main ()
26156 _logf(0);
26158 return 0;
26160 _ACEOF
26161 rm -f conftest.$ac_objext
26162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26163 (eval $ac_compile) 2>conftest.er1
26164 ac_status=$?
26165 grep -v '^ *+' conftest.er1 >conftest.err
26166 rm -f conftest.er1
26167 cat conftest.err >&5
26168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26169 (exit $ac_status); } &&
26170 { ac_try='test -z "$ac_cxx_werror_flag"
26171 || test ! -s conftest.err'
26172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26173 (eval $ac_try) 2>&5
26174 ac_status=$?
26175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26176 (exit $ac_status); }; } &&
26177 { ac_try='test -s conftest.$ac_objext'
26178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26179 (eval $ac_try) 2>&5
26180 ac_status=$?
26181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26182 (exit $ac_status); }; }; then
26183 glibcxx_cv_func__logf_use=yes
26184 else
26185 echo "$as_me: failed program was:" >&5
26186 sed 's/^/| /' conftest.$ac_ext >&5
26188 glibcxx_cv_func__logf_use=no
26190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26191 ac_ext=c
26192 ac_cpp='$CPP $CPPFLAGS'
26193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
26202 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
26204 if test x$glibcxx_cv_func__logf_use = x"yes"; then
26206 for ac_func in _logf
26208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26209 echo "$as_me:$LINENO: checking for $ac_func" >&5
26210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26211 if eval "test \"\${$as_ac_var+set}\" = set"; then
26212 echo $ECHO_N "(cached) $ECHO_C" >&6
26213 else
26214 if test x$gcc_no_link = xyes; then
26215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26217 { (exit 1); exit 1; }; }
26219 cat >conftest.$ac_ext <<_ACEOF
26220 /* confdefs.h. */
26221 _ACEOF
26222 cat confdefs.h >>conftest.$ac_ext
26223 cat >>conftest.$ac_ext <<_ACEOF
26224 /* end confdefs.h. */
26225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26227 #define $ac_func innocuous_$ac_func
26229 /* System header to define __stub macros and hopefully few prototypes,
26230 which can conflict with char $ac_func (); below.
26231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26232 <limits.h> exists even on freestanding compilers. */
26234 #ifdef __STDC__
26235 # include <limits.h>
26236 #else
26237 # include <assert.h>
26238 #endif
26240 #undef $ac_func
26242 /* Override any gcc2 internal prototype to avoid an error. */
26243 #ifdef __cplusplus
26244 extern "C"
26246 #endif
26247 /* We use char because int might match the return type of a gcc2
26248 builtin and then its argument prototype would still apply. */
26249 char $ac_func ();
26250 /* The GNU C library defines this for functions which it implements
26251 to always fail with ENOSYS. Some functions are actually named
26252 something starting with __ and the normal name is an alias. */
26253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26254 choke me
26255 #else
26256 char (*f) () = $ac_func;
26257 #endif
26258 #ifdef __cplusplus
26260 #endif
26263 main ()
26265 return f != $ac_func;
26267 return 0;
26269 _ACEOF
26270 rm -f conftest.$ac_objext conftest$ac_exeext
26271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26272 (eval $ac_link) 2>conftest.er1
26273 ac_status=$?
26274 grep -v '^ *+' conftest.er1 >conftest.err
26275 rm -f conftest.er1
26276 cat conftest.err >&5
26277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26278 (exit $ac_status); } &&
26279 { ac_try='test -z "$ac_c_werror_flag"
26280 || test ! -s conftest.err'
26281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26282 (eval $ac_try) 2>&5
26283 ac_status=$?
26284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26285 (exit $ac_status); }; } &&
26286 { ac_try='test -s conftest$ac_exeext'
26287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26288 (eval $ac_try) 2>&5
26289 ac_status=$?
26290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26291 (exit $ac_status); }; }; then
26292 eval "$as_ac_var=yes"
26293 else
26294 echo "$as_me: failed program was:" >&5
26295 sed 's/^/| /' conftest.$ac_ext >&5
26297 eval "$as_ac_var=no"
26299 rm -f conftest.err conftest.$ac_objext \
26300 conftest$ac_exeext conftest.$ac_ext
26302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26304 if test `eval echo '${'$as_ac_var'}'` = yes; then
26305 cat >>confdefs.h <<_ACEOF
26306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26307 _ACEOF
26310 done
26320 echo "$as_me:$LINENO: checking for log10f declaration" >&5
26321 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
26322 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
26323 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
26324 echo $ECHO_N "(cached) $ECHO_C" >&6
26325 else
26329 ac_ext=cc
26330 ac_cpp='$CXXCPP $CPPFLAGS'
26331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26335 cat >conftest.$ac_ext <<_ACEOF
26336 /* confdefs.h. */
26337 _ACEOF
26338 cat confdefs.h >>conftest.$ac_ext
26339 cat >>conftest.$ac_ext <<_ACEOF
26340 /* end confdefs.h. */
26341 #include <math.h>
26342 #ifdef HAVE_IEEEFP_H
26343 #include <ieeefp.h>
26344 #endif
26347 main ()
26349 log10f(0);
26351 return 0;
26353 _ACEOF
26354 rm -f conftest.$ac_objext
26355 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26356 (eval $ac_compile) 2>conftest.er1
26357 ac_status=$?
26358 grep -v '^ *+' conftest.er1 >conftest.err
26359 rm -f conftest.er1
26360 cat conftest.err >&5
26361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26362 (exit $ac_status); } &&
26363 { ac_try='test -z "$ac_cxx_werror_flag"
26364 || test ! -s conftest.err'
26365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26366 (eval $ac_try) 2>&5
26367 ac_status=$?
26368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26369 (exit $ac_status); }; } &&
26370 { ac_try='test -s conftest.$ac_objext'
26371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26372 (eval $ac_try) 2>&5
26373 ac_status=$?
26374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26375 (exit $ac_status); }; }; then
26376 glibcxx_cv_func_log10f_use=yes
26377 else
26378 echo "$as_me: failed program was:" >&5
26379 sed 's/^/| /' conftest.$ac_ext >&5
26381 glibcxx_cv_func_log10f_use=no
26383 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26384 ac_ext=c
26385 ac_cpp='$CPP $CPPFLAGS'
26386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26394 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
26395 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
26397 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
26399 for ac_func in log10f
26401 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26402 echo "$as_me:$LINENO: checking for $ac_func" >&5
26403 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26404 if eval "test \"\${$as_ac_var+set}\" = set"; then
26405 echo $ECHO_N "(cached) $ECHO_C" >&6
26406 else
26407 if test x$gcc_no_link = xyes; then
26408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26410 { (exit 1); exit 1; }; }
26412 cat >conftest.$ac_ext <<_ACEOF
26413 /* confdefs.h. */
26414 _ACEOF
26415 cat confdefs.h >>conftest.$ac_ext
26416 cat >>conftest.$ac_ext <<_ACEOF
26417 /* end confdefs.h. */
26418 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26419 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26420 #define $ac_func innocuous_$ac_func
26422 /* System header to define __stub macros and hopefully few prototypes,
26423 which can conflict with char $ac_func (); below.
26424 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26425 <limits.h> exists even on freestanding compilers. */
26427 #ifdef __STDC__
26428 # include <limits.h>
26429 #else
26430 # include <assert.h>
26431 #endif
26433 #undef $ac_func
26435 /* Override any gcc2 internal prototype to avoid an error. */
26436 #ifdef __cplusplus
26437 extern "C"
26439 #endif
26440 /* We use char because int might match the return type of a gcc2
26441 builtin and then its argument prototype would still apply. */
26442 char $ac_func ();
26443 /* The GNU C library defines this for functions which it implements
26444 to always fail with ENOSYS. Some functions are actually named
26445 something starting with __ and the normal name is an alias. */
26446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26447 choke me
26448 #else
26449 char (*f) () = $ac_func;
26450 #endif
26451 #ifdef __cplusplus
26453 #endif
26456 main ()
26458 return f != $ac_func;
26460 return 0;
26462 _ACEOF
26463 rm -f conftest.$ac_objext conftest$ac_exeext
26464 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26465 (eval $ac_link) 2>conftest.er1
26466 ac_status=$?
26467 grep -v '^ *+' conftest.er1 >conftest.err
26468 rm -f conftest.er1
26469 cat conftest.err >&5
26470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26471 (exit $ac_status); } &&
26472 { ac_try='test -z "$ac_c_werror_flag"
26473 || test ! -s conftest.err'
26474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26475 (eval $ac_try) 2>&5
26476 ac_status=$?
26477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26478 (exit $ac_status); }; } &&
26479 { ac_try='test -s conftest$ac_exeext'
26480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26481 (eval $ac_try) 2>&5
26482 ac_status=$?
26483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26484 (exit $ac_status); }; }; then
26485 eval "$as_ac_var=yes"
26486 else
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26490 eval "$as_ac_var=no"
26492 rm -f conftest.err conftest.$ac_objext \
26493 conftest$ac_exeext conftest.$ac_ext
26495 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26496 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26497 if test `eval echo '${'$as_ac_var'}'` = yes; then
26498 cat >>confdefs.h <<_ACEOF
26499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26500 _ACEOF
26503 done
26505 else
26507 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
26508 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
26509 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
26510 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
26511 echo $ECHO_N "(cached) $ECHO_C" >&6
26512 else
26516 ac_ext=cc
26517 ac_cpp='$CXXCPP $CPPFLAGS'
26518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26522 cat >conftest.$ac_ext <<_ACEOF
26523 /* confdefs.h. */
26524 _ACEOF
26525 cat confdefs.h >>conftest.$ac_ext
26526 cat >>conftest.$ac_ext <<_ACEOF
26527 /* end confdefs.h. */
26528 #include <math.h>
26529 #ifdef HAVE_IEEEFP_H
26530 #include <ieeefp.h>
26531 #endif
26534 main ()
26536 _log10f(0);
26538 return 0;
26540 _ACEOF
26541 rm -f conftest.$ac_objext
26542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26543 (eval $ac_compile) 2>conftest.er1
26544 ac_status=$?
26545 grep -v '^ *+' conftest.er1 >conftest.err
26546 rm -f conftest.er1
26547 cat conftest.err >&5
26548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26549 (exit $ac_status); } &&
26550 { ac_try='test -z "$ac_cxx_werror_flag"
26551 || test ! -s conftest.err'
26552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26553 (eval $ac_try) 2>&5
26554 ac_status=$?
26555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26556 (exit $ac_status); }; } &&
26557 { ac_try='test -s conftest.$ac_objext'
26558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26559 (eval $ac_try) 2>&5
26560 ac_status=$?
26561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26562 (exit $ac_status); }; }; then
26563 glibcxx_cv_func__log10f_use=yes
26564 else
26565 echo "$as_me: failed program was:" >&5
26566 sed 's/^/| /' conftest.$ac_ext >&5
26568 glibcxx_cv_func__log10f_use=no
26570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26571 ac_ext=c
26572 ac_cpp='$CPP $CPPFLAGS'
26573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
26582 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
26584 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
26586 for ac_func in _log10f
26588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26589 echo "$as_me:$LINENO: checking for $ac_func" >&5
26590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26591 if eval "test \"\${$as_ac_var+set}\" = set"; then
26592 echo $ECHO_N "(cached) $ECHO_C" >&6
26593 else
26594 if test x$gcc_no_link = xyes; then
26595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26597 { (exit 1); exit 1; }; }
26599 cat >conftest.$ac_ext <<_ACEOF
26600 /* confdefs.h. */
26601 _ACEOF
26602 cat confdefs.h >>conftest.$ac_ext
26603 cat >>conftest.$ac_ext <<_ACEOF
26604 /* end confdefs.h. */
26605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26607 #define $ac_func innocuous_$ac_func
26609 /* System header to define __stub macros and hopefully few prototypes,
26610 which can conflict with char $ac_func (); below.
26611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26612 <limits.h> exists even on freestanding compilers. */
26614 #ifdef __STDC__
26615 # include <limits.h>
26616 #else
26617 # include <assert.h>
26618 #endif
26620 #undef $ac_func
26622 /* Override any gcc2 internal prototype to avoid an error. */
26623 #ifdef __cplusplus
26624 extern "C"
26626 #endif
26627 /* We use char because int might match the return type of a gcc2
26628 builtin and then its argument prototype would still apply. */
26629 char $ac_func ();
26630 /* The GNU C library defines this for functions which it implements
26631 to always fail with ENOSYS. Some functions are actually named
26632 something starting with __ and the normal name is an alias. */
26633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26634 choke me
26635 #else
26636 char (*f) () = $ac_func;
26637 #endif
26638 #ifdef __cplusplus
26640 #endif
26643 main ()
26645 return f != $ac_func;
26647 return 0;
26649 _ACEOF
26650 rm -f conftest.$ac_objext conftest$ac_exeext
26651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26652 (eval $ac_link) 2>conftest.er1
26653 ac_status=$?
26654 grep -v '^ *+' conftest.er1 >conftest.err
26655 rm -f conftest.er1
26656 cat conftest.err >&5
26657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26658 (exit $ac_status); } &&
26659 { ac_try='test -z "$ac_c_werror_flag"
26660 || test ! -s conftest.err'
26661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26662 (eval $ac_try) 2>&5
26663 ac_status=$?
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); }; } &&
26666 { ac_try='test -s conftest$ac_exeext'
26667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26668 (eval $ac_try) 2>&5
26669 ac_status=$?
26670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26671 (exit $ac_status); }; }; then
26672 eval "$as_ac_var=yes"
26673 else
26674 echo "$as_me: failed program was:" >&5
26675 sed 's/^/| /' conftest.$ac_ext >&5
26677 eval "$as_ac_var=no"
26679 rm -f conftest.err conftest.$ac_objext \
26680 conftest$ac_exeext conftest.$ac_ext
26682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26684 if test `eval echo '${'$as_ac_var'}'` = yes; then
26685 cat >>confdefs.h <<_ACEOF
26686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26687 _ACEOF
26690 done
26700 echo "$as_me:$LINENO: checking for modff declaration" >&5
26701 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
26702 if test x${glibcxx_cv_func_modff_use+set} != xset; then
26703 if test "${glibcxx_cv_func_modff_use+set}" = set; then
26704 echo $ECHO_N "(cached) $ECHO_C" >&6
26705 else
26709 ac_ext=cc
26710 ac_cpp='$CXXCPP $CPPFLAGS'
26711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26715 cat >conftest.$ac_ext <<_ACEOF
26716 /* confdefs.h. */
26717 _ACEOF
26718 cat confdefs.h >>conftest.$ac_ext
26719 cat >>conftest.$ac_ext <<_ACEOF
26720 /* end confdefs.h. */
26721 #include <math.h>
26723 main ()
26725 modff(0, 0);
26727 return 0;
26729 _ACEOF
26730 rm -f conftest.$ac_objext
26731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26732 (eval $ac_compile) 2>conftest.er1
26733 ac_status=$?
26734 grep -v '^ *+' conftest.er1 >conftest.err
26735 rm -f conftest.er1
26736 cat conftest.err >&5
26737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26738 (exit $ac_status); } &&
26739 { ac_try='test -z "$ac_cxx_werror_flag"
26740 || test ! -s conftest.err'
26741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26742 (eval $ac_try) 2>&5
26743 ac_status=$?
26744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26745 (exit $ac_status); }; } &&
26746 { ac_try='test -s conftest.$ac_objext'
26747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26748 (eval $ac_try) 2>&5
26749 ac_status=$?
26750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26751 (exit $ac_status); }; }; then
26752 glibcxx_cv_func_modff_use=yes
26753 else
26754 echo "$as_me: failed program was:" >&5
26755 sed 's/^/| /' conftest.$ac_ext >&5
26757 glibcxx_cv_func_modff_use=no
26759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26760 ac_ext=c
26761 ac_cpp='$CPP $CPPFLAGS'
26762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26770 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
26771 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
26773 if test x$glibcxx_cv_func_modff_use = x"yes"; then
26775 for ac_func in modff
26777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26778 echo "$as_me:$LINENO: checking for $ac_func" >&5
26779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26780 if eval "test \"\${$as_ac_var+set}\" = set"; then
26781 echo $ECHO_N "(cached) $ECHO_C" >&6
26782 else
26783 if test x$gcc_no_link = xyes; then
26784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26786 { (exit 1); exit 1; }; }
26788 cat >conftest.$ac_ext <<_ACEOF
26789 /* confdefs.h. */
26790 _ACEOF
26791 cat confdefs.h >>conftest.$ac_ext
26792 cat >>conftest.$ac_ext <<_ACEOF
26793 /* end confdefs.h. */
26794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26796 #define $ac_func innocuous_$ac_func
26798 /* System header to define __stub macros and hopefully few prototypes,
26799 which can conflict with char $ac_func (); below.
26800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26801 <limits.h> exists even on freestanding compilers. */
26803 #ifdef __STDC__
26804 # include <limits.h>
26805 #else
26806 # include <assert.h>
26807 #endif
26809 #undef $ac_func
26811 /* Override any gcc2 internal prototype to avoid an error. */
26812 #ifdef __cplusplus
26813 extern "C"
26815 #endif
26816 /* We use char because int might match the return type of a gcc2
26817 builtin and then its argument prototype would still apply. */
26818 char $ac_func ();
26819 /* The GNU C library defines this for functions which it implements
26820 to always fail with ENOSYS. Some functions are actually named
26821 something starting with __ and the normal name is an alias. */
26822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26823 choke me
26824 #else
26825 char (*f) () = $ac_func;
26826 #endif
26827 #ifdef __cplusplus
26829 #endif
26832 main ()
26834 return f != $ac_func;
26836 return 0;
26838 _ACEOF
26839 rm -f conftest.$ac_objext conftest$ac_exeext
26840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26841 (eval $ac_link) 2>conftest.er1
26842 ac_status=$?
26843 grep -v '^ *+' conftest.er1 >conftest.err
26844 rm -f conftest.er1
26845 cat conftest.err >&5
26846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26847 (exit $ac_status); } &&
26848 { ac_try='test -z "$ac_c_werror_flag"
26849 || test ! -s conftest.err'
26850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26851 (eval $ac_try) 2>&5
26852 ac_status=$?
26853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26854 (exit $ac_status); }; } &&
26855 { ac_try='test -s conftest$ac_exeext'
26856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26857 (eval $ac_try) 2>&5
26858 ac_status=$?
26859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26860 (exit $ac_status); }; }; then
26861 eval "$as_ac_var=yes"
26862 else
26863 echo "$as_me: failed program was:" >&5
26864 sed 's/^/| /' conftest.$ac_ext >&5
26866 eval "$as_ac_var=no"
26868 rm -f conftest.err conftest.$ac_objext \
26869 conftest$ac_exeext conftest.$ac_ext
26871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26873 if test `eval echo '${'$as_ac_var'}'` = yes; then
26874 cat >>confdefs.h <<_ACEOF
26875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26876 _ACEOF
26879 done
26881 else
26883 echo "$as_me:$LINENO: checking for _modff declaration" >&5
26884 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
26885 if test x${glibcxx_cv_func__modff_use+set} != xset; then
26886 if test "${glibcxx_cv_func__modff_use+set}" = set; then
26887 echo $ECHO_N "(cached) $ECHO_C" >&6
26888 else
26892 ac_ext=cc
26893 ac_cpp='$CXXCPP $CPPFLAGS'
26894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26898 cat >conftest.$ac_ext <<_ACEOF
26899 /* confdefs.h. */
26900 _ACEOF
26901 cat confdefs.h >>conftest.$ac_ext
26902 cat >>conftest.$ac_ext <<_ACEOF
26903 /* end confdefs.h. */
26904 #include <math.h>
26906 main ()
26908 _modff(0, 0);
26910 return 0;
26912 _ACEOF
26913 rm -f conftest.$ac_objext
26914 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26915 (eval $ac_compile) 2>conftest.er1
26916 ac_status=$?
26917 grep -v '^ *+' conftest.er1 >conftest.err
26918 rm -f conftest.er1
26919 cat conftest.err >&5
26920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26921 (exit $ac_status); } &&
26922 { ac_try='test -z "$ac_cxx_werror_flag"
26923 || test ! -s conftest.err'
26924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26925 (eval $ac_try) 2>&5
26926 ac_status=$?
26927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26928 (exit $ac_status); }; } &&
26929 { ac_try='test -s conftest.$ac_objext'
26930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26931 (eval $ac_try) 2>&5
26932 ac_status=$?
26933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26934 (exit $ac_status); }; }; then
26935 glibcxx_cv_func__modff_use=yes
26936 else
26937 echo "$as_me: failed program was:" >&5
26938 sed 's/^/| /' conftest.$ac_ext >&5
26940 glibcxx_cv_func__modff_use=no
26942 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26943 ac_ext=c
26944 ac_cpp='$CPP $CPPFLAGS'
26945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26953 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
26954 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
26956 if test x$glibcxx_cv_func__modff_use = x"yes"; then
26958 for ac_func in _modff
26960 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26961 echo "$as_me:$LINENO: checking for $ac_func" >&5
26962 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26963 if eval "test \"\${$as_ac_var+set}\" = set"; then
26964 echo $ECHO_N "(cached) $ECHO_C" >&6
26965 else
26966 if test x$gcc_no_link = xyes; then
26967 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26968 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26969 { (exit 1); exit 1; }; }
26971 cat >conftest.$ac_ext <<_ACEOF
26972 /* confdefs.h. */
26973 _ACEOF
26974 cat confdefs.h >>conftest.$ac_ext
26975 cat >>conftest.$ac_ext <<_ACEOF
26976 /* end confdefs.h. */
26977 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26978 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26979 #define $ac_func innocuous_$ac_func
26981 /* System header to define __stub macros and hopefully few prototypes,
26982 which can conflict with char $ac_func (); below.
26983 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26984 <limits.h> exists even on freestanding compilers. */
26986 #ifdef __STDC__
26987 # include <limits.h>
26988 #else
26989 # include <assert.h>
26990 #endif
26992 #undef $ac_func
26994 /* Override any gcc2 internal prototype to avoid an error. */
26995 #ifdef __cplusplus
26996 extern "C"
26998 #endif
26999 /* We use char because int might match the return type of a gcc2
27000 builtin and then its argument prototype would still apply. */
27001 char $ac_func ();
27002 /* The GNU C library defines this for functions which it implements
27003 to always fail with ENOSYS. Some functions are actually named
27004 something starting with __ and the normal name is an alias. */
27005 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27006 choke me
27007 #else
27008 char (*f) () = $ac_func;
27009 #endif
27010 #ifdef __cplusplus
27012 #endif
27015 main ()
27017 return f != $ac_func;
27019 return 0;
27021 _ACEOF
27022 rm -f conftest.$ac_objext conftest$ac_exeext
27023 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27024 (eval $ac_link) 2>conftest.er1
27025 ac_status=$?
27026 grep -v '^ *+' conftest.er1 >conftest.err
27027 rm -f conftest.er1
27028 cat conftest.err >&5
27029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27030 (exit $ac_status); } &&
27031 { ac_try='test -z "$ac_c_werror_flag"
27032 || test ! -s conftest.err'
27033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27034 (eval $ac_try) 2>&5
27035 ac_status=$?
27036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27037 (exit $ac_status); }; } &&
27038 { ac_try='test -s conftest$ac_exeext'
27039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27040 (eval $ac_try) 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); }; }; then
27044 eval "$as_ac_var=yes"
27045 else
27046 echo "$as_me: failed program was:" >&5
27047 sed 's/^/| /' conftest.$ac_ext >&5
27049 eval "$as_ac_var=no"
27051 rm -f conftest.err conftest.$ac_objext \
27052 conftest$ac_exeext conftest.$ac_ext
27054 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27055 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27056 if test `eval echo '${'$as_ac_var'}'` = yes; then
27057 cat >>confdefs.h <<_ACEOF
27058 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27059 _ACEOF
27062 done
27072 echo "$as_me:$LINENO: checking for modf declaration" >&5
27073 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
27074 if test x${glibcxx_cv_func_modf_use+set} != xset; then
27075 if test "${glibcxx_cv_func_modf_use+set}" = set; then
27076 echo $ECHO_N "(cached) $ECHO_C" >&6
27077 else
27081 ac_ext=cc
27082 ac_cpp='$CXXCPP $CPPFLAGS'
27083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27087 cat >conftest.$ac_ext <<_ACEOF
27088 /* confdefs.h. */
27089 _ACEOF
27090 cat confdefs.h >>conftest.$ac_ext
27091 cat >>conftest.$ac_ext <<_ACEOF
27092 /* end confdefs.h. */
27093 #include <math.h>
27095 main ()
27097 modf(0, 0);
27099 return 0;
27101 _ACEOF
27102 rm -f conftest.$ac_objext
27103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27104 (eval $ac_compile) 2>conftest.er1
27105 ac_status=$?
27106 grep -v '^ *+' conftest.er1 >conftest.err
27107 rm -f conftest.er1
27108 cat conftest.err >&5
27109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27110 (exit $ac_status); } &&
27111 { ac_try='test -z "$ac_cxx_werror_flag"
27112 || test ! -s conftest.err'
27113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27114 (eval $ac_try) 2>&5
27115 ac_status=$?
27116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27117 (exit $ac_status); }; } &&
27118 { ac_try='test -s conftest.$ac_objext'
27119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27120 (eval $ac_try) 2>&5
27121 ac_status=$?
27122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27123 (exit $ac_status); }; }; then
27124 glibcxx_cv_func_modf_use=yes
27125 else
27126 echo "$as_me: failed program was:" >&5
27127 sed 's/^/| /' conftest.$ac_ext >&5
27129 glibcxx_cv_func_modf_use=no
27131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27132 ac_ext=c
27133 ac_cpp='$CPP $CPPFLAGS'
27134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27142 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
27143 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
27145 if test x$glibcxx_cv_func_modf_use = x"yes"; then
27147 for ac_func in modf
27149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27150 echo "$as_me:$LINENO: checking for $ac_func" >&5
27151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27152 if eval "test \"\${$as_ac_var+set}\" = set"; then
27153 echo $ECHO_N "(cached) $ECHO_C" >&6
27154 else
27155 if test x$gcc_no_link = xyes; then
27156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27158 { (exit 1); exit 1; }; }
27160 cat >conftest.$ac_ext <<_ACEOF
27161 /* confdefs.h. */
27162 _ACEOF
27163 cat confdefs.h >>conftest.$ac_ext
27164 cat >>conftest.$ac_ext <<_ACEOF
27165 /* end confdefs.h. */
27166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27168 #define $ac_func innocuous_$ac_func
27170 /* System header to define __stub macros and hopefully few prototypes,
27171 which can conflict with char $ac_func (); below.
27172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27173 <limits.h> exists even on freestanding compilers. */
27175 #ifdef __STDC__
27176 # include <limits.h>
27177 #else
27178 # include <assert.h>
27179 #endif
27181 #undef $ac_func
27183 /* Override any gcc2 internal prototype to avoid an error. */
27184 #ifdef __cplusplus
27185 extern "C"
27187 #endif
27188 /* We use char because int might match the return type of a gcc2
27189 builtin and then its argument prototype would still apply. */
27190 char $ac_func ();
27191 /* The GNU C library defines this for functions which it implements
27192 to always fail with ENOSYS. Some functions are actually named
27193 something starting with __ and the normal name is an alias. */
27194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27195 choke me
27196 #else
27197 char (*f) () = $ac_func;
27198 #endif
27199 #ifdef __cplusplus
27201 #endif
27204 main ()
27206 return f != $ac_func;
27208 return 0;
27210 _ACEOF
27211 rm -f conftest.$ac_objext conftest$ac_exeext
27212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27213 (eval $ac_link) 2>conftest.er1
27214 ac_status=$?
27215 grep -v '^ *+' conftest.er1 >conftest.err
27216 rm -f conftest.er1
27217 cat conftest.err >&5
27218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27219 (exit $ac_status); } &&
27220 { ac_try='test -z "$ac_c_werror_flag"
27221 || test ! -s conftest.err'
27222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27223 (eval $ac_try) 2>&5
27224 ac_status=$?
27225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27226 (exit $ac_status); }; } &&
27227 { ac_try='test -s conftest$ac_exeext'
27228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27229 (eval $ac_try) 2>&5
27230 ac_status=$?
27231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27232 (exit $ac_status); }; }; then
27233 eval "$as_ac_var=yes"
27234 else
27235 echo "$as_me: failed program was:" >&5
27236 sed 's/^/| /' conftest.$ac_ext >&5
27238 eval "$as_ac_var=no"
27240 rm -f conftest.err conftest.$ac_objext \
27241 conftest$ac_exeext conftest.$ac_ext
27243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27245 if test `eval echo '${'$as_ac_var'}'` = yes; then
27246 cat >>confdefs.h <<_ACEOF
27247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27248 _ACEOF
27251 done
27253 else
27255 echo "$as_me:$LINENO: checking for _modf declaration" >&5
27256 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
27257 if test x${glibcxx_cv_func__modf_use+set} != xset; then
27258 if test "${glibcxx_cv_func__modf_use+set}" = set; then
27259 echo $ECHO_N "(cached) $ECHO_C" >&6
27260 else
27264 ac_ext=cc
27265 ac_cpp='$CXXCPP $CPPFLAGS'
27266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27270 cat >conftest.$ac_ext <<_ACEOF
27271 /* confdefs.h. */
27272 _ACEOF
27273 cat confdefs.h >>conftest.$ac_ext
27274 cat >>conftest.$ac_ext <<_ACEOF
27275 /* end confdefs.h. */
27276 #include <math.h>
27278 main ()
27280 _modf(0, 0);
27282 return 0;
27284 _ACEOF
27285 rm -f conftest.$ac_objext
27286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27287 (eval $ac_compile) 2>conftest.er1
27288 ac_status=$?
27289 grep -v '^ *+' conftest.er1 >conftest.err
27290 rm -f conftest.er1
27291 cat conftest.err >&5
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); } &&
27294 { ac_try='test -z "$ac_cxx_werror_flag"
27295 || test ! -s conftest.err'
27296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27297 (eval $ac_try) 2>&5
27298 ac_status=$?
27299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27300 (exit $ac_status); }; } &&
27301 { ac_try='test -s conftest.$ac_objext'
27302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27303 (eval $ac_try) 2>&5
27304 ac_status=$?
27305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27306 (exit $ac_status); }; }; then
27307 glibcxx_cv_func__modf_use=yes
27308 else
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27312 glibcxx_cv_func__modf_use=no
27314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27315 ac_ext=c
27316 ac_cpp='$CPP $CPPFLAGS'
27317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
27326 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
27328 if test x$glibcxx_cv_func__modf_use = x"yes"; then
27330 for ac_func in _modf
27332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27333 echo "$as_me:$LINENO: checking for $ac_func" >&5
27334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27335 if eval "test \"\${$as_ac_var+set}\" = set"; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338 if test x$gcc_no_link = xyes; then
27339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27341 { (exit 1); exit 1; }; }
27343 cat >conftest.$ac_ext <<_ACEOF
27344 /* confdefs.h. */
27345 _ACEOF
27346 cat confdefs.h >>conftest.$ac_ext
27347 cat >>conftest.$ac_ext <<_ACEOF
27348 /* end confdefs.h. */
27349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27351 #define $ac_func innocuous_$ac_func
27353 /* System header to define __stub macros and hopefully few prototypes,
27354 which can conflict with char $ac_func (); below.
27355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27356 <limits.h> exists even on freestanding compilers. */
27358 #ifdef __STDC__
27359 # include <limits.h>
27360 #else
27361 # include <assert.h>
27362 #endif
27364 #undef $ac_func
27366 /* Override any gcc2 internal prototype to avoid an error. */
27367 #ifdef __cplusplus
27368 extern "C"
27370 #endif
27371 /* We use char because int might match the return type of a gcc2
27372 builtin and then its argument prototype would still apply. */
27373 char $ac_func ();
27374 /* The GNU C library defines this for functions which it implements
27375 to always fail with ENOSYS. Some functions are actually named
27376 something starting with __ and the normal name is an alias. */
27377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27378 choke me
27379 #else
27380 char (*f) () = $ac_func;
27381 #endif
27382 #ifdef __cplusplus
27384 #endif
27387 main ()
27389 return f != $ac_func;
27391 return 0;
27393 _ACEOF
27394 rm -f conftest.$ac_objext conftest$ac_exeext
27395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27396 (eval $ac_link) 2>conftest.er1
27397 ac_status=$?
27398 grep -v '^ *+' conftest.er1 >conftest.err
27399 rm -f conftest.er1
27400 cat conftest.err >&5
27401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27402 (exit $ac_status); } &&
27403 { ac_try='test -z "$ac_c_werror_flag"
27404 || test ! -s conftest.err'
27405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27406 (eval $ac_try) 2>&5
27407 ac_status=$?
27408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27409 (exit $ac_status); }; } &&
27410 { ac_try='test -s conftest$ac_exeext'
27411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27412 (eval $ac_try) 2>&5
27413 ac_status=$?
27414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27415 (exit $ac_status); }; }; then
27416 eval "$as_ac_var=yes"
27417 else
27418 echo "$as_me: failed program was:" >&5
27419 sed 's/^/| /' conftest.$ac_ext >&5
27421 eval "$as_ac_var=no"
27423 rm -f conftest.err conftest.$ac_objext \
27424 conftest$ac_exeext conftest.$ac_ext
27426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27428 if test `eval echo '${'$as_ac_var'}'` = yes; then
27429 cat >>confdefs.h <<_ACEOF
27430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27431 _ACEOF
27434 done
27444 echo "$as_me:$LINENO: checking for powf declaration" >&5
27445 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
27446 if test x${glibcxx_cv_func_powf_use+set} != xset; then
27447 if test "${glibcxx_cv_func_powf_use+set}" = set; then
27448 echo $ECHO_N "(cached) $ECHO_C" >&6
27449 else
27453 ac_ext=cc
27454 ac_cpp='$CXXCPP $CPPFLAGS'
27455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465 #include <math.h>
27467 main ()
27469 powf(0, 0);
27471 return 0;
27473 _ACEOF
27474 rm -f conftest.$ac_objext
27475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27476 (eval $ac_compile) 2>conftest.er1
27477 ac_status=$?
27478 grep -v '^ *+' conftest.er1 >conftest.err
27479 rm -f conftest.er1
27480 cat conftest.err >&5
27481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27482 (exit $ac_status); } &&
27483 { ac_try='test -z "$ac_cxx_werror_flag"
27484 || test ! -s conftest.err'
27485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27486 (eval $ac_try) 2>&5
27487 ac_status=$?
27488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27489 (exit $ac_status); }; } &&
27490 { ac_try='test -s conftest.$ac_objext'
27491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27492 (eval $ac_try) 2>&5
27493 ac_status=$?
27494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27495 (exit $ac_status); }; }; then
27496 glibcxx_cv_func_powf_use=yes
27497 else
27498 echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27501 glibcxx_cv_func_powf_use=no
27503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27504 ac_ext=c
27505 ac_cpp='$CPP $CPPFLAGS'
27506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27514 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
27515 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
27517 if test x$glibcxx_cv_func_powf_use = x"yes"; then
27519 for ac_func in powf
27521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27522 echo "$as_me:$LINENO: checking for $ac_func" >&5
27523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27524 if eval "test \"\${$as_ac_var+set}\" = set"; then
27525 echo $ECHO_N "(cached) $ECHO_C" >&6
27526 else
27527 if test x$gcc_no_link = xyes; then
27528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27530 { (exit 1); exit 1; }; }
27532 cat >conftest.$ac_ext <<_ACEOF
27533 /* confdefs.h. */
27534 _ACEOF
27535 cat confdefs.h >>conftest.$ac_ext
27536 cat >>conftest.$ac_ext <<_ACEOF
27537 /* end confdefs.h. */
27538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27540 #define $ac_func innocuous_$ac_func
27542 /* System header to define __stub macros and hopefully few prototypes,
27543 which can conflict with char $ac_func (); below.
27544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27545 <limits.h> exists even on freestanding compilers. */
27547 #ifdef __STDC__
27548 # include <limits.h>
27549 #else
27550 # include <assert.h>
27551 #endif
27553 #undef $ac_func
27555 /* Override any gcc2 internal prototype to avoid an error. */
27556 #ifdef __cplusplus
27557 extern "C"
27559 #endif
27560 /* We use char because int might match the return type of a gcc2
27561 builtin and then its argument prototype would still apply. */
27562 char $ac_func ();
27563 /* The GNU C library defines this for functions which it implements
27564 to always fail with ENOSYS. Some functions are actually named
27565 something starting with __ and the normal name is an alias. */
27566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27567 choke me
27568 #else
27569 char (*f) () = $ac_func;
27570 #endif
27571 #ifdef __cplusplus
27573 #endif
27576 main ()
27578 return f != $ac_func;
27580 return 0;
27582 _ACEOF
27583 rm -f conftest.$ac_objext conftest$ac_exeext
27584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27585 (eval $ac_link) 2>conftest.er1
27586 ac_status=$?
27587 grep -v '^ *+' conftest.er1 >conftest.err
27588 rm -f conftest.er1
27589 cat conftest.err >&5
27590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27591 (exit $ac_status); } &&
27592 { ac_try='test -z "$ac_c_werror_flag"
27593 || test ! -s conftest.err'
27594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27595 (eval $ac_try) 2>&5
27596 ac_status=$?
27597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27598 (exit $ac_status); }; } &&
27599 { ac_try='test -s conftest$ac_exeext'
27600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27601 (eval $ac_try) 2>&5
27602 ac_status=$?
27603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27604 (exit $ac_status); }; }; then
27605 eval "$as_ac_var=yes"
27606 else
27607 echo "$as_me: failed program was:" >&5
27608 sed 's/^/| /' conftest.$ac_ext >&5
27610 eval "$as_ac_var=no"
27612 rm -f conftest.err conftest.$ac_objext \
27613 conftest$ac_exeext conftest.$ac_ext
27615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27617 if test `eval echo '${'$as_ac_var'}'` = yes; then
27618 cat >>confdefs.h <<_ACEOF
27619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27620 _ACEOF
27623 done
27625 else
27627 echo "$as_me:$LINENO: checking for _powf declaration" >&5
27628 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
27629 if test x${glibcxx_cv_func__powf_use+set} != xset; then
27630 if test "${glibcxx_cv_func__powf_use+set}" = set; then
27631 echo $ECHO_N "(cached) $ECHO_C" >&6
27632 else
27636 ac_ext=cc
27637 ac_cpp='$CXXCPP $CPPFLAGS'
27638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27642 cat >conftest.$ac_ext <<_ACEOF
27643 /* confdefs.h. */
27644 _ACEOF
27645 cat confdefs.h >>conftest.$ac_ext
27646 cat >>conftest.$ac_ext <<_ACEOF
27647 /* end confdefs.h. */
27648 #include <math.h>
27650 main ()
27652 _powf(0, 0);
27654 return 0;
27656 _ACEOF
27657 rm -f conftest.$ac_objext
27658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27659 (eval $ac_compile) 2>conftest.er1
27660 ac_status=$?
27661 grep -v '^ *+' conftest.er1 >conftest.err
27662 rm -f conftest.er1
27663 cat conftest.err >&5
27664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27665 (exit $ac_status); } &&
27666 { ac_try='test -z "$ac_cxx_werror_flag"
27667 || test ! -s conftest.err'
27668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27669 (eval $ac_try) 2>&5
27670 ac_status=$?
27671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27672 (exit $ac_status); }; } &&
27673 { ac_try='test -s conftest.$ac_objext'
27674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27675 (eval $ac_try) 2>&5
27676 ac_status=$?
27677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27678 (exit $ac_status); }; }; then
27679 glibcxx_cv_func__powf_use=yes
27680 else
27681 echo "$as_me: failed program was:" >&5
27682 sed 's/^/| /' conftest.$ac_ext >&5
27684 glibcxx_cv_func__powf_use=no
27686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27687 ac_ext=c
27688 ac_cpp='$CPP $CPPFLAGS'
27689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
27698 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
27700 if test x$glibcxx_cv_func__powf_use = x"yes"; then
27702 for ac_func in _powf
27704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27705 echo "$as_me:$LINENO: checking for $ac_func" >&5
27706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27707 if eval "test \"\${$as_ac_var+set}\" = set"; then
27708 echo $ECHO_N "(cached) $ECHO_C" >&6
27709 else
27710 if test x$gcc_no_link = xyes; then
27711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27713 { (exit 1); exit 1; }; }
27715 cat >conftest.$ac_ext <<_ACEOF
27716 /* confdefs.h. */
27717 _ACEOF
27718 cat confdefs.h >>conftest.$ac_ext
27719 cat >>conftest.$ac_ext <<_ACEOF
27720 /* end confdefs.h. */
27721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27723 #define $ac_func innocuous_$ac_func
27725 /* System header to define __stub macros and hopefully few prototypes,
27726 which can conflict with char $ac_func (); below.
27727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27728 <limits.h> exists even on freestanding compilers. */
27730 #ifdef __STDC__
27731 # include <limits.h>
27732 #else
27733 # include <assert.h>
27734 #endif
27736 #undef $ac_func
27738 /* Override any gcc2 internal prototype to avoid an error. */
27739 #ifdef __cplusplus
27740 extern "C"
27742 #endif
27743 /* We use char because int might match the return type of a gcc2
27744 builtin and then its argument prototype would still apply. */
27745 char $ac_func ();
27746 /* The GNU C library defines this for functions which it implements
27747 to always fail with ENOSYS. Some functions are actually named
27748 something starting with __ and the normal name is an alias. */
27749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27750 choke me
27751 #else
27752 char (*f) () = $ac_func;
27753 #endif
27754 #ifdef __cplusplus
27756 #endif
27759 main ()
27761 return f != $ac_func;
27763 return 0;
27765 _ACEOF
27766 rm -f conftest.$ac_objext conftest$ac_exeext
27767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27768 (eval $ac_link) 2>conftest.er1
27769 ac_status=$?
27770 grep -v '^ *+' conftest.er1 >conftest.err
27771 rm -f conftest.er1
27772 cat conftest.err >&5
27773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27774 (exit $ac_status); } &&
27775 { ac_try='test -z "$ac_c_werror_flag"
27776 || test ! -s conftest.err'
27777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27778 (eval $ac_try) 2>&5
27779 ac_status=$?
27780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27781 (exit $ac_status); }; } &&
27782 { ac_try='test -s conftest$ac_exeext'
27783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27784 (eval $ac_try) 2>&5
27785 ac_status=$?
27786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27787 (exit $ac_status); }; }; then
27788 eval "$as_ac_var=yes"
27789 else
27790 echo "$as_me: failed program was:" >&5
27791 sed 's/^/| /' conftest.$ac_ext >&5
27793 eval "$as_ac_var=no"
27795 rm -f conftest.err conftest.$ac_objext \
27796 conftest$ac_exeext conftest.$ac_ext
27798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27800 if test `eval echo '${'$as_ac_var'}'` = yes; then
27801 cat >>confdefs.h <<_ACEOF
27802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27803 _ACEOF
27806 done
27816 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
27817 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
27818 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
27819 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
27820 echo $ECHO_N "(cached) $ECHO_C" >&6
27821 else
27825 ac_ext=cc
27826 ac_cpp='$CXXCPP $CPPFLAGS'
27827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27831 cat >conftest.$ac_ext <<_ACEOF
27832 /* confdefs.h. */
27833 _ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837 #include <math.h>
27838 #ifdef HAVE_IEEEFP_H
27839 #include <ieeefp.h>
27840 #endif
27843 main ()
27845 sqrtf(0);
27847 return 0;
27849 _ACEOF
27850 rm -f conftest.$ac_objext
27851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27852 (eval $ac_compile) 2>conftest.er1
27853 ac_status=$?
27854 grep -v '^ *+' conftest.er1 >conftest.err
27855 rm -f conftest.er1
27856 cat conftest.err >&5
27857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27858 (exit $ac_status); } &&
27859 { ac_try='test -z "$ac_cxx_werror_flag"
27860 || test ! -s conftest.err'
27861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27862 (eval $ac_try) 2>&5
27863 ac_status=$?
27864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27865 (exit $ac_status); }; } &&
27866 { ac_try='test -s conftest.$ac_objext'
27867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27868 (eval $ac_try) 2>&5
27869 ac_status=$?
27870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27871 (exit $ac_status); }; }; then
27872 glibcxx_cv_func_sqrtf_use=yes
27873 else
27874 echo "$as_me: failed program was:" >&5
27875 sed 's/^/| /' conftest.$ac_ext >&5
27877 glibcxx_cv_func_sqrtf_use=no
27879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27880 ac_ext=c
27881 ac_cpp='$CPP $CPPFLAGS'
27882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
27891 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
27893 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
27895 for ac_func in sqrtf
27897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27898 echo "$as_me:$LINENO: checking for $ac_func" >&5
27899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27900 if eval "test \"\${$as_ac_var+set}\" = set"; then
27901 echo $ECHO_N "(cached) $ECHO_C" >&6
27902 else
27903 if test x$gcc_no_link = xyes; then
27904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27906 { (exit 1); exit 1; }; }
27908 cat >conftest.$ac_ext <<_ACEOF
27909 /* confdefs.h. */
27910 _ACEOF
27911 cat confdefs.h >>conftest.$ac_ext
27912 cat >>conftest.$ac_ext <<_ACEOF
27913 /* end confdefs.h. */
27914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27916 #define $ac_func innocuous_$ac_func
27918 /* System header to define __stub macros and hopefully few prototypes,
27919 which can conflict with char $ac_func (); below.
27920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27921 <limits.h> exists even on freestanding compilers. */
27923 #ifdef __STDC__
27924 # include <limits.h>
27925 #else
27926 # include <assert.h>
27927 #endif
27929 #undef $ac_func
27931 /* Override any gcc2 internal prototype to avoid an error. */
27932 #ifdef __cplusplus
27933 extern "C"
27935 #endif
27936 /* We use char because int might match the return type of a gcc2
27937 builtin and then its argument prototype would still apply. */
27938 char $ac_func ();
27939 /* The GNU C library defines this for functions which it implements
27940 to always fail with ENOSYS. Some functions are actually named
27941 something starting with __ and the normal name is an alias. */
27942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27943 choke me
27944 #else
27945 char (*f) () = $ac_func;
27946 #endif
27947 #ifdef __cplusplus
27949 #endif
27952 main ()
27954 return f != $ac_func;
27956 return 0;
27958 _ACEOF
27959 rm -f conftest.$ac_objext conftest$ac_exeext
27960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27961 (eval $ac_link) 2>conftest.er1
27962 ac_status=$?
27963 grep -v '^ *+' conftest.er1 >conftest.err
27964 rm -f conftest.er1
27965 cat conftest.err >&5
27966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27967 (exit $ac_status); } &&
27968 { ac_try='test -z "$ac_c_werror_flag"
27969 || test ! -s conftest.err'
27970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27971 (eval $ac_try) 2>&5
27972 ac_status=$?
27973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27974 (exit $ac_status); }; } &&
27975 { ac_try='test -s conftest$ac_exeext'
27976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27977 (eval $ac_try) 2>&5
27978 ac_status=$?
27979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27980 (exit $ac_status); }; }; then
27981 eval "$as_ac_var=yes"
27982 else
27983 echo "$as_me: failed program was:" >&5
27984 sed 's/^/| /' conftest.$ac_ext >&5
27986 eval "$as_ac_var=no"
27988 rm -f conftest.err conftest.$ac_objext \
27989 conftest$ac_exeext conftest.$ac_ext
27991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27993 if test `eval echo '${'$as_ac_var'}'` = yes; then
27994 cat >>confdefs.h <<_ACEOF
27995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27996 _ACEOF
27999 done
28001 else
28003 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
28004 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
28005 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
28006 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
28007 echo $ECHO_N "(cached) $ECHO_C" >&6
28008 else
28012 ac_ext=cc
28013 ac_cpp='$CXXCPP $CPPFLAGS'
28014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28018 cat >conftest.$ac_ext <<_ACEOF
28019 /* confdefs.h. */
28020 _ACEOF
28021 cat confdefs.h >>conftest.$ac_ext
28022 cat >>conftest.$ac_ext <<_ACEOF
28023 /* end confdefs.h. */
28024 #include <math.h>
28025 #ifdef HAVE_IEEEFP_H
28026 #include <ieeefp.h>
28027 #endif
28030 main ()
28032 _sqrtf(0);
28034 return 0;
28036 _ACEOF
28037 rm -f conftest.$ac_objext
28038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28039 (eval $ac_compile) 2>conftest.er1
28040 ac_status=$?
28041 grep -v '^ *+' conftest.er1 >conftest.err
28042 rm -f conftest.er1
28043 cat conftest.err >&5
28044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28045 (exit $ac_status); } &&
28046 { ac_try='test -z "$ac_cxx_werror_flag"
28047 || test ! -s conftest.err'
28048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28049 (eval $ac_try) 2>&5
28050 ac_status=$?
28051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28052 (exit $ac_status); }; } &&
28053 { ac_try='test -s conftest.$ac_objext'
28054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28055 (eval $ac_try) 2>&5
28056 ac_status=$?
28057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28058 (exit $ac_status); }; }; then
28059 glibcxx_cv_func__sqrtf_use=yes
28060 else
28061 echo "$as_me: failed program was:" >&5
28062 sed 's/^/| /' conftest.$ac_ext >&5
28064 glibcxx_cv_func__sqrtf_use=no
28066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28067 ac_ext=c
28068 ac_cpp='$CPP $CPPFLAGS'
28069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
28078 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
28080 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
28082 for ac_func in _sqrtf
28084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28085 echo "$as_me:$LINENO: checking for $ac_func" >&5
28086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28087 if eval "test \"\${$as_ac_var+set}\" = set"; then
28088 echo $ECHO_N "(cached) $ECHO_C" >&6
28089 else
28090 if test x$gcc_no_link = xyes; then
28091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28093 { (exit 1); exit 1; }; }
28095 cat >conftest.$ac_ext <<_ACEOF
28096 /* confdefs.h. */
28097 _ACEOF
28098 cat confdefs.h >>conftest.$ac_ext
28099 cat >>conftest.$ac_ext <<_ACEOF
28100 /* end confdefs.h. */
28101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28103 #define $ac_func innocuous_$ac_func
28105 /* System header to define __stub macros and hopefully few prototypes,
28106 which can conflict with char $ac_func (); below.
28107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28108 <limits.h> exists even on freestanding compilers. */
28110 #ifdef __STDC__
28111 # include <limits.h>
28112 #else
28113 # include <assert.h>
28114 #endif
28116 #undef $ac_func
28118 /* Override any gcc2 internal prototype to avoid an error. */
28119 #ifdef __cplusplus
28120 extern "C"
28122 #endif
28123 /* We use char because int might match the return type of a gcc2
28124 builtin and then its argument prototype would still apply. */
28125 char $ac_func ();
28126 /* The GNU C library defines this for functions which it implements
28127 to always fail with ENOSYS. Some functions are actually named
28128 something starting with __ and the normal name is an alias. */
28129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28130 choke me
28131 #else
28132 char (*f) () = $ac_func;
28133 #endif
28134 #ifdef __cplusplus
28136 #endif
28139 main ()
28141 return f != $ac_func;
28143 return 0;
28145 _ACEOF
28146 rm -f conftest.$ac_objext conftest$ac_exeext
28147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28148 (eval $ac_link) 2>conftest.er1
28149 ac_status=$?
28150 grep -v '^ *+' conftest.er1 >conftest.err
28151 rm -f conftest.er1
28152 cat conftest.err >&5
28153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28154 (exit $ac_status); } &&
28155 { ac_try='test -z "$ac_c_werror_flag"
28156 || test ! -s conftest.err'
28157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28158 (eval $ac_try) 2>&5
28159 ac_status=$?
28160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28161 (exit $ac_status); }; } &&
28162 { ac_try='test -s conftest$ac_exeext'
28163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28164 (eval $ac_try) 2>&5
28165 ac_status=$?
28166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28167 (exit $ac_status); }; }; then
28168 eval "$as_ac_var=yes"
28169 else
28170 echo "$as_me: failed program was:" >&5
28171 sed 's/^/| /' conftest.$ac_ext >&5
28173 eval "$as_ac_var=no"
28175 rm -f conftest.err conftest.$ac_objext \
28176 conftest$ac_exeext conftest.$ac_ext
28178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28180 if test `eval echo '${'$as_ac_var'}'` = yes; then
28181 cat >>confdefs.h <<_ACEOF
28182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28183 _ACEOF
28186 done
28196 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
28197 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
28198 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
28199 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
28200 echo $ECHO_N "(cached) $ECHO_C" >&6
28201 else
28205 ac_ext=cc
28206 ac_cpp='$CXXCPP $CPPFLAGS'
28207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28211 cat >conftest.$ac_ext <<_ACEOF
28212 /* confdefs.h. */
28213 _ACEOF
28214 cat confdefs.h >>conftest.$ac_ext
28215 cat >>conftest.$ac_ext <<_ACEOF
28216 /* end confdefs.h. */
28217 #include <math.h>
28219 main ()
28221 sincosf(0, 0, 0);
28223 return 0;
28225 _ACEOF
28226 rm -f conftest.$ac_objext
28227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28228 (eval $ac_compile) 2>conftest.er1
28229 ac_status=$?
28230 grep -v '^ *+' conftest.er1 >conftest.err
28231 rm -f conftest.er1
28232 cat conftest.err >&5
28233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28234 (exit $ac_status); } &&
28235 { ac_try='test -z "$ac_cxx_werror_flag"
28236 || test ! -s conftest.err'
28237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28238 (eval $ac_try) 2>&5
28239 ac_status=$?
28240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28241 (exit $ac_status); }; } &&
28242 { ac_try='test -s conftest.$ac_objext'
28243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28244 (eval $ac_try) 2>&5
28245 ac_status=$?
28246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28247 (exit $ac_status); }; }; then
28248 glibcxx_cv_func_sincosf_use=yes
28249 else
28250 echo "$as_me: failed program was:" >&5
28251 sed 's/^/| /' conftest.$ac_ext >&5
28253 glibcxx_cv_func_sincosf_use=no
28255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28256 ac_ext=c
28257 ac_cpp='$CPP $CPPFLAGS'
28258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
28267 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
28269 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
28271 for ac_func in sincosf
28273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28274 echo "$as_me:$LINENO: checking for $ac_func" >&5
28275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28276 if eval "test \"\${$as_ac_var+set}\" = set"; then
28277 echo $ECHO_N "(cached) $ECHO_C" >&6
28278 else
28279 if test x$gcc_no_link = xyes; then
28280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28282 { (exit 1); exit 1; }; }
28284 cat >conftest.$ac_ext <<_ACEOF
28285 /* confdefs.h. */
28286 _ACEOF
28287 cat confdefs.h >>conftest.$ac_ext
28288 cat >>conftest.$ac_ext <<_ACEOF
28289 /* end confdefs.h. */
28290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28292 #define $ac_func innocuous_$ac_func
28294 /* System header to define __stub macros and hopefully few prototypes,
28295 which can conflict with char $ac_func (); below.
28296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28297 <limits.h> exists even on freestanding compilers. */
28299 #ifdef __STDC__
28300 # include <limits.h>
28301 #else
28302 # include <assert.h>
28303 #endif
28305 #undef $ac_func
28307 /* Override any gcc2 internal prototype to avoid an error. */
28308 #ifdef __cplusplus
28309 extern "C"
28311 #endif
28312 /* We use char because int might match the return type of a gcc2
28313 builtin and then its argument prototype would still apply. */
28314 char $ac_func ();
28315 /* The GNU C library defines this for functions which it implements
28316 to always fail with ENOSYS. Some functions are actually named
28317 something starting with __ and the normal name is an alias. */
28318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28319 choke me
28320 #else
28321 char (*f) () = $ac_func;
28322 #endif
28323 #ifdef __cplusplus
28325 #endif
28328 main ()
28330 return f != $ac_func;
28332 return 0;
28334 _ACEOF
28335 rm -f conftest.$ac_objext conftest$ac_exeext
28336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28337 (eval $ac_link) 2>conftest.er1
28338 ac_status=$?
28339 grep -v '^ *+' conftest.er1 >conftest.err
28340 rm -f conftest.er1
28341 cat conftest.err >&5
28342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28343 (exit $ac_status); } &&
28344 { ac_try='test -z "$ac_c_werror_flag"
28345 || test ! -s conftest.err'
28346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28347 (eval $ac_try) 2>&5
28348 ac_status=$?
28349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28350 (exit $ac_status); }; } &&
28351 { ac_try='test -s conftest$ac_exeext'
28352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28353 (eval $ac_try) 2>&5
28354 ac_status=$?
28355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28356 (exit $ac_status); }; }; then
28357 eval "$as_ac_var=yes"
28358 else
28359 echo "$as_me: failed program was:" >&5
28360 sed 's/^/| /' conftest.$ac_ext >&5
28362 eval "$as_ac_var=no"
28364 rm -f conftest.err conftest.$ac_objext \
28365 conftest$ac_exeext conftest.$ac_ext
28367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28369 if test `eval echo '${'$as_ac_var'}'` = yes; then
28370 cat >>confdefs.h <<_ACEOF
28371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28372 _ACEOF
28375 done
28377 else
28379 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
28380 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
28381 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
28382 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
28383 echo $ECHO_N "(cached) $ECHO_C" >&6
28384 else
28388 ac_ext=cc
28389 ac_cpp='$CXXCPP $CPPFLAGS'
28390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28394 cat >conftest.$ac_ext <<_ACEOF
28395 /* confdefs.h. */
28396 _ACEOF
28397 cat confdefs.h >>conftest.$ac_ext
28398 cat >>conftest.$ac_ext <<_ACEOF
28399 /* end confdefs.h. */
28400 #include <math.h>
28402 main ()
28404 _sincosf(0, 0, 0);
28406 return 0;
28408 _ACEOF
28409 rm -f conftest.$ac_objext
28410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28411 (eval $ac_compile) 2>conftest.er1
28412 ac_status=$?
28413 grep -v '^ *+' conftest.er1 >conftest.err
28414 rm -f conftest.er1
28415 cat conftest.err >&5
28416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28417 (exit $ac_status); } &&
28418 { ac_try='test -z "$ac_cxx_werror_flag"
28419 || test ! -s conftest.err'
28420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28421 (eval $ac_try) 2>&5
28422 ac_status=$?
28423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28424 (exit $ac_status); }; } &&
28425 { ac_try='test -s conftest.$ac_objext'
28426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28427 (eval $ac_try) 2>&5
28428 ac_status=$?
28429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28430 (exit $ac_status); }; }; then
28431 glibcxx_cv_func__sincosf_use=yes
28432 else
28433 echo "$as_me: failed program was:" >&5
28434 sed 's/^/| /' conftest.$ac_ext >&5
28436 glibcxx_cv_func__sincosf_use=no
28438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28439 ac_ext=c
28440 ac_cpp='$CPP $CPPFLAGS'
28441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
28450 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
28452 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
28454 for ac_func in _sincosf
28456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28457 echo "$as_me:$LINENO: checking for $ac_func" >&5
28458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28459 if eval "test \"\${$as_ac_var+set}\" = set"; then
28460 echo $ECHO_N "(cached) $ECHO_C" >&6
28461 else
28462 if test x$gcc_no_link = xyes; then
28463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28465 { (exit 1); exit 1; }; }
28467 cat >conftest.$ac_ext <<_ACEOF
28468 /* confdefs.h. */
28469 _ACEOF
28470 cat confdefs.h >>conftest.$ac_ext
28471 cat >>conftest.$ac_ext <<_ACEOF
28472 /* end confdefs.h. */
28473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28475 #define $ac_func innocuous_$ac_func
28477 /* System header to define __stub macros and hopefully few prototypes,
28478 which can conflict with char $ac_func (); below.
28479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28480 <limits.h> exists even on freestanding compilers. */
28482 #ifdef __STDC__
28483 # include <limits.h>
28484 #else
28485 # include <assert.h>
28486 #endif
28488 #undef $ac_func
28490 /* Override any gcc2 internal prototype to avoid an error. */
28491 #ifdef __cplusplus
28492 extern "C"
28494 #endif
28495 /* We use char because int might match the return type of a gcc2
28496 builtin and then its argument prototype would still apply. */
28497 char $ac_func ();
28498 /* The GNU C library defines this for functions which it implements
28499 to always fail with ENOSYS. Some functions are actually named
28500 something starting with __ and the normal name is an alias. */
28501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28502 choke me
28503 #else
28504 char (*f) () = $ac_func;
28505 #endif
28506 #ifdef __cplusplus
28508 #endif
28511 main ()
28513 return f != $ac_func;
28515 return 0;
28517 _ACEOF
28518 rm -f conftest.$ac_objext conftest$ac_exeext
28519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28520 (eval $ac_link) 2>conftest.er1
28521 ac_status=$?
28522 grep -v '^ *+' conftest.er1 >conftest.err
28523 rm -f conftest.er1
28524 cat conftest.err >&5
28525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28526 (exit $ac_status); } &&
28527 { ac_try='test -z "$ac_c_werror_flag"
28528 || test ! -s conftest.err'
28529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28530 (eval $ac_try) 2>&5
28531 ac_status=$?
28532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28533 (exit $ac_status); }; } &&
28534 { ac_try='test -s conftest$ac_exeext'
28535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28536 (eval $ac_try) 2>&5
28537 ac_status=$?
28538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28539 (exit $ac_status); }; }; then
28540 eval "$as_ac_var=yes"
28541 else
28542 echo "$as_me: failed program was:" >&5
28543 sed 's/^/| /' conftest.$ac_ext >&5
28545 eval "$as_ac_var=no"
28547 rm -f conftest.err conftest.$ac_objext \
28548 conftest$ac_exeext conftest.$ac_ext
28550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28552 if test `eval echo '${'$as_ac_var'}'` = yes; then
28553 cat >>confdefs.h <<_ACEOF
28554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28555 _ACEOF
28558 done
28568 echo "$as_me:$LINENO: checking for finitef declaration" >&5
28569 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
28570 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
28571 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
28572 echo $ECHO_N "(cached) $ECHO_C" >&6
28573 else
28577 ac_ext=cc
28578 ac_cpp='$CXXCPP $CPPFLAGS'
28579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28583 cat >conftest.$ac_ext <<_ACEOF
28584 /* confdefs.h. */
28585 _ACEOF
28586 cat confdefs.h >>conftest.$ac_ext
28587 cat >>conftest.$ac_ext <<_ACEOF
28588 /* end confdefs.h. */
28589 #include <math.h>
28590 #ifdef HAVE_IEEEFP_H
28591 #include <ieeefp.h>
28592 #endif
28595 main ()
28597 finitef(0);
28599 return 0;
28601 _ACEOF
28602 rm -f conftest.$ac_objext
28603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28604 (eval $ac_compile) 2>conftest.er1
28605 ac_status=$?
28606 grep -v '^ *+' conftest.er1 >conftest.err
28607 rm -f conftest.er1
28608 cat conftest.err >&5
28609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28610 (exit $ac_status); } &&
28611 { ac_try='test -z "$ac_cxx_werror_flag"
28612 || test ! -s conftest.err'
28613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28614 (eval $ac_try) 2>&5
28615 ac_status=$?
28616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28617 (exit $ac_status); }; } &&
28618 { ac_try='test -s conftest.$ac_objext'
28619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28620 (eval $ac_try) 2>&5
28621 ac_status=$?
28622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28623 (exit $ac_status); }; }; then
28624 glibcxx_cv_func_finitef_use=yes
28625 else
28626 echo "$as_me: failed program was:" >&5
28627 sed 's/^/| /' conftest.$ac_ext >&5
28629 glibcxx_cv_func_finitef_use=no
28631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28632 ac_ext=c
28633 ac_cpp='$CPP $CPPFLAGS'
28634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
28643 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
28645 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
28647 for ac_func in finitef
28649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28650 echo "$as_me:$LINENO: checking for $ac_func" >&5
28651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28652 if eval "test \"\${$as_ac_var+set}\" = set"; then
28653 echo $ECHO_N "(cached) $ECHO_C" >&6
28654 else
28655 if test x$gcc_no_link = xyes; then
28656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28658 { (exit 1); exit 1; }; }
28660 cat >conftest.$ac_ext <<_ACEOF
28661 /* confdefs.h. */
28662 _ACEOF
28663 cat confdefs.h >>conftest.$ac_ext
28664 cat >>conftest.$ac_ext <<_ACEOF
28665 /* end confdefs.h. */
28666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28668 #define $ac_func innocuous_$ac_func
28670 /* System header to define __stub macros and hopefully few prototypes,
28671 which can conflict with char $ac_func (); below.
28672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28673 <limits.h> exists even on freestanding compilers. */
28675 #ifdef __STDC__
28676 # include <limits.h>
28677 #else
28678 # include <assert.h>
28679 #endif
28681 #undef $ac_func
28683 /* Override any gcc2 internal prototype to avoid an error. */
28684 #ifdef __cplusplus
28685 extern "C"
28687 #endif
28688 /* We use char because int might match the return type of a gcc2
28689 builtin and then its argument prototype would still apply. */
28690 char $ac_func ();
28691 /* The GNU C library defines this for functions which it implements
28692 to always fail with ENOSYS. Some functions are actually named
28693 something starting with __ and the normal name is an alias. */
28694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28695 choke me
28696 #else
28697 char (*f) () = $ac_func;
28698 #endif
28699 #ifdef __cplusplus
28701 #endif
28704 main ()
28706 return f != $ac_func;
28708 return 0;
28710 _ACEOF
28711 rm -f conftest.$ac_objext conftest$ac_exeext
28712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28713 (eval $ac_link) 2>conftest.er1
28714 ac_status=$?
28715 grep -v '^ *+' conftest.er1 >conftest.err
28716 rm -f conftest.er1
28717 cat conftest.err >&5
28718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28719 (exit $ac_status); } &&
28720 { ac_try='test -z "$ac_c_werror_flag"
28721 || test ! -s conftest.err'
28722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28723 (eval $ac_try) 2>&5
28724 ac_status=$?
28725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28726 (exit $ac_status); }; } &&
28727 { ac_try='test -s conftest$ac_exeext'
28728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28729 (eval $ac_try) 2>&5
28730 ac_status=$?
28731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28732 (exit $ac_status); }; }; then
28733 eval "$as_ac_var=yes"
28734 else
28735 echo "$as_me: failed program was:" >&5
28736 sed 's/^/| /' conftest.$ac_ext >&5
28738 eval "$as_ac_var=no"
28740 rm -f conftest.err conftest.$ac_objext \
28741 conftest$ac_exeext conftest.$ac_ext
28743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28745 if test `eval echo '${'$as_ac_var'}'` = yes; then
28746 cat >>confdefs.h <<_ACEOF
28747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28748 _ACEOF
28751 done
28753 else
28755 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
28756 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
28757 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
28758 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
28759 echo $ECHO_N "(cached) $ECHO_C" >&6
28760 else
28764 ac_ext=cc
28765 ac_cpp='$CXXCPP $CPPFLAGS'
28766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28770 cat >conftest.$ac_ext <<_ACEOF
28771 /* confdefs.h. */
28772 _ACEOF
28773 cat confdefs.h >>conftest.$ac_ext
28774 cat >>conftest.$ac_ext <<_ACEOF
28775 /* end confdefs.h. */
28776 #include <math.h>
28777 #ifdef HAVE_IEEEFP_H
28778 #include <ieeefp.h>
28779 #endif
28782 main ()
28784 _finitef(0);
28786 return 0;
28788 _ACEOF
28789 rm -f conftest.$ac_objext
28790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28791 (eval $ac_compile) 2>conftest.er1
28792 ac_status=$?
28793 grep -v '^ *+' conftest.er1 >conftest.err
28794 rm -f conftest.er1
28795 cat conftest.err >&5
28796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28797 (exit $ac_status); } &&
28798 { ac_try='test -z "$ac_cxx_werror_flag"
28799 || test ! -s conftest.err'
28800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28801 (eval $ac_try) 2>&5
28802 ac_status=$?
28803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28804 (exit $ac_status); }; } &&
28805 { ac_try='test -s conftest.$ac_objext'
28806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28807 (eval $ac_try) 2>&5
28808 ac_status=$?
28809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28810 (exit $ac_status); }; }; then
28811 glibcxx_cv_func__finitef_use=yes
28812 else
28813 echo "$as_me: failed program was:" >&5
28814 sed 's/^/| /' conftest.$ac_ext >&5
28816 glibcxx_cv_func__finitef_use=no
28818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28819 ac_ext=c
28820 ac_cpp='$CPP $CPPFLAGS'
28821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
28830 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
28832 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
28834 for ac_func in _finitef
28836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28837 echo "$as_me:$LINENO: checking for $ac_func" >&5
28838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28839 if eval "test \"\${$as_ac_var+set}\" = set"; then
28840 echo $ECHO_N "(cached) $ECHO_C" >&6
28841 else
28842 if test x$gcc_no_link = xyes; then
28843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28845 { (exit 1); exit 1; }; }
28847 cat >conftest.$ac_ext <<_ACEOF
28848 /* confdefs.h. */
28849 _ACEOF
28850 cat confdefs.h >>conftest.$ac_ext
28851 cat >>conftest.$ac_ext <<_ACEOF
28852 /* end confdefs.h. */
28853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28855 #define $ac_func innocuous_$ac_func
28857 /* System header to define __stub macros and hopefully few prototypes,
28858 which can conflict with char $ac_func (); below.
28859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28860 <limits.h> exists even on freestanding compilers. */
28862 #ifdef __STDC__
28863 # include <limits.h>
28864 #else
28865 # include <assert.h>
28866 #endif
28868 #undef $ac_func
28870 /* Override any gcc2 internal prototype to avoid an error. */
28871 #ifdef __cplusplus
28872 extern "C"
28874 #endif
28875 /* We use char because int might match the return type of a gcc2
28876 builtin and then its argument prototype would still apply. */
28877 char $ac_func ();
28878 /* The GNU C library defines this for functions which it implements
28879 to always fail with ENOSYS. Some functions are actually named
28880 something starting with __ and the normal name is an alias. */
28881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28882 choke me
28883 #else
28884 char (*f) () = $ac_func;
28885 #endif
28886 #ifdef __cplusplus
28888 #endif
28891 main ()
28893 return f != $ac_func;
28895 return 0;
28897 _ACEOF
28898 rm -f conftest.$ac_objext conftest$ac_exeext
28899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28900 (eval $ac_link) 2>conftest.er1
28901 ac_status=$?
28902 grep -v '^ *+' conftest.er1 >conftest.err
28903 rm -f conftest.er1
28904 cat conftest.err >&5
28905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28906 (exit $ac_status); } &&
28907 { ac_try='test -z "$ac_c_werror_flag"
28908 || test ! -s conftest.err'
28909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28910 (eval $ac_try) 2>&5
28911 ac_status=$?
28912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28913 (exit $ac_status); }; } &&
28914 { ac_try='test -s conftest$ac_exeext'
28915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28916 (eval $ac_try) 2>&5
28917 ac_status=$?
28918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28919 (exit $ac_status); }; }; then
28920 eval "$as_ac_var=yes"
28921 else
28922 echo "$as_me: failed program was:" >&5
28923 sed 's/^/| /' conftest.$ac_ext >&5
28925 eval "$as_ac_var=no"
28927 rm -f conftest.err conftest.$ac_objext \
28928 conftest$ac_exeext conftest.$ac_ext
28930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28932 if test `eval echo '${'$as_ac_var'}'` = yes; then
28933 cat >>confdefs.h <<_ACEOF
28934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28935 _ACEOF
28938 done
28948 echo "$as_me:$LINENO: checking for long double trig functions" >&5
28949 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
28950 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
28951 echo $ECHO_N "(cached) $ECHO_C" >&6
28952 else
28956 ac_ext=cc
28957 ac_cpp='$CXXCPP $CPPFLAGS'
28958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28962 cat >conftest.$ac_ext <<_ACEOF
28963 /* confdefs.h. */
28964 _ACEOF
28965 cat confdefs.h >>conftest.$ac_ext
28966 cat >>conftest.$ac_ext <<_ACEOF
28967 /* end confdefs.h. */
28968 #include <math.h>
28970 main ()
28972 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
28974 return 0;
28976 _ACEOF
28977 rm -f conftest.$ac_objext
28978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28979 (eval $ac_compile) 2>conftest.er1
28980 ac_status=$?
28981 grep -v '^ *+' conftest.er1 >conftest.err
28982 rm -f conftest.er1
28983 cat conftest.err >&5
28984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28985 (exit $ac_status); } &&
28986 { ac_try='test -z "$ac_cxx_werror_flag"
28987 || test ! -s conftest.err'
28988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28989 (eval $ac_try) 2>&5
28990 ac_status=$?
28991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28992 (exit $ac_status); }; } &&
28993 { ac_try='test -s conftest.$ac_objext'
28994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28995 (eval $ac_try) 2>&5
28996 ac_status=$?
28997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28998 (exit $ac_status); }; }; then
28999 glibcxx_cv_func_long_double_trig_use=yes
29000 else
29001 echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29004 glibcxx_cv_func_long_double_trig_use=no
29006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29007 ac_ext=c
29008 ac_cpp='$CPP $CPPFLAGS'
29009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
29016 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
29017 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
29027 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
29029 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29030 echo "$as_me:$LINENO: checking for $ac_func" >&5
29031 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29032 if eval "test \"\${$as_ac_var+set}\" = set"; then
29033 echo $ECHO_N "(cached) $ECHO_C" >&6
29034 else
29035 if test x$gcc_no_link = xyes; then
29036 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29037 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29038 { (exit 1); exit 1; }; }
29040 cat >conftest.$ac_ext <<_ACEOF
29041 /* confdefs.h. */
29042 _ACEOF
29043 cat confdefs.h >>conftest.$ac_ext
29044 cat >>conftest.$ac_ext <<_ACEOF
29045 /* end confdefs.h. */
29046 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29048 #define $ac_func innocuous_$ac_func
29050 /* System header to define __stub macros and hopefully few prototypes,
29051 which can conflict with char $ac_func (); below.
29052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29053 <limits.h> exists even on freestanding compilers. */
29055 #ifdef __STDC__
29056 # include <limits.h>
29057 #else
29058 # include <assert.h>
29059 #endif
29061 #undef $ac_func
29063 /* Override any gcc2 internal prototype to avoid an error. */
29064 #ifdef __cplusplus
29065 extern "C"
29067 #endif
29068 /* We use char because int might match the return type of a gcc2
29069 builtin and then its argument prototype would still apply. */
29070 char $ac_func ();
29071 /* The GNU C library defines this for functions which it implements
29072 to always fail with ENOSYS. Some functions are actually named
29073 something starting with __ and the normal name is an alias. */
29074 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29075 choke me
29076 #else
29077 char (*f) () = $ac_func;
29078 #endif
29079 #ifdef __cplusplus
29081 #endif
29084 main ()
29086 return f != $ac_func;
29088 return 0;
29090 _ACEOF
29091 rm -f conftest.$ac_objext conftest$ac_exeext
29092 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29093 (eval $ac_link) 2>conftest.er1
29094 ac_status=$?
29095 grep -v '^ *+' conftest.er1 >conftest.err
29096 rm -f conftest.er1
29097 cat conftest.err >&5
29098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29099 (exit $ac_status); } &&
29100 { ac_try='test -z "$ac_c_werror_flag"
29101 || test ! -s conftest.err'
29102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29103 (eval $ac_try) 2>&5
29104 ac_status=$?
29105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29106 (exit $ac_status); }; } &&
29107 { ac_try='test -s conftest$ac_exeext'
29108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29109 (eval $ac_try) 2>&5
29110 ac_status=$?
29111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29112 (exit $ac_status); }; }; then
29113 eval "$as_ac_var=yes"
29114 else
29115 echo "$as_me: failed program was:" >&5
29116 sed 's/^/| /' conftest.$ac_ext >&5
29118 eval "$as_ac_var=no"
29120 rm -f conftest.err conftest.$ac_objext \
29121 conftest$ac_exeext conftest.$ac_ext
29123 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29124 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29125 if test `eval echo '${'$as_ac_var'}'` = yes; then
29126 cat >>confdefs.h <<_ACEOF
29127 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29128 _ACEOF
29131 done
29133 else
29134 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
29135 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
29136 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
29137 echo $ECHO_N "(cached) $ECHO_C" >&6
29138 else
29142 ac_ext=cc
29143 ac_cpp='$CXXCPP $CPPFLAGS'
29144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29148 cat >conftest.$ac_ext <<_ACEOF
29149 /* confdefs.h. */
29150 _ACEOF
29151 cat confdefs.h >>conftest.$ac_ext
29152 cat >>conftest.$ac_ext <<_ACEOF
29153 /* end confdefs.h. */
29154 #include <math.h>
29156 main ()
29158 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
29160 return 0;
29162 _ACEOF
29163 rm -f conftest.$ac_objext
29164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29165 (eval $ac_compile) 2>conftest.er1
29166 ac_status=$?
29167 grep -v '^ *+' conftest.er1 >conftest.err
29168 rm -f conftest.er1
29169 cat conftest.err >&5
29170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29171 (exit $ac_status); } &&
29172 { ac_try='test -z "$ac_cxx_werror_flag"
29173 || test ! -s conftest.err'
29174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29175 (eval $ac_try) 2>&5
29176 ac_status=$?
29177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29178 (exit $ac_status); }; } &&
29179 { ac_try='test -s conftest.$ac_objext'
29180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29181 (eval $ac_try) 2>&5
29182 ac_status=$?
29183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29184 (exit $ac_status); }; }; then
29185 glibcxx_cv_func__long_double_trig_use=yes
29186 else
29187 echo "$as_me: failed program was:" >&5
29188 sed 's/^/| /' conftest.$ac_ext >&5
29190 glibcxx_cv_func__long_double_trig_use=no
29192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29193 ac_ext=c
29194 ac_cpp='$CPP $CPPFLAGS'
29195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
29202 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
29203 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
29213 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
29215 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29216 echo "$as_me:$LINENO: checking for $ac_func" >&5
29217 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29218 if eval "test \"\${$as_ac_var+set}\" = set"; then
29219 echo $ECHO_N "(cached) $ECHO_C" >&6
29220 else
29221 if test x$gcc_no_link = xyes; then
29222 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29223 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29224 { (exit 1); exit 1; }; }
29226 cat >conftest.$ac_ext <<_ACEOF
29227 /* confdefs.h. */
29228 _ACEOF
29229 cat confdefs.h >>conftest.$ac_ext
29230 cat >>conftest.$ac_ext <<_ACEOF
29231 /* end confdefs.h. */
29232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29234 #define $ac_func innocuous_$ac_func
29236 /* System header to define __stub macros and hopefully few prototypes,
29237 which can conflict with char $ac_func (); below.
29238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29239 <limits.h> exists even on freestanding compilers. */
29241 #ifdef __STDC__
29242 # include <limits.h>
29243 #else
29244 # include <assert.h>
29245 #endif
29247 #undef $ac_func
29249 /* Override any gcc2 internal prototype to avoid an error. */
29250 #ifdef __cplusplus
29251 extern "C"
29253 #endif
29254 /* We use char because int might match the return type of a gcc2
29255 builtin and then its argument prototype would still apply. */
29256 char $ac_func ();
29257 /* The GNU C library defines this for functions which it implements
29258 to always fail with ENOSYS. Some functions are actually named
29259 something starting with __ and the normal name is an alias. */
29260 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29261 choke me
29262 #else
29263 char (*f) () = $ac_func;
29264 #endif
29265 #ifdef __cplusplus
29267 #endif
29270 main ()
29272 return f != $ac_func;
29274 return 0;
29276 _ACEOF
29277 rm -f conftest.$ac_objext conftest$ac_exeext
29278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29279 (eval $ac_link) 2>conftest.er1
29280 ac_status=$?
29281 grep -v '^ *+' conftest.er1 >conftest.err
29282 rm -f conftest.er1
29283 cat conftest.err >&5
29284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29285 (exit $ac_status); } &&
29286 { ac_try='test -z "$ac_c_werror_flag"
29287 || test ! -s conftest.err'
29288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29289 (eval $ac_try) 2>&5
29290 ac_status=$?
29291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29292 (exit $ac_status); }; } &&
29293 { ac_try='test -s conftest$ac_exeext'
29294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29295 (eval $ac_try) 2>&5
29296 ac_status=$?
29297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29298 (exit $ac_status); }; }; then
29299 eval "$as_ac_var=yes"
29300 else
29301 echo "$as_me: failed program was:" >&5
29302 sed 's/^/| /' conftest.$ac_ext >&5
29304 eval "$as_ac_var=no"
29306 rm -f conftest.err conftest.$ac_objext \
29307 conftest$ac_exeext conftest.$ac_ext
29309 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29310 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29311 if test `eval echo '${'$as_ac_var'}'` = yes; then
29312 cat >>confdefs.h <<_ACEOF
29313 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29314 _ACEOF
29317 done
29335 echo "$as_me:$LINENO: checking for long double round functions" >&5
29336 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
29337 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
29338 echo $ECHO_N "(cached) $ECHO_C" >&6
29339 else
29343 ac_ext=cc
29344 ac_cpp='$CXXCPP $CPPFLAGS'
29345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29349 cat >conftest.$ac_ext <<_ACEOF
29350 /* confdefs.h. */
29351 _ACEOF
29352 cat confdefs.h >>conftest.$ac_ext
29353 cat >>conftest.$ac_ext <<_ACEOF
29354 /* end confdefs.h. */
29355 #include <math.h>
29357 main ()
29359 ceill (0); floorl (0);
29361 return 0;
29363 _ACEOF
29364 rm -f conftest.$ac_objext
29365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29366 (eval $ac_compile) 2>conftest.er1
29367 ac_status=$?
29368 grep -v '^ *+' conftest.er1 >conftest.err
29369 rm -f conftest.er1
29370 cat conftest.err >&5
29371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29372 (exit $ac_status); } &&
29373 { ac_try='test -z "$ac_cxx_werror_flag"
29374 || test ! -s conftest.err'
29375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29376 (eval $ac_try) 2>&5
29377 ac_status=$?
29378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29379 (exit $ac_status); }; } &&
29380 { ac_try='test -s conftest.$ac_objext'
29381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29382 (eval $ac_try) 2>&5
29383 ac_status=$?
29384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29385 (exit $ac_status); }; }; then
29386 glibcxx_cv_func_long_double_round_use=yes
29387 else
29388 echo "$as_me: failed program was:" >&5
29389 sed 's/^/| /' conftest.$ac_ext >&5
29391 glibcxx_cv_func_long_double_round_use=no
29393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29394 ac_ext=c
29395 ac_cpp='$CPP $CPPFLAGS'
29396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29402 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
29403 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
29404 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
29407 for ac_func in ceill floorl
29409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29410 echo "$as_me:$LINENO: checking for $ac_func" >&5
29411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29412 if eval "test \"\${$as_ac_var+set}\" = set"; then
29413 echo $ECHO_N "(cached) $ECHO_C" >&6
29414 else
29415 if test x$gcc_no_link = xyes; then
29416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29418 { (exit 1); exit 1; }; }
29420 cat >conftest.$ac_ext <<_ACEOF
29421 /* confdefs.h. */
29422 _ACEOF
29423 cat confdefs.h >>conftest.$ac_ext
29424 cat >>conftest.$ac_ext <<_ACEOF
29425 /* end confdefs.h. */
29426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29428 #define $ac_func innocuous_$ac_func
29430 /* System header to define __stub macros and hopefully few prototypes,
29431 which can conflict with char $ac_func (); below.
29432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29433 <limits.h> exists even on freestanding compilers. */
29435 #ifdef __STDC__
29436 # include <limits.h>
29437 #else
29438 # include <assert.h>
29439 #endif
29441 #undef $ac_func
29443 /* Override any gcc2 internal prototype to avoid an error. */
29444 #ifdef __cplusplus
29445 extern "C"
29447 #endif
29448 /* We use char because int might match the return type of a gcc2
29449 builtin and then its argument prototype would still apply. */
29450 char $ac_func ();
29451 /* The GNU C library defines this for functions which it implements
29452 to always fail with ENOSYS. Some functions are actually named
29453 something starting with __ and the normal name is an alias. */
29454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29455 choke me
29456 #else
29457 char (*f) () = $ac_func;
29458 #endif
29459 #ifdef __cplusplus
29461 #endif
29464 main ()
29466 return f != $ac_func;
29468 return 0;
29470 _ACEOF
29471 rm -f conftest.$ac_objext conftest$ac_exeext
29472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29473 (eval $ac_link) 2>conftest.er1
29474 ac_status=$?
29475 grep -v '^ *+' conftest.er1 >conftest.err
29476 rm -f conftest.er1
29477 cat conftest.err >&5
29478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29479 (exit $ac_status); } &&
29480 { ac_try='test -z "$ac_c_werror_flag"
29481 || test ! -s conftest.err'
29482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29483 (eval $ac_try) 2>&5
29484 ac_status=$?
29485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29486 (exit $ac_status); }; } &&
29487 { ac_try='test -s conftest$ac_exeext'
29488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29489 (eval $ac_try) 2>&5
29490 ac_status=$?
29491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29492 (exit $ac_status); }; }; then
29493 eval "$as_ac_var=yes"
29494 else
29495 echo "$as_me: failed program was:" >&5
29496 sed 's/^/| /' conftest.$ac_ext >&5
29498 eval "$as_ac_var=no"
29500 rm -f conftest.err conftest.$ac_objext \
29501 conftest$ac_exeext conftest.$ac_ext
29503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29505 if test `eval echo '${'$as_ac_var'}'` = yes; then
29506 cat >>confdefs.h <<_ACEOF
29507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29508 _ACEOF
29511 done
29513 else
29514 echo "$as_me:$LINENO: checking for _long double round functions" >&5
29515 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
29516 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
29517 echo $ECHO_N "(cached) $ECHO_C" >&6
29518 else
29522 ac_ext=cc
29523 ac_cpp='$CXXCPP $CPPFLAGS'
29524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29528 cat >conftest.$ac_ext <<_ACEOF
29529 /* confdefs.h. */
29530 _ACEOF
29531 cat confdefs.h >>conftest.$ac_ext
29532 cat >>conftest.$ac_ext <<_ACEOF
29533 /* end confdefs.h. */
29534 #include <math.h>
29536 main ()
29538 _ceill (0); _floorl (0);
29540 return 0;
29542 _ACEOF
29543 rm -f conftest.$ac_objext
29544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29545 (eval $ac_compile) 2>conftest.er1
29546 ac_status=$?
29547 grep -v '^ *+' conftest.er1 >conftest.err
29548 rm -f conftest.er1
29549 cat conftest.err >&5
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); } &&
29552 { ac_try='test -z "$ac_cxx_werror_flag"
29553 || test ! -s conftest.err'
29554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29555 (eval $ac_try) 2>&5
29556 ac_status=$?
29557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29558 (exit $ac_status); }; } &&
29559 { ac_try='test -s conftest.$ac_objext'
29560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29561 (eval $ac_try) 2>&5
29562 ac_status=$?
29563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29564 (exit $ac_status); }; }; then
29565 glibcxx_cv_func__long_double_round_use=yes
29566 else
29567 echo "$as_me: failed program was:" >&5
29568 sed 's/^/| /' conftest.$ac_ext >&5
29570 glibcxx_cv_func__long_double_round_use=no
29572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29573 ac_ext=c
29574 ac_cpp='$CPP $CPPFLAGS'
29575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29581 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
29582 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
29583 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
29586 for ac_func in _ceill _floorl
29588 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29589 echo "$as_me:$LINENO: checking for $ac_func" >&5
29590 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29591 if eval "test \"\${$as_ac_var+set}\" = set"; then
29592 echo $ECHO_N "(cached) $ECHO_C" >&6
29593 else
29594 if test x$gcc_no_link = xyes; then
29595 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29596 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29597 { (exit 1); exit 1; }; }
29599 cat >conftest.$ac_ext <<_ACEOF
29600 /* confdefs.h. */
29601 _ACEOF
29602 cat confdefs.h >>conftest.$ac_ext
29603 cat >>conftest.$ac_ext <<_ACEOF
29604 /* end confdefs.h. */
29605 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29606 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29607 #define $ac_func innocuous_$ac_func
29609 /* System header to define __stub macros and hopefully few prototypes,
29610 which can conflict with char $ac_func (); below.
29611 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29612 <limits.h> exists even on freestanding compilers. */
29614 #ifdef __STDC__
29615 # include <limits.h>
29616 #else
29617 # include <assert.h>
29618 #endif
29620 #undef $ac_func
29622 /* Override any gcc2 internal prototype to avoid an error. */
29623 #ifdef __cplusplus
29624 extern "C"
29626 #endif
29627 /* We use char because int might match the return type of a gcc2
29628 builtin and then its argument prototype would still apply. */
29629 char $ac_func ();
29630 /* The GNU C library defines this for functions which it implements
29631 to always fail with ENOSYS. Some functions are actually named
29632 something starting with __ and the normal name is an alias. */
29633 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29634 choke me
29635 #else
29636 char (*f) () = $ac_func;
29637 #endif
29638 #ifdef __cplusplus
29640 #endif
29643 main ()
29645 return f != $ac_func;
29647 return 0;
29649 _ACEOF
29650 rm -f conftest.$ac_objext conftest$ac_exeext
29651 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29652 (eval $ac_link) 2>conftest.er1
29653 ac_status=$?
29654 grep -v '^ *+' conftest.er1 >conftest.err
29655 rm -f conftest.er1
29656 cat conftest.err >&5
29657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29658 (exit $ac_status); } &&
29659 { ac_try='test -z "$ac_c_werror_flag"
29660 || test ! -s conftest.err'
29661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29662 (eval $ac_try) 2>&5
29663 ac_status=$?
29664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29665 (exit $ac_status); }; } &&
29666 { ac_try='test -s conftest$ac_exeext'
29667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29668 (eval $ac_try) 2>&5
29669 ac_status=$?
29670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29671 (exit $ac_status); }; }; then
29672 eval "$as_ac_var=yes"
29673 else
29674 echo "$as_me: failed program was:" >&5
29675 sed 's/^/| /' conftest.$ac_ext >&5
29677 eval "$as_ac_var=no"
29679 rm -f conftest.err conftest.$ac_objext \
29680 conftest$ac_exeext conftest.$ac_ext
29682 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29683 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29684 if test `eval echo '${'$as_ac_var'}'` = yes; then
29685 cat >>confdefs.h <<_ACEOF
29686 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29687 _ACEOF
29690 done
29702 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
29703 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
29704 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
29705 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
29706 echo $ECHO_N "(cached) $ECHO_C" >&6
29707 else
29711 ac_ext=cc
29712 ac_cpp='$CXXCPP $CPPFLAGS'
29713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29717 cat >conftest.$ac_ext <<_ACEOF
29718 /* confdefs.h. */
29719 _ACEOF
29720 cat confdefs.h >>conftest.$ac_ext
29721 cat >>conftest.$ac_ext <<_ACEOF
29722 /* end confdefs.h. */
29723 #include <math.h>
29724 #ifdef HAVE_IEEEFP_H
29725 #include <ieeefp.h>
29726 #endif
29729 main ()
29731 isnanl(0);
29733 return 0;
29735 _ACEOF
29736 rm -f conftest.$ac_objext
29737 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29738 (eval $ac_compile) 2>conftest.er1
29739 ac_status=$?
29740 grep -v '^ *+' conftest.er1 >conftest.err
29741 rm -f conftest.er1
29742 cat conftest.err >&5
29743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29744 (exit $ac_status); } &&
29745 { ac_try='test -z "$ac_cxx_werror_flag"
29746 || test ! -s conftest.err'
29747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29748 (eval $ac_try) 2>&5
29749 ac_status=$?
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); }; } &&
29752 { ac_try='test -s conftest.$ac_objext'
29753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29754 (eval $ac_try) 2>&5
29755 ac_status=$?
29756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29757 (exit $ac_status); }; }; then
29758 glibcxx_cv_func_isnanl_use=yes
29759 else
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29763 glibcxx_cv_func_isnanl_use=no
29765 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29766 ac_ext=c
29767 ac_cpp='$CPP $CPPFLAGS'
29768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29776 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
29777 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
29779 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
29781 for ac_func in isnanl
29783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29784 echo "$as_me:$LINENO: checking for $ac_func" >&5
29785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29786 if eval "test \"\${$as_ac_var+set}\" = set"; then
29787 echo $ECHO_N "(cached) $ECHO_C" >&6
29788 else
29789 if test x$gcc_no_link = xyes; then
29790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29792 { (exit 1); exit 1; }; }
29794 cat >conftest.$ac_ext <<_ACEOF
29795 /* confdefs.h. */
29796 _ACEOF
29797 cat confdefs.h >>conftest.$ac_ext
29798 cat >>conftest.$ac_ext <<_ACEOF
29799 /* end confdefs.h. */
29800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29802 #define $ac_func innocuous_$ac_func
29804 /* System header to define __stub macros and hopefully few prototypes,
29805 which can conflict with char $ac_func (); below.
29806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29807 <limits.h> exists even on freestanding compilers. */
29809 #ifdef __STDC__
29810 # include <limits.h>
29811 #else
29812 # include <assert.h>
29813 #endif
29815 #undef $ac_func
29817 /* Override any gcc2 internal prototype to avoid an error. */
29818 #ifdef __cplusplus
29819 extern "C"
29821 #endif
29822 /* We use char because int might match the return type of a gcc2
29823 builtin and then its argument prototype would still apply. */
29824 char $ac_func ();
29825 /* The GNU C library defines this for functions which it implements
29826 to always fail with ENOSYS. Some functions are actually named
29827 something starting with __ and the normal name is an alias. */
29828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29829 choke me
29830 #else
29831 char (*f) () = $ac_func;
29832 #endif
29833 #ifdef __cplusplus
29835 #endif
29838 main ()
29840 return f != $ac_func;
29842 return 0;
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29847 (eval $ac_link) 2>conftest.er1
29848 ac_status=$?
29849 grep -v '^ *+' conftest.er1 >conftest.err
29850 rm -f conftest.er1
29851 cat conftest.err >&5
29852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29853 (exit $ac_status); } &&
29854 { ac_try='test -z "$ac_c_werror_flag"
29855 || test ! -s conftest.err'
29856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29857 (eval $ac_try) 2>&5
29858 ac_status=$?
29859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29860 (exit $ac_status); }; } &&
29861 { ac_try='test -s conftest$ac_exeext'
29862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29863 (eval $ac_try) 2>&5
29864 ac_status=$?
29865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29866 (exit $ac_status); }; }; then
29867 eval "$as_ac_var=yes"
29868 else
29869 echo "$as_me: failed program was:" >&5
29870 sed 's/^/| /' conftest.$ac_ext >&5
29872 eval "$as_ac_var=no"
29874 rm -f conftest.err conftest.$ac_objext \
29875 conftest$ac_exeext conftest.$ac_ext
29877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29879 if test `eval echo '${'$as_ac_var'}'` = yes; then
29880 cat >>confdefs.h <<_ACEOF
29881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29882 _ACEOF
29885 done
29887 else
29889 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
29890 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
29891 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
29892 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
29893 echo $ECHO_N "(cached) $ECHO_C" >&6
29894 else
29898 ac_ext=cc
29899 ac_cpp='$CXXCPP $CPPFLAGS'
29900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29904 cat >conftest.$ac_ext <<_ACEOF
29905 /* confdefs.h. */
29906 _ACEOF
29907 cat confdefs.h >>conftest.$ac_ext
29908 cat >>conftest.$ac_ext <<_ACEOF
29909 /* end confdefs.h. */
29910 #include <math.h>
29911 #ifdef HAVE_IEEEFP_H
29912 #include <ieeefp.h>
29913 #endif
29916 main ()
29918 _isnanl(0);
29920 return 0;
29922 _ACEOF
29923 rm -f conftest.$ac_objext
29924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29925 (eval $ac_compile) 2>conftest.er1
29926 ac_status=$?
29927 grep -v '^ *+' conftest.er1 >conftest.err
29928 rm -f conftest.er1
29929 cat conftest.err >&5
29930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29931 (exit $ac_status); } &&
29932 { ac_try='test -z "$ac_cxx_werror_flag"
29933 || test ! -s conftest.err'
29934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29935 (eval $ac_try) 2>&5
29936 ac_status=$?
29937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29938 (exit $ac_status); }; } &&
29939 { ac_try='test -s conftest.$ac_objext'
29940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29941 (eval $ac_try) 2>&5
29942 ac_status=$?
29943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29944 (exit $ac_status); }; }; then
29945 glibcxx_cv_func__isnanl_use=yes
29946 else
29947 echo "$as_me: failed program was:" >&5
29948 sed 's/^/| /' conftest.$ac_ext >&5
29950 glibcxx_cv_func__isnanl_use=no
29952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29953 ac_ext=c
29954 ac_cpp='$CPP $CPPFLAGS'
29955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
29964 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
29966 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
29968 for ac_func in _isnanl
29970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29971 echo "$as_me:$LINENO: checking for $ac_func" >&5
29972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29973 if eval "test \"\${$as_ac_var+set}\" = set"; then
29974 echo $ECHO_N "(cached) $ECHO_C" >&6
29975 else
29976 if test x$gcc_no_link = xyes; then
29977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29979 { (exit 1); exit 1; }; }
29981 cat >conftest.$ac_ext <<_ACEOF
29982 /* confdefs.h. */
29983 _ACEOF
29984 cat confdefs.h >>conftest.$ac_ext
29985 cat >>conftest.$ac_ext <<_ACEOF
29986 /* end confdefs.h. */
29987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29989 #define $ac_func innocuous_$ac_func
29991 /* System header to define __stub macros and hopefully few prototypes,
29992 which can conflict with char $ac_func (); below.
29993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29994 <limits.h> exists even on freestanding compilers. */
29996 #ifdef __STDC__
29997 # include <limits.h>
29998 #else
29999 # include <assert.h>
30000 #endif
30002 #undef $ac_func
30004 /* Override any gcc2 internal prototype to avoid an error. */
30005 #ifdef __cplusplus
30006 extern "C"
30008 #endif
30009 /* We use char because int might match the return type of a gcc2
30010 builtin and then its argument prototype would still apply. */
30011 char $ac_func ();
30012 /* The GNU C library defines this for functions which it implements
30013 to always fail with ENOSYS. Some functions are actually named
30014 something starting with __ and the normal name is an alias. */
30015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30016 choke me
30017 #else
30018 char (*f) () = $ac_func;
30019 #endif
30020 #ifdef __cplusplus
30022 #endif
30025 main ()
30027 return f != $ac_func;
30029 return 0;
30031 _ACEOF
30032 rm -f conftest.$ac_objext conftest$ac_exeext
30033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30034 (eval $ac_link) 2>conftest.er1
30035 ac_status=$?
30036 grep -v '^ *+' conftest.er1 >conftest.err
30037 rm -f conftest.er1
30038 cat conftest.err >&5
30039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30040 (exit $ac_status); } &&
30041 { ac_try='test -z "$ac_c_werror_flag"
30042 || test ! -s conftest.err'
30043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30044 (eval $ac_try) 2>&5
30045 ac_status=$?
30046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30047 (exit $ac_status); }; } &&
30048 { ac_try='test -s conftest$ac_exeext'
30049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30050 (eval $ac_try) 2>&5
30051 ac_status=$?
30052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30053 (exit $ac_status); }; }; then
30054 eval "$as_ac_var=yes"
30055 else
30056 echo "$as_me: failed program was:" >&5
30057 sed 's/^/| /' conftest.$ac_ext >&5
30059 eval "$as_ac_var=no"
30061 rm -f conftest.err conftest.$ac_objext \
30062 conftest$ac_exeext conftest.$ac_ext
30064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30066 if test `eval echo '${'$as_ac_var'}'` = yes; then
30067 cat >>confdefs.h <<_ACEOF
30068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30069 _ACEOF
30072 done
30082 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
30083 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
30084 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
30085 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
30086 echo $ECHO_N "(cached) $ECHO_C" >&6
30087 else
30091 ac_ext=cc
30092 ac_cpp='$CXXCPP $CPPFLAGS'
30093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30097 cat >conftest.$ac_ext <<_ACEOF
30098 /* confdefs.h. */
30099 _ACEOF
30100 cat confdefs.h >>conftest.$ac_ext
30101 cat >>conftest.$ac_ext <<_ACEOF
30102 /* end confdefs.h. */
30103 #include <math.h>
30104 #ifdef HAVE_IEEEFP_H
30105 #include <ieeefp.h>
30106 #endif
30109 main ()
30111 isinfl(0);
30113 return 0;
30115 _ACEOF
30116 rm -f conftest.$ac_objext
30117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30118 (eval $ac_compile) 2>conftest.er1
30119 ac_status=$?
30120 grep -v '^ *+' conftest.er1 >conftest.err
30121 rm -f conftest.er1
30122 cat conftest.err >&5
30123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30124 (exit $ac_status); } &&
30125 { ac_try='test -z "$ac_cxx_werror_flag"
30126 || test ! -s conftest.err'
30127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30128 (eval $ac_try) 2>&5
30129 ac_status=$?
30130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30131 (exit $ac_status); }; } &&
30132 { ac_try='test -s conftest.$ac_objext'
30133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30134 (eval $ac_try) 2>&5
30135 ac_status=$?
30136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30137 (exit $ac_status); }; }; then
30138 glibcxx_cv_func_isinfl_use=yes
30139 else
30140 echo "$as_me: failed program was:" >&5
30141 sed 's/^/| /' conftest.$ac_ext >&5
30143 glibcxx_cv_func_isinfl_use=no
30145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30146 ac_ext=c
30147 ac_cpp='$CPP $CPPFLAGS'
30148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
30157 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
30159 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
30161 for ac_func in isinfl
30163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30164 echo "$as_me:$LINENO: checking for $ac_func" >&5
30165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30166 if eval "test \"\${$as_ac_var+set}\" = set"; then
30167 echo $ECHO_N "(cached) $ECHO_C" >&6
30168 else
30169 if test x$gcc_no_link = xyes; then
30170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30172 { (exit 1); exit 1; }; }
30174 cat >conftest.$ac_ext <<_ACEOF
30175 /* confdefs.h. */
30176 _ACEOF
30177 cat confdefs.h >>conftest.$ac_ext
30178 cat >>conftest.$ac_ext <<_ACEOF
30179 /* end confdefs.h. */
30180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30182 #define $ac_func innocuous_$ac_func
30184 /* System header to define __stub macros and hopefully few prototypes,
30185 which can conflict with char $ac_func (); below.
30186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30187 <limits.h> exists even on freestanding compilers. */
30189 #ifdef __STDC__
30190 # include <limits.h>
30191 #else
30192 # include <assert.h>
30193 #endif
30195 #undef $ac_func
30197 /* Override any gcc2 internal prototype to avoid an error. */
30198 #ifdef __cplusplus
30199 extern "C"
30201 #endif
30202 /* We use char because int might match the return type of a gcc2
30203 builtin and then its argument prototype would still apply. */
30204 char $ac_func ();
30205 /* The GNU C library defines this for functions which it implements
30206 to always fail with ENOSYS. Some functions are actually named
30207 something starting with __ and the normal name is an alias. */
30208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30209 choke me
30210 #else
30211 char (*f) () = $ac_func;
30212 #endif
30213 #ifdef __cplusplus
30215 #endif
30218 main ()
30220 return f != $ac_func;
30222 return 0;
30224 _ACEOF
30225 rm -f conftest.$ac_objext conftest$ac_exeext
30226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30227 (eval $ac_link) 2>conftest.er1
30228 ac_status=$?
30229 grep -v '^ *+' conftest.er1 >conftest.err
30230 rm -f conftest.er1
30231 cat conftest.err >&5
30232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30233 (exit $ac_status); } &&
30234 { ac_try='test -z "$ac_c_werror_flag"
30235 || test ! -s conftest.err'
30236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30237 (eval $ac_try) 2>&5
30238 ac_status=$?
30239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30240 (exit $ac_status); }; } &&
30241 { ac_try='test -s conftest$ac_exeext'
30242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30243 (eval $ac_try) 2>&5
30244 ac_status=$?
30245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30246 (exit $ac_status); }; }; then
30247 eval "$as_ac_var=yes"
30248 else
30249 echo "$as_me: failed program was:" >&5
30250 sed 's/^/| /' conftest.$ac_ext >&5
30252 eval "$as_ac_var=no"
30254 rm -f conftest.err conftest.$ac_objext \
30255 conftest$ac_exeext conftest.$ac_ext
30257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30259 if test `eval echo '${'$as_ac_var'}'` = yes; then
30260 cat >>confdefs.h <<_ACEOF
30261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30262 _ACEOF
30265 done
30267 else
30269 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
30270 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
30271 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
30272 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
30273 echo $ECHO_N "(cached) $ECHO_C" >&6
30274 else
30278 ac_ext=cc
30279 ac_cpp='$CXXCPP $CPPFLAGS'
30280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30284 cat >conftest.$ac_ext <<_ACEOF
30285 /* confdefs.h. */
30286 _ACEOF
30287 cat confdefs.h >>conftest.$ac_ext
30288 cat >>conftest.$ac_ext <<_ACEOF
30289 /* end confdefs.h. */
30290 #include <math.h>
30291 #ifdef HAVE_IEEEFP_H
30292 #include <ieeefp.h>
30293 #endif
30296 main ()
30298 _isinfl(0);
30300 return 0;
30302 _ACEOF
30303 rm -f conftest.$ac_objext
30304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30305 (eval $ac_compile) 2>conftest.er1
30306 ac_status=$?
30307 grep -v '^ *+' conftest.er1 >conftest.err
30308 rm -f conftest.er1
30309 cat conftest.err >&5
30310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30311 (exit $ac_status); } &&
30312 { ac_try='test -z "$ac_cxx_werror_flag"
30313 || test ! -s conftest.err'
30314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30315 (eval $ac_try) 2>&5
30316 ac_status=$?
30317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30318 (exit $ac_status); }; } &&
30319 { ac_try='test -s conftest.$ac_objext'
30320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30321 (eval $ac_try) 2>&5
30322 ac_status=$?
30323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30324 (exit $ac_status); }; }; then
30325 glibcxx_cv_func__isinfl_use=yes
30326 else
30327 echo "$as_me: failed program was:" >&5
30328 sed 's/^/| /' conftest.$ac_ext >&5
30330 glibcxx_cv_func__isinfl_use=no
30332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30333 ac_ext=c
30334 ac_cpp='$CPP $CPPFLAGS'
30335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
30344 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
30346 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
30348 for ac_func in _isinfl
30350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30351 echo "$as_me:$LINENO: checking for $ac_func" >&5
30352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30353 if eval "test \"\${$as_ac_var+set}\" = set"; then
30354 echo $ECHO_N "(cached) $ECHO_C" >&6
30355 else
30356 if test x$gcc_no_link = xyes; then
30357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30359 { (exit 1); exit 1; }; }
30361 cat >conftest.$ac_ext <<_ACEOF
30362 /* confdefs.h. */
30363 _ACEOF
30364 cat confdefs.h >>conftest.$ac_ext
30365 cat >>conftest.$ac_ext <<_ACEOF
30366 /* end confdefs.h. */
30367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30369 #define $ac_func innocuous_$ac_func
30371 /* System header to define __stub macros and hopefully few prototypes,
30372 which can conflict with char $ac_func (); below.
30373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30374 <limits.h> exists even on freestanding compilers. */
30376 #ifdef __STDC__
30377 # include <limits.h>
30378 #else
30379 # include <assert.h>
30380 #endif
30382 #undef $ac_func
30384 /* Override any gcc2 internal prototype to avoid an error. */
30385 #ifdef __cplusplus
30386 extern "C"
30388 #endif
30389 /* We use char because int might match the return type of a gcc2
30390 builtin and then its argument prototype would still apply. */
30391 char $ac_func ();
30392 /* The GNU C library defines this for functions which it implements
30393 to always fail with ENOSYS. Some functions are actually named
30394 something starting with __ and the normal name is an alias. */
30395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30396 choke me
30397 #else
30398 char (*f) () = $ac_func;
30399 #endif
30400 #ifdef __cplusplus
30402 #endif
30405 main ()
30407 return f != $ac_func;
30409 return 0;
30411 _ACEOF
30412 rm -f conftest.$ac_objext conftest$ac_exeext
30413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30414 (eval $ac_link) 2>conftest.er1
30415 ac_status=$?
30416 grep -v '^ *+' conftest.er1 >conftest.err
30417 rm -f conftest.er1
30418 cat conftest.err >&5
30419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30420 (exit $ac_status); } &&
30421 { ac_try='test -z "$ac_c_werror_flag"
30422 || test ! -s conftest.err'
30423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30424 (eval $ac_try) 2>&5
30425 ac_status=$?
30426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30427 (exit $ac_status); }; } &&
30428 { ac_try='test -s conftest$ac_exeext'
30429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30430 (eval $ac_try) 2>&5
30431 ac_status=$?
30432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30433 (exit $ac_status); }; }; then
30434 eval "$as_ac_var=yes"
30435 else
30436 echo "$as_me: failed program was:" >&5
30437 sed 's/^/| /' conftest.$ac_ext >&5
30439 eval "$as_ac_var=no"
30441 rm -f conftest.err conftest.$ac_objext \
30442 conftest$ac_exeext conftest.$ac_ext
30444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30446 if test `eval echo '${'$as_ac_var'}'` = yes; then
30447 cat >>confdefs.h <<_ACEOF
30448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30449 _ACEOF
30452 done
30462 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
30463 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
30464 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
30465 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
30466 echo $ECHO_N "(cached) $ECHO_C" >&6
30467 else
30471 ac_ext=cc
30472 ac_cpp='$CXXCPP $CPPFLAGS'
30473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30477 cat >conftest.$ac_ext <<_ACEOF
30478 /* confdefs.h. */
30479 _ACEOF
30480 cat confdefs.h >>conftest.$ac_ext
30481 cat >>conftest.$ac_ext <<_ACEOF
30482 /* end confdefs.h. */
30483 #include <math.h>
30485 main ()
30487 copysignl(0, 0);
30489 return 0;
30491 _ACEOF
30492 rm -f conftest.$ac_objext
30493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30494 (eval $ac_compile) 2>conftest.er1
30495 ac_status=$?
30496 grep -v '^ *+' conftest.er1 >conftest.err
30497 rm -f conftest.er1
30498 cat conftest.err >&5
30499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30500 (exit $ac_status); } &&
30501 { ac_try='test -z "$ac_cxx_werror_flag"
30502 || test ! -s conftest.err'
30503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30504 (eval $ac_try) 2>&5
30505 ac_status=$?
30506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30507 (exit $ac_status); }; } &&
30508 { ac_try='test -s conftest.$ac_objext'
30509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30510 (eval $ac_try) 2>&5
30511 ac_status=$?
30512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30513 (exit $ac_status); }; }; then
30514 glibcxx_cv_func_copysignl_use=yes
30515 else
30516 echo "$as_me: failed program was:" >&5
30517 sed 's/^/| /' conftest.$ac_ext >&5
30519 glibcxx_cv_func_copysignl_use=no
30521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30522 ac_ext=c
30523 ac_cpp='$CPP $CPPFLAGS'
30524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
30533 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
30535 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
30537 for ac_func in copysignl
30539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30540 echo "$as_me:$LINENO: checking for $ac_func" >&5
30541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30542 if eval "test \"\${$as_ac_var+set}\" = set"; then
30543 echo $ECHO_N "(cached) $ECHO_C" >&6
30544 else
30545 if test x$gcc_no_link = xyes; then
30546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30548 { (exit 1); exit 1; }; }
30550 cat >conftest.$ac_ext <<_ACEOF
30551 /* confdefs.h. */
30552 _ACEOF
30553 cat confdefs.h >>conftest.$ac_ext
30554 cat >>conftest.$ac_ext <<_ACEOF
30555 /* end confdefs.h. */
30556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30558 #define $ac_func innocuous_$ac_func
30560 /* System header to define __stub macros and hopefully few prototypes,
30561 which can conflict with char $ac_func (); below.
30562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30563 <limits.h> exists even on freestanding compilers. */
30565 #ifdef __STDC__
30566 # include <limits.h>
30567 #else
30568 # include <assert.h>
30569 #endif
30571 #undef $ac_func
30573 /* Override any gcc2 internal prototype to avoid an error. */
30574 #ifdef __cplusplus
30575 extern "C"
30577 #endif
30578 /* We use char because int might match the return type of a gcc2
30579 builtin and then its argument prototype would still apply. */
30580 char $ac_func ();
30581 /* The GNU C library defines this for functions which it implements
30582 to always fail with ENOSYS. Some functions are actually named
30583 something starting with __ and the normal name is an alias. */
30584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30585 choke me
30586 #else
30587 char (*f) () = $ac_func;
30588 #endif
30589 #ifdef __cplusplus
30591 #endif
30594 main ()
30596 return f != $ac_func;
30598 return 0;
30600 _ACEOF
30601 rm -f conftest.$ac_objext conftest$ac_exeext
30602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30603 (eval $ac_link) 2>conftest.er1
30604 ac_status=$?
30605 grep -v '^ *+' conftest.er1 >conftest.err
30606 rm -f conftest.er1
30607 cat conftest.err >&5
30608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30609 (exit $ac_status); } &&
30610 { ac_try='test -z "$ac_c_werror_flag"
30611 || test ! -s conftest.err'
30612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30613 (eval $ac_try) 2>&5
30614 ac_status=$?
30615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30616 (exit $ac_status); }; } &&
30617 { ac_try='test -s conftest$ac_exeext'
30618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30619 (eval $ac_try) 2>&5
30620 ac_status=$?
30621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30622 (exit $ac_status); }; }; then
30623 eval "$as_ac_var=yes"
30624 else
30625 echo "$as_me: failed program was:" >&5
30626 sed 's/^/| /' conftest.$ac_ext >&5
30628 eval "$as_ac_var=no"
30630 rm -f conftest.err conftest.$ac_objext \
30631 conftest$ac_exeext conftest.$ac_ext
30633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30635 if test `eval echo '${'$as_ac_var'}'` = yes; then
30636 cat >>confdefs.h <<_ACEOF
30637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30638 _ACEOF
30641 done
30643 else
30645 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
30646 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
30647 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
30648 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
30649 echo $ECHO_N "(cached) $ECHO_C" >&6
30650 else
30654 ac_ext=cc
30655 ac_cpp='$CXXCPP $CPPFLAGS'
30656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30660 cat >conftest.$ac_ext <<_ACEOF
30661 /* confdefs.h. */
30662 _ACEOF
30663 cat confdefs.h >>conftest.$ac_ext
30664 cat >>conftest.$ac_ext <<_ACEOF
30665 /* end confdefs.h. */
30666 #include <math.h>
30668 main ()
30670 _copysignl(0, 0);
30672 return 0;
30674 _ACEOF
30675 rm -f conftest.$ac_objext
30676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30677 (eval $ac_compile) 2>conftest.er1
30678 ac_status=$?
30679 grep -v '^ *+' conftest.er1 >conftest.err
30680 rm -f conftest.er1
30681 cat conftest.err >&5
30682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30683 (exit $ac_status); } &&
30684 { ac_try='test -z "$ac_cxx_werror_flag"
30685 || test ! -s conftest.err'
30686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30687 (eval $ac_try) 2>&5
30688 ac_status=$?
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); }; } &&
30691 { ac_try='test -s conftest.$ac_objext'
30692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30693 (eval $ac_try) 2>&5
30694 ac_status=$?
30695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30696 (exit $ac_status); }; }; then
30697 glibcxx_cv_func__copysignl_use=yes
30698 else
30699 echo "$as_me: failed program was:" >&5
30700 sed 's/^/| /' conftest.$ac_ext >&5
30702 glibcxx_cv_func__copysignl_use=no
30704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30705 ac_ext=c
30706 ac_cpp='$CPP $CPPFLAGS'
30707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
30716 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
30718 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
30720 for ac_func in _copysignl
30722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30723 echo "$as_me:$LINENO: checking for $ac_func" >&5
30724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30725 if eval "test \"\${$as_ac_var+set}\" = set"; then
30726 echo $ECHO_N "(cached) $ECHO_C" >&6
30727 else
30728 if test x$gcc_no_link = xyes; then
30729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30731 { (exit 1); exit 1; }; }
30733 cat >conftest.$ac_ext <<_ACEOF
30734 /* confdefs.h. */
30735 _ACEOF
30736 cat confdefs.h >>conftest.$ac_ext
30737 cat >>conftest.$ac_ext <<_ACEOF
30738 /* end confdefs.h. */
30739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30741 #define $ac_func innocuous_$ac_func
30743 /* System header to define __stub macros and hopefully few prototypes,
30744 which can conflict with char $ac_func (); below.
30745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30746 <limits.h> exists even on freestanding compilers. */
30748 #ifdef __STDC__
30749 # include <limits.h>
30750 #else
30751 # include <assert.h>
30752 #endif
30754 #undef $ac_func
30756 /* Override any gcc2 internal prototype to avoid an error. */
30757 #ifdef __cplusplus
30758 extern "C"
30760 #endif
30761 /* We use char because int might match the return type of a gcc2
30762 builtin and then its argument prototype would still apply. */
30763 char $ac_func ();
30764 /* The GNU C library defines this for functions which it implements
30765 to always fail with ENOSYS. Some functions are actually named
30766 something starting with __ and the normal name is an alias. */
30767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30768 choke me
30769 #else
30770 char (*f) () = $ac_func;
30771 #endif
30772 #ifdef __cplusplus
30774 #endif
30777 main ()
30779 return f != $ac_func;
30781 return 0;
30783 _ACEOF
30784 rm -f conftest.$ac_objext conftest$ac_exeext
30785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30786 (eval $ac_link) 2>conftest.er1
30787 ac_status=$?
30788 grep -v '^ *+' conftest.er1 >conftest.err
30789 rm -f conftest.er1
30790 cat conftest.err >&5
30791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30792 (exit $ac_status); } &&
30793 { ac_try='test -z "$ac_c_werror_flag"
30794 || test ! -s conftest.err'
30795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30796 (eval $ac_try) 2>&5
30797 ac_status=$?
30798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30799 (exit $ac_status); }; } &&
30800 { ac_try='test -s conftest$ac_exeext'
30801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30802 (eval $ac_try) 2>&5
30803 ac_status=$?
30804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30805 (exit $ac_status); }; }; then
30806 eval "$as_ac_var=yes"
30807 else
30808 echo "$as_me: failed program was:" >&5
30809 sed 's/^/| /' conftest.$ac_ext >&5
30811 eval "$as_ac_var=no"
30813 rm -f conftest.err conftest.$ac_objext \
30814 conftest$ac_exeext conftest.$ac_ext
30816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30818 if test `eval echo '${'$as_ac_var'}'` = yes; then
30819 cat >>confdefs.h <<_ACEOF
30820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30821 _ACEOF
30824 done
30834 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
30835 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
30836 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
30837 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
30838 echo $ECHO_N "(cached) $ECHO_C" >&6
30839 else
30843 ac_ext=cc
30844 ac_cpp='$CXXCPP $CPPFLAGS'
30845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30849 cat >conftest.$ac_ext <<_ACEOF
30850 /* confdefs.h. */
30851 _ACEOF
30852 cat confdefs.h >>conftest.$ac_ext
30853 cat >>conftest.$ac_ext <<_ACEOF
30854 /* end confdefs.h. */
30855 #include <math.h>
30857 main ()
30859 atan2l(0, 0);
30861 return 0;
30863 _ACEOF
30864 rm -f conftest.$ac_objext
30865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30866 (eval $ac_compile) 2>conftest.er1
30867 ac_status=$?
30868 grep -v '^ *+' conftest.er1 >conftest.err
30869 rm -f conftest.er1
30870 cat conftest.err >&5
30871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30872 (exit $ac_status); } &&
30873 { ac_try='test -z "$ac_cxx_werror_flag"
30874 || test ! -s conftest.err'
30875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30876 (eval $ac_try) 2>&5
30877 ac_status=$?
30878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30879 (exit $ac_status); }; } &&
30880 { ac_try='test -s conftest.$ac_objext'
30881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30882 (eval $ac_try) 2>&5
30883 ac_status=$?
30884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30885 (exit $ac_status); }; }; then
30886 glibcxx_cv_func_atan2l_use=yes
30887 else
30888 echo "$as_me: failed program was:" >&5
30889 sed 's/^/| /' conftest.$ac_ext >&5
30891 glibcxx_cv_func_atan2l_use=no
30893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30894 ac_ext=c
30895 ac_cpp='$CPP $CPPFLAGS'
30896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
30905 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
30907 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
30909 for ac_func in atan2l
30911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30912 echo "$as_me:$LINENO: checking for $ac_func" >&5
30913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30914 if eval "test \"\${$as_ac_var+set}\" = set"; then
30915 echo $ECHO_N "(cached) $ECHO_C" >&6
30916 else
30917 if test x$gcc_no_link = xyes; then
30918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30920 { (exit 1); exit 1; }; }
30922 cat >conftest.$ac_ext <<_ACEOF
30923 /* confdefs.h. */
30924 _ACEOF
30925 cat confdefs.h >>conftest.$ac_ext
30926 cat >>conftest.$ac_ext <<_ACEOF
30927 /* end confdefs.h. */
30928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30930 #define $ac_func innocuous_$ac_func
30932 /* System header to define __stub macros and hopefully few prototypes,
30933 which can conflict with char $ac_func (); below.
30934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30935 <limits.h> exists even on freestanding compilers. */
30937 #ifdef __STDC__
30938 # include <limits.h>
30939 #else
30940 # include <assert.h>
30941 #endif
30943 #undef $ac_func
30945 /* Override any gcc2 internal prototype to avoid an error. */
30946 #ifdef __cplusplus
30947 extern "C"
30949 #endif
30950 /* We use char because int might match the return type of a gcc2
30951 builtin and then its argument prototype would still apply. */
30952 char $ac_func ();
30953 /* The GNU C library defines this for functions which it implements
30954 to always fail with ENOSYS. Some functions are actually named
30955 something starting with __ and the normal name is an alias. */
30956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30957 choke me
30958 #else
30959 char (*f) () = $ac_func;
30960 #endif
30961 #ifdef __cplusplus
30963 #endif
30966 main ()
30968 return f != $ac_func;
30970 return 0;
30972 _ACEOF
30973 rm -f conftest.$ac_objext conftest$ac_exeext
30974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30975 (eval $ac_link) 2>conftest.er1
30976 ac_status=$?
30977 grep -v '^ *+' conftest.er1 >conftest.err
30978 rm -f conftest.er1
30979 cat conftest.err >&5
30980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30981 (exit $ac_status); } &&
30982 { ac_try='test -z "$ac_c_werror_flag"
30983 || test ! -s conftest.err'
30984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30985 (eval $ac_try) 2>&5
30986 ac_status=$?
30987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30988 (exit $ac_status); }; } &&
30989 { ac_try='test -s conftest$ac_exeext'
30990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30991 (eval $ac_try) 2>&5
30992 ac_status=$?
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); }; }; then
30995 eval "$as_ac_var=yes"
30996 else
30997 echo "$as_me: failed program was:" >&5
30998 sed 's/^/| /' conftest.$ac_ext >&5
31000 eval "$as_ac_var=no"
31002 rm -f conftest.err conftest.$ac_objext \
31003 conftest$ac_exeext conftest.$ac_ext
31005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31007 if test `eval echo '${'$as_ac_var'}'` = yes; then
31008 cat >>confdefs.h <<_ACEOF
31009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31010 _ACEOF
31013 done
31015 else
31017 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
31018 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
31019 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31020 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
31021 echo $ECHO_N "(cached) $ECHO_C" >&6
31022 else
31026 ac_ext=cc
31027 ac_cpp='$CXXCPP $CPPFLAGS'
31028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31032 cat >conftest.$ac_ext <<_ACEOF
31033 /* confdefs.h. */
31034 _ACEOF
31035 cat confdefs.h >>conftest.$ac_ext
31036 cat >>conftest.$ac_ext <<_ACEOF
31037 /* end confdefs.h. */
31038 #include <math.h>
31040 main ()
31042 _atan2l(0, 0);
31044 return 0;
31046 _ACEOF
31047 rm -f conftest.$ac_objext
31048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31049 (eval $ac_compile) 2>conftest.er1
31050 ac_status=$?
31051 grep -v '^ *+' conftest.er1 >conftest.err
31052 rm -f conftest.er1
31053 cat conftest.err >&5
31054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31055 (exit $ac_status); } &&
31056 { ac_try='test -z "$ac_cxx_werror_flag"
31057 || test ! -s conftest.err'
31058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31059 (eval $ac_try) 2>&5
31060 ac_status=$?
31061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31062 (exit $ac_status); }; } &&
31063 { ac_try='test -s conftest.$ac_objext'
31064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31065 (eval $ac_try) 2>&5
31066 ac_status=$?
31067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31068 (exit $ac_status); }; }; then
31069 glibcxx_cv_func__atan2l_use=yes
31070 else
31071 echo "$as_me: failed program was:" >&5
31072 sed 's/^/| /' conftest.$ac_ext >&5
31074 glibcxx_cv_func__atan2l_use=no
31076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31077 ac_ext=c
31078 ac_cpp='$CPP $CPPFLAGS'
31079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
31088 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
31090 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31092 for ac_func in _atan2l
31094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31095 echo "$as_me:$LINENO: checking for $ac_func" >&5
31096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31097 if eval "test \"\${$as_ac_var+set}\" = set"; then
31098 echo $ECHO_N "(cached) $ECHO_C" >&6
31099 else
31100 if test x$gcc_no_link = xyes; then
31101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31103 { (exit 1); exit 1; }; }
31105 cat >conftest.$ac_ext <<_ACEOF
31106 /* confdefs.h. */
31107 _ACEOF
31108 cat confdefs.h >>conftest.$ac_ext
31109 cat >>conftest.$ac_ext <<_ACEOF
31110 /* end confdefs.h. */
31111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31113 #define $ac_func innocuous_$ac_func
31115 /* System header to define __stub macros and hopefully few prototypes,
31116 which can conflict with char $ac_func (); below.
31117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31118 <limits.h> exists even on freestanding compilers. */
31120 #ifdef __STDC__
31121 # include <limits.h>
31122 #else
31123 # include <assert.h>
31124 #endif
31126 #undef $ac_func
31128 /* Override any gcc2 internal prototype to avoid an error. */
31129 #ifdef __cplusplus
31130 extern "C"
31132 #endif
31133 /* We use char because int might match the return type of a gcc2
31134 builtin and then its argument prototype would still apply. */
31135 char $ac_func ();
31136 /* The GNU C library defines this for functions which it implements
31137 to always fail with ENOSYS. Some functions are actually named
31138 something starting with __ and the normal name is an alias. */
31139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31140 choke me
31141 #else
31142 char (*f) () = $ac_func;
31143 #endif
31144 #ifdef __cplusplus
31146 #endif
31149 main ()
31151 return f != $ac_func;
31153 return 0;
31155 _ACEOF
31156 rm -f conftest.$ac_objext conftest$ac_exeext
31157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31158 (eval $ac_link) 2>conftest.er1
31159 ac_status=$?
31160 grep -v '^ *+' conftest.er1 >conftest.err
31161 rm -f conftest.er1
31162 cat conftest.err >&5
31163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31164 (exit $ac_status); } &&
31165 { ac_try='test -z "$ac_c_werror_flag"
31166 || test ! -s conftest.err'
31167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31168 (eval $ac_try) 2>&5
31169 ac_status=$?
31170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31171 (exit $ac_status); }; } &&
31172 { ac_try='test -s conftest$ac_exeext'
31173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31174 (eval $ac_try) 2>&5
31175 ac_status=$?
31176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31177 (exit $ac_status); }; }; then
31178 eval "$as_ac_var=yes"
31179 else
31180 echo "$as_me: failed program was:" >&5
31181 sed 's/^/| /' conftest.$ac_ext >&5
31183 eval "$as_ac_var=no"
31185 rm -f conftest.err conftest.$ac_objext \
31186 conftest$ac_exeext conftest.$ac_ext
31188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31190 if test `eval echo '${'$as_ac_var'}'` = yes; then
31191 cat >>confdefs.h <<_ACEOF
31192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31193 _ACEOF
31196 done
31206 echo "$as_me:$LINENO: checking for expl declaration" >&5
31207 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
31208 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31209 if test "${glibcxx_cv_func_expl_use+set}" = set; then
31210 echo $ECHO_N "(cached) $ECHO_C" >&6
31211 else
31215 ac_ext=cc
31216 ac_cpp='$CXXCPP $CPPFLAGS'
31217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31221 cat >conftest.$ac_ext <<_ACEOF
31222 /* confdefs.h. */
31223 _ACEOF
31224 cat confdefs.h >>conftest.$ac_ext
31225 cat >>conftest.$ac_ext <<_ACEOF
31226 /* end confdefs.h. */
31227 #include <math.h>
31228 #ifdef HAVE_IEEEFP_H
31229 #include <ieeefp.h>
31230 #endif
31233 main ()
31235 expl(0);
31237 return 0;
31239 _ACEOF
31240 rm -f conftest.$ac_objext
31241 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31242 (eval $ac_compile) 2>conftest.er1
31243 ac_status=$?
31244 grep -v '^ *+' conftest.er1 >conftest.err
31245 rm -f conftest.er1
31246 cat conftest.err >&5
31247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31248 (exit $ac_status); } &&
31249 { ac_try='test -z "$ac_cxx_werror_flag"
31250 || test ! -s conftest.err'
31251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31252 (eval $ac_try) 2>&5
31253 ac_status=$?
31254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31255 (exit $ac_status); }; } &&
31256 { ac_try='test -s conftest.$ac_objext'
31257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31258 (eval $ac_try) 2>&5
31259 ac_status=$?
31260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31261 (exit $ac_status); }; }; then
31262 glibcxx_cv_func_expl_use=yes
31263 else
31264 echo "$as_me: failed program was:" >&5
31265 sed 's/^/| /' conftest.$ac_ext >&5
31267 glibcxx_cv_func_expl_use=no
31269 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31270 ac_ext=c
31271 ac_cpp='$CPP $CPPFLAGS'
31272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31280 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
31281 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
31283 if test x$glibcxx_cv_func_expl_use = x"yes"; then
31285 for ac_func in expl
31287 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31288 echo "$as_me:$LINENO: checking for $ac_func" >&5
31289 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31290 if eval "test \"\${$as_ac_var+set}\" = set"; then
31291 echo $ECHO_N "(cached) $ECHO_C" >&6
31292 else
31293 if test x$gcc_no_link = xyes; then
31294 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31295 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31296 { (exit 1); exit 1; }; }
31298 cat >conftest.$ac_ext <<_ACEOF
31299 /* confdefs.h. */
31300 _ACEOF
31301 cat confdefs.h >>conftest.$ac_ext
31302 cat >>conftest.$ac_ext <<_ACEOF
31303 /* end confdefs.h. */
31304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31306 #define $ac_func innocuous_$ac_func
31308 /* System header to define __stub macros and hopefully few prototypes,
31309 which can conflict with char $ac_func (); below.
31310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31311 <limits.h> exists even on freestanding compilers. */
31313 #ifdef __STDC__
31314 # include <limits.h>
31315 #else
31316 # include <assert.h>
31317 #endif
31319 #undef $ac_func
31321 /* Override any gcc2 internal prototype to avoid an error. */
31322 #ifdef __cplusplus
31323 extern "C"
31325 #endif
31326 /* We use char because int might match the return type of a gcc2
31327 builtin and then its argument prototype would still apply. */
31328 char $ac_func ();
31329 /* The GNU C library defines this for functions which it implements
31330 to always fail with ENOSYS. Some functions are actually named
31331 something starting with __ and the normal name is an alias. */
31332 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31333 choke me
31334 #else
31335 char (*f) () = $ac_func;
31336 #endif
31337 #ifdef __cplusplus
31339 #endif
31342 main ()
31344 return f != $ac_func;
31346 return 0;
31348 _ACEOF
31349 rm -f conftest.$ac_objext conftest$ac_exeext
31350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31351 (eval $ac_link) 2>conftest.er1
31352 ac_status=$?
31353 grep -v '^ *+' conftest.er1 >conftest.err
31354 rm -f conftest.er1
31355 cat conftest.err >&5
31356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31357 (exit $ac_status); } &&
31358 { ac_try='test -z "$ac_c_werror_flag"
31359 || test ! -s conftest.err'
31360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31361 (eval $ac_try) 2>&5
31362 ac_status=$?
31363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31364 (exit $ac_status); }; } &&
31365 { ac_try='test -s conftest$ac_exeext'
31366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31367 (eval $ac_try) 2>&5
31368 ac_status=$?
31369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31370 (exit $ac_status); }; }; then
31371 eval "$as_ac_var=yes"
31372 else
31373 echo "$as_me: failed program was:" >&5
31374 sed 's/^/| /' conftest.$ac_ext >&5
31376 eval "$as_ac_var=no"
31378 rm -f conftest.err conftest.$ac_objext \
31379 conftest$ac_exeext conftest.$ac_ext
31381 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31382 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31383 if test `eval echo '${'$as_ac_var'}'` = yes; then
31384 cat >>confdefs.h <<_ACEOF
31385 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31386 _ACEOF
31389 done
31391 else
31393 echo "$as_me:$LINENO: checking for _expl declaration" >&5
31394 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
31395 if test x${glibcxx_cv_func__expl_use+set} != xset; then
31396 if test "${glibcxx_cv_func__expl_use+set}" = set; then
31397 echo $ECHO_N "(cached) $ECHO_C" >&6
31398 else
31402 ac_ext=cc
31403 ac_cpp='$CXXCPP $CPPFLAGS'
31404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31408 cat >conftest.$ac_ext <<_ACEOF
31409 /* confdefs.h. */
31410 _ACEOF
31411 cat confdefs.h >>conftest.$ac_ext
31412 cat >>conftest.$ac_ext <<_ACEOF
31413 /* end confdefs.h. */
31414 #include <math.h>
31415 #ifdef HAVE_IEEEFP_H
31416 #include <ieeefp.h>
31417 #endif
31420 main ()
31422 _expl(0);
31424 return 0;
31426 _ACEOF
31427 rm -f conftest.$ac_objext
31428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31429 (eval $ac_compile) 2>conftest.er1
31430 ac_status=$?
31431 grep -v '^ *+' conftest.er1 >conftest.err
31432 rm -f conftest.er1
31433 cat conftest.err >&5
31434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31435 (exit $ac_status); } &&
31436 { ac_try='test -z "$ac_cxx_werror_flag"
31437 || test ! -s conftest.err'
31438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31439 (eval $ac_try) 2>&5
31440 ac_status=$?
31441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31442 (exit $ac_status); }; } &&
31443 { ac_try='test -s conftest.$ac_objext'
31444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31445 (eval $ac_try) 2>&5
31446 ac_status=$?
31447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31448 (exit $ac_status); }; }; then
31449 glibcxx_cv_func__expl_use=yes
31450 else
31451 echo "$as_me: failed program was:" >&5
31452 sed 's/^/| /' conftest.$ac_ext >&5
31454 glibcxx_cv_func__expl_use=no
31456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31457 ac_ext=c
31458 ac_cpp='$CPP $CPPFLAGS'
31459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
31468 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
31470 if test x$glibcxx_cv_func__expl_use = x"yes"; then
31472 for ac_func in _expl
31474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31475 echo "$as_me:$LINENO: checking for $ac_func" >&5
31476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31477 if eval "test \"\${$as_ac_var+set}\" = set"; then
31478 echo $ECHO_N "(cached) $ECHO_C" >&6
31479 else
31480 if test x$gcc_no_link = xyes; then
31481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31483 { (exit 1); exit 1; }; }
31485 cat >conftest.$ac_ext <<_ACEOF
31486 /* confdefs.h. */
31487 _ACEOF
31488 cat confdefs.h >>conftest.$ac_ext
31489 cat >>conftest.$ac_ext <<_ACEOF
31490 /* end confdefs.h. */
31491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31493 #define $ac_func innocuous_$ac_func
31495 /* System header to define __stub macros and hopefully few prototypes,
31496 which can conflict with char $ac_func (); below.
31497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31498 <limits.h> exists even on freestanding compilers. */
31500 #ifdef __STDC__
31501 # include <limits.h>
31502 #else
31503 # include <assert.h>
31504 #endif
31506 #undef $ac_func
31508 /* Override any gcc2 internal prototype to avoid an error. */
31509 #ifdef __cplusplus
31510 extern "C"
31512 #endif
31513 /* We use char because int might match the return type of a gcc2
31514 builtin and then its argument prototype would still apply. */
31515 char $ac_func ();
31516 /* The GNU C library defines this for functions which it implements
31517 to always fail with ENOSYS. Some functions are actually named
31518 something starting with __ and the normal name is an alias. */
31519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31520 choke me
31521 #else
31522 char (*f) () = $ac_func;
31523 #endif
31524 #ifdef __cplusplus
31526 #endif
31529 main ()
31531 return f != $ac_func;
31533 return 0;
31535 _ACEOF
31536 rm -f conftest.$ac_objext conftest$ac_exeext
31537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31538 (eval $ac_link) 2>conftest.er1
31539 ac_status=$?
31540 grep -v '^ *+' conftest.er1 >conftest.err
31541 rm -f conftest.er1
31542 cat conftest.err >&5
31543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31544 (exit $ac_status); } &&
31545 { ac_try='test -z "$ac_c_werror_flag"
31546 || test ! -s conftest.err'
31547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31548 (eval $ac_try) 2>&5
31549 ac_status=$?
31550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31551 (exit $ac_status); }; } &&
31552 { ac_try='test -s conftest$ac_exeext'
31553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31554 (eval $ac_try) 2>&5
31555 ac_status=$?
31556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31557 (exit $ac_status); }; }; then
31558 eval "$as_ac_var=yes"
31559 else
31560 echo "$as_me: failed program was:" >&5
31561 sed 's/^/| /' conftest.$ac_ext >&5
31563 eval "$as_ac_var=no"
31565 rm -f conftest.err conftest.$ac_objext \
31566 conftest$ac_exeext conftest.$ac_ext
31568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31570 if test `eval echo '${'$as_ac_var'}'` = yes; then
31571 cat >>confdefs.h <<_ACEOF
31572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31573 _ACEOF
31576 done
31586 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
31587 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
31588 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
31589 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
31590 echo $ECHO_N "(cached) $ECHO_C" >&6
31591 else
31595 ac_ext=cc
31596 ac_cpp='$CXXCPP $CPPFLAGS'
31597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31601 cat >conftest.$ac_ext <<_ACEOF
31602 /* confdefs.h. */
31603 _ACEOF
31604 cat confdefs.h >>conftest.$ac_ext
31605 cat >>conftest.$ac_ext <<_ACEOF
31606 /* end confdefs.h. */
31607 #include <math.h>
31608 #ifdef HAVE_IEEEFP_H
31609 #include <ieeefp.h>
31610 #endif
31613 main ()
31615 fabsl(0);
31617 return 0;
31619 _ACEOF
31620 rm -f conftest.$ac_objext
31621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31622 (eval $ac_compile) 2>conftest.er1
31623 ac_status=$?
31624 grep -v '^ *+' conftest.er1 >conftest.err
31625 rm -f conftest.er1
31626 cat conftest.err >&5
31627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31628 (exit $ac_status); } &&
31629 { ac_try='test -z "$ac_cxx_werror_flag"
31630 || test ! -s conftest.err'
31631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31632 (eval $ac_try) 2>&5
31633 ac_status=$?
31634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31635 (exit $ac_status); }; } &&
31636 { ac_try='test -s conftest.$ac_objext'
31637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31638 (eval $ac_try) 2>&5
31639 ac_status=$?
31640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31641 (exit $ac_status); }; }; then
31642 glibcxx_cv_func_fabsl_use=yes
31643 else
31644 echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.$ac_ext >&5
31647 glibcxx_cv_func_fabsl_use=no
31649 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31650 ac_ext=c
31651 ac_cpp='$CPP $CPPFLAGS'
31652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31660 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
31661 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
31663 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
31665 for ac_func in fabsl
31667 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31668 echo "$as_me:$LINENO: checking for $ac_func" >&5
31669 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31670 if eval "test \"\${$as_ac_var+set}\" = set"; then
31671 echo $ECHO_N "(cached) $ECHO_C" >&6
31672 else
31673 if test x$gcc_no_link = xyes; then
31674 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31675 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31676 { (exit 1); exit 1; }; }
31678 cat >conftest.$ac_ext <<_ACEOF
31679 /* confdefs.h. */
31680 _ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31684 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31686 #define $ac_func innocuous_$ac_func
31688 /* System header to define __stub macros and hopefully few prototypes,
31689 which can conflict with char $ac_func (); below.
31690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31691 <limits.h> exists even on freestanding compilers. */
31693 #ifdef __STDC__
31694 # include <limits.h>
31695 #else
31696 # include <assert.h>
31697 #endif
31699 #undef $ac_func
31701 /* Override any gcc2 internal prototype to avoid an error. */
31702 #ifdef __cplusplus
31703 extern "C"
31705 #endif
31706 /* We use char because int might match the return type of a gcc2
31707 builtin and then its argument prototype would still apply. */
31708 char $ac_func ();
31709 /* The GNU C library defines this for functions which it implements
31710 to always fail with ENOSYS. Some functions are actually named
31711 something starting with __ and the normal name is an alias. */
31712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31713 choke me
31714 #else
31715 char (*f) () = $ac_func;
31716 #endif
31717 #ifdef __cplusplus
31719 #endif
31722 main ()
31724 return f != $ac_func;
31726 return 0;
31728 _ACEOF
31729 rm -f conftest.$ac_objext conftest$ac_exeext
31730 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31731 (eval $ac_link) 2>conftest.er1
31732 ac_status=$?
31733 grep -v '^ *+' conftest.er1 >conftest.err
31734 rm -f conftest.er1
31735 cat conftest.err >&5
31736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31737 (exit $ac_status); } &&
31738 { ac_try='test -z "$ac_c_werror_flag"
31739 || test ! -s conftest.err'
31740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31741 (eval $ac_try) 2>&5
31742 ac_status=$?
31743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31744 (exit $ac_status); }; } &&
31745 { ac_try='test -s conftest$ac_exeext'
31746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31747 (eval $ac_try) 2>&5
31748 ac_status=$?
31749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31750 (exit $ac_status); }; }; then
31751 eval "$as_ac_var=yes"
31752 else
31753 echo "$as_me: failed program was:" >&5
31754 sed 's/^/| /' conftest.$ac_ext >&5
31756 eval "$as_ac_var=no"
31758 rm -f conftest.err conftest.$ac_objext \
31759 conftest$ac_exeext conftest.$ac_ext
31761 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31762 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31763 if test `eval echo '${'$as_ac_var'}'` = yes; then
31764 cat >>confdefs.h <<_ACEOF
31765 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31766 _ACEOF
31769 done
31771 else
31773 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
31774 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
31775 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
31776 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
31777 echo $ECHO_N "(cached) $ECHO_C" >&6
31778 else
31782 ac_ext=cc
31783 ac_cpp='$CXXCPP $CPPFLAGS'
31784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31788 cat >conftest.$ac_ext <<_ACEOF
31789 /* confdefs.h. */
31790 _ACEOF
31791 cat confdefs.h >>conftest.$ac_ext
31792 cat >>conftest.$ac_ext <<_ACEOF
31793 /* end confdefs.h. */
31794 #include <math.h>
31795 #ifdef HAVE_IEEEFP_H
31796 #include <ieeefp.h>
31797 #endif
31800 main ()
31802 _fabsl(0);
31804 return 0;
31806 _ACEOF
31807 rm -f conftest.$ac_objext
31808 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31809 (eval $ac_compile) 2>conftest.er1
31810 ac_status=$?
31811 grep -v '^ *+' conftest.er1 >conftest.err
31812 rm -f conftest.er1
31813 cat conftest.err >&5
31814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31815 (exit $ac_status); } &&
31816 { ac_try='test -z "$ac_cxx_werror_flag"
31817 || test ! -s conftest.err'
31818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31819 (eval $ac_try) 2>&5
31820 ac_status=$?
31821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31822 (exit $ac_status); }; } &&
31823 { ac_try='test -s conftest.$ac_objext'
31824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31825 (eval $ac_try) 2>&5
31826 ac_status=$?
31827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31828 (exit $ac_status); }; }; then
31829 glibcxx_cv_func__fabsl_use=yes
31830 else
31831 echo "$as_me: failed program was:" >&5
31832 sed 's/^/| /' conftest.$ac_ext >&5
31834 glibcxx_cv_func__fabsl_use=no
31836 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31837 ac_ext=c
31838 ac_cpp='$CPP $CPPFLAGS'
31839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31847 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
31848 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
31850 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
31852 for ac_func in _fabsl
31854 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31855 echo "$as_me:$LINENO: checking for $ac_func" >&5
31856 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31857 if eval "test \"\${$as_ac_var+set}\" = set"; then
31858 echo $ECHO_N "(cached) $ECHO_C" >&6
31859 else
31860 if test x$gcc_no_link = xyes; then
31861 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31862 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31863 { (exit 1); exit 1; }; }
31865 cat >conftest.$ac_ext <<_ACEOF
31866 /* confdefs.h. */
31867 _ACEOF
31868 cat confdefs.h >>conftest.$ac_ext
31869 cat >>conftest.$ac_ext <<_ACEOF
31870 /* end confdefs.h. */
31871 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31872 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31873 #define $ac_func innocuous_$ac_func
31875 /* System header to define __stub macros and hopefully few prototypes,
31876 which can conflict with char $ac_func (); below.
31877 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31878 <limits.h> exists even on freestanding compilers. */
31880 #ifdef __STDC__
31881 # include <limits.h>
31882 #else
31883 # include <assert.h>
31884 #endif
31886 #undef $ac_func
31888 /* Override any gcc2 internal prototype to avoid an error. */
31889 #ifdef __cplusplus
31890 extern "C"
31892 #endif
31893 /* We use char because int might match the return type of a gcc2
31894 builtin and then its argument prototype would still apply. */
31895 char $ac_func ();
31896 /* The GNU C library defines this for functions which it implements
31897 to always fail with ENOSYS. Some functions are actually named
31898 something starting with __ and the normal name is an alias. */
31899 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31900 choke me
31901 #else
31902 char (*f) () = $ac_func;
31903 #endif
31904 #ifdef __cplusplus
31906 #endif
31909 main ()
31911 return f != $ac_func;
31913 return 0;
31915 _ACEOF
31916 rm -f conftest.$ac_objext conftest$ac_exeext
31917 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31918 (eval $ac_link) 2>conftest.er1
31919 ac_status=$?
31920 grep -v '^ *+' conftest.er1 >conftest.err
31921 rm -f conftest.er1
31922 cat conftest.err >&5
31923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31924 (exit $ac_status); } &&
31925 { ac_try='test -z "$ac_c_werror_flag"
31926 || test ! -s conftest.err'
31927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31928 (eval $ac_try) 2>&5
31929 ac_status=$?
31930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31931 (exit $ac_status); }; } &&
31932 { ac_try='test -s conftest$ac_exeext'
31933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31934 (eval $ac_try) 2>&5
31935 ac_status=$?
31936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31937 (exit $ac_status); }; }; then
31938 eval "$as_ac_var=yes"
31939 else
31940 echo "$as_me: failed program was:" >&5
31941 sed 's/^/| /' conftest.$ac_ext >&5
31943 eval "$as_ac_var=no"
31945 rm -f conftest.err conftest.$ac_objext \
31946 conftest$ac_exeext conftest.$ac_ext
31948 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31949 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31950 if test `eval echo '${'$as_ac_var'}'` = yes; then
31951 cat >>confdefs.h <<_ACEOF
31952 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31953 _ACEOF
31956 done
31966 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
31967 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
31968 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
31969 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
31970 echo $ECHO_N "(cached) $ECHO_C" >&6
31971 else
31975 ac_ext=cc
31976 ac_cpp='$CXXCPP $CPPFLAGS'
31977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31981 cat >conftest.$ac_ext <<_ACEOF
31982 /* confdefs.h. */
31983 _ACEOF
31984 cat confdefs.h >>conftest.$ac_ext
31985 cat >>conftest.$ac_ext <<_ACEOF
31986 /* end confdefs.h. */
31987 #include <math.h>
31989 main ()
31991 fmodl(0, 0);
31993 return 0;
31995 _ACEOF
31996 rm -f conftest.$ac_objext
31997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31998 (eval $ac_compile) 2>conftest.er1
31999 ac_status=$?
32000 grep -v '^ *+' conftest.er1 >conftest.err
32001 rm -f conftest.er1
32002 cat conftest.err >&5
32003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32004 (exit $ac_status); } &&
32005 { ac_try='test -z "$ac_cxx_werror_flag"
32006 || test ! -s conftest.err'
32007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32008 (eval $ac_try) 2>&5
32009 ac_status=$?
32010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32011 (exit $ac_status); }; } &&
32012 { ac_try='test -s conftest.$ac_objext'
32013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32014 (eval $ac_try) 2>&5
32015 ac_status=$?
32016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32017 (exit $ac_status); }; }; then
32018 glibcxx_cv_func_fmodl_use=yes
32019 else
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32023 glibcxx_cv_func_fmodl_use=no
32025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32026 ac_ext=c
32027 ac_cpp='$CPP $CPPFLAGS'
32028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32036 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
32037 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
32039 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32041 for ac_func in fmodl
32043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32044 echo "$as_me:$LINENO: checking for $ac_func" >&5
32045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32046 if eval "test \"\${$as_ac_var+set}\" = set"; then
32047 echo $ECHO_N "(cached) $ECHO_C" >&6
32048 else
32049 if test x$gcc_no_link = xyes; then
32050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32052 { (exit 1); exit 1; }; }
32054 cat >conftest.$ac_ext <<_ACEOF
32055 /* confdefs.h. */
32056 _ACEOF
32057 cat confdefs.h >>conftest.$ac_ext
32058 cat >>conftest.$ac_ext <<_ACEOF
32059 /* end confdefs.h. */
32060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32062 #define $ac_func innocuous_$ac_func
32064 /* System header to define __stub macros and hopefully few prototypes,
32065 which can conflict with char $ac_func (); below.
32066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32067 <limits.h> exists even on freestanding compilers. */
32069 #ifdef __STDC__
32070 # include <limits.h>
32071 #else
32072 # include <assert.h>
32073 #endif
32075 #undef $ac_func
32077 /* Override any gcc2 internal prototype to avoid an error. */
32078 #ifdef __cplusplus
32079 extern "C"
32081 #endif
32082 /* We use char because int might match the return type of a gcc2
32083 builtin and then its argument prototype would still apply. */
32084 char $ac_func ();
32085 /* The GNU C library defines this for functions which it implements
32086 to always fail with ENOSYS. Some functions are actually named
32087 something starting with __ and the normal name is an alias. */
32088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32089 choke me
32090 #else
32091 char (*f) () = $ac_func;
32092 #endif
32093 #ifdef __cplusplus
32095 #endif
32098 main ()
32100 return f != $ac_func;
32102 return 0;
32104 _ACEOF
32105 rm -f conftest.$ac_objext conftest$ac_exeext
32106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32107 (eval $ac_link) 2>conftest.er1
32108 ac_status=$?
32109 grep -v '^ *+' conftest.er1 >conftest.err
32110 rm -f conftest.er1
32111 cat conftest.err >&5
32112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32113 (exit $ac_status); } &&
32114 { ac_try='test -z "$ac_c_werror_flag"
32115 || test ! -s conftest.err'
32116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32117 (eval $ac_try) 2>&5
32118 ac_status=$?
32119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32120 (exit $ac_status); }; } &&
32121 { ac_try='test -s conftest$ac_exeext'
32122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32123 (eval $ac_try) 2>&5
32124 ac_status=$?
32125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32126 (exit $ac_status); }; }; then
32127 eval "$as_ac_var=yes"
32128 else
32129 echo "$as_me: failed program was:" >&5
32130 sed 's/^/| /' conftest.$ac_ext >&5
32132 eval "$as_ac_var=no"
32134 rm -f conftest.err conftest.$ac_objext \
32135 conftest$ac_exeext conftest.$ac_ext
32137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32139 if test `eval echo '${'$as_ac_var'}'` = yes; then
32140 cat >>confdefs.h <<_ACEOF
32141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32142 _ACEOF
32145 done
32147 else
32149 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
32150 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
32151 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32152 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
32153 echo $ECHO_N "(cached) $ECHO_C" >&6
32154 else
32158 ac_ext=cc
32159 ac_cpp='$CXXCPP $CPPFLAGS'
32160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32164 cat >conftest.$ac_ext <<_ACEOF
32165 /* confdefs.h. */
32166 _ACEOF
32167 cat confdefs.h >>conftest.$ac_ext
32168 cat >>conftest.$ac_ext <<_ACEOF
32169 /* end confdefs.h. */
32170 #include <math.h>
32172 main ()
32174 _fmodl(0, 0);
32176 return 0;
32178 _ACEOF
32179 rm -f conftest.$ac_objext
32180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32181 (eval $ac_compile) 2>conftest.er1
32182 ac_status=$?
32183 grep -v '^ *+' conftest.er1 >conftest.err
32184 rm -f conftest.er1
32185 cat conftest.err >&5
32186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32187 (exit $ac_status); } &&
32188 { ac_try='test -z "$ac_cxx_werror_flag"
32189 || test ! -s conftest.err'
32190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32191 (eval $ac_try) 2>&5
32192 ac_status=$?
32193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32194 (exit $ac_status); }; } &&
32195 { ac_try='test -s conftest.$ac_objext'
32196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32197 (eval $ac_try) 2>&5
32198 ac_status=$?
32199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32200 (exit $ac_status); }; }; then
32201 glibcxx_cv_func__fmodl_use=yes
32202 else
32203 echo "$as_me: failed program was:" >&5
32204 sed 's/^/| /' conftest.$ac_ext >&5
32206 glibcxx_cv_func__fmodl_use=no
32208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32209 ac_ext=c
32210 ac_cpp='$CPP $CPPFLAGS'
32211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
32220 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
32222 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32224 for ac_func in _fmodl
32226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32227 echo "$as_me:$LINENO: checking for $ac_func" >&5
32228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32229 if eval "test \"\${$as_ac_var+set}\" = set"; then
32230 echo $ECHO_N "(cached) $ECHO_C" >&6
32231 else
32232 if test x$gcc_no_link = xyes; then
32233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32235 { (exit 1); exit 1; }; }
32237 cat >conftest.$ac_ext <<_ACEOF
32238 /* confdefs.h. */
32239 _ACEOF
32240 cat confdefs.h >>conftest.$ac_ext
32241 cat >>conftest.$ac_ext <<_ACEOF
32242 /* end confdefs.h. */
32243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32245 #define $ac_func innocuous_$ac_func
32247 /* System header to define __stub macros and hopefully few prototypes,
32248 which can conflict with char $ac_func (); below.
32249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32250 <limits.h> exists even on freestanding compilers. */
32252 #ifdef __STDC__
32253 # include <limits.h>
32254 #else
32255 # include <assert.h>
32256 #endif
32258 #undef $ac_func
32260 /* Override any gcc2 internal prototype to avoid an error. */
32261 #ifdef __cplusplus
32262 extern "C"
32264 #endif
32265 /* We use char because int might match the return type of a gcc2
32266 builtin and then its argument prototype would still apply. */
32267 char $ac_func ();
32268 /* The GNU C library defines this for functions which it implements
32269 to always fail with ENOSYS. Some functions are actually named
32270 something starting with __ and the normal name is an alias. */
32271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32272 choke me
32273 #else
32274 char (*f) () = $ac_func;
32275 #endif
32276 #ifdef __cplusplus
32278 #endif
32281 main ()
32283 return f != $ac_func;
32285 return 0;
32287 _ACEOF
32288 rm -f conftest.$ac_objext conftest$ac_exeext
32289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32290 (eval $ac_link) 2>conftest.er1
32291 ac_status=$?
32292 grep -v '^ *+' conftest.er1 >conftest.err
32293 rm -f conftest.er1
32294 cat conftest.err >&5
32295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32296 (exit $ac_status); } &&
32297 { ac_try='test -z "$ac_c_werror_flag"
32298 || test ! -s conftest.err'
32299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32300 (eval $ac_try) 2>&5
32301 ac_status=$?
32302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32303 (exit $ac_status); }; } &&
32304 { ac_try='test -s conftest$ac_exeext'
32305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32306 (eval $ac_try) 2>&5
32307 ac_status=$?
32308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32309 (exit $ac_status); }; }; then
32310 eval "$as_ac_var=yes"
32311 else
32312 echo "$as_me: failed program was:" >&5
32313 sed 's/^/| /' conftest.$ac_ext >&5
32315 eval "$as_ac_var=no"
32317 rm -f conftest.err conftest.$ac_objext \
32318 conftest$ac_exeext conftest.$ac_ext
32320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32322 if test `eval echo '${'$as_ac_var'}'` = yes; then
32323 cat >>confdefs.h <<_ACEOF
32324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32325 _ACEOF
32328 done
32338 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
32339 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
32340 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32341 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
32342 echo $ECHO_N "(cached) $ECHO_C" >&6
32343 else
32347 ac_ext=cc
32348 ac_cpp='$CXXCPP $CPPFLAGS'
32349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32353 cat >conftest.$ac_ext <<_ACEOF
32354 /* confdefs.h. */
32355 _ACEOF
32356 cat confdefs.h >>conftest.$ac_ext
32357 cat >>conftest.$ac_ext <<_ACEOF
32358 /* end confdefs.h. */
32359 #include <math.h>
32361 main ()
32363 frexpl(0, 0);
32365 return 0;
32367 _ACEOF
32368 rm -f conftest.$ac_objext
32369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32370 (eval $ac_compile) 2>conftest.er1
32371 ac_status=$?
32372 grep -v '^ *+' conftest.er1 >conftest.err
32373 rm -f conftest.er1
32374 cat conftest.err >&5
32375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32376 (exit $ac_status); } &&
32377 { ac_try='test -z "$ac_cxx_werror_flag"
32378 || test ! -s conftest.err'
32379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32380 (eval $ac_try) 2>&5
32381 ac_status=$?
32382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32383 (exit $ac_status); }; } &&
32384 { ac_try='test -s conftest.$ac_objext'
32385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32386 (eval $ac_try) 2>&5
32387 ac_status=$?
32388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32389 (exit $ac_status); }; }; then
32390 glibcxx_cv_func_frexpl_use=yes
32391 else
32392 echo "$as_me: failed program was:" >&5
32393 sed 's/^/| /' conftest.$ac_ext >&5
32395 glibcxx_cv_func_frexpl_use=no
32397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32398 ac_ext=c
32399 ac_cpp='$CPP $CPPFLAGS'
32400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
32409 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
32411 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32413 for ac_func in frexpl
32415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32416 echo "$as_me:$LINENO: checking for $ac_func" >&5
32417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32418 if eval "test \"\${$as_ac_var+set}\" = set"; then
32419 echo $ECHO_N "(cached) $ECHO_C" >&6
32420 else
32421 if test x$gcc_no_link = xyes; then
32422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32424 { (exit 1); exit 1; }; }
32426 cat >conftest.$ac_ext <<_ACEOF
32427 /* confdefs.h. */
32428 _ACEOF
32429 cat confdefs.h >>conftest.$ac_ext
32430 cat >>conftest.$ac_ext <<_ACEOF
32431 /* end confdefs.h. */
32432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32434 #define $ac_func innocuous_$ac_func
32436 /* System header to define __stub macros and hopefully few prototypes,
32437 which can conflict with char $ac_func (); below.
32438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32439 <limits.h> exists even on freestanding compilers. */
32441 #ifdef __STDC__
32442 # include <limits.h>
32443 #else
32444 # include <assert.h>
32445 #endif
32447 #undef $ac_func
32449 /* Override any gcc2 internal prototype to avoid an error. */
32450 #ifdef __cplusplus
32451 extern "C"
32453 #endif
32454 /* We use char because int might match the return type of a gcc2
32455 builtin and then its argument prototype would still apply. */
32456 char $ac_func ();
32457 /* The GNU C library defines this for functions which it implements
32458 to always fail with ENOSYS. Some functions are actually named
32459 something starting with __ and the normal name is an alias. */
32460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32461 choke me
32462 #else
32463 char (*f) () = $ac_func;
32464 #endif
32465 #ifdef __cplusplus
32467 #endif
32470 main ()
32472 return f != $ac_func;
32474 return 0;
32476 _ACEOF
32477 rm -f conftest.$ac_objext conftest$ac_exeext
32478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32479 (eval $ac_link) 2>conftest.er1
32480 ac_status=$?
32481 grep -v '^ *+' conftest.er1 >conftest.err
32482 rm -f conftest.er1
32483 cat conftest.err >&5
32484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32485 (exit $ac_status); } &&
32486 { ac_try='test -z "$ac_c_werror_flag"
32487 || test ! -s conftest.err'
32488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32489 (eval $ac_try) 2>&5
32490 ac_status=$?
32491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32492 (exit $ac_status); }; } &&
32493 { ac_try='test -s conftest$ac_exeext'
32494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32495 (eval $ac_try) 2>&5
32496 ac_status=$?
32497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32498 (exit $ac_status); }; }; then
32499 eval "$as_ac_var=yes"
32500 else
32501 echo "$as_me: failed program was:" >&5
32502 sed 's/^/| /' conftest.$ac_ext >&5
32504 eval "$as_ac_var=no"
32506 rm -f conftest.err conftest.$ac_objext \
32507 conftest$ac_exeext conftest.$ac_ext
32509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32511 if test `eval echo '${'$as_ac_var'}'` = yes; then
32512 cat >>confdefs.h <<_ACEOF
32513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32514 _ACEOF
32517 done
32519 else
32521 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
32522 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
32523 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32524 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
32525 echo $ECHO_N "(cached) $ECHO_C" >&6
32526 else
32530 ac_ext=cc
32531 ac_cpp='$CXXCPP $CPPFLAGS'
32532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32536 cat >conftest.$ac_ext <<_ACEOF
32537 /* confdefs.h. */
32538 _ACEOF
32539 cat confdefs.h >>conftest.$ac_ext
32540 cat >>conftest.$ac_ext <<_ACEOF
32541 /* end confdefs.h. */
32542 #include <math.h>
32544 main ()
32546 _frexpl(0, 0);
32548 return 0;
32550 _ACEOF
32551 rm -f conftest.$ac_objext
32552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32553 (eval $ac_compile) 2>conftest.er1
32554 ac_status=$?
32555 grep -v '^ *+' conftest.er1 >conftest.err
32556 rm -f conftest.er1
32557 cat conftest.err >&5
32558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32559 (exit $ac_status); } &&
32560 { ac_try='test -z "$ac_cxx_werror_flag"
32561 || test ! -s conftest.err'
32562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32563 (eval $ac_try) 2>&5
32564 ac_status=$?
32565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32566 (exit $ac_status); }; } &&
32567 { ac_try='test -s conftest.$ac_objext'
32568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32569 (eval $ac_try) 2>&5
32570 ac_status=$?
32571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32572 (exit $ac_status); }; }; then
32573 glibcxx_cv_func__frexpl_use=yes
32574 else
32575 echo "$as_me: failed program was:" >&5
32576 sed 's/^/| /' conftest.$ac_ext >&5
32578 glibcxx_cv_func__frexpl_use=no
32580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32581 ac_ext=c
32582 ac_cpp='$CPP $CPPFLAGS'
32583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
32592 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
32594 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32596 for ac_func in _frexpl
32598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32599 echo "$as_me:$LINENO: checking for $ac_func" >&5
32600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32601 if eval "test \"\${$as_ac_var+set}\" = set"; then
32602 echo $ECHO_N "(cached) $ECHO_C" >&6
32603 else
32604 if test x$gcc_no_link = xyes; then
32605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32607 { (exit 1); exit 1; }; }
32609 cat >conftest.$ac_ext <<_ACEOF
32610 /* confdefs.h. */
32611 _ACEOF
32612 cat confdefs.h >>conftest.$ac_ext
32613 cat >>conftest.$ac_ext <<_ACEOF
32614 /* end confdefs.h. */
32615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32617 #define $ac_func innocuous_$ac_func
32619 /* System header to define __stub macros and hopefully few prototypes,
32620 which can conflict with char $ac_func (); below.
32621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32622 <limits.h> exists even on freestanding compilers. */
32624 #ifdef __STDC__
32625 # include <limits.h>
32626 #else
32627 # include <assert.h>
32628 #endif
32630 #undef $ac_func
32632 /* Override any gcc2 internal prototype to avoid an error. */
32633 #ifdef __cplusplus
32634 extern "C"
32636 #endif
32637 /* We use char because int might match the return type of a gcc2
32638 builtin and then its argument prototype would still apply. */
32639 char $ac_func ();
32640 /* The GNU C library defines this for functions which it implements
32641 to always fail with ENOSYS. Some functions are actually named
32642 something starting with __ and the normal name is an alias. */
32643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32644 choke me
32645 #else
32646 char (*f) () = $ac_func;
32647 #endif
32648 #ifdef __cplusplus
32650 #endif
32653 main ()
32655 return f != $ac_func;
32657 return 0;
32659 _ACEOF
32660 rm -f conftest.$ac_objext conftest$ac_exeext
32661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32662 (eval $ac_link) 2>conftest.er1
32663 ac_status=$?
32664 grep -v '^ *+' conftest.er1 >conftest.err
32665 rm -f conftest.er1
32666 cat conftest.err >&5
32667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32668 (exit $ac_status); } &&
32669 { ac_try='test -z "$ac_c_werror_flag"
32670 || test ! -s conftest.err'
32671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32672 (eval $ac_try) 2>&5
32673 ac_status=$?
32674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32675 (exit $ac_status); }; } &&
32676 { ac_try='test -s conftest$ac_exeext'
32677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32678 (eval $ac_try) 2>&5
32679 ac_status=$?
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); }; }; then
32682 eval "$as_ac_var=yes"
32683 else
32684 echo "$as_me: failed program was:" >&5
32685 sed 's/^/| /' conftest.$ac_ext >&5
32687 eval "$as_ac_var=no"
32689 rm -f conftest.err conftest.$ac_objext \
32690 conftest$ac_exeext conftest.$ac_ext
32692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32694 if test `eval echo '${'$as_ac_var'}'` = yes; then
32695 cat >>confdefs.h <<_ACEOF
32696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32697 _ACEOF
32700 done
32710 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
32711 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
32712 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32713 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
32714 echo $ECHO_N "(cached) $ECHO_C" >&6
32715 else
32719 ac_ext=cc
32720 ac_cpp='$CXXCPP $CPPFLAGS'
32721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32725 cat >conftest.$ac_ext <<_ACEOF
32726 /* confdefs.h. */
32727 _ACEOF
32728 cat confdefs.h >>conftest.$ac_ext
32729 cat >>conftest.$ac_ext <<_ACEOF
32730 /* end confdefs.h. */
32731 #include <math.h>
32733 main ()
32735 hypotl(0, 0);
32737 return 0;
32739 _ACEOF
32740 rm -f conftest.$ac_objext
32741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32742 (eval $ac_compile) 2>conftest.er1
32743 ac_status=$?
32744 grep -v '^ *+' conftest.er1 >conftest.err
32745 rm -f conftest.er1
32746 cat conftest.err >&5
32747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32748 (exit $ac_status); } &&
32749 { ac_try='test -z "$ac_cxx_werror_flag"
32750 || test ! -s conftest.err'
32751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32752 (eval $ac_try) 2>&5
32753 ac_status=$?
32754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32755 (exit $ac_status); }; } &&
32756 { ac_try='test -s conftest.$ac_objext'
32757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32758 (eval $ac_try) 2>&5
32759 ac_status=$?
32760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32761 (exit $ac_status); }; }; then
32762 glibcxx_cv_func_hypotl_use=yes
32763 else
32764 echo "$as_me: failed program was:" >&5
32765 sed 's/^/| /' conftest.$ac_ext >&5
32767 glibcxx_cv_func_hypotl_use=no
32769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32770 ac_ext=c
32771 ac_cpp='$CPP $CPPFLAGS'
32772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
32781 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
32783 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32785 for ac_func in hypotl
32787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32788 echo "$as_me:$LINENO: checking for $ac_func" >&5
32789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32790 if eval "test \"\${$as_ac_var+set}\" = set"; then
32791 echo $ECHO_N "(cached) $ECHO_C" >&6
32792 else
32793 if test x$gcc_no_link = xyes; then
32794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32796 { (exit 1); exit 1; }; }
32798 cat >conftest.$ac_ext <<_ACEOF
32799 /* confdefs.h. */
32800 _ACEOF
32801 cat confdefs.h >>conftest.$ac_ext
32802 cat >>conftest.$ac_ext <<_ACEOF
32803 /* end confdefs.h. */
32804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32806 #define $ac_func innocuous_$ac_func
32808 /* System header to define __stub macros and hopefully few prototypes,
32809 which can conflict with char $ac_func (); below.
32810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32811 <limits.h> exists even on freestanding compilers. */
32813 #ifdef __STDC__
32814 # include <limits.h>
32815 #else
32816 # include <assert.h>
32817 #endif
32819 #undef $ac_func
32821 /* Override any gcc2 internal prototype to avoid an error. */
32822 #ifdef __cplusplus
32823 extern "C"
32825 #endif
32826 /* We use char because int might match the return type of a gcc2
32827 builtin and then its argument prototype would still apply. */
32828 char $ac_func ();
32829 /* The GNU C library defines this for functions which it implements
32830 to always fail with ENOSYS. Some functions are actually named
32831 something starting with __ and the normal name is an alias. */
32832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32833 choke me
32834 #else
32835 char (*f) () = $ac_func;
32836 #endif
32837 #ifdef __cplusplus
32839 #endif
32842 main ()
32844 return f != $ac_func;
32846 return 0;
32848 _ACEOF
32849 rm -f conftest.$ac_objext conftest$ac_exeext
32850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32851 (eval $ac_link) 2>conftest.er1
32852 ac_status=$?
32853 grep -v '^ *+' conftest.er1 >conftest.err
32854 rm -f conftest.er1
32855 cat conftest.err >&5
32856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32857 (exit $ac_status); } &&
32858 { ac_try='test -z "$ac_c_werror_flag"
32859 || test ! -s conftest.err'
32860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32861 (eval $ac_try) 2>&5
32862 ac_status=$?
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); }; } &&
32865 { ac_try='test -s conftest$ac_exeext'
32866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32867 (eval $ac_try) 2>&5
32868 ac_status=$?
32869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32870 (exit $ac_status); }; }; then
32871 eval "$as_ac_var=yes"
32872 else
32873 echo "$as_me: failed program was:" >&5
32874 sed 's/^/| /' conftest.$ac_ext >&5
32876 eval "$as_ac_var=no"
32878 rm -f conftest.err conftest.$ac_objext \
32879 conftest$ac_exeext conftest.$ac_ext
32881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32883 if test `eval echo '${'$as_ac_var'}'` = yes; then
32884 cat >>confdefs.h <<_ACEOF
32885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32886 _ACEOF
32889 done
32891 else
32893 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
32894 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
32895 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32896 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
32897 echo $ECHO_N "(cached) $ECHO_C" >&6
32898 else
32902 ac_ext=cc
32903 ac_cpp='$CXXCPP $CPPFLAGS'
32904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32908 cat >conftest.$ac_ext <<_ACEOF
32909 /* confdefs.h. */
32910 _ACEOF
32911 cat confdefs.h >>conftest.$ac_ext
32912 cat >>conftest.$ac_ext <<_ACEOF
32913 /* end confdefs.h. */
32914 #include <math.h>
32916 main ()
32918 _hypotl(0, 0);
32920 return 0;
32922 _ACEOF
32923 rm -f conftest.$ac_objext
32924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32925 (eval $ac_compile) 2>conftest.er1
32926 ac_status=$?
32927 grep -v '^ *+' conftest.er1 >conftest.err
32928 rm -f conftest.er1
32929 cat conftest.err >&5
32930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32931 (exit $ac_status); } &&
32932 { ac_try='test -z "$ac_cxx_werror_flag"
32933 || test ! -s conftest.err'
32934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32935 (eval $ac_try) 2>&5
32936 ac_status=$?
32937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32938 (exit $ac_status); }; } &&
32939 { ac_try='test -s conftest.$ac_objext'
32940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32941 (eval $ac_try) 2>&5
32942 ac_status=$?
32943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32944 (exit $ac_status); }; }; then
32945 glibcxx_cv_func__hypotl_use=yes
32946 else
32947 echo "$as_me: failed program was:" >&5
32948 sed 's/^/| /' conftest.$ac_ext >&5
32950 glibcxx_cv_func__hypotl_use=no
32952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32953 ac_ext=c
32954 ac_cpp='$CPP $CPPFLAGS'
32955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
32964 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
32966 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32968 for ac_func in _hypotl
32970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32971 echo "$as_me:$LINENO: checking for $ac_func" >&5
32972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32973 if eval "test \"\${$as_ac_var+set}\" = set"; then
32974 echo $ECHO_N "(cached) $ECHO_C" >&6
32975 else
32976 if test x$gcc_no_link = xyes; then
32977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32979 { (exit 1); exit 1; }; }
32981 cat >conftest.$ac_ext <<_ACEOF
32982 /* confdefs.h. */
32983 _ACEOF
32984 cat confdefs.h >>conftest.$ac_ext
32985 cat >>conftest.$ac_ext <<_ACEOF
32986 /* end confdefs.h. */
32987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32989 #define $ac_func innocuous_$ac_func
32991 /* System header to define __stub macros and hopefully few prototypes,
32992 which can conflict with char $ac_func (); below.
32993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32994 <limits.h> exists even on freestanding compilers. */
32996 #ifdef __STDC__
32997 # include <limits.h>
32998 #else
32999 # include <assert.h>
33000 #endif
33002 #undef $ac_func
33004 /* Override any gcc2 internal prototype to avoid an error. */
33005 #ifdef __cplusplus
33006 extern "C"
33008 #endif
33009 /* We use char because int might match the return type of a gcc2
33010 builtin and then its argument prototype would still apply. */
33011 char $ac_func ();
33012 /* The GNU C library defines this for functions which it implements
33013 to always fail with ENOSYS. Some functions are actually named
33014 something starting with __ and the normal name is an alias. */
33015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33016 choke me
33017 #else
33018 char (*f) () = $ac_func;
33019 #endif
33020 #ifdef __cplusplus
33022 #endif
33025 main ()
33027 return f != $ac_func;
33029 return 0;
33031 _ACEOF
33032 rm -f conftest.$ac_objext conftest$ac_exeext
33033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33034 (eval $ac_link) 2>conftest.er1
33035 ac_status=$?
33036 grep -v '^ *+' conftest.er1 >conftest.err
33037 rm -f conftest.er1
33038 cat conftest.err >&5
33039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33040 (exit $ac_status); } &&
33041 { ac_try='test -z "$ac_c_werror_flag"
33042 || test ! -s conftest.err'
33043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33044 (eval $ac_try) 2>&5
33045 ac_status=$?
33046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33047 (exit $ac_status); }; } &&
33048 { ac_try='test -s conftest$ac_exeext'
33049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33050 (eval $ac_try) 2>&5
33051 ac_status=$?
33052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33053 (exit $ac_status); }; }; then
33054 eval "$as_ac_var=yes"
33055 else
33056 echo "$as_me: failed program was:" >&5
33057 sed 's/^/| /' conftest.$ac_ext >&5
33059 eval "$as_ac_var=no"
33061 rm -f conftest.err conftest.$ac_objext \
33062 conftest$ac_exeext conftest.$ac_ext
33064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33066 if test `eval echo '${'$as_ac_var'}'` = yes; then
33067 cat >>confdefs.h <<_ACEOF
33068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33069 _ACEOF
33072 done
33082 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
33083 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
33084 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33085 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
33086 echo $ECHO_N "(cached) $ECHO_C" >&6
33087 else
33091 ac_ext=cc
33092 ac_cpp='$CXXCPP $CPPFLAGS'
33093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33097 cat >conftest.$ac_ext <<_ACEOF
33098 /* confdefs.h. */
33099 _ACEOF
33100 cat confdefs.h >>conftest.$ac_ext
33101 cat >>conftest.$ac_ext <<_ACEOF
33102 /* end confdefs.h. */
33103 #include <math.h>
33105 main ()
33107 ldexpl(0, 0);
33109 return 0;
33111 _ACEOF
33112 rm -f conftest.$ac_objext
33113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33114 (eval $ac_compile) 2>conftest.er1
33115 ac_status=$?
33116 grep -v '^ *+' conftest.er1 >conftest.err
33117 rm -f conftest.er1
33118 cat conftest.err >&5
33119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33120 (exit $ac_status); } &&
33121 { ac_try='test -z "$ac_cxx_werror_flag"
33122 || test ! -s conftest.err'
33123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33124 (eval $ac_try) 2>&5
33125 ac_status=$?
33126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33127 (exit $ac_status); }; } &&
33128 { ac_try='test -s conftest.$ac_objext'
33129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33130 (eval $ac_try) 2>&5
33131 ac_status=$?
33132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33133 (exit $ac_status); }; }; then
33134 glibcxx_cv_func_ldexpl_use=yes
33135 else
33136 echo "$as_me: failed program was:" >&5
33137 sed 's/^/| /' conftest.$ac_ext >&5
33139 glibcxx_cv_func_ldexpl_use=no
33141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33142 ac_ext=c
33143 ac_cpp='$CPP $CPPFLAGS'
33144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33152 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
33153 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
33155 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33157 for ac_func in ldexpl
33159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33160 echo "$as_me:$LINENO: checking for $ac_func" >&5
33161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33162 if eval "test \"\${$as_ac_var+set}\" = set"; then
33163 echo $ECHO_N "(cached) $ECHO_C" >&6
33164 else
33165 if test x$gcc_no_link = xyes; then
33166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33168 { (exit 1); exit 1; }; }
33170 cat >conftest.$ac_ext <<_ACEOF
33171 /* confdefs.h. */
33172 _ACEOF
33173 cat confdefs.h >>conftest.$ac_ext
33174 cat >>conftest.$ac_ext <<_ACEOF
33175 /* end confdefs.h. */
33176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33178 #define $ac_func innocuous_$ac_func
33180 /* System header to define __stub macros and hopefully few prototypes,
33181 which can conflict with char $ac_func (); below.
33182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33183 <limits.h> exists even on freestanding compilers. */
33185 #ifdef __STDC__
33186 # include <limits.h>
33187 #else
33188 # include <assert.h>
33189 #endif
33191 #undef $ac_func
33193 /* Override any gcc2 internal prototype to avoid an error. */
33194 #ifdef __cplusplus
33195 extern "C"
33197 #endif
33198 /* We use char because int might match the return type of a gcc2
33199 builtin and then its argument prototype would still apply. */
33200 char $ac_func ();
33201 /* The GNU C library defines this for functions which it implements
33202 to always fail with ENOSYS. Some functions are actually named
33203 something starting with __ and the normal name is an alias. */
33204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33205 choke me
33206 #else
33207 char (*f) () = $ac_func;
33208 #endif
33209 #ifdef __cplusplus
33211 #endif
33214 main ()
33216 return f != $ac_func;
33218 return 0;
33220 _ACEOF
33221 rm -f conftest.$ac_objext conftest$ac_exeext
33222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33223 (eval $ac_link) 2>conftest.er1
33224 ac_status=$?
33225 grep -v '^ *+' conftest.er1 >conftest.err
33226 rm -f conftest.er1
33227 cat conftest.err >&5
33228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33229 (exit $ac_status); } &&
33230 { ac_try='test -z "$ac_c_werror_flag"
33231 || test ! -s conftest.err'
33232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33233 (eval $ac_try) 2>&5
33234 ac_status=$?
33235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33236 (exit $ac_status); }; } &&
33237 { ac_try='test -s conftest$ac_exeext'
33238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33239 (eval $ac_try) 2>&5
33240 ac_status=$?
33241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33242 (exit $ac_status); }; }; then
33243 eval "$as_ac_var=yes"
33244 else
33245 echo "$as_me: failed program was:" >&5
33246 sed 's/^/| /' conftest.$ac_ext >&5
33248 eval "$as_ac_var=no"
33250 rm -f conftest.err conftest.$ac_objext \
33251 conftest$ac_exeext conftest.$ac_ext
33253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33255 if test `eval echo '${'$as_ac_var'}'` = yes; then
33256 cat >>confdefs.h <<_ACEOF
33257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33258 _ACEOF
33261 done
33263 else
33265 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
33266 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
33267 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33268 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
33269 echo $ECHO_N "(cached) $ECHO_C" >&6
33270 else
33274 ac_ext=cc
33275 ac_cpp='$CXXCPP $CPPFLAGS'
33276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33280 cat >conftest.$ac_ext <<_ACEOF
33281 /* confdefs.h. */
33282 _ACEOF
33283 cat confdefs.h >>conftest.$ac_ext
33284 cat >>conftest.$ac_ext <<_ACEOF
33285 /* end confdefs.h. */
33286 #include <math.h>
33288 main ()
33290 _ldexpl(0, 0);
33292 return 0;
33294 _ACEOF
33295 rm -f conftest.$ac_objext
33296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33297 (eval $ac_compile) 2>conftest.er1
33298 ac_status=$?
33299 grep -v '^ *+' conftest.er1 >conftest.err
33300 rm -f conftest.er1
33301 cat conftest.err >&5
33302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33303 (exit $ac_status); } &&
33304 { ac_try='test -z "$ac_cxx_werror_flag"
33305 || test ! -s conftest.err'
33306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33307 (eval $ac_try) 2>&5
33308 ac_status=$?
33309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33310 (exit $ac_status); }; } &&
33311 { ac_try='test -s conftest.$ac_objext'
33312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33313 (eval $ac_try) 2>&5
33314 ac_status=$?
33315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33316 (exit $ac_status); }; }; then
33317 glibcxx_cv_func__ldexpl_use=yes
33318 else
33319 echo "$as_me: failed program was:" >&5
33320 sed 's/^/| /' conftest.$ac_ext >&5
33322 glibcxx_cv_func__ldexpl_use=no
33324 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33325 ac_ext=c
33326 ac_cpp='$CPP $CPPFLAGS'
33327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33335 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
33336 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
33338 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33340 for ac_func in _ldexpl
33342 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33343 echo "$as_me:$LINENO: checking for $ac_func" >&5
33344 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33345 if eval "test \"\${$as_ac_var+set}\" = set"; then
33346 echo $ECHO_N "(cached) $ECHO_C" >&6
33347 else
33348 if test x$gcc_no_link = xyes; then
33349 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33350 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33351 { (exit 1); exit 1; }; }
33353 cat >conftest.$ac_ext <<_ACEOF
33354 /* confdefs.h. */
33355 _ACEOF
33356 cat confdefs.h >>conftest.$ac_ext
33357 cat >>conftest.$ac_ext <<_ACEOF
33358 /* end confdefs.h. */
33359 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33360 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33361 #define $ac_func innocuous_$ac_func
33363 /* System header to define __stub macros and hopefully few prototypes,
33364 which can conflict with char $ac_func (); below.
33365 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33366 <limits.h> exists even on freestanding compilers. */
33368 #ifdef __STDC__
33369 # include <limits.h>
33370 #else
33371 # include <assert.h>
33372 #endif
33374 #undef $ac_func
33376 /* Override any gcc2 internal prototype to avoid an error. */
33377 #ifdef __cplusplus
33378 extern "C"
33380 #endif
33381 /* We use char because int might match the return type of a gcc2
33382 builtin and then its argument prototype would still apply. */
33383 char $ac_func ();
33384 /* The GNU C library defines this for functions which it implements
33385 to always fail with ENOSYS. Some functions are actually named
33386 something starting with __ and the normal name is an alias. */
33387 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33388 choke me
33389 #else
33390 char (*f) () = $ac_func;
33391 #endif
33392 #ifdef __cplusplus
33394 #endif
33397 main ()
33399 return f != $ac_func;
33401 return 0;
33403 _ACEOF
33404 rm -f conftest.$ac_objext conftest$ac_exeext
33405 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33406 (eval $ac_link) 2>conftest.er1
33407 ac_status=$?
33408 grep -v '^ *+' conftest.er1 >conftest.err
33409 rm -f conftest.er1
33410 cat conftest.err >&5
33411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33412 (exit $ac_status); } &&
33413 { ac_try='test -z "$ac_c_werror_flag"
33414 || test ! -s conftest.err'
33415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33416 (eval $ac_try) 2>&5
33417 ac_status=$?
33418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33419 (exit $ac_status); }; } &&
33420 { ac_try='test -s conftest$ac_exeext'
33421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33422 (eval $ac_try) 2>&5
33423 ac_status=$?
33424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33425 (exit $ac_status); }; }; then
33426 eval "$as_ac_var=yes"
33427 else
33428 echo "$as_me: failed program was:" >&5
33429 sed 's/^/| /' conftest.$ac_ext >&5
33431 eval "$as_ac_var=no"
33433 rm -f conftest.err conftest.$ac_objext \
33434 conftest$ac_exeext conftest.$ac_ext
33436 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33437 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33438 if test `eval echo '${'$as_ac_var'}'` = yes; then
33439 cat >>confdefs.h <<_ACEOF
33440 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33441 _ACEOF
33444 done
33454 echo "$as_me:$LINENO: checking for logl declaration" >&5
33455 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
33456 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33457 if test "${glibcxx_cv_func_logl_use+set}" = set; then
33458 echo $ECHO_N "(cached) $ECHO_C" >&6
33459 else
33463 ac_ext=cc
33464 ac_cpp='$CXXCPP $CPPFLAGS'
33465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33469 cat >conftest.$ac_ext <<_ACEOF
33470 /* confdefs.h. */
33471 _ACEOF
33472 cat confdefs.h >>conftest.$ac_ext
33473 cat >>conftest.$ac_ext <<_ACEOF
33474 /* end confdefs.h. */
33475 #include <math.h>
33476 #ifdef HAVE_IEEEFP_H
33477 #include <ieeefp.h>
33478 #endif
33481 main ()
33483 logl(0);
33485 return 0;
33487 _ACEOF
33488 rm -f conftest.$ac_objext
33489 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33490 (eval $ac_compile) 2>conftest.er1
33491 ac_status=$?
33492 grep -v '^ *+' conftest.er1 >conftest.err
33493 rm -f conftest.er1
33494 cat conftest.err >&5
33495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33496 (exit $ac_status); } &&
33497 { ac_try='test -z "$ac_cxx_werror_flag"
33498 || test ! -s conftest.err'
33499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33500 (eval $ac_try) 2>&5
33501 ac_status=$?
33502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33503 (exit $ac_status); }; } &&
33504 { ac_try='test -s conftest.$ac_objext'
33505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33506 (eval $ac_try) 2>&5
33507 ac_status=$?
33508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33509 (exit $ac_status); }; }; then
33510 glibcxx_cv_func_logl_use=yes
33511 else
33512 echo "$as_me: failed program was:" >&5
33513 sed 's/^/| /' conftest.$ac_ext >&5
33515 glibcxx_cv_func_logl_use=no
33517 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33518 ac_ext=c
33519 ac_cpp='$CPP $CPPFLAGS'
33520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33528 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
33529 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
33531 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33533 for ac_func in logl
33535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33536 echo "$as_me:$LINENO: checking for $ac_func" >&5
33537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33538 if eval "test \"\${$as_ac_var+set}\" = set"; then
33539 echo $ECHO_N "(cached) $ECHO_C" >&6
33540 else
33541 if test x$gcc_no_link = xyes; then
33542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33544 { (exit 1); exit 1; }; }
33546 cat >conftest.$ac_ext <<_ACEOF
33547 /* confdefs.h. */
33548 _ACEOF
33549 cat confdefs.h >>conftest.$ac_ext
33550 cat >>conftest.$ac_ext <<_ACEOF
33551 /* end confdefs.h. */
33552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33554 #define $ac_func innocuous_$ac_func
33556 /* System header to define __stub macros and hopefully few prototypes,
33557 which can conflict with char $ac_func (); below.
33558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33559 <limits.h> exists even on freestanding compilers. */
33561 #ifdef __STDC__
33562 # include <limits.h>
33563 #else
33564 # include <assert.h>
33565 #endif
33567 #undef $ac_func
33569 /* Override any gcc2 internal prototype to avoid an error. */
33570 #ifdef __cplusplus
33571 extern "C"
33573 #endif
33574 /* We use char because int might match the return type of a gcc2
33575 builtin and then its argument prototype would still apply. */
33576 char $ac_func ();
33577 /* The GNU C library defines this for functions which it implements
33578 to always fail with ENOSYS. Some functions are actually named
33579 something starting with __ and the normal name is an alias. */
33580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33581 choke me
33582 #else
33583 char (*f) () = $ac_func;
33584 #endif
33585 #ifdef __cplusplus
33587 #endif
33590 main ()
33592 return f != $ac_func;
33594 return 0;
33596 _ACEOF
33597 rm -f conftest.$ac_objext conftest$ac_exeext
33598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33599 (eval $ac_link) 2>conftest.er1
33600 ac_status=$?
33601 grep -v '^ *+' conftest.er1 >conftest.err
33602 rm -f conftest.er1
33603 cat conftest.err >&5
33604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33605 (exit $ac_status); } &&
33606 { ac_try='test -z "$ac_c_werror_flag"
33607 || test ! -s conftest.err'
33608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33609 (eval $ac_try) 2>&5
33610 ac_status=$?
33611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33612 (exit $ac_status); }; } &&
33613 { ac_try='test -s conftest$ac_exeext'
33614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33615 (eval $ac_try) 2>&5
33616 ac_status=$?
33617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33618 (exit $ac_status); }; }; then
33619 eval "$as_ac_var=yes"
33620 else
33621 echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.$ac_ext >&5
33624 eval "$as_ac_var=no"
33626 rm -f conftest.err conftest.$ac_objext \
33627 conftest$ac_exeext conftest.$ac_ext
33629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33631 if test `eval echo '${'$as_ac_var'}'` = yes; then
33632 cat >>confdefs.h <<_ACEOF
33633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33634 _ACEOF
33637 done
33639 else
33641 echo "$as_me:$LINENO: checking for _logl declaration" >&5
33642 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
33643 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33644 if test "${glibcxx_cv_func__logl_use+set}" = set; then
33645 echo $ECHO_N "(cached) $ECHO_C" >&6
33646 else
33650 ac_ext=cc
33651 ac_cpp='$CXXCPP $CPPFLAGS'
33652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33656 cat >conftest.$ac_ext <<_ACEOF
33657 /* confdefs.h. */
33658 _ACEOF
33659 cat confdefs.h >>conftest.$ac_ext
33660 cat >>conftest.$ac_ext <<_ACEOF
33661 /* end confdefs.h. */
33662 #include <math.h>
33663 #ifdef HAVE_IEEEFP_H
33664 #include <ieeefp.h>
33665 #endif
33668 main ()
33670 _logl(0);
33672 return 0;
33674 _ACEOF
33675 rm -f conftest.$ac_objext
33676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33677 (eval $ac_compile) 2>conftest.er1
33678 ac_status=$?
33679 grep -v '^ *+' conftest.er1 >conftest.err
33680 rm -f conftest.er1
33681 cat conftest.err >&5
33682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33683 (exit $ac_status); } &&
33684 { ac_try='test -z "$ac_cxx_werror_flag"
33685 || test ! -s conftest.err'
33686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33687 (eval $ac_try) 2>&5
33688 ac_status=$?
33689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33690 (exit $ac_status); }; } &&
33691 { ac_try='test -s conftest.$ac_objext'
33692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33693 (eval $ac_try) 2>&5
33694 ac_status=$?
33695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33696 (exit $ac_status); }; }; then
33697 glibcxx_cv_func__logl_use=yes
33698 else
33699 echo "$as_me: failed program was:" >&5
33700 sed 's/^/| /' conftest.$ac_ext >&5
33702 glibcxx_cv_func__logl_use=no
33704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33705 ac_ext=c
33706 ac_cpp='$CPP $CPPFLAGS'
33707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
33716 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
33718 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33720 for ac_func in _logl
33722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33723 echo "$as_me:$LINENO: checking for $ac_func" >&5
33724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33725 if eval "test \"\${$as_ac_var+set}\" = set"; then
33726 echo $ECHO_N "(cached) $ECHO_C" >&6
33727 else
33728 if test x$gcc_no_link = xyes; then
33729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33731 { (exit 1); exit 1; }; }
33733 cat >conftest.$ac_ext <<_ACEOF
33734 /* confdefs.h. */
33735 _ACEOF
33736 cat confdefs.h >>conftest.$ac_ext
33737 cat >>conftest.$ac_ext <<_ACEOF
33738 /* end confdefs.h. */
33739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33741 #define $ac_func innocuous_$ac_func
33743 /* System header to define __stub macros and hopefully few prototypes,
33744 which can conflict with char $ac_func (); below.
33745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33746 <limits.h> exists even on freestanding compilers. */
33748 #ifdef __STDC__
33749 # include <limits.h>
33750 #else
33751 # include <assert.h>
33752 #endif
33754 #undef $ac_func
33756 /* Override any gcc2 internal prototype to avoid an error. */
33757 #ifdef __cplusplus
33758 extern "C"
33760 #endif
33761 /* We use char because int might match the return type of a gcc2
33762 builtin and then its argument prototype would still apply. */
33763 char $ac_func ();
33764 /* The GNU C library defines this for functions which it implements
33765 to always fail with ENOSYS. Some functions are actually named
33766 something starting with __ and the normal name is an alias. */
33767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33768 choke me
33769 #else
33770 char (*f) () = $ac_func;
33771 #endif
33772 #ifdef __cplusplus
33774 #endif
33777 main ()
33779 return f != $ac_func;
33781 return 0;
33783 _ACEOF
33784 rm -f conftest.$ac_objext conftest$ac_exeext
33785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33786 (eval $ac_link) 2>conftest.er1
33787 ac_status=$?
33788 grep -v '^ *+' conftest.er1 >conftest.err
33789 rm -f conftest.er1
33790 cat conftest.err >&5
33791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33792 (exit $ac_status); } &&
33793 { ac_try='test -z "$ac_c_werror_flag"
33794 || test ! -s conftest.err'
33795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33796 (eval $ac_try) 2>&5
33797 ac_status=$?
33798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33799 (exit $ac_status); }; } &&
33800 { ac_try='test -s conftest$ac_exeext'
33801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33802 (eval $ac_try) 2>&5
33803 ac_status=$?
33804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33805 (exit $ac_status); }; }; then
33806 eval "$as_ac_var=yes"
33807 else
33808 echo "$as_me: failed program was:" >&5
33809 sed 's/^/| /' conftest.$ac_ext >&5
33811 eval "$as_ac_var=no"
33813 rm -f conftest.err conftest.$ac_objext \
33814 conftest$ac_exeext conftest.$ac_ext
33816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33818 if test `eval echo '${'$as_ac_var'}'` = yes; then
33819 cat >>confdefs.h <<_ACEOF
33820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33821 _ACEOF
33824 done
33834 echo "$as_me:$LINENO: checking for log10l declaration" >&5
33835 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
33836 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33837 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
33838 echo $ECHO_N "(cached) $ECHO_C" >&6
33839 else
33843 ac_ext=cc
33844 ac_cpp='$CXXCPP $CPPFLAGS'
33845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33849 cat >conftest.$ac_ext <<_ACEOF
33850 /* confdefs.h. */
33851 _ACEOF
33852 cat confdefs.h >>conftest.$ac_ext
33853 cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33855 #include <math.h>
33856 #ifdef HAVE_IEEEFP_H
33857 #include <ieeefp.h>
33858 #endif
33861 main ()
33863 log10l(0);
33865 return 0;
33867 _ACEOF
33868 rm -f conftest.$ac_objext
33869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33870 (eval $ac_compile) 2>conftest.er1
33871 ac_status=$?
33872 grep -v '^ *+' conftest.er1 >conftest.err
33873 rm -f conftest.er1
33874 cat conftest.err >&5
33875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33876 (exit $ac_status); } &&
33877 { ac_try='test -z "$ac_cxx_werror_flag"
33878 || test ! -s conftest.err'
33879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33880 (eval $ac_try) 2>&5
33881 ac_status=$?
33882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33883 (exit $ac_status); }; } &&
33884 { ac_try='test -s conftest.$ac_objext'
33885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33886 (eval $ac_try) 2>&5
33887 ac_status=$?
33888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33889 (exit $ac_status); }; }; then
33890 glibcxx_cv_func_log10l_use=yes
33891 else
33892 echo "$as_me: failed program was:" >&5
33893 sed 's/^/| /' conftest.$ac_ext >&5
33895 glibcxx_cv_func_log10l_use=no
33897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33898 ac_ext=c
33899 ac_cpp='$CPP $CPPFLAGS'
33900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
33909 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
33911 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33913 for ac_func in log10l
33915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33916 echo "$as_me:$LINENO: checking for $ac_func" >&5
33917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33918 if eval "test \"\${$as_ac_var+set}\" = set"; then
33919 echo $ECHO_N "(cached) $ECHO_C" >&6
33920 else
33921 if test x$gcc_no_link = xyes; then
33922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33924 { (exit 1); exit 1; }; }
33926 cat >conftest.$ac_ext <<_ACEOF
33927 /* confdefs.h. */
33928 _ACEOF
33929 cat confdefs.h >>conftest.$ac_ext
33930 cat >>conftest.$ac_ext <<_ACEOF
33931 /* end confdefs.h. */
33932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33934 #define $ac_func innocuous_$ac_func
33936 /* System header to define __stub macros and hopefully few prototypes,
33937 which can conflict with char $ac_func (); below.
33938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33939 <limits.h> exists even on freestanding compilers. */
33941 #ifdef __STDC__
33942 # include <limits.h>
33943 #else
33944 # include <assert.h>
33945 #endif
33947 #undef $ac_func
33949 /* Override any gcc2 internal prototype to avoid an error. */
33950 #ifdef __cplusplus
33951 extern "C"
33953 #endif
33954 /* We use char because int might match the return type of a gcc2
33955 builtin and then its argument prototype would still apply. */
33956 char $ac_func ();
33957 /* The GNU C library defines this for functions which it implements
33958 to always fail with ENOSYS. Some functions are actually named
33959 something starting with __ and the normal name is an alias. */
33960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33961 choke me
33962 #else
33963 char (*f) () = $ac_func;
33964 #endif
33965 #ifdef __cplusplus
33967 #endif
33970 main ()
33972 return f != $ac_func;
33974 return 0;
33976 _ACEOF
33977 rm -f conftest.$ac_objext conftest$ac_exeext
33978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33979 (eval $ac_link) 2>conftest.er1
33980 ac_status=$?
33981 grep -v '^ *+' conftest.er1 >conftest.err
33982 rm -f conftest.er1
33983 cat conftest.err >&5
33984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33985 (exit $ac_status); } &&
33986 { ac_try='test -z "$ac_c_werror_flag"
33987 || test ! -s conftest.err'
33988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33989 (eval $ac_try) 2>&5
33990 ac_status=$?
33991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33992 (exit $ac_status); }; } &&
33993 { ac_try='test -s conftest$ac_exeext'
33994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33995 (eval $ac_try) 2>&5
33996 ac_status=$?
33997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33998 (exit $ac_status); }; }; then
33999 eval "$as_ac_var=yes"
34000 else
34001 echo "$as_me: failed program was:" >&5
34002 sed 's/^/| /' conftest.$ac_ext >&5
34004 eval "$as_ac_var=no"
34006 rm -f conftest.err conftest.$ac_objext \
34007 conftest$ac_exeext conftest.$ac_ext
34009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34011 if test `eval echo '${'$as_ac_var'}'` = yes; then
34012 cat >>confdefs.h <<_ACEOF
34013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34014 _ACEOF
34017 done
34019 else
34021 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
34022 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
34023 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34024 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
34025 echo $ECHO_N "(cached) $ECHO_C" >&6
34026 else
34030 ac_ext=cc
34031 ac_cpp='$CXXCPP $CPPFLAGS'
34032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34036 cat >conftest.$ac_ext <<_ACEOF
34037 /* confdefs.h. */
34038 _ACEOF
34039 cat confdefs.h >>conftest.$ac_ext
34040 cat >>conftest.$ac_ext <<_ACEOF
34041 /* end confdefs.h. */
34042 #include <math.h>
34043 #ifdef HAVE_IEEEFP_H
34044 #include <ieeefp.h>
34045 #endif
34048 main ()
34050 _log10l(0);
34052 return 0;
34054 _ACEOF
34055 rm -f conftest.$ac_objext
34056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34057 (eval $ac_compile) 2>conftest.er1
34058 ac_status=$?
34059 grep -v '^ *+' conftest.er1 >conftest.err
34060 rm -f conftest.er1
34061 cat conftest.err >&5
34062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34063 (exit $ac_status); } &&
34064 { ac_try='test -z "$ac_cxx_werror_flag"
34065 || test ! -s conftest.err'
34066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34067 (eval $ac_try) 2>&5
34068 ac_status=$?
34069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34070 (exit $ac_status); }; } &&
34071 { ac_try='test -s conftest.$ac_objext'
34072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34073 (eval $ac_try) 2>&5
34074 ac_status=$?
34075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34076 (exit $ac_status); }; }; then
34077 glibcxx_cv_func__log10l_use=yes
34078 else
34079 echo "$as_me: failed program was:" >&5
34080 sed 's/^/| /' conftest.$ac_ext >&5
34082 glibcxx_cv_func__log10l_use=no
34084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34085 ac_ext=c
34086 ac_cpp='$CPP $CPPFLAGS'
34087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
34096 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
34098 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34100 for ac_func in _log10l
34102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34103 echo "$as_me:$LINENO: checking for $ac_func" >&5
34104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34105 if eval "test \"\${$as_ac_var+set}\" = set"; then
34106 echo $ECHO_N "(cached) $ECHO_C" >&6
34107 else
34108 if test x$gcc_no_link = xyes; then
34109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34111 { (exit 1); exit 1; }; }
34113 cat >conftest.$ac_ext <<_ACEOF
34114 /* confdefs.h. */
34115 _ACEOF
34116 cat confdefs.h >>conftest.$ac_ext
34117 cat >>conftest.$ac_ext <<_ACEOF
34118 /* end confdefs.h. */
34119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34121 #define $ac_func innocuous_$ac_func
34123 /* System header to define __stub macros and hopefully few prototypes,
34124 which can conflict with char $ac_func (); below.
34125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34126 <limits.h> exists even on freestanding compilers. */
34128 #ifdef __STDC__
34129 # include <limits.h>
34130 #else
34131 # include <assert.h>
34132 #endif
34134 #undef $ac_func
34136 /* Override any gcc2 internal prototype to avoid an error. */
34137 #ifdef __cplusplus
34138 extern "C"
34140 #endif
34141 /* We use char because int might match the return type of a gcc2
34142 builtin and then its argument prototype would still apply. */
34143 char $ac_func ();
34144 /* The GNU C library defines this for functions which it implements
34145 to always fail with ENOSYS. Some functions are actually named
34146 something starting with __ and the normal name is an alias. */
34147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34148 choke me
34149 #else
34150 char (*f) () = $ac_func;
34151 #endif
34152 #ifdef __cplusplus
34154 #endif
34157 main ()
34159 return f != $ac_func;
34161 return 0;
34163 _ACEOF
34164 rm -f conftest.$ac_objext conftest$ac_exeext
34165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34166 (eval $ac_link) 2>conftest.er1
34167 ac_status=$?
34168 grep -v '^ *+' conftest.er1 >conftest.err
34169 rm -f conftest.er1
34170 cat conftest.err >&5
34171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34172 (exit $ac_status); } &&
34173 { ac_try='test -z "$ac_c_werror_flag"
34174 || test ! -s conftest.err'
34175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34176 (eval $ac_try) 2>&5
34177 ac_status=$?
34178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34179 (exit $ac_status); }; } &&
34180 { ac_try='test -s conftest$ac_exeext'
34181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34182 (eval $ac_try) 2>&5
34183 ac_status=$?
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); }; }; then
34186 eval "$as_ac_var=yes"
34187 else
34188 echo "$as_me: failed program was:" >&5
34189 sed 's/^/| /' conftest.$ac_ext >&5
34191 eval "$as_ac_var=no"
34193 rm -f conftest.err conftest.$ac_objext \
34194 conftest$ac_exeext conftest.$ac_ext
34196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34198 if test `eval echo '${'$as_ac_var'}'` = yes; then
34199 cat >>confdefs.h <<_ACEOF
34200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34201 _ACEOF
34204 done
34214 echo "$as_me:$LINENO: checking for modfl declaration" >&5
34215 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
34216 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34217 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
34218 echo $ECHO_N "(cached) $ECHO_C" >&6
34219 else
34223 ac_ext=cc
34224 ac_cpp='$CXXCPP $CPPFLAGS'
34225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34229 cat >conftest.$ac_ext <<_ACEOF
34230 /* confdefs.h. */
34231 _ACEOF
34232 cat confdefs.h >>conftest.$ac_ext
34233 cat >>conftest.$ac_ext <<_ACEOF
34234 /* end confdefs.h. */
34235 #include <math.h>
34237 main ()
34239 modfl(0, 0);
34241 return 0;
34243 _ACEOF
34244 rm -f conftest.$ac_objext
34245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34246 (eval $ac_compile) 2>conftest.er1
34247 ac_status=$?
34248 grep -v '^ *+' conftest.er1 >conftest.err
34249 rm -f conftest.er1
34250 cat conftest.err >&5
34251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34252 (exit $ac_status); } &&
34253 { ac_try='test -z "$ac_cxx_werror_flag"
34254 || test ! -s conftest.err'
34255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34256 (eval $ac_try) 2>&5
34257 ac_status=$?
34258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34259 (exit $ac_status); }; } &&
34260 { ac_try='test -s conftest.$ac_objext'
34261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34262 (eval $ac_try) 2>&5
34263 ac_status=$?
34264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34265 (exit $ac_status); }; }; then
34266 glibcxx_cv_func_modfl_use=yes
34267 else
34268 echo "$as_me: failed program was:" >&5
34269 sed 's/^/| /' conftest.$ac_ext >&5
34271 glibcxx_cv_func_modfl_use=no
34273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34274 ac_ext=c
34275 ac_cpp='$CPP $CPPFLAGS'
34276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34284 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
34285 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
34287 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34289 for ac_func in modfl
34291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34292 echo "$as_me:$LINENO: checking for $ac_func" >&5
34293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34294 if eval "test \"\${$as_ac_var+set}\" = set"; then
34295 echo $ECHO_N "(cached) $ECHO_C" >&6
34296 else
34297 if test x$gcc_no_link = xyes; then
34298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34300 { (exit 1); exit 1; }; }
34302 cat >conftest.$ac_ext <<_ACEOF
34303 /* confdefs.h. */
34304 _ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34310 #define $ac_func innocuous_$ac_func
34312 /* System header to define __stub macros and hopefully few prototypes,
34313 which can conflict with char $ac_func (); below.
34314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34315 <limits.h> exists even on freestanding compilers. */
34317 #ifdef __STDC__
34318 # include <limits.h>
34319 #else
34320 # include <assert.h>
34321 #endif
34323 #undef $ac_func
34325 /* Override any gcc2 internal prototype to avoid an error. */
34326 #ifdef __cplusplus
34327 extern "C"
34329 #endif
34330 /* We use char because int might match the return type of a gcc2
34331 builtin and then its argument prototype would still apply. */
34332 char $ac_func ();
34333 /* The GNU C library defines this for functions which it implements
34334 to always fail with ENOSYS. Some functions are actually named
34335 something starting with __ and the normal name is an alias. */
34336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34337 choke me
34338 #else
34339 char (*f) () = $ac_func;
34340 #endif
34341 #ifdef __cplusplus
34343 #endif
34346 main ()
34348 return f != $ac_func;
34350 return 0;
34352 _ACEOF
34353 rm -f conftest.$ac_objext conftest$ac_exeext
34354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34355 (eval $ac_link) 2>conftest.er1
34356 ac_status=$?
34357 grep -v '^ *+' conftest.er1 >conftest.err
34358 rm -f conftest.er1
34359 cat conftest.err >&5
34360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34361 (exit $ac_status); } &&
34362 { ac_try='test -z "$ac_c_werror_flag"
34363 || test ! -s conftest.err'
34364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34365 (eval $ac_try) 2>&5
34366 ac_status=$?
34367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34368 (exit $ac_status); }; } &&
34369 { ac_try='test -s conftest$ac_exeext'
34370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34371 (eval $ac_try) 2>&5
34372 ac_status=$?
34373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34374 (exit $ac_status); }; }; then
34375 eval "$as_ac_var=yes"
34376 else
34377 echo "$as_me: failed program was:" >&5
34378 sed 's/^/| /' conftest.$ac_ext >&5
34380 eval "$as_ac_var=no"
34382 rm -f conftest.err conftest.$ac_objext \
34383 conftest$ac_exeext conftest.$ac_ext
34385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34387 if test `eval echo '${'$as_ac_var'}'` = yes; then
34388 cat >>confdefs.h <<_ACEOF
34389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34390 _ACEOF
34393 done
34395 else
34397 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
34398 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
34399 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34400 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34406 ac_ext=cc
34407 ac_cpp='$CXXCPP $CPPFLAGS'
34408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34412 cat >conftest.$ac_ext <<_ACEOF
34413 /* confdefs.h. */
34414 _ACEOF
34415 cat confdefs.h >>conftest.$ac_ext
34416 cat >>conftest.$ac_ext <<_ACEOF
34417 /* end confdefs.h. */
34418 #include <math.h>
34420 main ()
34422 _modfl(0, 0);
34424 return 0;
34426 _ACEOF
34427 rm -f conftest.$ac_objext
34428 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34429 (eval $ac_compile) 2>conftest.er1
34430 ac_status=$?
34431 grep -v '^ *+' conftest.er1 >conftest.err
34432 rm -f conftest.er1
34433 cat conftest.err >&5
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); } &&
34436 { ac_try='test -z "$ac_cxx_werror_flag"
34437 || test ! -s conftest.err'
34438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34439 (eval $ac_try) 2>&5
34440 ac_status=$?
34441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34442 (exit $ac_status); }; } &&
34443 { ac_try='test -s conftest.$ac_objext'
34444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34445 (eval $ac_try) 2>&5
34446 ac_status=$?
34447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34448 (exit $ac_status); }; }; then
34449 glibcxx_cv_func__modfl_use=yes
34450 else
34451 echo "$as_me: failed program was:" >&5
34452 sed 's/^/| /' conftest.$ac_ext >&5
34454 glibcxx_cv_func__modfl_use=no
34456 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34457 ac_ext=c
34458 ac_cpp='$CPP $CPPFLAGS'
34459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34467 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
34468 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
34470 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34472 for ac_func in _modfl
34474 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34475 echo "$as_me:$LINENO: checking for $ac_func" >&5
34476 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34477 if eval "test \"\${$as_ac_var+set}\" = set"; then
34478 echo $ECHO_N "(cached) $ECHO_C" >&6
34479 else
34480 if test x$gcc_no_link = xyes; then
34481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34483 { (exit 1); exit 1; }; }
34485 cat >conftest.$ac_ext <<_ACEOF
34486 /* confdefs.h. */
34487 _ACEOF
34488 cat confdefs.h >>conftest.$ac_ext
34489 cat >>conftest.$ac_ext <<_ACEOF
34490 /* end confdefs.h. */
34491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34493 #define $ac_func innocuous_$ac_func
34495 /* System header to define __stub macros and hopefully few prototypes,
34496 which can conflict with char $ac_func (); below.
34497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34498 <limits.h> exists even on freestanding compilers. */
34500 #ifdef __STDC__
34501 # include <limits.h>
34502 #else
34503 # include <assert.h>
34504 #endif
34506 #undef $ac_func
34508 /* Override any gcc2 internal prototype to avoid an error. */
34509 #ifdef __cplusplus
34510 extern "C"
34512 #endif
34513 /* We use char because int might match the return type of a gcc2
34514 builtin and then its argument prototype would still apply. */
34515 char $ac_func ();
34516 /* The GNU C library defines this for functions which it implements
34517 to always fail with ENOSYS. Some functions are actually named
34518 something starting with __ and the normal name is an alias. */
34519 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34520 choke me
34521 #else
34522 char (*f) () = $ac_func;
34523 #endif
34524 #ifdef __cplusplus
34526 #endif
34529 main ()
34531 return f != $ac_func;
34533 return 0;
34535 _ACEOF
34536 rm -f conftest.$ac_objext conftest$ac_exeext
34537 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34538 (eval $ac_link) 2>conftest.er1
34539 ac_status=$?
34540 grep -v '^ *+' conftest.er1 >conftest.err
34541 rm -f conftest.er1
34542 cat conftest.err >&5
34543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34544 (exit $ac_status); } &&
34545 { ac_try='test -z "$ac_c_werror_flag"
34546 || test ! -s conftest.err'
34547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34548 (eval $ac_try) 2>&5
34549 ac_status=$?
34550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34551 (exit $ac_status); }; } &&
34552 { ac_try='test -s conftest$ac_exeext'
34553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34554 (eval $ac_try) 2>&5
34555 ac_status=$?
34556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34557 (exit $ac_status); }; }; then
34558 eval "$as_ac_var=yes"
34559 else
34560 echo "$as_me: failed program was:" >&5
34561 sed 's/^/| /' conftest.$ac_ext >&5
34563 eval "$as_ac_var=no"
34565 rm -f conftest.err conftest.$ac_objext \
34566 conftest$ac_exeext conftest.$ac_ext
34568 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34569 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34570 if test `eval echo '${'$as_ac_var'}'` = yes; then
34571 cat >>confdefs.h <<_ACEOF
34572 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34573 _ACEOF
34576 done
34586 echo "$as_me:$LINENO: checking for powl declaration" >&5
34587 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
34588 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34589 if test "${glibcxx_cv_func_powl_use+set}" = set; then
34590 echo $ECHO_N "(cached) $ECHO_C" >&6
34591 else
34595 ac_ext=cc
34596 ac_cpp='$CXXCPP $CPPFLAGS'
34597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34601 cat >conftest.$ac_ext <<_ACEOF
34602 /* confdefs.h. */
34603 _ACEOF
34604 cat confdefs.h >>conftest.$ac_ext
34605 cat >>conftest.$ac_ext <<_ACEOF
34606 /* end confdefs.h. */
34607 #include <math.h>
34609 main ()
34611 powl(0, 0);
34613 return 0;
34615 _ACEOF
34616 rm -f conftest.$ac_objext
34617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34618 (eval $ac_compile) 2>conftest.er1
34619 ac_status=$?
34620 grep -v '^ *+' conftest.er1 >conftest.err
34621 rm -f conftest.er1
34622 cat conftest.err >&5
34623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34624 (exit $ac_status); } &&
34625 { ac_try='test -z "$ac_cxx_werror_flag"
34626 || test ! -s conftest.err'
34627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34628 (eval $ac_try) 2>&5
34629 ac_status=$?
34630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34631 (exit $ac_status); }; } &&
34632 { ac_try='test -s conftest.$ac_objext'
34633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34634 (eval $ac_try) 2>&5
34635 ac_status=$?
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); }; }; then
34638 glibcxx_cv_func_powl_use=yes
34639 else
34640 echo "$as_me: failed program was:" >&5
34641 sed 's/^/| /' conftest.$ac_ext >&5
34643 glibcxx_cv_func_powl_use=no
34645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34646 ac_ext=c
34647 ac_cpp='$CPP $CPPFLAGS'
34648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34656 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
34657 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
34659 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34661 for ac_func in powl
34663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34664 echo "$as_me:$LINENO: checking for $ac_func" >&5
34665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34666 if eval "test \"\${$as_ac_var+set}\" = set"; then
34667 echo $ECHO_N "(cached) $ECHO_C" >&6
34668 else
34669 if test x$gcc_no_link = xyes; then
34670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34672 { (exit 1); exit 1; }; }
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34682 #define $ac_func innocuous_$ac_func
34684 /* System header to define __stub macros and hopefully few prototypes,
34685 which can conflict with char $ac_func (); below.
34686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34687 <limits.h> exists even on freestanding compilers. */
34689 #ifdef __STDC__
34690 # include <limits.h>
34691 #else
34692 # include <assert.h>
34693 #endif
34695 #undef $ac_func
34697 /* Override any gcc2 internal prototype to avoid an error. */
34698 #ifdef __cplusplus
34699 extern "C"
34701 #endif
34702 /* We use char because int might match the return type of a gcc2
34703 builtin and then its argument prototype would still apply. */
34704 char $ac_func ();
34705 /* The GNU C library defines this for functions which it implements
34706 to always fail with ENOSYS. Some functions are actually named
34707 something starting with __ and the normal name is an alias. */
34708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34709 choke me
34710 #else
34711 char (*f) () = $ac_func;
34712 #endif
34713 #ifdef __cplusplus
34715 #endif
34718 main ()
34720 return f != $ac_func;
34722 return 0;
34724 _ACEOF
34725 rm -f conftest.$ac_objext conftest$ac_exeext
34726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34727 (eval $ac_link) 2>conftest.er1
34728 ac_status=$?
34729 grep -v '^ *+' conftest.er1 >conftest.err
34730 rm -f conftest.er1
34731 cat conftest.err >&5
34732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34733 (exit $ac_status); } &&
34734 { ac_try='test -z "$ac_c_werror_flag"
34735 || test ! -s conftest.err'
34736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34737 (eval $ac_try) 2>&5
34738 ac_status=$?
34739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34740 (exit $ac_status); }; } &&
34741 { ac_try='test -s conftest$ac_exeext'
34742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34743 (eval $ac_try) 2>&5
34744 ac_status=$?
34745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34746 (exit $ac_status); }; }; then
34747 eval "$as_ac_var=yes"
34748 else
34749 echo "$as_me: failed program was:" >&5
34750 sed 's/^/| /' conftest.$ac_ext >&5
34752 eval "$as_ac_var=no"
34754 rm -f conftest.err conftest.$ac_objext \
34755 conftest$ac_exeext conftest.$ac_ext
34757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34759 if test `eval echo '${'$as_ac_var'}'` = yes; then
34760 cat >>confdefs.h <<_ACEOF
34761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34762 _ACEOF
34765 done
34767 else
34769 echo "$as_me:$LINENO: checking for _powl declaration" >&5
34770 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
34771 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34772 if test "${glibcxx_cv_func__powl_use+set}" = set; then
34773 echo $ECHO_N "(cached) $ECHO_C" >&6
34774 else
34778 ac_ext=cc
34779 ac_cpp='$CXXCPP $CPPFLAGS'
34780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34784 cat >conftest.$ac_ext <<_ACEOF
34785 /* confdefs.h. */
34786 _ACEOF
34787 cat confdefs.h >>conftest.$ac_ext
34788 cat >>conftest.$ac_ext <<_ACEOF
34789 /* end confdefs.h. */
34790 #include <math.h>
34792 main ()
34794 _powl(0, 0);
34796 return 0;
34798 _ACEOF
34799 rm -f conftest.$ac_objext
34800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34801 (eval $ac_compile) 2>conftest.er1
34802 ac_status=$?
34803 grep -v '^ *+' conftest.er1 >conftest.err
34804 rm -f conftest.er1
34805 cat conftest.err >&5
34806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34807 (exit $ac_status); } &&
34808 { ac_try='test -z "$ac_cxx_werror_flag"
34809 || test ! -s conftest.err'
34810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34811 (eval $ac_try) 2>&5
34812 ac_status=$?
34813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34814 (exit $ac_status); }; } &&
34815 { ac_try='test -s conftest.$ac_objext'
34816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34817 (eval $ac_try) 2>&5
34818 ac_status=$?
34819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34820 (exit $ac_status); }; }; then
34821 glibcxx_cv_func__powl_use=yes
34822 else
34823 echo "$as_me: failed program was:" >&5
34824 sed 's/^/| /' conftest.$ac_ext >&5
34826 glibcxx_cv_func__powl_use=no
34828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34829 ac_ext=c
34830 ac_cpp='$CPP $CPPFLAGS'
34831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
34840 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
34842 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34844 for ac_func in _powl
34846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34847 echo "$as_me:$LINENO: checking for $ac_func" >&5
34848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34849 if eval "test \"\${$as_ac_var+set}\" = set"; then
34850 echo $ECHO_N "(cached) $ECHO_C" >&6
34851 else
34852 if test x$gcc_no_link = xyes; then
34853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34855 { (exit 1); exit 1; }; }
34857 cat >conftest.$ac_ext <<_ACEOF
34858 /* confdefs.h. */
34859 _ACEOF
34860 cat confdefs.h >>conftest.$ac_ext
34861 cat >>conftest.$ac_ext <<_ACEOF
34862 /* end confdefs.h. */
34863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34865 #define $ac_func innocuous_$ac_func
34867 /* System header to define __stub macros and hopefully few prototypes,
34868 which can conflict with char $ac_func (); below.
34869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34870 <limits.h> exists even on freestanding compilers. */
34872 #ifdef __STDC__
34873 # include <limits.h>
34874 #else
34875 # include <assert.h>
34876 #endif
34878 #undef $ac_func
34880 /* Override any gcc2 internal prototype to avoid an error. */
34881 #ifdef __cplusplus
34882 extern "C"
34884 #endif
34885 /* We use char because int might match the return type of a gcc2
34886 builtin and then its argument prototype would still apply. */
34887 char $ac_func ();
34888 /* The GNU C library defines this for functions which it implements
34889 to always fail with ENOSYS. Some functions are actually named
34890 something starting with __ and the normal name is an alias. */
34891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34892 choke me
34893 #else
34894 char (*f) () = $ac_func;
34895 #endif
34896 #ifdef __cplusplus
34898 #endif
34901 main ()
34903 return f != $ac_func;
34905 return 0;
34907 _ACEOF
34908 rm -f conftest.$ac_objext conftest$ac_exeext
34909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34910 (eval $ac_link) 2>conftest.er1
34911 ac_status=$?
34912 grep -v '^ *+' conftest.er1 >conftest.err
34913 rm -f conftest.er1
34914 cat conftest.err >&5
34915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34916 (exit $ac_status); } &&
34917 { ac_try='test -z "$ac_c_werror_flag"
34918 || test ! -s conftest.err'
34919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34920 (eval $ac_try) 2>&5
34921 ac_status=$?
34922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34923 (exit $ac_status); }; } &&
34924 { ac_try='test -s conftest$ac_exeext'
34925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34926 (eval $ac_try) 2>&5
34927 ac_status=$?
34928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34929 (exit $ac_status); }; }; then
34930 eval "$as_ac_var=yes"
34931 else
34932 echo "$as_me: failed program was:" >&5
34933 sed 's/^/| /' conftest.$ac_ext >&5
34935 eval "$as_ac_var=no"
34937 rm -f conftest.err conftest.$ac_objext \
34938 conftest$ac_exeext conftest.$ac_ext
34940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34942 if test `eval echo '${'$as_ac_var'}'` = yes; then
34943 cat >>confdefs.h <<_ACEOF
34944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34945 _ACEOF
34948 done
34958 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
34959 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
34960 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34961 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
34962 echo $ECHO_N "(cached) $ECHO_C" >&6
34963 else
34967 ac_ext=cc
34968 ac_cpp='$CXXCPP $CPPFLAGS'
34969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34973 cat >conftest.$ac_ext <<_ACEOF
34974 /* confdefs.h. */
34975 _ACEOF
34976 cat confdefs.h >>conftest.$ac_ext
34977 cat >>conftest.$ac_ext <<_ACEOF
34978 /* end confdefs.h. */
34979 #include <math.h>
34980 #ifdef HAVE_IEEEFP_H
34981 #include <ieeefp.h>
34982 #endif
34985 main ()
34987 sqrtl(0);
34989 return 0;
34991 _ACEOF
34992 rm -f conftest.$ac_objext
34993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34994 (eval $ac_compile) 2>conftest.er1
34995 ac_status=$?
34996 grep -v '^ *+' conftest.er1 >conftest.err
34997 rm -f conftest.er1
34998 cat conftest.err >&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } &&
35001 { ac_try='test -z "$ac_cxx_werror_flag"
35002 || test ! -s conftest.err'
35003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35004 (eval $ac_try) 2>&5
35005 ac_status=$?
35006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35007 (exit $ac_status); }; } &&
35008 { ac_try='test -s conftest.$ac_objext'
35009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35010 (eval $ac_try) 2>&5
35011 ac_status=$?
35012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35013 (exit $ac_status); }; }; then
35014 glibcxx_cv_func_sqrtl_use=yes
35015 else
35016 echo "$as_me: failed program was:" >&5
35017 sed 's/^/| /' conftest.$ac_ext >&5
35019 glibcxx_cv_func_sqrtl_use=no
35021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35022 ac_ext=c
35023 ac_cpp='$CPP $CPPFLAGS'
35024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
35033 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
35035 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
35037 for ac_func in sqrtl
35039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35040 echo "$as_me:$LINENO: checking for $ac_func" >&5
35041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35042 if eval "test \"\${$as_ac_var+set}\" = set"; then
35043 echo $ECHO_N "(cached) $ECHO_C" >&6
35044 else
35045 if test x$gcc_no_link = xyes; then
35046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35048 { (exit 1); exit 1; }; }
35050 cat >conftest.$ac_ext <<_ACEOF
35051 /* confdefs.h. */
35052 _ACEOF
35053 cat confdefs.h >>conftest.$ac_ext
35054 cat >>conftest.$ac_ext <<_ACEOF
35055 /* end confdefs.h. */
35056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35058 #define $ac_func innocuous_$ac_func
35060 /* System header to define __stub macros and hopefully few prototypes,
35061 which can conflict with char $ac_func (); below.
35062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35063 <limits.h> exists even on freestanding compilers. */
35065 #ifdef __STDC__
35066 # include <limits.h>
35067 #else
35068 # include <assert.h>
35069 #endif
35071 #undef $ac_func
35073 /* Override any gcc2 internal prototype to avoid an error. */
35074 #ifdef __cplusplus
35075 extern "C"
35077 #endif
35078 /* We use char because int might match the return type of a gcc2
35079 builtin and then its argument prototype would still apply. */
35080 char $ac_func ();
35081 /* The GNU C library defines this for functions which it implements
35082 to always fail with ENOSYS. Some functions are actually named
35083 something starting with __ and the normal name is an alias. */
35084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35085 choke me
35086 #else
35087 char (*f) () = $ac_func;
35088 #endif
35089 #ifdef __cplusplus
35091 #endif
35094 main ()
35096 return f != $ac_func;
35098 return 0;
35100 _ACEOF
35101 rm -f conftest.$ac_objext conftest$ac_exeext
35102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35103 (eval $ac_link) 2>conftest.er1
35104 ac_status=$?
35105 grep -v '^ *+' conftest.er1 >conftest.err
35106 rm -f conftest.er1
35107 cat conftest.err >&5
35108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35109 (exit $ac_status); } &&
35110 { ac_try='test -z "$ac_c_werror_flag"
35111 || test ! -s conftest.err'
35112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35113 (eval $ac_try) 2>&5
35114 ac_status=$?
35115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35116 (exit $ac_status); }; } &&
35117 { ac_try='test -s conftest$ac_exeext'
35118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35119 (eval $ac_try) 2>&5
35120 ac_status=$?
35121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35122 (exit $ac_status); }; }; then
35123 eval "$as_ac_var=yes"
35124 else
35125 echo "$as_me: failed program was:" >&5
35126 sed 's/^/| /' conftest.$ac_ext >&5
35128 eval "$as_ac_var=no"
35130 rm -f conftest.err conftest.$ac_objext \
35131 conftest$ac_exeext conftest.$ac_ext
35133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35135 if test `eval echo '${'$as_ac_var'}'` = yes; then
35136 cat >>confdefs.h <<_ACEOF
35137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35138 _ACEOF
35141 done
35143 else
35145 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
35146 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
35147 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
35148 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
35149 echo $ECHO_N "(cached) $ECHO_C" >&6
35150 else
35154 ac_ext=cc
35155 ac_cpp='$CXXCPP $CPPFLAGS'
35156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35160 cat >conftest.$ac_ext <<_ACEOF
35161 /* confdefs.h. */
35162 _ACEOF
35163 cat confdefs.h >>conftest.$ac_ext
35164 cat >>conftest.$ac_ext <<_ACEOF
35165 /* end confdefs.h. */
35166 #include <math.h>
35167 #ifdef HAVE_IEEEFP_H
35168 #include <ieeefp.h>
35169 #endif
35172 main ()
35174 _sqrtl(0);
35176 return 0;
35178 _ACEOF
35179 rm -f conftest.$ac_objext
35180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35181 (eval $ac_compile) 2>conftest.er1
35182 ac_status=$?
35183 grep -v '^ *+' conftest.er1 >conftest.err
35184 rm -f conftest.er1
35185 cat conftest.err >&5
35186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35187 (exit $ac_status); } &&
35188 { ac_try='test -z "$ac_cxx_werror_flag"
35189 || test ! -s conftest.err'
35190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35191 (eval $ac_try) 2>&5
35192 ac_status=$?
35193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35194 (exit $ac_status); }; } &&
35195 { ac_try='test -s conftest.$ac_objext'
35196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35197 (eval $ac_try) 2>&5
35198 ac_status=$?
35199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35200 (exit $ac_status); }; }; then
35201 glibcxx_cv_func__sqrtl_use=yes
35202 else
35203 echo "$as_me: failed program was:" >&5
35204 sed 's/^/| /' conftest.$ac_ext >&5
35206 glibcxx_cv_func__sqrtl_use=no
35208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35209 ac_ext=c
35210 ac_cpp='$CPP $CPPFLAGS'
35211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
35220 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
35222 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
35224 for ac_func in _sqrtl
35226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35227 echo "$as_me:$LINENO: checking for $ac_func" >&5
35228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35229 if eval "test \"\${$as_ac_var+set}\" = set"; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232 if test x$gcc_no_link = xyes; then
35233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35235 { (exit 1); exit 1; }; }
35237 cat >conftest.$ac_ext <<_ACEOF
35238 /* confdefs.h. */
35239 _ACEOF
35240 cat confdefs.h >>conftest.$ac_ext
35241 cat >>conftest.$ac_ext <<_ACEOF
35242 /* end confdefs.h. */
35243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35245 #define $ac_func innocuous_$ac_func
35247 /* System header to define __stub macros and hopefully few prototypes,
35248 which can conflict with char $ac_func (); below.
35249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35250 <limits.h> exists even on freestanding compilers. */
35252 #ifdef __STDC__
35253 # include <limits.h>
35254 #else
35255 # include <assert.h>
35256 #endif
35258 #undef $ac_func
35260 /* Override any gcc2 internal prototype to avoid an error. */
35261 #ifdef __cplusplus
35262 extern "C"
35264 #endif
35265 /* We use char because int might match the return type of a gcc2
35266 builtin and then its argument prototype would still apply. */
35267 char $ac_func ();
35268 /* The GNU C library defines this for functions which it implements
35269 to always fail with ENOSYS. Some functions are actually named
35270 something starting with __ and the normal name is an alias. */
35271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35272 choke me
35273 #else
35274 char (*f) () = $ac_func;
35275 #endif
35276 #ifdef __cplusplus
35278 #endif
35281 main ()
35283 return f != $ac_func;
35285 return 0;
35287 _ACEOF
35288 rm -f conftest.$ac_objext conftest$ac_exeext
35289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35290 (eval $ac_link) 2>conftest.er1
35291 ac_status=$?
35292 grep -v '^ *+' conftest.er1 >conftest.err
35293 rm -f conftest.er1
35294 cat conftest.err >&5
35295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35296 (exit $ac_status); } &&
35297 { ac_try='test -z "$ac_c_werror_flag"
35298 || test ! -s conftest.err'
35299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35300 (eval $ac_try) 2>&5
35301 ac_status=$?
35302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35303 (exit $ac_status); }; } &&
35304 { ac_try='test -s conftest$ac_exeext'
35305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35306 (eval $ac_try) 2>&5
35307 ac_status=$?
35308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35309 (exit $ac_status); }; }; then
35310 eval "$as_ac_var=yes"
35311 else
35312 echo "$as_me: failed program was:" >&5
35313 sed 's/^/| /' conftest.$ac_ext >&5
35315 eval "$as_ac_var=no"
35317 rm -f conftest.err conftest.$ac_objext \
35318 conftest$ac_exeext conftest.$ac_ext
35320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35322 if test `eval echo '${'$as_ac_var'}'` = yes; then
35323 cat >>confdefs.h <<_ACEOF
35324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35325 _ACEOF
35328 done
35338 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
35339 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
35340 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
35341 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
35342 echo $ECHO_N "(cached) $ECHO_C" >&6
35343 else
35347 ac_ext=cc
35348 ac_cpp='$CXXCPP $CPPFLAGS'
35349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35353 cat >conftest.$ac_ext <<_ACEOF
35354 /* confdefs.h. */
35355 _ACEOF
35356 cat confdefs.h >>conftest.$ac_ext
35357 cat >>conftest.$ac_ext <<_ACEOF
35358 /* end confdefs.h. */
35359 #include <math.h>
35361 main ()
35363 sincosl(0, 0, 0);
35365 return 0;
35367 _ACEOF
35368 rm -f conftest.$ac_objext
35369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35370 (eval $ac_compile) 2>conftest.er1
35371 ac_status=$?
35372 grep -v '^ *+' conftest.er1 >conftest.err
35373 rm -f conftest.er1
35374 cat conftest.err >&5
35375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35376 (exit $ac_status); } &&
35377 { ac_try='test -z "$ac_cxx_werror_flag"
35378 || test ! -s conftest.err'
35379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35380 (eval $ac_try) 2>&5
35381 ac_status=$?
35382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35383 (exit $ac_status); }; } &&
35384 { ac_try='test -s conftest.$ac_objext'
35385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35386 (eval $ac_try) 2>&5
35387 ac_status=$?
35388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35389 (exit $ac_status); }; }; then
35390 glibcxx_cv_func_sincosl_use=yes
35391 else
35392 echo "$as_me: failed program was:" >&5
35393 sed 's/^/| /' conftest.$ac_ext >&5
35395 glibcxx_cv_func_sincosl_use=no
35397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35398 ac_ext=c
35399 ac_cpp='$CPP $CPPFLAGS'
35400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
35409 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
35411 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
35413 for ac_func in sincosl
35415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35416 echo "$as_me:$LINENO: checking for $ac_func" >&5
35417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35418 if eval "test \"\${$as_ac_var+set}\" = set"; then
35419 echo $ECHO_N "(cached) $ECHO_C" >&6
35420 else
35421 if test x$gcc_no_link = xyes; then
35422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35424 { (exit 1); exit 1; }; }
35426 cat >conftest.$ac_ext <<_ACEOF
35427 /* confdefs.h. */
35428 _ACEOF
35429 cat confdefs.h >>conftest.$ac_ext
35430 cat >>conftest.$ac_ext <<_ACEOF
35431 /* end confdefs.h. */
35432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35434 #define $ac_func innocuous_$ac_func
35436 /* System header to define __stub macros and hopefully few prototypes,
35437 which can conflict with char $ac_func (); below.
35438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35439 <limits.h> exists even on freestanding compilers. */
35441 #ifdef __STDC__
35442 # include <limits.h>
35443 #else
35444 # include <assert.h>
35445 #endif
35447 #undef $ac_func
35449 /* Override any gcc2 internal prototype to avoid an error. */
35450 #ifdef __cplusplus
35451 extern "C"
35453 #endif
35454 /* We use char because int might match the return type of a gcc2
35455 builtin and then its argument prototype would still apply. */
35456 char $ac_func ();
35457 /* The GNU C library defines this for functions which it implements
35458 to always fail with ENOSYS. Some functions are actually named
35459 something starting with __ and the normal name is an alias. */
35460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35461 choke me
35462 #else
35463 char (*f) () = $ac_func;
35464 #endif
35465 #ifdef __cplusplus
35467 #endif
35470 main ()
35472 return f != $ac_func;
35474 return 0;
35476 _ACEOF
35477 rm -f conftest.$ac_objext conftest$ac_exeext
35478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35479 (eval $ac_link) 2>conftest.er1
35480 ac_status=$?
35481 grep -v '^ *+' conftest.er1 >conftest.err
35482 rm -f conftest.er1
35483 cat conftest.err >&5
35484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35485 (exit $ac_status); } &&
35486 { ac_try='test -z "$ac_c_werror_flag"
35487 || test ! -s conftest.err'
35488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35489 (eval $ac_try) 2>&5
35490 ac_status=$?
35491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35492 (exit $ac_status); }; } &&
35493 { ac_try='test -s conftest$ac_exeext'
35494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35495 (eval $ac_try) 2>&5
35496 ac_status=$?
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); }; }; then
35499 eval "$as_ac_var=yes"
35500 else
35501 echo "$as_me: failed program was:" >&5
35502 sed 's/^/| /' conftest.$ac_ext >&5
35504 eval "$as_ac_var=no"
35506 rm -f conftest.err conftest.$ac_objext \
35507 conftest$ac_exeext conftest.$ac_ext
35509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35511 if test `eval echo '${'$as_ac_var'}'` = yes; then
35512 cat >>confdefs.h <<_ACEOF
35513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35514 _ACEOF
35517 done
35519 else
35521 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
35522 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
35523 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
35524 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
35525 echo $ECHO_N "(cached) $ECHO_C" >&6
35526 else
35530 ac_ext=cc
35531 ac_cpp='$CXXCPP $CPPFLAGS'
35532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35536 cat >conftest.$ac_ext <<_ACEOF
35537 /* confdefs.h. */
35538 _ACEOF
35539 cat confdefs.h >>conftest.$ac_ext
35540 cat >>conftest.$ac_ext <<_ACEOF
35541 /* end confdefs.h. */
35542 #include <math.h>
35544 main ()
35546 _sincosl(0, 0, 0);
35548 return 0;
35550 _ACEOF
35551 rm -f conftest.$ac_objext
35552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35553 (eval $ac_compile) 2>conftest.er1
35554 ac_status=$?
35555 grep -v '^ *+' conftest.er1 >conftest.err
35556 rm -f conftest.er1
35557 cat conftest.err >&5
35558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35559 (exit $ac_status); } &&
35560 { ac_try='test -z "$ac_cxx_werror_flag"
35561 || test ! -s conftest.err'
35562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35563 (eval $ac_try) 2>&5
35564 ac_status=$?
35565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35566 (exit $ac_status); }; } &&
35567 { ac_try='test -s conftest.$ac_objext'
35568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35569 (eval $ac_try) 2>&5
35570 ac_status=$?
35571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35572 (exit $ac_status); }; }; then
35573 glibcxx_cv_func__sincosl_use=yes
35574 else
35575 echo "$as_me: failed program was:" >&5
35576 sed 's/^/| /' conftest.$ac_ext >&5
35578 glibcxx_cv_func__sincosl_use=no
35580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35581 ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
35592 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
35594 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
35596 for ac_func in _sincosl
35598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35599 echo "$as_me:$LINENO: checking for $ac_func" >&5
35600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35601 if eval "test \"\${$as_ac_var+set}\" = set"; then
35602 echo $ECHO_N "(cached) $ECHO_C" >&6
35603 else
35604 if test x$gcc_no_link = xyes; then
35605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35607 { (exit 1); exit 1; }; }
35609 cat >conftest.$ac_ext <<_ACEOF
35610 /* confdefs.h. */
35611 _ACEOF
35612 cat confdefs.h >>conftest.$ac_ext
35613 cat >>conftest.$ac_ext <<_ACEOF
35614 /* end confdefs.h. */
35615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35617 #define $ac_func innocuous_$ac_func
35619 /* System header to define __stub macros and hopefully few prototypes,
35620 which can conflict with char $ac_func (); below.
35621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35622 <limits.h> exists even on freestanding compilers. */
35624 #ifdef __STDC__
35625 # include <limits.h>
35626 #else
35627 # include <assert.h>
35628 #endif
35630 #undef $ac_func
35632 /* Override any gcc2 internal prototype to avoid an error. */
35633 #ifdef __cplusplus
35634 extern "C"
35636 #endif
35637 /* We use char because int might match the return type of a gcc2
35638 builtin and then its argument prototype would still apply. */
35639 char $ac_func ();
35640 /* The GNU C library defines this for functions which it implements
35641 to always fail with ENOSYS. Some functions are actually named
35642 something starting with __ and the normal name is an alias. */
35643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35644 choke me
35645 #else
35646 char (*f) () = $ac_func;
35647 #endif
35648 #ifdef __cplusplus
35650 #endif
35653 main ()
35655 return f != $ac_func;
35657 return 0;
35659 _ACEOF
35660 rm -f conftest.$ac_objext conftest$ac_exeext
35661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35662 (eval $ac_link) 2>conftest.er1
35663 ac_status=$?
35664 grep -v '^ *+' conftest.er1 >conftest.err
35665 rm -f conftest.er1
35666 cat conftest.err >&5
35667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35668 (exit $ac_status); } &&
35669 { ac_try='test -z "$ac_c_werror_flag"
35670 || test ! -s conftest.err'
35671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35672 (eval $ac_try) 2>&5
35673 ac_status=$?
35674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35675 (exit $ac_status); }; } &&
35676 { ac_try='test -s conftest$ac_exeext'
35677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35678 (eval $ac_try) 2>&5
35679 ac_status=$?
35680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35681 (exit $ac_status); }; }; then
35682 eval "$as_ac_var=yes"
35683 else
35684 echo "$as_me: failed program was:" >&5
35685 sed 's/^/| /' conftest.$ac_ext >&5
35687 eval "$as_ac_var=no"
35689 rm -f conftest.err conftest.$ac_objext \
35690 conftest$ac_exeext conftest.$ac_ext
35692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35694 if test `eval echo '${'$as_ac_var'}'` = yes; then
35695 cat >>confdefs.h <<_ACEOF
35696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35697 _ACEOF
35700 done
35710 echo "$as_me:$LINENO: checking for finitel declaration" >&5
35711 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
35712 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
35713 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
35714 echo $ECHO_N "(cached) $ECHO_C" >&6
35715 else
35719 ac_ext=cc
35720 ac_cpp='$CXXCPP $CPPFLAGS'
35721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35725 cat >conftest.$ac_ext <<_ACEOF
35726 /* confdefs.h. */
35727 _ACEOF
35728 cat confdefs.h >>conftest.$ac_ext
35729 cat >>conftest.$ac_ext <<_ACEOF
35730 /* end confdefs.h. */
35731 #include <math.h>
35732 #ifdef HAVE_IEEEFP_H
35733 #include <ieeefp.h>
35734 #endif
35737 main ()
35739 finitel(0);
35741 return 0;
35743 _ACEOF
35744 rm -f conftest.$ac_objext
35745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35746 (eval $ac_compile) 2>conftest.er1
35747 ac_status=$?
35748 grep -v '^ *+' conftest.er1 >conftest.err
35749 rm -f conftest.er1
35750 cat conftest.err >&5
35751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35752 (exit $ac_status); } &&
35753 { ac_try='test -z "$ac_cxx_werror_flag"
35754 || test ! -s conftest.err'
35755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35756 (eval $ac_try) 2>&5
35757 ac_status=$?
35758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35759 (exit $ac_status); }; } &&
35760 { ac_try='test -s conftest.$ac_objext'
35761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35762 (eval $ac_try) 2>&5
35763 ac_status=$?
35764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35765 (exit $ac_status); }; }; then
35766 glibcxx_cv_func_finitel_use=yes
35767 else
35768 echo "$as_me: failed program was:" >&5
35769 sed 's/^/| /' conftest.$ac_ext >&5
35771 glibcxx_cv_func_finitel_use=no
35773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35774 ac_ext=c
35775 ac_cpp='$CPP $CPPFLAGS'
35776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
35785 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
35787 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35789 for ac_func in finitel
35791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35792 echo "$as_me:$LINENO: checking for $ac_func" >&5
35793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35794 if eval "test \"\${$as_ac_var+set}\" = set"; then
35795 echo $ECHO_N "(cached) $ECHO_C" >&6
35796 else
35797 if test x$gcc_no_link = xyes; then
35798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35800 { (exit 1); exit 1; }; }
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h. */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35810 #define $ac_func innocuous_$ac_func
35812 /* System header to define __stub macros and hopefully few prototypes,
35813 which can conflict with char $ac_func (); below.
35814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35815 <limits.h> exists even on freestanding compilers. */
35817 #ifdef __STDC__
35818 # include <limits.h>
35819 #else
35820 # include <assert.h>
35821 #endif
35823 #undef $ac_func
35825 /* Override any gcc2 internal prototype to avoid an error. */
35826 #ifdef __cplusplus
35827 extern "C"
35829 #endif
35830 /* We use char because int might match the return type of a gcc2
35831 builtin and then its argument prototype would still apply. */
35832 char $ac_func ();
35833 /* The GNU C library defines this for functions which it implements
35834 to always fail with ENOSYS. Some functions are actually named
35835 something starting with __ and the normal name is an alias. */
35836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35837 choke me
35838 #else
35839 char (*f) () = $ac_func;
35840 #endif
35841 #ifdef __cplusplus
35843 #endif
35846 main ()
35848 return f != $ac_func;
35850 return 0;
35852 _ACEOF
35853 rm -f conftest.$ac_objext conftest$ac_exeext
35854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35855 (eval $ac_link) 2>conftest.er1
35856 ac_status=$?
35857 grep -v '^ *+' conftest.er1 >conftest.err
35858 rm -f conftest.er1
35859 cat conftest.err >&5
35860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35861 (exit $ac_status); } &&
35862 { ac_try='test -z "$ac_c_werror_flag"
35863 || test ! -s conftest.err'
35864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35865 (eval $ac_try) 2>&5
35866 ac_status=$?
35867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35868 (exit $ac_status); }; } &&
35869 { ac_try='test -s conftest$ac_exeext'
35870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35871 (eval $ac_try) 2>&5
35872 ac_status=$?
35873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35874 (exit $ac_status); }; }; then
35875 eval "$as_ac_var=yes"
35876 else
35877 echo "$as_me: failed program was:" >&5
35878 sed 's/^/| /' conftest.$ac_ext >&5
35880 eval "$as_ac_var=no"
35882 rm -f conftest.err conftest.$ac_objext \
35883 conftest$ac_exeext conftest.$ac_ext
35885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35887 if test `eval echo '${'$as_ac_var'}'` = yes; then
35888 cat >>confdefs.h <<_ACEOF
35889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35890 _ACEOF
35893 done
35895 else
35897 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
35898 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
35899 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35900 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
35901 echo $ECHO_N "(cached) $ECHO_C" >&6
35902 else
35906 ac_ext=cc
35907 ac_cpp='$CXXCPP $CPPFLAGS'
35908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35912 cat >conftest.$ac_ext <<_ACEOF
35913 /* confdefs.h. */
35914 _ACEOF
35915 cat confdefs.h >>conftest.$ac_ext
35916 cat >>conftest.$ac_ext <<_ACEOF
35917 /* end confdefs.h. */
35918 #include <math.h>
35919 #ifdef HAVE_IEEEFP_H
35920 #include <ieeefp.h>
35921 #endif
35924 main ()
35926 _finitel(0);
35928 return 0;
35930 _ACEOF
35931 rm -f conftest.$ac_objext
35932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35933 (eval $ac_compile) 2>conftest.er1
35934 ac_status=$?
35935 grep -v '^ *+' conftest.er1 >conftest.err
35936 rm -f conftest.er1
35937 cat conftest.err >&5
35938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35939 (exit $ac_status); } &&
35940 { ac_try='test -z "$ac_cxx_werror_flag"
35941 || test ! -s conftest.err'
35942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35943 (eval $ac_try) 2>&5
35944 ac_status=$?
35945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35946 (exit $ac_status); }; } &&
35947 { ac_try='test -s conftest.$ac_objext'
35948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35949 (eval $ac_try) 2>&5
35950 ac_status=$?
35951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35952 (exit $ac_status); }; }; then
35953 glibcxx_cv_func__finitel_use=yes
35954 else
35955 echo "$as_me: failed program was:" >&5
35956 sed 's/^/| /' conftest.$ac_ext >&5
35958 glibcxx_cv_func__finitel_use=no
35960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35961 ac_ext=c
35962 ac_cpp='$CPP $CPPFLAGS'
35963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
35972 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
35974 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35976 for ac_func in _finitel
35978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35979 echo "$as_me:$LINENO: checking for $ac_func" >&5
35980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35981 if eval "test \"\${$as_ac_var+set}\" = set"; then
35982 echo $ECHO_N "(cached) $ECHO_C" >&6
35983 else
35984 if test x$gcc_no_link = xyes; then
35985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35987 { (exit 1); exit 1; }; }
35989 cat >conftest.$ac_ext <<_ACEOF
35990 /* confdefs.h. */
35991 _ACEOF
35992 cat confdefs.h >>conftest.$ac_ext
35993 cat >>conftest.$ac_ext <<_ACEOF
35994 /* end confdefs.h. */
35995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35997 #define $ac_func innocuous_$ac_func
35999 /* System header to define __stub macros and hopefully few prototypes,
36000 which can conflict with char $ac_func (); below.
36001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36002 <limits.h> exists even on freestanding compilers. */
36004 #ifdef __STDC__
36005 # include <limits.h>
36006 #else
36007 # include <assert.h>
36008 #endif
36010 #undef $ac_func
36012 /* Override any gcc2 internal prototype to avoid an error. */
36013 #ifdef __cplusplus
36014 extern "C"
36016 #endif
36017 /* We use char because int might match the return type of a gcc2
36018 builtin and then its argument prototype would still apply. */
36019 char $ac_func ();
36020 /* The GNU C library defines this for functions which it implements
36021 to always fail with ENOSYS. Some functions are actually named
36022 something starting with __ and the normal name is an alias. */
36023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36024 choke me
36025 #else
36026 char (*f) () = $ac_func;
36027 #endif
36028 #ifdef __cplusplus
36030 #endif
36033 main ()
36035 return f != $ac_func;
36037 return 0;
36039 _ACEOF
36040 rm -f conftest.$ac_objext conftest$ac_exeext
36041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36042 (eval $ac_link) 2>conftest.er1
36043 ac_status=$?
36044 grep -v '^ *+' conftest.er1 >conftest.err
36045 rm -f conftest.er1
36046 cat conftest.err >&5
36047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36048 (exit $ac_status); } &&
36049 { ac_try='test -z "$ac_c_werror_flag"
36050 || test ! -s conftest.err'
36051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36052 (eval $ac_try) 2>&5
36053 ac_status=$?
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); }; } &&
36056 { ac_try='test -s conftest$ac_exeext'
36057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36058 (eval $ac_try) 2>&5
36059 ac_status=$?
36060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36061 (exit $ac_status); }; }; then
36062 eval "$as_ac_var=yes"
36063 else
36064 echo "$as_me: failed program was:" >&5
36065 sed 's/^/| /' conftest.$ac_ext >&5
36067 eval "$as_ac_var=no"
36069 rm -f conftest.err conftest.$ac_objext \
36070 conftest$ac_exeext conftest.$ac_ext
36072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36074 if test `eval echo '${'$as_ac_var'}'` = yes; then
36075 cat >>confdefs.h <<_ACEOF
36076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36077 _ACEOF
36080 done
36089 LIBS="$ac_save_LIBS"
36090 CXXFLAGS="$ac_save_CXXFLAGS"
36094 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
36095 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
36096 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
36097 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
36098 echo $ECHO_N "(cached) $ECHO_C" >&6
36099 else
36103 ac_ext=cc
36104 ac_cpp='$CXXCPP $CPPFLAGS'
36105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36109 cat >conftest.$ac_ext <<_ACEOF
36110 /* confdefs.h. */
36111 _ACEOF
36112 cat confdefs.h >>conftest.$ac_ext
36113 cat >>conftest.$ac_ext <<_ACEOF
36114 /* end confdefs.h. */
36115 #include <math.h>
36117 main ()
36119 __builtin_abs(0);
36121 return 0;
36123 _ACEOF
36124 rm -f conftest.$ac_objext
36125 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36126 (eval $ac_compile) 2>conftest.er1
36127 ac_status=$?
36128 grep -v '^ *+' conftest.er1 >conftest.err
36129 rm -f conftest.er1
36130 cat conftest.err >&5
36131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36132 (exit $ac_status); } &&
36133 { ac_try='test -z "$ac_cxx_werror_flag"
36134 || test ! -s conftest.err'
36135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36136 (eval $ac_try) 2>&5
36137 ac_status=$?
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); }; } &&
36140 { ac_try='test -s conftest.$ac_objext'
36141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36142 (eval $ac_try) 2>&5
36143 ac_status=$?
36144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36145 (exit $ac_status); }; }; then
36146 glibcxx_cv_func___builtin_abs_use=yes
36147 else
36148 echo "$as_me: failed program was:" >&5
36149 sed 's/^/| /' conftest.$ac_ext >&5
36151 glibcxx_cv_func___builtin_abs_use=no
36153 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36154 ac_ext=c
36155 ac_cpp='$CPP $CPPFLAGS'
36156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36164 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
36165 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
36166 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
36167 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
36168 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
36169 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
36170 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
36171 echo $ECHO_N "(cached) $ECHO_C" >&6
36172 else
36174 if test x$gcc_no_link = xyes; then
36175 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36176 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36177 { (exit 1); exit 1; }; }
36179 cat >conftest.$ac_ext <<_ACEOF
36180 /* confdefs.h. */
36181 _ACEOF
36182 cat confdefs.h >>conftest.$ac_ext
36183 cat >>conftest.$ac_ext <<_ACEOF
36184 /* end confdefs.h. */
36185 #include <math.h>
36187 main ()
36189 __builtin_abs(0);
36191 return 0;
36193 _ACEOF
36194 rm -f conftest.$ac_objext conftest$ac_exeext
36195 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36196 (eval $ac_link) 2>conftest.er1
36197 ac_status=$?
36198 grep -v '^ *+' conftest.er1 >conftest.err
36199 rm -f conftest.er1
36200 cat conftest.err >&5
36201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36202 (exit $ac_status); } &&
36203 { ac_try='test -z "$ac_c_werror_flag"
36204 || test ! -s conftest.err'
36205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36206 (eval $ac_try) 2>&5
36207 ac_status=$?
36208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36209 (exit $ac_status); }; } &&
36210 { ac_try='test -s conftest$ac_exeext'
36211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36212 (eval $ac_try) 2>&5
36213 ac_status=$?
36214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36215 (exit $ac_status); }; }; then
36216 glibcxx_cv_func___builtin_abs_link=yes
36217 else
36218 echo "$as_me: failed program was:" >&5
36219 sed 's/^/| /' conftest.$ac_ext >&5
36221 glibcxx_cv_func___builtin_abs_link=no
36223 rm -f conftest.err conftest.$ac_objext \
36224 conftest$ac_exeext conftest.$ac_ext
36229 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
36230 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
36232 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
36234 cat >>confdefs.h <<\_ACEOF
36235 #define HAVE___BUILTIN_ABS 1
36236 _ACEOF
36243 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
36244 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
36245 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
36246 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
36247 echo $ECHO_N "(cached) $ECHO_C" >&6
36248 else
36252 ac_ext=cc
36253 ac_cpp='$CXXCPP $CPPFLAGS'
36254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36258 cat >conftest.$ac_ext <<_ACEOF
36259 /* confdefs.h. */
36260 _ACEOF
36261 cat confdefs.h >>conftest.$ac_ext
36262 cat >>conftest.$ac_ext <<_ACEOF
36263 /* end confdefs.h. */
36264 #include <math.h>
36266 main ()
36268 __builtin_fabsf(0);
36270 return 0;
36272 _ACEOF
36273 rm -f conftest.$ac_objext
36274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36275 (eval $ac_compile) 2>conftest.er1
36276 ac_status=$?
36277 grep -v '^ *+' conftest.er1 >conftest.err
36278 rm -f conftest.er1
36279 cat conftest.err >&5
36280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36281 (exit $ac_status); } &&
36282 { ac_try='test -z "$ac_cxx_werror_flag"
36283 || test ! -s conftest.err'
36284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36285 (eval $ac_try) 2>&5
36286 ac_status=$?
36287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36288 (exit $ac_status); }; } &&
36289 { ac_try='test -s conftest.$ac_objext'
36290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36291 (eval $ac_try) 2>&5
36292 ac_status=$?
36293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36294 (exit $ac_status); }; }; then
36295 glibcxx_cv_func___builtin_fabsf_use=yes
36296 else
36297 echo "$as_me: failed program was:" >&5
36298 sed 's/^/| /' conftest.$ac_ext >&5
36300 glibcxx_cv_func___builtin_fabsf_use=no
36302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36303 ac_ext=c
36304 ac_cpp='$CPP $CPPFLAGS'
36305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36313 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
36314 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
36315 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
36316 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
36317 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
36318 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
36319 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
36320 echo $ECHO_N "(cached) $ECHO_C" >&6
36321 else
36323 if test x$gcc_no_link = xyes; then
36324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36326 { (exit 1); exit 1; }; }
36328 cat >conftest.$ac_ext <<_ACEOF
36329 /* confdefs.h. */
36330 _ACEOF
36331 cat confdefs.h >>conftest.$ac_ext
36332 cat >>conftest.$ac_ext <<_ACEOF
36333 /* end confdefs.h. */
36334 #include <math.h>
36336 main ()
36338 __builtin_fabsf(0);
36340 return 0;
36342 _ACEOF
36343 rm -f conftest.$ac_objext conftest$ac_exeext
36344 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36345 (eval $ac_link) 2>conftest.er1
36346 ac_status=$?
36347 grep -v '^ *+' conftest.er1 >conftest.err
36348 rm -f conftest.er1
36349 cat conftest.err >&5
36350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36351 (exit $ac_status); } &&
36352 { ac_try='test -z "$ac_c_werror_flag"
36353 || test ! -s conftest.err'
36354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36355 (eval $ac_try) 2>&5
36356 ac_status=$?
36357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36358 (exit $ac_status); }; } &&
36359 { ac_try='test -s conftest$ac_exeext'
36360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36361 (eval $ac_try) 2>&5
36362 ac_status=$?
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); }; }; then
36365 glibcxx_cv_func___builtin_fabsf_link=yes
36366 else
36367 echo "$as_me: failed program was:" >&5
36368 sed 's/^/| /' conftest.$ac_ext >&5
36370 glibcxx_cv_func___builtin_fabsf_link=no
36372 rm -f conftest.err conftest.$ac_objext \
36373 conftest$ac_exeext conftest.$ac_ext
36378 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
36379 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
36381 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
36383 cat >>confdefs.h <<\_ACEOF
36384 #define HAVE___BUILTIN_FABSF 1
36385 _ACEOF
36392 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
36393 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
36394 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
36395 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
36396 echo $ECHO_N "(cached) $ECHO_C" >&6
36397 else
36401 ac_ext=cc
36402 ac_cpp='$CXXCPP $CPPFLAGS'
36403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36407 cat >conftest.$ac_ext <<_ACEOF
36408 /* confdefs.h. */
36409 _ACEOF
36410 cat confdefs.h >>conftest.$ac_ext
36411 cat >>conftest.$ac_ext <<_ACEOF
36412 /* end confdefs.h. */
36413 #include <math.h>
36415 main ()
36417 __builtin_fabs(0);
36419 return 0;
36421 _ACEOF
36422 rm -f conftest.$ac_objext
36423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36424 (eval $ac_compile) 2>conftest.er1
36425 ac_status=$?
36426 grep -v '^ *+' conftest.er1 >conftest.err
36427 rm -f conftest.er1
36428 cat conftest.err >&5
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); } &&
36431 { ac_try='test -z "$ac_cxx_werror_flag"
36432 || test ! -s conftest.err'
36433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36434 (eval $ac_try) 2>&5
36435 ac_status=$?
36436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36437 (exit $ac_status); }; } &&
36438 { ac_try='test -s conftest.$ac_objext'
36439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36440 (eval $ac_try) 2>&5
36441 ac_status=$?
36442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36443 (exit $ac_status); }; }; then
36444 glibcxx_cv_func___builtin_fabs_use=yes
36445 else
36446 echo "$as_me: failed program was:" >&5
36447 sed 's/^/| /' conftest.$ac_ext >&5
36449 glibcxx_cv_func___builtin_fabs_use=no
36451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36452 ac_ext=c
36453 ac_cpp='$CPP $CPPFLAGS'
36454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
36463 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
36464 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
36465 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
36466 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
36467 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
36468 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36472 if test x$gcc_no_link = xyes; then
36473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36475 { (exit 1); exit 1; }; }
36477 cat >conftest.$ac_ext <<_ACEOF
36478 /* confdefs.h. */
36479 _ACEOF
36480 cat confdefs.h >>conftest.$ac_ext
36481 cat >>conftest.$ac_ext <<_ACEOF
36482 /* end confdefs.h. */
36483 #include <math.h>
36485 main ()
36487 __builtin_fabs(0);
36489 return 0;
36491 _ACEOF
36492 rm -f conftest.$ac_objext conftest$ac_exeext
36493 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36494 (eval $ac_link) 2>conftest.er1
36495 ac_status=$?
36496 grep -v '^ *+' conftest.er1 >conftest.err
36497 rm -f conftest.er1
36498 cat conftest.err >&5
36499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36500 (exit $ac_status); } &&
36501 { ac_try='test -z "$ac_c_werror_flag"
36502 || test ! -s conftest.err'
36503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36504 (eval $ac_try) 2>&5
36505 ac_status=$?
36506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36507 (exit $ac_status); }; } &&
36508 { ac_try='test -s conftest$ac_exeext'
36509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36510 (eval $ac_try) 2>&5
36511 ac_status=$?
36512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36513 (exit $ac_status); }; }; then
36514 glibcxx_cv_func___builtin_fabs_link=yes
36515 else
36516 echo "$as_me: failed program was:" >&5
36517 sed 's/^/| /' conftest.$ac_ext >&5
36519 glibcxx_cv_func___builtin_fabs_link=no
36521 rm -f conftest.err conftest.$ac_objext \
36522 conftest$ac_exeext conftest.$ac_ext
36527 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
36528 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
36530 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
36532 cat >>confdefs.h <<\_ACEOF
36533 #define HAVE___BUILTIN_FABS 1
36534 _ACEOF
36541 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
36542 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
36543 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
36544 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
36545 echo $ECHO_N "(cached) $ECHO_C" >&6
36546 else
36550 ac_ext=cc
36551 ac_cpp='$CXXCPP $CPPFLAGS'
36552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36556 cat >conftest.$ac_ext <<_ACEOF
36557 /* confdefs.h. */
36558 _ACEOF
36559 cat confdefs.h >>conftest.$ac_ext
36560 cat >>conftest.$ac_ext <<_ACEOF
36561 /* end confdefs.h. */
36562 #include <math.h>
36564 main ()
36566 __builtin_fabsl(0);
36568 return 0;
36570 _ACEOF
36571 rm -f conftest.$ac_objext
36572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36573 (eval $ac_compile) 2>conftest.er1
36574 ac_status=$?
36575 grep -v '^ *+' conftest.er1 >conftest.err
36576 rm -f conftest.er1
36577 cat conftest.err >&5
36578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36579 (exit $ac_status); } &&
36580 { ac_try='test -z "$ac_cxx_werror_flag"
36581 || test ! -s conftest.err'
36582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36583 (eval $ac_try) 2>&5
36584 ac_status=$?
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); }; } &&
36587 { ac_try='test -s conftest.$ac_objext'
36588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36589 (eval $ac_try) 2>&5
36590 ac_status=$?
36591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36592 (exit $ac_status); }; }; then
36593 glibcxx_cv_func___builtin_fabsl_use=yes
36594 else
36595 echo "$as_me: failed program was:" >&5
36596 sed 's/^/| /' conftest.$ac_ext >&5
36598 glibcxx_cv_func___builtin_fabsl_use=no
36600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36601 ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
36612 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
36613 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
36614 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
36615 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
36616 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
36617 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
36618 echo $ECHO_N "(cached) $ECHO_C" >&6
36619 else
36621 if test x$gcc_no_link = xyes; then
36622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36624 { (exit 1); exit 1; }; }
36626 cat >conftest.$ac_ext <<_ACEOF
36627 /* confdefs.h. */
36628 _ACEOF
36629 cat confdefs.h >>conftest.$ac_ext
36630 cat >>conftest.$ac_ext <<_ACEOF
36631 /* end confdefs.h. */
36632 #include <math.h>
36634 main ()
36636 __builtin_fabsl(0);
36638 return 0;
36640 _ACEOF
36641 rm -f conftest.$ac_objext conftest$ac_exeext
36642 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36643 (eval $ac_link) 2>conftest.er1
36644 ac_status=$?
36645 grep -v '^ *+' conftest.er1 >conftest.err
36646 rm -f conftest.er1
36647 cat conftest.err >&5
36648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36649 (exit $ac_status); } &&
36650 { ac_try='test -z "$ac_c_werror_flag"
36651 || test ! -s conftest.err'
36652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36653 (eval $ac_try) 2>&5
36654 ac_status=$?
36655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36656 (exit $ac_status); }; } &&
36657 { ac_try='test -s conftest$ac_exeext'
36658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36659 (eval $ac_try) 2>&5
36660 ac_status=$?
36661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36662 (exit $ac_status); }; }; then
36663 glibcxx_cv_func___builtin_fabsl_link=yes
36664 else
36665 echo "$as_me: failed program was:" >&5
36666 sed 's/^/| /' conftest.$ac_ext >&5
36668 glibcxx_cv_func___builtin_fabsl_link=no
36670 rm -f conftest.err conftest.$ac_objext \
36671 conftest$ac_exeext conftest.$ac_ext
36676 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
36677 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
36679 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
36681 cat >>confdefs.h <<\_ACEOF
36682 #define HAVE___BUILTIN_FABSL 1
36683 _ACEOF
36690 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
36691 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
36692 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
36693 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
36694 echo $ECHO_N "(cached) $ECHO_C" >&6
36695 else
36699 ac_ext=cc
36700 ac_cpp='$CXXCPP $CPPFLAGS'
36701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36705 cat >conftest.$ac_ext <<_ACEOF
36706 /* confdefs.h. */
36707 _ACEOF
36708 cat confdefs.h >>conftest.$ac_ext
36709 cat >>conftest.$ac_ext <<_ACEOF
36710 /* end confdefs.h. */
36711 #include <math.h>
36713 main ()
36715 __builtin_labs(0);
36717 return 0;
36719 _ACEOF
36720 rm -f conftest.$ac_objext
36721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36722 (eval $ac_compile) 2>conftest.er1
36723 ac_status=$?
36724 grep -v '^ *+' conftest.er1 >conftest.err
36725 rm -f conftest.er1
36726 cat conftest.err >&5
36727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36728 (exit $ac_status); } &&
36729 { ac_try='test -z "$ac_cxx_werror_flag"
36730 || test ! -s conftest.err'
36731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36732 (eval $ac_try) 2>&5
36733 ac_status=$?
36734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36735 (exit $ac_status); }; } &&
36736 { ac_try='test -s conftest.$ac_objext'
36737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36738 (eval $ac_try) 2>&5
36739 ac_status=$?
36740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36741 (exit $ac_status); }; }; then
36742 glibcxx_cv_func___builtin_labs_use=yes
36743 else
36744 echo "$as_me: failed program was:" >&5
36745 sed 's/^/| /' conftest.$ac_ext >&5
36747 glibcxx_cv_func___builtin_labs_use=no
36749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36750 ac_ext=c
36751 ac_cpp='$CPP $CPPFLAGS'
36752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
36761 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
36762 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
36763 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
36764 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
36765 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
36766 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
36767 echo $ECHO_N "(cached) $ECHO_C" >&6
36768 else
36770 if test x$gcc_no_link = xyes; then
36771 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36772 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36773 { (exit 1); exit 1; }; }
36775 cat >conftest.$ac_ext <<_ACEOF
36776 /* confdefs.h. */
36777 _ACEOF
36778 cat confdefs.h >>conftest.$ac_ext
36779 cat >>conftest.$ac_ext <<_ACEOF
36780 /* end confdefs.h. */
36781 #include <math.h>
36783 main ()
36785 __builtin_labs(0);
36787 return 0;
36789 _ACEOF
36790 rm -f conftest.$ac_objext conftest$ac_exeext
36791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36792 (eval $ac_link) 2>conftest.er1
36793 ac_status=$?
36794 grep -v '^ *+' conftest.er1 >conftest.err
36795 rm -f conftest.er1
36796 cat conftest.err >&5
36797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36798 (exit $ac_status); } &&
36799 { ac_try='test -z "$ac_c_werror_flag"
36800 || test ! -s conftest.err'
36801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36802 (eval $ac_try) 2>&5
36803 ac_status=$?
36804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36805 (exit $ac_status); }; } &&
36806 { ac_try='test -s conftest$ac_exeext'
36807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36808 (eval $ac_try) 2>&5
36809 ac_status=$?
36810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36811 (exit $ac_status); }; }; then
36812 glibcxx_cv_func___builtin_labs_link=yes
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36817 glibcxx_cv_func___builtin_labs_link=no
36819 rm -f conftest.err conftest.$ac_objext \
36820 conftest$ac_exeext conftest.$ac_ext
36825 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
36826 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
36828 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
36830 cat >>confdefs.h <<\_ACEOF
36831 #define HAVE___BUILTIN_LABS 1
36832 _ACEOF
36840 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
36841 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
36842 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
36843 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
36844 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 else
36849 ac_ext=cc
36850 ac_cpp='$CXXCPP $CPPFLAGS'
36851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36855 cat >conftest.$ac_ext <<_ACEOF
36856 /* confdefs.h. */
36857 _ACEOF
36858 cat confdefs.h >>conftest.$ac_ext
36859 cat >>conftest.$ac_ext <<_ACEOF
36860 /* end confdefs.h. */
36861 #include <math.h>
36863 main ()
36865 __builtin_sqrtf(0);
36867 return 0;
36869 _ACEOF
36870 rm -f conftest.$ac_objext
36871 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36872 (eval $ac_compile) 2>conftest.er1
36873 ac_status=$?
36874 grep -v '^ *+' conftest.er1 >conftest.err
36875 rm -f conftest.er1
36876 cat conftest.err >&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); } &&
36879 { ac_try='test -z "$ac_cxx_werror_flag"
36880 || test ! -s conftest.err'
36881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36882 (eval $ac_try) 2>&5
36883 ac_status=$?
36884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36885 (exit $ac_status); }; } &&
36886 { ac_try='test -s conftest.$ac_objext'
36887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36888 (eval $ac_try) 2>&5
36889 ac_status=$?
36890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36891 (exit $ac_status); }; }; then
36892 glibcxx_cv_func___builtin_sqrtf_use=yes
36893 else
36894 echo "$as_me: failed program was:" >&5
36895 sed 's/^/| /' conftest.$ac_ext >&5
36897 glibcxx_cv_func___builtin_sqrtf_use=no
36899 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36900 ac_ext=c
36901 ac_cpp='$CPP $CPPFLAGS'
36902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
36911 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
36912 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
36913 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
36914 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
36915 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
36916 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
36917 echo $ECHO_N "(cached) $ECHO_C" >&6
36918 else
36920 if test x$gcc_no_link = xyes; then
36921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36923 { (exit 1); exit 1; }; }
36925 cat >conftest.$ac_ext <<_ACEOF
36926 /* confdefs.h. */
36927 _ACEOF
36928 cat confdefs.h >>conftest.$ac_ext
36929 cat >>conftest.$ac_ext <<_ACEOF
36930 /* end confdefs.h. */
36931 #include <math.h>
36933 main ()
36935 __builtin_sqrtf(0);
36937 return 0;
36939 _ACEOF
36940 rm -f conftest.$ac_objext conftest$ac_exeext
36941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36942 (eval $ac_link) 2>conftest.er1
36943 ac_status=$?
36944 grep -v '^ *+' conftest.er1 >conftest.err
36945 rm -f conftest.er1
36946 cat conftest.err >&5
36947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36948 (exit $ac_status); } &&
36949 { ac_try='test -z "$ac_c_werror_flag"
36950 || test ! -s conftest.err'
36951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36952 (eval $ac_try) 2>&5
36953 ac_status=$?
36954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36955 (exit $ac_status); }; } &&
36956 { ac_try='test -s conftest$ac_exeext'
36957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36958 (eval $ac_try) 2>&5
36959 ac_status=$?
36960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36961 (exit $ac_status); }; }; then
36962 glibcxx_cv_func___builtin_sqrtf_link=yes
36963 else
36964 echo "$as_me: failed program was:" >&5
36965 sed 's/^/| /' conftest.$ac_ext >&5
36967 glibcxx_cv_func___builtin_sqrtf_link=no
36969 rm -f conftest.err conftest.$ac_objext \
36970 conftest$ac_exeext conftest.$ac_ext
36975 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
36976 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
36978 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
36980 cat >>confdefs.h <<\_ACEOF
36981 #define HAVE___BUILTIN_SQRTF 1
36982 _ACEOF
36989 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
36990 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
36991 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
36992 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
36993 echo $ECHO_N "(cached) $ECHO_C" >&6
36994 else
36998 ac_ext=cc
36999 ac_cpp='$CXXCPP $CPPFLAGS'
37000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37004 cat >conftest.$ac_ext <<_ACEOF
37005 /* confdefs.h. */
37006 _ACEOF
37007 cat confdefs.h >>conftest.$ac_ext
37008 cat >>conftest.$ac_ext <<_ACEOF
37009 /* end confdefs.h. */
37010 #include <math.h>
37012 main ()
37014 __builtin_sqrt(0);
37016 return 0;
37018 _ACEOF
37019 rm -f conftest.$ac_objext
37020 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37021 (eval $ac_compile) 2>conftest.er1
37022 ac_status=$?
37023 grep -v '^ *+' conftest.er1 >conftest.err
37024 rm -f conftest.er1
37025 cat conftest.err >&5
37026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37027 (exit $ac_status); } &&
37028 { ac_try='test -z "$ac_cxx_werror_flag"
37029 || test ! -s conftest.err'
37030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37031 (eval $ac_try) 2>&5
37032 ac_status=$?
37033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37034 (exit $ac_status); }; } &&
37035 { ac_try='test -s conftest.$ac_objext'
37036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37037 (eval $ac_try) 2>&5
37038 ac_status=$?
37039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37040 (exit $ac_status); }; }; then
37041 glibcxx_cv_func___builtin_sqrt_use=yes
37042 else
37043 echo "$as_me: failed program was:" >&5
37044 sed 's/^/| /' conftest.$ac_ext >&5
37046 glibcxx_cv_func___builtin_sqrt_use=no
37048 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37049 ac_ext=c
37050 ac_cpp='$CPP $CPPFLAGS'
37051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
37060 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
37061 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
37062 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
37063 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
37064 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
37065 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
37066 echo $ECHO_N "(cached) $ECHO_C" >&6
37067 else
37069 if test x$gcc_no_link = xyes; then
37070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37072 { (exit 1); exit 1; }; }
37074 cat >conftest.$ac_ext <<_ACEOF
37075 /* confdefs.h. */
37076 _ACEOF
37077 cat confdefs.h >>conftest.$ac_ext
37078 cat >>conftest.$ac_ext <<_ACEOF
37079 /* end confdefs.h. */
37080 #include <math.h>
37082 main ()
37084 __builtin_sqrt(0);
37086 return 0;
37088 _ACEOF
37089 rm -f conftest.$ac_objext conftest$ac_exeext
37090 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37091 (eval $ac_link) 2>conftest.er1
37092 ac_status=$?
37093 grep -v '^ *+' conftest.er1 >conftest.err
37094 rm -f conftest.er1
37095 cat conftest.err >&5
37096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37097 (exit $ac_status); } &&
37098 { ac_try='test -z "$ac_c_werror_flag"
37099 || test ! -s conftest.err'
37100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37101 (eval $ac_try) 2>&5
37102 ac_status=$?
37103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37104 (exit $ac_status); }; } &&
37105 { ac_try='test -s conftest$ac_exeext'
37106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37107 (eval $ac_try) 2>&5
37108 ac_status=$?
37109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37110 (exit $ac_status); }; }; then
37111 glibcxx_cv_func___builtin_sqrt_link=yes
37112 else
37113 echo "$as_me: failed program was:" >&5
37114 sed 's/^/| /' conftest.$ac_ext >&5
37116 glibcxx_cv_func___builtin_sqrt_link=no
37118 rm -f conftest.err conftest.$ac_objext \
37119 conftest$ac_exeext conftest.$ac_ext
37124 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
37125 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
37127 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
37129 cat >>confdefs.h <<\_ACEOF
37130 #define HAVE___BUILTIN_SQRT 1
37131 _ACEOF
37138 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
37139 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
37140 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
37141 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
37142 echo $ECHO_N "(cached) $ECHO_C" >&6
37143 else
37147 ac_ext=cc
37148 ac_cpp='$CXXCPP $CPPFLAGS'
37149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37153 cat >conftest.$ac_ext <<_ACEOF
37154 /* confdefs.h. */
37155 _ACEOF
37156 cat confdefs.h >>conftest.$ac_ext
37157 cat >>conftest.$ac_ext <<_ACEOF
37158 /* end confdefs.h. */
37159 #include <math.h>
37161 main ()
37163 __builtin_sqrtl(0);
37165 return 0;
37167 _ACEOF
37168 rm -f conftest.$ac_objext
37169 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37170 (eval $ac_compile) 2>conftest.er1
37171 ac_status=$?
37172 grep -v '^ *+' conftest.er1 >conftest.err
37173 rm -f conftest.er1
37174 cat conftest.err >&5
37175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37176 (exit $ac_status); } &&
37177 { ac_try='test -z "$ac_cxx_werror_flag"
37178 || test ! -s conftest.err'
37179 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37180 (eval $ac_try) 2>&5
37181 ac_status=$?
37182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37183 (exit $ac_status); }; } &&
37184 { ac_try='test -s conftest.$ac_objext'
37185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37186 (eval $ac_try) 2>&5
37187 ac_status=$?
37188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37189 (exit $ac_status); }; }; then
37190 glibcxx_cv_func___builtin_sqrtl_use=yes
37191 else
37192 echo "$as_me: failed program was:" >&5
37193 sed 's/^/| /' conftest.$ac_ext >&5
37195 glibcxx_cv_func___builtin_sqrtl_use=no
37197 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37198 ac_ext=c
37199 ac_cpp='$CPP $CPPFLAGS'
37200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
37209 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
37210 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
37211 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
37212 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
37213 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
37214 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
37215 echo $ECHO_N "(cached) $ECHO_C" >&6
37216 else
37218 if test x$gcc_no_link = xyes; then
37219 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37220 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37221 { (exit 1); exit 1; }; }
37223 cat >conftest.$ac_ext <<_ACEOF
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229 #include <math.h>
37231 main ()
37233 __builtin_sqrtl(0);
37235 return 0;
37237 _ACEOF
37238 rm -f conftest.$ac_objext conftest$ac_exeext
37239 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37240 (eval $ac_link) 2>conftest.er1
37241 ac_status=$?
37242 grep -v '^ *+' conftest.er1 >conftest.err
37243 rm -f conftest.er1
37244 cat conftest.err >&5
37245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37246 (exit $ac_status); } &&
37247 { ac_try='test -z "$ac_c_werror_flag"
37248 || test ! -s conftest.err'
37249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37250 (eval $ac_try) 2>&5
37251 ac_status=$?
37252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37253 (exit $ac_status); }; } &&
37254 { ac_try='test -s conftest$ac_exeext'
37255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37256 (eval $ac_try) 2>&5
37257 ac_status=$?
37258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37259 (exit $ac_status); }; }; then
37260 glibcxx_cv_func___builtin_sqrtl_link=yes
37261 else
37262 echo "$as_me: failed program was:" >&5
37263 sed 's/^/| /' conftest.$ac_ext >&5
37265 glibcxx_cv_func___builtin_sqrtl_link=no
37267 rm -f conftest.err conftest.$ac_objext \
37268 conftest$ac_exeext conftest.$ac_ext
37273 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
37274 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
37276 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
37278 cat >>confdefs.h <<\_ACEOF
37279 #define HAVE___BUILTIN_SQRTL 1
37280 _ACEOF
37288 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
37289 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
37290 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
37291 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
37292 echo $ECHO_N "(cached) $ECHO_C" >&6
37293 else
37297 ac_ext=cc
37298 ac_cpp='$CXXCPP $CPPFLAGS'
37299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37303 cat >conftest.$ac_ext <<_ACEOF
37304 /* confdefs.h. */
37305 _ACEOF
37306 cat confdefs.h >>conftest.$ac_ext
37307 cat >>conftest.$ac_ext <<_ACEOF
37308 /* end confdefs.h. */
37309 #include <math.h>
37311 main ()
37313 __builtin_sinf(0);
37315 return 0;
37317 _ACEOF
37318 rm -f conftest.$ac_objext
37319 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37320 (eval $ac_compile) 2>conftest.er1
37321 ac_status=$?
37322 grep -v '^ *+' conftest.er1 >conftest.err
37323 rm -f conftest.er1
37324 cat conftest.err >&5
37325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37326 (exit $ac_status); } &&
37327 { ac_try='test -z "$ac_cxx_werror_flag"
37328 || test ! -s conftest.err'
37329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37330 (eval $ac_try) 2>&5
37331 ac_status=$?
37332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37333 (exit $ac_status); }; } &&
37334 { ac_try='test -s conftest.$ac_objext'
37335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37336 (eval $ac_try) 2>&5
37337 ac_status=$?
37338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37339 (exit $ac_status); }; }; then
37340 glibcxx_cv_func___builtin_sinf_use=yes
37341 else
37342 echo "$as_me: failed program was:" >&5
37343 sed 's/^/| /' conftest.$ac_ext >&5
37345 glibcxx_cv_func___builtin_sinf_use=no
37347 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37348 ac_ext=c
37349 ac_cpp='$CPP $CPPFLAGS'
37350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37358 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
37359 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
37360 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
37361 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
37362 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
37363 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
37364 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
37365 echo $ECHO_N "(cached) $ECHO_C" >&6
37366 else
37368 if test x$gcc_no_link = xyes; then
37369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37371 { (exit 1); exit 1; }; }
37373 cat >conftest.$ac_ext <<_ACEOF
37374 /* confdefs.h. */
37375 _ACEOF
37376 cat confdefs.h >>conftest.$ac_ext
37377 cat >>conftest.$ac_ext <<_ACEOF
37378 /* end confdefs.h. */
37379 #include <math.h>
37381 main ()
37383 __builtin_sinf(0);
37385 return 0;
37387 _ACEOF
37388 rm -f conftest.$ac_objext conftest$ac_exeext
37389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37390 (eval $ac_link) 2>conftest.er1
37391 ac_status=$?
37392 grep -v '^ *+' conftest.er1 >conftest.err
37393 rm -f conftest.er1
37394 cat conftest.err >&5
37395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37396 (exit $ac_status); } &&
37397 { ac_try='test -z "$ac_c_werror_flag"
37398 || test ! -s conftest.err'
37399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37400 (eval $ac_try) 2>&5
37401 ac_status=$?
37402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37403 (exit $ac_status); }; } &&
37404 { ac_try='test -s conftest$ac_exeext'
37405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37406 (eval $ac_try) 2>&5
37407 ac_status=$?
37408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37409 (exit $ac_status); }; }; then
37410 glibcxx_cv_func___builtin_sinf_link=yes
37411 else
37412 echo "$as_me: failed program was:" >&5
37413 sed 's/^/| /' conftest.$ac_ext >&5
37415 glibcxx_cv_func___builtin_sinf_link=no
37417 rm -f conftest.err conftest.$ac_objext \
37418 conftest$ac_exeext conftest.$ac_ext
37423 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
37424 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
37426 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
37428 cat >>confdefs.h <<\_ACEOF
37429 #define HAVE___BUILTIN_SINF 1
37430 _ACEOF
37437 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
37438 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
37439 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
37440 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
37441 echo $ECHO_N "(cached) $ECHO_C" >&6
37442 else
37446 ac_ext=cc
37447 ac_cpp='$CXXCPP $CPPFLAGS'
37448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37452 cat >conftest.$ac_ext <<_ACEOF
37453 /* confdefs.h. */
37454 _ACEOF
37455 cat confdefs.h >>conftest.$ac_ext
37456 cat >>conftest.$ac_ext <<_ACEOF
37457 /* end confdefs.h. */
37458 #include <math.h>
37460 main ()
37462 __builtin_sin(0);
37464 return 0;
37466 _ACEOF
37467 rm -f conftest.$ac_objext
37468 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37469 (eval $ac_compile) 2>conftest.er1
37470 ac_status=$?
37471 grep -v '^ *+' conftest.er1 >conftest.err
37472 rm -f conftest.er1
37473 cat conftest.err >&5
37474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37475 (exit $ac_status); } &&
37476 { ac_try='test -z "$ac_cxx_werror_flag"
37477 || test ! -s conftest.err'
37478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37479 (eval $ac_try) 2>&5
37480 ac_status=$?
37481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37482 (exit $ac_status); }; } &&
37483 { ac_try='test -s conftest.$ac_objext'
37484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37485 (eval $ac_try) 2>&5
37486 ac_status=$?
37487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37488 (exit $ac_status); }; }; then
37489 glibcxx_cv_func___builtin_sin_use=yes
37490 else
37491 echo "$as_me: failed program was:" >&5
37492 sed 's/^/| /' conftest.$ac_ext >&5
37494 glibcxx_cv_func___builtin_sin_use=no
37496 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37497 ac_ext=c
37498 ac_cpp='$CPP $CPPFLAGS'
37499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37507 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
37508 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
37509 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
37510 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
37511 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
37512 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
37513 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
37514 echo $ECHO_N "(cached) $ECHO_C" >&6
37515 else
37517 if test x$gcc_no_link = xyes; then
37518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37520 { (exit 1); exit 1; }; }
37522 cat >conftest.$ac_ext <<_ACEOF
37523 /* confdefs.h. */
37524 _ACEOF
37525 cat confdefs.h >>conftest.$ac_ext
37526 cat >>conftest.$ac_ext <<_ACEOF
37527 /* end confdefs.h. */
37528 #include <math.h>
37530 main ()
37532 __builtin_sin(0);
37534 return 0;
37536 _ACEOF
37537 rm -f conftest.$ac_objext conftest$ac_exeext
37538 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37539 (eval $ac_link) 2>conftest.er1
37540 ac_status=$?
37541 grep -v '^ *+' conftest.er1 >conftest.err
37542 rm -f conftest.er1
37543 cat conftest.err >&5
37544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37545 (exit $ac_status); } &&
37546 { ac_try='test -z "$ac_c_werror_flag"
37547 || test ! -s conftest.err'
37548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37549 (eval $ac_try) 2>&5
37550 ac_status=$?
37551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37552 (exit $ac_status); }; } &&
37553 { ac_try='test -s conftest$ac_exeext'
37554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37555 (eval $ac_try) 2>&5
37556 ac_status=$?
37557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37558 (exit $ac_status); }; }; then
37559 glibcxx_cv_func___builtin_sin_link=yes
37560 else
37561 echo "$as_me: failed program was:" >&5
37562 sed 's/^/| /' conftest.$ac_ext >&5
37564 glibcxx_cv_func___builtin_sin_link=no
37566 rm -f conftest.err conftest.$ac_objext \
37567 conftest$ac_exeext conftest.$ac_ext
37572 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
37573 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
37575 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
37577 cat >>confdefs.h <<\_ACEOF
37578 #define HAVE___BUILTIN_SIN 1
37579 _ACEOF
37586 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
37587 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
37588 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
37589 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
37590 echo $ECHO_N "(cached) $ECHO_C" >&6
37591 else
37595 ac_ext=cc
37596 ac_cpp='$CXXCPP $CPPFLAGS'
37597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37601 cat >conftest.$ac_ext <<_ACEOF
37602 /* confdefs.h. */
37603 _ACEOF
37604 cat confdefs.h >>conftest.$ac_ext
37605 cat >>conftest.$ac_ext <<_ACEOF
37606 /* end confdefs.h. */
37607 #include <math.h>
37609 main ()
37611 __builtin_sinl(0);
37613 return 0;
37615 _ACEOF
37616 rm -f conftest.$ac_objext
37617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37618 (eval $ac_compile) 2>conftest.er1
37619 ac_status=$?
37620 grep -v '^ *+' conftest.er1 >conftest.err
37621 rm -f conftest.er1
37622 cat conftest.err >&5
37623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37624 (exit $ac_status); } &&
37625 { ac_try='test -z "$ac_cxx_werror_flag"
37626 || test ! -s conftest.err'
37627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37628 (eval $ac_try) 2>&5
37629 ac_status=$?
37630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37631 (exit $ac_status); }; } &&
37632 { ac_try='test -s conftest.$ac_objext'
37633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37634 (eval $ac_try) 2>&5
37635 ac_status=$?
37636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37637 (exit $ac_status); }; }; then
37638 glibcxx_cv_func___builtin_sinl_use=yes
37639 else
37640 echo "$as_me: failed program was:" >&5
37641 sed 's/^/| /' conftest.$ac_ext >&5
37643 glibcxx_cv_func___builtin_sinl_use=no
37645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37646 ac_ext=c
37647 ac_cpp='$CPP $CPPFLAGS'
37648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37656 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
37657 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
37658 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
37659 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
37660 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
37661 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
37662 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
37663 echo $ECHO_N "(cached) $ECHO_C" >&6
37664 else
37666 if test x$gcc_no_link = xyes; then
37667 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37668 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37669 { (exit 1); exit 1; }; }
37671 cat >conftest.$ac_ext <<_ACEOF
37672 /* confdefs.h. */
37673 _ACEOF
37674 cat confdefs.h >>conftest.$ac_ext
37675 cat >>conftest.$ac_ext <<_ACEOF
37676 /* end confdefs.h. */
37677 #include <math.h>
37679 main ()
37681 __builtin_sinl(0);
37683 return 0;
37685 _ACEOF
37686 rm -f conftest.$ac_objext conftest$ac_exeext
37687 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37688 (eval $ac_link) 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } &&
37695 { ac_try='test -z "$ac_c_werror_flag"
37696 || test ! -s conftest.err'
37697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37698 (eval $ac_try) 2>&5
37699 ac_status=$?
37700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37701 (exit $ac_status); }; } &&
37702 { ac_try='test -s conftest$ac_exeext'
37703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37704 (eval $ac_try) 2>&5
37705 ac_status=$?
37706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37707 (exit $ac_status); }; }; then
37708 glibcxx_cv_func___builtin_sinl_link=yes
37709 else
37710 echo "$as_me: failed program was:" >&5
37711 sed 's/^/| /' conftest.$ac_ext >&5
37713 glibcxx_cv_func___builtin_sinl_link=no
37715 rm -f conftest.err conftest.$ac_objext \
37716 conftest$ac_exeext conftest.$ac_ext
37721 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
37722 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
37724 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
37726 cat >>confdefs.h <<\_ACEOF
37727 #define HAVE___BUILTIN_SINL 1
37728 _ACEOF
37736 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
37737 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
37738 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
37739 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37745 ac_ext=cc
37746 ac_cpp='$CXXCPP $CPPFLAGS'
37747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37751 cat >conftest.$ac_ext <<_ACEOF
37752 /* confdefs.h. */
37753 _ACEOF
37754 cat confdefs.h >>conftest.$ac_ext
37755 cat >>conftest.$ac_ext <<_ACEOF
37756 /* end confdefs.h. */
37757 #include <math.h>
37759 main ()
37761 __builtin_cosf(0);
37763 return 0;
37765 _ACEOF
37766 rm -f conftest.$ac_objext
37767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37768 (eval $ac_compile) 2>conftest.er1
37769 ac_status=$?
37770 grep -v '^ *+' conftest.er1 >conftest.err
37771 rm -f conftest.er1
37772 cat conftest.err >&5
37773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37774 (exit $ac_status); } &&
37775 { ac_try='test -z "$ac_cxx_werror_flag"
37776 || test ! -s conftest.err'
37777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37778 (eval $ac_try) 2>&5
37779 ac_status=$?
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); }; } &&
37782 { ac_try='test -s conftest.$ac_objext'
37783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37784 (eval $ac_try) 2>&5
37785 ac_status=$?
37786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37787 (exit $ac_status); }; }; then
37788 glibcxx_cv_func___builtin_cosf_use=yes
37789 else
37790 echo "$as_me: failed program was:" >&5
37791 sed 's/^/| /' conftest.$ac_ext >&5
37793 glibcxx_cv_func___builtin_cosf_use=no
37795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37796 ac_ext=c
37797 ac_cpp='$CPP $CPPFLAGS'
37798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37806 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
37807 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
37808 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
37809 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
37810 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
37811 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
37812 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
37813 echo $ECHO_N "(cached) $ECHO_C" >&6
37814 else
37816 if test x$gcc_no_link = xyes; then
37817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37819 { (exit 1); exit 1; }; }
37821 cat >conftest.$ac_ext <<_ACEOF
37822 /* confdefs.h. */
37823 _ACEOF
37824 cat confdefs.h >>conftest.$ac_ext
37825 cat >>conftest.$ac_ext <<_ACEOF
37826 /* end confdefs.h. */
37827 #include <math.h>
37829 main ()
37831 __builtin_cosf(0);
37833 return 0;
37835 _ACEOF
37836 rm -f conftest.$ac_objext conftest$ac_exeext
37837 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37838 (eval $ac_link) 2>conftest.er1
37839 ac_status=$?
37840 grep -v '^ *+' conftest.er1 >conftest.err
37841 rm -f conftest.er1
37842 cat conftest.err >&5
37843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37844 (exit $ac_status); } &&
37845 { ac_try='test -z "$ac_c_werror_flag"
37846 || test ! -s conftest.err'
37847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37848 (eval $ac_try) 2>&5
37849 ac_status=$?
37850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37851 (exit $ac_status); }; } &&
37852 { ac_try='test -s conftest$ac_exeext'
37853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37854 (eval $ac_try) 2>&5
37855 ac_status=$?
37856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37857 (exit $ac_status); }; }; then
37858 glibcxx_cv_func___builtin_cosf_link=yes
37859 else
37860 echo "$as_me: failed program was:" >&5
37861 sed 's/^/| /' conftest.$ac_ext >&5
37863 glibcxx_cv_func___builtin_cosf_link=no
37865 rm -f conftest.err conftest.$ac_objext \
37866 conftest$ac_exeext conftest.$ac_ext
37871 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
37872 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
37874 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
37876 cat >>confdefs.h <<\_ACEOF
37877 #define HAVE___BUILTIN_COSF 1
37878 _ACEOF
37885 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
37886 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
37887 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
37888 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
37889 echo $ECHO_N "(cached) $ECHO_C" >&6
37890 else
37894 ac_ext=cc
37895 ac_cpp='$CXXCPP $CPPFLAGS'
37896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37900 cat >conftest.$ac_ext <<_ACEOF
37901 /* confdefs.h. */
37902 _ACEOF
37903 cat confdefs.h >>conftest.$ac_ext
37904 cat >>conftest.$ac_ext <<_ACEOF
37905 /* end confdefs.h. */
37906 #include <math.h>
37908 main ()
37910 __builtin_cos(0);
37912 return 0;
37914 _ACEOF
37915 rm -f conftest.$ac_objext
37916 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37917 (eval $ac_compile) 2>conftest.er1
37918 ac_status=$?
37919 grep -v '^ *+' conftest.er1 >conftest.err
37920 rm -f conftest.er1
37921 cat conftest.err >&5
37922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37923 (exit $ac_status); } &&
37924 { ac_try='test -z "$ac_cxx_werror_flag"
37925 || test ! -s conftest.err'
37926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37927 (eval $ac_try) 2>&5
37928 ac_status=$?
37929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37930 (exit $ac_status); }; } &&
37931 { ac_try='test -s conftest.$ac_objext'
37932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37933 (eval $ac_try) 2>&5
37934 ac_status=$?
37935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37936 (exit $ac_status); }; }; then
37937 glibcxx_cv_func___builtin_cos_use=yes
37938 else
37939 echo "$as_me: failed program was:" >&5
37940 sed 's/^/| /' conftest.$ac_ext >&5
37942 glibcxx_cv_func___builtin_cos_use=no
37944 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37945 ac_ext=c
37946 ac_cpp='$CPP $CPPFLAGS'
37947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37955 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
37956 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
37957 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
37958 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
37959 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
37960 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
37961 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
37962 echo $ECHO_N "(cached) $ECHO_C" >&6
37963 else
37965 if test x$gcc_no_link = xyes; then
37966 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37967 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37968 { (exit 1); exit 1; }; }
37970 cat >conftest.$ac_ext <<_ACEOF
37971 /* confdefs.h. */
37972 _ACEOF
37973 cat confdefs.h >>conftest.$ac_ext
37974 cat >>conftest.$ac_ext <<_ACEOF
37975 /* end confdefs.h. */
37976 #include <math.h>
37978 main ()
37980 __builtin_cos(0);
37982 return 0;
37984 _ACEOF
37985 rm -f conftest.$ac_objext conftest$ac_exeext
37986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37987 (eval $ac_link) 2>conftest.er1
37988 ac_status=$?
37989 grep -v '^ *+' conftest.er1 >conftest.err
37990 rm -f conftest.er1
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } &&
37994 { ac_try='test -z "$ac_c_werror_flag"
37995 || test ! -s conftest.err'
37996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37997 (eval $ac_try) 2>&5
37998 ac_status=$?
37999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38000 (exit $ac_status); }; } &&
38001 { ac_try='test -s conftest$ac_exeext'
38002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38003 (eval $ac_try) 2>&5
38004 ac_status=$?
38005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38006 (exit $ac_status); }; }; then
38007 glibcxx_cv_func___builtin_cos_link=yes
38008 else
38009 echo "$as_me: failed program was:" >&5
38010 sed 's/^/| /' conftest.$ac_ext >&5
38012 glibcxx_cv_func___builtin_cos_link=no
38014 rm -f conftest.err conftest.$ac_objext \
38015 conftest$ac_exeext conftest.$ac_ext
38020 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
38021 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
38023 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
38025 cat >>confdefs.h <<\_ACEOF
38026 #define HAVE___BUILTIN_COS 1
38027 _ACEOF
38034 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
38035 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
38036 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
38037 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38043 ac_ext=cc
38044 ac_cpp='$CXXCPP $CPPFLAGS'
38045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38049 cat >conftest.$ac_ext <<_ACEOF
38050 /* confdefs.h. */
38051 _ACEOF
38052 cat confdefs.h >>conftest.$ac_ext
38053 cat >>conftest.$ac_ext <<_ACEOF
38054 /* end confdefs.h. */
38055 #include <math.h>
38057 main ()
38059 __builtin_cosl(0);
38061 return 0;
38063 _ACEOF
38064 rm -f conftest.$ac_objext
38065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38066 (eval $ac_compile) 2>conftest.er1
38067 ac_status=$?
38068 grep -v '^ *+' conftest.er1 >conftest.err
38069 rm -f conftest.er1
38070 cat conftest.err >&5
38071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38072 (exit $ac_status); } &&
38073 { ac_try='test -z "$ac_cxx_werror_flag"
38074 || test ! -s conftest.err'
38075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38076 (eval $ac_try) 2>&5
38077 ac_status=$?
38078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38079 (exit $ac_status); }; } &&
38080 { ac_try='test -s conftest.$ac_objext'
38081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38082 (eval $ac_try) 2>&5
38083 ac_status=$?
38084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38085 (exit $ac_status); }; }; then
38086 glibcxx_cv_func___builtin_cosl_use=yes
38087 else
38088 echo "$as_me: failed program was:" >&5
38089 sed 's/^/| /' conftest.$ac_ext >&5
38091 glibcxx_cv_func___builtin_cosl_use=no
38093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38094 ac_ext=c
38095 ac_cpp='$CPP $CPPFLAGS'
38096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38104 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
38105 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
38106 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
38107 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
38108 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
38109 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
38110 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
38111 echo $ECHO_N "(cached) $ECHO_C" >&6
38112 else
38114 if test x$gcc_no_link = xyes; then
38115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38117 { (exit 1); exit 1; }; }
38119 cat >conftest.$ac_ext <<_ACEOF
38120 /* confdefs.h. */
38121 _ACEOF
38122 cat confdefs.h >>conftest.$ac_ext
38123 cat >>conftest.$ac_ext <<_ACEOF
38124 /* end confdefs.h. */
38125 #include <math.h>
38127 main ()
38129 __builtin_cosl(0);
38131 return 0;
38133 _ACEOF
38134 rm -f conftest.$ac_objext conftest$ac_exeext
38135 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38136 (eval $ac_link) 2>conftest.er1
38137 ac_status=$?
38138 grep -v '^ *+' conftest.er1 >conftest.err
38139 rm -f conftest.er1
38140 cat conftest.err >&5
38141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38142 (exit $ac_status); } &&
38143 { ac_try='test -z "$ac_c_werror_flag"
38144 || test ! -s conftest.err'
38145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38146 (eval $ac_try) 2>&5
38147 ac_status=$?
38148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38149 (exit $ac_status); }; } &&
38150 { ac_try='test -s conftest$ac_exeext'
38151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38152 (eval $ac_try) 2>&5
38153 ac_status=$?
38154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38155 (exit $ac_status); }; }; then
38156 glibcxx_cv_func___builtin_cosl_link=yes
38157 else
38158 echo "$as_me: failed program was:" >&5
38159 sed 's/^/| /' conftest.$ac_ext >&5
38161 glibcxx_cv_func___builtin_cosl_link=no
38163 rm -f conftest.err conftest.$ac_objext \
38164 conftest$ac_exeext conftest.$ac_ext
38169 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
38170 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
38172 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
38174 cat >>confdefs.h <<\_ACEOF
38175 #define HAVE___BUILTIN_COSL 1
38176 _ACEOF
38185 echo "$as_me:$LINENO: checking for main in -lm" >&5
38186 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
38187 if test "${ac_cv_lib_m_main+set}" = set; then
38188 echo $ECHO_N "(cached) $ECHO_C" >&6
38189 else
38190 ac_check_lib_save_LIBS=$LIBS
38191 LIBS="-lm $LIBS"
38192 if test x$gcc_no_link = xyes; then
38193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38195 { (exit 1); exit 1; }; }
38197 cat >conftest.$ac_ext <<_ACEOF
38198 /* confdefs.h. */
38199 _ACEOF
38200 cat confdefs.h >>conftest.$ac_ext
38201 cat >>conftest.$ac_ext <<_ACEOF
38202 /* end confdefs.h. */
38206 main ()
38208 main ();
38210 return 0;
38212 _ACEOF
38213 rm -f conftest.$ac_objext conftest$ac_exeext
38214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38215 (eval $ac_link) 2>conftest.er1
38216 ac_status=$?
38217 grep -v '^ *+' conftest.er1 >conftest.err
38218 rm -f conftest.er1
38219 cat conftest.err >&5
38220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38221 (exit $ac_status); } &&
38222 { ac_try='test -z "$ac_c_werror_flag"
38223 || test ! -s conftest.err'
38224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38225 (eval $ac_try) 2>&5
38226 ac_status=$?
38227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38228 (exit $ac_status); }; } &&
38229 { ac_try='test -s conftest$ac_exeext'
38230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38231 (eval $ac_try) 2>&5
38232 ac_status=$?
38233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38234 (exit $ac_status); }; }; then
38235 ac_cv_lib_m_main=yes
38236 else
38237 echo "$as_me: failed program was:" >&5
38238 sed 's/^/| /' conftest.$ac_ext >&5
38240 ac_cv_lib_m_main=no
38242 rm -f conftest.err conftest.$ac_objext \
38243 conftest$ac_exeext conftest.$ac_ext
38244 LIBS=$ac_check_lib_save_LIBS
38246 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
38247 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
38248 if test $ac_cv_lib_m_main = yes; then
38249 cat >>confdefs.h <<_ACEOF
38250 #define HAVE_LIBM 1
38251 _ACEOF
38253 LIBS="-lm $LIBS"
38258 for ac_func in copysignf
38260 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38261 echo "$as_me:$LINENO: checking for $ac_func" >&5
38262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38263 if eval "test \"\${$as_ac_var+set}\" = set"; then
38264 echo $ECHO_N "(cached) $ECHO_C" >&6
38265 else
38266 if test x$gcc_no_link = xyes; then
38267 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38268 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38269 { (exit 1); exit 1; }; }
38271 cat >conftest.$ac_ext <<_ACEOF
38272 /* confdefs.h. */
38273 _ACEOF
38274 cat confdefs.h >>conftest.$ac_ext
38275 cat >>conftest.$ac_ext <<_ACEOF
38276 /* end confdefs.h. */
38277 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38278 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38279 #define $ac_func innocuous_$ac_func
38281 /* System header to define __stub macros and hopefully few prototypes,
38282 which can conflict with char $ac_func (); below.
38283 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38284 <limits.h> exists even on freestanding compilers. */
38286 #ifdef __STDC__
38287 # include <limits.h>
38288 #else
38289 # include <assert.h>
38290 #endif
38292 #undef $ac_func
38294 /* Override any gcc2 internal prototype to avoid an error. */
38295 #ifdef __cplusplus
38296 extern "C"
38298 #endif
38299 /* We use char because int might match the return type of a gcc2
38300 builtin and then its argument prototype would still apply. */
38301 char $ac_func ();
38302 /* The GNU C library defines this for functions which it implements
38303 to always fail with ENOSYS. Some functions are actually named
38304 something starting with __ and the normal name is an alias. */
38305 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38306 choke me
38307 #else
38308 char (*f) () = $ac_func;
38309 #endif
38310 #ifdef __cplusplus
38312 #endif
38315 main ()
38317 return f != $ac_func;
38319 return 0;
38321 _ACEOF
38322 rm -f conftest.$ac_objext conftest$ac_exeext
38323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38324 (eval $ac_link) 2>conftest.er1
38325 ac_status=$?
38326 grep -v '^ *+' conftest.er1 >conftest.err
38327 rm -f conftest.er1
38328 cat conftest.err >&5
38329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38330 (exit $ac_status); } &&
38331 { ac_try='test -z "$ac_c_werror_flag"
38332 || test ! -s conftest.err'
38333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38334 (eval $ac_try) 2>&5
38335 ac_status=$?
38336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38337 (exit $ac_status); }; } &&
38338 { ac_try='test -s conftest$ac_exeext'
38339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38340 (eval $ac_try) 2>&5
38341 ac_status=$?
38342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38343 (exit $ac_status); }; }; then
38344 eval "$as_ac_var=yes"
38345 else
38346 echo "$as_me: failed program was:" >&5
38347 sed 's/^/| /' conftest.$ac_ext >&5
38349 eval "$as_ac_var=no"
38351 rm -f conftest.err conftest.$ac_objext \
38352 conftest$ac_exeext conftest.$ac_ext
38354 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38355 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38356 if test `eval echo '${'$as_ac_var'}'` = yes; then
38357 cat >>confdefs.h <<_ACEOF
38358 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38359 _ACEOF
38361 else
38362 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
38364 done
38368 for ac_func in __signbit
38370 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38371 echo "$as_me:$LINENO: checking for $ac_func" >&5
38372 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38373 if eval "test \"\${$as_ac_var+set}\" = set"; then
38374 echo $ECHO_N "(cached) $ECHO_C" >&6
38375 else
38376 if test x$gcc_no_link = xyes; then
38377 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38378 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38379 { (exit 1); exit 1; }; }
38381 cat >conftest.$ac_ext <<_ACEOF
38382 /* confdefs.h. */
38383 _ACEOF
38384 cat confdefs.h >>conftest.$ac_ext
38385 cat >>conftest.$ac_ext <<_ACEOF
38386 /* end confdefs.h. */
38387 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38388 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38389 #define $ac_func innocuous_$ac_func
38391 /* System header to define __stub macros and hopefully few prototypes,
38392 which can conflict with char $ac_func (); below.
38393 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38394 <limits.h> exists even on freestanding compilers. */
38396 #ifdef __STDC__
38397 # include <limits.h>
38398 #else
38399 # include <assert.h>
38400 #endif
38402 #undef $ac_func
38404 /* Override any gcc2 internal prototype to avoid an error. */
38405 #ifdef __cplusplus
38406 extern "C"
38408 #endif
38409 /* We use char because int might match the return type of a gcc2
38410 builtin and then its argument prototype would still apply. */
38411 char $ac_func ();
38412 /* The GNU C library defines this for functions which it implements
38413 to always fail with ENOSYS. Some functions are actually named
38414 something starting with __ and the normal name is an alias. */
38415 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38416 choke me
38417 #else
38418 char (*f) () = $ac_func;
38419 #endif
38420 #ifdef __cplusplus
38422 #endif
38425 main ()
38427 return f != $ac_func;
38429 return 0;
38431 _ACEOF
38432 rm -f conftest.$ac_objext conftest$ac_exeext
38433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38434 (eval $ac_link) 2>conftest.er1
38435 ac_status=$?
38436 grep -v '^ *+' conftest.er1 >conftest.err
38437 rm -f conftest.er1
38438 cat conftest.err >&5
38439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38440 (exit $ac_status); } &&
38441 { ac_try='test -z "$ac_c_werror_flag"
38442 || test ! -s conftest.err'
38443 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38444 (eval $ac_try) 2>&5
38445 ac_status=$?
38446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38447 (exit $ac_status); }; } &&
38448 { ac_try='test -s conftest$ac_exeext'
38449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38450 (eval $ac_try) 2>&5
38451 ac_status=$?
38452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38453 (exit $ac_status); }; }; then
38454 eval "$as_ac_var=yes"
38455 else
38456 echo "$as_me: failed program was:" >&5
38457 sed 's/^/| /' conftest.$ac_ext >&5
38459 eval "$as_ac_var=no"
38461 rm -f conftest.err conftest.$ac_objext \
38462 conftest$ac_exeext conftest.$ac_ext
38464 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38465 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38466 if test `eval echo '${'$as_ac_var'}'` = yes; then
38467 cat >>confdefs.h <<_ACEOF
38468 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38469 _ACEOF
38471 else
38472 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
38474 done
38478 for ac_func in __signbitf
38480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38481 echo "$as_me:$LINENO: checking for $ac_func" >&5
38482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38483 if eval "test \"\${$as_ac_var+set}\" = set"; then
38484 echo $ECHO_N "(cached) $ECHO_C" >&6
38485 else
38486 if test x$gcc_no_link = xyes; then
38487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38489 { (exit 1); exit 1; }; }
38491 cat >conftest.$ac_ext <<_ACEOF
38492 /* confdefs.h. */
38493 _ACEOF
38494 cat confdefs.h >>conftest.$ac_ext
38495 cat >>conftest.$ac_ext <<_ACEOF
38496 /* end confdefs.h. */
38497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38499 #define $ac_func innocuous_$ac_func
38501 /* System header to define __stub macros and hopefully few prototypes,
38502 which can conflict with char $ac_func (); below.
38503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38504 <limits.h> exists even on freestanding compilers. */
38506 #ifdef __STDC__
38507 # include <limits.h>
38508 #else
38509 # include <assert.h>
38510 #endif
38512 #undef $ac_func
38514 /* Override any gcc2 internal prototype to avoid an error. */
38515 #ifdef __cplusplus
38516 extern "C"
38518 #endif
38519 /* We use char because int might match the return type of a gcc2
38520 builtin and then its argument prototype would still apply. */
38521 char $ac_func ();
38522 /* The GNU C library defines this for functions which it implements
38523 to always fail with ENOSYS. Some functions are actually named
38524 something starting with __ and the normal name is an alias. */
38525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38526 choke me
38527 #else
38528 char (*f) () = $ac_func;
38529 #endif
38530 #ifdef __cplusplus
38532 #endif
38535 main ()
38537 return f != $ac_func;
38539 return 0;
38541 _ACEOF
38542 rm -f conftest.$ac_objext conftest$ac_exeext
38543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38544 (eval $ac_link) 2>conftest.er1
38545 ac_status=$?
38546 grep -v '^ *+' conftest.er1 >conftest.err
38547 rm -f conftest.er1
38548 cat conftest.err >&5
38549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38550 (exit $ac_status); } &&
38551 { ac_try='test -z "$ac_c_werror_flag"
38552 || test ! -s conftest.err'
38553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38554 (eval $ac_try) 2>&5
38555 ac_status=$?
38556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38557 (exit $ac_status); }; } &&
38558 { ac_try='test -s conftest$ac_exeext'
38559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38560 (eval $ac_try) 2>&5
38561 ac_status=$?
38562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38563 (exit $ac_status); }; }; then
38564 eval "$as_ac_var=yes"
38565 else
38566 echo "$as_me: failed program was:" >&5
38567 sed 's/^/| /' conftest.$ac_ext >&5
38569 eval "$as_ac_var=no"
38571 rm -f conftest.err conftest.$ac_objext \
38572 conftest$ac_exeext conftest.$ac_ext
38574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38576 if test `eval echo '${'$as_ac_var'}'` = yes; then
38577 cat >>confdefs.h <<_ACEOF
38578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38579 _ACEOF
38581 else
38582 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
38584 done
38587 if test x$ac_cv_func_copysignl = x"yes"; then
38589 for ac_func in __signbitl
38591 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38592 echo "$as_me:$LINENO: checking for $ac_func" >&5
38593 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38594 if eval "test \"\${$as_ac_var+set}\" = set"; then
38595 echo $ECHO_N "(cached) $ECHO_C" >&6
38596 else
38597 if test x$gcc_no_link = xyes; then
38598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38600 { (exit 1); exit 1; }; }
38602 cat >conftest.$ac_ext <<_ACEOF
38603 /* confdefs.h. */
38604 _ACEOF
38605 cat confdefs.h >>conftest.$ac_ext
38606 cat >>conftest.$ac_ext <<_ACEOF
38607 /* end confdefs.h. */
38608 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38609 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38610 #define $ac_func innocuous_$ac_func
38612 /* System header to define __stub macros and hopefully few prototypes,
38613 which can conflict with char $ac_func (); below.
38614 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38615 <limits.h> exists even on freestanding compilers. */
38617 #ifdef __STDC__
38618 # include <limits.h>
38619 #else
38620 # include <assert.h>
38621 #endif
38623 #undef $ac_func
38625 /* Override any gcc2 internal prototype to avoid an error. */
38626 #ifdef __cplusplus
38627 extern "C"
38629 #endif
38630 /* We use char because int might match the return type of a gcc2
38631 builtin and then its argument prototype would still apply. */
38632 char $ac_func ();
38633 /* The GNU C library defines this for functions which it implements
38634 to always fail with ENOSYS. Some functions are actually named
38635 something starting with __ and the normal name is an alias. */
38636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38637 choke me
38638 #else
38639 char (*f) () = $ac_func;
38640 #endif
38641 #ifdef __cplusplus
38643 #endif
38646 main ()
38648 return f != $ac_func;
38650 return 0;
38652 _ACEOF
38653 rm -f conftest.$ac_objext conftest$ac_exeext
38654 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38655 (eval $ac_link) 2>conftest.er1
38656 ac_status=$?
38657 grep -v '^ *+' conftest.er1 >conftest.err
38658 rm -f conftest.er1
38659 cat conftest.err >&5
38660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38661 (exit $ac_status); } &&
38662 { ac_try='test -z "$ac_c_werror_flag"
38663 || test ! -s conftest.err'
38664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38665 (eval $ac_try) 2>&5
38666 ac_status=$?
38667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38668 (exit $ac_status); }; } &&
38669 { ac_try='test -s conftest$ac_exeext'
38670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38671 (eval $ac_try) 2>&5
38672 ac_status=$?
38673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38674 (exit $ac_status); }; }; then
38675 eval "$as_ac_var=yes"
38676 else
38677 echo "$as_me: failed program was:" >&5
38678 sed 's/^/| /' conftest.$ac_ext >&5
38680 eval "$as_ac_var=no"
38682 rm -f conftest.err conftest.$ac_objext \
38683 conftest$ac_exeext conftest.$ac_ext
38685 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38686 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38687 if test `eval echo '${'$as_ac_var'}'` = yes; then
38688 cat >>confdefs.h <<_ACEOF
38689 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38690 _ACEOF
38692 else
38693 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
38695 done
38699 # Used in libmath/Makefile.am.
38700 if test -n "$LIBMATHOBJS"; then
38701 need_libmath=yes
38706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
38707 ac_save_CXXFLAGS="$CXXFLAGS"
38708 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
38711 echo "$as_me:$LINENO: checking for strtold declaration" >&5
38712 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
38713 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
38714 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
38715 echo $ECHO_N "(cached) $ECHO_C" >&6
38716 else
38720 ac_ext=cc
38721 ac_cpp='$CXXCPP $CPPFLAGS'
38722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38726 cat >conftest.$ac_ext <<_ACEOF
38727 /* confdefs.h. */
38728 _ACEOF
38729 cat confdefs.h >>conftest.$ac_ext
38730 cat >>conftest.$ac_ext <<_ACEOF
38731 /* end confdefs.h. */
38732 #include <stdlib.h>
38734 main ()
38736 strtold(0, 0);
38738 return 0;
38740 _ACEOF
38741 rm -f conftest.$ac_objext
38742 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38743 (eval $ac_compile) 2>conftest.er1
38744 ac_status=$?
38745 grep -v '^ *+' conftest.er1 >conftest.err
38746 rm -f conftest.er1
38747 cat conftest.err >&5
38748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38749 (exit $ac_status); } &&
38750 { ac_try='test -z "$ac_cxx_werror_flag"
38751 || test ! -s conftest.err'
38752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38753 (eval $ac_try) 2>&5
38754 ac_status=$?
38755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38756 (exit $ac_status); }; } &&
38757 { ac_try='test -s conftest.$ac_objext'
38758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38759 (eval $ac_try) 2>&5
38760 ac_status=$?
38761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38762 (exit $ac_status); }; }; then
38763 glibcxx_cv_func_strtold_use=yes
38764 else
38765 echo "$as_me: failed program was:" >&5
38766 sed 's/^/| /' conftest.$ac_ext >&5
38768 glibcxx_cv_func_strtold_use=no
38770 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38771 ac_ext=c
38772 ac_cpp='$CPP $CPPFLAGS'
38773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38781 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
38782 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
38783 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
38785 for ac_func in strtold
38787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38788 echo "$as_me:$LINENO: checking for $ac_func" >&5
38789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38790 if eval "test \"\${$as_ac_var+set}\" = set"; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38792 else
38793 if test x$gcc_no_link = xyes; then
38794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38796 { (exit 1); exit 1; }; }
38798 cat >conftest.$ac_ext <<_ACEOF
38799 /* confdefs.h. */
38800 _ACEOF
38801 cat confdefs.h >>conftest.$ac_ext
38802 cat >>conftest.$ac_ext <<_ACEOF
38803 /* end confdefs.h. */
38804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38806 #define $ac_func innocuous_$ac_func
38808 /* System header to define __stub macros and hopefully few prototypes,
38809 which can conflict with char $ac_func (); below.
38810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38811 <limits.h> exists even on freestanding compilers. */
38813 #ifdef __STDC__
38814 # include <limits.h>
38815 #else
38816 # include <assert.h>
38817 #endif
38819 #undef $ac_func
38821 /* Override any gcc2 internal prototype to avoid an error. */
38822 #ifdef __cplusplus
38823 extern "C"
38825 #endif
38826 /* We use char because int might match the return type of a gcc2
38827 builtin and then its argument prototype would still apply. */
38828 char $ac_func ();
38829 /* The GNU C library defines this for functions which it implements
38830 to always fail with ENOSYS. Some functions are actually named
38831 something starting with __ and the normal name is an alias. */
38832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38833 choke me
38834 #else
38835 char (*f) () = $ac_func;
38836 #endif
38837 #ifdef __cplusplus
38839 #endif
38842 main ()
38844 return f != $ac_func;
38846 return 0;
38848 _ACEOF
38849 rm -f conftest.$ac_objext conftest$ac_exeext
38850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38851 (eval $ac_link) 2>conftest.er1
38852 ac_status=$?
38853 grep -v '^ *+' conftest.er1 >conftest.err
38854 rm -f conftest.er1
38855 cat conftest.err >&5
38856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38857 (exit $ac_status); } &&
38858 { ac_try='test -z "$ac_c_werror_flag"
38859 || test ! -s conftest.err'
38860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38861 (eval $ac_try) 2>&5
38862 ac_status=$?
38863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38864 (exit $ac_status); }; } &&
38865 { ac_try='test -s conftest$ac_exeext'
38866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38867 (eval $ac_try) 2>&5
38868 ac_status=$?
38869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38870 (exit $ac_status); }; }; then
38871 eval "$as_ac_var=yes"
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38876 eval "$as_ac_var=no"
38878 rm -f conftest.err conftest.$ac_objext \
38879 conftest$ac_exeext conftest.$ac_ext
38881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38883 if test `eval echo '${'$as_ac_var'}'` = yes; then
38884 cat >>confdefs.h <<_ACEOF
38885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38886 _ACEOF
38889 done
38897 echo "$as_me:$LINENO: checking for strtof declaration" >&5
38898 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
38899 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
38900 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
38901 echo $ECHO_N "(cached) $ECHO_C" >&6
38902 else
38906 ac_ext=cc
38907 ac_cpp='$CXXCPP $CPPFLAGS'
38908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38912 cat >conftest.$ac_ext <<_ACEOF
38913 /* confdefs.h. */
38914 _ACEOF
38915 cat confdefs.h >>conftest.$ac_ext
38916 cat >>conftest.$ac_ext <<_ACEOF
38917 /* end confdefs.h. */
38918 #include <stdlib.h>
38920 main ()
38922 strtof(0, 0);
38924 return 0;
38926 _ACEOF
38927 rm -f conftest.$ac_objext
38928 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38929 (eval $ac_compile) 2>conftest.er1
38930 ac_status=$?
38931 grep -v '^ *+' conftest.er1 >conftest.err
38932 rm -f conftest.er1
38933 cat conftest.err >&5
38934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38935 (exit $ac_status); } &&
38936 { ac_try='test -z "$ac_cxx_werror_flag"
38937 || test ! -s conftest.err'
38938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38939 (eval $ac_try) 2>&5
38940 ac_status=$?
38941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38942 (exit $ac_status); }; } &&
38943 { ac_try='test -s conftest.$ac_objext'
38944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38945 (eval $ac_try) 2>&5
38946 ac_status=$?
38947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38948 (exit $ac_status); }; }; then
38949 glibcxx_cv_func_strtof_use=yes
38950 else
38951 echo "$as_me: failed program was:" >&5
38952 sed 's/^/| /' conftest.$ac_ext >&5
38954 glibcxx_cv_func_strtof_use=no
38956 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38957 ac_ext=c
38958 ac_cpp='$CPP $CPPFLAGS'
38959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38967 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
38968 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
38969 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
38971 for ac_func in strtof
38973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38974 echo "$as_me:$LINENO: checking for $ac_func" >&5
38975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38976 if eval "test \"\${$as_ac_var+set}\" = set"; then
38977 echo $ECHO_N "(cached) $ECHO_C" >&6
38978 else
38979 if test x$gcc_no_link = xyes; then
38980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38982 { (exit 1); exit 1; }; }
38984 cat >conftest.$ac_ext <<_ACEOF
38985 /* confdefs.h. */
38986 _ACEOF
38987 cat confdefs.h >>conftest.$ac_ext
38988 cat >>conftest.$ac_ext <<_ACEOF
38989 /* end confdefs.h. */
38990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38992 #define $ac_func innocuous_$ac_func
38994 /* System header to define __stub macros and hopefully few prototypes,
38995 which can conflict with char $ac_func (); below.
38996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38997 <limits.h> exists even on freestanding compilers. */
38999 #ifdef __STDC__
39000 # include <limits.h>
39001 #else
39002 # include <assert.h>
39003 #endif
39005 #undef $ac_func
39007 /* Override any gcc2 internal prototype to avoid an error. */
39008 #ifdef __cplusplus
39009 extern "C"
39011 #endif
39012 /* We use char because int might match the return type of a gcc2
39013 builtin and then its argument prototype would still apply. */
39014 char $ac_func ();
39015 /* The GNU C library defines this for functions which it implements
39016 to always fail with ENOSYS. Some functions are actually named
39017 something starting with __ and the normal name is an alias. */
39018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39019 choke me
39020 #else
39021 char (*f) () = $ac_func;
39022 #endif
39023 #ifdef __cplusplus
39025 #endif
39028 main ()
39030 return f != $ac_func;
39032 return 0;
39034 _ACEOF
39035 rm -f conftest.$ac_objext conftest$ac_exeext
39036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39037 (eval $ac_link) 2>conftest.er1
39038 ac_status=$?
39039 grep -v '^ *+' conftest.er1 >conftest.err
39040 rm -f conftest.er1
39041 cat conftest.err >&5
39042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39043 (exit $ac_status); } &&
39044 { ac_try='test -z "$ac_c_werror_flag"
39045 || test ! -s conftest.err'
39046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39047 (eval $ac_try) 2>&5
39048 ac_status=$?
39049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39050 (exit $ac_status); }; } &&
39051 { ac_try='test -s conftest$ac_exeext'
39052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39053 (eval $ac_try) 2>&5
39054 ac_status=$?
39055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39056 (exit $ac_status); }; }; then
39057 eval "$as_ac_var=yes"
39058 else
39059 echo "$as_me: failed program was:" >&5
39060 sed 's/^/| /' conftest.$ac_ext >&5
39062 eval "$as_ac_var=no"
39064 rm -f conftest.err conftest.$ac_objext \
39065 conftest$ac_exeext conftest.$ac_ext
39067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39069 if test `eval echo '${'$as_ac_var'}'` = yes; then
39070 cat >>confdefs.h <<_ACEOF
39071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39072 _ACEOF
39075 done
39083 CXXFLAGS="$ac_save_CXXFLAGS"
39086 # For showmanyc_helper().
39089 for ac_header in sys/ioctl.h sys/filio.h
39091 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39092 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39093 echo "$as_me:$LINENO: checking for $ac_header" >&5
39094 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39095 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39096 echo $ECHO_N "(cached) $ECHO_C" >&6
39098 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39099 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39100 else
39101 # Is the header compilable?
39102 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39103 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39104 cat >conftest.$ac_ext <<_ACEOF
39105 /* confdefs.h. */
39106 _ACEOF
39107 cat confdefs.h >>conftest.$ac_ext
39108 cat >>conftest.$ac_ext <<_ACEOF
39109 /* end confdefs.h. */
39110 $ac_includes_default
39111 #include <$ac_header>
39112 _ACEOF
39113 rm -f conftest.$ac_objext
39114 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39115 (eval $ac_compile) 2>conftest.er1
39116 ac_status=$?
39117 grep -v '^ *+' conftest.er1 >conftest.err
39118 rm -f conftest.er1
39119 cat conftest.err >&5
39120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39121 (exit $ac_status); } &&
39122 { ac_try='test -z "$ac_c_werror_flag"
39123 || test ! -s conftest.err'
39124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39125 (eval $ac_try) 2>&5
39126 ac_status=$?
39127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39128 (exit $ac_status); }; } &&
39129 { ac_try='test -s conftest.$ac_objext'
39130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39131 (eval $ac_try) 2>&5
39132 ac_status=$?
39133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39134 (exit $ac_status); }; }; then
39135 ac_header_compiler=yes
39136 else
39137 echo "$as_me: failed program was:" >&5
39138 sed 's/^/| /' conftest.$ac_ext >&5
39140 ac_header_compiler=no
39142 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39143 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39144 echo "${ECHO_T}$ac_header_compiler" >&6
39146 # Is the header present?
39147 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39149 cat >conftest.$ac_ext <<_ACEOF
39150 /* confdefs.h. */
39151 _ACEOF
39152 cat confdefs.h >>conftest.$ac_ext
39153 cat >>conftest.$ac_ext <<_ACEOF
39154 /* end confdefs.h. */
39155 #include <$ac_header>
39156 _ACEOF
39157 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39158 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } >/dev/null; then
39165 if test -s conftest.err; then
39166 ac_cpp_err=$ac_c_preproc_warn_flag
39167 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39168 else
39169 ac_cpp_err=
39171 else
39172 ac_cpp_err=yes
39174 if test -z "$ac_cpp_err"; then
39175 ac_header_preproc=yes
39176 else
39177 echo "$as_me: failed program was:" >&5
39178 sed 's/^/| /' conftest.$ac_ext >&5
39180 ac_header_preproc=no
39182 rm -f conftest.err conftest.$ac_ext
39183 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39184 echo "${ECHO_T}$ac_header_preproc" >&6
39186 # So? What about this header?
39187 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39188 yes:no: )
39189 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39190 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39191 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39192 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39193 ac_header_preproc=yes
39195 no:yes:* )
39196 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39197 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39198 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39199 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39200 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39201 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39202 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39203 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39204 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39205 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39206 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39207 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39209 cat <<\_ASBOX
39210 ## ----------------------------------------- ##
39211 ## Report this to the package-unused lists. ##
39212 ## ----------------------------------------- ##
39213 _ASBOX
39215 sed "s/^/$as_me: WARNING: /" >&2
39217 esac
39218 echo "$as_me:$LINENO: checking for $ac_header" >&5
39219 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39220 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39221 echo $ECHO_N "(cached) $ECHO_C" >&6
39222 else
39223 eval "$as_ac_Header=\$ac_header_preproc"
39225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39226 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39229 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39230 cat >>confdefs.h <<_ACEOF
39231 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39232 _ACEOF
39236 done
39239 echo "$as_me:$LINENO: checking for poll" >&5
39240 echo $ECHO_N "checking for poll... $ECHO_C" >&6
39241 if test "${glibcxx_cv_POLL+set}" = set; then
39242 echo $ECHO_N "(cached) $ECHO_C" >&6
39243 else
39245 if test x$gcc_no_link = xyes; then
39246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39248 { (exit 1); exit 1; }; }
39250 cat >conftest.$ac_ext <<_ACEOF
39251 /* confdefs.h. */
39252 _ACEOF
39253 cat confdefs.h >>conftest.$ac_ext
39254 cat >>conftest.$ac_ext <<_ACEOF
39255 /* end confdefs.h. */
39256 #include <poll.h>
39258 main ()
39260 struct pollfd pfd[1];
39261 pfd[0].events = POLLIN;
39262 poll(pfd, 1, 0);
39264 return 0;
39266 _ACEOF
39267 rm -f conftest.$ac_objext conftest$ac_exeext
39268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39269 (eval $ac_link) 2>conftest.er1
39270 ac_status=$?
39271 grep -v '^ *+' conftest.er1 >conftest.err
39272 rm -f conftest.er1
39273 cat conftest.err >&5
39274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39275 (exit $ac_status); } &&
39276 { ac_try='test -z "$ac_c_werror_flag"
39277 || test ! -s conftest.err'
39278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39279 (eval $ac_try) 2>&5
39280 ac_status=$?
39281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39282 (exit $ac_status); }; } &&
39283 { ac_try='test -s conftest$ac_exeext'
39284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39285 (eval $ac_try) 2>&5
39286 ac_status=$?
39287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39288 (exit $ac_status); }; }; then
39289 glibcxx_cv_POLL=yes
39290 else
39291 echo "$as_me: failed program was:" >&5
39292 sed 's/^/| /' conftest.$ac_ext >&5
39294 glibcxx_cv_POLL=no
39296 rm -f conftest.err conftest.$ac_objext \
39297 conftest$ac_exeext conftest.$ac_ext
39301 if test $glibcxx_cv_POLL = yes; then
39303 cat >>confdefs.h <<\_ACEOF
39304 #define HAVE_POLL 1
39305 _ACEOF
39308 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
39309 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
39312 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
39313 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
39314 if test "${glibcxx_cv_S_ISREG+set}" = set; then
39315 echo $ECHO_N "(cached) $ECHO_C" >&6
39316 else
39318 if test x$gcc_no_link = xyes; then
39319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39321 { (exit 1); exit 1; }; }
39323 cat >conftest.$ac_ext <<_ACEOF
39324 /* confdefs.h. */
39325 _ACEOF
39326 cat confdefs.h >>conftest.$ac_ext
39327 cat >>conftest.$ac_ext <<_ACEOF
39328 /* end confdefs.h. */
39329 #include <sys/stat.h>
39331 main ()
39333 struct stat buffer;
39334 fstat(0, &buffer);
39335 S_ISREG(buffer.st_mode);
39337 return 0;
39339 _ACEOF
39340 rm -f conftest.$ac_objext conftest$ac_exeext
39341 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39342 (eval $ac_link) 2>conftest.er1
39343 ac_status=$?
39344 grep -v '^ *+' conftest.er1 >conftest.err
39345 rm -f conftest.er1
39346 cat conftest.err >&5
39347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39348 (exit $ac_status); } &&
39349 { ac_try='test -z "$ac_c_werror_flag"
39350 || test ! -s conftest.err'
39351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39352 (eval $ac_try) 2>&5
39353 ac_status=$?
39354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39355 (exit $ac_status); }; } &&
39356 { ac_try='test -s conftest$ac_exeext'
39357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39358 (eval $ac_try) 2>&5
39359 ac_status=$?
39360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39361 (exit $ac_status); }; }; then
39362 glibcxx_cv_S_ISREG=yes
39363 else
39364 echo "$as_me: failed program was:" >&5
39365 sed 's/^/| /' conftest.$ac_ext >&5
39367 glibcxx_cv_S_ISREG=no
39369 rm -f conftest.err conftest.$ac_objext \
39370 conftest$ac_exeext conftest.$ac_ext
39374 if test "${glibcxx_cv_S_IFREG+set}" = set; then
39375 echo $ECHO_N "(cached) $ECHO_C" >&6
39376 else
39378 if test x$gcc_no_link = xyes; then
39379 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39380 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39381 { (exit 1); exit 1; }; }
39383 cat >conftest.$ac_ext <<_ACEOF
39384 /* confdefs.h. */
39385 _ACEOF
39386 cat confdefs.h >>conftest.$ac_ext
39387 cat >>conftest.$ac_ext <<_ACEOF
39388 /* end confdefs.h. */
39389 #include <sys/stat.h>
39391 main ()
39393 struct stat buffer;
39394 fstat(0, &buffer);
39395 S_IFREG & buffer.st_mode;
39397 return 0;
39399 _ACEOF
39400 rm -f conftest.$ac_objext conftest$ac_exeext
39401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39402 (eval $ac_link) 2>conftest.er1
39403 ac_status=$?
39404 grep -v '^ *+' conftest.er1 >conftest.err
39405 rm -f conftest.er1
39406 cat conftest.err >&5
39407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39408 (exit $ac_status); } &&
39409 { ac_try='test -z "$ac_c_werror_flag"
39410 || test ! -s conftest.err'
39411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39412 (eval $ac_try) 2>&5
39413 ac_status=$?
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); }; } &&
39416 { ac_try='test -s conftest$ac_exeext'
39417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39418 (eval $ac_try) 2>&5
39419 ac_status=$?
39420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39421 (exit $ac_status); }; }; then
39422 glibcxx_cv_S_IFREG=yes
39423 else
39424 echo "$as_me: failed program was:" >&5
39425 sed 's/^/| /' conftest.$ac_ext >&5
39427 glibcxx_cv_S_IFREG=no
39429 rm -f conftest.err conftest.$ac_objext \
39430 conftest$ac_exeext conftest.$ac_ext
39434 res=no
39435 if test $glibcxx_cv_S_ISREG = yes; then
39437 cat >>confdefs.h <<\_ACEOF
39438 #define HAVE_S_ISREG 1
39439 _ACEOF
39441 res=S_ISREG
39442 elif test $glibcxx_cv_S_IFREG = yes; then
39444 cat >>confdefs.h <<\_ACEOF
39445 #define HAVE_S_IFREG 1
39446 _ACEOF
39448 res=S_IFREG
39450 echo "$as_me:$LINENO: result: $res" >&5
39451 echo "${ECHO_T}$res" >&6
39454 # For xsputn_2().
39456 for ac_header in sys/uio.h
39458 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39459 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39460 echo "$as_me:$LINENO: checking for $ac_header" >&5
39461 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39462 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39463 echo $ECHO_N "(cached) $ECHO_C" >&6
39465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39466 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39467 else
39468 # Is the header compilable?
39469 echo "$as_me:$LINENO: checking $ac_header usability" >&5
39470 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
39471 cat >conftest.$ac_ext <<_ACEOF
39472 /* confdefs.h. */
39473 _ACEOF
39474 cat confdefs.h >>conftest.$ac_ext
39475 cat >>conftest.$ac_ext <<_ACEOF
39476 /* end confdefs.h. */
39477 $ac_includes_default
39478 #include <$ac_header>
39479 _ACEOF
39480 rm -f conftest.$ac_objext
39481 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39482 (eval $ac_compile) 2>conftest.er1
39483 ac_status=$?
39484 grep -v '^ *+' conftest.er1 >conftest.err
39485 rm -f conftest.er1
39486 cat conftest.err >&5
39487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39488 (exit $ac_status); } &&
39489 { ac_try='test -z "$ac_c_werror_flag"
39490 || test ! -s conftest.err'
39491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39492 (eval $ac_try) 2>&5
39493 ac_status=$?
39494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39495 (exit $ac_status); }; } &&
39496 { ac_try='test -s conftest.$ac_objext'
39497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39498 (eval $ac_try) 2>&5
39499 ac_status=$?
39500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39501 (exit $ac_status); }; }; then
39502 ac_header_compiler=yes
39503 else
39504 echo "$as_me: failed program was:" >&5
39505 sed 's/^/| /' conftest.$ac_ext >&5
39507 ac_header_compiler=no
39509 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39510 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
39511 echo "${ECHO_T}$ac_header_compiler" >&6
39513 # Is the header present?
39514 echo "$as_me:$LINENO: checking $ac_header presence" >&5
39515 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
39516 cat >conftest.$ac_ext <<_ACEOF
39517 /* confdefs.h. */
39518 _ACEOF
39519 cat confdefs.h >>conftest.$ac_ext
39520 cat >>conftest.$ac_ext <<_ACEOF
39521 /* end confdefs.h. */
39522 #include <$ac_header>
39523 _ACEOF
39524 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
39525 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
39526 ac_status=$?
39527 grep -v '^ *+' conftest.er1 >conftest.err
39528 rm -f conftest.er1
39529 cat conftest.err >&5
39530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39531 (exit $ac_status); } >/dev/null; then
39532 if test -s conftest.err; then
39533 ac_cpp_err=$ac_c_preproc_warn_flag
39534 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
39535 else
39536 ac_cpp_err=
39538 else
39539 ac_cpp_err=yes
39541 if test -z "$ac_cpp_err"; then
39542 ac_header_preproc=yes
39543 else
39544 echo "$as_me: failed program was:" >&5
39545 sed 's/^/| /' conftest.$ac_ext >&5
39547 ac_header_preproc=no
39549 rm -f conftest.err conftest.$ac_ext
39550 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
39551 echo "${ECHO_T}$ac_header_preproc" >&6
39553 # So? What about this header?
39554 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
39555 yes:no: )
39556 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
39557 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
39558 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
39559 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
39560 ac_header_preproc=yes
39562 no:yes:* )
39563 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
39564 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
39565 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
39566 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
39567 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
39568 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
39569 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
39570 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
39571 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
39572 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
39573 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
39574 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
39576 cat <<\_ASBOX
39577 ## ----------------------------------------- ##
39578 ## Report this to the package-unused lists. ##
39579 ## ----------------------------------------- ##
39580 _ASBOX
39582 sed "s/^/$as_me: WARNING: /" >&2
39584 esac
39585 echo "$as_me:$LINENO: checking for $ac_header" >&5
39586 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
39587 if eval "test \"\${$as_ac_Header+set}\" = set"; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39589 else
39590 eval "$as_ac_Header=\$ac_header_preproc"
39592 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
39593 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
39596 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39597 cat >>confdefs.h <<_ACEOF
39598 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39599 _ACEOF
39603 done
39606 echo "$as_me:$LINENO: checking for writev" >&5
39607 echo $ECHO_N "checking for writev... $ECHO_C" >&6
39608 if test "${glibcxx_cv_WRITEV+set}" = set; then
39609 echo $ECHO_N "(cached) $ECHO_C" >&6
39610 else
39612 if test x$gcc_no_link = xyes; then
39613 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39614 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39615 { (exit 1); exit 1; }; }
39617 cat >conftest.$ac_ext <<_ACEOF
39618 /* confdefs.h. */
39619 _ACEOF
39620 cat confdefs.h >>conftest.$ac_ext
39621 cat >>conftest.$ac_ext <<_ACEOF
39622 /* end confdefs.h. */
39623 #include <sys/uio.h>
39625 main ()
39627 struct iovec iov[2];
39628 writev(0, iov, 0);
39630 return 0;
39632 _ACEOF
39633 rm -f conftest.$ac_objext conftest$ac_exeext
39634 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39635 (eval $ac_link) 2>conftest.er1
39636 ac_status=$?
39637 grep -v '^ *+' conftest.er1 >conftest.err
39638 rm -f conftest.er1
39639 cat conftest.err >&5
39640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39641 (exit $ac_status); } &&
39642 { ac_try='test -z "$ac_c_werror_flag"
39643 || test ! -s conftest.err'
39644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39645 (eval $ac_try) 2>&5
39646 ac_status=$?
39647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39648 (exit $ac_status); }; } &&
39649 { ac_try='test -s conftest$ac_exeext'
39650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39651 (eval $ac_try) 2>&5
39652 ac_status=$?
39653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39654 (exit $ac_status); }; }; then
39655 glibcxx_cv_WRITEV=yes
39656 else
39657 echo "$as_me: failed program was:" >&5
39658 sed 's/^/| /' conftest.$ac_ext >&5
39660 glibcxx_cv_WRITEV=no
39662 rm -f conftest.err conftest.$ac_objext \
39663 conftest$ac_exeext conftest.$ac_ext
39667 if test $glibcxx_cv_WRITEV = yes; then
39669 cat >>confdefs.h <<\_ACEOF
39670 #define HAVE_WRITEV 1
39671 _ACEOF
39674 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
39675 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
39678 # For the __streamoff_base_type typedef.
39683 ac_ext=cc
39684 ac_cpp='$CXXCPP $CPPFLAGS'
39685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39690 echo "$as_me:$LINENO: checking for int64_t" >&5
39691 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
39692 if test "${glibcxx_cv_INT64_T+set}" = set; then
39693 echo $ECHO_N "(cached) $ECHO_C" >&6
39694 else
39696 cat >conftest.$ac_ext <<_ACEOF
39697 /* confdefs.h. */
39698 _ACEOF
39699 cat confdefs.h >>conftest.$ac_ext
39700 cat >>conftest.$ac_ext <<_ACEOF
39701 /* end confdefs.h. */
39702 #include <stdint.h>
39704 main ()
39706 int64_t var;
39708 return 0;
39710 _ACEOF
39711 rm -f conftest.$ac_objext
39712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39713 (eval $ac_compile) 2>conftest.er1
39714 ac_status=$?
39715 grep -v '^ *+' conftest.er1 >conftest.err
39716 rm -f conftest.er1
39717 cat conftest.err >&5
39718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39719 (exit $ac_status); } &&
39720 { ac_try='test -z "$ac_cxx_werror_flag"
39721 || test ! -s conftest.err'
39722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39723 (eval $ac_try) 2>&5
39724 ac_status=$?
39725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39726 (exit $ac_status); }; } &&
39727 { ac_try='test -s conftest.$ac_objext'
39728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39729 (eval $ac_try) 2>&5
39730 ac_status=$?
39731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39732 (exit $ac_status); }; }; then
39733 glibcxx_cv_INT64_T=yes
39734 else
39735 echo "$as_me: failed program was:" >&5
39736 sed 's/^/| /' conftest.$ac_ext >&5
39738 glibcxx_cv_INT64_T=no
39740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39745 if test $glibcxx_cv_INT64_T = yes; then
39747 cat >>confdefs.h <<\_ACEOF
39748 #define HAVE_INT64_T 1
39749 _ACEOF
39751 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
39752 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
39754 echo "$as_me:$LINENO: checking for int64_t as long" >&5
39755 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
39756 if test "${glibcxx_cv_int64_t_long+set}" = set; then
39757 echo $ECHO_N "(cached) $ECHO_C" >&6
39758 else
39760 cat >conftest.$ac_ext <<_ACEOF
39761 /* confdefs.h. */
39762 _ACEOF
39763 cat confdefs.h >>conftest.$ac_ext
39764 cat >>conftest.$ac_ext <<_ACEOF
39765 /* end confdefs.h. */
39766 #include <stdint.h>
39767 template<typename, typename> struct same { enum { value = -1 }; };
39768 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
39769 int array[same<int64_t, long>::value];
39771 main ()
39775 return 0;
39777 _ACEOF
39778 rm -f conftest.$ac_objext
39779 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39780 (eval $ac_compile) 2>conftest.er1
39781 ac_status=$?
39782 grep -v '^ *+' conftest.er1 >conftest.err
39783 rm -f conftest.er1
39784 cat conftest.err >&5
39785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39786 (exit $ac_status); } &&
39787 { ac_try='test -z "$ac_cxx_werror_flag"
39788 || test ! -s conftest.err'
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); }; } &&
39794 { ac_try='test -s conftest.$ac_objext'
39795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39796 (eval $ac_try) 2>&5
39797 ac_status=$?
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); }; }; then
39800 glibcxx_cv_int64_t_long=yes
39801 else
39802 echo "$as_me: failed program was:" >&5
39803 sed 's/^/| /' conftest.$ac_ext >&5
39805 glibcxx_cv_int64_t_long=no
39807 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39812 if test $glibcxx_cv_int64_t_long = yes; then
39814 cat >>confdefs.h <<\_ACEOF
39815 #define HAVE_INT64_T_LONG 1
39816 _ACEOF
39818 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
39819 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
39822 echo "$as_me:$LINENO: checking for int64_t as long long" >&5
39823 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
39824 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
39825 echo $ECHO_N "(cached) $ECHO_C" >&6
39826 else
39828 cat >conftest.$ac_ext <<_ACEOF
39829 /* confdefs.h. */
39830 _ACEOF
39831 cat confdefs.h >>conftest.$ac_ext
39832 cat >>conftest.$ac_ext <<_ACEOF
39833 /* end confdefs.h. */
39834 #include <stdint.h>
39835 template<typename, typename> struct same { enum { value = -1 }; };
39836 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
39837 int array[same<int64_t, long long>::value];
39839 main ()
39843 return 0;
39845 _ACEOF
39846 rm -f conftest.$ac_objext
39847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39848 (eval $ac_compile) 2>conftest.er1
39849 ac_status=$?
39850 grep -v '^ *+' conftest.er1 >conftest.err
39851 rm -f conftest.er1
39852 cat conftest.err >&5
39853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39854 (exit $ac_status); } &&
39855 { ac_try='test -z "$ac_cxx_werror_flag"
39856 || test ! -s conftest.err'
39857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39858 (eval $ac_try) 2>&5
39859 ac_status=$?
39860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39861 (exit $ac_status); }; } &&
39862 { ac_try='test -s conftest.$ac_objext'
39863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39864 (eval $ac_try) 2>&5
39865 ac_status=$?
39866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39867 (exit $ac_status); }; }; then
39868 glibcxx_cv_int64_t_long_long=yes
39869 else
39870 echo "$as_me: failed program was:" >&5
39871 sed 's/^/| /' conftest.$ac_ext >&5
39873 glibcxx_cv_int64_t_long_long=no
39875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39880 if test $glibcxx_cv_int64_t_long_long = yes; then
39882 cat >>confdefs.h <<\_ACEOF
39883 #define HAVE_INT64_T_LONG_LONG 1
39884 _ACEOF
39886 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
39887 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
39891 ac_ext=c
39892 ac_cpp='$CPP $CPPFLAGS'
39893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39899 # For LFS support.
39903 ac_ext=cc
39904 ac_cpp='$CXXCPP $CPPFLAGS'
39905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39909 ac_save_CXXFLAGS="$CXXFLAGS"
39910 CXXFLAGS="$CXXFLAGS -fno-exceptions"
39911 echo "$as_me:$LINENO: checking for LFS support" >&5
39912 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
39913 if test "${glibcxx_cv_LFS+set}" = set; then
39914 echo $ECHO_N "(cached) $ECHO_C" >&6
39915 else
39917 if test x$gcc_no_link = xyes; then
39918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39920 { (exit 1); exit 1; }; }
39922 cat >conftest.$ac_ext <<_ACEOF
39923 /* confdefs.h. */
39924 _ACEOF
39925 cat confdefs.h >>conftest.$ac_ext
39926 cat >>conftest.$ac_ext <<_ACEOF
39927 /* end confdefs.h. */
39928 #include <unistd.h>
39929 #include <stdio.h>
39930 #include <sys/stat.h>
39933 main ()
39935 FILE* fp;
39936 fopen64("t", "w");
39937 fseeko64(fp, 0, SEEK_CUR);
39938 ftello64(fp);
39939 lseek64(1, 0, SEEK_CUR);
39940 struct stat64 buf;
39941 fstat64(1, &buf);
39943 return 0;
39945 _ACEOF
39946 rm -f conftest.$ac_objext conftest$ac_exeext
39947 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39948 (eval $ac_link) 2>conftest.er1
39949 ac_status=$?
39950 grep -v '^ *+' conftest.er1 >conftest.err
39951 rm -f conftest.er1
39952 cat conftest.err >&5
39953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39954 (exit $ac_status); } &&
39955 { ac_try='test -z "$ac_cxx_werror_flag"
39956 || test ! -s conftest.err'
39957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39958 (eval $ac_try) 2>&5
39959 ac_status=$?
39960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39961 (exit $ac_status); }; } &&
39962 { ac_try='test -s conftest$ac_exeext'
39963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39964 (eval $ac_try) 2>&5
39965 ac_status=$?
39966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39967 (exit $ac_status); }; }; then
39968 glibcxx_cv_LFS=yes
39969 else
39970 echo "$as_me: failed program was:" >&5
39971 sed 's/^/| /' conftest.$ac_ext >&5
39973 glibcxx_cv_LFS=no
39975 rm -f conftest.err conftest.$ac_objext \
39976 conftest$ac_exeext conftest.$ac_ext
39980 if test $glibcxx_cv_LFS = yes; then
39982 cat >>confdefs.h <<\_ACEOF
39983 #define _GLIBCXX_USE_LFS 1
39984 _ACEOF
39987 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
39988 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
39989 CXXFLAGS="$ac_save_CXXFLAGS"
39990 ac_ext=c
39991 ac_cpp='$CPP $CPPFLAGS'
39992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39998 # For C99 support to TR1.
40003 ac_ext=cc
40004 ac_cpp='$CXXCPP $CPPFLAGS'
40005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40010 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
40011 # undefined and fake C99 facilities may be spuriously enabled.
40012 ac_save_CXXFLAGS="$CXXFLAGS"
40013 CXXFLAGS="$CXXFLAGS -std=c++98"
40015 # Check for the existence of <complex.h> complex math functions used
40016 # by tr1/complex.
40018 for ac_header in complex.h
40020 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40021 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40022 echo "$as_me:$LINENO: checking for $ac_header" >&5
40023 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40024 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40025 echo $ECHO_N "(cached) $ECHO_C" >&6
40027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40028 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40029 else
40030 # Is the header compilable?
40031 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40032 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40033 cat >conftest.$ac_ext <<_ACEOF
40034 /* confdefs.h. */
40035 _ACEOF
40036 cat confdefs.h >>conftest.$ac_ext
40037 cat >>conftest.$ac_ext <<_ACEOF
40038 /* end confdefs.h. */
40039 $ac_includes_default
40040 #include <$ac_header>
40041 _ACEOF
40042 rm -f conftest.$ac_objext
40043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40044 (eval $ac_compile) 2>conftest.er1
40045 ac_status=$?
40046 grep -v '^ *+' conftest.er1 >conftest.err
40047 rm -f conftest.er1
40048 cat conftest.err >&5
40049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40050 (exit $ac_status); } &&
40051 { ac_try='test -z "$ac_cxx_werror_flag"
40052 || test ! -s conftest.err'
40053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40054 (eval $ac_try) 2>&5
40055 ac_status=$?
40056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40057 (exit $ac_status); }; } &&
40058 { ac_try='test -s conftest.$ac_objext'
40059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40060 (eval $ac_try) 2>&5
40061 ac_status=$?
40062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40063 (exit $ac_status); }; }; then
40064 ac_header_compiler=yes
40065 else
40066 echo "$as_me: failed program was:" >&5
40067 sed 's/^/| /' conftest.$ac_ext >&5
40069 ac_header_compiler=no
40071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40072 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40073 echo "${ECHO_T}$ac_header_compiler" >&6
40075 # Is the header present?
40076 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40077 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40078 cat >conftest.$ac_ext <<_ACEOF
40079 /* confdefs.h. */
40080 _ACEOF
40081 cat confdefs.h >>conftest.$ac_ext
40082 cat >>conftest.$ac_ext <<_ACEOF
40083 /* end confdefs.h. */
40084 #include <$ac_header>
40085 _ACEOF
40086 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40087 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40088 ac_status=$?
40089 grep -v '^ *+' conftest.er1 >conftest.err
40090 rm -f conftest.er1
40091 cat conftest.err >&5
40092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40093 (exit $ac_status); } >/dev/null; then
40094 if test -s conftest.err; then
40095 ac_cpp_err=$ac_cxx_preproc_warn_flag
40096 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40097 else
40098 ac_cpp_err=
40100 else
40101 ac_cpp_err=yes
40103 if test -z "$ac_cpp_err"; then
40104 ac_header_preproc=yes
40105 else
40106 echo "$as_me: failed program was:" >&5
40107 sed 's/^/| /' conftest.$ac_ext >&5
40109 ac_header_preproc=no
40111 rm -f conftest.err conftest.$ac_ext
40112 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40113 echo "${ECHO_T}$ac_header_preproc" >&6
40115 # So? What about this header?
40116 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40117 yes:no: )
40118 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40119 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40120 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40121 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40122 ac_header_preproc=yes
40124 no:yes:* )
40125 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40126 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40127 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40128 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40129 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40130 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40131 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40132 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40133 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40134 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40135 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40136 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40138 cat <<\_ASBOX
40139 ## ----------------------------------------- ##
40140 ## Report this to the package-unused lists. ##
40141 ## ----------------------------------------- ##
40142 _ASBOX
40144 sed "s/^/$as_me: WARNING: /" >&2
40146 esac
40147 echo "$as_me:$LINENO: checking for $ac_header" >&5
40148 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40149 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40150 echo $ECHO_N "(cached) $ECHO_C" >&6
40151 else
40152 eval "$as_ac_Header=\$ac_header_preproc"
40154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40155 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40158 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40159 cat >>confdefs.h <<_ACEOF
40160 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40161 _ACEOF
40162 ac_has_complex_h=yes
40163 else
40164 ac_has_complex_h=no
40167 done
40169 ac_c99_complex_tr1=no;
40170 if test x"$ac_has_complex_h" = x"yes"; then
40171 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
40172 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
40173 cat >conftest.$ac_ext <<_ACEOF
40174 /* confdefs.h. */
40175 _ACEOF
40176 cat confdefs.h >>conftest.$ac_ext
40177 cat >>conftest.$ac_ext <<_ACEOF
40178 /* end confdefs.h. */
40179 #include <complex.h>
40181 main ()
40183 typedef __complex__ float float_type; float_type tmpf;
40184 cacosf(tmpf);
40185 casinf(tmpf);
40186 catanf(tmpf);
40187 cacoshf(tmpf);
40188 casinhf(tmpf);
40189 catanhf(tmpf);
40190 typedef __complex__ double double_type; double_type tmpd;
40191 cacos(tmpd);
40192 casin(tmpd);
40193 catan(tmpd);
40194 cacosh(tmpd);
40195 casinh(tmpd);
40196 catanh(tmpd);
40197 typedef __complex__ long double ld_type; ld_type tmpld;
40198 cacosl(tmpld);
40199 casinl(tmpld);
40200 catanl(tmpld);
40201 cacoshl(tmpld);
40202 casinhl(tmpld);
40203 catanhl(tmpld);
40206 return 0;
40208 _ACEOF
40209 rm -f conftest.$ac_objext
40210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40211 (eval $ac_compile) 2>conftest.er1
40212 ac_status=$?
40213 grep -v '^ *+' conftest.er1 >conftest.err
40214 rm -f conftest.er1
40215 cat conftest.err >&5
40216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40217 (exit $ac_status); } &&
40218 { ac_try='test -z "$ac_cxx_werror_flag"
40219 || test ! -s conftest.err'
40220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40221 (eval $ac_try) 2>&5
40222 ac_status=$?
40223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40224 (exit $ac_status); }; } &&
40225 { ac_try='test -s conftest.$ac_objext'
40226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40227 (eval $ac_try) 2>&5
40228 ac_status=$?
40229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40230 (exit $ac_status); }; }; then
40231 ac_c99_complex_tr1=yes
40232 else
40233 echo "$as_me: failed program was:" >&5
40234 sed 's/^/| /' conftest.$ac_ext >&5
40236 ac_c99_complex_tr1=no
40238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40240 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
40241 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
40242 if test x"$ac_c99_complex_tr1" = x"yes"; then
40244 cat >>confdefs.h <<\_ACEOF
40245 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
40246 _ACEOF
40250 # Check for the existence of <ctype.h> functions.
40251 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
40252 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
40253 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
40254 echo $ECHO_N "(cached) $ECHO_C" >&6
40255 else
40257 cat >conftest.$ac_ext <<_ACEOF
40258 /* confdefs.h. */
40259 _ACEOF
40260 cat confdefs.h >>conftest.$ac_ext
40261 cat >>conftest.$ac_ext <<_ACEOF
40262 /* end confdefs.h. */
40263 #include <ctype.h>
40265 main ()
40267 int ch;
40268 int ret;
40269 ret = isblank(ch);
40272 return 0;
40274 _ACEOF
40275 rm -f conftest.$ac_objext
40276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40277 (eval $ac_compile) 2>conftest.er1
40278 ac_status=$?
40279 grep -v '^ *+' conftest.er1 >conftest.err
40280 rm -f conftest.er1
40281 cat conftest.err >&5
40282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40283 (exit $ac_status); } &&
40284 { ac_try='test -z "$ac_cxx_werror_flag"
40285 || test ! -s conftest.err'
40286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40287 (eval $ac_try) 2>&5
40288 ac_status=$?
40289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40290 (exit $ac_status); }; } &&
40291 { ac_try='test -s conftest.$ac_objext'
40292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40293 (eval $ac_try) 2>&5
40294 ac_status=$?
40295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40296 (exit $ac_status); }; }; then
40297 glibcxx_cv_c99_ctype_tr1=yes
40298 else
40299 echo "$as_me: failed program was:" >&5
40300 sed 's/^/| /' conftest.$ac_ext >&5
40302 glibcxx_cv_c99_ctype_tr1=no
40304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40308 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
40309 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
40310 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
40312 cat >>confdefs.h <<\_ACEOF
40313 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
40314 _ACEOF
40318 # Check for the existence of <fenv.h> functions.
40320 for ac_header in fenv.h
40322 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40323 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40324 echo "$as_me:$LINENO: checking for $ac_header" >&5
40325 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40326 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40327 echo $ECHO_N "(cached) $ECHO_C" >&6
40329 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40330 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40331 else
40332 # Is the header compilable?
40333 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40334 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40335 cat >conftest.$ac_ext <<_ACEOF
40336 /* confdefs.h. */
40337 _ACEOF
40338 cat confdefs.h >>conftest.$ac_ext
40339 cat >>conftest.$ac_ext <<_ACEOF
40340 /* end confdefs.h. */
40341 $ac_includes_default
40342 #include <$ac_header>
40343 _ACEOF
40344 rm -f conftest.$ac_objext
40345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40346 (eval $ac_compile) 2>conftest.er1
40347 ac_status=$?
40348 grep -v '^ *+' conftest.er1 >conftest.err
40349 rm -f conftest.er1
40350 cat conftest.err >&5
40351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40352 (exit $ac_status); } &&
40353 { ac_try='test -z "$ac_cxx_werror_flag"
40354 || test ! -s conftest.err'
40355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40356 (eval $ac_try) 2>&5
40357 ac_status=$?
40358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40359 (exit $ac_status); }; } &&
40360 { ac_try='test -s conftest.$ac_objext'
40361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40362 (eval $ac_try) 2>&5
40363 ac_status=$?
40364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40365 (exit $ac_status); }; }; then
40366 ac_header_compiler=yes
40367 else
40368 echo "$as_me: failed program was:" >&5
40369 sed 's/^/| /' conftest.$ac_ext >&5
40371 ac_header_compiler=no
40373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40374 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40375 echo "${ECHO_T}$ac_header_compiler" >&6
40377 # Is the header present?
40378 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40379 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40380 cat >conftest.$ac_ext <<_ACEOF
40381 /* confdefs.h. */
40382 _ACEOF
40383 cat confdefs.h >>conftest.$ac_ext
40384 cat >>conftest.$ac_ext <<_ACEOF
40385 /* end confdefs.h. */
40386 #include <$ac_header>
40387 _ACEOF
40388 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40389 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40390 ac_status=$?
40391 grep -v '^ *+' conftest.er1 >conftest.err
40392 rm -f conftest.er1
40393 cat conftest.err >&5
40394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40395 (exit $ac_status); } >/dev/null; then
40396 if test -s conftest.err; then
40397 ac_cpp_err=$ac_cxx_preproc_warn_flag
40398 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40399 else
40400 ac_cpp_err=
40402 else
40403 ac_cpp_err=yes
40405 if test -z "$ac_cpp_err"; then
40406 ac_header_preproc=yes
40407 else
40408 echo "$as_me: failed program was:" >&5
40409 sed 's/^/| /' conftest.$ac_ext >&5
40411 ac_header_preproc=no
40413 rm -f conftest.err conftest.$ac_ext
40414 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40415 echo "${ECHO_T}$ac_header_preproc" >&6
40417 # So? What about this header?
40418 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40419 yes:no: )
40420 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40421 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40422 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40423 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40424 ac_header_preproc=yes
40426 no:yes:* )
40427 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40428 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40429 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40430 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40431 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40432 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40433 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40434 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40435 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40436 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40437 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
40438 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
40440 cat <<\_ASBOX
40441 ## ----------------------------------------- ##
40442 ## Report this to the package-unused lists. ##
40443 ## ----------------------------------------- ##
40444 _ASBOX
40446 sed "s/^/$as_me: WARNING: /" >&2
40448 esac
40449 echo "$as_me:$LINENO: checking for $ac_header" >&5
40450 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40452 echo $ECHO_N "(cached) $ECHO_C" >&6
40453 else
40454 eval "$as_ac_Header=\$ac_header_preproc"
40456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40457 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40460 if test `eval echo '${'$as_ac_Header'}'` = yes; then
40461 cat >>confdefs.h <<_ACEOF
40462 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
40463 _ACEOF
40464 ac_has_fenv_h=yes
40465 else
40466 ac_has_fenv_h=no
40469 done
40471 ac_c99_fenv_tr1=no;
40472 if test x"$ac_has_fenv_h" = x"yes"; then
40473 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
40474 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
40475 cat >conftest.$ac_ext <<_ACEOF
40476 /* confdefs.h. */
40477 _ACEOF
40478 cat confdefs.h >>conftest.$ac_ext
40479 cat >>conftest.$ac_ext <<_ACEOF
40480 /* end confdefs.h. */
40481 #include <fenv.h>
40483 main ()
40485 int except, mode;
40486 fexcept_t* pflag;
40487 fenv_t* penv;
40488 int ret;
40489 ret = feclearexcept(except);
40490 ret = fegetexceptflag(pflag, except);
40491 ret = feraiseexcept(except);
40492 ret = fesetexceptflag(pflag, except);
40493 ret = fetestexcept(except);
40494 ret = fegetround();
40495 ret = fesetround(mode);
40496 ret = fegetenv(penv);
40497 ret = feholdexcept(penv);
40498 ret = fesetenv(penv);
40499 ret = feupdateenv(penv);
40502 return 0;
40504 _ACEOF
40505 rm -f conftest.$ac_objext
40506 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40507 (eval $ac_compile) 2>conftest.er1
40508 ac_status=$?
40509 grep -v '^ *+' conftest.er1 >conftest.err
40510 rm -f conftest.er1
40511 cat conftest.err >&5
40512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40513 (exit $ac_status); } &&
40514 { ac_try='test -z "$ac_cxx_werror_flag"
40515 || test ! -s conftest.err'
40516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40517 (eval $ac_try) 2>&5
40518 ac_status=$?
40519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40520 (exit $ac_status); }; } &&
40521 { ac_try='test -s conftest.$ac_objext'
40522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40523 (eval $ac_try) 2>&5
40524 ac_status=$?
40525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40526 (exit $ac_status); }; }; then
40527 ac_c99_fenv_tr1=yes
40528 else
40529 echo "$as_me: failed program was:" >&5
40530 sed 's/^/| /' conftest.$ac_ext >&5
40532 ac_c99_fenv_tr1=no
40534 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40536 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
40537 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
40538 if test x"$ac_c99_fenv_tr1" = x"yes"; then
40540 cat >>confdefs.h <<\_ACEOF
40541 #define _GLIBCXX_USE_C99_FENV_TR1 1
40542 _ACEOF
40546 # Check for the existence of <stdint.h> types.
40547 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
40548 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
40549 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
40550 echo $ECHO_N "(cached) $ECHO_C" >&6
40551 else
40553 cat >conftest.$ac_ext <<_ACEOF
40554 /* confdefs.h. */
40555 _ACEOF
40556 cat confdefs.h >>conftest.$ac_ext
40557 cat >>conftest.$ac_ext <<_ACEOF
40558 /* end confdefs.h. */
40559 #include <stdint.h>
40561 main ()
40563 typedef int8_t my_int8_t;
40564 typedef int16_t my_int16_t;
40565 typedef int32_t my_int32_t;
40566 typedef int64_t my_int64_t;
40567 typedef int_fast8_t my_int_fast8_t;
40568 typedef int_fast16_t my_int_fast16_t;
40569 typedef int_fast32_t my_int_fast32_t;
40570 typedef int_fast64_t my_int_fast64_t;
40571 typedef int_least8_t my_int_least8_t;
40572 typedef int_least16_t my_int_least16_t;
40573 typedef int_least32_t my_int_least32_t;
40574 typedef int_least64_t my_int_least64_t;
40575 typedef intmax_t my_intmax_t;
40576 typedef intptr_t my_intptr_t;
40577 typedef uint8_t my_uint8_t;
40578 typedef uint16_t my_uint16_t;
40579 typedef uint32_t my_uint32_t;
40580 typedef uint64_t my_uint64_t;
40581 typedef uint_fast8_t my_uint_fast8_t;
40582 typedef uint_fast16_t my_uint_fast16_t;
40583 typedef uint_fast32_t my_uint_fast32_t;
40584 typedef uint_fast64_t my_uint_fast64_t;
40585 typedef uint_least8_t my_uint_least8_t;
40586 typedef uint_least16_t my_uint_least16_t;
40587 typedef uint_least32_t my_uint_least32_t;
40588 typedef uint_least64_t my_uint_least64_t;
40589 typedef uintmax_t my_uintmax_t;
40590 typedef uintptr_t my_uintptr_t;
40593 return 0;
40595 _ACEOF
40596 rm -f conftest.$ac_objext
40597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40598 (eval $ac_compile) 2>conftest.er1
40599 ac_status=$?
40600 grep -v '^ *+' conftest.er1 >conftest.err
40601 rm -f conftest.er1
40602 cat conftest.err >&5
40603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40604 (exit $ac_status); } &&
40605 { ac_try='test -z "$ac_cxx_werror_flag"
40606 || test ! -s conftest.err'
40607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40608 (eval $ac_try) 2>&5
40609 ac_status=$?
40610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40611 (exit $ac_status); }; } &&
40612 { ac_try='test -s conftest.$ac_objext'
40613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40614 (eval $ac_try) 2>&5
40615 ac_status=$?
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); }; }; then
40618 glibcxx_cv_c99_stdint_tr1=yes
40619 else
40620 echo "$as_me: failed program was:" >&5
40621 sed 's/^/| /' conftest.$ac_ext >&5
40623 glibcxx_cv_c99_stdint_tr1=no
40625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40629 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
40630 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
40631 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40633 cat >>confdefs.h <<\_ACEOF
40634 #define _GLIBCXX_USE_C99_STDINT_TR1 1
40635 _ACEOF
40639 # Check for the existence of <math.h> functions.
40640 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
40641 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
40642 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
40643 echo $ECHO_N "(cached) $ECHO_C" >&6
40644 else
40646 cat >conftest.$ac_ext <<_ACEOF
40647 /* confdefs.h. */
40648 _ACEOF
40649 cat confdefs.h >>conftest.$ac_ext
40650 cat >>conftest.$ac_ext <<_ACEOF
40651 /* end confdefs.h. */
40652 #include <math.h>
40654 main ()
40656 typedef double_t my_double_t;
40657 typedef float_t my_float_t;
40658 acosh(0.0);
40659 acoshf(0.0f);
40660 acoshl(0.0l);
40661 asinh(0.0);
40662 asinhf(0.0f);
40663 asinhl(0.0l);
40664 atanh(0.0);
40665 atanhf(0.0f);
40666 atanhl(0.0l);
40667 cbrt(0.0);
40668 cbrtf(0.0f);
40669 cbrtl(0.0l);
40670 copysign(0.0, 0.0);
40671 copysignf(0.0f, 0.0f);
40672 copysignl(0.0l, 0.0l);
40673 erf(0.0);
40674 erff(0.0f);
40675 erfl(0.0l);
40676 erfc(0.0);
40677 erfcf(0.0f);
40678 erfcl(0.0l);
40679 exp2(0.0);
40680 exp2f(0.0f);
40681 exp2l(0.0l);
40682 expm1(0.0);
40683 expm1f(0.0f);
40684 expm1l(0.0l);
40685 fdim(0.0, 0.0);
40686 fdimf(0.0f, 0.0f);
40687 fdiml(0.0l, 0.0l);
40688 fma(0.0, 0.0, 0.0);
40689 fmaf(0.0f, 0.0f, 0.0f);
40690 fmal(0.0l, 0.0l, 0.0l);
40691 fmax(0.0, 0.0);
40692 fmaxf(0.0f, 0.0f);
40693 fmaxl(0.0l, 0.0l);
40694 fmin(0.0, 0.0);
40695 fminf(0.0f, 0.0f);
40696 fminl(0.0l, 0.0l);
40697 hypot(0.0, 0.0);
40698 hypotf(0.0f, 0.0f);
40699 hypotl(0.0l, 0.0l);
40700 ilogb(0.0);
40701 ilogbf(0.0f);
40702 ilogbl(0.0l);
40703 lgamma(0.0);
40704 lgammaf(0.0f);
40705 lgammal(0.0l);
40706 llrint(0.0);
40707 llrintf(0.0f);
40708 llrintl(0.0l);
40709 llround(0.0);
40710 llroundf(0.0f);
40711 llroundl(0.0l);
40712 log1p(0.0);
40713 log1pf(0.0f);
40714 log1pl(0.0l);
40715 log2(0.0);
40716 log2f(0.0f);
40717 log2l(0.0l);
40718 logb(0.0);
40719 logbf(0.0f);
40720 logbl(0.0l);
40721 lrint(0.0);
40722 lrintf(0.0f);
40723 lrintl(0.0l);
40724 lround(0.0);
40725 lroundf(0.0f);
40726 lroundl(0.0l);
40727 nan(0);
40728 nanf(0);
40729 nanl(0);
40730 nearbyint(0.0);
40731 nearbyintf(0.0f);
40732 nearbyintl(0.0l);
40733 nextafter(0.0, 0.0);
40734 nextafterf(0.0f, 0.0f);
40735 nextafterl(0.0l, 0.0l);
40736 nexttoward(0.0, 0.0);
40737 nexttowardf(0.0f, 0.0f);
40738 nexttowardl(0.0l, 0.0l);
40739 remainder(0.0, 0.0);
40740 remainderf(0.0f, 0.0f);
40741 remainderl(0.0l, 0.0l);
40742 remquo(0.0, 0.0, 0);
40743 remquo(0.0f, 0.0f, 0);
40744 remquo(0.0l, 0.0l, 0);
40745 rint(0.0);
40746 rintf(0.0f);
40747 rintl(0.0l);
40748 round(0.0);
40749 roundf(0.0f);
40750 roundl(0.0l);
40751 scalbln(0.0, 0l);
40752 scalblnf(0.0f, 0l);
40753 scalblnl(0.0l, 0l);
40754 scalbn(0.0, 0);
40755 scalbnf(0.0f, 0);
40756 scalbnl(0.0l, 0);
40757 tgamma(0.0);
40758 tgammaf(0.0f);
40759 tgammal(0.0l);
40760 trunc(0.0);
40761 truncf(0.0f);
40762 truncl(0.0l);
40765 return 0;
40767 _ACEOF
40768 rm -f conftest.$ac_objext
40769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40770 (eval $ac_compile) 2>conftest.er1
40771 ac_status=$?
40772 grep -v '^ *+' conftest.er1 >conftest.err
40773 rm -f conftest.er1
40774 cat conftest.err >&5
40775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40776 (exit $ac_status); } &&
40777 { ac_try='test -z "$ac_cxx_werror_flag"
40778 || test ! -s conftest.err'
40779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40780 (eval $ac_try) 2>&5
40781 ac_status=$?
40782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40783 (exit $ac_status); }; } &&
40784 { ac_try='test -s conftest.$ac_objext'
40785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40786 (eval $ac_try) 2>&5
40787 ac_status=$?
40788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40789 (exit $ac_status); }; }; then
40790 glibcxx_cv_c99_math_tr1=yes
40791 else
40792 echo "$as_me: failed program was:" >&5
40793 sed 's/^/| /' conftest.$ac_ext >&5
40795 glibcxx_cv_c99_math_tr1=no
40797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40801 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
40802 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
40803 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
40805 cat >>confdefs.h <<\_ACEOF
40806 #define _GLIBCXX_USE_C99_MATH_TR1 1
40807 _ACEOF
40811 # Check for the existence of <inttypes.h> functions (NB: doesn't make
40812 # sense if the previous check fails, per C99, 7.8/1).
40813 ac_c99_inttypes_tr1=no;
40814 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
40815 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
40816 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
40817 cat >conftest.$ac_ext <<_ACEOF
40818 /* confdefs.h. */
40819 _ACEOF
40820 cat confdefs.h >>conftest.$ac_ext
40821 cat >>conftest.$ac_ext <<_ACEOF
40822 /* end confdefs.h. */
40823 #include <inttypes.h>
40825 main ()
40827 intmax_t i, numer, denom, base;
40828 const char* s;
40829 char** endptr;
40830 intmax_t ret = imaxabs(i);
40831 imaxdiv_t dret = imaxdiv(numer, denom);
40832 ret = strtoimax(s, endptr, base);
40833 uintmax_t uret = strtoumax(s, endptr, base);
40836 return 0;
40838 _ACEOF
40839 rm -f conftest.$ac_objext
40840 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40841 (eval $ac_compile) 2>conftest.er1
40842 ac_status=$?
40843 grep -v '^ *+' conftest.er1 >conftest.err
40844 rm -f conftest.er1
40845 cat conftest.err >&5
40846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40847 (exit $ac_status); } &&
40848 { ac_try='test -z "$ac_cxx_werror_flag"
40849 || test ! -s conftest.err'
40850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40851 (eval $ac_try) 2>&5
40852 ac_status=$?
40853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40854 (exit $ac_status); }; } &&
40855 { ac_try='test -s conftest.$ac_objext'
40856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40857 (eval $ac_try) 2>&5
40858 ac_status=$?
40859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40860 (exit $ac_status); }; }; then
40861 ac_c99_inttypes_tr1=yes
40862 else
40863 echo "$as_me: failed program was:" >&5
40864 sed 's/^/| /' conftest.$ac_ext >&5
40866 ac_c99_inttypes_tr1=no
40868 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40870 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
40871 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
40872 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
40874 cat >>confdefs.h <<\_ACEOF
40875 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
40876 _ACEOF
40880 # Check for the existence of the <stdbool.h> header.
40882 for ac_header in stdbool.h
40884 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
40885 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40886 echo "$as_me:$LINENO: checking for $ac_header" >&5
40887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
40888 if eval "test \"\${$as_ac_Header+set}\" = set"; then
40889 echo $ECHO_N "(cached) $ECHO_C" >&6
40891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
40892 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
40893 else
40894 # Is the header compilable?
40895 echo "$as_me:$LINENO: checking $ac_header usability" >&5
40896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
40897 cat >conftest.$ac_ext <<_ACEOF
40898 /* confdefs.h. */
40899 _ACEOF
40900 cat confdefs.h >>conftest.$ac_ext
40901 cat >>conftest.$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40903 $ac_includes_default
40904 #include <$ac_header>
40905 _ACEOF
40906 rm -f conftest.$ac_objext
40907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40908 (eval $ac_compile) 2>conftest.er1
40909 ac_status=$?
40910 grep -v '^ *+' conftest.er1 >conftest.err
40911 rm -f conftest.er1
40912 cat conftest.err >&5
40913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40914 (exit $ac_status); } &&
40915 { ac_try='test -z "$ac_cxx_werror_flag"
40916 || test ! -s conftest.err'
40917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40918 (eval $ac_try) 2>&5
40919 ac_status=$?
40920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40921 (exit $ac_status); }; } &&
40922 { ac_try='test -s conftest.$ac_objext'
40923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40924 (eval $ac_try) 2>&5
40925 ac_status=$?
40926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40927 (exit $ac_status); }; }; then
40928 ac_header_compiler=yes
40929 else
40930 echo "$as_me: failed program was:" >&5
40931 sed 's/^/| /' conftest.$ac_ext >&5
40933 ac_header_compiler=no
40935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40936 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
40937 echo "${ECHO_T}$ac_header_compiler" >&6
40939 # Is the header present?
40940 echo "$as_me:$LINENO: checking $ac_header presence" >&5
40941 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
40942 cat >conftest.$ac_ext <<_ACEOF
40943 /* confdefs.h. */
40944 _ACEOF
40945 cat confdefs.h >>conftest.$ac_ext
40946 cat >>conftest.$ac_ext <<_ACEOF
40947 /* end confdefs.h. */
40948 #include <$ac_header>
40949 _ACEOF
40950 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
40951 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
40952 ac_status=$?
40953 grep -v '^ *+' conftest.er1 >conftest.err
40954 rm -f conftest.er1
40955 cat conftest.err >&5
40956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40957 (exit $ac_status); } >/dev/null; then
40958 if test -s conftest.err; then
40959 ac_cpp_err=$ac_cxx_preproc_warn_flag
40960 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
40961 else
40962 ac_cpp_err=
40964 else
40965 ac_cpp_err=yes
40967 if test -z "$ac_cpp_err"; then
40968 ac_header_preproc=yes
40969 else
40970 echo "$as_me: failed program was:" >&5
40971 sed 's/^/| /' conftest.$ac_ext >&5
40973 ac_header_preproc=no
40975 rm -f conftest.err conftest.$ac_ext
40976 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
40977 echo "${ECHO_T}$ac_header_preproc" >&6
40979 # So? What about this header?
40980 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
40981 yes:no: )
40982 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
40983 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
40984 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
40985 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
40986 ac_header_preproc=yes
40988 no:yes:* )
40989 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
40990 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
40991 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
40992 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
40993 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
40994 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
40995 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
40996 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
40997 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
40998 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
40999 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41000 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41002 cat <<\_ASBOX
41003 ## ----------------------------------------- ##
41004 ## Report this to the package-unused lists. ##
41005 ## ----------------------------------------- ##
41006 _ASBOX
41008 sed "s/^/$as_me: WARNING: /" >&2
41010 esac
41011 echo "$as_me:$LINENO: checking for $ac_header" >&5
41012 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41013 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41014 echo $ECHO_N "(cached) $ECHO_C" >&6
41015 else
41016 eval "$as_ac_Header=\$ac_header_preproc"
41018 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41019 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41022 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41023 cat >>confdefs.h <<_ACEOF
41024 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41025 _ACEOF
41029 done
41032 CXXFLAGS="$ac_save_CXXFLAGS"
41033 ac_ext=c
41034 ac_cpp='$CPP $CPPFLAGS'
41035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41041 # For dev/random and dev/urandom for TR1.
41044 echo "$as_me:$LINENO: checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device" >&5
41045 echo $ECHO_N "checking for \"dev/random\" and \"dev/urandom\" for TR1 random_device... $ECHO_C" >&6
41046 if test "${glibcxx_cv_random_tr1+set}" = set; then
41047 echo $ECHO_N "(cached) $ECHO_C" >&6
41048 else
41050 if test "$cross_compiling" = yes; then
41051 glibcxx_cv_random_tr1=no
41052 else
41053 cat >conftest.$ac_ext <<_ACEOF
41054 /* confdefs.h. */
41055 _ACEOF
41056 cat confdefs.h >>conftest.$ac_ext
41057 cat >>conftest.$ac_ext <<_ACEOF
41058 /* end confdefs.h. */
41059 #include <stdio.h>
41060 int main()
41062 return !(fopen("/dev/random", "r")
41063 && fopen("/dev/urandom", "r"));
41066 _ACEOF
41067 rm -f conftest$ac_exeext
41068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41069 (eval $ac_link) 2>&5
41070 ac_status=$?
41071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41072 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41074 (eval $ac_try) 2>&5
41075 ac_status=$?
41076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41077 (exit $ac_status); }; }; then
41078 glibcxx_cv_random_tr1=yes
41079 else
41080 echo "$as_me: program exited with status $ac_status" >&5
41081 echo "$as_me: failed program was:" >&5
41082 sed 's/^/| /' conftest.$ac_ext >&5
41084 ( exit $ac_status )
41085 glibcxx_cv_random_tr1=no
41087 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41092 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
41093 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
41094 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
41096 cat >>confdefs.h <<\_ACEOF
41097 #define _GLIBCXX_USE_RANDOM_TR1 1
41098 _ACEOF
41104 # For clock_gettime support.
41109 ac_ext=cc
41110 ac_cpp='$CXXCPP $CPPFLAGS'
41111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41115 ac_save_CXXFLAGS="$CXXFLAGS"
41116 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41117 ac_save_LIBS="$LIBS"
41119 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
41120 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
41121 if test "${ac_cv_search_clock_gettime+set}" = set; then
41122 echo $ECHO_N "(cached) $ECHO_C" >&6
41123 else
41124 ac_func_search_save_LIBS=$LIBS
41125 ac_cv_search_clock_gettime=no
41126 if test x$gcc_no_link = xyes; then
41127 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41128 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41129 { (exit 1); exit 1; }; }
41131 cat >conftest.$ac_ext <<_ACEOF
41132 /* confdefs.h. */
41133 _ACEOF
41134 cat confdefs.h >>conftest.$ac_ext
41135 cat >>conftest.$ac_ext <<_ACEOF
41136 /* end confdefs.h. */
41138 /* Override any gcc2 internal prototype to avoid an error. */
41139 #ifdef __cplusplus
41140 extern "C"
41141 #endif
41142 /* We use char because int might match the return type of a gcc2
41143 builtin and then its argument prototype would still apply. */
41144 char clock_gettime ();
41146 main ()
41148 clock_gettime ();
41150 return 0;
41152 _ACEOF
41153 rm -f conftest.$ac_objext conftest$ac_exeext
41154 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41155 (eval $ac_link) 2>conftest.er1
41156 ac_status=$?
41157 grep -v '^ *+' conftest.er1 >conftest.err
41158 rm -f conftest.er1
41159 cat conftest.err >&5
41160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41161 (exit $ac_status); } &&
41162 { ac_try='test -z "$ac_cxx_werror_flag"
41163 || test ! -s conftest.err'
41164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41165 (eval $ac_try) 2>&5
41166 ac_status=$?
41167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41168 (exit $ac_status); }; } &&
41169 { ac_try='test -s conftest$ac_exeext'
41170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41171 (eval $ac_try) 2>&5
41172 ac_status=$?
41173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41174 (exit $ac_status); }; }; then
41175 ac_cv_search_clock_gettime="none required"
41176 else
41177 echo "$as_me: failed program was:" >&5
41178 sed 's/^/| /' conftest.$ac_ext >&5
41181 rm -f conftest.err conftest.$ac_objext \
41182 conftest$ac_exeext conftest.$ac_ext
41183 if test "$ac_cv_search_clock_gettime" = no; then
41184 for ac_lib in posix4; do
41185 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
41186 if test x$gcc_no_link = xyes; then
41187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41189 { (exit 1); exit 1; }; }
41191 cat >conftest.$ac_ext <<_ACEOF
41192 /* confdefs.h. */
41193 _ACEOF
41194 cat confdefs.h >>conftest.$ac_ext
41195 cat >>conftest.$ac_ext <<_ACEOF
41196 /* end confdefs.h. */
41198 /* Override any gcc2 internal prototype to avoid an error. */
41199 #ifdef __cplusplus
41200 extern "C"
41201 #endif
41202 /* We use char because int might match the return type of a gcc2
41203 builtin and then its argument prototype would still apply. */
41204 char clock_gettime ();
41206 main ()
41208 clock_gettime ();
41210 return 0;
41212 _ACEOF
41213 rm -f conftest.$ac_objext conftest$ac_exeext
41214 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41215 (eval $ac_link) 2>conftest.er1
41216 ac_status=$?
41217 grep -v '^ *+' conftest.er1 >conftest.err
41218 rm -f conftest.er1
41219 cat conftest.err >&5
41220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41221 (exit $ac_status); } &&
41222 { ac_try='test -z "$ac_cxx_werror_flag"
41223 || test ! -s conftest.err'
41224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41225 (eval $ac_try) 2>&5
41226 ac_status=$?
41227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41228 (exit $ac_status); }; } &&
41229 { ac_try='test -s conftest$ac_exeext'
41230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41231 (eval $ac_try) 2>&5
41232 ac_status=$?
41233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41234 (exit $ac_status); }; }; then
41235 ac_cv_search_clock_gettime="-l$ac_lib"
41236 break
41237 else
41238 echo "$as_me: failed program was:" >&5
41239 sed 's/^/| /' conftest.$ac_ext >&5
41242 rm -f conftest.err conftest.$ac_objext \
41243 conftest$ac_exeext conftest.$ac_ext
41244 done
41246 LIBS=$ac_func_search_save_LIBS
41248 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
41249 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
41250 if test "$ac_cv_search_clock_gettime" != no; then
41251 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
41256 # Link to -lposix4.
41257 case "$ac_cv_search_clock_gettime" in
41258 -lposix4*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
41259 esac
41262 for ac_header in unistd.h
41264 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41265 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41266 echo "$as_me:$LINENO: checking for $ac_header" >&5
41267 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41268 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41269 echo $ECHO_N "(cached) $ECHO_C" >&6
41271 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41272 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41273 else
41274 # Is the header compilable?
41275 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41276 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41277 cat >conftest.$ac_ext <<_ACEOF
41278 /* confdefs.h. */
41279 _ACEOF
41280 cat confdefs.h >>conftest.$ac_ext
41281 cat >>conftest.$ac_ext <<_ACEOF
41282 /* end confdefs.h. */
41283 $ac_includes_default
41284 #include <$ac_header>
41285 _ACEOF
41286 rm -f conftest.$ac_objext
41287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41288 (eval $ac_compile) 2>conftest.er1
41289 ac_status=$?
41290 grep -v '^ *+' conftest.er1 >conftest.err
41291 rm -f conftest.er1
41292 cat conftest.err >&5
41293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41294 (exit $ac_status); } &&
41295 { ac_try='test -z "$ac_cxx_werror_flag"
41296 || test ! -s conftest.err'
41297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41298 (eval $ac_try) 2>&5
41299 ac_status=$?
41300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41301 (exit $ac_status); }; } &&
41302 { ac_try='test -s conftest.$ac_objext'
41303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41304 (eval $ac_try) 2>&5
41305 ac_status=$?
41306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41307 (exit $ac_status); }; }; then
41308 ac_header_compiler=yes
41309 else
41310 echo "$as_me: failed program was:" >&5
41311 sed 's/^/| /' conftest.$ac_ext >&5
41313 ac_header_compiler=no
41315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41316 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41317 echo "${ECHO_T}$ac_header_compiler" >&6
41319 # Is the header present?
41320 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41321 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41322 cat >conftest.$ac_ext <<_ACEOF
41323 /* confdefs.h. */
41324 _ACEOF
41325 cat confdefs.h >>conftest.$ac_ext
41326 cat >>conftest.$ac_ext <<_ACEOF
41327 /* end confdefs.h. */
41328 #include <$ac_header>
41329 _ACEOF
41330 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41331 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41332 ac_status=$?
41333 grep -v '^ *+' conftest.er1 >conftest.err
41334 rm -f conftest.er1
41335 cat conftest.err >&5
41336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41337 (exit $ac_status); } >/dev/null; then
41338 if test -s conftest.err; then
41339 ac_cpp_err=$ac_cxx_preproc_warn_flag
41340 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41341 else
41342 ac_cpp_err=
41344 else
41345 ac_cpp_err=yes
41347 if test -z "$ac_cpp_err"; then
41348 ac_header_preproc=yes
41349 else
41350 echo "$as_me: failed program was:" >&5
41351 sed 's/^/| /' conftest.$ac_ext >&5
41353 ac_header_preproc=no
41355 rm -f conftest.err conftest.$ac_ext
41356 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41357 echo "${ECHO_T}$ac_header_preproc" >&6
41359 # So? What about this header?
41360 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41361 yes:no: )
41362 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41363 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41364 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41365 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41366 ac_header_preproc=yes
41368 no:yes:* )
41369 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41370 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41371 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41372 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41373 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41374 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41375 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41376 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41377 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41378 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41379 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41380 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41382 cat <<\_ASBOX
41383 ## ----------------------------------------- ##
41384 ## Report this to the package-unused lists. ##
41385 ## ----------------------------------------- ##
41386 _ASBOX
41388 sed "s/^/$as_me: WARNING: /" >&2
41390 esac
41391 echo "$as_me:$LINENO: checking for $ac_header" >&5
41392 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41393 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41394 echo $ECHO_N "(cached) $ECHO_C" >&6
41395 else
41396 eval "$as_ac_Header=\$ac_header_preproc"
41398 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41399 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41402 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41403 cat >>confdefs.h <<_ACEOF
41404 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41405 _ACEOF
41406 ac_has_unistd_h=yes
41407 else
41408 ac_has_unistd_h=no
41411 done
41414 ac_has_clock_monotonic=no;
41415 ac_has_clock_realtime=no;
41416 if test x"$ac_has_unistd_h" = x"yes"; then
41417 echo "$as_me:$LINENO: checking for monotonic clock" >&5
41418 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
41419 if test x$gcc_no_link = xyes; then
41420 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41421 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41422 { (exit 1); exit 1; }; }
41424 cat >conftest.$ac_ext <<_ACEOF
41425 /* confdefs.h. */
41426 _ACEOF
41427 cat confdefs.h >>conftest.$ac_ext
41428 cat >>conftest.$ac_ext <<_ACEOF
41429 /* end confdefs.h. */
41430 #include <unistd.h>
41431 #include <time.h>
41434 main ()
41436 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
41437 timespec tp;
41438 #endif
41439 clock_gettime(CLOCK_MONOTONIC, &tp);
41442 return 0;
41444 _ACEOF
41445 rm -f conftest.$ac_objext conftest$ac_exeext
41446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41447 (eval $ac_link) 2>conftest.er1
41448 ac_status=$?
41449 grep -v '^ *+' conftest.er1 >conftest.err
41450 rm -f conftest.er1
41451 cat conftest.err >&5
41452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41453 (exit $ac_status); } &&
41454 { ac_try='test -z "$ac_cxx_werror_flag"
41455 || test ! -s conftest.err'
41456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41457 (eval $ac_try) 2>&5
41458 ac_status=$?
41459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41460 (exit $ac_status); }; } &&
41461 { ac_try='test -s conftest$ac_exeext'
41462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41463 (eval $ac_try) 2>&5
41464 ac_status=$?
41465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41466 (exit $ac_status); }; }; then
41467 ac_has_clock_monotonic=yes
41468 else
41469 echo "$as_me: failed program was:" >&5
41470 sed 's/^/| /' conftest.$ac_ext >&5
41472 ac_has_clock_monotonic=no
41474 rm -f conftest.err conftest.$ac_objext \
41475 conftest$ac_exeext conftest.$ac_ext
41477 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
41478 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
41480 echo "$as_me:$LINENO: checking for realtime clock" >&5
41481 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
41482 if test x$gcc_no_link = xyes; then
41483 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41484 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41485 { (exit 1); exit 1; }; }
41487 cat >conftest.$ac_ext <<_ACEOF
41488 /* confdefs.h. */
41489 _ACEOF
41490 cat confdefs.h >>conftest.$ac_ext
41491 cat >>conftest.$ac_ext <<_ACEOF
41492 /* end confdefs.h. */
41493 #include <unistd.h>
41494 #include <time.h>
41497 main ()
41499 #if _POSIX_TIMERS > 0
41500 timespec tp;
41501 #endif
41502 clock_gettime(CLOCK_REALTIME, &tp);
41505 return 0;
41507 _ACEOF
41508 rm -f conftest.$ac_objext conftest$ac_exeext
41509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41510 (eval $ac_link) 2>conftest.er1
41511 ac_status=$?
41512 grep -v '^ *+' conftest.er1 >conftest.err
41513 rm -f conftest.er1
41514 cat conftest.err >&5
41515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41516 (exit $ac_status); } &&
41517 { ac_try='test -z "$ac_cxx_werror_flag"
41518 || test ! -s conftest.err'
41519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41520 (eval $ac_try) 2>&5
41521 ac_status=$?
41522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41523 (exit $ac_status); }; } &&
41524 { ac_try='test -s conftest$ac_exeext'
41525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41526 (eval $ac_try) 2>&5
41527 ac_status=$?
41528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41529 (exit $ac_status); }; }; then
41530 ac_has_clock_realtime=yes
41531 else
41532 echo "$as_me: failed program was:" >&5
41533 sed 's/^/| /' conftest.$ac_ext >&5
41535 ac_has_clock_realtime=no
41537 rm -f conftest.err conftest.$ac_objext \
41538 conftest$ac_exeext conftest.$ac_ext
41540 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
41541 echo "${ECHO_T}$ac_has_clock_realtime" >&6
41544 if test x"$ac_has_clock_monotonic" = x"yes"; then
41546 cat >>confdefs.h <<\_ACEOF
41547 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
41548 _ACEOF
41552 if test x"$ac_has_clock_realtime" = x"yes"; then
41554 cat >>confdefs.h <<\_ACEOF
41555 #define _GLIBCXX_USE_CLOCK_REALTIME 1
41556 _ACEOF
41562 CXXFLAGS="$ac_save_CXXFLAGS"
41563 LIBS="$ac_save_LIBS"
41564 ac_ext=c
41565 ac_cpp='$CPP $CPPFLAGS'
41566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41572 # For gettimeofday support.
41577 ac_ext=cc
41578 ac_cpp='$CXXCPP $CPPFLAGS'
41579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41583 ac_save_CXXFLAGS="$CXXFLAGS"
41584 CXXFLAGS="$CXXFLAGS -fno-exceptions"
41586 ac_has_gettimeofday=no;
41588 for ac_header in sys/time.h
41590 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
41591 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41592 echo "$as_me:$LINENO: checking for $ac_header" >&5
41593 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41594 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41595 echo $ECHO_N "(cached) $ECHO_C" >&6
41597 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41598 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41599 else
41600 # Is the header compilable?
41601 echo "$as_me:$LINENO: checking $ac_header usability" >&5
41602 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
41603 cat >conftest.$ac_ext <<_ACEOF
41604 /* confdefs.h. */
41605 _ACEOF
41606 cat confdefs.h >>conftest.$ac_ext
41607 cat >>conftest.$ac_ext <<_ACEOF
41608 /* end confdefs.h. */
41609 $ac_includes_default
41610 #include <$ac_header>
41611 _ACEOF
41612 rm -f conftest.$ac_objext
41613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
41614 (eval $ac_compile) 2>conftest.er1
41615 ac_status=$?
41616 grep -v '^ *+' conftest.er1 >conftest.err
41617 rm -f conftest.er1
41618 cat conftest.err >&5
41619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41620 (exit $ac_status); } &&
41621 { ac_try='test -z "$ac_cxx_werror_flag"
41622 || test ! -s conftest.err'
41623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41624 (eval $ac_try) 2>&5
41625 ac_status=$?
41626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41627 (exit $ac_status); }; } &&
41628 { ac_try='test -s conftest.$ac_objext'
41629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41630 (eval $ac_try) 2>&5
41631 ac_status=$?
41632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41633 (exit $ac_status); }; }; then
41634 ac_header_compiler=yes
41635 else
41636 echo "$as_me: failed program was:" >&5
41637 sed 's/^/| /' conftest.$ac_ext >&5
41639 ac_header_compiler=no
41641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
41642 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
41643 echo "${ECHO_T}$ac_header_compiler" >&6
41645 # Is the header present?
41646 echo "$as_me:$LINENO: checking $ac_header presence" >&5
41647 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
41648 cat >conftest.$ac_ext <<_ACEOF
41649 /* confdefs.h. */
41650 _ACEOF
41651 cat confdefs.h >>conftest.$ac_ext
41652 cat >>conftest.$ac_ext <<_ACEOF
41653 /* end confdefs.h. */
41654 #include <$ac_header>
41655 _ACEOF
41656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
41657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
41658 ac_status=$?
41659 grep -v '^ *+' conftest.er1 >conftest.err
41660 rm -f conftest.er1
41661 cat conftest.err >&5
41662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41663 (exit $ac_status); } >/dev/null; then
41664 if test -s conftest.err; then
41665 ac_cpp_err=$ac_cxx_preproc_warn_flag
41666 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
41667 else
41668 ac_cpp_err=
41670 else
41671 ac_cpp_err=yes
41673 if test -z "$ac_cpp_err"; then
41674 ac_header_preproc=yes
41675 else
41676 echo "$as_me: failed program was:" >&5
41677 sed 's/^/| /' conftest.$ac_ext >&5
41679 ac_header_preproc=no
41681 rm -f conftest.err conftest.$ac_ext
41682 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
41683 echo "${ECHO_T}$ac_header_preproc" >&6
41685 # So? What about this header?
41686 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
41687 yes:no: )
41688 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
41689 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
41690 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
41691 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
41692 ac_header_preproc=yes
41694 no:yes:* )
41695 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
41696 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
41697 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
41698 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
41699 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
41700 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
41701 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
41702 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
41703 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
41704 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
41705 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
41706 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
41708 cat <<\_ASBOX
41709 ## ----------------------------------------- ##
41710 ## Report this to the package-unused lists. ##
41711 ## ----------------------------------------- ##
41712 _ASBOX
41714 sed "s/^/$as_me: WARNING: /" >&2
41716 esac
41717 echo "$as_me:$LINENO: checking for $ac_header" >&5
41718 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
41719 if eval "test \"\${$as_ac_Header+set}\" = set"; then
41720 echo $ECHO_N "(cached) $ECHO_C" >&6
41721 else
41722 eval "$as_ac_Header=\$ac_header_preproc"
41724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
41725 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
41728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
41729 cat >>confdefs.h <<_ACEOF
41730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
41731 _ACEOF
41732 ac_has_sys_time_h=yes
41733 else
41734 ac_has_sys_time_h=no
41737 done
41739 if test x"$ac_has_sys_time_h" = x"yes"; then
41740 echo "$as_me:$LINENO: checking for gettimeofday" >&5
41741 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
41742 if test x$gcc_no_link = xyes; then
41743 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41744 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41745 { (exit 1); exit 1; }; }
41747 cat >conftest.$ac_ext <<_ACEOF
41748 /* confdefs.h. */
41749 _ACEOF
41750 cat confdefs.h >>conftest.$ac_ext
41751 cat >>conftest.$ac_ext <<_ACEOF
41752 /* end confdefs.h. */
41753 #include <sys/time.h>
41755 main ()
41757 timeval tv; gettimeofday(&tv, 0);
41759 return 0;
41761 _ACEOF
41762 rm -f conftest.$ac_objext conftest$ac_exeext
41763 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41764 (eval $ac_link) 2>conftest.er1
41765 ac_status=$?
41766 grep -v '^ *+' conftest.er1 >conftest.err
41767 rm -f conftest.er1
41768 cat conftest.err >&5
41769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41770 (exit $ac_status); } &&
41771 { ac_try='test -z "$ac_cxx_werror_flag"
41772 || test ! -s conftest.err'
41773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41774 (eval $ac_try) 2>&5
41775 ac_status=$?
41776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41777 (exit $ac_status); }; } &&
41778 { ac_try='test -s conftest$ac_exeext'
41779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41780 (eval $ac_try) 2>&5
41781 ac_status=$?
41782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41783 (exit $ac_status); }; }; then
41784 ac_has_gettimeofday=yes
41785 else
41786 echo "$as_me: failed program was:" >&5
41787 sed 's/^/| /' conftest.$ac_ext >&5
41789 ac_has_gettimeofday=no
41791 rm -f conftest.err conftest.$ac_objext \
41792 conftest$ac_exeext conftest.$ac_ext
41794 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
41795 echo "${ECHO_T}$ac_has_gettimeofday" >&6
41798 if test x"$ac_has_gettimeofday" = x"yes"; then
41800 cat >>confdefs.h <<\_ACEOF
41801 #define _GLIBCXX_USE_GETTIMEOFDAY 1
41802 _ACEOF
41806 CXXFLAGS="$ac_save_CXXFLAGS"
41807 ac_ext=c
41808 ac_cpp='$CPP $CPPFLAGS'
41809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41815 # For TLS support.
41817 # Check whether --enable-tls or --disable-tls was given.
41818 if test "${enable_tls+set}" = set; then
41819 enableval="$enable_tls"
41821 case "$enableval" in
41822 yes|no) ;;
41823 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41824 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41825 { (exit 1); exit 1; }; } ;;
41826 esac
41828 else
41829 enable_tls=yes
41832 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41833 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41834 if test "${gcc_cv_have_tls+set}" = set; then
41835 echo $ECHO_N "(cached) $ECHO_C" >&6
41836 else
41838 if test "$cross_compiling" = yes; then
41839 if test x$gcc_no_link = xyes; then
41840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41842 { (exit 1); exit 1; }; }
41844 cat >conftest.$ac_ext <<_ACEOF
41845 __thread int a; int b; int main() { return a = b; }
41846 _ACEOF
41847 rm -f conftest.$ac_objext conftest$ac_exeext
41848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41849 (eval $ac_link) 2>conftest.er1
41850 ac_status=$?
41851 grep -v '^ *+' conftest.er1 >conftest.err
41852 rm -f conftest.er1
41853 cat conftest.err >&5
41854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41855 (exit $ac_status); } &&
41856 { ac_try='test -z "$ac_c_werror_flag"
41857 || test ! -s conftest.err'
41858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41859 (eval $ac_try) 2>&5
41860 ac_status=$?
41861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41862 (exit $ac_status); }; } &&
41863 { ac_try='test -s conftest$ac_exeext'
41864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41865 (eval $ac_try) 2>&5
41866 ac_status=$?
41867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41868 (exit $ac_status); }; }; then
41869 gcc_cv_have_tls=yes
41870 else
41871 echo "$as_me: failed program was:" >&5
41872 sed 's/^/| /' conftest.$ac_ext >&5
41874 gcc_cv_have_tls=no
41876 rm -f conftest.err conftest.$ac_objext \
41877 conftest$ac_exeext conftest.$ac_ext
41880 else
41881 cat >conftest.$ac_ext <<_ACEOF
41882 __thread int a; int b; int main() { return a = b; }
41883 _ACEOF
41884 rm -f conftest$ac_exeext
41885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41886 (eval $ac_link) 2>&5
41887 ac_status=$?
41888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41889 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41891 (eval $ac_try) 2>&5
41892 ac_status=$?
41893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41894 (exit $ac_status); }; }; then
41895 chktls_save_LDFLAGS="$LDFLAGS"
41896 LDFLAGS="-static $LDFLAGS"
41897 if test x$gcc_no_link = xyes; then
41898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41900 { (exit 1); exit 1; }; }
41902 cat >conftest.$ac_ext <<_ACEOF
41903 int main() { return 0; }
41904 _ACEOF
41905 rm -f conftest.$ac_objext conftest$ac_exeext
41906 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41907 (eval $ac_link) 2>conftest.er1
41908 ac_status=$?
41909 grep -v '^ *+' conftest.er1 >conftest.err
41910 rm -f conftest.er1
41911 cat conftest.err >&5
41912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41913 (exit $ac_status); } &&
41914 { ac_try='test -z "$ac_c_werror_flag"
41915 || test ! -s conftest.err'
41916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41917 (eval $ac_try) 2>&5
41918 ac_status=$?
41919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41920 (exit $ac_status); }; } &&
41921 { ac_try='test -s conftest$ac_exeext'
41922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41923 (eval $ac_try) 2>&5
41924 ac_status=$?
41925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41926 (exit $ac_status); }; }; then
41927 if test "$cross_compiling" = yes; then
41928 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41929 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41930 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41931 See \`config.log' for more details." >&5
41932 echo "$as_me: error: cannot run test program while cross compiling
41933 See \`config.log' for more details." >&2;}
41934 { (exit 1); exit 1; }; }; }
41935 else
41936 cat >conftest.$ac_ext <<_ACEOF
41937 __thread int a; int b; int main() { return a = b; }
41938 _ACEOF
41939 rm -f conftest$ac_exeext
41940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41941 (eval $ac_link) 2>&5
41942 ac_status=$?
41943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41944 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41946 (eval $ac_try) 2>&5
41947 ac_status=$?
41948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41949 (exit $ac_status); }; }; then
41950 gcc_cv_have_tls=yes
41951 else
41952 echo "$as_me: program exited with status $ac_status" >&5
41953 echo "$as_me: failed program was:" >&5
41954 sed 's/^/| /' conftest.$ac_ext >&5
41956 ( exit $ac_status )
41957 gcc_cv_have_tls=no
41959 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41961 else
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.$ac_ext >&5
41965 gcc_cv_have_tls=yes
41967 rm -f conftest.err conftest.$ac_objext \
41968 conftest$ac_exeext conftest.$ac_ext
41969 LDFLAGS="$chktls_save_LDFLAGS"
41970 if test $gcc_cv_have_tls = yes; then
41971 chktls_save_CFLAGS="$CFLAGS"
41972 thread_CFLAGS=failed
41973 for flag in '' '-pthread' '-lpthread'; do
41974 CFLAGS="$flag $chktls_save_CFLAGS"
41975 if test x$gcc_no_link = xyes; then
41976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41978 { (exit 1); exit 1; }; }
41980 cat >conftest.$ac_ext <<_ACEOF
41981 /* confdefs.h. */
41982 _ACEOF
41983 cat confdefs.h >>conftest.$ac_ext
41984 cat >>conftest.$ac_ext <<_ACEOF
41985 /* end confdefs.h. */
41986 #include <pthread.h>
41987 void *g(void *d) { return NULL; }
41989 main ()
41991 pthread_t t; pthread_create(&t,NULL,g,NULL);
41993 return 0;
41995 _ACEOF
41996 rm -f conftest.$ac_objext conftest$ac_exeext
41997 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41998 (eval $ac_link) 2>conftest.er1
41999 ac_status=$?
42000 grep -v '^ *+' conftest.er1 >conftest.err
42001 rm -f conftest.er1
42002 cat conftest.err >&5
42003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42004 (exit $ac_status); } &&
42005 { ac_try='test -z "$ac_c_werror_flag"
42006 || test ! -s conftest.err'
42007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42008 (eval $ac_try) 2>&5
42009 ac_status=$?
42010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42011 (exit $ac_status); }; } &&
42012 { ac_try='test -s conftest$ac_exeext'
42013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42014 (eval $ac_try) 2>&5
42015 ac_status=$?
42016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42017 (exit $ac_status); }; }; then
42018 thread_CFLAGS="$flag"
42019 else
42020 echo "$as_me: failed program was:" >&5
42021 sed 's/^/| /' conftest.$ac_ext >&5
42024 rm -f conftest.err conftest.$ac_objext \
42025 conftest$ac_exeext conftest.$ac_ext
42026 if test "X$thread_CFLAGS" != Xfailed; then
42027 break
42029 done
42030 CFLAGS="$chktls_save_CFLAGS"
42031 if test "X$thread_CFLAGS" != Xfailed; then
42032 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
42033 if test "$cross_compiling" = yes; then
42034 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
42035 echo "$as_me: error: in \`$ac_pwd':" >&2;}
42036 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
42037 See \`config.log' for more details." >&5
42038 echo "$as_me: error: cannot run test program while cross compiling
42039 See \`config.log' for more details." >&2;}
42040 { (exit 1); exit 1; }; }; }
42041 else
42042 cat >conftest.$ac_ext <<_ACEOF
42043 /* confdefs.h. */
42044 _ACEOF
42045 cat confdefs.h >>conftest.$ac_ext
42046 cat >>conftest.$ac_ext <<_ACEOF
42047 /* end confdefs.h. */
42048 #include <pthread.h>
42049 __thread int a;
42050 static int *a_in_other_thread;
42051 static void *
42052 thread_func (void *arg)
42054 a_in_other_thread = &a;
42055 return (void *)0;
42058 main ()
42060 pthread_t thread;
42061 void *thread_retval;
42062 int *a_in_main_thread;
42063 if (pthread_create (&thread, (pthread_attr_t *)0,
42064 thread_func, (void *)0))
42065 return 0;
42066 a_in_main_thread = &a;
42067 if (pthread_join (thread, &thread_retval))
42068 return 0;
42069 return (a_in_other_thread == a_in_main_thread);
42071 return 0;
42073 _ACEOF
42074 rm -f conftest$ac_exeext
42075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42076 (eval $ac_link) 2>&5
42077 ac_status=$?
42078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42079 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42081 (eval $ac_try) 2>&5
42082 ac_status=$?
42083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42084 (exit $ac_status); }; }; then
42085 gcc_cv_have_tls=yes
42086 else
42087 echo "$as_me: program exited with status $ac_status" >&5
42088 echo "$as_me: failed program was:" >&5
42089 sed 's/^/| /' conftest.$ac_ext >&5
42091 ( exit $ac_status )
42092 gcc_cv_have_tls=no
42094 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42096 CFLAGS="$chktls_save_CFLAGS"
42099 else
42100 echo "$as_me: program exited with status $ac_status" >&5
42101 echo "$as_me: failed program was:" >&5
42102 sed 's/^/| /' conftest.$ac_ext >&5
42104 ( exit $ac_status )
42105 gcc_cv_have_tls=no
42107 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42110 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
42111 echo "${ECHO_T}$gcc_cv_have_tls" >&6
42112 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
42114 cat >>confdefs.h <<\_ACEOF
42115 #define HAVE_TLS 1
42116 _ACEOF
42120 # For _Unwind_GetIPInfo.
42124 ac_ext=cc
42125 ac_cpp='$CXXCPP $CPPFLAGS'
42126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42130 ac_save_CXXFLAGS="$CXXFLAGS"
42131 CXXFLAGS="$CXXFLAGS -fno-exceptions"
42132 echo "$as_me:$LINENO: checking for _Unwind_GetIPInfo" >&5
42133 echo $ECHO_N "checking for _Unwind_GetIPInfo... $ECHO_C" >&6
42134 if test "${gcc_cv_getipinfo+set}" = set; then
42135 echo $ECHO_N "(cached) $ECHO_C" >&6
42136 else
42138 if test x$gcc_no_link = xyes; then
42139 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42140 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42141 { (exit 1); exit 1; }; }
42143 cat >conftest.$ac_ext <<_ACEOF
42144 /* confdefs.h. */
42145 _ACEOF
42146 cat confdefs.h >>conftest.$ac_ext
42147 cat >>conftest.$ac_ext <<_ACEOF
42148 /* end confdefs.h. */
42149 extern "C" { extern void _Unwind_GetIPInfo(); }
42151 main ()
42153 _Unwind_GetIPInfo();
42155 return 0;
42157 _ACEOF
42158 rm -f conftest.$ac_objext conftest$ac_exeext
42159 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42160 (eval $ac_link) 2>conftest.er1
42161 ac_status=$?
42162 grep -v '^ *+' conftest.er1 >conftest.err
42163 rm -f conftest.er1
42164 cat conftest.err >&5
42165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42166 (exit $ac_status); } &&
42167 { ac_try='test -z "$ac_cxx_werror_flag"
42168 || test ! -s conftest.err'
42169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42170 (eval $ac_try) 2>&5
42171 ac_status=$?
42172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42173 (exit $ac_status); }; } &&
42174 { ac_try='test -s conftest$ac_exeext'
42175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42176 (eval $ac_try) 2>&5
42177 ac_status=$?
42178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42179 (exit $ac_status); }; }; then
42180 gcc_cv_getipinfo=yes
42181 else
42182 echo "$as_me: failed program was:" >&5
42183 sed 's/^/| /' conftest.$ac_ext >&5
42185 gcc_cv_getipinfo=no
42187 rm -f conftest.err conftest.$ac_objext \
42188 conftest$ac_exeext conftest.$ac_ext
42192 if test $gcc_cv_getipinfo = yes; then
42194 cat >>confdefs.h <<\_ACEOF
42195 #define HAVE_GETIPINFO 1
42196 _ACEOF
42199 echo "$as_me:$LINENO: result: $gcc_cv_getipinfo" >&5
42200 echo "${ECHO_T}$gcc_cv_getipinfo" >&6
42201 CXXFLAGS="$ac_save_CXXFLAGS"
42202 ac_ext=c
42203 ac_cpp='$CPP $CPPFLAGS'
42204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42211 if test "${ac_cv_header_locale_h+set}" = set; then
42212 echo "$as_me:$LINENO: checking for locale.h" >&5
42213 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42214 if test "${ac_cv_header_locale_h+set}" = set; then
42215 echo $ECHO_N "(cached) $ECHO_C" >&6
42217 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42218 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42219 else
42220 # Is the header compilable?
42221 echo "$as_me:$LINENO: checking locale.h usability" >&5
42222 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
42223 cat >conftest.$ac_ext <<_ACEOF
42224 /* confdefs.h. */
42225 _ACEOF
42226 cat confdefs.h >>conftest.$ac_ext
42227 cat >>conftest.$ac_ext <<_ACEOF
42228 /* end confdefs.h. */
42229 $ac_includes_default
42230 #include <locale.h>
42231 _ACEOF
42232 rm -f conftest.$ac_objext
42233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42234 (eval $ac_compile) 2>conftest.er1
42235 ac_status=$?
42236 grep -v '^ *+' conftest.er1 >conftest.err
42237 rm -f conftest.er1
42238 cat conftest.err >&5
42239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42240 (exit $ac_status); } &&
42241 { ac_try='test -z "$ac_c_werror_flag"
42242 || test ! -s conftest.err'
42243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42244 (eval $ac_try) 2>&5
42245 ac_status=$?
42246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42247 (exit $ac_status); }; } &&
42248 { ac_try='test -s conftest.$ac_objext'
42249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42250 (eval $ac_try) 2>&5
42251 ac_status=$?
42252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42253 (exit $ac_status); }; }; then
42254 ac_header_compiler=yes
42255 else
42256 echo "$as_me: failed program was:" >&5
42257 sed 's/^/| /' conftest.$ac_ext >&5
42259 ac_header_compiler=no
42261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42262 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42263 echo "${ECHO_T}$ac_header_compiler" >&6
42265 # Is the header present?
42266 echo "$as_me:$LINENO: checking locale.h presence" >&5
42267 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
42268 cat >conftest.$ac_ext <<_ACEOF
42269 /* confdefs.h. */
42270 _ACEOF
42271 cat confdefs.h >>conftest.$ac_ext
42272 cat >>conftest.$ac_ext <<_ACEOF
42273 /* end confdefs.h. */
42274 #include <locale.h>
42275 _ACEOF
42276 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42277 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42278 ac_status=$?
42279 grep -v '^ *+' conftest.er1 >conftest.err
42280 rm -f conftest.er1
42281 cat conftest.err >&5
42282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42283 (exit $ac_status); } >/dev/null; then
42284 if test -s conftest.err; then
42285 ac_cpp_err=$ac_c_preproc_warn_flag
42286 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42287 else
42288 ac_cpp_err=
42290 else
42291 ac_cpp_err=yes
42293 if test -z "$ac_cpp_err"; then
42294 ac_header_preproc=yes
42295 else
42296 echo "$as_me: failed program was:" >&5
42297 sed 's/^/| /' conftest.$ac_ext >&5
42299 ac_header_preproc=no
42301 rm -f conftest.err conftest.$ac_ext
42302 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42303 echo "${ECHO_T}$ac_header_preproc" >&6
42305 # So? What about this header?
42306 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42307 yes:no: )
42308 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
42309 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
42310 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
42311 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
42312 ac_header_preproc=yes
42314 no:yes:* )
42315 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
42316 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
42317 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
42318 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
42319 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
42320 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
42321 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
42322 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
42323 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
42324 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
42325 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
42326 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
42328 cat <<\_ASBOX
42329 ## ----------------------------------------- ##
42330 ## Report this to the package-unused lists. ##
42331 ## ----------------------------------------- ##
42332 _ASBOX
42334 sed "s/^/$as_me: WARNING: /" >&2
42336 esac
42337 echo "$as_me:$LINENO: checking for locale.h" >&5
42338 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
42339 if test "${ac_cv_header_locale_h+set}" = set; then
42340 echo $ECHO_N "(cached) $ECHO_C" >&6
42341 else
42342 ac_cv_header_locale_h=$ac_header_preproc
42344 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
42345 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
42348 if test $ac_cv_header_locale_h = yes; then
42350 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
42351 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
42352 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
42353 echo $ECHO_N "(cached) $ECHO_C" >&6
42354 else
42355 if test x$gcc_no_link = xyes; then
42356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42358 { (exit 1); exit 1; }; }
42360 cat >conftest.$ac_ext <<_ACEOF
42361 /* confdefs.h. */
42362 _ACEOF
42363 cat confdefs.h >>conftest.$ac_ext
42364 cat >>conftest.$ac_ext <<_ACEOF
42365 /* end confdefs.h. */
42366 #include <locale.h>
42368 main ()
42370 return LC_MESSAGES
42372 return 0;
42374 _ACEOF
42375 rm -f conftest.$ac_objext conftest$ac_exeext
42376 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42377 (eval $ac_link) 2>conftest.er1
42378 ac_status=$?
42379 grep -v '^ *+' conftest.er1 >conftest.err
42380 rm -f conftest.er1
42381 cat conftest.err >&5
42382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42383 (exit $ac_status); } &&
42384 { ac_try='test -z "$ac_c_werror_flag"
42385 || test ! -s conftest.err'
42386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42387 (eval $ac_try) 2>&5
42388 ac_status=$?
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; } &&
42391 { ac_try='test -s conftest$ac_exeext'
42392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42393 (eval $ac_try) 2>&5
42394 ac_status=$?
42395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42396 (exit $ac_status); }; }; then
42397 ac_cv_val_LC_MESSAGES=yes
42398 else
42399 echo "$as_me: failed program was:" >&5
42400 sed 's/^/| /' conftest.$ac_ext >&5
42402 ac_cv_val_LC_MESSAGES=no
42404 rm -f conftest.err conftest.$ac_objext \
42405 conftest$ac_exeext conftest.$ac_ext
42407 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
42408 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
42409 if test $ac_cv_val_LC_MESSAGES = yes; then
42411 cat >>confdefs.h <<\_ACEOF
42412 #define HAVE_LC_MESSAGES 1
42413 _ACEOF
42422 cat >conftest.$ac_ext <<_ACEOF
42423 /* confdefs.h. */
42424 _ACEOF
42425 cat confdefs.h >>conftest.$ac_ext
42426 cat >>conftest.$ac_ext <<_ACEOF
42427 /* end confdefs.h. */
42428 #include <setjmp.h>
42430 main ()
42432 sigjmp_buf env;
42433 while (! sigsetjmp (env, 1))
42434 siglongjmp (env, 1);
42437 return 0;
42439 _ACEOF
42440 rm -f conftest.$ac_objext
42441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42442 (eval $ac_compile) 2>conftest.er1
42443 ac_status=$?
42444 grep -v '^ *+' conftest.er1 >conftest.err
42445 rm -f conftest.er1
42446 cat conftest.err >&5
42447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42448 (exit $ac_status); } &&
42449 { ac_try='test -z "$ac_c_werror_flag"
42450 || test ! -s conftest.err'
42451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42452 (eval $ac_try) 2>&5
42453 ac_status=$?
42454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42455 (exit $ac_status); }; } &&
42456 { ac_try='test -s conftest.$ac_objext'
42457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42458 (eval $ac_try) 2>&5
42459 ac_status=$?
42460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42461 (exit $ac_status); }; }; then
42463 cat >>confdefs.h <<\_ACEOF
42464 #define HAVE_SIGSETJMP 1
42465 _ACEOF
42467 else
42468 echo "$as_me: failed program was:" >&5
42469 sed 's/^/| /' conftest.$ac_ext >&5
42472 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42474 if test x$gcc_no_link = xyes; then
42475 if test "x${ac_cv_func_mmap_fixed_mapped+set}" != xset; then
42476 ac_cv_func_mmap_fixed_mapped=no
42479 if test "x${ac_cv_func_mmap_fixed_mapped}" != xno; then
42482 for ac_header in stdlib.h unistd.h
42484 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42485 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42486 echo "$as_me:$LINENO: checking for $ac_header" >&5
42487 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42488 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42489 echo $ECHO_N "(cached) $ECHO_C" >&6
42491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42492 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42493 else
42494 # Is the header compilable?
42495 echo "$as_me:$LINENO: checking $ac_header usability" >&5
42496 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
42497 cat >conftest.$ac_ext <<_ACEOF
42498 /* confdefs.h. */
42499 _ACEOF
42500 cat confdefs.h >>conftest.$ac_ext
42501 cat >>conftest.$ac_ext <<_ACEOF
42502 /* end confdefs.h. */
42503 $ac_includes_default
42504 #include <$ac_header>
42505 _ACEOF
42506 rm -f conftest.$ac_objext
42507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42508 (eval $ac_compile) 2>conftest.er1
42509 ac_status=$?
42510 grep -v '^ *+' conftest.er1 >conftest.err
42511 rm -f conftest.er1
42512 cat conftest.err >&5
42513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42514 (exit $ac_status); } &&
42515 { ac_try='test -z "$ac_c_werror_flag"
42516 || test ! -s conftest.err'
42517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42518 (eval $ac_try) 2>&5
42519 ac_status=$?
42520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42521 (exit $ac_status); }; } &&
42522 { ac_try='test -s conftest.$ac_objext'
42523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42524 (eval $ac_try) 2>&5
42525 ac_status=$?
42526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42527 (exit $ac_status); }; }; then
42528 ac_header_compiler=yes
42529 else
42530 echo "$as_me: failed program was:" >&5
42531 sed 's/^/| /' conftest.$ac_ext >&5
42533 ac_header_compiler=no
42535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42536 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
42537 echo "${ECHO_T}$ac_header_compiler" >&6
42539 # Is the header present?
42540 echo "$as_me:$LINENO: checking $ac_header presence" >&5
42541 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
42542 cat >conftest.$ac_ext <<_ACEOF
42543 /* confdefs.h. */
42544 _ACEOF
42545 cat confdefs.h >>conftest.$ac_ext
42546 cat >>conftest.$ac_ext <<_ACEOF
42547 /* end confdefs.h. */
42548 #include <$ac_header>
42549 _ACEOF
42550 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
42551 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
42552 ac_status=$?
42553 grep -v '^ *+' conftest.er1 >conftest.err
42554 rm -f conftest.er1
42555 cat conftest.err >&5
42556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42557 (exit $ac_status); } >/dev/null; then
42558 if test -s conftest.err; then
42559 ac_cpp_err=$ac_c_preproc_warn_flag
42560 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
42561 else
42562 ac_cpp_err=
42564 else
42565 ac_cpp_err=yes
42567 if test -z "$ac_cpp_err"; then
42568 ac_header_preproc=yes
42569 else
42570 echo "$as_me: failed program was:" >&5
42571 sed 's/^/| /' conftest.$ac_ext >&5
42573 ac_header_preproc=no
42575 rm -f conftest.err conftest.$ac_ext
42576 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
42577 echo "${ECHO_T}$ac_header_preproc" >&6
42579 # So? What about this header?
42580 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
42581 yes:no: )
42582 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
42583 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
42584 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
42585 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
42586 ac_header_preproc=yes
42588 no:yes:* )
42589 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
42590 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
42591 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
42592 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
42593 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
42594 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
42595 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
42596 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
42597 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
42598 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
42599 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
42600 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
42602 cat <<\_ASBOX
42603 ## ----------------------------------------- ##
42604 ## Report this to the package-unused lists. ##
42605 ## ----------------------------------------- ##
42606 _ASBOX
42608 sed "s/^/$as_me: WARNING: /" >&2
42610 esac
42611 echo "$as_me:$LINENO: checking for $ac_header" >&5
42612 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
42613 if eval "test \"\${$as_ac_Header+set}\" = set"; then
42614 echo $ECHO_N "(cached) $ECHO_C" >&6
42615 else
42616 eval "$as_ac_Header=\$ac_header_preproc"
42618 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
42619 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
42622 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42623 cat >>confdefs.h <<_ACEOF
42624 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42625 _ACEOF
42629 done
42632 for ac_func in getpagesize
42634 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42635 echo "$as_me:$LINENO: checking for $ac_func" >&5
42636 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42637 if eval "test \"\${$as_ac_var+set}\" = set"; then
42638 echo $ECHO_N "(cached) $ECHO_C" >&6
42639 else
42640 if test x$gcc_no_link = xyes; then
42641 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42642 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42643 { (exit 1); exit 1; }; }
42645 cat >conftest.$ac_ext <<_ACEOF
42646 /* confdefs.h. */
42647 _ACEOF
42648 cat confdefs.h >>conftest.$ac_ext
42649 cat >>conftest.$ac_ext <<_ACEOF
42650 /* end confdefs.h. */
42651 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42652 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42653 #define $ac_func innocuous_$ac_func
42655 /* System header to define __stub macros and hopefully few prototypes,
42656 which can conflict with char $ac_func (); below.
42657 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42658 <limits.h> exists even on freestanding compilers. */
42660 #ifdef __STDC__
42661 # include <limits.h>
42662 #else
42663 # include <assert.h>
42664 #endif
42666 #undef $ac_func
42668 /* Override any gcc2 internal prototype to avoid an error. */
42669 #ifdef __cplusplus
42670 extern "C"
42672 #endif
42673 /* We use char because int might match the return type of a gcc2
42674 builtin and then its argument prototype would still apply. */
42675 char $ac_func ();
42676 /* The GNU C library defines this for functions which it implements
42677 to always fail with ENOSYS. Some functions are actually named
42678 something starting with __ and the normal name is an alias. */
42679 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42680 choke me
42681 #else
42682 char (*f) () = $ac_func;
42683 #endif
42684 #ifdef __cplusplus
42686 #endif
42689 main ()
42691 return f != $ac_func;
42693 return 0;
42695 _ACEOF
42696 rm -f conftest.$ac_objext conftest$ac_exeext
42697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42698 (eval $ac_link) 2>conftest.er1
42699 ac_status=$?
42700 grep -v '^ *+' conftest.er1 >conftest.err
42701 rm -f conftest.er1
42702 cat conftest.err >&5
42703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42704 (exit $ac_status); } &&
42705 { ac_try='test -z "$ac_c_werror_flag"
42706 || test ! -s conftest.err'
42707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42708 (eval $ac_try) 2>&5
42709 ac_status=$?
42710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42711 (exit $ac_status); }; } &&
42712 { ac_try='test -s conftest$ac_exeext'
42713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42714 (eval $ac_try) 2>&5
42715 ac_status=$?
42716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42717 (exit $ac_status); }; }; then
42718 eval "$as_ac_var=yes"
42719 else
42720 echo "$as_me: failed program was:" >&5
42721 sed 's/^/| /' conftest.$ac_ext >&5
42723 eval "$as_ac_var=no"
42725 rm -f conftest.err conftest.$ac_objext \
42726 conftest$ac_exeext conftest.$ac_ext
42728 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42729 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42730 if test `eval echo '${'$as_ac_var'}'` = yes; then
42731 cat >>confdefs.h <<_ACEOF
42732 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42733 _ACEOF
42736 done
42738 echo "$as_me:$LINENO: checking for working mmap" >&5
42739 echo $ECHO_N "checking for working mmap... $ECHO_C" >&6
42740 if test "${ac_cv_func_mmap_fixed_mapped+set}" = set; then
42741 echo $ECHO_N "(cached) $ECHO_C" >&6
42742 else
42743 if test "$cross_compiling" = yes; then
42744 ac_cv_func_mmap_fixed_mapped=no
42745 else
42746 cat >conftest.$ac_ext <<_ACEOF
42747 /* confdefs.h. */
42748 _ACEOF
42749 cat confdefs.h >>conftest.$ac_ext
42750 cat >>conftest.$ac_ext <<_ACEOF
42751 /* end confdefs.h. */
42752 $ac_includes_default
42753 /* malloc might have been renamed as rpl_malloc. */
42754 #undef malloc
42756 /* Thanks to Mike Haertel and Jim Avera for this test.
42757 Here is a matrix of mmap possibilities:
42758 mmap private not fixed
42759 mmap private fixed at somewhere currently unmapped
42760 mmap private fixed at somewhere already mapped
42761 mmap shared not fixed
42762 mmap shared fixed at somewhere currently unmapped
42763 mmap shared fixed at somewhere already mapped
42764 For private mappings, we should verify that changes cannot be read()
42765 back from the file, nor mmap's back from the file at a different
42766 address. (There have been systems where private was not correctly
42767 implemented like the infamous i386 svr4.0, and systems where the
42768 VM page cache was not coherent with the file system buffer cache
42769 like early versions of FreeBSD and possibly contemporary NetBSD.)
42770 For shared mappings, we should conversely verify that changes get
42771 propagated back to all the places they're supposed to be.
42773 Grep wants private fixed already mapped.
42774 The main things grep needs to know about mmap are:
42775 * does it exist and is it safe to write into the mmap'd area
42776 * how to use it (BSD variants) */
42778 #include <fcntl.h>
42779 #include <sys/mman.h>
42781 #if !STDC_HEADERS && !HAVE_STDLIB_H
42782 char *malloc ();
42783 #endif
42785 /* This mess was copied from the GNU getpagesize.h. */
42786 #if !HAVE_GETPAGESIZE
42787 /* Assume that all systems that can run configure have sys/param.h. */
42788 # if !HAVE_SYS_PARAM_H
42789 # define HAVE_SYS_PARAM_H 1
42790 # endif
42792 # ifdef _SC_PAGESIZE
42793 # define getpagesize() sysconf(_SC_PAGESIZE)
42794 # else /* no _SC_PAGESIZE */
42795 # if HAVE_SYS_PARAM_H
42796 # include <sys/param.h>
42797 # ifdef EXEC_PAGESIZE
42798 # define getpagesize() EXEC_PAGESIZE
42799 # else /* no EXEC_PAGESIZE */
42800 # ifdef NBPG
42801 # define getpagesize() NBPG * CLSIZE
42802 # ifndef CLSIZE
42803 # define CLSIZE 1
42804 # endif /* no CLSIZE */
42805 # else /* no NBPG */
42806 # ifdef NBPC
42807 # define getpagesize() NBPC
42808 # else /* no NBPC */
42809 # ifdef PAGESIZE
42810 # define getpagesize() PAGESIZE
42811 # endif /* PAGESIZE */
42812 # endif /* no NBPC */
42813 # endif /* no NBPG */
42814 # endif /* no EXEC_PAGESIZE */
42815 # else /* no HAVE_SYS_PARAM_H */
42816 # define getpagesize() 8192 /* punt totally */
42817 # endif /* no HAVE_SYS_PARAM_H */
42818 # endif /* no _SC_PAGESIZE */
42820 #endif /* no HAVE_GETPAGESIZE */
42823 main ()
42825 char *data, *data2, *data3;
42826 int i, pagesize;
42827 int fd;
42829 pagesize = getpagesize ();
42831 /* First, make a file with some known garbage in it. */
42832 data = (char *) malloc (pagesize);
42833 if (!data)
42834 exit (1);
42835 for (i = 0; i < pagesize; ++i)
42836 *(data + i) = rand ();
42837 umask (0);
42838 fd = creat ("conftest.mmap", 0600);
42839 if (fd < 0)
42840 exit (1);
42841 if (write (fd, data, pagesize) != pagesize)
42842 exit (1);
42843 close (fd);
42845 /* Next, try to mmap the file at a fixed address which already has
42846 something else allocated at it. If we can, also make sure that
42847 we see the same garbage. */
42848 fd = open ("conftest.mmap", O_RDWR);
42849 if (fd < 0)
42850 exit (1);
42851 data2 = (char *) malloc (2 * pagesize);
42852 if (!data2)
42853 exit (1);
42854 data2 += (pagesize - ((long) data2 & (pagesize - 1))) & (pagesize - 1);
42855 if (data2 != mmap (data2, pagesize, PROT_READ | PROT_WRITE,
42856 MAP_PRIVATE | MAP_FIXED, fd, 0L))
42857 exit (1);
42858 for (i = 0; i < pagesize; ++i)
42859 if (*(data + i) != *(data2 + i))
42860 exit (1);
42862 /* Finally, make sure that changes to the mapped area do not
42863 percolate back to the file as seen by read(). (This is a bug on
42864 some variants of i386 svr4.0.) */
42865 for (i = 0; i < pagesize; ++i)
42866 *(data2 + i) = *(data2 + i) + 1;
42867 data3 = (char *) malloc (pagesize);
42868 if (!data3)
42869 exit (1);
42870 if (read (fd, data3, pagesize) != pagesize)
42871 exit (1);
42872 for (i = 0; i < pagesize; ++i)
42873 if (*(data + i) != *(data3 + i))
42874 exit (1);
42875 close (fd);
42876 exit (0);
42878 _ACEOF
42879 rm -f conftest$ac_exeext
42880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42881 (eval $ac_link) 2>&5
42882 ac_status=$?
42883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42886 (eval $ac_try) 2>&5
42887 ac_status=$?
42888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42889 (exit $ac_status); }; }; then
42890 ac_cv_func_mmap_fixed_mapped=yes
42891 else
42892 echo "$as_me: program exited with status $ac_status" >&5
42893 echo "$as_me: failed program was:" >&5
42894 sed 's/^/| /' conftest.$ac_ext >&5
42896 ( exit $ac_status )
42897 ac_cv_func_mmap_fixed_mapped=no
42899 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42902 echo "$as_me:$LINENO: result: $ac_cv_func_mmap_fixed_mapped" >&5
42903 echo "${ECHO_T}$ac_cv_func_mmap_fixed_mapped" >&6
42904 if test $ac_cv_func_mmap_fixed_mapped = yes; then
42906 cat >>confdefs.h <<\_ACEOF
42907 #define HAVE_MMAP 1
42908 _ACEOF
42911 rm -f conftest.mmap
42915 # For iconv support.
42917 if test "X$prefix" = "XNONE"; then
42918 acl_final_prefix="$ac_default_prefix"
42919 else
42920 acl_final_prefix="$prefix"
42922 if test "X$exec_prefix" = "XNONE"; then
42923 acl_final_exec_prefix='${prefix}'
42924 else
42925 acl_final_exec_prefix="$exec_prefix"
42927 acl_save_prefix="$prefix"
42928 prefix="$acl_final_prefix"
42929 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
42930 prefix="$acl_save_prefix"
42933 # Check whether --with-gnu-ld or --without-gnu-ld was given.
42934 if test "${with_gnu_ld+set}" = set; then
42935 withval="$with_gnu_ld"
42936 test "$withval" = no || with_gnu_ld=yes
42937 else
42938 with_gnu_ld=no
42940 # Prepare PATH_SEPARATOR.
42941 # The user is always right.
42942 if test "${PATH_SEPARATOR+set}" != set; then
42943 echo "#! /bin/sh" >conf$$.sh
42944 echo "exit 0" >>conf$$.sh
42945 chmod +x conf$$.sh
42946 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
42947 PATH_SEPARATOR=';'
42948 else
42949 PATH_SEPARATOR=:
42951 rm -f conf$$.sh
42953 ac_prog=ld
42954 if test "$GCC" = yes; then
42955 # Check if gcc -print-prog-name=ld gives a path.
42956 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
42957 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
42958 case $host in
42959 *-*-mingw*)
42960 # gcc leaves a trailing carriage return which upsets mingw
42961 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
42963 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
42964 esac
42965 case $ac_prog in
42966 # Accept absolute paths.
42967 [\\/]* | [A-Za-z]:[\\/]*)
42968 re_direlt='/[^/][^/]*/\.\./'
42969 # Canonicalize the path of ld
42970 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
42971 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
42972 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
42973 done
42974 test -z "$LD" && LD="$ac_prog"
42977 # If it fails, then pretend we aren't using GCC.
42978 ac_prog=ld
42981 # If it is relative, then search for the first ld in PATH.
42982 with_gnu_ld=unknown
42984 esac
42985 elif test "$with_gnu_ld" = yes; then
42986 echo "$as_me:$LINENO: checking for GNU ld" >&5
42987 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
42988 else
42989 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
42990 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
42992 if test "${acl_cv_path_LD+set}" = set; then
42993 echo $ECHO_N "(cached) $ECHO_C" >&6
42994 else
42995 if test -z "$LD"; then
42996 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
42997 for ac_dir in $PATH; do
42998 test -z "$ac_dir" && ac_dir=.
42999 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
43000 acl_cv_path_LD="$ac_dir/$ac_prog"
43001 # Check to see if the program is GNU ld. I'd rather use --version,
43002 # but apparently some GNU ld's only accept -v.
43003 # Break only if it was the GNU/non-GNU ld that we prefer.
43004 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
43005 test "$with_gnu_ld" != no && break
43006 else
43007 test "$with_gnu_ld" != yes && break
43010 done
43011 IFS="$ac_save_ifs"
43012 else
43013 acl_cv_path_LD="$LD" # Let the user override the test with a path.
43017 LD="$acl_cv_path_LD"
43018 if test -n "$LD"; then
43019 echo "$as_me:$LINENO: result: $LD" >&5
43020 echo "${ECHO_T}$LD" >&6
43021 else
43022 echo "$as_me:$LINENO: result: no" >&5
43023 echo "${ECHO_T}no" >&6
43025 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
43026 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
43027 { (exit 1); exit 1; }; }
43028 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
43029 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
43030 if test "${acl_cv_prog_gnu_ld+set}" = set; then
43031 echo $ECHO_N "(cached) $ECHO_C" >&6
43032 else
43033 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
43034 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
43035 acl_cv_prog_gnu_ld=yes
43036 else
43037 acl_cv_prog_gnu_ld=no
43040 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
43041 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
43042 with_gnu_ld=$acl_cv_prog_gnu_ld
43046 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
43047 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
43048 if test "${acl_cv_rpath+set}" = set; then
43049 echo $ECHO_N "(cached) $ECHO_C" >&6
43050 else
43052 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
43053 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
43054 . ./conftest.sh
43055 rm -f ./conftest.sh
43056 acl_cv_rpath=done
43059 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
43060 echo "${ECHO_T}$acl_cv_rpath" >&6
43061 wl="$acl_cv_wl"
43062 libext="$acl_cv_libext"
43063 shlibext="$acl_cv_shlibext"
43064 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
43065 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
43066 hardcode_direct="$acl_cv_hardcode_direct"
43067 hardcode_minus_L="$acl_cv_hardcode_minus_L"
43068 # Check whether --enable-rpath or --disable-rpath was given.
43069 if test "${enable_rpath+set}" = set; then
43070 enableval="$enable_rpath"
43072 else
43073 enable_rpath=yes
43082 use_additional=yes
43084 acl_save_prefix="$prefix"
43085 prefix="$acl_final_prefix"
43086 acl_save_exec_prefix="$exec_prefix"
43087 exec_prefix="$acl_final_exec_prefix"
43089 eval additional_includedir=\"$includedir\"
43090 eval additional_libdir=\"$libdir\"
43092 exec_prefix="$acl_save_exec_prefix"
43093 prefix="$acl_save_prefix"
43096 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
43097 if test "${with_libiconv_prefix+set}" = set; then
43098 withval="$with_libiconv_prefix"
43100 if test "X$withval" = "Xno"; then
43101 use_additional=no
43102 else
43103 if test "X$withval" = "X"; then
43105 acl_save_prefix="$prefix"
43106 prefix="$acl_final_prefix"
43107 acl_save_exec_prefix="$exec_prefix"
43108 exec_prefix="$acl_final_exec_prefix"
43110 eval additional_includedir=\"$includedir\"
43111 eval additional_libdir=\"$libdir\"
43113 exec_prefix="$acl_save_exec_prefix"
43114 prefix="$acl_save_prefix"
43116 else
43117 additional_includedir="$withval/include"
43118 additional_libdir="$withval/lib"
43123 LIBICONV=
43124 LTLIBICONV=
43125 INCICONV=
43126 rpathdirs=
43127 ltrpathdirs=
43128 names_already_handled=
43129 names_next_round='iconv '
43130 while test -n "$names_next_round"; do
43131 names_this_round="$names_next_round"
43132 names_next_round=
43133 for name in $names_this_round; do
43134 already_handled=
43135 for n in $names_already_handled; do
43136 if test "$n" = "$name"; then
43137 already_handled=yes
43138 break
43140 done
43141 if test -z "$already_handled"; then
43142 names_already_handled="$names_already_handled $name"
43143 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
43144 eval value=\"\$HAVE_LIB$uppername\"
43145 if test -n "$value"; then
43146 if test "$value" = yes; then
43147 eval value=\"\$LIB$uppername\"
43148 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
43149 eval value=\"\$LTLIB$uppername\"
43150 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
43151 else
43154 else
43155 found_dir=
43156 found_la=
43157 found_so=
43158 found_a=
43159 if test $use_additional = yes; then
43160 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
43161 found_dir="$additional_libdir"
43162 found_so="$additional_libdir/lib$name.$shlibext"
43163 if test -f "$additional_libdir/lib$name.la"; then
43164 found_la="$additional_libdir/lib$name.la"
43166 else
43167 if test -f "$additional_libdir/lib$name.$libext"; then
43168 found_dir="$additional_libdir"
43169 found_a="$additional_libdir/lib$name.$libext"
43170 if test -f "$additional_libdir/lib$name.la"; then
43171 found_la="$additional_libdir/lib$name.la"
43176 if test "X$found_dir" = "X"; then
43177 for x in $LDFLAGS $LTLIBICONV; do
43179 acl_save_prefix="$prefix"
43180 prefix="$acl_final_prefix"
43181 acl_save_exec_prefix="$exec_prefix"
43182 exec_prefix="$acl_final_exec_prefix"
43183 eval x=\"$x\"
43184 exec_prefix="$acl_save_exec_prefix"
43185 prefix="$acl_save_prefix"
43187 case "$x" in
43188 -L*)
43189 dir=`echo "X$x" | sed -e 's/^X-L//'`
43190 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
43191 found_dir="$dir"
43192 found_so="$dir/lib$name.$shlibext"
43193 if test -f "$dir/lib$name.la"; then
43194 found_la="$dir/lib$name.la"
43196 else
43197 if test -f "$dir/lib$name.$libext"; then
43198 found_dir="$dir"
43199 found_a="$dir/lib$name.$libext"
43200 if test -f "$dir/lib$name.la"; then
43201 found_la="$dir/lib$name.la"
43206 esac
43207 if test "X$found_dir" != "X"; then
43208 break
43210 done
43212 if test "X$found_dir" != "X"; then
43213 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
43214 if test "X$found_so" != "X"; then
43215 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
43216 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43217 else
43218 haveit=
43219 for x in $ltrpathdirs; do
43220 if test "X$x" = "X$found_dir"; then
43221 haveit=yes
43222 break
43224 done
43225 if test -z "$haveit"; then
43226 ltrpathdirs="$ltrpathdirs $found_dir"
43228 if test "$hardcode_direct" = yes; then
43229 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43230 else
43231 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
43232 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43233 haveit=
43234 for x in $rpathdirs; do
43235 if test "X$x" = "X$found_dir"; then
43236 haveit=yes
43237 break
43239 done
43240 if test -z "$haveit"; then
43241 rpathdirs="$rpathdirs $found_dir"
43243 else
43244 haveit=
43245 for x in $LDFLAGS $LIBICONV; do
43247 acl_save_prefix="$prefix"
43248 prefix="$acl_final_prefix"
43249 acl_save_exec_prefix="$exec_prefix"
43250 exec_prefix="$acl_final_exec_prefix"
43251 eval x=\"$x\"
43252 exec_prefix="$acl_save_exec_prefix"
43253 prefix="$acl_save_prefix"
43255 if test "X$x" = "X-L$found_dir"; then
43256 haveit=yes
43257 break
43259 done
43260 if test -z "$haveit"; then
43261 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
43263 if test "$hardcode_minus_L" != no; then
43264 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
43265 else
43266 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43271 else
43272 if test "X$found_a" != "X"; then
43273 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
43274 else
43275 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
43278 additional_includedir=
43279 case "$found_dir" in
43280 */lib | */lib/)
43281 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
43282 additional_includedir="$basedir/include"
43284 esac
43285 if test "X$additional_includedir" != "X"; then
43286 if test "X$additional_includedir" != "X/usr/include"; then
43287 haveit=
43288 if test "X$additional_includedir" = "X/usr/local/include"; then
43289 if test -n "$GCC"; then
43290 case $host_os in
43291 linux*) haveit=yes;;
43292 esac
43295 if test -z "$haveit"; then
43296 for x in $CPPFLAGS $INCICONV; do
43298 acl_save_prefix="$prefix"
43299 prefix="$acl_final_prefix"
43300 acl_save_exec_prefix="$exec_prefix"
43301 exec_prefix="$acl_final_exec_prefix"
43302 eval x=\"$x\"
43303 exec_prefix="$acl_save_exec_prefix"
43304 prefix="$acl_save_prefix"
43306 if test "X$x" = "X-I$additional_includedir"; then
43307 haveit=yes
43308 break
43310 done
43311 if test -z "$haveit"; then
43312 if test -d "$additional_includedir"; then
43313 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
43319 if test -n "$found_la"; then
43320 save_libdir="$libdir"
43321 case "$found_la" in
43322 */* | *\\*) . "$found_la" ;;
43323 *) . "./$found_la" ;;
43324 esac
43325 libdir="$save_libdir"
43326 for dep in $dependency_libs; do
43327 case "$dep" in
43328 -L*)
43329 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
43330 if test "X$additional_libdir" != "X/usr/lib"; then
43331 haveit=
43332 if test "X$additional_libdir" = "X/usr/local/lib"; then
43333 if test -n "$GCC"; then
43334 case $host_os in
43335 linux*) haveit=yes;;
43336 esac
43339 if test -z "$haveit"; then
43340 haveit=
43341 for x in $LDFLAGS $LIBICONV; do
43343 acl_save_prefix="$prefix"
43344 prefix="$acl_final_prefix"
43345 acl_save_exec_prefix="$exec_prefix"
43346 exec_prefix="$acl_final_exec_prefix"
43347 eval x=\"$x\"
43348 exec_prefix="$acl_save_exec_prefix"
43349 prefix="$acl_save_prefix"
43351 if test "X$x" = "X-L$additional_libdir"; then
43352 haveit=yes
43353 break
43355 done
43356 if test -z "$haveit"; then
43357 if test -d "$additional_libdir"; then
43358 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
43361 haveit=
43362 for x in $LDFLAGS $LTLIBICONV; do
43364 acl_save_prefix="$prefix"
43365 prefix="$acl_final_prefix"
43366 acl_save_exec_prefix="$exec_prefix"
43367 exec_prefix="$acl_final_exec_prefix"
43368 eval x=\"$x\"
43369 exec_prefix="$acl_save_exec_prefix"
43370 prefix="$acl_save_prefix"
43372 if test "X$x" = "X-L$additional_libdir"; then
43373 haveit=yes
43374 break
43376 done
43377 if test -z "$haveit"; then
43378 if test -d "$additional_libdir"; then
43379 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
43385 -R*)
43386 dir=`echo "X$dep" | sed -e 's/^X-R//'`
43387 if test "$enable_rpath" != no; then
43388 haveit=
43389 for x in $rpathdirs; do
43390 if test "X$x" = "X$dir"; then
43391 haveit=yes
43392 break
43394 done
43395 if test -z "$haveit"; then
43396 rpathdirs="$rpathdirs $dir"
43398 haveit=
43399 for x in $ltrpathdirs; do
43400 if test "X$x" = "X$dir"; then
43401 haveit=yes
43402 break
43404 done
43405 if test -z "$haveit"; then
43406 ltrpathdirs="$ltrpathdirs $dir"
43410 -l*)
43411 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
43413 *.la)
43414 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
43417 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
43418 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
43420 esac
43421 done
43423 else
43424 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
43425 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
43429 done
43430 done
43431 if test "X$rpathdirs" != "X"; then
43432 if test -n "$hardcode_libdir_separator"; then
43433 alldirs=
43434 for found_dir in $rpathdirs; do
43435 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
43436 done
43437 acl_save_libdir="$libdir"
43438 libdir="$alldirs"
43439 eval flag=\"$hardcode_libdir_flag_spec\"
43440 libdir="$acl_save_libdir"
43441 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43442 else
43443 for found_dir in $rpathdirs; do
43444 acl_save_libdir="$libdir"
43445 libdir="$found_dir"
43446 eval flag=\"$hardcode_libdir_flag_spec\"
43447 libdir="$acl_save_libdir"
43448 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
43449 done
43452 if test "X$ltrpathdirs" != "X"; then
43453 for found_dir in $ltrpathdirs; do
43454 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
43455 done
43464 am_save_CPPFLAGS="$CPPFLAGS"
43466 for element in $INCICONV; do
43467 haveit=
43468 for x in $CPPFLAGS; do
43470 acl_save_prefix="$prefix"
43471 prefix="$acl_final_prefix"
43472 acl_save_exec_prefix="$exec_prefix"
43473 exec_prefix="$acl_final_exec_prefix"
43474 eval x=\"$x\"
43475 exec_prefix="$acl_save_exec_prefix"
43476 prefix="$acl_save_prefix"
43478 if test "X$x" = "X$element"; then
43479 haveit=yes
43480 break
43482 done
43483 if test -z "$haveit"; then
43484 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
43486 done
43489 echo "$as_me:$LINENO: checking for iconv" >&5
43490 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
43491 if test "${am_cv_func_iconv+set}" = set; then
43492 echo $ECHO_N "(cached) $ECHO_C" >&6
43493 else
43495 am_cv_func_iconv="no, consider installing GNU libiconv"
43496 am_cv_lib_iconv=no
43497 if test x$gcc_no_link = xyes; then
43498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43500 { (exit 1); exit 1; }; }
43502 cat >conftest.$ac_ext <<_ACEOF
43503 /* confdefs.h. */
43504 _ACEOF
43505 cat confdefs.h >>conftest.$ac_ext
43506 cat >>conftest.$ac_ext <<_ACEOF
43507 /* end confdefs.h. */
43508 #include <stdlib.h>
43509 #include <iconv.h>
43511 main ()
43513 iconv_t cd = iconv_open("","");
43514 iconv(cd,NULL,NULL,NULL,NULL);
43515 iconv_close(cd);
43517 return 0;
43519 _ACEOF
43520 rm -f conftest.$ac_objext conftest$ac_exeext
43521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43522 (eval $ac_link) 2>conftest.er1
43523 ac_status=$?
43524 grep -v '^ *+' conftest.er1 >conftest.err
43525 rm -f conftest.er1
43526 cat conftest.err >&5
43527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43528 (exit $ac_status); } &&
43529 { ac_try='test -z "$ac_c_werror_flag"
43530 || test ! -s conftest.err'
43531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43532 (eval $ac_try) 2>&5
43533 ac_status=$?
43534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43535 (exit $ac_status); }; } &&
43536 { ac_try='test -s conftest$ac_exeext'
43537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43538 (eval $ac_try) 2>&5
43539 ac_status=$?
43540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43541 (exit $ac_status); }; }; then
43542 am_cv_func_iconv=yes
43543 else
43544 echo "$as_me: failed program was:" >&5
43545 sed 's/^/| /' conftest.$ac_ext >&5
43548 rm -f conftest.err conftest.$ac_objext \
43549 conftest$ac_exeext conftest.$ac_ext
43550 if test "$am_cv_func_iconv" != yes; then
43551 am_save_LIBS="$LIBS"
43552 LIBS="$LIBS $LIBICONV"
43553 if test x$gcc_no_link = xyes; then
43554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43556 { (exit 1); exit 1; }; }
43558 cat >conftest.$ac_ext <<_ACEOF
43559 /* confdefs.h. */
43560 _ACEOF
43561 cat confdefs.h >>conftest.$ac_ext
43562 cat >>conftest.$ac_ext <<_ACEOF
43563 /* end confdefs.h. */
43564 #include <stdlib.h>
43565 #include <iconv.h>
43567 main ()
43569 iconv_t cd = iconv_open("","");
43570 iconv(cd,NULL,NULL,NULL,NULL);
43571 iconv_close(cd);
43573 return 0;
43575 _ACEOF
43576 rm -f conftest.$ac_objext conftest$ac_exeext
43577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43578 (eval $ac_link) 2>conftest.er1
43579 ac_status=$?
43580 grep -v '^ *+' conftest.er1 >conftest.err
43581 rm -f conftest.er1
43582 cat conftest.err >&5
43583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43584 (exit $ac_status); } &&
43585 { ac_try='test -z "$ac_c_werror_flag"
43586 || test ! -s conftest.err'
43587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43588 (eval $ac_try) 2>&5
43589 ac_status=$?
43590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43591 (exit $ac_status); }; } &&
43592 { ac_try='test -s conftest$ac_exeext'
43593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43594 (eval $ac_try) 2>&5
43595 ac_status=$?
43596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43597 (exit $ac_status); }; }; then
43598 am_cv_lib_iconv=yes
43599 am_cv_func_iconv=yes
43600 else
43601 echo "$as_me: failed program was:" >&5
43602 sed 's/^/| /' conftest.$ac_ext >&5
43605 rm -f conftest.err conftest.$ac_objext \
43606 conftest$ac_exeext conftest.$ac_ext
43607 LIBS="$am_save_LIBS"
43611 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
43612 echo "${ECHO_T}$am_cv_func_iconv" >&6
43613 if test "$am_cv_func_iconv" = yes; then
43615 cat >>confdefs.h <<\_ACEOF
43616 #define HAVE_ICONV 1
43617 _ACEOF
43620 if test "$am_cv_lib_iconv" = yes; then
43621 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
43622 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
43623 echo "$as_me:$LINENO: result: $LIBICONV" >&5
43624 echo "${ECHO_T}$LIBICONV" >&6
43625 else
43626 CPPFLAGS="$am_save_CPPFLAGS"
43627 LIBICONV=
43628 LTLIBICONV=
43633 if test "$am_cv_func_iconv" = yes; then
43634 echo "$as_me:$LINENO: checking for iconv declaration" >&5
43635 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
43636 if test "${am_cv_proto_iconv+set}" = set; then
43637 echo $ECHO_N "(cached) $ECHO_C" >&6
43638 else
43640 cat >conftest.$ac_ext <<_ACEOF
43641 /* confdefs.h. */
43642 _ACEOF
43643 cat confdefs.h >>conftest.$ac_ext
43644 cat >>conftest.$ac_ext <<_ACEOF
43645 /* end confdefs.h. */
43647 #include <stdlib.h>
43648 #include <iconv.h>
43649 extern
43650 #ifdef __cplusplus
43652 #endif
43653 #if defined(__STDC__) || defined(__cplusplus)
43654 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
43655 #else
43656 size_t iconv();
43657 #endif
43660 main ()
43664 return 0;
43666 _ACEOF
43667 rm -f conftest.$ac_objext
43668 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43669 (eval $ac_compile) 2>conftest.er1
43670 ac_status=$?
43671 grep -v '^ *+' conftest.er1 >conftest.err
43672 rm -f conftest.er1
43673 cat conftest.err >&5
43674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43675 (exit $ac_status); } &&
43676 { ac_try='test -z "$ac_c_werror_flag"
43677 || test ! -s conftest.err'
43678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43679 (eval $ac_try) 2>&5
43680 ac_status=$?
43681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43682 (exit $ac_status); }; } &&
43683 { ac_try='test -s conftest.$ac_objext'
43684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43685 (eval $ac_try) 2>&5
43686 ac_status=$?
43687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43688 (exit $ac_status); }; }; then
43689 am_cv_proto_iconv_arg1=""
43690 else
43691 echo "$as_me: failed program was:" >&5
43692 sed 's/^/| /' conftest.$ac_ext >&5
43694 am_cv_proto_iconv_arg1="const"
43696 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43697 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);"
43700 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
43701 echo "$as_me:$LINENO: result: ${ac_t:-
43702 }$am_cv_proto_iconv" >&5
43703 echo "${ECHO_T}${ac_t:-
43704 }$am_cv_proto_iconv" >&6
43706 cat >>confdefs.h <<_ACEOF
43707 #define ICONV_CONST $am_cv_proto_iconv_arg1
43708 _ACEOF
43713 else
43715 # This lets us hard-code the functionality we know we'll have in the cross
43716 # target environment. "Let" is a sugar-coated word placed on an especially
43717 # dull and tedious hack, actually.
43719 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
43720 # that involve linking, can't be used:
43721 # "cannot open sim-crt0.o"
43722 # "cannot open crt0.o"
43723 # etc. All this is because there currently exists no unified, consistent
43724 # way for top level CC information to be passed down to target directories:
43725 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
43726 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
43727 # crosses can be removed.
43729 # If Canadian cross, then don't pick up tools from the build directory.
43730 # Used only in GLIBCXX_EXPORT_INCLUDES.
43731 if test -n "$with_cross_host" &&
43732 test x"$build_alias" != x"$with_cross_host" &&
43733 test x"$build" != x"$target";
43734 then
43735 CANADIAN=yes
43736 else
43737 CANADIAN=no
43740 # Construct crosses by hand, eliminating bits that need ld...
43741 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
43742 # GLIBCXX_CHECK_MATH_SUPPORT
43744 # First, test for "known" system libraries. We may be using newlib even
43745 # on a hosted environment.
43746 if test "x${with_newlib}" = "xyes"; then
43747 os_include_dir="os/newlib"
43748 cat >>confdefs.h <<\_ACEOF
43749 #define HAVE_HYPOT 1
43750 _ACEOF
43753 # GLIBCXX_CHECK_STDLIB_SUPPORT
43754 cat >>confdefs.h <<\_ACEOF
43755 #define HAVE_STRTOF 1
43756 _ACEOF
43758 # AC_FUNC_MMAP
43759 cat >>confdefs.h <<\_ACEOF
43760 #define HAVE_MMAP 1
43761 _ACEOF
43764 cat >>confdefs.h <<\_ACEOF
43765 #define HAVE_ACOSF 1
43766 _ACEOF
43768 cat >>confdefs.h <<\_ACEOF
43769 #define HAVE_ASINF 1
43770 _ACEOF
43772 cat >>confdefs.h <<\_ACEOF
43773 #define HAVE_ATAN2F 1
43774 _ACEOF
43776 cat >>confdefs.h <<\_ACEOF
43777 #define HAVE_ATANF 1
43778 _ACEOF
43780 cat >>confdefs.h <<\_ACEOF
43781 #define HAVE_CEILF 1
43782 _ACEOF
43784 cat >>confdefs.h <<\_ACEOF
43785 #define HAVE_COPYSIGN 1
43786 _ACEOF
43788 cat >>confdefs.h <<\_ACEOF
43789 #define HAVE_COPYSIGNF 1
43790 _ACEOF
43792 cat >>confdefs.h <<\_ACEOF
43793 #define HAVE_COSF 1
43794 _ACEOF
43796 cat >>confdefs.h <<\_ACEOF
43797 #define HAVE_COSHF 1
43798 _ACEOF
43800 cat >>confdefs.h <<\_ACEOF
43801 #define HAVE_EXPF 1
43802 _ACEOF
43804 cat >>confdefs.h <<\_ACEOF
43805 #define HAVE_FABSF 1
43806 _ACEOF
43808 cat >>confdefs.h <<\_ACEOF
43809 #define HAVE_FLOORF 1
43810 _ACEOF
43812 cat >>confdefs.h <<\_ACEOF
43813 #define HAVE_FMODF 1
43814 _ACEOF
43816 cat >>confdefs.h <<\_ACEOF
43817 #define HAVE_FREXPF 1
43818 _ACEOF
43820 cat >>confdefs.h <<\_ACEOF
43821 #define HAVE_LDEXPF 1
43822 _ACEOF
43824 cat >>confdefs.h <<\_ACEOF
43825 #define HAVE_LOG10F 1
43826 _ACEOF
43828 cat >>confdefs.h <<\_ACEOF
43829 #define HAVE_LOGF 1
43830 _ACEOF
43832 cat >>confdefs.h <<\_ACEOF
43833 #define HAVE_MODFF 1
43834 _ACEOF
43836 cat >>confdefs.h <<\_ACEOF
43837 #define HAVE_POWF 1
43838 _ACEOF
43840 cat >>confdefs.h <<\_ACEOF
43841 #define HAVE_SINF 1
43842 _ACEOF
43844 cat >>confdefs.h <<\_ACEOF
43845 #define HAVE_SINHF 1
43846 _ACEOF
43848 cat >>confdefs.h <<\_ACEOF
43849 #define HAVE_SQRTF 1
43850 _ACEOF
43852 cat >>confdefs.h <<\_ACEOF
43853 #define HAVE_TANF 1
43854 _ACEOF
43856 cat >>confdefs.h <<\_ACEOF
43857 #define HAVE_TANHF 1
43858 _ACEOF
43861 cat >>confdefs.h <<\_ACEOF
43862 #define HAVE_S_ISREG 1
43863 _ACEOF
43865 cat >>confdefs.h <<\_ACEOF
43866 #define HAVE_S_IFREG 1
43867 _ACEOF
43870 cat >>confdefs.h <<\_ACEOF
43871 #define HAVE_ICONV 1
43872 _ACEOF
43874 else
43876 # Base decisions on target environment.
43877 case "${host}" in
43878 arm*-*-symbianelf*)
43879 # This is a freestanding configuration; there is nothing to do here.
43882 mips*-sde-elf*)
43883 # These definitions are for the SDE C library rather than newlib.
43899 for ac_header in float.h inttypes.h locale.h \
43900 stdint.h stdlib.h string.h unistd.h wchar.h \
43901 machine/endian.h sys/ioctl.h sys/resource.h \
43902 sys/stat.h sys/time.h sys/types.h sys/uio.h
43904 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43905 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43906 echo "$as_me:$LINENO: checking for $ac_header" >&5
43907 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
43908 if eval "test \"\${$as_ac_Header+set}\" = set"; then
43909 echo $ECHO_N "(cached) $ECHO_C" >&6
43911 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
43912 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
43913 else
43914 # Is the header compilable?
43915 echo "$as_me:$LINENO: checking $ac_header usability" >&5
43916 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
43917 cat >conftest.$ac_ext <<_ACEOF
43918 /* confdefs.h. */
43919 _ACEOF
43920 cat confdefs.h >>conftest.$ac_ext
43921 cat >>conftest.$ac_ext <<_ACEOF
43922 /* end confdefs.h. */
43923 $ac_includes_default
43924 #include <$ac_header>
43925 _ACEOF
43926 rm -f conftest.$ac_objext
43927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43928 (eval $ac_compile) 2>conftest.er1
43929 ac_status=$?
43930 grep -v '^ *+' conftest.er1 >conftest.err
43931 rm -f conftest.er1
43932 cat conftest.err >&5
43933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43934 (exit $ac_status); } &&
43935 { ac_try='test -z "$ac_c_werror_flag"
43936 || test ! -s conftest.err'
43937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43938 (eval $ac_try) 2>&5
43939 ac_status=$?
43940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43941 (exit $ac_status); }; } &&
43942 { ac_try='test -s conftest.$ac_objext'
43943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43944 (eval $ac_try) 2>&5
43945 ac_status=$?
43946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43947 (exit $ac_status); }; }; then
43948 ac_header_compiler=yes
43949 else
43950 echo "$as_me: failed program was:" >&5
43951 sed 's/^/| /' conftest.$ac_ext >&5
43953 ac_header_compiler=no
43955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43956 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
43957 echo "${ECHO_T}$ac_header_compiler" >&6
43959 # Is the header present?
43960 echo "$as_me:$LINENO: checking $ac_header presence" >&5
43961 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
43962 cat >conftest.$ac_ext <<_ACEOF
43963 /* confdefs.h. */
43964 _ACEOF
43965 cat confdefs.h >>conftest.$ac_ext
43966 cat >>conftest.$ac_ext <<_ACEOF
43967 /* end confdefs.h. */
43968 #include <$ac_header>
43969 _ACEOF
43970 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
43971 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
43972 ac_status=$?
43973 grep -v '^ *+' conftest.er1 >conftest.err
43974 rm -f conftest.er1
43975 cat conftest.err >&5
43976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43977 (exit $ac_status); } >/dev/null; then
43978 if test -s conftest.err; then
43979 ac_cpp_err=$ac_c_preproc_warn_flag
43980 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
43981 else
43982 ac_cpp_err=
43984 else
43985 ac_cpp_err=yes
43987 if test -z "$ac_cpp_err"; then
43988 ac_header_preproc=yes
43989 else
43990 echo "$as_me: failed program was:" >&5
43991 sed 's/^/| /' conftest.$ac_ext >&5
43993 ac_header_preproc=no
43995 rm -f conftest.err conftest.$ac_ext
43996 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
43997 echo "${ECHO_T}$ac_header_preproc" >&6
43999 # So? What about this header?
44000 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
44001 yes:no: )
44002 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
44003 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
44004 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
44005 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
44006 ac_header_preproc=yes
44008 no:yes:* )
44009 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
44010 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
44011 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
44012 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
44013 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
44014 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
44015 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
44016 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
44017 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
44018 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
44019 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
44020 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
44022 cat <<\_ASBOX
44023 ## ----------------------------------------- ##
44024 ## Report this to the package-unused lists. ##
44025 ## ----------------------------------------- ##
44026 _ASBOX
44028 sed "s/^/$as_me: WARNING: /" >&2
44030 esac
44031 echo "$as_me:$LINENO: checking for $ac_header" >&5
44032 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
44033 if eval "test \"\${$as_ac_Header+set}\" = set"; then
44034 echo $ECHO_N "(cached) $ECHO_C" >&6
44035 else
44036 eval "$as_ac_Header=\$ac_header_preproc"
44038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
44039 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
44042 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44043 cat >>confdefs.h <<_ACEOF
44044 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44045 _ACEOF
44049 done
44051 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44054 # All these tests are for C++; save the language and the compiler flags.
44055 # The CXXFLAGS thing is suspicious, but based on similar bits previously
44056 # found in GLIBCXX_CONFIGURE.
44059 ac_ext=cc
44060 ac_cpp='$CXXCPP $CPPFLAGS'
44061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44065 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44066 ac_save_CXXFLAGS="$CXXFLAGS"
44068 # Check for maintainer-mode bits.
44069 if test x"$USE_MAINTAINER_MODE" = xno; then
44070 WERROR=''
44071 else
44072 WERROR='-Werror'
44075 # Check for -ffunction-sections -fdata-sections
44076 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
44077 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
44078 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
44079 cat >conftest.$ac_ext <<_ACEOF
44080 /* confdefs.h. */
44081 _ACEOF
44082 cat confdefs.h >>conftest.$ac_ext
44083 cat >>conftest.$ac_ext <<_ACEOF
44084 /* end confdefs.h. */
44085 int foo; void bar() { };
44087 main ()
44091 return 0;
44093 _ACEOF
44094 rm -f conftest.$ac_objext
44095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44096 (eval $ac_compile) 2>conftest.er1
44097 ac_status=$?
44098 grep -v '^ *+' conftest.er1 >conftest.err
44099 rm -f conftest.er1
44100 cat conftest.err >&5
44101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44102 (exit $ac_status); } &&
44103 { ac_try='test -z "$ac_cxx_werror_flag"
44104 || test ! -s conftest.err'
44105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44106 (eval $ac_try) 2>&5
44107 ac_status=$?
44108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44109 (exit $ac_status); }; } &&
44110 { ac_try='test -s conftest.$ac_objext'
44111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44112 (eval $ac_try) 2>&5
44113 ac_status=$?
44114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44115 (exit $ac_status); }; }; then
44116 ac_fdsections=yes
44117 else
44118 echo "$as_me: failed program was:" >&5
44119 sed 's/^/| /' conftest.$ac_ext >&5
44121 ac_fdsections=no
44123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44124 if test "$ac_test_CXXFLAGS" = set; then
44125 CXXFLAGS="$ac_save_CXXFLAGS"
44126 else
44127 # this is the suspicious part
44128 CXXFLAGS=''
44130 if test x"$ac_fdsections" = x"yes"; then
44131 SECTION_FLAGS='-ffunction-sections -fdata-sections'
44133 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
44134 echo "${ECHO_T}$ac_fdsections" >&6
44136 ac_ext=c
44137 ac_cpp='$CPP $CPPFLAGS'
44138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44146 # If we're not using GNU ld, then there's no point in even trying these
44147 # tests. Check for that first. We should have already tested for gld
44148 # by now (in libtool), but require it now just to be safe...
44149 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
44150 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
44154 # The name set by libtool depends on the version of libtool. Shame on us
44155 # for depending on an impl detail, but c'est la vie. Older versions used
44156 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
44157 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
44158 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
44159 # set (hence we're using an older libtool), then set it.
44160 if test x${with_gnu_ld+set} != xset; then
44161 if test x${ac_cv_prog_gnu_ld+set} != xset; then
44162 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
44163 with_gnu_ld=no
44164 else
44165 with_gnu_ld=$ac_cv_prog_gnu_ld
44169 # Start by getting the version number. I think the libtool test already
44170 # does some of this, but throws away the result.
44171 glibcxx_ld_is_gold=no
44172 if test x"$with_gnu_ld" = x"yes"; then
44173 echo "$as_me:$LINENO: checking for ld version" >&5
44174 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
44176 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
44177 glibcxx_ld_is_gold=yes
44179 ldver=`$LD --version 2>/dev/null | head -1 | \
44180 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
44182 glibcxx_gnu_ld_version=`echo $ldver | \
44183 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
44184 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
44185 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
44188 # Set --gc-sections.
44189 glibcxx_have_gc_sections=no
44190 if test "$glibcxx_ld_is_gold" = "yes"; then
44191 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
44192 glibcxx_have_gc_sections=yes
44194 else
44195 glibcxx_gcsections_min_ld=21602
44196 if test x"$with_gnu_ld" = x"yes" &&
44197 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
44198 glibcxx_have_gc_sections=yes
44201 if test "$glibcxx_have_gc_sections" = "yes"; then
44202 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
44203 # NB: This flag only works reliably after 2.16.1. Configure tests
44204 # for this are difficult, so hard wire a value that should work.
44206 ac_test_CFLAGS="${CFLAGS+set}"
44207 ac_save_CFLAGS="$CFLAGS"
44208 CFLAGS='-Wl,--gc-sections'
44210 # Check for -Wl,--gc-sections
44211 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
44212 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
44213 if test x$gcc_no_link = xyes; then
44214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44216 { (exit 1); exit 1; }; }
44218 cat >conftest.$ac_ext <<_ACEOF
44219 /* confdefs.h. */
44220 _ACEOF
44221 cat confdefs.h >>conftest.$ac_ext
44222 cat >>conftest.$ac_ext <<_ACEOF
44223 /* end confdefs.h. */
44224 int one(void) { return 1; }
44225 int two(void) { return 2; }
44228 main ()
44230 two();
44232 return 0;
44234 _ACEOF
44235 rm -f conftest.$ac_objext conftest$ac_exeext
44236 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44237 (eval $ac_link) 2>conftest.er1
44238 ac_status=$?
44239 grep -v '^ *+' conftest.er1 >conftest.err
44240 rm -f conftest.er1
44241 cat conftest.err >&5
44242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44243 (exit $ac_status); } &&
44244 { ac_try='test -z "$ac_c_werror_flag"
44245 || test ! -s conftest.err'
44246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44247 (eval $ac_try) 2>&5
44248 ac_status=$?
44249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44250 (exit $ac_status); }; } &&
44251 { ac_try='test -s conftest$ac_exeext'
44252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44253 (eval $ac_try) 2>&5
44254 ac_status=$?
44255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44256 (exit $ac_status); }; }; then
44257 ac_gcsections=yes
44258 else
44259 echo "$as_me: failed program was:" >&5
44260 sed 's/^/| /' conftest.$ac_ext >&5
44262 ac_gcsections=no
44264 rm -f conftest.err conftest.$ac_objext \
44265 conftest$ac_exeext conftest.$ac_ext
44266 if test "$ac_gcsections" = "yes"; then
44267 rm -f conftest.c
44268 touch conftest.c
44269 if $CC -c conftest.c; then
44270 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
44271 grep "Warning: gc-sections option ignored" > /dev/null; then
44272 ac_gcsections=no
44275 rm -f conftest.c conftest.o conftest
44277 if test "$ac_gcsections" = "yes"; then
44278 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
44280 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
44281 echo "${ECHO_T}$ac_gcsections" >&6
44283 if test "$ac_test_CFLAGS" = set; then
44284 CFLAGS="$ac_save_CFLAGS"
44285 else
44286 # this is the suspicious part
44287 CFLAGS=''
44291 # Set -z,relro.
44292 # Note this is only for shared objects.
44293 ac_ld_relro=no
44294 if test x"$with_gnu_ld" = x"yes"; then
44295 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
44296 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
44297 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
44298 if test -n "$cxx_z_relo"; then
44299 OPT_LDFLAGS="-Wl,-z,relro"
44300 ac_ld_relro=yes
44302 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
44303 echo "${ECHO_T}$ac_ld_relro" >&6
44306 # Set linker optimization flags.
44307 if test x"$with_gnu_ld" = x"yes"; then
44308 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
44315 ac_test_CXXFLAGS="${CXXFLAGS+set}"
44316 ac_save_CXXFLAGS="$CXXFLAGS"
44317 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
44319 echo "$as_me:$LINENO: checking for sin in -lm" >&5
44320 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
44321 if test "${ac_cv_lib_m_sin+set}" = set; then
44322 echo $ECHO_N "(cached) $ECHO_C" >&6
44323 else
44324 ac_check_lib_save_LIBS=$LIBS
44325 LIBS="-lm $LIBS"
44326 if test x$gcc_no_link = xyes; then
44327 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44328 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44329 { (exit 1); exit 1; }; }
44331 cat >conftest.$ac_ext <<_ACEOF
44332 /* confdefs.h. */
44333 _ACEOF
44334 cat confdefs.h >>conftest.$ac_ext
44335 cat >>conftest.$ac_ext <<_ACEOF
44336 /* end confdefs.h. */
44338 /* Override any gcc2 internal prototype to avoid an error. */
44339 #ifdef __cplusplus
44340 extern "C"
44341 #endif
44342 /* We use char because int might match the return type of a gcc2
44343 builtin and then its argument prototype would still apply. */
44344 char sin ();
44346 main ()
44348 sin ();
44350 return 0;
44352 _ACEOF
44353 rm -f conftest.$ac_objext conftest$ac_exeext
44354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44355 (eval $ac_link) 2>conftest.er1
44356 ac_status=$?
44357 grep -v '^ *+' conftest.er1 >conftest.err
44358 rm -f conftest.er1
44359 cat conftest.err >&5
44360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44361 (exit $ac_status); } &&
44362 { ac_try='test -z "$ac_c_werror_flag"
44363 || test ! -s conftest.err'
44364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44365 (eval $ac_try) 2>&5
44366 ac_status=$?
44367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44368 (exit $ac_status); }; } &&
44369 { ac_try='test -s conftest$ac_exeext'
44370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44371 (eval $ac_try) 2>&5
44372 ac_status=$?
44373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44374 (exit $ac_status); }; }; then
44375 ac_cv_lib_m_sin=yes
44376 else
44377 echo "$as_me: failed program was:" >&5
44378 sed 's/^/| /' conftest.$ac_ext >&5
44380 ac_cv_lib_m_sin=no
44382 rm -f conftest.err conftest.$ac_objext \
44383 conftest$ac_exeext conftest.$ac_ext
44384 LIBS=$ac_check_lib_save_LIBS
44386 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
44387 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
44388 if test $ac_cv_lib_m_sin = yes; then
44389 libm="-lm"
44392 ac_save_LIBS="$LIBS"
44393 LIBS="$LIBS $libm"
44397 echo "$as_me:$LINENO: checking for isinf declaration" >&5
44398 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
44399 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
44400 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
44401 echo $ECHO_N "(cached) $ECHO_C" >&6
44402 else
44406 ac_ext=cc
44407 ac_cpp='$CXXCPP $CPPFLAGS'
44408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44412 cat >conftest.$ac_ext <<_ACEOF
44413 /* confdefs.h. */
44414 _ACEOF
44415 cat confdefs.h >>conftest.$ac_ext
44416 cat >>conftest.$ac_ext <<_ACEOF
44417 /* end confdefs.h. */
44418 #include <math.h>
44419 #ifdef HAVE_IEEEFP_H
44420 #include <ieeefp.h>
44421 #endif
44424 main ()
44426 isinf(0);
44428 return 0;
44430 _ACEOF
44431 rm -f conftest.$ac_objext
44432 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44433 (eval $ac_compile) 2>conftest.er1
44434 ac_status=$?
44435 grep -v '^ *+' conftest.er1 >conftest.err
44436 rm -f conftest.er1
44437 cat conftest.err >&5
44438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44439 (exit $ac_status); } &&
44440 { ac_try='test -z "$ac_cxx_werror_flag"
44441 || test ! -s conftest.err'
44442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44443 (eval $ac_try) 2>&5
44444 ac_status=$?
44445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44446 (exit $ac_status); }; } &&
44447 { ac_try='test -s conftest.$ac_objext'
44448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44449 (eval $ac_try) 2>&5
44450 ac_status=$?
44451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44452 (exit $ac_status); }; }; then
44453 glibcxx_cv_func_isinf_use=yes
44454 else
44455 echo "$as_me: failed program was:" >&5
44456 sed 's/^/| /' conftest.$ac_ext >&5
44458 glibcxx_cv_func_isinf_use=no
44460 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44461 ac_ext=c
44462 ac_cpp='$CPP $CPPFLAGS'
44463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44471 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
44472 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
44474 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
44476 for ac_func in isinf
44478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44479 echo "$as_me:$LINENO: checking for $ac_func" >&5
44480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44481 if eval "test \"\${$as_ac_var+set}\" = set"; then
44482 echo $ECHO_N "(cached) $ECHO_C" >&6
44483 else
44484 if test x$gcc_no_link = xyes; then
44485 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44486 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44487 { (exit 1); exit 1; }; }
44489 cat >conftest.$ac_ext <<_ACEOF
44490 /* confdefs.h. */
44491 _ACEOF
44492 cat confdefs.h >>conftest.$ac_ext
44493 cat >>conftest.$ac_ext <<_ACEOF
44494 /* end confdefs.h. */
44495 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44496 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44497 #define $ac_func innocuous_$ac_func
44499 /* System header to define __stub macros and hopefully few prototypes,
44500 which can conflict with char $ac_func (); below.
44501 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44502 <limits.h> exists even on freestanding compilers. */
44504 #ifdef __STDC__
44505 # include <limits.h>
44506 #else
44507 # include <assert.h>
44508 #endif
44510 #undef $ac_func
44512 /* Override any gcc2 internal prototype to avoid an error. */
44513 #ifdef __cplusplus
44514 extern "C"
44516 #endif
44517 /* We use char because int might match the return type of a gcc2
44518 builtin and then its argument prototype would still apply. */
44519 char $ac_func ();
44520 /* The GNU C library defines this for functions which it implements
44521 to always fail with ENOSYS. Some functions are actually named
44522 something starting with __ and the normal name is an alias. */
44523 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44524 choke me
44525 #else
44526 char (*f) () = $ac_func;
44527 #endif
44528 #ifdef __cplusplus
44530 #endif
44533 main ()
44535 return f != $ac_func;
44537 return 0;
44539 _ACEOF
44540 rm -f conftest.$ac_objext conftest$ac_exeext
44541 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44542 (eval $ac_link) 2>conftest.er1
44543 ac_status=$?
44544 grep -v '^ *+' conftest.er1 >conftest.err
44545 rm -f conftest.er1
44546 cat conftest.err >&5
44547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44548 (exit $ac_status); } &&
44549 { ac_try='test -z "$ac_c_werror_flag"
44550 || test ! -s conftest.err'
44551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44552 (eval $ac_try) 2>&5
44553 ac_status=$?
44554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44555 (exit $ac_status); }; } &&
44556 { ac_try='test -s conftest$ac_exeext'
44557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44558 (eval $ac_try) 2>&5
44559 ac_status=$?
44560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44561 (exit $ac_status); }; }; then
44562 eval "$as_ac_var=yes"
44563 else
44564 echo "$as_me: failed program was:" >&5
44565 sed 's/^/| /' conftest.$ac_ext >&5
44567 eval "$as_ac_var=no"
44569 rm -f conftest.err conftest.$ac_objext \
44570 conftest$ac_exeext conftest.$ac_ext
44572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44573 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44574 if test `eval echo '${'$as_ac_var'}'` = yes; then
44575 cat >>confdefs.h <<_ACEOF
44576 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44577 _ACEOF
44580 done
44582 else
44584 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
44585 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
44586 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
44587 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
44588 echo $ECHO_N "(cached) $ECHO_C" >&6
44589 else
44593 ac_ext=cc
44594 ac_cpp='$CXXCPP $CPPFLAGS'
44595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44599 cat >conftest.$ac_ext <<_ACEOF
44600 /* confdefs.h. */
44601 _ACEOF
44602 cat confdefs.h >>conftest.$ac_ext
44603 cat >>conftest.$ac_ext <<_ACEOF
44604 /* end confdefs.h. */
44605 #include <math.h>
44606 #ifdef HAVE_IEEEFP_H
44607 #include <ieeefp.h>
44608 #endif
44611 main ()
44613 _isinf(0);
44615 return 0;
44617 _ACEOF
44618 rm -f conftest.$ac_objext
44619 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44620 (eval $ac_compile) 2>conftest.er1
44621 ac_status=$?
44622 grep -v '^ *+' conftest.er1 >conftest.err
44623 rm -f conftest.er1
44624 cat conftest.err >&5
44625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44626 (exit $ac_status); } &&
44627 { ac_try='test -z "$ac_cxx_werror_flag"
44628 || test ! -s conftest.err'
44629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44630 (eval $ac_try) 2>&5
44631 ac_status=$?
44632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44633 (exit $ac_status); }; } &&
44634 { ac_try='test -s conftest.$ac_objext'
44635 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44636 (eval $ac_try) 2>&5
44637 ac_status=$?
44638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44639 (exit $ac_status); }; }; then
44640 glibcxx_cv_func__isinf_use=yes
44641 else
44642 echo "$as_me: failed program was:" >&5
44643 sed 's/^/| /' conftest.$ac_ext >&5
44645 glibcxx_cv_func__isinf_use=no
44647 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44648 ac_ext=c
44649 ac_cpp='$CPP $CPPFLAGS'
44650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44658 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
44659 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
44661 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
44663 for ac_func in _isinf
44665 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44666 echo "$as_me:$LINENO: checking for $ac_func" >&5
44667 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44668 if eval "test \"\${$as_ac_var+set}\" = set"; then
44669 echo $ECHO_N "(cached) $ECHO_C" >&6
44670 else
44671 if test x$gcc_no_link = xyes; then
44672 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44673 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44674 { (exit 1); exit 1; }; }
44676 cat >conftest.$ac_ext <<_ACEOF
44677 /* confdefs.h. */
44678 _ACEOF
44679 cat confdefs.h >>conftest.$ac_ext
44680 cat >>conftest.$ac_ext <<_ACEOF
44681 /* end confdefs.h. */
44682 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44683 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44684 #define $ac_func innocuous_$ac_func
44686 /* System header to define __stub macros and hopefully few prototypes,
44687 which can conflict with char $ac_func (); below.
44688 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44689 <limits.h> exists even on freestanding compilers. */
44691 #ifdef __STDC__
44692 # include <limits.h>
44693 #else
44694 # include <assert.h>
44695 #endif
44697 #undef $ac_func
44699 /* Override any gcc2 internal prototype to avoid an error. */
44700 #ifdef __cplusplus
44701 extern "C"
44703 #endif
44704 /* We use char because int might match the return type of a gcc2
44705 builtin and then its argument prototype would still apply. */
44706 char $ac_func ();
44707 /* The GNU C library defines this for functions which it implements
44708 to always fail with ENOSYS. Some functions are actually named
44709 something starting with __ and the normal name is an alias. */
44710 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44711 choke me
44712 #else
44713 char (*f) () = $ac_func;
44714 #endif
44715 #ifdef __cplusplus
44717 #endif
44720 main ()
44722 return f != $ac_func;
44724 return 0;
44726 _ACEOF
44727 rm -f conftest.$ac_objext conftest$ac_exeext
44728 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44729 (eval $ac_link) 2>conftest.er1
44730 ac_status=$?
44731 grep -v '^ *+' conftest.er1 >conftest.err
44732 rm -f conftest.er1
44733 cat conftest.err >&5
44734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44735 (exit $ac_status); } &&
44736 { ac_try='test -z "$ac_c_werror_flag"
44737 || test ! -s conftest.err'
44738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44739 (eval $ac_try) 2>&5
44740 ac_status=$?
44741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44742 (exit $ac_status); }; } &&
44743 { ac_try='test -s conftest$ac_exeext'
44744 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44745 (eval $ac_try) 2>&5
44746 ac_status=$?
44747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44748 (exit $ac_status); }; }; then
44749 eval "$as_ac_var=yes"
44750 else
44751 echo "$as_me: failed program was:" >&5
44752 sed 's/^/| /' conftest.$ac_ext >&5
44754 eval "$as_ac_var=no"
44756 rm -f conftest.err conftest.$ac_objext \
44757 conftest$ac_exeext conftest.$ac_ext
44759 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44760 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44761 if test `eval echo '${'$as_ac_var'}'` = yes; then
44762 cat >>confdefs.h <<_ACEOF
44763 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44764 _ACEOF
44767 done
44777 echo "$as_me:$LINENO: checking for isnan declaration" >&5
44778 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
44779 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
44780 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
44781 echo $ECHO_N "(cached) $ECHO_C" >&6
44782 else
44786 ac_ext=cc
44787 ac_cpp='$CXXCPP $CPPFLAGS'
44788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44792 cat >conftest.$ac_ext <<_ACEOF
44793 /* confdefs.h. */
44794 _ACEOF
44795 cat confdefs.h >>conftest.$ac_ext
44796 cat >>conftest.$ac_ext <<_ACEOF
44797 /* end confdefs.h. */
44798 #include <math.h>
44799 #ifdef HAVE_IEEEFP_H
44800 #include <ieeefp.h>
44801 #endif
44804 main ()
44806 isnan(0);
44808 return 0;
44810 _ACEOF
44811 rm -f conftest.$ac_objext
44812 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44813 (eval $ac_compile) 2>conftest.er1
44814 ac_status=$?
44815 grep -v '^ *+' conftest.er1 >conftest.err
44816 rm -f conftest.er1
44817 cat conftest.err >&5
44818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44819 (exit $ac_status); } &&
44820 { ac_try='test -z "$ac_cxx_werror_flag"
44821 || test ! -s conftest.err'
44822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44823 (eval $ac_try) 2>&5
44824 ac_status=$?
44825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44826 (exit $ac_status); }; } &&
44827 { ac_try='test -s conftest.$ac_objext'
44828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44829 (eval $ac_try) 2>&5
44830 ac_status=$?
44831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44832 (exit $ac_status); }; }; then
44833 glibcxx_cv_func_isnan_use=yes
44834 else
44835 echo "$as_me: failed program was:" >&5
44836 sed 's/^/| /' conftest.$ac_ext >&5
44838 glibcxx_cv_func_isnan_use=no
44840 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44841 ac_ext=c
44842 ac_cpp='$CPP $CPPFLAGS'
44843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44851 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
44852 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
44854 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
44856 for ac_func in isnan
44858 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44859 echo "$as_me:$LINENO: checking for $ac_func" >&5
44860 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44861 if eval "test \"\${$as_ac_var+set}\" = set"; then
44862 echo $ECHO_N "(cached) $ECHO_C" >&6
44863 else
44864 if test x$gcc_no_link = xyes; then
44865 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44866 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44867 { (exit 1); exit 1; }; }
44869 cat >conftest.$ac_ext <<_ACEOF
44870 /* confdefs.h. */
44871 _ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44875 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44876 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44877 #define $ac_func innocuous_$ac_func
44879 /* System header to define __stub macros and hopefully few prototypes,
44880 which can conflict with char $ac_func (); below.
44881 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44882 <limits.h> exists even on freestanding compilers. */
44884 #ifdef __STDC__
44885 # include <limits.h>
44886 #else
44887 # include <assert.h>
44888 #endif
44890 #undef $ac_func
44892 /* Override any gcc2 internal prototype to avoid an error. */
44893 #ifdef __cplusplus
44894 extern "C"
44896 #endif
44897 /* We use char because int might match the return type of a gcc2
44898 builtin and then its argument prototype would still apply. */
44899 char $ac_func ();
44900 /* The GNU C library defines this for functions which it implements
44901 to always fail with ENOSYS. Some functions are actually named
44902 something starting with __ and the normal name is an alias. */
44903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44904 choke me
44905 #else
44906 char (*f) () = $ac_func;
44907 #endif
44908 #ifdef __cplusplus
44910 #endif
44913 main ()
44915 return f != $ac_func;
44917 return 0;
44919 _ACEOF
44920 rm -f conftest.$ac_objext conftest$ac_exeext
44921 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44922 (eval $ac_link) 2>conftest.er1
44923 ac_status=$?
44924 grep -v '^ *+' conftest.er1 >conftest.err
44925 rm -f conftest.er1
44926 cat conftest.err >&5
44927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44928 (exit $ac_status); } &&
44929 { ac_try='test -z "$ac_c_werror_flag"
44930 || test ! -s conftest.err'
44931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44932 (eval $ac_try) 2>&5
44933 ac_status=$?
44934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44935 (exit $ac_status); }; } &&
44936 { ac_try='test -s conftest$ac_exeext'
44937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44938 (eval $ac_try) 2>&5
44939 ac_status=$?
44940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44941 (exit $ac_status); }; }; then
44942 eval "$as_ac_var=yes"
44943 else
44944 echo "$as_me: failed program was:" >&5
44945 sed 's/^/| /' conftest.$ac_ext >&5
44947 eval "$as_ac_var=no"
44949 rm -f conftest.err conftest.$ac_objext \
44950 conftest$ac_exeext conftest.$ac_ext
44952 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44953 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44954 if test `eval echo '${'$as_ac_var'}'` = yes; then
44955 cat >>confdefs.h <<_ACEOF
44956 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44957 _ACEOF
44960 done
44962 else
44964 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
44965 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
44966 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
44967 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
44968 echo $ECHO_N "(cached) $ECHO_C" >&6
44969 else
44973 ac_ext=cc
44974 ac_cpp='$CXXCPP $CPPFLAGS'
44975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44979 cat >conftest.$ac_ext <<_ACEOF
44980 /* confdefs.h. */
44981 _ACEOF
44982 cat confdefs.h >>conftest.$ac_ext
44983 cat >>conftest.$ac_ext <<_ACEOF
44984 /* end confdefs.h. */
44985 #include <math.h>
44986 #ifdef HAVE_IEEEFP_H
44987 #include <ieeefp.h>
44988 #endif
44991 main ()
44993 _isnan(0);
44995 return 0;
44997 _ACEOF
44998 rm -f conftest.$ac_objext
44999 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45000 (eval $ac_compile) 2>conftest.er1
45001 ac_status=$?
45002 grep -v '^ *+' conftest.er1 >conftest.err
45003 rm -f conftest.er1
45004 cat conftest.err >&5
45005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45006 (exit $ac_status); } &&
45007 { ac_try='test -z "$ac_cxx_werror_flag"
45008 || test ! -s conftest.err'
45009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45010 (eval $ac_try) 2>&5
45011 ac_status=$?
45012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45013 (exit $ac_status); }; } &&
45014 { ac_try='test -s conftest.$ac_objext'
45015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45016 (eval $ac_try) 2>&5
45017 ac_status=$?
45018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45019 (exit $ac_status); }; }; then
45020 glibcxx_cv_func__isnan_use=yes
45021 else
45022 echo "$as_me: failed program was:" >&5
45023 sed 's/^/| /' conftest.$ac_ext >&5
45025 glibcxx_cv_func__isnan_use=no
45027 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45028 ac_ext=c
45029 ac_cpp='$CPP $CPPFLAGS'
45030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45038 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
45039 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
45041 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
45043 for ac_func in _isnan
45045 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45046 echo "$as_me:$LINENO: checking for $ac_func" >&5
45047 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45048 if eval "test \"\${$as_ac_var+set}\" = set"; then
45049 echo $ECHO_N "(cached) $ECHO_C" >&6
45050 else
45051 if test x$gcc_no_link = xyes; then
45052 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45053 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45054 { (exit 1); exit 1; }; }
45056 cat >conftest.$ac_ext <<_ACEOF
45057 /* confdefs.h. */
45058 _ACEOF
45059 cat confdefs.h >>conftest.$ac_ext
45060 cat >>conftest.$ac_ext <<_ACEOF
45061 /* end confdefs.h. */
45062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45064 #define $ac_func innocuous_$ac_func
45066 /* System header to define __stub macros and hopefully few prototypes,
45067 which can conflict with char $ac_func (); below.
45068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45069 <limits.h> exists even on freestanding compilers. */
45071 #ifdef __STDC__
45072 # include <limits.h>
45073 #else
45074 # include <assert.h>
45075 #endif
45077 #undef $ac_func
45079 /* Override any gcc2 internal prototype to avoid an error. */
45080 #ifdef __cplusplus
45081 extern "C"
45083 #endif
45084 /* We use char because int might match the return type of a gcc2
45085 builtin and then its argument prototype would still apply. */
45086 char $ac_func ();
45087 /* The GNU C library defines this for functions which it implements
45088 to always fail with ENOSYS. Some functions are actually named
45089 something starting with __ and the normal name is an alias. */
45090 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45091 choke me
45092 #else
45093 char (*f) () = $ac_func;
45094 #endif
45095 #ifdef __cplusplus
45097 #endif
45100 main ()
45102 return f != $ac_func;
45104 return 0;
45106 _ACEOF
45107 rm -f conftest.$ac_objext conftest$ac_exeext
45108 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45109 (eval $ac_link) 2>conftest.er1
45110 ac_status=$?
45111 grep -v '^ *+' conftest.er1 >conftest.err
45112 rm -f conftest.er1
45113 cat conftest.err >&5
45114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45115 (exit $ac_status); } &&
45116 { ac_try='test -z "$ac_c_werror_flag"
45117 || test ! -s conftest.err'
45118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45119 (eval $ac_try) 2>&5
45120 ac_status=$?
45121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45122 (exit $ac_status); }; } &&
45123 { ac_try='test -s conftest$ac_exeext'
45124 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45125 (eval $ac_try) 2>&5
45126 ac_status=$?
45127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45128 (exit $ac_status); }; }; then
45129 eval "$as_ac_var=yes"
45130 else
45131 echo "$as_me: failed program was:" >&5
45132 sed 's/^/| /' conftest.$ac_ext >&5
45134 eval "$as_ac_var=no"
45136 rm -f conftest.err conftest.$ac_objext \
45137 conftest$ac_exeext conftest.$ac_ext
45139 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45140 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45141 if test `eval echo '${'$as_ac_var'}'` = yes; then
45142 cat >>confdefs.h <<_ACEOF
45143 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45144 _ACEOF
45147 done
45157 echo "$as_me:$LINENO: checking for finite declaration" >&5
45158 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
45159 if test x${glibcxx_cv_func_finite_use+set} != xset; then
45160 if test "${glibcxx_cv_func_finite_use+set}" = set; then
45161 echo $ECHO_N "(cached) $ECHO_C" >&6
45162 else
45166 ac_ext=cc
45167 ac_cpp='$CXXCPP $CPPFLAGS'
45168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45172 cat >conftest.$ac_ext <<_ACEOF
45173 /* confdefs.h. */
45174 _ACEOF
45175 cat confdefs.h >>conftest.$ac_ext
45176 cat >>conftest.$ac_ext <<_ACEOF
45177 /* end confdefs.h. */
45178 #include <math.h>
45179 #ifdef HAVE_IEEEFP_H
45180 #include <ieeefp.h>
45181 #endif
45184 main ()
45186 finite(0);
45188 return 0;
45190 _ACEOF
45191 rm -f conftest.$ac_objext
45192 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45193 (eval $ac_compile) 2>conftest.er1
45194 ac_status=$?
45195 grep -v '^ *+' conftest.er1 >conftest.err
45196 rm -f conftest.er1
45197 cat conftest.err >&5
45198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45199 (exit $ac_status); } &&
45200 { ac_try='test -z "$ac_cxx_werror_flag"
45201 || test ! -s conftest.err'
45202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45203 (eval $ac_try) 2>&5
45204 ac_status=$?
45205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45206 (exit $ac_status); }; } &&
45207 { ac_try='test -s conftest.$ac_objext'
45208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45209 (eval $ac_try) 2>&5
45210 ac_status=$?
45211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45212 (exit $ac_status); }; }; then
45213 glibcxx_cv_func_finite_use=yes
45214 else
45215 echo "$as_me: failed program was:" >&5
45216 sed 's/^/| /' conftest.$ac_ext >&5
45218 glibcxx_cv_func_finite_use=no
45220 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45221 ac_ext=c
45222 ac_cpp='$CPP $CPPFLAGS'
45223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45231 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
45232 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
45234 if test x$glibcxx_cv_func_finite_use = x"yes"; then
45236 for ac_func in finite
45238 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45239 echo "$as_me:$LINENO: checking for $ac_func" >&5
45240 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45241 if eval "test \"\${$as_ac_var+set}\" = set"; then
45242 echo $ECHO_N "(cached) $ECHO_C" >&6
45243 else
45244 if test x$gcc_no_link = xyes; then
45245 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45246 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45247 { (exit 1); exit 1; }; }
45249 cat >conftest.$ac_ext <<_ACEOF
45250 /* confdefs.h. */
45251 _ACEOF
45252 cat confdefs.h >>conftest.$ac_ext
45253 cat >>conftest.$ac_ext <<_ACEOF
45254 /* end confdefs.h. */
45255 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45256 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45257 #define $ac_func innocuous_$ac_func
45259 /* System header to define __stub macros and hopefully few prototypes,
45260 which can conflict with char $ac_func (); below.
45261 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45262 <limits.h> exists even on freestanding compilers. */
45264 #ifdef __STDC__
45265 # include <limits.h>
45266 #else
45267 # include <assert.h>
45268 #endif
45270 #undef $ac_func
45272 /* Override any gcc2 internal prototype to avoid an error. */
45273 #ifdef __cplusplus
45274 extern "C"
45276 #endif
45277 /* We use char because int might match the return type of a gcc2
45278 builtin and then its argument prototype would still apply. */
45279 char $ac_func ();
45280 /* The GNU C library defines this for functions which it implements
45281 to always fail with ENOSYS. Some functions are actually named
45282 something starting with __ and the normal name is an alias. */
45283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45284 choke me
45285 #else
45286 char (*f) () = $ac_func;
45287 #endif
45288 #ifdef __cplusplus
45290 #endif
45293 main ()
45295 return f != $ac_func;
45297 return 0;
45299 _ACEOF
45300 rm -f conftest.$ac_objext conftest$ac_exeext
45301 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45302 (eval $ac_link) 2>conftest.er1
45303 ac_status=$?
45304 grep -v '^ *+' conftest.er1 >conftest.err
45305 rm -f conftest.er1
45306 cat conftest.err >&5
45307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45308 (exit $ac_status); } &&
45309 { ac_try='test -z "$ac_c_werror_flag"
45310 || test ! -s conftest.err'
45311 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45312 (eval $ac_try) 2>&5
45313 ac_status=$?
45314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45315 (exit $ac_status); }; } &&
45316 { ac_try='test -s conftest$ac_exeext'
45317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45318 (eval $ac_try) 2>&5
45319 ac_status=$?
45320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45321 (exit $ac_status); }; }; then
45322 eval "$as_ac_var=yes"
45323 else
45324 echo "$as_me: failed program was:" >&5
45325 sed 's/^/| /' conftest.$ac_ext >&5
45327 eval "$as_ac_var=no"
45329 rm -f conftest.err conftest.$ac_objext \
45330 conftest$ac_exeext conftest.$ac_ext
45332 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45333 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45334 if test `eval echo '${'$as_ac_var'}'` = yes; then
45335 cat >>confdefs.h <<_ACEOF
45336 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45337 _ACEOF
45340 done
45342 else
45344 echo "$as_me:$LINENO: checking for _finite declaration" >&5
45345 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
45346 if test x${glibcxx_cv_func__finite_use+set} != xset; then
45347 if test "${glibcxx_cv_func__finite_use+set}" = set; then
45348 echo $ECHO_N "(cached) $ECHO_C" >&6
45349 else
45353 ac_ext=cc
45354 ac_cpp='$CXXCPP $CPPFLAGS'
45355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45359 cat >conftest.$ac_ext <<_ACEOF
45360 /* confdefs.h. */
45361 _ACEOF
45362 cat confdefs.h >>conftest.$ac_ext
45363 cat >>conftest.$ac_ext <<_ACEOF
45364 /* end confdefs.h. */
45365 #include <math.h>
45366 #ifdef HAVE_IEEEFP_H
45367 #include <ieeefp.h>
45368 #endif
45371 main ()
45373 _finite(0);
45375 return 0;
45377 _ACEOF
45378 rm -f conftest.$ac_objext
45379 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45380 (eval $ac_compile) 2>conftest.er1
45381 ac_status=$?
45382 grep -v '^ *+' conftest.er1 >conftest.err
45383 rm -f conftest.er1
45384 cat conftest.err >&5
45385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45386 (exit $ac_status); } &&
45387 { ac_try='test -z "$ac_cxx_werror_flag"
45388 || test ! -s conftest.err'
45389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45390 (eval $ac_try) 2>&5
45391 ac_status=$?
45392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45393 (exit $ac_status); }; } &&
45394 { ac_try='test -s conftest.$ac_objext'
45395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45396 (eval $ac_try) 2>&5
45397 ac_status=$?
45398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45399 (exit $ac_status); }; }; then
45400 glibcxx_cv_func__finite_use=yes
45401 else
45402 echo "$as_me: failed program was:" >&5
45403 sed 's/^/| /' conftest.$ac_ext >&5
45405 glibcxx_cv_func__finite_use=no
45407 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45408 ac_ext=c
45409 ac_cpp='$CPP $CPPFLAGS'
45410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45418 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
45419 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
45421 if test x$glibcxx_cv_func__finite_use = x"yes"; then
45423 for ac_func in _finite
45425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45426 echo "$as_me:$LINENO: checking for $ac_func" >&5
45427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45428 if eval "test \"\${$as_ac_var+set}\" = set"; then
45429 echo $ECHO_N "(cached) $ECHO_C" >&6
45430 else
45431 if test x$gcc_no_link = xyes; then
45432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45434 { (exit 1); exit 1; }; }
45436 cat >conftest.$ac_ext <<_ACEOF
45437 /* confdefs.h. */
45438 _ACEOF
45439 cat confdefs.h >>conftest.$ac_ext
45440 cat >>conftest.$ac_ext <<_ACEOF
45441 /* end confdefs.h. */
45442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45444 #define $ac_func innocuous_$ac_func
45446 /* System header to define __stub macros and hopefully few prototypes,
45447 which can conflict with char $ac_func (); below.
45448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45449 <limits.h> exists even on freestanding compilers. */
45451 #ifdef __STDC__
45452 # include <limits.h>
45453 #else
45454 # include <assert.h>
45455 #endif
45457 #undef $ac_func
45459 /* Override any gcc2 internal prototype to avoid an error. */
45460 #ifdef __cplusplus
45461 extern "C"
45463 #endif
45464 /* We use char because int might match the return type of a gcc2
45465 builtin and then its argument prototype would still apply. */
45466 char $ac_func ();
45467 /* The GNU C library defines this for functions which it implements
45468 to always fail with ENOSYS. Some functions are actually named
45469 something starting with __ and the normal name is an alias. */
45470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45471 choke me
45472 #else
45473 char (*f) () = $ac_func;
45474 #endif
45475 #ifdef __cplusplus
45477 #endif
45480 main ()
45482 return f != $ac_func;
45484 return 0;
45486 _ACEOF
45487 rm -f conftest.$ac_objext conftest$ac_exeext
45488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45489 (eval $ac_link) 2>conftest.er1
45490 ac_status=$?
45491 grep -v '^ *+' conftest.er1 >conftest.err
45492 rm -f conftest.er1
45493 cat conftest.err >&5
45494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45495 (exit $ac_status); } &&
45496 { ac_try='test -z "$ac_c_werror_flag"
45497 || test ! -s conftest.err'
45498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45499 (eval $ac_try) 2>&5
45500 ac_status=$?
45501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45502 (exit $ac_status); }; } &&
45503 { ac_try='test -s conftest$ac_exeext'
45504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45505 (eval $ac_try) 2>&5
45506 ac_status=$?
45507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45508 (exit $ac_status); }; }; then
45509 eval "$as_ac_var=yes"
45510 else
45511 echo "$as_me: failed program was:" >&5
45512 sed 's/^/| /' conftest.$ac_ext >&5
45514 eval "$as_ac_var=no"
45516 rm -f conftest.err conftest.$ac_objext \
45517 conftest$ac_exeext conftest.$ac_ext
45519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45521 if test `eval echo '${'$as_ac_var'}'` = yes; then
45522 cat >>confdefs.h <<_ACEOF
45523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45524 _ACEOF
45527 done
45537 echo "$as_me:$LINENO: checking for copysign declaration" >&5
45538 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
45539 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
45540 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
45541 echo $ECHO_N "(cached) $ECHO_C" >&6
45542 else
45546 ac_ext=cc
45547 ac_cpp='$CXXCPP $CPPFLAGS'
45548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45552 cat >conftest.$ac_ext <<_ACEOF
45553 /* confdefs.h. */
45554 _ACEOF
45555 cat confdefs.h >>conftest.$ac_ext
45556 cat >>conftest.$ac_ext <<_ACEOF
45557 /* end confdefs.h. */
45558 #include <math.h>
45560 main ()
45562 copysign(0, 0);
45564 return 0;
45566 _ACEOF
45567 rm -f conftest.$ac_objext
45568 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45569 (eval $ac_compile) 2>conftest.er1
45570 ac_status=$?
45571 grep -v '^ *+' conftest.er1 >conftest.err
45572 rm -f conftest.er1
45573 cat conftest.err >&5
45574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45575 (exit $ac_status); } &&
45576 { ac_try='test -z "$ac_cxx_werror_flag"
45577 || test ! -s conftest.err'
45578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45579 (eval $ac_try) 2>&5
45580 ac_status=$?
45581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45582 (exit $ac_status); }; } &&
45583 { ac_try='test -s conftest.$ac_objext'
45584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45585 (eval $ac_try) 2>&5
45586 ac_status=$?
45587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45588 (exit $ac_status); }; }; then
45589 glibcxx_cv_func_copysign_use=yes
45590 else
45591 echo "$as_me: failed program was:" >&5
45592 sed 's/^/| /' conftest.$ac_ext >&5
45594 glibcxx_cv_func_copysign_use=no
45596 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45597 ac_ext=c
45598 ac_cpp='$CPP $CPPFLAGS'
45599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45607 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
45608 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
45610 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
45612 for ac_func in copysign
45614 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45615 echo "$as_me:$LINENO: checking for $ac_func" >&5
45616 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45617 if eval "test \"\${$as_ac_var+set}\" = set"; then
45618 echo $ECHO_N "(cached) $ECHO_C" >&6
45619 else
45620 if test x$gcc_no_link = xyes; then
45621 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45622 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45623 { (exit 1); exit 1; }; }
45625 cat >conftest.$ac_ext <<_ACEOF
45626 /* confdefs.h. */
45627 _ACEOF
45628 cat confdefs.h >>conftest.$ac_ext
45629 cat >>conftest.$ac_ext <<_ACEOF
45630 /* end confdefs.h. */
45631 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45632 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45633 #define $ac_func innocuous_$ac_func
45635 /* System header to define __stub macros and hopefully few prototypes,
45636 which can conflict with char $ac_func (); below.
45637 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45638 <limits.h> exists even on freestanding compilers. */
45640 #ifdef __STDC__
45641 # include <limits.h>
45642 #else
45643 # include <assert.h>
45644 #endif
45646 #undef $ac_func
45648 /* Override any gcc2 internal prototype to avoid an error. */
45649 #ifdef __cplusplus
45650 extern "C"
45652 #endif
45653 /* We use char because int might match the return type of a gcc2
45654 builtin and then its argument prototype would still apply. */
45655 char $ac_func ();
45656 /* The GNU C library defines this for functions which it implements
45657 to always fail with ENOSYS. Some functions are actually named
45658 something starting with __ and the normal name is an alias. */
45659 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45660 choke me
45661 #else
45662 char (*f) () = $ac_func;
45663 #endif
45664 #ifdef __cplusplus
45666 #endif
45669 main ()
45671 return f != $ac_func;
45673 return 0;
45675 _ACEOF
45676 rm -f conftest.$ac_objext conftest$ac_exeext
45677 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45678 (eval $ac_link) 2>conftest.er1
45679 ac_status=$?
45680 grep -v '^ *+' conftest.er1 >conftest.err
45681 rm -f conftest.er1
45682 cat conftest.err >&5
45683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45684 (exit $ac_status); } &&
45685 { ac_try='test -z "$ac_c_werror_flag"
45686 || test ! -s conftest.err'
45687 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45688 (eval $ac_try) 2>&5
45689 ac_status=$?
45690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45691 (exit $ac_status); }; } &&
45692 { ac_try='test -s conftest$ac_exeext'
45693 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45694 (eval $ac_try) 2>&5
45695 ac_status=$?
45696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45697 (exit $ac_status); }; }; then
45698 eval "$as_ac_var=yes"
45699 else
45700 echo "$as_me: failed program was:" >&5
45701 sed 's/^/| /' conftest.$ac_ext >&5
45703 eval "$as_ac_var=no"
45705 rm -f conftest.err conftest.$ac_objext \
45706 conftest$ac_exeext conftest.$ac_ext
45708 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45709 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45710 if test `eval echo '${'$as_ac_var'}'` = yes; then
45711 cat >>confdefs.h <<_ACEOF
45712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45713 _ACEOF
45716 done
45718 else
45720 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
45721 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
45722 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
45723 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
45724 echo $ECHO_N "(cached) $ECHO_C" >&6
45725 else
45729 ac_ext=cc
45730 ac_cpp='$CXXCPP $CPPFLAGS'
45731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45735 cat >conftest.$ac_ext <<_ACEOF
45736 /* confdefs.h. */
45737 _ACEOF
45738 cat confdefs.h >>conftest.$ac_ext
45739 cat >>conftest.$ac_ext <<_ACEOF
45740 /* end confdefs.h. */
45741 #include <math.h>
45743 main ()
45745 _copysign(0, 0);
45747 return 0;
45749 _ACEOF
45750 rm -f conftest.$ac_objext
45751 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45752 (eval $ac_compile) 2>conftest.er1
45753 ac_status=$?
45754 grep -v '^ *+' conftest.er1 >conftest.err
45755 rm -f conftest.er1
45756 cat conftest.err >&5
45757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45758 (exit $ac_status); } &&
45759 { ac_try='test -z "$ac_cxx_werror_flag"
45760 || test ! -s conftest.err'
45761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45762 (eval $ac_try) 2>&5
45763 ac_status=$?
45764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45765 (exit $ac_status); }; } &&
45766 { ac_try='test -s conftest.$ac_objext'
45767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45768 (eval $ac_try) 2>&5
45769 ac_status=$?
45770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45771 (exit $ac_status); }; }; then
45772 glibcxx_cv_func__copysign_use=yes
45773 else
45774 echo "$as_me: failed program was:" >&5
45775 sed 's/^/| /' conftest.$ac_ext >&5
45777 glibcxx_cv_func__copysign_use=no
45779 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45780 ac_ext=c
45781 ac_cpp='$CPP $CPPFLAGS'
45782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45790 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
45791 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
45793 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
45795 for ac_func in _copysign
45797 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45798 echo "$as_me:$LINENO: checking for $ac_func" >&5
45799 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45800 if eval "test \"\${$as_ac_var+set}\" = set"; then
45801 echo $ECHO_N "(cached) $ECHO_C" >&6
45802 else
45803 if test x$gcc_no_link = xyes; then
45804 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45805 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45806 { (exit 1); exit 1; }; }
45808 cat >conftest.$ac_ext <<_ACEOF
45809 /* confdefs.h. */
45810 _ACEOF
45811 cat confdefs.h >>conftest.$ac_ext
45812 cat >>conftest.$ac_ext <<_ACEOF
45813 /* end confdefs.h. */
45814 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45815 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45816 #define $ac_func innocuous_$ac_func
45818 /* System header to define __stub macros and hopefully few prototypes,
45819 which can conflict with char $ac_func (); below.
45820 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45821 <limits.h> exists even on freestanding compilers. */
45823 #ifdef __STDC__
45824 # include <limits.h>
45825 #else
45826 # include <assert.h>
45827 #endif
45829 #undef $ac_func
45831 /* Override any gcc2 internal prototype to avoid an error. */
45832 #ifdef __cplusplus
45833 extern "C"
45835 #endif
45836 /* We use char because int might match the return type of a gcc2
45837 builtin and then its argument prototype would still apply. */
45838 char $ac_func ();
45839 /* The GNU C library defines this for functions which it implements
45840 to always fail with ENOSYS. Some functions are actually named
45841 something starting with __ and the normal name is an alias. */
45842 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45843 choke me
45844 #else
45845 char (*f) () = $ac_func;
45846 #endif
45847 #ifdef __cplusplus
45849 #endif
45852 main ()
45854 return f != $ac_func;
45856 return 0;
45858 _ACEOF
45859 rm -f conftest.$ac_objext conftest$ac_exeext
45860 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45861 (eval $ac_link) 2>conftest.er1
45862 ac_status=$?
45863 grep -v '^ *+' conftest.er1 >conftest.err
45864 rm -f conftest.er1
45865 cat conftest.err >&5
45866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45867 (exit $ac_status); } &&
45868 { ac_try='test -z "$ac_c_werror_flag"
45869 || test ! -s conftest.err'
45870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45871 (eval $ac_try) 2>&5
45872 ac_status=$?
45873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45874 (exit $ac_status); }; } &&
45875 { ac_try='test -s conftest$ac_exeext'
45876 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45877 (eval $ac_try) 2>&5
45878 ac_status=$?
45879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45880 (exit $ac_status); }; }; then
45881 eval "$as_ac_var=yes"
45882 else
45883 echo "$as_me: failed program was:" >&5
45884 sed 's/^/| /' conftest.$ac_ext >&5
45886 eval "$as_ac_var=no"
45888 rm -f conftest.err conftest.$ac_objext \
45889 conftest$ac_exeext conftest.$ac_ext
45891 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45892 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45893 if test `eval echo '${'$as_ac_var'}'` = yes; then
45894 cat >>confdefs.h <<_ACEOF
45895 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45896 _ACEOF
45899 done
45909 echo "$as_me:$LINENO: checking for sincos declaration" >&5
45910 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
45911 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
45912 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
45913 echo $ECHO_N "(cached) $ECHO_C" >&6
45914 else
45918 ac_ext=cc
45919 ac_cpp='$CXXCPP $CPPFLAGS'
45920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45924 cat >conftest.$ac_ext <<_ACEOF
45925 /* confdefs.h. */
45926 _ACEOF
45927 cat confdefs.h >>conftest.$ac_ext
45928 cat >>conftest.$ac_ext <<_ACEOF
45929 /* end confdefs.h. */
45930 #include <math.h>
45932 main ()
45934 sincos(0, 0, 0);
45936 return 0;
45938 _ACEOF
45939 rm -f conftest.$ac_objext
45940 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45941 (eval $ac_compile) 2>conftest.er1
45942 ac_status=$?
45943 grep -v '^ *+' conftest.er1 >conftest.err
45944 rm -f conftest.er1
45945 cat conftest.err >&5
45946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45947 (exit $ac_status); } &&
45948 { ac_try='test -z "$ac_cxx_werror_flag"
45949 || test ! -s conftest.err'
45950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45951 (eval $ac_try) 2>&5
45952 ac_status=$?
45953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45954 (exit $ac_status); }; } &&
45955 { ac_try='test -s conftest.$ac_objext'
45956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45957 (eval $ac_try) 2>&5
45958 ac_status=$?
45959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45960 (exit $ac_status); }; }; then
45961 glibcxx_cv_func_sincos_use=yes
45962 else
45963 echo "$as_me: failed program was:" >&5
45964 sed 's/^/| /' conftest.$ac_ext >&5
45966 glibcxx_cv_func_sincos_use=no
45968 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45969 ac_ext=c
45970 ac_cpp='$CPP $CPPFLAGS'
45971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45979 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
45980 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
45982 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
45984 for ac_func in sincos
45986 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45987 echo "$as_me:$LINENO: checking for $ac_func" >&5
45988 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45989 if eval "test \"\${$as_ac_var+set}\" = set"; then
45990 echo $ECHO_N "(cached) $ECHO_C" >&6
45991 else
45992 if test x$gcc_no_link = xyes; then
45993 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45994 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45995 { (exit 1); exit 1; }; }
45997 cat >conftest.$ac_ext <<_ACEOF
45998 /* confdefs.h. */
45999 _ACEOF
46000 cat confdefs.h >>conftest.$ac_ext
46001 cat >>conftest.$ac_ext <<_ACEOF
46002 /* end confdefs.h. */
46003 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46004 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46005 #define $ac_func innocuous_$ac_func
46007 /* System header to define __stub macros and hopefully few prototypes,
46008 which can conflict with char $ac_func (); below.
46009 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46010 <limits.h> exists even on freestanding compilers. */
46012 #ifdef __STDC__
46013 # include <limits.h>
46014 #else
46015 # include <assert.h>
46016 #endif
46018 #undef $ac_func
46020 /* Override any gcc2 internal prototype to avoid an error. */
46021 #ifdef __cplusplus
46022 extern "C"
46024 #endif
46025 /* We use char because int might match the return type of a gcc2
46026 builtin and then its argument prototype would still apply. */
46027 char $ac_func ();
46028 /* The GNU C library defines this for functions which it implements
46029 to always fail with ENOSYS. Some functions are actually named
46030 something starting with __ and the normal name is an alias. */
46031 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46032 choke me
46033 #else
46034 char (*f) () = $ac_func;
46035 #endif
46036 #ifdef __cplusplus
46038 #endif
46041 main ()
46043 return f != $ac_func;
46045 return 0;
46047 _ACEOF
46048 rm -f conftest.$ac_objext conftest$ac_exeext
46049 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46050 (eval $ac_link) 2>conftest.er1
46051 ac_status=$?
46052 grep -v '^ *+' conftest.er1 >conftest.err
46053 rm -f conftest.er1
46054 cat conftest.err >&5
46055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46056 (exit $ac_status); } &&
46057 { ac_try='test -z "$ac_c_werror_flag"
46058 || test ! -s conftest.err'
46059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46060 (eval $ac_try) 2>&5
46061 ac_status=$?
46062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46063 (exit $ac_status); }; } &&
46064 { ac_try='test -s conftest$ac_exeext'
46065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46066 (eval $ac_try) 2>&5
46067 ac_status=$?
46068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46069 (exit $ac_status); }; }; then
46070 eval "$as_ac_var=yes"
46071 else
46072 echo "$as_me: failed program was:" >&5
46073 sed 's/^/| /' conftest.$ac_ext >&5
46075 eval "$as_ac_var=no"
46077 rm -f conftest.err conftest.$ac_objext \
46078 conftest$ac_exeext conftest.$ac_ext
46080 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46081 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46082 if test `eval echo '${'$as_ac_var'}'` = yes; then
46083 cat >>confdefs.h <<_ACEOF
46084 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46085 _ACEOF
46088 done
46090 else
46092 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
46093 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
46094 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46095 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
46096 echo $ECHO_N "(cached) $ECHO_C" >&6
46097 else
46101 ac_ext=cc
46102 ac_cpp='$CXXCPP $CPPFLAGS'
46103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46107 cat >conftest.$ac_ext <<_ACEOF
46108 /* confdefs.h. */
46109 _ACEOF
46110 cat confdefs.h >>conftest.$ac_ext
46111 cat >>conftest.$ac_ext <<_ACEOF
46112 /* end confdefs.h. */
46113 #include <math.h>
46115 main ()
46117 _sincos(0, 0, 0);
46119 return 0;
46121 _ACEOF
46122 rm -f conftest.$ac_objext
46123 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46124 (eval $ac_compile) 2>conftest.er1
46125 ac_status=$?
46126 grep -v '^ *+' conftest.er1 >conftest.err
46127 rm -f conftest.er1
46128 cat conftest.err >&5
46129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46130 (exit $ac_status); } &&
46131 { ac_try='test -z "$ac_cxx_werror_flag"
46132 || test ! -s conftest.err'
46133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46134 (eval $ac_try) 2>&5
46135 ac_status=$?
46136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46137 (exit $ac_status); }; } &&
46138 { ac_try='test -s conftest.$ac_objext'
46139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46140 (eval $ac_try) 2>&5
46141 ac_status=$?
46142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46143 (exit $ac_status); }; }; then
46144 glibcxx_cv_func__sincos_use=yes
46145 else
46146 echo "$as_me: failed program was:" >&5
46147 sed 's/^/| /' conftest.$ac_ext >&5
46149 glibcxx_cv_func__sincos_use=no
46151 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46152 ac_ext=c
46153 ac_cpp='$CPP $CPPFLAGS'
46154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46162 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
46163 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
46165 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46167 for ac_func in _sincos
46169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46170 echo "$as_me:$LINENO: checking for $ac_func" >&5
46171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46172 if eval "test \"\${$as_ac_var+set}\" = set"; then
46173 echo $ECHO_N "(cached) $ECHO_C" >&6
46174 else
46175 if test x$gcc_no_link = xyes; then
46176 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46177 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46178 { (exit 1); exit 1; }; }
46180 cat >conftest.$ac_ext <<_ACEOF
46181 /* confdefs.h. */
46182 _ACEOF
46183 cat confdefs.h >>conftest.$ac_ext
46184 cat >>conftest.$ac_ext <<_ACEOF
46185 /* end confdefs.h. */
46186 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46187 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46188 #define $ac_func innocuous_$ac_func
46190 /* System header to define __stub macros and hopefully few prototypes,
46191 which can conflict with char $ac_func (); below.
46192 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46193 <limits.h> exists even on freestanding compilers. */
46195 #ifdef __STDC__
46196 # include <limits.h>
46197 #else
46198 # include <assert.h>
46199 #endif
46201 #undef $ac_func
46203 /* Override any gcc2 internal prototype to avoid an error. */
46204 #ifdef __cplusplus
46205 extern "C"
46207 #endif
46208 /* We use char because int might match the return type of a gcc2
46209 builtin and then its argument prototype would still apply. */
46210 char $ac_func ();
46211 /* The GNU C library defines this for functions which it implements
46212 to always fail with ENOSYS. Some functions are actually named
46213 something starting with __ and the normal name is an alias. */
46214 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46215 choke me
46216 #else
46217 char (*f) () = $ac_func;
46218 #endif
46219 #ifdef __cplusplus
46221 #endif
46224 main ()
46226 return f != $ac_func;
46228 return 0;
46230 _ACEOF
46231 rm -f conftest.$ac_objext conftest$ac_exeext
46232 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46233 (eval $ac_link) 2>conftest.er1
46234 ac_status=$?
46235 grep -v '^ *+' conftest.er1 >conftest.err
46236 rm -f conftest.er1
46237 cat conftest.err >&5
46238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46239 (exit $ac_status); } &&
46240 { ac_try='test -z "$ac_c_werror_flag"
46241 || test ! -s conftest.err'
46242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46243 (eval $ac_try) 2>&5
46244 ac_status=$?
46245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46246 (exit $ac_status); }; } &&
46247 { ac_try='test -s conftest$ac_exeext'
46248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46249 (eval $ac_try) 2>&5
46250 ac_status=$?
46251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46252 (exit $ac_status); }; }; then
46253 eval "$as_ac_var=yes"
46254 else
46255 echo "$as_me: failed program was:" >&5
46256 sed 's/^/| /' conftest.$ac_ext >&5
46258 eval "$as_ac_var=no"
46260 rm -f conftest.err conftest.$ac_objext \
46261 conftest$ac_exeext conftest.$ac_ext
46263 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46264 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46265 if test `eval echo '${'$as_ac_var'}'` = yes; then
46266 cat >>confdefs.h <<_ACEOF
46267 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46268 _ACEOF
46271 done
46281 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
46282 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
46283 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46284 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
46285 echo $ECHO_N "(cached) $ECHO_C" >&6
46286 else
46290 ac_ext=cc
46291 ac_cpp='$CXXCPP $CPPFLAGS'
46292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46296 cat >conftest.$ac_ext <<_ACEOF
46297 /* confdefs.h. */
46298 _ACEOF
46299 cat confdefs.h >>conftest.$ac_ext
46300 cat >>conftest.$ac_ext <<_ACEOF
46301 /* end confdefs.h. */
46302 #include <math.h>
46303 #ifdef HAVE_IEEEFP_H
46304 #include <ieeefp.h>
46305 #endif
46308 main ()
46310 fpclass(0);
46312 return 0;
46314 _ACEOF
46315 rm -f conftest.$ac_objext
46316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46317 (eval $ac_compile) 2>conftest.er1
46318 ac_status=$?
46319 grep -v '^ *+' conftest.er1 >conftest.err
46320 rm -f conftest.er1
46321 cat conftest.err >&5
46322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46323 (exit $ac_status); } &&
46324 { ac_try='test -z "$ac_cxx_werror_flag"
46325 || test ! -s conftest.err'
46326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46327 (eval $ac_try) 2>&5
46328 ac_status=$?
46329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46330 (exit $ac_status); }; } &&
46331 { ac_try='test -s conftest.$ac_objext'
46332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46333 (eval $ac_try) 2>&5
46334 ac_status=$?
46335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46336 (exit $ac_status); }; }; then
46337 glibcxx_cv_func_fpclass_use=yes
46338 else
46339 echo "$as_me: failed program was:" >&5
46340 sed 's/^/| /' conftest.$ac_ext >&5
46342 glibcxx_cv_func_fpclass_use=no
46344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46345 ac_ext=c
46346 ac_cpp='$CPP $CPPFLAGS'
46347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46355 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
46356 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
46358 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46360 for ac_func in fpclass
46362 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46363 echo "$as_me:$LINENO: checking for $ac_func" >&5
46364 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46365 if eval "test \"\${$as_ac_var+set}\" = set"; then
46366 echo $ECHO_N "(cached) $ECHO_C" >&6
46367 else
46368 if test x$gcc_no_link = xyes; then
46369 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46370 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46371 { (exit 1); exit 1; }; }
46373 cat >conftest.$ac_ext <<_ACEOF
46374 /* confdefs.h. */
46375 _ACEOF
46376 cat confdefs.h >>conftest.$ac_ext
46377 cat >>conftest.$ac_ext <<_ACEOF
46378 /* end confdefs.h. */
46379 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46380 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46381 #define $ac_func innocuous_$ac_func
46383 /* System header to define __stub macros and hopefully few prototypes,
46384 which can conflict with char $ac_func (); below.
46385 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46386 <limits.h> exists even on freestanding compilers. */
46388 #ifdef __STDC__
46389 # include <limits.h>
46390 #else
46391 # include <assert.h>
46392 #endif
46394 #undef $ac_func
46396 /* Override any gcc2 internal prototype to avoid an error. */
46397 #ifdef __cplusplus
46398 extern "C"
46400 #endif
46401 /* We use char because int might match the return type of a gcc2
46402 builtin and then its argument prototype would still apply. */
46403 char $ac_func ();
46404 /* The GNU C library defines this for functions which it implements
46405 to always fail with ENOSYS. Some functions are actually named
46406 something starting with __ and the normal name is an alias. */
46407 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46408 choke me
46409 #else
46410 char (*f) () = $ac_func;
46411 #endif
46412 #ifdef __cplusplus
46414 #endif
46417 main ()
46419 return f != $ac_func;
46421 return 0;
46423 _ACEOF
46424 rm -f conftest.$ac_objext conftest$ac_exeext
46425 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46426 (eval $ac_link) 2>conftest.er1
46427 ac_status=$?
46428 grep -v '^ *+' conftest.er1 >conftest.err
46429 rm -f conftest.er1
46430 cat conftest.err >&5
46431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46432 (exit $ac_status); } &&
46433 { ac_try='test -z "$ac_c_werror_flag"
46434 || test ! -s conftest.err'
46435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46436 (eval $ac_try) 2>&5
46437 ac_status=$?
46438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46439 (exit $ac_status); }; } &&
46440 { ac_try='test -s conftest$ac_exeext'
46441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46442 (eval $ac_try) 2>&5
46443 ac_status=$?
46444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46445 (exit $ac_status); }; }; then
46446 eval "$as_ac_var=yes"
46447 else
46448 echo "$as_me: failed program was:" >&5
46449 sed 's/^/| /' conftest.$ac_ext >&5
46451 eval "$as_ac_var=no"
46453 rm -f conftest.err conftest.$ac_objext \
46454 conftest$ac_exeext conftest.$ac_ext
46456 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46457 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46458 if test `eval echo '${'$as_ac_var'}'` = yes; then
46459 cat >>confdefs.h <<_ACEOF
46460 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46461 _ACEOF
46464 done
46466 else
46468 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
46469 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
46470 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46471 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
46472 echo $ECHO_N "(cached) $ECHO_C" >&6
46473 else
46477 ac_ext=cc
46478 ac_cpp='$CXXCPP $CPPFLAGS'
46479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46483 cat >conftest.$ac_ext <<_ACEOF
46484 /* confdefs.h. */
46485 _ACEOF
46486 cat confdefs.h >>conftest.$ac_ext
46487 cat >>conftest.$ac_ext <<_ACEOF
46488 /* end confdefs.h. */
46489 #include <math.h>
46490 #ifdef HAVE_IEEEFP_H
46491 #include <ieeefp.h>
46492 #endif
46495 main ()
46497 _fpclass(0);
46499 return 0;
46501 _ACEOF
46502 rm -f conftest.$ac_objext
46503 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46504 (eval $ac_compile) 2>conftest.er1
46505 ac_status=$?
46506 grep -v '^ *+' conftest.er1 >conftest.err
46507 rm -f conftest.er1
46508 cat conftest.err >&5
46509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46510 (exit $ac_status); } &&
46511 { ac_try='test -z "$ac_cxx_werror_flag"
46512 || test ! -s conftest.err'
46513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46514 (eval $ac_try) 2>&5
46515 ac_status=$?
46516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46517 (exit $ac_status); }; } &&
46518 { ac_try='test -s conftest.$ac_objext'
46519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46520 (eval $ac_try) 2>&5
46521 ac_status=$?
46522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46523 (exit $ac_status); }; }; then
46524 glibcxx_cv_func__fpclass_use=yes
46525 else
46526 echo "$as_me: failed program was:" >&5
46527 sed 's/^/| /' conftest.$ac_ext >&5
46529 glibcxx_cv_func__fpclass_use=no
46531 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46532 ac_ext=c
46533 ac_cpp='$CPP $CPPFLAGS'
46534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46542 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
46543 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
46545 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46547 for ac_func in _fpclass
46549 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46550 echo "$as_me:$LINENO: checking for $ac_func" >&5
46551 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46552 if eval "test \"\${$as_ac_var+set}\" = set"; then
46553 echo $ECHO_N "(cached) $ECHO_C" >&6
46554 else
46555 if test x$gcc_no_link = xyes; then
46556 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46557 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46558 { (exit 1); exit 1; }; }
46560 cat >conftest.$ac_ext <<_ACEOF
46561 /* confdefs.h. */
46562 _ACEOF
46563 cat confdefs.h >>conftest.$ac_ext
46564 cat >>conftest.$ac_ext <<_ACEOF
46565 /* end confdefs.h. */
46566 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46567 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46568 #define $ac_func innocuous_$ac_func
46570 /* System header to define __stub macros and hopefully few prototypes,
46571 which can conflict with char $ac_func (); below.
46572 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46573 <limits.h> exists even on freestanding compilers. */
46575 #ifdef __STDC__
46576 # include <limits.h>
46577 #else
46578 # include <assert.h>
46579 #endif
46581 #undef $ac_func
46583 /* Override any gcc2 internal prototype to avoid an error. */
46584 #ifdef __cplusplus
46585 extern "C"
46587 #endif
46588 /* We use char because int might match the return type of a gcc2
46589 builtin and then its argument prototype would still apply. */
46590 char $ac_func ();
46591 /* The GNU C library defines this for functions which it implements
46592 to always fail with ENOSYS. Some functions are actually named
46593 something starting with __ and the normal name is an alias. */
46594 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46595 choke me
46596 #else
46597 char (*f) () = $ac_func;
46598 #endif
46599 #ifdef __cplusplus
46601 #endif
46604 main ()
46606 return f != $ac_func;
46608 return 0;
46610 _ACEOF
46611 rm -f conftest.$ac_objext conftest$ac_exeext
46612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46613 (eval $ac_link) 2>conftest.er1
46614 ac_status=$?
46615 grep -v '^ *+' conftest.er1 >conftest.err
46616 rm -f conftest.er1
46617 cat conftest.err >&5
46618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619 (exit $ac_status); } &&
46620 { ac_try='test -z "$ac_c_werror_flag"
46621 || test ! -s conftest.err'
46622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46623 (eval $ac_try) 2>&5
46624 ac_status=$?
46625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46626 (exit $ac_status); }; } &&
46627 { ac_try='test -s conftest$ac_exeext'
46628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46629 (eval $ac_try) 2>&5
46630 ac_status=$?
46631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46632 (exit $ac_status); }; }; then
46633 eval "$as_ac_var=yes"
46634 else
46635 echo "$as_me: failed program was:" >&5
46636 sed 's/^/| /' conftest.$ac_ext >&5
46638 eval "$as_ac_var=no"
46640 rm -f conftest.err conftest.$ac_objext \
46641 conftest$ac_exeext conftest.$ac_ext
46643 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46644 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46645 if test `eval echo '${'$as_ac_var'}'` = yes; then
46646 cat >>confdefs.h <<_ACEOF
46647 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46648 _ACEOF
46651 done
46661 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
46662 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
46663 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46664 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
46665 echo $ECHO_N "(cached) $ECHO_C" >&6
46666 else
46670 ac_ext=cc
46671 ac_cpp='$CXXCPP $CPPFLAGS'
46672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46676 cat >conftest.$ac_ext <<_ACEOF
46677 /* confdefs.h. */
46678 _ACEOF
46679 cat confdefs.h >>conftest.$ac_ext
46680 cat >>conftest.$ac_ext <<_ACEOF
46681 /* end confdefs.h. */
46682 #include <math.h>
46683 #ifdef HAVE_IEEEFP_H
46684 #include <ieeefp.h>
46685 #endif
46688 main ()
46690 qfpclass(0);
46692 return 0;
46694 _ACEOF
46695 rm -f conftest.$ac_objext
46696 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46697 (eval $ac_compile) 2>conftest.er1
46698 ac_status=$?
46699 grep -v '^ *+' conftest.er1 >conftest.err
46700 rm -f conftest.er1
46701 cat conftest.err >&5
46702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46703 (exit $ac_status); } &&
46704 { ac_try='test -z "$ac_cxx_werror_flag"
46705 || test ! -s conftest.err'
46706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46707 (eval $ac_try) 2>&5
46708 ac_status=$?
46709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46710 (exit $ac_status); }; } &&
46711 { ac_try='test -s conftest.$ac_objext'
46712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46713 (eval $ac_try) 2>&5
46714 ac_status=$?
46715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46716 (exit $ac_status); }; }; then
46717 glibcxx_cv_func_qfpclass_use=yes
46718 else
46719 echo "$as_me: failed program was:" >&5
46720 sed 's/^/| /' conftest.$ac_ext >&5
46722 glibcxx_cv_func_qfpclass_use=no
46724 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46725 ac_ext=c
46726 ac_cpp='$CPP $CPPFLAGS'
46727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46735 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
46736 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
46738 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46740 for ac_func in qfpclass
46742 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46743 echo "$as_me:$LINENO: checking for $ac_func" >&5
46744 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46745 if eval "test \"\${$as_ac_var+set}\" = set"; then
46746 echo $ECHO_N "(cached) $ECHO_C" >&6
46747 else
46748 if test x$gcc_no_link = xyes; then
46749 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46750 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46751 { (exit 1); exit 1; }; }
46753 cat >conftest.$ac_ext <<_ACEOF
46754 /* confdefs.h. */
46755 _ACEOF
46756 cat confdefs.h >>conftest.$ac_ext
46757 cat >>conftest.$ac_ext <<_ACEOF
46758 /* end confdefs.h. */
46759 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46760 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46761 #define $ac_func innocuous_$ac_func
46763 /* System header to define __stub macros and hopefully few prototypes,
46764 which can conflict with char $ac_func (); below.
46765 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46766 <limits.h> exists even on freestanding compilers. */
46768 #ifdef __STDC__
46769 # include <limits.h>
46770 #else
46771 # include <assert.h>
46772 #endif
46774 #undef $ac_func
46776 /* Override any gcc2 internal prototype to avoid an error. */
46777 #ifdef __cplusplus
46778 extern "C"
46780 #endif
46781 /* We use char because int might match the return type of a gcc2
46782 builtin and then its argument prototype would still apply. */
46783 char $ac_func ();
46784 /* The GNU C library defines this for functions which it implements
46785 to always fail with ENOSYS. Some functions are actually named
46786 something starting with __ and the normal name is an alias. */
46787 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46788 choke me
46789 #else
46790 char (*f) () = $ac_func;
46791 #endif
46792 #ifdef __cplusplus
46794 #endif
46797 main ()
46799 return f != $ac_func;
46801 return 0;
46803 _ACEOF
46804 rm -f conftest.$ac_objext conftest$ac_exeext
46805 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46806 (eval $ac_link) 2>conftest.er1
46807 ac_status=$?
46808 grep -v '^ *+' conftest.er1 >conftest.err
46809 rm -f conftest.er1
46810 cat conftest.err >&5
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); } &&
46813 { ac_try='test -z "$ac_c_werror_flag"
46814 || test ! -s conftest.err'
46815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46816 (eval $ac_try) 2>&5
46817 ac_status=$?
46818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46819 (exit $ac_status); }; } &&
46820 { ac_try='test -s conftest$ac_exeext'
46821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46822 (eval $ac_try) 2>&5
46823 ac_status=$?
46824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46825 (exit $ac_status); }; }; then
46826 eval "$as_ac_var=yes"
46827 else
46828 echo "$as_me: failed program was:" >&5
46829 sed 's/^/| /' conftest.$ac_ext >&5
46831 eval "$as_ac_var=no"
46833 rm -f conftest.err conftest.$ac_objext \
46834 conftest$ac_exeext conftest.$ac_ext
46836 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46837 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46838 if test `eval echo '${'$as_ac_var'}'` = yes; then
46839 cat >>confdefs.h <<_ACEOF
46840 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46841 _ACEOF
46844 done
46846 else
46848 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
46849 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
46850 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46851 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
46852 echo $ECHO_N "(cached) $ECHO_C" >&6
46853 else
46857 ac_ext=cc
46858 ac_cpp='$CXXCPP $CPPFLAGS'
46859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46863 cat >conftest.$ac_ext <<_ACEOF
46864 /* confdefs.h. */
46865 _ACEOF
46866 cat confdefs.h >>conftest.$ac_ext
46867 cat >>conftest.$ac_ext <<_ACEOF
46868 /* end confdefs.h. */
46869 #include <math.h>
46870 #ifdef HAVE_IEEEFP_H
46871 #include <ieeefp.h>
46872 #endif
46875 main ()
46877 _qfpclass(0);
46879 return 0;
46881 _ACEOF
46882 rm -f conftest.$ac_objext
46883 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46884 (eval $ac_compile) 2>conftest.er1
46885 ac_status=$?
46886 grep -v '^ *+' conftest.er1 >conftest.err
46887 rm -f conftest.er1
46888 cat conftest.err >&5
46889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46890 (exit $ac_status); } &&
46891 { ac_try='test -z "$ac_cxx_werror_flag"
46892 || test ! -s conftest.err'
46893 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46894 (eval $ac_try) 2>&5
46895 ac_status=$?
46896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46897 (exit $ac_status); }; } &&
46898 { ac_try='test -s conftest.$ac_objext'
46899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46900 (eval $ac_try) 2>&5
46901 ac_status=$?
46902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46903 (exit $ac_status); }; }; then
46904 glibcxx_cv_func__qfpclass_use=yes
46905 else
46906 echo "$as_me: failed program was:" >&5
46907 sed 's/^/| /' conftest.$ac_ext >&5
46909 glibcxx_cv_func__qfpclass_use=no
46911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46912 ac_ext=c
46913 ac_cpp='$CPP $CPPFLAGS'
46914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46922 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
46923 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
46925 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46927 for ac_func in _qfpclass
46929 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46930 echo "$as_me:$LINENO: checking for $ac_func" >&5
46931 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46932 if eval "test \"\${$as_ac_var+set}\" = set"; then
46933 echo $ECHO_N "(cached) $ECHO_C" >&6
46934 else
46935 if test x$gcc_no_link = xyes; then
46936 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46937 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46938 { (exit 1); exit 1; }; }
46940 cat >conftest.$ac_ext <<_ACEOF
46941 /* confdefs.h. */
46942 _ACEOF
46943 cat confdefs.h >>conftest.$ac_ext
46944 cat >>conftest.$ac_ext <<_ACEOF
46945 /* end confdefs.h. */
46946 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46947 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46948 #define $ac_func innocuous_$ac_func
46950 /* System header to define __stub macros and hopefully few prototypes,
46951 which can conflict with char $ac_func (); below.
46952 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46953 <limits.h> exists even on freestanding compilers. */
46955 #ifdef __STDC__
46956 # include <limits.h>
46957 #else
46958 # include <assert.h>
46959 #endif
46961 #undef $ac_func
46963 /* Override any gcc2 internal prototype to avoid an error. */
46964 #ifdef __cplusplus
46965 extern "C"
46967 #endif
46968 /* We use char because int might match the return type of a gcc2
46969 builtin and then its argument prototype would still apply. */
46970 char $ac_func ();
46971 /* The GNU C library defines this for functions which it implements
46972 to always fail with ENOSYS. Some functions are actually named
46973 something starting with __ and the normal name is an alias. */
46974 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46975 choke me
46976 #else
46977 char (*f) () = $ac_func;
46978 #endif
46979 #ifdef __cplusplus
46981 #endif
46984 main ()
46986 return f != $ac_func;
46988 return 0;
46990 _ACEOF
46991 rm -f conftest.$ac_objext conftest$ac_exeext
46992 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46993 (eval $ac_link) 2>conftest.er1
46994 ac_status=$?
46995 grep -v '^ *+' conftest.er1 >conftest.err
46996 rm -f conftest.er1
46997 cat conftest.err >&5
46998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46999 (exit $ac_status); } &&
47000 { ac_try='test -z "$ac_c_werror_flag"
47001 || test ! -s conftest.err'
47002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47003 (eval $ac_try) 2>&5
47004 ac_status=$?
47005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47006 (exit $ac_status); }; } &&
47007 { ac_try='test -s conftest$ac_exeext'
47008 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47009 (eval $ac_try) 2>&5
47010 ac_status=$?
47011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47012 (exit $ac_status); }; }; then
47013 eval "$as_ac_var=yes"
47014 else
47015 echo "$as_me: failed program was:" >&5
47016 sed 's/^/| /' conftest.$ac_ext >&5
47018 eval "$as_ac_var=no"
47020 rm -f conftest.err conftest.$ac_objext \
47021 conftest$ac_exeext conftest.$ac_ext
47023 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47024 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47025 if test `eval echo '${'$as_ac_var'}'` = yes; then
47026 cat >>confdefs.h <<_ACEOF
47027 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47028 _ACEOF
47031 done
47041 echo "$as_me:$LINENO: checking for hypot declaration" >&5
47042 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
47043 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47044 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
47045 echo $ECHO_N "(cached) $ECHO_C" >&6
47046 else
47050 ac_ext=cc
47051 ac_cpp='$CXXCPP $CPPFLAGS'
47052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47056 cat >conftest.$ac_ext <<_ACEOF
47057 /* confdefs.h. */
47058 _ACEOF
47059 cat confdefs.h >>conftest.$ac_ext
47060 cat >>conftest.$ac_ext <<_ACEOF
47061 /* end confdefs.h. */
47062 #include <math.h>
47064 main ()
47066 hypot(0, 0);
47068 return 0;
47070 _ACEOF
47071 rm -f conftest.$ac_objext
47072 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47073 (eval $ac_compile) 2>conftest.er1
47074 ac_status=$?
47075 grep -v '^ *+' conftest.er1 >conftest.err
47076 rm -f conftest.er1
47077 cat conftest.err >&5
47078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47079 (exit $ac_status); } &&
47080 { ac_try='test -z "$ac_cxx_werror_flag"
47081 || test ! -s conftest.err'
47082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47083 (eval $ac_try) 2>&5
47084 ac_status=$?
47085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47086 (exit $ac_status); }; } &&
47087 { ac_try='test -s conftest.$ac_objext'
47088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47089 (eval $ac_try) 2>&5
47090 ac_status=$?
47091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47092 (exit $ac_status); }; }; then
47093 glibcxx_cv_func_hypot_use=yes
47094 else
47095 echo "$as_me: failed program was:" >&5
47096 sed 's/^/| /' conftest.$ac_ext >&5
47098 glibcxx_cv_func_hypot_use=no
47100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47101 ac_ext=c
47102 ac_cpp='$CPP $CPPFLAGS'
47103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47111 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
47112 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
47114 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
47116 for ac_func in hypot
47118 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47119 echo "$as_me:$LINENO: checking for $ac_func" >&5
47120 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47121 if eval "test \"\${$as_ac_var+set}\" = set"; then
47122 echo $ECHO_N "(cached) $ECHO_C" >&6
47123 else
47124 if test x$gcc_no_link = xyes; then
47125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47127 { (exit 1); exit 1; }; }
47129 cat >conftest.$ac_ext <<_ACEOF
47130 /* confdefs.h. */
47131 _ACEOF
47132 cat confdefs.h >>conftest.$ac_ext
47133 cat >>conftest.$ac_ext <<_ACEOF
47134 /* end confdefs.h. */
47135 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47136 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47137 #define $ac_func innocuous_$ac_func
47139 /* System header to define __stub macros and hopefully few prototypes,
47140 which can conflict with char $ac_func (); below.
47141 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47142 <limits.h> exists even on freestanding compilers. */
47144 #ifdef __STDC__
47145 # include <limits.h>
47146 #else
47147 # include <assert.h>
47148 #endif
47150 #undef $ac_func
47152 /* Override any gcc2 internal prototype to avoid an error. */
47153 #ifdef __cplusplus
47154 extern "C"
47156 #endif
47157 /* We use char because int might match the return type of a gcc2
47158 builtin and then its argument prototype would still apply. */
47159 char $ac_func ();
47160 /* The GNU C library defines this for functions which it implements
47161 to always fail with ENOSYS. Some functions are actually named
47162 something starting with __ and the normal name is an alias. */
47163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47164 choke me
47165 #else
47166 char (*f) () = $ac_func;
47167 #endif
47168 #ifdef __cplusplus
47170 #endif
47173 main ()
47175 return f != $ac_func;
47177 return 0;
47179 _ACEOF
47180 rm -f conftest.$ac_objext conftest$ac_exeext
47181 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47182 (eval $ac_link) 2>conftest.er1
47183 ac_status=$?
47184 grep -v '^ *+' conftest.er1 >conftest.err
47185 rm -f conftest.er1
47186 cat conftest.err >&5
47187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47188 (exit $ac_status); } &&
47189 { ac_try='test -z "$ac_c_werror_flag"
47190 || test ! -s conftest.err'
47191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47192 (eval $ac_try) 2>&5
47193 ac_status=$?
47194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47195 (exit $ac_status); }; } &&
47196 { ac_try='test -s conftest$ac_exeext'
47197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47198 (eval $ac_try) 2>&5
47199 ac_status=$?
47200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47201 (exit $ac_status); }; }; then
47202 eval "$as_ac_var=yes"
47203 else
47204 echo "$as_me: failed program was:" >&5
47205 sed 's/^/| /' conftest.$ac_ext >&5
47207 eval "$as_ac_var=no"
47209 rm -f conftest.err conftest.$ac_objext \
47210 conftest$ac_exeext conftest.$ac_ext
47212 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47213 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47214 if test `eval echo '${'$as_ac_var'}'` = yes; then
47215 cat >>confdefs.h <<_ACEOF
47216 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47217 _ACEOF
47220 done
47222 else
47224 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
47225 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
47226 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
47227 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
47228 echo $ECHO_N "(cached) $ECHO_C" >&6
47229 else
47233 ac_ext=cc
47234 ac_cpp='$CXXCPP $CPPFLAGS'
47235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47239 cat >conftest.$ac_ext <<_ACEOF
47240 /* confdefs.h. */
47241 _ACEOF
47242 cat confdefs.h >>conftest.$ac_ext
47243 cat >>conftest.$ac_ext <<_ACEOF
47244 /* end confdefs.h. */
47245 #include <math.h>
47247 main ()
47249 _hypot(0, 0);
47251 return 0;
47253 _ACEOF
47254 rm -f conftest.$ac_objext
47255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47256 (eval $ac_compile) 2>conftest.er1
47257 ac_status=$?
47258 grep -v '^ *+' conftest.er1 >conftest.err
47259 rm -f conftest.er1
47260 cat conftest.err >&5
47261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47262 (exit $ac_status); } &&
47263 { ac_try='test -z "$ac_cxx_werror_flag"
47264 || test ! -s conftest.err'
47265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47266 (eval $ac_try) 2>&5
47267 ac_status=$?
47268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47269 (exit $ac_status); }; } &&
47270 { ac_try='test -s conftest.$ac_objext'
47271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47272 (eval $ac_try) 2>&5
47273 ac_status=$?
47274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47275 (exit $ac_status); }; }; then
47276 glibcxx_cv_func__hypot_use=yes
47277 else
47278 echo "$as_me: failed program was:" >&5
47279 sed 's/^/| /' conftest.$ac_ext >&5
47281 glibcxx_cv_func__hypot_use=no
47283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47284 ac_ext=c
47285 ac_cpp='$CPP $CPPFLAGS'
47286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
47295 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
47297 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
47299 for ac_func in _hypot
47301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47302 echo "$as_me:$LINENO: checking for $ac_func" >&5
47303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47304 if eval "test \"\${$as_ac_var+set}\" = set"; then
47305 echo $ECHO_N "(cached) $ECHO_C" >&6
47306 else
47307 if test x$gcc_no_link = xyes; then
47308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47310 { (exit 1); exit 1; }; }
47312 cat >conftest.$ac_ext <<_ACEOF
47313 /* confdefs.h. */
47314 _ACEOF
47315 cat confdefs.h >>conftest.$ac_ext
47316 cat >>conftest.$ac_ext <<_ACEOF
47317 /* end confdefs.h. */
47318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47320 #define $ac_func innocuous_$ac_func
47322 /* System header to define __stub macros and hopefully few prototypes,
47323 which can conflict with char $ac_func (); below.
47324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47325 <limits.h> exists even on freestanding compilers. */
47327 #ifdef __STDC__
47328 # include <limits.h>
47329 #else
47330 # include <assert.h>
47331 #endif
47333 #undef $ac_func
47335 /* Override any gcc2 internal prototype to avoid an error. */
47336 #ifdef __cplusplus
47337 extern "C"
47339 #endif
47340 /* We use char because int might match the return type of a gcc2
47341 builtin and then its argument prototype would still apply. */
47342 char $ac_func ();
47343 /* The GNU C library defines this for functions which it implements
47344 to always fail with ENOSYS. Some functions are actually named
47345 something starting with __ and the normal name is an alias. */
47346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47347 choke me
47348 #else
47349 char (*f) () = $ac_func;
47350 #endif
47351 #ifdef __cplusplus
47353 #endif
47356 main ()
47358 return f != $ac_func;
47360 return 0;
47362 _ACEOF
47363 rm -f conftest.$ac_objext conftest$ac_exeext
47364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47365 (eval $ac_link) 2>conftest.er1
47366 ac_status=$?
47367 grep -v '^ *+' conftest.er1 >conftest.err
47368 rm -f conftest.er1
47369 cat conftest.err >&5
47370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47371 (exit $ac_status); } &&
47372 { ac_try='test -z "$ac_c_werror_flag"
47373 || test ! -s conftest.err'
47374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47375 (eval $ac_try) 2>&5
47376 ac_status=$?
47377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47378 (exit $ac_status); }; } &&
47379 { ac_try='test -s conftest$ac_exeext'
47380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47381 (eval $ac_try) 2>&5
47382 ac_status=$?
47383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47384 (exit $ac_status); }; }; then
47385 eval "$as_ac_var=yes"
47386 else
47387 echo "$as_me: failed program was:" >&5
47388 sed 's/^/| /' conftest.$ac_ext >&5
47390 eval "$as_ac_var=no"
47392 rm -f conftest.err conftest.$ac_objext \
47393 conftest$ac_exeext conftest.$ac_ext
47395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47397 if test `eval echo '${'$as_ac_var'}'` = yes; then
47398 cat >>confdefs.h <<_ACEOF
47399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47400 _ACEOF
47403 done
47413 echo "$as_me:$LINENO: checking for float trig functions" >&5
47414 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
47415 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
47416 echo $ECHO_N "(cached) $ECHO_C" >&6
47417 else
47421 ac_ext=cc
47422 ac_cpp='$CXXCPP $CPPFLAGS'
47423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47427 cat >conftest.$ac_ext <<_ACEOF
47428 /* confdefs.h. */
47429 _ACEOF
47430 cat confdefs.h >>conftest.$ac_ext
47431 cat >>conftest.$ac_ext <<_ACEOF
47432 /* end confdefs.h. */
47433 #include <math.h>
47435 main ()
47437 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47439 return 0;
47441 _ACEOF
47442 rm -f conftest.$ac_objext
47443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47444 (eval $ac_compile) 2>conftest.er1
47445 ac_status=$?
47446 grep -v '^ *+' conftest.er1 >conftest.err
47447 rm -f conftest.er1
47448 cat conftest.err >&5
47449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47450 (exit $ac_status); } &&
47451 { ac_try='test -z "$ac_cxx_werror_flag"
47452 || test ! -s conftest.err'
47453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47454 (eval $ac_try) 2>&5
47455 ac_status=$?
47456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47457 (exit $ac_status); }; } &&
47458 { ac_try='test -s conftest.$ac_objext'
47459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47460 (eval $ac_try) 2>&5
47461 ac_status=$?
47462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47463 (exit $ac_status); }; }; then
47464 glibcxx_cv_func_float_trig_use=yes
47465 else
47466 echo "$as_me: failed program was:" >&5
47467 sed 's/^/| /' conftest.$ac_ext >&5
47469 glibcxx_cv_func_float_trig_use=no
47471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47472 ac_ext=c
47473 ac_cpp='$CPP $CPPFLAGS'
47474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
47481 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
47482 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47492 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47495 echo "$as_me:$LINENO: checking for $ac_func" >&5
47496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47497 if eval "test \"\${$as_ac_var+set}\" = set"; then
47498 echo $ECHO_N "(cached) $ECHO_C" >&6
47499 else
47500 if test x$gcc_no_link = xyes; then
47501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47503 { (exit 1); exit 1; }; }
47505 cat >conftest.$ac_ext <<_ACEOF
47506 /* confdefs.h. */
47507 _ACEOF
47508 cat confdefs.h >>conftest.$ac_ext
47509 cat >>conftest.$ac_ext <<_ACEOF
47510 /* end confdefs.h. */
47511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47513 #define $ac_func innocuous_$ac_func
47515 /* System header to define __stub macros and hopefully few prototypes,
47516 which can conflict with char $ac_func (); below.
47517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47518 <limits.h> exists even on freestanding compilers. */
47520 #ifdef __STDC__
47521 # include <limits.h>
47522 #else
47523 # include <assert.h>
47524 #endif
47526 #undef $ac_func
47528 /* Override any gcc2 internal prototype to avoid an error. */
47529 #ifdef __cplusplus
47530 extern "C"
47532 #endif
47533 /* We use char because int might match the return type of a gcc2
47534 builtin and then its argument prototype would still apply. */
47535 char $ac_func ();
47536 /* The GNU C library defines this for functions which it implements
47537 to always fail with ENOSYS. Some functions are actually named
47538 something starting with __ and the normal name is an alias. */
47539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47540 choke me
47541 #else
47542 char (*f) () = $ac_func;
47543 #endif
47544 #ifdef __cplusplus
47546 #endif
47549 main ()
47551 return f != $ac_func;
47553 return 0;
47555 _ACEOF
47556 rm -f conftest.$ac_objext conftest$ac_exeext
47557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47558 (eval $ac_link) 2>conftest.er1
47559 ac_status=$?
47560 grep -v '^ *+' conftest.er1 >conftest.err
47561 rm -f conftest.er1
47562 cat conftest.err >&5
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); } &&
47565 { ac_try='test -z "$ac_c_werror_flag"
47566 || test ! -s conftest.err'
47567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47568 (eval $ac_try) 2>&5
47569 ac_status=$?
47570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47571 (exit $ac_status); }; } &&
47572 { ac_try='test -s conftest$ac_exeext'
47573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47574 (eval $ac_try) 2>&5
47575 ac_status=$?
47576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47577 (exit $ac_status); }; }; then
47578 eval "$as_ac_var=yes"
47579 else
47580 echo "$as_me: failed program was:" >&5
47581 sed 's/^/| /' conftest.$ac_ext >&5
47583 eval "$as_ac_var=no"
47585 rm -f conftest.err conftest.$ac_objext \
47586 conftest$ac_exeext conftest.$ac_ext
47588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47590 if test `eval echo '${'$as_ac_var'}'` = yes; then
47591 cat >>confdefs.h <<_ACEOF
47592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47593 _ACEOF
47596 done
47598 else
47599 echo "$as_me:$LINENO: checking for _float trig functions" >&5
47600 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
47601 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
47602 echo $ECHO_N "(cached) $ECHO_C" >&6
47603 else
47607 ac_ext=cc
47608 ac_cpp='$CXXCPP $CPPFLAGS'
47609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47613 cat >conftest.$ac_ext <<_ACEOF
47614 /* confdefs.h. */
47615 _ACEOF
47616 cat confdefs.h >>conftest.$ac_ext
47617 cat >>conftest.$ac_ext <<_ACEOF
47618 /* end confdefs.h. */
47619 #include <math.h>
47621 main ()
47623 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47625 return 0;
47627 _ACEOF
47628 rm -f conftest.$ac_objext
47629 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47630 (eval $ac_compile) 2>conftest.er1
47631 ac_status=$?
47632 grep -v '^ *+' conftest.er1 >conftest.err
47633 rm -f conftest.er1
47634 cat conftest.err >&5
47635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47636 (exit $ac_status); } &&
47637 { ac_try='test -z "$ac_cxx_werror_flag"
47638 || test ! -s conftest.err'
47639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47640 (eval $ac_try) 2>&5
47641 ac_status=$?
47642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47643 (exit $ac_status); }; } &&
47644 { ac_try='test -s conftest.$ac_objext'
47645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47646 (eval $ac_try) 2>&5
47647 ac_status=$?
47648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47649 (exit $ac_status); }; }; then
47650 glibcxx_cv_func__float_trig_use=yes
47651 else
47652 echo "$as_me: failed program was:" >&5
47653 sed 's/^/| /' conftest.$ac_ext >&5
47655 glibcxx_cv_func__float_trig_use=no
47657 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47658 ac_ext=c
47659 ac_cpp='$CPP $CPPFLAGS'
47660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47666 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
47667 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
47668 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47678 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47681 echo "$as_me:$LINENO: checking for $ac_func" >&5
47682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47683 if eval "test \"\${$as_ac_var+set}\" = set"; then
47684 echo $ECHO_N "(cached) $ECHO_C" >&6
47685 else
47686 if test x$gcc_no_link = xyes; then
47687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47689 { (exit 1); exit 1; }; }
47691 cat >conftest.$ac_ext <<_ACEOF
47692 /* confdefs.h. */
47693 _ACEOF
47694 cat confdefs.h >>conftest.$ac_ext
47695 cat >>conftest.$ac_ext <<_ACEOF
47696 /* end confdefs.h. */
47697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47699 #define $ac_func innocuous_$ac_func
47701 /* System header to define __stub macros and hopefully few prototypes,
47702 which can conflict with char $ac_func (); below.
47703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47704 <limits.h> exists even on freestanding compilers. */
47706 #ifdef __STDC__
47707 # include <limits.h>
47708 #else
47709 # include <assert.h>
47710 #endif
47712 #undef $ac_func
47714 /* Override any gcc2 internal prototype to avoid an error. */
47715 #ifdef __cplusplus
47716 extern "C"
47718 #endif
47719 /* We use char because int might match the return type of a gcc2
47720 builtin and then its argument prototype would still apply. */
47721 char $ac_func ();
47722 /* The GNU C library defines this for functions which it implements
47723 to always fail with ENOSYS. Some functions are actually named
47724 something starting with __ and the normal name is an alias. */
47725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47726 choke me
47727 #else
47728 char (*f) () = $ac_func;
47729 #endif
47730 #ifdef __cplusplus
47732 #endif
47735 main ()
47737 return f != $ac_func;
47739 return 0;
47741 _ACEOF
47742 rm -f conftest.$ac_objext conftest$ac_exeext
47743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47744 (eval $ac_link) 2>conftest.er1
47745 ac_status=$?
47746 grep -v '^ *+' conftest.er1 >conftest.err
47747 rm -f conftest.er1
47748 cat conftest.err >&5
47749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47750 (exit $ac_status); } &&
47751 { ac_try='test -z "$ac_c_werror_flag"
47752 || test ! -s conftest.err'
47753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47754 (eval $ac_try) 2>&5
47755 ac_status=$?
47756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47757 (exit $ac_status); }; } &&
47758 { ac_try='test -s conftest$ac_exeext'
47759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47760 (eval $ac_try) 2>&5
47761 ac_status=$?
47762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47763 (exit $ac_status); }; }; then
47764 eval "$as_ac_var=yes"
47765 else
47766 echo "$as_me: failed program was:" >&5
47767 sed 's/^/| /' conftest.$ac_ext >&5
47769 eval "$as_ac_var=no"
47771 rm -f conftest.err conftest.$ac_objext \
47772 conftest$ac_exeext conftest.$ac_ext
47774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47776 if test `eval echo '${'$as_ac_var'}'` = yes; then
47777 cat >>confdefs.h <<_ACEOF
47778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47779 _ACEOF
47782 done
47800 echo "$as_me:$LINENO: checking for float round functions" >&5
47801 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
47802 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
47803 echo $ECHO_N "(cached) $ECHO_C" >&6
47804 else
47808 ac_ext=cc
47809 ac_cpp='$CXXCPP $CPPFLAGS'
47810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47814 cat >conftest.$ac_ext <<_ACEOF
47815 /* confdefs.h. */
47816 _ACEOF
47817 cat confdefs.h >>conftest.$ac_ext
47818 cat >>conftest.$ac_ext <<_ACEOF
47819 /* end confdefs.h. */
47820 #include <math.h>
47822 main ()
47824 ceilf (0); floorf (0);
47826 return 0;
47828 _ACEOF
47829 rm -f conftest.$ac_objext
47830 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47831 (eval $ac_compile) 2>conftest.er1
47832 ac_status=$?
47833 grep -v '^ *+' conftest.er1 >conftest.err
47834 rm -f conftest.er1
47835 cat conftest.err >&5
47836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47837 (exit $ac_status); } &&
47838 { ac_try='test -z "$ac_cxx_werror_flag"
47839 || test ! -s conftest.err'
47840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47841 (eval $ac_try) 2>&5
47842 ac_status=$?
47843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47844 (exit $ac_status); }; } &&
47845 { ac_try='test -s conftest.$ac_objext'
47846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47847 (eval $ac_try) 2>&5
47848 ac_status=$?
47849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47850 (exit $ac_status); }; }; then
47851 glibcxx_cv_func_float_round_use=yes
47852 else
47853 echo "$as_me: failed program was:" >&5
47854 sed 's/^/| /' conftest.$ac_ext >&5
47856 glibcxx_cv_func_float_round_use=no
47858 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
47868 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
47869 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47872 for ac_func in ceilf floorf
47874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47875 echo "$as_me:$LINENO: checking for $ac_func" >&5
47876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47877 if eval "test \"\${$as_ac_var+set}\" = set"; then
47878 echo $ECHO_N "(cached) $ECHO_C" >&6
47879 else
47880 if test x$gcc_no_link = xyes; then
47881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47883 { (exit 1); exit 1; }; }
47885 cat >conftest.$ac_ext <<_ACEOF
47886 /* confdefs.h. */
47887 _ACEOF
47888 cat confdefs.h >>conftest.$ac_ext
47889 cat >>conftest.$ac_ext <<_ACEOF
47890 /* end confdefs.h. */
47891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47893 #define $ac_func innocuous_$ac_func
47895 /* System header to define __stub macros and hopefully few prototypes,
47896 which can conflict with char $ac_func (); below.
47897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47898 <limits.h> exists even on freestanding compilers. */
47900 #ifdef __STDC__
47901 # include <limits.h>
47902 #else
47903 # include <assert.h>
47904 #endif
47906 #undef $ac_func
47908 /* Override any gcc2 internal prototype to avoid an error. */
47909 #ifdef __cplusplus
47910 extern "C"
47912 #endif
47913 /* We use char because int might match the return type of a gcc2
47914 builtin and then its argument prototype would still apply. */
47915 char $ac_func ();
47916 /* The GNU C library defines this for functions which it implements
47917 to always fail with ENOSYS. Some functions are actually named
47918 something starting with __ and the normal name is an alias. */
47919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47920 choke me
47921 #else
47922 char (*f) () = $ac_func;
47923 #endif
47924 #ifdef __cplusplus
47926 #endif
47929 main ()
47931 return f != $ac_func;
47933 return 0;
47935 _ACEOF
47936 rm -f conftest.$ac_objext conftest$ac_exeext
47937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47938 (eval $ac_link) 2>conftest.er1
47939 ac_status=$?
47940 grep -v '^ *+' conftest.er1 >conftest.err
47941 rm -f conftest.er1
47942 cat conftest.err >&5
47943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47944 (exit $ac_status); } &&
47945 { ac_try='test -z "$ac_c_werror_flag"
47946 || test ! -s conftest.err'
47947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47948 (eval $ac_try) 2>&5
47949 ac_status=$?
47950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47951 (exit $ac_status); }; } &&
47952 { ac_try='test -s conftest$ac_exeext'
47953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47954 (eval $ac_try) 2>&5
47955 ac_status=$?
47956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47957 (exit $ac_status); }; }; then
47958 eval "$as_ac_var=yes"
47959 else
47960 echo "$as_me: failed program was:" >&5
47961 sed 's/^/| /' conftest.$ac_ext >&5
47963 eval "$as_ac_var=no"
47965 rm -f conftest.err conftest.$ac_objext \
47966 conftest$ac_exeext conftest.$ac_ext
47968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47970 if test `eval echo '${'$as_ac_var'}'` = yes; then
47971 cat >>confdefs.h <<_ACEOF
47972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47973 _ACEOF
47976 done
47978 else
47979 echo "$as_me:$LINENO: checking for _float round functions" >&5
47980 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
47981 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
47982 echo $ECHO_N "(cached) $ECHO_C" >&6
47983 else
47987 ac_ext=cc
47988 ac_cpp='$CXXCPP $CPPFLAGS'
47989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47993 cat >conftest.$ac_ext <<_ACEOF
47994 /* confdefs.h. */
47995 _ACEOF
47996 cat confdefs.h >>conftest.$ac_ext
47997 cat >>conftest.$ac_ext <<_ACEOF
47998 /* end confdefs.h. */
47999 #include <math.h>
48001 main ()
48003 _ceilf (0); _floorf (0);
48005 return 0;
48007 _ACEOF
48008 rm -f conftest.$ac_objext
48009 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48010 (eval $ac_compile) 2>conftest.er1
48011 ac_status=$?
48012 grep -v '^ *+' conftest.er1 >conftest.err
48013 rm -f conftest.er1
48014 cat conftest.err >&5
48015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48016 (exit $ac_status); } &&
48017 { ac_try='test -z "$ac_cxx_werror_flag"
48018 || test ! -s conftest.err'
48019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48020 (eval $ac_try) 2>&5
48021 ac_status=$?
48022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48023 (exit $ac_status); }; } &&
48024 { ac_try='test -s conftest.$ac_objext'
48025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48026 (eval $ac_try) 2>&5
48027 ac_status=$?
48028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48029 (exit $ac_status); }; }; then
48030 glibcxx_cv_func__float_round_use=yes
48031 else
48032 echo "$as_me: failed program was:" >&5
48033 sed 's/^/| /' conftest.$ac_ext >&5
48035 glibcxx_cv_func__float_round_use=no
48037 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48038 ac_ext=c
48039 ac_cpp='$CPP $CPPFLAGS'
48040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48046 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
48047 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
48048 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48051 for ac_func in _ceilf _floorf
48053 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48054 echo "$as_me:$LINENO: checking for $ac_func" >&5
48055 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48056 if eval "test \"\${$as_ac_var+set}\" = set"; then
48057 echo $ECHO_N "(cached) $ECHO_C" >&6
48058 else
48059 if test x$gcc_no_link = xyes; then
48060 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48061 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48062 { (exit 1); exit 1; }; }
48064 cat >conftest.$ac_ext <<_ACEOF
48065 /* confdefs.h. */
48066 _ACEOF
48067 cat confdefs.h >>conftest.$ac_ext
48068 cat >>conftest.$ac_ext <<_ACEOF
48069 /* end confdefs.h. */
48070 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48071 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48072 #define $ac_func innocuous_$ac_func
48074 /* System header to define __stub macros and hopefully few prototypes,
48075 which can conflict with char $ac_func (); below.
48076 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48077 <limits.h> exists even on freestanding compilers. */
48079 #ifdef __STDC__
48080 # include <limits.h>
48081 #else
48082 # include <assert.h>
48083 #endif
48085 #undef $ac_func
48087 /* Override any gcc2 internal prototype to avoid an error. */
48088 #ifdef __cplusplus
48089 extern "C"
48091 #endif
48092 /* We use char because int might match the return type of a gcc2
48093 builtin and then its argument prototype would still apply. */
48094 char $ac_func ();
48095 /* The GNU C library defines this for functions which it implements
48096 to always fail with ENOSYS. Some functions are actually named
48097 something starting with __ and the normal name is an alias. */
48098 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48099 choke me
48100 #else
48101 char (*f) () = $ac_func;
48102 #endif
48103 #ifdef __cplusplus
48105 #endif
48108 main ()
48110 return f != $ac_func;
48112 return 0;
48114 _ACEOF
48115 rm -f conftest.$ac_objext conftest$ac_exeext
48116 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48117 (eval $ac_link) 2>conftest.er1
48118 ac_status=$?
48119 grep -v '^ *+' conftest.er1 >conftest.err
48120 rm -f conftest.er1
48121 cat conftest.err >&5
48122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48123 (exit $ac_status); } &&
48124 { ac_try='test -z "$ac_c_werror_flag"
48125 || test ! -s conftest.err'
48126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48127 (eval $ac_try) 2>&5
48128 ac_status=$?
48129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48130 (exit $ac_status); }; } &&
48131 { ac_try='test -s conftest$ac_exeext'
48132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48133 (eval $ac_try) 2>&5
48134 ac_status=$?
48135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48136 (exit $ac_status); }; }; then
48137 eval "$as_ac_var=yes"
48138 else
48139 echo "$as_me: failed program was:" >&5
48140 sed 's/^/| /' conftest.$ac_ext >&5
48142 eval "$as_ac_var=no"
48144 rm -f conftest.err conftest.$ac_objext \
48145 conftest$ac_exeext conftest.$ac_ext
48147 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48148 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48149 if test `eval echo '${'$as_ac_var'}'` = yes; then
48150 cat >>confdefs.h <<_ACEOF
48151 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48152 _ACEOF
48155 done
48167 echo "$as_me:$LINENO: checking for expf declaration" >&5
48168 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
48169 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48170 if test "${glibcxx_cv_func_expf_use+set}" = set; then
48171 echo $ECHO_N "(cached) $ECHO_C" >&6
48172 else
48176 ac_ext=cc
48177 ac_cpp='$CXXCPP $CPPFLAGS'
48178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48182 cat >conftest.$ac_ext <<_ACEOF
48183 /* confdefs.h. */
48184 _ACEOF
48185 cat confdefs.h >>conftest.$ac_ext
48186 cat >>conftest.$ac_ext <<_ACEOF
48187 /* end confdefs.h. */
48188 #include <math.h>
48189 #ifdef HAVE_IEEEFP_H
48190 #include <ieeefp.h>
48191 #endif
48194 main ()
48196 expf(0);
48198 return 0;
48200 _ACEOF
48201 rm -f conftest.$ac_objext
48202 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48203 (eval $ac_compile) 2>conftest.er1
48204 ac_status=$?
48205 grep -v '^ *+' conftest.er1 >conftest.err
48206 rm -f conftest.er1
48207 cat conftest.err >&5
48208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48209 (exit $ac_status); } &&
48210 { ac_try='test -z "$ac_cxx_werror_flag"
48211 || test ! -s conftest.err'
48212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48213 (eval $ac_try) 2>&5
48214 ac_status=$?
48215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48216 (exit $ac_status); }; } &&
48217 { ac_try='test -s conftest.$ac_objext'
48218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48219 (eval $ac_try) 2>&5
48220 ac_status=$?
48221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48222 (exit $ac_status); }; }; then
48223 glibcxx_cv_func_expf_use=yes
48224 else
48225 echo "$as_me: failed program was:" >&5
48226 sed 's/^/| /' conftest.$ac_ext >&5
48228 glibcxx_cv_func_expf_use=no
48230 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48231 ac_ext=c
48232 ac_cpp='$CPP $CPPFLAGS'
48233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48241 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
48242 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
48244 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48246 for ac_func in expf
48248 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48249 echo "$as_me:$LINENO: checking for $ac_func" >&5
48250 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48251 if eval "test \"\${$as_ac_var+set}\" = set"; then
48252 echo $ECHO_N "(cached) $ECHO_C" >&6
48253 else
48254 if test x$gcc_no_link = xyes; then
48255 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48256 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48257 { (exit 1); exit 1; }; }
48259 cat >conftest.$ac_ext <<_ACEOF
48260 /* confdefs.h. */
48261 _ACEOF
48262 cat confdefs.h >>conftest.$ac_ext
48263 cat >>conftest.$ac_ext <<_ACEOF
48264 /* end confdefs.h. */
48265 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48266 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48267 #define $ac_func innocuous_$ac_func
48269 /* System header to define __stub macros and hopefully few prototypes,
48270 which can conflict with char $ac_func (); below.
48271 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48272 <limits.h> exists even on freestanding compilers. */
48274 #ifdef __STDC__
48275 # include <limits.h>
48276 #else
48277 # include <assert.h>
48278 #endif
48280 #undef $ac_func
48282 /* Override any gcc2 internal prototype to avoid an error. */
48283 #ifdef __cplusplus
48284 extern "C"
48286 #endif
48287 /* We use char because int might match the return type of a gcc2
48288 builtin and then its argument prototype would still apply. */
48289 char $ac_func ();
48290 /* The GNU C library defines this for functions which it implements
48291 to always fail with ENOSYS. Some functions are actually named
48292 something starting with __ and the normal name is an alias. */
48293 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48294 choke me
48295 #else
48296 char (*f) () = $ac_func;
48297 #endif
48298 #ifdef __cplusplus
48300 #endif
48303 main ()
48305 return f != $ac_func;
48307 return 0;
48309 _ACEOF
48310 rm -f conftest.$ac_objext conftest$ac_exeext
48311 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48312 (eval $ac_link) 2>conftest.er1
48313 ac_status=$?
48314 grep -v '^ *+' conftest.er1 >conftest.err
48315 rm -f conftest.er1
48316 cat conftest.err >&5
48317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48318 (exit $ac_status); } &&
48319 { ac_try='test -z "$ac_c_werror_flag"
48320 || test ! -s conftest.err'
48321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48322 (eval $ac_try) 2>&5
48323 ac_status=$?
48324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48325 (exit $ac_status); }; } &&
48326 { ac_try='test -s conftest$ac_exeext'
48327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48328 (eval $ac_try) 2>&5
48329 ac_status=$?
48330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48331 (exit $ac_status); }; }; then
48332 eval "$as_ac_var=yes"
48333 else
48334 echo "$as_me: failed program was:" >&5
48335 sed 's/^/| /' conftest.$ac_ext >&5
48337 eval "$as_ac_var=no"
48339 rm -f conftest.err conftest.$ac_objext \
48340 conftest$ac_exeext conftest.$ac_ext
48342 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48343 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48344 if test `eval echo '${'$as_ac_var'}'` = yes; then
48345 cat >>confdefs.h <<_ACEOF
48346 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48347 _ACEOF
48350 done
48352 else
48354 echo "$as_me:$LINENO: checking for _expf declaration" >&5
48355 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
48356 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48357 if test "${glibcxx_cv_func__expf_use+set}" = set; then
48358 echo $ECHO_N "(cached) $ECHO_C" >&6
48359 else
48363 ac_ext=cc
48364 ac_cpp='$CXXCPP $CPPFLAGS'
48365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48369 cat >conftest.$ac_ext <<_ACEOF
48370 /* confdefs.h. */
48371 _ACEOF
48372 cat confdefs.h >>conftest.$ac_ext
48373 cat >>conftest.$ac_ext <<_ACEOF
48374 /* end confdefs.h. */
48375 #include <math.h>
48376 #ifdef HAVE_IEEEFP_H
48377 #include <ieeefp.h>
48378 #endif
48381 main ()
48383 _expf(0);
48385 return 0;
48387 _ACEOF
48388 rm -f conftest.$ac_objext
48389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48390 (eval $ac_compile) 2>conftest.er1
48391 ac_status=$?
48392 grep -v '^ *+' conftest.er1 >conftest.err
48393 rm -f conftest.er1
48394 cat conftest.err >&5
48395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48396 (exit $ac_status); } &&
48397 { ac_try='test -z "$ac_cxx_werror_flag"
48398 || test ! -s conftest.err'
48399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48400 (eval $ac_try) 2>&5
48401 ac_status=$?
48402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48403 (exit $ac_status); }; } &&
48404 { ac_try='test -s conftest.$ac_objext'
48405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48406 (eval $ac_try) 2>&5
48407 ac_status=$?
48408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48409 (exit $ac_status); }; }; then
48410 glibcxx_cv_func__expf_use=yes
48411 else
48412 echo "$as_me: failed program was:" >&5
48413 sed 's/^/| /' conftest.$ac_ext >&5
48415 glibcxx_cv_func__expf_use=no
48417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48418 ac_ext=c
48419 ac_cpp='$CPP $CPPFLAGS'
48420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
48429 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
48431 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48433 for ac_func in _expf
48435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48436 echo "$as_me:$LINENO: checking for $ac_func" >&5
48437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48438 if eval "test \"\${$as_ac_var+set}\" = set"; then
48439 echo $ECHO_N "(cached) $ECHO_C" >&6
48440 else
48441 if test x$gcc_no_link = xyes; then
48442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48444 { (exit 1); exit 1; }; }
48446 cat >conftest.$ac_ext <<_ACEOF
48447 /* confdefs.h. */
48448 _ACEOF
48449 cat confdefs.h >>conftest.$ac_ext
48450 cat >>conftest.$ac_ext <<_ACEOF
48451 /* end confdefs.h. */
48452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48454 #define $ac_func innocuous_$ac_func
48456 /* System header to define __stub macros and hopefully few prototypes,
48457 which can conflict with char $ac_func (); below.
48458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48459 <limits.h> exists even on freestanding compilers. */
48461 #ifdef __STDC__
48462 # include <limits.h>
48463 #else
48464 # include <assert.h>
48465 #endif
48467 #undef $ac_func
48469 /* Override any gcc2 internal prototype to avoid an error. */
48470 #ifdef __cplusplus
48471 extern "C"
48473 #endif
48474 /* We use char because int might match the return type of a gcc2
48475 builtin and then its argument prototype would still apply. */
48476 char $ac_func ();
48477 /* The GNU C library defines this for functions which it implements
48478 to always fail with ENOSYS. Some functions are actually named
48479 something starting with __ and the normal name is an alias. */
48480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48481 choke me
48482 #else
48483 char (*f) () = $ac_func;
48484 #endif
48485 #ifdef __cplusplus
48487 #endif
48490 main ()
48492 return f != $ac_func;
48494 return 0;
48496 _ACEOF
48497 rm -f conftest.$ac_objext conftest$ac_exeext
48498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48499 (eval $ac_link) 2>conftest.er1
48500 ac_status=$?
48501 grep -v '^ *+' conftest.er1 >conftest.err
48502 rm -f conftest.er1
48503 cat conftest.err >&5
48504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48505 (exit $ac_status); } &&
48506 { ac_try='test -z "$ac_c_werror_flag"
48507 || test ! -s conftest.err'
48508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48509 (eval $ac_try) 2>&5
48510 ac_status=$?
48511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48512 (exit $ac_status); }; } &&
48513 { ac_try='test -s conftest$ac_exeext'
48514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48515 (eval $ac_try) 2>&5
48516 ac_status=$?
48517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48518 (exit $ac_status); }; }; then
48519 eval "$as_ac_var=yes"
48520 else
48521 echo "$as_me: failed program was:" >&5
48522 sed 's/^/| /' conftest.$ac_ext >&5
48524 eval "$as_ac_var=no"
48526 rm -f conftest.err conftest.$ac_objext \
48527 conftest$ac_exeext conftest.$ac_ext
48529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48531 if test `eval echo '${'$as_ac_var'}'` = yes; then
48532 cat >>confdefs.h <<_ACEOF
48533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48534 _ACEOF
48537 done
48547 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
48548 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
48549 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48550 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
48551 echo $ECHO_N "(cached) $ECHO_C" >&6
48552 else
48556 ac_ext=cc
48557 ac_cpp='$CXXCPP $CPPFLAGS'
48558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48562 cat >conftest.$ac_ext <<_ACEOF
48563 /* confdefs.h. */
48564 _ACEOF
48565 cat confdefs.h >>conftest.$ac_ext
48566 cat >>conftest.$ac_ext <<_ACEOF
48567 /* end confdefs.h. */
48568 #include <math.h>
48569 #ifdef HAVE_IEEEFP_H
48570 #include <ieeefp.h>
48571 #endif
48574 main ()
48576 isnanf(0);
48578 return 0;
48580 _ACEOF
48581 rm -f conftest.$ac_objext
48582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48583 (eval $ac_compile) 2>conftest.er1
48584 ac_status=$?
48585 grep -v '^ *+' conftest.er1 >conftest.err
48586 rm -f conftest.er1
48587 cat conftest.err >&5
48588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48589 (exit $ac_status); } &&
48590 { ac_try='test -z "$ac_cxx_werror_flag"
48591 || test ! -s conftest.err'
48592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48593 (eval $ac_try) 2>&5
48594 ac_status=$?
48595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48596 (exit $ac_status); }; } &&
48597 { ac_try='test -s conftest.$ac_objext'
48598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48599 (eval $ac_try) 2>&5
48600 ac_status=$?
48601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48602 (exit $ac_status); }; }; then
48603 glibcxx_cv_func_isnanf_use=yes
48604 else
48605 echo "$as_me: failed program was:" >&5
48606 sed 's/^/| /' conftest.$ac_ext >&5
48608 glibcxx_cv_func_isnanf_use=no
48610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48611 ac_ext=c
48612 ac_cpp='$CPP $CPPFLAGS'
48613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
48622 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
48624 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48626 for ac_func in isnanf
48628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48629 echo "$as_me:$LINENO: checking for $ac_func" >&5
48630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48631 if eval "test \"\${$as_ac_var+set}\" = set"; then
48632 echo $ECHO_N "(cached) $ECHO_C" >&6
48633 else
48634 if test x$gcc_no_link = xyes; then
48635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48637 { (exit 1); exit 1; }; }
48639 cat >conftest.$ac_ext <<_ACEOF
48640 /* confdefs.h. */
48641 _ACEOF
48642 cat confdefs.h >>conftest.$ac_ext
48643 cat >>conftest.$ac_ext <<_ACEOF
48644 /* end confdefs.h. */
48645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48647 #define $ac_func innocuous_$ac_func
48649 /* System header to define __stub macros and hopefully few prototypes,
48650 which can conflict with char $ac_func (); below.
48651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48652 <limits.h> exists even on freestanding compilers. */
48654 #ifdef __STDC__
48655 # include <limits.h>
48656 #else
48657 # include <assert.h>
48658 #endif
48660 #undef $ac_func
48662 /* Override any gcc2 internal prototype to avoid an error. */
48663 #ifdef __cplusplus
48664 extern "C"
48666 #endif
48667 /* We use char because int might match the return type of a gcc2
48668 builtin and then its argument prototype would still apply. */
48669 char $ac_func ();
48670 /* The GNU C library defines this for functions which it implements
48671 to always fail with ENOSYS. Some functions are actually named
48672 something starting with __ and the normal name is an alias. */
48673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48674 choke me
48675 #else
48676 char (*f) () = $ac_func;
48677 #endif
48678 #ifdef __cplusplus
48680 #endif
48683 main ()
48685 return f != $ac_func;
48687 return 0;
48689 _ACEOF
48690 rm -f conftest.$ac_objext conftest$ac_exeext
48691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48692 (eval $ac_link) 2>conftest.er1
48693 ac_status=$?
48694 grep -v '^ *+' conftest.er1 >conftest.err
48695 rm -f conftest.er1
48696 cat conftest.err >&5
48697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48698 (exit $ac_status); } &&
48699 { ac_try='test -z "$ac_c_werror_flag"
48700 || test ! -s conftest.err'
48701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48702 (eval $ac_try) 2>&5
48703 ac_status=$?
48704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48705 (exit $ac_status); }; } &&
48706 { ac_try='test -s conftest$ac_exeext'
48707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48708 (eval $ac_try) 2>&5
48709 ac_status=$?
48710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48711 (exit $ac_status); }; }; then
48712 eval "$as_ac_var=yes"
48713 else
48714 echo "$as_me: failed program was:" >&5
48715 sed 's/^/| /' conftest.$ac_ext >&5
48717 eval "$as_ac_var=no"
48719 rm -f conftest.err conftest.$ac_objext \
48720 conftest$ac_exeext conftest.$ac_ext
48722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48724 if test `eval echo '${'$as_ac_var'}'` = yes; then
48725 cat >>confdefs.h <<_ACEOF
48726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48727 _ACEOF
48730 done
48732 else
48734 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
48735 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
48736 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48737 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
48738 echo $ECHO_N "(cached) $ECHO_C" >&6
48739 else
48743 ac_ext=cc
48744 ac_cpp='$CXXCPP $CPPFLAGS'
48745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749 cat >conftest.$ac_ext <<_ACEOF
48750 /* confdefs.h. */
48751 _ACEOF
48752 cat confdefs.h >>conftest.$ac_ext
48753 cat >>conftest.$ac_ext <<_ACEOF
48754 /* end confdefs.h. */
48755 #include <math.h>
48756 #ifdef HAVE_IEEEFP_H
48757 #include <ieeefp.h>
48758 #endif
48761 main ()
48763 _isnanf(0);
48765 return 0;
48767 _ACEOF
48768 rm -f conftest.$ac_objext
48769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48770 (eval $ac_compile) 2>conftest.er1
48771 ac_status=$?
48772 grep -v '^ *+' conftest.er1 >conftest.err
48773 rm -f conftest.er1
48774 cat conftest.err >&5
48775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48776 (exit $ac_status); } &&
48777 { ac_try='test -z "$ac_cxx_werror_flag"
48778 || test ! -s conftest.err'
48779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48780 (eval $ac_try) 2>&5
48781 ac_status=$?
48782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48783 (exit $ac_status); }; } &&
48784 { ac_try='test -s conftest.$ac_objext'
48785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48786 (eval $ac_try) 2>&5
48787 ac_status=$?
48788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48789 (exit $ac_status); }; }; then
48790 glibcxx_cv_func__isnanf_use=yes
48791 else
48792 echo "$as_me: failed program was:" >&5
48793 sed 's/^/| /' conftest.$ac_ext >&5
48795 glibcxx_cv_func__isnanf_use=no
48797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48798 ac_ext=c
48799 ac_cpp='$CPP $CPPFLAGS'
48800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
48809 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
48811 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48813 for ac_func in _isnanf
48815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48816 echo "$as_me:$LINENO: checking for $ac_func" >&5
48817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48818 if eval "test \"\${$as_ac_var+set}\" = set"; then
48819 echo $ECHO_N "(cached) $ECHO_C" >&6
48820 else
48821 if test x$gcc_no_link = xyes; then
48822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48824 { (exit 1); exit 1; }; }
48826 cat >conftest.$ac_ext <<_ACEOF
48827 /* confdefs.h. */
48828 _ACEOF
48829 cat confdefs.h >>conftest.$ac_ext
48830 cat >>conftest.$ac_ext <<_ACEOF
48831 /* end confdefs.h. */
48832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48834 #define $ac_func innocuous_$ac_func
48836 /* System header to define __stub macros and hopefully few prototypes,
48837 which can conflict with char $ac_func (); below.
48838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48839 <limits.h> exists even on freestanding compilers. */
48841 #ifdef __STDC__
48842 # include <limits.h>
48843 #else
48844 # include <assert.h>
48845 #endif
48847 #undef $ac_func
48849 /* Override any gcc2 internal prototype to avoid an error. */
48850 #ifdef __cplusplus
48851 extern "C"
48853 #endif
48854 /* We use char because int might match the return type of a gcc2
48855 builtin and then its argument prototype would still apply. */
48856 char $ac_func ();
48857 /* The GNU C library defines this for functions which it implements
48858 to always fail with ENOSYS. Some functions are actually named
48859 something starting with __ and the normal name is an alias. */
48860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48861 choke me
48862 #else
48863 char (*f) () = $ac_func;
48864 #endif
48865 #ifdef __cplusplus
48867 #endif
48870 main ()
48872 return f != $ac_func;
48874 return 0;
48876 _ACEOF
48877 rm -f conftest.$ac_objext conftest$ac_exeext
48878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48879 (eval $ac_link) 2>conftest.er1
48880 ac_status=$?
48881 grep -v '^ *+' conftest.er1 >conftest.err
48882 rm -f conftest.er1
48883 cat conftest.err >&5
48884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48885 (exit $ac_status); } &&
48886 { ac_try='test -z "$ac_c_werror_flag"
48887 || test ! -s conftest.err'
48888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48889 (eval $ac_try) 2>&5
48890 ac_status=$?
48891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48892 (exit $ac_status); }; } &&
48893 { ac_try='test -s conftest$ac_exeext'
48894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48895 (eval $ac_try) 2>&5
48896 ac_status=$?
48897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48898 (exit $ac_status); }; }; then
48899 eval "$as_ac_var=yes"
48900 else
48901 echo "$as_me: failed program was:" >&5
48902 sed 's/^/| /' conftest.$ac_ext >&5
48904 eval "$as_ac_var=no"
48906 rm -f conftest.err conftest.$ac_objext \
48907 conftest$ac_exeext conftest.$ac_ext
48909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48911 if test `eval echo '${'$as_ac_var'}'` = yes; then
48912 cat >>confdefs.h <<_ACEOF
48913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48914 _ACEOF
48917 done
48927 echo "$as_me:$LINENO: checking for isinff declaration" >&5
48928 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
48929 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48930 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
48931 echo $ECHO_N "(cached) $ECHO_C" >&6
48932 else
48936 ac_ext=cc
48937 ac_cpp='$CXXCPP $CPPFLAGS'
48938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48942 cat >conftest.$ac_ext <<_ACEOF
48943 /* confdefs.h. */
48944 _ACEOF
48945 cat confdefs.h >>conftest.$ac_ext
48946 cat >>conftest.$ac_ext <<_ACEOF
48947 /* end confdefs.h. */
48948 #include <math.h>
48949 #ifdef HAVE_IEEEFP_H
48950 #include <ieeefp.h>
48951 #endif
48954 main ()
48956 isinff(0);
48958 return 0;
48960 _ACEOF
48961 rm -f conftest.$ac_objext
48962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48963 (eval $ac_compile) 2>conftest.er1
48964 ac_status=$?
48965 grep -v '^ *+' conftest.er1 >conftest.err
48966 rm -f conftest.er1
48967 cat conftest.err >&5
48968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48969 (exit $ac_status); } &&
48970 { ac_try='test -z "$ac_cxx_werror_flag"
48971 || test ! -s conftest.err'
48972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48973 (eval $ac_try) 2>&5
48974 ac_status=$?
48975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48976 (exit $ac_status); }; } &&
48977 { ac_try='test -s conftest.$ac_objext'
48978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48979 (eval $ac_try) 2>&5
48980 ac_status=$?
48981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48982 (exit $ac_status); }; }; then
48983 glibcxx_cv_func_isinff_use=yes
48984 else
48985 echo "$as_me: failed program was:" >&5
48986 sed 's/^/| /' conftest.$ac_ext >&5
48988 glibcxx_cv_func_isinff_use=no
48990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48991 ac_ext=c
48992 ac_cpp='$CPP $CPPFLAGS'
48993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
49002 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
49004 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49006 for ac_func in isinff
49008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49009 echo "$as_me:$LINENO: checking for $ac_func" >&5
49010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49011 if eval "test \"\${$as_ac_var+set}\" = set"; then
49012 echo $ECHO_N "(cached) $ECHO_C" >&6
49013 else
49014 if test x$gcc_no_link = xyes; then
49015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49017 { (exit 1); exit 1; }; }
49019 cat >conftest.$ac_ext <<_ACEOF
49020 /* confdefs.h. */
49021 _ACEOF
49022 cat confdefs.h >>conftest.$ac_ext
49023 cat >>conftest.$ac_ext <<_ACEOF
49024 /* end confdefs.h. */
49025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49027 #define $ac_func innocuous_$ac_func
49029 /* System header to define __stub macros and hopefully few prototypes,
49030 which can conflict with char $ac_func (); below.
49031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49032 <limits.h> exists even on freestanding compilers. */
49034 #ifdef __STDC__
49035 # include <limits.h>
49036 #else
49037 # include <assert.h>
49038 #endif
49040 #undef $ac_func
49042 /* Override any gcc2 internal prototype to avoid an error. */
49043 #ifdef __cplusplus
49044 extern "C"
49046 #endif
49047 /* We use char because int might match the return type of a gcc2
49048 builtin and then its argument prototype would still apply. */
49049 char $ac_func ();
49050 /* The GNU C library defines this for functions which it implements
49051 to always fail with ENOSYS. Some functions are actually named
49052 something starting with __ and the normal name is an alias. */
49053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49054 choke me
49055 #else
49056 char (*f) () = $ac_func;
49057 #endif
49058 #ifdef __cplusplus
49060 #endif
49063 main ()
49065 return f != $ac_func;
49067 return 0;
49069 _ACEOF
49070 rm -f conftest.$ac_objext conftest$ac_exeext
49071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49072 (eval $ac_link) 2>conftest.er1
49073 ac_status=$?
49074 grep -v '^ *+' conftest.er1 >conftest.err
49075 rm -f conftest.er1
49076 cat conftest.err >&5
49077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49078 (exit $ac_status); } &&
49079 { ac_try='test -z "$ac_c_werror_flag"
49080 || test ! -s conftest.err'
49081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49082 (eval $ac_try) 2>&5
49083 ac_status=$?
49084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49085 (exit $ac_status); }; } &&
49086 { ac_try='test -s conftest$ac_exeext'
49087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49088 (eval $ac_try) 2>&5
49089 ac_status=$?
49090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49091 (exit $ac_status); }; }; then
49092 eval "$as_ac_var=yes"
49093 else
49094 echo "$as_me: failed program was:" >&5
49095 sed 's/^/| /' conftest.$ac_ext >&5
49097 eval "$as_ac_var=no"
49099 rm -f conftest.err conftest.$ac_objext \
49100 conftest$ac_exeext conftest.$ac_ext
49102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49104 if test `eval echo '${'$as_ac_var'}'` = yes; then
49105 cat >>confdefs.h <<_ACEOF
49106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49107 _ACEOF
49110 done
49112 else
49114 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
49115 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
49116 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49117 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
49118 echo $ECHO_N "(cached) $ECHO_C" >&6
49119 else
49123 ac_ext=cc
49124 ac_cpp='$CXXCPP $CPPFLAGS'
49125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49129 cat >conftest.$ac_ext <<_ACEOF
49130 /* confdefs.h. */
49131 _ACEOF
49132 cat confdefs.h >>conftest.$ac_ext
49133 cat >>conftest.$ac_ext <<_ACEOF
49134 /* end confdefs.h. */
49135 #include <math.h>
49136 #ifdef HAVE_IEEEFP_H
49137 #include <ieeefp.h>
49138 #endif
49141 main ()
49143 _isinff(0);
49145 return 0;
49147 _ACEOF
49148 rm -f conftest.$ac_objext
49149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49150 (eval $ac_compile) 2>conftest.er1
49151 ac_status=$?
49152 grep -v '^ *+' conftest.er1 >conftest.err
49153 rm -f conftest.er1
49154 cat conftest.err >&5
49155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49156 (exit $ac_status); } &&
49157 { ac_try='test -z "$ac_cxx_werror_flag"
49158 || test ! -s conftest.err'
49159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49160 (eval $ac_try) 2>&5
49161 ac_status=$?
49162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49163 (exit $ac_status); }; } &&
49164 { ac_try='test -s conftest.$ac_objext'
49165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49166 (eval $ac_try) 2>&5
49167 ac_status=$?
49168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49169 (exit $ac_status); }; }; then
49170 glibcxx_cv_func__isinff_use=yes
49171 else
49172 echo "$as_me: failed program was:" >&5
49173 sed 's/^/| /' conftest.$ac_ext >&5
49175 glibcxx_cv_func__isinff_use=no
49177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49178 ac_ext=c
49179 ac_cpp='$CPP $CPPFLAGS'
49180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
49189 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
49191 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49193 for ac_func in _isinff
49195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49196 echo "$as_me:$LINENO: checking for $ac_func" >&5
49197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49198 if eval "test \"\${$as_ac_var+set}\" = set"; then
49199 echo $ECHO_N "(cached) $ECHO_C" >&6
49200 else
49201 if test x$gcc_no_link = xyes; then
49202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49204 { (exit 1); exit 1; }; }
49206 cat >conftest.$ac_ext <<_ACEOF
49207 /* confdefs.h. */
49208 _ACEOF
49209 cat confdefs.h >>conftest.$ac_ext
49210 cat >>conftest.$ac_ext <<_ACEOF
49211 /* end confdefs.h. */
49212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49214 #define $ac_func innocuous_$ac_func
49216 /* System header to define __stub macros and hopefully few prototypes,
49217 which can conflict with char $ac_func (); below.
49218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49219 <limits.h> exists even on freestanding compilers. */
49221 #ifdef __STDC__
49222 # include <limits.h>
49223 #else
49224 # include <assert.h>
49225 #endif
49227 #undef $ac_func
49229 /* Override any gcc2 internal prototype to avoid an error. */
49230 #ifdef __cplusplus
49231 extern "C"
49233 #endif
49234 /* We use char because int might match the return type of a gcc2
49235 builtin and then its argument prototype would still apply. */
49236 char $ac_func ();
49237 /* The GNU C library defines this for functions which it implements
49238 to always fail with ENOSYS. Some functions are actually named
49239 something starting with __ and the normal name is an alias. */
49240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49241 choke me
49242 #else
49243 char (*f) () = $ac_func;
49244 #endif
49245 #ifdef __cplusplus
49247 #endif
49250 main ()
49252 return f != $ac_func;
49254 return 0;
49256 _ACEOF
49257 rm -f conftest.$ac_objext conftest$ac_exeext
49258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49259 (eval $ac_link) 2>conftest.er1
49260 ac_status=$?
49261 grep -v '^ *+' conftest.er1 >conftest.err
49262 rm -f conftest.er1
49263 cat conftest.err >&5
49264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49265 (exit $ac_status); } &&
49266 { ac_try='test -z "$ac_c_werror_flag"
49267 || test ! -s conftest.err'
49268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49269 (eval $ac_try) 2>&5
49270 ac_status=$?
49271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49272 (exit $ac_status); }; } &&
49273 { ac_try='test -s conftest$ac_exeext'
49274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49275 (eval $ac_try) 2>&5
49276 ac_status=$?
49277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49278 (exit $ac_status); }; }; then
49279 eval "$as_ac_var=yes"
49280 else
49281 echo "$as_me: failed program was:" >&5
49282 sed 's/^/| /' conftest.$ac_ext >&5
49284 eval "$as_ac_var=no"
49286 rm -f conftest.err conftest.$ac_objext \
49287 conftest$ac_exeext conftest.$ac_ext
49289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49291 if test `eval echo '${'$as_ac_var'}'` = yes; then
49292 cat >>confdefs.h <<_ACEOF
49293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49294 _ACEOF
49297 done
49307 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
49308 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
49309 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49310 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
49311 echo $ECHO_N "(cached) $ECHO_C" >&6
49312 else
49316 ac_ext=cc
49317 ac_cpp='$CXXCPP $CPPFLAGS'
49318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49322 cat >conftest.$ac_ext <<_ACEOF
49323 /* confdefs.h. */
49324 _ACEOF
49325 cat confdefs.h >>conftest.$ac_ext
49326 cat >>conftest.$ac_ext <<_ACEOF
49327 /* end confdefs.h. */
49328 #include <math.h>
49330 main ()
49332 atan2f(0, 0);
49334 return 0;
49336 _ACEOF
49337 rm -f conftest.$ac_objext
49338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49339 (eval $ac_compile) 2>conftest.er1
49340 ac_status=$?
49341 grep -v '^ *+' conftest.er1 >conftest.err
49342 rm -f conftest.er1
49343 cat conftest.err >&5
49344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49345 (exit $ac_status); } &&
49346 { ac_try='test -z "$ac_cxx_werror_flag"
49347 || test ! -s conftest.err'
49348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49349 (eval $ac_try) 2>&5
49350 ac_status=$?
49351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49352 (exit $ac_status); }; } &&
49353 { ac_try='test -s conftest.$ac_objext'
49354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49355 (eval $ac_try) 2>&5
49356 ac_status=$?
49357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49358 (exit $ac_status); }; }; then
49359 glibcxx_cv_func_atan2f_use=yes
49360 else
49361 echo "$as_me: failed program was:" >&5
49362 sed 's/^/| /' conftest.$ac_ext >&5
49364 glibcxx_cv_func_atan2f_use=no
49366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49367 ac_ext=c
49368 ac_cpp='$CPP $CPPFLAGS'
49369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
49378 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
49380 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49382 for ac_func in atan2f
49384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49385 echo "$as_me:$LINENO: checking for $ac_func" >&5
49386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49387 if eval "test \"\${$as_ac_var+set}\" = set"; then
49388 echo $ECHO_N "(cached) $ECHO_C" >&6
49389 else
49390 if test x$gcc_no_link = xyes; then
49391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49393 { (exit 1); exit 1; }; }
49395 cat >conftest.$ac_ext <<_ACEOF
49396 /* confdefs.h. */
49397 _ACEOF
49398 cat confdefs.h >>conftest.$ac_ext
49399 cat >>conftest.$ac_ext <<_ACEOF
49400 /* end confdefs.h. */
49401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49403 #define $ac_func innocuous_$ac_func
49405 /* System header to define __stub macros and hopefully few prototypes,
49406 which can conflict with char $ac_func (); below.
49407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49408 <limits.h> exists even on freestanding compilers. */
49410 #ifdef __STDC__
49411 # include <limits.h>
49412 #else
49413 # include <assert.h>
49414 #endif
49416 #undef $ac_func
49418 /* Override any gcc2 internal prototype to avoid an error. */
49419 #ifdef __cplusplus
49420 extern "C"
49422 #endif
49423 /* We use char because int might match the return type of a gcc2
49424 builtin and then its argument prototype would still apply. */
49425 char $ac_func ();
49426 /* The GNU C library defines this for functions which it implements
49427 to always fail with ENOSYS. Some functions are actually named
49428 something starting with __ and the normal name is an alias. */
49429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49430 choke me
49431 #else
49432 char (*f) () = $ac_func;
49433 #endif
49434 #ifdef __cplusplus
49436 #endif
49439 main ()
49441 return f != $ac_func;
49443 return 0;
49445 _ACEOF
49446 rm -f conftest.$ac_objext conftest$ac_exeext
49447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49448 (eval $ac_link) 2>conftest.er1
49449 ac_status=$?
49450 grep -v '^ *+' conftest.er1 >conftest.err
49451 rm -f conftest.er1
49452 cat conftest.err >&5
49453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49454 (exit $ac_status); } &&
49455 { ac_try='test -z "$ac_c_werror_flag"
49456 || test ! -s conftest.err'
49457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49458 (eval $ac_try) 2>&5
49459 ac_status=$?
49460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49461 (exit $ac_status); }; } &&
49462 { ac_try='test -s conftest$ac_exeext'
49463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49464 (eval $ac_try) 2>&5
49465 ac_status=$?
49466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49467 (exit $ac_status); }; }; then
49468 eval "$as_ac_var=yes"
49469 else
49470 echo "$as_me: failed program was:" >&5
49471 sed 's/^/| /' conftest.$ac_ext >&5
49473 eval "$as_ac_var=no"
49475 rm -f conftest.err conftest.$ac_objext \
49476 conftest$ac_exeext conftest.$ac_ext
49478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49480 if test `eval echo '${'$as_ac_var'}'` = yes; then
49481 cat >>confdefs.h <<_ACEOF
49482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49483 _ACEOF
49486 done
49488 else
49490 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
49491 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
49492 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49493 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
49494 echo $ECHO_N "(cached) $ECHO_C" >&6
49495 else
49499 ac_ext=cc
49500 ac_cpp='$CXXCPP $CPPFLAGS'
49501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49505 cat >conftest.$ac_ext <<_ACEOF
49506 /* confdefs.h. */
49507 _ACEOF
49508 cat confdefs.h >>conftest.$ac_ext
49509 cat >>conftest.$ac_ext <<_ACEOF
49510 /* end confdefs.h. */
49511 #include <math.h>
49513 main ()
49515 _atan2f(0, 0);
49517 return 0;
49519 _ACEOF
49520 rm -f conftest.$ac_objext
49521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49522 (eval $ac_compile) 2>conftest.er1
49523 ac_status=$?
49524 grep -v '^ *+' conftest.er1 >conftest.err
49525 rm -f conftest.er1
49526 cat conftest.err >&5
49527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49528 (exit $ac_status); } &&
49529 { ac_try='test -z "$ac_cxx_werror_flag"
49530 || test ! -s conftest.err'
49531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49532 (eval $ac_try) 2>&5
49533 ac_status=$?
49534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49535 (exit $ac_status); }; } &&
49536 { ac_try='test -s conftest.$ac_objext'
49537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49538 (eval $ac_try) 2>&5
49539 ac_status=$?
49540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49541 (exit $ac_status); }; }; then
49542 glibcxx_cv_func__atan2f_use=yes
49543 else
49544 echo "$as_me: failed program was:" >&5
49545 sed 's/^/| /' conftest.$ac_ext >&5
49547 glibcxx_cv_func__atan2f_use=no
49549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49550 ac_ext=c
49551 ac_cpp='$CPP $CPPFLAGS'
49552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
49561 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
49563 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49565 for ac_func in _atan2f
49567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49568 echo "$as_me:$LINENO: checking for $ac_func" >&5
49569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49570 if eval "test \"\${$as_ac_var+set}\" = set"; then
49571 echo $ECHO_N "(cached) $ECHO_C" >&6
49572 else
49573 if test x$gcc_no_link = xyes; then
49574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49576 { (exit 1); exit 1; }; }
49578 cat >conftest.$ac_ext <<_ACEOF
49579 /* confdefs.h. */
49580 _ACEOF
49581 cat confdefs.h >>conftest.$ac_ext
49582 cat >>conftest.$ac_ext <<_ACEOF
49583 /* end confdefs.h. */
49584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49586 #define $ac_func innocuous_$ac_func
49588 /* System header to define __stub macros and hopefully few prototypes,
49589 which can conflict with char $ac_func (); below.
49590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49591 <limits.h> exists even on freestanding compilers. */
49593 #ifdef __STDC__
49594 # include <limits.h>
49595 #else
49596 # include <assert.h>
49597 #endif
49599 #undef $ac_func
49601 /* Override any gcc2 internal prototype to avoid an error. */
49602 #ifdef __cplusplus
49603 extern "C"
49605 #endif
49606 /* We use char because int might match the return type of a gcc2
49607 builtin and then its argument prototype would still apply. */
49608 char $ac_func ();
49609 /* The GNU C library defines this for functions which it implements
49610 to always fail with ENOSYS. Some functions are actually named
49611 something starting with __ and the normal name is an alias. */
49612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49613 choke me
49614 #else
49615 char (*f) () = $ac_func;
49616 #endif
49617 #ifdef __cplusplus
49619 #endif
49622 main ()
49624 return f != $ac_func;
49626 return 0;
49628 _ACEOF
49629 rm -f conftest.$ac_objext conftest$ac_exeext
49630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49631 (eval $ac_link) 2>conftest.er1
49632 ac_status=$?
49633 grep -v '^ *+' conftest.er1 >conftest.err
49634 rm -f conftest.er1
49635 cat conftest.err >&5
49636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49637 (exit $ac_status); } &&
49638 { ac_try='test -z "$ac_c_werror_flag"
49639 || test ! -s conftest.err'
49640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49641 (eval $ac_try) 2>&5
49642 ac_status=$?
49643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49644 (exit $ac_status); }; } &&
49645 { ac_try='test -s conftest$ac_exeext'
49646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49647 (eval $ac_try) 2>&5
49648 ac_status=$?
49649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49650 (exit $ac_status); }; }; then
49651 eval "$as_ac_var=yes"
49652 else
49653 echo "$as_me: failed program was:" >&5
49654 sed 's/^/| /' conftest.$ac_ext >&5
49656 eval "$as_ac_var=no"
49658 rm -f conftest.err conftest.$ac_objext \
49659 conftest$ac_exeext conftest.$ac_ext
49661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49663 if test `eval echo '${'$as_ac_var'}'` = yes; then
49664 cat >>confdefs.h <<_ACEOF
49665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49666 _ACEOF
49669 done
49679 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
49680 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
49681 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49682 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
49683 echo $ECHO_N "(cached) $ECHO_C" >&6
49684 else
49688 ac_ext=cc
49689 ac_cpp='$CXXCPP $CPPFLAGS'
49690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49694 cat >conftest.$ac_ext <<_ACEOF
49695 /* confdefs.h. */
49696 _ACEOF
49697 cat confdefs.h >>conftest.$ac_ext
49698 cat >>conftest.$ac_ext <<_ACEOF
49699 /* end confdefs.h. */
49700 #include <math.h>
49701 #ifdef HAVE_IEEEFP_H
49702 #include <ieeefp.h>
49703 #endif
49706 main ()
49708 fabsf(0);
49710 return 0;
49712 _ACEOF
49713 rm -f conftest.$ac_objext
49714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49715 (eval $ac_compile) 2>conftest.er1
49716 ac_status=$?
49717 grep -v '^ *+' conftest.er1 >conftest.err
49718 rm -f conftest.er1
49719 cat conftest.err >&5
49720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49721 (exit $ac_status); } &&
49722 { ac_try='test -z "$ac_cxx_werror_flag"
49723 || test ! -s conftest.err'
49724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49725 (eval $ac_try) 2>&5
49726 ac_status=$?
49727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49728 (exit $ac_status); }; } &&
49729 { ac_try='test -s conftest.$ac_objext'
49730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49731 (eval $ac_try) 2>&5
49732 ac_status=$?
49733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49734 (exit $ac_status); }; }; then
49735 glibcxx_cv_func_fabsf_use=yes
49736 else
49737 echo "$as_me: failed program was:" >&5
49738 sed 's/^/| /' conftest.$ac_ext >&5
49740 glibcxx_cv_func_fabsf_use=no
49742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49743 ac_ext=c
49744 ac_cpp='$CPP $CPPFLAGS'
49745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49753 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
49754 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
49756 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49758 for ac_func in fabsf
49760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49761 echo "$as_me:$LINENO: checking for $ac_func" >&5
49762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49763 if eval "test \"\${$as_ac_var+set}\" = set"; then
49764 echo $ECHO_N "(cached) $ECHO_C" >&6
49765 else
49766 if test x$gcc_no_link = xyes; then
49767 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49768 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49769 { (exit 1); exit 1; }; }
49771 cat >conftest.$ac_ext <<_ACEOF
49772 /* confdefs.h. */
49773 _ACEOF
49774 cat confdefs.h >>conftest.$ac_ext
49775 cat >>conftest.$ac_ext <<_ACEOF
49776 /* end confdefs.h. */
49777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49779 #define $ac_func innocuous_$ac_func
49781 /* System header to define __stub macros and hopefully few prototypes,
49782 which can conflict with char $ac_func (); below.
49783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49784 <limits.h> exists even on freestanding compilers. */
49786 #ifdef __STDC__
49787 # include <limits.h>
49788 #else
49789 # include <assert.h>
49790 #endif
49792 #undef $ac_func
49794 /* Override any gcc2 internal prototype to avoid an error. */
49795 #ifdef __cplusplus
49796 extern "C"
49798 #endif
49799 /* We use char because int might match the return type of a gcc2
49800 builtin and then its argument prototype would still apply. */
49801 char $ac_func ();
49802 /* The GNU C library defines this for functions which it implements
49803 to always fail with ENOSYS. Some functions are actually named
49804 something starting with __ and the normal name is an alias. */
49805 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49806 choke me
49807 #else
49808 char (*f) () = $ac_func;
49809 #endif
49810 #ifdef __cplusplus
49812 #endif
49815 main ()
49817 return f != $ac_func;
49819 return 0;
49821 _ACEOF
49822 rm -f conftest.$ac_objext conftest$ac_exeext
49823 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49824 (eval $ac_link) 2>conftest.er1
49825 ac_status=$?
49826 grep -v '^ *+' conftest.er1 >conftest.err
49827 rm -f conftest.er1
49828 cat conftest.err >&5
49829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49830 (exit $ac_status); } &&
49831 { ac_try='test -z "$ac_c_werror_flag"
49832 || test ! -s conftest.err'
49833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49834 (eval $ac_try) 2>&5
49835 ac_status=$?
49836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49837 (exit $ac_status); }; } &&
49838 { ac_try='test -s conftest$ac_exeext'
49839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49840 (eval $ac_try) 2>&5
49841 ac_status=$?
49842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49843 (exit $ac_status); }; }; then
49844 eval "$as_ac_var=yes"
49845 else
49846 echo "$as_me: failed program was:" >&5
49847 sed 's/^/| /' conftest.$ac_ext >&5
49849 eval "$as_ac_var=no"
49851 rm -f conftest.err conftest.$ac_objext \
49852 conftest$ac_exeext conftest.$ac_ext
49854 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49855 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49856 if test `eval echo '${'$as_ac_var'}'` = yes; then
49857 cat >>confdefs.h <<_ACEOF
49858 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49859 _ACEOF
49862 done
49864 else
49866 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
49867 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
49868 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49869 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
49870 echo $ECHO_N "(cached) $ECHO_C" >&6
49871 else
49875 ac_ext=cc
49876 ac_cpp='$CXXCPP $CPPFLAGS'
49877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49881 cat >conftest.$ac_ext <<_ACEOF
49882 /* confdefs.h. */
49883 _ACEOF
49884 cat confdefs.h >>conftest.$ac_ext
49885 cat >>conftest.$ac_ext <<_ACEOF
49886 /* end confdefs.h. */
49887 #include <math.h>
49888 #ifdef HAVE_IEEEFP_H
49889 #include <ieeefp.h>
49890 #endif
49893 main ()
49895 _fabsf(0);
49897 return 0;
49899 _ACEOF
49900 rm -f conftest.$ac_objext
49901 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49902 (eval $ac_compile) 2>conftest.er1
49903 ac_status=$?
49904 grep -v '^ *+' conftest.er1 >conftest.err
49905 rm -f conftest.er1
49906 cat conftest.err >&5
49907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49908 (exit $ac_status); } &&
49909 { ac_try='test -z "$ac_cxx_werror_flag"
49910 || test ! -s conftest.err'
49911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49912 (eval $ac_try) 2>&5
49913 ac_status=$?
49914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49915 (exit $ac_status); }; } &&
49916 { ac_try='test -s conftest.$ac_objext'
49917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49918 (eval $ac_try) 2>&5
49919 ac_status=$?
49920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49921 (exit $ac_status); }; }; then
49922 glibcxx_cv_func__fabsf_use=yes
49923 else
49924 echo "$as_me: failed program was:" >&5
49925 sed 's/^/| /' conftest.$ac_ext >&5
49927 glibcxx_cv_func__fabsf_use=no
49929 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49930 ac_ext=c
49931 ac_cpp='$CPP $CPPFLAGS'
49932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49940 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
49941 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
49943 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49945 for ac_func in _fabsf
49947 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49948 echo "$as_me:$LINENO: checking for $ac_func" >&5
49949 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49950 if eval "test \"\${$as_ac_var+set}\" = set"; then
49951 echo $ECHO_N "(cached) $ECHO_C" >&6
49952 else
49953 if test x$gcc_no_link = xyes; then
49954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49956 { (exit 1); exit 1; }; }
49958 cat >conftest.$ac_ext <<_ACEOF
49959 /* confdefs.h. */
49960 _ACEOF
49961 cat confdefs.h >>conftest.$ac_ext
49962 cat >>conftest.$ac_ext <<_ACEOF
49963 /* end confdefs.h. */
49964 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49965 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49966 #define $ac_func innocuous_$ac_func
49968 /* System header to define __stub macros and hopefully few prototypes,
49969 which can conflict with char $ac_func (); below.
49970 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49971 <limits.h> exists even on freestanding compilers. */
49973 #ifdef __STDC__
49974 # include <limits.h>
49975 #else
49976 # include <assert.h>
49977 #endif
49979 #undef $ac_func
49981 /* Override any gcc2 internal prototype to avoid an error. */
49982 #ifdef __cplusplus
49983 extern "C"
49985 #endif
49986 /* We use char because int might match the return type of a gcc2
49987 builtin and then its argument prototype would still apply. */
49988 char $ac_func ();
49989 /* The GNU C library defines this for functions which it implements
49990 to always fail with ENOSYS. Some functions are actually named
49991 something starting with __ and the normal name is an alias. */
49992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49993 choke me
49994 #else
49995 char (*f) () = $ac_func;
49996 #endif
49997 #ifdef __cplusplus
49999 #endif
50002 main ()
50004 return f != $ac_func;
50006 return 0;
50008 _ACEOF
50009 rm -f conftest.$ac_objext conftest$ac_exeext
50010 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50011 (eval $ac_link) 2>conftest.er1
50012 ac_status=$?
50013 grep -v '^ *+' conftest.er1 >conftest.err
50014 rm -f conftest.er1
50015 cat conftest.err >&5
50016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50017 (exit $ac_status); } &&
50018 { ac_try='test -z "$ac_c_werror_flag"
50019 || test ! -s conftest.err'
50020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50021 (eval $ac_try) 2>&5
50022 ac_status=$?
50023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50024 (exit $ac_status); }; } &&
50025 { ac_try='test -s conftest$ac_exeext'
50026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50027 (eval $ac_try) 2>&5
50028 ac_status=$?
50029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50030 (exit $ac_status); }; }; then
50031 eval "$as_ac_var=yes"
50032 else
50033 echo "$as_me: failed program was:" >&5
50034 sed 's/^/| /' conftest.$ac_ext >&5
50036 eval "$as_ac_var=no"
50038 rm -f conftest.err conftest.$ac_objext \
50039 conftest$ac_exeext conftest.$ac_ext
50041 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50042 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50043 if test `eval echo '${'$as_ac_var'}'` = yes; then
50044 cat >>confdefs.h <<_ACEOF
50045 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50046 _ACEOF
50049 done
50059 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
50060 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
50061 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
50062 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
50063 echo $ECHO_N "(cached) $ECHO_C" >&6
50064 else
50068 ac_ext=cc
50069 ac_cpp='$CXXCPP $CPPFLAGS'
50070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074 cat >conftest.$ac_ext <<_ACEOF
50075 /* confdefs.h. */
50076 _ACEOF
50077 cat confdefs.h >>conftest.$ac_ext
50078 cat >>conftest.$ac_ext <<_ACEOF
50079 /* end confdefs.h. */
50080 #include <math.h>
50082 main ()
50084 fmodf(0, 0);
50086 return 0;
50088 _ACEOF
50089 rm -f conftest.$ac_objext
50090 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50091 (eval $ac_compile) 2>conftest.er1
50092 ac_status=$?
50093 grep -v '^ *+' conftest.er1 >conftest.err
50094 rm -f conftest.er1
50095 cat conftest.err >&5
50096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50097 (exit $ac_status); } &&
50098 { ac_try='test -z "$ac_cxx_werror_flag"
50099 || test ! -s conftest.err'
50100 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50101 (eval $ac_try) 2>&5
50102 ac_status=$?
50103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50104 (exit $ac_status); }; } &&
50105 { ac_try='test -s conftest.$ac_objext'
50106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50107 (eval $ac_try) 2>&5
50108 ac_status=$?
50109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50110 (exit $ac_status); }; }; then
50111 glibcxx_cv_func_fmodf_use=yes
50112 else
50113 echo "$as_me: failed program was:" >&5
50114 sed 's/^/| /' conftest.$ac_ext >&5
50116 glibcxx_cv_func_fmodf_use=no
50118 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50119 ac_ext=c
50120 ac_cpp='$CPP $CPPFLAGS'
50121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50129 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
50130 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
50132 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
50134 for ac_func in fmodf
50136 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50137 echo "$as_me:$LINENO: checking for $ac_func" >&5
50138 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50139 if eval "test \"\${$as_ac_var+set}\" = set"; then
50140 echo $ECHO_N "(cached) $ECHO_C" >&6
50141 else
50142 if test x$gcc_no_link = xyes; then
50143 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50144 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50145 { (exit 1); exit 1; }; }
50147 cat >conftest.$ac_ext <<_ACEOF
50148 /* confdefs.h. */
50149 _ACEOF
50150 cat confdefs.h >>conftest.$ac_ext
50151 cat >>conftest.$ac_ext <<_ACEOF
50152 /* end confdefs.h. */
50153 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50154 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50155 #define $ac_func innocuous_$ac_func
50157 /* System header to define __stub macros and hopefully few prototypes,
50158 which can conflict with char $ac_func (); below.
50159 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50160 <limits.h> exists even on freestanding compilers. */
50162 #ifdef __STDC__
50163 # include <limits.h>
50164 #else
50165 # include <assert.h>
50166 #endif
50168 #undef $ac_func
50170 /* Override any gcc2 internal prototype to avoid an error. */
50171 #ifdef __cplusplus
50172 extern "C"
50174 #endif
50175 /* We use char because int might match the return type of a gcc2
50176 builtin and then its argument prototype would still apply. */
50177 char $ac_func ();
50178 /* The GNU C library defines this for functions which it implements
50179 to always fail with ENOSYS. Some functions are actually named
50180 something starting with __ and the normal name is an alias. */
50181 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50182 choke me
50183 #else
50184 char (*f) () = $ac_func;
50185 #endif
50186 #ifdef __cplusplus
50188 #endif
50191 main ()
50193 return f != $ac_func;
50195 return 0;
50197 _ACEOF
50198 rm -f conftest.$ac_objext conftest$ac_exeext
50199 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50200 (eval $ac_link) 2>conftest.er1
50201 ac_status=$?
50202 grep -v '^ *+' conftest.er1 >conftest.err
50203 rm -f conftest.er1
50204 cat conftest.err >&5
50205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50206 (exit $ac_status); } &&
50207 { ac_try='test -z "$ac_c_werror_flag"
50208 || test ! -s conftest.err'
50209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50210 (eval $ac_try) 2>&5
50211 ac_status=$?
50212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50213 (exit $ac_status); }; } &&
50214 { ac_try='test -s conftest$ac_exeext'
50215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50216 (eval $ac_try) 2>&5
50217 ac_status=$?
50218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50219 (exit $ac_status); }; }; then
50220 eval "$as_ac_var=yes"
50221 else
50222 echo "$as_me: failed program was:" >&5
50223 sed 's/^/| /' conftest.$ac_ext >&5
50225 eval "$as_ac_var=no"
50227 rm -f conftest.err conftest.$ac_objext \
50228 conftest$ac_exeext conftest.$ac_ext
50230 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50231 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50232 if test `eval echo '${'$as_ac_var'}'` = yes; then
50233 cat >>confdefs.h <<_ACEOF
50234 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50235 _ACEOF
50238 done
50240 else
50242 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
50243 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
50244 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
50245 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
50246 echo $ECHO_N "(cached) $ECHO_C" >&6
50247 else
50251 ac_ext=cc
50252 ac_cpp='$CXXCPP $CPPFLAGS'
50253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50257 cat >conftest.$ac_ext <<_ACEOF
50258 /* confdefs.h. */
50259 _ACEOF
50260 cat confdefs.h >>conftest.$ac_ext
50261 cat >>conftest.$ac_ext <<_ACEOF
50262 /* end confdefs.h. */
50263 #include <math.h>
50265 main ()
50267 _fmodf(0, 0);
50269 return 0;
50271 _ACEOF
50272 rm -f conftest.$ac_objext
50273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50274 (eval $ac_compile) 2>conftest.er1
50275 ac_status=$?
50276 grep -v '^ *+' conftest.er1 >conftest.err
50277 rm -f conftest.er1
50278 cat conftest.err >&5
50279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50280 (exit $ac_status); } &&
50281 { ac_try='test -z "$ac_cxx_werror_flag"
50282 || test ! -s conftest.err'
50283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50284 (eval $ac_try) 2>&5
50285 ac_status=$?
50286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50287 (exit $ac_status); }; } &&
50288 { ac_try='test -s conftest.$ac_objext'
50289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50290 (eval $ac_try) 2>&5
50291 ac_status=$?
50292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50293 (exit $ac_status); }; }; then
50294 glibcxx_cv_func__fmodf_use=yes
50295 else
50296 echo "$as_me: failed program was:" >&5
50297 sed 's/^/| /' conftest.$ac_ext >&5
50299 glibcxx_cv_func__fmodf_use=no
50301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50302 ac_ext=c
50303 ac_cpp='$CPP $CPPFLAGS'
50304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50312 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
50313 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
50315 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
50317 for ac_func in _fmodf
50319 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50320 echo "$as_me:$LINENO: checking for $ac_func" >&5
50321 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50322 if eval "test \"\${$as_ac_var+set}\" = set"; then
50323 echo $ECHO_N "(cached) $ECHO_C" >&6
50324 else
50325 if test x$gcc_no_link = xyes; then
50326 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50327 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50328 { (exit 1); exit 1; }; }
50330 cat >conftest.$ac_ext <<_ACEOF
50331 /* confdefs.h. */
50332 _ACEOF
50333 cat confdefs.h >>conftest.$ac_ext
50334 cat >>conftest.$ac_ext <<_ACEOF
50335 /* end confdefs.h. */
50336 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50337 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50338 #define $ac_func innocuous_$ac_func
50340 /* System header to define __stub macros and hopefully few prototypes,
50341 which can conflict with char $ac_func (); below.
50342 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50343 <limits.h> exists even on freestanding compilers. */
50345 #ifdef __STDC__
50346 # include <limits.h>
50347 #else
50348 # include <assert.h>
50349 #endif
50351 #undef $ac_func
50353 /* Override any gcc2 internal prototype to avoid an error. */
50354 #ifdef __cplusplus
50355 extern "C"
50357 #endif
50358 /* We use char because int might match the return type of a gcc2
50359 builtin and then its argument prototype would still apply. */
50360 char $ac_func ();
50361 /* The GNU C library defines this for functions which it implements
50362 to always fail with ENOSYS. Some functions are actually named
50363 something starting with __ and the normal name is an alias. */
50364 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50365 choke me
50366 #else
50367 char (*f) () = $ac_func;
50368 #endif
50369 #ifdef __cplusplus
50371 #endif
50374 main ()
50376 return f != $ac_func;
50378 return 0;
50380 _ACEOF
50381 rm -f conftest.$ac_objext conftest$ac_exeext
50382 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50383 (eval $ac_link) 2>conftest.er1
50384 ac_status=$?
50385 grep -v '^ *+' conftest.er1 >conftest.err
50386 rm -f conftest.er1
50387 cat conftest.err >&5
50388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50389 (exit $ac_status); } &&
50390 { ac_try='test -z "$ac_c_werror_flag"
50391 || test ! -s conftest.err'
50392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50393 (eval $ac_try) 2>&5
50394 ac_status=$?
50395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50396 (exit $ac_status); }; } &&
50397 { ac_try='test -s conftest$ac_exeext'
50398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50399 (eval $ac_try) 2>&5
50400 ac_status=$?
50401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50402 (exit $ac_status); }; }; then
50403 eval "$as_ac_var=yes"
50404 else
50405 echo "$as_me: failed program was:" >&5
50406 sed 's/^/| /' conftest.$ac_ext >&5
50408 eval "$as_ac_var=no"
50410 rm -f conftest.err conftest.$ac_objext \
50411 conftest$ac_exeext conftest.$ac_ext
50413 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50414 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50415 if test `eval echo '${'$as_ac_var'}'` = yes; then
50416 cat >>confdefs.h <<_ACEOF
50417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50418 _ACEOF
50421 done
50431 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
50432 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
50433 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
50434 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
50435 echo $ECHO_N "(cached) $ECHO_C" >&6
50436 else
50440 ac_ext=cc
50441 ac_cpp='$CXXCPP $CPPFLAGS'
50442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50446 cat >conftest.$ac_ext <<_ACEOF
50447 /* confdefs.h. */
50448 _ACEOF
50449 cat confdefs.h >>conftest.$ac_ext
50450 cat >>conftest.$ac_ext <<_ACEOF
50451 /* end confdefs.h. */
50452 #include <math.h>
50454 main ()
50456 frexpf(0, 0);
50458 return 0;
50460 _ACEOF
50461 rm -f conftest.$ac_objext
50462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50463 (eval $ac_compile) 2>conftest.er1
50464 ac_status=$?
50465 grep -v '^ *+' conftest.er1 >conftest.err
50466 rm -f conftest.er1
50467 cat conftest.err >&5
50468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50469 (exit $ac_status); } &&
50470 { ac_try='test -z "$ac_cxx_werror_flag"
50471 || test ! -s conftest.err'
50472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50473 (eval $ac_try) 2>&5
50474 ac_status=$?
50475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50476 (exit $ac_status); }; } &&
50477 { ac_try='test -s conftest.$ac_objext'
50478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50479 (eval $ac_try) 2>&5
50480 ac_status=$?
50481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50482 (exit $ac_status); }; }; then
50483 glibcxx_cv_func_frexpf_use=yes
50484 else
50485 echo "$as_me: failed program was:" >&5
50486 sed 's/^/| /' conftest.$ac_ext >&5
50488 glibcxx_cv_func_frexpf_use=no
50490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50491 ac_ext=c
50492 ac_cpp='$CPP $CPPFLAGS'
50493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50501 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
50502 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
50504 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
50506 for ac_func in frexpf
50508 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50509 echo "$as_me:$LINENO: checking for $ac_func" >&5
50510 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50511 if eval "test \"\${$as_ac_var+set}\" = set"; then
50512 echo $ECHO_N "(cached) $ECHO_C" >&6
50513 else
50514 if test x$gcc_no_link = xyes; then
50515 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50516 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50517 { (exit 1); exit 1; }; }
50519 cat >conftest.$ac_ext <<_ACEOF
50520 /* confdefs.h. */
50521 _ACEOF
50522 cat confdefs.h >>conftest.$ac_ext
50523 cat >>conftest.$ac_ext <<_ACEOF
50524 /* end confdefs.h. */
50525 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50526 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50527 #define $ac_func innocuous_$ac_func
50529 /* System header to define __stub macros and hopefully few prototypes,
50530 which can conflict with char $ac_func (); below.
50531 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50532 <limits.h> exists even on freestanding compilers. */
50534 #ifdef __STDC__
50535 # include <limits.h>
50536 #else
50537 # include <assert.h>
50538 #endif
50540 #undef $ac_func
50542 /* Override any gcc2 internal prototype to avoid an error. */
50543 #ifdef __cplusplus
50544 extern "C"
50546 #endif
50547 /* We use char because int might match the return type of a gcc2
50548 builtin and then its argument prototype would still apply. */
50549 char $ac_func ();
50550 /* The GNU C library defines this for functions which it implements
50551 to always fail with ENOSYS. Some functions are actually named
50552 something starting with __ and the normal name is an alias. */
50553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50554 choke me
50555 #else
50556 char (*f) () = $ac_func;
50557 #endif
50558 #ifdef __cplusplus
50560 #endif
50563 main ()
50565 return f != $ac_func;
50567 return 0;
50569 _ACEOF
50570 rm -f conftest.$ac_objext conftest$ac_exeext
50571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50572 (eval $ac_link) 2>conftest.er1
50573 ac_status=$?
50574 grep -v '^ *+' conftest.er1 >conftest.err
50575 rm -f conftest.er1
50576 cat conftest.err >&5
50577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50578 (exit $ac_status); } &&
50579 { ac_try='test -z "$ac_c_werror_flag"
50580 || test ! -s conftest.err'
50581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50582 (eval $ac_try) 2>&5
50583 ac_status=$?
50584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50585 (exit $ac_status); }; } &&
50586 { ac_try='test -s conftest$ac_exeext'
50587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50588 (eval $ac_try) 2>&5
50589 ac_status=$?
50590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50591 (exit $ac_status); }; }; then
50592 eval "$as_ac_var=yes"
50593 else
50594 echo "$as_me: failed program was:" >&5
50595 sed 's/^/| /' conftest.$ac_ext >&5
50597 eval "$as_ac_var=no"
50599 rm -f conftest.err conftest.$ac_objext \
50600 conftest$ac_exeext conftest.$ac_ext
50602 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50603 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50604 if test `eval echo '${'$as_ac_var'}'` = yes; then
50605 cat >>confdefs.h <<_ACEOF
50606 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50607 _ACEOF
50610 done
50612 else
50614 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
50615 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
50616 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50617 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
50618 echo $ECHO_N "(cached) $ECHO_C" >&6
50619 else
50623 ac_ext=cc
50624 ac_cpp='$CXXCPP $CPPFLAGS'
50625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50629 cat >conftest.$ac_ext <<_ACEOF
50630 /* confdefs.h. */
50631 _ACEOF
50632 cat confdefs.h >>conftest.$ac_ext
50633 cat >>conftest.$ac_ext <<_ACEOF
50634 /* end confdefs.h. */
50635 #include <math.h>
50637 main ()
50639 _frexpf(0, 0);
50641 return 0;
50643 _ACEOF
50644 rm -f conftest.$ac_objext
50645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50646 (eval $ac_compile) 2>conftest.er1
50647 ac_status=$?
50648 grep -v '^ *+' conftest.er1 >conftest.err
50649 rm -f conftest.er1
50650 cat conftest.err >&5
50651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50652 (exit $ac_status); } &&
50653 { ac_try='test -z "$ac_cxx_werror_flag"
50654 || test ! -s conftest.err'
50655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50656 (eval $ac_try) 2>&5
50657 ac_status=$?
50658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50659 (exit $ac_status); }; } &&
50660 { ac_try='test -s conftest.$ac_objext'
50661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50662 (eval $ac_try) 2>&5
50663 ac_status=$?
50664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50665 (exit $ac_status); }; }; then
50666 glibcxx_cv_func__frexpf_use=yes
50667 else
50668 echo "$as_me: failed program was:" >&5
50669 sed 's/^/| /' conftest.$ac_ext >&5
50671 glibcxx_cv_func__frexpf_use=no
50673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50674 ac_ext=c
50675 ac_cpp='$CPP $CPPFLAGS'
50676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
50685 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
50687 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50689 for ac_func in _frexpf
50691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50692 echo "$as_me:$LINENO: checking for $ac_func" >&5
50693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50694 if eval "test \"\${$as_ac_var+set}\" = set"; then
50695 echo $ECHO_N "(cached) $ECHO_C" >&6
50696 else
50697 if test x$gcc_no_link = xyes; then
50698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50700 { (exit 1); exit 1; }; }
50702 cat >conftest.$ac_ext <<_ACEOF
50703 /* confdefs.h. */
50704 _ACEOF
50705 cat confdefs.h >>conftest.$ac_ext
50706 cat >>conftest.$ac_ext <<_ACEOF
50707 /* end confdefs.h. */
50708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50710 #define $ac_func innocuous_$ac_func
50712 /* System header to define __stub macros and hopefully few prototypes,
50713 which can conflict with char $ac_func (); below.
50714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50715 <limits.h> exists even on freestanding compilers. */
50717 #ifdef __STDC__
50718 # include <limits.h>
50719 #else
50720 # include <assert.h>
50721 #endif
50723 #undef $ac_func
50725 /* Override any gcc2 internal prototype to avoid an error. */
50726 #ifdef __cplusplus
50727 extern "C"
50729 #endif
50730 /* We use char because int might match the return type of a gcc2
50731 builtin and then its argument prototype would still apply. */
50732 char $ac_func ();
50733 /* The GNU C library defines this for functions which it implements
50734 to always fail with ENOSYS. Some functions are actually named
50735 something starting with __ and the normal name is an alias. */
50736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50737 choke me
50738 #else
50739 char (*f) () = $ac_func;
50740 #endif
50741 #ifdef __cplusplus
50743 #endif
50746 main ()
50748 return f != $ac_func;
50750 return 0;
50752 _ACEOF
50753 rm -f conftest.$ac_objext conftest$ac_exeext
50754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50755 (eval $ac_link) 2>conftest.er1
50756 ac_status=$?
50757 grep -v '^ *+' conftest.er1 >conftest.err
50758 rm -f conftest.er1
50759 cat conftest.err >&5
50760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50761 (exit $ac_status); } &&
50762 { ac_try='test -z "$ac_c_werror_flag"
50763 || test ! -s conftest.err'
50764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50765 (eval $ac_try) 2>&5
50766 ac_status=$?
50767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50768 (exit $ac_status); }; } &&
50769 { ac_try='test -s conftest$ac_exeext'
50770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50771 (eval $ac_try) 2>&5
50772 ac_status=$?
50773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50774 (exit $ac_status); }; }; then
50775 eval "$as_ac_var=yes"
50776 else
50777 echo "$as_me: failed program was:" >&5
50778 sed 's/^/| /' conftest.$ac_ext >&5
50780 eval "$as_ac_var=no"
50782 rm -f conftest.err conftest.$ac_objext \
50783 conftest$ac_exeext conftest.$ac_ext
50785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50787 if test `eval echo '${'$as_ac_var'}'` = yes; then
50788 cat >>confdefs.h <<_ACEOF
50789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50790 _ACEOF
50793 done
50803 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
50804 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
50805 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50806 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
50807 echo $ECHO_N "(cached) $ECHO_C" >&6
50808 else
50812 ac_ext=cc
50813 ac_cpp='$CXXCPP $CPPFLAGS'
50814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50818 cat >conftest.$ac_ext <<_ACEOF
50819 /* confdefs.h. */
50820 _ACEOF
50821 cat confdefs.h >>conftest.$ac_ext
50822 cat >>conftest.$ac_ext <<_ACEOF
50823 /* end confdefs.h. */
50824 #include <math.h>
50826 main ()
50828 hypotf(0, 0);
50830 return 0;
50832 _ACEOF
50833 rm -f conftest.$ac_objext
50834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50835 (eval $ac_compile) 2>conftest.er1
50836 ac_status=$?
50837 grep -v '^ *+' conftest.er1 >conftest.err
50838 rm -f conftest.er1
50839 cat conftest.err >&5
50840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50841 (exit $ac_status); } &&
50842 { ac_try='test -z "$ac_cxx_werror_flag"
50843 || test ! -s conftest.err'
50844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50845 (eval $ac_try) 2>&5
50846 ac_status=$?
50847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50848 (exit $ac_status); }; } &&
50849 { ac_try='test -s conftest.$ac_objext'
50850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50851 (eval $ac_try) 2>&5
50852 ac_status=$?
50853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50854 (exit $ac_status); }; }; then
50855 glibcxx_cv_func_hypotf_use=yes
50856 else
50857 echo "$as_me: failed program was:" >&5
50858 sed 's/^/| /' conftest.$ac_ext >&5
50860 glibcxx_cv_func_hypotf_use=no
50862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50863 ac_ext=c
50864 ac_cpp='$CPP $CPPFLAGS'
50865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
50874 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
50876 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50878 for ac_func in hypotf
50880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50881 echo "$as_me:$LINENO: checking for $ac_func" >&5
50882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50883 if eval "test \"\${$as_ac_var+set}\" = set"; then
50884 echo $ECHO_N "(cached) $ECHO_C" >&6
50885 else
50886 if test x$gcc_no_link = xyes; then
50887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50889 { (exit 1); exit 1; }; }
50891 cat >conftest.$ac_ext <<_ACEOF
50892 /* confdefs.h. */
50893 _ACEOF
50894 cat confdefs.h >>conftest.$ac_ext
50895 cat >>conftest.$ac_ext <<_ACEOF
50896 /* end confdefs.h. */
50897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50899 #define $ac_func innocuous_$ac_func
50901 /* System header to define __stub macros and hopefully few prototypes,
50902 which can conflict with char $ac_func (); below.
50903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50904 <limits.h> exists even on freestanding compilers. */
50906 #ifdef __STDC__
50907 # include <limits.h>
50908 #else
50909 # include <assert.h>
50910 #endif
50912 #undef $ac_func
50914 /* Override any gcc2 internal prototype to avoid an error. */
50915 #ifdef __cplusplus
50916 extern "C"
50918 #endif
50919 /* We use char because int might match the return type of a gcc2
50920 builtin and then its argument prototype would still apply. */
50921 char $ac_func ();
50922 /* The GNU C library defines this for functions which it implements
50923 to always fail with ENOSYS. Some functions are actually named
50924 something starting with __ and the normal name is an alias. */
50925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50926 choke me
50927 #else
50928 char (*f) () = $ac_func;
50929 #endif
50930 #ifdef __cplusplus
50932 #endif
50935 main ()
50937 return f != $ac_func;
50939 return 0;
50941 _ACEOF
50942 rm -f conftest.$ac_objext conftest$ac_exeext
50943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50944 (eval $ac_link) 2>conftest.er1
50945 ac_status=$?
50946 grep -v '^ *+' conftest.er1 >conftest.err
50947 rm -f conftest.er1
50948 cat conftest.err >&5
50949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50950 (exit $ac_status); } &&
50951 { ac_try='test -z "$ac_c_werror_flag"
50952 || test ! -s conftest.err'
50953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50954 (eval $ac_try) 2>&5
50955 ac_status=$?
50956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50957 (exit $ac_status); }; } &&
50958 { ac_try='test -s conftest$ac_exeext'
50959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50960 (eval $ac_try) 2>&5
50961 ac_status=$?
50962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50963 (exit $ac_status); }; }; then
50964 eval "$as_ac_var=yes"
50965 else
50966 echo "$as_me: failed program was:" >&5
50967 sed 's/^/| /' conftest.$ac_ext >&5
50969 eval "$as_ac_var=no"
50971 rm -f conftest.err conftest.$ac_objext \
50972 conftest$ac_exeext conftest.$ac_ext
50974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50976 if test `eval echo '${'$as_ac_var'}'` = yes; then
50977 cat >>confdefs.h <<_ACEOF
50978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50979 _ACEOF
50982 done
50984 else
50986 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
50987 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
50988 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50989 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
50990 echo $ECHO_N "(cached) $ECHO_C" >&6
50991 else
50995 ac_ext=cc
50996 ac_cpp='$CXXCPP $CPPFLAGS'
50997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51001 cat >conftest.$ac_ext <<_ACEOF
51002 /* confdefs.h. */
51003 _ACEOF
51004 cat confdefs.h >>conftest.$ac_ext
51005 cat >>conftest.$ac_ext <<_ACEOF
51006 /* end confdefs.h. */
51007 #include <math.h>
51009 main ()
51011 _hypotf(0, 0);
51013 return 0;
51015 _ACEOF
51016 rm -f conftest.$ac_objext
51017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51018 (eval $ac_compile) 2>conftest.er1
51019 ac_status=$?
51020 grep -v '^ *+' conftest.er1 >conftest.err
51021 rm -f conftest.er1
51022 cat conftest.err >&5
51023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51024 (exit $ac_status); } &&
51025 { ac_try='test -z "$ac_cxx_werror_flag"
51026 || test ! -s conftest.err'
51027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51028 (eval $ac_try) 2>&5
51029 ac_status=$?
51030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51031 (exit $ac_status); }; } &&
51032 { ac_try='test -s conftest.$ac_objext'
51033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51034 (eval $ac_try) 2>&5
51035 ac_status=$?
51036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51037 (exit $ac_status); }; }; then
51038 glibcxx_cv_func__hypotf_use=yes
51039 else
51040 echo "$as_me: failed program was:" >&5
51041 sed 's/^/| /' conftest.$ac_ext >&5
51043 glibcxx_cv_func__hypotf_use=no
51045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51046 ac_ext=c
51047 ac_cpp='$CPP $CPPFLAGS'
51048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
51057 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
51059 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
51061 for ac_func in _hypotf
51063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51064 echo "$as_me:$LINENO: checking for $ac_func" >&5
51065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51066 if eval "test \"\${$as_ac_var+set}\" = set"; then
51067 echo $ECHO_N "(cached) $ECHO_C" >&6
51068 else
51069 if test x$gcc_no_link = xyes; then
51070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51072 { (exit 1); exit 1; }; }
51074 cat >conftest.$ac_ext <<_ACEOF
51075 /* confdefs.h. */
51076 _ACEOF
51077 cat confdefs.h >>conftest.$ac_ext
51078 cat >>conftest.$ac_ext <<_ACEOF
51079 /* end confdefs.h. */
51080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51082 #define $ac_func innocuous_$ac_func
51084 /* System header to define __stub macros and hopefully few prototypes,
51085 which can conflict with char $ac_func (); below.
51086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51087 <limits.h> exists even on freestanding compilers. */
51089 #ifdef __STDC__
51090 # include <limits.h>
51091 #else
51092 # include <assert.h>
51093 #endif
51095 #undef $ac_func
51097 /* Override any gcc2 internal prototype to avoid an error. */
51098 #ifdef __cplusplus
51099 extern "C"
51101 #endif
51102 /* We use char because int might match the return type of a gcc2
51103 builtin and then its argument prototype would still apply. */
51104 char $ac_func ();
51105 /* The GNU C library defines this for functions which it implements
51106 to always fail with ENOSYS. Some functions are actually named
51107 something starting with __ and the normal name is an alias. */
51108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51109 choke me
51110 #else
51111 char (*f) () = $ac_func;
51112 #endif
51113 #ifdef __cplusplus
51115 #endif
51118 main ()
51120 return f != $ac_func;
51122 return 0;
51124 _ACEOF
51125 rm -f conftest.$ac_objext conftest$ac_exeext
51126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51127 (eval $ac_link) 2>conftest.er1
51128 ac_status=$?
51129 grep -v '^ *+' conftest.er1 >conftest.err
51130 rm -f conftest.er1
51131 cat conftest.err >&5
51132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51133 (exit $ac_status); } &&
51134 { ac_try='test -z "$ac_c_werror_flag"
51135 || test ! -s conftest.err'
51136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51137 (eval $ac_try) 2>&5
51138 ac_status=$?
51139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51140 (exit $ac_status); }; } &&
51141 { ac_try='test -s conftest$ac_exeext'
51142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51143 (eval $ac_try) 2>&5
51144 ac_status=$?
51145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51146 (exit $ac_status); }; }; then
51147 eval "$as_ac_var=yes"
51148 else
51149 echo "$as_me: failed program was:" >&5
51150 sed 's/^/| /' conftest.$ac_ext >&5
51152 eval "$as_ac_var=no"
51154 rm -f conftest.err conftest.$ac_objext \
51155 conftest$ac_exeext conftest.$ac_ext
51157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51159 if test `eval echo '${'$as_ac_var'}'` = yes; then
51160 cat >>confdefs.h <<_ACEOF
51161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51162 _ACEOF
51165 done
51175 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
51176 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
51177 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
51178 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
51179 echo $ECHO_N "(cached) $ECHO_C" >&6
51180 else
51184 ac_ext=cc
51185 ac_cpp='$CXXCPP $CPPFLAGS'
51186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51190 cat >conftest.$ac_ext <<_ACEOF
51191 /* confdefs.h. */
51192 _ACEOF
51193 cat confdefs.h >>conftest.$ac_ext
51194 cat >>conftest.$ac_ext <<_ACEOF
51195 /* end confdefs.h. */
51196 #include <math.h>
51198 main ()
51200 ldexpf(0, 0);
51202 return 0;
51204 _ACEOF
51205 rm -f conftest.$ac_objext
51206 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51207 (eval $ac_compile) 2>conftest.er1
51208 ac_status=$?
51209 grep -v '^ *+' conftest.er1 >conftest.err
51210 rm -f conftest.er1
51211 cat conftest.err >&5
51212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51213 (exit $ac_status); } &&
51214 { ac_try='test -z "$ac_cxx_werror_flag"
51215 || test ! -s conftest.err'
51216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51217 (eval $ac_try) 2>&5
51218 ac_status=$?
51219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51220 (exit $ac_status); }; } &&
51221 { ac_try='test -s conftest.$ac_objext'
51222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51223 (eval $ac_try) 2>&5
51224 ac_status=$?
51225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51226 (exit $ac_status); }; }; then
51227 glibcxx_cv_func_ldexpf_use=yes
51228 else
51229 echo "$as_me: failed program was:" >&5
51230 sed 's/^/| /' conftest.$ac_ext >&5
51232 glibcxx_cv_func_ldexpf_use=no
51234 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51235 ac_ext=c
51236 ac_cpp='$CPP $CPPFLAGS'
51237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51245 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
51246 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
51248 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
51250 for ac_func in ldexpf
51252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51253 echo "$as_me:$LINENO: checking for $ac_func" >&5
51254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51255 if eval "test \"\${$as_ac_var+set}\" = set"; then
51256 echo $ECHO_N "(cached) $ECHO_C" >&6
51257 else
51258 if test x$gcc_no_link = xyes; then
51259 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51260 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51261 { (exit 1); exit 1; }; }
51263 cat >conftest.$ac_ext <<_ACEOF
51264 /* confdefs.h. */
51265 _ACEOF
51266 cat confdefs.h >>conftest.$ac_ext
51267 cat >>conftest.$ac_ext <<_ACEOF
51268 /* end confdefs.h. */
51269 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51270 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51271 #define $ac_func innocuous_$ac_func
51273 /* System header to define __stub macros and hopefully few prototypes,
51274 which can conflict with char $ac_func (); below.
51275 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51276 <limits.h> exists even on freestanding compilers. */
51278 #ifdef __STDC__
51279 # include <limits.h>
51280 #else
51281 # include <assert.h>
51282 #endif
51284 #undef $ac_func
51286 /* Override any gcc2 internal prototype to avoid an error. */
51287 #ifdef __cplusplus
51288 extern "C"
51290 #endif
51291 /* We use char because int might match the return type of a gcc2
51292 builtin and then its argument prototype would still apply. */
51293 char $ac_func ();
51294 /* The GNU C library defines this for functions which it implements
51295 to always fail with ENOSYS. Some functions are actually named
51296 something starting with __ and the normal name is an alias. */
51297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51298 choke me
51299 #else
51300 char (*f) () = $ac_func;
51301 #endif
51302 #ifdef __cplusplus
51304 #endif
51307 main ()
51309 return f != $ac_func;
51311 return 0;
51313 _ACEOF
51314 rm -f conftest.$ac_objext conftest$ac_exeext
51315 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51316 (eval $ac_link) 2>conftest.er1
51317 ac_status=$?
51318 grep -v '^ *+' conftest.er1 >conftest.err
51319 rm -f conftest.er1
51320 cat conftest.err >&5
51321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51322 (exit $ac_status); } &&
51323 { ac_try='test -z "$ac_c_werror_flag"
51324 || test ! -s conftest.err'
51325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51326 (eval $ac_try) 2>&5
51327 ac_status=$?
51328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51329 (exit $ac_status); }; } &&
51330 { ac_try='test -s conftest$ac_exeext'
51331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51332 (eval $ac_try) 2>&5
51333 ac_status=$?
51334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51335 (exit $ac_status); }; }; then
51336 eval "$as_ac_var=yes"
51337 else
51338 echo "$as_me: failed program was:" >&5
51339 sed 's/^/| /' conftest.$ac_ext >&5
51341 eval "$as_ac_var=no"
51343 rm -f conftest.err conftest.$ac_objext \
51344 conftest$ac_exeext conftest.$ac_ext
51346 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51347 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51348 if test `eval echo '${'$as_ac_var'}'` = yes; then
51349 cat >>confdefs.h <<_ACEOF
51350 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51351 _ACEOF
51354 done
51356 else
51358 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
51359 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
51360 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
51361 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
51362 echo $ECHO_N "(cached) $ECHO_C" >&6
51363 else
51367 ac_ext=cc
51368 ac_cpp='$CXXCPP $CPPFLAGS'
51369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51373 cat >conftest.$ac_ext <<_ACEOF
51374 /* confdefs.h. */
51375 _ACEOF
51376 cat confdefs.h >>conftest.$ac_ext
51377 cat >>conftest.$ac_ext <<_ACEOF
51378 /* end confdefs.h. */
51379 #include <math.h>
51381 main ()
51383 _ldexpf(0, 0);
51385 return 0;
51387 _ACEOF
51388 rm -f conftest.$ac_objext
51389 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51390 (eval $ac_compile) 2>conftest.er1
51391 ac_status=$?
51392 grep -v '^ *+' conftest.er1 >conftest.err
51393 rm -f conftest.er1
51394 cat conftest.err >&5
51395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51396 (exit $ac_status); } &&
51397 { ac_try='test -z "$ac_cxx_werror_flag"
51398 || test ! -s conftest.err'
51399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51400 (eval $ac_try) 2>&5
51401 ac_status=$?
51402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51403 (exit $ac_status); }; } &&
51404 { ac_try='test -s conftest.$ac_objext'
51405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51406 (eval $ac_try) 2>&5
51407 ac_status=$?
51408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51409 (exit $ac_status); }; }; then
51410 glibcxx_cv_func__ldexpf_use=yes
51411 else
51412 echo "$as_me: failed program was:" >&5
51413 sed 's/^/| /' conftest.$ac_ext >&5
51415 glibcxx_cv_func__ldexpf_use=no
51417 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51418 ac_ext=c
51419 ac_cpp='$CPP $CPPFLAGS'
51420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51428 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
51429 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
51431 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
51433 for ac_func in _ldexpf
51435 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51436 echo "$as_me:$LINENO: checking for $ac_func" >&5
51437 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51438 if eval "test \"\${$as_ac_var+set}\" = set"; then
51439 echo $ECHO_N "(cached) $ECHO_C" >&6
51440 else
51441 if test x$gcc_no_link = xyes; then
51442 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51443 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51444 { (exit 1); exit 1; }; }
51446 cat >conftest.$ac_ext <<_ACEOF
51447 /* confdefs.h. */
51448 _ACEOF
51449 cat confdefs.h >>conftest.$ac_ext
51450 cat >>conftest.$ac_ext <<_ACEOF
51451 /* end confdefs.h. */
51452 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51453 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51454 #define $ac_func innocuous_$ac_func
51456 /* System header to define __stub macros and hopefully few prototypes,
51457 which can conflict with char $ac_func (); below.
51458 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51459 <limits.h> exists even on freestanding compilers. */
51461 #ifdef __STDC__
51462 # include <limits.h>
51463 #else
51464 # include <assert.h>
51465 #endif
51467 #undef $ac_func
51469 /* Override any gcc2 internal prototype to avoid an error. */
51470 #ifdef __cplusplus
51471 extern "C"
51473 #endif
51474 /* We use char because int might match the return type of a gcc2
51475 builtin and then its argument prototype would still apply. */
51476 char $ac_func ();
51477 /* The GNU C library defines this for functions which it implements
51478 to always fail with ENOSYS. Some functions are actually named
51479 something starting with __ and the normal name is an alias. */
51480 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51481 choke me
51482 #else
51483 char (*f) () = $ac_func;
51484 #endif
51485 #ifdef __cplusplus
51487 #endif
51490 main ()
51492 return f != $ac_func;
51494 return 0;
51496 _ACEOF
51497 rm -f conftest.$ac_objext conftest$ac_exeext
51498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51499 (eval $ac_link) 2>conftest.er1
51500 ac_status=$?
51501 grep -v '^ *+' conftest.er1 >conftest.err
51502 rm -f conftest.er1
51503 cat conftest.err >&5
51504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51505 (exit $ac_status); } &&
51506 { ac_try='test -z "$ac_c_werror_flag"
51507 || test ! -s conftest.err'
51508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51509 (eval $ac_try) 2>&5
51510 ac_status=$?
51511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51512 (exit $ac_status); }; } &&
51513 { ac_try='test -s conftest$ac_exeext'
51514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51515 (eval $ac_try) 2>&5
51516 ac_status=$?
51517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51518 (exit $ac_status); }; }; then
51519 eval "$as_ac_var=yes"
51520 else
51521 echo "$as_me: failed program was:" >&5
51522 sed 's/^/| /' conftest.$ac_ext >&5
51524 eval "$as_ac_var=no"
51526 rm -f conftest.err conftest.$ac_objext \
51527 conftest$ac_exeext conftest.$ac_ext
51529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51530 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51531 if test `eval echo '${'$as_ac_var'}'` = yes; then
51532 cat >>confdefs.h <<_ACEOF
51533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51534 _ACEOF
51537 done
51547 echo "$as_me:$LINENO: checking for logf declaration" >&5
51548 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
51549 if test x${glibcxx_cv_func_logf_use+set} != xset; then
51550 if test "${glibcxx_cv_func_logf_use+set}" = set; then
51551 echo $ECHO_N "(cached) $ECHO_C" >&6
51552 else
51556 ac_ext=cc
51557 ac_cpp='$CXXCPP $CPPFLAGS'
51558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51562 cat >conftest.$ac_ext <<_ACEOF
51563 /* confdefs.h. */
51564 _ACEOF
51565 cat confdefs.h >>conftest.$ac_ext
51566 cat >>conftest.$ac_ext <<_ACEOF
51567 /* end confdefs.h. */
51568 #include <math.h>
51569 #ifdef HAVE_IEEEFP_H
51570 #include <ieeefp.h>
51571 #endif
51574 main ()
51576 logf(0);
51578 return 0;
51580 _ACEOF
51581 rm -f conftest.$ac_objext
51582 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51583 (eval $ac_compile) 2>conftest.er1
51584 ac_status=$?
51585 grep -v '^ *+' conftest.er1 >conftest.err
51586 rm -f conftest.er1
51587 cat conftest.err >&5
51588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51589 (exit $ac_status); } &&
51590 { ac_try='test -z "$ac_cxx_werror_flag"
51591 || test ! -s conftest.err'
51592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51593 (eval $ac_try) 2>&5
51594 ac_status=$?
51595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51596 (exit $ac_status); }; } &&
51597 { ac_try='test -s conftest.$ac_objext'
51598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51599 (eval $ac_try) 2>&5
51600 ac_status=$?
51601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51602 (exit $ac_status); }; }; then
51603 glibcxx_cv_func_logf_use=yes
51604 else
51605 echo "$as_me: failed program was:" >&5
51606 sed 's/^/| /' conftest.$ac_ext >&5
51608 glibcxx_cv_func_logf_use=no
51610 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51611 ac_ext=c
51612 ac_cpp='$CPP $CPPFLAGS'
51613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51621 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
51622 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
51624 if test x$glibcxx_cv_func_logf_use = x"yes"; then
51626 for ac_func in logf
51628 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51629 echo "$as_me:$LINENO: checking for $ac_func" >&5
51630 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51631 if eval "test \"\${$as_ac_var+set}\" = set"; then
51632 echo $ECHO_N "(cached) $ECHO_C" >&6
51633 else
51634 if test x$gcc_no_link = xyes; then
51635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51637 { (exit 1); exit 1; }; }
51639 cat >conftest.$ac_ext <<_ACEOF
51640 /* confdefs.h. */
51641 _ACEOF
51642 cat confdefs.h >>conftest.$ac_ext
51643 cat >>conftest.$ac_ext <<_ACEOF
51644 /* end confdefs.h. */
51645 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51646 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51647 #define $ac_func innocuous_$ac_func
51649 /* System header to define __stub macros and hopefully few prototypes,
51650 which can conflict with char $ac_func (); below.
51651 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51652 <limits.h> exists even on freestanding compilers. */
51654 #ifdef __STDC__
51655 # include <limits.h>
51656 #else
51657 # include <assert.h>
51658 #endif
51660 #undef $ac_func
51662 /* Override any gcc2 internal prototype to avoid an error. */
51663 #ifdef __cplusplus
51664 extern "C"
51666 #endif
51667 /* We use char because int might match the return type of a gcc2
51668 builtin and then its argument prototype would still apply. */
51669 char $ac_func ();
51670 /* The GNU C library defines this for functions which it implements
51671 to always fail with ENOSYS. Some functions are actually named
51672 something starting with __ and the normal name is an alias. */
51673 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51674 choke me
51675 #else
51676 char (*f) () = $ac_func;
51677 #endif
51678 #ifdef __cplusplus
51680 #endif
51683 main ()
51685 return f != $ac_func;
51687 return 0;
51689 _ACEOF
51690 rm -f conftest.$ac_objext conftest$ac_exeext
51691 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51692 (eval $ac_link) 2>conftest.er1
51693 ac_status=$?
51694 grep -v '^ *+' conftest.er1 >conftest.err
51695 rm -f conftest.er1
51696 cat conftest.err >&5
51697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51698 (exit $ac_status); } &&
51699 { ac_try='test -z "$ac_c_werror_flag"
51700 || test ! -s conftest.err'
51701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51702 (eval $ac_try) 2>&5
51703 ac_status=$?
51704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51705 (exit $ac_status); }; } &&
51706 { ac_try='test -s conftest$ac_exeext'
51707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51708 (eval $ac_try) 2>&5
51709 ac_status=$?
51710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51711 (exit $ac_status); }; }; then
51712 eval "$as_ac_var=yes"
51713 else
51714 echo "$as_me: failed program was:" >&5
51715 sed 's/^/| /' conftest.$ac_ext >&5
51717 eval "$as_ac_var=no"
51719 rm -f conftest.err conftest.$ac_objext \
51720 conftest$ac_exeext conftest.$ac_ext
51722 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51723 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51724 if test `eval echo '${'$as_ac_var'}'` = yes; then
51725 cat >>confdefs.h <<_ACEOF
51726 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51727 _ACEOF
51730 done
51732 else
51734 echo "$as_me:$LINENO: checking for _logf declaration" >&5
51735 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
51736 if test x${glibcxx_cv_func__logf_use+set} != xset; then
51737 if test "${glibcxx_cv_func__logf_use+set}" = set; then
51738 echo $ECHO_N "(cached) $ECHO_C" >&6
51739 else
51743 ac_ext=cc
51744 ac_cpp='$CXXCPP $CPPFLAGS'
51745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51749 cat >conftest.$ac_ext <<_ACEOF
51750 /* confdefs.h. */
51751 _ACEOF
51752 cat confdefs.h >>conftest.$ac_ext
51753 cat >>conftest.$ac_ext <<_ACEOF
51754 /* end confdefs.h. */
51755 #include <math.h>
51756 #ifdef HAVE_IEEEFP_H
51757 #include <ieeefp.h>
51758 #endif
51761 main ()
51763 _logf(0);
51765 return 0;
51767 _ACEOF
51768 rm -f conftest.$ac_objext
51769 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51770 (eval $ac_compile) 2>conftest.er1
51771 ac_status=$?
51772 grep -v '^ *+' conftest.er1 >conftest.err
51773 rm -f conftest.er1
51774 cat conftest.err >&5
51775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51776 (exit $ac_status); } &&
51777 { ac_try='test -z "$ac_cxx_werror_flag"
51778 || test ! -s conftest.err'
51779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51780 (eval $ac_try) 2>&5
51781 ac_status=$?
51782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51783 (exit $ac_status); }; } &&
51784 { ac_try='test -s conftest.$ac_objext'
51785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51786 (eval $ac_try) 2>&5
51787 ac_status=$?
51788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51789 (exit $ac_status); }; }; then
51790 glibcxx_cv_func__logf_use=yes
51791 else
51792 echo "$as_me: failed program was:" >&5
51793 sed 's/^/| /' conftest.$ac_ext >&5
51795 glibcxx_cv_func__logf_use=no
51797 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51798 ac_ext=c
51799 ac_cpp='$CPP $CPPFLAGS'
51800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
51809 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
51811 if test x$glibcxx_cv_func__logf_use = x"yes"; then
51813 for ac_func in _logf
51815 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51816 echo "$as_me:$LINENO: checking for $ac_func" >&5
51817 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51818 if eval "test \"\${$as_ac_var+set}\" = set"; then
51819 echo $ECHO_N "(cached) $ECHO_C" >&6
51820 else
51821 if test x$gcc_no_link = xyes; then
51822 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51823 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51824 { (exit 1); exit 1; }; }
51826 cat >conftest.$ac_ext <<_ACEOF
51827 /* confdefs.h. */
51828 _ACEOF
51829 cat confdefs.h >>conftest.$ac_ext
51830 cat >>conftest.$ac_ext <<_ACEOF
51831 /* end confdefs.h. */
51832 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51833 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51834 #define $ac_func innocuous_$ac_func
51836 /* System header to define __stub macros and hopefully few prototypes,
51837 which can conflict with char $ac_func (); below.
51838 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51839 <limits.h> exists even on freestanding compilers. */
51841 #ifdef __STDC__
51842 # include <limits.h>
51843 #else
51844 # include <assert.h>
51845 #endif
51847 #undef $ac_func
51849 /* Override any gcc2 internal prototype to avoid an error. */
51850 #ifdef __cplusplus
51851 extern "C"
51853 #endif
51854 /* We use char because int might match the return type of a gcc2
51855 builtin and then its argument prototype would still apply. */
51856 char $ac_func ();
51857 /* The GNU C library defines this for functions which it implements
51858 to always fail with ENOSYS. Some functions are actually named
51859 something starting with __ and the normal name is an alias. */
51860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51861 choke me
51862 #else
51863 char (*f) () = $ac_func;
51864 #endif
51865 #ifdef __cplusplus
51867 #endif
51870 main ()
51872 return f != $ac_func;
51874 return 0;
51876 _ACEOF
51877 rm -f conftest.$ac_objext conftest$ac_exeext
51878 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51879 (eval $ac_link) 2>conftest.er1
51880 ac_status=$?
51881 grep -v '^ *+' conftest.er1 >conftest.err
51882 rm -f conftest.er1
51883 cat conftest.err >&5
51884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51885 (exit $ac_status); } &&
51886 { ac_try='test -z "$ac_c_werror_flag"
51887 || test ! -s conftest.err'
51888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51889 (eval $ac_try) 2>&5
51890 ac_status=$?
51891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51892 (exit $ac_status); }; } &&
51893 { ac_try='test -s conftest$ac_exeext'
51894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51895 (eval $ac_try) 2>&5
51896 ac_status=$?
51897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51898 (exit $ac_status); }; }; then
51899 eval "$as_ac_var=yes"
51900 else
51901 echo "$as_me: failed program was:" >&5
51902 sed 's/^/| /' conftest.$ac_ext >&5
51904 eval "$as_ac_var=no"
51906 rm -f conftest.err conftest.$ac_objext \
51907 conftest$ac_exeext conftest.$ac_ext
51909 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51910 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51911 if test `eval echo '${'$as_ac_var'}'` = yes; then
51912 cat >>confdefs.h <<_ACEOF
51913 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51914 _ACEOF
51917 done
51927 echo "$as_me:$LINENO: checking for log10f declaration" >&5
51928 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
51929 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
51930 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
51931 echo $ECHO_N "(cached) $ECHO_C" >&6
51932 else
51936 ac_ext=cc
51937 ac_cpp='$CXXCPP $CPPFLAGS'
51938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51942 cat >conftest.$ac_ext <<_ACEOF
51943 /* confdefs.h. */
51944 _ACEOF
51945 cat confdefs.h >>conftest.$ac_ext
51946 cat >>conftest.$ac_ext <<_ACEOF
51947 /* end confdefs.h. */
51948 #include <math.h>
51949 #ifdef HAVE_IEEEFP_H
51950 #include <ieeefp.h>
51951 #endif
51954 main ()
51956 log10f(0);
51958 return 0;
51960 _ACEOF
51961 rm -f conftest.$ac_objext
51962 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51963 (eval $ac_compile) 2>conftest.er1
51964 ac_status=$?
51965 grep -v '^ *+' conftest.er1 >conftest.err
51966 rm -f conftest.er1
51967 cat conftest.err >&5
51968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51969 (exit $ac_status); } &&
51970 { ac_try='test -z "$ac_cxx_werror_flag"
51971 || test ! -s conftest.err'
51972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51973 (eval $ac_try) 2>&5
51974 ac_status=$?
51975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51976 (exit $ac_status); }; } &&
51977 { ac_try='test -s conftest.$ac_objext'
51978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51979 (eval $ac_try) 2>&5
51980 ac_status=$?
51981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51982 (exit $ac_status); }; }; then
51983 glibcxx_cv_func_log10f_use=yes
51984 else
51985 echo "$as_me: failed program was:" >&5
51986 sed 's/^/| /' conftest.$ac_ext >&5
51988 glibcxx_cv_func_log10f_use=no
51990 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51991 ac_ext=c
51992 ac_cpp='$CPP $CPPFLAGS'
51993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52001 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
52002 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
52004 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
52006 for ac_func in log10f
52008 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52009 echo "$as_me:$LINENO: checking for $ac_func" >&5
52010 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52011 if eval "test \"\${$as_ac_var+set}\" = set"; then
52012 echo $ECHO_N "(cached) $ECHO_C" >&6
52013 else
52014 if test x$gcc_no_link = xyes; then
52015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52017 { (exit 1); exit 1; }; }
52019 cat >conftest.$ac_ext <<_ACEOF
52020 /* confdefs.h. */
52021 _ACEOF
52022 cat confdefs.h >>conftest.$ac_ext
52023 cat >>conftest.$ac_ext <<_ACEOF
52024 /* end confdefs.h. */
52025 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52026 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52027 #define $ac_func innocuous_$ac_func
52029 /* System header to define __stub macros and hopefully few prototypes,
52030 which can conflict with char $ac_func (); below.
52031 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52032 <limits.h> exists even on freestanding compilers. */
52034 #ifdef __STDC__
52035 # include <limits.h>
52036 #else
52037 # include <assert.h>
52038 #endif
52040 #undef $ac_func
52042 /* Override any gcc2 internal prototype to avoid an error. */
52043 #ifdef __cplusplus
52044 extern "C"
52046 #endif
52047 /* We use char because int might match the return type of a gcc2
52048 builtin and then its argument prototype would still apply. */
52049 char $ac_func ();
52050 /* The GNU C library defines this for functions which it implements
52051 to always fail with ENOSYS. Some functions are actually named
52052 something starting with __ and the normal name is an alias. */
52053 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52054 choke me
52055 #else
52056 char (*f) () = $ac_func;
52057 #endif
52058 #ifdef __cplusplus
52060 #endif
52063 main ()
52065 return f != $ac_func;
52067 return 0;
52069 _ACEOF
52070 rm -f conftest.$ac_objext conftest$ac_exeext
52071 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52072 (eval $ac_link) 2>conftest.er1
52073 ac_status=$?
52074 grep -v '^ *+' conftest.er1 >conftest.err
52075 rm -f conftest.er1
52076 cat conftest.err >&5
52077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52078 (exit $ac_status); } &&
52079 { ac_try='test -z "$ac_c_werror_flag"
52080 || test ! -s conftest.err'
52081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52082 (eval $ac_try) 2>&5
52083 ac_status=$?
52084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52085 (exit $ac_status); }; } &&
52086 { ac_try='test -s conftest$ac_exeext'
52087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52088 (eval $ac_try) 2>&5
52089 ac_status=$?
52090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52091 (exit $ac_status); }; }; then
52092 eval "$as_ac_var=yes"
52093 else
52094 echo "$as_me: failed program was:" >&5
52095 sed 's/^/| /' conftest.$ac_ext >&5
52097 eval "$as_ac_var=no"
52099 rm -f conftest.err conftest.$ac_objext \
52100 conftest$ac_exeext conftest.$ac_ext
52102 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52103 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52104 if test `eval echo '${'$as_ac_var'}'` = yes; then
52105 cat >>confdefs.h <<_ACEOF
52106 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52107 _ACEOF
52110 done
52112 else
52114 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
52115 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
52116 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
52117 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
52118 echo $ECHO_N "(cached) $ECHO_C" >&6
52119 else
52123 ac_ext=cc
52124 ac_cpp='$CXXCPP $CPPFLAGS'
52125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52129 cat >conftest.$ac_ext <<_ACEOF
52130 /* confdefs.h. */
52131 _ACEOF
52132 cat confdefs.h >>conftest.$ac_ext
52133 cat >>conftest.$ac_ext <<_ACEOF
52134 /* end confdefs.h. */
52135 #include <math.h>
52136 #ifdef HAVE_IEEEFP_H
52137 #include <ieeefp.h>
52138 #endif
52141 main ()
52143 _log10f(0);
52145 return 0;
52147 _ACEOF
52148 rm -f conftest.$ac_objext
52149 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52150 (eval $ac_compile) 2>conftest.er1
52151 ac_status=$?
52152 grep -v '^ *+' conftest.er1 >conftest.err
52153 rm -f conftest.er1
52154 cat conftest.err >&5
52155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52156 (exit $ac_status); } &&
52157 { ac_try='test -z "$ac_cxx_werror_flag"
52158 || test ! -s conftest.err'
52159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52160 (eval $ac_try) 2>&5
52161 ac_status=$?
52162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52163 (exit $ac_status); }; } &&
52164 { ac_try='test -s conftest.$ac_objext'
52165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52166 (eval $ac_try) 2>&5
52167 ac_status=$?
52168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52169 (exit $ac_status); }; }; then
52170 glibcxx_cv_func__log10f_use=yes
52171 else
52172 echo "$as_me: failed program was:" >&5
52173 sed 's/^/| /' conftest.$ac_ext >&5
52175 glibcxx_cv_func__log10f_use=no
52177 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52178 ac_ext=c
52179 ac_cpp='$CPP $CPPFLAGS'
52180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
52189 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
52191 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
52193 for ac_func in _log10f
52195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52196 echo "$as_me:$LINENO: checking for $ac_func" >&5
52197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52198 if eval "test \"\${$as_ac_var+set}\" = set"; then
52199 echo $ECHO_N "(cached) $ECHO_C" >&6
52200 else
52201 if test x$gcc_no_link = xyes; then
52202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52204 { (exit 1); exit 1; }; }
52206 cat >conftest.$ac_ext <<_ACEOF
52207 /* confdefs.h. */
52208 _ACEOF
52209 cat confdefs.h >>conftest.$ac_ext
52210 cat >>conftest.$ac_ext <<_ACEOF
52211 /* end confdefs.h. */
52212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52214 #define $ac_func innocuous_$ac_func
52216 /* System header to define __stub macros and hopefully few prototypes,
52217 which can conflict with char $ac_func (); below.
52218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52219 <limits.h> exists even on freestanding compilers. */
52221 #ifdef __STDC__
52222 # include <limits.h>
52223 #else
52224 # include <assert.h>
52225 #endif
52227 #undef $ac_func
52229 /* Override any gcc2 internal prototype to avoid an error. */
52230 #ifdef __cplusplus
52231 extern "C"
52233 #endif
52234 /* We use char because int might match the return type of a gcc2
52235 builtin and then its argument prototype would still apply. */
52236 char $ac_func ();
52237 /* The GNU C library defines this for functions which it implements
52238 to always fail with ENOSYS. Some functions are actually named
52239 something starting with __ and the normal name is an alias. */
52240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52241 choke me
52242 #else
52243 char (*f) () = $ac_func;
52244 #endif
52245 #ifdef __cplusplus
52247 #endif
52250 main ()
52252 return f != $ac_func;
52254 return 0;
52256 _ACEOF
52257 rm -f conftest.$ac_objext conftest$ac_exeext
52258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52259 (eval $ac_link) 2>conftest.er1
52260 ac_status=$?
52261 grep -v '^ *+' conftest.er1 >conftest.err
52262 rm -f conftest.er1
52263 cat conftest.err >&5
52264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52265 (exit $ac_status); } &&
52266 { ac_try='test -z "$ac_c_werror_flag"
52267 || test ! -s conftest.err'
52268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52269 (eval $ac_try) 2>&5
52270 ac_status=$?
52271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52272 (exit $ac_status); }; } &&
52273 { ac_try='test -s conftest$ac_exeext'
52274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52275 (eval $ac_try) 2>&5
52276 ac_status=$?
52277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52278 (exit $ac_status); }; }; then
52279 eval "$as_ac_var=yes"
52280 else
52281 echo "$as_me: failed program was:" >&5
52282 sed 's/^/| /' conftest.$ac_ext >&5
52284 eval "$as_ac_var=no"
52286 rm -f conftest.err conftest.$ac_objext \
52287 conftest$ac_exeext conftest.$ac_ext
52289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52291 if test `eval echo '${'$as_ac_var'}'` = yes; then
52292 cat >>confdefs.h <<_ACEOF
52293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52294 _ACEOF
52297 done
52307 echo "$as_me:$LINENO: checking for modff declaration" >&5
52308 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
52309 if test x${glibcxx_cv_func_modff_use+set} != xset; then
52310 if test "${glibcxx_cv_func_modff_use+set}" = set; then
52311 echo $ECHO_N "(cached) $ECHO_C" >&6
52312 else
52316 ac_ext=cc
52317 ac_cpp='$CXXCPP $CPPFLAGS'
52318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52322 cat >conftest.$ac_ext <<_ACEOF
52323 /* confdefs.h. */
52324 _ACEOF
52325 cat confdefs.h >>conftest.$ac_ext
52326 cat >>conftest.$ac_ext <<_ACEOF
52327 /* end confdefs.h. */
52328 #include <math.h>
52330 main ()
52332 modff(0, 0);
52334 return 0;
52336 _ACEOF
52337 rm -f conftest.$ac_objext
52338 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52339 (eval $ac_compile) 2>conftest.er1
52340 ac_status=$?
52341 grep -v '^ *+' conftest.er1 >conftest.err
52342 rm -f conftest.er1
52343 cat conftest.err >&5
52344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52345 (exit $ac_status); } &&
52346 { ac_try='test -z "$ac_cxx_werror_flag"
52347 || test ! -s conftest.err'
52348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52349 (eval $ac_try) 2>&5
52350 ac_status=$?
52351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52352 (exit $ac_status); }; } &&
52353 { ac_try='test -s conftest.$ac_objext'
52354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52355 (eval $ac_try) 2>&5
52356 ac_status=$?
52357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52358 (exit $ac_status); }; }; then
52359 glibcxx_cv_func_modff_use=yes
52360 else
52361 echo "$as_me: failed program was:" >&5
52362 sed 's/^/| /' conftest.$ac_ext >&5
52364 glibcxx_cv_func_modff_use=no
52366 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52367 ac_ext=c
52368 ac_cpp='$CPP $CPPFLAGS'
52369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52377 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
52378 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
52380 if test x$glibcxx_cv_func_modff_use = x"yes"; then
52382 for ac_func in modff
52384 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52385 echo "$as_me:$LINENO: checking for $ac_func" >&5
52386 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52387 if eval "test \"\${$as_ac_var+set}\" = set"; then
52388 echo $ECHO_N "(cached) $ECHO_C" >&6
52389 else
52390 if test x$gcc_no_link = xyes; then
52391 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52392 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52393 { (exit 1); exit 1; }; }
52395 cat >conftest.$ac_ext <<_ACEOF
52396 /* confdefs.h. */
52397 _ACEOF
52398 cat confdefs.h >>conftest.$ac_ext
52399 cat >>conftest.$ac_ext <<_ACEOF
52400 /* end confdefs.h. */
52401 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52402 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52403 #define $ac_func innocuous_$ac_func
52405 /* System header to define __stub macros and hopefully few prototypes,
52406 which can conflict with char $ac_func (); below.
52407 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52408 <limits.h> exists even on freestanding compilers. */
52410 #ifdef __STDC__
52411 # include <limits.h>
52412 #else
52413 # include <assert.h>
52414 #endif
52416 #undef $ac_func
52418 /* Override any gcc2 internal prototype to avoid an error. */
52419 #ifdef __cplusplus
52420 extern "C"
52422 #endif
52423 /* We use char because int might match the return type of a gcc2
52424 builtin and then its argument prototype would still apply. */
52425 char $ac_func ();
52426 /* The GNU C library defines this for functions which it implements
52427 to always fail with ENOSYS. Some functions are actually named
52428 something starting with __ and the normal name is an alias. */
52429 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52430 choke me
52431 #else
52432 char (*f) () = $ac_func;
52433 #endif
52434 #ifdef __cplusplus
52436 #endif
52439 main ()
52441 return f != $ac_func;
52443 return 0;
52445 _ACEOF
52446 rm -f conftest.$ac_objext conftest$ac_exeext
52447 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52448 (eval $ac_link) 2>conftest.er1
52449 ac_status=$?
52450 grep -v '^ *+' conftest.er1 >conftest.err
52451 rm -f conftest.er1
52452 cat conftest.err >&5
52453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52454 (exit $ac_status); } &&
52455 { ac_try='test -z "$ac_c_werror_flag"
52456 || test ! -s conftest.err'
52457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52458 (eval $ac_try) 2>&5
52459 ac_status=$?
52460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52461 (exit $ac_status); }; } &&
52462 { ac_try='test -s conftest$ac_exeext'
52463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52464 (eval $ac_try) 2>&5
52465 ac_status=$?
52466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52467 (exit $ac_status); }; }; then
52468 eval "$as_ac_var=yes"
52469 else
52470 echo "$as_me: failed program was:" >&5
52471 sed 's/^/| /' conftest.$ac_ext >&5
52473 eval "$as_ac_var=no"
52475 rm -f conftest.err conftest.$ac_objext \
52476 conftest$ac_exeext conftest.$ac_ext
52478 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52479 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52480 if test `eval echo '${'$as_ac_var'}'` = yes; then
52481 cat >>confdefs.h <<_ACEOF
52482 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52483 _ACEOF
52486 done
52488 else
52490 echo "$as_me:$LINENO: checking for _modff declaration" >&5
52491 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
52492 if test x${glibcxx_cv_func__modff_use+set} != xset; then
52493 if test "${glibcxx_cv_func__modff_use+set}" = set; then
52494 echo $ECHO_N "(cached) $ECHO_C" >&6
52495 else
52499 ac_ext=cc
52500 ac_cpp='$CXXCPP $CPPFLAGS'
52501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52505 cat >conftest.$ac_ext <<_ACEOF
52506 /* confdefs.h. */
52507 _ACEOF
52508 cat confdefs.h >>conftest.$ac_ext
52509 cat >>conftest.$ac_ext <<_ACEOF
52510 /* end confdefs.h. */
52511 #include <math.h>
52513 main ()
52515 _modff(0, 0);
52517 return 0;
52519 _ACEOF
52520 rm -f conftest.$ac_objext
52521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52522 (eval $ac_compile) 2>conftest.er1
52523 ac_status=$?
52524 grep -v '^ *+' conftest.er1 >conftest.err
52525 rm -f conftest.er1
52526 cat conftest.err >&5
52527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52528 (exit $ac_status); } &&
52529 { ac_try='test -z "$ac_cxx_werror_flag"
52530 || test ! -s conftest.err'
52531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52532 (eval $ac_try) 2>&5
52533 ac_status=$?
52534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52535 (exit $ac_status); }; } &&
52536 { ac_try='test -s conftest.$ac_objext'
52537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52538 (eval $ac_try) 2>&5
52539 ac_status=$?
52540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52541 (exit $ac_status); }; }; then
52542 glibcxx_cv_func__modff_use=yes
52543 else
52544 echo "$as_me: failed program was:" >&5
52545 sed 's/^/| /' conftest.$ac_ext >&5
52547 glibcxx_cv_func__modff_use=no
52549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52550 ac_ext=c
52551 ac_cpp='$CPP $CPPFLAGS'
52552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52560 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
52561 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
52563 if test x$glibcxx_cv_func__modff_use = x"yes"; then
52565 for ac_func in _modff
52567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52568 echo "$as_me:$LINENO: checking for $ac_func" >&5
52569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52570 if eval "test \"\${$as_ac_var+set}\" = set"; then
52571 echo $ECHO_N "(cached) $ECHO_C" >&6
52572 else
52573 if test x$gcc_no_link = xyes; then
52574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52576 { (exit 1); exit 1; }; }
52578 cat >conftest.$ac_ext <<_ACEOF
52579 /* confdefs.h. */
52580 _ACEOF
52581 cat confdefs.h >>conftest.$ac_ext
52582 cat >>conftest.$ac_ext <<_ACEOF
52583 /* end confdefs.h. */
52584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52586 #define $ac_func innocuous_$ac_func
52588 /* System header to define __stub macros and hopefully few prototypes,
52589 which can conflict with char $ac_func (); below.
52590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52591 <limits.h> exists even on freestanding compilers. */
52593 #ifdef __STDC__
52594 # include <limits.h>
52595 #else
52596 # include <assert.h>
52597 #endif
52599 #undef $ac_func
52601 /* Override any gcc2 internal prototype to avoid an error. */
52602 #ifdef __cplusplus
52603 extern "C"
52605 #endif
52606 /* We use char because int might match the return type of a gcc2
52607 builtin and then its argument prototype would still apply. */
52608 char $ac_func ();
52609 /* The GNU C library defines this for functions which it implements
52610 to always fail with ENOSYS. Some functions are actually named
52611 something starting with __ and the normal name is an alias. */
52612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52613 choke me
52614 #else
52615 char (*f) () = $ac_func;
52616 #endif
52617 #ifdef __cplusplus
52619 #endif
52622 main ()
52624 return f != $ac_func;
52626 return 0;
52628 _ACEOF
52629 rm -f conftest.$ac_objext conftest$ac_exeext
52630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52631 (eval $ac_link) 2>conftest.er1
52632 ac_status=$?
52633 grep -v '^ *+' conftest.er1 >conftest.err
52634 rm -f conftest.er1
52635 cat conftest.err >&5
52636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52637 (exit $ac_status); } &&
52638 { ac_try='test -z "$ac_c_werror_flag"
52639 || test ! -s conftest.err'
52640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52641 (eval $ac_try) 2>&5
52642 ac_status=$?
52643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52644 (exit $ac_status); }; } &&
52645 { ac_try='test -s conftest$ac_exeext'
52646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52647 (eval $ac_try) 2>&5
52648 ac_status=$?
52649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52650 (exit $ac_status); }; }; then
52651 eval "$as_ac_var=yes"
52652 else
52653 echo "$as_me: failed program was:" >&5
52654 sed 's/^/| /' conftest.$ac_ext >&5
52656 eval "$as_ac_var=no"
52658 rm -f conftest.err conftest.$ac_objext \
52659 conftest$ac_exeext conftest.$ac_ext
52661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52663 if test `eval echo '${'$as_ac_var'}'` = yes; then
52664 cat >>confdefs.h <<_ACEOF
52665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52666 _ACEOF
52669 done
52679 echo "$as_me:$LINENO: checking for modf declaration" >&5
52680 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
52681 if test x${glibcxx_cv_func_modf_use+set} != xset; then
52682 if test "${glibcxx_cv_func_modf_use+set}" = set; then
52683 echo $ECHO_N "(cached) $ECHO_C" >&6
52684 else
52688 ac_ext=cc
52689 ac_cpp='$CXXCPP $CPPFLAGS'
52690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52694 cat >conftest.$ac_ext <<_ACEOF
52695 /* confdefs.h. */
52696 _ACEOF
52697 cat confdefs.h >>conftest.$ac_ext
52698 cat >>conftest.$ac_ext <<_ACEOF
52699 /* end confdefs.h. */
52700 #include <math.h>
52702 main ()
52704 modf(0, 0);
52706 return 0;
52708 _ACEOF
52709 rm -f conftest.$ac_objext
52710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52711 (eval $ac_compile) 2>conftest.er1
52712 ac_status=$?
52713 grep -v '^ *+' conftest.er1 >conftest.err
52714 rm -f conftest.er1
52715 cat conftest.err >&5
52716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52717 (exit $ac_status); } &&
52718 { ac_try='test -z "$ac_cxx_werror_flag"
52719 || test ! -s conftest.err'
52720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52721 (eval $ac_try) 2>&5
52722 ac_status=$?
52723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52724 (exit $ac_status); }; } &&
52725 { ac_try='test -s conftest.$ac_objext'
52726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52727 (eval $ac_try) 2>&5
52728 ac_status=$?
52729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52730 (exit $ac_status); }; }; then
52731 glibcxx_cv_func_modf_use=yes
52732 else
52733 echo "$as_me: failed program was:" >&5
52734 sed 's/^/| /' conftest.$ac_ext >&5
52736 glibcxx_cv_func_modf_use=no
52738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52739 ac_ext=c
52740 ac_cpp='$CPP $CPPFLAGS'
52741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52749 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
52750 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
52752 if test x$glibcxx_cv_func_modf_use = x"yes"; then
52754 for ac_func in modf
52756 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52757 echo "$as_me:$LINENO: checking for $ac_func" >&5
52758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52759 if eval "test \"\${$as_ac_var+set}\" = set"; then
52760 echo $ECHO_N "(cached) $ECHO_C" >&6
52761 else
52762 if test x$gcc_no_link = xyes; then
52763 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52764 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52765 { (exit 1); exit 1; }; }
52767 cat >conftest.$ac_ext <<_ACEOF
52768 /* confdefs.h. */
52769 _ACEOF
52770 cat confdefs.h >>conftest.$ac_ext
52771 cat >>conftest.$ac_ext <<_ACEOF
52772 /* end confdefs.h. */
52773 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52774 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52775 #define $ac_func innocuous_$ac_func
52777 /* System header to define __stub macros and hopefully few prototypes,
52778 which can conflict with char $ac_func (); below.
52779 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52780 <limits.h> exists even on freestanding compilers. */
52782 #ifdef __STDC__
52783 # include <limits.h>
52784 #else
52785 # include <assert.h>
52786 #endif
52788 #undef $ac_func
52790 /* Override any gcc2 internal prototype to avoid an error. */
52791 #ifdef __cplusplus
52792 extern "C"
52794 #endif
52795 /* We use char because int might match the return type of a gcc2
52796 builtin and then its argument prototype would still apply. */
52797 char $ac_func ();
52798 /* The GNU C library defines this for functions which it implements
52799 to always fail with ENOSYS. Some functions are actually named
52800 something starting with __ and the normal name is an alias. */
52801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52802 choke me
52803 #else
52804 char (*f) () = $ac_func;
52805 #endif
52806 #ifdef __cplusplus
52808 #endif
52811 main ()
52813 return f != $ac_func;
52815 return 0;
52817 _ACEOF
52818 rm -f conftest.$ac_objext conftest$ac_exeext
52819 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52820 (eval $ac_link) 2>conftest.er1
52821 ac_status=$?
52822 grep -v '^ *+' conftest.er1 >conftest.err
52823 rm -f conftest.er1
52824 cat conftest.err >&5
52825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52826 (exit $ac_status); } &&
52827 { ac_try='test -z "$ac_c_werror_flag"
52828 || test ! -s conftest.err'
52829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52830 (eval $ac_try) 2>&5
52831 ac_status=$?
52832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52833 (exit $ac_status); }; } &&
52834 { ac_try='test -s conftest$ac_exeext'
52835 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52836 (eval $ac_try) 2>&5
52837 ac_status=$?
52838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52839 (exit $ac_status); }; }; then
52840 eval "$as_ac_var=yes"
52841 else
52842 echo "$as_me: failed program was:" >&5
52843 sed 's/^/| /' conftest.$ac_ext >&5
52845 eval "$as_ac_var=no"
52847 rm -f conftest.err conftest.$ac_objext \
52848 conftest$ac_exeext conftest.$ac_ext
52850 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52851 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52852 if test `eval echo '${'$as_ac_var'}'` = yes; then
52853 cat >>confdefs.h <<_ACEOF
52854 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52855 _ACEOF
52858 done
52860 else
52862 echo "$as_me:$LINENO: checking for _modf declaration" >&5
52863 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
52864 if test x${glibcxx_cv_func__modf_use+set} != xset; then
52865 if test "${glibcxx_cv_func__modf_use+set}" = set; then
52866 echo $ECHO_N "(cached) $ECHO_C" >&6
52867 else
52871 ac_ext=cc
52872 ac_cpp='$CXXCPP $CPPFLAGS'
52873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52877 cat >conftest.$ac_ext <<_ACEOF
52878 /* confdefs.h. */
52879 _ACEOF
52880 cat confdefs.h >>conftest.$ac_ext
52881 cat >>conftest.$ac_ext <<_ACEOF
52882 /* end confdefs.h. */
52883 #include <math.h>
52885 main ()
52887 _modf(0, 0);
52889 return 0;
52891 _ACEOF
52892 rm -f conftest.$ac_objext
52893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52894 (eval $ac_compile) 2>conftest.er1
52895 ac_status=$?
52896 grep -v '^ *+' conftest.er1 >conftest.err
52897 rm -f conftest.er1
52898 cat conftest.err >&5
52899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52900 (exit $ac_status); } &&
52901 { ac_try='test -z "$ac_cxx_werror_flag"
52902 || test ! -s conftest.err'
52903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52904 (eval $ac_try) 2>&5
52905 ac_status=$?
52906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52907 (exit $ac_status); }; } &&
52908 { ac_try='test -s conftest.$ac_objext'
52909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52910 (eval $ac_try) 2>&5
52911 ac_status=$?
52912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52913 (exit $ac_status); }; }; then
52914 glibcxx_cv_func__modf_use=yes
52915 else
52916 echo "$as_me: failed program was:" >&5
52917 sed 's/^/| /' conftest.$ac_ext >&5
52919 glibcxx_cv_func__modf_use=no
52921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52922 ac_ext=c
52923 ac_cpp='$CPP $CPPFLAGS'
52924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52932 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
52933 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
52935 if test x$glibcxx_cv_func__modf_use = x"yes"; then
52937 for ac_func in _modf
52939 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52940 echo "$as_me:$LINENO: checking for $ac_func" >&5
52941 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52942 if eval "test \"\${$as_ac_var+set}\" = set"; then
52943 echo $ECHO_N "(cached) $ECHO_C" >&6
52944 else
52945 if test x$gcc_no_link = xyes; then
52946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52948 { (exit 1); exit 1; }; }
52950 cat >conftest.$ac_ext <<_ACEOF
52951 /* confdefs.h. */
52952 _ACEOF
52953 cat confdefs.h >>conftest.$ac_ext
52954 cat >>conftest.$ac_ext <<_ACEOF
52955 /* end confdefs.h. */
52956 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52957 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52958 #define $ac_func innocuous_$ac_func
52960 /* System header to define __stub macros and hopefully few prototypes,
52961 which can conflict with char $ac_func (); below.
52962 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52963 <limits.h> exists even on freestanding compilers. */
52965 #ifdef __STDC__
52966 # include <limits.h>
52967 #else
52968 # include <assert.h>
52969 #endif
52971 #undef $ac_func
52973 /* Override any gcc2 internal prototype to avoid an error. */
52974 #ifdef __cplusplus
52975 extern "C"
52977 #endif
52978 /* We use char because int might match the return type of a gcc2
52979 builtin and then its argument prototype would still apply. */
52980 char $ac_func ();
52981 /* The GNU C library defines this for functions which it implements
52982 to always fail with ENOSYS. Some functions are actually named
52983 something starting with __ and the normal name is an alias. */
52984 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52985 choke me
52986 #else
52987 char (*f) () = $ac_func;
52988 #endif
52989 #ifdef __cplusplus
52991 #endif
52994 main ()
52996 return f != $ac_func;
52998 return 0;
53000 _ACEOF
53001 rm -f conftest.$ac_objext conftest$ac_exeext
53002 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53003 (eval $ac_link) 2>conftest.er1
53004 ac_status=$?
53005 grep -v '^ *+' conftest.er1 >conftest.err
53006 rm -f conftest.er1
53007 cat conftest.err >&5
53008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53009 (exit $ac_status); } &&
53010 { ac_try='test -z "$ac_c_werror_flag"
53011 || test ! -s conftest.err'
53012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53013 (eval $ac_try) 2>&5
53014 ac_status=$?
53015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53016 (exit $ac_status); }; } &&
53017 { ac_try='test -s conftest$ac_exeext'
53018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53019 (eval $ac_try) 2>&5
53020 ac_status=$?
53021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53022 (exit $ac_status); }; }; then
53023 eval "$as_ac_var=yes"
53024 else
53025 echo "$as_me: failed program was:" >&5
53026 sed 's/^/| /' conftest.$ac_ext >&5
53028 eval "$as_ac_var=no"
53030 rm -f conftest.err conftest.$ac_objext \
53031 conftest$ac_exeext conftest.$ac_ext
53033 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53034 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53035 if test `eval echo '${'$as_ac_var'}'` = yes; then
53036 cat >>confdefs.h <<_ACEOF
53037 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53038 _ACEOF
53041 done
53051 echo "$as_me:$LINENO: checking for powf declaration" >&5
53052 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
53053 if test x${glibcxx_cv_func_powf_use+set} != xset; then
53054 if test "${glibcxx_cv_func_powf_use+set}" = set; then
53055 echo $ECHO_N "(cached) $ECHO_C" >&6
53056 else
53060 ac_ext=cc
53061 ac_cpp='$CXXCPP $CPPFLAGS'
53062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53066 cat >conftest.$ac_ext <<_ACEOF
53067 /* confdefs.h. */
53068 _ACEOF
53069 cat confdefs.h >>conftest.$ac_ext
53070 cat >>conftest.$ac_ext <<_ACEOF
53071 /* end confdefs.h. */
53072 #include <math.h>
53074 main ()
53076 powf(0, 0);
53078 return 0;
53080 _ACEOF
53081 rm -f conftest.$ac_objext
53082 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53083 (eval $ac_compile) 2>conftest.er1
53084 ac_status=$?
53085 grep -v '^ *+' conftest.er1 >conftest.err
53086 rm -f conftest.er1
53087 cat conftest.err >&5
53088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53089 (exit $ac_status); } &&
53090 { ac_try='test -z "$ac_cxx_werror_flag"
53091 || test ! -s conftest.err'
53092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53093 (eval $ac_try) 2>&5
53094 ac_status=$?
53095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53096 (exit $ac_status); }; } &&
53097 { ac_try='test -s conftest.$ac_objext'
53098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53099 (eval $ac_try) 2>&5
53100 ac_status=$?
53101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53102 (exit $ac_status); }; }; then
53103 glibcxx_cv_func_powf_use=yes
53104 else
53105 echo "$as_me: failed program was:" >&5
53106 sed 's/^/| /' conftest.$ac_ext >&5
53108 glibcxx_cv_func_powf_use=no
53110 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53111 ac_ext=c
53112 ac_cpp='$CPP $CPPFLAGS'
53113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53121 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
53122 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
53124 if test x$glibcxx_cv_func_powf_use = x"yes"; then
53126 for ac_func in powf
53128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53129 echo "$as_me:$LINENO: checking for $ac_func" >&5
53130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53131 if eval "test \"\${$as_ac_var+set}\" = set"; then
53132 echo $ECHO_N "(cached) $ECHO_C" >&6
53133 else
53134 if test x$gcc_no_link = xyes; then
53135 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53136 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53137 { (exit 1); exit 1; }; }
53139 cat >conftest.$ac_ext <<_ACEOF
53140 /* confdefs.h. */
53141 _ACEOF
53142 cat confdefs.h >>conftest.$ac_ext
53143 cat >>conftest.$ac_ext <<_ACEOF
53144 /* end confdefs.h. */
53145 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53146 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53147 #define $ac_func innocuous_$ac_func
53149 /* System header to define __stub macros and hopefully few prototypes,
53150 which can conflict with char $ac_func (); below.
53151 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53152 <limits.h> exists even on freestanding compilers. */
53154 #ifdef __STDC__
53155 # include <limits.h>
53156 #else
53157 # include <assert.h>
53158 #endif
53160 #undef $ac_func
53162 /* Override any gcc2 internal prototype to avoid an error. */
53163 #ifdef __cplusplus
53164 extern "C"
53166 #endif
53167 /* We use char because int might match the return type of a gcc2
53168 builtin and then its argument prototype would still apply. */
53169 char $ac_func ();
53170 /* The GNU C library defines this for functions which it implements
53171 to always fail with ENOSYS. Some functions are actually named
53172 something starting with __ and the normal name is an alias. */
53173 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53174 choke me
53175 #else
53176 char (*f) () = $ac_func;
53177 #endif
53178 #ifdef __cplusplus
53180 #endif
53183 main ()
53185 return f != $ac_func;
53187 return 0;
53189 _ACEOF
53190 rm -f conftest.$ac_objext conftest$ac_exeext
53191 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53192 (eval $ac_link) 2>conftest.er1
53193 ac_status=$?
53194 grep -v '^ *+' conftest.er1 >conftest.err
53195 rm -f conftest.er1
53196 cat conftest.err >&5
53197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53198 (exit $ac_status); } &&
53199 { ac_try='test -z "$ac_c_werror_flag"
53200 || test ! -s conftest.err'
53201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53202 (eval $ac_try) 2>&5
53203 ac_status=$?
53204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53205 (exit $ac_status); }; } &&
53206 { ac_try='test -s conftest$ac_exeext'
53207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53208 (eval $ac_try) 2>&5
53209 ac_status=$?
53210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53211 (exit $ac_status); }; }; then
53212 eval "$as_ac_var=yes"
53213 else
53214 echo "$as_me: failed program was:" >&5
53215 sed 's/^/| /' conftest.$ac_ext >&5
53217 eval "$as_ac_var=no"
53219 rm -f conftest.err conftest.$ac_objext \
53220 conftest$ac_exeext conftest.$ac_ext
53222 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53223 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53224 if test `eval echo '${'$as_ac_var'}'` = yes; then
53225 cat >>confdefs.h <<_ACEOF
53226 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53227 _ACEOF
53230 done
53232 else
53234 echo "$as_me:$LINENO: checking for _powf declaration" >&5
53235 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
53236 if test x${glibcxx_cv_func__powf_use+set} != xset; then
53237 if test "${glibcxx_cv_func__powf_use+set}" = set; then
53238 echo $ECHO_N "(cached) $ECHO_C" >&6
53239 else
53243 ac_ext=cc
53244 ac_cpp='$CXXCPP $CPPFLAGS'
53245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53249 cat >conftest.$ac_ext <<_ACEOF
53250 /* confdefs.h. */
53251 _ACEOF
53252 cat confdefs.h >>conftest.$ac_ext
53253 cat >>conftest.$ac_ext <<_ACEOF
53254 /* end confdefs.h. */
53255 #include <math.h>
53257 main ()
53259 _powf(0, 0);
53261 return 0;
53263 _ACEOF
53264 rm -f conftest.$ac_objext
53265 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53266 (eval $ac_compile) 2>conftest.er1
53267 ac_status=$?
53268 grep -v '^ *+' conftest.er1 >conftest.err
53269 rm -f conftest.er1
53270 cat conftest.err >&5
53271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53272 (exit $ac_status); } &&
53273 { ac_try='test -z "$ac_cxx_werror_flag"
53274 || test ! -s conftest.err'
53275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53276 (eval $ac_try) 2>&5
53277 ac_status=$?
53278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53279 (exit $ac_status); }; } &&
53280 { ac_try='test -s conftest.$ac_objext'
53281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53282 (eval $ac_try) 2>&5
53283 ac_status=$?
53284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53285 (exit $ac_status); }; }; then
53286 glibcxx_cv_func__powf_use=yes
53287 else
53288 echo "$as_me: failed program was:" >&5
53289 sed 's/^/| /' conftest.$ac_ext >&5
53291 glibcxx_cv_func__powf_use=no
53293 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53294 ac_ext=c
53295 ac_cpp='$CPP $CPPFLAGS'
53296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53304 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
53305 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
53307 if test x$glibcxx_cv_func__powf_use = x"yes"; then
53309 for ac_func in _powf
53311 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53312 echo "$as_me:$LINENO: checking for $ac_func" >&5
53313 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53314 if eval "test \"\${$as_ac_var+set}\" = set"; then
53315 echo $ECHO_N "(cached) $ECHO_C" >&6
53316 else
53317 if test x$gcc_no_link = xyes; then
53318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53320 { (exit 1); exit 1; }; }
53322 cat >conftest.$ac_ext <<_ACEOF
53323 /* confdefs.h. */
53324 _ACEOF
53325 cat confdefs.h >>conftest.$ac_ext
53326 cat >>conftest.$ac_ext <<_ACEOF
53327 /* end confdefs.h. */
53328 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53330 #define $ac_func innocuous_$ac_func
53332 /* System header to define __stub macros and hopefully few prototypes,
53333 which can conflict with char $ac_func (); below.
53334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53335 <limits.h> exists even on freestanding compilers. */
53337 #ifdef __STDC__
53338 # include <limits.h>
53339 #else
53340 # include <assert.h>
53341 #endif
53343 #undef $ac_func
53345 /* Override any gcc2 internal prototype to avoid an error. */
53346 #ifdef __cplusplus
53347 extern "C"
53349 #endif
53350 /* We use char because int might match the return type of a gcc2
53351 builtin and then its argument prototype would still apply. */
53352 char $ac_func ();
53353 /* The GNU C library defines this for functions which it implements
53354 to always fail with ENOSYS. Some functions are actually named
53355 something starting with __ and the normal name is an alias. */
53356 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53357 choke me
53358 #else
53359 char (*f) () = $ac_func;
53360 #endif
53361 #ifdef __cplusplus
53363 #endif
53366 main ()
53368 return f != $ac_func;
53370 return 0;
53372 _ACEOF
53373 rm -f conftest.$ac_objext conftest$ac_exeext
53374 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53375 (eval $ac_link) 2>conftest.er1
53376 ac_status=$?
53377 grep -v '^ *+' conftest.er1 >conftest.err
53378 rm -f conftest.er1
53379 cat conftest.err >&5
53380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53381 (exit $ac_status); } &&
53382 { ac_try='test -z "$ac_c_werror_flag"
53383 || test ! -s conftest.err'
53384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53385 (eval $ac_try) 2>&5
53386 ac_status=$?
53387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53388 (exit $ac_status); }; } &&
53389 { ac_try='test -s conftest$ac_exeext'
53390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53391 (eval $ac_try) 2>&5
53392 ac_status=$?
53393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53394 (exit $ac_status); }; }; then
53395 eval "$as_ac_var=yes"
53396 else
53397 echo "$as_me: failed program was:" >&5
53398 sed 's/^/| /' conftest.$ac_ext >&5
53400 eval "$as_ac_var=no"
53402 rm -f conftest.err conftest.$ac_objext \
53403 conftest$ac_exeext conftest.$ac_ext
53405 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53406 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53407 if test `eval echo '${'$as_ac_var'}'` = yes; then
53408 cat >>confdefs.h <<_ACEOF
53409 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53410 _ACEOF
53413 done
53423 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
53424 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
53425 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
53426 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
53427 echo $ECHO_N "(cached) $ECHO_C" >&6
53428 else
53432 ac_ext=cc
53433 ac_cpp='$CXXCPP $CPPFLAGS'
53434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53438 cat >conftest.$ac_ext <<_ACEOF
53439 /* confdefs.h. */
53440 _ACEOF
53441 cat confdefs.h >>conftest.$ac_ext
53442 cat >>conftest.$ac_ext <<_ACEOF
53443 /* end confdefs.h. */
53444 #include <math.h>
53445 #ifdef HAVE_IEEEFP_H
53446 #include <ieeefp.h>
53447 #endif
53450 main ()
53452 sqrtf(0);
53454 return 0;
53456 _ACEOF
53457 rm -f conftest.$ac_objext
53458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53459 (eval $ac_compile) 2>conftest.er1
53460 ac_status=$?
53461 grep -v '^ *+' conftest.er1 >conftest.err
53462 rm -f conftest.er1
53463 cat conftest.err >&5
53464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53465 (exit $ac_status); } &&
53466 { ac_try='test -z "$ac_cxx_werror_flag"
53467 || test ! -s conftest.err'
53468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53469 (eval $ac_try) 2>&5
53470 ac_status=$?
53471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53472 (exit $ac_status); }; } &&
53473 { ac_try='test -s conftest.$ac_objext'
53474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53475 (eval $ac_try) 2>&5
53476 ac_status=$?
53477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53478 (exit $ac_status); }; }; then
53479 glibcxx_cv_func_sqrtf_use=yes
53480 else
53481 echo "$as_me: failed program was:" >&5
53482 sed 's/^/| /' conftest.$ac_ext >&5
53484 glibcxx_cv_func_sqrtf_use=no
53486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53487 ac_ext=c
53488 ac_cpp='$CPP $CPPFLAGS'
53489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53497 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
53498 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
53500 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
53502 for ac_func in sqrtf
53504 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53505 echo "$as_me:$LINENO: checking for $ac_func" >&5
53506 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53507 if eval "test \"\${$as_ac_var+set}\" = set"; then
53508 echo $ECHO_N "(cached) $ECHO_C" >&6
53509 else
53510 if test x$gcc_no_link = xyes; then
53511 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53512 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53513 { (exit 1); exit 1; }; }
53515 cat >conftest.$ac_ext <<_ACEOF
53516 /* confdefs.h. */
53517 _ACEOF
53518 cat confdefs.h >>conftest.$ac_ext
53519 cat >>conftest.$ac_ext <<_ACEOF
53520 /* end confdefs.h. */
53521 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53523 #define $ac_func innocuous_$ac_func
53525 /* System header to define __stub macros and hopefully few prototypes,
53526 which can conflict with char $ac_func (); below.
53527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53528 <limits.h> exists even on freestanding compilers. */
53530 #ifdef __STDC__
53531 # include <limits.h>
53532 #else
53533 # include <assert.h>
53534 #endif
53536 #undef $ac_func
53538 /* Override any gcc2 internal prototype to avoid an error. */
53539 #ifdef __cplusplus
53540 extern "C"
53542 #endif
53543 /* We use char because int might match the return type of a gcc2
53544 builtin and then its argument prototype would still apply. */
53545 char $ac_func ();
53546 /* The GNU C library defines this for functions which it implements
53547 to always fail with ENOSYS. Some functions are actually named
53548 something starting with __ and the normal name is an alias. */
53549 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53550 choke me
53551 #else
53552 char (*f) () = $ac_func;
53553 #endif
53554 #ifdef __cplusplus
53556 #endif
53559 main ()
53561 return f != $ac_func;
53563 return 0;
53565 _ACEOF
53566 rm -f conftest.$ac_objext conftest$ac_exeext
53567 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53568 (eval $ac_link) 2>conftest.er1
53569 ac_status=$?
53570 grep -v '^ *+' conftest.er1 >conftest.err
53571 rm -f conftest.er1
53572 cat conftest.err >&5
53573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53574 (exit $ac_status); } &&
53575 { ac_try='test -z "$ac_c_werror_flag"
53576 || test ! -s conftest.err'
53577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53578 (eval $ac_try) 2>&5
53579 ac_status=$?
53580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53581 (exit $ac_status); }; } &&
53582 { ac_try='test -s conftest$ac_exeext'
53583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53584 (eval $ac_try) 2>&5
53585 ac_status=$?
53586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53587 (exit $ac_status); }; }; then
53588 eval "$as_ac_var=yes"
53589 else
53590 echo "$as_me: failed program was:" >&5
53591 sed 's/^/| /' conftest.$ac_ext >&5
53593 eval "$as_ac_var=no"
53595 rm -f conftest.err conftest.$ac_objext \
53596 conftest$ac_exeext conftest.$ac_ext
53598 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53599 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53600 if test `eval echo '${'$as_ac_var'}'` = yes; then
53601 cat >>confdefs.h <<_ACEOF
53602 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53603 _ACEOF
53606 done
53608 else
53610 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
53611 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
53612 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
53613 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
53614 echo $ECHO_N "(cached) $ECHO_C" >&6
53615 else
53619 ac_ext=cc
53620 ac_cpp='$CXXCPP $CPPFLAGS'
53621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53625 cat >conftest.$ac_ext <<_ACEOF
53626 /* confdefs.h. */
53627 _ACEOF
53628 cat confdefs.h >>conftest.$ac_ext
53629 cat >>conftest.$ac_ext <<_ACEOF
53630 /* end confdefs.h. */
53631 #include <math.h>
53632 #ifdef HAVE_IEEEFP_H
53633 #include <ieeefp.h>
53634 #endif
53637 main ()
53639 _sqrtf(0);
53641 return 0;
53643 _ACEOF
53644 rm -f conftest.$ac_objext
53645 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53646 (eval $ac_compile) 2>conftest.er1
53647 ac_status=$?
53648 grep -v '^ *+' conftest.er1 >conftest.err
53649 rm -f conftest.er1
53650 cat conftest.err >&5
53651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53652 (exit $ac_status); } &&
53653 { ac_try='test -z "$ac_cxx_werror_flag"
53654 || test ! -s conftest.err'
53655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53656 (eval $ac_try) 2>&5
53657 ac_status=$?
53658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53659 (exit $ac_status); }; } &&
53660 { ac_try='test -s conftest.$ac_objext'
53661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53662 (eval $ac_try) 2>&5
53663 ac_status=$?
53664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53665 (exit $ac_status); }; }; then
53666 glibcxx_cv_func__sqrtf_use=yes
53667 else
53668 echo "$as_me: failed program was:" >&5
53669 sed 's/^/| /' conftest.$ac_ext >&5
53671 glibcxx_cv_func__sqrtf_use=no
53673 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53674 ac_ext=c
53675 ac_cpp='$CPP $CPPFLAGS'
53676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53684 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
53685 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
53687 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
53689 for ac_func in _sqrtf
53691 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53692 echo "$as_me:$LINENO: checking for $ac_func" >&5
53693 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53694 if eval "test \"\${$as_ac_var+set}\" = set"; then
53695 echo $ECHO_N "(cached) $ECHO_C" >&6
53696 else
53697 if test x$gcc_no_link = xyes; then
53698 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53699 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53700 { (exit 1); exit 1; }; }
53702 cat >conftest.$ac_ext <<_ACEOF
53703 /* confdefs.h. */
53704 _ACEOF
53705 cat confdefs.h >>conftest.$ac_ext
53706 cat >>conftest.$ac_ext <<_ACEOF
53707 /* end confdefs.h. */
53708 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53709 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53710 #define $ac_func innocuous_$ac_func
53712 /* System header to define __stub macros and hopefully few prototypes,
53713 which can conflict with char $ac_func (); below.
53714 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53715 <limits.h> exists even on freestanding compilers. */
53717 #ifdef __STDC__
53718 # include <limits.h>
53719 #else
53720 # include <assert.h>
53721 #endif
53723 #undef $ac_func
53725 /* Override any gcc2 internal prototype to avoid an error. */
53726 #ifdef __cplusplus
53727 extern "C"
53729 #endif
53730 /* We use char because int might match the return type of a gcc2
53731 builtin and then its argument prototype would still apply. */
53732 char $ac_func ();
53733 /* The GNU C library defines this for functions which it implements
53734 to always fail with ENOSYS. Some functions are actually named
53735 something starting with __ and the normal name is an alias. */
53736 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53737 choke me
53738 #else
53739 char (*f) () = $ac_func;
53740 #endif
53741 #ifdef __cplusplus
53743 #endif
53746 main ()
53748 return f != $ac_func;
53750 return 0;
53752 _ACEOF
53753 rm -f conftest.$ac_objext conftest$ac_exeext
53754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53755 (eval $ac_link) 2>conftest.er1
53756 ac_status=$?
53757 grep -v '^ *+' conftest.er1 >conftest.err
53758 rm -f conftest.er1
53759 cat conftest.err >&5
53760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53761 (exit $ac_status); } &&
53762 { ac_try='test -z "$ac_c_werror_flag"
53763 || test ! -s conftest.err'
53764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53765 (eval $ac_try) 2>&5
53766 ac_status=$?
53767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53768 (exit $ac_status); }; } &&
53769 { ac_try='test -s conftest$ac_exeext'
53770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53771 (eval $ac_try) 2>&5
53772 ac_status=$?
53773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53774 (exit $ac_status); }; }; then
53775 eval "$as_ac_var=yes"
53776 else
53777 echo "$as_me: failed program was:" >&5
53778 sed 's/^/| /' conftest.$ac_ext >&5
53780 eval "$as_ac_var=no"
53782 rm -f conftest.err conftest.$ac_objext \
53783 conftest$ac_exeext conftest.$ac_ext
53785 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53786 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53787 if test `eval echo '${'$as_ac_var'}'` = yes; then
53788 cat >>confdefs.h <<_ACEOF
53789 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53790 _ACEOF
53793 done
53803 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
53804 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
53805 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
53806 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
53807 echo $ECHO_N "(cached) $ECHO_C" >&6
53808 else
53812 ac_ext=cc
53813 ac_cpp='$CXXCPP $CPPFLAGS'
53814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53818 cat >conftest.$ac_ext <<_ACEOF
53819 /* confdefs.h. */
53820 _ACEOF
53821 cat confdefs.h >>conftest.$ac_ext
53822 cat >>conftest.$ac_ext <<_ACEOF
53823 /* end confdefs.h. */
53824 #include <math.h>
53826 main ()
53828 sincosf(0, 0, 0);
53830 return 0;
53832 _ACEOF
53833 rm -f conftest.$ac_objext
53834 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53835 (eval $ac_compile) 2>conftest.er1
53836 ac_status=$?
53837 grep -v '^ *+' conftest.er1 >conftest.err
53838 rm -f conftest.er1
53839 cat conftest.err >&5
53840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53841 (exit $ac_status); } &&
53842 { ac_try='test -z "$ac_cxx_werror_flag"
53843 || test ! -s conftest.err'
53844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53845 (eval $ac_try) 2>&5
53846 ac_status=$?
53847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53848 (exit $ac_status); }; } &&
53849 { ac_try='test -s conftest.$ac_objext'
53850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53851 (eval $ac_try) 2>&5
53852 ac_status=$?
53853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53854 (exit $ac_status); }; }; then
53855 glibcxx_cv_func_sincosf_use=yes
53856 else
53857 echo "$as_me: failed program was:" >&5
53858 sed 's/^/| /' conftest.$ac_ext >&5
53860 glibcxx_cv_func_sincosf_use=no
53862 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53863 ac_ext=c
53864 ac_cpp='$CPP $CPPFLAGS'
53865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53873 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
53874 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
53876 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
53878 for ac_func in sincosf
53880 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53881 echo "$as_me:$LINENO: checking for $ac_func" >&5
53882 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53883 if eval "test \"\${$as_ac_var+set}\" = set"; then
53884 echo $ECHO_N "(cached) $ECHO_C" >&6
53885 else
53886 if test x$gcc_no_link = xyes; then
53887 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53888 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53889 { (exit 1); exit 1; }; }
53891 cat >conftest.$ac_ext <<_ACEOF
53892 /* confdefs.h. */
53893 _ACEOF
53894 cat confdefs.h >>conftest.$ac_ext
53895 cat >>conftest.$ac_ext <<_ACEOF
53896 /* end confdefs.h. */
53897 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53898 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53899 #define $ac_func innocuous_$ac_func
53901 /* System header to define __stub macros and hopefully few prototypes,
53902 which can conflict with char $ac_func (); below.
53903 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53904 <limits.h> exists even on freestanding compilers. */
53906 #ifdef __STDC__
53907 # include <limits.h>
53908 #else
53909 # include <assert.h>
53910 #endif
53912 #undef $ac_func
53914 /* Override any gcc2 internal prototype to avoid an error. */
53915 #ifdef __cplusplus
53916 extern "C"
53918 #endif
53919 /* We use char because int might match the return type of a gcc2
53920 builtin and then its argument prototype would still apply. */
53921 char $ac_func ();
53922 /* The GNU C library defines this for functions which it implements
53923 to always fail with ENOSYS. Some functions are actually named
53924 something starting with __ and the normal name is an alias. */
53925 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53926 choke me
53927 #else
53928 char (*f) () = $ac_func;
53929 #endif
53930 #ifdef __cplusplus
53932 #endif
53935 main ()
53937 return f != $ac_func;
53939 return 0;
53941 _ACEOF
53942 rm -f conftest.$ac_objext conftest$ac_exeext
53943 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53944 (eval $ac_link) 2>conftest.er1
53945 ac_status=$?
53946 grep -v '^ *+' conftest.er1 >conftest.err
53947 rm -f conftest.er1
53948 cat conftest.err >&5
53949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53950 (exit $ac_status); } &&
53951 { ac_try='test -z "$ac_c_werror_flag"
53952 || test ! -s conftest.err'
53953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53954 (eval $ac_try) 2>&5
53955 ac_status=$?
53956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53957 (exit $ac_status); }; } &&
53958 { ac_try='test -s conftest$ac_exeext'
53959 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53960 (eval $ac_try) 2>&5
53961 ac_status=$?
53962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53963 (exit $ac_status); }; }; then
53964 eval "$as_ac_var=yes"
53965 else
53966 echo "$as_me: failed program was:" >&5
53967 sed 's/^/| /' conftest.$ac_ext >&5
53969 eval "$as_ac_var=no"
53971 rm -f conftest.err conftest.$ac_objext \
53972 conftest$ac_exeext conftest.$ac_ext
53974 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53975 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53976 if test `eval echo '${'$as_ac_var'}'` = yes; then
53977 cat >>confdefs.h <<_ACEOF
53978 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53979 _ACEOF
53982 done
53984 else
53986 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
53987 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
53988 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
53989 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
53990 echo $ECHO_N "(cached) $ECHO_C" >&6
53991 else
53995 ac_ext=cc
53996 ac_cpp='$CXXCPP $CPPFLAGS'
53997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54001 cat >conftest.$ac_ext <<_ACEOF
54002 /* confdefs.h. */
54003 _ACEOF
54004 cat confdefs.h >>conftest.$ac_ext
54005 cat >>conftest.$ac_ext <<_ACEOF
54006 /* end confdefs.h. */
54007 #include <math.h>
54009 main ()
54011 _sincosf(0, 0, 0);
54013 return 0;
54015 _ACEOF
54016 rm -f conftest.$ac_objext
54017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54018 (eval $ac_compile) 2>conftest.er1
54019 ac_status=$?
54020 grep -v '^ *+' conftest.er1 >conftest.err
54021 rm -f conftest.er1
54022 cat conftest.err >&5
54023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54024 (exit $ac_status); } &&
54025 { ac_try='test -z "$ac_cxx_werror_flag"
54026 || test ! -s conftest.err'
54027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54028 (eval $ac_try) 2>&5
54029 ac_status=$?
54030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54031 (exit $ac_status); }; } &&
54032 { ac_try='test -s conftest.$ac_objext'
54033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54034 (eval $ac_try) 2>&5
54035 ac_status=$?
54036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54037 (exit $ac_status); }; }; then
54038 glibcxx_cv_func__sincosf_use=yes
54039 else
54040 echo "$as_me: failed program was:" >&5
54041 sed 's/^/| /' conftest.$ac_ext >&5
54043 glibcxx_cv_func__sincosf_use=no
54045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54046 ac_ext=c
54047 ac_cpp='$CPP $CPPFLAGS'
54048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
54057 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
54059 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
54061 for ac_func in _sincosf
54063 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54064 echo "$as_me:$LINENO: checking for $ac_func" >&5
54065 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54066 if eval "test \"\${$as_ac_var+set}\" = set"; then
54067 echo $ECHO_N "(cached) $ECHO_C" >&6
54068 else
54069 if test x$gcc_no_link = xyes; then
54070 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54071 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54072 { (exit 1); exit 1; }; }
54074 cat >conftest.$ac_ext <<_ACEOF
54075 /* confdefs.h. */
54076 _ACEOF
54077 cat confdefs.h >>conftest.$ac_ext
54078 cat >>conftest.$ac_ext <<_ACEOF
54079 /* end confdefs.h. */
54080 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54081 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54082 #define $ac_func innocuous_$ac_func
54084 /* System header to define __stub macros and hopefully few prototypes,
54085 which can conflict with char $ac_func (); below.
54086 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54087 <limits.h> exists even on freestanding compilers. */
54089 #ifdef __STDC__
54090 # include <limits.h>
54091 #else
54092 # include <assert.h>
54093 #endif
54095 #undef $ac_func
54097 /* Override any gcc2 internal prototype to avoid an error. */
54098 #ifdef __cplusplus
54099 extern "C"
54101 #endif
54102 /* We use char because int might match the return type of a gcc2
54103 builtin and then its argument prototype would still apply. */
54104 char $ac_func ();
54105 /* The GNU C library defines this for functions which it implements
54106 to always fail with ENOSYS. Some functions are actually named
54107 something starting with __ and the normal name is an alias. */
54108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54109 choke me
54110 #else
54111 char (*f) () = $ac_func;
54112 #endif
54113 #ifdef __cplusplus
54115 #endif
54118 main ()
54120 return f != $ac_func;
54122 return 0;
54124 _ACEOF
54125 rm -f conftest.$ac_objext conftest$ac_exeext
54126 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54127 (eval $ac_link) 2>conftest.er1
54128 ac_status=$?
54129 grep -v '^ *+' conftest.er1 >conftest.err
54130 rm -f conftest.er1
54131 cat conftest.err >&5
54132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54133 (exit $ac_status); } &&
54134 { ac_try='test -z "$ac_c_werror_flag"
54135 || test ! -s conftest.err'
54136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54137 (eval $ac_try) 2>&5
54138 ac_status=$?
54139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54140 (exit $ac_status); }; } &&
54141 { ac_try='test -s conftest$ac_exeext'
54142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54143 (eval $ac_try) 2>&5
54144 ac_status=$?
54145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54146 (exit $ac_status); }; }; then
54147 eval "$as_ac_var=yes"
54148 else
54149 echo "$as_me: failed program was:" >&5
54150 sed 's/^/| /' conftest.$ac_ext >&5
54152 eval "$as_ac_var=no"
54154 rm -f conftest.err conftest.$ac_objext \
54155 conftest$ac_exeext conftest.$ac_ext
54157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54158 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54159 if test `eval echo '${'$as_ac_var'}'` = yes; then
54160 cat >>confdefs.h <<_ACEOF
54161 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54162 _ACEOF
54165 done
54175 echo "$as_me:$LINENO: checking for finitef declaration" >&5
54176 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
54177 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
54178 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
54179 echo $ECHO_N "(cached) $ECHO_C" >&6
54180 else
54184 ac_ext=cc
54185 ac_cpp='$CXXCPP $CPPFLAGS'
54186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54190 cat >conftest.$ac_ext <<_ACEOF
54191 /* confdefs.h. */
54192 _ACEOF
54193 cat confdefs.h >>conftest.$ac_ext
54194 cat >>conftest.$ac_ext <<_ACEOF
54195 /* end confdefs.h. */
54196 #include <math.h>
54197 #ifdef HAVE_IEEEFP_H
54198 #include <ieeefp.h>
54199 #endif
54202 main ()
54204 finitef(0);
54206 return 0;
54208 _ACEOF
54209 rm -f conftest.$ac_objext
54210 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54211 (eval $ac_compile) 2>conftest.er1
54212 ac_status=$?
54213 grep -v '^ *+' conftest.er1 >conftest.err
54214 rm -f conftest.er1
54215 cat conftest.err >&5
54216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54217 (exit $ac_status); } &&
54218 { ac_try='test -z "$ac_cxx_werror_flag"
54219 || test ! -s conftest.err'
54220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54221 (eval $ac_try) 2>&5
54222 ac_status=$?
54223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54224 (exit $ac_status); }; } &&
54225 { ac_try='test -s conftest.$ac_objext'
54226 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54227 (eval $ac_try) 2>&5
54228 ac_status=$?
54229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54230 (exit $ac_status); }; }; then
54231 glibcxx_cv_func_finitef_use=yes
54232 else
54233 echo "$as_me: failed program was:" >&5
54234 sed 's/^/| /' conftest.$ac_ext >&5
54236 glibcxx_cv_func_finitef_use=no
54238 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54239 ac_ext=c
54240 ac_cpp='$CPP $CPPFLAGS'
54241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54249 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
54250 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
54252 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
54254 for ac_func in finitef
54256 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54257 echo "$as_me:$LINENO: checking for $ac_func" >&5
54258 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54259 if eval "test \"\${$as_ac_var+set}\" = set"; then
54260 echo $ECHO_N "(cached) $ECHO_C" >&6
54261 else
54262 if test x$gcc_no_link = xyes; then
54263 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54264 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54265 { (exit 1); exit 1; }; }
54267 cat >conftest.$ac_ext <<_ACEOF
54268 /* confdefs.h. */
54269 _ACEOF
54270 cat confdefs.h >>conftest.$ac_ext
54271 cat >>conftest.$ac_ext <<_ACEOF
54272 /* end confdefs.h. */
54273 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54274 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54275 #define $ac_func innocuous_$ac_func
54277 /* System header to define __stub macros and hopefully few prototypes,
54278 which can conflict with char $ac_func (); below.
54279 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54280 <limits.h> exists even on freestanding compilers. */
54282 #ifdef __STDC__
54283 # include <limits.h>
54284 #else
54285 # include <assert.h>
54286 #endif
54288 #undef $ac_func
54290 /* Override any gcc2 internal prototype to avoid an error. */
54291 #ifdef __cplusplus
54292 extern "C"
54294 #endif
54295 /* We use char because int might match the return type of a gcc2
54296 builtin and then its argument prototype would still apply. */
54297 char $ac_func ();
54298 /* The GNU C library defines this for functions which it implements
54299 to always fail with ENOSYS. Some functions are actually named
54300 something starting with __ and the normal name is an alias. */
54301 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54302 choke me
54303 #else
54304 char (*f) () = $ac_func;
54305 #endif
54306 #ifdef __cplusplus
54308 #endif
54311 main ()
54313 return f != $ac_func;
54315 return 0;
54317 _ACEOF
54318 rm -f conftest.$ac_objext conftest$ac_exeext
54319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54320 (eval $ac_link) 2>conftest.er1
54321 ac_status=$?
54322 grep -v '^ *+' conftest.er1 >conftest.err
54323 rm -f conftest.er1
54324 cat conftest.err >&5
54325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54326 (exit $ac_status); } &&
54327 { ac_try='test -z "$ac_c_werror_flag"
54328 || test ! -s conftest.err'
54329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54330 (eval $ac_try) 2>&5
54331 ac_status=$?
54332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54333 (exit $ac_status); }; } &&
54334 { ac_try='test -s conftest$ac_exeext'
54335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54336 (eval $ac_try) 2>&5
54337 ac_status=$?
54338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54339 (exit $ac_status); }; }; then
54340 eval "$as_ac_var=yes"
54341 else
54342 echo "$as_me: failed program was:" >&5
54343 sed 's/^/| /' conftest.$ac_ext >&5
54345 eval "$as_ac_var=no"
54347 rm -f conftest.err conftest.$ac_objext \
54348 conftest$ac_exeext conftest.$ac_ext
54350 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54351 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54352 if test `eval echo '${'$as_ac_var'}'` = yes; then
54353 cat >>confdefs.h <<_ACEOF
54354 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54355 _ACEOF
54358 done
54360 else
54362 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
54363 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
54364 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
54365 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
54366 echo $ECHO_N "(cached) $ECHO_C" >&6
54367 else
54371 ac_ext=cc
54372 ac_cpp='$CXXCPP $CPPFLAGS'
54373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54377 cat >conftest.$ac_ext <<_ACEOF
54378 /* confdefs.h. */
54379 _ACEOF
54380 cat confdefs.h >>conftest.$ac_ext
54381 cat >>conftest.$ac_ext <<_ACEOF
54382 /* end confdefs.h. */
54383 #include <math.h>
54384 #ifdef HAVE_IEEEFP_H
54385 #include <ieeefp.h>
54386 #endif
54389 main ()
54391 _finitef(0);
54393 return 0;
54395 _ACEOF
54396 rm -f conftest.$ac_objext
54397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54398 (eval $ac_compile) 2>conftest.er1
54399 ac_status=$?
54400 grep -v '^ *+' conftest.er1 >conftest.err
54401 rm -f conftest.er1
54402 cat conftest.err >&5
54403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54404 (exit $ac_status); } &&
54405 { ac_try='test -z "$ac_cxx_werror_flag"
54406 || test ! -s conftest.err'
54407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54408 (eval $ac_try) 2>&5
54409 ac_status=$?
54410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54411 (exit $ac_status); }; } &&
54412 { ac_try='test -s conftest.$ac_objext'
54413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54414 (eval $ac_try) 2>&5
54415 ac_status=$?
54416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54417 (exit $ac_status); }; }; then
54418 glibcxx_cv_func__finitef_use=yes
54419 else
54420 echo "$as_me: failed program was:" >&5
54421 sed 's/^/| /' conftest.$ac_ext >&5
54423 glibcxx_cv_func__finitef_use=no
54425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54426 ac_ext=c
54427 ac_cpp='$CPP $CPPFLAGS'
54428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54436 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
54437 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
54439 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
54441 for ac_func in _finitef
54443 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54444 echo "$as_me:$LINENO: checking for $ac_func" >&5
54445 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54446 if eval "test \"\${$as_ac_var+set}\" = set"; then
54447 echo $ECHO_N "(cached) $ECHO_C" >&6
54448 else
54449 if test x$gcc_no_link = xyes; then
54450 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54451 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54452 { (exit 1); exit 1; }; }
54454 cat >conftest.$ac_ext <<_ACEOF
54455 /* confdefs.h. */
54456 _ACEOF
54457 cat confdefs.h >>conftest.$ac_ext
54458 cat >>conftest.$ac_ext <<_ACEOF
54459 /* end confdefs.h. */
54460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54462 #define $ac_func innocuous_$ac_func
54464 /* System header to define __stub macros and hopefully few prototypes,
54465 which can conflict with char $ac_func (); below.
54466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54467 <limits.h> exists even on freestanding compilers. */
54469 #ifdef __STDC__
54470 # include <limits.h>
54471 #else
54472 # include <assert.h>
54473 #endif
54475 #undef $ac_func
54477 /* Override any gcc2 internal prototype to avoid an error. */
54478 #ifdef __cplusplus
54479 extern "C"
54481 #endif
54482 /* We use char because int might match the return type of a gcc2
54483 builtin and then its argument prototype would still apply. */
54484 char $ac_func ();
54485 /* The GNU C library defines this for functions which it implements
54486 to always fail with ENOSYS. Some functions are actually named
54487 something starting with __ and the normal name is an alias. */
54488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54489 choke me
54490 #else
54491 char (*f) () = $ac_func;
54492 #endif
54493 #ifdef __cplusplus
54495 #endif
54498 main ()
54500 return f != $ac_func;
54502 return 0;
54504 _ACEOF
54505 rm -f conftest.$ac_objext conftest$ac_exeext
54506 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54507 (eval $ac_link) 2>conftest.er1
54508 ac_status=$?
54509 grep -v '^ *+' conftest.er1 >conftest.err
54510 rm -f conftest.er1
54511 cat conftest.err >&5
54512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54513 (exit $ac_status); } &&
54514 { ac_try='test -z "$ac_c_werror_flag"
54515 || test ! -s conftest.err'
54516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54517 (eval $ac_try) 2>&5
54518 ac_status=$?
54519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54520 (exit $ac_status); }; } &&
54521 { ac_try='test -s conftest$ac_exeext'
54522 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54523 (eval $ac_try) 2>&5
54524 ac_status=$?
54525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54526 (exit $ac_status); }; }; then
54527 eval "$as_ac_var=yes"
54528 else
54529 echo "$as_me: failed program was:" >&5
54530 sed 's/^/| /' conftest.$ac_ext >&5
54532 eval "$as_ac_var=no"
54534 rm -f conftest.err conftest.$ac_objext \
54535 conftest$ac_exeext conftest.$ac_ext
54537 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54538 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54539 if test `eval echo '${'$as_ac_var'}'` = yes; then
54540 cat >>confdefs.h <<_ACEOF
54541 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54542 _ACEOF
54545 done
54555 echo "$as_me:$LINENO: checking for long double trig functions" >&5
54556 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
54557 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
54558 echo $ECHO_N "(cached) $ECHO_C" >&6
54559 else
54563 ac_ext=cc
54564 ac_cpp='$CXXCPP $CPPFLAGS'
54565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54569 cat >conftest.$ac_ext <<_ACEOF
54570 /* confdefs.h. */
54571 _ACEOF
54572 cat confdefs.h >>conftest.$ac_ext
54573 cat >>conftest.$ac_ext <<_ACEOF
54574 /* end confdefs.h. */
54575 #include <math.h>
54577 main ()
54579 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
54581 return 0;
54583 _ACEOF
54584 rm -f conftest.$ac_objext
54585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54586 (eval $ac_compile) 2>conftest.er1
54587 ac_status=$?
54588 grep -v '^ *+' conftest.er1 >conftest.err
54589 rm -f conftest.er1
54590 cat conftest.err >&5
54591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54592 (exit $ac_status); } &&
54593 { ac_try='test -z "$ac_cxx_werror_flag"
54594 || test ! -s conftest.err'
54595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54596 (eval $ac_try) 2>&5
54597 ac_status=$?
54598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54599 (exit $ac_status); }; } &&
54600 { ac_try='test -s conftest.$ac_objext'
54601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54602 (eval $ac_try) 2>&5
54603 ac_status=$?
54604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54605 (exit $ac_status); }; }; then
54606 glibcxx_cv_func_long_double_trig_use=yes
54607 else
54608 echo "$as_me: failed program was:" >&5
54609 sed 's/^/| /' conftest.$ac_ext >&5
54611 glibcxx_cv_func_long_double_trig_use=no
54613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54614 ac_ext=c
54615 ac_cpp='$CPP $CPPFLAGS'
54616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
54623 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
54624 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
54634 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
54636 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54637 echo "$as_me:$LINENO: checking for $ac_func" >&5
54638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54639 if eval "test \"\${$as_ac_var+set}\" = set"; then
54640 echo $ECHO_N "(cached) $ECHO_C" >&6
54641 else
54642 if test x$gcc_no_link = xyes; then
54643 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54644 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54645 { (exit 1); exit 1; }; }
54647 cat >conftest.$ac_ext <<_ACEOF
54648 /* confdefs.h. */
54649 _ACEOF
54650 cat confdefs.h >>conftest.$ac_ext
54651 cat >>conftest.$ac_ext <<_ACEOF
54652 /* end confdefs.h. */
54653 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54654 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54655 #define $ac_func innocuous_$ac_func
54657 /* System header to define __stub macros and hopefully few prototypes,
54658 which can conflict with char $ac_func (); below.
54659 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54660 <limits.h> exists even on freestanding compilers. */
54662 #ifdef __STDC__
54663 # include <limits.h>
54664 #else
54665 # include <assert.h>
54666 #endif
54668 #undef $ac_func
54670 /* Override any gcc2 internal prototype to avoid an error. */
54671 #ifdef __cplusplus
54672 extern "C"
54674 #endif
54675 /* We use char because int might match the return type of a gcc2
54676 builtin and then its argument prototype would still apply. */
54677 char $ac_func ();
54678 /* The GNU C library defines this for functions which it implements
54679 to always fail with ENOSYS. Some functions are actually named
54680 something starting with __ and the normal name is an alias. */
54681 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54682 choke me
54683 #else
54684 char (*f) () = $ac_func;
54685 #endif
54686 #ifdef __cplusplus
54688 #endif
54691 main ()
54693 return f != $ac_func;
54695 return 0;
54697 _ACEOF
54698 rm -f conftest.$ac_objext conftest$ac_exeext
54699 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54700 (eval $ac_link) 2>conftest.er1
54701 ac_status=$?
54702 grep -v '^ *+' conftest.er1 >conftest.err
54703 rm -f conftest.er1
54704 cat conftest.err >&5
54705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54706 (exit $ac_status); } &&
54707 { ac_try='test -z "$ac_c_werror_flag"
54708 || test ! -s conftest.err'
54709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54710 (eval $ac_try) 2>&5
54711 ac_status=$?
54712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54713 (exit $ac_status); }; } &&
54714 { ac_try='test -s conftest$ac_exeext'
54715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54716 (eval $ac_try) 2>&5
54717 ac_status=$?
54718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54719 (exit $ac_status); }; }; then
54720 eval "$as_ac_var=yes"
54721 else
54722 echo "$as_me: failed program was:" >&5
54723 sed 's/^/| /' conftest.$ac_ext >&5
54725 eval "$as_ac_var=no"
54727 rm -f conftest.err conftest.$ac_objext \
54728 conftest$ac_exeext conftest.$ac_ext
54730 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54731 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54732 if test `eval echo '${'$as_ac_var'}'` = yes; then
54733 cat >>confdefs.h <<_ACEOF
54734 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54735 _ACEOF
54738 done
54740 else
54741 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
54742 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
54743 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
54744 echo $ECHO_N "(cached) $ECHO_C" >&6
54745 else
54749 ac_ext=cc
54750 ac_cpp='$CXXCPP $CPPFLAGS'
54751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54755 cat >conftest.$ac_ext <<_ACEOF
54756 /* confdefs.h. */
54757 _ACEOF
54758 cat confdefs.h >>conftest.$ac_ext
54759 cat >>conftest.$ac_ext <<_ACEOF
54760 /* end confdefs.h. */
54761 #include <math.h>
54763 main ()
54765 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
54767 return 0;
54769 _ACEOF
54770 rm -f conftest.$ac_objext
54771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54772 (eval $ac_compile) 2>conftest.er1
54773 ac_status=$?
54774 grep -v '^ *+' conftest.er1 >conftest.err
54775 rm -f conftest.er1
54776 cat conftest.err >&5
54777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54778 (exit $ac_status); } &&
54779 { ac_try='test -z "$ac_cxx_werror_flag"
54780 || test ! -s conftest.err'
54781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54782 (eval $ac_try) 2>&5
54783 ac_status=$?
54784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54785 (exit $ac_status); }; } &&
54786 { ac_try='test -s conftest.$ac_objext'
54787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54788 (eval $ac_try) 2>&5
54789 ac_status=$?
54790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54791 (exit $ac_status); }; }; then
54792 glibcxx_cv_func__long_double_trig_use=yes
54793 else
54794 echo "$as_me: failed program was:" >&5
54795 sed 's/^/| /' conftest.$ac_ext >&5
54797 glibcxx_cv_func__long_double_trig_use=no
54799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54800 ac_ext=c
54801 ac_cpp='$CPP $CPPFLAGS'
54802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54808 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
54809 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
54810 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
54820 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
54822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54823 echo "$as_me:$LINENO: checking for $ac_func" >&5
54824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54825 if eval "test \"\${$as_ac_var+set}\" = set"; then
54826 echo $ECHO_N "(cached) $ECHO_C" >&6
54827 else
54828 if test x$gcc_no_link = xyes; then
54829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54831 { (exit 1); exit 1; }; }
54833 cat >conftest.$ac_ext <<_ACEOF
54834 /* confdefs.h. */
54835 _ACEOF
54836 cat confdefs.h >>conftest.$ac_ext
54837 cat >>conftest.$ac_ext <<_ACEOF
54838 /* end confdefs.h. */
54839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54841 #define $ac_func innocuous_$ac_func
54843 /* System header to define __stub macros and hopefully few prototypes,
54844 which can conflict with char $ac_func (); below.
54845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54846 <limits.h> exists even on freestanding compilers. */
54848 #ifdef __STDC__
54849 # include <limits.h>
54850 #else
54851 # include <assert.h>
54852 #endif
54854 #undef $ac_func
54856 /* Override any gcc2 internal prototype to avoid an error. */
54857 #ifdef __cplusplus
54858 extern "C"
54860 #endif
54861 /* We use char because int might match the return type of a gcc2
54862 builtin and then its argument prototype would still apply. */
54863 char $ac_func ();
54864 /* The GNU C library defines this for functions which it implements
54865 to always fail with ENOSYS. Some functions are actually named
54866 something starting with __ and the normal name is an alias. */
54867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54868 choke me
54869 #else
54870 char (*f) () = $ac_func;
54871 #endif
54872 #ifdef __cplusplus
54874 #endif
54877 main ()
54879 return f != $ac_func;
54881 return 0;
54883 _ACEOF
54884 rm -f conftest.$ac_objext conftest$ac_exeext
54885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54886 (eval $ac_link) 2>conftest.er1
54887 ac_status=$?
54888 grep -v '^ *+' conftest.er1 >conftest.err
54889 rm -f conftest.er1
54890 cat conftest.err >&5
54891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54892 (exit $ac_status); } &&
54893 { ac_try='test -z "$ac_c_werror_flag"
54894 || test ! -s conftest.err'
54895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54896 (eval $ac_try) 2>&5
54897 ac_status=$?
54898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54899 (exit $ac_status); }; } &&
54900 { ac_try='test -s conftest$ac_exeext'
54901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54902 (eval $ac_try) 2>&5
54903 ac_status=$?
54904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54905 (exit $ac_status); }; }; then
54906 eval "$as_ac_var=yes"
54907 else
54908 echo "$as_me: failed program was:" >&5
54909 sed 's/^/| /' conftest.$ac_ext >&5
54911 eval "$as_ac_var=no"
54913 rm -f conftest.err conftest.$ac_objext \
54914 conftest$ac_exeext conftest.$ac_ext
54916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54918 if test `eval echo '${'$as_ac_var'}'` = yes; then
54919 cat >>confdefs.h <<_ACEOF
54920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54921 _ACEOF
54924 done
54942 echo "$as_me:$LINENO: checking for long double round functions" >&5
54943 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
54944 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
54945 echo $ECHO_N "(cached) $ECHO_C" >&6
54946 else
54950 ac_ext=cc
54951 ac_cpp='$CXXCPP $CPPFLAGS'
54952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54956 cat >conftest.$ac_ext <<_ACEOF
54957 /* confdefs.h. */
54958 _ACEOF
54959 cat confdefs.h >>conftest.$ac_ext
54960 cat >>conftest.$ac_ext <<_ACEOF
54961 /* end confdefs.h. */
54962 #include <math.h>
54964 main ()
54966 ceill (0); floorl (0);
54968 return 0;
54970 _ACEOF
54971 rm -f conftest.$ac_objext
54972 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54973 (eval $ac_compile) 2>conftest.er1
54974 ac_status=$?
54975 grep -v '^ *+' conftest.er1 >conftest.err
54976 rm -f conftest.er1
54977 cat conftest.err >&5
54978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54979 (exit $ac_status); } &&
54980 { ac_try='test -z "$ac_cxx_werror_flag"
54981 || test ! -s conftest.err'
54982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54983 (eval $ac_try) 2>&5
54984 ac_status=$?
54985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54986 (exit $ac_status); }; } &&
54987 { ac_try='test -s conftest.$ac_objext'
54988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54989 (eval $ac_try) 2>&5
54990 ac_status=$?
54991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54992 (exit $ac_status); }; }; then
54993 glibcxx_cv_func_long_double_round_use=yes
54994 else
54995 echo "$as_me: failed program was:" >&5
54996 sed 's/^/| /' conftest.$ac_ext >&5
54998 glibcxx_cv_func_long_double_round_use=no
55000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55001 ac_ext=c
55002 ac_cpp='$CPP $CPPFLAGS'
55003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55009 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
55010 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
55011 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
55014 for ac_func in ceill floorl
55016 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55017 echo "$as_me:$LINENO: checking for $ac_func" >&5
55018 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55019 if eval "test \"\${$as_ac_var+set}\" = set"; then
55020 echo $ECHO_N "(cached) $ECHO_C" >&6
55021 else
55022 if test x$gcc_no_link = xyes; then
55023 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55024 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55025 { (exit 1); exit 1; }; }
55027 cat >conftest.$ac_ext <<_ACEOF
55028 /* confdefs.h. */
55029 _ACEOF
55030 cat confdefs.h >>conftest.$ac_ext
55031 cat >>conftest.$ac_ext <<_ACEOF
55032 /* end confdefs.h. */
55033 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55035 #define $ac_func innocuous_$ac_func
55037 /* System header to define __stub macros and hopefully few prototypes,
55038 which can conflict with char $ac_func (); below.
55039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55040 <limits.h> exists even on freestanding compilers. */
55042 #ifdef __STDC__
55043 # include <limits.h>
55044 #else
55045 # include <assert.h>
55046 #endif
55048 #undef $ac_func
55050 /* Override any gcc2 internal prototype to avoid an error. */
55051 #ifdef __cplusplus
55052 extern "C"
55054 #endif
55055 /* We use char because int might match the return type of a gcc2
55056 builtin and then its argument prototype would still apply. */
55057 char $ac_func ();
55058 /* The GNU C library defines this for functions which it implements
55059 to always fail with ENOSYS. Some functions are actually named
55060 something starting with __ and the normal name is an alias. */
55061 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55062 choke me
55063 #else
55064 char (*f) () = $ac_func;
55065 #endif
55066 #ifdef __cplusplus
55068 #endif
55071 main ()
55073 return f != $ac_func;
55075 return 0;
55077 _ACEOF
55078 rm -f conftest.$ac_objext conftest$ac_exeext
55079 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55080 (eval $ac_link) 2>conftest.er1
55081 ac_status=$?
55082 grep -v '^ *+' conftest.er1 >conftest.err
55083 rm -f conftest.er1
55084 cat conftest.err >&5
55085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55086 (exit $ac_status); } &&
55087 { ac_try='test -z "$ac_c_werror_flag"
55088 || test ! -s conftest.err'
55089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55090 (eval $ac_try) 2>&5
55091 ac_status=$?
55092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55093 (exit $ac_status); }; } &&
55094 { ac_try='test -s conftest$ac_exeext'
55095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55096 (eval $ac_try) 2>&5
55097 ac_status=$?
55098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55099 (exit $ac_status); }; }; then
55100 eval "$as_ac_var=yes"
55101 else
55102 echo "$as_me: failed program was:" >&5
55103 sed 's/^/| /' conftest.$ac_ext >&5
55105 eval "$as_ac_var=no"
55107 rm -f conftest.err conftest.$ac_objext \
55108 conftest$ac_exeext conftest.$ac_ext
55110 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55111 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55112 if test `eval echo '${'$as_ac_var'}'` = yes; then
55113 cat >>confdefs.h <<_ACEOF
55114 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55115 _ACEOF
55118 done
55120 else
55121 echo "$as_me:$LINENO: checking for _long double round functions" >&5
55122 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
55123 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
55124 echo $ECHO_N "(cached) $ECHO_C" >&6
55125 else
55129 ac_ext=cc
55130 ac_cpp='$CXXCPP $CPPFLAGS'
55131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55135 cat >conftest.$ac_ext <<_ACEOF
55136 /* confdefs.h. */
55137 _ACEOF
55138 cat confdefs.h >>conftest.$ac_ext
55139 cat >>conftest.$ac_ext <<_ACEOF
55140 /* end confdefs.h. */
55141 #include <math.h>
55143 main ()
55145 _ceill (0); _floorl (0);
55147 return 0;
55149 _ACEOF
55150 rm -f conftest.$ac_objext
55151 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55152 (eval $ac_compile) 2>conftest.er1
55153 ac_status=$?
55154 grep -v '^ *+' conftest.er1 >conftest.err
55155 rm -f conftest.er1
55156 cat conftest.err >&5
55157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55158 (exit $ac_status); } &&
55159 { ac_try='test -z "$ac_cxx_werror_flag"
55160 || test ! -s conftest.err'
55161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55162 (eval $ac_try) 2>&5
55163 ac_status=$?
55164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55165 (exit $ac_status); }; } &&
55166 { ac_try='test -s conftest.$ac_objext'
55167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55168 (eval $ac_try) 2>&5
55169 ac_status=$?
55170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55171 (exit $ac_status); }; }; then
55172 glibcxx_cv_func__long_double_round_use=yes
55173 else
55174 echo "$as_me: failed program was:" >&5
55175 sed 's/^/| /' conftest.$ac_ext >&5
55177 glibcxx_cv_func__long_double_round_use=no
55179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55180 ac_ext=c
55181 ac_cpp='$CPP $CPPFLAGS'
55182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55188 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
55189 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
55190 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
55193 for ac_func in _ceill _floorl
55195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55196 echo "$as_me:$LINENO: checking for $ac_func" >&5
55197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55198 if eval "test \"\${$as_ac_var+set}\" = set"; then
55199 echo $ECHO_N "(cached) $ECHO_C" >&6
55200 else
55201 if test x$gcc_no_link = xyes; then
55202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55204 { (exit 1); exit 1; }; }
55206 cat >conftest.$ac_ext <<_ACEOF
55207 /* confdefs.h. */
55208 _ACEOF
55209 cat confdefs.h >>conftest.$ac_ext
55210 cat >>conftest.$ac_ext <<_ACEOF
55211 /* end confdefs.h. */
55212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55214 #define $ac_func innocuous_$ac_func
55216 /* System header to define __stub macros and hopefully few prototypes,
55217 which can conflict with char $ac_func (); below.
55218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55219 <limits.h> exists even on freestanding compilers. */
55221 #ifdef __STDC__
55222 # include <limits.h>
55223 #else
55224 # include <assert.h>
55225 #endif
55227 #undef $ac_func
55229 /* Override any gcc2 internal prototype to avoid an error. */
55230 #ifdef __cplusplus
55231 extern "C"
55233 #endif
55234 /* We use char because int might match the return type of a gcc2
55235 builtin and then its argument prototype would still apply. */
55236 char $ac_func ();
55237 /* The GNU C library defines this for functions which it implements
55238 to always fail with ENOSYS. Some functions are actually named
55239 something starting with __ and the normal name is an alias. */
55240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55241 choke me
55242 #else
55243 char (*f) () = $ac_func;
55244 #endif
55245 #ifdef __cplusplus
55247 #endif
55250 main ()
55252 return f != $ac_func;
55254 return 0;
55256 _ACEOF
55257 rm -f conftest.$ac_objext conftest$ac_exeext
55258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55259 (eval $ac_link) 2>conftest.er1
55260 ac_status=$?
55261 grep -v '^ *+' conftest.er1 >conftest.err
55262 rm -f conftest.er1
55263 cat conftest.err >&5
55264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55265 (exit $ac_status); } &&
55266 { ac_try='test -z "$ac_c_werror_flag"
55267 || test ! -s conftest.err'
55268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55269 (eval $ac_try) 2>&5
55270 ac_status=$?
55271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55272 (exit $ac_status); }; } &&
55273 { ac_try='test -s conftest$ac_exeext'
55274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55275 (eval $ac_try) 2>&5
55276 ac_status=$?
55277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55278 (exit $ac_status); }; }; then
55279 eval "$as_ac_var=yes"
55280 else
55281 echo "$as_me: failed program was:" >&5
55282 sed 's/^/| /' conftest.$ac_ext >&5
55284 eval "$as_ac_var=no"
55286 rm -f conftest.err conftest.$ac_objext \
55287 conftest$ac_exeext conftest.$ac_ext
55289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55291 if test `eval echo '${'$as_ac_var'}'` = yes; then
55292 cat >>confdefs.h <<_ACEOF
55293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55294 _ACEOF
55297 done
55309 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
55310 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
55311 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
55312 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
55313 echo $ECHO_N "(cached) $ECHO_C" >&6
55314 else
55318 ac_ext=cc
55319 ac_cpp='$CXXCPP $CPPFLAGS'
55320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55324 cat >conftest.$ac_ext <<_ACEOF
55325 /* confdefs.h. */
55326 _ACEOF
55327 cat confdefs.h >>conftest.$ac_ext
55328 cat >>conftest.$ac_ext <<_ACEOF
55329 /* end confdefs.h. */
55330 #include <math.h>
55331 #ifdef HAVE_IEEEFP_H
55332 #include <ieeefp.h>
55333 #endif
55336 main ()
55338 isnanl(0);
55340 return 0;
55342 _ACEOF
55343 rm -f conftest.$ac_objext
55344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55345 (eval $ac_compile) 2>conftest.er1
55346 ac_status=$?
55347 grep -v '^ *+' conftest.er1 >conftest.err
55348 rm -f conftest.er1
55349 cat conftest.err >&5
55350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55351 (exit $ac_status); } &&
55352 { ac_try='test -z "$ac_cxx_werror_flag"
55353 || test ! -s conftest.err'
55354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55355 (eval $ac_try) 2>&5
55356 ac_status=$?
55357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55358 (exit $ac_status); }; } &&
55359 { ac_try='test -s conftest.$ac_objext'
55360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55361 (eval $ac_try) 2>&5
55362 ac_status=$?
55363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55364 (exit $ac_status); }; }; then
55365 glibcxx_cv_func_isnanl_use=yes
55366 else
55367 echo "$as_me: failed program was:" >&5
55368 sed 's/^/| /' conftest.$ac_ext >&5
55370 glibcxx_cv_func_isnanl_use=no
55372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55373 ac_ext=c
55374 ac_cpp='$CPP $CPPFLAGS'
55375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55383 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
55384 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
55386 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
55388 for ac_func in isnanl
55390 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55391 echo "$as_me:$LINENO: checking for $ac_func" >&5
55392 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55393 if eval "test \"\${$as_ac_var+set}\" = set"; then
55394 echo $ECHO_N "(cached) $ECHO_C" >&6
55395 else
55396 if test x$gcc_no_link = xyes; then
55397 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55398 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55399 { (exit 1); exit 1; }; }
55401 cat >conftest.$ac_ext <<_ACEOF
55402 /* confdefs.h. */
55403 _ACEOF
55404 cat confdefs.h >>conftest.$ac_ext
55405 cat >>conftest.$ac_ext <<_ACEOF
55406 /* end confdefs.h. */
55407 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55408 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55409 #define $ac_func innocuous_$ac_func
55411 /* System header to define __stub macros and hopefully few prototypes,
55412 which can conflict with char $ac_func (); below.
55413 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55414 <limits.h> exists even on freestanding compilers. */
55416 #ifdef __STDC__
55417 # include <limits.h>
55418 #else
55419 # include <assert.h>
55420 #endif
55422 #undef $ac_func
55424 /* Override any gcc2 internal prototype to avoid an error. */
55425 #ifdef __cplusplus
55426 extern "C"
55428 #endif
55429 /* We use char because int might match the return type of a gcc2
55430 builtin and then its argument prototype would still apply. */
55431 char $ac_func ();
55432 /* The GNU C library defines this for functions which it implements
55433 to always fail with ENOSYS. Some functions are actually named
55434 something starting with __ and the normal name is an alias. */
55435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55436 choke me
55437 #else
55438 char (*f) () = $ac_func;
55439 #endif
55440 #ifdef __cplusplus
55442 #endif
55445 main ()
55447 return f != $ac_func;
55449 return 0;
55451 _ACEOF
55452 rm -f conftest.$ac_objext conftest$ac_exeext
55453 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55454 (eval $ac_link) 2>conftest.er1
55455 ac_status=$?
55456 grep -v '^ *+' conftest.er1 >conftest.err
55457 rm -f conftest.er1
55458 cat conftest.err >&5
55459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55460 (exit $ac_status); } &&
55461 { ac_try='test -z "$ac_c_werror_flag"
55462 || test ! -s conftest.err'
55463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55464 (eval $ac_try) 2>&5
55465 ac_status=$?
55466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55467 (exit $ac_status); }; } &&
55468 { ac_try='test -s conftest$ac_exeext'
55469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55470 (eval $ac_try) 2>&5
55471 ac_status=$?
55472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55473 (exit $ac_status); }; }; then
55474 eval "$as_ac_var=yes"
55475 else
55476 echo "$as_me: failed program was:" >&5
55477 sed 's/^/| /' conftest.$ac_ext >&5
55479 eval "$as_ac_var=no"
55481 rm -f conftest.err conftest.$ac_objext \
55482 conftest$ac_exeext conftest.$ac_ext
55484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55485 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55486 if test `eval echo '${'$as_ac_var'}'` = yes; then
55487 cat >>confdefs.h <<_ACEOF
55488 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55489 _ACEOF
55492 done
55494 else
55496 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
55497 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
55498 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
55499 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
55500 echo $ECHO_N "(cached) $ECHO_C" >&6
55501 else
55505 ac_ext=cc
55506 ac_cpp='$CXXCPP $CPPFLAGS'
55507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55511 cat >conftest.$ac_ext <<_ACEOF
55512 /* confdefs.h. */
55513 _ACEOF
55514 cat confdefs.h >>conftest.$ac_ext
55515 cat >>conftest.$ac_ext <<_ACEOF
55516 /* end confdefs.h. */
55517 #include <math.h>
55518 #ifdef HAVE_IEEEFP_H
55519 #include <ieeefp.h>
55520 #endif
55523 main ()
55525 _isnanl(0);
55527 return 0;
55529 _ACEOF
55530 rm -f conftest.$ac_objext
55531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55532 (eval $ac_compile) 2>conftest.er1
55533 ac_status=$?
55534 grep -v '^ *+' conftest.er1 >conftest.err
55535 rm -f conftest.er1
55536 cat conftest.err >&5
55537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55538 (exit $ac_status); } &&
55539 { ac_try='test -z "$ac_cxx_werror_flag"
55540 || test ! -s conftest.err'
55541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55542 (eval $ac_try) 2>&5
55543 ac_status=$?
55544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55545 (exit $ac_status); }; } &&
55546 { ac_try='test -s conftest.$ac_objext'
55547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55548 (eval $ac_try) 2>&5
55549 ac_status=$?
55550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55551 (exit $ac_status); }; }; then
55552 glibcxx_cv_func__isnanl_use=yes
55553 else
55554 echo "$as_me: failed program was:" >&5
55555 sed 's/^/| /' conftest.$ac_ext >&5
55557 glibcxx_cv_func__isnanl_use=no
55559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55560 ac_ext=c
55561 ac_cpp='$CPP $CPPFLAGS'
55562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
55571 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
55573 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
55575 for ac_func in _isnanl
55577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55578 echo "$as_me:$LINENO: checking for $ac_func" >&5
55579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55580 if eval "test \"\${$as_ac_var+set}\" = set"; then
55581 echo $ECHO_N "(cached) $ECHO_C" >&6
55582 else
55583 if test x$gcc_no_link = xyes; then
55584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55586 { (exit 1); exit 1; }; }
55588 cat >conftest.$ac_ext <<_ACEOF
55589 /* confdefs.h. */
55590 _ACEOF
55591 cat confdefs.h >>conftest.$ac_ext
55592 cat >>conftest.$ac_ext <<_ACEOF
55593 /* end confdefs.h. */
55594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55596 #define $ac_func innocuous_$ac_func
55598 /* System header to define __stub macros and hopefully few prototypes,
55599 which can conflict with char $ac_func (); below.
55600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55601 <limits.h> exists even on freestanding compilers. */
55603 #ifdef __STDC__
55604 # include <limits.h>
55605 #else
55606 # include <assert.h>
55607 #endif
55609 #undef $ac_func
55611 /* Override any gcc2 internal prototype to avoid an error. */
55612 #ifdef __cplusplus
55613 extern "C"
55615 #endif
55616 /* We use char because int might match the return type of a gcc2
55617 builtin and then its argument prototype would still apply. */
55618 char $ac_func ();
55619 /* The GNU C library defines this for functions which it implements
55620 to always fail with ENOSYS. Some functions are actually named
55621 something starting with __ and the normal name is an alias. */
55622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55623 choke me
55624 #else
55625 char (*f) () = $ac_func;
55626 #endif
55627 #ifdef __cplusplus
55629 #endif
55632 main ()
55634 return f != $ac_func;
55636 return 0;
55638 _ACEOF
55639 rm -f conftest.$ac_objext conftest$ac_exeext
55640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55641 (eval $ac_link) 2>conftest.er1
55642 ac_status=$?
55643 grep -v '^ *+' conftest.er1 >conftest.err
55644 rm -f conftest.er1
55645 cat conftest.err >&5
55646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55647 (exit $ac_status); } &&
55648 { ac_try='test -z "$ac_c_werror_flag"
55649 || test ! -s conftest.err'
55650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55651 (eval $ac_try) 2>&5
55652 ac_status=$?
55653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55654 (exit $ac_status); }; } &&
55655 { ac_try='test -s conftest$ac_exeext'
55656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55657 (eval $ac_try) 2>&5
55658 ac_status=$?
55659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55660 (exit $ac_status); }; }; then
55661 eval "$as_ac_var=yes"
55662 else
55663 echo "$as_me: failed program was:" >&5
55664 sed 's/^/| /' conftest.$ac_ext >&5
55666 eval "$as_ac_var=no"
55668 rm -f conftest.err conftest.$ac_objext \
55669 conftest$ac_exeext conftest.$ac_ext
55671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55673 if test `eval echo '${'$as_ac_var'}'` = yes; then
55674 cat >>confdefs.h <<_ACEOF
55675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55676 _ACEOF
55679 done
55689 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
55690 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
55691 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
55692 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
55693 echo $ECHO_N "(cached) $ECHO_C" >&6
55694 else
55698 ac_ext=cc
55699 ac_cpp='$CXXCPP $CPPFLAGS'
55700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55704 cat >conftest.$ac_ext <<_ACEOF
55705 /* confdefs.h. */
55706 _ACEOF
55707 cat confdefs.h >>conftest.$ac_ext
55708 cat >>conftest.$ac_ext <<_ACEOF
55709 /* end confdefs.h. */
55710 #include <math.h>
55711 #ifdef HAVE_IEEEFP_H
55712 #include <ieeefp.h>
55713 #endif
55716 main ()
55718 isinfl(0);
55720 return 0;
55722 _ACEOF
55723 rm -f conftest.$ac_objext
55724 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55725 (eval $ac_compile) 2>conftest.er1
55726 ac_status=$?
55727 grep -v '^ *+' conftest.er1 >conftest.err
55728 rm -f conftest.er1
55729 cat conftest.err >&5
55730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55731 (exit $ac_status); } &&
55732 { ac_try='test -z "$ac_cxx_werror_flag"
55733 || test ! -s conftest.err'
55734 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55735 (eval $ac_try) 2>&5
55736 ac_status=$?
55737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55738 (exit $ac_status); }; } &&
55739 { ac_try='test -s conftest.$ac_objext'
55740 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55741 (eval $ac_try) 2>&5
55742 ac_status=$?
55743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55744 (exit $ac_status); }; }; then
55745 glibcxx_cv_func_isinfl_use=yes
55746 else
55747 echo "$as_me: failed program was:" >&5
55748 sed 's/^/| /' conftest.$ac_ext >&5
55750 glibcxx_cv_func_isinfl_use=no
55752 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55753 ac_ext=c
55754 ac_cpp='$CPP $CPPFLAGS'
55755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55763 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
55764 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
55766 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
55768 for ac_func in isinfl
55770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55771 echo "$as_me:$LINENO: checking for $ac_func" >&5
55772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55773 if eval "test \"\${$as_ac_var+set}\" = set"; then
55774 echo $ECHO_N "(cached) $ECHO_C" >&6
55775 else
55776 if test x$gcc_no_link = xyes; then
55777 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55778 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55779 { (exit 1); exit 1; }; }
55781 cat >conftest.$ac_ext <<_ACEOF
55782 /* confdefs.h. */
55783 _ACEOF
55784 cat confdefs.h >>conftest.$ac_ext
55785 cat >>conftest.$ac_ext <<_ACEOF
55786 /* end confdefs.h. */
55787 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55788 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55789 #define $ac_func innocuous_$ac_func
55791 /* System header to define __stub macros and hopefully few prototypes,
55792 which can conflict with char $ac_func (); below.
55793 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55794 <limits.h> exists even on freestanding compilers. */
55796 #ifdef __STDC__
55797 # include <limits.h>
55798 #else
55799 # include <assert.h>
55800 #endif
55802 #undef $ac_func
55804 /* Override any gcc2 internal prototype to avoid an error. */
55805 #ifdef __cplusplus
55806 extern "C"
55808 #endif
55809 /* We use char because int might match the return type of a gcc2
55810 builtin and then its argument prototype would still apply. */
55811 char $ac_func ();
55812 /* The GNU C library defines this for functions which it implements
55813 to always fail with ENOSYS. Some functions are actually named
55814 something starting with __ and the normal name is an alias. */
55815 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55816 choke me
55817 #else
55818 char (*f) () = $ac_func;
55819 #endif
55820 #ifdef __cplusplus
55822 #endif
55825 main ()
55827 return f != $ac_func;
55829 return 0;
55831 _ACEOF
55832 rm -f conftest.$ac_objext conftest$ac_exeext
55833 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55834 (eval $ac_link) 2>conftest.er1
55835 ac_status=$?
55836 grep -v '^ *+' conftest.er1 >conftest.err
55837 rm -f conftest.er1
55838 cat conftest.err >&5
55839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55840 (exit $ac_status); } &&
55841 { ac_try='test -z "$ac_c_werror_flag"
55842 || test ! -s conftest.err'
55843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55844 (eval $ac_try) 2>&5
55845 ac_status=$?
55846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55847 (exit $ac_status); }; } &&
55848 { ac_try='test -s conftest$ac_exeext'
55849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55850 (eval $ac_try) 2>&5
55851 ac_status=$?
55852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55853 (exit $ac_status); }; }; then
55854 eval "$as_ac_var=yes"
55855 else
55856 echo "$as_me: failed program was:" >&5
55857 sed 's/^/| /' conftest.$ac_ext >&5
55859 eval "$as_ac_var=no"
55861 rm -f conftest.err conftest.$ac_objext \
55862 conftest$ac_exeext conftest.$ac_ext
55864 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55865 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55866 if test `eval echo '${'$as_ac_var'}'` = yes; then
55867 cat >>confdefs.h <<_ACEOF
55868 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55869 _ACEOF
55872 done
55874 else
55876 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
55877 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
55878 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
55879 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
55880 echo $ECHO_N "(cached) $ECHO_C" >&6
55881 else
55885 ac_ext=cc
55886 ac_cpp='$CXXCPP $CPPFLAGS'
55887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55891 cat >conftest.$ac_ext <<_ACEOF
55892 /* confdefs.h. */
55893 _ACEOF
55894 cat confdefs.h >>conftest.$ac_ext
55895 cat >>conftest.$ac_ext <<_ACEOF
55896 /* end confdefs.h. */
55897 #include <math.h>
55898 #ifdef HAVE_IEEEFP_H
55899 #include <ieeefp.h>
55900 #endif
55903 main ()
55905 _isinfl(0);
55907 return 0;
55909 _ACEOF
55910 rm -f conftest.$ac_objext
55911 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55912 (eval $ac_compile) 2>conftest.er1
55913 ac_status=$?
55914 grep -v '^ *+' conftest.er1 >conftest.err
55915 rm -f conftest.er1
55916 cat conftest.err >&5
55917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55918 (exit $ac_status); } &&
55919 { ac_try='test -z "$ac_cxx_werror_flag"
55920 || test ! -s conftest.err'
55921 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55922 (eval $ac_try) 2>&5
55923 ac_status=$?
55924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55925 (exit $ac_status); }; } &&
55926 { ac_try='test -s conftest.$ac_objext'
55927 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55928 (eval $ac_try) 2>&5
55929 ac_status=$?
55930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55931 (exit $ac_status); }; }; then
55932 glibcxx_cv_func__isinfl_use=yes
55933 else
55934 echo "$as_me: failed program was:" >&5
55935 sed 's/^/| /' conftest.$ac_ext >&5
55937 glibcxx_cv_func__isinfl_use=no
55939 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55940 ac_ext=c
55941 ac_cpp='$CPP $CPPFLAGS'
55942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55950 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
55951 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
55953 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
55955 for ac_func in _isinfl
55957 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55958 echo "$as_me:$LINENO: checking for $ac_func" >&5
55959 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55960 if eval "test \"\${$as_ac_var+set}\" = set"; then
55961 echo $ECHO_N "(cached) $ECHO_C" >&6
55962 else
55963 if test x$gcc_no_link = xyes; then
55964 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55965 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55966 { (exit 1); exit 1; }; }
55968 cat >conftest.$ac_ext <<_ACEOF
55969 /* confdefs.h. */
55970 _ACEOF
55971 cat confdefs.h >>conftest.$ac_ext
55972 cat >>conftest.$ac_ext <<_ACEOF
55973 /* end confdefs.h. */
55974 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55975 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55976 #define $ac_func innocuous_$ac_func
55978 /* System header to define __stub macros and hopefully few prototypes,
55979 which can conflict with char $ac_func (); below.
55980 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55981 <limits.h> exists even on freestanding compilers. */
55983 #ifdef __STDC__
55984 # include <limits.h>
55985 #else
55986 # include <assert.h>
55987 #endif
55989 #undef $ac_func
55991 /* Override any gcc2 internal prototype to avoid an error. */
55992 #ifdef __cplusplus
55993 extern "C"
55995 #endif
55996 /* We use char because int might match the return type of a gcc2
55997 builtin and then its argument prototype would still apply. */
55998 char $ac_func ();
55999 /* The GNU C library defines this for functions which it implements
56000 to always fail with ENOSYS. Some functions are actually named
56001 something starting with __ and the normal name is an alias. */
56002 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56003 choke me
56004 #else
56005 char (*f) () = $ac_func;
56006 #endif
56007 #ifdef __cplusplus
56009 #endif
56012 main ()
56014 return f != $ac_func;
56016 return 0;
56018 _ACEOF
56019 rm -f conftest.$ac_objext conftest$ac_exeext
56020 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56021 (eval $ac_link) 2>conftest.er1
56022 ac_status=$?
56023 grep -v '^ *+' conftest.er1 >conftest.err
56024 rm -f conftest.er1
56025 cat conftest.err >&5
56026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56027 (exit $ac_status); } &&
56028 { ac_try='test -z "$ac_c_werror_flag"
56029 || test ! -s conftest.err'
56030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56031 (eval $ac_try) 2>&5
56032 ac_status=$?
56033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56034 (exit $ac_status); }; } &&
56035 { ac_try='test -s conftest$ac_exeext'
56036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56037 (eval $ac_try) 2>&5
56038 ac_status=$?
56039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56040 (exit $ac_status); }; }; then
56041 eval "$as_ac_var=yes"
56042 else
56043 echo "$as_me: failed program was:" >&5
56044 sed 's/^/| /' conftest.$ac_ext >&5
56046 eval "$as_ac_var=no"
56048 rm -f conftest.err conftest.$ac_objext \
56049 conftest$ac_exeext conftest.$ac_ext
56051 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56052 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56053 if test `eval echo '${'$as_ac_var'}'` = yes; then
56054 cat >>confdefs.h <<_ACEOF
56055 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56056 _ACEOF
56059 done
56069 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
56070 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
56071 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
56072 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
56073 echo $ECHO_N "(cached) $ECHO_C" >&6
56074 else
56078 ac_ext=cc
56079 ac_cpp='$CXXCPP $CPPFLAGS'
56080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56084 cat >conftest.$ac_ext <<_ACEOF
56085 /* confdefs.h. */
56086 _ACEOF
56087 cat confdefs.h >>conftest.$ac_ext
56088 cat >>conftest.$ac_ext <<_ACEOF
56089 /* end confdefs.h. */
56090 #include <math.h>
56092 main ()
56094 copysignl(0, 0);
56096 return 0;
56098 _ACEOF
56099 rm -f conftest.$ac_objext
56100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56101 (eval $ac_compile) 2>conftest.er1
56102 ac_status=$?
56103 grep -v '^ *+' conftest.er1 >conftest.err
56104 rm -f conftest.er1
56105 cat conftest.err >&5
56106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56107 (exit $ac_status); } &&
56108 { ac_try='test -z "$ac_cxx_werror_flag"
56109 || test ! -s conftest.err'
56110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56111 (eval $ac_try) 2>&5
56112 ac_status=$?
56113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56114 (exit $ac_status); }; } &&
56115 { ac_try='test -s conftest.$ac_objext'
56116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56117 (eval $ac_try) 2>&5
56118 ac_status=$?
56119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56120 (exit $ac_status); }; }; then
56121 glibcxx_cv_func_copysignl_use=yes
56122 else
56123 echo "$as_me: failed program was:" >&5
56124 sed 's/^/| /' conftest.$ac_ext >&5
56126 glibcxx_cv_func_copysignl_use=no
56128 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56129 ac_ext=c
56130 ac_cpp='$CPP $CPPFLAGS'
56131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56139 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
56140 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
56142 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
56144 for ac_func in copysignl
56146 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56147 echo "$as_me:$LINENO: checking for $ac_func" >&5
56148 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56149 if eval "test \"\${$as_ac_var+set}\" = set"; then
56150 echo $ECHO_N "(cached) $ECHO_C" >&6
56151 else
56152 if test x$gcc_no_link = xyes; then
56153 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56154 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56155 { (exit 1); exit 1; }; }
56157 cat >conftest.$ac_ext <<_ACEOF
56158 /* confdefs.h. */
56159 _ACEOF
56160 cat confdefs.h >>conftest.$ac_ext
56161 cat >>conftest.$ac_ext <<_ACEOF
56162 /* end confdefs.h. */
56163 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56164 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56165 #define $ac_func innocuous_$ac_func
56167 /* System header to define __stub macros and hopefully few prototypes,
56168 which can conflict with char $ac_func (); below.
56169 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56170 <limits.h> exists even on freestanding compilers. */
56172 #ifdef __STDC__
56173 # include <limits.h>
56174 #else
56175 # include <assert.h>
56176 #endif
56178 #undef $ac_func
56180 /* Override any gcc2 internal prototype to avoid an error. */
56181 #ifdef __cplusplus
56182 extern "C"
56184 #endif
56185 /* We use char because int might match the return type of a gcc2
56186 builtin and then its argument prototype would still apply. */
56187 char $ac_func ();
56188 /* The GNU C library defines this for functions which it implements
56189 to always fail with ENOSYS. Some functions are actually named
56190 something starting with __ and the normal name is an alias. */
56191 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56192 choke me
56193 #else
56194 char (*f) () = $ac_func;
56195 #endif
56196 #ifdef __cplusplus
56198 #endif
56201 main ()
56203 return f != $ac_func;
56205 return 0;
56207 _ACEOF
56208 rm -f conftest.$ac_objext conftest$ac_exeext
56209 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56210 (eval $ac_link) 2>conftest.er1
56211 ac_status=$?
56212 grep -v '^ *+' conftest.er1 >conftest.err
56213 rm -f conftest.er1
56214 cat conftest.err >&5
56215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56216 (exit $ac_status); } &&
56217 { ac_try='test -z "$ac_c_werror_flag"
56218 || test ! -s conftest.err'
56219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56220 (eval $ac_try) 2>&5
56221 ac_status=$?
56222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56223 (exit $ac_status); }; } &&
56224 { ac_try='test -s conftest$ac_exeext'
56225 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56226 (eval $ac_try) 2>&5
56227 ac_status=$?
56228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56229 (exit $ac_status); }; }; then
56230 eval "$as_ac_var=yes"
56231 else
56232 echo "$as_me: failed program was:" >&5
56233 sed 's/^/| /' conftest.$ac_ext >&5
56235 eval "$as_ac_var=no"
56237 rm -f conftest.err conftest.$ac_objext \
56238 conftest$ac_exeext conftest.$ac_ext
56240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56241 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56242 if test `eval echo '${'$as_ac_var'}'` = yes; then
56243 cat >>confdefs.h <<_ACEOF
56244 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56245 _ACEOF
56248 done
56250 else
56252 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
56253 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
56254 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
56255 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
56256 echo $ECHO_N "(cached) $ECHO_C" >&6
56257 else
56261 ac_ext=cc
56262 ac_cpp='$CXXCPP $CPPFLAGS'
56263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56267 cat >conftest.$ac_ext <<_ACEOF
56268 /* confdefs.h. */
56269 _ACEOF
56270 cat confdefs.h >>conftest.$ac_ext
56271 cat >>conftest.$ac_ext <<_ACEOF
56272 /* end confdefs.h. */
56273 #include <math.h>
56275 main ()
56277 _copysignl(0, 0);
56279 return 0;
56281 _ACEOF
56282 rm -f conftest.$ac_objext
56283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56284 (eval $ac_compile) 2>conftest.er1
56285 ac_status=$?
56286 grep -v '^ *+' conftest.er1 >conftest.err
56287 rm -f conftest.er1
56288 cat conftest.err >&5
56289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56290 (exit $ac_status); } &&
56291 { ac_try='test -z "$ac_cxx_werror_flag"
56292 || test ! -s conftest.err'
56293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56294 (eval $ac_try) 2>&5
56295 ac_status=$?
56296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56297 (exit $ac_status); }; } &&
56298 { ac_try='test -s conftest.$ac_objext'
56299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56300 (eval $ac_try) 2>&5
56301 ac_status=$?
56302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56303 (exit $ac_status); }; }; then
56304 glibcxx_cv_func__copysignl_use=yes
56305 else
56306 echo "$as_me: failed program was:" >&5
56307 sed 's/^/| /' conftest.$ac_ext >&5
56309 glibcxx_cv_func__copysignl_use=no
56311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56312 ac_ext=c
56313 ac_cpp='$CPP $CPPFLAGS'
56314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
56323 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
56325 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
56327 for ac_func in _copysignl
56329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56330 echo "$as_me:$LINENO: checking for $ac_func" >&5
56331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56332 if eval "test \"\${$as_ac_var+set}\" = set"; then
56333 echo $ECHO_N "(cached) $ECHO_C" >&6
56334 else
56335 if test x$gcc_no_link = xyes; then
56336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56338 { (exit 1); exit 1; }; }
56340 cat >conftest.$ac_ext <<_ACEOF
56341 /* confdefs.h. */
56342 _ACEOF
56343 cat confdefs.h >>conftest.$ac_ext
56344 cat >>conftest.$ac_ext <<_ACEOF
56345 /* end confdefs.h. */
56346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56348 #define $ac_func innocuous_$ac_func
56350 /* System header to define __stub macros and hopefully few prototypes,
56351 which can conflict with char $ac_func (); below.
56352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56353 <limits.h> exists even on freestanding compilers. */
56355 #ifdef __STDC__
56356 # include <limits.h>
56357 #else
56358 # include <assert.h>
56359 #endif
56361 #undef $ac_func
56363 /* Override any gcc2 internal prototype to avoid an error. */
56364 #ifdef __cplusplus
56365 extern "C"
56367 #endif
56368 /* We use char because int might match the return type of a gcc2
56369 builtin and then its argument prototype would still apply. */
56370 char $ac_func ();
56371 /* The GNU C library defines this for functions which it implements
56372 to always fail with ENOSYS. Some functions are actually named
56373 something starting with __ and the normal name is an alias. */
56374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56375 choke me
56376 #else
56377 char (*f) () = $ac_func;
56378 #endif
56379 #ifdef __cplusplus
56381 #endif
56384 main ()
56386 return f != $ac_func;
56388 return 0;
56390 _ACEOF
56391 rm -f conftest.$ac_objext conftest$ac_exeext
56392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56393 (eval $ac_link) 2>conftest.er1
56394 ac_status=$?
56395 grep -v '^ *+' conftest.er1 >conftest.err
56396 rm -f conftest.er1
56397 cat conftest.err >&5
56398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56399 (exit $ac_status); } &&
56400 { ac_try='test -z "$ac_c_werror_flag"
56401 || test ! -s conftest.err'
56402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56403 (eval $ac_try) 2>&5
56404 ac_status=$?
56405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56406 (exit $ac_status); }; } &&
56407 { ac_try='test -s conftest$ac_exeext'
56408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56409 (eval $ac_try) 2>&5
56410 ac_status=$?
56411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56412 (exit $ac_status); }; }; then
56413 eval "$as_ac_var=yes"
56414 else
56415 echo "$as_me: failed program was:" >&5
56416 sed 's/^/| /' conftest.$ac_ext >&5
56418 eval "$as_ac_var=no"
56420 rm -f conftest.err conftest.$ac_objext \
56421 conftest$ac_exeext conftest.$ac_ext
56423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56425 if test `eval echo '${'$as_ac_var'}'` = yes; then
56426 cat >>confdefs.h <<_ACEOF
56427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56428 _ACEOF
56431 done
56441 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
56442 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
56443 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56444 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
56445 echo $ECHO_N "(cached) $ECHO_C" >&6
56446 else
56450 ac_ext=cc
56451 ac_cpp='$CXXCPP $CPPFLAGS'
56452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56456 cat >conftest.$ac_ext <<_ACEOF
56457 /* confdefs.h. */
56458 _ACEOF
56459 cat confdefs.h >>conftest.$ac_ext
56460 cat >>conftest.$ac_ext <<_ACEOF
56461 /* end confdefs.h. */
56462 #include <math.h>
56464 main ()
56466 atan2l(0, 0);
56468 return 0;
56470 _ACEOF
56471 rm -f conftest.$ac_objext
56472 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56473 (eval $ac_compile) 2>conftest.er1
56474 ac_status=$?
56475 grep -v '^ *+' conftest.er1 >conftest.err
56476 rm -f conftest.er1
56477 cat conftest.err >&5
56478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56479 (exit $ac_status); } &&
56480 { ac_try='test -z "$ac_cxx_werror_flag"
56481 || test ! -s conftest.err'
56482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56483 (eval $ac_try) 2>&5
56484 ac_status=$?
56485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56486 (exit $ac_status); }; } &&
56487 { ac_try='test -s conftest.$ac_objext'
56488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56489 (eval $ac_try) 2>&5
56490 ac_status=$?
56491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56492 (exit $ac_status); }; }; then
56493 glibcxx_cv_func_atan2l_use=yes
56494 else
56495 echo "$as_me: failed program was:" >&5
56496 sed 's/^/| /' conftest.$ac_ext >&5
56498 glibcxx_cv_func_atan2l_use=no
56500 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56501 ac_ext=c
56502 ac_cpp='$CPP $CPPFLAGS'
56503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
56512 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
56514 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56516 for ac_func in atan2l
56518 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56519 echo "$as_me:$LINENO: checking for $ac_func" >&5
56520 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56521 if eval "test \"\${$as_ac_var+set}\" = set"; then
56522 echo $ECHO_N "(cached) $ECHO_C" >&6
56523 else
56524 if test x$gcc_no_link = xyes; then
56525 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56526 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56527 { (exit 1); exit 1; }; }
56529 cat >conftest.$ac_ext <<_ACEOF
56530 /* confdefs.h. */
56531 _ACEOF
56532 cat confdefs.h >>conftest.$ac_ext
56533 cat >>conftest.$ac_ext <<_ACEOF
56534 /* end confdefs.h. */
56535 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56536 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56537 #define $ac_func innocuous_$ac_func
56539 /* System header to define __stub macros and hopefully few prototypes,
56540 which can conflict with char $ac_func (); below.
56541 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56542 <limits.h> exists even on freestanding compilers. */
56544 #ifdef __STDC__
56545 # include <limits.h>
56546 #else
56547 # include <assert.h>
56548 #endif
56550 #undef $ac_func
56552 /* Override any gcc2 internal prototype to avoid an error. */
56553 #ifdef __cplusplus
56554 extern "C"
56556 #endif
56557 /* We use char because int might match the return type of a gcc2
56558 builtin and then its argument prototype would still apply. */
56559 char $ac_func ();
56560 /* The GNU C library defines this for functions which it implements
56561 to always fail with ENOSYS. Some functions are actually named
56562 something starting with __ and the normal name is an alias. */
56563 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56564 choke me
56565 #else
56566 char (*f) () = $ac_func;
56567 #endif
56568 #ifdef __cplusplus
56570 #endif
56573 main ()
56575 return f != $ac_func;
56577 return 0;
56579 _ACEOF
56580 rm -f conftest.$ac_objext conftest$ac_exeext
56581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56582 (eval $ac_link) 2>conftest.er1
56583 ac_status=$?
56584 grep -v '^ *+' conftest.er1 >conftest.err
56585 rm -f conftest.er1
56586 cat conftest.err >&5
56587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56588 (exit $ac_status); } &&
56589 { ac_try='test -z "$ac_c_werror_flag"
56590 || test ! -s conftest.err'
56591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56592 (eval $ac_try) 2>&5
56593 ac_status=$?
56594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56595 (exit $ac_status); }; } &&
56596 { ac_try='test -s conftest$ac_exeext'
56597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56598 (eval $ac_try) 2>&5
56599 ac_status=$?
56600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56601 (exit $ac_status); }; }; then
56602 eval "$as_ac_var=yes"
56603 else
56604 echo "$as_me: failed program was:" >&5
56605 sed 's/^/| /' conftest.$ac_ext >&5
56607 eval "$as_ac_var=no"
56609 rm -f conftest.err conftest.$ac_objext \
56610 conftest$ac_exeext conftest.$ac_ext
56612 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56613 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56614 if test `eval echo '${'$as_ac_var'}'` = yes; then
56615 cat >>confdefs.h <<_ACEOF
56616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56617 _ACEOF
56620 done
56622 else
56624 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
56625 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
56626 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56627 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
56628 echo $ECHO_N "(cached) $ECHO_C" >&6
56629 else
56633 ac_ext=cc
56634 ac_cpp='$CXXCPP $CPPFLAGS'
56635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56639 cat >conftest.$ac_ext <<_ACEOF
56640 /* confdefs.h. */
56641 _ACEOF
56642 cat confdefs.h >>conftest.$ac_ext
56643 cat >>conftest.$ac_ext <<_ACEOF
56644 /* end confdefs.h. */
56645 #include <math.h>
56647 main ()
56649 _atan2l(0, 0);
56651 return 0;
56653 _ACEOF
56654 rm -f conftest.$ac_objext
56655 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56656 (eval $ac_compile) 2>conftest.er1
56657 ac_status=$?
56658 grep -v '^ *+' conftest.er1 >conftest.err
56659 rm -f conftest.er1
56660 cat conftest.err >&5
56661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56662 (exit $ac_status); } &&
56663 { ac_try='test -z "$ac_cxx_werror_flag"
56664 || test ! -s conftest.err'
56665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56666 (eval $ac_try) 2>&5
56667 ac_status=$?
56668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56669 (exit $ac_status); }; } &&
56670 { ac_try='test -s conftest.$ac_objext'
56671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56672 (eval $ac_try) 2>&5
56673 ac_status=$?
56674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56675 (exit $ac_status); }; }; then
56676 glibcxx_cv_func__atan2l_use=yes
56677 else
56678 echo "$as_me: failed program was:" >&5
56679 sed 's/^/| /' conftest.$ac_ext >&5
56681 glibcxx_cv_func__atan2l_use=no
56683 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56684 ac_ext=c
56685 ac_cpp='$CPP $CPPFLAGS'
56686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56694 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
56695 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
56697 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56699 for ac_func in _atan2l
56701 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56702 echo "$as_me:$LINENO: checking for $ac_func" >&5
56703 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56704 if eval "test \"\${$as_ac_var+set}\" = set"; then
56705 echo $ECHO_N "(cached) $ECHO_C" >&6
56706 else
56707 if test x$gcc_no_link = xyes; then
56708 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56709 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56710 { (exit 1); exit 1; }; }
56712 cat >conftest.$ac_ext <<_ACEOF
56713 /* confdefs.h. */
56714 _ACEOF
56715 cat confdefs.h >>conftest.$ac_ext
56716 cat >>conftest.$ac_ext <<_ACEOF
56717 /* end confdefs.h. */
56718 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56720 #define $ac_func innocuous_$ac_func
56722 /* System header to define __stub macros and hopefully few prototypes,
56723 which can conflict with char $ac_func (); below.
56724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56725 <limits.h> exists even on freestanding compilers. */
56727 #ifdef __STDC__
56728 # include <limits.h>
56729 #else
56730 # include <assert.h>
56731 #endif
56733 #undef $ac_func
56735 /* Override any gcc2 internal prototype to avoid an error. */
56736 #ifdef __cplusplus
56737 extern "C"
56739 #endif
56740 /* We use char because int might match the return type of a gcc2
56741 builtin and then its argument prototype would still apply. */
56742 char $ac_func ();
56743 /* The GNU C library defines this for functions which it implements
56744 to always fail with ENOSYS. Some functions are actually named
56745 something starting with __ and the normal name is an alias. */
56746 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56747 choke me
56748 #else
56749 char (*f) () = $ac_func;
56750 #endif
56751 #ifdef __cplusplus
56753 #endif
56756 main ()
56758 return f != $ac_func;
56760 return 0;
56762 _ACEOF
56763 rm -f conftest.$ac_objext conftest$ac_exeext
56764 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56765 (eval $ac_link) 2>conftest.er1
56766 ac_status=$?
56767 grep -v '^ *+' conftest.er1 >conftest.err
56768 rm -f conftest.er1
56769 cat conftest.err >&5
56770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56771 (exit $ac_status); } &&
56772 { ac_try='test -z "$ac_c_werror_flag"
56773 || test ! -s conftest.err'
56774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56775 (eval $ac_try) 2>&5
56776 ac_status=$?
56777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56778 (exit $ac_status); }; } &&
56779 { ac_try='test -s conftest$ac_exeext'
56780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56781 (eval $ac_try) 2>&5
56782 ac_status=$?
56783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56784 (exit $ac_status); }; }; then
56785 eval "$as_ac_var=yes"
56786 else
56787 echo "$as_me: failed program was:" >&5
56788 sed 's/^/| /' conftest.$ac_ext >&5
56790 eval "$as_ac_var=no"
56792 rm -f conftest.err conftest.$ac_objext \
56793 conftest$ac_exeext conftest.$ac_ext
56795 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56796 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56797 if test `eval echo '${'$as_ac_var'}'` = yes; then
56798 cat >>confdefs.h <<_ACEOF
56799 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56800 _ACEOF
56803 done
56813 echo "$as_me:$LINENO: checking for expl declaration" >&5
56814 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
56815 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56816 if test "${glibcxx_cv_func_expl_use+set}" = set; then
56817 echo $ECHO_N "(cached) $ECHO_C" >&6
56818 else
56822 ac_ext=cc
56823 ac_cpp='$CXXCPP $CPPFLAGS'
56824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56828 cat >conftest.$ac_ext <<_ACEOF
56829 /* confdefs.h. */
56830 _ACEOF
56831 cat confdefs.h >>conftest.$ac_ext
56832 cat >>conftest.$ac_ext <<_ACEOF
56833 /* end confdefs.h. */
56834 #include <math.h>
56835 #ifdef HAVE_IEEEFP_H
56836 #include <ieeefp.h>
56837 #endif
56840 main ()
56842 expl(0);
56844 return 0;
56846 _ACEOF
56847 rm -f conftest.$ac_objext
56848 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56849 (eval $ac_compile) 2>conftest.er1
56850 ac_status=$?
56851 grep -v '^ *+' conftest.er1 >conftest.err
56852 rm -f conftest.er1
56853 cat conftest.err >&5
56854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56855 (exit $ac_status); } &&
56856 { ac_try='test -z "$ac_cxx_werror_flag"
56857 || test ! -s conftest.err'
56858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56859 (eval $ac_try) 2>&5
56860 ac_status=$?
56861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56862 (exit $ac_status); }; } &&
56863 { ac_try='test -s conftest.$ac_objext'
56864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56865 (eval $ac_try) 2>&5
56866 ac_status=$?
56867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56868 (exit $ac_status); }; }; then
56869 glibcxx_cv_func_expl_use=yes
56870 else
56871 echo "$as_me: failed program was:" >&5
56872 sed 's/^/| /' conftest.$ac_ext >&5
56874 glibcxx_cv_func_expl_use=no
56876 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56877 ac_ext=c
56878 ac_cpp='$CPP $CPPFLAGS'
56879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56887 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
56888 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
56890 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56892 for ac_func in expl
56894 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56895 echo "$as_me:$LINENO: checking for $ac_func" >&5
56896 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56897 if eval "test \"\${$as_ac_var+set}\" = set"; then
56898 echo $ECHO_N "(cached) $ECHO_C" >&6
56899 else
56900 if test x$gcc_no_link = xyes; then
56901 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56902 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56903 { (exit 1); exit 1; }; }
56905 cat >conftest.$ac_ext <<_ACEOF
56906 /* confdefs.h. */
56907 _ACEOF
56908 cat confdefs.h >>conftest.$ac_ext
56909 cat >>conftest.$ac_ext <<_ACEOF
56910 /* end confdefs.h. */
56911 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56912 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56913 #define $ac_func innocuous_$ac_func
56915 /* System header to define __stub macros and hopefully few prototypes,
56916 which can conflict with char $ac_func (); below.
56917 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56918 <limits.h> exists even on freestanding compilers. */
56920 #ifdef __STDC__
56921 # include <limits.h>
56922 #else
56923 # include <assert.h>
56924 #endif
56926 #undef $ac_func
56928 /* Override any gcc2 internal prototype to avoid an error. */
56929 #ifdef __cplusplus
56930 extern "C"
56932 #endif
56933 /* We use char because int might match the return type of a gcc2
56934 builtin and then its argument prototype would still apply. */
56935 char $ac_func ();
56936 /* The GNU C library defines this for functions which it implements
56937 to always fail with ENOSYS. Some functions are actually named
56938 something starting with __ and the normal name is an alias. */
56939 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56940 choke me
56941 #else
56942 char (*f) () = $ac_func;
56943 #endif
56944 #ifdef __cplusplus
56946 #endif
56949 main ()
56951 return f != $ac_func;
56953 return 0;
56955 _ACEOF
56956 rm -f conftest.$ac_objext conftest$ac_exeext
56957 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56958 (eval $ac_link) 2>conftest.er1
56959 ac_status=$?
56960 grep -v '^ *+' conftest.er1 >conftest.err
56961 rm -f conftest.er1
56962 cat conftest.err >&5
56963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56964 (exit $ac_status); } &&
56965 { ac_try='test -z "$ac_c_werror_flag"
56966 || test ! -s conftest.err'
56967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56968 (eval $ac_try) 2>&5
56969 ac_status=$?
56970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56971 (exit $ac_status); }; } &&
56972 { ac_try='test -s conftest$ac_exeext'
56973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56974 (eval $ac_try) 2>&5
56975 ac_status=$?
56976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56977 (exit $ac_status); }; }; then
56978 eval "$as_ac_var=yes"
56979 else
56980 echo "$as_me: failed program was:" >&5
56981 sed 's/^/| /' conftest.$ac_ext >&5
56983 eval "$as_ac_var=no"
56985 rm -f conftest.err conftest.$ac_objext \
56986 conftest$ac_exeext conftest.$ac_ext
56988 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56989 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56990 if test `eval echo '${'$as_ac_var'}'` = yes; then
56991 cat >>confdefs.h <<_ACEOF
56992 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56993 _ACEOF
56996 done
56998 else
57000 echo "$as_me:$LINENO: checking for _expl declaration" >&5
57001 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
57002 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57003 if test "${glibcxx_cv_func__expl_use+set}" = set; then
57004 echo $ECHO_N "(cached) $ECHO_C" >&6
57005 else
57009 ac_ext=cc
57010 ac_cpp='$CXXCPP $CPPFLAGS'
57011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57015 cat >conftest.$ac_ext <<_ACEOF
57016 /* confdefs.h. */
57017 _ACEOF
57018 cat confdefs.h >>conftest.$ac_ext
57019 cat >>conftest.$ac_ext <<_ACEOF
57020 /* end confdefs.h. */
57021 #include <math.h>
57022 #ifdef HAVE_IEEEFP_H
57023 #include <ieeefp.h>
57024 #endif
57027 main ()
57029 _expl(0);
57031 return 0;
57033 _ACEOF
57034 rm -f conftest.$ac_objext
57035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57036 (eval $ac_compile) 2>conftest.er1
57037 ac_status=$?
57038 grep -v '^ *+' conftest.er1 >conftest.err
57039 rm -f conftest.er1
57040 cat conftest.err >&5
57041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57042 (exit $ac_status); } &&
57043 { ac_try='test -z "$ac_cxx_werror_flag"
57044 || test ! -s conftest.err'
57045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57046 (eval $ac_try) 2>&5
57047 ac_status=$?
57048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57049 (exit $ac_status); }; } &&
57050 { ac_try='test -s conftest.$ac_objext'
57051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57052 (eval $ac_try) 2>&5
57053 ac_status=$?
57054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57055 (exit $ac_status); }; }; then
57056 glibcxx_cv_func__expl_use=yes
57057 else
57058 echo "$as_me: failed program was:" >&5
57059 sed 's/^/| /' conftest.$ac_ext >&5
57061 glibcxx_cv_func__expl_use=no
57063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57064 ac_ext=c
57065 ac_cpp='$CPP $CPPFLAGS'
57066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
57075 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
57077 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57079 for ac_func in _expl
57081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57082 echo "$as_me:$LINENO: checking for $ac_func" >&5
57083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57084 if eval "test \"\${$as_ac_var+set}\" = set"; then
57085 echo $ECHO_N "(cached) $ECHO_C" >&6
57086 else
57087 if test x$gcc_no_link = xyes; then
57088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57090 { (exit 1); exit 1; }; }
57092 cat >conftest.$ac_ext <<_ACEOF
57093 /* confdefs.h. */
57094 _ACEOF
57095 cat confdefs.h >>conftest.$ac_ext
57096 cat >>conftest.$ac_ext <<_ACEOF
57097 /* end confdefs.h. */
57098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57100 #define $ac_func innocuous_$ac_func
57102 /* System header to define __stub macros and hopefully few prototypes,
57103 which can conflict with char $ac_func (); below.
57104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57105 <limits.h> exists even on freestanding compilers. */
57107 #ifdef __STDC__
57108 # include <limits.h>
57109 #else
57110 # include <assert.h>
57111 #endif
57113 #undef $ac_func
57115 /* Override any gcc2 internal prototype to avoid an error. */
57116 #ifdef __cplusplus
57117 extern "C"
57119 #endif
57120 /* We use char because int might match the return type of a gcc2
57121 builtin and then its argument prototype would still apply. */
57122 char $ac_func ();
57123 /* The GNU C library defines this for functions which it implements
57124 to always fail with ENOSYS. Some functions are actually named
57125 something starting with __ and the normal name is an alias. */
57126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57127 choke me
57128 #else
57129 char (*f) () = $ac_func;
57130 #endif
57131 #ifdef __cplusplus
57133 #endif
57136 main ()
57138 return f != $ac_func;
57140 return 0;
57142 _ACEOF
57143 rm -f conftest.$ac_objext conftest$ac_exeext
57144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57145 (eval $ac_link) 2>conftest.er1
57146 ac_status=$?
57147 grep -v '^ *+' conftest.er1 >conftest.err
57148 rm -f conftest.er1
57149 cat conftest.err >&5
57150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57151 (exit $ac_status); } &&
57152 { ac_try='test -z "$ac_c_werror_flag"
57153 || test ! -s conftest.err'
57154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57155 (eval $ac_try) 2>&5
57156 ac_status=$?
57157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57158 (exit $ac_status); }; } &&
57159 { ac_try='test -s conftest$ac_exeext'
57160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57161 (eval $ac_try) 2>&5
57162 ac_status=$?
57163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57164 (exit $ac_status); }; }; then
57165 eval "$as_ac_var=yes"
57166 else
57167 echo "$as_me: failed program was:" >&5
57168 sed 's/^/| /' conftest.$ac_ext >&5
57170 eval "$as_ac_var=no"
57172 rm -f conftest.err conftest.$ac_objext \
57173 conftest$ac_exeext conftest.$ac_ext
57175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57177 if test `eval echo '${'$as_ac_var'}'` = yes; then
57178 cat >>confdefs.h <<_ACEOF
57179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57180 _ACEOF
57183 done
57193 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
57194 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
57195 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57196 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
57197 echo $ECHO_N "(cached) $ECHO_C" >&6
57198 else
57202 ac_ext=cc
57203 ac_cpp='$CXXCPP $CPPFLAGS'
57204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57208 cat >conftest.$ac_ext <<_ACEOF
57209 /* confdefs.h. */
57210 _ACEOF
57211 cat confdefs.h >>conftest.$ac_ext
57212 cat >>conftest.$ac_ext <<_ACEOF
57213 /* end confdefs.h. */
57214 #include <math.h>
57215 #ifdef HAVE_IEEEFP_H
57216 #include <ieeefp.h>
57217 #endif
57220 main ()
57222 fabsl(0);
57224 return 0;
57226 _ACEOF
57227 rm -f conftest.$ac_objext
57228 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57229 (eval $ac_compile) 2>conftest.er1
57230 ac_status=$?
57231 grep -v '^ *+' conftest.er1 >conftest.err
57232 rm -f conftest.er1
57233 cat conftest.err >&5
57234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57235 (exit $ac_status); } &&
57236 { ac_try='test -z "$ac_cxx_werror_flag"
57237 || test ! -s conftest.err'
57238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57239 (eval $ac_try) 2>&5
57240 ac_status=$?
57241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57242 (exit $ac_status); }; } &&
57243 { ac_try='test -s conftest.$ac_objext'
57244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57245 (eval $ac_try) 2>&5
57246 ac_status=$?
57247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57248 (exit $ac_status); }; }; then
57249 glibcxx_cv_func_fabsl_use=yes
57250 else
57251 echo "$as_me: failed program was:" >&5
57252 sed 's/^/| /' conftest.$ac_ext >&5
57254 glibcxx_cv_func_fabsl_use=no
57256 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57257 ac_ext=c
57258 ac_cpp='$CPP $CPPFLAGS'
57259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57267 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
57268 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
57270 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57272 for ac_func in fabsl
57274 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57275 echo "$as_me:$LINENO: checking for $ac_func" >&5
57276 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57277 if eval "test \"\${$as_ac_var+set}\" = set"; then
57278 echo $ECHO_N "(cached) $ECHO_C" >&6
57279 else
57280 if test x$gcc_no_link = xyes; then
57281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57283 { (exit 1); exit 1; }; }
57285 cat >conftest.$ac_ext <<_ACEOF
57286 /* confdefs.h. */
57287 _ACEOF
57288 cat confdefs.h >>conftest.$ac_ext
57289 cat >>conftest.$ac_ext <<_ACEOF
57290 /* end confdefs.h. */
57291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57293 #define $ac_func innocuous_$ac_func
57295 /* System header to define __stub macros and hopefully few prototypes,
57296 which can conflict with char $ac_func (); below.
57297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57298 <limits.h> exists even on freestanding compilers. */
57300 #ifdef __STDC__
57301 # include <limits.h>
57302 #else
57303 # include <assert.h>
57304 #endif
57306 #undef $ac_func
57308 /* Override any gcc2 internal prototype to avoid an error. */
57309 #ifdef __cplusplus
57310 extern "C"
57312 #endif
57313 /* We use char because int might match the return type of a gcc2
57314 builtin and then its argument prototype would still apply. */
57315 char $ac_func ();
57316 /* The GNU C library defines this for functions which it implements
57317 to always fail with ENOSYS. Some functions are actually named
57318 something starting with __ and the normal name is an alias. */
57319 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57320 choke me
57321 #else
57322 char (*f) () = $ac_func;
57323 #endif
57324 #ifdef __cplusplus
57326 #endif
57329 main ()
57331 return f != $ac_func;
57333 return 0;
57335 _ACEOF
57336 rm -f conftest.$ac_objext conftest$ac_exeext
57337 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57338 (eval $ac_link) 2>conftest.er1
57339 ac_status=$?
57340 grep -v '^ *+' conftest.er1 >conftest.err
57341 rm -f conftest.er1
57342 cat conftest.err >&5
57343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57344 (exit $ac_status); } &&
57345 { ac_try='test -z "$ac_c_werror_flag"
57346 || test ! -s conftest.err'
57347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57348 (eval $ac_try) 2>&5
57349 ac_status=$?
57350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57351 (exit $ac_status); }; } &&
57352 { ac_try='test -s conftest$ac_exeext'
57353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57354 (eval $ac_try) 2>&5
57355 ac_status=$?
57356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57357 (exit $ac_status); }; }; then
57358 eval "$as_ac_var=yes"
57359 else
57360 echo "$as_me: failed program was:" >&5
57361 sed 's/^/| /' conftest.$ac_ext >&5
57363 eval "$as_ac_var=no"
57365 rm -f conftest.err conftest.$ac_objext \
57366 conftest$ac_exeext conftest.$ac_ext
57368 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57369 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57370 if test `eval echo '${'$as_ac_var'}'` = yes; then
57371 cat >>confdefs.h <<_ACEOF
57372 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57373 _ACEOF
57376 done
57378 else
57380 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
57381 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
57382 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57383 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
57384 echo $ECHO_N "(cached) $ECHO_C" >&6
57385 else
57389 ac_ext=cc
57390 ac_cpp='$CXXCPP $CPPFLAGS'
57391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395 cat >conftest.$ac_ext <<_ACEOF
57396 /* confdefs.h. */
57397 _ACEOF
57398 cat confdefs.h >>conftest.$ac_ext
57399 cat >>conftest.$ac_ext <<_ACEOF
57400 /* end confdefs.h. */
57401 #include <math.h>
57402 #ifdef HAVE_IEEEFP_H
57403 #include <ieeefp.h>
57404 #endif
57407 main ()
57409 _fabsl(0);
57411 return 0;
57413 _ACEOF
57414 rm -f conftest.$ac_objext
57415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57416 (eval $ac_compile) 2>conftest.er1
57417 ac_status=$?
57418 grep -v '^ *+' conftest.er1 >conftest.err
57419 rm -f conftest.er1
57420 cat conftest.err >&5
57421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57422 (exit $ac_status); } &&
57423 { ac_try='test -z "$ac_cxx_werror_flag"
57424 || test ! -s conftest.err'
57425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57426 (eval $ac_try) 2>&5
57427 ac_status=$?
57428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57429 (exit $ac_status); }; } &&
57430 { ac_try='test -s conftest.$ac_objext'
57431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57432 (eval $ac_try) 2>&5
57433 ac_status=$?
57434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57435 (exit $ac_status); }; }; then
57436 glibcxx_cv_func__fabsl_use=yes
57437 else
57438 echo "$as_me: failed program was:" >&5
57439 sed 's/^/| /' conftest.$ac_ext >&5
57441 glibcxx_cv_func__fabsl_use=no
57443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57444 ac_ext=c
57445 ac_cpp='$CPP $CPPFLAGS'
57446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57454 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
57455 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
57457 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57459 for ac_func in _fabsl
57461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57462 echo "$as_me:$LINENO: checking for $ac_func" >&5
57463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57464 if eval "test \"\${$as_ac_var+set}\" = set"; then
57465 echo $ECHO_N "(cached) $ECHO_C" >&6
57466 else
57467 if test x$gcc_no_link = xyes; then
57468 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57469 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57470 { (exit 1); exit 1; }; }
57472 cat >conftest.$ac_ext <<_ACEOF
57473 /* confdefs.h. */
57474 _ACEOF
57475 cat confdefs.h >>conftest.$ac_ext
57476 cat >>conftest.$ac_ext <<_ACEOF
57477 /* end confdefs.h. */
57478 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57479 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57480 #define $ac_func innocuous_$ac_func
57482 /* System header to define __stub macros and hopefully few prototypes,
57483 which can conflict with char $ac_func (); below.
57484 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57485 <limits.h> exists even on freestanding compilers. */
57487 #ifdef __STDC__
57488 # include <limits.h>
57489 #else
57490 # include <assert.h>
57491 #endif
57493 #undef $ac_func
57495 /* Override any gcc2 internal prototype to avoid an error. */
57496 #ifdef __cplusplus
57497 extern "C"
57499 #endif
57500 /* We use char because int might match the return type of a gcc2
57501 builtin and then its argument prototype would still apply. */
57502 char $ac_func ();
57503 /* The GNU C library defines this for functions which it implements
57504 to always fail with ENOSYS. Some functions are actually named
57505 something starting with __ and the normal name is an alias. */
57506 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57507 choke me
57508 #else
57509 char (*f) () = $ac_func;
57510 #endif
57511 #ifdef __cplusplus
57513 #endif
57516 main ()
57518 return f != $ac_func;
57520 return 0;
57522 _ACEOF
57523 rm -f conftest.$ac_objext conftest$ac_exeext
57524 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57525 (eval $ac_link) 2>conftest.er1
57526 ac_status=$?
57527 grep -v '^ *+' conftest.er1 >conftest.err
57528 rm -f conftest.er1
57529 cat conftest.err >&5
57530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57531 (exit $ac_status); } &&
57532 { ac_try='test -z "$ac_c_werror_flag"
57533 || test ! -s conftest.err'
57534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57535 (eval $ac_try) 2>&5
57536 ac_status=$?
57537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57538 (exit $ac_status); }; } &&
57539 { ac_try='test -s conftest$ac_exeext'
57540 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57541 (eval $ac_try) 2>&5
57542 ac_status=$?
57543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57544 (exit $ac_status); }; }; then
57545 eval "$as_ac_var=yes"
57546 else
57547 echo "$as_me: failed program was:" >&5
57548 sed 's/^/| /' conftest.$ac_ext >&5
57550 eval "$as_ac_var=no"
57552 rm -f conftest.err conftest.$ac_objext \
57553 conftest$ac_exeext conftest.$ac_ext
57555 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57556 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57557 if test `eval echo '${'$as_ac_var'}'` = yes; then
57558 cat >>confdefs.h <<_ACEOF
57559 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57560 _ACEOF
57563 done
57573 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
57574 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
57575 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57576 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
57577 echo $ECHO_N "(cached) $ECHO_C" >&6
57578 else
57582 ac_ext=cc
57583 ac_cpp='$CXXCPP $CPPFLAGS'
57584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57588 cat >conftest.$ac_ext <<_ACEOF
57589 /* confdefs.h. */
57590 _ACEOF
57591 cat confdefs.h >>conftest.$ac_ext
57592 cat >>conftest.$ac_ext <<_ACEOF
57593 /* end confdefs.h. */
57594 #include <math.h>
57596 main ()
57598 fmodl(0, 0);
57600 return 0;
57602 _ACEOF
57603 rm -f conftest.$ac_objext
57604 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57605 (eval $ac_compile) 2>conftest.er1
57606 ac_status=$?
57607 grep -v '^ *+' conftest.er1 >conftest.err
57608 rm -f conftest.er1
57609 cat conftest.err >&5
57610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57611 (exit $ac_status); } &&
57612 { ac_try='test -z "$ac_cxx_werror_flag"
57613 || test ! -s conftest.err'
57614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57615 (eval $ac_try) 2>&5
57616 ac_status=$?
57617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57618 (exit $ac_status); }; } &&
57619 { ac_try='test -s conftest.$ac_objext'
57620 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57621 (eval $ac_try) 2>&5
57622 ac_status=$?
57623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57624 (exit $ac_status); }; }; then
57625 glibcxx_cv_func_fmodl_use=yes
57626 else
57627 echo "$as_me: failed program was:" >&5
57628 sed 's/^/| /' conftest.$ac_ext >&5
57630 glibcxx_cv_func_fmodl_use=no
57632 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57633 ac_ext=c
57634 ac_cpp='$CPP $CPPFLAGS'
57635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57643 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
57644 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
57646 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57648 for ac_func in fmodl
57650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57651 echo "$as_me:$LINENO: checking for $ac_func" >&5
57652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57653 if eval "test \"\${$as_ac_var+set}\" = set"; then
57654 echo $ECHO_N "(cached) $ECHO_C" >&6
57655 else
57656 if test x$gcc_no_link = xyes; then
57657 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57658 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57659 { (exit 1); exit 1; }; }
57661 cat >conftest.$ac_ext <<_ACEOF
57662 /* confdefs.h. */
57663 _ACEOF
57664 cat confdefs.h >>conftest.$ac_ext
57665 cat >>conftest.$ac_ext <<_ACEOF
57666 /* end confdefs.h. */
57667 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57668 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57669 #define $ac_func innocuous_$ac_func
57671 /* System header to define __stub macros and hopefully few prototypes,
57672 which can conflict with char $ac_func (); below.
57673 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57674 <limits.h> exists even on freestanding compilers. */
57676 #ifdef __STDC__
57677 # include <limits.h>
57678 #else
57679 # include <assert.h>
57680 #endif
57682 #undef $ac_func
57684 /* Override any gcc2 internal prototype to avoid an error. */
57685 #ifdef __cplusplus
57686 extern "C"
57688 #endif
57689 /* We use char because int might match the return type of a gcc2
57690 builtin and then its argument prototype would still apply. */
57691 char $ac_func ();
57692 /* The GNU C library defines this for functions which it implements
57693 to always fail with ENOSYS. Some functions are actually named
57694 something starting with __ and the normal name is an alias. */
57695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57696 choke me
57697 #else
57698 char (*f) () = $ac_func;
57699 #endif
57700 #ifdef __cplusplus
57702 #endif
57705 main ()
57707 return f != $ac_func;
57709 return 0;
57711 _ACEOF
57712 rm -f conftest.$ac_objext conftest$ac_exeext
57713 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57714 (eval $ac_link) 2>conftest.er1
57715 ac_status=$?
57716 grep -v '^ *+' conftest.er1 >conftest.err
57717 rm -f conftest.er1
57718 cat conftest.err >&5
57719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57720 (exit $ac_status); } &&
57721 { ac_try='test -z "$ac_c_werror_flag"
57722 || test ! -s conftest.err'
57723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57724 (eval $ac_try) 2>&5
57725 ac_status=$?
57726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57727 (exit $ac_status); }; } &&
57728 { ac_try='test -s conftest$ac_exeext'
57729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57730 (eval $ac_try) 2>&5
57731 ac_status=$?
57732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57733 (exit $ac_status); }; }; then
57734 eval "$as_ac_var=yes"
57735 else
57736 echo "$as_me: failed program was:" >&5
57737 sed 's/^/| /' conftest.$ac_ext >&5
57739 eval "$as_ac_var=no"
57741 rm -f conftest.err conftest.$ac_objext \
57742 conftest$ac_exeext conftest.$ac_ext
57744 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57745 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57746 if test `eval echo '${'$as_ac_var'}'` = yes; then
57747 cat >>confdefs.h <<_ACEOF
57748 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57749 _ACEOF
57752 done
57754 else
57756 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
57757 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
57758 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57759 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
57760 echo $ECHO_N "(cached) $ECHO_C" >&6
57761 else
57765 ac_ext=cc
57766 ac_cpp='$CXXCPP $CPPFLAGS'
57767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771 cat >conftest.$ac_ext <<_ACEOF
57772 /* confdefs.h. */
57773 _ACEOF
57774 cat confdefs.h >>conftest.$ac_ext
57775 cat >>conftest.$ac_ext <<_ACEOF
57776 /* end confdefs.h. */
57777 #include <math.h>
57779 main ()
57781 _fmodl(0, 0);
57783 return 0;
57785 _ACEOF
57786 rm -f conftest.$ac_objext
57787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57788 (eval $ac_compile) 2>conftest.er1
57789 ac_status=$?
57790 grep -v '^ *+' conftest.er1 >conftest.err
57791 rm -f conftest.er1
57792 cat conftest.err >&5
57793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57794 (exit $ac_status); } &&
57795 { ac_try='test -z "$ac_cxx_werror_flag"
57796 || test ! -s conftest.err'
57797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57798 (eval $ac_try) 2>&5
57799 ac_status=$?
57800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57801 (exit $ac_status); }; } &&
57802 { ac_try='test -s conftest.$ac_objext'
57803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57804 (eval $ac_try) 2>&5
57805 ac_status=$?
57806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57807 (exit $ac_status); }; }; then
57808 glibcxx_cv_func__fmodl_use=yes
57809 else
57810 echo "$as_me: failed program was:" >&5
57811 sed 's/^/| /' conftest.$ac_ext >&5
57813 glibcxx_cv_func__fmodl_use=no
57815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57816 ac_ext=c
57817 ac_cpp='$CPP $CPPFLAGS'
57818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
57827 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
57829 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
57831 for ac_func in _fmodl
57833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57834 echo "$as_me:$LINENO: checking for $ac_func" >&5
57835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57836 if eval "test \"\${$as_ac_var+set}\" = set"; then
57837 echo $ECHO_N "(cached) $ECHO_C" >&6
57838 else
57839 if test x$gcc_no_link = xyes; then
57840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57842 { (exit 1); exit 1; }; }
57844 cat >conftest.$ac_ext <<_ACEOF
57845 /* confdefs.h. */
57846 _ACEOF
57847 cat confdefs.h >>conftest.$ac_ext
57848 cat >>conftest.$ac_ext <<_ACEOF
57849 /* end confdefs.h. */
57850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57852 #define $ac_func innocuous_$ac_func
57854 /* System header to define __stub macros and hopefully few prototypes,
57855 which can conflict with char $ac_func (); below.
57856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57857 <limits.h> exists even on freestanding compilers. */
57859 #ifdef __STDC__
57860 # include <limits.h>
57861 #else
57862 # include <assert.h>
57863 #endif
57865 #undef $ac_func
57867 /* Override any gcc2 internal prototype to avoid an error. */
57868 #ifdef __cplusplus
57869 extern "C"
57871 #endif
57872 /* We use char because int might match the return type of a gcc2
57873 builtin and then its argument prototype would still apply. */
57874 char $ac_func ();
57875 /* The GNU C library defines this for functions which it implements
57876 to always fail with ENOSYS. Some functions are actually named
57877 something starting with __ and the normal name is an alias. */
57878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57879 choke me
57880 #else
57881 char (*f) () = $ac_func;
57882 #endif
57883 #ifdef __cplusplus
57885 #endif
57888 main ()
57890 return f != $ac_func;
57892 return 0;
57894 _ACEOF
57895 rm -f conftest.$ac_objext conftest$ac_exeext
57896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57897 (eval $ac_link) 2>conftest.er1
57898 ac_status=$?
57899 grep -v '^ *+' conftest.er1 >conftest.err
57900 rm -f conftest.er1
57901 cat conftest.err >&5
57902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57903 (exit $ac_status); } &&
57904 { ac_try='test -z "$ac_c_werror_flag"
57905 || test ! -s conftest.err'
57906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57907 (eval $ac_try) 2>&5
57908 ac_status=$?
57909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57910 (exit $ac_status); }; } &&
57911 { ac_try='test -s conftest$ac_exeext'
57912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57913 (eval $ac_try) 2>&5
57914 ac_status=$?
57915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57916 (exit $ac_status); }; }; then
57917 eval "$as_ac_var=yes"
57918 else
57919 echo "$as_me: failed program was:" >&5
57920 sed 's/^/| /' conftest.$ac_ext >&5
57922 eval "$as_ac_var=no"
57924 rm -f conftest.err conftest.$ac_objext \
57925 conftest$ac_exeext conftest.$ac_ext
57927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57929 if test `eval echo '${'$as_ac_var'}'` = yes; then
57930 cat >>confdefs.h <<_ACEOF
57931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57932 _ACEOF
57935 done
57945 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
57946 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
57947 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
57948 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
57949 echo $ECHO_N "(cached) $ECHO_C" >&6
57950 else
57954 ac_ext=cc
57955 ac_cpp='$CXXCPP $CPPFLAGS'
57956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57960 cat >conftest.$ac_ext <<_ACEOF
57961 /* confdefs.h. */
57962 _ACEOF
57963 cat confdefs.h >>conftest.$ac_ext
57964 cat >>conftest.$ac_ext <<_ACEOF
57965 /* end confdefs.h. */
57966 #include <math.h>
57968 main ()
57970 frexpl(0, 0);
57972 return 0;
57974 _ACEOF
57975 rm -f conftest.$ac_objext
57976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57977 (eval $ac_compile) 2>conftest.er1
57978 ac_status=$?
57979 grep -v '^ *+' conftest.er1 >conftest.err
57980 rm -f conftest.er1
57981 cat conftest.err >&5
57982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57983 (exit $ac_status); } &&
57984 { ac_try='test -z "$ac_cxx_werror_flag"
57985 || test ! -s conftest.err'
57986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57987 (eval $ac_try) 2>&5
57988 ac_status=$?
57989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57990 (exit $ac_status); }; } &&
57991 { ac_try='test -s conftest.$ac_objext'
57992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57993 (eval $ac_try) 2>&5
57994 ac_status=$?
57995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57996 (exit $ac_status); }; }; then
57997 glibcxx_cv_func_frexpl_use=yes
57998 else
57999 echo "$as_me: failed program was:" >&5
58000 sed 's/^/| /' conftest.$ac_ext >&5
58002 glibcxx_cv_func_frexpl_use=no
58004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58005 ac_ext=c
58006 ac_cpp='$CPP $CPPFLAGS'
58007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
58016 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
58018 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58020 for ac_func in frexpl
58022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58023 echo "$as_me:$LINENO: checking for $ac_func" >&5
58024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58025 if eval "test \"\${$as_ac_var+set}\" = set"; then
58026 echo $ECHO_N "(cached) $ECHO_C" >&6
58027 else
58028 if test x$gcc_no_link = xyes; then
58029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58031 { (exit 1); exit 1; }; }
58033 cat >conftest.$ac_ext <<_ACEOF
58034 /* confdefs.h. */
58035 _ACEOF
58036 cat confdefs.h >>conftest.$ac_ext
58037 cat >>conftest.$ac_ext <<_ACEOF
58038 /* end confdefs.h. */
58039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58041 #define $ac_func innocuous_$ac_func
58043 /* System header to define __stub macros and hopefully few prototypes,
58044 which can conflict with char $ac_func (); below.
58045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58046 <limits.h> exists even on freestanding compilers. */
58048 #ifdef __STDC__
58049 # include <limits.h>
58050 #else
58051 # include <assert.h>
58052 #endif
58054 #undef $ac_func
58056 /* Override any gcc2 internal prototype to avoid an error. */
58057 #ifdef __cplusplus
58058 extern "C"
58060 #endif
58061 /* We use char because int might match the return type of a gcc2
58062 builtin and then its argument prototype would still apply. */
58063 char $ac_func ();
58064 /* The GNU C library defines this for functions which it implements
58065 to always fail with ENOSYS. Some functions are actually named
58066 something starting with __ and the normal name is an alias. */
58067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58068 choke me
58069 #else
58070 char (*f) () = $ac_func;
58071 #endif
58072 #ifdef __cplusplus
58074 #endif
58077 main ()
58079 return f != $ac_func;
58081 return 0;
58083 _ACEOF
58084 rm -f conftest.$ac_objext conftest$ac_exeext
58085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58086 (eval $ac_link) 2>conftest.er1
58087 ac_status=$?
58088 grep -v '^ *+' conftest.er1 >conftest.err
58089 rm -f conftest.er1
58090 cat conftest.err >&5
58091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58092 (exit $ac_status); } &&
58093 { ac_try='test -z "$ac_c_werror_flag"
58094 || test ! -s conftest.err'
58095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58096 (eval $ac_try) 2>&5
58097 ac_status=$?
58098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58099 (exit $ac_status); }; } &&
58100 { ac_try='test -s conftest$ac_exeext'
58101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58102 (eval $ac_try) 2>&5
58103 ac_status=$?
58104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58105 (exit $ac_status); }; }; then
58106 eval "$as_ac_var=yes"
58107 else
58108 echo "$as_me: failed program was:" >&5
58109 sed 's/^/| /' conftest.$ac_ext >&5
58111 eval "$as_ac_var=no"
58113 rm -f conftest.err conftest.$ac_objext \
58114 conftest$ac_exeext conftest.$ac_ext
58116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58118 if test `eval echo '${'$as_ac_var'}'` = yes; then
58119 cat >>confdefs.h <<_ACEOF
58120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58121 _ACEOF
58124 done
58126 else
58128 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
58129 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
58130 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58131 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
58132 echo $ECHO_N "(cached) $ECHO_C" >&6
58133 else
58137 ac_ext=cc
58138 ac_cpp='$CXXCPP $CPPFLAGS'
58139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58143 cat >conftest.$ac_ext <<_ACEOF
58144 /* confdefs.h. */
58145 _ACEOF
58146 cat confdefs.h >>conftest.$ac_ext
58147 cat >>conftest.$ac_ext <<_ACEOF
58148 /* end confdefs.h. */
58149 #include <math.h>
58151 main ()
58153 _frexpl(0, 0);
58155 return 0;
58157 _ACEOF
58158 rm -f conftest.$ac_objext
58159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58160 (eval $ac_compile) 2>conftest.er1
58161 ac_status=$?
58162 grep -v '^ *+' conftest.er1 >conftest.err
58163 rm -f conftest.er1
58164 cat conftest.err >&5
58165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58166 (exit $ac_status); } &&
58167 { ac_try='test -z "$ac_cxx_werror_flag"
58168 || test ! -s conftest.err'
58169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58170 (eval $ac_try) 2>&5
58171 ac_status=$?
58172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58173 (exit $ac_status); }; } &&
58174 { ac_try='test -s conftest.$ac_objext'
58175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58176 (eval $ac_try) 2>&5
58177 ac_status=$?
58178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58179 (exit $ac_status); }; }; then
58180 glibcxx_cv_func__frexpl_use=yes
58181 else
58182 echo "$as_me: failed program was:" >&5
58183 sed 's/^/| /' conftest.$ac_ext >&5
58185 glibcxx_cv_func__frexpl_use=no
58187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58188 ac_ext=c
58189 ac_cpp='$CPP $CPPFLAGS'
58190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
58199 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
58201 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58203 for ac_func in _frexpl
58205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58206 echo "$as_me:$LINENO: checking for $ac_func" >&5
58207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58208 if eval "test \"\${$as_ac_var+set}\" = set"; then
58209 echo $ECHO_N "(cached) $ECHO_C" >&6
58210 else
58211 if test x$gcc_no_link = xyes; then
58212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58214 { (exit 1); exit 1; }; }
58216 cat >conftest.$ac_ext <<_ACEOF
58217 /* confdefs.h. */
58218 _ACEOF
58219 cat confdefs.h >>conftest.$ac_ext
58220 cat >>conftest.$ac_ext <<_ACEOF
58221 /* end confdefs.h. */
58222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58224 #define $ac_func innocuous_$ac_func
58226 /* System header to define __stub macros and hopefully few prototypes,
58227 which can conflict with char $ac_func (); below.
58228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58229 <limits.h> exists even on freestanding compilers. */
58231 #ifdef __STDC__
58232 # include <limits.h>
58233 #else
58234 # include <assert.h>
58235 #endif
58237 #undef $ac_func
58239 /* Override any gcc2 internal prototype to avoid an error. */
58240 #ifdef __cplusplus
58241 extern "C"
58243 #endif
58244 /* We use char because int might match the return type of a gcc2
58245 builtin and then its argument prototype would still apply. */
58246 char $ac_func ();
58247 /* The GNU C library defines this for functions which it implements
58248 to always fail with ENOSYS. Some functions are actually named
58249 something starting with __ and the normal name is an alias. */
58250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58251 choke me
58252 #else
58253 char (*f) () = $ac_func;
58254 #endif
58255 #ifdef __cplusplus
58257 #endif
58260 main ()
58262 return f != $ac_func;
58264 return 0;
58266 _ACEOF
58267 rm -f conftest.$ac_objext conftest$ac_exeext
58268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58269 (eval $ac_link) 2>conftest.er1
58270 ac_status=$?
58271 grep -v '^ *+' conftest.er1 >conftest.err
58272 rm -f conftest.er1
58273 cat conftest.err >&5
58274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58275 (exit $ac_status); } &&
58276 { ac_try='test -z "$ac_c_werror_flag"
58277 || test ! -s conftest.err'
58278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58279 (eval $ac_try) 2>&5
58280 ac_status=$?
58281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58282 (exit $ac_status); }; } &&
58283 { ac_try='test -s conftest$ac_exeext'
58284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58285 (eval $ac_try) 2>&5
58286 ac_status=$?
58287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58288 (exit $ac_status); }; }; then
58289 eval "$as_ac_var=yes"
58290 else
58291 echo "$as_me: failed program was:" >&5
58292 sed 's/^/| /' conftest.$ac_ext >&5
58294 eval "$as_ac_var=no"
58296 rm -f conftest.err conftest.$ac_objext \
58297 conftest$ac_exeext conftest.$ac_ext
58299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58301 if test `eval echo '${'$as_ac_var'}'` = yes; then
58302 cat >>confdefs.h <<_ACEOF
58303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58304 _ACEOF
58307 done
58317 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
58318 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
58319 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58320 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
58321 echo $ECHO_N "(cached) $ECHO_C" >&6
58322 else
58326 ac_ext=cc
58327 ac_cpp='$CXXCPP $CPPFLAGS'
58328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58332 cat >conftest.$ac_ext <<_ACEOF
58333 /* confdefs.h. */
58334 _ACEOF
58335 cat confdefs.h >>conftest.$ac_ext
58336 cat >>conftest.$ac_ext <<_ACEOF
58337 /* end confdefs.h. */
58338 #include <math.h>
58340 main ()
58342 hypotl(0, 0);
58344 return 0;
58346 _ACEOF
58347 rm -f conftest.$ac_objext
58348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58349 (eval $ac_compile) 2>conftest.er1
58350 ac_status=$?
58351 grep -v '^ *+' conftest.er1 >conftest.err
58352 rm -f conftest.er1
58353 cat conftest.err >&5
58354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58355 (exit $ac_status); } &&
58356 { ac_try='test -z "$ac_cxx_werror_flag"
58357 || test ! -s conftest.err'
58358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58359 (eval $ac_try) 2>&5
58360 ac_status=$?
58361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58362 (exit $ac_status); }; } &&
58363 { ac_try='test -s conftest.$ac_objext'
58364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58365 (eval $ac_try) 2>&5
58366 ac_status=$?
58367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58368 (exit $ac_status); }; }; then
58369 glibcxx_cv_func_hypotl_use=yes
58370 else
58371 echo "$as_me: failed program was:" >&5
58372 sed 's/^/| /' conftest.$ac_ext >&5
58374 glibcxx_cv_func_hypotl_use=no
58376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58377 ac_ext=c
58378 ac_cpp='$CPP $CPPFLAGS'
58379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58387 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
58388 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
58390 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58392 for ac_func in hypotl
58394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58395 echo "$as_me:$LINENO: checking for $ac_func" >&5
58396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58397 if eval "test \"\${$as_ac_var+set}\" = set"; then
58398 echo $ECHO_N "(cached) $ECHO_C" >&6
58399 else
58400 if test x$gcc_no_link = xyes; then
58401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58403 { (exit 1); exit 1; }; }
58405 cat >conftest.$ac_ext <<_ACEOF
58406 /* confdefs.h. */
58407 _ACEOF
58408 cat confdefs.h >>conftest.$ac_ext
58409 cat >>conftest.$ac_ext <<_ACEOF
58410 /* end confdefs.h. */
58411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58413 #define $ac_func innocuous_$ac_func
58415 /* System header to define __stub macros and hopefully few prototypes,
58416 which can conflict with char $ac_func (); below.
58417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58418 <limits.h> exists even on freestanding compilers. */
58420 #ifdef __STDC__
58421 # include <limits.h>
58422 #else
58423 # include <assert.h>
58424 #endif
58426 #undef $ac_func
58428 /* Override any gcc2 internal prototype to avoid an error. */
58429 #ifdef __cplusplus
58430 extern "C"
58432 #endif
58433 /* We use char because int might match the return type of a gcc2
58434 builtin and then its argument prototype would still apply. */
58435 char $ac_func ();
58436 /* The GNU C library defines this for functions which it implements
58437 to always fail with ENOSYS. Some functions are actually named
58438 something starting with __ and the normal name is an alias. */
58439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58440 choke me
58441 #else
58442 char (*f) () = $ac_func;
58443 #endif
58444 #ifdef __cplusplus
58446 #endif
58449 main ()
58451 return f != $ac_func;
58453 return 0;
58455 _ACEOF
58456 rm -f conftest.$ac_objext conftest$ac_exeext
58457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58458 (eval $ac_link) 2>conftest.er1
58459 ac_status=$?
58460 grep -v '^ *+' conftest.er1 >conftest.err
58461 rm -f conftest.er1
58462 cat conftest.err >&5
58463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58464 (exit $ac_status); } &&
58465 { ac_try='test -z "$ac_c_werror_flag"
58466 || test ! -s conftest.err'
58467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58468 (eval $ac_try) 2>&5
58469 ac_status=$?
58470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58471 (exit $ac_status); }; } &&
58472 { ac_try='test -s conftest$ac_exeext'
58473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58474 (eval $ac_try) 2>&5
58475 ac_status=$?
58476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58477 (exit $ac_status); }; }; then
58478 eval "$as_ac_var=yes"
58479 else
58480 echo "$as_me: failed program was:" >&5
58481 sed 's/^/| /' conftest.$ac_ext >&5
58483 eval "$as_ac_var=no"
58485 rm -f conftest.err conftest.$ac_objext \
58486 conftest$ac_exeext conftest.$ac_ext
58488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58490 if test `eval echo '${'$as_ac_var'}'` = yes; then
58491 cat >>confdefs.h <<_ACEOF
58492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58493 _ACEOF
58496 done
58498 else
58500 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
58501 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
58502 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58503 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
58504 echo $ECHO_N "(cached) $ECHO_C" >&6
58505 else
58509 ac_ext=cc
58510 ac_cpp='$CXXCPP $CPPFLAGS'
58511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58515 cat >conftest.$ac_ext <<_ACEOF
58516 /* confdefs.h. */
58517 _ACEOF
58518 cat confdefs.h >>conftest.$ac_ext
58519 cat >>conftest.$ac_ext <<_ACEOF
58520 /* end confdefs.h. */
58521 #include <math.h>
58523 main ()
58525 _hypotl(0, 0);
58527 return 0;
58529 _ACEOF
58530 rm -f conftest.$ac_objext
58531 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58532 (eval $ac_compile) 2>conftest.er1
58533 ac_status=$?
58534 grep -v '^ *+' conftest.er1 >conftest.err
58535 rm -f conftest.er1
58536 cat conftest.err >&5
58537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58538 (exit $ac_status); } &&
58539 { ac_try='test -z "$ac_cxx_werror_flag"
58540 || test ! -s conftest.err'
58541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58542 (eval $ac_try) 2>&5
58543 ac_status=$?
58544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58545 (exit $ac_status); }; } &&
58546 { ac_try='test -s conftest.$ac_objext'
58547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58548 (eval $ac_try) 2>&5
58549 ac_status=$?
58550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58551 (exit $ac_status); }; }; then
58552 glibcxx_cv_func__hypotl_use=yes
58553 else
58554 echo "$as_me: failed program was:" >&5
58555 sed 's/^/| /' conftest.$ac_ext >&5
58557 glibcxx_cv_func__hypotl_use=no
58559 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58560 ac_ext=c
58561 ac_cpp='$CPP $CPPFLAGS'
58562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58570 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
58571 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
58573 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58575 for ac_func in _hypotl
58577 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58578 echo "$as_me:$LINENO: checking for $ac_func" >&5
58579 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58580 if eval "test \"\${$as_ac_var+set}\" = set"; then
58581 echo $ECHO_N "(cached) $ECHO_C" >&6
58582 else
58583 if test x$gcc_no_link = xyes; then
58584 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58585 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58586 { (exit 1); exit 1; }; }
58588 cat >conftest.$ac_ext <<_ACEOF
58589 /* confdefs.h. */
58590 _ACEOF
58591 cat confdefs.h >>conftest.$ac_ext
58592 cat >>conftest.$ac_ext <<_ACEOF
58593 /* end confdefs.h. */
58594 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58595 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58596 #define $ac_func innocuous_$ac_func
58598 /* System header to define __stub macros and hopefully few prototypes,
58599 which can conflict with char $ac_func (); below.
58600 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58601 <limits.h> exists even on freestanding compilers. */
58603 #ifdef __STDC__
58604 # include <limits.h>
58605 #else
58606 # include <assert.h>
58607 #endif
58609 #undef $ac_func
58611 /* Override any gcc2 internal prototype to avoid an error. */
58612 #ifdef __cplusplus
58613 extern "C"
58615 #endif
58616 /* We use char because int might match the return type of a gcc2
58617 builtin and then its argument prototype would still apply. */
58618 char $ac_func ();
58619 /* The GNU C library defines this for functions which it implements
58620 to always fail with ENOSYS. Some functions are actually named
58621 something starting with __ and the normal name is an alias. */
58622 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58623 choke me
58624 #else
58625 char (*f) () = $ac_func;
58626 #endif
58627 #ifdef __cplusplus
58629 #endif
58632 main ()
58634 return f != $ac_func;
58636 return 0;
58638 _ACEOF
58639 rm -f conftest.$ac_objext conftest$ac_exeext
58640 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58641 (eval $ac_link) 2>conftest.er1
58642 ac_status=$?
58643 grep -v '^ *+' conftest.er1 >conftest.err
58644 rm -f conftest.er1
58645 cat conftest.err >&5
58646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58647 (exit $ac_status); } &&
58648 { ac_try='test -z "$ac_c_werror_flag"
58649 || test ! -s conftest.err'
58650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58651 (eval $ac_try) 2>&5
58652 ac_status=$?
58653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58654 (exit $ac_status); }; } &&
58655 { ac_try='test -s conftest$ac_exeext'
58656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58657 (eval $ac_try) 2>&5
58658 ac_status=$?
58659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58660 (exit $ac_status); }; }; then
58661 eval "$as_ac_var=yes"
58662 else
58663 echo "$as_me: failed program was:" >&5
58664 sed 's/^/| /' conftest.$ac_ext >&5
58666 eval "$as_ac_var=no"
58668 rm -f conftest.err conftest.$ac_objext \
58669 conftest$ac_exeext conftest.$ac_ext
58671 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58672 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58673 if test `eval echo '${'$as_ac_var'}'` = yes; then
58674 cat >>confdefs.h <<_ACEOF
58675 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58676 _ACEOF
58679 done
58689 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
58690 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
58691 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58692 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
58693 echo $ECHO_N "(cached) $ECHO_C" >&6
58694 else
58698 ac_ext=cc
58699 ac_cpp='$CXXCPP $CPPFLAGS'
58700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58704 cat >conftest.$ac_ext <<_ACEOF
58705 /* confdefs.h. */
58706 _ACEOF
58707 cat confdefs.h >>conftest.$ac_ext
58708 cat >>conftest.$ac_ext <<_ACEOF
58709 /* end confdefs.h. */
58710 #include <math.h>
58712 main ()
58714 ldexpl(0, 0);
58716 return 0;
58718 _ACEOF
58719 rm -f conftest.$ac_objext
58720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58721 (eval $ac_compile) 2>conftest.er1
58722 ac_status=$?
58723 grep -v '^ *+' conftest.er1 >conftest.err
58724 rm -f conftest.er1
58725 cat conftest.err >&5
58726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58727 (exit $ac_status); } &&
58728 { ac_try='test -z "$ac_cxx_werror_flag"
58729 || test ! -s conftest.err'
58730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58731 (eval $ac_try) 2>&5
58732 ac_status=$?
58733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58734 (exit $ac_status); }; } &&
58735 { ac_try='test -s conftest.$ac_objext'
58736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58737 (eval $ac_try) 2>&5
58738 ac_status=$?
58739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58740 (exit $ac_status); }; }; then
58741 glibcxx_cv_func_ldexpl_use=yes
58742 else
58743 echo "$as_me: failed program was:" >&5
58744 sed 's/^/| /' conftest.$ac_ext >&5
58746 glibcxx_cv_func_ldexpl_use=no
58748 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58749 ac_ext=c
58750 ac_cpp='$CPP $CPPFLAGS'
58751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58759 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
58760 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
58762 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58764 for ac_func in ldexpl
58766 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58767 echo "$as_me:$LINENO: checking for $ac_func" >&5
58768 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58769 if eval "test \"\${$as_ac_var+set}\" = set"; then
58770 echo $ECHO_N "(cached) $ECHO_C" >&6
58771 else
58772 if test x$gcc_no_link = xyes; then
58773 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58774 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58775 { (exit 1); exit 1; }; }
58777 cat >conftest.$ac_ext <<_ACEOF
58778 /* confdefs.h. */
58779 _ACEOF
58780 cat confdefs.h >>conftest.$ac_ext
58781 cat >>conftest.$ac_ext <<_ACEOF
58782 /* end confdefs.h. */
58783 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58784 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58785 #define $ac_func innocuous_$ac_func
58787 /* System header to define __stub macros and hopefully few prototypes,
58788 which can conflict with char $ac_func (); below.
58789 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58790 <limits.h> exists even on freestanding compilers. */
58792 #ifdef __STDC__
58793 # include <limits.h>
58794 #else
58795 # include <assert.h>
58796 #endif
58798 #undef $ac_func
58800 /* Override any gcc2 internal prototype to avoid an error. */
58801 #ifdef __cplusplus
58802 extern "C"
58804 #endif
58805 /* We use char because int might match the return type of a gcc2
58806 builtin and then its argument prototype would still apply. */
58807 char $ac_func ();
58808 /* The GNU C library defines this for functions which it implements
58809 to always fail with ENOSYS. Some functions are actually named
58810 something starting with __ and the normal name is an alias. */
58811 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58812 choke me
58813 #else
58814 char (*f) () = $ac_func;
58815 #endif
58816 #ifdef __cplusplus
58818 #endif
58821 main ()
58823 return f != $ac_func;
58825 return 0;
58827 _ACEOF
58828 rm -f conftest.$ac_objext conftest$ac_exeext
58829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58830 (eval $ac_link) 2>conftest.er1
58831 ac_status=$?
58832 grep -v '^ *+' conftest.er1 >conftest.err
58833 rm -f conftest.er1
58834 cat conftest.err >&5
58835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58836 (exit $ac_status); } &&
58837 { ac_try='test -z "$ac_c_werror_flag"
58838 || test ! -s conftest.err'
58839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58840 (eval $ac_try) 2>&5
58841 ac_status=$?
58842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58843 (exit $ac_status); }; } &&
58844 { ac_try='test -s conftest$ac_exeext'
58845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58846 (eval $ac_try) 2>&5
58847 ac_status=$?
58848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58849 (exit $ac_status); }; }; then
58850 eval "$as_ac_var=yes"
58851 else
58852 echo "$as_me: failed program was:" >&5
58853 sed 's/^/| /' conftest.$ac_ext >&5
58855 eval "$as_ac_var=no"
58857 rm -f conftest.err conftest.$ac_objext \
58858 conftest$ac_exeext conftest.$ac_ext
58860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58861 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58862 if test `eval echo '${'$as_ac_var'}'` = yes; then
58863 cat >>confdefs.h <<_ACEOF
58864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58865 _ACEOF
58868 done
58870 else
58872 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
58873 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
58874 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58875 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
58876 echo $ECHO_N "(cached) $ECHO_C" >&6
58877 else
58881 ac_ext=cc
58882 ac_cpp='$CXXCPP $CPPFLAGS'
58883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58887 cat >conftest.$ac_ext <<_ACEOF
58888 /* confdefs.h. */
58889 _ACEOF
58890 cat confdefs.h >>conftest.$ac_ext
58891 cat >>conftest.$ac_ext <<_ACEOF
58892 /* end confdefs.h. */
58893 #include <math.h>
58895 main ()
58897 _ldexpl(0, 0);
58899 return 0;
58901 _ACEOF
58902 rm -f conftest.$ac_objext
58903 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58904 (eval $ac_compile) 2>conftest.er1
58905 ac_status=$?
58906 grep -v '^ *+' conftest.er1 >conftest.err
58907 rm -f conftest.er1
58908 cat conftest.err >&5
58909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58910 (exit $ac_status); } &&
58911 { ac_try='test -z "$ac_cxx_werror_flag"
58912 || test ! -s conftest.err'
58913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58914 (eval $ac_try) 2>&5
58915 ac_status=$?
58916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58917 (exit $ac_status); }; } &&
58918 { ac_try='test -s conftest.$ac_objext'
58919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58920 (eval $ac_try) 2>&5
58921 ac_status=$?
58922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58923 (exit $ac_status); }; }; then
58924 glibcxx_cv_func__ldexpl_use=yes
58925 else
58926 echo "$as_me: failed program was:" >&5
58927 sed 's/^/| /' conftest.$ac_ext >&5
58929 glibcxx_cv_func__ldexpl_use=no
58931 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58932 ac_ext=c
58933 ac_cpp='$CPP $CPPFLAGS'
58934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58942 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
58943 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
58945 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58947 for ac_func in _ldexpl
58949 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58950 echo "$as_me:$LINENO: checking for $ac_func" >&5
58951 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58952 if eval "test \"\${$as_ac_var+set}\" = set"; then
58953 echo $ECHO_N "(cached) $ECHO_C" >&6
58954 else
58955 if test x$gcc_no_link = xyes; then
58956 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58957 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58958 { (exit 1); exit 1; }; }
58960 cat >conftest.$ac_ext <<_ACEOF
58961 /* confdefs.h. */
58962 _ACEOF
58963 cat confdefs.h >>conftest.$ac_ext
58964 cat >>conftest.$ac_ext <<_ACEOF
58965 /* end confdefs.h. */
58966 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58968 #define $ac_func innocuous_$ac_func
58970 /* System header to define __stub macros and hopefully few prototypes,
58971 which can conflict with char $ac_func (); below.
58972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58973 <limits.h> exists even on freestanding compilers. */
58975 #ifdef __STDC__
58976 # include <limits.h>
58977 #else
58978 # include <assert.h>
58979 #endif
58981 #undef $ac_func
58983 /* Override any gcc2 internal prototype to avoid an error. */
58984 #ifdef __cplusplus
58985 extern "C"
58987 #endif
58988 /* We use char because int might match the return type of a gcc2
58989 builtin and then its argument prototype would still apply. */
58990 char $ac_func ();
58991 /* The GNU C library defines this for functions which it implements
58992 to always fail with ENOSYS. Some functions are actually named
58993 something starting with __ and the normal name is an alias. */
58994 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58995 choke me
58996 #else
58997 char (*f) () = $ac_func;
58998 #endif
58999 #ifdef __cplusplus
59001 #endif
59004 main ()
59006 return f != $ac_func;
59008 return 0;
59010 _ACEOF
59011 rm -f conftest.$ac_objext conftest$ac_exeext
59012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59013 (eval $ac_link) 2>conftest.er1
59014 ac_status=$?
59015 grep -v '^ *+' conftest.er1 >conftest.err
59016 rm -f conftest.er1
59017 cat conftest.err >&5
59018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59019 (exit $ac_status); } &&
59020 { ac_try='test -z "$ac_c_werror_flag"
59021 || test ! -s conftest.err'
59022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59023 (eval $ac_try) 2>&5
59024 ac_status=$?
59025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59026 (exit $ac_status); }; } &&
59027 { ac_try='test -s conftest$ac_exeext'
59028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59029 (eval $ac_try) 2>&5
59030 ac_status=$?
59031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59032 (exit $ac_status); }; }; then
59033 eval "$as_ac_var=yes"
59034 else
59035 echo "$as_me: failed program was:" >&5
59036 sed 's/^/| /' conftest.$ac_ext >&5
59038 eval "$as_ac_var=no"
59040 rm -f conftest.err conftest.$ac_objext \
59041 conftest$ac_exeext conftest.$ac_ext
59043 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59044 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59045 if test `eval echo '${'$as_ac_var'}'` = yes; then
59046 cat >>confdefs.h <<_ACEOF
59047 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59048 _ACEOF
59051 done
59061 echo "$as_me:$LINENO: checking for logl declaration" >&5
59062 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
59063 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59064 if test "${glibcxx_cv_func_logl_use+set}" = set; then
59065 echo $ECHO_N "(cached) $ECHO_C" >&6
59066 else
59070 ac_ext=cc
59071 ac_cpp='$CXXCPP $CPPFLAGS'
59072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59076 cat >conftest.$ac_ext <<_ACEOF
59077 /* confdefs.h. */
59078 _ACEOF
59079 cat confdefs.h >>conftest.$ac_ext
59080 cat >>conftest.$ac_ext <<_ACEOF
59081 /* end confdefs.h. */
59082 #include <math.h>
59083 #ifdef HAVE_IEEEFP_H
59084 #include <ieeefp.h>
59085 #endif
59088 main ()
59090 logl(0);
59092 return 0;
59094 _ACEOF
59095 rm -f conftest.$ac_objext
59096 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59097 (eval $ac_compile) 2>conftest.er1
59098 ac_status=$?
59099 grep -v '^ *+' conftest.er1 >conftest.err
59100 rm -f conftest.er1
59101 cat conftest.err >&5
59102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59103 (exit $ac_status); } &&
59104 { ac_try='test -z "$ac_cxx_werror_flag"
59105 || test ! -s conftest.err'
59106 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59107 (eval $ac_try) 2>&5
59108 ac_status=$?
59109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59110 (exit $ac_status); }; } &&
59111 { ac_try='test -s conftest.$ac_objext'
59112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59113 (eval $ac_try) 2>&5
59114 ac_status=$?
59115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59116 (exit $ac_status); }; }; then
59117 glibcxx_cv_func_logl_use=yes
59118 else
59119 echo "$as_me: failed program was:" >&5
59120 sed 's/^/| /' conftest.$ac_ext >&5
59122 glibcxx_cv_func_logl_use=no
59124 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59125 ac_ext=c
59126 ac_cpp='$CPP $CPPFLAGS'
59127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59135 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
59136 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
59138 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59140 for ac_func in logl
59142 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59143 echo "$as_me:$LINENO: checking for $ac_func" >&5
59144 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59145 if eval "test \"\${$as_ac_var+set}\" = set"; then
59146 echo $ECHO_N "(cached) $ECHO_C" >&6
59147 else
59148 if test x$gcc_no_link = xyes; then
59149 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59150 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59151 { (exit 1); exit 1; }; }
59153 cat >conftest.$ac_ext <<_ACEOF
59154 /* confdefs.h. */
59155 _ACEOF
59156 cat confdefs.h >>conftest.$ac_ext
59157 cat >>conftest.$ac_ext <<_ACEOF
59158 /* end confdefs.h. */
59159 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59160 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59161 #define $ac_func innocuous_$ac_func
59163 /* System header to define __stub macros and hopefully few prototypes,
59164 which can conflict with char $ac_func (); below.
59165 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59166 <limits.h> exists even on freestanding compilers. */
59168 #ifdef __STDC__
59169 # include <limits.h>
59170 #else
59171 # include <assert.h>
59172 #endif
59174 #undef $ac_func
59176 /* Override any gcc2 internal prototype to avoid an error. */
59177 #ifdef __cplusplus
59178 extern "C"
59180 #endif
59181 /* We use char because int might match the return type of a gcc2
59182 builtin and then its argument prototype would still apply. */
59183 char $ac_func ();
59184 /* The GNU C library defines this for functions which it implements
59185 to always fail with ENOSYS. Some functions are actually named
59186 something starting with __ and the normal name is an alias. */
59187 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59188 choke me
59189 #else
59190 char (*f) () = $ac_func;
59191 #endif
59192 #ifdef __cplusplus
59194 #endif
59197 main ()
59199 return f != $ac_func;
59201 return 0;
59203 _ACEOF
59204 rm -f conftest.$ac_objext conftest$ac_exeext
59205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59206 (eval $ac_link) 2>conftest.er1
59207 ac_status=$?
59208 grep -v '^ *+' conftest.er1 >conftest.err
59209 rm -f conftest.er1
59210 cat conftest.err >&5
59211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59212 (exit $ac_status); } &&
59213 { ac_try='test -z "$ac_c_werror_flag"
59214 || test ! -s conftest.err'
59215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59216 (eval $ac_try) 2>&5
59217 ac_status=$?
59218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59219 (exit $ac_status); }; } &&
59220 { ac_try='test -s conftest$ac_exeext'
59221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59222 (eval $ac_try) 2>&5
59223 ac_status=$?
59224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59225 (exit $ac_status); }; }; then
59226 eval "$as_ac_var=yes"
59227 else
59228 echo "$as_me: failed program was:" >&5
59229 sed 's/^/| /' conftest.$ac_ext >&5
59231 eval "$as_ac_var=no"
59233 rm -f conftest.err conftest.$ac_objext \
59234 conftest$ac_exeext conftest.$ac_ext
59236 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59237 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59238 if test `eval echo '${'$as_ac_var'}'` = yes; then
59239 cat >>confdefs.h <<_ACEOF
59240 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59241 _ACEOF
59244 done
59246 else
59248 echo "$as_me:$LINENO: checking for _logl declaration" >&5
59249 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
59250 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59251 if test "${glibcxx_cv_func__logl_use+set}" = set; then
59252 echo $ECHO_N "(cached) $ECHO_C" >&6
59253 else
59257 ac_ext=cc
59258 ac_cpp='$CXXCPP $CPPFLAGS'
59259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59263 cat >conftest.$ac_ext <<_ACEOF
59264 /* confdefs.h. */
59265 _ACEOF
59266 cat confdefs.h >>conftest.$ac_ext
59267 cat >>conftest.$ac_ext <<_ACEOF
59268 /* end confdefs.h. */
59269 #include <math.h>
59270 #ifdef HAVE_IEEEFP_H
59271 #include <ieeefp.h>
59272 #endif
59275 main ()
59277 _logl(0);
59279 return 0;
59281 _ACEOF
59282 rm -f conftest.$ac_objext
59283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59284 (eval $ac_compile) 2>conftest.er1
59285 ac_status=$?
59286 grep -v '^ *+' conftest.er1 >conftest.err
59287 rm -f conftest.er1
59288 cat conftest.err >&5
59289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59290 (exit $ac_status); } &&
59291 { ac_try='test -z "$ac_cxx_werror_flag"
59292 || test ! -s conftest.err'
59293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59294 (eval $ac_try) 2>&5
59295 ac_status=$?
59296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59297 (exit $ac_status); }; } &&
59298 { ac_try='test -s conftest.$ac_objext'
59299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59300 (eval $ac_try) 2>&5
59301 ac_status=$?
59302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59303 (exit $ac_status); }; }; then
59304 glibcxx_cv_func__logl_use=yes
59305 else
59306 echo "$as_me: failed program was:" >&5
59307 sed 's/^/| /' conftest.$ac_ext >&5
59309 glibcxx_cv_func__logl_use=no
59311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59312 ac_ext=c
59313 ac_cpp='$CPP $CPPFLAGS'
59314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59322 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
59323 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
59325 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59327 for ac_func in _logl
59329 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59330 echo "$as_me:$LINENO: checking for $ac_func" >&5
59331 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59332 if eval "test \"\${$as_ac_var+set}\" = set"; then
59333 echo $ECHO_N "(cached) $ECHO_C" >&6
59334 else
59335 if test x$gcc_no_link = xyes; then
59336 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59337 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59338 { (exit 1); exit 1; }; }
59340 cat >conftest.$ac_ext <<_ACEOF
59341 /* confdefs.h. */
59342 _ACEOF
59343 cat confdefs.h >>conftest.$ac_ext
59344 cat >>conftest.$ac_ext <<_ACEOF
59345 /* end confdefs.h. */
59346 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59347 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59348 #define $ac_func innocuous_$ac_func
59350 /* System header to define __stub macros and hopefully few prototypes,
59351 which can conflict with char $ac_func (); below.
59352 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59353 <limits.h> exists even on freestanding compilers. */
59355 #ifdef __STDC__
59356 # include <limits.h>
59357 #else
59358 # include <assert.h>
59359 #endif
59361 #undef $ac_func
59363 /* Override any gcc2 internal prototype to avoid an error. */
59364 #ifdef __cplusplus
59365 extern "C"
59367 #endif
59368 /* We use char because int might match the return type of a gcc2
59369 builtin and then its argument prototype would still apply. */
59370 char $ac_func ();
59371 /* The GNU C library defines this for functions which it implements
59372 to always fail with ENOSYS. Some functions are actually named
59373 something starting with __ and the normal name is an alias. */
59374 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59375 choke me
59376 #else
59377 char (*f) () = $ac_func;
59378 #endif
59379 #ifdef __cplusplus
59381 #endif
59384 main ()
59386 return f != $ac_func;
59388 return 0;
59390 _ACEOF
59391 rm -f conftest.$ac_objext conftest$ac_exeext
59392 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59393 (eval $ac_link) 2>conftest.er1
59394 ac_status=$?
59395 grep -v '^ *+' conftest.er1 >conftest.err
59396 rm -f conftest.er1
59397 cat conftest.err >&5
59398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59399 (exit $ac_status); } &&
59400 { ac_try='test -z "$ac_c_werror_flag"
59401 || test ! -s conftest.err'
59402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59403 (eval $ac_try) 2>&5
59404 ac_status=$?
59405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59406 (exit $ac_status); }; } &&
59407 { ac_try='test -s conftest$ac_exeext'
59408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59409 (eval $ac_try) 2>&5
59410 ac_status=$?
59411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59412 (exit $ac_status); }; }; then
59413 eval "$as_ac_var=yes"
59414 else
59415 echo "$as_me: failed program was:" >&5
59416 sed 's/^/| /' conftest.$ac_ext >&5
59418 eval "$as_ac_var=no"
59420 rm -f conftest.err conftest.$ac_objext \
59421 conftest$ac_exeext conftest.$ac_ext
59423 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59424 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59425 if test `eval echo '${'$as_ac_var'}'` = yes; then
59426 cat >>confdefs.h <<_ACEOF
59427 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59428 _ACEOF
59431 done
59441 echo "$as_me:$LINENO: checking for log10l declaration" >&5
59442 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
59443 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59444 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
59445 echo $ECHO_N "(cached) $ECHO_C" >&6
59446 else
59450 ac_ext=cc
59451 ac_cpp='$CXXCPP $CPPFLAGS'
59452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59456 cat >conftest.$ac_ext <<_ACEOF
59457 /* confdefs.h. */
59458 _ACEOF
59459 cat confdefs.h >>conftest.$ac_ext
59460 cat >>conftest.$ac_ext <<_ACEOF
59461 /* end confdefs.h. */
59462 #include <math.h>
59463 #ifdef HAVE_IEEEFP_H
59464 #include <ieeefp.h>
59465 #endif
59468 main ()
59470 log10l(0);
59472 return 0;
59474 _ACEOF
59475 rm -f conftest.$ac_objext
59476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59477 (eval $ac_compile) 2>conftest.er1
59478 ac_status=$?
59479 grep -v '^ *+' conftest.er1 >conftest.err
59480 rm -f conftest.er1
59481 cat conftest.err >&5
59482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59483 (exit $ac_status); } &&
59484 { ac_try='test -z "$ac_cxx_werror_flag"
59485 || test ! -s conftest.err'
59486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59487 (eval $ac_try) 2>&5
59488 ac_status=$?
59489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59490 (exit $ac_status); }; } &&
59491 { ac_try='test -s conftest.$ac_objext'
59492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59493 (eval $ac_try) 2>&5
59494 ac_status=$?
59495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59496 (exit $ac_status); }; }; then
59497 glibcxx_cv_func_log10l_use=yes
59498 else
59499 echo "$as_me: failed program was:" >&5
59500 sed 's/^/| /' conftest.$ac_ext >&5
59502 glibcxx_cv_func_log10l_use=no
59504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59505 ac_ext=c
59506 ac_cpp='$CPP $CPPFLAGS'
59507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59515 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
59516 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
59518 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59520 for ac_func in log10l
59522 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59523 echo "$as_me:$LINENO: checking for $ac_func" >&5
59524 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59525 if eval "test \"\${$as_ac_var+set}\" = set"; then
59526 echo $ECHO_N "(cached) $ECHO_C" >&6
59527 else
59528 if test x$gcc_no_link = xyes; then
59529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59531 { (exit 1); exit 1; }; }
59533 cat >conftest.$ac_ext <<_ACEOF
59534 /* confdefs.h. */
59535 _ACEOF
59536 cat confdefs.h >>conftest.$ac_ext
59537 cat >>conftest.$ac_ext <<_ACEOF
59538 /* end confdefs.h. */
59539 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59540 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59541 #define $ac_func innocuous_$ac_func
59543 /* System header to define __stub macros and hopefully few prototypes,
59544 which can conflict with char $ac_func (); below.
59545 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59546 <limits.h> exists even on freestanding compilers. */
59548 #ifdef __STDC__
59549 # include <limits.h>
59550 #else
59551 # include <assert.h>
59552 #endif
59554 #undef $ac_func
59556 /* Override any gcc2 internal prototype to avoid an error. */
59557 #ifdef __cplusplus
59558 extern "C"
59560 #endif
59561 /* We use char because int might match the return type of a gcc2
59562 builtin and then its argument prototype would still apply. */
59563 char $ac_func ();
59564 /* The GNU C library defines this for functions which it implements
59565 to always fail with ENOSYS. Some functions are actually named
59566 something starting with __ and the normal name is an alias. */
59567 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59568 choke me
59569 #else
59570 char (*f) () = $ac_func;
59571 #endif
59572 #ifdef __cplusplus
59574 #endif
59577 main ()
59579 return f != $ac_func;
59581 return 0;
59583 _ACEOF
59584 rm -f conftest.$ac_objext conftest$ac_exeext
59585 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59586 (eval $ac_link) 2>conftest.er1
59587 ac_status=$?
59588 grep -v '^ *+' conftest.er1 >conftest.err
59589 rm -f conftest.er1
59590 cat conftest.err >&5
59591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59592 (exit $ac_status); } &&
59593 { ac_try='test -z "$ac_c_werror_flag"
59594 || test ! -s conftest.err'
59595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59596 (eval $ac_try) 2>&5
59597 ac_status=$?
59598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59599 (exit $ac_status); }; } &&
59600 { ac_try='test -s conftest$ac_exeext'
59601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59602 (eval $ac_try) 2>&5
59603 ac_status=$?
59604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59605 (exit $ac_status); }; }; then
59606 eval "$as_ac_var=yes"
59607 else
59608 echo "$as_me: failed program was:" >&5
59609 sed 's/^/| /' conftest.$ac_ext >&5
59611 eval "$as_ac_var=no"
59613 rm -f conftest.err conftest.$ac_objext \
59614 conftest$ac_exeext conftest.$ac_ext
59616 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59617 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59618 if test `eval echo '${'$as_ac_var'}'` = yes; then
59619 cat >>confdefs.h <<_ACEOF
59620 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59621 _ACEOF
59624 done
59626 else
59628 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
59629 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
59630 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59631 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
59632 echo $ECHO_N "(cached) $ECHO_C" >&6
59633 else
59637 ac_ext=cc
59638 ac_cpp='$CXXCPP $CPPFLAGS'
59639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59643 cat >conftest.$ac_ext <<_ACEOF
59644 /* confdefs.h. */
59645 _ACEOF
59646 cat confdefs.h >>conftest.$ac_ext
59647 cat >>conftest.$ac_ext <<_ACEOF
59648 /* end confdefs.h. */
59649 #include <math.h>
59650 #ifdef HAVE_IEEEFP_H
59651 #include <ieeefp.h>
59652 #endif
59655 main ()
59657 _log10l(0);
59659 return 0;
59661 _ACEOF
59662 rm -f conftest.$ac_objext
59663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59664 (eval $ac_compile) 2>conftest.er1
59665 ac_status=$?
59666 grep -v '^ *+' conftest.er1 >conftest.err
59667 rm -f conftest.er1
59668 cat conftest.err >&5
59669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59670 (exit $ac_status); } &&
59671 { ac_try='test -z "$ac_cxx_werror_flag"
59672 || test ! -s conftest.err'
59673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59674 (eval $ac_try) 2>&5
59675 ac_status=$?
59676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59677 (exit $ac_status); }; } &&
59678 { ac_try='test -s conftest.$ac_objext'
59679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59680 (eval $ac_try) 2>&5
59681 ac_status=$?
59682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59683 (exit $ac_status); }; }; then
59684 glibcxx_cv_func__log10l_use=yes
59685 else
59686 echo "$as_me: failed program was:" >&5
59687 sed 's/^/| /' conftest.$ac_ext >&5
59689 glibcxx_cv_func__log10l_use=no
59691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59692 ac_ext=c
59693 ac_cpp='$CPP $CPPFLAGS'
59694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59702 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
59703 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
59705 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59707 for ac_func in _log10l
59709 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59710 echo "$as_me:$LINENO: checking for $ac_func" >&5
59711 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59712 if eval "test \"\${$as_ac_var+set}\" = set"; then
59713 echo $ECHO_N "(cached) $ECHO_C" >&6
59714 else
59715 if test x$gcc_no_link = xyes; then
59716 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59717 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59718 { (exit 1); exit 1; }; }
59720 cat >conftest.$ac_ext <<_ACEOF
59721 /* confdefs.h. */
59722 _ACEOF
59723 cat confdefs.h >>conftest.$ac_ext
59724 cat >>conftest.$ac_ext <<_ACEOF
59725 /* end confdefs.h. */
59726 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59727 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59728 #define $ac_func innocuous_$ac_func
59730 /* System header to define __stub macros and hopefully few prototypes,
59731 which can conflict with char $ac_func (); below.
59732 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59733 <limits.h> exists even on freestanding compilers. */
59735 #ifdef __STDC__
59736 # include <limits.h>
59737 #else
59738 # include <assert.h>
59739 #endif
59741 #undef $ac_func
59743 /* Override any gcc2 internal prototype to avoid an error. */
59744 #ifdef __cplusplus
59745 extern "C"
59747 #endif
59748 /* We use char because int might match the return type of a gcc2
59749 builtin and then its argument prototype would still apply. */
59750 char $ac_func ();
59751 /* The GNU C library defines this for functions which it implements
59752 to always fail with ENOSYS. Some functions are actually named
59753 something starting with __ and the normal name is an alias. */
59754 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59755 choke me
59756 #else
59757 char (*f) () = $ac_func;
59758 #endif
59759 #ifdef __cplusplus
59761 #endif
59764 main ()
59766 return f != $ac_func;
59768 return 0;
59770 _ACEOF
59771 rm -f conftest.$ac_objext conftest$ac_exeext
59772 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59773 (eval $ac_link) 2>conftest.er1
59774 ac_status=$?
59775 grep -v '^ *+' conftest.er1 >conftest.err
59776 rm -f conftest.er1
59777 cat conftest.err >&5
59778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59779 (exit $ac_status); } &&
59780 { ac_try='test -z "$ac_c_werror_flag"
59781 || test ! -s conftest.err'
59782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59783 (eval $ac_try) 2>&5
59784 ac_status=$?
59785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59786 (exit $ac_status); }; } &&
59787 { ac_try='test -s conftest$ac_exeext'
59788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59789 (eval $ac_try) 2>&5
59790 ac_status=$?
59791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59792 (exit $ac_status); }; }; then
59793 eval "$as_ac_var=yes"
59794 else
59795 echo "$as_me: failed program was:" >&5
59796 sed 's/^/| /' conftest.$ac_ext >&5
59798 eval "$as_ac_var=no"
59800 rm -f conftest.err conftest.$ac_objext \
59801 conftest$ac_exeext conftest.$ac_ext
59803 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59804 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59805 if test `eval echo '${'$as_ac_var'}'` = yes; then
59806 cat >>confdefs.h <<_ACEOF
59807 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59808 _ACEOF
59811 done
59821 echo "$as_me:$LINENO: checking for modfl declaration" >&5
59822 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
59823 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59824 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
59825 echo $ECHO_N "(cached) $ECHO_C" >&6
59826 else
59830 ac_ext=cc
59831 ac_cpp='$CXXCPP $CPPFLAGS'
59832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59836 cat >conftest.$ac_ext <<_ACEOF
59837 /* confdefs.h. */
59838 _ACEOF
59839 cat confdefs.h >>conftest.$ac_ext
59840 cat >>conftest.$ac_ext <<_ACEOF
59841 /* end confdefs.h. */
59842 #include <math.h>
59844 main ()
59846 modfl(0, 0);
59848 return 0;
59850 _ACEOF
59851 rm -f conftest.$ac_objext
59852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59853 (eval $ac_compile) 2>conftest.er1
59854 ac_status=$?
59855 grep -v '^ *+' conftest.er1 >conftest.err
59856 rm -f conftest.er1
59857 cat conftest.err >&5
59858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59859 (exit $ac_status); } &&
59860 { ac_try='test -z "$ac_cxx_werror_flag"
59861 || test ! -s conftest.err'
59862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59863 (eval $ac_try) 2>&5
59864 ac_status=$?
59865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59866 (exit $ac_status); }; } &&
59867 { ac_try='test -s conftest.$ac_objext'
59868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59869 (eval $ac_try) 2>&5
59870 ac_status=$?
59871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59872 (exit $ac_status); }; }; then
59873 glibcxx_cv_func_modfl_use=yes
59874 else
59875 echo "$as_me: failed program was:" >&5
59876 sed 's/^/| /' conftest.$ac_ext >&5
59878 glibcxx_cv_func_modfl_use=no
59880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59881 ac_ext=c
59882 ac_cpp='$CPP $CPPFLAGS'
59883 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59884 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59885 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59891 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
59892 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
59894 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59896 for ac_func in modfl
59898 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59899 echo "$as_me:$LINENO: checking for $ac_func" >&5
59900 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59901 if eval "test \"\${$as_ac_var+set}\" = set"; then
59902 echo $ECHO_N "(cached) $ECHO_C" >&6
59903 else
59904 if test x$gcc_no_link = xyes; then
59905 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59906 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59907 { (exit 1); exit 1; }; }
59909 cat >conftest.$ac_ext <<_ACEOF
59910 /* confdefs.h. */
59911 _ACEOF
59912 cat confdefs.h >>conftest.$ac_ext
59913 cat >>conftest.$ac_ext <<_ACEOF
59914 /* end confdefs.h. */
59915 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59916 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59917 #define $ac_func innocuous_$ac_func
59919 /* System header to define __stub macros and hopefully few prototypes,
59920 which can conflict with char $ac_func (); below.
59921 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59922 <limits.h> exists even on freestanding compilers. */
59924 #ifdef __STDC__
59925 # include <limits.h>
59926 #else
59927 # include <assert.h>
59928 #endif
59930 #undef $ac_func
59932 /* Override any gcc2 internal prototype to avoid an error. */
59933 #ifdef __cplusplus
59934 extern "C"
59936 #endif
59937 /* We use char because int might match the return type of a gcc2
59938 builtin and then its argument prototype would still apply. */
59939 char $ac_func ();
59940 /* The GNU C library defines this for functions which it implements
59941 to always fail with ENOSYS. Some functions are actually named
59942 something starting with __ and the normal name is an alias. */
59943 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59944 choke me
59945 #else
59946 char (*f) () = $ac_func;
59947 #endif
59948 #ifdef __cplusplus
59950 #endif
59953 main ()
59955 return f != $ac_func;
59957 return 0;
59959 _ACEOF
59960 rm -f conftest.$ac_objext conftest$ac_exeext
59961 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59962 (eval $ac_link) 2>conftest.er1
59963 ac_status=$?
59964 grep -v '^ *+' conftest.er1 >conftest.err
59965 rm -f conftest.er1
59966 cat conftest.err >&5
59967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59968 (exit $ac_status); } &&
59969 { ac_try='test -z "$ac_c_werror_flag"
59970 || test ! -s conftest.err'
59971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59972 (eval $ac_try) 2>&5
59973 ac_status=$?
59974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59975 (exit $ac_status); }; } &&
59976 { ac_try='test -s conftest$ac_exeext'
59977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59978 (eval $ac_try) 2>&5
59979 ac_status=$?
59980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59981 (exit $ac_status); }; }; then
59982 eval "$as_ac_var=yes"
59983 else
59984 echo "$as_me: failed program was:" >&5
59985 sed 's/^/| /' conftest.$ac_ext >&5
59987 eval "$as_ac_var=no"
59989 rm -f conftest.err conftest.$ac_objext \
59990 conftest$ac_exeext conftest.$ac_ext
59992 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59993 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59994 if test `eval echo '${'$as_ac_var'}'` = yes; then
59995 cat >>confdefs.h <<_ACEOF
59996 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59997 _ACEOF
60000 done
60002 else
60004 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
60005 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
60006 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
60007 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
60008 echo $ECHO_N "(cached) $ECHO_C" >&6
60009 else
60013 ac_ext=cc
60014 ac_cpp='$CXXCPP $CPPFLAGS'
60015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60019 cat >conftest.$ac_ext <<_ACEOF
60020 /* confdefs.h. */
60021 _ACEOF
60022 cat confdefs.h >>conftest.$ac_ext
60023 cat >>conftest.$ac_ext <<_ACEOF
60024 /* end confdefs.h. */
60025 #include <math.h>
60027 main ()
60029 _modfl(0, 0);
60031 return 0;
60033 _ACEOF
60034 rm -f conftest.$ac_objext
60035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60036 (eval $ac_compile) 2>conftest.er1
60037 ac_status=$?
60038 grep -v '^ *+' conftest.er1 >conftest.err
60039 rm -f conftest.er1
60040 cat conftest.err >&5
60041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60042 (exit $ac_status); } &&
60043 { ac_try='test -z "$ac_cxx_werror_flag"
60044 || test ! -s conftest.err'
60045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60046 (eval $ac_try) 2>&5
60047 ac_status=$?
60048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60049 (exit $ac_status); }; } &&
60050 { ac_try='test -s conftest.$ac_objext'
60051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60052 (eval $ac_try) 2>&5
60053 ac_status=$?
60054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60055 (exit $ac_status); }; }; then
60056 glibcxx_cv_func__modfl_use=yes
60057 else
60058 echo "$as_me: failed program was:" >&5
60059 sed 's/^/| /' conftest.$ac_ext >&5
60061 glibcxx_cv_func__modfl_use=no
60063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60064 ac_ext=c
60065 ac_cpp='$CPP $CPPFLAGS'
60066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60074 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
60075 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
60077 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
60079 for ac_func in _modfl
60081 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60082 echo "$as_me:$LINENO: checking for $ac_func" >&5
60083 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60084 if eval "test \"\${$as_ac_var+set}\" = set"; then
60085 echo $ECHO_N "(cached) $ECHO_C" >&6
60086 else
60087 if test x$gcc_no_link = xyes; then
60088 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60089 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60090 { (exit 1); exit 1; }; }
60092 cat >conftest.$ac_ext <<_ACEOF
60093 /* confdefs.h. */
60094 _ACEOF
60095 cat confdefs.h >>conftest.$ac_ext
60096 cat >>conftest.$ac_ext <<_ACEOF
60097 /* end confdefs.h. */
60098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60100 #define $ac_func innocuous_$ac_func
60102 /* System header to define __stub macros and hopefully few prototypes,
60103 which can conflict with char $ac_func (); below.
60104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60105 <limits.h> exists even on freestanding compilers. */
60107 #ifdef __STDC__
60108 # include <limits.h>
60109 #else
60110 # include <assert.h>
60111 #endif
60113 #undef $ac_func
60115 /* Override any gcc2 internal prototype to avoid an error. */
60116 #ifdef __cplusplus
60117 extern "C"
60119 #endif
60120 /* We use char because int might match the return type of a gcc2
60121 builtin and then its argument prototype would still apply. */
60122 char $ac_func ();
60123 /* The GNU C library defines this for functions which it implements
60124 to always fail with ENOSYS. Some functions are actually named
60125 something starting with __ and the normal name is an alias. */
60126 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60127 choke me
60128 #else
60129 char (*f) () = $ac_func;
60130 #endif
60131 #ifdef __cplusplus
60133 #endif
60136 main ()
60138 return f != $ac_func;
60140 return 0;
60142 _ACEOF
60143 rm -f conftest.$ac_objext conftest$ac_exeext
60144 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60145 (eval $ac_link) 2>conftest.er1
60146 ac_status=$?
60147 grep -v '^ *+' conftest.er1 >conftest.err
60148 rm -f conftest.er1
60149 cat conftest.err >&5
60150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60151 (exit $ac_status); } &&
60152 { ac_try='test -z "$ac_c_werror_flag"
60153 || test ! -s conftest.err'
60154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60155 (eval $ac_try) 2>&5
60156 ac_status=$?
60157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60158 (exit $ac_status); }; } &&
60159 { ac_try='test -s conftest$ac_exeext'
60160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60161 (eval $ac_try) 2>&5
60162 ac_status=$?
60163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60164 (exit $ac_status); }; }; then
60165 eval "$as_ac_var=yes"
60166 else
60167 echo "$as_me: failed program was:" >&5
60168 sed 's/^/| /' conftest.$ac_ext >&5
60170 eval "$as_ac_var=no"
60172 rm -f conftest.err conftest.$ac_objext \
60173 conftest$ac_exeext conftest.$ac_ext
60175 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60176 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60177 if test `eval echo '${'$as_ac_var'}'` = yes; then
60178 cat >>confdefs.h <<_ACEOF
60179 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60180 _ACEOF
60183 done
60193 echo "$as_me:$LINENO: checking for powl declaration" >&5
60194 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
60195 if test x${glibcxx_cv_func_powl_use+set} != xset; then
60196 if test "${glibcxx_cv_func_powl_use+set}" = set; then
60197 echo $ECHO_N "(cached) $ECHO_C" >&6
60198 else
60202 ac_ext=cc
60203 ac_cpp='$CXXCPP $CPPFLAGS'
60204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60208 cat >conftest.$ac_ext <<_ACEOF
60209 /* confdefs.h. */
60210 _ACEOF
60211 cat confdefs.h >>conftest.$ac_ext
60212 cat >>conftest.$ac_ext <<_ACEOF
60213 /* end confdefs.h. */
60214 #include <math.h>
60216 main ()
60218 powl(0, 0);
60220 return 0;
60222 _ACEOF
60223 rm -f conftest.$ac_objext
60224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60225 (eval $ac_compile) 2>conftest.er1
60226 ac_status=$?
60227 grep -v '^ *+' conftest.er1 >conftest.err
60228 rm -f conftest.er1
60229 cat conftest.err >&5
60230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60231 (exit $ac_status); } &&
60232 { ac_try='test -z "$ac_cxx_werror_flag"
60233 || test ! -s conftest.err'
60234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60235 (eval $ac_try) 2>&5
60236 ac_status=$?
60237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60238 (exit $ac_status); }; } &&
60239 { ac_try='test -s conftest.$ac_objext'
60240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60241 (eval $ac_try) 2>&5
60242 ac_status=$?
60243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60244 (exit $ac_status); }; }; then
60245 glibcxx_cv_func_powl_use=yes
60246 else
60247 echo "$as_me: failed program was:" >&5
60248 sed 's/^/| /' conftest.$ac_ext >&5
60250 glibcxx_cv_func_powl_use=no
60252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60253 ac_ext=c
60254 ac_cpp='$CPP $CPPFLAGS'
60255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60263 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
60264 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
60266 if test x$glibcxx_cv_func_powl_use = x"yes"; then
60268 for ac_func in powl
60270 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60271 echo "$as_me:$LINENO: checking for $ac_func" >&5
60272 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60273 if eval "test \"\${$as_ac_var+set}\" = set"; then
60274 echo $ECHO_N "(cached) $ECHO_C" >&6
60275 else
60276 if test x$gcc_no_link = xyes; then
60277 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60278 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60279 { (exit 1); exit 1; }; }
60281 cat >conftest.$ac_ext <<_ACEOF
60282 /* confdefs.h. */
60283 _ACEOF
60284 cat confdefs.h >>conftest.$ac_ext
60285 cat >>conftest.$ac_ext <<_ACEOF
60286 /* end confdefs.h. */
60287 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60288 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60289 #define $ac_func innocuous_$ac_func
60291 /* System header to define __stub macros and hopefully few prototypes,
60292 which can conflict with char $ac_func (); below.
60293 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60294 <limits.h> exists even on freestanding compilers. */
60296 #ifdef __STDC__
60297 # include <limits.h>
60298 #else
60299 # include <assert.h>
60300 #endif
60302 #undef $ac_func
60304 /* Override any gcc2 internal prototype to avoid an error. */
60305 #ifdef __cplusplus
60306 extern "C"
60308 #endif
60309 /* We use char because int might match the return type of a gcc2
60310 builtin and then its argument prototype would still apply. */
60311 char $ac_func ();
60312 /* The GNU C library defines this for functions which it implements
60313 to always fail with ENOSYS. Some functions are actually named
60314 something starting with __ and the normal name is an alias. */
60315 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60316 choke me
60317 #else
60318 char (*f) () = $ac_func;
60319 #endif
60320 #ifdef __cplusplus
60322 #endif
60325 main ()
60327 return f != $ac_func;
60329 return 0;
60331 _ACEOF
60332 rm -f conftest.$ac_objext conftest$ac_exeext
60333 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60334 (eval $ac_link) 2>conftest.er1
60335 ac_status=$?
60336 grep -v '^ *+' conftest.er1 >conftest.err
60337 rm -f conftest.er1
60338 cat conftest.err >&5
60339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60340 (exit $ac_status); } &&
60341 { ac_try='test -z "$ac_c_werror_flag"
60342 || test ! -s conftest.err'
60343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60344 (eval $ac_try) 2>&5
60345 ac_status=$?
60346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60347 (exit $ac_status); }; } &&
60348 { ac_try='test -s conftest$ac_exeext'
60349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60350 (eval $ac_try) 2>&5
60351 ac_status=$?
60352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60353 (exit $ac_status); }; }; then
60354 eval "$as_ac_var=yes"
60355 else
60356 echo "$as_me: failed program was:" >&5
60357 sed 's/^/| /' conftest.$ac_ext >&5
60359 eval "$as_ac_var=no"
60361 rm -f conftest.err conftest.$ac_objext \
60362 conftest$ac_exeext conftest.$ac_ext
60364 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60365 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60366 if test `eval echo '${'$as_ac_var'}'` = yes; then
60367 cat >>confdefs.h <<_ACEOF
60368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60369 _ACEOF
60372 done
60374 else
60376 echo "$as_me:$LINENO: checking for _powl declaration" >&5
60377 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
60378 if test x${glibcxx_cv_func__powl_use+set} != xset; then
60379 if test "${glibcxx_cv_func__powl_use+set}" = set; then
60380 echo $ECHO_N "(cached) $ECHO_C" >&6
60381 else
60385 ac_ext=cc
60386 ac_cpp='$CXXCPP $CPPFLAGS'
60387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60391 cat >conftest.$ac_ext <<_ACEOF
60392 /* confdefs.h. */
60393 _ACEOF
60394 cat confdefs.h >>conftest.$ac_ext
60395 cat >>conftest.$ac_ext <<_ACEOF
60396 /* end confdefs.h. */
60397 #include <math.h>
60399 main ()
60401 _powl(0, 0);
60403 return 0;
60405 _ACEOF
60406 rm -f conftest.$ac_objext
60407 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60408 (eval $ac_compile) 2>conftest.er1
60409 ac_status=$?
60410 grep -v '^ *+' conftest.er1 >conftest.err
60411 rm -f conftest.er1
60412 cat conftest.err >&5
60413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60414 (exit $ac_status); } &&
60415 { ac_try='test -z "$ac_cxx_werror_flag"
60416 || test ! -s conftest.err'
60417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60418 (eval $ac_try) 2>&5
60419 ac_status=$?
60420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60421 (exit $ac_status); }; } &&
60422 { ac_try='test -s conftest.$ac_objext'
60423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60424 (eval $ac_try) 2>&5
60425 ac_status=$?
60426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60427 (exit $ac_status); }; }; then
60428 glibcxx_cv_func__powl_use=yes
60429 else
60430 echo "$as_me: failed program was:" >&5
60431 sed 's/^/| /' conftest.$ac_ext >&5
60433 glibcxx_cv_func__powl_use=no
60435 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60436 ac_ext=c
60437 ac_cpp='$CPP $CPPFLAGS'
60438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60446 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
60447 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
60449 if test x$glibcxx_cv_func__powl_use = x"yes"; then
60451 for ac_func in _powl
60453 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60454 echo "$as_me:$LINENO: checking for $ac_func" >&5
60455 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60456 if eval "test \"\${$as_ac_var+set}\" = set"; then
60457 echo $ECHO_N "(cached) $ECHO_C" >&6
60458 else
60459 if test x$gcc_no_link = xyes; then
60460 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60461 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60462 { (exit 1); exit 1; }; }
60464 cat >conftest.$ac_ext <<_ACEOF
60465 /* confdefs.h. */
60466 _ACEOF
60467 cat confdefs.h >>conftest.$ac_ext
60468 cat >>conftest.$ac_ext <<_ACEOF
60469 /* end confdefs.h. */
60470 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60471 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60472 #define $ac_func innocuous_$ac_func
60474 /* System header to define __stub macros and hopefully few prototypes,
60475 which can conflict with char $ac_func (); below.
60476 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60477 <limits.h> exists even on freestanding compilers. */
60479 #ifdef __STDC__
60480 # include <limits.h>
60481 #else
60482 # include <assert.h>
60483 #endif
60485 #undef $ac_func
60487 /* Override any gcc2 internal prototype to avoid an error. */
60488 #ifdef __cplusplus
60489 extern "C"
60491 #endif
60492 /* We use char because int might match the return type of a gcc2
60493 builtin and then its argument prototype would still apply. */
60494 char $ac_func ();
60495 /* The GNU C library defines this for functions which it implements
60496 to always fail with ENOSYS. Some functions are actually named
60497 something starting with __ and the normal name is an alias. */
60498 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60499 choke me
60500 #else
60501 char (*f) () = $ac_func;
60502 #endif
60503 #ifdef __cplusplus
60505 #endif
60508 main ()
60510 return f != $ac_func;
60512 return 0;
60514 _ACEOF
60515 rm -f conftest.$ac_objext conftest$ac_exeext
60516 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60517 (eval $ac_link) 2>conftest.er1
60518 ac_status=$?
60519 grep -v '^ *+' conftest.er1 >conftest.err
60520 rm -f conftest.er1
60521 cat conftest.err >&5
60522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60523 (exit $ac_status); } &&
60524 { ac_try='test -z "$ac_c_werror_flag"
60525 || test ! -s conftest.err'
60526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60527 (eval $ac_try) 2>&5
60528 ac_status=$?
60529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60530 (exit $ac_status); }; } &&
60531 { ac_try='test -s conftest$ac_exeext'
60532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60533 (eval $ac_try) 2>&5
60534 ac_status=$?
60535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60536 (exit $ac_status); }; }; then
60537 eval "$as_ac_var=yes"
60538 else
60539 echo "$as_me: failed program was:" >&5
60540 sed 's/^/| /' conftest.$ac_ext >&5
60542 eval "$as_ac_var=no"
60544 rm -f conftest.err conftest.$ac_objext \
60545 conftest$ac_exeext conftest.$ac_ext
60547 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60548 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60549 if test `eval echo '${'$as_ac_var'}'` = yes; then
60550 cat >>confdefs.h <<_ACEOF
60551 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60552 _ACEOF
60555 done
60565 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
60566 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
60567 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
60568 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
60569 echo $ECHO_N "(cached) $ECHO_C" >&6
60570 else
60574 ac_ext=cc
60575 ac_cpp='$CXXCPP $CPPFLAGS'
60576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60580 cat >conftest.$ac_ext <<_ACEOF
60581 /* confdefs.h. */
60582 _ACEOF
60583 cat confdefs.h >>conftest.$ac_ext
60584 cat >>conftest.$ac_ext <<_ACEOF
60585 /* end confdefs.h. */
60586 #include <math.h>
60587 #ifdef HAVE_IEEEFP_H
60588 #include <ieeefp.h>
60589 #endif
60592 main ()
60594 sqrtl(0);
60596 return 0;
60598 _ACEOF
60599 rm -f conftest.$ac_objext
60600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60601 (eval $ac_compile) 2>conftest.er1
60602 ac_status=$?
60603 grep -v '^ *+' conftest.er1 >conftest.err
60604 rm -f conftest.er1
60605 cat conftest.err >&5
60606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60607 (exit $ac_status); } &&
60608 { ac_try='test -z "$ac_cxx_werror_flag"
60609 || test ! -s conftest.err'
60610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60611 (eval $ac_try) 2>&5
60612 ac_status=$?
60613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60614 (exit $ac_status); }; } &&
60615 { ac_try='test -s conftest.$ac_objext'
60616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60617 (eval $ac_try) 2>&5
60618 ac_status=$?
60619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60620 (exit $ac_status); }; }; then
60621 glibcxx_cv_func_sqrtl_use=yes
60622 else
60623 echo "$as_me: failed program was:" >&5
60624 sed 's/^/| /' conftest.$ac_ext >&5
60626 glibcxx_cv_func_sqrtl_use=no
60628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60629 ac_ext=c
60630 ac_cpp='$CPP $CPPFLAGS'
60631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60639 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
60640 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
60642 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
60644 for ac_func in sqrtl
60646 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60647 echo "$as_me:$LINENO: checking for $ac_func" >&5
60648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60649 if eval "test \"\${$as_ac_var+set}\" = set"; then
60650 echo $ECHO_N "(cached) $ECHO_C" >&6
60651 else
60652 if test x$gcc_no_link = xyes; then
60653 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60654 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60655 { (exit 1); exit 1; }; }
60657 cat >conftest.$ac_ext <<_ACEOF
60658 /* confdefs.h. */
60659 _ACEOF
60660 cat confdefs.h >>conftest.$ac_ext
60661 cat >>conftest.$ac_ext <<_ACEOF
60662 /* end confdefs.h. */
60663 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60664 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60665 #define $ac_func innocuous_$ac_func
60667 /* System header to define __stub macros and hopefully few prototypes,
60668 which can conflict with char $ac_func (); below.
60669 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60670 <limits.h> exists even on freestanding compilers. */
60672 #ifdef __STDC__
60673 # include <limits.h>
60674 #else
60675 # include <assert.h>
60676 #endif
60678 #undef $ac_func
60680 /* Override any gcc2 internal prototype to avoid an error. */
60681 #ifdef __cplusplus
60682 extern "C"
60684 #endif
60685 /* We use char because int might match the return type of a gcc2
60686 builtin and then its argument prototype would still apply. */
60687 char $ac_func ();
60688 /* The GNU C library defines this for functions which it implements
60689 to always fail with ENOSYS. Some functions are actually named
60690 something starting with __ and the normal name is an alias. */
60691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60692 choke me
60693 #else
60694 char (*f) () = $ac_func;
60695 #endif
60696 #ifdef __cplusplus
60698 #endif
60701 main ()
60703 return f != $ac_func;
60705 return 0;
60707 _ACEOF
60708 rm -f conftest.$ac_objext conftest$ac_exeext
60709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60710 (eval $ac_link) 2>conftest.er1
60711 ac_status=$?
60712 grep -v '^ *+' conftest.er1 >conftest.err
60713 rm -f conftest.er1
60714 cat conftest.err >&5
60715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60716 (exit $ac_status); } &&
60717 { ac_try='test -z "$ac_c_werror_flag"
60718 || test ! -s conftest.err'
60719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60720 (eval $ac_try) 2>&5
60721 ac_status=$?
60722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60723 (exit $ac_status); }; } &&
60724 { ac_try='test -s conftest$ac_exeext'
60725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60726 (eval $ac_try) 2>&5
60727 ac_status=$?
60728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60729 (exit $ac_status); }; }; then
60730 eval "$as_ac_var=yes"
60731 else
60732 echo "$as_me: failed program was:" >&5
60733 sed 's/^/| /' conftest.$ac_ext >&5
60735 eval "$as_ac_var=no"
60737 rm -f conftest.err conftest.$ac_objext \
60738 conftest$ac_exeext conftest.$ac_ext
60740 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60741 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60742 if test `eval echo '${'$as_ac_var'}'` = yes; then
60743 cat >>confdefs.h <<_ACEOF
60744 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60745 _ACEOF
60748 done
60750 else
60752 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
60753 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
60754 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
60755 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
60756 echo $ECHO_N "(cached) $ECHO_C" >&6
60757 else
60761 ac_ext=cc
60762 ac_cpp='$CXXCPP $CPPFLAGS'
60763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60767 cat >conftest.$ac_ext <<_ACEOF
60768 /* confdefs.h. */
60769 _ACEOF
60770 cat confdefs.h >>conftest.$ac_ext
60771 cat >>conftest.$ac_ext <<_ACEOF
60772 /* end confdefs.h. */
60773 #include <math.h>
60774 #ifdef HAVE_IEEEFP_H
60775 #include <ieeefp.h>
60776 #endif
60779 main ()
60781 _sqrtl(0);
60783 return 0;
60785 _ACEOF
60786 rm -f conftest.$ac_objext
60787 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60788 (eval $ac_compile) 2>conftest.er1
60789 ac_status=$?
60790 grep -v '^ *+' conftest.er1 >conftest.err
60791 rm -f conftest.er1
60792 cat conftest.err >&5
60793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60794 (exit $ac_status); } &&
60795 { ac_try='test -z "$ac_cxx_werror_flag"
60796 || test ! -s conftest.err'
60797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60798 (eval $ac_try) 2>&5
60799 ac_status=$?
60800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60801 (exit $ac_status); }; } &&
60802 { ac_try='test -s conftest.$ac_objext'
60803 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60804 (eval $ac_try) 2>&5
60805 ac_status=$?
60806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60807 (exit $ac_status); }; }; then
60808 glibcxx_cv_func__sqrtl_use=yes
60809 else
60810 echo "$as_me: failed program was:" >&5
60811 sed 's/^/| /' conftest.$ac_ext >&5
60813 glibcxx_cv_func__sqrtl_use=no
60815 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60816 ac_ext=c
60817 ac_cpp='$CPP $CPPFLAGS'
60818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60826 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
60827 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
60829 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
60831 for ac_func in _sqrtl
60833 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60834 echo "$as_me:$LINENO: checking for $ac_func" >&5
60835 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60836 if eval "test \"\${$as_ac_var+set}\" = set"; then
60837 echo $ECHO_N "(cached) $ECHO_C" >&6
60838 else
60839 if test x$gcc_no_link = xyes; then
60840 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60841 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60842 { (exit 1); exit 1; }; }
60844 cat >conftest.$ac_ext <<_ACEOF
60845 /* confdefs.h. */
60846 _ACEOF
60847 cat confdefs.h >>conftest.$ac_ext
60848 cat >>conftest.$ac_ext <<_ACEOF
60849 /* end confdefs.h. */
60850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60852 #define $ac_func innocuous_$ac_func
60854 /* System header to define __stub macros and hopefully few prototypes,
60855 which can conflict with char $ac_func (); below.
60856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60857 <limits.h> exists even on freestanding compilers. */
60859 #ifdef __STDC__
60860 # include <limits.h>
60861 #else
60862 # include <assert.h>
60863 #endif
60865 #undef $ac_func
60867 /* Override any gcc2 internal prototype to avoid an error. */
60868 #ifdef __cplusplus
60869 extern "C"
60871 #endif
60872 /* We use char because int might match the return type of a gcc2
60873 builtin and then its argument prototype would still apply. */
60874 char $ac_func ();
60875 /* The GNU C library defines this for functions which it implements
60876 to always fail with ENOSYS. Some functions are actually named
60877 something starting with __ and the normal name is an alias. */
60878 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60879 choke me
60880 #else
60881 char (*f) () = $ac_func;
60882 #endif
60883 #ifdef __cplusplus
60885 #endif
60888 main ()
60890 return f != $ac_func;
60892 return 0;
60894 _ACEOF
60895 rm -f conftest.$ac_objext conftest$ac_exeext
60896 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60897 (eval $ac_link) 2>conftest.er1
60898 ac_status=$?
60899 grep -v '^ *+' conftest.er1 >conftest.err
60900 rm -f conftest.er1
60901 cat conftest.err >&5
60902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60903 (exit $ac_status); } &&
60904 { ac_try='test -z "$ac_c_werror_flag"
60905 || test ! -s conftest.err'
60906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60907 (eval $ac_try) 2>&5
60908 ac_status=$?
60909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60910 (exit $ac_status); }; } &&
60911 { ac_try='test -s conftest$ac_exeext'
60912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60913 (eval $ac_try) 2>&5
60914 ac_status=$?
60915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60916 (exit $ac_status); }; }; then
60917 eval "$as_ac_var=yes"
60918 else
60919 echo "$as_me: failed program was:" >&5
60920 sed 's/^/| /' conftest.$ac_ext >&5
60922 eval "$as_ac_var=no"
60924 rm -f conftest.err conftest.$ac_objext \
60925 conftest$ac_exeext conftest.$ac_ext
60927 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60928 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60929 if test `eval echo '${'$as_ac_var'}'` = yes; then
60930 cat >>confdefs.h <<_ACEOF
60931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60932 _ACEOF
60935 done
60945 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
60946 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
60947 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
60948 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
60949 echo $ECHO_N "(cached) $ECHO_C" >&6
60950 else
60954 ac_ext=cc
60955 ac_cpp='$CXXCPP $CPPFLAGS'
60956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60960 cat >conftest.$ac_ext <<_ACEOF
60961 /* confdefs.h. */
60962 _ACEOF
60963 cat confdefs.h >>conftest.$ac_ext
60964 cat >>conftest.$ac_ext <<_ACEOF
60965 /* end confdefs.h. */
60966 #include <math.h>
60968 main ()
60970 sincosl(0, 0, 0);
60972 return 0;
60974 _ACEOF
60975 rm -f conftest.$ac_objext
60976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60977 (eval $ac_compile) 2>conftest.er1
60978 ac_status=$?
60979 grep -v '^ *+' conftest.er1 >conftest.err
60980 rm -f conftest.er1
60981 cat conftest.err >&5
60982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60983 (exit $ac_status); } &&
60984 { ac_try='test -z "$ac_cxx_werror_flag"
60985 || test ! -s conftest.err'
60986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60987 (eval $ac_try) 2>&5
60988 ac_status=$?
60989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60990 (exit $ac_status); }; } &&
60991 { ac_try='test -s conftest.$ac_objext'
60992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60993 (eval $ac_try) 2>&5
60994 ac_status=$?
60995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60996 (exit $ac_status); }; }; then
60997 glibcxx_cv_func_sincosl_use=yes
60998 else
60999 echo "$as_me: failed program was:" >&5
61000 sed 's/^/| /' conftest.$ac_ext >&5
61002 glibcxx_cv_func_sincosl_use=no
61004 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61005 ac_ext=c
61006 ac_cpp='$CPP $CPPFLAGS'
61007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61015 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
61016 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
61018 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
61020 for ac_func in sincosl
61022 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61023 echo "$as_me:$LINENO: checking for $ac_func" >&5
61024 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61025 if eval "test \"\${$as_ac_var+set}\" = set"; then
61026 echo $ECHO_N "(cached) $ECHO_C" >&6
61027 else
61028 if test x$gcc_no_link = xyes; then
61029 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61030 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61031 { (exit 1); exit 1; }; }
61033 cat >conftest.$ac_ext <<_ACEOF
61034 /* confdefs.h. */
61035 _ACEOF
61036 cat confdefs.h >>conftest.$ac_ext
61037 cat >>conftest.$ac_ext <<_ACEOF
61038 /* end confdefs.h. */
61039 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61040 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61041 #define $ac_func innocuous_$ac_func
61043 /* System header to define __stub macros and hopefully few prototypes,
61044 which can conflict with char $ac_func (); below.
61045 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61046 <limits.h> exists even on freestanding compilers. */
61048 #ifdef __STDC__
61049 # include <limits.h>
61050 #else
61051 # include <assert.h>
61052 #endif
61054 #undef $ac_func
61056 /* Override any gcc2 internal prototype to avoid an error. */
61057 #ifdef __cplusplus
61058 extern "C"
61060 #endif
61061 /* We use char because int might match the return type of a gcc2
61062 builtin and then its argument prototype would still apply. */
61063 char $ac_func ();
61064 /* The GNU C library defines this for functions which it implements
61065 to always fail with ENOSYS. Some functions are actually named
61066 something starting with __ and the normal name is an alias. */
61067 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61068 choke me
61069 #else
61070 char (*f) () = $ac_func;
61071 #endif
61072 #ifdef __cplusplus
61074 #endif
61077 main ()
61079 return f != $ac_func;
61081 return 0;
61083 _ACEOF
61084 rm -f conftest.$ac_objext conftest$ac_exeext
61085 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61086 (eval $ac_link) 2>conftest.er1
61087 ac_status=$?
61088 grep -v '^ *+' conftest.er1 >conftest.err
61089 rm -f conftest.er1
61090 cat conftest.err >&5
61091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61092 (exit $ac_status); } &&
61093 { ac_try='test -z "$ac_c_werror_flag"
61094 || test ! -s conftest.err'
61095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61096 (eval $ac_try) 2>&5
61097 ac_status=$?
61098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61099 (exit $ac_status); }; } &&
61100 { ac_try='test -s conftest$ac_exeext'
61101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61102 (eval $ac_try) 2>&5
61103 ac_status=$?
61104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61105 (exit $ac_status); }; }; then
61106 eval "$as_ac_var=yes"
61107 else
61108 echo "$as_me: failed program was:" >&5
61109 sed 's/^/| /' conftest.$ac_ext >&5
61111 eval "$as_ac_var=no"
61113 rm -f conftest.err conftest.$ac_objext \
61114 conftest$ac_exeext conftest.$ac_ext
61116 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61117 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61118 if test `eval echo '${'$as_ac_var'}'` = yes; then
61119 cat >>confdefs.h <<_ACEOF
61120 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61121 _ACEOF
61124 done
61126 else
61128 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
61129 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
61130 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
61131 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
61132 echo $ECHO_N "(cached) $ECHO_C" >&6
61133 else
61137 ac_ext=cc
61138 ac_cpp='$CXXCPP $CPPFLAGS'
61139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61143 cat >conftest.$ac_ext <<_ACEOF
61144 /* confdefs.h. */
61145 _ACEOF
61146 cat confdefs.h >>conftest.$ac_ext
61147 cat >>conftest.$ac_ext <<_ACEOF
61148 /* end confdefs.h. */
61149 #include <math.h>
61151 main ()
61153 _sincosl(0, 0, 0);
61155 return 0;
61157 _ACEOF
61158 rm -f conftest.$ac_objext
61159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61160 (eval $ac_compile) 2>conftest.er1
61161 ac_status=$?
61162 grep -v '^ *+' conftest.er1 >conftest.err
61163 rm -f conftest.er1
61164 cat conftest.err >&5
61165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61166 (exit $ac_status); } &&
61167 { ac_try='test -z "$ac_cxx_werror_flag"
61168 || test ! -s conftest.err'
61169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61170 (eval $ac_try) 2>&5
61171 ac_status=$?
61172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61173 (exit $ac_status); }; } &&
61174 { ac_try='test -s conftest.$ac_objext'
61175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61176 (eval $ac_try) 2>&5
61177 ac_status=$?
61178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61179 (exit $ac_status); }; }; then
61180 glibcxx_cv_func__sincosl_use=yes
61181 else
61182 echo "$as_me: failed program was:" >&5
61183 sed 's/^/| /' conftest.$ac_ext >&5
61185 glibcxx_cv_func__sincosl_use=no
61187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61188 ac_ext=c
61189 ac_cpp='$CPP $CPPFLAGS'
61190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61198 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
61199 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
61201 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
61203 for ac_func in _sincosl
61205 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61206 echo "$as_me:$LINENO: checking for $ac_func" >&5
61207 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61208 if eval "test \"\${$as_ac_var+set}\" = set"; then
61209 echo $ECHO_N "(cached) $ECHO_C" >&6
61210 else
61211 if test x$gcc_no_link = xyes; then
61212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61214 { (exit 1); exit 1; }; }
61216 cat >conftest.$ac_ext <<_ACEOF
61217 /* confdefs.h. */
61218 _ACEOF
61219 cat confdefs.h >>conftest.$ac_ext
61220 cat >>conftest.$ac_ext <<_ACEOF
61221 /* end confdefs.h. */
61222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61224 #define $ac_func innocuous_$ac_func
61226 /* System header to define __stub macros and hopefully few prototypes,
61227 which can conflict with char $ac_func (); below.
61228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61229 <limits.h> exists even on freestanding compilers. */
61231 #ifdef __STDC__
61232 # include <limits.h>
61233 #else
61234 # include <assert.h>
61235 #endif
61237 #undef $ac_func
61239 /* Override any gcc2 internal prototype to avoid an error. */
61240 #ifdef __cplusplus
61241 extern "C"
61243 #endif
61244 /* We use char because int might match the return type of a gcc2
61245 builtin and then its argument prototype would still apply. */
61246 char $ac_func ();
61247 /* The GNU C library defines this for functions which it implements
61248 to always fail with ENOSYS. Some functions are actually named
61249 something starting with __ and the normal name is an alias. */
61250 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61251 choke me
61252 #else
61253 char (*f) () = $ac_func;
61254 #endif
61255 #ifdef __cplusplus
61257 #endif
61260 main ()
61262 return f != $ac_func;
61264 return 0;
61266 _ACEOF
61267 rm -f conftest.$ac_objext conftest$ac_exeext
61268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61269 (eval $ac_link) 2>conftest.er1
61270 ac_status=$?
61271 grep -v '^ *+' conftest.er1 >conftest.err
61272 rm -f conftest.er1
61273 cat conftest.err >&5
61274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61275 (exit $ac_status); } &&
61276 { ac_try='test -z "$ac_c_werror_flag"
61277 || test ! -s conftest.err'
61278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61279 (eval $ac_try) 2>&5
61280 ac_status=$?
61281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61282 (exit $ac_status); }; } &&
61283 { ac_try='test -s conftest$ac_exeext'
61284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61285 (eval $ac_try) 2>&5
61286 ac_status=$?
61287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61288 (exit $ac_status); }; }; then
61289 eval "$as_ac_var=yes"
61290 else
61291 echo "$as_me: failed program was:" >&5
61292 sed 's/^/| /' conftest.$ac_ext >&5
61294 eval "$as_ac_var=no"
61296 rm -f conftest.err conftest.$ac_objext \
61297 conftest$ac_exeext conftest.$ac_ext
61299 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61300 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61301 if test `eval echo '${'$as_ac_var'}'` = yes; then
61302 cat >>confdefs.h <<_ACEOF
61303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61304 _ACEOF
61307 done
61317 echo "$as_me:$LINENO: checking for finitel declaration" >&5
61318 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
61319 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
61320 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
61321 echo $ECHO_N "(cached) $ECHO_C" >&6
61322 else
61326 ac_ext=cc
61327 ac_cpp='$CXXCPP $CPPFLAGS'
61328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61332 cat >conftest.$ac_ext <<_ACEOF
61333 /* confdefs.h. */
61334 _ACEOF
61335 cat confdefs.h >>conftest.$ac_ext
61336 cat >>conftest.$ac_ext <<_ACEOF
61337 /* end confdefs.h. */
61338 #include <math.h>
61339 #ifdef HAVE_IEEEFP_H
61340 #include <ieeefp.h>
61341 #endif
61344 main ()
61346 finitel(0);
61348 return 0;
61350 _ACEOF
61351 rm -f conftest.$ac_objext
61352 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61353 (eval $ac_compile) 2>conftest.er1
61354 ac_status=$?
61355 grep -v '^ *+' conftest.er1 >conftest.err
61356 rm -f conftest.er1
61357 cat conftest.err >&5
61358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61359 (exit $ac_status); } &&
61360 { ac_try='test -z "$ac_cxx_werror_flag"
61361 || test ! -s conftest.err'
61362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61363 (eval $ac_try) 2>&5
61364 ac_status=$?
61365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61366 (exit $ac_status); }; } &&
61367 { ac_try='test -s conftest.$ac_objext'
61368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61369 (eval $ac_try) 2>&5
61370 ac_status=$?
61371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61372 (exit $ac_status); }; }; then
61373 glibcxx_cv_func_finitel_use=yes
61374 else
61375 echo "$as_me: failed program was:" >&5
61376 sed 's/^/| /' conftest.$ac_ext >&5
61378 glibcxx_cv_func_finitel_use=no
61380 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61381 ac_ext=c
61382 ac_cpp='$CPP $CPPFLAGS'
61383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61391 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
61392 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
61394 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
61396 for ac_func in finitel
61398 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61399 echo "$as_me:$LINENO: checking for $ac_func" >&5
61400 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61401 if eval "test \"\${$as_ac_var+set}\" = set"; then
61402 echo $ECHO_N "(cached) $ECHO_C" >&6
61403 else
61404 if test x$gcc_no_link = xyes; then
61405 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61406 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61407 { (exit 1); exit 1; }; }
61409 cat >conftest.$ac_ext <<_ACEOF
61410 /* confdefs.h. */
61411 _ACEOF
61412 cat confdefs.h >>conftest.$ac_ext
61413 cat >>conftest.$ac_ext <<_ACEOF
61414 /* end confdefs.h. */
61415 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61417 #define $ac_func innocuous_$ac_func
61419 /* System header to define __stub macros and hopefully few prototypes,
61420 which can conflict with char $ac_func (); below.
61421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61422 <limits.h> exists even on freestanding compilers. */
61424 #ifdef __STDC__
61425 # include <limits.h>
61426 #else
61427 # include <assert.h>
61428 #endif
61430 #undef $ac_func
61432 /* Override any gcc2 internal prototype to avoid an error. */
61433 #ifdef __cplusplus
61434 extern "C"
61436 #endif
61437 /* We use char because int might match the return type of a gcc2
61438 builtin and then its argument prototype would still apply. */
61439 char $ac_func ();
61440 /* The GNU C library defines this for functions which it implements
61441 to always fail with ENOSYS. Some functions are actually named
61442 something starting with __ and the normal name is an alias. */
61443 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61444 choke me
61445 #else
61446 char (*f) () = $ac_func;
61447 #endif
61448 #ifdef __cplusplus
61450 #endif
61453 main ()
61455 return f != $ac_func;
61457 return 0;
61459 _ACEOF
61460 rm -f conftest.$ac_objext conftest$ac_exeext
61461 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61462 (eval $ac_link) 2>conftest.er1
61463 ac_status=$?
61464 grep -v '^ *+' conftest.er1 >conftest.err
61465 rm -f conftest.er1
61466 cat conftest.err >&5
61467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61468 (exit $ac_status); } &&
61469 { ac_try='test -z "$ac_c_werror_flag"
61470 || test ! -s conftest.err'
61471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61472 (eval $ac_try) 2>&5
61473 ac_status=$?
61474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61475 (exit $ac_status); }; } &&
61476 { ac_try='test -s conftest$ac_exeext'
61477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61478 (eval $ac_try) 2>&5
61479 ac_status=$?
61480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61481 (exit $ac_status); }; }; then
61482 eval "$as_ac_var=yes"
61483 else
61484 echo "$as_me: failed program was:" >&5
61485 sed 's/^/| /' conftest.$ac_ext >&5
61487 eval "$as_ac_var=no"
61489 rm -f conftest.err conftest.$ac_objext \
61490 conftest$ac_exeext conftest.$ac_ext
61492 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61493 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61494 if test `eval echo '${'$as_ac_var'}'` = yes; then
61495 cat >>confdefs.h <<_ACEOF
61496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61497 _ACEOF
61500 done
61502 else
61504 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
61505 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
61506 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
61507 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
61508 echo $ECHO_N "(cached) $ECHO_C" >&6
61509 else
61513 ac_ext=cc
61514 ac_cpp='$CXXCPP $CPPFLAGS'
61515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61519 cat >conftest.$ac_ext <<_ACEOF
61520 /* confdefs.h. */
61521 _ACEOF
61522 cat confdefs.h >>conftest.$ac_ext
61523 cat >>conftest.$ac_ext <<_ACEOF
61524 /* end confdefs.h. */
61525 #include <math.h>
61526 #ifdef HAVE_IEEEFP_H
61527 #include <ieeefp.h>
61528 #endif
61531 main ()
61533 _finitel(0);
61535 return 0;
61537 _ACEOF
61538 rm -f conftest.$ac_objext
61539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61540 (eval $ac_compile) 2>conftest.er1
61541 ac_status=$?
61542 grep -v '^ *+' conftest.er1 >conftest.err
61543 rm -f conftest.er1
61544 cat conftest.err >&5
61545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61546 (exit $ac_status); } &&
61547 { ac_try='test -z "$ac_cxx_werror_flag"
61548 || test ! -s conftest.err'
61549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61550 (eval $ac_try) 2>&5
61551 ac_status=$?
61552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61553 (exit $ac_status); }; } &&
61554 { ac_try='test -s conftest.$ac_objext'
61555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61556 (eval $ac_try) 2>&5
61557 ac_status=$?
61558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61559 (exit $ac_status); }; }; then
61560 glibcxx_cv_func__finitel_use=yes
61561 else
61562 echo "$as_me: failed program was:" >&5
61563 sed 's/^/| /' conftest.$ac_ext >&5
61565 glibcxx_cv_func__finitel_use=no
61567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61568 ac_ext=c
61569 ac_cpp='$CPP $CPPFLAGS'
61570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61578 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
61579 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
61581 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
61583 for ac_func in _finitel
61585 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61586 echo "$as_me:$LINENO: checking for $ac_func" >&5
61587 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61588 if eval "test \"\${$as_ac_var+set}\" = set"; then
61589 echo $ECHO_N "(cached) $ECHO_C" >&6
61590 else
61591 if test x$gcc_no_link = xyes; then
61592 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61593 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61594 { (exit 1); exit 1; }; }
61596 cat >conftest.$ac_ext <<_ACEOF
61597 /* confdefs.h. */
61598 _ACEOF
61599 cat confdefs.h >>conftest.$ac_ext
61600 cat >>conftest.$ac_ext <<_ACEOF
61601 /* end confdefs.h. */
61602 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61603 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61604 #define $ac_func innocuous_$ac_func
61606 /* System header to define __stub macros and hopefully few prototypes,
61607 which can conflict with char $ac_func (); below.
61608 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61609 <limits.h> exists even on freestanding compilers. */
61611 #ifdef __STDC__
61612 # include <limits.h>
61613 #else
61614 # include <assert.h>
61615 #endif
61617 #undef $ac_func
61619 /* Override any gcc2 internal prototype to avoid an error. */
61620 #ifdef __cplusplus
61621 extern "C"
61623 #endif
61624 /* We use char because int might match the return type of a gcc2
61625 builtin and then its argument prototype would still apply. */
61626 char $ac_func ();
61627 /* The GNU C library defines this for functions which it implements
61628 to always fail with ENOSYS. Some functions are actually named
61629 something starting with __ and the normal name is an alias. */
61630 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61631 choke me
61632 #else
61633 char (*f) () = $ac_func;
61634 #endif
61635 #ifdef __cplusplus
61637 #endif
61640 main ()
61642 return f != $ac_func;
61644 return 0;
61646 _ACEOF
61647 rm -f conftest.$ac_objext conftest$ac_exeext
61648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61649 (eval $ac_link) 2>conftest.er1
61650 ac_status=$?
61651 grep -v '^ *+' conftest.er1 >conftest.err
61652 rm -f conftest.er1
61653 cat conftest.err >&5
61654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61655 (exit $ac_status); } &&
61656 { ac_try='test -z "$ac_c_werror_flag"
61657 || test ! -s conftest.err'
61658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61659 (eval $ac_try) 2>&5
61660 ac_status=$?
61661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61662 (exit $ac_status); }; } &&
61663 { ac_try='test -s conftest$ac_exeext'
61664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61665 (eval $ac_try) 2>&5
61666 ac_status=$?
61667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61668 (exit $ac_status); }; }; then
61669 eval "$as_ac_var=yes"
61670 else
61671 echo "$as_me: failed program was:" >&5
61672 sed 's/^/| /' conftest.$ac_ext >&5
61674 eval "$as_ac_var=no"
61676 rm -f conftest.err conftest.$ac_objext \
61677 conftest$ac_exeext conftest.$ac_ext
61679 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61680 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61681 if test `eval echo '${'$as_ac_var'}'` = yes; then
61682 cat >>confdefs.h <<_ACEOF
61683 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61684 _ACEOF
61687 done
61696 LIBS="$ac_save_LIBS"
61697 CXXFLAGS="$ac_save_CXXFLAGS"
61701 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
61702 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
61703 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
61704 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
61705 echo $ECHO_N "(cached) $ECHO_C" >&6
61706 else
61710 ac_ext=cc
61711 ac_cpp='$CXXCPP $CPPFLAGS'
61712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61716 cat >conftest.$ac_ext <<_ACEOF
61717 /* confdefs.h. */
61718 _ACEOF
61719 cat confdefs.h >>conftest.$ac_ext
61720 cat >>conftest.$ac_ext <<_ACEOF
61721 /* end confdefs.h. */
61722 #include <math.h>
61724 main ()
61726 __builtin_abs(0);
61728 return 0;
61730 _ACEOF
61731 rm -f conftest.$ac_objext
61732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61733 (eval $ac_compile) 2>conftest.er1
61734 ac_status=$?
61735 grep -v '^ *+' conftest.er1 >conftest.err
61736 rm -f conftest.er1
61737 cat conftest.err >&5
61738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61739 (exit $ac_status); } &&
61740 { ac_try='test -z "$ac_cxx_werror_flag"
61741 || test ! -s conftest.err'
61742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61743 (eval $ac_try) 2>&5
61744 ac_status=$?
61745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61746 (exit $ac_status); }; } &&
61747 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
61753 glibcxx_cv_func___builtin_abs_use=yes
61754 else
61755 echo "$as_me: failed program was:" >&5
61756 sed 's/^/| /' conftest.$ac_ext >&5
61758 glibcxx_cv_func___builtin_abs_use=no
61760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61761 ac_ext=c
61762 ac_cpp='$CPP $CPPFLAGS'
61763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61771 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
61772 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
61773 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
61774 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
61775 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
61776 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
61777 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
61778 echo $ECHO_N "(cached) $ECHO_C" >&6
61779 else
61781 if test x$gcc_no_link = xyes; then
61782 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61783 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61784 { (exit 1); exit 1; }; }
61786 cat >conftest.$ac_ext <<_ACEOF
61787 /* confdefs.h. */
61788 _ACEOF
61789 cat confdefs.h >>conftest.$ac_ext
61790 cat >>conftest.$ac_ext <<_ACEOF
61791 /* end confdefs.h. */
61792 #include <math.h>
61794 main ()
61796 __builtin_abs(0);
61798 return 0;
61800 _ACEOF
61801 rm -f conftest.$ac_objext conftest$ac_exeext
61802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61803 (eval $ac_link) 2>conftest.er1
61804 ac_status=$?
61805 grep -v '^ *+' conftest.er1 >conftest.err
61806 rm -f conftest.er1
61807 cat conftest.err >&5
61808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61809 (exit $ac_status); } &&
61810 { ac_try='test -z "$ac_c_werror_flag"
61811 || test ! -s conftest.err'
61812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61813 (eval $ac_try) 2>&5
61814 ac_status=$?
61815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61816 (exit $ac_status); }; } &&
61817 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
61823 glibcxx_cv_func___builtin_abs_link=yes
61824 else
61825 echo "$as_me: failed program was:" >&5
61826 sed 's/^/| /' conftest.$ac_ext >&5
61828 glibcxx_cv_func___builtin_abs_link=no
61830 rm -f conftest.err conftest.$ac_objext \
61831 conftest$ac_exeext conftest.$ac_ext
61836 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
61837 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
61839 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
61841 cat >>confdefs.h <<\_ACEOF
61842 #define HAVE___BUILTIN_ABS 1
61843 _ACEOF
61850 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
61851 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
61852 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
61853 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
61854 echo $ECHO_N "(cached) $ECHO_C" >&6
61855 else
61859 ac_ext=cc
61860 ac_cpp='$CXXCPP $CPPFLAGS'
61861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61865 cat >conftest.$ac_ext <<_ACEOF
61866 /* confdefs.h. */
61867 _ACEOF
61868 cat confdefs.h >>conftest.$ac_ext
61869 cat >>conftest.$ac_ext <<_ACEOF
61870 /* end confdefs.h. */
61871 #include <math.h>
61873 main ()
61875 __builtin_fabsf(0);
61877 return 0;
61879 _ACEOF
61880 rm -f conftest.$ac_objext
61881 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61882 (eval $ac_compile) 2>conftest.er1
61883 ac_status=$?
61884 grep -v '^ *+' conftest.er1 >conftest.err
61885 rm -f conftest.er1
61886 cat conftest.err >&5
61887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61888 (exit $ac_status); } &&
61889 { ac_try='test -z "$ac_cxx_werror_flag"
61890 || test ! -s conftest.err'
61891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61892 (eval $ac_try) 2>&5
61893 ac_status=$?
61894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61895 (exit $ac_status); }; } &&
61896 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
61902 glibcxx_cv_func___builtin_fabsf_use=yes
61903 else
61904 echo "$as_me: failed program was:" >&5
61905 sed 's/^/| /' conftest.$ac_ext >&5
61907 glibcxx_cv_func___builtin_fabsf_use=no
61909 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61910 ac_ext=c
61911 ac_cpp='$CPP $CPPFLAGS'
61912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61920 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
61921 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
61922 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
61923 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
61924 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
61925 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
61926 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
61927 echo $ECHO_N "(cached) $ECHO_C" >&6
61928 else
61930 if test x$gcc_no_link = xyes; then
61931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61933 { (exit 1); exit 1; }; }
61935 cat >conftest.$ac_ext <<_ACEOF
61936 /* confdefs.h. */
61937 _ACEOF
61938 cat confdefs.h >>conftest.$ac_ext
61939 cat >>conftest.$ac_ext <<_ACEOF
61940 /* end confdefs.h. */
61941 #include <math.h>
61943 main ()
61945 __builtin_fabsf(0);
61947 return 0;
61949 _ACEOF
61950 rm -f conftest.$ac_objext conftest$ac_exeext
61951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61952 (eval $ac_link) 2>conftest.er1
61953 ac_status=$?
61954 grep -v '^ *+' conftest.er1 >conftest.err
61955 rm -f conftest.er1
61956 cat conftest.err >&5
61957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61958 (exit $ac_status); } &&
61959 { ac_try='test -z "$ac_c_werror_flag"
61960 || test ! -s conftest.err'
61961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61962 (eval $ac_try) 2>&5
61963 ac_status=$?
61964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61965 (exit $ac_status); }; } &&
61966 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
61972 glibcxx_cv_func___builtin_fabsf_link=yes
61973 else
61974 echo "$as_me: failed program was:" >&5
61975 sed 's/^/| /' conftest.$ac_ext >&5
61977 glibcxx_cv_func___builtin_fabsf_link=no
61979 rm -f conftest.err conftest.$ac_objext \
61980 conftest$ac_exeext conftest.$ac_ext
61985 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
61986 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
61988 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
61990 cat >>confdefs.h <<\_ACEOF
61991 #define HAVE___BUILTIN_FABSF 1
61992 _ACEOF
61999 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
62000 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
62001 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
62002 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
62003 echo $ECHO_N "(cached) $ECHO_C" >&6
62004 else
62008 ac_ext=cc
62009 ac_cpp='$CXXCPP $CPPFLAGS'
62010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62014 cat >conftest.$ac_ext <<_ACEOF
62015 /* confdefs.h. */
62016 _ACEOF
62017 cat confdefs.h >>conftest.$ac_ext
62018 cat >>conftest.$ac_ext <<_ACEOF
62019 /* end confdefs.h. */
62020 #include <math.h>
62022 main ()
62024 __builtin_fabs(0);
62026 return 0;
62028 _ACEOF
62029 rm -f conftest.$ac_objext
62030 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62031 (eval $ac_compile) 2>conftest.er1
62032 ac_status=$?
62033 grep -v '^ *+' conftest.er1 >conftest.err
62034 rm -f conftest.er1
62035 cat conftest.err >&5
62036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62037 (exit $ac_status); } &&
62038 { ac_try='test -z "$ac_cxx_werror_flag"
62039 || test ! -s conftest.err'
62040 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62041 (eval $ac_try) 2>&5
62042 ac_status=$?
62043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62044 (exit $ac_status); }; } &&
62045 { ac_try='test -s conftest.$ac_objext'
62046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62047 (eval $ac_try) 2>&5
62048 ac_status=$?
62049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62050 (exit $ac_status); }; }; then
62051 glibcxx_cv_func___builtin_fabs_use=yes
62052 else
62053 echo "$as_me: failed program was:" >&5
62054 sed 's/^/| /' conftest.$ac_ext >&5
62056 glibcxx_cv_func___builtin_fabs_use=no
62058 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62059 ac_ext=c
62060 ac_cpp='$CPP $CPPFLAGS'
62061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62069 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
62070 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
62071 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
62072 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
62073 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
62074 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
62075 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
62076 echo $ECHO_N "(cached) $ECHO_C" >&6
62077 else
62079 if test x$gcc_no_link = xyes; then
62080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62082 { (exit 1); exit 1; }; }
62084 cat >conftest.$ac_ext <<_ACEOF
62085 /* confdefs.h. */
62086 _ACEOF
62087 cat confdefs.h >>conftest.$ac_ext
62088 cat >>conftest.$ac_ext <<_ACEOF
62089 /* end confdefs.h. */
62090 #include <math.h>
62092 main ()
62094 __builtin_fabs(0);
62096 return 0;
62098 _ACEOF
62099 rm -f conftest.$ac_objext conftest$ac_exeext
62100 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62101 (eval $ac_link) 2>conftest.er1
62102 ac_status=$?
62103 grep -v '^ *+' conftest.er1 >conftest.err
62104 rm -f conftest.er1
62105 cat conftest.err >&5
62106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62107 (exit $ac_status); } &&
62108 { ac_try='test -z "$ac_c_werror_flag"
62109 || test ! -s conftest.err'
62110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62111 (eval $ac_try) 2>&5
62112 ac_status=$?
62113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62114 (exit $ac_status); }; } &&
62115 { ac_try='test -s conftest$ac_exeext'
62116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62117 (eval $ac_try) 2>&5
62118 ac_status=$?
62119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62120 (exit $ac_status); }; }; then
62121 glibcxx_cv_func___builtin_fabs_link=yes
62122 else
62123 echo "$as_me: failed program was:" >&5
62124 sed 's/^/| /' conftest.$ac_ext >&5
62126 glibcxx_cv_func___builtin_fabs_link=no
62128 rm -f conftest.err conftest.$ac_objext \
62129 conftest$ac_exeext conftest.$ac_ext
62134 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
62135 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
62137 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
62139 cat >>confdefs.h <<\_ACEOF
62140 #define HAVE___BUILTIN_FABS 1
62141 _ACEOF
62148 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
62149 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
62150 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
62151 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
62152 echo $ECHO_N "(cached) $ECHO_C" >&6
62153 else
62157 ac_ext=cc
62158 ac_cpp='$CXXCPP $CPPFLAGS'
62159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62163 cat >conftest.$ac_ext <<_ACEOF
62164 /* confdefs.h. */
62165 _ACEOF
62166 cat confdefs.h >>conftest.$ac_ext
62167 cat >>conftest.$ac_ext <<_ACEOF
62168 /* end confdefs.h. */
62169 #include <math.h>
62171 main ()
62173 __builtin_fabsl(0);
62175 return 0;
62177 _ACEOF
62178 rm -f conftest.$ac_objext
62179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62180 (eval $ac_compile) 2>conftest.er1
62181 ac_status=$?
62182 grep -v '^ *+' conftest.er1 >conftest.err
62183 rm -f conftest.er1
62184 cat conftest.err >&5
62185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62186 (exit $ac_status); } &&
62187 { ac_try='test -z "$ac_cxx_werror_flag"
62188 || test ! -s conftest.err'
62189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62190 (eval $ac_try) 2>&5
62191 ac_status=$?
62192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62193 (exit $ac_status); }; } &&
62194 { ac_try='test -s conftest.$ac_objext'
62195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62196 (eval $ac_try) 2>&5
62197 ac_status=$?
62198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62199 (exit $ac_status); }; }; then
62200 glibcxx_cv_func___builtin_fabsl_use=yes
62201 else
62202 echo "$as_me: failed program was:" >&5
62203 sed 's/^/| /' conftest.$ac_ext >&5
62205 glibcxx_cv_func___builtin_fabsl_use=no
62207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62208 ac_ext=c
62209 ac_cpp='$CPP $CPPFLAGS'
62210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62218 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
62219 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
62220 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
62221 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
62222 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
62223 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
62224 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
62225 echo $ECHO_N "(cached) $ECHO_C" >&6
62226 else
62228 if test x$gcc_no_link = xyes; then
62229 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62230 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62231 { (exit 1); exit 1; }; }
62233 cat >conftest.$ac_ext <<_ACEOF
62234 /* confdefs.h. */
62235 _ACEOF
62236 cat confdefs.h >>conftest.$ac_ext
62237 cat >>conftest.$ac_ext <<_ACEOF
62238 /* end confdefs.h. */
62239 #include <math.h>
62241 main ()
62243 __builtin_fabsl(0);
62245 return 0;
62247 _ACEOF
62248 rm -f conftest.$ac_objext conftest$ac_exeext
62249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62250 (eval $ac_link) 2>conftest.er1
62251 ac_status=$?
62252 grep -v '^ *+' conftest.er1 >conftest.err
62253 rm -f conftest.er1
62254 cat conftest.err >&5
62255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62256 (exit $ac_status); } &&
62257 { ac_try='test -z "$ac_c_werror_flag"
62258 || test ! -s conftest.err'
62259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62260 (eval $ac_try) 2>&5
62261 ac_status=$?
62262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62263 (exit $ac_status); }; } &&
62264 { ac_try='test -s conftest$ac_exeext'
62265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62266 (eval $ac_try) 2>&5
62267 ac_status=$?
62268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62269 (exit $ac_status); }; }; then
62270 glibcxx_cv_func___builtin_fabsl_link=yes
62271 else
62272 echo "$as_me: failed program was:" >&5
62273 sed 's/^/| /' conftest.$ac_ext >&5
62275 glibcxx_cv_func___builtin_fabsl_link=no
62277 rm -f conftest.err conftest.$ac_objext \
62278 conftest$ac_exeext conftest.$ac_ext
62283 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
62284 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
62286 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
62288 cat >>confdefs.h <<\_ACEOF
62289 #define HAVE___BUILTIN_FABSL 1
62290 _ACEOF
62297 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
62298 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
62299 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
62300 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
62301 echo $ECHO_N "(cached) $ECHO_C" >&6
62302 else
62306 ac_ext=cc
62307 ac_cpp='$CXXCPP $CPPFLAGS'
62308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62312 cat >conftest.$ac_ext <<_ACEOF
62313 /* confdefs.h. */
62314 _ACEOF
62315 cat confdefs.h >>conftest.$ac_ext
62316 cat >>conftest.$ac_ext <<_ACEOF
62317 /* end confdefs.h. */
62318 #include <math.h>
62320 main ()
62322 __builtin_labs(0);
62324 return 0;
62326 _ACEOF
62327 rm -f conftest.$ac_objext
62328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62329 (eval $ac_compile) 2>conftest.er1
62330 ac_status=$?
62331 grep -v '^ *+' conftest.er1 >conftest.err
62332 rm -f conftest.er1
62333 cat conftest.err >&5
62334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62335 (exit $ac_status); } &&
62336 { ac_try='test -z "$ac_cxx_werror_flag"
62337 || test ! -s conftest.err'
62338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62339 (eval $ac_try) 2>&5
62340 ac_status=$?
62341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62342 (exit $ac_status); }; } &&
62343 { ac_try='test -s conftest.$ac_objext'
62344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62345 (eval $ac_try) 2>&5
62346 ac_status=$?
62347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62348 (exit $ac_status); }; }; then
62349 glibcxx_cv_func___builtin_labs_use=yes
62350 else
62351 echo "$as_me: failed program was:" >&5
62352 sed 's/^/| /' conftest.$ac_ext >&5
62354 glibcxx_cv_func___builtin_labs_use=no
62356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62357 ac_ext=c
62358 ac_cpp='$CPP $CPPFLAGS'
62359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62367 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
62368 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
62369 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
62370 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
62371 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
62372 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
62373 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
62374 echo $ECHO_N "(cached) $ECHO_C" >&6
62375 else
62377 if test x$gcc_no_link = xyes; then
62378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62380 { (exit 1); exit 1; }; }
62382 cat >conftest.$ac_ext <<_ACEOF
62383 /* confdefs.h. */
62384 _ACEOF
62385 cat confdefs.h >>conftest.$ac_ext
62386 cat >>conftest.$ac_ext <<_ACEOF
62387 /* end confdefs.h. */
62388 #include <math.h>
62390 main ()
62392 __builtin_labs(0);
62394 return 0;
62396 _ACEOF
62397 rm -f conftest.$ac_objext conftest$ac_exeext
62398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62399 (eval $ac_link) 2>conftest.er1
62400 ac_status=$?
62401 grep -v '^ *+' conftest.er1 >conftest.err
62402 rm -f conftest.er1
62403 cat conftest.err >&5
62404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62405 (exit $ac_status); } &&
62406 { ac_try='test -z "$ac_c_werror_flag"
62407 || test ! -s conftest.err'
62408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62409 (eval $ac_try) 2>&5
62410 ac_status=$?
62411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62412 (exit $ac_status); }; } &&
62413 { ac_try='test -s conftest$ac_exeext'
62414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62415 (eval $ac_try) 2>&5
62416 ac_status=$?
62417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62418 (exit $ac_status); }; }; then
62419 glibcxx_cv_func___builtin_labs_link=yes
62420 else
62421 echo "$as_me: failed program was:" >&5
62422 sed 's/^/| /' conftest.$ac_ext >&5
62424 glibcxx_cv_func___builtin_labs_link=no
62426 rm -f conftest.err conftest.$ac_objext \
62427 conftest$ac_exeext conftest.$ac_ext
62432 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
62433 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
62435 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
62437 cat >>confdefs.h <<\_ACEOF
62438 #define HAVE___BUILTIN_LABS 1
62439 _ACEOF
62447 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
62448 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
62449 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
62450 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
62451 echo $ECHO_N "(cached) $ECHO_C" >&6
62452 else
62456 ac_ext=cc
62457 ac_cpp='$CXXCPP $CPPFLAGS'
62458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62462 cat >conftest.$ac_ext <<_ACEOF
62463 /* confdefs.h. */
62464 _ACEOF
62465 cat confdefs.h >>conftest.$ac_ext
62466 cat >>conftest.$ac_ext <<_ACEOF
62467 /* end confdefs.h. */
62468 #include <math.h>
62470 main ()
62472 __builtin_sqrtf(0);
62474 return 0;
62476 _ACEOF
62477 rm -f conftest.$ac_objext
62478 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62479 (eval $ac_compile) 2>conftest.er1
62480 ac_status=$?
62481 grep -v '^ *+' conftest.er1 >conftest.err
62482 rm -f conftest.er1
62483 cat conftest.err >&5
62484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62485 (exit $ac_status); } &&
62486 { ac_try='test -z "$ac_cxx_werror_flag"
62487 || test ! -s conftest.err'
62488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62489 (eval $ac_try) 2>&5
62490 ac_status=$?
62491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62492 (exit $ac_status); }; } &&
62493 { ac_try='test -s conftest.$ac_objext'
62494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62495 (eval $ac_try) 2>&5
62496 ac_status=$?
62497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62498 (exit $ac_status); }; }; then
62499 glibcxx_cv_func___builtin_sqrtf_use=yes
62500 else
62501 echo "$as_me: failed program was:" >&5
62502 sed 's/^/| /' conftest.$ac_ext >&5
62504 glibcxx_cv_func___builtin_sqrtf_use=no
62506 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62507 ac_ext=c
62508 ac_cpp='$CPP $CPPFLAGS'
62509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62517 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
62518 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
62519 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
62520 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
62521 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
62522 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
62523 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
62524 echo $ECHO_N "(cached) $ECHO_C" >&6
62525 else
62527 if test x$gcc_no_link = xyes; then
62528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62530 { (exit 1); exit 1; }; }
62532 cat >conftest.$ac_ext <<_ACEOF
62533 /* confdefs.h. */
62534 _ACEOF
62535 cat confdefs.h >>conftest.$ac_ext
62536 cat >>conftest.$ac_ext <<_ACEOF
62537 /* end confdefs.h. */
62538 #include <math.h>
62540 main ()
62542 __builtin_sqrtf(0);
62544 return 0;
62546 _ACEOF
62547 rm -f conftest.$ac_objext conftest$ac_exeext
62548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62549 (eval $ac_link) 2>conftest.er1
62550 ac_status=$?
62551 grep -v '^ *+' conftest.er1 >conftest.err
62552 rm -f conftest.er1
62553 cat conftest.err >&5
62554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62555 (exit $ac_status); } &&
62556 { ac_try='test -z "$ac_c_werror_flag"
62557 || test ! -s conftest.err'
62558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62559 (eval $ac_try) 2>&5
62560 ac_status=$?
62561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62562 (exit $ac_status); }; } &&
62563 { ac_try='test -s conftest$ac_exeext'
62564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62565 (eval $ac_try) 2>&5
62566 ac_status=$?
62567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62568 (exit $ac_status); }; }; then
62569 glibcxx_cv_func___builtin_sqrtf_link=yes
62570 else
62571 echo "$as_me: failed program was:" >&5
62572 sed 's/^/| /' conftest.$ac_ext >&5
62574 glibcxx_cv_func___builtin_sqrtf_link=no
62576 rm -f conftest.err conftest.$ac_objext \
62577 conftest$ac_exeext conftest.$ac_ext
62582 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
62583 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
62585 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
62587 cat >>confdefs.h <<\_ACEOF
62588 #define HAVE___BUILTIN_SQRTF 1
62589 _ACEOF
62596 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
62597 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
62598 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
62599 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
62600 echo $ECHO_N "(cached) $ECHO_C" >&6
62601 else
62605 ac_ext=cc
62606 ac_cpp='$CXXCPP $CPPFLAGS'
62607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62611 cat >conftest.$ac_ext <<_ACEOF
62612 /* confdefs.h. */
62613 _ACEOF
62614 cat confdefs.h >>conftest.$ac_ext
62615 cat >>conftest.$ac_ext <<_ACEOF
62616 /* end confdefs.h. */
62617 #include <math.h>
62619 main ()
62621 __builtin_sqrt(0);
62623 return 0;
62625 _ACEOF
62626 rm -f conftest.$ac_objext
62627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62628 (eval $ac_compile) 2>conftest.er1
62629 ac_status=$?
62630 grep -v '^ *+' conftest.er1 >conftest.err
62631 rm -f conftest.er1
62632 cat conftest.err >&5
62633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62634 (exit $ac_status); } &&
62635 { ac_try='test -z "$ac_cxx_werror_flag"
62636 || test ! -s conftest.err'
62637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62638 (eval $ac_try) 2>&5
62639 ac_status=$?
62640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62641 (exit $ac_status); }; } &&
62642 { ac_try='test -s conftest.$ac_objext'
62643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62644 (eval $ac_try) 2>&5
62645 ac_status=$?
62646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62647 (exit $ac_status); }; }; then
62648 glibcxx_cv_func___builtin_sqrt_use=yes
62649 else
62650 echo "$as_me: failed program was:" >&5
62651 sed 's/^/| /' conftest.$ac_ext >&5
62653 glibcxx_cv_func___builtin_sqrt_use=no
62655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62656 ac_ext=c
62657 ac_cpp='$CPP $CPPFLAGS'
62658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62666 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
62667 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
62668 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
62669 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
62670 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
62671 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
62672 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
62673 echo $ECHO_N "(cached) $ECHO_C" >&6
62674 else
62676 if test x$gcc_no_link = xyes; then
62677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62679 { (exit 1); exit 1; }; }
62681 cat >conftest.$ac_ext <<_ACEOF
62682 /* confdefs.h. */
62683 _ACEOF
62684 cat confdefs.h >>conftest.$ac_ext
62685 cat >>conftest.$ac_ext <<_ACEOF
62686 /* end confdefs.h. */
62687 #include <math.h>
62689 main ()
62691 __builtin_sqrt(0);
62693 return 0;
62695 _ACEOF
62696 rm -f conftest.$ac_objext conftest$ac_exeext
62697 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62698 (eval $ac_link) 2>conftest.er1
62699 ac_status=$?
62700 grep -v '^ *+' conftest.er1 >conftest.err
62701 rm -f conftest.er1
62702 cat conftest.err >&5
62703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62704 (exit $ac_status); } &&
62705 { ac_try='test -z "$ac_c_werror_flag"
62706 || test ! -s conftest.err'
62707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62708 (eval $ac_try) 2>&5
62709 ac_status=$?
62710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62711 (exit $ac_status); }; } &&
62712 { ac_try='test -s conftest$ac_exeext'
62713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62714 (eval $ac_try) 2>&5
62715 ac_status=$?
62716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62717 (exit $ac_status); }; }; then
62718 glibcxx_cv_func___builtin_sqrt_link=yes
62719 else
62720 echo "$as_me: failed program was:" >&5
62721 sed 's/^/| /' conftest.$ac_ext >&5
62723 glibcxx_cv_func___builtin_sqrt_link=no
62725 rm -f conftest.err conftest.$ac_objext \
62726 conftest$ac_exeext conftest.$ac_ext
62731 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
62732 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
62734 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
62736 cat >>confdefs.h <<\_ACEOF
62737 #define HAVE___BUILTIN_SQRT 1
62738 _ACEOF
62745 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
62746 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
62747 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
62748 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
62749 echo $ECHO_N "(cached) $ECHO_C" >&6
62750 else
62754 ac_ext=cc
62755 ac_cpp='$CXXCPP $CPPFLAGS'
62756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62760 cat >conftest.$ac_ext <<_ACEOF
62761 /* confdefs.h. */
62762 _ACEOF
62763 cat confdefs.h >>conftest.$ac_ext
62764 cat >>conftest.$ac_ext <<_ACEOF
62765 /* end confdefs.h. */
62766 #include <math.h>
62768 main ()
62770 __builtin_sqrtl(0);
62772 return 0;
62774 _ACEOF
62775 rm -f conftest.$ac_objext
62776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62777 (eval $ac_compile) 2>conftest.er1
62778 ac_status=$?
62779 grep -v '^ *+' conftest.er1 >conftest.err
62780 rm -f conftest.er1
62781 cat conftest.err >&5
62782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62783 (exit $ac_status); } &&
62784 { ac_try='test -z "$ac_cxx_werror_flag"
62785 || test ! -s conftest.err'
62786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62787 (eval $ac_try) 2>&5
62788 ac_status=$?
62789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62790 (exit $ac_status); }; } &&
62791 { ac_try='test -s conftest.$ac_objext'
62792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62793 (eval $ac_try) 2>&5
62794 ac_status=$?
62795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62796 (exit $ac_status); }; }; then
62797 glibcxx_cv_func___builtin_sqrtl_use=yes
62798 else
62799 echo "$as_me: failed program was:" >&5
62800 sed 's/^/| /' conftest.$ac_ext >&5
62802 glibcxx_cv_func___builtin_sqrtl_use=no
62804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62805 ac_ext=c
62806 ac_cpp='$CPP $CPPFLAGS'
62807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62815 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
62816 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
62817 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
62818 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
62819 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
62820 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
62821 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
62822 echo $ECHO_N "(cached) $ECHO_C" >&6
62823 else
62825 if test x$gcc_no_link = xyes; then
62826 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62827 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62828 { (exit 1); exit 1; }; }
62830 cat >conftest.$ac_ext <<_ACEOF
62831 /* confdefs.h. */
62832 _ACEOF
62833 cat confdefs.h >>conftest.$ac_ext
62834 cat >>conftest.$ac_ext <<_ACEOF
62835 /* end confdefs.h. */
62836 #include <math.h>
62838 main ()
62840 __builtin_sqrtl(0);
62842 return 0;
62844 _ACEOF
62845 rm -f conftest.$ac_objext conftest$ac_exeext
62846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62847 (eval $ac_link) 2>conftest.er1
62848 ac_status=$?
62849 grep -v '^ *+' conftest.er1 >conftest.err
62850 rm -f conftest.er1
62851 cat conftest.err >&5
62852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62853 (exit $ac_status); } &&
62854 { ac_try='test -z "$ac_c_werror_flag"
62855 || test ! -s conftest.err'
62856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62857 (eval $ac_try) 2>&5
62858 ac_status=$?
62859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62860 (exit $ac_status); }; } &&
62861 { ac_try='test -s conftest$ac_exeext'
62862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62863 (eval $ac_try) 2>&5
62864 ac_status=$?
62865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62866 (exit $ac_status); }; }; then
62867 glibcxx_cv_func___builtin_sqrtl_link=yes
62868 else
62869 echo "$as_me: failed program was:" >&5
62870 sed 's/^/| /' conftest.$ac_ext >&5
62872 glibcxx_cv_func___builtin_sqrtl_link=no
62874 rm -f conftest.err conftest.$ac_objext \
62875 conftest$ac_exeext conftest.$ac_ext
62880 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
62881 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
62883 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
62885 cat >>confdefs.h <<\_ACEOF
62886 #define HAVE___BUILTIN_SQRTL 1
62887 _ACEOF
62895 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
62896 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
62897 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
62898 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
62899 echo $ECHO_N "(cached) $ECHO_C" >&6
62900 else
62904 ac_ext=cc
62905 ac_cpp='$CXXCPP $CPPFLAGS'
62906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62910 cat >conftest.$ac_ext <<_ACEOF
62911 /* confdefs.h. */
62912 _ACEOF
62913 cat confdefs.h >>conftest.$ac_ext
62914 cat >>conftest.$ac_ext <<_ACEOF
62915 /* end confdefs.h. */
62916 #include <math.h>
62918 main ()
62920 __builtin_sinf(0);
62922 return 0;
62924 _ACEOF
62925 rm -f conftest.$ac_objext
62926 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62927 (eval $ac_compile) 2>conftest.er1
62928 ac_status=$?
62929 grep -v '^ *+' conftest.er1 >conftest.err
62930 rm -f conftest.er1
62931 cat conftest.err >&5
62932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62933 (exit $ac_status); } &&
62934 { ac_try='test -z "$ac_cxx_werror_flag"
62935 || test ! -s conftest.err'
62936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62937 (eval $ac_try) 2>&5
62938 ac_status=$?
62939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62940 (exit $ac_status); }; } &&
62941 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
62947 glibcxx_cv_func___builtin_sinf_use=yes
62948 else
62949 echo "$as_me: failed program was:" >&5
62950 sed 's/^/| /' conftest.$ac_ext >&5
62952 glibcxx_cv_func___builtin_sinf_use=no
62954 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62955 ac_ext=c
62956 ac_cpp='$CPP $CPPFLAGS'
62957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62965 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
62966 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
62967 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
62968 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
62969 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
62970 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
62971 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
62972 echo $ECHO_N "(cached) $ECHO_C" >&6
62973 else
62975 if test x$gcc_no_link = xyes; then
62976 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62977 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62978 { (exit 1); exit 1; }; }
62980 cat >conftest.$ac_ext <<_ACEOF
62981 /* confdefs.h. */
62982 _ACEOF
62983 cat confdefs.h >>conftest.$ac_ext
62984 cat >>conftest.$ac_ext <<_ACEOF
62985 /* end confdefs.h. */
62986 #include <math.h>
62988 main ()
62990 __builtin_sinf(0);
62992 return 0;
62994 _ACEOF
62995 rm -f conftest.$ac_objext conftest$ac_exeext
62996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62997 (eval $ac_link) 2>conftest.er1
62998 ac_status=$?
62999 grep -v '^ *+' conftest.er1 >conftest.err
63000 rm -f conftest.er1
63001 cat conftest.err >&5
63002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63003 (exit $ac_status); } &&
63004 { ac_try='test -z "$ac_c_werror_flag"
63005 || test ! -s conftest.err'
63006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63007 (eval $ac_try) 2>&5
63008 ac_status=$?
63009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63010 (exit $ac_status); }; } &&
63011 { ac_try='test -s conftest$ac_exeext'
63012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63013 (eval $ac_try) 2>&5
63014 ac_status=$?
63015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63016 (exit $ac_status); }; }; then
63017 glibcxx_cv_func___builtin_sinf_link=yes
63018 else
63019 echo "$as_me: failed program was:" >&5
63020 sed 's/^/| /' conftest.$ac_ext >&5
63022 glibcxx_cv_func___builtin_sinf_link=no
63024 rm -f conftest.err conftest.$ac_objext \
63025 conftest$ac_exeext conftest.$ac_ext
63030 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
63031 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
63033 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
63035 cat >>confdefs.h <<\_ACEOF
63036 #define HAVE___BUILTIN_SINF 1
63037 _ACEOF
63044 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
63045 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
63046 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
63047 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
63048 echo $ECHO_N "(cached) $ECHO_C" >&6
63049 else
63053 ac_ext=cc
63054 ac_cpp='$CXXCPP $CPPFLAGS'
63055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63059 cat >conftest.$ac_ext <<_ACEOF
63060 /* confdefs.h. */
63061 _ACEOF
63062 cat confdefs.h >>conftest.$ac_ext
63063 cat >>conftest.$ac_ext <<_ACEOF
63064 /* end confdefs.h. */
63065 #include <math.h>
63067 main ()
63069 __builtin_sin(0);
63071 return 0;
63073 _ACEOF
63074 rm -f conftest.$ac_objext
63075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63076 (eval $ac_compile) 2>conftest.er1
63077 ac_status=$?
63078 grep -v '^ *+' conftest.er1 >conftest.err
63079 rm -f conftest.er1
63080 cat conftest.err >&5
63081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63082 (exit $ac_status); } &&
63083 { ac_try='test -z "$ac_cxx_werror_flag"
63084 || test ! -s conftest.err'
63085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63086 (eval $ac_try) 2>&5
63087 ac_status=$?
63088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63089 (exit $ac_status); }; } &&
63090 { ac_try='test -s conftest.$ac_objext'
63091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63092 (eval $ac_try) 2>&5
63093 ac_status=$?
63094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63095 (exit $ac_status); }; }; then
63096 glibcxx_cv_func___builtin_sin_use=yes
63097 else
63098 echo "$as_me: failed program was:" >&5
63099 sed 's/^/| /' conftest.$ac_ext >&5
63101 glibcxx_cv_func___builtin_sin_use=no
63103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63104 ac_ext=c
63105 ac_cpp='$CPP $CPPFLAGS'
63106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63114 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
63115 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
63116 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
63117 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
63118 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
63119 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
63120 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
63121 echo $ECHO_N "(cached) $ECHO_C" >&6
63122 else
63124 if test x$gcc_no_link = xyes; then
63125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63127 { (exit 1); exit 1; }; }
63129 cat >conftest.$ac_ext <<_ACEOF
63130 /* confdefs.h. */
63131 _ACEOF
63132 cat confdefs.h >>conftest.$ac_ext
63133 cat >>conftest.$ac_ext <<_ACEOF
63134 /* end confdefs.h. */
63135 #include <math.h>
63137 main ()
63139 __builtin_sin(0);
63141 return 0;
63143 _ACEOF
63144 rm -f conftest.$ac_objext conftest$ac_exeext
63145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63146 (eval $ac_link) 2>conftest.er1
63147 ac_status=$?
63148 grep -v '^ *+' conftest.er1 >conftest.err
63149 rm -f conftest.er1
63150 cat conftest.err >&5
63151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63152 (exit $ac_status); } &&
63153 { ac_try='test -z "$ac_c_werror_flag"
63154 || test ! -s conftest.err'
63155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63156 (eval $ac_try) 2>&5
63157 ac_status=$?
63158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63159 (exit $ac_status); }; } &&
63160 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
63166 glibcxx_cv_func___builtin_sin_link=yes
63167 else
63168 echo "$as_me: failed program was:" >&5
63169 sed 's/^/| /' conftest.$ac_ext >&5
63171 glibcxx_cv_func___builtin_sin_link=no
63173 rm -f conftest.err conftest.$ac_objext \
63174 conftest$ac_exeext conftest.$ac_ext
63179 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
63180 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
63182 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
63184 cat >>confdefs.h <<\_ACEOF
63185 #define HAVE___BUILTIN_SIN 1
63186 _ACEOF
63193 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
63194 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
63195 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
63196 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
63197 echo $ECHO_N "(cached) $ECHO_C" >&6
63198 else
63202 ac_ext=cc
63203 ac_cpp='$CXXCPP $CPPFLAGS'
63204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63208 cat >conftest.$ac_ext <<_ACEOF
63209 /* confdefs.h. */
63210 _ACEOF
63211 cat confdefs.h >>conftest.$ac_ext
63212 cat >>conftest.$ac_ext <<_ACEOF
63213 /* end confdefs.h. */
63214 #include <math.h>
63216 main ()
63218 __builtin_sinl(0);
63220 return 0;
63222 _ACEOF
63223 rm -f conftest.$ac_objext
63224 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63225 (eval $ac_compile) 2>conftest.er1
63226 ac_status=$?
63227 grep -v '^ *+' conftest.er1 >conftest.err
63228 rm -f conftest.er1
63229 cat conftest.err >&5
63230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63231 (exit $ac_status); } &&
63232 { ac_try='test -z "$ac_cxx_werror_flag"
63233 || test ! -s conftest.err'
63234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63235 (eval $ac_try) 2>&5
63236 ac_status=$?
63237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63238 (exit $ac_status); }; } &&
63239 { ac_try='test -s conftest.$ac_objext'
63240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63241 (eval $ac_try) 2>&5
63242 ac_status=$?
63243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63244 (exit $ac_status); }; }; then
63245 glibcxx_cv_func___builtin_sinl_use=yes
63246 else
63247 echo "$as_me: failed program was:" >&5
63248 sed 's/^/| /' conftest.$ac_ext >&5
63250 glibcxx_cv_func___builtin_sinl_use=no
63252 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63253 ac_ext=c
63254 ac_cpp='$CPP $CPPFLAGS'
63255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63263 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
63264 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
63265 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
63266 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
63267 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
63268 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
63269 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
63270 echo $ECHO_N "(cached) $ECHO_C" >&6
63271 else
63273 if test x$gcc_no_link = xyes; then
63274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63276 { (exit 1); exit 1; }; }
63278 cat >conftest.$ac_ext <<_ACEOF
63279 /* confdefs.h. */
63280 _ACEOF
63281 cat confdefs.h >>conftest.$ac_ext
63282 cat >>conftest.$ac_ext <<_ACEOF
63283 /* end confdefs.h. */
63284 #include <math.h>
63286 main ()
63288 __builtin_sinl(0);
63290 return 0;
63292 _ACEOF
63293 rm -f conftest.$ac_objext conftest$ac_exeext
63294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63295 (eval $ac_link) 2>conftest.er1
63296 ac_status=$?
63297 grep -v '^ *+' conftest.er1 >conftest.err
63298 rm -f conftest.er1
63299 cat conftest.err >&5
63300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63301 (exit $ac_status); } &&
63302 { ac_try='test -z "$ac_c_werror_flag"
63303 || test ! -s conftest.err'
63304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63305 (eval $ac_try) 2>&5
63306 ac_status=$?
63307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63308 (exit $ac_status); }; } &&
63309 { ac_try='test -s conftest$ac_exeext'
63310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63311 (eval $ac_try) 2>&5
63312 ac_status=$?
63313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63314 (exit $ac_status); }; }; then
63315 glibcxx_cv_func___builtin_sinl_link=yes
63316 else
63317 echo "$as_me: failed program was:" >&5
63318 sed 's/^/| /' conftest.$ac_ext >&5
63320 glibcxx_cv_func___builtin_sinl_link=no
63322 rm -f conftest.err conftest.$ac_objext \
63323 conftest$ac_exeext conftest.$ac_ext
63328 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
63329 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
63331 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
63333 cat >>confdefs.h <<\_ACEOF
63334 #define HAVE___BUILTIN_SINL 1
63335 _ACEOF
63343 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
63344 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
63345 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
63346 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
63347 echo $ECHO_N "(cached) $ECHO_C" >&6
63348 else
63352 ac_ext=cc
63353 ac_cpp='$CXXCPP $CPPFLAGS'
63354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63358 cat >conftest.$ac_ext <<_ACEOF
63359 /* confdefs.h. */
63360 _ACEOF
63361 cat confdefs.h >>conftest.$ac_ext
63362 cat >>conftest.$ac_ext <<_ACEOF
63363 /* end confdefs.h. */
63364 #include <math.h>
63366 main ()
63368 __builtin_cosf(0);
63370 return 0;
63372 _ACEOF
63373 rm -f conftest.$ac_objext
63374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63375 (eval $ac_compile) 2>conftest.er1
63376 ac_status=$?
63377 grep -v '^ *+' conftest.er1 >conftest.err
63378 rm -f conftest.er1
63379 cat conftest.err >&5
63380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63381 (exit $ac_status); } &&
63382 { ac_try='test -z "$ac_cxx_werror_flag"
63383 || test ! -s conftest.err'
63384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63385 (eval $ac_try) 2>&5
63386 ac_status=$?
63387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63388 (exit $ac_status); }; } &&
63389 { ac_try='test -s conftest.$ac_objext'
63390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63391 (eval $ac_try) 2>&5
63392 ac_status=$?
63393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63394 (exit $ac_status); }; }; then
63395 glibcxx_cv_func___builtin_cosf_use=yes
63396 else
63397 echo "$as_me: failed program was:" >&5
63398 sed 's/^/| /' conftest.$ac_ext >&5
63400 glibcxx_cv_func___builtin_cosf_use=no
63402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63403 ac_ext=c
63404 ac_cpp='$CPP $CPPFLAGS'
63405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63413 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
63414 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
63415 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
63416 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
63417 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
63418 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
63419 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
63420 echo $ECHO_N "(cached) $ECHO_C" >&6
63421 else
63423 if test x$gcc_no_link = xyes; then
63424 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63425 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63426 { (exit 1); exit 1; }; }
63428 cat >conftest.$ac_ext <<_ACEOF
63429 /* confdefs.h. */
63430 _ACEOF
63431 cat confdefs.h >>conftest.$ac_ext
63432 cat >>conftest.$ac_ext <<_ACEOF
63433 /* end confdefs.h. */
63434 #include <math.h>
63436 main ()
63438 __builtin_cosf(0);
63440 return 0;
63442 _ACEOF
63443 rm -f conftest.$ac_objext conftest$ac_exeext
63444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63445 (eval $ac_link) 2>conftest.er1
63446 ac_status=$?
63447 grep -v '^ *+' conftest.er1 >conftest.err
63448 rm -f conftest.er1
63449 cat conftest.err >&5
63450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63451 (exit $ac_status); } &&
63452 { ac_try='test -z "$ac_c_werror_flag"
63453 || test ! -s conftest.err'
63454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63455 (eval $ac_try) 2>&5
63456 ac_status=$?
63457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63458 (exit $ac_status); }; } &&
63459 { ac_try='test -s conftest$ac_exeext'
63460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63461 (eval $ac_try) 2>&5
63462 ac_status=$?
63463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63464 (exit $ac_status); }; }; then
63465 glibcxx_cv_func___builtin_cosf_link=yes
63466 else
63467 echo "$as_me: failed program was:" >&5
63468 sed 's/^/| /' conftest.$ac_ext >&5
63470 glibcxx_cv_func___builtin_cosf_link=no
63472 rm -f conftest.err conftest.$ac_objext \
63473 conftest$ac_exeext conftest.$ac_ext
63478 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
63479 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
63481 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
63483 cat >>confdefs.h <<\_ACEOF
63484 #define HAVE___BUILTIN_COSF 1
63485 _ACEOF
63492 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
63493 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
63494 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
63495 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
63496 echo $ECHO_N "(cached) $ECHO_C" >&6
63497 else
63501 ac_ext=cc
63502 ac_cpp='$CXXCPP $CPPFLAGS'
63503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63507 cat >conftest.$ac_ext <<_ACEOF
63508 /* confdefs.h. */
63509 _ACEOF
63510 cat confdefs.h >>conftest.$ac_ext
63511 cat >>conftest.$ac_ext <<_ACEOF
63512 /* end confdefs.h. */
63513 #include <math.h>
63515 main ()
63517 __builtin_cos(0);
63519 return 0;
63521 _ACEOF
63522 rm -f conftest.$ac_objext
63523 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63524 (eval $ac_compile) 2>conftest.er1
63525 ac_status=$?
63526 grep -v '^ *+' conftest.er1 >conftest.err
63527 rm -f conftest.er1
63528 cat conftest.err >&5
63529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63530 (exit $ac_status); } &&
63531 { ac_try='test -z "$ac_cxx_werror_flag"
63532 || test ! -s conftest.err'
63533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63534 (eval $ac_try) 2>&5
63535 ac_status=$?
63536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63537 (exit $ac_status); }; } &&
63538 { ac_try='test -s conftest.$ac_objext'
63539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63540 (eval $ac_try) 2>&5
63541 ac_status=$?
63542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63543 (exit $ac_status); }; }; then
63544 glibcxx_cv_func___builtin_cos_use=yes
63545 else
63546 echo "$as_me: failed program was:" >&5
63547 sed 's/^/| /' conftest.$ac_ext >&5
63549 glibcxx_cv_func___builtin_cos_use=no
63551 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63552 ac_ext=c
63553 ac_cpp='$CPP $CPPFLAGS'
63554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63562 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
63563 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
63564 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
63565 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
63566 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
63567 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
63568 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
63569 echo $ECHO_N "(cached) $ECHO_C" >&6
63570 else
63572 if test x$gcc_no_link = xyes; then
63573 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63574 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63575 { (exit 1); exit 1; }; }
63577 cat >conftest.$ac_ext <<_ACEOF
63578 /* confdefs.h. */
63579 _ACEOF
63580 cat confdefs.h >>conftest.$ac_ext
63581 cat >>conftest.$ac_ext <<_ACEOF
63582 /* end confdefs.h. */
63583 #include <math.h>
63585 main ()
63587 __builtin_cos(0);
63589 return 0;
63591 _ACEOF
63592 rm -f conftest.$ac_objext conftest$ac_exeext
63593 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63594 (eval $ac_link) 2>conftest.er1
63595 ac_status=$?
63596 grep -v '^ *+' conftest.er1 >conftest.err
63597 rm -f conftest.er1
63598 cat conftest.err >&5
63599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63600 (exit $ac_status); } &&
63601 { ac_try='test -z "$ac_c_werror_flag"
63602 || test ! -s conftest.err'
63603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63604 (eval $ac_try) 2>&5
63605 ac_status=$?
63606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63607 (exit $ac_status); }; } &&
63608 { ac_try='test -s conftest$ac_exeext'
63609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63610 (eval $ac_try) 2>&5
63611 ac_status=$?
63612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63613 (exit $ac_status); }; }; then
63614 glibcxx_cv_func___builtin_cos_link=yes
63615 else
63616 echo "$as_me: failed program was:" >&5
63617 sed 's/^/| /' conftest.$ac_ext >&5
63619 glibcxx_cv_func___builtin_cos_link=no
63621 rm -f conftest.err conftest.$ac_objext \
63622 conftest$ac_exeext conftest.$ac_ext
63627 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
63628 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
63630 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
63632 cat >>confdefs.h <<\_ACEOF
63633 #define HAVE___BUILTIN_COS 1
63634 _ACEOF
63641 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
63642 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
63643 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
63644 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
63645 echo $ECHO_N "(cached) $ECHO_C" >&6
63646 else
63650 ac_ext=cc
63651 ac_cpp='$CXXCPP $CPPFLAGS'
63652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63656 cat >conftest.$ac_ext <<_ACEOF
63657 /* confdefs.h. */
63658 _ACEOF
63659 cat confdefs.h >>conftest.$ac_ext
63660 cat >>conftest.$ac_ext <<_ACEOF
63661 /* end confdefs.h. */
63662 #include <math.h>
63664 main ()
63666 __builtin_cosl(0);
63668 return 0;
63670 _ACEOF
63671 rm -f conftest.$ac_objext
63672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63673 (eval $ac_compile) 2>conftest.er1
63674 ac_status=$?
63675 grep -v '^ *+' conftest.er1 >conftest.err
63676 rm -f conftest.er1
63677 cat conftest.err >&5
63678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63679 (exit $ac_status); } &&
63680 { ac_try='test -z "$ac_cxx_werror_flag"
63681 || test ! -s conftest.err'
63682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63683 (eval $ac_try) 2>&5
63684 ac_status=$?
63685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63686 (exit $ac_status); }; } &&
63687 { ac_try='test -s conftest.$ac_objext'
63688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63689 (eval $ac_try) 2>&5
63690 ac_status=$?
63691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63692 (exit $ac_status); }; }; then
63693 glibcxx_cv_func___builtin_cosl_use=yes
63694 else
63695 echo "$as_me: failed program was:" >&5
63696 sed 's/^/| /' conftest.$ac_ext >&5
63698 glibcxx_cv_func___builtin_cosl_use=no
63700 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63701 ac_ext=c
63702 ac_cpp='$CPP $CPPFLAGS'
63703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63711 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
63712 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
63713 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
63714 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
63715 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
63716 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
63717 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
63718 echo $ECHO_N "(cached) $ECHO_C" >&6
63719 else
63721 if test x$gcc_no_link = xyes; then
63722 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63723 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63724 { (exit 1); exit 1; }; }
63726 cat >conftest.$ac_ext <<_ACEOF
63727 /* confdefs.h. */
63728 _ACEOF
63729 cat confdefs.h >>conftest.$ac_ext
63730 cat >>conftest.$ac_ext <<_ACEOF
63731 /* end confdefs.h. */
63732 #include <math.h>
63734 main ()
63736 __builtin_cosl(0);
63738 return 0;
63740 _ACEOF
63741 rm -f conftest.$ac_objext conftest$ac_exeext
63742 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63743 (eval $ac_link) 2>conftest.er1
63744 ac_status=$?
63745 grep -v '^ *+' conftest.er1 >conftest.err
63746 rm -f conftest.er1
63747 cat conftest.err >&5
63748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63749 (exit $ac_status); } &&
63750 { ac_try='test -z "$ac_c_werror_flag"
63751 || test ! -s conftest.err'
63752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63753 (eval $ac_try) 2>&5
63754 ac_status=$?
63755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63756 (exit $ac_status); }; } &&
63757 { ac_try='test -s conftest$ac_exeext'
63758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63759 (eval $ac_try) 2>&5
63760 ac_status=$?
63761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63762 (exit $ac_status); }; }; then
63763 glibcxx_cv_func___builtin_cosl_link=yes
63764 else
63765 echo "$as_me: failed program was:" >&5
63766 sed 's/^/| /' conftest.$ac_ext >&5
63768 glibcxx_cv_func___builtin_cosl_link=no
63770 rm -f conftest.err conftest.$ac_objext \
63771 conftest$ac_exeext conftest.$ac_ext
63776 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
63777 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
63779 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
63781 cat >>confdefs.h <<\_ACEOF
63782 #define HAVE___BUILTIN_COSL 1
63783 _ACEOF
63792 echo "$as_me:$LINENO: checking for main in -lm" >&5
63793 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
63794 if test "${ac_cv_lib_m_main+set}" = set; then
63795 echo $ECHO_N "(cached) $ECHO_C" >&6
63796 else
63797 ac_check_lib_save_LIBS=$LIBS
63798 LIBS="-lm $LIBS"
63799 if test x$gcc_no_link = xyes; then
63800 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63801 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63802 { (exit 1); exit 1; }; }
63804 cat >conftest.$ac_ext <<_ACEOF
63805 /* confdefs.h. */
63806 _ACEOF
63807 cat confdefs.h >>conftest.$ac_ext
63808 cat >>conftest.$ac_ext <<_ACEOF
63809 /* end confdefs.h. */
63813 main ()
63815 main ();
63817 return 0;
63819 _ACEOF
63820 rm -f conftest.$ac_objext conftest$ac_exeext
63821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63822 (eval $ac_link) 2>conftest.er1
63823 ac_status=$?
63824 grep -v '^ *+' conftest.er1 >conftest.err
63825 rm -f conftest.er1
63826 cat conftest.err >&5
63827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63828 (exit $ac_status); } &&
63829 { ac_try='test -z "$ac_c_werror_flag"
63830 || test ! -s conftest.err'
63831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63832 (eval $ac_try) 2>&5
63833 ac_status=$?
63834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63835 (exit $ac_status); }; } &&
63836 { ac_try='test -s conftest$ac_exeext'
63837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63838 (eval $ac_try) 2>&5
63839 ac_status=$?
63840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63841 (exit $ac_status); }; }; then
63842 ac_cv_lib_m_main=yes
63843 else
63844 echo "$as_me: failed program was:" >&5
63845 sed 's/^/| /' conftest.$ac_ext >&5
63847 ac_cv_lib_m_main=no
63849 rm -f conftest.err conftest.$ac_objext \
63850 conftest$ac_exeext conftest.$ac_ext
63851 LIBS=$ac_check_lib_save_LIBS
63853 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
63854 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
63855 if test $ac_cv_lib_m_main = yes; then
63856 cat >>confdefs.h <<_ACEOF
63857 #define HAVE_LIBM 1
63858 _ACEOF
63860 LIBS="-lm $LIBS"
63865 for ac_func in copysignf
63867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63868 echo "$as_me:$LINENO: checking for $ac_func" >&5
63869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63870 if eval "test \"\${$as_ac_var+set}\" = set"; then
63871 echo $ECHO_N "(cached) $ECHO_C" >&6
63872 else
63873 if test x$gcc_no_link = xyes; then
63874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63876 { (exit 1); exit 1; }; }
63878 cat >conftest.$ac_ext <<_ACEOF
63879 /* confdefs.h. */
63880 _ACEOF
63881 cat confdefs.h >>conftest.$ac_ext
63882 cat >>conftest.$ac_ext <<_ACEOF
63883 /* end confdefs.h. */
63884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63886 #define $ac_func innocuous_$ac_func
63888 /* System header to define __stub macros and hopefully few prototypes,
63889 which can conflict with char $ac_func (); below.
63890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63891 <limits.h> exists even on freestanding compilers. */
63893 #ifdef __STDC__
63894 # include <limits.h>
63895 #else
63896 # include <assert.h>
63897 #endif
63899 #undef $ac_func
63901 /* Override any gcc2 internal prototype to avoid an error. */
63902 #ifdef __cplusplus
63903 extern "C"
63905 #endif
63906 /* We use char because int might match the return type of a gcc2
63907 builtin and then its argument prototype would still apply. */
63908 char $ac_func ();
63909 /* The GNU C library defines this for functions which it implements
63910 to always fail with ENOSYS. Some functions are actually named
63911 something starting with __ and the normal name is an alias. */
63912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63913 choke me
63914 #else
63915 char (*f) () = $ac_func;
63916 #endif
63917 #ifdef __cplusplus
63919 #endif
63922 main ()
63924 return f != $ac_func;
63926 return 0;
63928 _ACEOF
63929 rm -f conftest.$ac_objext conftest$ac_exeext
63930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63931 (eval $ac_link) 2>conftest.er1
63932 ac_status=$?
63933 grep -v '^ *+' conftest.er1 >conftest.err
63934 rm -f conftest.er1
63935 cat conftest.err >&5
63936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63937 (exit $ac_status); } &&
63938 { ac_try='test -z "$ac_c_werror_flag"
63939 || test ! -s conftest.err'
63940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63941 (eval $ac_try) 2>&5
63942 ac_status=$?
63943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63944 (exit $ac_status); }; } &&
63945 { ac_try='test -s conftest$ac_exeext'
63946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63947 (eval $ac_try) 2>&5
63948 ac_status=$?
63949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63950 (exit $ac_status); }; }; then
63951 eval "$as_ac_var=yes"
63952 else
63953 echo "$as_me: failed program was:" >&5
63954 sed 's/^/| /' conftest.$ac_ext >&5
63956 eval "$as_ac_var=no"
63958 rm -f conftest.err conftest.$ac_objext \
63959 conftest$ac_exeext conftest.$ac_ext
63961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63963 if test `eval echo '${'$as_ac_var'}'` = yes; then
63964 cat >>confdefs.h <<_ACEOF
63965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63966 _ACEOF
63968 else
63969 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
63971 done
63975 for ac_func in __signbit
63977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63978 echo "$as_me:$LINENO: checking for $ac_func" >&5
63979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63980 if eval "test \"\${$as_ac_var+set}\" = set"; then
63981 echo $ECHO_N "(cached) $ECHO_C" >&6
63982 else
63983 if test x$gcc_no_link = xyes; then
63984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63986 { (exit 1); exit 1; }; }
63988 cat >conftest.$ac_ext <<_ACEOF
63989 /* confdefs.h. */
63990 _ACEOF
63991 cat confdefs.h >>conftest.$ac_ext
63992 cat >>conftest.$ac_ext <<_ACEOF
63993 /* end confdefs.h. */
63994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63996 #define $ac_func innocuous_$ac_func
63998 /* System header to define __stub macros and hopefully few prototypes,
63999 which can conflict with char $ac_func (); below.
64000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64001 <limits.h> exists even on freestanding compilers. */
64003 #ifdef __STDC__
64004 # include <limits.h>
64005 #else
64006 # include <assert.h>
64007 #endif
64009 #undef $ac_func
64011 /* Override any gcc2 internal prototype to avoid an error. */
64012 #ifdef __cplusplus
64013 extern "C"
64015 #endif
64016 /* We use char because int might match the return type of a gcc2
64017 builtin and then its argument prototype would still apply. */
64018 char $ac_func ();
64019 /* The GNU C library defines this for functions which it implements
64020 to always fail with ENOSYS. Some functions are actually named
64021 something starting with __ and the normal name is an alias. */
64022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64023 choke me
64024 #else
64025 char (*f) () = $ac_func;
64026 #endif
64027 #ifdef __cplusplus
64029 #endif
64032 main ()
64034 return f != $ac_func;
64036 return 0;
64038 _ACEOF
64039 rm -f conftest.$ac_objext conftest$ac_exeext
64040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64041 (eval $ac_link) 2>conftest.er1
64042 ac_status=$?
64043 grep -v '^ *+' conftest.er1 >conftest.err
64044 rm -f conftest.er1
64045 cat conftest.err >&5
64046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64047 (exit $ac_status); } &&
64048 { ac_try='test -z "$ac_c_werror_flag"
64049 || test ! -s conftest.err'
64050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64051 (eval $ac_try) 2>&5
64052 ac_status=$?
64053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64054 (exit $ac_status); }; } &&
64055 { ac_try='test -s conftest$ac_exeext'
64056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64057 (eval $ac_try) 2>&5
64058 ac_status=$?
64059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64060 (exit $ac_status); }; }; then
64061 eval "$as_ac_var=yes"
64062 else
64063 echo "$as_me: failed program was:" >&5
64064 sed 's/^/| /' conftest.$ac_ext >&5
64066 eval "$as_ac_var=no"
64068 rm -f conftest.err conftest.$ac_objext \
64069 conftest$ac_exeext conftest.$ac_ext
64071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64073 if test `eval echo '${'$as_ac_var'}'` = yes; then
64074 cat >>confdefs.h <<_ACEOF
64075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64076 _ACEOF
64078 else
64079 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
64081 done
64085 for ac_func in __signbitf
64087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64088 echo "$as_me:$LINENO: checking for $ac_func" >&5
64089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64090 if eval "test \"\${$as_ac_var+set}\" = set"; then
64091 echo $ECHO_N "(cached) $ECHO_C" >&6
64092 else
64093 if test x$gcc_no_link = xyes; then
64094 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64095 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64096 { (exit 1); exit 1; }; }
64098 cat >conftest.$ac_ext <<_ACEOF
64099 /* confdefs.h. */
64100 _ACEOF
64101 cat confdefs.h >>conftest.$ac_ext
64102 cat >>conftest.$ac_ext <<_ACEOF
64103 /* end confdefs.h. */
64104 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64105 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64106 #define $ac_func innocuous_$ac_func
64108 /* System header to define __stub macros and hopefully few prototypes,
64109 which can conflict with char $ac_func (); below.
64110 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64111 <limits.h> exists even on freestanding compilers. */
64113 #ifdef __STDC__
64114 # include <limits.h>
64115 #else
64116 # include <assert.h>
64117 #endif
64119 #undef $ac_func
64121 /* Override any gcc2 internal prototype to avoid an error. */
64122 #ifdef __cplusplus
64123 extern "C"
64125 #endif
64126 /* We use char because int might match the return type of a gcc2
64127 builtin and then its argument prototype would still apply. */
64128 char $ac_func ();
64129 /* The GNU C library defines this for functions which it implements
64130 to always fail with ENOSYS. Some functions are actually named
64131 something starting with __ and the normal name is an alias. */
64132 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64133 choke me
64134 #else
64135 char (*f) () = $ac_func;
64136 #endif
64137 #ifdef __cplusplus
64139 #endif
64142 main ()
64144 return f != $ac_func;
64146 return 0;
64148 _ACEOF
64149 rm -f conftest.$ac_objext conftest$ac_exeext
64150 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64151 (eval $ac_link) 2>conftest.er1
64152 ac_status=$?
64153 grep -v '^ *+' conftest.er1 >conftest.err
64154 rm -f conftest.er1
64155 cat conftest.err >&5
64156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64157 (exit $ac_status); } &&
64158 { ac_try='test -z "$ac_c_werror_flag"
64159 || test ! -s conftest.err'
64160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64161 (eval $ac_try) 2>&5
64162 ac_status=$?
64163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64164 (exit $ac_status); }; } &&
64165 { ac_try='test -s conftest$ac_exeext'
64166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64167 (eval $ac_try) 2>&5
64168 ac_status=$?
64169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64170 (exit $ac_status); }; }; then
64171 eval "$as_ac_var=yes"
64172 else
64173 echo "$as_me: failed program was:" >&5
64174 sed 's/^/| /' conftest.$ac_ext >&5
64176 eval "$as_ac_var=no"
64178 rm -f conftest.err conftest.$ac_objext \
64179 conftest$ac_exeext conftest.$ac_ext
64181 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64183 if test `eval echo '${'$as_ac_var'}'` = yes; then
64184 cat >>confdefs.h <<_ACEOF
64185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64186 _ACEOF
64188 else
64189 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
64191 done
64194 if test x$ac_cv_func_copysignl = x"yes"; then
64196 for ac_func in __signbitl
64198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64199 echo "$as_me:$LINENO: checking for $ac_func" >&5
64200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64201 if eval "test \"\${$as_ac_var+set}\" = set"; then
64202 echo $ECHO_N "(cached) $ECHO_C" >&6
64203 else
64204 if test x$gcc_no_link = xyes; then
64205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64207 { (exit 1); exit 1; }; }
64209 cat >conftest.$ac_ext <<_ACEOF
64210 /* confdefs.h. */
64211 _ACEOF
64212 cat confdefs.h >>conftest.$ac_ext
64213 cat >>conftest.$ac_ext <<_ACEOF
64214 /* end confdefs.h. */
64215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64217 #define $ac_func innocuous_$ac_func
64219 /* System header to define __stub macros and hopefully few prototypes,
64220 which can conflict with char $ac_func (); below.
64221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64222 <limits.h> exists even on freestanding compilers. */
64224 #ifdef __STDC__
64225 # include <limits.h>
64226 #else
64227 # include <assert.h>
64228 #endif
64230 #undef $ac_func
64232 /* Override any gcc2 internal prototype to avoid an error. */
64233 #ifdef __cplusplus
64234 extern "C"
64236 #endif
64237 /* We use char because int might match the return type of a gcc2
64238 builtin and then its argument prototype would still apply. */
64239 char $ac_func ();
64240 /* The GNU C library defines this for functions which it implements
64241 to always fail with ENOSYS. Some functions are actually named
64242 something starting with __ and the normal name is an alias. */
64243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64244 choke me
64245 #else
64246 char (*f) () = $ac_func;
64247 #endif
64248 #ifdef __cplusplus
64250 #endif
64253 main ()
64255 return f != $ac_func;
64257 return 0;
64259 _ACEOF
64260 rm -f conftest.$ac_objext conftest$ac_exeext
64261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64262 (eval $ac_link) 2>conftest.er1
64263 ac_status=$?
64264 grep -v '^ *+' conftest.er1 >conftest.err
64265 rm -f conftest.er1
64266 cat conftest.err >&5
64267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64268 (exit $ac_status); } &&
64269 { ac_try='test -z "$ac_c_werror_flag"
64270 || test ! -s conftest.err'
64271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64272 (eval $ac_try) 2>&5
64273 ac_status=$?
64274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64275 (exit $ac_status); }; } &&
64276 { ac_try='test -s conftest$ac_exeext'
64277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64278 (eval $ac_try) 2>&5
64279 ac_status=$?
64280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64281 (exit $ac_status); }; }; then
64282 eval "$as_ac_var=yes"
64283 else
64284 echo "$as_me: failed program was:" >&5
64285 sed 's/^/| /' conftest.$ac_ext >&5
64287 eval "$as_ac_var=no"
64289 rm -f conftest.err conftest.$ac_objext \
64290 conftest$ac_exeext conftest.$ac_ext
64292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64294 if test `eval echo '${'$as_ac_var'}'` = yes; then
64295 cat >>confdefs.h <<_ACEOF
64296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64297 _ACEOF
64299 else
64300 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
64302 done
64306 # Used in libmath/Makefile.am.
64307 if test -n "$LIBMATHOBJS"; then
64308 need_libmath=yes
64313 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64314 ac_save_CXXFLAGS="$CXXFLAGS"
64315 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64318 echo "$as_me:$LINENO: checking for strtold declaration" >&5
64319 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
64320 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64321 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
64322 echo $ECHO_N "(cached) $ECHO_C" >&6
64323 else
64327 ac_ext=cc
64328 ac_cpp='$CXXCPP $CPPFLAGS'
64329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64333 cat >conftest.$ac_ext <<_ACEOF
64334 /* confdefs.h. */
64335 _ACEOF
64336 cat confdefs.h >>conftest.$ac_ext
64337 cat >>conftest.$ac_ext <<_ACEOF
64338 /* end confdefs.h. */
64339 #include <stdlib.h>
64341 main ()
64343 strtold(0, 0);
64345 return 0;
64347 _ACEOF
64348 rm -f conftest.$ac_objext
64349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64350 (eval $ac_compile) 2>conftest.er1
64351 ac_status=$?
64352 grep -v '^ *+' conftest.er1 >conftest.err
64353 rm -f conftest.er1
64354 cat conftest.err >&5
64355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64356 (exit $ac_status); } &&
64357 { ac_try='test -z "$ac_cxx_werror_flag"
64358 || test ! -s conftest.err'
64359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64360 (eval $ac_try) 2>&5
64361 ac_status=$?
64362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64363 (exit $ac_status); }; } &&
64364 { ac_try='test -s conftest.$ac_objext'
64365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64366 (eval $ac_try) 2>&5
64367 ac_status=$?
64368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64369 (exit $ac_status); }; }; then
64370 glibcxx_cv_func_strtold_use=yes
64371 else
64372 echo "$as_me: failed program was:" >&5
64373 sed 's/^/| /' conftest.$ac_ext >&5
64375 glibcxx_cv_func_strtold_use=no
64377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64378 ac_ext=c
64379 ac_cpp='$CPP $CPPFLAGS'
64380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
64389 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
64390 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64392 for ac_func in strtold
64394 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64395 echo "$as_me:$LINENO: checking for $ac_func" >&5
64396 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64397 if eval "test \"\${$as_ac_var+set}\" = set"; then
64398 echo $ECHO_N "(cached) $ECHO_C" >&6
64399 else
64400 if test x$gcc_no_link = xyes; then
64401 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64402 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64403 { (exit 1); exit 1; }; }
64405 cat >conftest.$ac_ext <<_ACEOF
64406 /* confdefs.h. */
64407 _ACEOF
64408 cat confdefs.h >>conftest.$ac_ext
64409 cat >>conftest.$ac_ext <<_ACEOF
64410 /* end confdefs.h. */
64411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64413 #define $ac_func innocuous_$ac_func
64415 /* System header to define __stub macros and hopefully few prototypes,
64416 which can conflict with char $ac_func (); below.
64417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64418 <limits.h> exists even on freestanding compilers. */
64420 #ifdef __STDC__
64421 # include <limits.h>
64422 #else
64423 # include <assert.h>
64424 #endif
64426 #undef $ac_func
64428 /* Override any gcc2 internal prototype to avoid an error. */
64429 #ifdef __cplusplus
64430 extern "C"
64432 #endif
64433 /* We use char because int might match the return type of a gcc2
64434 builtin and then its argument prototype would still apply. */
64435 char $ac_func ();
64436 /* The GNU C library defines this for functions which it implements
64437 to always fail with ENOSYS. Some functions are actually named
64438 something starting with __ and the normal name is an alias. */
64439 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64440 choke me
64441 #else
64442 char (*f) () = $ac_func;
64443 #endif
64444 #ifdef __cplusplus
64446 #endif
64449 main ()
64451 return f != $ac_func;
64453 return 0;
64455 _ACEOF
64456 rm -f conftest.$ac_objext conftest$ac_exeext
64457 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64458 (eval $ac_link) 2>conftest.er1
64459 ac_status=$?
64460 grep -v '^ *+' conftest.er1 >conftest.err
64461 rm -f conftest.er1
64462 cat conftest.err >&5
64463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64464 (exit $ac_status); } &&
64465 { ac_try='test -z "$ac_c_werror_flag"
64466 || test ! -s conftest.err'
64467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64468 (eval $ac_try) 2>&5
64469 ac_status=$?
64470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64471 (exit $ac_status); }; } &&
64472 { ac_try='test -s conftest$ac_exeext'
64473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64474 (eval $ac_try) 2>&5
64475 ac_status=$?
64476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64477 (exit $ac_status); }; }; then
64478 eval "$as_ac_var=yes"
64479 else
64480 echo "$as_me: failed program was:" >&5
64481 sed 's/^/| /' conftest.$ac_ext >&5
64483 eval "$as_ac_var=no"
64485 rm -f conftest.err conftest.$ac_objext \
64486 conftest$ac_exeext conftest.$ac_ext
64488 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64489 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64490 if test `eval echo '${'$as_ac_var'}'` = yes; then
64491 cat >>confdefs.h <<_ACEOF
64492 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64493 _ACEOF
64496 done
64504 echo "$as_me:$LINENO: checking for strtof declaration" >&5
64505 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
64506 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64507 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
64508 echo $ECHO_N "(cached) $ECHO_C" >&6
64509 else
64513 ac_ext=cc
64514 ac_cpp='$CXXCPP $CPPFLAGS'
64515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64519 cat >conftest.$ac_ext <<_ACEOF
64520 /* confdefs.h. */
64521 _ACEOF
64522 cat confdefs.h >>conftest.$ac_ext
64523 cat >>conftest.$ac_ext <<_ACEOF
64524 /* end confdefs.h. */
64525 #include <stdlib.h>
64527 main ()
64529 strtof(0, 0);
64531 return 0;
64533 _ACEOF
64534 rm -f conftest.$ac_objext
64535 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64536 (eval $ac_compile) 2>conftest.er1
64537 ac_status=$?
64538 grep -v '^ *+' conftest.er1 >conftest.err
64539 rm -f conftest.er1
64540 cat conftest.err >&5
64541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64542 (exit $ac_status); } &&
64543 { ac_try='test -z "$ac_cxx_werror_flag"
64544 || test ! -s conftest.err'
64545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64546 (eval $ac_try) 2>&5
64547 ac_status=$?
64548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64549 (exit $ac_status); }; } &&
64550 { ac_try='test -s conftest.$ac_objext'
64551 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64552 (eval $ac_try) 2>&5
64553 ac_status=$?
64554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64555 (exit $ac_status); }; }; then
64556 glibcxx_cv_func_strtof_use=yes
64557 else
64558 echo "$as_me: failed program was:" >&5
64559 sed 's/^/| /' conftest.$ac_ext >&5
64561 glibcxx_cv_func_strtof_use=no
64563 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64564 ac_ext=c
64565 ac_cpp='$CPP $CPPFLAGS'
64566 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64567 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64568 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64574 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
64575 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
64576 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64578 for ac_func in strtof
64580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64581 echo "$as_me:$LINENO: checking for $ac_func" >&5
64582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64583 if eval "test \"\${$as_ac_var+set}\" = set"; then
64584 echo $ECHO_N "(cached) $ECHO_C" >&6
64585 else
64586 if test x$gcc_no_link = xyes; then
64587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64589 { (exit 1); exit 1; }; }
64591 cat >conftest.$ac_ext <<_ACEOF
64592 /* confdefs.h. */
64593 _ACEOF
64594 cat confdefs.h >>conftest.$ac_ext
64595 cat >>conftest.$ac_ext <<_ACEOF
64596 /* end confdefs.h. */
64597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64599 #define $ac_func innocuous_$ac_func
64601 /* System header to define __stub macros and hopefully few prototypes,
64602 which can conflict with char $ac_func (); below.
64603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64604 <limits.h> exists even on freestanding compilers. */
64606 #ifdef __STDC__
64607 # include <limits.h>
64608 #else
64609 # include <assert.h>
64610 #endif
64612 #undef $ac_func
64614 /* Override any gcc2 internal prototype to avoid an error. */
64615 #ifdef __cplusplus
64616 extern "C"
64618 #endif
64619 /* We use char because int might match the return type of a gcc2
64620 builtin and then its argument prototype would still apply. */
64621 char $ac_func ();
64622 /* The GNU C library defines this for functions which it implements
64623 to always fail with ENOSYS. Some functions are actually named
64624 something starting with __ and the normal name is an alias. */
64625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64626 choke me
64627 #else
64628 char (*f) () = $ac_func;
64629 #endif
64630 #ifdef __cplusplus
64632 #endif
64635 main ()
64637 return f != $ac_func;
64639 return 0;
64641 _ACEOF
64642 rm -f conftest.$ac_objext conftest$ac_exeext
64643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64644 (eval $ac_link) 2>conftest.er1
64645 ac_status=$?
64646 grep -v '^ *+' conftest.er1 >conftest.err
64647 rm -f conftest.er1
64648 cat conftest.err >&5
64649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64650 (exit $ac_status); } &&
64651 { ac_try='test -z "$ac_c_werror_flag"
64652 || test ! -s conftest.err'
64653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64654 (eval $ac_try) 2>&5
64655 ac_status=$?
64656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64657 (exit $ac_status); }; } &&
64658 { ac_try='test -s conftest$ac_exeext'
64659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64660 (eval $ac_try) 2>&5
64661 ac_status=$?
64662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64663 (exit $ac_status); }; }; then
64664 eval "$as_ac_var=yes"
64665 else
64666 echo "$as_me: failed program was:" >&5
64667 sed 's/^/| /' conftest.$ac_ext >&5
64669 eval "$as_ac_var=no"
64671 rm -f conftest.err conftest.$ac_objext \
64672 conftest$ac_exeext conftest.$ac_ext
64674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64676 if test `eval echo '${'$as_ac_var'}'` = yes; then
64677 cat >>confdefs.h <<_ACEOF
64678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64679 _ACEOF
64682 done
64690 CXXFLAGS="$ac_save_CXXFLAGS"
64693 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
64694 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
64695 if test "${glibcxx_cv_S_ISREG+set}" = set; then
64696 echo $ECHO_N "(cached) $ECHO_C" >&6
64697 else
64699 if test x$gcc_no_link = xyes; then
64700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64702 { (exit 1); exit 1; }; }
64704 cat >conftest.$ac_ext <<_ACEOF
64705 /* confdefs.h. */
64706 _ACEOF
64707 cat confdefs.h >>conftest.$ac_ext
64708 cat >>conftest.$ac_ext <<_ACEOF
64709 /* end confdefs.h. */
64710 #include <sys/stat.h>
64712 main ()
64714 struct stat buffer;
64715 fstat(0, &buffer);
64716 S_ISREG(buffer.st_mode);
64718 return 0;
64720 _ACEOF
64721 rm -f conftest.$ac_objext conftest$ac_exeext
64722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64723 (eval $ac_link) 2>conftest.er1
64724 ac_status=$?
64725 grep -v '^ *+' conftest.er1 >conftest.err
64726 rm -f conftest.er1
64727 cat conftest.err >&5
64728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64729 (exit $ac_status); } &&
64730 { ac_try='test -z "$ac_c_werror_flag"
64731 || test ! -s conftest.err'
64732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64733 (eval $ac_try) 2>&5
64734 ac_status=$?
64735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64736 (exit $ac_status); }; } &&
64737 { ac_try='test -s conftest$ac_exeext'
64738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64739 (eval $ac_try) 2>&5
64740 ac_status=$?
64741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64742 (exit $ac_status); }; }; then
64743 glibcxx_cv_S_ISREG=yes
64744 else
64745 echo "$as_me: failed program was:" >&5
64746 sed 's/^/| /' conftest.$ac_ext >&5
64748 glibcxx_cv_S_ISREG=no
64750 rm -f conftest.err conftest.$ac_objext \
64751 conftest$ac_exeext conftest.$ac_ext
64755 if test "${glibcxx_cv_S_IFREG+set}" = set; then
64756 echo $ECHO_N "(cached) $ECHO_C" >&6
64757 else
64759 if test x$gcc_no_link = xyes; then
64760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64762 { (exit 1); exit 1; }; }
64764 cat >conftest.$ac_ext <<_ACEOF
64765 /* confdefs.h. */
64766 _ACEOF
64767 cat confdefs.h >>conftest.$ac_ext
64768 cat >>conftest.$ac_ext <<_ACEOF
64769 /* end confdefs.h. */
64770 #include <sys/stat.h>
64772 main ()
64774 struct stat buffer;
64775 fstat(0, &buffer);
64776 S_IFREG & buffer.st_mode;
64778 return 0;
64780 _ACEOF
64781 rm -f conftest.$ac_objext conftest$ac_exeext
64782 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64783 (eval $ac_link) 2>conftest.er1
64784 ac_status=$?
64785 grep -v '^ *+' conftest.er1 >conftest.err
64786 rm -f conftest.er1
64787 cat conftest.err >&5
64788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64789 (exit $ac_status); } &&
64790 { ac_try='test -z "$ac_c_werror_flag"
64791 || test ! -s conftest.err'
64792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64793 (eval $ac_try) 2>&5
64794 ac_status=$?
64795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64796 (exit $ac_status); }; } &&
64797 { ac_try='test -s conftest$ac_exeext'
64798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64799 (eval $ac_try) 2>&5
64800 ac_status=$?
64801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64802 (exit $ac_status); }; }; then
64803 glibcxx_cv_S_IFREG=yes
64804 else
64805 echo "$as_me: failed program was:" >&5
64806 sed 's/^/| /' conftest.$ac_ext >&5
64808 glibcxx_cv_S_IFREG=no
64810 rm -f conftest.err conftest.$ac_objext \
64811 conftest$ac_exeext conftest.$ac_ext
64815 res=no
64816 if test $glibcxx_cv_S_ISREG = yes; then
64818 cat >>confdefs.h <<\_ACEOF
64819 #define HAVE_S_ISREG 1
64820 _ACEOF
64822 res=S_ISREG
64823 elif test $glibcxx_cv_S_IFREG = yes; then
64825 cat >>confdefs.h <<\_ACEOF
64826 #define HAVE_S_IFREG 1
64827 _ACEOF
64829 res=S_IFREG
64831 echo "$as_me:$LINENO: result: $res" >&5
64832 echo "${ECHO_T}$res" >&6
64834 cat >>confdefs.h <<\_ACEOF
64835 #define HAVE_SIGSETJMP 1
64836 _ACEOF
64838 cat >>confdefs.h <<\_ACEOF
64839 #define HAVE_GETPAGESIZE 1
64840 _ACEOF
64842 cat >>confdefs.h <<\_ACEOF
64843 #define HAVE_WRITEV 1
64844 _ACEOF
64846 cat >>confdefs.h <<\_ACEOF
64847 #define HAVE_INT64_T 1
64848 _ACEOF
64851 cat >>confdefs.h <<\_ACEOF
64852 #define HAVE_LIBM 1
64853 _ACEOF
64855 cat >>confdefs.h <<\_ACEOF
64856 #define HAVE_COPYSIGN 1
64857 _ACEOF
64859 cat >>confdefs.h <<\_ACEOF
64860 #define HAVE_FINITE 1
64861 _ACEOF
64863 cat >>confdefs.h <<\_ACEOF
64864 #define HAVE_HYPOT 1
64865 _ACEOF
64867 cat >>confdefs.h <<\_ACEOF
64868 #define HAVE_ISNAN 1
64869 _ACEOF
64871 cat >>confdefs.h <<\_ACEOF
64872 #define HAVE_ISINF 1
64873 _ACEOF
64876 cat >>confdefs.h <<\_ACEOF
64877 #define HAVE_LDEXPF 1
64878 _ACEOF
64880 cat >>confdefs.h <<\_ACEOF
64881 #define HAVE_MODF 1
64882 _ACEOF
64884 cat >>confdefs.h <<\_ACEOF
64885 #define HAVE_SQRTF 1
64886 _ACEOF
64890 *-darwin*)
64891 # Darwin versions vary, but the linker should work in a cross environment,
64892 # so we just check for all the features here.
64893 # Check for available headers.
64906 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h machine/endian.h \
64907 machine/param.h sys/machine.h fp.h locale.h float.h inttypes.h \
64908 sys/types.h
64910 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
64911 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64912 echo "$as_me:$LINENO: checking for $ac_header" >&5
64913 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
64914 if eval "test \"\${$as_ac_Header+set}\" = set"; then
64915 echo $ECHO_N "(cached) $ECHO_C" >&6
64917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
64918 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
64919 else
64920 # Is the header compilable?
64921 echo "$as_me:$LINENO: checking $ac_header usability" >&5
64922 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
64923 cat >conftest.$ac_ext <<_ACEOF
64924 /* confdefs.h. */
64925 _ACEOF
64926 cat confdefs.h >>conftest.$ac_ext
64927 cat >>conftest.$ac_ext <<_ACEOF
64928 /* end confdefs.h. */
64929 $ac_includes_default
64930 #include <$ac_header>
64931 _ACEOF
64932 rm -f conftest.$ac_objext
64933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64934 (eval $ac_compile) 2>conftest.er1
64935 ac_status=$?
64936 grep -v '^ *+' conftest.er1 >conftest.err
64937 rm -f conftest.er1
64938 cat conftest.err >&5
64939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64940 (exit $ac_status); } &&
64941 { ac_try='test -z "$ac_c_werror_flag"
64942 || test ! -s conftest.err'
64943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64944 (eval $ac_try) 2>&5
64945 ac_status=$?
64946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64947 (exit $ac_status); }; } &&
64948 { ac_try='test -s conftest.$ac_objext'
64949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64950 (eval $ac_try) 2>&5
64951 ac_status=$?
64952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64953 (exit $ac_status); }; }; then
64954 ac_header_compiler=yes
64955 else
64956 echo "$as_me: failed program was:" >&5
64957 sed 's/^/| /' conftest.$ac_ext >&5
64959 ac_header_compiler=no
64961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64962 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
64963 echo "${ECHO_T}$ac_header_compiler" >&6
64965 # Is the header present?
64966 echo "$as_me:$LINENO: checking $ac_header presence" >&5
64967 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
64968 cat >conftest.$ac_ext <<_ACEOF
64969 /* confdefs.h. */
64970 _ACEOF
64971 cat confdefs.h >>conftest.$ac_ext
64972 cat >>conftest.$ac_ext <<_ACEOF
64973 /* end confdefs.h. */
64974 #include <$ac_header>
64975 _ACEOF
64976 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
64977 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
64978 ac_status=$?
64979 grep -v '^ *+' conftest.er1 >conftest.err
64980 rm -f conftest.er1
64981 cat conftest.err >&5
64982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64983 (exit $ac_status); } >/dev/null; then
64984 if test -s conftest.err; then
64985 ac_cpp_err=$ac_c_preproc_warn_flag
64986 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
64987 else
64988 ac_cpp_err=
64990 else
64991 ac_cpp_err=yes
64993 if test -z "$ac_cpp_err"; then
64994 ac_header_preproc=yes
64995 else
64996 echo "$as_me: failed program was:" >&5
64997 sed 's/^/| /' conftest.$ac_ext >&5
64999 ac_header_preproc=no
65001 rm -f conftest.err conftest.$ac_ext
65002 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
65003 echo "${ECHO_T}$ac_header_preproc" >&6
65005 # So? What about this header?
65006 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
65007 yes:no: )
65008 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
65009 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
65010 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
65011 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
65012 ac_header_preproc=yes
65014 no:yes:* )
65015 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
65016 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
65017 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
65018 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
65019 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
65020 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
65021 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
65022 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
65023 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
65024 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
65025 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
65026 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
65028 cat <<\_ASBOX
65029 ## ----------------------------------------- ##
65030 ## Report this to the package-unused lists. ##
65031 ## ----------------------------------------- ##
65032 _ASBOX
65034 sed "s/^/$as_me: WARNING: /" >&2
65036 esac
65037 echo "$as_me:$LINENO: checking for $ac_header" >&5
65038 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
65039 if eval "test \"\${$as_ac_Header+set}\" = set"; then
65040 echo $ECHO_N "(cached) $ECHO_C" >&6
65041 else
65042 eval "$as_ac_Header=\$ac_header_preproc"
65044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
65045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
65048 if test `eval echo '${'$as_ac_Header'}'` = yes; then
65049 cat >>confdefs.h <<_ACEOF
65050 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
65051 _ACEOF
65055 done
65058 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
65060 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65061 ac_save_CXXFLAGS="$CXXFLAGS"
65062 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65064 echo "$as_me:$LINENO: checking for sin in -lm" >&5
65065 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
65066 if test "${ac_cv_lib_m_sin+set}" = set; then
65067 echo $ECHO_N "(cached) $ECHO_C" >&6
65068 else
65069 ac_check_lib_save_LIBS=$LIBS
65070 LIBS="-lm $LIBS"
65071 if test x$gcc_no_link = xyes; then
65072 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65073 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65074 { (exit 1); exit 1; }; }
65076 cat >conftest.$ac_ext <<_ACEOF
65077 /* confdefs.h. */
65078 _ACEOF
65079 cat confdefs.h >>conftest.$ac_ext
65080 cat >>conftest.$ac_ext <<_ACEOF
65081 /* end confdefs.h. */
65083 /* Override any gcc2 internal prototype to avoid an error. */
65084 #ifdef __cplusplus
65085 extern "C"
65086 #endif
65087 /* We use char because int might match the return type of a gcc2
65088 builtin and then its argument prototype would still apply. */
65089 char sin ();
65091 main ()
65093 sin ();
65095 return 0;
65097 _ACEOF
65098 rm -f conftest.$ac_objext conftest$ac_exeext
65099 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65100 (eval $ac_link) 2>conftest.er1
65101 ac_status=$?
65102 grep -v '^ *+' conftest.er1 >conftest.err
65103 rm -f conftest.er1
65104 cat conftest.err >&5
65105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65106 (exit $ac_status); } &&
65107 { ac_try='test -z "$ac_c_werror_flag"
65108 || test ! -s conftest.err'
65109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65110 (eval $ac_try) 2>&5
65111 ac_status=$?
65112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65113 (exit $ac_status); }; } &&
65114 { ac_try='test -s conftest$ac_exeext'
65115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65116 (eval $ac_try) 2>&5
65117 ac_status=$?
65118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65119 (exit $ac_status); }; }; then
65120 ac_cv_lib_m_sin=yes
65121 else
65122 echo "$as_me: failed program was:" >&5
65123 sed 's/^/| /' conftest.$ac_ext >&5
65125 ac_cv_lib_m_sin=no
65127 rm -f conftest.err conftest.$ac_objext \
65128 conftest$ac_exeext conftest.$ac_ext
65129 LIBS=$ac_check_lib_save_LIBS
65131 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
65132 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
65133 if test $ac_cv_lib_m_sin = yes; then
65134 libm="-lm"
65137 ac_save_LIBS="$LIBS"
65138 LIBS="$LIBS $libm"
65142 echo "$as_me:$LINENO: checking for isinf declaration" >&5
65143 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
65144 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65145 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
65146 echo $ECHO_N "(cached) $ECHO_C" >&6
65147 else
65151 ac_ext=cc
65152 ac_cpp='$CXXCPP $CPPFLAGS'
65153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65157 cat >conftest.$ac_ext <<_ACEOF
65158 /* confdefs.h. */
65159 _ACEOF
65160 cat confdefs.h >>conftest.$ac_ext
65161 cat >>conftest.$ac_ext <<_ACEOF
65162 /* end confdefs.h. */
65163 #include <math.h>
65164 #ifdef HAVE_IEEEFP_H
65165 #include <ieeefp.h>
65166 #endif
65169 main ()
65171 isinf(0);
65173 return 0;
65175 _ACEOF
65176 rm -f conftest.$ac_objext
65177 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65178 (eval $ac_compile) 2>conftest.er1
65179 ac_status=$?
65180 grep -v '^ *+' conftest.er1 >conftest.err
65181 rm -f conftest.er1
65182 cat conftest.err >&5
65183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65184 (exit $ac_status); } &&
65185 { ac_try='test -z "$ac_cxx_werror_flag"
65186 || test ! -s conftest.err'
65187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65188 (eval $ac_try) 2>&5
65189 ac_status=$?
65190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65191 (exit $ac_status); }; } &&
65192 { ac_try='test -s conftest.$ac_objext'
65193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65194 (eval $ac_try) 2>&5
65195 ac_status=$?
65196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65197 (exit $ac_status); }; }; then
65198 glibcxx_cv_func_isinf_use=yes
65199 else
65200 echo "$as_me: failed program was:" >&5
65201 sed 's/^/| /' conftest.$ac_ext >&5
65203 glibcxx_cv_func_isinf_use=no
65205 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65206 ac_ext=c
65207 ac_cpp='$CPP $CPPFLAGS'
65208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65216 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
65217 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
65219 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65221 for ac_func in isinf
65223 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65224 echo "$as_me:$LINENO: checking for $ac_func" >&5
65225 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65226 if eval "test \"\${$as_ac_var+set}\" = set"; then
65227 echo $ECHO_N "(cached) $ECHO_C" >&6
65228 else
65229 if test x$gcc_no_link = xyes; then
65230 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65231 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65232 { (exit 1); exit 1; }; }
65234 cat >conftest.$ac_ext <<_ACEOF
65235 /* confdefs.h. */
65236 _ACEOF
65237 cat confdefs.h >>conftest.$ac_ext
65238 cat >>conftest.$ac_ext <<_ACEOF
65239 /* end confdefs.h. */
65240 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65241 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65242 #define $ac_func innocuous_$ac_func
65244 /* System header to define __stub macros and hopefully few prototypes,
65245 which can conflict with char $ac_func (); below.
65246 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65247 <limits.h> exists even on freestanding compilers. */
65249 #ifdef __STDC__
65250 # include <limits.h>
65251 #else
65252 # include <assert.h>
65253 #endif
65255 #undef $ac_func
65257 /* Override any gcc2 internal prototype to avoid an error. */
65258 #ifdef __cplusplus
65259 extern "C"
65261 #endif
65262 /* We use char because int might match the return type of a gcc2
65263 builtin and then its argument prototype would still apply. */
65264 char $ac_func ();
65265 /* The GNU C library defines this for functions which it implements
65266 to always fail with ENOSYS. Some functions are actually named
65267 something starting with __ and the normal name is an alias. */
65268 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65269 choke me
65270 #else
65271 char (*f) () = $ac_func;
65272 #endif
65273 #ifdef __cplusplus
65275 #endif
65278 main ()
65280 return f != $ac_func;
65282 return 0;
65284 _ACEOF
65285 rm -f conftest.$ac_objext conftest$ac_exeext
65286 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65287 (eval $ac_link) 2>conftest.er1
65288 ac_status=$?
65289 grep -v '^ *+' conftest.er1 >conftest.err
65290 rm -f conftest.er1
65291 cat conftest.err >&5
65292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65293 (exit $ac_status); } &&
65294 { ac_try='test -z "$ac_c_werror_flag"
65295 || test ! -s conftest.err'
65296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65297 (eval $ac_try) 2>&5
65298 ac_status=$?
65299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65300 (exit $ac_status); }; } &&
65301 { ac_try='test -s conftest$ac_exeext'
65302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65303 (eval $ac_try) 2>&5
65304 ac_status=$?
65305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65306 (exit $ac_status); }; }; then
65307 eval "$as_ac_var=yes"
65308 else
65309 echo "$as_me: failed program was:" >&5
65310 sed 's/^/| /' conftest.$ac_ext >&5
65312 eval "$as_ac_var=no"
65314 rm -f conftest.err conftest.$ac_objext \
65315 conftest$ac_exeext conftest.$ac_ext
65317 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65318 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65319 if test `eval echo '${'$as_ac_var'}'` = yes; then
65320 cat >>confdefs.h <<_ACEOF
65321 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65322 _ACEOF
65325 done
65327 else
65329 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
65330 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
65331 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65332 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
65333 echo $ECHO_N "(cached) $ECHO_C" >&6
65334 else
65338 ac_ext=cc
65339 ac_cpp='$CXXCPP $CPPFLAGS'
65340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65344 cat >conftest.$ac_ext <<_ACEOF
65345 /* confdefs.h. */
65346 _ACEOF
65347 cat confdefs.h >>conftest.$ac_ext
65348 cat >>conftest.$ac_ext <<_ACEOF
65349 /* end confdefs.h. */
65350 #include <math.h>
65351 #ifdef HAVE_IEEEFP_H
65352 #include <ieeefp.h>
65353 #endif
65356 main ()
65358 _isinf(0);
65360 return 0;
65362 _ACEOF
65363 rm -f conftest.$ac_objext
65364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65365 (eval $ac_compile) 2>conftest.er1
65366 ac_status=$?
65367 grep -v '^ *+' conftest.er1 >conftest.err
65368 rm -f conftest.er1
65369 cat conftest.err >&5
65370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65371 (exit $ac_status); } &&
65372 { ac_try='test -z "$ac_cxx_werror_flag"
65373 || test ! -s conftest.err'
65374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65375 (eval $ac_try) 2>&5
65376 ac_status=$?
65377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65378 (exit $ac_status); }; } &&
65379 { ac_try='test -s conftest.$ac_objext'
65380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65381 (eval $ac_try) 2>&5
65382 ac_status=$?
65383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65384 (exit $ac_status); }; }; then
65385 glibcxx_cv_func__isinf_use=yes
65386 else
65387 echo "$as_me: failed program was:" >&5
65388 sed 's/^/| /' conftest.$ac_ext >&5
65390 glibcxx_cv_func__isinf_use=no
65392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65393 ac_ext=c
65394 ac_cpp='$CPP $CPPFLAGS'
65395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65403 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
65404 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
65406 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65408 for ac_func in _isinf
65410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65411 echo "$as_me:$LINENO: checking for $ac_func" >&5
65412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65413 if eval "test \"\${$as_ac_var+set}\" = set"; then
65414 echo $ECHO_N "(cached) $ECHO_C" >&6
65415 else
65416 if test x$gcc_no_link = xyes; then
65417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65419 { (exit 1); exit 1; }; }
65421 cat >conftest.$ac_ext <<_ACEOF
65422 /* confdefs.h. */
65423 _ACEOF
65424 cat confdefs.h >>conftest.$ac_ext
65425 cat >>conftest.$ac_ext <<_ACEOF
65426 /* end confdefs.h. */
65427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65429 #define $ac_func innocuous_$ac_func
65431 /* System header to define __stub macros and hopefully few prototypes,
65432 which can conflict with char $ac_func (); below.
65433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65434 <limits.h> exists even on freestanding compilers. */
65436 #ifdef __STDC__
65437 # include <limits.h>
65438 #else
65439 # include <assert.h>
65440 #endif
65442 #undef $ac_func
65444 /* Override any gcc2 internal prototype to avoid an error. */
65445 #ifdef __cplusplus
65446 extern "C"
65448 #endif
65449 /* We use char because int might match the return type of a gcc2
65450 builtin and then its argument prototype would still apply. */
65451 char $ac_func ();
65452 /* The GNU C library defines this for functions which it implements
65453 to always fail with ENOSYS. Some functions are actually named
65454 something starting with __ and the normal name is an alias. */
65455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65456 choke me
65457 #else
65458 char (*f) () = $ac_func;
65459 #endif
65460 #ifdef __cplusplus
65462 #endif
65465 main ()
65467 return f != $ac_func;
65469 return 0;
65471 _ACEOF
65472 rm -f conftest.$ac_objext conftest$ac_exeext
65473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65474 (eval $ac_link) 2>conftest.er1
65475 ac_status=$?
65476 grep -v '^ *+' conftest.er1 >conftest.err
65477 rm -f conftest.er1
65478 cat conftest.err >&5
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); } &&
65481 { ac_try='test -z "$ac_c_werror_flag"
65482 || test ! -s conftest.err'
65483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65484 (eval $ac_try) 2>&5
65485 ac_status=$?
65486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65487 (exit $ac_status); }; } &&
65488 { ac_try='test -s conftest$ac_exeext'
65489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65490 (eval $ac_try) 2>&5
65491 ac_status=$?
65492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65493 (exit $ac_status); }; }; then
65494 eval "$as_ac_var=yes"
65495 else
65496 echo "$as_me: failed program was:" >&5
65497 sed 's/^/| /' conftest.$ac_ext >&5
65499 eval "$as_ac_var=no"
65501 rm -f conftest.err conftest.$ac_objext \
65502 conftest$ac_exeext conftest.$ac_ext
65504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65506 if test `eval echo '${'$as_ac_var'}'` = yes; then
65507 cat >>confdefs.h <<_ACEOF
65508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65509 _ACEOF
65512 done
65522 echo "$as_me:$LINENO: checking for isnan declaration" >&5
65523 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
65524 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65525 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
65526 echo $ECHO_N "(cached) $ECHO_C" >&6
65527 else
65531 ac_ext=cc
65532 ac_cpp='$CXXCPP $CPPFLAGS'
65533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65537 cat >conftest.$ac_ext <<_ACEOF
65538 /* confdefs.h. */
65539 _ACEOF
65540 cat confdefs.h >>conftest.$ac_ext
65541 cat >>conftest.$ac_ext <<_ACEOF
65542 /* end confdefs.h. */
65543 #include <math.h>
65544 #ifdef HAVE_IEEEFP_H
65545 #include <ieeefp.h>
65546 #endif
65549 main ()
65551 isnan(0);
65553 return 0;
65555 _ACEOF
65556 rm -f conftest.$ac_objext
65557 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65558 (eval $ac_compile) 2>conftest.er1
65559 ac_status=$?
65560 grep -v '^ *+' conftest.er1 >conftest.err
65561 rm -f conftest.er1
65562 cat conftest.err >&5
65563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65564 (exit $ac_status); } &&
65565 { ac_try='test -z "$ac_cxx_werror_flag"
65566 || test ! -s conftest.err'
65567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65568 (eval $ac_try) 2>&5
65569 ac_status=$?
65570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65571 (exit $ac_status); }; } &&
65572 { ac_try='test -s conftest.$ac_objext'
65573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65574 (eval $ac_try) 2>&5
65575 ac_status=$?
65576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65577 (exit $ac_status); }; }; then
65578 glibcxx_cv_func_isnan_use=yes
65579 else
65580 echo "$as_me: failed program was:" >&5
65581 sed 's/^/| /' conftest.$ac_ext >&5
65583 glibcxx_cv_func_isnan_use=no
65585 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65586 ac_ext=c
65587 ac_cpp='$CPP $CPPFLAGS'
65588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65596 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
65597 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
65599 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65601 for ac_func in isnan
65603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65604 echo "$as_me:$LINENO: checking for $ac_func" >&5
65605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65606 if eval "test \"\${$as_ac_var+set}\" = set"; then
65607 echo $ECHO_N "(cached) $ECHO_C" >&6
65608 else
65609 if test x$gcc_no_link = xyes; then
65610 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65611 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65612 { (exit 1); exit 1; }; }
65614 cat >conftest.$ac_ext <<_ACEOF
65615 /* confdefs.h. */
65616 _ACEOF
65617 cat confdefs.h >>conftest.$ac_ext
65618 cat >>conftest.$ac_ext <<_ACEOF
65619 /* end confdefs.h. */
65620 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65621 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65622 #define $ac_func innocuous_$ac_func
65624 /* System header to define __stub macros and hopefully few prototypes,
65625 which can conflict with char $ac_func (); below.
65626 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65627 <limits.h> exists even on freestanding compilers. */
65629 #ifdef __STDC__
65630 # include <limits.h>
65631 #else
65632 # include <assert.h>
65633 #endif
65635 #undef $ac_func
65637 /* Override any gcc2 internal prototype to avoid an error. */
65638 #ifdef __cplusplus
65639 extern "C"
65641 #endif
65642 /* We use char because int might match the return type of a gcc2
65643 builtin and then its argument prototype would still apply. */
65644 char $ac_func ();
65645 /* The GNU C library defines this for functions which it implements
65646 to always fail with ENOSYS. Some functions are actually named
65647 something starting with __ and the normal name is an alias. */
65648 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65649 choke me
65650 #else
65651 char (*f) () = $ac_func;
65652 #endif
65653 #ifdef __cplusplus
65655 #endif
65658 main ()
65660 return f != $ac_func;
65662 return 0;
65664 _ACEOF
65665 rm -f conftest.$ac_objext conftest$ac_exeext
65666 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65667 (eval $ac_link) 2>conftest.er1
65668 ac_status=$?
65669 grep -v '^ *+' conftest.er1 >conftest.err
65670 rm -f conftest.er1
65671 cat conftest.err >&5
65672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65673 (exit $ac_status); } &&
65674 { ac_try='test -z "$ac_c_werror_flag"
65675 || test ! -s conftest.err'
65676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65677 (eval $ac_try) 2>&5
65678 ac_status=$?
65679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65680 (exit $ac_status); }; } &&
65681 { ac_try='test -s conftest$ac_exeext'
65682 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65683 (eval $ac_try) 2>&5
65684 ac_status=$?
65685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65686 (exit $ac_status); }; }; then
65687 eval "$as_ac_var=yes"
65688 else
65689 echo "$as_me: failed program was:" >&5
65690 sed 's/^/| /' conftest.$ac_ext >&5
65692 eval "$as_ac_var=no"
65694 rm -f conftest.err conftest.$ac_objext \
65695 conftest$ac_exeext conftest.$ac_ext
65697 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65698 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65699 if test `eval echo '${'$as_ac_var'}'` = yes; then
65700 cat >>confdefs.h <<_ACEOF
65701 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65702 _ACEOF
65705 done
65707 else
65709 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
65710 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
65711 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65712 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
65713 echo $ECHO_N "(cached) $ECHO_C" >&6
65714 else
65718 ac_ext=cc
65719 ac_cpp='$CXXCPP $CPPFLAGS'
65720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65724 cat >conftest.$ac_ext <<_ACEOF
65725 /* confdefs.h. */
65726 _ACEOF
65727 cat confdefs.h >>conftest.$ac_ext
65728 cat >>conftest.$ac_ext <<_ACEOF
65729 /* end confdefs.h. */
65730 #include <math.h>
65731 #ifdef HAVE_IEEEFP_H
65732 #include <ieeefp.h>
65733 #endif
65736 main ()
65738 _isnan(0);
65740 return 0;
65742 _ACEOF
65743 rm -f conftest.$ac_objext
65744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65745 (eval $ac_compile) 2>conftest.er1
65746 ac_status=$?
65747 grep -v '^ *+' conftest.er1 >conftest.err
65748 rm -f conftest.er1
65749 cat conftest.err >&5
65750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65751 (exit $ac_status); } &&
65752 { ac_try='test -z "$ac_cxx_werror_flag"
65753 || test ! -s conftest.err'
65754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65755 (eval $ac_try) 2>&5
65756 ac_status=$?
65757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65758 (exit $ac_status); }; } &&
65759 { ac_try='test -s conftest.$ac_objext'
65760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65761 (eval $ac_try) 2>&5
65762 ac_status=$?
65763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65764 (exit $ac_status); }; }; then
65765 glibcxx_cv_func__isnan_use=yes
65766 else
65767 echo "$as_me: failed program was:" >&5
65768 sed 's/^/| /' conftest.$ac_ext >&5
65770 glibcxx_cv_func__isnan_use=no
65772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65773 ac_ext=c
65774 ac_cpp='$CPP $CPPFLAGS'
65775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65783 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
65784 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
65786 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65788 for ac_func in _isnan
65790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65791 echo "$as_me:$LINENO: checking for $ac_func" >&5
65792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65793 if eval "test \"\${$as_ac_var+set}\" = set"; then
65794 echo $ECHO_N "(cached) $ECHO_C" >&6
65795 else
65796 if test x$gcc_no_link = xyes; then
65797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65799 { (exit 1); exit 1; }; }
65801 cat >conftest.$ac_ext <<_ACEOF
65802 /* confdefs.h. */
65803 _ACEOF
65804 cat confdefs.h >>conftest.$ac_ext
65805 cat >>conftest.$ac_ext <<_ACEOF
65806 /* end confdefs.h. */
65807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65809 #define $ac_func innocuous_$ac_func
65811 /* System header to define __stub macros and hopefully few prototypes,
65812 which can conflict with char $ac_func (); below.
65813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65814 <limits.h> exists even on freestanding compilers. */
65816 #ifdef __STDC__
65817 # include <limits.h>
65818 #else
65819 # include <assert.h>
65820 #endif
65822 #undef $ac_func
65824 /* Override any gcc2 internal prototype to avoid an error. */
65825 #ifdef __cplusplus
65826 extern "C"
65828 #endif
65829 /* We use char because int might match the return type of a gcc2
65830 builtin and then its argument prototype would still apply. */
65831 char $ac_func ();
65832 /* The GNU C library defines this for functions which it implements
65833 to always fail with ENOSYS. Some functions are actually named
65834 something starting with __ and the normal name is an alias. */
65835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65836 choke me
65837 #else
65838 char (*f) () = $ac_func;
65839 #endif
65840 #ifdef __cplusplus
65842 #endif
65845 main ()
65847 return f != $ac_func;
65849 return 0;
65851 _ACEOF
65852 rm -f conftest.$ac_objext conftest$ac_exeext
65853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65854 (eval $ac_link) 2>conftest.er1
65855 ac_status=$?
65856 grep -v '^ *+' conftest.er1 >conftest.err
65857 rm -f conftest.er1
65858 cat conftest.err >&5
65859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65860 (exit $ac_status); } &&
65861 { ac_try='test -z "$ac_c_werror_flag"
65862 || test ! -s conftest.err'
65863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65864 (eval $ac_try) 2>&5
65865 ac_status=$?
65866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65867 (exit $ac_status); }; } &&
65868 { ac_try='test -s conftest$ac_exeext'
65869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65870 (eval $ac_try) 2>&5
65871 ac_status=$?
65872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65873 (exit $ac_status); }; }; then
65874 eval "$as_ac_var=yes"
65875 else
65876 echo "$as_me: failed program was:" >&5
65877 sed 's/^/| /' conftest.$ac_ext >&5
65879 eval "$as_ac_var=no"
65881 rm -f conftest.err conftest.$ac_objext \
65882 conftest$ac_exeext conftest.$ac_ext
65884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65886 if test `eval echo '${'$as_ac_var'}'` = yes; then
65887 cat >>confdefs.h <<_ACEOF
65888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65889 _ACEOF
65892 done
65902 echo "$as_me:$LINENO: checking for finite declaration" >&5
65903 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
65904 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65905 if test "${glibcxx_cv_func_finite_use+set}" = set; then
65906 echo $ECHO_N "(cached) $ECHO_C" >&6
65907 else
65911 ac_ext=cc
65912 ac_cpp='$CXXCPP $CPPFLAGS'
65913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65917 cat >conftest.$ac_ext <<_ACEOF
65918 /* confdefs.h. */
65919 _ACEOF
65920 cat confdefs.h >>conftest.$ac_ext
65921 cat >>conftest.$ac_ext <<_ACEOF
65922 /* end confdefs.h. */
65923 #include <math.h>
65924 #ifdef HAVE_IEEEFP_H
65925 #include <ieeefp.h>
65926 #endif
65929 main ()
65931 finite(0);
65933 return 0;
65935 _ACEOF
65936 rm -f conftest.$ac_objext
65937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65938 (eval $ac_compile) 2>conftest.er1
65939 ac_status=$?
65940 grep -v '^ *+' conftest.er1 >conftest.err
65941 rm -f conftest.er1
65942 cat conftest.err >&5
65943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65944 (exit $ac_status); } &&
65945 { ac_try='test -z "$ac_cxx_werror_flag"
65946 || test ! -s conftest.err'
65947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65948 (eval $ac_try) 2>&5
65949 ac_status=$?
65950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65951 (exit $ac_status); }; } &&
65952 { ac_try='test -s conftest.$ac_objext'
65953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65954 (eval $ac_try) 2>&5
65955 ac_status=$?
65956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65957 (exit $ac_status); }; }; then
65958 glibcxx_cv_func_finite_use=yes
65959 else
65960 echo "$as_me: failed program was:" >&5
65961 sed 's/^/| /' conftest.$ac_ext >&5
65963 glibcxx_cv_func_finite_use=no
65965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65966 ac_ext=c
65967 ac_cpp='$CPP $CPPFLAGS'
65968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
65977 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
65979 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65981 for ac_func in finite
65983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65984 echo "$as_me:$LINENO: checking for $ac_func" >&5
65985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65986 if eval "test \"\${$as_ac_var+set}\" = set"; then
65987 echo $ECHO_N "(cached) $ECHO_C" >&6
65988 else
65989 if test x$gcc_no_link = xyes; then
65990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65992 { (exit 1); exit 1; }; }
65994 cat >conftest.$ac_ext <<_ACEOF
65995 /* confdefs.h. */
65996 _ACEOF
65997 cat confdefs.h >>conftest.$ac_ext
65998 cat >>conftest.$ac_ext <<_ACEOF
65999 /* end confdefs.h. */
66000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66002 #define $ac_func innocuous_$ac_func
66004 /* System header to define __stub macros and hopefully few prototypes,
66005 which can conflict with char $ac_func (); below.
66006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66007 <limits.h> exists even on freestanding compilers. */
66009 #ifdef __STDC__
66010 # include <limits.h>
66011 #else
66012 # include <assert.h>
66013 #endif
66015 #undef $ac_func
66017 /* Override any gcc2 internal prototype to avoid an error. */
66018 #ifdef __cplusplus
66019 extern "C"
66021 #endif
66022 /* We use char because int might match the return type of a gcc2
66023 builtin and then its argument prototype would still apply. */
66024 char $ac_func ();
66025 /* The GNU C library defines this for functions which it implements
66026 to always fail with ENOSYS. Some functions are actually named
66027 something starting with __ and the normal name is an alias. */
66028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66029 choke me
66030 #else
66031 char (*f) () = $ac_func;
66032 #endif
66033 #ifdef __cplusplus
66035 #endif
66038 main ()
66040 return f != $ac_func;
66042 return 0;
66044 _ACEOF
66045 rm -f conftest.$ac_objext conftest$ac_exeext
66046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66047 (eval $ac_link) 2>conftest.er1
66048 ac_status=$?
66049 grep -v '^ *+' conftest.er1 >conftest.err
66050 rm -f conftest.er1
66051 cat conftest.err >&5
66052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66053 (exit $ac_status); } &&
66054 { ac_try='test -z "$ac_c_werror_flag"
66055 || test ! -s conftest.err'
66056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66057 (eval $ac_try) 2>&5
66058 ac_status=$?
66059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66060 (exit $ac_status); }; } &&
66061 { ac_try='test -s conftest$ac_exeext'
66062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66063 (eval $ac_try) 2>&5
66064 ac_status=$?
66065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66066 (exit $ac_status); }; }; then
66067 eval "$as_ac_var=yes"
66068 else
66069 echo "$as_me: failed program was:" >&5
66070 sed 's/^/| /' conftest.$ac_ext >&5
66072 eval "$as_ac_var=no"
66074 rm -f conftest.err conftest.$ac_objext \
66075 conftest$ac_exeext conftest.$ac_ext
66077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66079 if test `eval echo '${'$as_ac_var'}'` = yes; then
66080 cat >>confdefs.h <<_ACEOF
66081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66082 _ACEOF
66085 done
66087 else
66089 echo "$as_me:$LINENO: checking for _finite declaration" >&5
66090 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
66091 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66092 if test "${glibcxx_cv_func__finite_use+set}" = set; then
66093 echo $ECHO_N "(cached) $ECHO_C" >&6
66094 else
66098 ac_ext=cc
66099 ac_cpp='$CXXCPP $CPPFLAGS'
66100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66104 cat >conftest.$ac_ext <<_ACEOF
66105 /* confdefs.h. */
66106 _ACEOF
66107 cat confdefs.h >>conftest.$ac_ext
66108 cat >>conftest.$ac_ext <<_ACEOF
66109 /* end confdefs.h. */
66110 #include <math.h>
66111 #ifdef HAVE_IEEEFP_H
66112 #include <ieeefp.h>
66113 #endif
66116 main ()
66118 _finite(0);
66120 return 0;
66122 _ACEOF
66123 rm -f conftest.$ac_objext
66124 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66125 (eval $ac_compile) 2>conftest.er1
66126 ac_status=$?
66127 grep -v '^ *+' conftest.er1 >conftest.err
66128 rm -f conftest.er1
66129 cat conftest.err >&5
66130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66131 (exit $ac_status); } &&
66132 { ac_try='test -z "$ac_cxx_werror_flag"
66133 || test ! -s conftest.err'
66134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66135 (eval $ac_try) 2>&5
66136 ac_status=$?
66137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66138 (exit $ac_status); }; } &&
66139 { ac_try='test -s conftest.$ac_objext'
66140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66141 (eval $ac_try) 2>&5
66142 ac_status=$?
66143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66144 (exit $ac_status); }; }; then
66145 glibcxx_cv_func__finite_use=yes
66146 else
66147 echo "$as_me: failed program was:" >&5
66148 sed 's/^/| /' conftest.$ac_ext >&5
66150 glibcxx_cv_func__finite_use=no
66152 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66153 ac_ext=c
66154 ac_cpp='$CPP $CPPFLAGS'
66155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66163 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
66164 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
66166 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66168 for ac_func in _finite
66170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66171 echo "$as_me:$LINENO: checking for $ac_func" >&5
66172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66173 if eval "test \"\${$as_ac_var+set}\" = set"; then
66174 echo $ECHO_N "(cached) $ECHO_C" >&6
66175 else
66176 if test x$gcc_no_link = xyes; then
66177 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66178 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66179 { (exit 1); exit 1; }; }
66181 cat >conftest.$ac_ext <<_ACEOF
66182 /* confdefs.h. */
66183 _ACEOF
66184 cat confdefs.h >>conftest.$ac_ext
66185 cat >>conftest.$ac_ext <<_ACEOF
66186 /* end confdefs.h. */
66187 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66188 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66189 #define $ac_func innocuous_$ac_func
66191 /* System header to define __stub macros and hopefully few prototypes,
66192 which can conflict with char $ac_func (); below.
66193 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66194 <limits.h> exists even on freestanding compilers. */
66196 #ifdef __STDC__
66197 # include <limits.h>
66198 #else
66199 # include <assert.h>
66200 #endif
66202 #undef $ac_func
66204 /* Override any gcc2 internal prototype to avoid an error. */
66205 #ifdef __cplusplus
66206 extern "C"
66208 #endif
66209 /* We use char because int might match the return type of a gcc2
66210 builtin and then its argument prototype would still apply. */
66211 char $ac_func ();
66212 /* The GNU C library defines this for functions which it implements
66213 to always fail with ENOSYS. Some functions are actually named
66214 something starting with __ and the normal name is an alias. */
66215 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66216 choke me
66217 #else
66218 char (*f) () = $ac_func;
66219 #endif
66220 #ifdef __cplusplus
66222 #endif
66225 main ()
66227 return f != $ac_func;
66229 return 0;
66231 _ACEOF
66232 rm -f conftest.$ac_objext conftest$ac_exeext
66233 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66234 (eval $ac_link) 2>conftest.er1
66235 ac_status=$?
66236 grep -v '^ *+' conftest.er1 >conftest.err
66237 rm -f conftest.er1
66238 cat conftest.err >&5
66239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66240 (exit $ac_status); } &&
66241 { ac_try='test -z "$ac_c_werror_flag"
66242 || test ! -s conftest.err'
66243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66244 (eval $ac_try) 2>&5
66245 ac_status=$?
66246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66247 (exit $ac_status); }; } &&
66248 { ac_try='test -s conftest$ac_exeext'
66249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66250 (eval $ac_try) 2>&5
66251 ac_status=$?
66252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66253 (exit $ac_status); }; }; then
66254 eval "$as_ac_var=yes"
66255 else
66256 echo "$as_me: failed program was:" >&5
66257 sed 's/^/| /' conftest.$ac_ext >&5
66259 eval "$as_ac_var=no"
66261 rm -f conftest.err conftest.$ac_objext \
66262 conftest$ac_exeext conftest.$ac_ext
66264 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66265 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66266 if test `eval echo '${'$as_ac_var'}'` = yes; then
66267 cat >>confdefs.h <<_ACEOF
66268 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66269 _ACEOF
66272 done
66282 echo "$as_me:$LINENO: checking for copysign declaration" >&5
66283 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
66284 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
66285 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
66286 echo $ECHO_N "(cached) $ECHO_C" >&6
66287 else
66291 ac_ext=cc
66292 ac_cpp='$CXXCPP $CPPFLAGS'
66293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66297 cat >conftest.$ac_ext <<_ACEOF
66298 /* confdefs.h. */
66299 _ACEOF
66300 cat confdefs.h >>conftest.$ac_ext
66301 cat >>conftest.$ac_ext <<_ACEOF
66302 /* end confdefs.h. */
66303 #include <math.h>
66305 main ()
66307 copysign(0, 0);
66309 return 0;
66311 _ACEOF
66312 rm -f conftest.$ac_objext
66313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66314 (eval $ac_compile) 2>conftest.er1
66315 ac_status=$?
66316 grep -v '^ *+' conftest.er1 >conftest.err
66317 rm -f conftest.er1
66318 cat conftest.err >&5
66319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66320 (exit $ac_status); } &&
66321 { ac_try='test -z "$ac_cxx_werror_flag"
66322 || test ! -s conftest.err'
66323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66324 (eval $ac_try) 2>&5
66325 ac_status=$?
66326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66327 (exit $ac_status); }; } &&
66328 { ac_try='test -s conftest.$ac_objext'
66329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66330 (eval $ac_try) 2>&5
66331 ac_status=$?
66332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66333 (exit $ac_status); }; }; then
66334 glibcxx_cv_func_copysign_use=yes
66335 else
66336 echo "$as_me: failed program was:" >&5
66337 sed 's/^/| /' conftest.$ac_ext >&5
66339 glibcxx_cv_func_copysign_use=no
66341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66342 ac_ext=c
66343 ac_cpp='$CPP $CPPFLAGS'
66344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
66353 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
66355 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
66357 for ac_func in copysign
66359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66360 echo "$as_me:$LINENO: checking for $ac_func" >&5
66361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66362 if eval "test \"\${$as_ac_var+set}\" = set"; then
66363 echo $ECHO_N "(cached) $ECHO_C" >&6
66364 else
66365 if test x$gcc_no_link = xyes; then
66366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66368 { (exit 1); exit 1; }; }
66370 cat >conftest.$ac_ext <<_ACEOF
66371 /* confdefs.h. */
66372 _ACEOF
66373 cat confdefs.h >>conftest.$ac_ext
66374 cat >>conftest.$ac_ext <<_ACEOF
66375 /* end confdefs.h. */
66376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66378 #define $ac_func innocuous_$ac_func
66380 /* System header to define __stub macros and hopefully few prototypes,
66381 which can conflict with char $ac_func (); below.
66382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66383 <limits.h> exists even on freestanding compilers. */
66385 #ifdef __STDC__
66386 # include <limits.h>
66387 #else
66388 # include <assert.h>
66389 #endif
66391 #undef $ac_func
66393 /* Override any gcc2 internal prototype to avoid an error. */
66394 #ifdef __cplusplus
66395 extern "C"
66397 #endif
66398 /* We use char because int might match the return type of a gcc2
66399 builtin and then its argument prototype would still apply. */
66400 char $ac_func ();
66401 /* The GNU C library defines this for functions which it implements
66402 to always fail with ENOSYS. Some functions are actually named
66403 something starting with __ and the normal name is an alias. */
66404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66405 choke me
66406 #else
66407 char (*f) () = $ac_func;
66408 #endif
66409 #ifdef __cplusplus
66411 #endif
66414 main ()
66416 return f != $ac_func;
66418 return 0;
66420 _ACEOF
66421 rm -f conftest.$ac_objext conftest$ac_exeext
66422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66423 (eval $ac_link) 2>conftest.er1
66424 ac_status=$?
66425 grep -v '^ *+' conftest.er1 >conftest.err
66426 rm -f conftest.er1
66427 cat conftest.err >&5
66428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66429 (exit $ac_status); } &&
66430 { ac_try='test -z "$ac_c_werror_flag"
66431 || test ! -s conftest.err'
66432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66433 (eval $ac_try) 2>&5
66434 ac_status=$?
66435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66436 (exit $ac_status); }; } &&
66437 { ac_try='test -s conftest$ac_exeext'
66438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66439 (eval $ac_try) 2>&5
66440 ac_status=$?
66441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66442 (exit $ac_status); }; }; then
66443 eval "$as_ac_var=yes"
66444 else
66445 echo "$as_me: failed program was:" >&5
66446 sed 's/^/| /' conftest.$ac_ext >&5
66448 eval "$as_ac_var=no"
66450 rm -f conftest.err conftest.$ac_objext \
66451 conftest$ac_exeext conftest.$ac_ext
66453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66455 if test `eval echo '${'$as_ac_var'}'` = yes; then
66456 cat >>confdefs.h <<_ACEOF
66457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66458 _ACEOF
66461 done
66463 else
66465 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
66466 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
66467 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
66468 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
66469 echo $ECHO_N "(cached) $ECHO_C" >&6
66470 else
66474 ac_ext=cc
66475 ac_cpp='$CXXCPP $CPPFLAGS'
66476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66480 cat >conftest.$ac_ext <<_ACEOF
66481 /* confdefs.h. */
66482 _ACEOF
66483 cat confdefs.h >>conftest.$ac_ext
66484 cat >>conftest.$ac_ext <<_ACEOF
66485 /* end confdefs.h. */
66486 #include <math.h>
66488 main ()
66490 _copysign(0, 0);
66492 return 0;
66494 _ACEOF
66495 rm -f conftest.$ac_objext
66496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66497 (eval $ac_compile) 2>conftest.er1
66498 ac_status=$?
66499 grep -v '^ *+' conftest.er1 >conftest.err
66500 rm -f conftest.er1
66501 cat conftest.err >&5
66502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66503 (exit $ac_status); } &&
66504 { ac_try='test -z "$ac_cxx_werror_flag"
66505 || test ! -s conftest.err'
66506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66507 (eval $ac_try) 2>&5
66508 ac_status=$?
66509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66510 (exit $ac_status); }; } &&
66511 { ac_try='test -s conftest.$ac_objext'
66512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66513 (eval $ac_try) 2>&5
66514 ac_status=$?
66515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66516 (exit $ac_status); }; }; then
66517 glibcxx_cv_func__copysign_use=yes
66518 else
66519 echo "$as_me: failed program was:" >&5
66520 sed 's/^/| /' conftest.$ac_ext >&5
66522 glibcxx_cv_func__copysign_use=no
66524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66525 ac_ext=c
66526 ac_cpp='$CPP $CPPFLAGS'
66527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66535 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
66536 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
66538 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
66540 for ac_func in _copysign
66542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66543 echo "$as_me:$LINENO: checking for $ac_func" >&5
66544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66545 if eval "test \"\${$as_ac_var+set}\" = set"; then
66546 echo $ECHO_N "(cached) $ECHO_C" >&6
66547 else
66548 if test x$gcc_no_link = xyes; then
66549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66551 { (exit 1); exit 1; }; }
66553 cat >conftest.$ac_ext <<_ACEOF
66554 /* confdefs.h. */
66555 _ACEOF
66556 cat confdefs.h >>conftest.$ac_ext
66557 cat >>conftest.$ac_ext <<_ACEOF
66558 /* end confdefs.h. */
66559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66561 #define $ac_func innocuous_$ac_func
66563 /* System header to define __stub macros and hopefully few prototypes,
66564 which can conflict with char $ac_func (); below.
66565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66566 <limits.h> exists even on freestanding compilers. */
66568 #ifdef __STDC__
66569 # include <limits.h>
66570 #else
66571 # include <assert.h>
66572 #endif
66574 #undef $ac_func
66576 /* Override any gcc2 internal prototype to avoid an error. */
66577 #ifdef __cplusplus
66578 extern "C"
66580 #endif
66581 /* We use char because int might match the return type of a gcc2
66582 builtin and then its argument prototype would still apply. */
66583 char $ac_func ();
66584 /* The GNU C library defines this for functions which it implements
66585 to always fail with ENOSYS. Some functions are actually named
66586 something starting with __ and the normal name is an alias. */
66587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66588 choke me
66589 #else
66590 char (*f) () = $ac_func;
66591 #endif
66592 #ifdef __cplusplus
66594 #endif
66597 main ()
66599 return f != $ac_func;
66601 return 0;
66603 _ACEOF
66604 rm -f conftest.$ac_objext conftest$ac_exeext
66605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66606 (eval $ac_link) 2>conftest.er1
66607 ac_status=$?
66608 grep -v '^ *+' conftest.er1 >conftest.err
66609 rm -f conftest.er1
66610 cat conftest.err >&5
66611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66612 (exit $ac_status); } &&
66613 { ac_try='test -z "$ac_c_werror_flag"
66614 || test ! -s conftest.err'
66615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66616 (eval $ac_try) 2>&5
66617 ac_status=$?
66618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66619 (exit $ac_status); }; } &&
66620 { ac_try='test -s conftest$ac_exeext'
66621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66622 (eval $ac_try) 2>&5
66623 ac_status=$?
66624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66625 (exit $ac_status); }; }; then
66626 eval "$as_ac_var=yes"
66627 else
66628 echo "$as_me: failed program was:" >&5
66629 sed 's/^/| /' conftest.$ac_ext >&5
66631 eval "$as_ac_var=no"
66633 rm -f conftest.err conftest.$ac_objext \
66634 conftest$ac_exeext conftest.$ac_ext
66636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66638 if test `eval echo '${'$as_ac_var'}'` = yes; then
66639 cat >>confdefs.h <<_ACEOF
66640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66641 _ACEOF
66644 done
66654 echo "$as_me:$LINENO: checking for sincos declaration" >&5
66655 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
66656 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66657 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
66658 echo $ECHO_N "(cached) $ECHO_C" >&6
66659 else
66663 ac_ext=cc
66664 ac_cpp='$CXXCPP $CPPFLAGS'
66665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66669 cat >conftest.$ac_ext <<_ACEOF
66670 /* confdefs.h. */
66671 _ACEOF
66672 cat confdefs.h >>conftest.$ac_ext
66673 cat >>conftest.$ac_ext <<_ACEOF
66674 /* end confdefs.h. */
66675 #include <math.h>
66677 main ()
66679 sincos(0, 0, 0);
66681 return 0;
66683 _ACEOF
66684 rm -f conftest.$ac_objext
66685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66686 (eval $ac_compile) 2>conftest.er1
66687 ac_status=$?
66688 grep -v '^ *+' conftest.er1 >conftest.err
66689 rm -f conftest.er1
66690 cat conftest.err >&5
66691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66692 (exit $ac_status); } &&
66693 { ac_try='test -z "$ac_cxx_werror_flag"
66694 || test ! -s conftest.err'
66695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66696 (eval $ac_try) 2>&5
66697 ac_status=$?
66698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66699 (exit $ac_status); }; } &&
66700 { ac_try='test -s conftest.$ac_objext'
66701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66702 (eval $ac_try) 2>&5
66703 ac_status=$?
66704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66705 (exit $ac_status); }; }; then
66706 glibcxx_cv_func_sincos_use=yes
66707 else
66708 echo "$as_me: failed program was:" >&5
66709 sed 's/^/| /' conftest.$ac_ext >&5
66711 glibcxx_cv_func_sincos_use=no
66713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66714 ac_ext=c
66715 ac_cpp='$CPP $CPPFLAGS'
66716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
66725 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
66727 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66729 for ac_func in sincos
66731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66732 echo "$as_me:$LINENO: checking for $ac_func" >&5
66733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66734 if eval "test \"\${$as_ac_var+set}\" = set"; then
66735 echo $ECHO_N "(cached) $ECHO_C" >&6
66736 else
66737 if test x$gcc_no_link = xyes; then
66738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66740 { (exit 1); exit 1; }; }
66742 cat >conftest.$ac_ext <<_ACEOF
66743 /* confdefs.h. */
66744 _ACEOF
66745 cat confdefs.h >>conftest.$ac_ext
66746 cat >>conftest.$ac_ext <<_ACEOF
66747 /* end confdefs.h. */
66748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66750 #define $ac_func innocuous_$ac_func
66752 /* System header to define __stub macros and hopefully few prototypes,
66753 which can conflict with char $ac_func (); below.
66754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66755 <limits.h> exists even on freestanding compilers. */
66757 #ifdef __STDC__
66758 # include <limits.h>
66759 #else
66760 # include <assert.h>
66761 #endif
66763 #undef $ac_func
66765 /* Override any gcc2 internal prototype to avoid an error. */
66766 #ifdef __cplusplus
66767 extern "C"
66769 #endif
66770 /* We use char because int might match the return type of a gcc2
66771 builtin and then its argument prototype would still apply. */
66772 char $ac_func ();
66773 /* The GNU C library defines this for functions which it implements
66774 to always fail with ENOSYS. Some functions are actually named
66775 something starting with __ and the normal name is an alias. */
66776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66777 choke me
66778 #else
66779 char (*f) () = $ac_func;
66780 #endif
66781 #ifdef __cplusplus
66783 #endif
66786 main ()
66788 return f != $ac_func;
66790 return 0;
66792 _ACEOF
66793 rm -f conftest.$ac_objext conftest$ac_exeext
66794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66795 (eval $ac_link) 2>conftest.er1
66796 ac_status=$?
66797 grep -v '^ *+' conftest.er1 >conftest.err
66798 rm -f conftest.er1
66799 cat conftest.err >&5
66800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66801 (exit $ac_status); } &&
66802 { ac_try='test -z "$ac_c_werror_flag"
66803 || test ! -s conftest.err'
66804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66805 (eval $ac_try) 2>&5
66806 ac_status=$?
66807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66808 (exit $ac_status); }; } &&
66809 { ac_try='test -s conftest$ac_exeext'
66810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66811 (eval $ac_try) 2>&5
66812 ac_status=$?
66813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66814 (exit $ac_status); }; }; then
66815 eval "$as_ac_var=yes"
66816 else
66817 echo "$as_me: failed program was:" >&5
66818 sed 's/^/| /' conftest.$ac_ext >&5
66820 eval "$as_ac_var=no"
66822 rm -f conftest.err conftest.$ac_objext \
66823 conftest$ac_exeext conftest.$ac_ext
66825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66827 if test `eval echo '${'$as_ac_var'}'` = yes; then
66828 cat >>confdefs.h <<_ACEOF
66829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66830 _ACEOF
66833 done
66835 else
66837 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
66838 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
66839 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66840 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
66841 echo $ECHO_N "(cached) $ECHO_C" >&6
66842 else
66846 ac_ext=cc
66847 ac_cpp='$CXXCPP $CPPFLAGS'
66848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66852 cat >conftest.$ac_ext <<_ACEOF
66853 /* confdefs.h. */
66854 _ACEOF
66855 cat confdefs.h >>conftest.$ac_ext
66856 cat >>conftest.$ac_ext <<_ACEOF
66857 /* end confdefs.h. */
66858 #include <math.h>
66860 main ()
66862 _sincos(0, 0, 0);
66864 return 0;
66866 _ACEOF
66867 rm -f conftest.$ac_objext
66868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66869 (eval $ac_compile) 2>conftest.er1
66870 ac_status=$?
66871 grep -v '^ *+' conftest.er1 >conftest.err
66872 rm -f conftest.er1
66873 cat conftest.err >&5
66874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66875 (exit $ac_status); } &&
66876 { ac_try='test -z "$ac_cxx_werror_flag"
66877 || test ! -s conftest.err'
66878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66879 (eval $ac_try) 2>&5
66880 ac_status=$?
66881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66882 (exit $ac_status); }; } &&
66883 { ac_try='test -s conftest.$ac_objext'
66884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66885 (eval $ac_try) 2>&5
66886 ac_status=$?
66887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66888 (exit $ac_status); }; }; then
66889 glibcxx_cv_func__sincos_use=yes
66890 else
66891 echo "$as_me: failed program was:" >&5
66892 sed 's/^/| /' conftest.$ac_ext >&5
66894 glibcxx_cv_func__sincos_use=no
66896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66897 ac_ext=c
66898 ac_cpp='$CPP $CPPFLAGS'
66899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66907 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
66908 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
66910 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66912 for ac_func in _sincos
66914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66915 echo "$as_me:$LINENO: checking for $ac_func" >&5
66916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66917 if eval "test \"\${$as_ac_var+set}\" = set"; then
66918 echo $ECHO_N "(cached) $ECHO_C" >&6
66919 else
66920 if test x$gcc_no_link = xyes; then
66921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66923 { (exit 1); exit 1; }; }
66925 cat >conftest.$ac_ext <<_ACEOF
66926 /* confdefs.h. */
66927 _ACEOF
66928 cat confdefs.h >>conftest.$ac_ext
66929 cat >>conftest.$ac_ext <<_ACEOF
66930 /* end confdefs.h. */
66931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66933 #define $ac_func innocuous_$ac_func
66935 /* System header to define __stub macros and hopefully few prototypes,
66936 which can conflict with char $ac_func (); below.
66937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66938 <limits.h> exists even on freestanding compilers. */
66940 #ifdef __STDC__
66941 # include <limits.h>
66942 #else
66943 # include <assert.h>
66944 #endif
66946 #undef $ac_func
66948 /* Override any gcc2 internal prototype to avoid an error. */
66949 #ifdef __cplusplus
66950 extern "C"
66952 #endif
66953 /* We use char because int might match the return type of a gcc2
66954 builtin and then its argument prototype would still apply. */
66955 char $ac_func ();
66956 /* The GNU C library defines this for functions which it implements
66957 to always fail with ENOSYS. Some functions are actually named
66958 something starting with __ and the normal name is an alias. */
66959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66960 choke me
66961 #else
66962 char (*f) () = $ac_func;
66963 #endif
66964 #ifdef __cplusplus
66966 #endif
66969 main ()
66971 return f != $ac_func;
66973 return 0;
66975 _ACEOF
66976 rm -f conftest.$ac_objext conftest$ac_exeext
66977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66978 (eval $ac_link) 2>conftest.er1
66979 ac_status=$?
66980 grep -v '^ *+' conftest.er1 >conftest.err
66981 rm -f conftest.er1
66982 cat conftest.err >&5
66983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66984 (exit $ac_status); } &&
66985 { ac_try='test -z "$ac_c_werror_flag"
66986 || test ! -s conftest.err'
66987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66988 (eval $ac_try) 2>&5
66989 ac_status=$?
66990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66991 (exit $ac_status); }; } &&
66992 { ac_try='test -s conftest$ac_exeext'
66993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66994 (eval $ac_try) 2>&5
66995 ac_status=$?
66996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66997 (exit $ac_status); }; }; then
66998 eval "$as_ac_var=yes"
66999 else
67000 echo "$as_me: failed program was:" >&5
67001 sed 's/^/| /' conftest.$ac_ext >&5
67003 eval "$as_ac_var=no"
67005 rm -f conftest.err conftest.$ac_objext \
67006 conftest$ac_exeext conftest.$ac_ext
67008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67010 if test `eval echo '${'$as_ac_var'}'` = yes; then
67011 cat >>confdefs.h <<_ACEOF
67012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67013 _ACEOF
67016 done
67026 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
67027 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
67028 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67029 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
67030 echo $ECHO_N "(cached) $ECHO_C" >&6
67031 else
67035 ac_ext=cc
67036 ac_cpp='$CXXCPP $CPPFLAGS'
67037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67041 cat >conftest.$ac_ext <<_ACEOF
67042 /* confdefs.h. */
67043 _ACEOF
67044 cat confdefs.h >>conftest.$ac_ext
67045 cat >>conftest.$ac_ext <<_ACEOF
67046 /* end confdefs.h. */
67047 #include <math.h>
67048 #ifdef HAVE_IEEEFP_H
67049 #include <ieeefp.h>
67050 #endif
67053 main ()
67055 fpclass(0);
67057 return 0;
67059 _ACEOF
67060 rm -f conftest.$ac_objext
67061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67062 (eval $ac_compile) 2>conftest.er1
67063 ac_status=$?
67064 grep -v '^ *+' conftest.er1 >conftest.err
67065 rm -f conftest.er1
67066 cat conftest.err >&5
67067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67068 (exit $ac_status); } &&
67069 { ac_try='test -z "$ac_cxx_werror_flag"
67070 || test ! -s conftest.err'
67071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67072 (eval $ac_try) 2>&5
67073 ac_status=$?
67074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67075 (exit $ac_status); }; } &&
67076 { ac_try='test -s conftest.$ac_objext'
67077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67078 (eval $ac_try) 2>&5
67079 ac_status=$?
67080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67081 (exit $ac_status); }; }; then
67082 glibcxx_cv_func_fpclass_use=yes
67083 else
67084 echo "$as_me: failed program was:" >&5
67085 sed 's/^/| /' conftest.$ac_ext >&5
67087 glibcxx_cv_func_fpclass_use=no
67089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67090 ac_ext=c
67091 ac_cpp='$CPP $CPPFLAGS'
67092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
67101 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
67103 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67105 for ac_func in fpclass
67107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67108 echo "$as_me:$LINENO: checking for $ac_func" >&5
67109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67110 if eval "test \"\${$as_ac_var+set}\" = set"; then
67111 echo $ECHO_N "(cached) $ECHO_C" >&6
67112 else
67113 if test x$gcc_no_link = xyes; then
67114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67116 { (exit 1); exit 1; }; }
67118 cat >conftest.$ac_ext <<_ACEOF
67119 /* confdefs.h. */
67120 _ACEOF
67121 cat confdefs.h >>conftest.$ac_ext
67122 cat >>conftest.$ac_ext <<_ACEOF
67123 /* end confdefs.h. */
67124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67126 #define $ac_func innocuous_$ac_func
67128 /* System header to define __stub macros and hopefully few prototypes,
67129 which can conflict with char $ac_func (); below.
67130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67131 <limits.h> exists even on freestanding compilers. */
67133 #ifdef __STDC__
67134 # include <limits.h>
67135 #else
67136 # include <assert.h>
67137 #endif
67139 #undef $ac_func
67141 /* Override any gcc2 internal prototype to avoid an error. */
67142 #ifdef __cplusplus
67143 extern "C"
67145 #endif
67146 /* We use char because int might match the return type of a gcc2
67147 builtin and then its argument prototype would still apply. */
67148 char $ac_func ();
67149 /* The GNU C library defines this for functions which it implements
67150 to always fail with ENOSYS. Some functions are actually named
67151 something starting with __ and the normal name is an alias. */
67152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67153 choke me
67154 #else
67155 char (*f) () = $ac_func;
67156 #endif
67157 #ifdef __cplusplus
67159 #endif
67162 main ()
67164 return f != $ac_func;
67166 return 0;
67168 _ACEOF
67169 rm -f conftest.$ac_objext conftest$ac_exeext
67170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67171 (eval $ac_link) 2>conftest.er1
67172 ac_status=$?
67173 grep -v '^ *+' conftest.er1 >conftest.err
67174 rm -f conftest.er1
67175 cat conftest.err >&5
67176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67177 (exit $ac_status); } &&
67178 { ac_try='test -z "$ac_c_werror_flag"
67179 || test ! -s conftest.err'
67180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67181 (eval $ac_try) 2>&5
67182 ac_status=$?
67183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67184 (exit $ac_status); }; } &&
67185 { ac_try='test -s conftest$ac_exeext'
67186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67187 (eval $ac_try) 2>&5
67188 ac_status=$?
67189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67190 (exit $ac_status); }; }; then
67191 eval "$as_ac_var=yes"
67192 else
67193 echo "$as_me: failed program was:" >&5
67194 sed 's/^/| /' conftest.$ac_ext >&5
67196 eval "$as_ac_var=no"
67198 rm -f conftest.err conftest.$ac_objext \
67199 conftest$ac_exeext conftest.$ac_ext
67201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67203 if test `eval echo '${'$as_ac_var'}'` = yes; then
67204 cat >>confdefs.h <<_ACEOF
67205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67206 _ACEOF
67209 done
67211 else
67213 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
67214 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
67215 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67216 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
67217 echo $ECHO_N "(cached) $ECHO_C" >&6
67218 else
67222 ac_ext=cc
67223 ac_cpp='$CXXCPP $CPPFLAGS'
67224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67228 cat >conftest.$ac_ext <<_ACEOF
67229 /* confdefs.h. */
67230 _ACEOF
67231 cat confdefs.h >>conftest.$ac_ext
67232 cat >>conftest.$ac_ext <<_ACEOF
67233 /* end confdefs.h. */
67234 #include <math.h>
67235 #ifdef HAVE_IEEEFP_H
67236 #include <ieeefp.h>
67237 #endif
67240 main ()
67242 _fpclass(0);
67244 return 0;
67246 _ACEOF
67247 rm -f conftest.$ac_objext
67248 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67249 (eval $ac_compile) 2>conftest.er1
67250 ac_status=$?
67251 grep -v '^ *+' conftest.er1 >conftest.err
67252 rm -f conftest.er1
67253 cat conftest.err >&5
67254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67255 (exit $ac_status); } &&
67256 { ac_try='test -z "$ac_cxx_werror_flag"
67257 || test ! -s conftest.err'
67258 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67259 (eval $ac_try) 2>&5
67260 ac_status=$?
67261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67262 (exit $ac_status); }; } &&
67263 { ac_try='test -s conftest.$ac_objext'
67264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67265 (eval $ac_try) 2>&5
67266 ac_status=$?
67267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67268 (exit $ac_status); }; }; then
67269 glibcxx_cv_func__fpclass_use=yes
67270 else
67271 echo "$as_me: failed program was:" >&5
67272 sed 's/^/| /' conftest.$ac_ext >&5
67274 glibcxx_cv_func__fpclass_use=no
67276 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67277 ac_ext=c
67278 ac_cpp='$CPP $CPPFLAGS'
67279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67287 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
67288 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
67290 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67292 for ac_func in _fpclass
67294 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67295 echo "$as_me:$LINENO: checking for $ac_func" >&5
67296 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67297 if eval "test \"\${$as_ac_var+set}\" = set"; then
67298 echo $ECHO_N "(cached) $ECHO_C" >&6
67299 else
67300 if test x$gcc_no_link = xyes; then
67301 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67302 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67303 { (exit 1); exit 1; }; }
67305 cat >conftest.$ac_ext <<_ACEOF
67306 /* confdefs.h. */
67307 _ACEOF
67308 cat confdefs.h >>conftest.$ac_ext
67309 cat >>conftest.$ac_ext <<_ACEOF
67310 /* end confdefs.h. */
67311 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67312 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67313 #define $ac_func innocuous_$ac_func
67315 /* System header to define __stub macros and hopefully few prototypes,
67316 which can conflict with char $ac_func (); below.
67317 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67318 <limits.h> exists even on freestanding compilers. */
67320 #ifdef __STDC__
67321 # include <limits.h>
67322 #else
67323 # include <assert.h>
67324 #endif
67326 #undef $ac_func
67328 /* Override any gcc2 internal prototype to avoid an error. */
67329 #ifdef __cplusplus
67330 extern "C"
67332 #endif
67333 /* We use char because int might match the return type of a gcc2
67334 builtin and then its argument prototype would still apply. */
67335 char $ac_func ();
67336 /* The GNU C library defines this for functions which it implements
67337 to always fail with ENOSYS. Some functions are actually named
67338 something starting with __ and the normal name is an alias. */
67339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67340 choke me
67341 #else
67342 char (*f) () = $ac_func;
67343 #endif
67344 #ifdef __cplusplus
67346 #endif
67349 main ()
67351 return f != $ac_func;
67353 return 0;
67355 _ACEOF
67356 rm -f conftest.$ac_objext conftest$ac_exeext
67357 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67358 (eval $ac_link) 2>conftest.er1
67359 ac_status=$?
67360 grep -v '^ *+' conftest.er1 >conftest.err
67361 rm -f conftest.er1
67362 cat conftest.err >&5
67363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67364 (exit $ac_status); } &&
67365 { ac_try='test -z "$ac_c_werror_flag"
67366 || test ! -s conftest.err'
67367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67368 (eval $ac_try) 2>&5
67369 ac_status=$?
67370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67371 (exit $ac_status); }; } &&
67372 { ac_try='test -s conftest$ac_exeext'
67373 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67374 (eval $ac_try) 2>&5
67375 ac_status=$?
67376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67377 (exit $ac_status); }; }; then
67378 eval "$as_ac_var=yes"
67379 else
67380 echo "$as_me: failed program was:" >&5
67381 sed 's/^/| /' conftest.$ac_ext >&5
67383 eval "$as_ac_var=no"
67385 rm -f conftest.err conftest.$ac_objext \
67386 conftest$ac_exeext conftest.$ac_ext
67388 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67389 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67390 if test `eval echo '${'$as_ac_var'}'` = yes; then
67391 cat >>confdefs.h <<_ACEOF
67392 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67393 _ACEOF
67396 done
67406 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
67407 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
67408 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67409 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
67410 echo $ECHO_N "(cached) $ECHO_C" >&6
67411 else
67415 ac_ext=cc
67416 ac_cpp='$CXXCPP $CPPFLAGS'
67417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67421 cat >conftest.$ac_ext <<_ACEOF
67422 /* confdefs.h. */
67423 _ACEOF
67424 cat confdefs.h >>conftest.$ac_ext
67425 cat >>conftest.$ac_ext <<_ACEOF
67426 /* end confdefs.h. */
67427 #include <math.h>
67428 #ifdef HAVE_IEEEFP_H
67429 #include <ieeefp.h>
67430 #endif
67433 main ()
67435 qfpclass(0);
67437 return 0;
67439 _ACEOF
67440 rm -f conftest.$ac_objext
67441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67442 (eval $ac_compile) 2>conftest.er1
67443 ac_status=$?
67444 grep -v '^ *+' conftest.er1 >conftest.err
67445 rm -f conftest.er1
67446 cat conftest.err >&5
67447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67448 (exit $ac_status); } &&
67449 { ac_try='test -z "$ac_cxx_werror_flag"
67450 || test ! -s conftest.err'
67451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67452 (eval $ac_try) 2>&5
67453 ac_status=$?
67454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67455 (exit $ac_status); }; } &&
67456 { ac_try='test -s conftest.$ac_objext'
67457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67458 (eval $ac_try) 2>&5
67459 ac_status=$?
67460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67461 (exit $ac_status); }; }; then
67462 glibcxx_cv_func_qfpclass_use=yes
67463 else
67464 echo "$as_me: failed program was:" >&5
67465 sed 's/^/| /' conftest.$ac_ext >&5
67467 glibcxx_cv_func_qfpclass_use=no
67469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67470 ac_ext=c
67471 ac_cpp='$CPP $CPPFLAGS'
67472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
67481 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
67483 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67485 for ac_func in qfpclass
67487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67488 echo "$as_me:$LINENO: checking for $ac_func" >&5
67489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67490 if eval "test \"\${$as_ac_var+set}\" = set"; then
67491 echo $ECHO_N "(cached) $ECHO_C" >&6
67492 else
67493 if test x$gcc_no_link = xyes; then
67494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67496 { (exit 1); exit 1; }; }
67498 cat >conftest.$ac_ext <<_ACEOF
67499 /* confdefs.h. */
67500 _ACEOF
67501 cat confdefs.h >>conftest.$ac_ext
67502 cat >>conftest.$ac_ext <<_ACEOF
67503 /* end confdefs.h. */
67504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67506 #define $ac_func innocuous_$ac_func
67508 /* System header to define __stub macros and hopefully few prototypes,
67509 which can conflict with char $ac_func (); below.
67510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67511 <limits.h> exists even on freestanding compilers. */
67513 #ifdef __STDC__
67514 # include <limits.h>
67515 #else
67516 # include <assert.h>
67517 #endif
67519 #undef $ac_func
67521 /* Override any gcc2 internal prototype to avoid an error. */
67522 #ifdef __cplusplus
67523 extern "C"
67525 #endif
67526 /* We use char because int might match the return type of a gcc2
67527 builtin and then its argument prototype would still apply. */
67528 char $ac_func ();
67529 /* The GNU C library defines this for functions which it implements
67530 to always fail with ENOSYS. Some functions are actually named
67531 something starting with __ and the normal name is an alias. */
67532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67533 choke me
67534 #else
67535 char (*f) () = $ac_func;
67536 #endif
67537 #ifdef __cplusplus
67539 #endif
67542 main ()
67544 return f != $ac_func;
67546 return 0;
67548 _ACEOF
67549 rm -f conftest.$ac_objext conftest$ac_exeext
67550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67551 (eval $ac_link) 2>conftest.er1
67552 ac_status=$?
67553 grep -v '^ *+' conftest.er1 >conftest.err
67554 rm -f conftest.er1
67555 cat conftest.err >&5
67556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67557 (exit $ac_status); } &&
67558 { ac_try='test -z "$ac_c_werror_flag"
67559 || test ! -s conftest.err'
67560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67561 (eval $ac_try) 2>&5
67562 ac_status=$?
67563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67564 (exit $ac_status); }; } &&
67565 { ac_try='test -s conftest$ac_exeext'
67566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67567 (eval $ac_try) 2>&5
67568 ac_status=$?
67569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67570 (exit $ac_status); }; }; then
67571 eval "$as_ac_var=yes"
67572 else
67573 echo "$as_me: failed program was:" >&5
67574 sed 's/^/| /' conftest.$ac_ext >&5
67576 eval "$as_ac_var=no"
67578 rm -f conftest.err conftest.$ac_objext \
67579 conftest$ac_exeext conftest.$ac_ext
67581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67583 if test `eval echo '${'$as_ac_var'}'` = yes; then
67584 cat >>confdefs.h <<_ACEOF
67585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67586 _ACEOF
67589 done
67591 else
67593 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
67594 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
67595 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67596 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
67597 echo $ECHO_N "(cached) $ECHO_C" >&6
67598 else
67602 ac_ext=cc
67603 ac_cpp='$CXXCPP $CPPFLAGS'
67604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67608 cat >conftest.$ac_ext <<_ACEOF
67609 /* confdefs.h. */
67610 _ACEOF
67611 cat confdefs.h >>conftest.$ac_ext
67612 cat >>conftest.$ac_ext <<_ACEOF
67613 /* end confdefs.h. */
67614 #include <math.h>
67615 #ifdef HAVE_IEEEFP_H
67616 #include <ieeefp.h>
67617 #endif
67620 main ()
67622 _qfpclass(0);
67624 return 0;
67626 _ACEOF
67627 rm -f conftest.$ac_objext
67628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67629 (eval $ac_compile) 2>conftest.er1
67630 ac_status=$?
67631 grep -v '^ *+' conftest.er1 >conftest.err
67632 rm -f conftest.er1
67633 cat conftest.err >&5
67634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67635 (exit $ac_status); } &&
67636 { ac_try='test -z "$ac_cxx_werror_flag"
67637 || test ! -s conftest.err'
67638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67639 (eval $ac_try) 2>&5
67640 ac_status=$?
67641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67642 (exit $ac_status); }; } &&
67643 { ac_try='test -s conftest.$ac_objext'
67644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67645 (eval $ac_try) 2>&5
67646 ac_status=$?
67647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67648 (exit $ac_status); }; }; then
67649 glibcxx_cv_func__qfpclass_use=yes
67650 else
67651 echo "$as_me: failed program was:" >&5
67652 sed 's/^/| /' conftest.$ac_ext >&5
67654 glibcxx_cv_func__qfpclass_use=no
67656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67657 ac_ext=c
67658 ac_cpp='$CPP $CPPFLAGS'
67659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67667 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
67668 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
67670 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67672 for ac_func in _qfpclass
67674 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67675 echo "$as_me:$LINENO: checking for $ac_func" >&5
67676 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67677 if eval "test \"\${$as_ac_var+set}\" = set"; then
67678 echo $ECHO_N "(cached) $ECHO_C" >&6
67679 else
67680 if test x$gcc_no_link = xyes; then
67681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67683 { (exit 1); exit 1; }; }
67685 cat >conftest.$ac_ext <<_ACEOF
67686 /* confdefs.h. */
67687 _ACEOF
67688 cat confdefs.h >>conftest.$ac_ext
67689 cat >>conftest.$ac_ext <<_ACEOF
67690 /* end confdefs.h. */
67691 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67692 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67693 #define $ac_func innocuous_$ac_func
67695 /* System header to define __stub macros and hopefully few prototypes,
67696 which can conflict with char $ac_func (); below.
67697 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67698 <limits.h> exists even on freestanding compilers. */
67700 #ifdef __STDC__
67701 # include <limits.h>
67702 #else
67703 # include <assert.h>
67704 #endif
67706 #undef $ac_func
67708 /* Override any gcc2 internal prototype to avoid an error. */
67709 #ifdef __cplusplus
67710 extern "C"
67712 #endif
67713 /* We use char because int might match the return type of a gcc2
67714 builtin and then its argument prototype would still apply. */
67715 char $ac_func ();
67716 /* The GNU C library defines this for functions which it implements
67717 to always fail with ENOSYS. Some functions are actually named
67718 something starting with __ and the normal name is an alias. */
67719 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67720 choke me
67721 #else
67722 char (*f) () = $ac_func;
67723 #endif
67724 #ifdef __cplusplus
67726 #endif
67729 main ()
67731 return f != $ac_func;
67733 return 0;
67735 _ACEOF
67736 rm -f conftest.$ac_objext conftest$ac_exeext
67737 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67738 (eval $ac_link) 2>conftest.er1
67739 ac_status=$?
67740 grep -v '^ *+' conftest.er1 >conftest.err
67741 rm -f conftest.er1
67742 cat conftest.err >&5
67743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67744 (exit $ac_status); } &&
67745 { ac_try='test -z "$ac_c_werror_flag"
67746 || test ! -s conftest.err'
67747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67748 (eval $ac_try) 2>&5
67749 ac_status=$?
67750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67751 (exit $ac_status); }; } &&
67752 { ac_try='test -s conftest$ac_exeext'
67753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67754 (eval $ac_try) 2>&5
67755 ac_status=$?
67756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67757 (exit $ac_status); }; }; then
67758 eval "$as_ac_var=yes"
67759 else
67760 echo "$as_me: failed program was:" >&5
67761 sed 's/^/| /' conftest.$ac_ext >&5
67763 eval "$as_ac_var=no"
67765 rm -f conftest.err conftest.$ac_objext \
67766 conftest$ac_exeext conftest.$ac_ext
67768 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67769 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67770 if test `eval echo '${'$as_ac_var'}'` = yes; then
67771 cat >>confdefs.h <<_ACEOF
67772 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67773 _ACEOF
67776 done
67786 echo "$as_me:$LINENO: checking for hypot declaration" >&5
67787 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
67788 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67789 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
67790 echo $ECHO_N "(cached) $ECHO_C" >&6
67791 else
67795 ac_ext=cc
67796 ac_cpp='$CXXCPP $CPPFLAGS'
67797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67801 cat >conftest.$ac_ext <<_ACEOF
67802 /* confdefs.h. */
67803 _ACEOF
67804 cat confdefs.h >>conftest.$ac_ext
67805 cat >>conftest.$ac_ext <<_ACEOF
67806 /* end confdefs.h. */
67807 #include <math.h>
67809 main ()
67811 hypot(0, 0);
67813 return 0;
67815 _ACEOF
67816 rm -f conftest.$ac_objext
67817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67818 (eval $ac_compile) 2>conftest.er1
67819 ac_status=$?
67820 grep -v '^ *+' conftest.er1 >conftest.err
67821 rm -f conftest.er1
67822 cat conftest.err >&5
67823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67824 (exit $ac_status); } &&
67825 { ac_try='test -z "$ac_cxx_werror_flag"
67826 || test ! -s conftest.err'
67827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67828 (eval $ac_try) 2>&5
67829 ac_status=$?
67830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67831 (exit $ac_status); }; } &&
67832 { ac_try='test -s conftest.$ac_objext'
67833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67834 (eval $ac_try) 2>&5
67835 ac_status=$?
67836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67837 (exit $ac_status); }; }; then
67838 glibcxx_cv_func_hypot_use=yes
67839 else
67840 echo "$as_me: failed program was:" >&5
67841 sed 's/^/| /' conftest.$ac_ext >&5
67843 glibcxx_cv_func_hypot_use=no
67845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67846 ac_ext=c
67847 ac_cpp='$CPP $CPPFLAGS'
67848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
67857 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
67859 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67861 for ac_func in hypot
67863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67864 echo "$as_me:$LINENO: checking for $ac_func" >&5
67865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67866 if eval "test \"\${$as_ac_var+set}\" = set"; then
67867 echo $ECHO_N "(cached) $ECHO_C" >&6
67868 else
67869 if test x$gcc_no_link = xyes; then
67870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67872 { (exit 1); exit 1; }; }
67874 cat >conftest.$ac_ext <<_ACEOF
67875 /* confdefs.h. */
67876 _ACEOF
67877 cat confdefs.h >>conftest.$ac_ext
67878 cat >>conftest.$ac_ext <<_ACEOF
67879 /* end confdefs.h. */
67880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67882 #define $ac_func innocuous_$ac_func
67884 /* System header to define __stub macros and hopefully few prototypes,
67885 which can conflict with char $ac_func (); below.
67886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67887 <limits.h> exists even on freestanding compilers. */
67889 #ifdef __STDC__
67890 # include <limits.h>
67891 #else
67892 # include <assert.h>
67893 #endif
67895 #undef $ac_func
67897 /* Override any gcc2 internal prototype to avoid an error. */
67898 #ifdef __cplusplus
67899 extern "C"
67901 #endif
67902 /* We use char because int might match the return type of a gcc2
67903 builtin and then its argument prototype would still apply. */
67904 char $ac_func ();
67905 /* The GNU C library defines this for functions which it implements
67906 to always fail with ENOSYS. Some functions are actually named
67907 something starting with __ and the normal name is an alias. */
67908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67909 choke me
67910 #else
67911 char (*f) () = $ac_func;
67912 #endif
67913 #ifdef __cplusplus
67915 #endif
67918 main ()
67920 return f != $ac_func;
67922 return 0;
67924 _ACEOF
67925 rm -f conftest.$ac_objext conftest$ac_exeext
67926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67927 (eval $ac_link) 2>conftest.er1
67928 ac_status=$?
67929 grep -v '^ *+' conftest.er1 >conftest.err
67930 rm -f conftest.er1
67931 cat conftest.err >&5
67932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67933 (exit $ac_status); } &&
67934 { ac_try='test -z "$ac_c_werror_flag"
67935 || test ! -s conftest.err'
67936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67937 (eval $ac_try) 2>&5
67938 ac_status=$?
67939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67940 (exit $ac_status); }; } &&
67941 { ac_try='test -s conftest$ac_exeext'
67942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67943 (eval $ac_try) 2>&5
67944 ac_status=$?
67945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67946 (exit $ac_status); }; }; then
67947 eval "$as_ac_var=yes"
67948 else
67949 echo "$as_me: failed program was:" >&5
67950 sed 's/^/| /' conftest.$ac_ext >&5
67952 eval "$as_ac_var=no"
67954 rm -f conftest.err conftest.$ac_objext \
67955 conftest$ac_exeext conftest.$ac_ext
67957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67959 if test `eval echo '${'$as_ac_var'}'` = yes; then
67960 cat >>confdefs.h <<_ACEOF
67961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67962 _ACEOF
67965 done
67967 else
67969 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
67970 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
67971 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67972 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
67973 echo $ECHO_N "(cached) $ECHO_C" >&6
67974 else
67978 ac_ext=cc
67979 ac_cpp='$CXXCPP $CPPFLAGS'
67980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67984 cat >conftest.$ac_ext <<_ACEOF
67985 /* confdefs.h. */
67986 _ACEOF
67987 cat confdefs.h >>conftest.$ac_ext
67988 cat >>conftest.$ac_ext <<_ACEOF
67989 /* end confdefs.h. */
67990 #include <math.h>
67992 main ()
67994 _hypot(0, 0);
67996 return 0;
67998 _ACEOF
67999 rm -f conftest.$ac_objext
68000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68001 (eval $ac_compile) 2>conftest.er1
68002 ac_status=$?
68003 grep -v '^ *+' conftest.er1 >conftest.err
68004 rm -f conftest.er1
68005 cat conftest.err >&5
68006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68007 (exit $ac_status); } &&
68008 { ac_try='test -z "$ac_cxx_werror_flag"
68009 || test ! -s conftest.err'
68010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68011 (eval $ac_try) 2>&5
68012 ac_status=$?
68013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68014 (exit $ac_status); }; } &&
68015 { ac_try='test -s conftest.$ac_objext'
68016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68017 (eval $ac_try) 2>&5
68018 ac_status=$?
68019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68020 (exit $ac_status); }; }; then
68021 glibcxx_cv_func__hypot_use=yes
68022 else
68023 echo "$as_me: failed program was:" >&5
68024 sed 's/^/| /' conftest.$ac_ext >&5
68026 glibcxx_cv_func__hypot_use=no
68028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68029 ac_ext=c
68030 ac_cpp='$CPP $CPPFLAGS'
68031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68039 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
68040 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
68042 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
68044 for ac_func in _hypot
68046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68047 echo "$as_me:$LINENO: checking for $ac_func" >&5
68048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68049 if eval "test \"\${$as_ac_var+set}\" = set"; then
68050 echo $ECHO_N "(cached) $ECHO_C" >&6
68051 else
68052 if test x$gcc_no_link = xyes; then
68053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68055 { (exit 1); exit 1; }; }
68057 cat >conftest.$ac_ext <<_ACEOF
68058 /* confdefs.h. */
68059 _ACEOF
68060 cat confdefs.h >>conftest.$ac_ext
68061 cat >>conftest.$ac_ext <<_ACEOF
68062 /* end confdefs.h. */
68063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68065 #define $ac_func innocuous_$ac_func
68067 /* System header to define __stub macros and hopefully few prototypes,
68068 which can conflict with char $ac_func (); below.
68069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68070 <limits.h> exists even on freestanding compilers. */
68072 #ifdef __STDC__
68073 # include <limits.h>
68074 #else
68075 # include <assert.h>
68076 #endif
68078 #undef $ac_func
68080 /* Override any gcc2 internal prototype to avoid an error. */
68081 #ifdef __cplusplus
68082 extern "C"
68084 #endif
68085 /* We use char because int might match the return type of a gcc2
68086 builtin and then its argument prototype would still apply. */
68087 char $ac_func ();
68088 /* The GNU C library defines this for functions which it implements
68089 to always fail with ENOSYS. Some functions are actually named
68090 something starting with __ and the normal name is an alias. */
68091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68092 choke me
68093 #else
68094 char (*f) () = $ac_func;
68095 #endif
68096 #ifdef __cplusplus
68098 #endif
68101 main ()
68103 return f != $ac_func;
68105 return 0;
68107 _ACEOF
68108 rm -f conftest.$ac_objext conftest$ac_exeext
68109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68110 (eval $ac_link) 2>conftest.er1
68111 ac_status=$?
68112 grep -v '^ *+' conftest.er1 >conftest.err
68113 rm -f conftest.er1
68114 cat conftest.err >&5
68115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68116 (exit $ac_status); } &&
68117 { ac_try='test -z "$ac_c_werror_flag"
68118 || test ! -s conftest.err'
68119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68120 (eval $ac_try) 2>&5
68121 ac_status=$?
68122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68123 (exit $ac_status); }; } &&
68124 { ac_try='test -s conftest$ac_exeext'
68125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68126 (eval $ac_try) 2>&5
68127 ac_status=$?
68128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68129 (exit $ac_status); }; }; then
68130 eval "$as_ac_var=yes"
68131 else
68132 echo "$as_me: failed program was:" >&5
68133 sed 's/^/| /' conftest.$ac_ext >&5
68135 eval "$as_ac_var=no"
68137 rm -f conftest.err conftest.$ac_objext \
68138 conftest$ac_exeext conftest.$ac_ext
68140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68142 if test `eval echo '${'$as_ac_var'}'` = yes; then
68143 cat >>confdefs.h <<_ACEOF
68144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68145 _ACEOF
68148 done
68158 echo "$as_me:$LINENO: checking for float trig functions" >&5
68159 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
68160 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
68161 echo $ECHO_N "(cached) $ECHO_C" >&6
68162 else
68166 ac_ext=cc
68167 ac_cpp='$CXXCPP $CPPFLAGS'
68168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68172 cat >conftest.$ac_ext <<_ACEOF
68173 /* confdefs.h. */
68174 _ACEOF
68175 cat confdefs.h >>conftest.$ac_ext
68176 cat >>conftest.$ac_ext <<_ACEOF
68177 /* end confdefs.h. */
68178 #include <math.h>
68180 main ()
68182 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
68184 return 0;
68186 _ACEOF
68187 rm -f conftest.$ac_objext
68188 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68189 (eval $ac_compile) 2>conftest.er1
68190 ac_status=$?
68191 grep -v '^ *+' conftest.er1 >conftest.err
68192 rm -f conftest.er1
68193 cat conftest.err >&5
68194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68195 (exit $ac_status); } &&
68196 { ac_try='test -z "$ac_cxx_werror_flag"
68197 || test ! -s conftest.err'
68198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68199 (eval $ac_try) 2>&5
68200 ac_status=$?
68201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68202 (exit $ac_status); }; } &&
68203 { ac_try='test -s conftest.$ac_objext'
68204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68205 (eval $ac_try) 2>&5
68206 ac_status=$?
68207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68208 (exit $ac_status); }; }; then
68209 glibcxx_cv_func_float_trig_use=yes
68210 else
68211 echo "$as_me: failed program was:" >&5
68212 sed 's/^/| /' conftest.$ac_ext >&5
68214 glibcxx_cv_func_float_trig_use=no
68216 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68217 ac_ext=c
68218 ac_cpp='$CPP $CPPFLAGS'
68219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68225 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
68226 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
68227 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
68237 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
68239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68240 echo "$as_me:$LINENO: checking for $ac_func" >&5
68241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68242 if eval "test \"\${$as_ac_var+set}\" = set"; then
68243 echo $ECHO_N "(cached) $ECHO_C" >&6
68244 else
68245 if test x$gcc_no_link = xyes; then
68246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68248 { (exit 1); exit 1; }; }
68250 cat >conftest.$ac_ext <<_ACEOF
68251 /* confdefs.h. */
68252 _ACEOF
68253 cat confdefs.h >>conftest.$ac_ext
68254 cat >>conftest.$ac_ext <<_ACEOF
68255 /* end confdefs.h. */
68256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68258 #define $ac_func innocuous_$ac_func
68260 /* System header to define __stub macros and hopefully few prototypes,
68261 which can conflict with char $ac_func (); below.
68262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68263 <limits.h> exists even on freestanding compilers. */
68265 #ifdef __STDC__
68266 # include <limits.h>
68267 #else
68268 # include <assert.h>
68269 #endif
68271 #undef $ac_func
68273 /* Override any gcc2 internal prototype to avoid an error. */
68274 #ifdef __cplusplus
68275 extern "C"
68277 #endif
68278 /* We use char because int might match the return type of a gcc2
68279 builtin and then its argument prototype would still apply. */
68280 char $ac_func ();
68281 /* The GNU C library defines this for functions which it implements
68282 to always fail with ENOSYS. Some functions are actually named
68283 something starting with __ and the normal name is an alias. */
68284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68285 choke me
68286 #else
68287 char (*f) () = $ac_func;
68288 #endif
68289 #ifdef __cplusplus
68291 #endif
68294 main ()
68296 return f != $ac_func;
68298 return 0;
68300 _ACEOF
68301 rm -f conftest.$ac_objext conftest$ac_exeext
68302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68303 (eval $ac_link) 2>conftest.er1
68304 ac_status=$?
68305 grep -v '^ *+' conftest.er1 >conftest.err
68306 rm -f conftest.er1
68307 cat conftest.err >&5
68308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68309 (exit $ac_status); } &&
68310 { ac_try='test -z "$ac_c_werror_flag"
68311 || test ! -s conftest.err'
68312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68313 (eval $ac_try) 2>&5
68314 ac_status=$?
68315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68316 (exit $ac_status); }; } &&
68317 { ac_try='test -s conftest$ac_exeext'
68318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68319 (eval $ac_try) 2>&5
68320 ac_status=$?
68321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68322 (exit $ac_status); }; }; then
68323 eval "$as_ac_var=yes"
68324 else
68325 echo "$as_me: failed program was:" >&5
68326 sed 's/^/| /' conftest.$ac_ext >&5
68328 eval "$as_ac_var=no"
68330 rm -f conftest.err conftest.$ac_objext \
68331 conftest$ac_exeext conftest.$ac_ext
68333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68335 if test `eval echo '${'$as_ac_var'}'` = yes; then
68336 cat >>confdefs.h <<_ACEOF
68337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68338 _ACEOF
68341 done
68343 else
68344 echo "$as_me:$LINENO: checking for _float trig functions" >&5
68345 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
68346 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
68347 echo $ECHO_N "(cached) $ECHO_C" >&6
68348 else
68352 ac_ext=cc
68353 ac_cpp='$CXXCPP $CPPFLAGS'
68354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68358 cat >conftest.$ac_ext <<_ACEOF
68359 /* confdefs.h. */
68360 _ACEOF
68361 cat confdefs.h >>conftest.$ac_ext
68362 cat >>conftest.$ac_ext <<_ACEOF
68363 /* end confdefs.h. */
68364 #include <math.h>
68366 main ()
68368 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68370 return 0;
68372 _ACEOF
68373 rm -f conftest.$ac_objext
68374 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68375 (eval $ac_compile) 2>conftest.er1
68376 ac_status=$?
68377 grep -v '^ *+' conftest.er1 >conftest.err
68378 rm -f conftest.er1
68379 cat conftest.err >&5
68380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68381 (exit $ac_status); } &&
68382 { ac_try='test -z "$ac_cxx_werror_flag"
68383 || test ! -s conftest.err'
68384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68385 (eval $ac_try) 2>&5
68386 ac_status=$?
68387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68388 (exit $ac_status); }; } &&
68389 { ac_try='test -s conftest.$ac_objext'
68390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68391 (eval $ac_try) 2>&5
68392 ac_status=$?
68393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68394 (exit $ac_status); }; }; then
68395 glibcxx_cv_func__float_trig_use=yes
68396 else
68397 echo "$as_me: failed program was:" >&5
68398 sed 's/^/| /' conftest.$ac_ext >&5
68400 glibcxx_cv_func__float_trig_use=no
68402 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68403 ac_ext=c
68404 ac_cpp='$CPP $CPPFLAGS'
68405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68411 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
68412 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
68413 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68423 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68426 echo "$as_me:$LINENO: checking for $ac_func" >&5
68427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68428 if eval "test \"\${$as_ac_var+set}\" = set"; then
68429 echo $ECHO_N "(cached) $ECHO_C" >&6
68430 else
68431 if test x$gcc_no_link = xyes; then
68432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68434 { (exit 1); exit 1; }; }
68436 cat >conftest.$ac_ext <<_ACEOF
68437 /* confdefs.h. */
68438 _ACEOF
68439 cat confdefs.h >>conftest.$ac_ext
68440 cat >>conftest.$ac_ext <<_ACEOF
68441 /* end confdefs.h. */
68442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68444 #define $ac_func innocuous_$ac_func
68446 /* System header to define __stub macros and hopefully few prototypes,
68447 which can conflict with char $ac_func (); below.
68448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68449 <limits.h> exists even on freestanding compilers. */
68451 #ifdef __STDC__
68452 # include <limits.h>
68453 #else
68454 # include <assert.h>
68455 #endif
68457 #undef $ac_func
68459 /* Override any gcc2 internal prototype to avoid an error. */
68460 #ifdef __cplusplus
68461 extern "C"
68463 #endif
68464 /* We use char because int might match the return type of a gcc2
68465 builtin and then its argument prototype would still apply. */
68466 char $ac_func ();
68467 /* The GNU C library defines this for functions which it implements
68468 to always fail with ENOSYS. Some functions are actually named
68469 something starting with __ and the normal name is an alias. */
68470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68471 choke me
68472 #else
68473 char (*f) () = $ac_func;
68474 #endif
68475 #ifdef __cplusplus
68477 #endif
68480 main ()
68482 return f != $ac_func;
68484 return 0;
68486 _ACEOF
68487 rm -f conftest.$ac_objext conftest$ac_exeext
68488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68489 (eval $ac_link) 2>conftest.er1
68490 ac_status=$?
68491 grep -v '^ *+' conftest.er1 >conftest.err
68492 rm -f conftest.er1
68493 cat conftest.err >&5
68494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68495 (exit $ac_status); } &&
68496 { ac_try='test -z "$ac_c_werror_flag"
68497 || test ! -s conftest.err'
68498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68499 (eval $ac_try) 2>&5
68500 ac_status=$?
68501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68502 (exit $ac_status); }; } &&
68503 { ac_try='test -s conftest$ac_exeext'
68504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68505 (eval $ac_try) 2>&5
68506 ac_status=$?
68507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68508 (exit $ac_status); }; }; then
68509 eval "$as_ac_var=yes"
68510 else
68511 echo "$as_me: failed program was:" >&5
68512 sed 's/^/| /' conftest.$ac_ext >&5
68514 eval "$as_ac_var=no"
68516 rm -f conftest.err conftest.$ac_objext \
68517 conftest$ac_exeext conftest.$ac_ext
68519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68521 if test `eval echo '${'$as_ac_var'}'` = yes; then
68522 cat >>confdefs.h <<_ACEOF
68523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68524 _ACEOF
68527 done
68545 echo "$as_me:$LINENO: checking for float round functions" >&5
68546 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
68547 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
68548 echo $ECHO_N "(cached) $ECHO_C" >&6
68549 else
68553 ac_ext=cc
68554 ac_cpp='$CXXCPP $CPPFLAGS'
68555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68559 cat >conftest.$ac_ext <<_ACEOF
68560 /* confdefs.h. */
68561 _ACEOF
68562 cat confdefs.h >>conftest.$ac_ext
68563 cat >>conftest.$ac_ext <<_ACEOF
68564 /* end confdefs.h. */
68565 #include <math.h>
68567 main ()
68569 ceilf (0); floorf (0);
68571 return 0;
68573 _ACEOF
68574 rm -f conftest.$ac_objext
68575 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68576 (eval $ac_compile) 2>conftest.er1
68577 ac_status=$?
68578 grep -v '^ *+' conftest.er1 >conftest.err
68579 rm -f conftest.er1
68580 cat conftest.err >&5
68581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68582 (exit $ac_status); } &&
68583 { ac_try='test -z "$ac_cxx_werror_flag"
68584 || test ! -s conftest.err'
68585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68586 (eval $ac_try) 2>&5
68587 ac_status=$?
68588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68589 (exit $ac_status); }; } &&
68590 { ac_try='test -s conftest.$ac_objext'
68591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68592 (eval $ac_try) 2>&5
68593 ac_status=$?
68594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68595 (exit $ac_status); }; }; then
68596 glibcxx_cv_func_float_round_use=yes
68597 else
68598 echo "$as_me: failed program was:" >&5
68599 sed 's/^/| /' conftest.$ac_ext >&5
68601 glibcxx_cv_func_float_round_use=no
68603 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68604 ac_ext=c
68605 ac_cpp='$CPP $CPPFLAGS'
68606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68612 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
68613 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
68614 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68617 for ac_func in ceilf floorf
68619 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68620 echo "$as_me:$LINENO: checking for $ac_func" >&5
68621 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68622 if eval "test \"\${$as_ac_var+set}\" = set"; then
68623 echo $ECHO_N "(cached) $ECHO_C" >&6
68624 else
68625 if test x$gcc_no_link = xyes; then
68626 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68627 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68628 { (exit 1); exit 1; }; }
68630 cat >conftest.$ac_ext <<_ACEOF
68631 /* confdefs.h. */
68632 _ACEOF
68633 cat confdefs.h >>conftest.$ac_ext
68634 cat >>conftest.$ac_ext <<_ACEOF
68635 /* end confdefs.h. */
68636 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68637 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68638 #define $ac_func innocuous_$ac_func
68640 /* System header to define __stub macros and hopefully few prototypes,
68641 which can conflict with char $ac_func (); below.
68642 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68643 <limits.h> exists even on freestanding compilers. */
68645 #ifdef __STDC__
68646 # include <limits.h>
68647 #else
68648 # include <assert.h>
68649 #endif
68651 #undef $ac_func
68653 /* Override any gcc2 internal prototype to avoid an error. */
68654 #ifdef __cplusplus
68655 extern "C"
68657 #endif
68658 /* We use char because int might match the return type of a gcc2
68659 builtin and then its argument prototype would still apply. */
68660 char $ac_func ();
68661 /* The GNU C library defines this for functions which it implements
68662 to always fail with ENOSYS. Some functions are actually named
68663 something starting with __ and the normal name is an alias. */
68664 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68665 choke me
68666 #else
68667 char (*f) () = $ac_func;
68668 #endif
68669 #ifdef __cplusplus
68671 #endif
68674 main ()
68676 return f != $ac_func;
68678 return 0;
68680 _ACEOF
68681 rm -f conftest.$ac_objext conftest$ac_exeext
68682 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68683 (eval $ac_link) 2>conftest.er1
68684 ac_status=$?
68685 grep -v '^ *+' conftest.er1 >conftest.err
68686 rm -f conftest.er1
68687 cat conftest.err >&5
68688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68689 (exit $ac_status); } &&
68690 { ac_try='test -z "$ac_c_werror_flag"
68691 || test ! -s conftest.err'
68692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68693 (eval $ac_try) 2>&5
68694 ac_status=$?
68695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68696 (exit $ac_status); }; } &&
68697 { ac_try='test -s conftest$ac_exeext'
68698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68699 (eval $ac_try) 2>&5
68700 ac_status=$?
68701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68702 (exit $ac_status); }; }; then
68703 eval "$as_ac_var=yes"
68704 else
68705 echo "$as_me: failed program was:" >&5
68706 sed 's/^/| /' conftest.$ac_ext >&5
68708 eval "$as_ac_var=no"
68710 rm -f conftest.err conftest.$ac_objext \
68711 conftest$ac_exeext conftest.$ac_ext
68713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68714 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68715 if test `eval echo '${'$as_ac_var'}'` = yes; then
68716 cat >>confdefs.h <<_ACEOF
68717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68718 _ACEOF
68721 done
68723 else
68724 echo "$as_me:$LINENO: checking for _float round functions" >&5
68725 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
68726 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
68727 echo $ECHO_N "(cached) $ECHO_C" >&6
68728 else
68732 ac_ext=cc
68733 ac_cpp='$CXXCPP $CPPFLAGS'
68734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68738 cat >conftest.$ac_ext <<_ACEOF
68739 /* confdefs.h. */
68740 _ACEOF
68741 cat confdefs.h >>conftest.$ac_ext
68742 cat >>conftest.$ac_ext <<_ACEOF
68743 /* end confdefs.h. */
68744 #include <math.h>
68746 main ()
68748 _ceilf (0); _floorf (0);
68750 return 0;
68752 _ACEOF
68753 rm -f conftest.$ac_objext
68754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68755 (eval $ac_compile) 2>conftest.er1
68756 ac_status=$?
68757 grep -v '^ *+' conftest.er1 >conftest.err
68758 rm -f conftest.er1
68759 cat conftest.err >&5
68760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68761 (exit $ac_status); } &&
68762 { ac_try='test -z "$ac_cxx_werror_flag"
68763 || test ! -s conftest.err'
68764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68765 (eval $ac_try) 2>&5
68766 ac_status=$?
68767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68768 (exit $ac_status); }; } &&
68769 { ac_try='test -s conftest.$ac_objext'
68770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68771 (eval $ac_try) 2>&5
68772 ac_status=$?
68773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68774 (exit $ac_status); }; }; then
68775 glibcxx_cv_func__float_round_use=yes
68776 else
68777 echo "$as_me: failed program was:" >&5
68778 sed 's/^/| /' conftest.$ac_ext >&5
68780 glibcxx_cv_func__float_round_use=no
68782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68783 ac_ext=c
68784 ac_cpp='$CPP $CPPFLAGS'
68785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68791 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
68792 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
68793 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68796 for ac_func in _ceilf _floorf
68798 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68799 echo "$as_me:$LINENO: checking for $ac_func" >&5
68800 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68801 if eval "test \"\${$as_ac_var+set}\" = set"; then
68802 echo $ECHO_N "(cached) $ECHO_C" >&6
68803 else
68804 if test x$gcc_no_link = xyes; then
68805 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68806 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68807 { (exit 1); exit 1; }; }
68809 cat >conftest.$ac_ext <<_ACEOF
68810 /* confdefs.h. */
68811 _ACEOF
68812 cat confdefs.h >>conftest.$ac_ext
68813 cat >>conftest.$ac_ext <<_ACEOF
68814 /* end confdefs.h. */
68815 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68816 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68817 #define $ac_func innocuous_$ac_func
68819 /* System header to define __stub macros and hopefully few prototypes,
68820 which can conflict with char $ac_func (); below.
68821 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68822 <limits.h> exists even on freestanding compilers. */
68824 #ifdef __STDC__
68825 # include <limits.h>
68826 #else
68827 # include <assert.h>
68828 #endif
68830 #undef $ac_func
68832 /* Override any gcc2 internal prototype to avoid an error. */
68833 #ifdef __cplusplus
68834 extern "C"
68836 #endif
68837 /* We use char because int might match the return type of a gcc2
68838 builtin and then its argument prototype would still apply. */
68839 char $ac_func ();
68840 /* The GNU C library defines this for functions which it implements
68841 to always fail with ENOSYS. Some functions are actually named
68842 something starting with __ and the normal name is an alias. */
68843 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68844 choke me
68845 #else
68846 char (*f) () = $ac_func;
68847 #endif
68848 #ifdef __cplusplus
68850 #endif
68853 main ()
68855 return f != $ac_func;
68857 return 0;
68859 _ACEOF
68860 rm -f conftest.$ac_objext conftest$ac_exeext
68861 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68862 (eval $ac_link) 2>conftest.er1
68863 ac_status=$?
68864 grep -v '^ *+' conftest.er1 >conftest.err
68865 rm -f conftest.er1
68866 cat conftest.err >&5
68867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68868 (exit $ac_status); } &&
68869 { ac_try='test -z "$ac_c_werror_flag"
68870 || test ! -s conftest.err'
68871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68872 (eval $ac_try) 2>&5
68873 ac_status=$?
68874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68875 (exit $ac_status); }; } &&
68876 { ac_try='test -s conftest$ac_exeext'
68877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68878 (eval $ac_try) 2>&5
68879 ac_status=$?
68880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68881 (exit $ac_status); }; }; then
68882 eval "$as_ac_var=yes"
68883 else
68884 echo "$as_me: failed program was:" >&5
68885 sed 's/^/| /' conftest.$ac_ext >&5
68887 eval "$as_ac_var=no"
68889 rm -f conftest.err conftest.$ac_objext \
68890 conftest$ac_exeext conftest.$ac_ext
68892 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68893 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68894 if test `eval echo '${'$as_ac_var'}'` = yes; then
68895 cat >>confdefs.h <<_ACEOF
68896 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68897 _ACEOF
68900 done
68912 echo "$as_me:$LINENO: checking for expf declaration" >&5
68913 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
68914 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68915 if test "${glibcxx_cv_func_expf_use+set}" = set; then
68916 echo $ECHO_N "(cached) $ECHO_C" >&6
68917 else
68921 ac_ext=cc
68922 ac_cpp='$CXXCPP $CPPFLAGS'
68923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68927 cat >conftest.$ac_ext <<_ACEOF
68928 /* confdefs.h. */
68929 _ACEOF
68930 cat confdefs.h >>conftest.$ac_ext
68931 cat >>conftest.$ac_ext <<_ACEOF
68932 /* end confdefs.h. */
68933 #include <math.h>
68934 #ifdef HAVE_IEEEFP_H
68935 #include <ieeefp.h>
68936 #endif
68939 main ()
68941 expf(0);
68943 return 0;
68945 _ACEOF
68946 rm -f conftest.$ac_objext
68947 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68948 (eval $ac_compile) 2>conftest.er1
68949 ac_status=$?
68950 grep -v '^ *+' conftest.er1 >conftest.err
68951 rm -f conftest.er1
68952 cat conftest.err >&5
68953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68954 (exit $ac_status); } &&
68955 { ac_try='test -z "$ac_cxx_werror_flag"
68956 || test ! -s conftest.err'
68957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68958 (eval $ac_try) 2>&5
68959 ac_status=$?
68960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68961 (exit $ac_status); }; } &&
68962 { ac_try='test -s conftest.$ac_objext'
68963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68964 (eval $ac_try) 2>&5
68965 ac_status=$?
68966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68967 (exit $ac_status); }; }; then
68968 glibcxx_cv_func_expf_use=yes
68969 else
68970 echo "$as_me: failed program was:" >&5
68971 sed 's/^/| /' conftest.$ac_ext >&5
68973 glibcxx_cv_func_expf_use=no
68975 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68976 ac_ext=c
68977 ac_cpp='$CPP $CPPFLAGS'
68978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68986 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
68987 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
68989 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68991 for ac_func in expf
68993 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68994 echo "$as_me:$LINENO: checking for $ac_func" >&5
68995 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68996 if eval "test \"\${$as_ac_var+set}\" = set"; then
68997 echo $ECHO_N "(cached) $ECHO_C" >&6
68998 else
68999 if test x$gcc_no_link = xyes; then
69000 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69001 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69002 { (exit 1); exit 1; }; }
69004 cat >conftest.$ac_ext <<_ACEOF
69005 /* confdefs.h. */
69006 _ACEOF
69007 cat confdefs.h >>conftest.$ac_ext
69008 cat >>conftest.$ac_ext <<_ACEOF
69009 /* end confdefs.h. */
69010 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69011 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69012 #define $ac_func innocuous_$ac_func
69014 /* System header to define __stub macros and hopefully few prototypes,
69015 which can conflict with char $ac_func (); below.
69016 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69017 <limits.h> exists even on freestanding compilers. */
69019 #ifdef __STDC__
69020 # include <limits.h>
69021 #else
69022 # include <assert.h>
69023 #endif
69025 #undef $ac_func
69027 /* Override any gcc2 internal prototype to avoid an error. */
69028 #ifdef __cplusplus
69029 extern "C"
69031 #endif
69032 /* We use char because int might match the return type of a gcc2
69033 builtin and then its argument prototype would still apply. */
69034 char $ac_func ();
69035 /* The GNU C library defines this for functions which it implements
69036 to always fail with ENOSYS. Some functions are actually named
69037 something starting with __ and the normal name is an alias. */
69038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69039 choke me
69040 #else
69041 char (*f) () = $ac_func;
69042 #endif
69043 #ifdef __cplusplus
69045 #endif
69048 main ()
69050 return f != $ac_func;
69052 return 0;
69054 _ACEOF
69055 rm -f conftest.$ac_objext conftest$ac_exeext
69056 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69057 (eval $ac_link) 2>conftest.er1
69058 ac_status=$?
69059 grep -v '^ *+' conftest.er1 >conftest.err
69060 rm -f conftest.er1
69061 cat conftest.err >&5
69062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69063 (exit $ac_status); } &&
69064 { ac_try='test -z "$ac_c_werror_flag"
69065 || test ! -s conftest.err'
69066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69067 (eval $ac_try) 2>&5
69068 ac_status=$?
69069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69070 (exit $ac_status); }; } &&
69071 { ac_try='test -s conftest$ac_exeext'
69072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69073 (eval $ac_try) 2>&5
69074 ac_status=$?
69075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69076 (exit $ac_status); }; }; then
69077 eval "$as_ac_var=yes"
69078 else
69079 echo "$as_me: failed program was:" >&5
69080 sed 's/^/| /' conftest.$ac_ext >&5
69082 eval "$as_ac_var=no"
69084 rm -f conftest.err conftest.$ac_objext \
69085 conftest$ac_exeext conftest.$ac_ext
69087 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69088 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69089 if test `eval echo '${'$as_ac_var'}'` = yes; then
69090 cat >>confdefs.h <<_ACEOF
69091 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69092 _ACEOF
69095 done
69097 else
69099 echo "$as_me:$LINENO: checking for _expf declaration" >&5
69100 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
69101 if test x${glibcxx_cv_func__expf_use+set} != xset; then
69102 if test "${glibcxx_cv_func__expf_use+set}" = set; then
69103 echo $ECHO_N "(cached) $ECHO_C" >&6
69104 else
69108 ac_ext=cc
69109 ac_cpp='$CXXCPP $CPPFLAGS'
69110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69114 cat >conftest.$ac_ext <<_ACEOF
69115 /* confdefs.h. */
69116 _ACEOF
69117 cat confdefs.h >>conftest.$ac_ext
69118 cat >>conftest.$ac_ext <<_ACEOF
69119 /* end confdefs.h. */
69120 #include <math.h>
69121 #ifdef HAVE_IEEEFP_H
69122 #include <ieeefp.h>
69123 #endif
69126 main ()
69128 _expf(0);
69130 return 0;
69132 _ACEOF
69133 rm -f conftest.$ac_objext
69134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69135 (eval $ac_compile) 2>conftest.er1
69136 ac_status=$?
69137 grep -v '^ *+' conftest.er1 >conftest.err
69138 rm -f conftest.er1
69139 cat conftest.err >&5
69140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69141 (exit $ac_status); } &&
69142 { ac_try='test -z "$ac_cxx_werror_flag"
69143 || test ! -s conftest.err'
69144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69145 (eval $ac_try) 2>&5
69146 ac_status=$?
69147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69148 (exit $ac_status); }; } &&
69149 { ac_try='test -s conftest.$ac_objext'
69150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69151 (eval $ac_try) 2>&5
69152 ac_status=$?
69153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69154 (exit $ac_status); }; }; then
69155 glibcxx_cv_func__expf_use=yes
69156 else
69157 echo "$as_me: failed program was:" >&5
69158 sed 's/^/| /' conftest.$ac_ext >&5
69160 glibcxx_cv_func__expf_use=no
69162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69163 ac_ext=c
69164 ac_cpp='$CPP $CPPFLAGS'
69165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
69174 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
69176 if test x$glibcxx_cv_func__expf_use = x"yes"; then
69178 for ac_func in _expf
69180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69181 echo "$as_me:$LINENO: checking for $ac_func" >&5
69182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69183 if eval "test \"\${$as_ac_var+set}\" = set"; then
69184 echo $ECHO_N "(cached) $ECHO_C" >&6
69185 else
69186 if test x$gcc_no_link = xyes; then
69187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69189 { (exit 1); exit 1; }; }
69191 cat >conftest.$ac_ext <<_ACEOF
69192 /* confdefs.h. */
69193 _ACEOF
69194 cat confdefs.h >>conftest.$ac_ext
69195 cat >>conftest.$ac_ext <<_ACEOF
69196 /* end confdefs.h. */
69197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69199 #define $ac_func innocuous_$ac_func
69201 /* System header to define __stub macros and hopefully few prototypes,
69202 which can conflict with char $ac_func (); below.
69203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69204 <limits.h> exists even on freestanding compilers. */
69206 #ifdef __STDC__
69207 # include <limits.h>
69208 #else
69209 # include <assert.h>
69210 #endif
69212 #undef $ac_func
69214 /* Override any gcc2 internal prototype to avoid an error. */
69215 #ifdef __cplusplus
69216 extern "C"
69218 #endif
69219 /* We use char because int might match the return type of a gcc2
69220 builtin and then its argument prototype would still apply. */
69221 char $ac_func ();
69222 /* The GNU C library defines this for functions which it implements
69223 to always fail with ENOSYS. Some functions are actually named
69224 something starting with __ and the normal name is an alias. */
69225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69226 choke me
69227 #else
69228 char (*f) () = $ac_func;
69229 #endif
69230 #ifdef __cplusplus
69232 #endif
69235 main ()
69237 return f != $ac_func;
69239 return 0;
69241 _ACEOF
69242 rm -f conftest.$ac_objext conftest$ac_exeext
69243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69244 (eval $ac_link) 2>conftest.er1
69245 ac_status=$?
69246 grep -v '^ *+' conftest.er1 >conftest.err
69247 rm -f conftest.er1
69248 cat conftest.err >&5
69249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69250 (exit $ac_status); } &&
69251 { ac_try='test -z "$ac_c_werror_flag"
69252 || test ! -s conftest.err'
69253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69254 (eval $ac_try) 2>&5
69255 ac_status=$?
69256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69257 (exit $ac_status); }; } &&
69258 { ac_try='test -s conftest$ac_exeext'
69259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69260 (eval $ac_try) 2>&5
69261 ac_status=$?
69262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69263 (exit $ac_status); }; }; then
69264 eval "$as_ac_var=yes"
69265 else
69266 echo "$as_me: failed program was:" >&5
69267 sed 's/^/| /' conftest.$ac_ext >&5
69269 eval "$as_ac_var=no"
69271 rm -f conftest.err conftest.$ac_objext \
69272 conftest$ac_exeext conftest.$ac_ext
69274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69276 if test `eval echo '${'$as_ac_var'}'` = yes; then
69277 cat >>confdefs.h <<_ACEOF
69278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69279 _ACEOF
69282 done
69292 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
69293 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
69294 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
69295 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
69296 echo $ECHO_N "(cached) $ECHO_C" >&6
69297 else
69301 ac_ext=cc
69302 ac_cpp='$CXXCPP $CPPFLAGS'
69303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69307 cat >conftest.$ac_ext <<_ACEOF
69308 /* confdefs.h. */
69309 _ACEOF
69310 cat confdefs.h >>conftest.$ac_ext
69311 cat >>conftest.$ac_ext <<_ACEOF
69312 /* end confdefs.h. */
69313 #include <math.h>
69314 #ifdef HAVE_IEEEFP_H
69315 #include <ieeefp.h>
69316 #endif
69319 main ()
69321 isnanf(0);
69323 return 0;
69325 _ACEOF
69326 rm -f conftest.$ac_objext
69327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69328 (eval $ac_compile) 2>conftest.er1
69329 ac_status=$?
69330 grep -v '^ *+' conftest.er1 >conftest.err
69331 rm -f conftest.er1
69332 cat conftest.err >&5
69333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69334 (exit $ac_status); } &&
69335 { ac_try='test -z "$ac_cxx_werror_flag"
69336 || test ! -s conftest.err'
69337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69338 (eval $ac_try) 2>&5
69339 ac_status=$?
69340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69341 (exit $ac_status); }; } &&
69342 { ac_try='test -s conftest.$ac_objext'
69343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69344 (eval $ac_try) 2>&5
69345 ac_status=$?
69346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69347 (exit $ac_status); }; }; then
69348 glibcxx_cv_func_isnanf_use=yes
69349 else
69350 echo "$as_me: failed program was:" >&5
69351 sed 's/^/| /' conftest.$ac_ext >&5
69353 glibcxx_cv_func_isnanf_use=no
69355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69356 ac_ext=c
69357 ac_cpp='$CPP $CPPFLAGS'
69358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
69367 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
69369 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
69371 for ac_func in isnanf
69373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69374 echo "$as_me:$LINENO: checking for $ac_func" >&5
69375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69376 if eval "test \"\${$as_ac_var+set}\" = set"; then
69377 echo $ECHO_N "(cached) $ECHO_C" >&6
69378 else
69379 if test x$gcc_no_link = xyes; then
69380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69382 { (exit 1); exit 1; }; }
69384 cat >conftest.$ac_ext <<_ACEOF
69385 /* confdefs.h. */
69386 _ACEOF
69387 cat confdefs.h >>conftest.$ac_ext
69388 cat >>conftest.$ac_ext <<_ACEOF
69389 /* end confdefs.h. */
69390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69392 #define $ac_func innocuous_$ac_func
69394 /* System header to define __stub macros and hopefully few prototypes,
69395 which can conflict with char $ac_func (); below.
69396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69397 <limits.h> exists even on freestanding compilers. */
69399 #ifdef __STDC__
69400 # include <limits.h>
69401 #else
69402 # include <assert.h>
69403 #endif
69405 #undef $ac_func
69407 /* Override any gcc2 internal prototype to avoid an error. */
69408 #ifdef __cplusplus
69409 extern "C"
69411 #endif
69412 /* We use char because int might match the return type of a gcc2
69413 builtin and then its argument prototype would still apply. */
69414 char $ac_func ();
69415 /* The GNU C library defines this for functions which it implements
69416 to always fail with ENOSYS. Some functions are actually named
69417 something starting with __ and the normal name is an alias. */
69418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69419 choke me
69420 #else
69421 char (*f) () = $ac_func;
69422 #endif
69423 #ifdef __cplusplus
69425 #endif
69428 main ()
69430 return f != $ac_func;
69432 return 0;
69434 _ACEOF
69435 rm -f conftest.$ac_objext conftest$ac_exeext
69436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69437 (eval $ac_link) 2>conftest.er1
69438 ac_status=$?
69439 grep -v '^ *+' conftest.er1 >conftest.err
69440 rm -f conftest.er1
69441 cat conftest.err >&5
69442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69443 (exit $ac_status); } &&
69444 { ac_try='test -z "$ac_c_werror_flag"
69445 || test ! -s conftest.err'
69446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69447 (eval $ac_try) 2>&5
69448 ac_status=$?
69449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69450 (exit $ac_status); }; } &&
69451 { ac_try='test -s conftest$ac_exeext'
69452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69453 (eval $ac_try) 2>&5
69454 ac_status=$?
69455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69456 (exit $ac_status); }; }; then
69457 eval "$as_ac_var=yes"
69458 else
69459 echo "$as_me: failed program was:" >&5
69460 sed 's/^/| /' conftest.$ac_ext >&5
69462 eval "$as_ac_var=no"
69464 rm -f conftest.err conftest.$ac_objext \
69465 conftest$ac_exeext conftest.$ac_ext
69467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69469 if test `eval echo '${'$as_ac_var'}'` = yes; then
69470 cat >>confdefs.h <<_ACEOF
69471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69472 _ACEOF
69475 done
69477 else
69479 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
69480 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
69481 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
69482 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
69483 echo $ECHO_N "(cached) $ECHO_C" >&6
69484 else
69488 ac_ext=cc
69489 ac_cpp='$CXXCPP $CPPFLAGS'
69490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69494 cat >conftest.$ac_ext <<_ACEOF
69495 /* confdefs.h. */
69496 _ACEOF
69497 cat confdefs.h >>conftest.$ac_ext
69498 cat >>conftest.$ac_ext <<_ACEOF
69499 /* end confdefs.h. */
69500 #include <math.h>
69501 #ifdef HAVE_IEEEFP_H
69502 #include <ieeefp.h>
69503 #endif
69506 main ()
69508 _isnanf(0);
69510 return 0;
69512 _ACEOF
69513 rm -f conftest.$ac_objext
69514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69515 (eval $ac_compile) 2>conftest.er1
69516 ac_status=$?
69517 grep -v '^ *+' conftest.er1 >conftest.err
69518 rm -f conftest.er1
69519 cat conftest.err >&5
69520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69521 (exit $ac_status); } &&
69522 { ac_try='test -z "$ac_cxx_werror_flag"
69523 || test ! -s conftest.err'
69524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69525 (eval $ac_try) 2>&5
69526 ac_status=$?
69527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69528 (exit $ac_status); }; } &&
69529 { ac_try='test -s conftest.$ac_objext'
69530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69531 (eval $ac_try) 2>&5
69532 ac_status=$?
69533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69534 (exit $ac_status); }; }; then
69535 glibcxx_cv_func__isnanf_use=yes
69536 else
69537 echo "$as_me: failed program was:" >&5
69538 sed 's/^/| /' conftest.$ac_ext >&5
69540 glibcxx_cv_func__isnanf_use=no
69542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69543 ac_ext=c
69544 ac_cpp='$CPP $CPPFLAGS'
69545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
69554 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
69556 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
69558 for ac_func in _isnanf
69560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69561 echo "$as_me:$LINENO: checking for $ac_func" >&5
69562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69563 if eval "test \"\${$as_ac_var+set}\" = set"; then
69564 echo $ECHO_N "(cached) $ECHO_C" >&6
69565 else
69566 if test x$gcc_no_link = xyes; then
69567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69569 { (exit 1); exit 1; }; }
69571 cat >conftest.$ac_ext <<_ACEOF
69572 /* confdefs.h. */
69573 _ACEOF
69574 cat confdefs.h >>conftest.$ac_ext
69575 cat >>conftest.$ac_ext <<_ACEOF
69576 /* end confdefs.h. */
69577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69579 #define $ac_func innocuous_$ac_func
69581 /* System header to define __stub macros and hopefully few prototypes,
69582 which can conflict with char $ac_func (); below.
69583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69584 <limits.h> exists even on freestanding compilers. */
69586 #ifdef __STDC__
69587 # include <limits.h>
69588 #else
69589 # include <assert.h>
69590 #endif
69592 #undef $ac_func
69594 /* Override any gcc2 internal prototype to avoid an error. */
69595 #ifdef __cplusplus
69596 extern "C"
69598 #endif
69599 /* We use char because int might match the return type of a gcc2
69600 builtin and then its argument prototype would still apply. */
69601 char $ac_func ();
69602 /* The GNU C library defines this for functions which it implements
69603 to always fail with ENOSYS. Some functions are actually named
69604 something starting with __ and the normal name is an alias. */
69605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69606 choke me
69607 #else
69608 char (*f) () = $ac_func;
69609 #endif
69610 #ifdef __cplusplus
69612 #endif
69615 main ()
69617 return f != $ac_func;
69619 return 0;
69621 _ACEOF
69622 rm -f conftest.$ac_objext conftest$ac_exeext
69623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69624 (eval $ac_link) 2>conftest.er1
69625 ac_status=$?
69626 grep -v '^ *+' conftest.er1 >conftest.err
69627 rm -f conftest.er1
69628 cat conftest.err >&5
69629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69630 (exit $ac_status); } &&
69631 { ac_try='test -z "$ac_c_werror_flag"
69632 || test ! -s conftest.err'
69633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69634 (eval $ac_try) 2>&5
69635 ac_status=$?
69636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69637 (exit $ac_status); }; } &&
69638 { ac_try='test -s conftest$ac_exeext'
69639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69640 (eval $ac_try) 2>&5
69641 ac_status=$?
69642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69643 (exit $ac_status); }; }; then
69644 eval "$as_ac_var=yes"
69645 else
69646 echo "$as_me: failed program was:" >&5
69647 sed 's/^/| /' conftest.$ac_ext >&5
69649 eval "$as_ac_var=no"
69651 rm -f conftest.err conftest.$ac_objext \
69652 conftest$ac_exeext conftest.$ac_ext
69654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69656 if test `eval echo '${'$as_ac_var'}'` = yes; then
69657 cat >>confdefs.h <<_ACEOF
69658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69659 _ACEOF
69662 done
69672 echo "$as_me:$LINENO: checking for isinff declaration" >&5
69673 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
69674 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
69675 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
69676 echo $ECHO_N "(cached) $ECHO_C" >&6
69677 else
69681 ac_ext=cc
69682 ac_cpp='$CXXCPP $CPPFLAGS'
69683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69687 cat >conftest.$ac_ext <<_ACEOF
69688 /* confdefs.h. */
69689 _ACEOF
69690 cat confdefs.h >>conftest.$ac_ext
69691 cat >>conftest.$ac_ext <<_ACEOF
69692 /* end confdefs.h. */
69693 #include <math.h>
69694 #ifdef HAVE_IEEEFP_H
69695 #include <ieeefp.h>
69696 #endif
69699 main ()
69701 isinff(0);
69703 return 0;
69705 _ACEOF
69706 rm -f conftest.$ac_objext
69707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69708 (eval $ac_compile) 2>conftest.er1
69709 ac_status=$?
69710 grep -v '^ *+' conftest.er1 >conftest.err
69711 rm -f conftest.er1
69712 cat conftest.err >&5
69713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69714 (exit $ac_status); } &&
69715 { ac_try='test -z "$ac_cxx_werror_flag"
69716 || test ! -s conftest.err'
69717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69718 (eval $ac_try) 2>&5
69719 ac_status=$?
69720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69721 (exit $ac_status); }; } &&
69722 { ac_try='test -s conftest.$ac_objext'
69723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69724 (eval $ac_try) 2>&5
69725 ac_status=$?
69726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69727 (exit $ac_status); }; }; then
69728 glibcxx_cv_func_isinff_use=yes
69729 else
69730 echo "$as_me: failed program was:" >&5
69731 sed 's/^/| /' conftest.$ac_ext >&5
69733 glibcxx_cv_func_isinff_use=no
69735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69736 ac_ext=c
69737 ac_cpp='$CPP $CPPFLAGS'
69738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
69747 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
69749 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
69751 for ac_func in isinff
69753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69754 echo "$as_me:$LINENO: checking for $ac_func" >&5
69755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69756 if eval "test \"\${$as_ac_var+set}\" = set"; then
69757 echo $ECHO_N "(cached) $ECHO_C" >&6
69758 else
69759 if test x$gcc_no_link = xyes; then
69760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69762 { (exit 1); exit 1; }; }
69764 cat >conftest.$ac_ext <<_ACEOF
69765 /* confdefs.h. */
69766 _ACEOF
69767 cat confdefs.h >>conftest.$ac_ext
69768 cat >>conftest.$ac_ext <<_ACEOF
69769 /* end confdefs.h. */
69770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69772 #define $ac_func innocuous_$ac_func
69774 /* System header to define __stub macros and hopefully few prototypes,
69775 which can conflict with char $ac_func (); below.
69776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69777 <limits.h> exists even on freestanding compilers. */
69779 #ifdef __STDC__
69780 # include <limits.h>
69781 #else
69782 # include <assert.h>
69783 #endif
69785 #undef $ac_func
69787 /* Override any gcc2 internal prototype to avoid an error. */
69788 #ifdef __cplusplus
69789 extern "C"
69791 #endif
69792 /* We use char because int might match the return type of a gcc2
69793 builtin and then its argument prototype would still apply. */
69794 char $ac_func ();
69795 /* The GNU C library defines this for functions which it implements
69796 to always fail with ENOSYS. Some functions are actually named
69797 something starting with __ and the normal name is an alias. */
69798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69799 choke me
69800 #else
69801 char (*f) () = $ac_func;
69802 #endif
69803 #ifdef __cplusplus
69805 #endif
69808 main ()
69810 return f != $ac_func;
69812 return 0;
69814 _ACEOF
69815 rm -f conftest.$ac_objext conftest$ac_exeext
69816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69817 (eval $ac_link) 2>conftest.er1
69818 ac_status=$?
69819 grep -v '^ *+' conftest.er1 >conftest.err
69820 rm -f conftest.er1
69821 cat conftest.err >&5
69822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69823 (exit $ac_status); } &&
69824 { ac_try='test -z "$ac_c_werror_flag"
69825 || test ! -s conftest.err'
69826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69827 (eval $ac_try) 2>&5
69828 ac_status=$?
69829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69830 (exit $ac_status); }; } &&
69831 { ac_try='test -s conftest$ac_exeext'
69832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69833 (eval $ac_try) 2>&5
69834 ac_status=$?
69835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69836 (exit $ac_status); }; }; then
69837 eval "$as_ac_var=yes"
69838 else
69839 echo "$as_me: failed program was:" >&5
69840 sed 's/^/| /' conftest.$ac_ext >&5
69842 eval "$as_ac_var=no"
69844 rm -f conftest.err conftest.$ac_objext \
69845 conftest$ac_exeext conftest.$ac_ext
69847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69849 if test `eval echo '${'$as_ac_var'}'` = yes; then
69850 cat >>confdefs.h <<_ACEOF
69851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69852 _ACEOF
69855 done
69857 else
69859 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
69860 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
69861 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
69862 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
69863 echo $ECHO_N "(cached) $ECHO_C" >&6
69864 else
69868 ac_ext=cc
69869 ac_cpp='$CXXCPP $CPPFLAGS'
69870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69874 cat >conftest.$ac_ext <<_ACEOF
69875 /* confdefs.h. */
69876 _ACEOF
69877 cat confdefs.h >>conftest.$ac_ext
69878 cat >>conftest.$ac_ext <<_ACEOF
69879 /* end confdefs.h. */
69880 #include <math.h>
69881 #ifdef HAVE_IEEEFP_H
69882 #include <ieeefp.h>
69883 #endif
69886 main ()
69888 _isinff(0);
69890 return 0;
69892 _ACEOF
69893 rm -f conftest.$ac_objext
69894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69895 (eval $ac_compile) 2>conftest.er1
69896 ac_status=$?
69897 grep -v '^ *+' conftest.er1 >conftest.err
69898 rm -f conftest.er1
69899 cat conftest.err >&5
69900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69901 (exit $ac_status); } &&
69902 { ac_try='test -z "$ac_cxx_werror_flag"
69903 || test ! -s conftest.err'
69904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69905 (eval $ac_try) 2>&5
69906 ac_status=$?
69907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69908 (exit $ac_status); }; } &&
69909 { ac_try='test -s conftest.$ac_objext'
69910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69911 (eval $ac_try) 2>&5
69912 ac_status=$?
69913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69914 (exit $ac_status); }; }; then
69915 glibcxx_cv_func__isinff_use=yes
69916 else
69917 echo "$as_me: failed program was:" >&5
69918 sed 's/^/| /' conftest.$ac_ext >&5
69920 glibcxx_cv_func__isinff_use=no
69922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69923 ac_ext=c
69924 ac_cpp='$CPP $CPPFLAGS'
69925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69933 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
69934 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
69936 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
69938 for ac_func in _isinff
69940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69941 echo "$as_me:$LINENO: checking for $ac_func" >&5
69942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69943 if eval "test \"\${$as_ac_var+set}\" = set"; then
69944 echo $ECHO_N "(cached) $ECHO_C" >&6
69945 else
69946 if test x$gcc_no_link = xyes; then
69947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69949 { (exit 1); exit 1; }; }
69951 cat >conftest.$ac_ext <<_ACEOF
69952 /* confdefs.h. */
69953 _ACEOF
69954 cat confdefs.h >>conftest.$ac_ext
69955 cat >>conftest.$ac_ext <<_ACEOF
69956 /* end confdefs.h. */
69957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69959 #define $ac_func innocuous_$ac_func
69961 /* System header to define __stub macros and hopefully few prototypes,
69962 which can conflict with char $ac_func (); below.
69963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69964 <limits.h> exists even on freestanding compilers. */
69966 #ifdef __STDC__
69967 # include <limits.h>
69968 #else
69969 # include <assert.h>
69970 #endif
69972 #undef $ac_func
69974 /* Override any gcc2 internal prototype to avoid an error. */
69975 #ifdef __cplusplus
69976 extern "C"
69978 #endif
69979 /* We use char because int might match the return type of a gcc2
69980 builtin and then its argument prototype would still apply. */
69981 char $ac_func ();
69982 /* The GNU C library defines this for functions which it implements
69983 to always fail with ENOSYS. Some functions are actually named
69984 something starting with __ and the normal name is an alias. */
69985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69986 choke me
69987 #else
69988 char (*f) () = $ac_func;
69989 #endif
69990 #ifdef __cplusplus
69992 #endif
69995 main ()
69997 return f != $ac_func;
69999 return 0;
70001 _ACEOF
70002 rm -f conftest.$ac_objext conftest$ac_exeext
70003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70004 (eval $ac_link) 2>conftest.er1
70005 ac_status=$?
70006 grep -v '^ *+' conftest.er1 >conftest.err
70007 rm -f conftest.er1
70008 cat conftest.err >&5
70009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70010 (exit $ac_status); } &&
70011 { ac_try='test -z "$ac_c_werror_flag"
70012 || test ! -s conftest.err'
70013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70014 (eval $ac_try) 2>&5
70015 ac_status=$?
70016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70017 (exit $ac_status); }; } &&
70018 { ac_try='test -s conftest$ac_exeext'
70019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70020 (eval $ac_try) 2>&5
70021 ac_status=$?
70022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70023 (exit $ac_status); }; }; then
70024 eval "$as_ac_var=yes"
70025 else
70026 echo "$as_me: failed program was:" >&5
70027 sed 's/^/| /' conftest.$ac_ext >&5
70029 eval "$as_ac_var=no"
70031 rm -f conftest.err conftest.$ac_objext \
70032 conftest$ac_exeext conftest.$ac_ext
70034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70036 if test `eval echo '${'$as_ac_var'}'` = yes; then
70037 cat >>confdefs.h <<_ACEOF
70038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70039 _ACEOF
70042 done
70052 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
70053 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
70054 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
70055 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
70056 echo $ECHO_N "(cached) $ECHO_C" >&6
70057 else
70061 ac_ext=cc
70062 ac_cpp='$CXXCPP $CPPFLAGS'
70063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70067 cat >conftest.$ac_ext <<_ACEOF
70068 /* confdefs.h. */
70069 _ACEOF
70070 cat confdefs.h >>conftest.$ac_ext
70071 cat >>conftest.$ac_ext <<_ACEOF
70072 /* end confdefs.h. */
70073 #include <math.h>
70075 main ()
70077 atan2f(0, 0);
70079 return 0;
70081 _ACEOF
70082 rm -f conftest.$ac_objext
70083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70084 (eval $ac_compile) 2>conftest.er1
70085 ac_status=$?
70086 grep -v '^ *+' conftest.er1 >conftest.err
70087 rm -f conftest.er1
70088 cat conftest.err >&5
70089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70090 (exit $ac_status); } &&
70091 { ac_try='test -z "$ac_cxx_werror_flag"
70092 || test ! -s conftest.err'
70093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70094 (eval $ac_try) 2>&5
70095 ac_status=$?
70096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70097 (exit $ac_status); }; } &&
70098 { ac_try='test -s conftest.$ac_objext'
70099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70100 (eval $ac_try) 2>&5
70101 ac_status=$?
70102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70103 (exit $ac_status); }; }; then
70104 glibcxx_cv_func_atan2f_use=yes
70105 else
70106 echo "$as_me: failed program was:" >&5
70107 sed 's/^/| /' conftest.$ac_ext >&5
70109 glibcxx_cv_func_atan2f_use=no
70111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70112 ac_ext=c
70113 ac_cpp='$CPP $CPPFLAGS'
70114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
70123 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
70125 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
70127 for ac_func in atan2f
70129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70130 echo "$as_me:$LINENO: checking for $ac_func" >&5
70131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70132 if eval "test \"\${$as_ac_var+set}\" = set"; then
70133 echo $ECHO_N "(cached) $ECHO_C" >&6
70134 else
70135 if test x$gcc_no_link = xyes; then
70136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70138 { (exit 1); exit 1; }; }
70140 cat >conftest.$ac_ext <<_ACEOF
70141 /* confdefs.h. */
70142 _ACEOF
70143 cat confdefs.h >>conftest.$ac_ext
70144 cat >>conftest.$ac_ext <<_ACEOF
70145 /* end confdefs.h. */
70146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70148 #define $ac_func innocuous_$ac_func
70150 /* System header to define __stub macros and hopefully few prototypes,
70151 which can conflict with char $ac_func (); below.
70152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70153 <limits.h> exists even on freestanding compilers. */
70155 #ifdef __STDC__
70156 # include <limits.h>
70157 #else
70158 # include <assert.h>
70159 #endif
70161 #undef $ac_func
70163 /* Override any gcc2 internal prototype to avoid an error. */
70164 #ifdef __cplusplus
70165 extern "C"
70167 #endif
70168 /* We use char because int might match the return type of a gcc2
70169 builtin and then its argument prototype would still apply. */
70170 char $ac_func ();
70171 /* The GNU C library defines this for functions which it implements
70172 to always fail with ENOSYS. Some functions are actually named
70173 something starting with __ and the normal name is an alias. */
70174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70175 choke me
70176 #else
70177 char (*f) () = $ac_func;
70178 #endif
70179 #ifdef __cplusplus
70181 #endif
70184 main ()
70186 return f != $ac_func;
70188 return 0;
70190 _ACEOF
70191 rm -f conftest.$ac_objext conftest$ac_exeext
70192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70193 (eval $ac_link) 2>conftest.er1
70194 ac_status=$?
70195 grep -v '^ *+' conftest.er1 >conftest.err
70196 rm -f conftest.er1
70197 cat conftest.err >&5
70198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70199 (exit $ac_status); } &&
70200 { ac_try='test -z "$ac_c_werror_flag"
70201 || test ! -s conftest.err'
70202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70203 (eval $ac_try) 2>&5
70204 ac_status=$?
70205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70206 (exit $ac_status); }; } &&
70207 { ac_try='test -s conftest$ac_exeext'
70208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70209 (eval $ac_try) 2>&5
70210 ac_status=$?
70211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70212 (exit $ac_status); }; }; then
70213 eval "$as_ac_var=yes"
70214 else
70215 echo "$as_me: failed program was:" >&5
70216 sed 's/^/| /' conftest.$ac_ext >&5
70218 eval "$as_ac_var=no"
70220 rm -f conftest.err conftest.$ac_objext \
70221 conftest$ac_exeext conftest.$ac_ext
70223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70225 if test `eval echo '${'$as_ac_var'}'` = yes; then
70226 cat >>confdefs.h <<_ACEOF
70227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70228 _ACEOF
70231 done
70233 else
70235 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
70236 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
70237 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
70238 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
70239 echo $ECHO_N "(cached) $ECHO_C" >&6
70240 else
70244 ac_ext=cc
70245 ac_cpp='$CXXCPP $CPPFLAGS'
70246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70250 cat >conftest.$ac_ext <<_ACEOF
70251 /* confdefs.h. */
70252 _ACEOF
70253 cat confdefs.h >>conftest.$ac_ext
70254 cat >>conftest.$ac_ext <<_ACEOF
70255 /* end confdefs.h. */
70256 #include <math.h>
70258 main ()
70260 _atan2f(0, 0);
70262 return 0;
70264 _ACEOF
70265 rm -f conftest.$ac_objext
70266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70267 (eval $ac_compile) 2>conftest.er1
70268 ac_status=$?
70269 grep -v '^ *+' conftest.er1 >conftest.err
70270 rm -f conftest.er1
70271 cat conftest.err >&5
70272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70273 (exit $ac_status); } &&
70274 { ac_try='test -z "$ac_cxx_werror_flag"
70275 || test ! -s conftest.err'
70276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70277 (eval $ac_try) 2>&5
70278 ac_status=$?
70279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70280 (exit $ac_status); }; } &&
70281 { ac_try='test -s conftest.$ac_objext'
70282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70283 (eval $ac_try) 2>&5
70284 ac_status=$?
70285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70286 (exit $ac_status); }; }; then
70287 glibcxx_cv_func__atan2f_use=yes
70288 else
70289 echo "$as_me: failed program was:" >&5
70290 sed 's/^/| /' conftest.$ac_ext >&5
70292 glibcxx_cv_func__atan2f_use=no
70294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70295 ac_ext=c
70296 ac_cpp='$CPP $CPPFLAGS'
70297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70305 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
70306 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
70308 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
70310 for ac_func in _atan2f
70312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70313 echo "$as_me:$LINENO: checking for $ac_func" >&5
70314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70315 if eval "test \"\${$as_ac_var+set}\" = set"; then
70316 echo $ECHO_N "(cached) $ECHO_C" >&6
70317 else
70318 if test x$gcc_no_link = xyes; then
70319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70321 { (exit 1); exit 1; }; }
70323 cat >conftest.$ac_ext <<_ACEOF
70324 /* confdefs.h. */
70325 _ACEOF
70326 cat confdefs.h >>conftest.$ac_ext
70327 cat >>conftest.$ac_ext <<_ACEOF
70328 /* end confdefs.h. */
70329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70331 #define $ac_func innocuous_$ac_func
70333 /* System header to define __stub macros and hopefully few prototypes,
70334 which can conflict with char $ac_func (); below.
70335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70336 <limits.h> exists even on freestanding compilers. */
70338 #ifdef __STDC__
70339 # include <limits.h>
70340 #else
70341 # include <assert.h>
70342 #endif
70344 #undef $ac_func
70346 /* Override any gcc2 internal prototype to avoid an error. */
70347 #ifdef __cplusplus
70348 extern "C"
70350 #endif
70351 /* We use char because int might match the return type of a gcc2
70352 builtin and then its argument prototype would still apply. */
70353 char $ac_func ();
70354 /* The GNU C library defines this for functions which it implements
70355 to always fail with ENOSYS. Some functions are actually named
70356 something starting with __ and the normal name is an alias. */
70357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70358 choke me
70359 #else
70360 char (*f) () = $ac_func;
70361 #endif
70362 #ifdef __cplusplus
70364 #endif
70367 main ()
70369 return f != $ac_func;
70371 return 0;
70373 _ACEOF
70374 rm -f conftest.$ac_objext conftest$ac_exeext
70375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70376 (eval $ac_link) 2>conftest.er1
70377 ac_status=$?
70378 grep -v '^ *+' conftest.er1 >conftest.err
70379 rm -f conftest.er1
70380 cat conftest.err >&5
70381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70382 (exit $ac_status); } &&
70383 { ac_try='test -z "$ac_c_werror_flag"
70384 || test ! -s conftest.err'
70385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70386 (eval $ac_try) 2>&5
70387 ac_status=$?
70388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70389 (exit $ac_status); }; } &&
70390 { ac_try='test -s conftest$ac_exeext'
70391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70392 (eval $ac_try) 2>&5
70393 ac_status=$?
70394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70395 (exit $ac_status); }; }; then
70396 eval "$as_ac_var=yes"
70397 else
70398 echo "$as_me: failed program was:" >&5
70399 sed 's/^/| /' conftest.$ac_ext >&5
70401 eval "$as_ac_var=no"
70403 rm -f conftest.err conftest.$ac_objext \
70404 conftest$ac_exeext conftest.$ac_ext
70406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70408 if test `eval echo '${'$as_ac_var'}'` = yes; then
70409 cat >>confdefs.h <<_ACEOF
70410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70411 _ACEOF
70414 done
70424 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
70425 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
70426 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
70427 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
70428 echo $ECHO_N "(cached) $ECHO_C" >&6
70429 else
70433 ac_ext=cc
70434 ac_cpp='$CXXCPP $CPPFLAGS'
70435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70439 cat >conftest.$ac_ext <<_ACEOF
70440 /* confdefs.h. */
70441 _ACEOF
70442 cat confdefs.h >>conftest.$ac_ext
70443 cat >>conftest.$ac_ext <<_ACEOF
70444 /* end confdefs.h. */
70445 #include <math.h>
70446 #ifdef HAVE_IEEEFP_H
70447 #include <ieeefp.h>
70448 #endif
70451 main ()
70453 fabsf(0);
70455 return 0;
70457 _ACEOF
70458 rm -f conftest.$ac_objext
70459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70460 (eval $ac_compile) 2>conftest.er1
70461 ac_status=$?
70462 grep -v '^ *+' conftest.er1 >conftest.err
70463 rm -f conftest.er1
70464 cat conftest.err >&5
70465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70466 (exit $ac_status); } &&
70467 { ac_try='test -z "$ac_cxx_werror_flag"
70468 || test ! -s conftest.err'
70469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70470 (eval $ac_try) 2>&5
70471 ac_status=$?
70472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70473 (exit $ac_status); }; } &&
70474 { ac_try='test -s conftest.$ac_objext'
70475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70476 (eval $ac_try) 2>&5
70477 ac_status=$?
70478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70479 (exit $ac_status); }; }; then
70480 glibcxx_cv_func_fabsf_use=yes
70481 else
70482 echo "$as_me: failed program was:" >&5
70483 sed 's/^/| /' conftest.$ac_ext >&5
70485 glibcxx_cv_func_fabsf_use=no
70487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70488 ac_ext=c
70489 ac_cpp='$CPP $CPPFLAGS'
70490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
70499 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
70501 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
70503 for ac_func in fabsf
70505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70506 echo "$as_me:$LINENO: checking for $ac_func" >&5
70507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70508 if eval "test \"\${$as_ac_var+set}\" = set"; then
70509 echo $ECHO_N "(cached) $ECHO_C" >&6
70510 else
70511 if test x$gcc_no_link = xyes; then
70512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70514 { (exit 1); exit 1; }; }
70516 cat >conftest.$ac_ext <<_ACEOF
70517 /* confdefs.h. */
70518 _ACEOF
70519 cat confdefs.h >>conftest.$ac_ext
70520 cat >>conftest.$ac_ext <<_ACEOF
70521 /* end confdefs.h. */
70522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70524 #define $ac_func innocuous_$ac_func
70526 /* System header to define __stub macros and hopefully few prototypes,
70527 which can conflict with char $ac_func (); below.
70528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70529 <limits.h> exists even on freestanding compilers. */
70531 #ifdef __STDC__
70532 # include <limits.h>
70533 #else
70534 # include <assert.h>
70535 #endif
70537 #undef $ac_func
70539 /* Override any gcc2 internal prototype to avoid an error. */
70540 #ifdef __cplusplus
70541 extern "C"
70543 #endif
70544 /* We use char because int might match the return type of a gcc2
70545 builtin and then its argument prototype would still apply. */
70546 char $ac_func ();
70547 /* The GNU C library defines this for functions which it implements
70548 to always fail with ENOSYS. Some functions are actually named
70549 something starting with __ and the normal name is an alias. */
70550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70551 choke me
70552 #else
70553 char (*f) () = $ac_func;
70554 #endif
70555 #ifdef __cplusplus
70557 #endif
70560 main ()
70562 return f != $ac_func;
70564 return 0;
70566 _ACEOF
70567 rm -f conftest.$ac_objext conftest$ac_exeext
70568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70569 (eval $ac_link) 2>conftest.er1
70570 ac_status=$?
70571 grep -v '^ *+' conftest.er1 >conftest.err
70572 rm -f conftest.er1
70573 cat conftest.err >&5
70574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70575 (exit $ac_status); } &&
70576 { ac_try='test -z "$ac_c_werror_flag"
70577 || test ! -s conftest.err'
70578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70579 (eval $ac_try) 2>&5
70580 ac_status=$?
70581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70582 (exit $ac_status); }; } &&
70583 { ac_try='test -s conftest$ac_exeext'
70584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70585 (eval $ac_try) 2>&5
70586 ac_status=$?
70587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70588 (exit $ac_status); }; }; then
70589 eval "$as_ac_var=yes"
70590 else
70591 echo "$as_me: failed program was:" >&5
70592 sed 's/^/| /' conftest.$ac_ext >&5
70594 eval "$as_ac_var=no"
70596 rm -f conftest.err conftest.$ac_objext \
70597 conftest$ac_exeext conftest.$ac_ext
70599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70601 if test `eval echo '${'$as_ac_var'}'` = yes; then
70602 cat >>confdefs.h <<_ACEOF
70603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70604 _ACEOF
70607 done
70609 else
70611 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
70612 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
70613 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
70614 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
70615 echo $ECHO_N "(cached) $ECHO_C" >&6
70616 else
70620 ac_ext=cc
70621 ac_cpp='$CXXCPP $CPPFLAGS'
70622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70626 cat >conftest.$ac_ext <<_ACEOF
70627 /* confdefs.h. */
70628 _ACEOF
70629 cat confdefs.h >>conftest.$ac_ext
70630 cat >>conftest.$ac_ext <<_ACEOF
70631 /* end confdefs.h. */
70632 #include <math.h>
70633 #ifdef HAVE_IEEEFP_H
70634 #include <ieeefp.h>
70635 #endif
70638 main ()
70640 _fabsf(0);
70642 return 0;
70644 _ACEOF
70645 rm -f conftest.$ac_objext
70646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70647 (eval $ac_compile) 2>conftest.er1
70648 ac_status=$?
70649 grep -v '^ *+' conftest.er1 >conftest.err
70650 rm -f conftest.er1
70651 cat conftest.err >&5
70652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70653 (exit $ac_status); } &&
70654 { ac_try='test -z "$ac_cxx_werror_flag"
70655 || test ! -s conftest.err'
70656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70657 (eval $ac_try) 2>&5
70658 ac_status=$?
70659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70660 (exit $ac_status); }; } &&
70661 { ac_try='test -s conftest.$ac_objext'
70662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70663 (eval $ac_try) 2>&5
70664 ac_status=$?
70665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70666 (exit $ac_status); }; }; then
70667 glibcxx_cv_func__fabsf_use=yes
70668 else
70669 echo "$as_me: failed program was:" >&5
70670 sed 's/^/| /' conftest.$ac_ext >&5
70672 glibcxx_cv_func__fabsf_use=no
70674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70675 ac_ext=c
70676 ac_cpp='$CPP $CPPFLAGS'
70677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70685 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
70686 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
70688 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
70690 for ac_func in _fabsf
70692 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70693 echo "$as_me:$LINENO: checking for $ac_func" >&5
70694 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70695 if eval "test \"\${$as_ac_var+set}\" = set"; then
70696 echo $ECHO_N "(cached) $ECHO_C" >&6
70697 else
70698 if test x$gcc_no_link = xyes; then
70699 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70700 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70701 { (exit 1); exit 1; }; }
70703 cat >conftest.$ac_ext <<_ACEOF
70704 /* confdefs.h. */
70705 _ACEOF
70706 cat confdefs.h >>conftest.$ac_ext
70707 cat >>conftest.$ac_ext <<_ACEOF
70708 /* end confdefs.h. */
70709 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70710 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70711 #define $ac_func innocuous_$ac_func
70713 /* System header to define __stub macros and hopefully few prototypes,
70714 which can conflict with char $ac_func (); below.
70715 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70716 <limits.h> exists even on freestanding compilers. */
70718 #ifdef __STDC__
70719 # include <limits.h>
70720 #else
70721 # include <assert.h>
70722 #endif
70724 #undef $ac_func
70726 /* Override any gcc2 internal prototype to avoid an error. */
70727 #ifdef __cplusplus
70728 extern "C"
70730 #endif
70731 /* We use char because int might match the return type of a gcc2
70732 builtin and then its argument prototype would still apply. */
70733 char $ac_func ();
70734 /* The GNU C library defines this for functions which it implements
70735 to always fail with ENOSYS. Some functions are actually named
70736 something starting with __ and the normal name is an alias. */
70737 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70738 choke me
70739 #else
70740 char (*f) () = $ac_func;
70741 #endif
70742 #ifdef __cplusplus
70744 #endif
70747 main ()
70749 return f != $ac_func;
70751 return 0;
70753 _ACEOF
70754 rm -f conftest.$ac_objext conftest$ac_exeext
70755 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70756 (eval $ac_link) 2>conftest.er1
70757 ac_status=$?
70758 grep -v '^ *+' conftest.er1 >conftest.err
70759 rm -f conftest.er1
70760 cat conftest.err >&5
70761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70762 (exit $ac_status); } &&
70763 { ac_try='test -z "$ac_c_werror_flag"
70764 || test ! -s conftest.err'
70765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70766 (eval $ac_try) 2>&5
70767 ac_status=$?
70768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70769 (exit $ac_status); }; } &&
70770 { ac_try='test -s conftest$ac_exeext'
70771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70772 (eval $ac_try) 2>&5
70773 ac_status=$?
70774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70775 (exit $ac_status); }; }; then
70776 eval "$as_ac_var=yes"
70777 else
70778 echo "$as_me: failed program was:" >&5
70779 sed 's/^/| /' conftest.$ac_ext >&5
70781 eval "$as_ac_var=no"
70783 rm -f conftest.err conftest.$ac_objext \
70784 conftest$ac_exeext conftest.$ac_ext
70786 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70787 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70788 if test `eval echo '${'$as_ac_var'}'` = yes; then
70789 cat >>confdefs.h <<_ACEOF
70790 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70791 _ACEOF
70794 done
70804 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
70805 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
70806 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
70807 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
70808 echo $ECHO_N "(cached) $ECHO_C" >&6
70809 else
70813 ac_ext=cc
70814 ac_cpp='$CXXCPP $CPPFLAGS'
70815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70819 cat >conftest.$ac_ext <<_ACEOF
70820 /* confdefs.h. */
70821 _ACEOF
70822 cat confdefs.h >>conftest.$ac_ext
70823 cat >>conftest.$ac_ext <<_ACEOF
70824 /* end confdefs.h. */
70825 #include <math.h>
70827 main ()
70829 fmodf(0, 0);
70831 return 0;
70833 _ACEOF
70834 rm -f conftest.$ac_objext
70835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70836 (eval $ac_compile) 2>conftest.er1
70837 ac_status=$?
70838 grep -v '^ *+' conftest.er1 >conftest.err
70839 rm -f conftest.er1
70840 cat conftest.err >&5
70841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70842 (exit $ac_status); } &&
70843 { ac_try='test -z "$ac_cxx_werror_flag"
70844 || test ! -s conftest.err'
70845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70846 (eval $ac_try) 2>&5
70847 ac_status=$?
70848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70849 (exit $ac_status); }; } &&
70850 { ac_try='test -s conftest.$ac_objext'
70851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70852 (eval $ac_try) 2>&5
70853 ac_status=$?
70854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70855 (exit $ac_status); }; }; then
70856 glibcxx_cv_func_fmodf_use=yes
70857 else
70858 echo "$as_me: failed program was:" >&5
70859 sed 's/^/| /' conftest.$ac_ext >&5
70861 glibcxx_cv_func_fmodf_use=no
70863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70864 ac_ext=c
70865 ac_cpp='$CPP $CPPFLAGS'
70866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
70875 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
70877 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
70879 for ac_func in fmodf
70881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70882 echo "$as_me:$LINENO: checking for $ac_func" >&5
70883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70884 if eval "test \"\${$as_ac_var+set}\" = set"; then
70885 echo $ECHO_N "(cached) $ECHO_C" >&6
70886 else
70887 if test x$gcc_no_link = xyes; then
70888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70890 { (exit 1); exit 1; }; }
70892 cat >conftest.$ac_ext <<_ACEOF
70893 /* confdefs.h. */
70894 _ACEOF
70895 cat confdefs.h >>conftest.$ac_ext
70896 cat >>conftest.$ac_ext <<_ACEOF
70897 /* end confdefs.h. */
70898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70900 #define $ac_func innocuous_$ac_func
70902 /* System header to define __stub macros and hopefully few prototypes,
70903 which can conflict with char $ac_func (); below.
70904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70905 <limits.h> exists even on freestanding compilers. */
70907 #ifdef __STDC__
70908 # include <limits.h>
70909 #else
70910 # include <assert.h>
70911 #endif
70913 #undef $ac_func
70915 /* Override any gcc2 internal prototype to avoid an error. */
70916 #ifdef __cplusplus
70917 extern "C"
70919 #endif
70920 /* We use char because int might match the return type of a gcc2
70921 builtin and then its argument prototype would still apply. */
70922 char $ac_func ();
70923 /* The GNU C library defines this for functions which it implements
70924 to always fail with ENOSYS. Some functions are actually named
70925 something starting with __ and the normal name is an alias. */
70926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70927 choke me
70928 #else
70929 char (*f) () = $ac_func;
70930 #endif
70931 #ifdef __cplusplus
70933 #endif
70936 main ()
70938 return f != $ac_func;
70940 return 0;
70942 _ACEOF
70943 rm -f conftest.$ac_objext conftest$ac_exeext
70944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70945 (eval $ac_link) 2>conftest.er1
70946 ac_status=$?
70947 grep -v '^ *+' conftest.er1 >conftest.err
70948 rm -f conftest.er1
70949 cat conftest.err >&5
70950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70951 (exit $ac_status); } &&
70952 { ac_try='test -z "$ac_c_werror_flag"
70953 || test ! -s conftest.err'
70954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70955 (eval $ac_try) 2>&5
70956 ac_status=$?
70957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70958 (exit $ac_status); }; } &&
70959 { ac_try='test -s conftest$ac_exeext'
70960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70961 (eval $ac_try) 2>&5
70962 ac_status=$?
70963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70964 (exit $ac_status); }; }; then
70965 eval "$as_ac_var=yes"
70966 else
70967 echo "$as_me: failed program was:" >&5
70968 sed 's/^/| /' conftest.$ac_ext >&5
70970 eval "$as_ac_var=no"
70972 rm -f conftest.err conftest.$ac_objext \
70973 conftest$ac_exeext conftest.$ac_ext
70975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70977 if test `eval echo '${'$as_ac_var'}'` = yes; then
70978 cat >>confdefs.h <<_ACEOF
70979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70980 _ACEOF
70983 done
70985 else
70987 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
70988 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
70989 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
70990 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
70991 echo $ECHO_N "(cached) $ECHO_C" >&6
70992 else
70996 ac_ext=cc
70997 ac_cpp='$CXXCPP $CPPFLAGS'
70998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71002 cat >conftest.$ac_ext <<_ACEOF
71003 /* confdefs.h. */
71004 _ACEOF
71005 cat confdefs.h >>conftest.$ac_ext
71006 cat >>conftest.$ac_ext <<_ACEOF
71007 /* end confdefs.h. */
71008 #include <math.h>
71010 main ()
71012 _fmodf(0, 0);
71014 return 0;
71016 _ACEOF
71017 rm -f conftest.$ac_objext
71018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71019 (eval $ac_compile) 2>conftest.er1
71020 ac_status=$?
71021 grep -v '^ *+' conftest.er1 >conftest.err
71022 rm -f conftest.er1
71023 cat conftest.err >&5
71024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71025 (exit $ac_status); } &&
71026 { ac_try='test -z "$ac_cxx_werror_flag"
71027 || test ! -s conftest.err'
71028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71029 (eval $ac_try) 2>&5
71030 ac_status=$?
71031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71032 (exit $ac_status); }; } &&
71033 { ac_try='test -s conftest.$ac_objext'
71034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71035 (eval $ac_try) 2>&5
71036 ac_status=$?
71037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71038 (exit $ac_status); }; }; then
71039 glibcxx_cv_func__fmodf_use=yes
71040 else
71041 echo "$as_me: failed program was:" >&5
71042 sed 's/^/| /' conftest.$ac_ext >&5
71044 glibcxx_cv_func__fmodf_use=no
71046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71047 ac_ext=c
71048 ac_cpp='$CPP $CPPFLAGS'
71049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71057 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
71058 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
71060 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
71062 for ac_func in _fmodf
71064 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71065 echo "$as_me:$LINENO: checking for $ac_func" >&5
71066 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71067 if eval "test \"\${$as_ac_var+set}\" = set"; then
71068 echo $ECHO_N "(cached) $ECHO_C" >&6
71069 else
71070 if test x$gcc_no_link = xyes; then
71071 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71072 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71073 { (exit 1); exit 1; }; }
71075 cat >conftest.$ac_ext <<_ACEOF
71076 /* confdefs.h. */
71077 _ACEOF
71078 cat confdefs.h >>conftest.$ac_ext
71079 cat >>conftest.$ac_ext <<_ACEOF
71080 /* end confdefs.h. */
71081 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71082 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71083 #define $ac_func innocuous_$ac_func
71085 /* System header to define __stub macros and hopefully few prototypes,
71086 which can conflict with char $ac_func (); below.
71087 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71088 <limits.h> exists even on freestanding compilers. */
71090 #ifdef __STDC__
71091 # include <limits.h>
71092 #else
71093 # include <assert.h>
71094 #endif
71096 #undef $ac_func
71098 /* Override any gcc2 internal prototype to avoid an error. */
71099 #ifdef __cplusplus
71100 extern "C"
71102 #endif
71103 /* We use char because int might match the return type of a gcc2
71104 builtin and then its argument prototype would still apply. */
71105 char $ac_func ();
71106 /* The GNU C library defines this for functions which it implements
71107 to always fail with ENOSYS. Some functions are actually named
71108 something starting with __ and the normal name is an alias. */
71109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71110 choke me
71111 #else
71112 char (*f) () = $ac_func;
71113 #endif
71114 #ifdef __cplusplus
71116 #endif
71119 main ()
71121 return f != $ac_func;
71123 return 0;
71125 _ACEOF
71126 rm -f conftest.$ac_objext conftest$ac_exeext
71127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71128 (eval $ac_link) 2>conftest.er1
71129 ac_status=$?
71130 grep -v '^ *+' conftest.er1 >conftest.err
71131 rm -f conftest.er1
71132 cat conftest.err >&5
71133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71134 (exit $ac_status); } &&
71135 { ac_try='test -z "$ac_c_werror_flag"
71136 || test ! -s conftest.err'
71137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71138 (eval $ac_try) 2>&5
71139 ac_status=$?
71140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71141 (exit $ac_status); }; } &&
71142 { ac_try='test -s conftest$ac_exeext'
71143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71144 (eval $ac_try) 2>&5
71145 ac_status=$?
71146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71147 (exit $ac_status); }; }; then
71148 eval "$as_ac_var=yes"
71149 else
71150 echo "$as_me: failed program was:" >&5
71151 sed 's/^/| /' conftest.$ac_ext >&5
71153 eval "$as_ac_var=no"
71155 rm -f conftest.err conftest.$ac_objext \
71156 conftest$ac_exeext conftest.$ac_ext
71158 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71159 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71160 if test `eval echo '${'$as_ac_var'}'` = yes; then
71161 cat >>confdefs.h <<_ACEOF
71162 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71163 _ACEOF
71166 done
71176 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
71177 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
71178 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
71179 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
71180 echo $ECHO_N "(cached) $ECHO_C" >&6
71181 else
71185 ac_ext=cc
71186 ac_cpp='$CXXCPP $CPPFLAGS'
71187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71191 cat >conftest.$ac_ext <<_ACEOF
71192 /* confdefs.h. */
71193 _ACEOF
71194 cat confdefs.h >>conftest.$ac_ext
71195 cat >>conftest.$ac_ext <<_ACEOF
71196 /* end confdefs.h. */
71197 #include <math.h>
71199 main ()
71201 frexpf(0, 0);
71203 return 0;
71205 _ACEOF
71206 rm -f conftest.$ac_objext
71207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71208 (eval $ac_compile) 2>conftest.er1
71209 ac_status=$?
71210 grep -v '^ *+' conftest.er1 >conftest.err
71211 rm -f conftest.er1
71212 cat conftest.err >&5
71213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71214 (exit $ac_status); } &&
71215 { ac_try='test -z "$ac_cxx_werror_flag"
71216 || test ! -s conftest.err'
71217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71218 (eval $ac_try) 2>&5
71219 ac_status=$?
71220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71221 (exit $ac_status); }; } &&
71222 { ac_try='test -s conftest.$ac_objext'
71223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71224 (eval $ac_try) 2>&5
71225 ac_status=$?
71226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71227 (exit $ac_status); }; }; then
71228 glibcxx_cv_func_frexpf_use=yes
71229 else
71230 echo "$as_me: failed program was:" >&5
71231 sed 's/^/| /' conftest.$ac_ext >&5
71233 glibcxx_cv_func_frexpf_use=no
71235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71236 ac_ext=c
71237 ac_cpp='$CPP $CPPFLAGS'
71238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
71247 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
71249 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
71251 for ac_func in frexpf
71253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71254 echo "$as_me:$LINENO: checking for $ac_func" >&5
71255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71256 if eval "test \"\${$as_ac_var+set}\" = set"; then
71257 echo $ECHO_N "(cached) $ECHO_C" >&6
71258 else
71259 if test x$gcc_no_link = xyes; then
71260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71262 { (exit 1); exit 1; }; }
71264 cat >conftest.$ac_ext <<_ACEOF
71265 /* confdefs.h. */
71266 _ACEOF
71267 cat confdefs.h >>conftest.$ac_ext
71268 cat >>conftest.$ac_ext <<_ACEOF
71269 /* end confdefs.h. */
71270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71272 #define $ac_func innocuous_$ac_func
71274 /* System header to define __stub macros and hopefully few prototypes,
71275 which can conflict with char $ac_func (); below.
71276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71277 <limits.h> exists even on freestanding compilers. */
71279 #ifdef __STDC__
71280 # include <limits.h>
71281 #else
71282 # include <assert.h>
71283 #endif
71285 #undef $ac_func
71287 /* Override any gcc2 internal prototype to avoid an error. */
71288 #ifdef __cplusplus
71289 extern "C"
71291 #endif
71292 /* We use char because int might match the return type of a gcc2
71293 builtin and then its argument prototype would still apply. */
71294 char $ac_func ();
71295 /* The GNU C library defines this for functions which it implements
71296 to always fail with ENOSYS. Some functions are actually named
71297 something starting with __ and the normal name is an alias. */
71298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71299 choke me
71300 #else
71301 char (*f) () = $ac_func;
71302 #endif
71303 #ifdef __cplusplus
71305 #endif
71308 main ()
71310 return f != $ac_func;
71312 return 0;
71314 _ACEOF
71315 rm -f conftest.$ac_objext conftest$ac_exeext
71316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71317 (eval $ac_link) 2>conftest.er1
71318 ac_status=$?
71319 grep -v '^ *+' conftest.er1 >conftest.err
71320 rm -f conftest.er1
71321 cat conftest.err >&5
71322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71323 (exit $ac_status); } &&
71324 { ac_try='test -z "$ac_c_werror_flag"
71325 || test ! -s conftest.err'
71326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71327 (eval $ac_try) 2>&5
71328 ac_status=$?
71329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71330 (exit $ac_status); }; } &&
71331 { ac_try='test -s conftest$ac_exeext'
71332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71333 (eval $ac_try) 2>&5
71334 ac_status=$?
71335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71336 (exit $ac_status); }; }; then
71337 eval "$as_ac_var=yes"
71338 else
71339 echo "$as_me: failed program was:" >&5
71340 sed 's/^/| /' conftest.$ac_ext >&5
71342 eval "$as_ac_var=no"
71344 rm -f conftest.err conftest.$ac_objext \
71345 conftest$ac_exeext conftest.$ac_ext
71347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71349 if test `eval echo '${'$as_ac_var'}'` = yes; then
71350 cat >>confdefs.h <<_ACEOF
71351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71352 _ACEOF
71355 done
71357 else
71359 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
71360 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
71361 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
71362 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
71363 echo $ECHO_N "(cached) $ECHO_C" >&6
71364 else
71368 ac_ext=cc
71369 ac_cpp='$CXXCPP $CPPFLAGS'
71370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71374 cat >conftest.$ac_ext <<_ACEOF
71375 /* confdefs.h. */
71376 _ACEOF
71377 cat confdefs.h >>conftest.$ac_ext
71378 cat >>conftest.$ac_ext <<_ACEOF
71379 /* end confdefs.h. */
71380 #include <math.h>
71382 main ()
71384 _frexpf(0, 0);
71386 return 0;
71388 _ACEOF
71389 rm -f conftest.$ac_objext
71390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71391 (eval $ac_compile) 2>conftest.er1
71392 ac_status=$?
71393 grep -v '^ *+' conftest.er1 >conftest.err
71394 rm -f conftest.er1
71395 cat conftest.err >&5
71396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71397 (exit $ac_status); } &&
71398 { ac_try='test -z "$ac_cxx_werror_flag"
71399 || test ! -s conftest.err'
71400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71401 (eval $ac_try) 2>&5
71402 ac_status=$?
71403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71404 (exit $ac_status); }; } &&
71405 { ac_try='test -s conftest.$ac_objext'
71406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71407 (eval $ac_try) 2>&5
71408 ac_status=$?
71409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71410 (exit $ac_status); }; }; then
71411 glibcxx_cv_func__frexpf_use=yes
71412 else
71413 echo "$as_me: failed program was:" >&5
71414 sed 's/^/| /' conftest.$ac_ext >&5
71416 glibcxx_cv_func__frexpf_use=no
71418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71419 ac_ext=c
71420 ac_cpp='$CPP $CPPFLAGS'
71421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
71430 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
71432 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
71434 for ac_func in _frexpf
71436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71437 echo "$as_me:$LINENO: checking for $ac_func" >&5
71438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71439 if eval "test \"\${$as_ac_var+set}\" = set"; then
71440 echo $ECHO_N "(cached) $ECHO_C" >&6
71441 else
71442 if test x$gcc_no_link = xyes; then
71443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71445 { (exit 1); exit 1; }; }
71447 cat >conftest.$ac_ext <<_ACEOF
71448 /* confdefs.h. */
71449 _ACEOF
71450 cat confdefs.h >>conftest.$ac_ext
71451 cat >>conftest.$ac_ext <<_ACEOF
71452 /* end confdefs.h. */
71453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71455 #define $ac_func innocuous_$ac_func
71457 /* System header to define __stub macros and hopefully few prototypes,
71458 which can conflict with char $ac_func (); below.
71459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71460 <limits.h> exists even on freestanding compilers. */
71462 #ifdef __STDC__
71463 # include <limits.h>
71464 #else
71465 # include <assert.h>
71466 #endif
71468 #undef $ac_func
71470 /* Override any gcc2 internal prototype to avoid an error. */
71471 #ifdef __cplusplus
71472 extern "C"
71474 #endif
71475 /* We use char because int might match the return type of a gcc2
71476 builtin and then its argument prototype would still apply. */
71477 char $ac_func ();
71478 /* The GNU C library defines this for functions which it implements
71479 to always fail with ENOSYS. Some functions are actually named
71480 something starting with __ and the normal name is an alias. */
71481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71482 choke me
71483 #else
71484 char (*f) () = $ac_func;
71485 #endif
71486 #ifdef __cplusplus
71488 #endif
71491 main ()
71493 return f != $ac_func;
71495 return 0;
71497 _ACEOF
71498 rm -f conftest.$ac_objext conftest$ac_exeext
71499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71500 (eval $ac_link) 2>conftest.er1
71501 ac_status=$?
71502 grep -v '^ *+' conftest.er1 >conftest.err
71503 rm -f conftest.er1
71504 cat conftest.err >&5
71505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71506 (exit $ac_status); } &&
71507 { ac_try='test -z "$ac_c_werror_flag"
71508 || test ! -s conftest.err'
71509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71510 (eval $ac_try) 2>&5
71511 ac_status=$?
71512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71513 (exit $ac_status); }; } &&
71514 { ac_try='test -s conftest$ac_exeext'
71515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71516 (eval $ac_try) 2>&5
71517 ac_status=$?
71518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71519 (exit $ac_status); }; }; then
71520 eval "$as_ac_var=yes"
71521 else
71522 echo "$as_me: failed program was:" >&5
71523 sed 's/^/| /' conftest.$ac_ext >&5
71525 eval "$as_ac_var=no"
71527 rm -f conftest.err conftest.$ac_objext \
71528 conftest$ac_exeext conftest.$ac_ext
71530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71532 if test `eval echo '${'$as_ac_var'}'` = yes; then
71533 cat >>confdefs.h <<_ACEOF
71534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71535 _ACEOF
71538 done
71548 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
71549 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
71550 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
71551 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
71552 echo $ECHO_N "(cached) $ECHO_C" >&6
71553 else
71557 ac_ext=cc
71558 ac_cpp='$CXXCPP $CPPFLAGS'
71559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71563 cat >conftest.$ac_ext <<_ACEOF
71564 /* confdefs.h. */
71565 _ACEOF
71566 cat confdefs.h >>conftest.$ac_ext
71567 cat >>conftest.$ac_ext <<_ACEOF
71568 /* end confdefs.h. */
71569 #include <math.h>
71571 main ()
71573 hypotf(0, 0);
71575 return 0;
71577 _ACEOF
71578 rm -f conftest.$ac_objext
71579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71580 (eval $ac_compile) 2>conftest.er1
71581 ac_status=$?
71582 grep -v '^ *+' conftest.er1 >conftest.err
71583 rm -f conftest.er1
71584 cat conftest.err >&5
71585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71586 (exit $ac_status); } &&
71587 { ac_try='test -z "$ac_cxx_werror_flag"
71588 || test ! -s conftest.err'
71589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71590 (eval $ac_try) 2>&5
71591 ac_status=$?
71592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71593 (exit $ac_status); }; } &&
71594 { ac_try='test -s conftest.$ac_objext'
71595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71596 (eval $ac_try) 2>&5
71597 ac_status=$?
71598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71599 (exit $ac_status); }; }; then
71600 glibcxx_cv_func_hypotf_use=yes
71601 else
71602 echo "$as_me: failed program was:" >&5
71603 sed 's/^/| /' conftest.$ac_ext >&5
71605 glibcxx_cv_func_hypotf_use=no
71607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71608 ac_ext=c
71609 ac_cpp='$CPP $CPPFLAGS'
71610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
71619 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
71621 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
71623 for ac_func in hypotf
71625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71626 echo "$as_me:$LINENO: checking for $ac_func" >&5
71627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71628 if eval "test \"\${$as_ac_var+set}\" = set"; then
71629 echo $ECHO_N "(cached) $ECHO_C" >&6
71630 else
71631 if test x$gcc_no_link = xyes; then
71632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71634 { (exit 1); exit 1; }; }
71636 cat >conftest.$ac_ext <<_ACEOF
71637 /* confdefs.h. */
71638 _ACEOF
71639 cat confdefs.h >>conftest.$ac_ext
71640 cat >>conftest.$ac_ext <<_ACEOF
71641 /* end confdefs.h. */
71642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71644 #define $ac_func innocuous_$ac_func
71646 /* System header to define __stub macros and hopefully few prototypes,
71647 which can conflict with char $ac_func (); below.
71648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71649 <limits.h> exists even on freestanding compilers. */
71651 #ifdef __STDC__
71652 # include <limits.h>
71653 #else
71654 # include <assert.h>
71655 #endif
71657 #undef $ac_func
71659 /* Override any gcc2 internal prototype to avoid an error. */
71660 #ifdef __cplusplus
71661 extern "C"
71663 #endif
71664 /* We use char because int might match the return type of a gcc2
71665 builtin and then its argument prototype would still apply. */
71666 char $ac_func ();
71667 /* The GNU C library defines this for functions which it implements
71668 to always fail with ENOSYS. Some functions are actually named
71669 something starting with __ and the normal name is an alias. */
71670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71671 choke me
71672 #else
71673 char (*f) () = $ac_func;
71674 #endif
71675 #ifdef __cplusplus
71677 #endif
71680 main ()
71682 return f != $ac_func;
71684 return 0;
71686 _ACEOF
71687 rm -f conftest.$ac_objext conftest$ac_exeext
71688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71689 (eval $ac_link) 2>conftest.er1
71690 ac_status=$?
71691 grep -v '^ *+' conftest.er1 >conftest.err
71692 rm -f conftest.er1
71693 cat conftest.err >&5
71694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71695 (exit $ac_status); } &&
71696 { ac_try='test -z "$ac_c_werror_flag"
71697 || test ! -s conftest.err'
71698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71699 (eval $ac_try) 2>&5
71700 ac_status=$?
71701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71702 (exit $ac_status); }; } &&
71703 { ac_try='test -s conftest$ac_exeext'
71704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71705 (eval $ac_try) 2>&5
71706 ac_status=$?
71707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71708 (exit $ac_status); }; }; then
71709 eval "$as_ac_var=yes"
71710 else
71711 echo "$as_me: failed program was:" >&5
71712 sed 's/^/| /' conftest.$ac_ext >&5
71714 eval "$as_ac_var=no"
71716 rm -f conftest.err conftest.$ac_objext \
71717 conftest$ac_exeext conftest.$ac_ext
71719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71721 if test `eval echo '${'$as_ac_var'}'` = yes; then
71722 cat >>confdefs.h <<_ACEOF
71723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71724 _ACEOF
71727 done
71729 else
71731 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
71732 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
71733 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
71734 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
71735 echo $ECHO_N "(cached) $ECHO_C" >&6
71736 else
71740 ac_ext=cc
71741 ac_cpp='$CXXCPP $CPPFLAGS'
71742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71746 cat >conftest.$ac_ext <<_ACEOF
71747 /* confdefs.h. */
71748 _ACEOF
71749 cat confdefs.h >>conftest.$ac_ext
71750 cat >>conftest.$ac_ext <<_ACEOF
71751 /* end confdefs.h. */
71752 #include <math.h>
71754 main ()
71756 _hypotf(0, 0);
71758 return 0;
71760 _ACEOF
71761 rm -f conftest.$ac_objext
71762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71763 (eval $ac_compile) 2>conftest.er1
71764 ac_status=$?
71765 grep -v '^ *+' conftest.er1 >conftest.err
71766 rm -f conftest.er1
71767 cat conftest.err >&5
71768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71769 (exit $ac_status); } &&
71770 { ac_try='test -z "$ac_cxx_werror_flag"
71771 || test ! -s conftest.err'
71772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71773 (eval $ac_try) 2>&5
71774 ac_status=$?
71775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71776 (exit $ac_status); }; } &&
71777 { ac_try='test -s conftest.$ac_objext'
71778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71779 (eval $ac_try) 2>&5
71780 ac_status=$?
71781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71782 (exit $ac_status); }; }; then
71783 glibcxx_cv_func__hypotf_use=yes
71784 else
71785 echo "$as_me: failed program was:" >&5
71786 sed 's/^/| /' conftest.$ac_ext >&5
71788 glibcxx_cv_func__hypotf_use=no
71790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71791 ac_ext=c
71792 ac_cpp='$CPP $CPPFLAGS'
71793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
71802 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
71804 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
71806 for ac_func in _hypotf
71808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71809 echo "$as_me:$LINENO: checking for $ac_func" >&5
71810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71811 if eval "test \"\${$as_ac_var+set}\" = set"; then
71812 echo $ECHO_N "(cached) $ECHO_C" >&6
71813 else
71814 if test x$gcc_no_link = xyes; then
71815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71817 { (exit 1); exit 1; }; }
71819 cat >conftest.$ac_ext <<_ACEOF
71820 /* confdefs.h. */
71821 _ACEOF
71822 cat confdefs.h >>conftest.$ac_ext
71823 cat >>conftest.$ac_ext <<_ACEOF
71824 /* end confdefs.h. */
71825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71827 #define $ac_func innocuous_$ac_func
71829 /* System header to define __stub macros and hopefully few prototypes,
71830 which can conflict with char $ac_func (); below.
71831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71832 <limits.h> exists even on freestanding compilers. */
71834 #ifdef __STDC__
71835 # include <limits.h>
71836 #else
71837 # include <assert.h>
71838 #endif
71840 #undef $ac_func
71842 /* Override any gcc2 internal prototype to avoid an error. */
71843 #ifdef __cplusplus
71844 extern "C"
71846 #endif
71847 /* We use char because int might match the return type of a gcc2
71848 builtin and then its argument prototype would still apply. */
71849 char $ac_func ();
71850 /* The GNU C library defines this for functions which it implements
71851 to always fail with ENOSYS. Some functions are actually named
71852 something starting with __ and the normal name is an alias. */
71853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71854 choke me
71855 #else
71856 char (*f) () = $ac_func;
71857 #endif
71858 #ifdef __cplusplus
71860 #endif
71863 main ()
71865 return f != $ac_func;
71867 return 0;
71869 _ACEOF
71870 rm -f conftest.$ac_objext conftest$ac_exeext
71871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71872 (eval $ac_link) 2>conftest.er1
71873 ac_status=$?
71874 grep -v '^ *+' conftest.er1 >conftest.err
71875 rm -f conftest.er1
71876 cat conftest.err >&5
71877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71878 (exit $ac_status); } &&
71879 { ac_try='test -z "$ac_c_werror_flag"
71880 || test ! -s conftest.err'
71881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71882 (eval $ac_try) 2>&5
71883 ac_status=$?
71884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71885 (exit $ac_status); }; } &&
71886 { ac_try='test -s conftest$ac_exeext'
71887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71888 (eval $ac_try) 2>&5
71889 ac_status=$?
71890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71891 (exit $ac_status); }; }; then
71892 eval "$as_ac_var=yes"
71893 else
71894 echo "$as_me: failed program was:" >&5
71895 sed 's/^/| /' conftest.$ac_ext >&5
71897 eval "$as_ac_var=no"
71899 rm -f conftest.err conftest.$ac_objext \
71900 conftest$ac_exeext conftest.$ac_ext
71902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71904 if test `eval echo '${'$as_ac_var'}'` = yes; then
71905 cat >>confdefs.h <<_ACEOF
71906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71907 _ACEOF
71910 done
71920 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
71921 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
71922 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
71923 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
71924 echo $ECHO_N "(cached) $ECHO_C" >&6
71925 else
71929 ac_ext=cc
71930 ac_cpp='$CXXCPP $CPPFLAGS'
71931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71935 cat >conftest.$ac_ext <<_ACEOF
71936 /* confdefs.h. */
71937 _ACEOF
71938 cat confdefs.h >>conftest.$ac_ext
71939 cat >>conftest.$ac_ext <<_ACEOF
71940 /* end confdefs.h. */
71941 #include <math.h>
71943 main ()
71945 ldexpf(0, 0);
71947 return 0;
71949 _ACEOF
71950 rm -f conftest.$ac_objext
71951 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71952 (eval $ac_compile) 2>conftest.er1
71953 ac_status=$?
71954 grep -v '^ *+' conftest.er1 >conftest.err
71955 rm -f conftest.er1
71956 cat conftest.err >&5
71957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71958 (exit $ac_status); } &&
71959 { ac_try='test -z "$ac_cxx_werror_flag"
71960 || test ! -s conftest.err'
71961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71962 (eval $ac_try) 2>&5
71963 ac_status=$?
71964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71965 (exit $ac_status); }; } &&
71966 { ac_try='test -s conftest.$ac_objext'
71967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71968 (eval $ac_try) 2>&5
71969 ac_status=$?
71970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71971 (exit $ac_status); }; }; then
71972 glibcxx_cv_func_ldexpf_use=yes
71973 else
71974 echo "$as_me: failed program was:" >&5
71975 sed 's/^/| /' conftest.$ac_ext >&5
71977 glibcxx_cv_func_ldexpf_use=no
71979 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71980 ac_ext=c
71981 ac_cpp='$CPP $CPPFLAGS'
71982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71990 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
71991 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
71993 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
71995 for ac_func in ldexpf
71997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71998 echo "$as_me:$LINENO: checking for $ac_func" >&5
71999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72000 if eval "test \"\${$as_ac_var+set}\" = set"; then
72001 echo $ECHO_N "(cached) $ECHO_C" >&6
72002 else
72003 if test x$gcc_no_link = xyes; then
72004 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72005 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72006 { (exit 1); exit 1; }; }
72008 cat >conftest.$ac_ext <<_ACEOF
72009 /* confdefs.h. */
72010 _ACEOF
72011 cat confdefs.h >>conftest.$ac_ext
72012 cat >>conftest.$ac_ext <<_ACEOF
72013 /* end confdefs.h. */
72014 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72015 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72016 #define $ac_func innocuous_$ac_func
72018 /* System header to define __stub macros and hopefully few prototypes,
72019 which can conflict with char $ac_func (); below.
72020 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72021 <limits.h> exists even on freestanding compilers. */
72023 #ifdef __STDC__
72024 # include <limits.h>
72025 #else
72026 # include <assert.h>
72027 #endif
72029 #undef $ac_func
72031 /* Override any gcc2 internal prototype to avoid an error. */
72032 #ifdef __cplusplus
72033 extern "C"
72035 #endif
72036 /* We use char because int might match the return type of a gcc2
72037 builtin and then its argument prototype would still apply. */
72038 char $ac_func ();
72039 /* The GNU C library defines this for functions which it implements
72040 to always fail with ENOSYS. Some functions are actually named
72041 something starting with __ and the normal name is an alias. */
72042 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72043 choke me
72044 #else
72045 char (*f) () = $ac_func;
72046 #endif
72047 #ifdef __cplusplus
72049 #endif
72052 main ()
72054 return f != $ac_func;
72056 return 0;
72058 _ACEOF
72059 rm -f conftest.$ac_objext conftest$ac_exeext
72060 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72061 (eval $ac_link) 2>conftest.er1
72062 ac_status=$?
72063 grep -v '^ *+' conftest.er1 >conftest.err
72064 rm -f conftest.er1
72065 cat conftest.err >&5
72066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72067 (exit $ac_status); } &&
72068 { ac_try='test -z "$ac_c_werror_flag"
72069 || test ! -s conftest.err'
72070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72071 (eval $ac_try) 2>&5
72072 ac_status=$?
72073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72074 (exit $ac_status); }; } &&
72075 { ac_try='test -s conftest$ac_exeext'
72076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72077 (eval $ac_try) 2>&5
72078 ac_status=$?
72079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72080 (exit $ac_status); }; }; then
72081 eval "$as_ac_var=yes"
72082 else
72083 echo "$as_me: failed program was:" >&5
72084 sed 's/^/| /' conftest.$ac_ext >&5
72086 eval "$as_ac_var=no"
72088 rm -f conftest.err conftest.$ac_objext \
72089 conftest$ac_exeext conftest.$ac_ext
72091 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72092 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72093 if test `eval echo '${'$as_ac_var'}'` = yes; then
72094 cat >>confdefs.h <<_ACEOF
72095 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72096 _ACEOF
72099 done
72101 else
72103 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
72104 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
72105 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
72106 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
72107 echo $ECHO_N "(cached) $ECHO_C" >&6
72108 else
72112 ac_ext=cc
72113 ac_cpp='$CXXCPP $CPPFLAGS'
72114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72118 cat >conftest.$ac_ext <<_ACEOF
72119 /* confdefs.h. */
72120 _ACEOF
72121 cat confdefs.h >>conftest.$ac_ext
72122 cat >>conftest.$ac_ext <<_ACEOF
72123 /* end confdefs.h. */
72124 #include <math.h>
72126 main ()
72128 _ldexpf(0, 0);
72130 return 0;
72132 _ACEOF
72133 rm -f conftest.$ac_objext
72134 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72135 (eval $ac_compile) 2>conftest.er1
72136 ac_status=$?
72137 grep -v '^ *+' conftest.er1 >conftest.err
72138 rm -f conftest.er1
72139 cat conftest.err >&5
72140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72141 (exit $ac_status); } &&
72142 { ac_try='test -z "$ac_cxx_werror_flag"
72143 || test ! -s conftest.err'
72144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72145 (eval $ac_try) 2>&5
72146 ac_status=$?
72147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72148 (exit $ac_status); }; } &&
72149 { ac_try='test -s conftest.$ac_objext'
72150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72151 (eval $ac_try) 2>&5
72152 ac_status=$?
72153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72154 (exit $ac_status); }; }; then
72155 glibcxx_cv_func__ldexpf_use=yes
72156 else
72157 echo "$as_me: failed program was:" >&5
72158 sed 's/^/| /' conftest.$ac_ext >&5
72160 glibcxx_cv_func__ldexpf_use=no
72162 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72163 ac_ext=c
72164 ac_cpp='$CPP $CPPFLAGS'
72165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72173 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
72174 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
72176 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
72178 for ac_func in _ldexpf
72180 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72181 echo "$as_me:$LINENO: checking for $ac_func" >&5
72182 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72183 if eval "test \"\${$as_ac_var+set}\" = set"; then
72184 echo $ECHO_N "(cached) $ECHO_C" >&6
72185 else
72186 if test x$gcc_no_link = xyes; then
72187 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72188 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72189 { (exit 1); exit 1; }; }
72191 cat >conftest.$ac_ext <<_ACEOF
72192 /* confdefs.h. */
72193 _ACEOF
72194 cat confdefs.h >>conftest.$ac_ext
72195 cat >>conftest.$ac_ext <<_ACEOF
72196 /* end confdefs.h. */
72197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72199 #define $ac_func innocuous_$ac_func
72201 /* System header to define __stub macros and hopefully few prototypes,
72202 which can conflict with char $ac_func (); below.
72203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72204 <limits.h> exists even on freestanding compilers. */
72206 #ifdef __STDC__
72207 # include <limits.h>
72208 #else
72209 # include <assert.h>
72210 #endif
72212 #undef $ac_func
72214 /* Override any gcc2 internal prototype to avoid an error. */
72215 #ifdef __cplusplus
72216 extern "C"
72218 #endif
72219 /* We use char because int might match the return type of a gcc2
72220 builtin and then its argument prototype would still apply. */
72221 char $ac_func ();
72222 /* The GNU C library defines this for functions which it implements
72223 to always fail with ENOSYS. Some functions are actually named
72224 something starting with __ and the normal name is an alias. */
72225 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72226 choke me
72227 #else
72228 char (*f) () = $ac_func;
72229 #endif
72230 #ifdef __cplusplus
72232 #endif
72235 main ()
72237 return f != $ac_func;
72239 return 0;
72241 _ACEOF
72242 rm -f conftest.$ac_objext conftest$ac_exeext
72243 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72244 (eval $ac_link) 2>conftest.er1
72245 ac_status=$?
72246 grep -v '^ *+' conftest.er1 >conftest.err
72247 rm -f conftest.er1
72248 cat conftest.err >&5
72249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72250 (exit $ac_status); } &&
72251 { ac_try='test -z "$ac_c_werror_flag"
72252 || test ! -s conftest.err'
72253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72254 (eval $ac_try) 2>&5
72255 ac_status=$?
72256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72257 (exit $ac_status); }; } &&
72258 { ac_try='test -s conftest$ac_exeext'
72259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72260 (eval $ac_try) 2>&5
72261 ac_status=$?
72262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72263 (exit $ac_status); }; }; then
72264 eval "$as_ac_var=yes"
72265 else
72266 echo "$as_me: failed program was:" >&5
72267 sed 's/^/| /' conftest.$ac_ext >&5
72269 eval "$as_ac_var=no"
72271 rm -f conftest.err conftest.$ac_objext \
72272 conftest$ac_exeext conftest.$ac_ext
72274 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72275 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72276 if test `eval echo '${'$as_ac_var'}'` = yes; then
72277 cat >>confdefs.h <<_ACEOF
72278 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72279 _ACEOF
72282 done
72292 echo "$as_me:$LINENO: checking for logf declaration" >&5
72293 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
72294 if test x${glibcxx_cv_func_logf_use+set} != xset; then
72295 if test "${glibcxx_cv_func_logf_use+set}" = set; then
72296 echo $ECHO_N "(cached) $ECHO_C" >&6
72297 else
72301 ac_ext=cc
72302 ac_cpp='$CXXCPP $CPPFLAGS'
72303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72307 cat >conftest.$ac_ext <<_ACEOF
72308 /* confdefs.h. */
72309 _ACEOF
72310 cat confdefs.h >>conftest.$ac_ext
72311 cat >>conftest.$ac_ext <<_ACEOF
72312 /* end confdefs.h. */
72313 #include <math.h>
72314 #ifdef HAVE_IEEEFP_H
72315 #include <ieeefp.h>
72316 #endif
72319 main ()
72321 logf(0);
72323 return 0;
72325 _ACEOF
72326 rm -f conftest.$ac_objext
72327 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72328 (eval $ac_compile) 2>conftest.er1
72329 ac_status=$?
72330 grep -v '^ *+' conftest.er1 >conftest.err
72331 rm -f conftest.er1
72332 cat conftest.err >&5
72333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72334 (exit $ac_status); } &&
72335 { ac_try='test -z "$ac_cxx_werror_flag"
72336 || test ! -s conftest.err'
72337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72338 (eval $ac_try) 2>&5
72339 ac_status=$?
72340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72341 (exit $ac_status); }; } &&
72342 { ac_try='test -s conftest.$ac_objext'
72343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72344 (eval $ac_try) 2>&5
72345 ac_status=$?
72346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72347 (exit $ac_status); }; }; then
72348 glibcxx_cv_func_logf_use=yes
72349 else
72350 echo "$as_me: failed program was:" >&5
72351 sed 's/^/| /' conftest.$ac_ext >&5
72353 glibcxx_cv_func_logf_use=no
72355 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72356 ac_ext=c
72357 ac_cpp='$CPP $CPPFLAGS'
72358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72366 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
72367 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
72369 if test x$glibcxx_cv_func_logf_use = x"yes"; then
72371 for ac_func in logf
72373 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72374 echo "$as_me:$LINENO: checking for $ac_func" >&5
72375 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72376 if eval "test \"\${$as_ac_var+set}\" = set"; then
72377 echo $ECHO_N "(cached) $ECHO_C" >&6
72378 else
72379 if test x$gcc_no_link = xyes; then
72380 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72381 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72382 { (exit 1); exit 1; }; }
72384 cat >conftest.$ac_ext <<_ACEOF
72385 /* confdefs.h. */
72386 _ACEOF
72387 cat confdefs.h >>conftest.$ac_ext
72388 cat >>conftest.$ac_ext <<_ACEOF
72389 /* end confdefs.h. */
72390 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72391 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72392 #define $ac_func innocuous_$ac_func
72394 /* System header to define __stub macros and hopefully few prototypes,
72395 which can conflict with char $ac_func (); below.
72396 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72397 <limits.h> exists even on freestanding compilers. */
72399 #ifdef __STDC__
72400 # include <limits.h>
72401 #else
72402 # include <assert.h>
72403 #endif
72405 #undef $ac_func
72407 /* Override any gcc2 internal prototype to avoid an error. */
72408 #ifdef __cplusplus
72409 extern "C"
72411 #endif
72412 /* We use char because int might match the return type of a gcc2
72413 builtin and then its argument prototype would still apply. */
72414 char $ac_func ();
72415 /* The GNU C library defines this for functions which it implements
72416 to always fail with ENOSYS. Some functions are actually named
72417 something starting with __ and the normal name is an alias. */
72418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72419 choke me
72420 #else
72421 char (*f) () = $ac_func;
72422 #endif
72423 #ifdef __cplusplus
72425 #endif
72428 main ()
72430 return f != $ac_func;
72432 return 0;
72434 _ACEOF
72435 rm -f conftest.$ac_objext conftest$ac_exeext
72436 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72437 (eval $ac_link) 2>conftest.er1
72438 ac_status=$?
72439 grep -v '^ *+' conftest.er1 >conftest.err
72440 rm -f conftest.er1
72441 cat conftest.err >&5
72442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72443 (exit $ac_status); } &&
72444 { ac_try='test -z "$ac_c_werror_flag"
72445 || test ! -s conftest.err'
72446 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72447 (eval $ac_try) 2>&5
72448 ac_status=$?
72449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72450 (exit $ac_status); }; } &&
72451 { ac_try='test -s conftest$ac_exeext'
72452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72453 (eval $ac_try) 2>&5
72454 ac_status=$?
72455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72456 (exit $ac_status); }; }; then
72457 eval "$as_ac_var=yes"
72458 else
72459 echo "$as_me: failed program was:" >&5
72460 sed 's/^/| /' conftest.$ac_ext >&5
72462 eval "$as_ac_var=no"
72464 rm -f conftest.err conftest.$ac_objext \
72465 conftest$ac_exeext conftest.$ac_ext
72467 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72468 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72469 if test `eval echo '${'$as_ac_var'}'` = yes; then
72470 cat >>confdefs.h <<_ACEOF
72471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72472 _ACEOF
72475 done
72477 else
72479 echo "$as_me:$LINENO: checking for _logf declaration" >&5
72480 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
72481 if test x${glibcxx_cv_func__logf_use+set} != xset; then
72482 if test "${glibcxx_cv_func__logf_use+set}" = set; then
72483 echo $ECHO_N "(cached) $ECHO_C" >&6
72484 else
72488 ac_ext=cc
72489 ac_cpp='$CXXCPP $CPPFLAGS'
72490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72494 cat >conftest.$ac_ext <<_ACEOF
72495 /* confdefs.h. */
72496 _ACEOF
72497 cat confdefs.h >>conftest.$ac_ext
72498 cat >>conftest.$ac_ext <<_ACEOF
72499 /* end confdefs.h. */
72500 #include <math.h>
72501 #ifdef HAVE_IEEEFP_H
72502 #include <ieeefp.h>
72503 #endif
72506 main ()
72508 _logf(0);
72510 return 0;
72512 _ACEOF
72513 rm -f conftest.$ac_objext
72514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72515 (eval $ac_compile) 2>conftest.er1
72516 ac_status=$?
72517 grep -v '^ *+' conftest.er1 >conftest.err
72518 rm -f conftest.er1
72519 cat conftest.err >&5
72520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72521 (exit $ac_status); } &&
72522 { ac_try='test -z "$ac_cxx_werror_flag"
72523 || test ! -s conftest.err'
72524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72525 (eval $ac_try) 2>&5
72526 ac_status=$?
72527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72528 (exit $ac_status); }; } &&
72529 { ac_try='test -s conftest.$ac_objext'
72530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72531 (eval $ac_try) 2>&5
72532 ac_status=$?
72533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72534 (exit $ac_status); }; }; then
72535 glibcxx_cv_func__logf_use=yes
72536 else
72537 echo "$as_me: failed program was:" >&5
72538 sed 's/^/| /' conftest.$ac_ext >&5
72540 glibcxx_cv_func__logf_use=no
72542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72543 ac_ext=c
72544 ac_cpp='$CPP $CPPFLAGS'
72545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
72554 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
72556 if test x$glibcxx_cv_func__logf_use = x"yes"; then
72558 for ac_func in _logf
72560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72561 echo "$as_me:$LINENO: checking for $ac_func" >&5
72562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72563 if eval "test \"\${$as_ac_var+set}\" = set"; then
72564 echo $ECHO_N "(cached) $ECHO_C" >&6
72565 else
72566 if test x$gcc_no_link = xyes; then
72567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72569 { (exit 1); exit 1; }; }
72571 cat >conftest.$ac_ext <<_ACEOF
72572 /* confdefs.h. */
72573 _ACEOF
72574 cat confdefs.h >>conftest.$ac_ext
72575 cat >>conftest.$ac_ext <<_ACEOF
72576 /* end confdefs.h. */
72577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72579 #define $ac_func innocuous_$ac_func
72581 /* System header to define __stub macros and hopefully few prototypes,
72582 which can conflict with char $ac_func (); below.
72583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72584 <limits.h> exists even on freestanding compilers. */
72586 #ifdef __STDC__
72587 # include <limits.h>
72588 #else
72589 # include <assert.h>
72590 #endif
72592 #undef $ac_func
72594 /* Override any gcc2 internal prototype to avoid an error. */
72595 #ifdef __cplusplus
72596 extern "C"
72598 #endif
72599 /* We use char because int might match the return type of a gcc2
72600 builtin and then its argument prototype would still apply. */
72601 char $ac_func ();
72602 /* The GNU C library defines this for functions which it implements
72603 to always fail with ENOSYS. Some functions are actually named
72604 something starting with __ and the normal name is an alias. */
72605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72606 choke me
72607 #else
72608 char (*f) () = $ac_func;
72609 #endif
72610 #ifdef __cplusplus
72612 #endif
72615 main ()
72617 return f != $ac_func;
72619 return 0;
72621 _ACEOF
72622 rm -f conftest.$ac_objext conftest$ac_exeext
72623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72624 (eval $ac_link) 2>conftest.er1
72625 ac_status=$?
72626 grep -v '^ *+' conftest.er1 >conftest.err
72627 rm -f conftest.er1
72628 cat conftest.err >&5
72629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72630 (exit $ac_status); } &&
72631 { ac_try='test -z "$ac_c_werror_flag"
72632 || test ! -s conftest.err'
72633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72634 (eval $ac_try) 2>&5
72635 ac_status=$?
72636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72637 (exit $ac_status); }; } &&
72638 { ac_try='test -s conftest$ac_exeext'
72639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72640 (eval $ac_try) 2>&5
72641 ac_status=$?
72642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72643 (exit $ac_status); }; }; then
72644 eval "$as_ac_var=yes"
72645 else
72646 echo "$as_me: failed program was:" >&5
72647 sed 's/^/| /' conftest.$ac_ext >&5
72649 eval "$as_ac_var=no"
72651 rm -f conftest.err conftest.$ac_objext \
72652 conftest$ac_exeext conftest.$ac_ext
72654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72656 if test `eval echo '${'$as_ac_var'}'` = yes; then
72657 cat >>confdefs.h <<_ACEOF
72658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72659 _ACEOF
72662 done
72672 echo "$as_me:$LINENO: checking for log10f declaration" >&5
72673 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
72674 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
72675 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
72676 echo $ECHO_N "(cached) $ECHO_C" >&6
72677 else
72681 ac_ext=cc
72682 ac_cpp='$CXXCPP $CPPFLAGS'
72683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72687 cat >conftest.$ac_ext <<_ACEOF
72688 /* confdefs.h. */
72689 _ACEOF
72690 cat confdefs.h >>conftest.$ac_ext
72691 cat >>conftest.$ac_ext <<_ACEOF
72692 /* end confdefs.h. */
72693 #include <math.h>
72694 #ifdef HAVE_IEEEFP_H
72695 #include <ieeefp.h>
72696 #endif
72699 main ()
72701 log10f(0);
72703 return 0;
72705 _ACEOF
72706 rm -f conftest.$ac_objext
72707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72708 (eval $ac_compile) 2>conftest.er1
72709 ac_status=$?
72710 grep -v '^ *+' conftest.er1 >conftest.err
72711 rm -f conftest.er1
72712 cat conftest.err >&5
72713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72714 (exit $ac_status); } &&
72715 { ac_try='test -z "$ac_cxx_werror_flag"
72716 || test ! -s conftest.err'
72717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72718 (eval $ac_try) 2>&5
72719 ac_status=$?
72720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72721 (exit $ac_status); }; } &&
72722 { ac_try='test -s conftest.$ac_objext'
72723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72724 (eval $ac_try) 2>&5
72725 ac_status=$?
72726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72727 (exit $ac_status); }; }; then
72728 glibcxx_cv_func_log10f_use=yes
72729 else
72730 echo "$as_me: failed program was:" >&5
72731 sed 's/^/| /' conftest.$ac_ext >&5
72733 glibcxx_cv_func_log10f_use=no
72735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72736 ac_ext=c
72737 ac_cpp='$CPP $CPPFLAGS'
72738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
72747 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
72749 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
72751 for ac_func in log10f
72753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72754 echo "$as_me:$LINENO: checking for $ac_func" >&5
72755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72756 if eval "test \"\${$as_ac_var+set}\" = set"; then
72757 echo $ECHO_N "(cached) $ECHO_C" >&6
72758 else
72759 if test x$gcc_no_link = xyes; then
72760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72762 { (exit 1); exit 1; }; }
72764 cat >conftest.$ac_ext <<_ACEOF
72765 /* confdefs.h. */
72766 _ACEOF
72767 cat confdefs.h >>conftest.$ac_ext
72768 cat >>conftest.$ac_ext <<_ACEOF
72769 /* end confdefs.h. */
72770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72772 #define $ac_func innocuous_$ac_func
72774 /* System header to define __stub macros and hopefully few prototypes,
72775 which can conflict with char $ac_func (); below.
72776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72777 <limits.h> exists even on freestanding compilers. */
72779 #ifdef __STDC__
72780 # include <limits.h>
72781 #else
72782 # include <assert.h>
72783 #endif
72785 #undef $ac_func
72787 /* Override any gcc2 internal prototype to avoid an error. */
72788 #ifdef __cplusplus
72789 extern "C"
72791 #endif
72792 /* We use char because int might match the return type of a gcc2
72793 builtin and then its argument prototype would still apply. */
72794 char $ac_func ();
72795 /* The GNU C library defines this for functions which it implements
72796 to always fail with ENOSYS. Some functions are actually named
72797 something starting with __ and the normal name is an alias. */
72798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72799 choke me
72800 #else
72801 char (*f) () = $ac_func;
72802 #endif
72803 #ifdef __cplusplus
72805 #endif
72808 main ()
72810 return f != $ac_func;
72812 return 0;
72814 _ACEOF
72815 rm -f conftest.$ac_objext conftest$ac_exeext
72816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72817 (eval $ac_link) 2>conftest.er1
72818 ac_status=$?
72819 grep -v '^ *+' conftest.er1 >conftest.err
72820 rm -f conftest.er1
72821 cat conftest.err >&5
72822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72823 (exit $ac_status); } &&
72824 { ac_try='test -z "$ac_c_werror_flag"
72825 || test ! -s conftest.err'
72826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72827 (eval $ac_try) 2>&5
72828 ac_status=$?
72829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72830 (exit $ac_status); }; } &&
72831 { ac_try='test -s conftest$ac_exeext'
72832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72833 (eval $ac_try) 2>&5
72834 ac_status=$?
72835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72836 (exit $ac_status); }; }; then
72837 eval "$as_ac_var=yes"
72838 else
72839 echo "$as_me: failed program was:" >&5
72840 sed 's/^/| /' conftest.$ac_ext >&5
72842 eval "$as_ac_var=no"
72844 rm -f conftest.err conftest.$ac_objext \
72845 conftest$ac_exeext conftest.$ac_ext
72847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72849 if test `eval echo '${'$as_ac_var'}'` = yes; then
72850 cat >>confdefs.h <<_ACEOF
72851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72852 _ACEOF
72855 done
72857 else
72859 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
72860 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
72861 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
72862 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
72863 echo $ECHO_N "(cached) $ECHO_C" >&6
72864 else
72868 ac_ext=cc
72869 ac_cpp='$CXXCPP $CPPFLAGS'
72870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72874 cat >conftest.$ac_ext <<_ACEOF
72875 /* confdefs.h. */
72876 _ACEOF
72877 cat confdefs.h >>conftest.$ac_ext
72878 cat >>conftest.$ac_ext <<_ACEOF
72879 /* end confdefs.h. */
72880 #include <math.h>
72881 #ifdef HAVE_IEEEFP_H
72882 #include <ieeefp.h>
72883 #endif
72886 main ()
72888 _log10f(0);
72890 return 0;
72892 _ACEOF
72893 rm -f conftest.$ac_objext
72894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72895 (eval $ac_compile) 2>conftest.er1
72896 ac_status=$?
72897 grep -v '^ *+' conftest.er1 >conftest.err
72898 rm -f conftest.er1
72899 cat conftest.err >&5
72900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72901 (exit $ac_status); } &&
72902 { ac_try='test -z "$ac_cxx_werror_flag"
72903 || test ! -s conftest.err'
72904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72905 (eval $ac_try) 2>&5
72906 ac_status=$?
72907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72908 (exit $ac_status); }; } &&
72909 { ac_try='test -s conftest.$ac_objext'
72910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72911 (eval $ac_try) 2>&5
72912 ac_status=$?
72913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72914 (exit $ac_status); }; }; then
72915 glibcxx_cv_func__log10f_use=yes
72916 else
72917 echo "$as_me: failed program was:" >&5
72918 sed 's/^/| /' conftest.$ac_ext >&5
72920 glibcxx_cv_func__log10f_use=no
72922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72923 ac_ext=c
72924 ac_cpp='$CPP $CPPFLAGS'
72925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72933 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
72934 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
72936 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
72938 for ac_func in _log10f
72940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72941 echo "$as_me:$LINENO: checking for $ac_func" >&5
72942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72943 if eval "test \"\${$as_ac_var+set}\" = set"; then
72944 echo $ECHO_N "(cached) $ECHO_C" >&6
72945 else
72946 if test x$gcc_no_link = xyes; then
72947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72949 { (exit 1); exit 1; }; }
72951 cat >conftest.$ac_ext <<_ACEOF
72952 /* confdefs.h. */
72953 _ACEOF
72954 cat confdefs.h >>conftest.$ac_ext
72955 cat >>conftest.$ac_ext <<_ACEOF
72956 /* end confdefs.h. */
72957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72959 #define $ac_func innocuous_$ac_func
72961 /* System header to define __stub macros and hopefully few prototypes,
72962 which can conflict with char $ac_func (); below.
72963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72964 <limits.h> exists even on freestanding compilers. */
72966 #ifdef __STDC__
72967 # include <limits.h>
72968 #else
72969 # include <assert.h>
72970 #endif
72972 #undef $ac_func
72974 /* Override any gcc2 internal prototype to avoid an error. */
72975 #ifdef __cplusplus
72976 extern "C"
72978 #endif
72979 /* We use char because int might match the return type of a gcc2
72980 builtin and then its argument prototype would still apply. */
72981 char $ac_func ();
72982 /* The GNU C library defines this for functions which it implements
72983 to always fail with ENOSYS. Some functions are actually named
72984 something starting with __ and the normal name is an alias. */
72985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72986 choke me
72987 #else
72988 char (*f) () = $ac_func;
72989 #endif
72990 #ifdef __cplusplus
72992 #endif
72995 main ()
72997 return f != $ac_func;
72999 return 0;
73001 _ACEOF
73002 rm -f conftest.$ac_objext conftest$ac_exeext
73003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73004 (eval $ac_link) 2>conftest.er1
73005 ac_status=$?
73006 grep -v '^ *+' conftest.er1 >conftest.err
73007 rm -f conftest.er1
73008 cat conftest.err >&5
73009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73010 (exit $ac_status); } &&
73011 { ac_try='test -z "$ac_c_werror_flag"
73012 || test ! -s conftest.err'
73013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73014 (eval $ac_try) 2>&5
73015 ac_status=$?
73016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73017 (exit $ac_status); }; } &&
73018 { ac_try='test -s conftest$ac_exeext'
73019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73020 (eval $ac_try) 2>&5
73021 ac_status=$?
73022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73023 (exit $ac_status); }; }; then
73024 eval "$as_ac_var=yes"
73025 else
73026 echo "$as_me: failed program was:" >&5
73027 sed 's/^/| /' conftest.$ac_ext >&5
73029 eval "$as_ac_var=no"
73031 rm -f conftest.err conftest.$ac_objext \
73032 conftest$ac_exeext conftest.$ac_ext
73034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73036 if test `eval echo '${'$as_ac_var'}'` = yes; then
73037 cat >>confdefs.h <<_ACEOF
73038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73039 _ACEOF
73042 done
73052 echo "$as_me:$LINENO: checking for modff declaration" >&5
73053 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
73054 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73055 if test "${glibcxx_cv_func_modff_use+set}" = set; then
73056 echo $ECHO_N "(cached) $ECHO_C" >&6
73057 else
73061 ac_ext=cc
73062 ac_cpp='$CXXCPP $CPPFLAGS'
73063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73067 cat >conftest.$ac_ext <<_ACEOF
73068 /* confdefs.h. */
73069 _ACEOF
73070 cat confdefs.h >>conftest.$ac_ext
73071 cat >>conftest.$ac_ext <<_ACEOF
73072 /* end confdefs.h. */
73073 #include <math.h>
73075 main ()
73077 modff(0, 0);
73079 return 0;
73081 _ACEOF
73082 rm -f conftest.$ac_objext
73083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73084 (eval $ac_compile) 2>conftest.er1
73085 ac_status=$?
73086 grep -v '^ *+' conftest.er1 >conftest.err
73087 rm -f conftest.er1
73088 cat conftest.err >&5
73089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73090 (exit $ac_status); } &&
73091 { ac_try='test -z "$ac_cxx_werror_flag"
73092 || test ! -s conftest.err'
73093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73094 (eval $ac_try) 2>&5
73095 ac_status=$?
73096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73097 (exit $ac_status); }; } &&
73098 { ac_try='test -s conftest.$ac_objext'
73099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73100 (eval $ac_try) 2>&5
73101 ac_status=$?
73102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73103 (exit $ac_status); }; }; then
73104 glibcxx_cv_func_modff_use=yes
73105 else
73106 echo "$as_me: failed program was:" >&5
73107 sed 's/^/| /' conftest.$ac_ext >&5
73109 glibcxx_cv_func_modff_use=no
73111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73112 ac_ext=c
73113 ac_cpp='$CPP $CPPFLAGS'
73114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
73123 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
73125 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73127 for ac_func in modff
73129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73130 echo "$as_me:$LINENO: checking for $ac_func" >&5
73131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73132 if eval "test \"\${$as_ac_var+set}\" = set"; then
73133 echo $ECHO_N "(cached) $ECHO_C" >&6
73134 else
73135 if test x$gcc_no_link = xyes; then
73136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73138 { (exit 1); exit 1; }; }
73140 cat >conftest.$ac_ext <<_ACEOF
73141 /* confdefs.h. */
73142 _ACEOF
73143 cat confdefs.h >>conftest.$ac_ext
73144 cat >>conftest.$ac_ext <<_ACEOF
73145 /* end confdefs.h. */
73146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73148 #define $ac_func innocuous_$ac_func
73150 /* System header to define __stub macros and hopefully few prototypes,
73151 which can conflict with char $ac_func (); below.
73152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73153 <limits.h> exists even on freestanding compilers. */
73155 #ifdef __STDC__
73156 # include <limits.h>
73157 #else
73158 # include <assert.h>
73159 #endif
73161 #undef $ac_func
73163 /* Override any gcc2 internal prototype to avoid an error. */
73164 #ifdef __cplusplus
73165 extern "C"
73167 #endif
73168 /* We use char because int might match the return type of a gcc2
73169 builtin and then its argument prototype would still apply. */
73170 char $ac_func ();
73171 /* The GNU C library defines this for functions which it implements
73172 to always fail with ENOSYS. Some functions are actually named
73173 something starting with __ and the normal name is an alias. */
73174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73175 choke me
73176 #else
73177 char (*f) () = $ac_func;
73178 #endif
73179 #ifdef __cplusplus
73181 #endif
73184 main ()
73186 return f != $ac_func;
73188 return 0;
73190 _ACEOF
73191 rm -f conftest.$ac_objext conftest$ac_exeext
73192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73193 (eval $ac_link) 2>conftest.er1
73194 ac_status=$?
73195 grep -v '^ *+' conftest.er1 >conftest.err
73196 rm -f conftest.er1
73197 cat conftest.err >&5
73198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73199 (exit $ac_status); } &&
73200 { ac_try='test -z "$ac_c_werror_flag"
73201 || test ! -s conftest.err'
73202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73203 (eval $ac_try) 2>&5
73204 ac_status=$?
73205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73206 (exit $ac_status); }; } &&
73207 { ac_try='test -s conftest$ac_exeext'
73208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73209 (eval $ac_try) 2>&5
73210 ac_status=$?
73211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73212 (exit $ac_status); }; }; then
73213 eval "$as_ac_var=yes"
73214 else
73215 echo "$as_me: failed program was:" >&5
73216 sed 's/^/| /' conftest.$ac_ext >&5
73218 eval "$as_ac_var=no"
73220 rm -f conftest.err conftest.$ac_objext \
73221 conftest$ac_exeext conftest.$ac_ext
73223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73225 if test `eval echo '${'$as_ac_var'}'` = yes; then
73226 cat >>confdefs.h <<_ACEOF
73227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73228 _ACEOF
73231 done
73233 else
73235 echo "$as_me:$LINENO: checking for _modff declaration" >&5
73236 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
73237 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73238 if test "${glibcxx_cv_func__modff_use+set}" = set; then
73239 echo $ECHO_N "(cached) $ECHO_C" >&6
73240 else
73244 ac_ext=cc
73245 ac_cpp='$CXXCPP $CPPFLAGS'
73246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73250 cat >conftest.$ac_ext <<_ACEOF
73251 /* confdefs.h. */
73252 _ACEOF
73253 cat confdefs.h >>conftest.$ac_ext
73254 cat >>conftest.$ac_ext <<_ACEOF
73255 /* end confdefs.h. */
73256 #include <math.h>
73258 main ()
73260 _modff(0, 0);
73262 return 0;
73264 _ACEOF
73265 rm -f conftest.$ac_objext
73266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73267 (eval $ac_compile) 2>conftest.er1
73268 ac_status=$?
73269 grep -v '^ *+' conftest.er1 >conftest.err
73270 rm -f conftest.er1
73271 cat conftest.err >&5
73272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73273 (exit $ac_status); } &&
73274 { ac_try='test -z "$ac_cxx_werror_flag"
73275 || test ! -s conftest.err'
73276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73277 (eval $ac_try) 2>&5
73278 ac_status=$?
73279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73280 (exit $ac_status); }; } &&
73281 { ac_try='test -s conftest.$ac_objext'
73282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73283 (eval $ac_try) 2>&5
73284 ac_status=$?
73285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73286 (exit $ac_status); }; }; then
73287 glibcxx_cv_func__modff_use=yes
73288 else
73289 echo "$as_me: failed program was:" >&5
73290 sed 's/^/| /' conftest.$ac_ext >&5
73292 glibcxx_cv_func__modff_use=no
73294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73295 ac_ext=c
73296 ac_cpp='$CPP $CPPFLAGS'
73297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73305 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
73306 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
73308 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73310 for ac_func in _modff
73312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73313 echo "$as_me:$LINENO: checking for $ac_func" >&5
73314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73315 if eval "test \"\${$as_ac_var+set}\" = set"; then
73316 echo $ECHO_N "(cached) $ECHO_C" >&6
73317 else
73318 if test x$gcc_no_link = xyes; then
73319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73321 { (exit 1); exit 1; }; }
73323 cat >conftest.$ac_ext <<_ACEOF
73324 /* confdefs.h. */
73325 _ACEOF
73326 cat confdefs.h >>conftest.$ac_ext
73327 cat >>conftest.$ac_ext <<_ACEOF
73328 /* end confdefs.h. */
73329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73331 #define $ac_func innocuous_$ac_func
73333 /* System header to define __stub macros and hopefully few prototypes,
73334 which can conflict with char $ac_func (); below.
73335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73336 <limits.h> exists even on freestanding compilers. */
73338 #ifdef __STDC__
73339 # include <limits.h>
73340 #else
73341 # include <assert.h>
73342 #endif
73344 #undef $ac_func
73346 /* Override any gcc2 internal prototype to avoid an error. */
73347 #ifdef __cplusplus
73348 extern "C"
73350 #endif
73351 /* We use char because int might match the return type of a gcc2
73352 builtin and then its argument prototype would still apply. */
73353 char $ac_func ();
73354 /* The GNU C library defines this for functions which it implements
73355 to always fail with ENOSYS. Some functions are actually named
73356 something starting with __ and the normal name is an alias. */
73357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73358 choke me
73359 #else
73360 char (*f) () = $ac_func;
73361 #endif
73362 #ifdef __cplusplus
73364 #endif
73367 main ()
73369 return f != $ac_func;
73371 return 0;
73373 _ACEOF
73374 rm -f conftest.$ac_objext conftest$ac_exeext
73375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73376 (eval $ac_link) 2>conftest.er1
73377 ac_status=$?
73378 grep -v '^ *+' conftest.er1 >conftest.err
73379 rm -f conftest.er1
73380 cat conftest.err >&5
73381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73382 (exit $ac_status); } &&
73383 { ac_try='test -z "$ac_c_werror_flag"
73384 || test ! -s conftest.err'
73385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73386 (eval $ac_try) 2>&5
73387 ac_status=$?
73388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73389 (exit $ac_status); }; } &&
73390 { ac_try='test -s conftest$ac_exeext'
73391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73392 (eval $ac_try) 2>&5
73393 ac_status=$?
73394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73395 (exit $ac_status); }; }; then
73396 eval "$as_ac_var=yes"
73397 else
73398 echo "$as_me: failed program was:" >&5
73399 sed 's/^/| /' conftest.$ac_ext >&5
73401 eval "$as_ac_var=no"
73403 rm -f conftest.err conftest.$ac_objext \
73404 conftest$ac_exeext conftest.$ac_ext
73406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73408 if test `eval echo '${'$as_ac_var'}'` = yes; then
73409 cat >>confdefs.h <<_ACEOF
73410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73411 _ACEOF
73414 done
73424 echo "$as_me:$LINENO: checking for modf declaration" >&5
73425 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
73426 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73427 if test "${glibcxx_cv_func_modf_use+set}" = set; then
73428 echo $ECHO_N "(cached) $ECHO_C" >&6
73429 else
73433 ac_ext=cc
73434 ac_cpp='$CXXCPP $CPPFLAGS'
73435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73439 cat >conftest.$ac_ext <<_ACEOF
73440 /* confdefs.h. */
73441 _ACEOF
73442 cat confdefs.h >>conftest.$ac_ext
73443 cat >>conftest.$ac_ext <<_ACEOF
73444 /* end confdefs.h. */
73445 #include <math.h>
73447 main ()
73449 modf(0, 0);
73451 return 0;
73453 _ACEOF
73454 rm -f conftest.$ac_objext
73455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73456 (eval $ac_compile) 2>conftest.er1
73457 ac_status=$?
73458 grep -v '^ *+' conftest.er1 >conftest.err
73459 rm -f conftest.er1
73460 cat conftest.err >&5
73461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73462 (exit $ac_status); } &&
73463 { ac_try='test -z "$ac_cxx_werror_flag"
73464 || test ! -s conftest.err'
73465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73466 (eval $ac_try) 2>&5
73467 ac_status=$?
73468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73469 (exit $ac_status); }; } &&
73470 { ac_try='test -s conftest.$ac_objext'
73471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73472 (eval $ac_try) 2>&5
73473 ac_status=$?
73474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73475 (exit $ac_status); }; }; then
73476 glibcxx_cv_func_modf_use=yes
73477 else
73478 echo "$as_me: failed program was:" >&5
73479 sed 's/^/| /' conftest.$ac_ext >&5
73481 glibcxx_cv_func_modf_use=no
73483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73484 ac_ext=c
73485 ac_cpp='$CPP $CPPFLAGS'
73486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73494 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
73495 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
73497 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73499 for ac_func in modf
73501 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73502 echo "$as_me:$LINENO: checking for $ac_func" >&5
73503 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73504 if eval "test \"\${$as_ac_var+set}\" = set"; then
73505 echo $ECHO_N "(cached) $ECHO_C" >&6
73506 else
73507 if test x$gcc_no_link = xyes; then
73508 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73509 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73510 { (exit 1); exit 1; }; }
73512 cat >conftest.$ac_ext <<_ACEOF
73513 /* confdefs.h. */
73514 _ACEOF
73515 cat confdefs.h >>conftest.$ac_ext
73516 cat >>conftest.$ac_ext <<_ACEOF
73517 /* end confdefs.h. */
73518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73520 #define $ac_func innocuous_$ac_func
73522 /* System header to define __stub macros and hopefully few prototypes,
73523 which can conflict with char $ac_func (); below.
73524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73525 <limits.h> exists even on freestanding compilers. */
73527 #ifdef __STDC__
73528 # include <limits.h>
73529 #else
73530 # include <assert.h>
73531 #endif
73533 #undef $ac_func
73535 /* Override any gcc2 internal prototype to avoid an error. */
73536 #ifdef __cplusplus
73537 extern "C"
73539 #endif
73540 /* We use char because int might match the return type of a gcc2
73541 builtin and then its argument prototype would still apply. */
73542 char $ac_func ();
73543 /* The GNU C library defines this for functions which it implements
73544 to always fail with ENOSYS. Some functions are actually named
73545 something starting with __ and the normal name is an alias. */
73546 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73547 choke me
73548 #else
73549 char (*f) () = $ac_func;
73550 #endif
73551 #ifdef __cplusplus
73553 #endif
73556 main ()
73558 return f != $ac_func;
73560 return 0;
73562 _ACEOF
73563 rm -f conftest.$ac_objext conftest$ac_exeext
73564 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73565 (eval $ac_link) 2>conftest.er1
73566 ac_status=$?
73567 grep -v '^ *+' conftest.er1 >conftest.err
73568 rm -f conftest.er1
73569 cat conftest.err >&5
73570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73571 (exit $ac_status); } &&
73572 { ac_try='test -z "$ac_c_werror_flag"
73573 || test ! -s conftest.err'
73574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73575 (eval $ac_try) 2>&5
73576 ac_status=$?
73577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73578 (exit $ac_status); }; } &&
73579 { ac_try='test -s conftest$ac_exeext'
73580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73581 (eval $ac_try) 2>&5
73582 ac_status=$?
73583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73584 (exit $ac_status); }; }; then
73585 eval "$as_ac_var=yes"
73586 else
73587 echo "$as_me: failed program was:" >&5
73588 sed 's/^/| /' conftest.$ac_ext >&5
73590 eval "$as_ac_var=no"
73592 rm -f conftest.err conftest.$ac_objext \
73593 conftest$ac_exeext conftest.$ac_ext
73595 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73596 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73597 if test `eval echo '${'$as_ac_var'}'` = yes; then
73598 cat >>confdefs.h <<_ACEOF
73599 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73600 _ACEOF
73603 done
73605 else
73607 echo "$as_me:$LINENO: checking for _modf declaration" >&5
73608 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
73609 if test x${glibcxx_cv_func__modf_use+set} != xset; then
73610 if test "${glibcxx_cv_func__modf_use+set}" = set; then
73611 echo $ECHO_N "(cached) $ECHO_C" >&6
73612 else
73616 ac_ext=cc
73617 ac_cpp='$CXXCPP $CPPFLAGS'
73618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73622 cat >conftest.$ac_ext <<_ACEOF
73623 /* confdefs.h. */
73624 _ACEOF
73625 cat confdefs.h >>conftest.$ac_ext
73626 cat >>conftest.$ac_ext <<_ACEOF
73627 /* end confdefs.h. */
73628 #include <math.h>
73630 main ()
73632 _modf(0, 0);
73634 return 0;
73636 _ACEOF
73637 rm -f conftest.$ac_objext
73638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73639 (eval $ac_compile) 2>conftest.er1
73640 ac_status=$?
73641 grep -v '^ *+' conftest.er1 >conftest.err
73642 rm -f conftest.er1
73643 cat conftest.err >&5
73644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73645 (exit $ac_status); } &&
73646 { ac_try='test -z "$ac_cxx_werror_flag"
73647 || test ! -s conftest.err'
73648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73649 (eval $ac_try) 2>&5
73650 ac_status=$?
73651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73652 (exit $ac_status); }; } &&
73653 { ac_try='test -s conftest.$ac_objext'
73654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73655 (eval $ac_try) 2>&5
73656 ac_status=$?
73657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73658 (exit $ac_status); }; }; then
73659 glibcxx_cv_func__modf_use=yes
73660 else
73661 echo "$as_me: failed program was:" >&5
73662 sed 's/^/| /' conftest.$ac_ext >&5
73664 glibcxx_cv_func__modf_use=no
73666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73667 ac_ext=c
73668 ac_cpp='$CPP $CPPFLAGS'
73669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73677 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
73678 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
73680 if test x$glibcxx_cv_func__modf_use = x"yes"; then
73682 for ac_func in _modf
73684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73685 echo "$as_me:$LINENO: checking for $ac_func" >&5
73686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73687 if eval "test \"\${$as_ac_var+set}\" = set"; then
73688 echo $ECHO_N "(cached) $ECHO_C" >&6
73689 else
73690 if test x$gcc_no_link = xyes; then
73691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73693 { (exit 1); exit 1; }; }
73695 cat >conftest.$ac_ext <<_ACEOF
73696 /* confdefs.h. */
73697 _ACEOF
73698 cat confdefs.h >>conftest.$ac_ext
73699 cat >>conftest.$ac_ext <<_ACEOF
73700 /* end confdefs.h. */
73701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73703 #define $ac_func innocuous_$ac_func
73705 /* System header to define __stub macros and hopefully few prototypes,
73706 which can conflict with char $ac_func (); below.
73707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73708 <limits.h> exists even on freestanding compilers. */
73710 #ifdef __STDC__
73711 # include <limits.h>
73712 #else
73713 # include <assert.h>
73714 #endif
73716 #undef $ac_func
73718 /* Override any gcc2 internal prototype to avoid an error. */
73719 #ifdef __cplusplus
73720 extern "C"
73722 #endif
73723 /* We use char because int might match the return type of a gcc2
73724 builtin and then its argument prototype would still apply. */
73725 char $ac_func ();
73726 /* The GNU C library defines this for functions which it implements
73727 to always fail with ENOSYS. Some functions are actually named
73728 something starting with __ and the normal name is an alias. */
73729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73730 choke me
73731 #else
73732 char (*f) () = $ac_func;
73733 #endif
73734 #ifdef __cplusplus
73736 #endif
73739 main ()
73741 return f != $ac_func;
73743 return 0;
73745 _ACEOF
73746 rm -f conftest.$ac_objext conftest$ac_exeext
73747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73748 (eval $ac_link) 2>conftest.er1
73749 ac_status=$?
73750 grep -v '^ *+' conftest.er1 >conftest.err
73751 rm -f conftest.er1
73752 cat conftest.err >&5
73753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73754 (exit $ac_status); } &&
73755 { ac_try='test -z "$ac_c_werror_flag"
73756 || test ! -s conftest.err'
73757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73758 (eval $ac_try) 2>&5
73759 ac_status=$?
73760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73761 (exit $ac_status); }; } &&
73762 { ac_try='test -s conftest$ac_exeext'
73763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73764 (eval $ac_try) 2>&5
73765 ac_status=$?
73766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73767 (exit $ac_status); }; }; then
73768 eval "$as_ac_var=yes"
73769 else
73770 echo "$as_me: failed program was:" >&5
73771 sed 's/^/| /' conftest.$ac_ext >&5
73773 eval "$as_ac_var=no"
73775 rm -f conftest.err conftest.$ac_objext \
73776 conftest$ac_exeext conftest.$ac_ext
73778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73780 if test `eval echo '${'$as_ac_var'}'` = yes; then
73781 cat >>confdefs.h <<_ACEOF
73782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73783 _ACEOF
73786 done
73796 echo "$as_me:$LINENO: checking for powf declaration" >&5
73797 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
73798 if test x${glibcxx_cv_func_powf_use+set} != xset; then
73799 if test "${glibcxx_cv_func_powf_use+set}" = set; then
73800 echo $ECHO_N "(cached) $ECHO_C" >&6
73801 else
73805 ac_ext=cc
73806 ac_cpp='$CXXCPP $CPPFLAGS'
73807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73811 cat >conftest.$ac_ext <<_ACEOF
73812 /* confdefs.h. */
73813 _ACEOF
73814 cat confdefs.h >>conftest.$ac_ext
73815 cat >>conftest.$ac_ext <<_ACEOF
73816 /* end confdefs.h. */
73817 #include <math.h>
73819 main ()
73821 powf(0, 0);
73823 return 0;
73825 _ACEOF
73826 rm -f conftest.$ac_objext
73827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73828 (eval $ac_compile) 2>conftest.er1
73829 ac_status=$?
73830 grep -v '^ *+' conftest.er1 >conftest.err
73831 rm -f conftest.er1
73832 cat conftest.err >&5
73833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73834 (exit $ac_status); } &&
73835 { ac_try='test -z "$ac_cxx_werror_flag"
73836 || test ! -s conftest.err'
73837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73838 (eval $ac_try) 2>&5
73839 ac_status=$?
73840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73841 (exit $ac_status); }; } &&
73842 { ac_try='test -s conftest.$ac_objext'
73843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73844 (eval $ac_try) 2>&5
73845 ac_status=$?
73846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73847 (exit $ac_status); }; }; then
73848 glibcxx_cv_func_powf_use=yes
73849 else
73850 echo "$as_me: failed program was:" >&5
73851 sed 's/^/| /' conftest.$ac_ext >&5
73853 glibcxx_cv_func_powf_use=no
73855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73856 ac_ext=c
73857 ac_cpp='$CPP $CPPFLAGS'
73858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
73867 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
73869 if test x$glibcxx_cv_func_powf_use = x"yes"; then
73871 for ac_func in powf
73873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73874 echo "$as_me:$LINENO: checking for $ac_func" >&5
73875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73876 if eval "test \"\${$as_ac_var+set}\" = set"; then
73877 echo $ECHO_N "(cached) $ECHO_C" >&6
73878 else
73879 if test x$gcc_no_link = xyes; then
73880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73882 { (exit 1); exit 1; }; }
73884 cat >conftest.$ac_ext <<_ACEOF
73885 /* confdefs.h. */
73886 _ACEOF
73887 cat confdefs.h >>conftest.$ac_ext
73888 cat >>conftest.$ac_ext <<_ACEOF
73889 /* end confdefs.h. */
73890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73892 #define $ac_func innocuous_$ac_func
73894 /* System header to define __stub macros and hopefully few prototypes,
73895 which can conflict with char $ac_func (); below.
73896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73897 <limits.h> exists even on freestanding compilers. */
73899 #ifdef __STDC__
73900 # include <limits.h>
73901 #else
73902 # include <assert.h>
73903 #endif
73905 #undef $ac_func
73907 /* Override any gcc2 internal prototype to avoid an error. */
73908 #ifdef __cplusplus
73909 extern "C"
73911 #endif
73912 /* We use char because int might match the return type of a gcc2
73913 builtin and then its argument prototype would still apply. */
73914 char $ac_func ();
73915 /* The GNU C library defines this for functions which it implements
73916 to always fail with ENOSYS. Some functions are actually named
73917 something starting with __ and the normal name is an alias. */
73918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73919 choke me
73920 #else
73921 char (*f) () = $ac_func;
73922 #endif
73923 #ifdef __cplusplus
73925 #endif
73928 main ()
73930 return f != $ac_func;
73932 return 0;
73934 _ACEOF
73935 rm -f conftest.$ac_objext conftest$ac_exeext
73936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73937 (eval $ac_link) 2>conftest.er1
73938 ac_status=$?
73939 grep -v '^ *+' conftest.er1 >conftest.err
73940 rm -f conftest.er1
73941 cat conftest.err >&5
73942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73943 (exit $ac_status); } &&
73944 { ac_try='test -z "$ac_c_werror_flag"
73945 || test ! -s conftest.err'
73946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73947 (eval $ac_try) 2>&5
73948 ac_status=$?
73949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73950 (exit $ac_status); }; } &&
73951 { ac_try='test -s conftest$ac_exeext'
73952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73953 (eval $ac_try) 2>&5
73954 ac_status=$?
73955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73956 (exit $ac_status); }; }; then
73957 eval "$as_ac_var=yes"
73958 else
73959 echo "$as_me: failed program was:" >&5
73960 sed 's/^/| /' conftest.$ac_ext >&5
73962 eval "$as_ac_var=no"
73964 rm -f conftest.err conftest.$ac_objext \
73965 conftest$ac_exeext conftest.$ac_ext
73967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73969 if test `eval echo '${'$as_ac_var'}'` = yes; then
73970 cat >>confdefs.h <<_ACEOF
73971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73972 _ACEOF
73975 done
73977 else
73979 echo "$as_me:$LINENO: checking for _powf declaration" >&5
73980 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
73981 if test x${glibcxx_cv_func__powf_use+set} != xset; then
73982 if test "${glibcxx_cv_func__powf_use+set}" = set; then
73983 echo $ECHO_N "(cached) $ECHO_C" >&6
73984 else
73988 ac_ext=cc
73989 ac_cpp='$CXXCPP $CPPFLAGS'
73990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73994 cat >conftest.$ac_ext <<_ACEOF
73995 /* confdefs.h. */
73996 _ACEOF
73997 cat confdefs.h >>conftest.$ac_ext
73998 cat >>conftest.$ac_ext <<_ACEOF
73999 /* end confdefs.h. */
74000 #include <math.h>
74002 main ()
74004 _powf(0, 0);
74006 return 0;
74008 _ACEOF
74009 rm -f conftest.$ac_objext
74010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74011 (eval $ac_compile) 2>conftest.er1
74012 ac_status=$?
74013 grep -v '^ *+' conftest.er1 >conftest.err
74014 rm -f conftest.er1
74015 cat conftest.err >&5
74016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74017 (exit $ac_status); } &&
74018 { ac_try='test -z "$ac_cxx_werror_flag"
74019 || test ! -s conftest.err'
74020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74021 (eval $ac_try) 2>&5
74022 ac_status=$?
74023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74024 (exit $ac_status); }; } &&
74025 { ac_try='test -s conftest.$ac_objext'
74026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74027 (eval $ac_try) 2>&5
74028 ac_status=$?
74029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74030 (exit $ac_status); }; }; then
74031 glibcxx_cv_func__powf_use=yes
74032 else
74033 echo "$as_me: failed program was:" >&5
74034 sed 's/^/| /' conftest.$ac_ext >&5
74036 glibcxx_cv_func__powf_use=no
74038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74039 ac_ext=c
74040 ac_cpp='$CPP $CPPFLAGS'
74041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74049 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
74050 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
74052 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74054 for ac_func in _powf
74056 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74057 echo "$as_me:$LINENO: checking for $ac_func" >&5
74058 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74059 if eval "test \"\${$as_ac_var+set}\" = set"; then
74060 echo $ECHO_N "(cached) $ECHO_C" >&6
74061 else
74062 if test x$gcc_no_link = xyes; then
74063 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74064 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74065 { (exit 1); exit 1; }; }
74067 cat >conftest.$ac_ext <<_ACEOF
74068 /* confdefs.h. */
74069 _ACEOF
74070 cat confdefs.h >>conftest.$ac_ext
74071 cat >>conftest.$ac_ext <<_ACEOF
74072 /* end confdefs.h. */
74073 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74074 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74075 #define $ac_func innocuous_$ac_func
74077 /* System header to define __stub macros and hopefully few prototypes,
74078 which can conflict with char $ac_func (); below.
74079 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74080 <limits.h> exists even on freestanding compilers. */
74082 #ifdef __STDC__
74083 # include <limits.h>
74084 #else
74085 # include <assert.h>
74086 #endif
74088 #undef $ac_func
74090 /* Override any gcc2 internal prototype to avoid an error. */
74091 #ifdef __cplusplus
74092 extern "C"
74094 #endif
74095 /* We use char because int might match the return type of a gcc2
74096 builtin and then its argument prototype would still apply. */
74097 char $ac_func ();
74098 /* The GNU C library defines this for functions which it implements
74099 to always fail with ENOSYS. Some functions are actually named
74100 something starting with __ and the normal name is an alias. */
74101 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74102 choke me
74103 #else
74104 char (*f) () = $ac_func;
74105 #endif
74106 #ifdef __cplusplus
74108 #endif
74111 main ()
74113 return f != $ac_func;
74115 return 0;
74117 _ACEOF
74118 rm -f conftest.$ac_objext conftest$ac_exeext
74119 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74120 (eval $ac_link) 2>conftest.er1
74121 ac_status=$?
74122 grep -v '^ *+' conftest.er1 >conftest.err
74123 rm -f conftest.er1
74124 cat conftest.err >&5
74125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74126 (exit $ac_status); } &&
74127 { ac_try='test -z "$ac_c_werror_flag"
74128 || test ! -s conftest.err'
74129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74130 (eval $ac_try) 2>&5
74131 ac_status=$?
74132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74133 (exit $ac_status); }; } &&
74134 { ac_try='test -s conftest$ac_exeext'
74135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74136 (eval $ac_try) 2>&5
74137 ac_status=$?
74138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74139 (exit $ac_status); }; }; then
74140 eval "$as_ac_var=yes"
74141 else
74142 echo "$as_me: failed program was:" >&5
74143 sed 's/^/| /' conftest.$ac_ext >&5
74145 eval "$as_ac_var=no"
74147 rm -f conftest.err conftest.$ac_objext \
74148 conftest$ac_exeext conftest.$ac_ext
74150 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74151 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74152 if test `eval echo '${'$as_ac_var'}'` = yes; then
74153 cat >>confdefs.h <<_ACEOF
74154 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74155 _ACEOF
74158 done
74168 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
74169 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
74170 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74171 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
74172 echo $ECHO_N "(cached) $ECHO_C" >&6
74173 else
74177 ac_ext=cc
74178 ac_cpp='$CXXCPP $CPPFLAGS'
74179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74183 cat >conftest.$ac_ext <<_ACEOF
74184 /* confdefs.h. */
74185 _ACEOF
74186 cat confdefs.h >>conftest.$ac_ext
74187 cat >>conftest.$ac_ext <<_ACEOF
74188 /* end confdefs.h. */
74189 #include <math.h>
74190 #ifdef HAVE_IEEEFP_H
74191 #include <ieeefp.h>
74192 #endif
74195 main ()
74197 sqrtf(0);
74199 return 0;
74201 _ACEOF
74202 rm -f conftest.$ac_objext
74203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74204 (eval $ac_compile) 2>conftest.er1
74205 ac_status=$?
74206 grep -v '^ *+' conftest.er1 >conftest.err
74207 rm -f conftest.er1
74208 cat conftest.err >&5
74209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74210 (exit $ac_status); } &&
74211 { ac_try='test -z "$ac_cxx_werror_flag"
74212 || test ! -s conftest.err'
74213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74214 (eval $ac_try) 2>&5
74215 ac_status=$?
74216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74217 (exit $ac_status); }; } &&
74218 { ac_try='test -s conftest.$ac_objext'
74219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74220 (eval $ac_try) 2>&5
74221 ac_status=$?
74222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74223 (exit $ac_status); }; }; then
74224 glibcxx_cv_func_sqrtf_use=yes
74225 else
74226 echo "$as_me: failed program was:" >&5
74227 sed 's/^/| /' conftest.$ac_ext >&5
74229 glibcxx_cv_func_sqrtf_use=no
74231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74232 ac_ext=c
74233 ac_cpp='$CPP $CPPFLAGS'
74234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
74243 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
74245 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74247 for ac_func in sqrtf
74249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74250 echo "$as_me:$LINENO: checking for $ac_func" >&5
74251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74252 if eval "test \"\${$as_ac_var+set}\" = set"; then
74253 echo $ECHO_N "(cached) $ECHO_C" >&6
74254 else
74255 if test x$gcc_no_link = xyes; then
74256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74258 { (exit 1); exit 1; }; }
74260 cat >conftest.$ac_ext <<_ACEOF
74261 /* confdefs.h. */
74262 _ACEOF
74263 cat confdefs.h >>conftest.$ac_ext
74264 cat >>conftest.$ac_ext <<_ACEOF
74265 /* end confdefs.h. */
74266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74268 #define $ac_func innocuous_$ac_func
74270 /* System header to define __stub macros and hopefully few prototypes,
74271 which can conflict with char $ac_func (); below.
74272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74273 <limits.h> exists even on freestanding compilers. */
74275 #ifdef __STDC__
74276 # include <limits.h>
74277 #else
74278 # include <assert.h>
74279 #endif
74281 #undef $ac_func
74283 /* Override any gcc2 internal prototype to avoid an error. */
74284 #ifdef __cplusplus
74285 extern "C"
74287 #endif
74288 /* We use char because int might match the return type of a gcc2
74289 builtin and then its argument prototype would still apply. */
74290 char $ac_func ();
74291 /* The GNU C library defines this for functions which it implements
74292 to always fail with ENOSYS. Some functions are actually named
74293 something starting with __ and the normal name is an alias. */
74294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74295 choke me
74296 #else
74297 char (*f) () = $ac_func;
74298 #endif
74299 #ifdef __cplusplus
74301 #endif
74304 main ()
74306 return f != $ac_func;
74308 return 0;
74310 _ACEOF
74311 rm -f conftest.$ac_objext conftest$ac_exeext
74312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74313 (eval $ac_link) 2>conftest.er1
74314 ac_status=$?
74315 grep -v '^ *+' conftest.er1 >conftest.err
74316 rm -f conftest.er1
74317 cat conftest.err >&5
74318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74319 (exit $ac_status); } &&
74320 { ac_try='test -z "$ac_c_werror_flag"
74321 || test ! -s conftest.err'
74322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74323 (eval $ac_try) 2>&5
74324 ac_status=$?
74325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74326 (exit $ac_status); }; } &&
74327 { ac_try='test -s conftest$ac_exeext'
74328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74329 (eval $ac_try) 2>&5
74330 ac_status=$?
74331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74332 (exit $ac_status); }; }; then
74333 eval "$as_ac_var=yes"
74334 else
74335 echo "$as_me: failed program was:" >&5
74336 sed 's/^/| /' conftest.$ac_ext >&5
74338 eval "$as_ac_var=no"
74340 rm -f conftest.err conftest.$ac_objext \
74341 conftest$ac_exeext conftest.$ac_ext
74343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74345 if test `eval echo '${'$as_ac_var'}'` = yes; then
74346 cat >>confdefs.h <<_ACEOF
74347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74348 _ACEOF
74351 done
74353 else
74355 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
74356 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
74357 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74358 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
74359 echo $ECHO_N "(cached) $ECHO_C" >&6
74360 else
74364 ac_ext=cc
74365 ac_cpp='$CXXCPP $CPPFLAGS'
74366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74370 cat >conftest.$ac_ext <<_ACEOF
74371 /* confdefs.h. */
74372 _ACEOF
74373 cat confdefs.h >>conftest.$ac_ext
74374 cat >>conftest.$ac_ext <<_ACEOF
74375 /* end confdefs.h. */
74376 #include <math.h>
74377 #ifdef HAVE_IEEEFP_H
74378 #include <ieeefp.h>
74379 #endif
74382 main ()
74384 _sqrtf(0);
74386 return 0;
74388 _ACEOF
74389 rm -f conftest.$ac_objext
74390 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74391 (eval $ac_compile) 2>conftest.er1
74392 ac_status=$?
74393 grep -v '^ *+' conftest.er1 >conftest.err
74394 rm -f conftest.er1
74395 cat conftest.err >&5
74396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74397 (exit $ac_status); } &&
74398 { ac_try='test -z "$ac_cxx_werror_flag"
74399 || test ! -s conftest.err'
74400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74401 (eval $ac_try) 2>&5
74402 ac_status=$?
74403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74404 (exit $ac_status); }; } &&
74405 { ac_try='test -s conftest.$ac_objext'
74406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74407 (eval $ac_try) 2>&5
74408 ac_status=$?
74409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74410 (exit $ac_status); }; }; then
74411 glibcxx_cv_func__sqrtf_use=yes
74412 else
74413 echo "$as_me: failed program was:" >&5
74414 sed 's/^/| /' conftest.$ac_ext >&5
74416 glibcxx_cv_func__sqrtf_use=no
74418 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74419 ac_ext=c
74420 ac_cpp='$CPP $CPPFLAGS'
74421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74429 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
74430 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
74432 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74434 for ac_func in _sqrtf
74436 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74437 echo "$as_me:$LINENO: checking for $ac_func" >&5
74438 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74439 if eval "test \"\${$as_ac_var+set}\" = set"; then
74440 echo $ECHO_N "(cached) $ECHO_C" >&6
74441 else
74442 if test x$gcc_no_link = xyes; then
74443 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74444 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74445 { (exit 1); exit 1; }; }
74447 cat >conftest.$ac_ext <<_ACEOF
74448 /* confdefs.h. */
74449 _ACEOF
74450 cat confdefs.h >>conftest.$ac_ext
74451 cat >>conftest.$ac_ext <<_ACEOF
74452 /* end confdefs.h. */
74453 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74454 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74455 #define $ac_func innocuous_$ac_func
74457 /* System header to define __stub macros and hopefully few prototypes,
74458 which can conflict with char $ac_func (); below.
74459 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74460 <limits.h> exists even on freestanding compilers. */
74462 #ifdef __STDC__
74463 # include <limits.h>
74464 #else
74465 # include <assert.h>
74466 #endif
74468 #undef $ac_func
74470 /* Override any gcc2 internal prototype to avoid an error. */
74471 #ifdef __cplusplus
74472 extern "C"
74474 #endif
74475 /* We use char because int might match the return type of a gcc2
74476 builtin and then its argument prototype would still apply. */
74477 char $ac_func ();
74478 /* The GNU C library defines this for functions which it implements
74479 to always fail with ENOSYS. Some functions are actually named
74480 something starting with __ and the normal name is an alias. */
74481 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74482 choke me
74483 #else
74484 char (*f) () = $ac_func;
74485 #endif
74486 #ifdef __cplusplus
74488 #endif
74491 main ()
74493 return f != $ac_func;
74495 return 0;
74497 _ACEOF
74498 rm -f conftest.$ac_objext conftest$ac_exeext
74499 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74500 (eval $ac_link) 2>conftest.er1
74501 ac_status=$?
74502 grep -v '^ *+' conftest.er1 >conftest.err
74503 rm -f conftest.er1
74504 cat conftest.err >&5
74505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74506 (exit $ac_status); } &&
74507 { ac_try='test -z "$ac_c_werror_flag"
74508 || test ! -s conftest.err'
74509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74510 (eval $ac_try) 2>&5
74511 ac_status=$?
74512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74513 (exit $ac_status); }; } &&
74514 { ac_try='test -s conftest$ac_exeext'
74515 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74516 (eval $ac_try) 2>&5
74517 ac_status=$?
74518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74519 (exit $ac_status); }; }; then
74520 eval "$as_ac_var=yes"
74521 else
74522 echo "$as_me: failed program was:" >&5
74523 sed 's/^/| /' conftest.$ac_ext >&5
74525 eval "$as_ac_var=no"
74527 rm -f conftest.err conftest.$ac_objext \
74528 conftest$ac_exeext conftest.$ac_ext
74530 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74531 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74532 if test `eval echo '${'$as_ac_var'}'` = yes; then
74533 cat >>confdefs.h <<_ACEOF
74534 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74535 _ACEOF
74538 done
74548 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
74549 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
74550 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74551 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
74552 echo $ECHO_N "(cached) $ECHO_C" >&6
74553 else
74557 ac_ext=cc
74558 ac_cpp='$CXXCPP $CPPFLAGS'
74559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74563 cat >conftest.$ac_ext <<_ACEOF
74564 /* confdefs.h. */
74565 _ACEOF
74566 cat confdefs.h >>conftest.$ac_ext
74567 cat >>conftest.$ac_ext <<_ACEOF
74568 /* end confdefs.h. */
74569 #include <math.h>
74571 main ()
74573 sincosf(0, 0, 0);
74575 return 0;
74577 _ACEOF
74578 rm -f conftest.$ac_objext
74579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74580 (eval $ac_compile) 2>conftest.er1
74581 ac_status=$?
74582 grep -v '^ *+' conftest.er1 >conftest.err
74583 rm -f conftest.er1
74584 cat conftest.err >&5
74585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74586 (exit $ac_status); } &&
74587 { ac_try='test -z "$ac_cxx_werror_flag"
74588 || test ! -s conftest.err'
74589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74590 (eval $ac_try) 2>&5
74591 ac_status=$?
74592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74593 (exit $ac_status); }; } &&
74594 { ac_try='test -s conftest.$ac_objext'
74595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74596 (eval $ac_try) 2>&5
74597 ac_status=$?
74598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74599 (exit $ac_status); }; }; then
74600 glibcxx_cv_func_sincosf_use=yes
74601 else
74602 echo "$as_me: failed program was:" >&5
74603 sed 's/^/| /' conftest.$ac_ext >&5
74605 glibcxx_cv_func_sincosf_use=no
74607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74608 ac_ext=c
74609 ac_cpp='$CPP $CPPFLAGS'
74610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
74619 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
74621 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74623 for ac_func in sincosf
74625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74626 echo "$as_me:$LINENO: checking for $ac_func" >&5
74627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74628 if eval "test \"\${$as_ac_var+set}\" = set"; then
74629 echo $ECHO_N "(cached) $ECHO_C" >&6
74630 else
74631 if test x$gcc_no_link = xyes; then
74632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74634 { (exit 1); exit 1; }; }
74636 cat >conftest.$ac_ext <<_ACEOF
74637 /* confdefs.h. */
74638 _ACEOF
74639 cat confdefs.h >>conftest.$ac_ext
74640 cat >>conftest.$ac_ext <<_ACEOF
74641 /* end confdefs.h. */
74642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74644 #define $ac_func innocuous_$ac_func
74646 /* System header to define __stub macros and hopefully few prototypes,
74647 which can conflict with char $ac_func (); below.
74648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74649 <limits.h> exists even on freestanding compilers. */
74651 #ifdef __STDC__
74652 # include <limits.h>
74653 #else
74654 # include <assert.h>
74655 #endif
74657 #undef $ac_func
74659 /* Override any gcc2 internal prototype to avoid an error. */
74660 #ifdef __cplusplus
74661 extern "C"
74663 #endif
74664 /* We use char because int might match the return type of a gcc2
74665 builtin and then its argument prototype would still apply. */
74666 char $ac_func ();
74667 /* The GNU C library defines this for functions which it implements
74668 to always fail with ENOSYS. Some functions are actually named
74669 something starting with __ and the normal name is an alias. */
74670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74671 choke me
74672 #else
74673 char (*f) () = $ac_func;
74674 #endif
74675 #ifdef __cplusplus
74677 #endif
74680 main ()
74682 return f != $ac_func;
74684 return 0;
74686 _ACEOF
74687 rm -f conftest.$ac_objext conftest$ac_exeext
74688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74689 (eval $ac_link) 2>conftest.er1
74690 ac_status=$?
74691 grep -v '^ *+' conftest.er1 >conftest.err
74692 rm -f conftest.er1
74693 cat conftest.err >&5
74694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74695 (exit $ac_status); } &&
74696 { ac_try='test -z "$ac_c_werror_flag"
74697 || test ! -s conftest.err'
74698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74699 (eval $ac_try) 2>&5
74700 ac_status=$?
74701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74702 (exit $ac_status); }; } &&
74703 { ac_try='test -s conftest$ac_exeext'
74704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74705 (eval $ac_try) 2>&5
74706 ac_status=$?
74707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74708 (exit $ac_status); }; }; then
74709 eval "$as_ac_var=yes"
74710 else
74711 echo "$as_me: failed program was:" >&5
74712 sed 's/^/| /' conftest.$ac_ext >&5
74714 eval "$as_ac_var=no"
74716 rm -f conftest.err conftest.$ac_objext \
74717 conftest$ac_exeext conftest.$ac_ext
74719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74721 if test `eval echo '${'$as_ac_var'}'` = yes; then
74722 cat >>confdefs.h <<_ACEOF
74723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74724 _ACEOF
74727 done
74729 else
74731 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
74732 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
74733 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74734 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
74735 echo $ECHO_N "(cached) $ECHO_C" >&6
74736 else
74740 ac_ext=cc
74741 ac_cpp='$CXXCPP $CPPFLAGS'
74742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74746 cat >conftest.$ac_ext <<_ACEOF
74747 /* confdefs.h. */
74748 _ACEOF
74749 cat confdefs.h >>conftest.$ac_ext
74750 cat >>conftest.$ac_ext <<_ACEOF
74751 /* end confdefs.h. */
74752 #include <math.h>
74754 main ()
74756 _sincosf(0, 0, 0);
74758 return 0;
74760 _ACEOF
74761 rm -f conftest.$ac_objext
74762 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74763 (eval $ac_compile) 2>conftest.er1
74764 ac_status=$?
74765 grep -v '^ *+' conftest.er1 >conftest.err
74766 rm -f conftest.er1
74767 cat conftest.err >&5
74768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74769 (exit $ac_status); } &&
74770 { ac_try='test -z "$ac_cxx_werror_flag"
74771 || test ! -s conftest.err'
74772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74773 (eval $ac_try) 2>&5
74774 ac_status=$?
74775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74776 (exit $ac_status); }; } &&
74777 { ac_try='test -s conftest.$ac_objext'
74778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74779 (eval $ac_try) 2>&5
74780 ac_status=$?
74781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74782 (exit $ac_status); }; }; then
74783 glibcxx_cv_func__sincosf_use=yes
74784 else
74785 echo "$as_me: failed program was:" >&5
74786 sed 's/^/| /' conftest.$ac_ext >&5
74788 glibcxx_cv_func__sincosf_use=no
74790 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74791 ac_ext=c
74792 ac_cpp='$CPP $CPPFLAGS'
74793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74801 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
74802 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
74804 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74806 for ac_func in _sincosf
74808 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74809 echo "$as_me:$LINENO: checking for $ac_func" >&5
74810 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74811 if eval "test \"\${$as_ac_var+set}\" = set"; then
74812 echo $ECHO_N "(cached) $ECHO_C" >&6
74813 else
74814 if test x$gcc_no_link = xyes; then
74815 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74816 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74817 { (exit 1); exit 1; }; }
74819 cat >conftest.$ac_ext <<_ACEOF
74820 /* confdefs.h. */
74821 _ACEOF
74822 cat confdefs.h >>conftest.$ac_ext
74823 cat >>conftest.$ac_ext <<_ACEOF
74824 /* end confdefs.h. */
74825 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74826 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74827 #define $ac_func innocuous_$ac_func
74829 /* System header to define __stub macros and hopefully few prototypes,
74830 which can conflict with char $ac_func (); below.
74831 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74832 <limits.h> exists even on freestanding compilers. */
74834 #ifdef __STDC__
74835 # include <limits.h>
74836 #else
74837 # include <assert.h>
74838 #endif
74840 #undef $ac_func
74842 /* Override any gcc2 internal prototype to avoid an error. */
74843 #ifdef __cplusplus
74844 extern "C"
74846 #endif
74847 /* We use char because int might match the return type of a gcc2
74848 builtin and then its argument prototype would still apply. */
74849 char $ac_func ();
74850 /* The GNU C library defines this for functions which it implements
74851 to always fail with ENOSYS. Some functions are actually named
74852 something starting with __ and the normal name is an alias. */
74853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74854 choke me
74855 #else
74856 char (*f) () = $ac_func;
74857 #endif
74858 #ifdef __cplusplus
74860 #endif
74863 main ()
74865 return f != $ac_func;
74867 return 0;
74869 _ACEOF
74870 rm -f conftest.$ac_objext conftest$ac_exeext
74871 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74872 (eval $ac_link) 2>conftest.er1
74873 ac_status=$?
74874 grep -v '^ *+' conftest.er1 >conftest.err
74875 rm -f conftest.er1
74876 cat conftest.err >&5
74877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74878 (exit $ac_status); } &&
74879 { ac_try='test -z "$ac_c_werror_flag"
74880 || test ! -s conftest.err'
74881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74882 (eval $ac_try) 2>&5
74883 ac_status=$?
74884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74885 (exit $ac_status); }; } &&
74886 { ac_try='test -s conftest$ac_exeext'
74887 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74888 (eval $ac_try) 2>&5
74889 ac_status=$?
74890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74891 (exit $ac_status); }; }; then
74892 eval "$as_ac_var=yes"
74893 else
74894 echo "$as_me: failed program was:" >&5
74895 sed 's/^/| /' conftest.$ac_ext >&5
74897 eval "$as_ac_var=no"
74899 rm -f conftest.err conftest.$ac_objext \
74900 conftest$ac_exeext conftest.$ac_ext
74902 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74903 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74904 if test `eval echo '${'$as_ac_var'}'` = yes; then
74905 cat >>confdefs.h <<_ACEOF
74906 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74907 _ACEOF
74910 done
74920 echo "$as_me:$LINENO: checking for finitef declaration" >&5
74921 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
74922 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74923 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
74924 echo $ECHO_N "(cached) $ECHO_C" >&6
74925 else
74929 ac_ext=cc
74930 ac_cpp='$CXXCPP $CPPFLAGS'
74931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74935 cat >conftest.$ac_ext <<_ACEOF
74936 /* confdefs.h. */
74937 _ACEOF
74938 cat confdefs.h >>conftest.$ac_ext
74939 cat >>conftest.$ac_ext <<_ACEOF
74940 /* end confdefs.h. */
74941 #include <math.h>
74942 #ifdef HAVE_IEEEFP_H
74943 #include <ieeefp.h>
74944 #endif
74947 main ()
74949 finitef(0);
74951 return 0;
74953 _ACEOF
74954 rm -f conftest.$ac_objext
74955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74956 (eval $ac_compile) 2>conftest.er1
74957 ac_status=$?
74958 grep -v '^ *+' conftest.er1 >conftest.err
74959 rm -f conftest.er1
74960 cat conftest.err >&5
74961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74962 (exit $ac_status); } &&
74963 { ac_try='test -z "$ac_cxx_werror_flag"
74964 || test ! -s conftest.err'
74965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74966 (eval $ac_try) 2>&5
74967 ac_status=$?
74968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74969 (exit $ac_status); }; } &&
74970 { ac_try='test -s conftest.$ac_objext'
74971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74972 (eval $ac_try) 2>&5
74973 ac_status=$?
74974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74975 (exit $ac_status); }; }; then
74976 glibcxx_cv_func_finitef_use=yes
74977 else
74978 echo "$as_me: failed program was:" >&5
74979 sed 's/^/| /' conftest.$ac_ext >&5
74981 glibcxx_cv_func_finitef_use=no
74983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74984 ac_ext=c
74985 ac_cpp='$CPP $CPPFLAGS'
74986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
74995 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
74997 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74999 for ac_func in finitef
75001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75002 echo "$as_me:$LINENO: checking for $ac_func" >&5
75003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75004 if eval "test \"\${$as_ac_var+set}\" = set"; then
75005 echo $ECHO_N "(cached) $ECHO_C" >&6
75006 else
75007 if test x$gcc_no_link = xyes; then
75008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75010 { (exit 1); exit 1; }; }
75012 cat >conftest.$ac_ext <<_ACEOF
75013 /* confdefs.h. */
75014 _ACEOF
75015 cat confdefs.h >>conftest.$ac_ext
75016 cat >>conftest.$ac_ext <<_ACEOF
75017 /* end confdefs.h. */
75018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75020 #define $ac_func innocuous_$ac_func
75022 /* System header to define __stub macros and hopefully few prototypes,
75023 which can conflict with char $ac_func (); below.
75024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75025 <limits.h> exists even on freestanding compilers. */
75027 #ifdef __STDC__
75028 # include <limits.h>
75029 #else
75030 # include <assert.h>
75031 #endif
75033 #undef $ac_func
75035 /* Override any gcc2 internal prototype to avoid an error. */
75036 #ifdef __cplusplus
75037 extern "C"
75039 #endif
75040 /* We use char because int might match the return type of a gcc2
75041 builtin and then its argument prototype would still apply. */
75042 char $ac_func ();
75043 /* The GNU C library defines this for functions which it implements
75044 to always fail with ENOSYS. Some functions are actually named
75045 something starting with __ and the normal name is an alias. */
75046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75047 choke me
75048 #else
75049 char (*f) () = $ac_func;
75050 #endif
75051 #ifdef __cplusplus
75053 #endif
75056 main ()
75058 return f != $ac_func;
75060 return 0;
75062 _ACEOF
75063 rm -f conftest.$ac_objext conftest$ac_exeext
75064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75065 (eval $ac_link) 2>conftest.er1
75066 ac_status=$?
75067 grep -v '^ *+' conftest.er1 >conftest.err
75068 rm -f conftest.er1
75069 cat conftest.err >&5
75070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75071 (exit $ac_status); } &&
75072 { ac_try='test -z "$ac_c_werror_flag"
75073 || test ! -s conftest.err'
75074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75075 (eval $ac_try) 2>&5
75076 ac_status=$?
75077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75078 (exit $ac_status); }; } &&
75079 { ac_try='test -s conftest$ac_exeext'
75080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75081 (eval $ac_try) 2>&5
75082 ac_status=$?
75083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75084 (exit $ac_status); }; }; then
75085 eval "$as_ac_var=yes"
75086 else
75087 echo "$as_me: failed program was:" >&5
75088 sed 's/^/| /' conftest.$ac_ext >&5
75090 eval "$as_ac_var=no"
75092 rm -f conftest.err conftest.$ac_objext \
75093 conftest$ac_exeext conftest.$ac_ext
75095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75097 if test `eval echo '${'$as_ac_var'}'` = yes; then
75098 cat >>confdefs.h <<_ACEOF
75099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75100 _ACEOF
75103 done
75105 else
75107 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
75108 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
75109 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75110 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
75111 echo $ECHO_N "(cached) $ECHO_C" >&6
75112 else
75116 ac_ext=cc
75117 ac_cpp='$CXXCPP $CPPFLAGS'
75118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75122 cat >conftest.$ac_ext <<_ACEOF
75123 /* confdefs.h. */
75124 _ACEOF
75125 cat confdefs.h >>conftest.$ac_ext
75126 cat >>conftest.$ac_ext <<_ACEOF
75127 /* end confdefs.h. */
75128 #include <math.h>
75129 #ifdef HAVE_IEEEFP_H
75130 #include <ieeefp.h>
75131 #endif
75134 main ()
75136 _finitef(0);
75138 return 0;
75140 _ACEOF
75141 rm -f conftest.$ac_objext
75142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75143 (eval $ac_compile) 2>conftest.er1
75144 ac_status=$?
75145 grep -v '^ *+' conftest.er1 >conftest.err
75146 rm -f conftest.er1
75147 cat conftest.err >&5
75148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75149 (exit $ac_status); } &&
75150 { ac_try='test -z "$ac_cxx_werror_flag"
75151 || test ! -s conftest.err'
75152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75153 (eval $ac_try) 2>&5
75154 ac_status=$?
75155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75156 (exit $ac_status); }; } &&
75157 { ac_try='test -s conftest.$ac_objext'
75158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75159 (eval $ac_try) 2>&5
75160 ac_status=$?
75161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75162 (exit $ac_status); }; }; then
75163 glibcxx_cv_func__finitef_use=yes
75164 else
75165 echo "$as_me: failed program was:" >&5
75166 sed 's/^/| /' conftest.$ac_ext >&5
75168 glibcxx_cv_func__finitef_use=no
75170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75171 ac_ext=c
75172 ac_cpp='$CPP $CPPFLAGS'
75173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75181 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
75182 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
75184 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75186 for ac_func in _finitef
75188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75189 echo "$as_me:$LINENO: checking for $ac_func" >&5
75190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75191 if eval "test \"\${$as_ac_var+set}\" = set"; then
75192 echo $ECHO_N "(cached) $ECHO_C" >&6
75193 else
75194 if test x$gcc_no_link = xyes; then
75195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75197 { (exit 1); exit 1; }; }
75199 cat >conftest.$ac_ext <<_ACEOF
75200 /* confdefs.h. */
75201 _ACEOF
75202 cat confdefs.h >>conftest.$ac_ext
75203 cat >>conftest.$ac_ext <<_ACEOF
75204 /* end confdefs.h. */
75205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75207 #define $ac_func innocuous_$ac_func
75209 /* System header to define __stub macros and hopefully few prototypes,
75210 which can conflict with char $ac_func (); below.
75211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75212 <limits.h> exists even on freestanding compilers. */
75214 #ifdef __STDC__
75215 # include <limits.h>
75216 #else
75217 # include <assert.h>
75218 #endif
75220 #undef $ac_func
75222 /* Override any gcc2 internal prototype to avoid an error. */
75223 #ifdef __cplusplus
75224 extern "C"
75226 #endif
75227 /* We use char because int might match the return type of a gcc2
75228 builtin and then its argument prototype would still apply. */
75229 char $ac_func ();
75230 /* The GNU C library defines this for functions which it implements
75231 to always fail with ENOSYS. Some functions are actually named
75232 something starting with __ and the normal name is an alias. */
75233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75234 choke me
75235 #else
75236 char (*f) () = $ac_func;
75237 #endif
75238 #ifdef __cplusplus
75240 #endif
75243 main ()
75245 return f != $ac_func;
75247 return 0;
75249 _ACEOF
75250 rm -f conftest.$ac_objext conftest$ac_exeext
75251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75252 (eval $ac_link) 2>conftest.er1
75253 ac_status=$?
75254 grep -v '^ *+' conftest.er1 >conftest.err
75255 rm -f conftest.er1
75256 cat conftest.err >&5
75257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75258 (exit $ac_status); } &&
75259 { ac_try='test -z "$ac_c_werror_flag"
75260 || test ! -s conftest.err'
75261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75262 (eval $ac_try) 2>&5
75263 ac_status=$?
75264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75265 (exit $ac_status); }; } &&
75266 { ac_try='test -s conftest$ac_exeext'
75267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75268 (eval $ac_try) 2>&5
75269 ac_status=$?
75270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75271 (exit $ac_status); }; }; then
75272 eval "$as_ac_var=yes"
75273 else
75274 echo "$as_me: failed program was:" >&5
75275 sed 's/^/| /' conftest.$ac_ext >&5
75277 eval "$as_ac_var=no"
75279 rm -f conftest.err conftest.$ac_objext \
75280 conftest$ac_exeext conftest.$ac_ext
75282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75284 if test `eval echo '${'$as_ac_var'}'` = yes; then
75285 cat >>confdefs.h <<_ACEOF
75286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75287 _ACEOF
75290 done
75300 echo "$as_me:$LINENO: checking for long double trig functions" >&5
75301 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
75302 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
75303 echo $ECHO_N "(cached) $ECHO_C" >&6
75304 else
75308 ac_ext=cc
75309 ac_cpp='$CXXCPP $CPPFLAGS'
75310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75314 cat >conftest.$ac_ext <<_ACEOF
75315 /* confdefs.h. */
75316 _ACEOF
75317 cat confdefs.h >>conftest.$ac_ext
75318 cat >>conftest.$ac_ext <<_ACEOF
75319 /* end confdefs.h. */
75320 #include <math.h>
75322 main ()
75324 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75326 return 0;
75328 _ACEOF
75329 rm -f conftest.$ac_objext
75330 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75331 (eval $ac_compile) 2>conftest.er1
75332 ac_status=$?
75333 grep -v '^ *+' conftest.er1 >conftest.err
75334 rm -f conftest.er1
75335 cat conftest.err >&5
75336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75337 (exit $ac_status); } &&
75338 { ac_try='test -z "$ac_cxx_werror_flag"
75339 || test ! -s conftest.err'
75340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75341 (eval $ac_try) 2>&5
75342 ac_status=$?
75343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75344 (exit $ac_status); }; } &&
75345 { ac_try='test -s conftest.$ac_objext'
75346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75347 (eval $ac_try) 2>&5
75348 ac_status=$?
75349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75350 (exit $ac_status); }; }; then
75351 glibcxx_cv_func_long_double_trig_use=yes
75352 else
75353 echo "$as_me: failed program was:" >&5
75354 sed 's/^/| /' conftest.$ac_ext >&5
75356 glibcxx_cv_func_long_double_trig_use=no
75358 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75359 ac_ext=c
75360 ac_cpp='$CPP $CPPFLAGS'
75361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75367 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
75368 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
75369 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75379 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75382 echo "$as_me:$LINENO: checking for $ac_func" >&5
75383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75384 if eval "test \"\${$as_ac_var+set}\" = set"; then
75385 echo $ECHO_N "(cached) $ECHO_C" >&6
75386 else
75387 if test x$gcc_no_link = xyes; then
75388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75390 { (exit 1); exit 1; }; }
75392 cat >conftest.$ac_ext <<_ACEOF
75393 /* confdefs.h. */
75394 _ACEOF
75395 cat confdefs.h >>conftest.$ac_ext
75396 cat >>conftest.$ac_ext <<_ACEOF
75397 /* end confdefs.h. */
75398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75400 #define $ac_func innocuous_$ac_func
75402 /* System header to define __stub macros and hopefully few prototypes,
75403 which can conflict with char $ac_func (); below.
75404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75405 <limits.h> exists even on freestanding compilers. */
75407 #ifdef __STDC__
75408 # include <limits.h>
75409 #else
75410 # include <assert.h>
75411 #endif
75413 #undef $ac_func
75415 /* Override any gcc2 internal prototype to avoid an error. */
75416 #ifdef __cplusplus
75417 extern "C"
75419 #endif
75420 /* We use char because int might match the return type of a gcc2
75421 builtin and then its argument prototype would still apply. */
75422 char $ac_func ();
75423 /* The GNU C library defines this for functions which it implements
75424 to always fail with ENOSYS. Some functions are actually named
75425 something starting with __ and the normal name is an alias. */
75426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75427 choke me
75428 #else
75429 char (*f) () = $ac_func;
75430 #endif
75431 #ifdef __cplusplus
75433 #endif
75436 main ()
75438 return f != $ac_func;
75440 return 0;
75442 _ACEOF
75443 rm -f conftest.$ac_objext conftest$ac_exeext
75444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75445 (eval $ac_link) 2>conftest.er1
75446 ac_status=$?
75447 grep -v '^ *+' conftest.er1 >conftest.err
75448 rm -f conftest.er1
75449 cat conftest.err >&5
75450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75451 (exit $ac_status); } &&
75452 { ac_try='test -z "$ac_c_werror_flag"
75453 || test ! -s conftest.err'
75454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75455 (eval $ac_try) 2>&5
75456 ac_status=$?
75457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75458 (exit $ac_status); }; } &&
75459 { ac_try='test -s conftest$ac_exeext'
75460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75461 (eval $ac_try) 2>&5
75462 ac_status=$?
75463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75464 (exit $ac_status); }; }; then
75465 eval "$as_ac_var=yes"
75466 else
75467 echo "$as_me: failed program was:" >&5
75468 sed 's/^/| /' conftest.$ac_ext >&5
75470 eval "$as_ac_var=no"
75472 rm -f conftest.err conftest.$ac_objext \
75473 conftest$ac_exeext conftest.$ac_ext
75475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75477 if test `eval echo '${'$as_ac_var'}'` = yes; then
75478 cat >>confdefs.h <<_ACEOF
75479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75480 _ACEOF
75483 done
75485 else
75486 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
75487 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
75488 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
75489 echo $ECHO_N "(cached) $ECHO_C" >&6
75490 else
75494 ac_ext=cc
75495 ac_cpp='$CXXCPP $CPPFLAGS'
75496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75500 cat >conftest.$ac_ext <<_ACEOF
75501 /* confdefs.h. */
75502 _ACEOF
75503 cat confdefs.h >>conftest.$ac_ext
75504 cat >>conftest.$ac_ext <<_ACEOF
75505 /* end confdefs.h. */
75506 #include <math.h>
75508 main ()
75510 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75512 return 0;
75514 _ACEOF
75515 rm -f conftest.$ac_objext
75516 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75517 (eval $ac_compile) 2>conftest.er1
75518 ac_status=$?
75519 grep -v '^ *+' conftest.er1 >conftest.err
75520 rm -f conftest.er1
75521 cat conftest.err >&5
75522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75523 (exit $ac_status); } &&
75524 { ac_try='test -z "$ac_cxx_werror_flag"
75525 || test ! -s conftest.err'
75526 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75527 (eval $ac_try) 2>&5
75528 ac_status=$?
75529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75530 (exit $ac_status); }; } &&
75531 { ac_try='test -s conftest.$ac_objext'
75532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75533 (eval $ac_try) 2>&5
75534 ac_status=$?
75535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75536 (exit $ac_status); }; }; then
75537 glibcxx_cv_func__long_double_trig_use=yes
75538 else
75539 echo "$as_me: failed program was:" >&5
75540 sed 's/^/| /' conftest.$ac_ext >&5
75542 glibcxx_cv_func__long_double_trig_use=no
75544 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75545 ac_ext=c
75546 ac_cpp='$CPP $CPPFLAGS'
75547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75553 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
75554 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
75555 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75565 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75567 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75568 echo "$as_me:$LINENO: checking for $ac_func" >&5
75569 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75570 if eval "test \"\${$as_ac_var+set}\" = set"; then
75571 echo $ECHO_N "(cached) $ECHO_C" >&6
75572 else
75573 if test x$gcc_no_link = xyes; then
75574 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75575 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75576 { (exit 1); exit 1; }; }
75578 cat >conftest.$ac_ext <<_ACEOF
75579 /* confdefs.h. */
75580 _ACEOF
75581 cat confdefs.h >>conftest.$ac_ext
75582 cat >>conftest.$ac_ext <<_ACEOF
75583 /* end confdefs.h. */
75584 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75585 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75586 #define $ac_func innocuous_$ac_func
75588 /* System header to define __stub macros and hopefully few prototypes,
75589 which can conflict with char $ac_func (); below.
75590 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75591 <limits.h> exists even on freestanding compilers. */
75593 #ifdef __STDC__
75594 # include <limits.h>
75595 #else
75596 # include <assert.h>
75597 #endif
75599 #undef $ac_func
75601 /* Override any gcc2 internal prototype to avoid an error. */
75602 #ifdef __cplusplus
75603 extern "C"
75605 #endif
75606 /* We use char because int might match the return type of a gcc2
75607 builtin and then its argument prototype would still apply. */
75608 char $ac_func ();
75609 /* The GNU C library defines this for functions which it implements
75610 to always fail with ENOSYS. Some functions are actually named
75611 something starting with __ and the normal name is an alias. */
75612 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75613 choke me
75614 #else
75615 char (*f) () = $ac_func;
75616 #endif
75617 #ifdef __cplusplus
75619 #endif
75622 main ()
75624 return f != $ac_func;
75626 return 0;
75628 _ACEOF
75629 rm -f conftest.$ac_objext conftest$ac_exeext
75630 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75631 (eval $ac_link) 2>conftest.er1
75632 ac_status=$?
75633 grep -v '^ *+' conftest.er1 >conftest.err
75634 rm -f conftest.er1
75635 cat conftest.err >&5
75636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75637 (exit $ac_status); } &&
75638 { ac_try='test -z "$ac_c_werror_flag"
75639 || test ! -s conftest.err'
75640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75641 (eval $ac_try) 2>&5
75642 ac_status=$?
75643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75644 (exit $ac_status); }; } &&
75645 { ac_try='test -s conftest$ac_exeext'
75646 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75647 (eval $ac_try) 2>&5
75648 ac_status=$?
75649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75650 (exit $ac_status); }; }; then
75651 eval "$as_ac_var=yes"
75652 else
75653 echo "$as_me: failed program was:" >&5
75654 sed 's/^/| /' conftest.$ac_ext >&5
75656 eval "$as_ac_var=no"
75658 rm -f conftest.err conftest.$ac_objext \
75659 conftest$ac_exeext conftest.$ac_ext
75661 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75662 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75663 if test `eval echo '${'$as_ac_var'}'` = yes; then
75664 cat >>confdefs.h <<_ACEOF
75665 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75666 _ACEOF
75669 done
75687 echo "$as_me:$LINENO: checking for long double round functions" >&5
75688 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
75689 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
75690 echo $ECHO_N "(cached) $ECHO_C" >&6
75691 else
75695 ac_ext=cc
75696 ac_cpp='$CXXCPP $CPPFLAGS'
75697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75701 cat >conftest.$ac_ext <<_ACEOF
75702 /* confdefs.h. */
75703 _ACEOF
75704 cat confdefs.h >>conftest.$ac_ext
75705 cat >>conftest.$ac_ext <<_ACEOF
75706 /* end confdefs.h. */
75707 #include <math.h>
75709 main ()
75711 ceill (0); floorl (0);
75713 return 0;
75715 _ACEOF
75716 rm -f conftest.$ac_objext
75717 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75718 (eval $ac_compile) 2>conftest.er1
75719 ac_status=$?
75720 grep -v '^ *+' conftest.er1 >conftest.err
75721 rm -f conftest.er1
75722 cat conftest.err >&5
75723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75724 (exit $ac_status); } &&
75725 { ac_try='test -z "$ac_cxx_werror_flag"
75726 || test ! -s conftest.err'
75727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75728 (eval $ac_try) 2>&5
75729 ac_status=$?
75730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75731 (exit $ac_status); }; } &&
75732 { ac_try='test -s conftest.$ac_objext'
75733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75734 (eval $ac_try) 2>&5
75735 ac_status=$?
75736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75737 (exit $ac_status); }; }; then
75738 glibcxx_cv_func_long_double_round_use=yes
75739 else
75740 echo "$as_me: failed program was:" >&5
75741 sed 's/^/| /' conftest.$ac_ext >&5
75743 glibcxx_cv_func_long_double_round_use=no
75745 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75746 ac_ext=c
75747 ac_cpp='$CPP $CPPFLAGS'
75748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75754 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
75755 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
75756 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75759 for ac_func in ceill floorl
75761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75762 echo "$as_me:$LINENO: checking for $ac_func" >&5
75763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75764 if eval "test \"\${$as_ac_var+set}\" = set"; then
75765 echo $ECHO_N "(cached) $ECHO_C" >&6
75766 else
75767 if test x$gcc_no_link = xyes; then
75768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75770 { (exit 1); exit 1; }; }
75772 cat >conftest.$ac_ext <<_ACEOF
75773 /* confdefs.h. */
75774 _ACEOF
75775 cat confdefs.h >>conftest.$ac_ext
75776 cat >>conftest.$ac_ext <<_ACEOF
75777 /* end confdefs.h. */
75778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75780 #define $ac_func innocuous_$ac_func
75782 /* System header to define __stub macros and hopefully few prototypes,
75783 which can conflict with char $ac_func (); below.
75784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75785 <limits.h> exists even on freestanding compilers. */
75787 #ifdef __STDC__
75788 # include <limits.h>
75789 #else
75790 # include <assert.h>
75791 #endif
75793 #undef $ac_func
75795 /* Override any gcc2 internal prototype to avoid an error. */
75796 #ifdef __cplusplus
75797 extern "C"
75799 #endif
75800 /* We use char because int might match the return type of a gcc2
75801 builtin and then its argument prototype would still apply. */
75802 char $ac_func ();
75803 /* The GNU C library defines this for functions which it implements
75804 to always fail with ENOSYS. Some functions are actually named
75805 something starting with __ and the normal name is an alias. */
75806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75807 choke me
75808 #else
75809 char (*f) () = $ac_func;
75810 #endif
75811 #ifdef __cplusplus
75813 #endif
75816 main ()
75818 return f != $ac_func;
75820 return 0;
75822 _ACEOF
75823 rm -f conftest.$ac_objext conftest$ac_exeext
75824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75825 (eval $ac_link) 2>conftest.er1
75826 ac_status=$?
75827 grep -v '^ *+' conftest.er1 >conftest.err
75828 rm -f conftest.er1
75829 cat conftest.err >&5
75830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75831 (exit $ac_status); } &&
75832 { ac_try='test -z "$ac_c_werror_flag"
75833 || test ! -s conftest.err'
75834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75835 (eval $ac_try) 2>&5
75836 ac_status=$?
75837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75838 (exit $ac_status); }; } &&
75839 { ac_try='test -s conftest$ac_exeext'
75840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75841 (eval $ac_try) 2>&5
75842 ac_status=$?
75843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75844 (exit $ac_status); }; }; then
75845 eval "$as_ac_var=yes"
75846 else
75847 echo "$as_me: failed program was:" >&5
75848 sed 's/^/| /' conftest.$ac_ext >&5
75850 eval "$as_ac_var=no"
75852 rm -f conftest.err conftest.$ac_objext \
75853 conftest$ac_exeext conftest.$ac_ext
75855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75857 if test `eval echo '${'$as_ac_var'}'` = yes; then
75858 cat >>confdefs.h <<_ACEOF
75859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75860 _ACEOF
75863 done
75865 else
75866 echo "$as_me:$LINENO: checking for _long double round functions" >&5
75867 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
75868 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
75869 echo $ECHO_N "(cached) $ECHO_C" >&6
75870 else
75874 ac_ext=cc
75875 ac_cpp='$CXXCPP $CPPFLAGS'
75876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75880 cat >conftest.$ac_ext <<_ACEOF
75881 /* confdefs.h. */
75882 _ACEOF
75883 cat confdefs.h >>conftest.$ac_ext
75884 cat >>conftest.$ac_ext <<_ACEOF
75885 /* end confdefs.h. */
75886 #include <math.h>
75888 main ()
75890 _ceill (0); _floorl (0);
75892 return 0;
75894 _ACEOF
75895 rm -f conftest.$ac_objext
75896 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75897 (eval $ac_compile) 2>conftest.er1
75898 ac_status=$?
75899 grep -v '^ *+' conftest.er1 >conftest.err
75900 rm -f conftest.er1
75901 cat conftest.err >&5
75902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75903 (exit $ac_status); } &&
75904 { ac_try='test -z "$ac_cxx_werror_flag"
75905 || test ! -s conftest.err'
75906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75907 (eval $ac_try) 2>&5
75908 ac_status=$?
75909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75910 (exit $ac_status); }; } &&
75911 { ac_try='test -s conftest.$ac_objext'
75912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75913 (eval $ac_try) 2>&5
75914 ac_status=$?
75915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75916 (exit $ac_status); }; }; then
75917 glibcxx_cv_func__long_double_round_use=yes
75918 else
75919 echo "$as_me: failed program was:" >&5
75920 sed 's/^/| /' conftest.$ac_ext >&5
75922 glibcxx_cv_func__long_double_round_use=no
75924 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75925 ac_ext=c
75926 ac_cpp='$CPP $CPPFLAGS'
75927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75933 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
75934 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
75935 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75938 for ac_func in _ceill _floorl
75940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75941 echo "$as_me:$LINENO: checking for $ac_func" >&5
75942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75943 if eval "test \"\${$as_ac_var+set}\" = set"; then
75944 echo $ECHO_N "(cached) $ECHO_C" >&6
75945 else
75946 if test x$gcc_no_link = xyes; then
75947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75949 { (exit 1); exit 1; }; }
75951 cat >conftest.$ac_ext <<_ACEOF
75952 /* confdefs.h. */
75953 _ACEOF
75954 cat confdefs.h >>conftest.$ac_ext
75955 cat >>conftest.$ac_ext <<_ACEOF
75956 /* end confdefs.h. */
75957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75959 #define $ac_func innocuous_$ac_func
75961 /* System header to define __stub macros and hopefully few prototypes,
75962 which can conflict with char $ac_func (); below.
75963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75964 <limits.h> exists even on freestanding compilers. */
75966 #ifdef __STDC__
75967 # include <limits.h>
75968 #else
75969 # include <assert.h>
75970 #endif
75972 #undef $ac_func
75974 /* Override any gcc2 internal prototype to avoid an error. */
75975 #ifdef __cplusplus
75976 extern "C"
75978 #endif
75979 /* We use char because int might match the return type of a gcc2
75980 builtin and then its argument prototype would still apply. */
75981 char $ac_func ();
75982 /* The GNU C library defines this for functions which it implements
75983 to always fail with ENOSYS. Some functions are actually named
75984 something starting with __ and the normal name is an alias. */
75985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75986 choke me
75987 #else
75988 char (*f) () = $ac_func;
75989 #endif
75990 #ifdef __cplusplus
75992 #endif
75995 main ()
75997 return f != $ac_func;
75999 return 0;
76001 _ACEOF
76002 rm -f conftest.$ac_objext conftest$ac_exeext
76003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76004 (eval $ac_link) 2>conftest.er1
76005 ac_status=$?
76006 grep -v '^ *+' conftest.er1 >conftest.err
76007 rm -f conftest.er1
76008 cat conftest.err >&5
76009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76010 (exit $ac_status); } &&
76011 { ac_try='test -z "$ac_c_werror_flag"
76012 || test ! -s conftest.err'
76013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76014 (eval $ac_try) 2>&5
76015 ac_status=$?
76016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76017 (exit $ac_status); }; } &&
76018 { ac_try='test -s conftest$ac_exeext'
76019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76020 (eval $ac_try) 2>&5
76021 ac_status=$?
76022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76023 (exit $ac_status); }; }; then
76024 eval "$as_ac_var=yes"
76025 else
76026 echo "$as_me: failed program was:" >&5
76027 sed 's/^/| /' conftest.$ac_ext >&5
76029 eval "$as_ac_var=no"
76031 rm -f conftest.err conftest.$ac_objext \
76032 conftest$ac_exeext conftest.$ac_ext
76034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76036 if test `eval echo '${'$as_ac_var'}'` = yes; then
76037 cat >>confdefs.h <<_ACEOF
76038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76039 _ACEOF
76042 done
76054 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
76055 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
76056 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76057 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
76058 echo $ECHO_N "(cached) $ECHO_C" >&6
76059 else
76063 ac_ext=cc
76064 ac_cpp='$CXXCPP $CPPFLAGS'
76065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76069 cat >conftest.$ac_ext <<_ACEOF
76070 /* confdefs.h. */
76071 _ACEOF
76072 cat confdefs.h >>conftest.$ac_ext
76073 cat >>conftest.$ac_ext <<_ACEOF
76074 /* end confdefs.h. */
76075 #include <math.h>
76076 #ifdef HAVE_IEEEFP_H
76077 #include <ieeefp.h>
76078 #endif
76081 main ()
76083 isnanl(0);
76085 return 0;
76087 _ACEOF
76088 rm -f conftest.$ac_objext
76089 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76090 (eval $ac_compile) 2>conftest.er1
76091 ac_status=$?
76092 grep -v '^ *+' conftest.er1 >conftest.err
76093 rm -f conftest.er1
76094 cat conftest.err >&5
76095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76096 (exit $ac_status); } &&
76097 { ac_try='test -z "$ac_cxx_werror_flag"
76098 || test ! -s conftest.err'
76099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76100 (eval $ac_try) 2>&5
76101 ac_status=$?
76102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76103 (exit $ac_status); }; } &&
76104 { ac_try='test -s conftest.$ac_objext'
76105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76106 (eval $ac_try) 2>&5
76107 ac_status=$?
76108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76109 (exit $ac_status); }; }; then
76110 glibcxx_cv_func_isnanl_use=yes
76111 else
76112 echo "$as_me: failed program was:" >&5
76113 sed 's/^/| /' conftest.$ac_ext >&5
76115 glibcxx_cv_func_isnanl_use=no
76117 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76118 ac_ext=c
76119 ac_cpp='$CPP $CPPFLAGS'
76120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76128 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
76129 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
76131 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76133 for ac_func in isnanl
76135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76136 echo "$as_me:$LINENO: checking for $ac_func" >&5
76137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76138 if eval "test \"\${$as_ac_var+set}\" = set"; then
76139 echo $ECHO_N "(cached) $ECHO_C" >&6
76140 else
76141 if test x$gcc_no_link = xyes; then
76142 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76143 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76144 { (exit 1); exit 1; }; }
76146 cat >conftest.$ac_ext <<_ACEOF
76147 /* confdefs.h. */
76148 _ACEOF
76149 cat confdefs.h >>conftest.$ac_ext
76150 cat >>conftest.$ac_ext <<_ACEOF
76151 /* end confdefs.h. */
76152 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76153 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76154 #define $ac_func innocuous_$ac_func
76156 /* System header to define __stub macros and hopefully few prototypes,
76157 which can conflict with char $ac_func (); below.
76158 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76159 <limits.h> exists even on freestanding compilers. */
76161 #ifdef __STDC__
76162 # include <limits.h>
76163 #else
76164 # include <assert.h>
76165 #endif
76167 #undef $ac_func
76169 /* Override any gcc2 internal prototype to avoid an error. */
76170 #ifdef __cplusplus
76171 extern "C"
76173 #endif
76174 /* We use char because int might match the return type of a gcc2
76175 builtin and then its argument prototype would still apply. */
76176 char $ac_func ();
76177 /* The GNU C library defines this for functions which it implements
76178 to always fail with ENOSYS. Some functions are actually named
76179 something starting with __ and the normal name is an alias. */
76180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76181 choke me
76182 #else
76183 char (*f) () = $ac_func;
76184 #endif
76185 #ifdef __cplusplus
76187 #endif
76190 main ()
76192 return f != $ac_func;
76194 return 0;
76196 _ACEOF
76197 rm -f conftest.$ac_objext conftest$ac_exeext
76198 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76199 (eval $ac_link) 2>conftest.er1
76200 ac_status=$?
76201 grep -v '^ *+' conftest.er1 >conftest.err
76202 rm -f conftest.er1
76203 cat conftest.err >&5
76204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76205 (exit $ac_status); } &&
76206 { ac_try='test -z "$ac_c_werror_flag"
76207 || test ! -s conftest.err'
76208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76209 (eval $ac_try) 2>&5
76210 ac_status=$?
76211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76212 (exit $ac_status); }; } &&
76213 { ac_try='test -s conftest$ac_exeext'
76214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76215 (eval $ac_try) 2>&5
76216 ac_status=$?
76217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76218 (exit $ac_status); }; }; then
76219 eval "$as_ac_var=yes"
76220 else
76221 echo "$as_me: failed program was:" >&5
76222 sed 's/^/| /' conftest.$ac_ext >&5
76224 eval "$as_ac_var=no"
76226 rm -f conftest.err conftest.$ac_objext \
76227 conftest$ac_exeext conftest.$ac_ext
76229 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76230 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76231 if test `eval echo '${'$as_ac_var'}'` = yes; then
76232 cat >>confdefs.h <<_ACEOF
76233 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76234 _ACEOF
76237 done
76239 else
76241 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
76242 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
76243 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76244 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
76245 echo $ECHO_N "(cached) $ECHO_C" >&6
76246 else
76250 ac_ext=cc
76251 ac_cpp='$CXXCPP $CPPFLAGS'
76252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76256 cat >conftest.$ac_ext <<_ACEOF
76257 /* confdefs.h. */
76258 _ACEOF
76259 cat confdefs.h >>conftest.$ac_ext
76260 cat >>conftest.$ac_ext <<_ACEOF
76261 /* end confdefs.h. */
76262 #include <math.h>
76263 #ifdef HAVE_IEEEFP_H
76264 #include <ieeefp.h>
76265 #endif
76268 main ()
76270 _isnanl(0);
76272 return 0;
76274 _ACEOF
76275 rm -f conftest.$ac_objext
76276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76277 (eval $ac_compile) 2>conftest.er1
76278 ac_status=$?
76279 grep -v '^ *+' conftest.er1 >conftest.err
76280 rm -f conftest.er1
76281 cat conftest.err >&5
76282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76283 (exit $ac_status); } &&
76284 { ac_try='test -z "$ac_cxx_werror_flag"
76285 || test ! -s conftest.err'
76286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76287 (eval $ac_try) 2>&5
76288 ac_status=$?
76289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76290 (exit $ac_status); }; } &&
76291 { ac_try='test -s conftest.$ac_objext'
76292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76293 (eval $ac_try) 2>&5
76294 ac_status=$?
76295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76296 (exit $ac_status); }; }; then
76297 glibcxx_cv_func__isnanl_use=yes
76298 else
76299 echo "$as_me: failed program was:" >&5
76300 sed 's/^/| /' conftest.$ac_ext >&5
76302 glibcxx_cv_func__isnanl_use=no
76304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76305 ac_ext=c
76306 ac_cpp='$CPP $CPPFLAGS'
76307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
76316 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
76318 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76320 for ac_func in _isnanl
76322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76323 echo "$as_me:$LINENO: checking for $ac_func" >&5
76324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76325 if eval "test \"\${$as_ac_var+set}\" = set"; then
76326 echo $ECHO_N "(cached) $ECHO_C" >&6
76327 else
76328 if test x$gcc_no_link = xyes; then
76329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76331 { (exit 1); exit 1; }; }
76333 cat >conftest.$ac_ext <<_ACEOF
76334 /* confdefs.h. */
76335 _ACEOF
76336 cat confdefs.h >>conftest.$ac_ext
76337 cat >>conftest.$ac_ext <<_ACEOF
76338 /* end confdefs.h. */
76339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76341 #define $ac_func innocuous_$ac_func
76343 /* System header to define __stub macros and hopefully few prototypes,
76344 which can conflict with char $ac_func (); below.
76345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76346 <limits.h> exists even on freestanding compilers. */
76348 #ifdef __STDC__
76349 # include <limits.h>
76350 #else
76351 # include <assert.h>
76352 #endif
76354 #undef $ac_func
76356 /* Override any gcc2 internal prototype to avoid an error. */
76357 #ifdef __cplusplus
76358 extern "C"
76360 #endif
76361 /* We use char because int might match the return type of a gcc2
76362 builtin and then its argument prototype would still apply. */
76363 char $ac_func ();
76364 /* The GNU C library defines this for functions which it implements
76365 to always fail with ENOSYS. Some functions are actually named
76366 something starting with __ and the normal name is an alias. */
76367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76368 choke me
76369 #else
76370 char (*f) () = $ac_func;
76371 #endif
76372 #ifdef __cplusplus
76374 #endif
76377 main ()
76379 return f != $ac_func;
76381 return 0;
76383 _ACEOF
76384 rm -f conftest.$ac_objext conftest$ac_exeext
76385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76386 (eval $ac_link) 2>conftest.er1
76387 ac_status=$?
76388 grep -v '^ *+' conftest.er1 >conftest.err
76389 rm -f conftest.er1
76390 cat conftest.err >&5
76391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76392 (exit $ac_status); } &&
76393 { ac_try='test -z "$ac_c_werror_flag"
76394 || test ! -s conftest.err'
76395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76396 (eval $ac_try) 2>&5
76397 ac_status=$?
76398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76399 (exit $ac_status); }; } &&
76400 { ac_try='test -s conftest$ac_exeext'
76401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76402 (eval $ac_try) 2>&5
76403 ac_status=$?
76404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76405 (exit $ac_status); }; }; then
76406 eval "$as_ac_var=yes"
76407 else
76408 echo "$as_me: failed program was:" >&5
76409 sed 's/^/| /' conftest.$ac_ext >&5
76411 eval "$as_ac_var=no"
76413 rm -f conftest.err conftest.$ac_objext \
76414 conftest$ac_exeext conftest.$ac_ext
76416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76418 if test `eval echo '${'$as_ac_var'}'` = yes; then
76419 cat >>confdefs.h <<_ACEOF
76420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76421 _ACEOF
76424 done
76434 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
76435 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
76436 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76437 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
76438 echo $ECHO_N "(cached) $ECHO_C" >&6
76439 else
76443 ac_ext=cc
76444 ac_cpp='$CXXCPP $CPPFLAGS'
76445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76449 cat >conftest.$ac_ext <<_ACEOF
76450 /* confdefs.h. */
76451 _ACEOF
76452 cat confdefs.h >>conftest.$ac_ext
76453 cat >>conftest.$ac_ext <<_ACEOF
76454 /* end confdefs.h. */
76455 #include <math.h>
76456 #ifdef HAVE_IEEEFP_H
76457 #include <ieeefp.h>
76458 #endif
76461 main ()
76463 isinfl(0);
76465 return 0;
76467 _ACEOF
76468 rm -f conftest.$ac_objext
76469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76470 (eval $ac_compile) 2>conftest.er1
76471 ac_status=$?
76472 grep -v '^ *+' conftest.er1 >conftest.err
76473 rm -f conftest.er1
76474 cat conftest.err >&5
76475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76476 (exit $ac_status); } &&
76477 { ac_try='test -z "$ac_cxx_werror_flag"
76478 || test ! -s conftest.err'
76479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76480 (eval $ac_try) 2>&5
76481 ac_status=$?
76482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76483 (exit $ac_status); }; } &&
76484 { ac_try='test -s conftest.$ac_objext'
76485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76486 (eval $ac_try) 2>&5
76487 ac_status=$?
76488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76489 (exit $ac_status); }; }; then
76490 glibcxx_cv_func_isinfl_use=yes
76491 else
76492 echo "$as_me: failed program was:" >&5
76493 sed 's/^/| /' conftest.$ac_ext >&5
76495 glibcxx_cv_func_isinfl_use=no
76497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76498 ac_ext=c
76499 ac_cpp='$CPP $CPPFLAGS'
76500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76508 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
76509 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
76511 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76513 for ac_func in isinfl
76515 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76516 echo "$as_me:$LINENO: checking for $ac_func" >&5
76517 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76518 if eval "test \"\${$as_ac_var+set}\" = set"; then
76519 echo $ECHO_N "(cached) $ECHO_C" >&6
76520 else
76521 if test x$gcc_no_link = xyes; then
76522 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76523 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76524 { (exit 1); exit 1; }; }
76526 cat >conftest.$ac_ext <<_ACEOF
76527 /* confdefs.h. */
76528 _ACEOF
76529 cat confdefs.h >>conftest.$ac_ext
76530 cat >>conftest.$ac_ext <<_ACEOF
76531 /* end confdefs.h. */
76532 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76533 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76534 #define $ac_func innocuous_$ac_func
76536 /* System header to define __stub macros and hopefully few prototypes,
76537 which can conflict with char $ac_func (); below.
76538 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76539 <limits.h> exists even on freestanding compilers. */
76541 #ifdef __STDC__
76542 # include <limits.h>
76543 #else
76544 # include <assert.h>
76545 #endif
76547 #undef $ac_func
76549 /* Override any gcc2 internal prototype to avoid an error. */
76550 #ifdef __cplusplus
76551 extern "C"
76553 #endif
76554 /* We use char because int might match the return type of a gcc2
76555 builtin and then its argument prototype would still apply. */
76556 char $ac_func ();
76557 /* The GNU C library defines this for functions which it implements
76558 to always fail with ENOSYS. Some functions are actually named
76559 something starting with __ and the normal name is an alias. */
76560 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76561 choke me
76562 #else
76563 char (*f) () = $ac_func;
76564 #endif
76565 #ifdef __cplusplus
76567 #endif
76570 main ()
76572 return f != $ac_func;
76574 return 0;
76576 _ACEOF
76577 rm -f conftest.$ac_objext conftest$ac_exeext
76578 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76579 (eval $ac_link) 2>conftest.er1
76580 ac_status=$?
76581 grep -v '^ *+' conftest.er1 >conftest.err
76582 rm -f conftest.er1
76583 cat conftest.err >&5
76584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76585 (exit $ac_status); } &&
76586 { ac_try='test -z "$ac_c_werror_flag"
76587 || test ! -s conftest.err'
76588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76589 (eval $ac_try) 2>&5
76590 ac_status=$?
76591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76592 (exit $ac_status); }; } &&
76593 { ac_try='test -s conftest$ac_exeext'
76594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76595 (eval $ac_try) 2>&5
76596 ac_status=$?
76597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76598 (exit $ac_status); }; }; then
76599 eval "$as_ac_var=yes"
76600 else
76601 echo "$as_me: failed program was:" >&5
76602 sed 's/^/| /' conftest.$ac_ext >&5
76604 eval "$as_ac_var=no"
76606 rm -f conftest.err conftest.$ac_objext \
76607 conftest$ac_exeext conftest.$ac_ext
76609 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76610 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76611 if test `eval echo '${'$as_ac_var'}'` = yes; then
76612 cat >>confdefs.h <<_ACEOF
76613 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76614 _ACEOF
76617 done
76619 else
76621 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
76622 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
76623 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76624 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
76625 echo $ECHO_N "(cached) $ECHO_C" >&6
76626 else
76630 ac_ext=cc
76631 ac_cpp='$CXXCPP $CPPFLAGS'
76632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76636 cat >conftest.$ac_ext <<_ACEOF
76637 /* confdefs.h. */
76638 _ACEOF
76639 cat confdefs.h >>conftest.$ac_ext
76640 cat >>conftest.$ac_ext <<_ACEOF
76641 /* end confdefs.h. */
76642 #include <math.h>
76643 #ifdef HAVE_IEEEFP_H
76644 #include <ieeefp.h>
76645 #endif
76648 main ()
76650 _isinfl(0);
76652 return 0;
76654 _ACEOF
76655 rm -f conftest.$ac_objext
76656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76657 (eval $ac_compile) 2>conftest.er1
76658 ac_status=$?
76659 grep -v '^ *+' conftest.er1 >conftest.err
76660 rm -f conftest.er1
76661 cat conftest.err >&5
76662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76663 (exit $ac_status); } &&
76664 { ac_try='test -z "$ac_cxx_werror_flag"
76665 || test ! -s conftest.err'
76666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76667 (eval $ac_try) 2>&5
76668 ac_status=$?
76669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76670 (exit $ac_status); }; } &&
76671 { ac_try='test -s conftest.$ac_objext'
76672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76673 (eval $ac_try) 2>&5
76674 ac_status=$?
76675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76676 (exit $ac_status); }; }; then
76677 glibcxx_cv_func__isinfl_use=yes
76678 else
76679 echo "$as_me: failed program was:" >&5
76680 sed 's/^/| /' conftest.$ac_ext >&5
76682 glibcxx_cv_func__isinfl_use=no
76684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76685 ac_ext=c
76686 ac_cpp='$CPP $CPPFLAGS'
76687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76695 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
76696 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
76698 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76700 for ac_func in _isinfl
76702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76703 echo "$as_me:$LINENO: checking for $ac_func" >&5
76704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76705 if eval "test \"\${$as_ac_var+set}\" = set"; then
76706 echo $ECHO_N "(cached) $ECHO_C" >&6
76707 else
76708 if test x$gcc_no_link = xyes; then
76709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76711 { (exit 1); exit 1; }; }
76713 cat >conftest.$ac_ext <<_ACEOF
76714 /* confdefs.h. */
76715 _ACEOF
76716 cat confdefs.h >>conftest.$ac_ext
76717 cat >>conftest.$ac_ext <<_ACEOF
76718 /* end confdefs.h. */
76719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76721 #define $ac_func innocuous_$ac_func
76723 /* System header to define __stub macros and hopefully few prototypes,
76724 which can conflict with char $ac_func (); below.
76725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76726 <limits.h> exists even on freestanding compilers. */
76728 #ifdef __STDC__
76729 # include <limits.h>
76730 #else
76731 # include <assert.h>
76732 #endif
76734 #undef $ac_func
76736 /* Override any gcc2 internal prototype to avoid an error. */
76737 #ifdef __cplusplus
76738 extern "C"
76740 #endif
76741 /* We use char because int might match the return type of a gcc2
76742 builtin and then its argument prototype would still apply. */
76743 char $ac_func ();
76744 /* The GNU C library defines this for functions which it implements
76745 to always fail with ENOSYS. Some functions are actually named
76746 something starting with __ and the normal name is an alias. */
76747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76748 choke me
76749 #else
76750 char (*f) () = $ac_func;
76751 #endif
76752 #ifdef __cplusplus
76754 #endif
76757 main ()
76759 return f != $ac_func;
76761 return 0;
76763 _ACEOF
76764 rm -f conftest.$ac_objext conftest$ac_exeext
76765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76766 (eval $ac_link) 2>conftest.er1
76767 ac_status=$?
76768 grep -v '^ *+' conftest.er1 >conftest.err
76769 rm -f conftest.er1
76770 cat conftest.err >&5
76771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76772 (exit $ac_status); } &&
76773 { ac_try='test -z "$ac_c_werror_flag"
76774 || test ! -s conftest.err'
76775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76776 (eval $ac_try) 2>&5
76777 ac_status=$?
76778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76779 (exit $ac_status); }; } &&
76780 { ac_try='test -s conftest$ac_exeext'
76781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76782 (eval $ac_try) 2>&5
76783 ac_status=$?
76784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76785 (exit $ac_status); }; }; then
76786 eval "$as_ac_var=yes"
76787 else
76788 echo "$as_me: failed program was:" >&5
76789 sed 's/^/| /' conftest.$ac_ext >&5
76791 eval "$as_ac_var=no"
76793 rm -f conftest.err conftest.$ac_objext \
76794 conftest$ac_exeext conftest.$ac_ext
76796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76798 if test `eval echo '${'$as_ac_var'}'` = yes; then
76799 cat >>confdefs.h <<_ACEOF
76800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76801 _ACEOF
76804 done
76814 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
76815 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
76816 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
76817 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
76818 echo $ECHO_N "(cached) $ECHO_C" >&6
76819 else
76823 ac_ext=cc
76824 ac_cpp='$CXXCPP $CPPFLAGS'
76825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76829 cat >conftest.$ac_ext <<_ACEOF
76830 /* confdefs.h. */
76831 _ACEOF
76832 cat confdefs.h >>conftest.$ac_ext
76833 cat >>conftest.$ac_ext <<_ACEOF
76834 /* end confdefs.h. */
76835 #include <math.h>
76837 main ()
76839 copysignl(0, 0);
76841 return 0;
76843 _ACEOF
76844 rm -f conftest.$ac_objext
76845 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76846 (eval $ac_compile) 2>conftest.er1
76847 ac_status=$?
76848 grep -v '^ *+' conftest.er1 >conftest.err
76849 rm -f conftest.er1
76850 cat conftest.err >&5
76851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76852 (exit $ac_status); } &&
76853 { ac_try='test -z "$ac_cxx_werror_flag"
76854 || test ! -s conftest.err'
76855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76856 (eval $ac_try) 2>&5
76857 ac_status=$?
76858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76859 (exit $ac_status); }; } &&
76860 { ac_try='test -s conftest.$ac_objext'
76861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76862 (eval $ac_try) 2>&5
76863 ac_status=$?
76864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76865 (exit $ac_status); }; }; then
76866 glibcxx_cv_func_copysignl_use=yes
76867 else
76868 echo "$as_me: failed program was:" >&5
76869 sed 's/^/| /' conftest.$ac_ext >&5
76871 glibcxx_cv_func_copysignl_use=no
76873 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76874 ac_ext=c
76875 ac_cpp='$CPP $CPPFLAGS'
76876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76884 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
76885 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
76887 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
76889 for ac_func in copysignl
76891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76892 echo "$as_me:$LINENO: checking for $ac_func" >&5
76893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76894 if eval "test \"\${$as_ac_var+set}\" = set"; then
76895 echo $ECHO_N "(cached) $ECHO_C" >&6
76896 else
76897 if test x$gcc_no_link = xyes; then
76898 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76899 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76900 { (exit 1); exit 1; }; }
76902 cat >conftest.$ac_ext <<_ACEOF
76903 /* confdefs.h. */
76904 _ACEOF
76905 cat confdefs.h >>conftest.$ac_ext
76906 cat >>conftest.$ac_ext <<_ACEOF
76907 /* end confdefs.h. */
76908 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76909 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76910 #define $ac_func innocuous_$ac_func
76912 /* System header to define __stub macros and hopefully few prototypes,
76913 which can conflict with char $ac_func (); below.
76914 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76915 <limits.h> exists even on freestanding compilers. */
76917 #ifdef __STDC__
76918 # include <limits.h>
76919 #else
76920 # include <assert.h>
76921 #endif
76923 #undef $ac_func
76925 /* Override any gcc2 internal prototype to avoid an error. */
76926 #ifdef __cplusplus
76927 extern "C"
76929 #endif
76930 /* We use char because int might match the return type of a gcc2
76931 builtin and then its argument prototype would still apply. */
76932 char $ac_func ();
76933 /* The GNU C library defines this for functions which it implements
76934 to always fail with ENOSYS. Some functions are actually named
76935 something starting with __ and the normal name is an alias. */
76936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76937 choke me
76938 #else
76939 char (*f) () = $ac_func;
76940 #endif
76941 #ifdef __cplusplus
76943 #endif
76946 main ()
76948 return f != $ac_func;
76950 return 0;
76952 _ACEOF
76953 rm -f conftest.$ac_objext conftest$ac_exeext
76954 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76955 (eval $ac_link) 2>conftest.er1
76956 ac_status=$?
76957 grep -v '^ *+' conftest.er1 >conftest.err
76958 rm -f conftest.er1
76959 cat conftest.err >&5
76960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76961 (exit $ac_status); } &&
76962 { ac_try='test -z "$ac_c_werror_flag"
76963 || test ! -s conftest.err'
76964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76965 (eval $ac_try) 2>&5
76966 ac_status=$?
76967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76968 (exit $ac_status); }; } &&
76969 { ac_try='test -s conftest$ac_exeext'
76970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76971 (eval $ac_try) 2>&5
76972 ac_status=$?
76973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76974 (exit $ac_status); }; }; then
76975 eval "$as_ac_var=yes"
76976 else
76977 echo "$as_me: failed program was:" >&5
76978 sed 's/^/| /' conftest.$ac_ext >&5
76980 eval "$as_ac_var=no"
76982 rm -f conftest.err conftest.$ac_objext \
76983 conftest$ac_exeext conftest.$ac_ext
76985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76986 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76987 if test `eval echo '${'$as_ac_var'}'` = yes; then
76988 cat >>confdefs.h <<_ACEOF
76989 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76990 _ACEOF
76993 done
76995 else
76997 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
76998 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
76999 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
77000 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
77001 echo $ECHO_N "(cached) $ECHO_C" >&6
77002 else
77006 ac_ext=cc
77007 ac_cpp='$CXXCPP $CPPFLAGS'
77008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77012 cat >conftest.$ac_ext <<_ACEOF
77013 /* confdefs.h. */
77014 _ACEOF
77015 cat confdefs.h >>conftest.$ac_ext
77016 cat >>conftest.$ac_ext <<_ACEOF
77017 /* end confdefs.h. */
77018 #include <math.h>
77020 main ()
77022 _copysignl(0, 0);
77024 return 0;
77026 _ACEOF
77027 rm -f conftest.$ac_objext
77028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77029 (eval $ac_compile) 2>conftest.er1
77030 ac_status=$?
77031 grep -v '^ *+' conftest.er1 >conftest.err
77032 rm -f conftest.er1
77033 cat conftest.err >&5
77034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77035 (exit $ac_status); } &&
77036 { ac_try='test -z "$ac_cxx_werror_flag"
77037 || test ! -s conftest.err'
77038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77039 (eval $ac_try) 2>&5
77040 ac_status=$?
77041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77042 (exit $ac_status); }; } &&
77043 { ac_try='test -s conftest.$ac_objext'
77044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77045 (eval $ac_try) 2>&5
77046 ac_status=$?
77047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77048 (exit $ac_status); }; }; then
77049 glibcxx_cv_func__copysignl_use=yes
77050 else
77051 echo "$as_me: failed program was:" >&5
77052 sed 's/^/| /' conftest.$ac_ext >&5
77054 glibcxx_cv_func__copysignl_use=no
77056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77057 ac_ext=c
77058 ac_cpp='$CPP $CPPFLAGS'
77059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
77068 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
77070 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
77072 for ac_func in _copysignl
77074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77075 echo "$as_me:$LINENO: checking for $ac_func" >&5
77076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77077 if eval "test \"\${$as_ac_var+set}\" = set"; then
77078 echo $ECHO_N "(cached) $ECHO_C" >&6
77079 else
77080 if test x$gcc_no_link = xyes; then
77081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77083 { (exit 1); exit 1; }; }
77085 cat >conftest.$ac_ext <<_ACEOF
77086 /* confdefs.h. */
77087 _ACEOF
77088 cat confdefs.h >>conftest.$ac_ext
77089 cat >>conftest.$ac_ext <<_ACEOF
77090 /* end confdefs.h. */
77091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77093 #define $ac_func innocuous_$ac_func
77095 /* System header to define __stub macros and hopefully few prototypes,
77096 which can conflict with char $ac_func (); below.
77097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77098 <limits.h> exists even on freestanding compilers. */
77100 #ifdef __STDC__
77101 # include <limits.h>
77102 #else
77103 # include <assert.h>
77104 #endif
77106 #undef $ac_func
77108 /* Override any gcc2 internal prototype to avoid an error. */
77109 #ifdef __cplusplus
77110 extern "C"
77112 #endif
77113 /* We use char because int might match the return type of a gcc2
77114 builtin and then its argument prototype would still apply. */
77115 char $ac_func ();
77116 /* The GNU C library defines this for functions which it implements
77117 to always fail with ENOSYS. Some functions are actually named
77118 something starting with __ and the normal name is an alias. */
77119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77120 choke me
77121 #else
77122 char (*f) () = $ac_func;
77123 #endif
77124 #ifdef __cplusplus
77126 #endif
77129 main ()
77131 return f != $ac_func;
77133 return 0;
77135 _ACEOF
77136 rm -f conftest.$ac_objext conftest$ac_exeext
77137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77138 (eval $ac_link) 2>conftest.er1
77139 ac_status=$?
77140 grep -v '^ *+' conftest.er1 >conftest.err
77141 rm -f conftest.er1
77142 cat conftest.err >&5
77143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77144 (exit $ac_status); } &&
77145 { ac_try='test -z "$ac_c_werror_flag"
77146 || test ! -s conftest.err'
77147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77148 (eval $ac_try) 2>&5
77149 ac_status=$?
77150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77151 (exit $ac_status); }; } &&
77152 { ac_try='test -s conftest$ac_exeext'
77153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77154 (eval $ac_try) 2>&5
77155 ac_status=$?
77156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77157 (exit $ac_status); }; }; then
77158 eval "$as_ac_var=yes"
77159 else
77160 echo "$as_me: failed program was:" >&5
77161 sed 's/^/| /' conftest.$ac_ext >&5
77163 eval "$as_ac_var=no"
77165 rm -f conftest.err conftest.$ac_objext \
77166 conftest$ac_exeext conftest.$ac_ext
77168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77170 if test `eval echo '${'$as_ac_var'}'` = yes; then
77171 cat >>confdefs.h <<_ACEOF
77172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77173 _ACEOF
77176 done
77186 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
77187 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
77188 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
77189 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
77190 echo $ECHO_N "(cached) $ECHO_C" >&6
77191 else
77195 ac_ext=cc
77196 ac_cpp='$CXXCPP $CPPFLAGS'
77197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77201 cat >conftest.$ac_ext <<_ACEOF
77202 /* confdefs.h. */
77203 _ACEOF
77204 cat confdefs.h >>conftest.$ac_ext
77205 cat >>conftest.$ac_ext <<_ACEOF
77206 /* end confdefs.h. */
77207 #include <math.h>
77209 main ()
77211 atan2l(0, 0);
77213 return 0;
77215 _ACEOF
77216 rm -f conftest.$ac_objext
77217 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77218 (eval $ac_compile) 2>conftest.er1
77219 ac_status=$?
77220 grep -v '^ *+' conftest.er1 >conftest.err
77221 rm -f conftest.er1
77222 cat conftest.err >&5
77223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77224 (exit $ac_status); } &&
77225 { ac_try='test -z "$ac_cxx_werror_flag"
77226 || test ! -s conftest.err'
77227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77228 (eval $ac_try) 2>&5
77229 ac_status=$?
77230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77231 (exit $ac_status); }; } &&
77232 { ac_try='test -s conftest.$ac_objext'
77233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77234 (eval $ac_try) 2>&5
77235 ac_status=$?
77236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77237 (exit $ac_status); }; }; then
77238 glibcxx_cv_func_atan2l_use=yes
77239 else
77240 echo "$as_me: failed program was:" >&5
77241 sed 's/^/| /' conftest.$ac_ext >&5
77243 glibcxx_cv_func_atan2l_use=no
77245 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77246 ac_ext=c
77247 ac_cpp='$CPP $CPPFLAGS'
77248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77256 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
77257 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
77259 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
77261 for ac_func in atan2l
77263 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77264 echo "$as_me:$LINENO: checking for $ac_func" >&5
77265 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77266 if eval "test \"\${$as_ac_var+set}\" = set"; then
77267 echo $ECHO_N "(cached) $ECHO_C" >&6
77268 else
77269 if test x$gcc_no_link = xyes; then
77270 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77271 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77272 { (exit 1); exit 1; }; }
77274 cat >conftest.$ac_ext <<_ACEOF
77275 /* confdefs.h. */
77276 _ACEOF
77277 cat confdefs.h >>conftest.$ac_ext
77278 cat >>conftest.$ac_ext <<_ACEOF
77279 /* end confdefs.h. */
77280 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77281 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77282 #define $ac_func innocuous_$ac_func
77284 /* System header to define __stub macros and hopefully few prototypes,
77285 which can conflict with char $ac_func (); below.
77286 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77287 <limits.h> exists even on freestanding compilers. */
77289 #ifdef __STDC__
77290 # include <limits.h>
77291 #else
77292 # include <assert.h>
77293 #endif
77295 #undef $ac_func
77297 /* Override any gcc2 internal prototype to avoid an error. */
77298 #ifdef __cplusplus
77299 extern "C"
77301 #endif
77302 /* We use char because int might match the return type of a gcc2
77303 builtin and then its argument prototype would still apply. */
77304 char $ac_func ();
77305 /* The GNU C library defines this for functions which it implements
77306 to always fail with ENOSYS. Some functions are actually named
77307 something starting with __ and the normal name is an alias. */
77308 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77309 choke me
77310 #else
77311 char (*f) () = $ac_func;
77312 #endif
77313 #ifdef __cplusplus
77315 #endif
77318 main ()
77320 return f != $ac_func;
77322 return 0;
77324 _ACEOF
77325 rm -f conftest.$ac_objext conftest$ac_exeext
77326 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77327 (eval $ac_link) 2>conftest.er1
77328 ac_status=$?
77329 grep -v '^ *+' conftest.er1 >conftest.err
77330 rm -f conftest.er1
77331 cat conftest.err >&5
77332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77333 (exit $ac_status); } &&
77334 { ac_try='test -z "$ac_c_werror_flag"
77335 || test ! -s conftest.err'
77336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77337 (eval $ac_try) 2>&5
77338 ac_status=$?
77339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77340 (exit $ac_status); }; } &&
77341 { ac_try='test -s conftest$ac_exeext'
77342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77343 (eval $ac_try) 2>&5
77344 ac_status=$?
77345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77346 (exit $ac_status); }; }; then
77347 eval "$as_ac_var=yes"
77348 else
77349 echo "$as_me: failed program was:" >&5
77350 sed 's/^/| /' conftest.$ac_ext >&5
77352 eval "$as_ac_var=no"
77354 rm -f conftest.err conftest.$ac_objext \
77355 conftest$ac_exeext conftest.$ac_ext
77357 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77358 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77359 if test `eval echo '${'$as_ac_var'}'` = yes; then
77360 cat >>confdefs.h <<_ACEOF
77361 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77362 _ACEOF
77365 done
77367 else
77369 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
77370 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
77371 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
77372 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
77373 echo $ECHO_N "(cached) $ECHO_C" >&6
77374 else
77378 ac_ext=cc
77379 ac_cpp='$CXXCPP $CPPFLAGS'
77380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77384 cat >conftest.$ac_ext <<_ACEOF
77385 /* confdefs.h. */
77386 _ACEOF
77387 cat confdefs.h >>conftest.$ac_ext
77388 cat >>conftest.$ac_ext <<_ACEOF
77389 /* end confdefs.h. */
77390 #include <math.h>
77392 main ()
77394 _atan2l(0, 0);
77396 return 0;
77398 _ACEOF
77399 rm -f conftest.$ac_objext
77400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77401 (eval $ac_compile) 2>conftest.er1
77402 ac_status=$?
77403 grep -v '^ *+' conftest.er1 >conftest.err
77404 rm -f conftest.er1
77405 cat conftest.err >&5
77406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77407 (exit $ac_status); } &&
77408 { ac_try='test -z "$ac_cxx_werror_flag"
77409 || test ! -s conftest.err'
77410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77411 (eval $ac_try) 2>&5
77412 ac_status=$?
77413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77414 (exit $ac_status); }; } &&
77415 { ac_try='test -s conftest.$ac_objext'
77416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77417 (eval $ac_try) 2>&5
77418 ac_status=$?
77419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77420 (exit $ac_status); }; }; then
77421 glibcxx_cv_func__atan2l_use=yes
77422 else
77423 echo "$as_me: failed program was:" >&5
77424 sed 's/^/| /' conftest.$ac_ext >&5
77426 glibcxx_cv_func__atan2l_use=no
77428 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77429 ac_ext=c
77430 ac_cpp='$CPP $CPPFLAGS'
77431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77439 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
77440 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
77442 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
77444 for ac_func in _atan2l
77446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77447 echo "$as_me:$LINENO: checking for $ac_func" >&5
77448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77449 if eval "test \"\${$as_ac_var+set}\" = set"; then
77450 echo $ECHO_N "(cached) $ECHO_C" >&6
77451 else
77452 if test x$gcc_no_link = xyes; then
77453 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77454 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77455 { (exit 1); exit 1; }; }
77457 cat >conftest.$ac_ext <<_ACEOF
77458 /* confdefs.h. */
77459 _ACEOF
77460 cat confdefs.h >>conftest.$ac_ext
77461 cat >>conftest.$ac_ext <<_ACEOF
77462 /* end confdefs.h. */
77463 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77464 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77465 #define $ac_func innocuous_$ac_func
77467 /* System header to define __stub macros and hopefully few prototypes,
77468 which can conflict with char $ac_func (); below.
77469 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77470 <limits.h> exists even on freestanding compilers. */
77472 #ifdef __STDC__
77473 # include <limits.h>
77474 #else
77475 # include <assert.h>
77476 #endif
77478 #undef $ac_func
77480 /* Override any gcc2 internal prototype to avoid an error. */
77481 #ifdef __cplusplus
77482 extern "C"
77484 #endif
77485 /* We use char because int might match the return type of a gcc2
77486 builtin and then its argument prototype would still apply. */
77487 char $ac_func ();
77488 /* The GNU C library defines this for functions which it implements
77489 to always fail with ENOSYS. Some functions are actually named
77490 something starting with __ and the normal name is an alias. */
77491 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77492 choke me
77493 #else
77494 char (*f) () = $ac_func;
77495 #endif
77496 #ifdef __cplusplus
77498 #endif
77501 main ()
77503 return f != $ac_func;
77505 return 0;
77507 _ACEOF
77508 rm -f conftest.$ac_objext conftest$ac_exeext
77509 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77510 (eval $ac_link) 2>conftest.er1
77511 ac_status=$?
77512 grep -v '^ *+' conftest.er1 >conftest.err
77513 rm -f conftest.er1
77514 cat conftest.err >&5
77515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77516 (exit $ac_status); } &&
77517 { ac_try='test -z "$ac_c_werror_flag"
77518 || test ! -s conftest.err'
77519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77520 (eval $ac_try) 2>&5
77521 ac_status=$?
77522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77523 (exit $ac_status); }; } &&
77524 { ac_try='test -s conftest$ac_exeext'
77525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77526 (eval $ac_try) 2>&5
77527 ac_status=$?
77528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77529 (exit $ac_status); }; }; then
77530 eval "$as_ac_var=yes"
77531 else
77532 echo "$as_me: failed program was:" >&5
77533 sed 's/^/| /' conftest.$ac_ext >&5
77535 eval "$as_ac_var=no"
77537 rm -f conftest.err conftest.$ac_objext \
77538 conftest$ac_exeext conftest.$ac_ext
77540 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77541 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77542 if test `eval echo '${'$as_ac_var'}'` = yes; then
77543 cat >>confdefs.h <<_ACEOF
77544 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77545 _ACEOF
77548 done
77558 echo "$as_me:$LINENO: checking for expl declaration" >&5
77559 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
77560 if test x${glibcxx_cv_func_expl_use+set} != xset; then
77561 if test "${glibcxx_cv_func_expl_use+set}" = set; then
77562 echo $ECHO_N "(cached) $ECHO_C" >&6
77563 else
77567 ac_ext=cc
77568 ac_cpp='$CXXCPP $CPPFLAGS'
77569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77573 cat >conftest.$ac_ext <<_ACEOF
77574 /* confdefs.h. */
77575 _ACEOF
77576 cat confdefs.h >>conftest.$ac_ext
77577 cat >>conftest.$ac_ext <<_ACEOF
77578 /* end confdefs.h. */
77579 #include <math.h>
77580 #ifdef HAVE_IEEEFP_H
77581 #include <ieeefp.h>
77582 #endif
77585 main ()
77587 expl(0);
77589 return 0;
77591 _ACEOF
77592 rm -f conftest.$ac_objext
77593 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77594 (eval $ac_compile) 2>conftest.er1
77595 ac_status=$?
77596 grep -v '^ *+' conftest.er1 >conftest.err
77597 rm -f conftest.er1
77598 cat conftest.err >&5
77599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77600 (exit $ac_status); } &&
77601 { ac_try='test -z "$ac_cxx_werror_flag"
77602 || test ! -s conftest.err'
77603 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77604 (eval $ac_try) 2>&5
77605 ac_status=$?
77606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77607 (exit $ac_status); }; } &&
77608 { ac_try='test -s conftest.$ac_objext'
77609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77610 (eval $ac_try) 2>&5
77611 ac_status=$?
77612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77613 (exit $ac_status); }; }; then
77614 glibcxx_cv_func_expl_use=yes
77615 else
77616 echo "$as_me: failed program was:" >&5
77617 sed 's/^/| /' conftest.$ac_ext >&5
77619 glibcxx_cv_func_expl_use=no
77621 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77622 ac_ext=c
77623 ac_cpp='$CPP $CPPFLAGS'
77624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77632 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
77633 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
77635 if test x$glibcxx_cv_func_expl_use = x"yes"; then
77637 for ac_func in expl
77639 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77640 echo "$as_me:$LINENO: checking for $ac_func" >&5
77641 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77642 if eval "test \"\${$as_ac_var+set}\" = set"; then
77643 echo $ECHO_N "(cached) $ECHO_C" >&6
77644 else
77645 if test x$gcc_no_link = xyes; then
77646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77648 { (exit 1); exit 1; }; }
77650 cat >conftest.$ac_ext <<_ACEOF
77651 /* confdefs.h. */
77652 _ACEOF
77653 cat confdefs.h >>conftest.$ac_ext
77654 cat >>conftest.$ac_ext <<_ACEOF
77655 /* end confdefs.h. */
77656 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77657 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77658 #define $ac_func innocuous_$ac_func
77660 /* System header to define __stub macros and hopefully few prototypes,
77661 which can conflict with char $ac_func (); below.
77662 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77663 <limits.h> exists even on freestanding compilers. */
77665 #ifdef __STDC__
77666 # include <limits.h>
77667 #else
77668 # include <assert.h>
77669 #endif
77671 #undef $ac_func
77673 /* Override any gcc2 internal prototype to avoid an error. */
77674 #ifdef __cplusplus
77675 extern "C"
77677 #endif
77678 /* We use char because int might match the return type of a gcc2
77679 builtin and then its argument prototype would still apply. */
77680 char $ac_func ();
77681 /* The GNU C library defines this for functions which it implements
77682 to always fail with ENOSYS. Some functions are actually named
77683 something starting with __ and the normal name is an alias. */
77684 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77685 choke me
77686 #else
77687 char (*f) () = $ac_func;
77688 #endif
77689 #ifdef __cplusplus
77691 #endif
77694 main ()
77696 return f != $ac_func;
77698 return 0;
77700 _ACEOF
77701 rm -f conftest.$ac_objext conftest$ac_exeext
77702 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77703 (eval $ac_link) 2>conftest.er1
77704 ac_status=$?
77705 grep -v '^ *+' conftest.er1 >conftest.err
77706 rm -f conftest.er1
77707 cat conftest.err >&5
77708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77709 (exit $ac_status); } &&
77710 { ac_try='test -z "$ac_c_werror_flag"
77711 || test ! -s conftest.err'
77712 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77713 (eval $ac_try) 2>&5
77714 ac_status=$?
77715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77716 (exit $ac_status); }; } &&
77717 { ac_try='test -s conftest$ac_exeext'
77718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77719 (eval $ac_try) 2>&5
77720 ac_status=$?
77721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77722 (exit $ac_status); }; }; then
77723 eval "$as_ac_var=yes"
77724 else
77725 echo "$as_me: failed program was:" >&5
77726 sed 's/^/| /' conftest.$ac_ext >&5
77728 eval "$as_ac_var=no"
77730 rm -f conftest.err conftest.$ac_objext \
77731 conftest$ac_exeext conftest.$ac_ext
77733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77734 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77735 if test `eval echo '${'$as_ac_var'}'` = yes; then
77736 cat >>confdefs.h <<_ACEOF
77737 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77738 _ACEOF
77741 done
77743 else
77745 echo "$as_me:$LINENO: checking for _expl declaration" >&5
77746 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
77747 if test x${glibcxx_cv_func__expl_use+set} != xset; then
77748 if test "${glibcxx_cv_func__expl_use+set}" = set; then
77749 echo $ECHO_N "(cached) $ECHO_C" >&6
77750 else
77754 ac_ext=cc
77755 ac_cpp='$CXXCPP $CPPFLAGS'
77756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77760 cat >conftest.$ac_ext <<_ACEOF
77761 /* confdefs.h. */
77762 _ACEOF
77763 cat confdefs.h >>conftest.$ac_ext
77764 cat >>conftest.$ac_ext <<_ACEOF
77765 /* end confdefs.h. */
77766 #include <math.h>
77767 #ifdef HAVE_IEEEFP_H
77768 #include <ieeefp.h>
77769 #endif
77772 main ()
77774 _expl(0);
77776 return 0;
77778 _ACEOF
77779 rm -f conftest.$ac_objext
77780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77781 (eval $ac_compile) 2>conftest.er1
77782 ac_status=$?
77783 grep -v '^ *+' conftest.er1 >conftest.err
77784 rm -f conftest.er1
77785 cat conftest.err >&5
77786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77787 (exit $ac_status); } &&
77788 { ac_try='test -z "$ac_cxx_werror_flag"
77789 || test ! -s conftest.err'
77790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77791 (eval $ac_try) 2>&5
77792 ac_status=$?
77793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77794 (exit $ac_status); }; } &&
77795 { ac_try='test -s conftest.$ac_objext'
77796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77797 (eval $ac_try) 2>&5
77798 ac_status=$?
77799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77800 (exit $ac_status); }; }; then
77801 glibcxx_cv_func__expl_use=yes
77802 else
77803 echo "$as_me: failed program was:" >&5
77804 sed 's/^/| /' conftest.$ac_ext >&5
77806 glibcxx_cv_func__expl_use=no
77808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77809 ac_ext=c
77810 ac_cpp='$CPP $CPPFLAGS'
77811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
77820 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
77822 if test x$glibcxx_cv_func__expl_use = x"yes"; then
77824 for ac_func in _expl
77826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77827 echo "$as_me:$LINENO: checking for $ac_func" >&5
77828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77829 if eval "test \"\${$as_ac_var+set}\" = set"; then
77830 echo $ECHO_N "(cached) $ECHO_C" >&6
77831 else
77832 if test x$gcc_no_link = xyes; then
77833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77835 { (exit 1); exit 1; }; }
77837 cat >conftest.$ac_ext <<_ACEOF
77838 /* confdefs.h. */
77839 _ACEOF
77840 cat confdefs.h >>conftest.$ac_ext
77841 cat >>conftest.$ac_ext <<_ACEOF
77842 /* end confdefs.h. */
77843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77845 #define $ac_func innocuous_$ac_func
77847 /* System header to define __stub macros and hopefully few prototypes,
77848 which can conflict with char $ac_func (); below.
77849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77850 <limits.h> exists even on freestanding compilers. */
77852 #ifdef __STDC__
77853 # include <limits.h>
77854 #else
77855 # include <assert.h>
77856 #endif
77858 #undef $ac_func
77860 /* Override any gcc2 internal prototype to avoid an error. */
77861 #ifdef __cplusplus
77862 extern "C"
77864 #endif
77865 /* We use char because int might match the return type of a gcc2
77866 builtin and then its argument prototype would still apply. */
77867 char $ac_func ();
77868 /* The GNU C library defines this for functions which it implements
77869 to always fail with ENOSYS. Some functions are actually named
77870 something starting with __ and the normal name is an alias. */
77871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77872 choke me
77873 #else
77874 char (*f) () = $ac_func;
77875 #endif
77876 #ifdef __cplusplus
77878 #endif
77881 main ()
77883 return f != $ac_func;
77885 return 0;
77887 _ACEOF
77888 rm -f conftest.$ac_objext conftest$ac_exeext
77889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77890 (eval $ac_link) 2>conftest.er1
77891 ac_status=$?
77892 grep -v '^ *+' conftest.er1 >conftest.err
77893 rm -f conftest.er1
77894 cat conftest.err >&5
77895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77896 (exit $ac_status); } &&
77897 { ac_try='test -z "$ac_c_werror_flag"
77898 || test ! -s conftest.err'
77899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77900 (eval $ac_try) 2>&5
77901 ac_status=$?
77902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77903 (exit $ac_status); }; } &&
77904 { ac_try='test -s conftest$ac_exeext'
77905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77906 (eval $ac_try) 2>&5
77907 ac_status=$?
77908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77909 (exit $ac_status); }; }; then
77910 eval "$as_ac_var=yes"
77911 else
77912 echo "$as_me: failed program was:" >&5
77913 sed 's/^/| /' conftest.$ac_ext >&5
77915 eval "$as_ac_var=no"
77917 rm -f conftest.err conftest.$ac_objext \
77918 conftest$ac_exeext conftest.$ac_ext
77920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
77921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
77922 if test `eval echo '${'$as_ac_var'}'` = yes; then
77923 cat >>confdefs.h <<_ACEOF
77924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
77925 _ACEOF
77928 done
77938 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
77939 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
77940 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
77941 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
77942 echo $ECHO_N "(cached) $ECHO_C" >&6
77943 else
77947 ac_ext=cc
77948 ac_cpp='$CXXCPP $CPPFLAGS'
77949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77953 cat >conftest.$ac_ext <<_ACEOF
77954 /* confdefs.h. */
77955 _ACEOF
77956 cat confdefs.h >>conftest.$ac_ext
77957 cat >>conftest.$ac_ext <<_ACEOF
77958 /* end confdefs.h. */
77959 #include <math.h>
77960 #ifdef HAVE_IEEEFP_H
77961 #include <ieeefp.h>
77962 #endif
77965 main ()
77967 fabsl(0);
77969 return 0;
77971 _ACEOF
77972 rm -f conftest.$ac_objext
77973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77974 (eval $ac_compile) 2>conftest.er1
77975 ac_status=$?
77976 grep -v '^ *+' conftest.er1 >conftest.err
77977 rm -f conftest.er1
77978 cat conftest.err >&5
77979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77980 (exit $ac_status); } &&
77981 { ac_try='test -z "$ac_cxx_werror_flag"
77982 || test ! -s conftest.err'
77983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77984 (eval $ac_try) 2>&5
77985 ac_status=$?
77986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77987 (exit $ac_status); }; } &&
77988 { ac_try='test -s conftest.$ac_objext'
77989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77990 (eval $ac_try) 2>&5
77991 ac_status=$?
77992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77993 (exit $ac_status); }; }; then
77994 glibcxx_cv_func_fabsl_use=yes
77995 else
77996 echo "$as_me: failed program was:" >&5
77997 sed 's/^/| /' conftest.$ac_ext >&5
77999 glibcxx_cv_func_fabsl_use=no
78001 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78002 ac_ext=c
78003 ac_cpp='$CPP $CPPFLAGS'
78004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78012 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
78013 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
78015 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
78017 for ac_func in fabsl
78019 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78020 echo "$as_me:$LINENO: checking for $ac_func" >&5
78021 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78022 if eval "test \"\${$as_ac_var+set}\" = set"; then
78023 echo $ECHO_N "(cached) $ECHO_C" >&6
78024 else
78025 if test x$gcc_no_link = xyes; then
78026 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78027 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78028 { (exit 1); exit 1; }; }
78030 cat >conftest.$ac_ext <<_ACEOF
78031 /* confdefs.h. */
78032 _ACEOF
78033 cat confdefs.h >>conftest.$ac_ext
78034 cat >>conftest.$ac_ext <<_ACEOF
78035 /* end confdefs.h. */
78036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78038 #define $ac_func innocuous_$ac_func
78040 /* System header to define __stub macros and hopefully few prototypes,
78041 which can conflict with char $ac_func (); below.
78042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78043 <limits.h> exists even on freestanding compilers. */
78045 #ifdef __STDC__
78046 # include <limits.h>
78047 #else
78048 # include <assert.h>
78049 #endif
78051 #undef $ac_func
78053 /* Override any gcc2 internal prototype to avoid an error. */
78054 #ifdef __cplusplus
78055 extern "C"
78057 #endif
78058 /* We use char because int might match the return type of a gcc2
78059 builtin and then its argument prototype would still apply. */
78060 char $ac_func ();
78061 /* The GNU C library defines this for functions which it implements
78062 to always fail with ENOSYS. Some functions are actually named
78063 something starting with __ and the normal name is an alias. */
78064 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78065 choke me
78066 #else
78067 char (*f) () = $ac_func;
78068 #endif
78069 #ifdef __cplusplus
78071 #endif
78074 main ()
78076 return f != $ac_func;
78078 return 0;
78080 _ACEOF
78081 rm -f conftest.$ac_objext conftest$ac_exeext
78082 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78083 (eval $ac_link) 2>conftest.er1
78084 ac_status=$?
78085 grep -v '^ *+' conftest.er1 >conftest.err
78086 rm -f conftest.er1
78087 cat conftest.err >&5
78088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78089 (exit $ac_status); } &&
78090 { ac_try='test -z "$ac_c_werror_flag"
78091 || test ! -s conftest.err'
78092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78093 (eval $ac_try) 2>&5
78094 ac_status=$?
78095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78096 (exit $ac_status); }; } &&
78097 { ac_try='test -s conftest$ac_exeext'
78098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78099 (eval $ac_try) 2>&5
78100 ac_status=$?
78101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78102 (exit $ac_status); }; }; then
78103 eval "$as_ac_var=yes"
78104 else
78105 echo "$as_me: failed program was:" >&5
78106 sed 's/^/| /' conftest.$ac_ext >&5
78108 eval "$as_ac_var=no"
78110 rm -f conftest.err conftest.$ac_objext \
78111 conftest$ac_exeext conftest.$ac_ext
78113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78114 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78115 if test `eval echo '${'$as_ac_var'}'` = yes; then
78116 cat >>confdefs.h <<_ACEOF
78117 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78118 _ACEOF
78121 done
78123 else
78125 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
78126 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
78127 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
78128 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
78129 echo $ECHO_N "(cached) $ECHO_C" >&6
78130 else
78134 ac_ext=cc
78135 ac_cpp='$CXXCPP $CPPFLAGS'
78136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78140 cat >conftest.$ac_ext <<_ACEOF
78141 /* confdefs.h. */
78142 _ACEOF
78143 cat confdefs.h >>conftest.$ac_ext
78144 cat >>conftest.$ac_ext <<_ACEOF
78145 /* end confdefs.h. */
78146 #include <math.h>
78147 #ifdef HAVE_IEEEFP_H
78148 #include <ieeefp.h>
78149 #endif
78152 main ()
78154 _fabsl(0);
78156 return 0;
78158 _ACEOF
78159 rm -f conftest.$ac_objext
78160 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78161 (eval $ac_compile) 2>conftest.er1
78162 ac_status=$?
78163 grep -v '^ *+' conftest.er1 >conftest.err
78164 rm -f conftest.er1
78165 cat conftest.err >&5
78166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78167 (exit $ac_status); } &&
78168 { ac_try='test -z "$ac_cxx_werror_flag"
78169 || test ! -s conftest.err'
78170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78171 (eval $ac_try) 2>&5
78172 ac_status=$?
78173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78174 (exit $ac_status); }; } &&
78175 { ac_try='test -s conftest.$ac_objext'
78176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78177 (eval $ac_try) 2>&5
78178 ac_status=$?
78179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78180 (exit $ac_status); }; }; then
78181 glibcxx_cv_func__fabsl_use=yes
78182 else
78183 echo "$as_me: failed program was:" >&5
78184 sed 's/^/| /' conftest.$ac_ext >&5
78186 glibcxx_cv_func__fabsl_use=no
78188 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78189 ac_ext=c
78190 ac_cpp='$CPP $CPPFLAGS'
78191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78199 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
78200 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
78202 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
78204 for ac_func in _fabsl
78206 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78207 echo "$as_me:$LINENO: checking for $ac_func" >&5
78208 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78209 if eval "test \"\${$as_ac_var+set}\" = set"; then
78210 echo $ECHO_N "(cached) $ECHO_C" >&6
78211 else
78212 if test x$gcc_no_link = xyes; then
78213 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78214 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78215 { (exit 1); exit 1; }; }
78217 cat >conftest.$ac_ext <<_ACEOF
78218 /* confdefs.h. */
78219 _ACEOF
78220 cat confdefs.h >>conftest.$ac_ext
78221 cat >>conftest.$ac_ext <<_ACEOF
78222 /* end confdefs.h. */
78223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78225 #define $ac_func innocuous_$ac_func
78227 /* System header to define __stub macros and hopefully few prototypes,
78228 which can conflict with char $ac_func (); below.
78229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78230 <limits.h> exists even on freestanding compilers. */
78232 #ifdef __STDC__
78233 # include <limits.h>
78234 #else
78235 # include <assert.h>
78236 #endif
78238 #undef $ac_func
78240 /* Override any gcc2 internal prototype to avoid an error. */
78241 #ifdef __cplusplus
78242 extern "C"
78244 #endif
78245 /* We use char because int might match the return type of a gcc2
78246 builtin and then its argument prototype would still apply. */
78247 char $ac_func ();
78248 /* The GNU C library defines this for functions which it implements
78249 to always fail with ENOSYS. Some functions are actually named
78250 something starting with __ and the normal name is an alias. */
78251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78252 choke me
78253 #else
78254 char (*f) () = $ac_func;
78255 #endif
78256 #ifdef __cplusplus
78258 #endif
78261 main ()
78263 return f != $ac_func;
78265 return 0;
78267 _ACEOF
78268 rm -f conftest.$ac_objext conftest$ac_exeext
78269 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78270 (eval $ac_link) 2>conftest.er1
78271 ac_status=$?
78272 grep -v '^ *+' conftest.er1 >conftest.err
78273 rm -f conftest.er1
78274 cat conftest.err >&5
78275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78276 (exit $ac_status); } &&
78277 { ac_try='test -z "$ac_c_werror_flag"
78278 || test ! -s conftest.err'
78279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78280 (eval $ac_try) 2>&5
78281 ac_status=$?
78282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78283 (exit $ac_status); }; } &&
78284 { ac_try='test -s conftest$ac_exeext'
78285 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78286 (eval $ac_try) 2>&5
78287 ac_status=$?
78288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78289 (exit $ac_status); }; }; then
78290 eval "$as_ac_var=yes"
78291 else
78292 echo "$as_me: failed program was:" >&5
78293 sed 's/^/| /' conftest.$ac_ext >&5
78295 eval "$as_ac_var=no"
78297 rm -f conftest.err conftest.$ac_objext \
78298 conftest$ac_exeext conftest.$ac_ext
78300 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78301 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78302 if test `eval echo '${'$as_ac_var'}'` = yes; then
78303 cat >>confdefs.h <<_ACEOF
78304 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78305 _ACEOF
78308 done
78318 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
78319 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
78320 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
78321 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
78322 echo $ECHO_N "(cached) $ECHO_C" >&6
78323 else
78327 ac_ext=cc
78328 ac_cpp='$CXXCPP $CPPFLAGS'
78329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78333 cat >conftest.$ac_ext <<_ACEOF
78334 /* confdefs.h. */
78335 _ACEOF
78336 cat confdefs.h >>conftest.$ac_ext
78337 cat >>conftest.$ac_ext <<_ACEOF
78338 /* end confdefs.h. */
78339 #include <math.h>
78341 main ()
78343 fmodl(0, 0);
78345 return 0;
78347 _ACEOF
78348 rm -f conftest.$ac_objext
78349 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78350 (eval $ac_compile) 2>conftest.er1
78351 ac_status=$?
78352 grep -v '^ *+' conftest.er1 >conftest.err
78353 rm -f conftest.er1
78354 cat conftest.err >&5
78355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78356 (exit $ac_status); } &&
78357 { ac_try='test -z "$ac_cxx_werror_flag"
78358 || test ! -s conftest.err'
78359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78360 (eval $ac_try) 2>&5
78361 ac_status=$?
78362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78363 (exit $ac_status); }; } &&
78364 { ac_try='test -s conftest.$ac_objext'
78365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78366 (eval $ac_try) 2>&5
78367 ac_status=$?
78368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78369 (exit $ac_status); }; }; then
78370 glibcxx_cv_func_fmodl_use=yes
78371 else
78372 echo "$as_me: failed program was:" >&5
78373 sed 's/^/| /' conftest.$ac_ext >&5
78375 glibcxx_cv_func_fmodl_use=no
78377 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78378 ac_ext=c
78379 ac_cpp='$CPP $CPPFLAGS'
78380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78388 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
78389 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
78391 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
78393 for ac_func in fmodl
78395 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78396 echo "$as_me:$LINENO: checking for $ac_func" >&5
78397 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78398 if eval "test \"\${$as_ac_var+set}\" = set"; then
78399 echo $ECHO_N "(cached) $ECHO_C" >&6
78400 else
78401 if test x$gcc_no_link = xyes; then
78402 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78403 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78404 { (exit 1); exit 1; }; }
78406 cat >conftest.$ac_ext <<_ACEOF
78407 /* confdefs.h. */
78408 _ACEOF
78409 cat confdefs.h >>conftest.$ac_ext
78410 cat >>conftest.$ac_ext <<_ACEOF
78411 /* end confdefs.h. */
78412 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78413 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78414 #define $ac_func innocuous_$ac_func
78416 /* System header to define __stub macros and hopefully few prototypes,
78417 which can conflict with char $ac_func (); below.
78418 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78419 <limits.h> exists even on freestanding compilers. */
78421 #ifdef __STDC__
78422 # include <limits.h>
78423 #else
78424 # include <assert.h>
78425 #endif
78427 #undef $ac_func
78429 /* Override any gcc2 internal prototype to avoid an error. */
78430 #ifdef __cplusplus
78431 extern "C"
78433 #endif
78434 /* We use char because int might match the return type of a gcc2
78435 builtin and then its argument prototype would still apply. */
78436 char $ac_func ();
78437 /* The GNU C library defines this for functions which it implements
78438 to always fail with ENOSYS. Some functions are actually named
78439 something starting with __ and the normal name is an alias. */
78440 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78441 choke me
78442 #else
78443 char (*f) () = $ac_func;
78444 #endif
78445 #ifdef __cplusplus
78447 #endif
78450 main ()
78452 return f != $ac_func;
78454 return 0;
78456 _ACEOF
78457 rm -f conftest.$ac_objext conftest$ac_exeext
78458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78459 (eval $ac_link) 2>conftest.er1
78460 ac_status=$?
78461 grep -v '^ *+' conftest.er1 >conftest.err
78462 rm -f conftest.er1
78463 cat conftest.err >&5
78464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78465 (exit $ac_status); } &&
78466 { ac_try='test -z "$ac_c_werror_flag"
78467 || test ! -s conftest.err'
78468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78469 (eval $ac_try) 2>&5
78470 ac_status=$?
78471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78472 (exit $ac_status); }; } &&
78473 { ac_try='test -s conftest$ac_exeext'
78474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78475 (eval $ac_try) 2>&5
78476 ac_status=$?
78477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78478 (exit $ac_status); }; }; then
78479 eval "$as_ac_var=yes"
78480 else
78481 echo "$as_me: failed program was:" >&5
78482 sed 's/^/| /' conftest.$ac_ext >&5
78484 eval "$as_ac_var=no"
78486 rm -f conftest.err conftest.$ac_objext \
78487 conftest$ac_exeext conftest.$ac_ext
78489 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78490 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78491 if test `eval echo '${'$as_ac_var'}'` = yes; then
78492 cat >>confdefs.h <<_ACEOF
78493 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78494 _ACEOF
78497 done
78499 else
78501 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
78502 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
78503 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
78504 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
78505 echo $ECHO_N "(cached) $ECHO_C" >&6
78506 else
78510 ac_ext=cc
78511 ac_cpp='$CXXCPP $CPPFLAGS'
78512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78516 cat >conftest.$ac_ext <<_ACEOF
78517 /* confdefs.h. */
78518 _ACEOF
78519 cat confdefs.h >>conftest.$ac_ext
78520 cat >>conftest.$ac_ext <<_ACEOF
78521 /* end confdefs.h. */
78522 #include <math.h>
78524 main ()
78526 _fmodl(0, 0);
78528 return 0;
78530 _ACEOF
78531 rm -f conftest.$ac_objext
78532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78533 (eval $ac_compile) 2>conftest.er1
78534 ac_status=$?
78535 grep -v '^ *+' conftest.er1 >conftest.err
78536 rm -f conftest.er1
78537 cat conftest.err >&5
78538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78539 (exit $ac_status); } &&
78540 { ac_try='test -z "$ac_cxx_werror_flag"
78541 || test ! -s conftest.err'
78542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78543 (eval $ac_try) 2>&5
78544 ac_status=$?
78545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78546 (exit $ac_status); }; } &&
78547 { ac_try='test -s conftest.$ac_objext'
78548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78549 (eval $ac_try) 2>&5
78550 ac_status=$?
78551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78552 (exit $ac_status); }; }; then
78553 glibcxx_cv_func__fmodl_use=yes
78554 else
78555 echo "$as_me: failed program was:" >&5
78556 sed 's/^/| /' conftest.$ac_ext >&5
78558 glibcxx_cv_func__fmodl_use=no
78560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78561 ac_ext=c
78562 ac_cpp='$CPP $CPPFLAGS'
78563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78571 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
78572 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
78574 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
78576 for ac_func in _fmodl
78578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78579 echo "$as_me:$LINENO: checking for $ac_func" >&5
78580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78581 if eval "test \"\${$as_ac_var+set}\" = set"; then
78582 echo $ECHO_N "(cached) $ECHO_C" >&6
78583 else
78584 if test x$gcc_no_link = xyes; then
78585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78587 { (exit 1); exit 1; }; }
78589 cat >conftest.$ac_ext <<_ACEOF
78590 /* confdefs.h. */
78591 _ACEOF
78592 cat confdefs.h >>conftest.$ac_ext
78593 cat >>conftest.$ac_ext <<_ACEOF
78594 /* end confdefs.h. */
78595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78597 #define $ac_func innocuous_$ac_func
78599 /* System header to define __stub macros and hopefully few prototypes,
78600 which can conflict with char $ac_func (); below.
78601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78602 <limits.h> exists even on freestanding compilers. */
78604 #ifdef __STDC__
78605 # include <limits.h>
78606 #else
78607 # include <assert.h>
78608 #endif
78610 #undef $ac_func
78612 /* Override any gcc2 internal prototype to avoid an error. */
78613 #ifdef __cplusplus
78614 extern "C"
78616 #endif
78617 /* We use char because int might match the return type of a gcc2
78618 builtin and then its argument prototype would still apply. */
78619 char $ac_func ();
78620 /* The GNU C library defines this for functions which it implements
78621 to always fail with ENOSYS. Some functions are actually named
78622 something starting with __ and the normal name is an alias. */
78623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78624 choke me
78625 #else
78626 char (*f) () = $ac_func;
78627 #endif
78628 #ifdef __cplusplus
78630 #endif
78633 main ()
78635 return f != $ac_func;
78637 return 0;
78639 _ACEOF
78640 rm -f conftest.$ac_objext conftest$ac_exeext
78641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78642 (eval $ac_link) 2>conftest.er1
78643 ac_status=$?
78644 grep -v '^ *+' conftest.er1 >conftest.err
78645 rm -f conftest.er1
78646 cat conftest.err >&5
78647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78648 (exit $ac_status); } &&
78649 { ac_try='test -z "$ac_c_werror_flag"
78650 || test ! -s conftest.err'
78651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78652 (eval $ac_try) 2>&5
78653 ac_status=$?
78654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78655 (exit $ac_status); }; } &&
78656 { ac_try='test -s conftest$ac_exeext'
78657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78658 (eval $ac_try) 2>&5
78659 ac_status=$?
78660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78661 (exit $ac_status); }; }; then
78662 eval "$as_ac_var=yes"
78663 else
78664 echo "$as_me: failed program was:" >&5
78665 sed 's/^/| /' conftest.$ac_ext >&5
78667 eval "$as_ac_var=no"
78669 rm -f conftest.err conftest.$ac_objext \
78670 conftest$ac_exeext conftest.$ac_ext
78672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78674 if test `eval echo '${'$as_ac_var'}'` = yes; then
78675 cat >>confdefs.h <<_ACEOF
78676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78677 _ACEOF
78680 done
78690 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
78691 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
78692 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
78693 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
78694 echo $ECHO_N "(cached) $ECHO_C" >&6
78695 else
78699 ac_ext=cc
78700 ac_cpp='$CXXCPP $CPPFLAGS'
78701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78705 cat >conftest.$ac_ext <<_ACEOF
78706 /* confdefs.h. */
78707 _ACEOF
78708 cat confdefs.h >>conftest.$ac_ext
78709 cat >>conftest.$ac_ext <<_ACEOF
78710 /* end confdefs.h. */
78711 #include <math.h>
78713 main ()
78715 frexpl(0, 0);
78717 return 0;
78719 _ACEOF
78720 rm -f conftest.$ac_objext
78721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78722 (eval $ac_compile) 2>conftest.er1
78723 ac_status=$?
78724 grep -v '^ *+' conftest.er1 >conftest.err
78725 rm -f conftest.er1
78726 cat conftest.err >&5
78727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78728 (exit $ac_status); } &&
78729 { ac_try='test -z "$ac_cxx_werror_flag"
78730 || test ! -s conftest.err'
78731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78732 (eval $ac_try) 2>&5
78733 ac_status=$?
78734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78735 (exit $ac_status); }; } &&
78736 { ac_try='test -s conftest.$ac_objext'
78737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78738 (eval $ac_try) 2>&5
78739 ac_status=$?
78740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78741 (exit $ac_status); }; }; then
78742 glibcxx_cv_func_frexpl_use=yes
78743 else
78744 echo "$as_me: failed program was:" >&5
78745 sed 's/^/| /' conftest.$ac_ext >&5
78747 glibcxx_cv_func_frexpl_use=no
78749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78750 ac_ext=c
78751 ac_cpp='$CPP $CPPFLAGS'
78752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
78761 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
78763 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
78765 for ac_func in frexpl
78767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78768 echo "$as_me:$LINENO: checking for $ac_func" >&5
78769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78770 if eval "test \"\${$as_ac_var+set}\" = set"; then
78771 echo $ECHO_N "(cached) $ECHO_C" >&6
78772 else
78773 if test x$gcc_no_link = xyes; then
78774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78776 { (exit 1); exit 1; }; }
78778 cat >conftest.$ac_ext <<_ACEOF
78779 /* confdefs.h. */
78780 _ACEOF
78781 cat confdefs.h >>conftest.$ac_ext
78782 cat >>conftest.$ac_ext <<_ACEOF
78783 /* end confdefs.h. */
78784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78786 #define $ac_func innocuous_$ac_func
78788 /* System header to define __stub macros and hopefully few prototypes,
78789 which can conflict with char $ac_func (); below.
78790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78791 <limits.h> exists even on freestanding compilers. */
78793 #ifdef __STDC__
78794 # include <limits.h>
78795 #else
78796 # include <assert.h>
78797 #endif
78799 #undef $ac_func
78801 /* Override any gcc2 internal prototype to avoid an error. */
78802 #ifdef __cplusplus
78803 extern "C"
78805 #endif
78806 /* We use char because int might match the return type of a gcc2
78807 builtin and then its argument prototype would still apply. */
78808 char $ac_func ();
78809 /* The GNU C library defines this for functions which it implements
78810 to always fail with ENOSYS. Some functions are actually named
78811 something starting with __ and the normal name is an alias. */
78812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78813 choke me
78814 #else
78815 char (*f) () = $ac_func;
78816 #endif
78817 #ifdef __cplusplus
78819 #endif
78822 main ()
78824 return f != $ac_func;
78826 return 0;
78828 _ACEOF
78829 rm -f conftest.$ac_objext conftest$ac_exeext
78830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78831 (eval $ac_link) 2>conftest.er1
78832 ac_status=$?
78833 grep -v '^ *+' conftest.er1 >conftest.err
78834 rm -f conftest.er1
78835 cat conftest.err >&5
78836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78837 (exit $ac_status); } &&
78838 { ac_try='test -z "$ac_c_werror_flag"
78839 || test ! -s conftest.err'
78840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78841 (eval $ac_try) 2>&5
78842 ac_status=$?
78843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78844 (exit $ac_status); }; } &&
78845 { ac_try='test -s conftest$ac_exeext'
78846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78847 (eval $ac_try) 2>&5
78848 ac_status=$?
78849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78850 (exit $ac_status); }; }; then
78851 eval "$as_ac_var=yes"
78852 else
78853 echo "$as_me: failed program was:" >&5
78854 sed 's/^/| /' conftest.$ac_ext >&5
78856 eval "$as_ac_var=no"
78858 rm -f conftest.err conftest.$ac_objext \
78859 conftest$ac_exeext conftest.$ac_ext
78861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78863 if test `eval echo '${'$as_ac_var'}'` = yes; then
78864 cat >>confdefs.h <<_ACEOF
78865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78866 _ACEOF
78869 done
78871 else
78873 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
78874 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
78875 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
78876 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
78877 echo $ECHO_N "(cached) $ECHO_C" >&6
78878 else
78882 ac_ext=cc
78883 ac_cpp='$CXXCPP $CPPFLAGS'
78884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78888 cat >conftest.$ac_ext <<_ACEOF
78889 /* confdefs.h. */
78890 _ACEOF
78891 cat confdefs.h >>conftest.$ac_ext
78892 cat >>conftest.$ac_ext <<_ACEOF
78893 /* end confdefs.h. */
78894 #include <math.h>
78896 main ()
78898 _frexpl(0, 0);
78900 return 0;
78902 _ACEOF
78903 rm -f conftest.$ac_objext
78904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78905 (eval $ac_compile) 2>conftest.er1
78906 ac_status=$?
78907 grep -v '^ *+' conftest.er1 >conftest.err
78908 rm -f conftest.er1
78909 cat conftest.err >&5
78910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78911 (exit $ac_status); } &&
78912 { ac_try='test -z "$ac_cxx_werror_flag"
78913 || test ! -s conftest.err'
78914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78915 (eval $ac_try) 2>&5
78916 ac_status=$?
78917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78918 (exit $ac_status); }; } &&
78919 { ac_try='test -s conftest.$ac_objext'
78920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78921 (eval $ac_try) 2>&5
78922 ac_status=$?
78923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78924 (exit $ac_status); }; }; then
78925 glibcxx_cv_func__frexpl_use=yes
78926 else
78927 echo "$as_me: failed program was:" >&5
78928 sed 's/^/| /' conftest.$ac_ext >&5
78930 glibcxx_cv_func__frexpl_use=no
78932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78933 ac_ext=c
78934 ac_cpp='$CPP $CPPFLAGS'
78935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
78944 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
78946 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
78948 for ac_func in _frexpl
78950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78951 echo "$as_me:$LINENO: checking for $ac_func" >&5
78952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78953 if eval "test \"\${$as_ac_var+set}\" = set"; then
78954 echo $ECHO_N "(cached) $ECHO_C" >&6
78955 else
78956 if test x$gcc_no_link = xyes; then
78957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78959 { (exit 1); exit 1; }; }
78961 cat >conftest.$ac_ext <<_ACEOF
78962 /* confdefs.h. */
78963 _ACEOF
78964 cat confdefs.h >>conftest.$ac_ext
78965 cat >>conftest.$ac_ext <<_ACEOF
78966 /* end confdefs.h. */
78967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78969 #define $ac_func innocuous_$ac_func
78971 /* System header to define __stub macros and hopefully few prototypes,
78972 which can conflict with char $ac_func (); below.
78973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78974 <limits.h> exists even on freestanding compilers. */
78976 #ifdef __STDC__
78977 # include <limits.h>
78978 #else
78979 # include <assert.h>
78980 #endif
78982 #undef $ac_func
78984 /* Override any gcc2 internal prototype to avoid an error. */
78985 #ifdef __cplusplus
78986 extern "C"
78988 #endif
78989 /* We use char because int might match the return type of a gcc2
78990 builtin and then its argument prototype would still apply. */
78991 char $ac_func ();
78992 /* The GNU C library defines this for functions which it implements
78993 to always fail with ENOSYS. Some functions are actually named
78994 something starting with __ and the normal name is an alias. */
78995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78996 choke me
78997 #else
78998 char (*f) () = $ac_func;
78999 #endif
79000 #ifdef __cplusplus
79002 #endif
79005 main ()
79007 return f != $ac_func;
79009 return 0;
79011 _ACEOF
79012 rm -f conftest.$ac_objext conftest$ac_exeext
79013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79014 (eval $ac_link) 2>conftest.er1
79015 ac_status=$?
79016 grep -v '^ *+' conftest.er1 >conftest.err
79017 rm -f conftest.er1
79018 cat conftest.err >&5
79019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79020 (exit $ac_status); } &&
79021 { ac_try='test -z "$ac_c_werror_flag"
79022 || test ! -s conftest.err'
79023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79024 (eval $ac_try) 2>&5
79025 ac_status=$?
79026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79027 (exit $ac_status); }; } &&
79028 { ac_try='test -s conftest$ac_exeext'
79029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79030 (eval $ac_try) 2>&5
79031 ac_status=$?
79032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79033 (exit $ac_status); }; }; then
79034 eval "$as_ac_var=yes"
79035 else
79036 echo "$as_me: failed program was:" >&5
79037 sed 's/^/| /' conftest.$ac_ext >&5
79039 eval "$as_ac_var=no"
79041 rm -f conftest.err conftest.$ac_objext \
79042 conftest$ac_exeext conftest.$ac_ext
79044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79046 if test `eval echo '${'$as_ac_var'}'` = yes; then
79047 cat >>confdefs.h <<_ACEOF
79048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79049 _ACEOF
79052 done
79062 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
79063 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
79064 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
79065 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
79066 echo $ECHO_N "(cached) $ECHO_C" >&6
79067 else
79071 ac_ext=cc
79072 ac_cpp='$CXXCPP $CPPFLAGS'
79073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79077 cat >conftest.$ac_ext <<_ACEOF
79078 /* confdefs.h. */
79079 _ACEOF
79080 cat confdefs.h >>conftest.$ac_ext
79081 cat >>conftest.$ac_ext <<_ACEOF
79082 /* end confdefs.h. */
79083 #include <math.h>
79085 main ()
79087 hypotl(0, 0);
79089 return 0;
79091 _ACEOF
79092 rm -f conftest.$ac_objext
79093 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79094 (eval $ac_compile) 2>conftest.er1
79095 ac_status=$?
79096 grep -v '^ *+' conftest.er1 >conftest.err
79097 rm -f conftest.er1
79098 cat conftest.err >&5
79099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79100 (exit $ac_status); } &&
79101 { ac_try='test -z "$ac_cxx_werror_flag"
79102 || test ! -s conftest.err'
79103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79104 (eval $ac_try) 2>&5
79105 ac_status=$?
79106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79107 (exit $ac_status); }; } &&
79108 { ac_try='test -s conftest.$ac_objext'
79109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79110 (eval $ac_try) 2>&5
79111 ac_status=$?
79112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79113 (exit $ac_status); }; }; then
79114 glibcxx_cv_func_hypotl_use=yes
79115 else
79116 echo "$as_me: failed program was:" >&5
79117 sed 's/^/| /' conftest.$ac_ext >&5
79119 glibcxx_cv_func_hypotl_use=no
79121 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79122 ac_ext=c
79123 ac_cpp='$CPP $CPPFLAGS'
79124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79132 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
79133 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
79135 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
79137 for ac_func in hypotl
79139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79140 echo "$as_me:$LINENO: checking for $ac_func" >&5
79141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79142 if eval "test \"\${$as_ac_var+set}\" = set"; then
79143 echo $ECHO_N "(cached) $ECHO_C" >&6
79144 else
79145 if test x$gcc_no_link = xyes; then
79146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79148 { (exit 1); exit 1; }; }
79150 cat >conftest.$ac_ext <<_ACEOF
79151 /* confdefs.h. */
79152 _ACEOF
79153 cat confdefs.h >>conftest.$ac_ext
79154 cat >>conftest.$ac_ext <<_ACEOF
79155 /* end confdefs.h. */
79156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79158 #define $ac_func innocuous_$ac_func
79160 /* System header to define __stub macros and hopefully few prototypes,
79161 which can conflict with char $ac_func (); below.
79162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79163 <limits.h> exists even on freestanding compilers. */
79165 #ifdef __STDC__
79166 # include <limits.h>
79167 #else
79168 # include <assert.h>
79169 #endif
79171 #undef $ac_func
79173 /* Override any gcc2 internal prototype to avoid an error. */
79174 #ifdef __cplusplus
79175 extern "C"
79177 #endif
79178 /* We use char because int might match the return type of a gcc2
79179 builtin and then its argument prototype would still apply. */
79180 char $ac_func ();
79181 /* The GNU C library defines this for functions which it implements
79182 to always fail with ENOSYS. Some functions are actually named
79183 something starting with __ and the normal name is an alias. */
79184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79185 choke me
79186 #else
79187 char (*f) () = $ac_func;
79188 #endif
79189 #ifdef __cplusplus
79191 #endif
79194 main ()
79196 return f != $ac_func;
79198 return 0;
79200 _ACEOF
79201 rm -f conftest.$ac_objext conftest$ac_exeext
79202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79203 (eval $ac_link) 2>conftest.er1
79204 ac_status=$?
79205 grep -v '^ *+' conftest.er1 >conftest.err
79206 rm -f conftest.er1
79207 cat conftest.err >&5
79208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79209 (exit $ac_status); } &&
79210 { ac_try='test -z "$ac_c_werror_flag"
79211 || test ! -s conftest.err'
79212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79213 (eval $ac_try) 2>&5
79214 ac_status=$?
79215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79216 (exit $ac_status); }; } &&
79217 { ac_try='test -s conftest$ac_exeext'
79218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79219 (eval $ac_try) 2>&5
79220 ac_status=$?
79221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79222 (exit $ac_status); }; }; then
79223 eval "$as_ac_var=yes"
79224 else
79225 echo "$as_me: failed program was:" >&5
79226 sed 's/^/| /' conftest.$ac_ext >&5
79228 eval "$as_ac_var=no"
79230 rm -f conftest.err conftest.$ac_objext \
79231 conftest$ac_exeext conftest.$ac_ext
79233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79235 if test `eval echo '${'$as_ac_var'}'` = yes; then
79236 cat >>confdefs.h <<_ACEOF
79237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79238 _ACEOF
79241 done
79243 else
79245 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
79246 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
79247 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
79248 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
79249 echo $ECHO_N "(cached) $ECHO_C" >&6
79250 else
79254 ac_ext=cc
79255 ac_cpp='$CXXCPP $CPPFLAGS'
79256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79260 cat >conftest.$ac_ext <<_ACEOF
79261 /* confdefs.h. */
79262 _ACEOF
79263 cat confdefs.h >>conftest.$ac_ext
79264 cat >>conftest.$ac_ext <<_ACEOF
79265 /* end confdefs.h. */
79266 #include <math.h>
79268 main ()
79270 _hypotl(0, 0);
79272 return 0;
79274 _ACEOF
79275 rm -f conftest.$ac_objext
79276 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79277 (eval $ac_compile) 2>conftest.er1
79278 ac_status=$?
79279 grep -v '^ *+' conftest.er1 >conftest.err
79280 rm -f conftest.er1
79281 cat conftest.err >&5
79282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79283 (exit $ac_status); } &&
79284 { ac_try='test -z "$ac_cxx_werror_flag"
79285 || test ! -s conftest.err'
79286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79287 (eval $ac_try) 2>&5
79288 ac_status=$?
79289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79290 (exit $ac_status); }; } &&
79291 { ac_try='test -s conftest.$ac_objext'
79292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79293 (eval $ac_try) 2>&5
79294 ac_status=$?
79295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79296 (exit $ac_status); }; }; then
79297 glibcxx_cv_func__hypotl_use=yes
79298 else
79299 echo "$as_me: failed program was:" >&5
79300 sed 's/^/| /' conftest.$ac_ext >&5
79302 glibcxx_cv_func__hypotl_use=no
79304 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79305 ac_ext=c
79306 ac_cpp='$CPP $CPPFLAGS'
79307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79315 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
79316 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
79318 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
79320 for ac_func in _hypotl
79322 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79323 echo "$as_me:$LINENO: checking for $ac_func" >&5
79324 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79325 if eval "test \"\${$as_ac_var+set}\" = set"; then
79326 echo $ECHO_N "(cached) $ECHO_C" >&6
79327 else
79328 if test x$gcc_no_link = xyes; then
79329 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79330 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79331 { (exit 1); exit 1; }; }
79333 cat >conftest.$ac_ext <<_ACEOF
79334 /* confdefs.h. */
79335 _ACEOF
79336 cat confdefs.h >>conftest.$ac_ext
79337 cat >>conftest.$ac_ext <<_ACEOF
79338 /* end confdefs.h. */
79339 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79340 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79341 #define $ac_func innocuous_$ac_func
79343 /* System header to define __stub macros and hopefully few prototypes,
79344 which can conflict with char $ac_func (); below.
79345 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79346 <limits.h> exists even on freestanding compilers. */
79348 #ifdef __STDC__
79349 # include <limits.h>
79350 #else
79351 # include <assert.h>
79352 #endif
79354 #undef $ac_func
79356 /* Override any gcc2 internal prototype to avoid an error. */
79357 #ifdef __cplusplus
79358 extern "C"
79360 #endif
79361 /* We use char because int might match the return type of a gcc2
79362 builtin and then its argument prototype would still apply. */
79363 char $ac_func ();
79364 /* The GNU C library defines this for functions which it implements
79365 to always fail with ENOSYS. Some functions are actually named
79366 something starting with __ and the normal name is an alias. */
79367 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79368 choke me
79369 #else
79370 char (*f) () = $ac_func;
79371 #endif
79372 #ifdef __cplusplus
79374 #endif
79377 main ()
79379 return f != $ac_func;
79381 return 0;
79383 _ACEOF
79384 rm -f conftest.$ac_objext conftest$ac_exeext
79385 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79386 (eval $ac_link) 2>conftest.er1
79387 ac_status=$?
79388 grep -v '^ *+' conftest.er1 >conftest.err
79389 rm -f conftest.er1
79390 cat conftest.err >&5
79391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79392 (exit $ac_status); } &&
79393 { ac_try='test -z "$ac_c_werror_flag"
79394 || test ! -s conftest.err'
79395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79396 (eval $ac_try) 2>&5
79397 ac_status=$?
79398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79399 (exit $ac_status); }; } &&
79400 { ac_try='test -s conftest$ac_exeext'
79401 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79402 (eval $ac_try) 2>&5
79403 ac_status=$?
79404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79405 (exit $ac_status); }; }; then
79406 eval "$as_ac_var=yes"
79407 else
79408 echo "$as_me: failed program was:" >&5
79409 sed 's/^/| /' conftest.$ac_ext >&5
79411 eval "$as_ac_var=no"
79413 rm -f conftest.err conftest.$ac_objext \
79414 conftest$ac_exeext conftest.$ac_ext
79416 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79417 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79418 if test `eval echo '${'$as_ac_var'}'` = yes; then
79419 cat >>confdefs.h <<_ACEOF
79420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79421 _ACEOF
79424 done
79434 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
79435 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
79436 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
79437 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
79438 echo $ECHO_N "(cached) $ECHO_C" >&6
79439 else
79443 ac_ext=cc
79444 ac_cpp='$CXXCPP $CPPFLAGS'
79445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79449 cat >conftest.$ac_ext <<_ACEOF
79450 /* confdefs.h. */
79451 _ACEOF
79452 cat confdefs.h >>conftest.$ac_ext
79453 cat >>conftest.$ac_ext <<_ACEOF
79454 /* end confdefs.h. */
79455 #include <math.h>
79457 main ()
79459 ldexpl(0, 0);
79461 return 0;
79463 _ACEOF
79464 rm -f conftest.$ac_objext
79465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79466 (eval $ac_compile) 2>conftest.er1
79467 ac_status=$?
79468 grep -v '^ *+' conftest.er1 >conftest.err
79469 rm -f conftest.er1
79470 cat conftest.err >&5
79471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79472 (exit $ac_status); } &&
79473 { ac_try='test -z "$ac_cxx_werror_flag"
79474 || test ! -s conftest.err'
79475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79476 (eval $ac_try) 2>&5
79477 ac_status=$?
79478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79479 (exit $ac_status); }; } &&
79480 { ac_try='test -s conftest.$ac_objext'
79481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79482 (eval $ac_try) 2>&5
79483 ac_status=$?
79484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79485 (exit $ac_status); }; }; then
79486 glibcxx_cv_func_ldexpl_use=yes
79487 else
79488 echo "$as_me: failed program was:" >&5
79489 sed 's/^/| /' conftest.$ac_ext >&5
79491 glibcxx_cv_func_ldexpl_use=no
79493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79494 ac_ext=c
79495 ac_cpp='$CPP $CPPFLAGS'
79496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79504 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
79505 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
79507 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
79509 for ac_func in ldexpl
79511 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79512 echo "$as_me:$LINENO: checking for $ac_func" >&5
79513 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79514 if eval "test \"\${$as_ac_var+set}\" = set"; then
79515 echo $ECHO_N "(cached) $ECHO_C" >&6
79516 else
79517 if test x$gcc_no_link = xyes; then
79518 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79519 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79520 { (exit 1); exit 1; }; }
79522 cat >conftest.$ac_ext <<_ACEOF
79523 /* confdefs.h. */
79524 _ACEOF
79525 cat confdefs.h >>conftest.$ac_ext
79526 cat >>conftest.$ac_ext <<_ACEOF
79527 /* end confdefs.h. */
79528 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79529 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79530 #define $ac_func innocuous_$ac_func
79532 /* System header to define __stub macros and hopefully few prototypes,
79533 which can conflict with char $ac_func (); below.
79534 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79535 <limits.h> exists even on freestanding compilers. */
79537 #ifdef __STDC__
79538 # include <limits.h>
79539 #else
79540 # include <assert.h>
79541 #endif
79543 #undef $ac_func
79545 /* Override any gcc2 internal prototype to avoid an error. */
79546 #ifdef __cplusplus
79547 extern "C"
79549 #endif
79550 /* We use char because int might match the return type of a gcc2
79551 builtin and then its argument prototype would still apply. */
79552 char $ac_func ();
79553 /* The GNU C library defines this for functions which it implements
79554 to always fail with ENOSYS. Some functions are actually named
79555 something starting with __ and the normal name is an alias. */
79556 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79557 choke me
79558 #else
79559 char (*f) () = $ac_func;
79560 #endif
79561 #ifdef __cplusplus
79563 #endif
79566 main ()
79568 return f != $ac_func;
79570 return 0;
79572 _ACEOF
79573 rm -f conftest.$ac_objext conftest$ac_exeext
79574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79575 (eval $ac_link) 2>conftest.er1
79576 ac_status=$?
79577 grep -v '^ *+' conftest.er1 >conftest.err
79578 rm -f conftest.er1
79579 cat conftest.err >&5
79580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79581 (exit $ac_status); } &&
79582 { ac_try='test -z "$ac_c_werror_flag"
79583 || test ! -s conftest.err'
79584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79585 (eval $ac_try) 2>&5
79586 ac_status=$?
79587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79588 (exit $ac_status); }; } &&
79589 { ac_try='test -s conftest$ac_exeext'
79590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79591 (eval $ac_try) 2>&5
79592 ac_status=$?
79593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79594 (exit $ac_status); }; }; then
79595 eval "$as_ac_var=yes"
79596 else
79597 echo "$as_me: failed program was:" >&5
79598 sed 's/^/| /' conftest.$ac_ext >&5
79600 eval "$as_ac_var=no"
79602 rm -f conftest.err conftest.$ac_objext \
79603 conftest$ac_exeext conftest.$ac_ext
79605 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79606 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79607 if test `eval echo '${'$as_ac_var'}'` = yes; then
79608 cat >>confdefs.h <<_ACEOF
79609 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79610 _ACEOF
79613 done
79615 else
79617 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
79618 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
79619 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
79620 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
79621 echo $ECHO_N "(cached) $ECHO_C" >&6
79622 else
79626 ac_ext=cc
79627 ac_cpp='$CXXCPP $CPPFLAGS'
79628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79632 cat >conftest.$ac_ext <<_ACEOF
79633 /* confdefs.h. */
79634 _ACEOF
79635 cat confdefs.h >>conftest.$ac_ext
79636 cat >>conftest.$ac_ext <<_ACEOF
79637 /* end confdefs.h. */
79638 #include <math.h>
79640 main ()
79642 _ldexpl(0, 0);
79644 return 0;
79646 _ACEOF
79647 rm -f conftest.$ac_objext
79648 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79649 (eval $ac_compile) 2>conftest.er1
79650 ac_status=$?
79651 grep -v '^ *+' conftest.er1 >conftest.err
79652 rm -f conftest.er1
79653 cat conftest.err >&5
79654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79655 (exit $ac_status); } &&
79656 { ac_try='test -z "$ac_cxx_werror_flag"
79657 || test ! -s conftest.err'
79658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79659 (eval $ac_try) 2>&5
79660 ac_status=$?
79661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79662 (exit $ac_status); }; } &&
79663 { ac_try='test -s conftest.$ac_objext'
79664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79665 (eval $ac_try) 2>&5
79666 ac_status=$?
79667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79668 (exit $ac_status); }; }; then
79669 glibcxx_cv_func__ldexpl_use=yes
79670 else
79671 echo "$as_me: failed program was:" >&5
79672 sed 's/^/| /' conftest.$ac_ext >&5
79674 glibcxx_cv_func__ldexpl_use=no
79676 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79677 ac_ext=c
79678 ac_cpp='$CPP $CPPFLAGS'
79679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79687 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
79688 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
79690 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
79692 for ac_func in _ldexpl
79694 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79695 echo "$as_me:$LINENO: checking for $ac_func" >&5
79696 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79697 if eval "test \"\${$as_ac_var+set}\" = set"; then
79698 echo $ECHO_N "(cached) $ECHO_C" >&6
79699 else
79700 if test x$gcc_no_link = xyes; then
79701 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79702 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79703 { (exit 1); exit 1; }; }
79705 cat >conftest.$ac_ext <<_ACEOF
79706 /* confdefs.h. */
79707 _ACEOF
79708 cat confdefs.h >>conftest.$ac_ext
79709 cat >>conftest.$ac_ext <<_ACEOF
79710 /* end confdefs.h. */
79711 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79712 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79713 #define $ac_func innocuous_$ac_func
79715 /* System header to define __stub macros and hopefully few prototypes,
79716 which can conflict with char $ac_func (); below.
79717 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79718 <limits.h> exists even on freestanding compilers. */
79720 #ifdef __STDC__
79721 # include <limits.h>
79722 #else
79723 # include <assert.h>
79724 #endif
79726 #undef $ac_func
79728 /* Override any gcc2 internal prototype to avoid an error. */
79729 #ifdef __cplusplus
79730 extern "C"
79732 #endif
79733 /* We use char because int might match the return type of a gcc2
79734 builtin and then its argument prototype would still apply. */
79735 char $ac_func ();
79736 /* The GNU C library defines this for functions which it implements
79737 to always fail with ENOSYS. Some functions are actually named
79738 something starting with __ and the normal name is an alias. */
79739 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79740 choke me
79741 #else
79742 char (*f) () = $ac_func;
79743 #endif
79744 #ifdef __cplusplus
79746 #endif
79749 main ()
79751 return f != $ac_func;
79753 return 0;
79755 _ACEOF
79756 rm -f conftest.$ac_objext conftest$ac_exeext
79757 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79758 (eval $ac_link) 2>conftest.er1
79759 ac_status=$?
79760 grep -v '^ *+' conftest.er1 >conftest.err
79761 rm -f conftest.er1
79762 cat conftest.err >&5
79763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79764 (exit $ac_status); } &&
79765 { ac_try='test -z "$ac_c_werror_flag"
79766 || test ! -s conftest.err'
79767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79768 (eval $ac_try) 2>&5
79769 ac_status=$?
79770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79771 (exit $ac_status); }; } &&
79772 { ac_try='test -s conftest$ac_exeext'
79773 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79774 (eval $ac_try) 2>&5
79775 ac_status=$?
79776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79777 (exit $ac_status); }; }; then
79778 eval "$as_ac_var=yes"
79779 else
79780 echo "$as_me: failed program was:" >&5
79781 sed 's/^/| /' conftest.$ac_ext >&5
79783 eval "$as_ac_var=no"
79785 rm -f conftest.err conftest.$ac_objext \
79786 conftest$ac_exeext conftest.$ac_ext
79788 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79789 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79790 if test `eval echo '${'$as_ac_var'}'` = yes; then
79791 cat >>confdefs.h <<_ACEOF
79792 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79793 _ACEOF
79796 done
79806 echo "$as_me:$LINENO: checking for logl declaration" >&5
79807 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
79808 if test x${glibcxx_cv_func_logl_use+set} != xset; then
79809 if test "${glibcxx_cv_func_logl_use+set}" = set; then
79810 echo $ECHO_N "(cached) $ECHO_C" >&6
79811 else
79815 ac_ext=cc
79816 ac_cpp='$CXXCPP $CPPFLAGS'
79817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79821 cat >conftest.$ac_ext <<_ACEOF
79822 /* confdefs.h. */
79823 _ACEOF
79824 cat confdefs.h >>conftest.$ac_ext
79825 cat >>conftest.$ac_ext <<_ACEOF
79826 /* end confdefs.h. */
79827 #include <math.h>
79828 #ifdef HAVE_IEEEFP_H
79829 #include <ieeefp.h>
79830 #endif
79833 main ()
79835 logl(0);
79837 return 0;
79839 _ACEOF
79840 rm -f conftest.$ac_objext
79841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79842 (eval $ac_compile) 2>conftest.er1
79843 ac_status=$?
79844 grep -v '^ *+' conftest.er1 >conftest.err
79845 rm -f conftest.er1
79846 cat conftest.err >&5
79847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79848 (exit $ac_status); } &&
79849 { ac_try='test -z "$ac_cxx_werror_flag"
79850 || test ! -s conftest.err'
79851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79852 (eval $ac_try) 2>&5
79853 ac_status=$?
79854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79855 (exit $ac_status); }; } &&
79856 { ac_try='test -s conftest.$ac_objext'
79857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79858 (eval $ac_try) 2>&5
79859 ac_status=$?
79860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79861 (exit $ac_status); }; }; then
79862 glibcxx_cv_func_logl_use=yes
79863 else
79864 echo "$as_me: failed program was:" >&5
79865 sed 's/^/| /' conftest.$ac_ext >&5
79867 glibcxx_cv_func_logl_use=no
79869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79870 ac_ext=c
79871 ac_cpp='$CPP $CPPFLAGS'
79872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79880 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
79881 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
79883 if test x$glibcxx_cv_func_logl_use = x"yes"; then
79885 for ac_func in logl
79887 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79888 echo "$as_me:$LINENO: checking for $ac_func" >&5
79889 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79890 if eval "test \"\${$as_ac_var+set}\" = set"; then
79891 echo $ECHO_N "(cached) $ECHO_C" >&6
79892 else
79893 if test x$gcc_no_link = xyes; then
79894 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79895 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79896 { (exit 1); exit 1; }; }
79898 cat >conftest.$ac_ext <<_ACEOF
79899 /* confdefs.h. */
79900 _ACEOF
79901 cat confdefs.h >>conftest.$ac_ext
79902 cat >>conftest.$ac_ext <<_ACEOF
79903 /* end confdefs.h. */
79904 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79905 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79906 #define $ac_func innocuous_$ac_func
79908 /* System header to define __stub macros and hopefully few prototypes,
79909 which can conflict with char $ac_func (); below.
79910 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79911 <limits.h> exists even on freestanding compilers. */
79913 #ifdef __STDC__
79914 # include <limits.h>
79915 #else
79916 # include <assert.h>
79917 #endif
79919 #undef $ac_func
79921 /* Override any gcc2 internal prototype to avoid an error. */
79922 #ifdef __cplusplus
79923 extern "C"
79925 #endif
79926 /* We use char because int might match the return type of a gcc2
79927 builtin and then its argument prototype would still apply. */
79928 char $ac_func ();
79929 /* The GNU C library defines this for functions which it implements
79930 to always fail with ENOSYS. Some functions are actually named
79931 something starting with __ and the normal name is an alias. */
79932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79933 choke me
79934 #else
79935 char (*f) () = $ac_func;
79936 #endif
79937 #ifdef __cplusplus
79939 #endif
79942 main ()
79944 return f != $ac_func;
79946 return 0;
79948 _ACEOF
79949 rm -f conftest.$ac_objext conftest$ac_exeext
79950 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79951 (eval $ac_link) 2>conftest.er1
79952 ac_status=$?
79953 grep -v '^ *+' conftest.er1 >conftest.err
79954 rm -f conftest.er1
79955 cat conftest.err >&5
79956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79957 (exit $ac_status); } &&
79958 { ac_try='test -z "$ac_c_werror_flag"
79959 || test ! -s conftest.err'
79960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79961 (eval $ac_try) 2>&5
79962 ac_status=$?
79963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79964 (exit $ac_status); }; } &&
79965 { ac_try='test -s conftest$ac_exeext'
79966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79967 (eval $ac_try) 2>&5
79968 ac_status=$?
79969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79970 (exit $ac_status); }; }; then
79971 eval "$as_ac_var=yes"
79972 else
79973 echo "$as_me: failed program was:" >&5
79974 sed 's/^/| /' conftest.$ac_ext >&5
79976 eval "$as_ac_var=no"
79978 rm -f conftest.err conftest.$ac_objext \
79979 conftest$ac_exeext conftest.$ac_ext
79981 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79982 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79983 if test `eval echo '${'$as_ac_var'}'` = yes; then
79984 cat >>confdefs.h <<_ACEOF
79985 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79986 _ACEOF
79989 done
79991 else
79993 echo "$as_me:$LINENO: checking for _logl declaration" >&5
79994 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
79995 if test x${glibcxx_cv_func__logl_use+set} != xset; then
79996 if test "${glibcxx_cv_func__logl_use+set}" = set; then
79997 echo $ECHO_N "(cached) $ECHO_C" >&6
79998 else
80002 ac_ext=cc
80003 ac_cpp='$CXXCPP $CPPFLAGS'
80004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80008 cat >conftest.$ac_ext <<_ACEOF
80009 /* confdefs.h. */
80010 _ACEOF
80011 cat confdefs.h >>conftest.$ac_ext
80012 cat >>conftest.$ac_ext <<_ACEOF
80013 /* end confdefs.h. */
80014 #include <math.h>
80015 #ifdef HAVE_IEEEFP_H
80016 #include <ieeefp.h>
80017 #endif
80020 main ()
80022 _logl(0);
80024 return 0;
80026 _ACEOF
80027 rm -f conftest.$ac_objext
80028 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80029 (eval $ac_compile) 2>conftest.er1
80030 ac_status=$?
80031 grep -v '^ *+' conftest.er1 >conftest.err
80032 rm -f conftest.er1
80033 cat conftest.err >&5
80034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80035 (exit $ac_status); } &&
80036 { ac_try='test -z "$ac_cxx_werror_flag"
80037 || test ! -s conftest.err'
80038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80039 (eval $ac_try) 2>&5
80040 ac_status=$?
80041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80042 (exit $ac_status); }; } &&
80043 { ac_try='test -s conftest.$ac_objext'
80044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80045 (eval $ac_try) 2>&5
80046 ac_status=$?
80047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80048 (exit $ac_status); }; }; then
80049 glibcxx_cv_func__logl_use=yes
80050 else
80051 echo "$as_me: failed program was:" >&5
80052 sed 's/^/| /' conftest.$ac_ext >&5
80054 glibcxx_cv_func__logl_use=no
80056 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80057 ac_ext=c
80058 ac_cpp='$CPP $CPPFLAGS'
80059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80067 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
80068 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
80070 if test x$glibcxx_cv_func__logl_use = x"yes"; then
80072 for ac_func in _logl
80074 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80075 echo "$as_me:$LINENO: checking for $ac_func" >&5
80076 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80077 if eval "test \"\${$as_ac_var+set}\" = set"; then
80078 echo $ECHO_N "(cached) $ECHO_C" >&6
80079 else
80080 if test x$gcc_no_link = xyes; then
80081 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80082 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80083 { (exit 1); exit 1; }; }
80085 cat >conftest.$ac_ext <<_ACEOF
80086 /* confdefs.h. */
80087 _ACEOF
80088 cat confdefs.h >>conftest.$ac_ext
80089 cat >>conftest.$ac_ext <<_ACEOF
80090 /* end confdefs.h. */
80091 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80092 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80093 #define $ac_func innocuous_$ac_func
80095 /* System header to define __stub macros and hopefully few prototypes,
80096 which can conflict with char $ac_func (); below.
80097 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80098 <limits.h> exists even on freestanding compilers. */
80100 #ifdef __STDC__
80101 # include <limits.h>
80102 #else
80103 # include <assert.h>
80104 #endif
80106 #undef $ac_func
80108 /* Override any gcc2 internal prototype to avoid an error. */
80109 #ifdef __cplusplus
80110 extern "C"
80112 #endif
80113 /* We use char because int might match the return type of a gcc2
80114 builtin and then its argument prototype would still apply. */
80115 char $ac_func ();
80116 /* The GNU C library defines this for functions which it implements
80117 to always fail with ENOSYS. Some functions are actually named
80118 something starting with __ and the normal name is an alias. */
80119 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80120 choke me
80121 #else
80122 char (*f) () = $ac_func;
80123 #endif
80124 #ifdef __cplusplus
80126 #endif
80129 main ()
80131 return f != $ac_func;
80133 return 0;
80135 _ACEOF
80136 rm -f conftest.$ac_objext conftest$ac_exeext
80137 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80138 (eval $ac_link) 2>conftest.er1
80139 ac_status=$?
80140 grep -v '^ *+' conftest.er1 >conftest.err
80141 rm -f conftest.er1
80142 cat conftest.err >&5
80143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80144 (exit $ac_status); } &&
80145 { ac_try='test -z "$ac_c_werror_flag"
80146 || test ! -s conftest.err'
80147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80148 (eval $ac_try) 2>&5
80149 ac_status=$?
80150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80151 (exit $ac_status); }; } &&
80152 { ac_try='test -s conftest$ac_exeext'
80153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80154 (eval $ac_try) 2>&5
80155 ac_status=$?
80156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80157 (exit $ac_status); }; }; then
80158 eval "$as_ac_var=yes"
80159 else
80160 echo "$as_me: failed program was:" >&5
80161 sed 's/^/| /' conftest.$ac_ext >&5
80163 eval "$as_ac_var=no"
80165 rm -f conftest.err conftest.$ac_objext \
80166 conftest$ac_exeext conftest.$ac_ext
80168 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80169 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80170 if test `eval echo '${'$as_ac_var'}'` = yes; then
80171 cat >>confdefs.h <<_ACEOF
80172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80173 _ACEOF
80176 done
80186 echo "$as_me:$LINENO: checking for log10l declaration" >&5
80187 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
80188 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
80189 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
80190 echo $ECHO_N "(cached) $ECHO_C" >&6
80191 else
80195 ac_ext=cc
80196 ac_cpp='$CXXCPP $CPPFLAGS'
80197 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80198 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80199 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80201 cat >conftest.$ac_ext <<_ACEOF
80202 /* confdefs.h. */
80203 _ACEOF
80204 cat confdefs.h >>conftest.$ac_ext
80205 cat >>conftest.$ac_ext <<_ACEOF
80206 /* end confdefs.h. */
80207 #include <math.h>
80208 #ifdef HAVE_IEEEFP_H
80209 #include <ieeefp.h>
80210 #endif
80213 main ()
80215 log10l(0);
80217 return 0;
80219 _ACEOF
80220 rm -f conftest.$ac_objext
80221 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80222 (eval $ac_compile) 2>conftest.er1
80223 ac_status=$?
80224 grep -v '^ *+' conftest.er1 >conftest.err
80225 rm -f conftest.er1
80226 cat conftest.err >&5
80227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80228 (exit $ac_status); } &&
80229 { ac_try='test -z "$ac_cxx_werror_flag"
80230 || test ! -s conftest.err'
80231 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80232 (eval $ac_try) 2>&5
80233 ac_status=$?
80234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80235 (exit $ac_status); }; } &&
80236 { ac_try='test -s conftest.$ac_objext'
80237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80238 (eval $ac_try) 2>&5
80239 ac_status=$?
80240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80241 (exit $ac_status); }; }; then
80242 glibcxx_cv_func_log10l_use=yes
80243 else
80244 echo "$as_me: failed program was:" >&5
80245 sed 's/^/| /' conftest.$ac_ext >&5
80247 glibcxx_cv_func_log10l_use=no
80249 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80250 ac_ext=c
80251 ac_cpp='$CPP $CPPFLAGS'
80252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80260 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
80261 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
80263 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
80265 for ac_func in log10l
80267 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80268 echo "$as_me:$LINENO: checking for $ac_func" >&5
80269 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80270 if eval "test \"\${$as_ac_var+set}\" = set"; then
80271 echo $ECHO_N "(cached) $ECHO_C" >&6
80272 else
80273 if test x$gcc_no_link = xyes; then
80274 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80275 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80276 { (exit 1); exit 1; }; }
80278 cat >conftest.$ac_ext <<_ACEOF
80279 /* confdefs.h. */
80280 _ACEOF
80281 cat confdefs.h >>conftest.$ac_ext
80282 cat >>conftest.$ac_ext <<_ACEOF
80283 /* end confdefs.h. */
80284 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80286 #define $ac_func innocuous_$ac_func
80288 /* System header to define __stub macros and hopefully few prototypes,
80289 which can conflict with char $ac_func (); below.
80290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80291 <limits.h> exists even on freestanding compilers. */
80293 #ifdef __STDC__
80294 # include <limits.h>
80295 #else
80296 # include <assert.h>
80297 #endif
80299 #undef $ac_func
80301 /* Override any gcc2 internal prototype to avoid an error. */
80302 #ifdef __cplusplus
80303 extern "C"
80305 #endif
80306 /* We use char because int might match the return type of a gcc2
80307 builtin and then its argument prototype would still apply. */
80308 char $ac_func ();
80309 /* The GNU C library defines this for functions which it implements
80310 to always fail with ENOSYS. Some functions are actually named
80311 something starting with __ and the normal name is an alias. */
80312 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80313 choke me
80314 #else
80315 char (*f) () = $ac_func;
80316 #endif
80317 #ifdef __cplusplus
80319 #endif
80322 main ()
80324 return f != $ac_func;
80326 return 0;
80328 _ACEOF
80329 rm -f conftest.$ac_objext conftest$ac_exeext
80330 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80331 (eval $ac_link) 2>conftest.er1
80332 ac_status=$?
80333 grep -v '^ *+' conftest.er1 >conftest.err
80334 rm -f conftest.er1
80335 cat conftest.err >&5
80336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80337 (exit $ac_status); } &&
80338 { ac_try='test -z "$ac_c_werror_flag"
80339 || test ! -s conftest.err'
80340 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80341 (eval $ac_try) 2>&5
80342 ac_status=$?
80343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80344 (exit $ac_status); }; } &&
80345 { ac_try='test -s conftest$ac_exeext'
80346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80347 (eval $ac_try) 2>&5
80348 ac_status=$?
80349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80350 (exit $ac_status); }; }; then
80351 eval "$as_ac_var=yes"
80352 else
80353 echo "$as_me: failed program was:" >&5
80354 sed 's/^/| /' conftest.$ac_ext >&5
80356 eval "$as_ac_var=no"
80358 rm -f conftest.err conftest.$ac_objext \
80359 conftest$ac_exeext conftest.$ac_ext
80361 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80362 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80363 if test `eval echo '${'$as_ac_var'}'` = yes; then
80364 cat >>confdefs.h <<_ACEOF
80365 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80366 _ACEOF
80369 done
80371 else
80373 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
80374 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
80375 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
80376 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
80377 echo $ECHO_N "(cached) $ECHO_C" >&6
80378 else
80382 ac_ext=cc
80383 ac_cpp='$CXXCPP $CPPFLAGS'
80384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80388 cat >conftest.$ac_ext <<_ACEOF
80389 /* confdefs.h. */
80390 _ACEOF
80391 cat confdefs.h >>conftest.$ac_ext
80392 cat >>conftest.$ac_ext <<_ACEOF
80393 /* end confdefs.h. */
80394 #include <math.h>
80395 #ifdef HAVE_IEEEFP_H
80396 #include <ieeefp.h>
80397 #endif
80400 main ()
80402 _log10l(0);
80404 return 0;
80406 _ACEOF
80407 rm -f conftest.$ac_objext
80408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80409 (eval $ac_compile) 2>conftest.er1
80410 ac_status=$?
80411 grep -v '^ *+' conftest.er1 >conftest.err
80412 rm -f conftest.er1
80413 cat conftest.err >&5
80414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80415 (exit $ac_status); } &&
80416 { ac_try='test -z "$ac_cxx_werror_flag"
80417 || test ! -s conftest.err'
80418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80419 (eval $ac_try) 2>&5
80420 ac_status=$?
80421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80422 (exit $ac_status); }; } &&
80423 { ac_try='test -s conftest.$ac_objext'
80424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80425 (eval $ac_try) 2>&5
80426 ac_status=$?
80427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80428 (exit $ac_status); }; }; then
80429 glibcxx_cv_func__log10l_use=yes
80430 else
80431 echo "$as_me: failed program was:" >&5
80432 sed 's/^/| /' conftest.$ac_ext >&5
80434 glibcxx_cv_func__log10l_use=no
80436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80437 ac_ext=c
80438 ac_cpp='$CPP $CPPFLAGS'
80439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80447 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
80448 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
80450 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
80452 for ac_func in _log10l
80454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80455 echo "$as_me:$LINENO: checking for $ac_func" >&5
80456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80457 if eval "test \"\${$as_ac_var+set}\" = set"; then
80458 echo $ECHO_N "(cached) $ECHO_C" >&6
80459 else
80460 if test x$gcc_no_link = xyes; then
80461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80463 { (exit 1); exit 1; }; }
80465 cat >conftest.$ac_ext <<_ACEOF
80466 /* confdefs.h. */
80467 _ACEOF
80468 cat confdefs.h >>conftest.$ac_ext
80469 cat >>conftest.$ac_ext <<_ACEOF
80470 /* end confdefs.h. */
80471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80473 #define $ac_func innocuous_$ac_func
80475 /* System header to define __stub macros and hopefully few prototypes,
80476 which can conflict with char $ac_func (); below.
80477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80478 <limits.h> exists even on freestanding compilers. */
80480 #ifdef __STDC__
80481 # include <limits.h>
80482 #else
80483 # include <assert.h>
80484 #endif
80486 #undef $ac_func
80488 /* Override any gcc2 internal prototype to avoid an error. */
80489 #ifdef __cplusplus
80490 extern "C"
80492 #endif
80493 /* We use char because int might match the return type of a gcc2
80494 builtin and then its argument prototype would still apply. */
80495 char $ac_func ();
80496 /* The GNU C library defines this for functions which it implements
80497 to always fail with ENOSYS. Some functions are actually named
80498 something starting with __ and the normal name is an alias. */
80499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80500 choke me
80501 #else
80502 char (*f) () = $ac_func;
80503 #endif
80504 #ifdef __cplusplus
80506 #endif
80509 main ()
80511 return f != $ac_func;
80513 return 0;
80515 _ACEOF
80516 rm -f conftest.$ac_objext conftest$ac_exeext
80517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80518 (eval $ac_link) 2>conftest.er1
80519 ac_status=$?
80520 grep -v '^ *+' conftest.er1 >conftest.err
80521 rm -f conftest.er1
80522 cat conftest.err >&5
80523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80524 (exit $ac_status); } &&
80525 { ac_try='test -z "$ac_c_werror_flag"
80526 || test ! -s conftest.err'
80527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80528 (eval $ac_try) 2>&5
80529 ac_status=$?
80530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80531 (exit $ac_status); }; } &&
80532 { ac_try='test -s conftest$ac_exeext'
80533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80534 (eval $ac_try) 2>&5
80535 ac_status=$?
80536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80537 (exit $ac_status); }; }; then
80538 eval "$as_ac_var=yes"
80539 else
80540 echo "$as_me: failed program was:" >&5
80541 sed 's/^/| /' conftest.$ac_ext >&5
80543 eval "$as_ac_var=no"
80545 rm -f conftest.err conftest.$ac_objext \
80546 conftest$ac_exeext conftest.$ac_ext
80548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80550 if test `eval echo '${'$as_ac_var'}'` = yes; then
80551 cat >>confdefs.h <<_ACEOF
80552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80553 _ACEOF
80556 done
80566 echo "$as_me:$LINENO: checking for modfl declaration" >&5
80567 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
80568 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
80569 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
80570 echo $ECHO_N "(cached) $ECHO_C" >&6
80571 else
80575 ac_ext=cc
80576 ac_cpp='$CXXCPP $CPPFLAGS'
80577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80581 cat >conftest.$ac_ext <<_ACEOF
80582 /* confdefs.h. */
80583 _ACEOF
80584 cat confdefs.h >>conftest.$ac_ext
80585 cat >>conftest.$ac_ext <<_ACEOF
80586 /* end confdefs.h. */
80587 #include <math.h>
80589 main ()
80591 modfl(0, 0);
80593 return 0;
80595 _ACEOF
80596 rm -f conftest.$ac_objext
80597 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80598 (eval $ac_compile) 2>conftest.er1
80599 ac_status=$?
80600 grep -v '^ *+' conftest.er1 >conftest.err
80601 rm -f conftest.er1
80602 cat conftest.err >&5
80603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80604 (exit $ac_status); } &&
80605 { ac_try='test -z "$ac_cxx_werror_flag"
80606 || test ! -s conftest.err'
80607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80608 (eval $ac_try) 2>&5
80609 ac_status=$?
80610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80611 (exit $ac_status); }; } &&
80612 { ac_try='test -s conftest.$ac_objext'
80613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80614 (eval $ac_try) 2>&5
80615 ac_status=$?
80616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80617 (exit $ac_status); }; }; then
80618 glibcxx_cv_func_modfl_use=yes
80619 else
80620 echo "$as_me: failed program was:" >&5
80621 sed 's/^/| /' conftest.$ac_ext >&5
80623 glibcxx_cv_func_modfl_use=no
80625 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80626 ac_ext=c
80627 ac_cpp='$CPP $CPPFLAGS'
80628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80636 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
80637 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
80639 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
80641 for ac_func in modfl
80643 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80644 echo "$as_me:$LINENO: checking for $ac_func" >&5
80645 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80646 if eval "test \"\${$as_ac_var+set}\" = set"; then
80647 echo $ECHO_N "(cached) $ECHO_C" >&6
80648 else
80649 if test x$gcc_no_link = xyes; then
80650 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80651 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80652 { (exit 1); exit 1; }; }
80654 cat >conftest.$ac_ext <<_ACEOF
80655 /* confdefs.h. */
80656 _ACEOF
80657 cat confdefs.h >>conftest.$ac_ext
80658 cat >>conftest.$ac_ext <<_ACEOF
80659 /* end confdefs.h. */
80660 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80661 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80662 #define $ac_func innocuous_$ac_func
80664 /* System header to define __stub macros and hopefully few prototypes,
80665 which can conflict with char $ac_func (); below.
80666 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80667 <limits.h> exists even on freestanding compilers. */
80669 #ifdef __STDC__
80670 # include <limits.h>
80671 #else
80672 # include <assert.h>
80673 #endif
80675 #undef $ac_func
80677 /* Override any gcc2 internal prototype to avoid an error. */
80678 #ifdef __cplusplus
80679 extern "C"
80681 #endif
80682 /* We use char because int might match the return type of a gcc2
80683 builtin and then its argument prototype would still apply. */
80684 char $ac_func ();
80685 /* The GNU C library defines this for functions which it implements
80686 to always fail with ENOSYS. Some functions are actually named
80687 something starting with __ and the normal name is an alias. */
80688 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80689 choke me
80690 #else
80691 char (*f) () = $ac_func;
80692 #endif
80693 #ifdef __cplusplus
80695 #endif
80698 main ()
80700 return f != $ac_func;
80702 return 0;
80704 _ACEOF
80705 rm -f conftest.$ac_objext conftest$ac_exeext
80706 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80707 (eval $ac_link) 2>conftest.er1
80708 ac_status=$?
80709 grep -v '^ *+' conftest.er1 >conftest.err
80710 rm -f conftest.er1
80711 cat conftest.err >&5
80712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80713 (exit $ac_status); } &&
80714 { ac_try='test -z "$ac_c_werror_flag"
80715 || test ! -s conftest.err'
80716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80717 (eval $ac_try) 2>&5
80718 ac_status=$?
80719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80720 (exit $ac_status); }; } &&
80721 { ac_try='test -s conftest$ac_exeext'
80722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80723 (eval $ac_try) 2>&5
80724 ac_status=$?
80725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80726 (exit $ac_status); }; }; then
80727 eval "$as_ac_var=yes"
80728 else
80729 echo "$as_me: failed program was:" >&5
80730 sed 's/^/| /' conftest.$ac_ext >&5
80732 eval "$as_ac_var=no"
80734 rm -f conftest.err conftest.$ac_objext \
80735 conftest$ac_exeext conftest.$ac_ext
80737 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80738 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80739 if test `eval echo '${'$as_ac_var'}'` = yes; then
80740 cat >>confdefs.h <<_ACEOF
80741 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80742 _ACEOF
80745 done
80747 else
80749 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
80750 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
80751 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
80752 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
80753 echo $ECHO_N "(cached) $ECHO_C" >&6
80754 else
80758 ac_ext=cc
80759 ac_cpp='$CXXCPP $CPPFLAGS'
80760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80764 cat >conftest.$ac_ext <<_ACEOF
80765 /* confdefs.h. */
80766 _ACEOF
80767 cat confdefs.h >>conftest.$ac_ext
80768 cat >>conftest.$ac_ext <<_ACEOF
80769 /* end confdefs.h. */
80770 #include <math.h>
80772 main ()
80774 _modfl(0, 0);
80776 return 0;
80778 _ACEOF
80779 rm -f conftest.$ac_objext
80780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80781 (eval $ac_compile) 2>conftest.er1
80782 ac_status=$?
80783 grep -v '^ *+' conftest.er1 >conftest.err
80784 rm -f conftest.er1
80785 cat conftest.err >&5
80786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80787 (exit $ac_status); } &&
80788 { ac_try='test -z "$ac_cxx_werror_flag"
80789 || test ! -s conftest.err'
80790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80791 (eval $ac_try) 2>&5
80792 ac_status=$?
80793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80794 (exit $ac_status); }; } &&
80795 { ac_try='test -s conftest.$ac_objext'
80796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80797 (eval $ac_try) 2>&5
80798 ac_status=$?
80799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80800 (exit $ac_status); }; }; then
80801 glibcxx_cv_func__modfl_use=yes
80802 else
80803 echo "$as_me: failed program was:" >&5
80804 sed 's/^/| /' conftest.$ac_ext >&5
80806 glibcxx_cv_func__modfl_use=no
80808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80809 ac_ext=c
80810 ac_cpp='$CPP $CPPFLAGS'
80811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80819 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
80820 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
80822 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
80824 for ac_func in _modfl
80826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80827 echo "$as_me:$LINENO: checking for $ac_func" >&5
80828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80829 if eval "test \"\${$as_ac_var+set}\" = set"; then
80830 echo $ECHO_N "(cached) $ECHO_C" >&6
80831 else
80832 if test x$gcc_no_link = xyes; then
80833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80835 { (exit 1); exit 1; }; }
80837 cat >conftest.$ac_ext <<_ACEOF
80838 /* confdefs.h. */
80839 _ACEOF
80840 cat confdefs.h >>conftest.$ac_ext
80841 cat >>conftest.$ac_ext <<_ACEOF
80842 /* end confdefs.h. */
80843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80845 #define $ac_func innocuous_$ac_func
80847 /* System header to define __stub macros and hopefully few prototypes,
80848 which can conflict with char $ac_func (); below.
80849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80850 <limits.h> exists even on freestanding compilers. */
80852 #ifdef __STDC__
80853 # include <limits.h>
80854 #else
80855 # include <assert.h>
80856 #endif
80858 #undef $ac_func
80860 /* Override any gcc2 internal prototype to avoid an error. */
80861 #ifdef __cplusplus
80862 extern "C"
80864 #endif
80865 /* We use char because int might match the return type of a gcc2
80866 builtin and then its argument prototype would still apply. */
80867 char $ac_func ();
80868 /* The GNU C library defines this for functions which it implements
80869 to always fail with ENOSYS. Some functions are actually named
80870 something starting with __ and the normal name is an alias. */
80871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80872 choke me
80873 #else
80874 char (*f) () = $ac_func;
80875 #endif
80876 #ifdef __cplusplus
80878 #endif
80881 main ()
80883 return f != $ac_func;
80885 return 0;
80887 _ACEOF
80888 rm -f conftest.$ac_objext conftest$ac_exeext
80889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80890 (eval $ac_link) 2>conftest.er1
80891 ac_status=$?
80892 grep -v '^ *+' conftest.er1 >conftest.err
80893 rm -f conftest.er1
80894 cat conftest.err >&5
80895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80896 (exit $ac_status); } &&
80897 { ac_try='test -z "$ac_c_werror_flag"
80898 || test ! -s conftest.err'
80899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80900 (eval $ac_try) 2>&5
80901 ac_status=$?
80902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80903 (exit $ac_status); }; } &&
80904 { ac_try='test -s conftest$ac_exeext'
80905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80906 (eval $ac_try) 2>&5
80907 ac_status=$?
80908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80909 (exit $ac_status); }; }; then
80910 eval "$as_ac_var=yes"
80911 else
80912 echo "$as_me: failed program was:" >&5
80913 sed 's/^/| /' conftest.$ac_ext >&5
80915 eval "$as_ac_var=no"
80917 rm -f conftest.err conftest.$ac_objext \
80918 conftest$ac_exeext conftest.$ac_ext
80920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80922 if test `eval echo '${'$as_ac_var'}'` = yes; then
80923 cat >>confdefs.h <<_ACEOF
80924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80925 _ACEOF
80928 done
80938 echo "$as_me:$LINENO: checking for powl declaration" >&5
80939 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
80940 if test x${glibcxx_cv_func_powl_use+set} != xset; then
80941 if test "${glibcxx_cv_func_powl_use+set}" = set; then
80942 echo $ECHO_N "(cached) $ECHO_C" >&6
80943 else
80947 ac_ext=cc
80948 ac_cpp='$CXXCPP $CPPFLAGS'
80949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80953 cat >conftest.$ac_ext <<_ACEOF
80954 /* confdefs.h. */
80955 _ACEOF
80956 cat confdefs.h >>conftest.$ac_ext
80957 cat >>conftest.$ac_ext <<_ACEOF
80958 /* end confdefs.h. */
80959 #include <math.h>
80961 main ()
80963 powl(0, 0);
80965 return 0;
80967 _ACEOF
80968 rm -f conftest.$ac_objext
80969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80970 (eval $ac_compile) 2>conftest.er1
80971 ac_status=$?
80972 grep -v '^ *+' conftest.er1 >conftest.err
80973 rm -f conftest.er1
80974 cat conftest.err >&5
80975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80976 (exit $ac_status); } &&
80977 { ac_try='test -z "$ac_cxx_werror_flag"
80978 || test ! -s conftest.err'
80979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80980 (eval $ac_try) 2>&5
80981 ac_status=$?
80982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80983 (exit $ac_status); }; } &&
80984 { ac_try='test -s conftest.$ac_objext'
80985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80986 (eval $ac_try) 2>&5
80987 ac_status=$?
80988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80989 (exit $ac_status); }; }; then
80990 glibcxx_cv_func_powl_use=yes
80991 else
80992 echo "$as_me: failed program was:" >&5
80993 sed 's/^/| /' conftest.$ac_ext >&5
80995 glibcxx_cv_func_powl_use=no
80997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80998 ac_ext=c
80999 ac_cpp='$CPP $CPPFLAGS'
81000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81008 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
81009 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
81011 if test x$glibcxx_cv_func_powl_use = x"yes"; then
81013 for ac_func in powl
81015 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81016 echo "$as_me:$LINENO: checking for $ac_func" >&5
81017 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81018 if eval "test \"\${$as_ac_var+set}\" = set"; then
81019 echo $ECHO_N "(cached) $ECHO_C" >&6
81020 else
81021 if test x$gcc_no_link = xyes; then
81022 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81023 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81024 { (exit 1); exit 1; }; }
81026 cat >conftest.$ac_ext <<_ACEOF
81027 /* confdefs.h. */
81028 _ACEOF
81029 cat confdefs.h >>conftest.$ac_ext
81030 cat >>conftest.$ac_ext <<_ACEOF
81031 /* end confdefs.h. */
81032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81034 #define $ac_func innocuous_$ac_func
81036 /* System header to define __stub macros and hopefully few prototypes,
81037 which can conflict with char $ac_func (); below.
81038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81039 <limits.h> exists even on freestanding compilers. */
81041 #ifdef __STDC__
81042 # include <limits.h>
81043 #else
81044 # include <assert.h>
81045 #endif
81047 #undef $ac_func
81049 /* Override any gcc2 internal prototype to avoid an error. */
81050 #ifdef __cplusplus
81051 extern "C"
81053 #endif
81054 /* We use char because int might match the return type of a gcc2
81055 builtin and then its argument prototype would still apply. */
81056 char $ac_func ();
81057 /* The GNU C library defines this for functions which it implements
81058 to always fail with ENOSYS. Some functions are actually named
81059 something starting with __ and the normal name is an alias. */
81060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81061 choke me
81062 #else
81063 char (*f) () = $ac_func;
81064 #endif
81065 #ifdef __cplusplus
81067 #endif
81070 main ()
81072 return f != $ac_func;
81074 return 0;
81076 _ACEOF
81077 rm -f conftest.$ac_objext conftest$ac_exeext
81078 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81079 (eval $ac_link) 2>conftest.er1
81080 ac_status=$?
81081 grep -v '^ *+' conftest.er1 >conftest.err
81082 rm -f conftest.er1
81083 cat conftest.err >&5
81084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81085 (exit $ac_status); } &&
81086 { ac_try='test -z "$ac_c_werror_flag"
81087 || test ! -s conftest.err'
81088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81089 (eval $ac_try) 2>&5
81090 ac_status=$?
81091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81092 (exit $ac_status); }; } &&
81093 { ac_try='test -s conftest$ac_exeext'
81094 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81095 (eval $ac_try) 2>&5
81096 ac_status=$?
81097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81098 (exit $ac_status); }; }; then
81099 eval "$as_ac_var=yes"
81100 else
81101 echo "$as_me: failed program was:" >&5
81102 sed 's/^/| /' conftest.$ac_ext >&5
81104 eval "$as_ac_var=no"
81106 rm -f conftest.err conftest.$ac_objext \
81107 conftest$ac_exeext conftest.$ac_ext
81109 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81110 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81111 if test `eval echo '${'$as_ac_var'}'` = yes; then
81112 cat >>confdefs.h <<_ACEOF
81113 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81114 _ACEOF
81117 done
81119 else
81121 echo "$as_me:$LINENO: checking for _powl declaration" >&5
81122 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
81123 if test x${glibcxx_cv_func__powl_use+set} != xset; then
81124 if test "${glibcxx_cv_func__powl_use+set}" = set; then
81125 echo $ECHO_N "(cached) $ECHO_C" >&6
81126 else
81130 ac_ext=cc
81131 ac_cpp='$CXXCPP $CPPFLAGS'
81132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81136 cat >conftest.$ac_ext <<_ACEOF
81137 /* confdefs.h. */
81138 _ACEOF
81139 cat confdefs.h >>conftest.$ac_ext
81140 cat >>conftest.$ac_ext <<_ACEOF
81141 /* end confdefs.h. */
81142 #include <math.h>
81144 main ()
81146 _powl(0, 0);
81148 return 0;
81150 _ACEOF
81151 rm -f conftest.$ac_objext
81152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81153 (eval $ac_compile) 2>conftest.er1
81154 ac_status=$?
81155 grep -v '^ *+' conftest.er1 >conftest.err
81156 rm -f conftest.er1
81157 cat conftest.err >&5
81158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81159 (exit $ac_status); } &&
81160 { ac_try='test -z "$ac_cxx_werror_flag"
81161 || test ! -s conftest.err'
81162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81163 (eval $ac_try) 2>&5
81164 ac_status=$?
81165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81166 (exit $ac_status); }; } &&
81167 { ac_try='test -s conftest.$ac_objext'
81168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81169 (eval $ac_try) 2>&5
81170 ac_status=$?
81171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81172 (exit $ac_status); }; }; then
81173 glibcxx_cv_func__powl_use=yes
81174 else
81175 echo "$as_me: failed program was:" >&5
81176 sed 's/^/| /' conftest.$ac_ext >&5
81178 glibcxx_cv_func__powl_use=no
81180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81181 ac_ext=c
81182 ac_cpp='$CPP $CPPFLAGS'
81183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81191 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
81192 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
81194 if test x$glibcxx_cv_func__powl_use = x"yes"; then
81196 for ac_func in _powl
81198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81199 echo "$as_me:$LINENO: checking for $ac_func" >&5
81200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81201 if eval "test \"\${$as_ac_var+set}\" = set"; then
81202 echo $ECHO_N "(cached) $ECHO_C" >&6
81203 else
81204 if test x$gcc_no_link = xyes; then
81205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81207 { (exit 1); exit 1; }; }
81209 cat >conftest.$ac_ext <<_ACEOF
81210 /* confdefs.h. */
81211 _ACEOF
81212 cat confdefs.h >>conftest.$ac_ext
81213 cat >>conftest.$ac_ext <<_ACEOF
81214 /* end confdefs.h. */
81215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81217 #define $ac_func innocuous_$ac_func
81219 /* System header to define __stub macros and hopefully few prototypes,
81220 which can conflict with char $ac_func (); below.
81221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81222 <limits.h> exists even on freestanding compilers. */
81224 #ifdef __STDC__
81225 # include <limits.h>
81226 #else
81227 # include <assert.h>
81228 #endif
81230 #undef $ac_func
81232 /* Override any gcc2 internal prototype to avoid an error. */
81233 #ifdef __cplusplus
81234 extern "C"
81236 #endif
81237 /* We use char because int might match the return type of a gcc2
81238 builtin and then its argument prototype would still apply. */
81239 char $ac_func ();
81240 /* The GNU C library defines this for functions which it implements
81241 to always fail with ENOSYS. Some functions are actually named
81242 something starting with __ and the normal name is an alias. */
81243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81244 choke me
81245 #else
81246 char (*f) () = $ac_func;
81247 #endif
81248 #ifdef __cplusplus
81250 #endif
81253 main ()
81255 return f != $ac_func;
81257 return 0;
81259 _ACEOF
81260 rm -f conftest.$ac_objext conftest$ac_exeext
81261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81262 (eval $ac_link) 2>conftest.er1
81263 ac_status=$?
81264 grep -v '^ *+' conftest.er1 >conftest.err
81265 rm -f conftest.er1
81266 cat conftest.err >&5
81267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81268 (exit $ac_status); } &&
81269 { ac_try='test -z "$ac_c_werror_flag"
81270 || test ! -s conftest.err'
81271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81272 (eval $ac_try) 2>&5
81273 ac_status=$?
81274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81275 (exit $ac_status); }; } &&
81276 { ac_try='test -s conftest$ac_exeext'
81277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81278 (eval $ac_try) 2>&5
81279 ac_status=$?
81280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81281 (exit $ac_status); }; }; then
81282 eval "$as_ac_var=yes"
81283 else
81284 echo "$as_me: failed program was:" >&5
81285 sed 's/^/| /' conftest.$ac_ext >&5
81287 eval "$as_ac_var=no"
81289 rm -f conftest.err conftest.$ac_objext \
81290 conftest$ac_exeext conftest.$ac_ext
81292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81294 if test `eval echo '${'$as_ac_var'}'` = yes; then
81295 cat >>confdefs.h <<_ACEOF
81296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81297 _ACEOF
81300 done
81310 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
81311 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
81312 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
81313 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
81314 echo $ECHO_N "(cached) $ECHO_C" >&6
81315 else
81319 ac_ext=cc
81320 ac_cpp='$CXXCPP $CPPFLAGS'
81321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81325 cat >conftest.$ac_ext <<_ACEOF
81326 /* confdefs.h. */
81327 _ACEOF
81328 cat confdefs.h >>conftest.$ac_ext
81329 cat >>conftest.$ac_ext <<_ACEOF
81330 /* end confdefs.h. */
81331 #include <math.h>
81332 #ifdef HAVE_IEEEFP_H
81333 #include <ieeefp.h>
81334 #endif
81337 main ()
81339 sqrtl(0);
81341 return 0;
81343 _ACEOF
81344 rm -f conftest.$ac_objext
81345 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81346 (eval $ac_compile) 2>conftest.er1
81347 ac_status=$?
81348 grep -v '^ *+' conftest.er1 >conftest.err
81349 rm -f conftest.er1
81350 cat conftest.err >&5
81351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81352 (exit $ac_status); } &&
81353 { ac_try='test -z "$ac_cxx_werror_flag"
81354 || test ! -s conftest.err'
81355 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81356 (eval $ac_try) 2>&5
81357 ac_status=$?
81358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81359 (exit $ac_status); }; } &&
81360 { ac_try='test -s conftest.$ac_objext'
81361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81362 (eval $ac_try) 2>&5
81363 ac_status=$?
81364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81365 (exit $ac_status); }; }; then
81366 glibcxx_cv_func_sqrtl_use=yes
81367 else
81368 echo "$as_me: failed program was:" >&5
81369 sed 's/^/| /' conftest.$ac_ext >&5
81371 glibcxx_cv_func_sqrtl_use=no
81373 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81374 ac_ext=c
81375 ac_cpp='$CPP $CPPFLAGS'
81376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81384 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
81385 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
81387 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
81389 for ac_func in sqrtl
81391 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81392 echo "$as_me:$LINENO: checking for $ac_func" >&5
81393 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81394 if eval "test \"\${$as_ac_var+set}\" = set"; then
81395 echo $ECHO_N "(cached) $ECHO_C" >&6
81396 else
81397 if test x$gcc_no_link = xyes; then
81398 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81399 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81400 { (exit 1); exit 1; }; }
81402 cat >conftest.$ac_ext <<_ACEOF
81403 /* confdefs.h. */
81404 _ACEOF
81405 cat confdefs.h >>conftest.$ac_ext
81406 cat >>conftest.$ac_ext <<_ACEOF
81407 /* end confdefs.h. */
81408 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81409 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81410 #define $ac_func innocuous_$ac_func
81412 /* System header to define __stub macros and hopefully few prototypes,
81413 which can conflict with char $ac_func (); below.
81414 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81415 <limits.h> exists even on freestanding compilers. */
81417 #ifdef __STDC__
81418 # include <limits.h>
81419 #else
81420 # include <assert.h>
81421 #endif
81423 #undef $ac_func
81425 /* Override any gcc2 internal prototype to avoid an error. */
81426 #ifdef __cplusplus
81427 extern "C"
81429 #endif
81430 /* We use char because int might match the return type of a gcc2
81431 builtin and then its argument prototype would still apply. */
81432 char $ac_func ();
81433 /* The GNU C library defines this for functions which it implements
81434 to always fail with ENOSYS. Some functions are actually named
81435 something starting with __ and the normal name is an alias. */
81436 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81437 choke me
81438 #else
81439 char (*f) () = $ac_func;
81440 #endif
81441 #ifdef __cplusplus
81443 #endif
81446 main ()
81448 return f != $ac_func;
81450 return 0;
81452 _ACEOF
81453 rm -f conftest.$ac_objext conftest$ac_exeext
81454 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81455 (eval $ac_link) 2>conftest.er1
81456 ac_status=$?
81457 grep -v '^ *+' conftest.er1 >conftest.err
81458 rm -f conftest.er1
81459 cat conftest.err >&5
81460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81461 (exit $ac_status); } &&
81462 { ac_try='test -z "$ac_c_werror_flag"
81463 || test ! -s conftest.err'
81464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81465 (eval $ac_try) 2>&5
81466 ac_status=$?
81467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81468 (exit $ac_status); }; } &&
81469 { ac_try='test -s conftest$ac_exeext'
81470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81471 (eval $ac_try) 2>&5
81472 ac_status=$?
81473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81474 (exit $ac_status); }; }; then
81475 eval "$as_ac_var=yes"
81476 else
81477 echo "$as_me: failed program was:" >&5
81478 sed 's/^/| /' conftest.$ac_ext >&5
81480 eval "$as_ac_var=no"
81482 rm -f conftest.err conftest.$ac_objext \
81483 conftest$ac_exeext conftest.$ac_ext
81485 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81486 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81487 if test `eval echo '${'$as_ac_var'}'` = yes; then
81488 cat >>confdefs.h <<_ACEOF
81489 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81490 _ACEOF
81493 done
81495 else
81497 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
81498 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
81499 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
81500 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
81501 echo $ECHO_N "(cached) $ECHO_C" >&6
81502 else
81506 ac_ext=cc
81507 ac_cpp='$CXXCPP $CPPFLAGS'
81508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81512 cat >conftest.$ac_ext <<_ACEOF
81513 /* confdefs.h. */
81514 _ACEOF
81515 cat confdefs.h >>conftest.$ac_ext
81516 cat >>conftest.$ac_ext <<_ACEOF
81517 /* end confdefs.h. */
81518 #include <math.h>
81519 #ifdef HAVE_IEEEFP_H
81520 #include <ieeefp.h>
81521 #endif
81524 main ()
81526 _sqrtl(0);
81528 return 0;
81530 _ACEOF
81531 rm -f conftest.$ac_objext
81532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81533 (eval $ac_compile) 2>conftest.er1
81534 ac_status=$?
81535 grep -v '^ *+' conftest.er1 >conftest.err
81536 rm -f conftest.er1
81537 cat conftest.err >&5
81538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81539 (exit $ac_status); } &&
81540 { ac_try='test -z "$ac_cxx_werror_flag"
81541 || test ! -s conftest.err'
81542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81543 (eval $ac_try) 2>&5
81544 ac_status=$?
81545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81546 (exit $ac_status); }; } &&
81547 { ac_try='test -s conftest.$ac_objext'
81548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81549 (eval $ac_try) 2>&5
81550 ac_status=$?
81551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81552 (exit $ac_status); }; }; then
81553 glibcxx_cv_func__sqrtl_use=yes
81554 else
81555 echo "$as_me: failed program was:" >&5
81556 sed 's/^/| /' conftest.$ac_ext >&5
81558 glibcxx_cv_func__sqrtl_use=no
81560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81561 ac_ext=c
81562 ac_cpp='$CPP $CPPFLAGS'
81563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81571 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
81572 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
81574 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
81576 for ac_func in _sqrtl
81578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81579 echo "$as_me:$LINENO: checking for $ac_func" >&5
81580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81581 if eval "test \"\${$as_ac_var+set}\" = set"; then
81582 echo $ECHO_N "(cached) $ECHO_C" >&6
81583 else
81584 if test x$gcc_no_link = xyes; then
81585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81587 { (exit 1); exit 1; }; }
81589 cat >conftest.$ac_ext <<_ACEOF
81590 /* confdefs.h. */
81591 _ACEOF
81592 cat confdefs.h >>conftest.$ac_ext
81593 cat >>conftest.$ac_ext <<_ACEOF
81594 /* end confdefs.h. */
81595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81597 #define $ac_func innocuous_$ac_func
81599 /* System header to define __stub macros and hopefully few prototypes,
81600 which can conflict with char $ac_func (); below.
81601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81602 <limits.h> exists even on freestanding compilers. */
81604 #ifdef __STDC__
81605 # include <limits.h>
81606 #else
81607 # include <assert.h>
81608 #endif
81610 #undef $ac_func
81612 /* Override any gcc2 internal prototype to avoid an error. */
81613 #ifdef __cplusplus
81614 extern "C"
81616 #endif
81617 /* We use char because int might match the return type of a gcc2
81618 builtin and then its argument prototype would still apply. */
81619 char $ac_func ();
81620 /* The GNU C library defines this for functions which it implements
81621 to always fail with ENOSYS. Some functions are actually named
81622 something starting with __ and the normal name is an alias. */
81623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81624 choke me
81625 #else
81626 char (*f) () = $ac_func;
81627 #endif
81628 #ifdef __cplusplus
81630 #endif
81633 main ()
81635 return f != $ac_func;
81637 return 0;
81639 _ACEOF
81640 rm -f conftest.$ac_objext conftest$ac_exeext
81641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81642 (eval $ac_link) 2>conftest.er1
81643 ac_status=$?
81644 grep -v '^ *+' conftest.er1 >conftest.err
81645 rm -f conftest.er1
81646 cat conftest.err >&5
81647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81648 (exit $ac_status); } &&
81649 { ac_try='test -z "$ac_c_werror_flag"
81650 || test ! -s conftest.err'
81651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81652 (eval $ac_try) 2>&5
81653 ac_status=$?
81654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81655 (exit $ac_status); }; } &&
81656 { ac_try='test -s conftest$ac_exeext'
81657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81658 (eval $ac_try) 2>&5
81659 ac_status=$?
81660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81661 (exit $ac_status); }; }; then
81662 eval "$as_ac_var=yes"
81663 else
81664 echo "$as_me: failed program was:" >&5
81665 sed 's/^/| /' conftest.$ac_ext >&5
81667 eval "$as_ac_var=no"
81669 rm -f conftest.err conftest.$ac_objext \
81670 conftest$ac_exeext conftest.$ac_ext
81672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81674 if test `eval echo '${'$as_ac_var'}'` = yes; then
81675 cat >>confdefs.h <<_ACEOF
81676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81677 _ACEOF
81680 done
81690 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
81691 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
81692 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
81693 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
81694 echo $ECHO_N "(cached) $ECHO_C" >&6
81695 else
81699 ac_ext=cc
81700 ac_cpp='$CXXCPP $CPPFLAGS'
81701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81705 cat >conftest.$ac_ext <<_ACEOF
81706 /* confdefs.h. */
81707 _ACEOF
81708 cat confdefs.h >>conftest.$ac_ext
81709 cat >>conftest.$ac_ext <<_ACEOF
81710 /* end confdefs.h. */
81711 #include <math.h>
81713 main ()
81715 sincosl(0, 0, 0);
81717 return 0;
81719 _ACEOF
81720 rm -f conftest.$ac_objext
81721 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81722 (eval $ac_compile) 2>conftest.er1
81723 ac_status=$?
81724 grep -v '^ *+' conftest.er1 >conftest.err
81725 rm -f conftest.er1
81726 cat conftest.err >&5
81727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81728 (exit $ac_status); } &&
81729 { ac_try='test -z "$ac_cxx_werror_flag"
81730 || test ! -s conftest.err'
81731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81732 (eval $ac_try) 2>&5
81733 ac_status=$?
81734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81735 (exit $ac_status); }; } &&
81736 { ac_try='test -s conftest.$ac_objext'
81737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81738 (eval $ac_try) 2>&5
81739 ac_status=$?
81740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81741 (exit $ac_status); }; }; then
81742 glibcxx_cv_func_sincosl_use=yes
81743 else
81744 echo "$as_me: failed program was:" >&5
81745 sed 's/^/| /' conftest.$ac_ext >&5
81747 glibcxx_cv_func_sincosl_use=no
81749 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81750 ac_ext=c
81751 ac_cpp='$CPP $CPPFLAGS'
81752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81760 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
81761 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
81763 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
81765 for ac_func in sincosl
81767 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81768 echo "$as_me:$LINENO: checking for $ac_func" >&5
81769 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81770 if eval "test \"\${$as_ac_var+set}\" = set"; then
81771 echo $ECHO_N "(cached) $ECHO_C" >&6
81772 else
81773 if test x$gcc_no_link = xyes; then
81774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81776 { (exit 1); exit 1; }; }
81778 cat >conftest.$ac_ext <<_ACEOF
81779 /* confdefs.h. */
81780 _ACEOF
81781 cat confdefs.h >>conftest.$ac_ext
81782 cat >>conftest.$ac_ext <<_ACEOF
81783 /* end confdefs.h. */
81784 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81785 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81786 #define $ac_func innocuous_$ac_func
81788 /* System header to define __stub macros and hopefully few prototypes,
81789 which can conflict with char $ac_func (); below.
81790 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81791 <limits.h> exists even on freestanding compilers. */
81793 #ifdef __STDC__
81794 # include <limits.h>
81795 #else
81796 # include <assert.h>
81797 #endif
81799 #undef $ac_func
81801 /* Override any gcc2 internal prototype to avoid an error. */
81802 #ifdef __cplusplus
81803 extern "C"
81805 #endif
81806 /* We use char because int might match the return type of a gcc2
81807 builtin and then its argument prototype would still apply. */
81808 char $ac_func ();
81809 /* The GNU C library defines this for functions which it implements
81810 to always fail with ENOSYS. Some functions are actually named
81811 something starting with __ and the normal name is an alias. */
81812 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81813 choke me
81814 #else
81815 char (*f) () = $ac_func;
81816 #endif
81817 #ifdef __cplusplus
81819 #endif
81822 main ()
81824 return f != $ac_func;
81826 return 0;
81828 _ACEOF
81829 rm -f conftest.$ac_objext conftest$ac_exeext
81830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81831 (eval $ac_link) 2>conftest.er1
81832 ac_status=$?
81833 grep -v '^ *+' conftest.er1 >conftest.err
81834 rm -f conftest.er1
81835 cat conftest.err >&5
81836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81837 (exit $ac_status); } &&
81838 { ac_try='test -z "$ac_c_werror_flag"
81839 || test ! -s conftest.err'
81840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81841 (eval $ac_try) 2>&5
81842 ac_status=$?
81843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81844 (exit $ac_status); }; } &&
81845 { ac_try='test -s conftest$ac_exeext'
81846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81847 (eval $ac_try) 2>&5
81848 ac_status=$?
81849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81850 (exit $ac_status); }; }; then
81851 eval "$as_ac_var=yes"
81852 else
81853 echo "$as_me: failed program was:" >&5
81854 sed 's/^/| /' conftest.$ac_ext >&5
81856 eval "$as_ac_var=no"
81858 rm -f conftest.err conftest.$ac_objext \
81859 conftest$ac_exeext conftest.$ac_ext
81861 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81862 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81863 if test `eval echo '${'$as_ac_var'}'` = yes; then
81864 cat >>confdefs.h <<_ACEOF
81865 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81866 _ACEOF
81869 done
81871 else
81873 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
81874 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
81875 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
81876 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
81877 echo $ECHO_N "(cached) $ECHO_C" >&6
81878 else
81882 ac_ext=cc
81883 ac_cpp='$CXXCPP $CPPFLAGS'
81884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81888 cat >conftest.$ac_ext <<_ACEOF
81889 /* confdefs.h. */
81890 _ACEOF
81891 cat confdefs.h >>conftest.$ac_ext
81892 cat >>conftest.$ac_ext <<_ACEOF
81893 /* end confdefs.h. */
81894 #include <math.h>
81896 main ()
81898 _sincosl(0, 0, 0);
81900 return 0;
81902 _ACEOF
81903 rm -f conftest.$ac_objext
81904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81905 (eval $ac_compile) 2>conftest.er1
81906 ac_status=$?
81907 grep -v '^ *+' conftest.er1 >conftest.err
81908 rm -f conftest.er1
81909 cat conftest.err >&5
81910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81911 (exit $ac_status); } &&
81912 { ac_try='test -z "$ac_cxx_werror_flag"
81913 || test ! -s conftest.err'
81914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81915 (eval $ac_try) 2>&5
81916 ac_status=$?
81917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81918 (exit $ac_status); }; } &&
81919 { ac_try='test -s conftest.$ac_objext'
81920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81921 (eval $ac_try) 2>&5
81922 ac_status=$?
81923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81924 (exit $ac_status); }; }; then
81925 glibcxx_cv_func__sincosl_use=yes
81926 else
81927 echo "$as_me: failed program was:" >&5
81928 sed 's/^/| /' conftest.$ac_ext >&5
81930 glibcxx_cv_func__sincosl_use=no
81932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81933 ac_ext=c
81934 ac_cpp='$CPP $CPPFLAGS'
81935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81943 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
81944 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
81946 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
81948 for ac_func in _sincosl
81950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81951 echo "$as_me:$LINENO: checking for $ac_func" >&5
81952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81953 if eval "test \"\${$as_ac_var+set}\" = set"; then
81954 echo $ECHO_N "(cached) $ECHO_C" >&6
81955 else
81956 if test x$gcc_no_link = xyes; then
81957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81959 { (exit 1); exit 1; }; }
81961 cat >conftest.$ac_ext <<_ACEOF
81962 /* confdefs.h. */
81963 _ACEOF
81964 cat confdefs.h >>conftest.$ac_ext
81965 cat >>conftest.$ac_ext <<_ACEOF
81966 /* end confdefs.h. */
81967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81969 #define $ac_func innocuous_$ac_func
81971 /* System header to define __stub macros and hopefully few prototypes,
81972 which can conflict with char $ac_func (); below.
81973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81974 <limits.h> exists even on freestanding compilers. */
81976 #ifdef __STDC__
81977 # include <limits.h>
81978 #else
81979 # include <assert.h>
81980 #endif
81982 #undef $ac_func
81984 /* Override any gcc2 internal prototype to avoid an error. */
81985 #ifdef __cplusplus
81986 extern "C"
81988 #endif
81989 /* We use char because int might match the return type of a gcc2
81990 builtin and then its argument prototype would still apply. */
81991 char $ac_func ();
81992 /* The GNU C library defines this for functions which it implements
81993 to always fail with ENOSYS. Some functions are actually named
81994 something starting with __ and the normal name is an alias. */
81995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81996 choke me
81997 #else
81998 char (*f) () = $ac_func;
81999 #endif
82000 #ifdef __cplusplus
82002 #endif
82005 main ()
82007 return f != $ac_func;
82009 return 0;
82011 _ACEOF
82012 rm -f conftest.$ac_objext conftest$ac_exeext
82013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82014 (eval $ac_link) 2>conftest.er1
82015 ac_status=$?
82016 grep -v '^ *+' conftest.er1 >conftest.err
82017 rm -f conftest.er1
82018 cat conftest.err >&5
82019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82020 (exit $ac_status); } &&
82021 { ac_try='test -z "$ac_c_werror_flag"
82022 || test ! -s conftest.err'
82023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82024 (eval $ac_try) 2>&5
82025 ac_status=$?
82026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82027 (exit $ac_status); }; } &&
82028 { ac_try='test -s conftest$ac_exeext'
82029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82030 (eval $ac_try) 2>&5
82031 ac_status=$?
82032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82033 (exit $ac_status); }; }; then
82034 eval "$as_ac_var=yes"
82035 else
82036 echo "$as_me: failed program was:" >&5
82037 sed 's/^/| /' conftest.$ac_ext >&5
82039 eval "$as_ac_var=no"
82041 rm -f conftest.err conftest.$ac_objext \
82042 conftest$ac_exeext conftest.$ac_ext
82044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82046 if test `eval echo '${'$as_ac_var'}'` = yes; then
82047 cat >>confdefs.h <<_ACEOF
82048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82049 _ACEOF
82052 done
82062 echo "$as_me:$LINENO: checking for finitel declaration" >&5
82063 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
82064 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
82065 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
82066 echo $ECHO_N "(cached) $ECHO_C" >&6
82067 else
82071 ac_ext=cc
82072 ac_cpp='$CXXCPP $CPPFLAGS'
82073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82077 cat >conftest.$ac_ext <<_ACEOF
82078 /* confdefs.h. */
82079 _ACEOF
82080 cat confdefs.h >>conftest.$ac_ext
82081 cat >>conftest.$ac_ext <<_ACEOF
82082 /* end confdefs.h. */
82083 #include <math.h>
82084 #ifdef HAVE_IEEEFP_H
82085 #include <ieeefp.h>
82086 #endif
82089 main ()
82091 finitel(0);
82093 return 0;
82095 _ACEOF
82096 rm -f conftest.$ac_objext
82097 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82098 (eval $ac_compile) 2>conftest.er1
82099 ac_status=$?
82100 grep -v '^ *+' conftest.er1 >conftest.err
82101 rm -f conftest.er1
82102 cat conftest.err >&5
82103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82104 (exit $ac_status); } &&
82105 { ac_try='test -z "$ac_cxx_werror_flag"
82106 || test ! -s conftest.err'
82107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82108 (eval $ac_try) 2>&5
82109 ac_status=$?
82110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82111 (exit $ac_status); }; } &&
82112 { ac_try='test -s conftest.$ac_objext'
82113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82114 (eval $ac_try) 2>&5
82115 ac_status=$?
82116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82117 (exit $ac_status); }; }; then
82118 glibcxx_cv_func_finitel_use=yes
82119 else
82120 echo "$as_me: failed program was:" >&5
82121 sed 's/^/| /' conftest.$ac_ext >&5
82123 glibcxx_cv_func_finitel_use=no
82125 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82126 ac_ext=c
82127 ac_cpp='$CPP $CPPFLAGS'
82128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82136 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
82137 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
82139 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
82141 for ac_func in finitel
82143 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82144 echo "$as_me:$LINENO: checking for $ac_func" >&5
82145 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82146 if eval "test \"\${$as_ac_var+set}\" = set"; then
82147 echo $ECHO_N "(cached) $ECHO_C" >&6
82148 else
82149 if test x$gcc_no_link = xyes; then
82150 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82151 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82152 { (exit 1); exit 1; }; }
82154 cat >conftest.$ac_ext <<_ACEOF
82155 /* confdefs.h. */
82156 _ACEOF
82157 cat confdefs.h >>conftest.$ac_ext
82158 cat >>conftest.$ac_ext <<_ACEOF
82159 /* end confdefs.h. */
82160 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82161 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82162 #define $ac_func innocuous_$ac_func
82164 /* System header to define __stub macros and hopefully few prototypes,
82165 which can conflict with char $ac_func (); below.
82166 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82167 <limits.h> exists even on freestanding compilers. */
82169 #ifdef __STDC__
82170 # include <limits.h>
82171 #else
82172 # include <assert.h>
82173 #endif
82175 #undef $ac_func
82177 /* Override any gcc2 internal prototype to avoid an error. */
82178 #ifdef __cplusplus
82179 extern "C"
82181 #endif
82182 /* We use char because int might match the return type of a gcc2
82183 builtin and then its argument prototype would still apply. */
82184 char $ac_func ();
82185 /* The GNU C library defines this for functions which it implements
82186 to always fail with ENOSYS. Some functions are actually named
82187 something starting with __ and the normal name is an alias. */
82188 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82189 choke me
82190 #else
82191 char (*f) () = $ac_func;
82192 #endif
82193 #ifdef __cplusplus
82195 #endif
82198 main ()
82200 return f != $ac_func;
82202 return 0;
82204 _ACEOF
82205 rm -f conftest.$ac_objext conftest$ac_exeext
82206 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82207 (eval $ac_link) 2>conftest.er1
82208 ac_status=$?
82209 grep -v '^ *+' conftest.er1 >conftest.err
82210 rm -f conftest.er1
82211 cat conftest.err >&5
82212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82213 (exit $ac_status); } &&
82214 { ac_try='test -z "$ac_c_werror_flag"
82215 || test ! -s conftest.err'
82216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82217 (eval $ac_try) 2>&5
82218 ac_status=$?
82219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82220 (exit $ac_status); }; } &&
82221 { ac_try='test -s conftest$ac_exeext'
82222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82223 (eval $ac_try) 2>&5
82224 ac_status=$?
82225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82226 (exit $ac_status); }; }; then
82227 eval "$as_ac_var=yes"
82228 else
82229 echo "$as_me: failed program was:" >&5
82230 sed 's/^/| /' conftest.$ac_ext >&5
82232 eval "$as_ac_var=no"
82234 rm -f conftest.err conftest.$ac_objext \
82235 conftest$ac_exeext conftest.$ac_ext
82237 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82238 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82239 if test `eval echo '${'$as_ac_var'}'` = yes; then
82240 cat >>confdefs.h <<_ACEOF
82241 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82242 _ACEOF
82245 done
82247 else
82249 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
82250 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
82251 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
82252 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
82253 echo $ECHO_N "(cached) $ECHO_C" >&6
82254 else
82258 ac_ext=cc
82259 ac_cpp='$CXXCPP $CPPFLAGS'
82260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82264 cat >conftest.$ac_ext <<_ACEOF
82265 /* confdefs.h. */
82266 _ACEOF
82267 cat confdefs.h >>conftest.$ac_ext
82268 cat >>conftest.$ac_ext <<_ACEOF
82269 /* end confdefs.h. */
82270 #include <math.h>
82271 #ifdef HAVE_IEEEFP_H
82272 #include <ieeefp.h>
82273 #endif
82276 main ()
82278 _finitel(0);
82280 return 0;
82282 _ACEOF
82283 rm -f conftest.$ac_objext
82284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82285 (eval $ac_compile) 2>conftest.er1
82286 ac_status=$?
82287 grep -v '^ *+' conftest.er1 >conftest.err
82288 rm -f conftest.er1
82289 cat conftest.err >&5
82290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82291 (exit $ac_status); } &&
82292 { ac_try='test -z "$ac_cxx_werror_flag"
82293 || test ! -s conftest.err'
82294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82295 (eval $ac_try) 2>&5
82296 ac_status=$?
82297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82298 (exit $ac_status); }; } &&
82299 { ac_try='test -s conftest.$ac_objext'
82300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82301 (eval $ac_try) 2>&5
82302 ac_status=$?
82303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82304 (exit $ac_status); }; }; then
82305 glibcxx_cv_func__finitel_use=yes
82306 else
82307 echo "$as_me: failed program was:" >&5
82308 sed 's/^/| /' conftest.$ac_ext >&5
82310 glibcxx_cv_func__finitel_use=no
82312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82313 ac_ext=c
82314 ac_cpp='$CPP $CPPFLAGS'
82315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82323 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
82324 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
82326 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
82328 for ac_func in _finitel
82330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82331 echo "$as_me:$LINENO: checking for $ac_func" >&5
82332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82333 if eval "test \"\${$as_ac_var+set}\" = set"; then
82334 echo $ECHO_N "(cached) $ECHO_C" >&6
82335 else
82336 if test x$gcc_no_link = xyes; then
82337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82339 { (exit 1); exit 1; }; }
82341 cat >conftest.$ac_ext <<_ACEOF
82342 /* confdefs.h. */
82343 _ACEOF
82344 cat confdefs.h >>conftest.$ac_ext
82345 cat >>conftest.$ac_ext <<_ACEOF
82346 /* end confdefs.h. */
82347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82349 #define $ac_func innocuous_$ac_func
82351 /* System header to define __stub macros and hopefully few prototypes,
82352 which can conflict with char $ac_func (); below.
82353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82354 <limits.h> exists even on freestanding compilers. */
82356 #ifdef __STDC__
82357 # include <limits.h>
82358 #else
82359 # include <assert.h>
82360 #endif
82362 #undef $ac_func
82364 /* Override any gcc2 internal prototype to avoid an error. */
82365 #ifdef __cplusplus
82366 extern "C"
82368 #endif
82369 /* We use char because int might match the return type of a gcc2
82370 builtin and then its argument prototype would still apply. */
82371 char $ac_func ();
82372 /* The GNU C library defines this for functions which it implements
82373 to always fail with ENOSYS. Some functions are actually named
82374 something starting with __ and the normal name is an alias. */
82375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82376 choke me
82377 #else
82378 char (*f) () = $ac_func;
82379 #endif
82380 #ifdef __cplusplus
82382 #endif
82385 main ()
82387 return f != $ac_func;
82389 return 0;
82391 _ACEOF
82392 rm -f conftest.$ac_objext conftest$ac_exeext
82393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82394 (eval $ac_link) 2>conftest.er1
82395 ac_status=$?
82396 grep -v '^ *+' conftest.er1 >conftest.err
82397 rm -f conftest.er1
82398 cat conftest.err >&5
82399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82400 (exit $ac_status); } &&
82401 { ac_try='test -z "$ac_c_werror_flag"
82402 || test ! -s conftest.err'
82403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82404 (eval $ac_try) 2>&5
82405 ac_status=$?
82406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82407 (exit $ac_status); }; } &&
82408 { ac_try='test -s conftest$ac_exeext'
82409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82410 (eval $ac_try) 2>&5
82411 ac_status=$?
82412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82413 (exit $ac_status); }; }; then
82414 eval "$as_ac_var=yes"
82415 else
82416 echo "$as_me: failed program was:" >&5
82417 sed 's/^/| /' conftest.$ac_ext >&5
82419 eval "$as_ac_var=no"
82421 rm -f conftest.err conftest.$ac_objext \
82422 conftest$ac_exeext conftest.$ac_ext
82424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82426 if test `eval echo '${'$as_ac_var'}'` = yes; then
82427 cat >>confdefs.h <<_ACEOF
82428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82429 _ACEOF
82432 done
82441 LIBS="$ac_save_LIBS"
82442 CXXFLAGS="$ac_save_CXXFLAGS"
82446 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
82447 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
82448 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
82449 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
82450 echo $ECHO_N "(cached) $ECHO_C" >&6
82451 else
82455 ac_ext=cc
82456 ac_cpp='$CXXCPP $CPPFLAGS'
82457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82461 cat >conftest.$ac_ext <<_ACEOF
82462 /* confdefs.h. */
82463 _ACEOF
82464 cat confdefs.h >>conftest.$ac_ext
82465 cat >>conftest.$ac_ext <<_ACEOF
82466 /* end confdefs.h. */
82467 #include <math.h>
82469 main ()
82471 __builtin_abs(0);
82473 return 0;
82475 _ACEOF
82476 rm -f conftest.$ac_objext
82477 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82478 (eval $ac_compile) 2>conftest.er1
82479 ac_status=$?
82480 grep -v '^ *+' conftest.er1 >conftest.err
82481 rm -f conftest.er1
82482 cat conftest.err >&5
82483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82484 (exit $ac_status); } &&
82485 { ac_try='test -z "$ac_cxx_werror_flag"
82486 || test ! -s conftest.err'
82487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82488 (eval $ac_try) 2>&5
82489 ac_status=$?
82490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82491 (exit $ac_status); }; } &&
82492 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
82498 glibcxx_cv_func___builtin_abs_use=yes
82499 else
82500 echo "$as_me: failed program was:" >&5
82501 sed 's/^/| /' conftest.$ac_ext >&5
82503 glibcxx_cv_func___builtin_abs_use=no
82505 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82506 ac_ext=c
82507 ac_cpp='$CPP $CPPFLAGS'
82508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82516 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
82517 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
82518 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
82519 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
82520 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
82521 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
82522 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
82523 echo $ECHO_N "(cached) $ECHO_C" >&6
82524 else
82526 if test x$gcc_no_link = xyes; then
82527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82529 { (exit 1); exit 1; }; }
82531 cat >conftest.$ac_ext <<_ACEOF
82532 /* confdefs.h. */
82533 _ACEOF
82534 cat confdefs.h >>conftest.$ac_ext
82535 cat >>conftest.$ac_ext <<_ACEOF
82536 /* end confdefs.h. */
82537 #include <math.h>
82539 main ()
82541 __builtin_abs(0);
82543 return 0;
82545 _ACEOF
82546 rm -f conftest.$ac_objext conftest$ac_exeext
82547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82548 (eval $ac_link) 2>conftest.er1
82549 ac_status=$?
82550 grep -v '^ *+' conftest.er1 >conftest.err
82551 rm -f conftest.er1
82552 cat conftest.err >&5
82553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82554 (exit $ac_status); } &&
82555 { ac_try='test -z "$ac_c_werror_flag"
82556 || test ! -s conftest.err'
82557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82558 (eval $ac_try) 2>&5
82559 ac_status=$?
82560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82561 (exit $ac_status); }; } &&
82562 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
82568 glibcxx_cv_func___builtin_abs_link=yes
82569 else
82570 echo "$as_me: failed program was:" >&5
82571 sed 's/^/| /' conftest.$ac_ext >&5
82573 glibcxx_cv_func___builtin_abs_link=no
82575 rm -f conftest.err conftest.$ac_objext \
82576 conftest$ac_exeext conftest.$ac_ext
82581 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
82582 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
82584 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
82586 cat >>confdefs.h <<\_ACEOF
82587 #define HAVE___BUILTIN_ABS 1
82588 _ACEOF
82595 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
82596 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
82597 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
82598 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
82599 echo $ECHO_N "(cached) $ECHO_C" >&6
82600 else
82604 ac_ext=cc
82605 ac_cpp='$CXXCPP $CPPFLAGS'
82606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82610 cat >conftest.$ac_ext <<_ACEOF
82611 /* confdefs.h. */
82612 _ACEOF
82613 cat confdefs.h >>conftest.$ac_ext
82614 cat >>conftest.$ac_ext <<_ACEOF
82615 /* end confdefs.h. */
82616 #include <math.h>
82618 main ()
82620 __builtin_fabsf(0);
82622 return 0;
82624 _ACEOF
82625 rm -f conftest.$ac_objext
82626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82627 (eval $ac_compile) 2>conftest.er1
82628 ac_status=$?
82629 grep -v '^ *+' conftest.er1 >conftest.err
82630 rm -f conftest.er1
82631 cat conftest.err >&5
82632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82633 (exit $ac_status); } &&
82634 { ac_try='test -z "$ac_cxx_werror_flag"
82635 || test ! -s conftest.err'
82636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82637 (eval $ac_try) 2>&5
82638 ac_status=$?
82639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82640 (exit $ac_status); }; } &&
82641 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
82647 glibcxx_cv_func___builtin_fabsf_use=yes
82648 else
82649 echo "$as_me: failed program was:" >&5
82650 sed 's/^/| /' conftest.$ac_ext >&5
82652 glibcxx_cv_func___builtin_fabsf_use=no
82654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82655 ac_ext=c
82656 ac_cpp='$CPP $CPPFLAGS'
82657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82665 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
82666 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
82667 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
82668 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
82669 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
82670 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
82671 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
82672 echo $ECHO_N "(cached) $ECHO_C" >&6
82673 else
82675 if test x$gcc_no_link = xyes; then
82676 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82677 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82678 { (exit 1); exit 1; }; }
82680 cat >conftest.$ac_ext <<_ACEOF
82681 /* confdefs.h. */
82682 _ACEOF
82683 cat confdefs.h >>conftest.$ac_ext
82684 cat >>conftest.$ac_ext <<_ACEOF
82685 /* end confdefs.h. */
82686 #include <math.h>
82688 main ()
82690 __builtin_fabsf(0);
82692 return 0;
82694 _ACEOF
82695 rm -f conftest.$ac_objext conftest$ac_exeext
82696 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82697 (eval $ac_link) 2>conftest.er1
82698 ac_status=$?
82699 grep -v '^ *+' conftest.er1 >conftest.err
82700 rm -f conftest.er1
82701 cat conftest.err >&5
82702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82703 (exit $ac_status); } &&
82704 { ac_try='test -z "$ac_c_werror_flag"
82705 || test ! -s conftest.err'
82706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82707 (eval $ac_try) 2>&5
82708 ac_status=$?
82709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82710 (exit $ac_status); }; } &&
82711 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
82717 glibcxx_cv_func___builtin_fabsf_link=yes
82718 else
82719 echo "$as_me: failed program was:" >&5
82720 sed 's/^/| /' conftest.$ac_ext >&5
82722 glibcxx_cv_func___builtin_fabsf_link=no
82724 rm -f conftest.err conftest.$ac_objext \
82725 conftest$ac_exeext conftest.$ac_ext
82730 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
82731 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
82733 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
82735 cat >>confdefs.h <<\_ACEOF
82736 #define HAVE___BUILTIN_FABSF 1
82737 _ACEOF
82744 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
82745 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
82746 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
82747 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
82748 echo $ECHO_N "(cached) $ECHO_C" >&6
82749 else
82753 ac_ext=cc
82754 ac_cpp='$CXXCPP $CPPFLAGS'
82755 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82756 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82757 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82759 cat >conftest.$ac_ext <<_ACEOF
82760 /* confdefs.h. */
82761 _ACEOF
82762 cat confdefs.h >>conftest.$ac_ext
82763 cat >>conftest.$ac_ext <<_ACEOF
82764 /* end confdefs.h. */
82765 #include <math.h>
82767 main ()
82769 __builtin_fabs(0);
82771 return 0;
82773 _ACEOF
82774 rm -f conftest.$ac_objext
82775 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82776 (eval $ac_compile) 2>conftest.er1
82777 ac_status=$?
82778 grep -v '^ *+' conftest.er1 >conftest.err
82779 rm -f conftest.er1
82780 cat conftest.err >&5
82781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82782 (exit $ac_status); } &&
82783 { ac_try='test -z "$ac_cxx_werror_flag"
82784 || test ! -s conftest.err'
82785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82786 (eval $ac_try) 2>&5
82787 ac_status=$?
82788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82789 (exit $ac_status); }; } &&
82790 { ac_try='test -s conftest.$ac_objext'
82791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82792 (eval $ac_try) 2>&5
82793 ac_status=$?
82794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82795 (exit $ac_status); }; }; then
82796 glibcxx_cv_func___builtin_fabs_use=yes
82797 else
82798 echo "$as_me: failed program was:" >&5
82799 sed 's/^/| /' conftest.$ac_ext >&5
82801 glibcxx_cv_func___builtin_fabs_use=no
82803 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82804 ac_ext=c
82805 ac_cpp='$CPP $CPPFLAGS'
82806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82814 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
82815 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
82816 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
82817 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
82818 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
82819 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
82820 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
82821 echo $ECHO_N "(cached) $ECHO_C" >&6
82822 else
82824 if test x$gcc_no_link = xyes; then
82825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82827 { (exit 1); exit 1; }; }
82829 cat >conftest.$ac_ext <<_ACEOF
82830 /* confdefs.h. */
82831 _ACEOF
82832 cat confdefs.h >>conftest.$ac_ext
82833 cat >>conftest.$ac_ext <<_ACEOF
82834 /* end confdefs.h. */
82835 #include <math.h>
82837 main ()
82839 __builtin_fabs(0);
82841 return 0;
82843 _ACEOF
82844 rm -f conftest.$ac_objext conftest$ac_exeext
82845 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82846 (eval $ac_link) 2>conftest.er1
82847 ac_status=$?
82848 grep -v '^ *+' conftest.er1 >conftest.err
82849 rm -f conftest.er1
82850 cat conftest.err >&5
82851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82852 (exit $ac_status); } &&
82853 { ac_try='test -z "$ac_c_werror_flag"
82854 || test ! -s conftest.err'
82855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82856 (eval $ac_try) 2>&5
82857 ac_status=$?
82858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82859 (exit $ac_status); }; } &&
82860 { ac_try='test -s conftest$ac_exeext'
82861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82862 (eval $ac_try) 2>&5
82863 ac_status=$?
82864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82865 (exit $ac_status); }; }; then
82866 glibcxx_cv_func___builtin_fabs_link=yes
82867 else
82868 echo "$as_me: failed program was:" >&5
82869 sed 's/^/| /' conftest.$ac_ext >&5
82871 glibcxx_cv_func___builtin_fabs_link=no
82873 rm -f conftest.err conftest.$ac_objext \
82874 conftest$ac_exeext conftest.$ac_ext
82879 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
82880 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
82882 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
82884 cat >>confdefs.h <<\_ACEOF
82885 #define HAVE___BUILTIN_FABS 1
82886 _ACEOF
82893 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
82894 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
82895 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
82896 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
82897 echo $ECHO_N "(cached) $ECHO_C" >&6
82898 else
82902 ac_ext=cc
82903 ac_cpp='$CXXCPP $CPPFLAGS'
82904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82908 cat >conftest.$ac_ext <<_ACEOF
82909 /* confdefs.h. */
82910 _ACEOF
82911 cat confdefs.h >>conftest.$ac_ext
82912 cat >>conftest.$ac_ext <<_ACEOF
82913 /* end confdefs.h. */
82914 #include <math.h>
82916 main ()
82918 __builtin_fabsl(0);
82920 return 0;
82922 _ACEOF
82923 rm -f conftest.$ac_objext
82924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82925 (eval $ac_compile) 2>conftest.er1
82926 ac_status=$?
82927 grep -v '^ *+' conftest.er1 >conftest.err
82928 rm -f conftest.er1
82929 cat conftest.err >&5
82930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82931 (exit $ac_status); } &&
82932 { ac_try='test -z "$ac_cxx_werror_flag"
82933 || test ! -s conftest.err'
82934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82935 (eval $ac_try) 2>&5
82936 ac_status=$?
82937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82938 (exit $ac_status); }; } &&
82939 { ac_try='test -s conftest.$ac_objext'
82940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82941 (eval $ac_try) 2>&5
82942 ac_status=$?
82943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82944 (exit $ac_status); }; }; then
82945 glibcxx_cv_func___builtin_fabsl_use=yes
82946 else
82947 echo "$as_me: failed program was:" >&5
82948 sed 's/^/| /' conftest.$ac_ext >&5
82950 glibcxx_cv_func___builtin_fabsl_use=no
82952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82953 ac_ext=c
82954 ac_cpp='$CPP $CPPFLAGS'
82955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82963 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
82964 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
82965 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
82966 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
82967 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
82968 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
82969 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
82970 echo $ECHO_N "(cached) $ECHO_C" >&6
82971 else
82973 if test x$gcc_no_link = xyes; then
82974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82976 { (exit 1); exit 1; }; }
82978 cat >conftest.$ac_ext <<_ACEOF
82979 /* confdefs.h. */
82980 _ACEOF
82981 cat confdefs.h >>conftest.$ac_ext
82982 cat >>conftest.$ac_ext <<_ACEOF
82983 /* end confdefs.h. */
82984 #include <math.h>
82986 main ()
82988 __builtin_fabsl(0);
82990 return 0;
82992 _ACEOF
82993 rm -f conftest.$ac_objext conftest$ac_exeext
82994 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82995 (eval $ac_link) 2>conftest.er1
82996 ac_status=$?
82997 grep -v '^ *+' conftest.er1 >conftest.err
82998 rm -f conftest.er1
82999 cat conftest.err >&5
83000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83001 (exit $ac_status); } &&
83002 { ac_try='test -z "$ac_c_werror_flag"
83003 || test ! -s conftest.err'
83004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83005 (eval $ac_try) 2>&5
83006 ac_status=$?
83007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83008 (exit $ac_status); }; } &&
83009 { ac_try='test -s conftest$ac_exeext'
83010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83011 (eval $ac_try) 2>&5
83012 ac_status=$?
83013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83014 (exit $ac_status); }; }; then
83015 glibcxx_cv_func___builtin_fabsl_link=yes
83016 else
83017 echo "$as_me: failed program was:" >&5
83018 sed 's/^/| /' conftest.$ac_ext >&5
83020 glibcxx_cv_func___builtin_fabsl_link=no
83022 rm -f conftest.err conftest.$ac_objext \
83023 conftest$ac_exeext conftest.$ac_ext
83028 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
83029 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
83031 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
83033 cat >>confdefs.h <<\_ACEOF
83034 #define HAVE___BUILTIN_FABSL 1
83035 _ACEOF
83042 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
83043 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
83044 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
83045 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
83046 echo $ECHO_N "(cached) $ECHO_C" >&6
83047 else
83051 ac_ext=cc
83052 ac_cpp='$CXXCPP $CPPFLAGS'
83053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83057 cat >conftest.$ac_ext <<_ACEOF
83058 /* confdefs.h. */
83059 _ACEOF
83060 cat confdefs.h >>conftest.$ac_ext
83061 cat >>conftest.$ac_ext <<_ACEOF
83062 /* end confdefs.h. */
83063 #include <math.h>
83065 main ()
83067 __builtin_labs(0);
83069 return 0;
83071 _ACEOF
83072 rm -f conftest.$ac_objext
83073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83074 (eval $ac_compile) 2>conftest.er1
83075 ac_status=$?
83076 grep -v '^ *+' conftest.er1 >conftest.err
83077 rm -f conftest.er1
83078 cat conftest.err >&5
83079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83080 (exit $ac_status); } &&
83081 { ac_try='test -z "$ac_cxx_werror_flag"
83082 || test ! -s conftest.err'
83083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83084 (eval $ac_try) 2>&5
83085 ac_status=$?
83086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83087 (exit $ac_status); }; } &&
83088 { ac_try='test -s conftest.$ac_objext'
83089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83090 (eval $ac_try) 2>&5
83091 ac_status=$?
83092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83093 (exit $ac_status); }; }; then
83094 glibcxx_cv_func___builtin_labs_use=yes
83095 else
83096 echo "$as_me: failed program was:" >&5
83097 sed 's/^/| /' conftest.$ac_ext >&5
83099 glibcxx_cv_func___builtin_labs_use=no
83101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83102 ac_ext=c
83103 ac_cpp='$CPP $CPPFLAGS'
83104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83112 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
83113 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
83114 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
83115 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
83116 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
83117 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
83118 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
83119 echo $ECHO_N "(cached) $ECHO_C" >&6
83120 else
83122 if test x$gcc_no_link = xyes; then
83123 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83124 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83125 { (exit 1); exit 1; }; }
83127 cat >conftest.$ac_ext <<_ACEOF
83128 /* confdefs.h. */
83129 _ACEOF
83130 cat confdefs.h >>conftest.$ac_ext
83131 cat >>conftest.$ac_ext <<_ACEOF
83132 /* end confdefs.h. */
83133 #include <math.h>
83135 main ()
83137 __builtin_labs(0);
83139 return 0;
83141 _ACEOF
83142 rm -f conftest.$ac_objext conftest$ac_exeext
83143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83144 (eval $ac_link) 2>conftest.er1
83145 ac_status=$?
83146 grep -v '^ *+' conftest.er1 >conftest.err
83147 rm -f conftest.er1
83148 cat conftest.err >&5
83149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83150 (exit $ac_status); } &&
83151 { ac_try='test -z "$ac_c_werror_flag"
83152 || test ! -s conftest.err'
83153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83154 (eval $ac_try) 2>&5
83155 ac_status=$?
83156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83157 (exit $ac_status); }; } &&
83158 { ac_try='test -s conftest$ac_exeext'
83159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83160 (eval $ac_try) 2>&5
83161 ac_status=$?
83162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83163 (exit $ac_status); }; }; then
83164 glibcxx_cv_func___builtin_labs_link=yes
83165 else
83166 echo "$as_me: failed program was:" >&5
83167 sed 's/^/| /' conftest.$ac_ext >&5
83169 glibcxx_cv_func___builtin_labs_link=no
83171 rm -f conftest.err conftest.$ac_objext \
83172 conftest$ac_exeext conftest.$ac_ext
83177 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
83178 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
83180 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
83182 cat >>confdefs.h <<\_ACEOF
83183 #define HAVE___BUILTIN_LABS 1
83184 _ACEOF
83192 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
83193 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
83194 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
83195 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
83196 echo $ECHO_N "(cached) $ECHO_C" >&6
83197 else
83201 ac_ext=cc
83202 ac_cpp='$CXXCPP $CPPFLAGS'
83203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83207 cat >conftest.$ac_ext <<_ACEOF
83208 /* confdefs.h. */
83209 _ACEOF
83210 cat confdefs.h >>conftest.$ac_ext
83211 cat >>conftest.$ac_ext <<_ACEOF
83212 /* end confdefs.h. */
83213 #include <math.h>
83215 main ()
83217 __builtin_sqrtf(0);
83219 return 0;
83221 _ACEOF
83222 rm -f conftest.$ac_objext
83223 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83224 (eval $ac_compile) 2>conftest.er1
83225 ac_status=$?
83226 grep -v '^ *+' conftest.er1 >conftest.err
83227 rm -f conftest.er1
83228 cat conftest.err >&5
83229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83230 (exit $ac_status); } &&
83231 { ac_try='test -z "$ac_cxx_werror_flag"
83232 || test ! -s conftest.err'
83233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83234 (eval $ac_try) 2>&5
83235 ac_status=$?
83236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83237 (exit $ac_status); }; } &&
83238 { ac_try='test -s conftest.$ac_objext'
83239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83240 (eval $ac_try) 2>&5
83241 ac_status=$?
83242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83243 (exit $ac_status); }; }; then
83244 glibcxx_cv_func___builtin_sqrtf_use=yes
83245 else
83246 echo "$as_me: failed program was:" >&5
83247 sed 's/^/| /' conftest.$ac_ext >&5
83249 glibcxx_cv_func___builtin_sqrtf_use=no
83251 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83252 ac_ext=c
83253 ac_cpp='$CPP $CPPFLAGS'
83254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83262 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
83263 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
83264 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
83265 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
83266 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
83267 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
83268 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
83269 echo $ECHO_N "(cached) $ECHO_C" >&6
83270 else
83272 if test x$gcc_no_link = xyes; then
83273 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83274 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83275 { (exit 1); exit 1; }; }
83277 cat >conftest.$ac_ext <<_ACEOF
83278 /* confdefs.h. */
83279 _ACEOF
83280 cat confdefs.h >>conftest.$ac_ext
83281 cat >>conftest.$ac_ext <<_ACEOF
83282 /* end confdefs.h. */
83283 #include <math.h>
83285 main ()
83287 __builtin_sqrtf(0);
83289 return 0;
83291 _ACEOF
83292 rm -f conftest.$ac_objext conftest$ac_exeext
83293 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83294 (eval $ac_link) 2>conftest.er1
83295 ac_status=$?
83296 grep -v '^ *+' conftest.er1 >conftest.err
83297 rm -f conftest.er1
83298 cat conftest.err >&5
83299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83300 (exit $ac_status); } &&
83301 { ac_try='test -z "$ac_c_werror_flag"
83302 || test ! -s conftest.err'
83303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83304 (eval $ac_try) 2>&5
83305 ac_status=$?
83306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83307 (exit $ac_status); }; } &&
83308 { ac_try='test -s conftest$ac_exeext'
83309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83310 (eval $ac_try) 2>&5
83311 ac_status=$?
83312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83313 (exit $ac_status); }; }; then
83314 glibcxx_cv_func___builtin_sqrtf_link=yes
83315 else
83316 echo "$as_me: failed program was:" >&5
83317 sed 's/^/| /' conftest.$ac_ext >&5
83319 glibcxx_cv_func___builtin_sqrtf_link=no
83321 rm -f conftest.err conftest.$ac_objext \
83322 conftest$ac_exeext conftest.$ac_ext
83327 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
83328 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
83330 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
83332 cat >>confdefs.h <<\_ACEOF
83333 #define HAVE___BUILTIN_SQRTF 1
83334 _ACEOF
83341 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
83342 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
83343 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
83344 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
83345 echo $ECHO_N "(cached) $ECHO_C" >&6
83346 else
83350 ac_ext=cc
83351 ac_cpp='$CXXCPP $CPPFLAGS'
83352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83356 cat >conftest.$ac_ext <<_ACEOF
83357 /* confdefs.h. */
83358 _ACEOF
83359 cat confdefs.h >>conftest.$ac_ext
83360 cat >>conftest.$ac_ext <<_ACEOF
83361 /* end confdefs.h. */
83362 #include <math.h>
83364 main ()
83366 __builtin_sqrt(0);
83368 return 0;
83370 _ACEOF
83371 rm -f conftest.$ac_objext
83372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83373 (eval $ac_compile) 2>conftest.er1
83374 ac_status=$?
83375 grep -v '^ *+' conftest.er1 >conftest.err
83376 rm -f conftest.er1
83377 cat conftest.err >&5
83378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83379 (exit $ac_status); } &&
83380 { ac_try='test -z "$ac_cxx_werror_flag"
83381 || test ! -s conftest.err'
83382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83383 (eval $ac_try) 2>&5
83384 ac_status=$?
83385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83386 (exit $ac_status); }; } &&
83387 { ac_try='test -s conftest.$ac_objext'
83388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83389 (eval $ac_try) 2>&5
83390 ac_status=$?
83391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83392 (exit $ac_status); }; }; then
83393 glibcxx_cv_func___builtin_sqrt_use=yes
83394 else
83395 echo "$as_me: failed program was:" >&5
83396 sed 's/^/| /' conftest.$ac_ext >&5
83398 glibcxx_cv_func___builtin_sqrt_use=no
83400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83401 ac_ext=c
83402 ac_cpp='$CPP $CPPFLAGS'
83403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83411 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
83412 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
83413 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
83414 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
83415 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
83416 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
83417 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
83418 echo $ECHO_N "(cached) $ECHO_C" >&6
83419 else
83421 if test x$gcc_no_link = xyes; then
83422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83424 { (exit 1); exit 1; }; }
83426 cat >conftest.$ac_ext <<_ACEOF
83427 /* confdefs.h. */
83428 _ACEOF
83429 cat confdefs.h >>conftest.$ac_ext
83430 cat >>conftest.$ac_ext <<_ACEOF
83431 /* end confdefs.h. */
83432 #include <math.h>
83434 main ()
83436 __builtin_sqrt(0);
83438 return 0;
83440 _ACEOF
83441 rm -f conftest.$ac_objext conftest$ac_exeext
83442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83443 (eval $ac_link) 2>conftest.er1
83444 ac_status=$?
83445 grep -v '^ *+' conftest.er1 >conftest.err
83446 rm -f conftest.er1
83447 cat conftest.err >&5
83448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83449 (exit $ac_status); } &&
83450 { ac_try='test -z "$ac_c_werror_flag"
83451 || test ! -s conftest.err'
83452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83453 (eval $ac_try) 2>&5
83454 ac_status=$?
83455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83456 (exit $ac_status); }; } &&
83457 { ac_try='test -s conftest$ac_exeext'
83458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83459 (eval $ac_try) 2>&5
83460 ac_status=$?
83461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83462 (exit $ac_status); }; }; then
83463 glibcxx_cv_func___builtin_sqrt_link=yes
83464 else
83465 echo "$as_me: failed program was:" >&5
83466 sed 's/^/| /' conftest.$ac_ext >&5
83468 glibcxx_cv_func___builtin_sqrt_link=no
83470 rm -f conftest.err conftest.$ac_objext \
83471 conftest$ac_exeext conftest.$ac_ext
83476 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
83477 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
83479 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
83481 cat >>confdefs.h <<\_ACEOF
83482 #define HAVE___BUILTIN_SQRT 1
83483 _ACEOF
83490 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
83491 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
83492 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
83493 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
83494 echo $ECHO_N "(cached) $ECHO_C" >&6
83495 else
83499 ac_ext=cc
83500 ac_cpp='$CXXCPP $CPPFLAGS'
83501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83505 cat >conftest.$ac_ext <<_ACEOF
83506 /* confdefs.h. */
83507 _ACEOF
83508 cat confdefs.h >>conftest.$ac_ext
83509 cat >>conftest.$ac_ext <<_ACEOF
83510 /* end confdefs.h. */
83511 #include <math.h>
83513 main ()
83515 __builtin_sqrtl(0);
83517 return 0;
83519 _ACEOF
83520 rm -f conftest.$ac_objext
83521 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83522 (eval $ac_compile) 2>conftest.er1
83523 ac_status=$?
83524 grep -v '^ *+' conftest.er1 >conftest.err
83525 rm -f conftest.er1
83526 cat conftest.err >&5
83527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83528 (exit $ac_status); } &&
83529 { ac_try='test -z "$ac_cxx_werror_flag"
83530 || test ! -s conftest.err'
83531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83532 (eval $ac_try) 2>&5
83533 ac_status=$?
83534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83535 (exit $ac_status); }; } &&
83536 { ac_try='test -s conftest.$ac_objext'
83537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83538 (eval $ac_try) 2>&5
83539 ac_status=$?
83540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83541 (exit $ac_status); }; }; then
83542 glibcxx_cv_func___builtin_sqrtl_use=yes
83543 else
83544 echo "$as_me: failed program was:" >&5
83545 sed 's/^/| /' conftest.$ac_ext >&5
83547 glibcxx_cv_func___builtin_sqrtl_use=no
83549 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83550 ac_ext=c
83551 ac_cpp='$CPP $CPPFLAGS'
83552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83560 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
83561 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
83562 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
83563 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
83564 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
83565 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
83566 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
83567 echo $ECHO_N "(cached) $ECHO_C" >&6
83568 else
83570 if test x$gcc_no_link = xyes; then
83571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83573 { (exit 1); exit 1; }; }
83575 cat >conftest.$ac_ext <<_ACEOF
83576 /* confdefs.h. */
83577 _ACEOF
83578 cat confdefs.h >>conftest.$ac_ext
83579 cat >>conftest.$ac_ext <<_ACEOF
83580 /* end confdefs.h. */
83581 #include <math.h>
83583 main ()
83585 __builtin_sqrtl(0);
83587 return 0;
83589 _ACEOF
83590 rm -f conftest.$ac_objext conftest$ac_exeext
83591 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83592 (eval $ac_link) 2>conftest.er1
83593 ac_status=$?
83594 grep -v '^ *+' conftest.er1 >conftest.err
83595 rm -f conftest.er1
83596 cat conftest.err >&5
83597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83598 (exit $ac_status); } &&
83599 { ac_try='test -z "$ac_c_werror_flag"
83600 || test ! -s conftest.err'
83601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83602 (eval $ac_try) 2>&5
83603 ac_status=$?
83604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83605 (exit $ac_status); }; } &&
83606 { ac_try='test -s conftest$ac_exeext'
83607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83608 (eval $ac_try) 2>&5
83609 ac_status=$?
83610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83611 (exit $ac_status); }; }; then
83612 glibcxx_cv_func___builtin_sqrtl_link=yes
83613 else
83614 echo "$as_me: failed program was:" >&5
83615 sed 's/^/| /' conftest.$ac_ext >&5
83617 glibcxx_cv_func___builtin_sqrtl_link=no
83619 rm -f conftest.err conftest.$ac_objext \
83620 conftest$ac_exeext conftest.$ac_ext
83625 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
83626 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
83628 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
83630 cat >>confdefs.h <<\_ACEOF
83631 #define HAVE___BUILTIN_SQRTL 1
83632 _ACEOF
83640 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
83641 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
83642 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
83643 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
83644 echo $ECHO_N "(cached) $ECHO_C" >&6
83645 else
83649 ac_ext=cc
83650 ac_cpp='$CXXCPP $CPPFLAGS'
83651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83655 cat >conftest.$ac_ext <<_ACEOF
83656 /* confdefs.h. */
83657 _ACEOF
83658 cat confdefs.h >>conftest.$ac_ext
83659 cat >>conftest.$ac_ext <<_ACEOF
83660 /* end confdefs.h. */
83661 #include <math.h>
83663 main ()
83665 __builtin_sinf(0);
83667 return 0;
83669 _ACEOF
83670 rm -f conftest.$ac_objext
83671 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83672 (eval $ac_compile) 2>conftest.er1
83673 ac_status=$?
83674 grep -v '^ *+' conftest.er1 >conftest.err
83675 rm -f conftest.er1
83676 cat conftest.err >&5
83677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83678 (exit $ac_status); } &&
83679 { ac_try='test -z "$ac_cxx_werror_flag"
83680 || test ! -s conftest.err'
83681 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83682 (eval $ac_try) 2>&5
83683 ac_status=$?
83684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83685 (exit $ac_status); }; } &&
83686 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
83692 glibcxx_cv_func___builtin_sinf_use=yes
83693 else
83694 echo "$as_me: failed program was:" >&5
83695 sed 's/^/| /' conftest.$ac_ext >&5
83697 glibcxx_cv_func___builtin_sinf_use=no
83699 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83700 ac_ext=c
83701 ac_cpp='$CPP $CPPFLAGS'
83702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83710 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
83711 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
83712 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
83713 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
83714 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
83715 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
83716 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
83717 echo $ECHO_N "(cached) $ECHO_C" >&6
83718 else
83720 if test x$gcc_no_link = xyes; then
83721 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83722 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83723 { (exit 1); exit 1; }; }
83725 cat >conftest.$ac_ext <<_ACEOF
83726 /* confdefs.h. */
83727 _ACEOF
83728 cat confdefs.h >>conftest.$ac_ext
83729 cat >>conftest.$ac_ext <<_ACEOF
83730 /* end confdefs.h. */
83731 #include <math.h>
83733 main ()
83735 __builtin_sinf(0);
83737 return 0;
83739 _ACEOF
83740 rm -f conftest.$ac_objext conftest$ac_exeext
83741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83742 (eval $ac_link) 2>conftest.er1
83743 ac_status=$?
83744 grep -v '^ *+' conftest.er1 >conftest.err
83745 rm -f conftest.er1
83746 cat conftest.err >&5
83747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83748 (exit $ac_status); } &&
83749 { ac_try='test -z "$ac_c_werror_flag"
83750 || test ! -s conftest.err'
83751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83752 (eval $ac_try) 2>&5
83753 ac_status=$?
83754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83755 (exit $ac_status); }; } &&
83756 { ac_try='test -s conftest$ac_exeext'
83757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83758 (eval $ac_try) 2>&5
83759 ac_status=$?
83760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83761 (exit $ac_status); }; }; then
83762 glibcxx_cv_func___builtin_sinf_link=yes
83763 else
83764 echo "$as_me: failed program was:" >&5
83765 sed 's/^/| /' conftest.$ac_ext >&5
83767 glibcxx_cv_func___builtin_sinf_link=no
83769 rm -f conftest.err conftest.$ac_objext \
83770 conftest$ac_exeext conftest.$ac_ext
83775 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
83776 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
83778 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
83780 cat >>confdefs.h <<\_ACEOF
83781 #define HAVE___BUILTIN_SINF 1
83782 _ACEOF
83789 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
83790 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
83791 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
83792 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
83793 echo $ECHO_N "(cached) $ECHO_C" >&6
83794 else
83798 ac_ext=cc
83799 ac_cpp='$CXXCPP $CPPFLAGS'
83800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83804 cat >conftest.$ac_ext <<_ACEOF
83805 /* confdefs.h. */
83806 _ACEOF
83807 cat confdefs.h >>conftest.$ac_ext
83808 cat >>conftest.$ac_ext <<_ACEOF
83809 /* end confdefs.h. */
83810 #include <math.h>
83812 main ()
83814 __builtin_sin(0);
83816 return 0;
83818 _ACEOF
83819 rm -f conftest.$ac_objext
83820 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83821 (eval $ac_compile) 2>conftest.er1
83822 ac_status=$?
83823 grep -v '^ *+' conftest.er1 >conftest.err
83824 rm -f conftest.er1
83825 cat conftest.err >&5
83826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83827 (exit $ac_status); } &&
83828 { ac_try='test -z "$ac_cxx_werror_flag"
83829 || test ! -s conftest.err'
83830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83831 (eval $ac_try) 2>&5
83832 ac_status=$?
83833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83834 (exit $ac_status); }; } &&
83835 { ac_try='test -s conftest.$ac_objext'
83836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83837 (eval $ac_try) 2>&5
83838 ac_status=$?
83839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83840 (exit $ac_status); }; }; then
83841 glibcxx_cv_func___builtin_sin_use=yes
83842 else
83843 echo "$as_me: failed program was:" >&5
83844 sed 's/^/| /' conftest.$ac_ext >&5
83846 glibcxx_cv_func___builtin_sin_use=no
83848 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83849 ac_ext=c
83850 ac_cpp='$CPP $CPPFLAGS'
83851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83859 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
83860 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
83861 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
83862 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
83863 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
83864 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
83865 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
83866 echo $ECHO_N "(cached) $ECHO_C" >&6
83867 else
83869 if test x$gcc_no_link = xyes; then
83870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83872 { (exit 1); exit 1; }; }
83874 cat >conftest.$ac_ext <<_ACEOF
83875 /* confdefs.h. */
83876 _ACEOF
83877 cat confdefs.h >>conftest.$ac_ext
83878 cat >>conftest.$ac_ext <<_ACEOF
83879 /* end confdefs.h. */
83880 #include <math.h>
83882 main ()
83884 __builtin_sin(0);
83886 return 0;
83888 _ACEOF
83889 rm -f conftest.$ac_objext conftest$ac_exeext
83890 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83891 (eval $ac_link) 2>conftest.er1
83892 ac_status=$?
83893 grep -v '^ *+' conftest.er1 >conftest.err
83894 rm -f conftest.er1
83895 cat conftest.err >&5
83896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83897 (exit $ac_status); } &&
83898 { ac_try='test -z "$ac_c_werror_flag"
83899 || test ! -s conftest.err'
83900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83901 (eval $ac_try) 2>&5
83902 ac_status=$?
83903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83904 (exit $ac_status); }; } &&
83905 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
83911 glibcxx_cv_func___builtin_sin_link=yes
83912 else
83913 echo "$as_me: failed program was:" >&5
83914 sed 's/^/| /' conftest.$ac_ext >&5
83916 glibcxx_cv_func___builtin_sin_link=no
83918 rm -f conftest.err conftest.$ac_objext \
83919 conftest$ac_exeext conftest.$ac_ext
83924 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
83925 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
83927 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
83929 cat >>confdefs.h <<\_ACEOF
83930 #define HAVE___BUILTIN_SIN 1
83931 _ACEOF
83938 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
83939 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
83940 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
83941 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
83942 echo $ECHO_N "(cached) $ECHO_C" >&6
83943 else
83947 ac_ext=cc
83948 ac_cpp='$CXXCPP $CPPFLAGS'
83949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83953 cat >conftest.$ac_ext <<_ACEOF
83954 /* confdefs.h. */
83955 _ACEOF
83956 cat confdefs.h >>conftest.$ac_ext
83957 cat >>conftest.$ac_ext <<_ACEOF
83958 /* end confdefs.h. */
83959 #include <math.h>
83961 main ()
83963 __builtin_sinl(0);
83965 return 0;
83967 _ACEOF
83968 rm -f conftest.$ac_objext
83969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83970 (eval $ac_compile) 2>conftest.er1
83971 ac_status=$?
83972 grep -v '^ *+' conftest.er1 >conftest.err
83973 rm -f conftest.er1
83974 cat conftest.err >&5
83975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83976 (exit $ac_status); } &&
83977 { ac_try='test -z "$ac_cxx_werror_flag"
83978 || test ! -s conftest.err'
83979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83980 (eval $ac_try) 2>&5
83981 ac_status=$?
83982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83983 (exit $ac_status); }; } &&
83984 { ac_try='test -s conftest.$ac_objext'
83985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83986 (eval $ac_try) 2>&5
83987 ac_status=$?
83988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83989 (exit $ac_status); }; }; then
83990 glibcxx_cv_func___builtin_sinl_use=yes
83991 else
83992 echo "$as_me: failed program was:" >&5
83993 sed 's/^/| /' conftest.$ac_ext >&5
83995 glibcxx_cv_func___builtin_sinl_use=no
83997 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83998 ac_ext=c
83999 ac_cpp='$CPP $CPPFLAGS'
84000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84008 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
84009 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
84010 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
84011 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
84012 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
84013 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
84014 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
84015 echo $ECHO_N "(cached) $ECHO_C" >&6
84016 else
84018 if test x$gcc_no_link = xyes; then
84019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84021 { (exit 1); exit 1; }; }
84023 cat >conftest.$ac_ext <<_ACEOF
84024 /* confdefs.h. */
84025 _ACEOF
84026 cat confdefs.h >>conftest.$ac_ext
84027 cat >>conftest.$ac_ext <<_ACEOF
84028 /* end confdefs.h. */
84029 #include <math.h>
84031 main ()
84033 __builtin_sinl(0);
84035 return 0;
84037 _ACEOF
84038 rm -f conftest.$ac_objext conftest$ac_exeext
84039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84040 (eval $ac_link) 2>conftest.er1
84041 ac_status=$?
84042 grep -v '^ *+' conftest.er1 >conftest.err
84043 rm -f conftest.er1
84044 cat conftest.err >&5
84045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84046 (exit $ac_status); } &&
84047 { ac_try='test -z "$ac_c_werror_flag"
84048 || test ! -s conftest.err'
84049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84050 (eval $ac_try) 2>&5
84051 ac_status=$?
84052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84053 (exit $ac_status); }; } &&
84054 { ac_try='test -s conftest$ac_exeext'
84055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84056 (eval $ac_try) 2>&5
84057 ac_status=$?
84058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84059 (exit $ac_status); }; }; then
84060 glibcxx_cv_func___builtin_sinl_link=yes
84061 else
84062 echo "$as_me: failed program was:" >&5
84063 sed 's/^/| /' conftest.$ac_ext >&5
84065 glibcxx_cv_func___builtin_sinl_link=no
84067 rm -f conftest.err conftest.$ac_objext \
84068 conftest$ac_exeext conftest.$ac_ext
84073 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
84074 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
84076 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
84078 cat >>confdefs.h <<\_ACEOF
84079 #define HAVE___BUILTIN_SINL 1
84080 _ACEOF
84088 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
84089 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
84090 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
84091 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
84092 echo $ECHO_N "(cached) $ECHO_C" >&6
84093 else
84097 ac_ext=cc
84098 ac_cpp='$CXXCPP $CPPFLAGS'
84099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84103 cat >conftest.$ac_ext <<_ACEOF
84104 /* confdefs.h. */
84105 _ACEOF
84106 cat confdefs.h >>conftest.$ac_ext
84107 cat >>conftest.$ac_ext <<_ACEOF
84108 /* end confdefs.h. */
84109 #include <math.h>
84111 main ()
84113 __builtin_cosf(0);
84115 return 0;
84117 _ACEOF
84118 rm -f conftest.$ac_objext
84119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84120 (eval $ac_compile) 2>conftest.er1
84121 ac_status=$?
84122 grep -v '^ *+' conftest.er1 >conftest.err
84123 rm -f conftest.er1
84124 cat conftest.err >&5
84125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84126 (exit $ac_status); } &&
84127 { ac_try='test -z "$ac_cxx_werror_flag"
84128 || test ! -s conftest.err'
84129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84130 (eval $ac_try) 2>&5
84131 ac_status=$?
84132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84133 (exit $ac_status); }; } &&
84134 { ac_try='test -s conftest.$ac_objext'
84135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84136 (eval $ac_try) 2>&5
84137 ac_status=$?
84138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84139 (exit $ac_status); }; }; then
84140 glibcxx_cv_func___builtin_cosf_use=yes
84141 else
84142 echo "$as_me: failed program was:" >&5
84143 sed 's/^/| /' conftest.$ac_ext >&5
84145 glibcxx_cv_func___builtin_cosf_use=no
84147 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84148 ac_ext=c
84149 ac_cpp='$CPP $CPPFLAGS'
84150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84158 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
84159 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
84160 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
84161 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
84162 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
84163 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
84164 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
84165 echo $ECHO_N "(cached) $ECHO_C" >&6
84166 else
84168 if test x$gcc_no_link = xyes; then
84169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84171 { (exit 1); exit 1; }; }
84173 cat >conftest.$ac_ext <<_ACEOF
84174 /* confdefs.h. */
84175 _ACEOF
84176 cat confdefs.h >>conftest.$ac_ext
84177 cat >>conftest.$ac_ext <<_ACEOF
84178 /* end confdefs.h. */
84179 #include <math.h>
84181 main ()
84183 __builtin_cosf(0);
84185 return 0;
84187 _ACEOF
84188 rm -f conftest.$ac_objext conftest$ac_exeext
84189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84190 (eval $ac_link) 2>conftest.er1
84191 ac_status=$?
84192 grep -v '^ *+' conftest.er1 >conftest.err
84193 rm -f conftest.er1
84194 cat conftest.err >&5
84195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84196 (exit $ac_status); } &&
84197 { ac_try='test -z "$ac_c_werror_flag"
84198 || test ! -s conftest.err'
84199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84200 (eval $ac_try) 2>&5
84201 ac_status=$?
84202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84203 (exit $ac_status); }; } &&
84204 { ac_try='test -s conftest$ac_exeext'
84205 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84206 (eval $ac_try) 2>&5
84207 ac_status=$?
84208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84209 (exit $ac_status); }; }; then
84210 glibcxx_cv_func___builtin_cosf_link=yes
84211 else
84212 echo "$as_me: failed program was:" >&5
84213 sed 's/^/| /' conftest.$ac_ext >&5
84215 glibcxx_cv_func___builtin_cosf_link=no
84217 rm -f conftest.err conftest.$ac_objext \
84218 conftest$ac_exeext conftest.$ac_ext
84223 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
84224 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
84226 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
84228 cat >>confdefs.h <<\_ACEOF
84229 #define HAVE___BUILTIN_COSF 1
84230 _ACEOF
84237 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
84238 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
84239 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
84240 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
84241 echo $ECHO_N "(cached) $ECHO_C" >&6
84242 else
84246 ac_ext=cc
84247 ac_cpp='$CXXCPP $CPPFLAGS'
84248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84252 cat >conftest.$ac_ext <<_ACEOF
84253 /* confdefs.h. */
84254 _ACEOF
84255 cat confdefs.h >>conftest.$ac_ext
84256 cat >>conftest.$ac_ext <<_ACEOF
84257 /* end confdefs.h. */
84258 #include <math.h>
84260 main ()
84262 __builtin_cos(0);
84264 return 0;
84266 _ACEOF
84267 rm -f conftest.$ac_objext
84268 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84269 (eval $ac_compile) 2>conftest.er1
84270 ac_status=$?
84271 grep -v '^ *+' conftest.er1 >conftest.err
84272 rm -f conftest.er1
84273 cat conftest.err >&5
84274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84275 (exit $ac_status); } &&
84276 { ac_try='test -z "$ac_cxx_werror_flag"
84277 || test ! -s conftest.err'
84278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84279 (eval $ac_try) 2>&5
84280 ac_status=$?
84281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84282 (exit $ac_status); }; } &&
84283 { ac_try='test -s conftest.$ac_objext'
84284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84285 (eval $ac_try) 2>&5
84286 ac_status=$?
84287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84288 (exit $ac_status); }; }; then
84289 glibcxx_cv_func___builtin_cos_use=yes
84290 else
84291 echo "$as_me: failed program was:" >&5
84292 sed 's/^/| /' conftest.$ac_ext >&5
84294 glibcxx_cv_func___builtin_cos_use=no
84296 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84297 ac_ext=c
84298 ac_cpp='$CPP $CPPFLAGS'
84299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84307 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
84308 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
84309 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
84310 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
84311 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
84312 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
84313 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
84314 echo $ECHO_N "(cached) $ECHO_C" >&6
84315 else
84317 if test x$gcc_no_link = xyes; then
84318 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84319 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84320 { (exit 1); exit 1; }; }
84322 cat >conftest.$ac_ext <<_ACEOF
84323 /* confdefs.h. */
84324 _ACEOF
84325 cat confdefs.h >>conftest.$ac_ext
84326 cat >>conftest.$ac_ext <<_ACEOF
84327 /* end confdefs.h. */
84328 #include <math.h>
84330 main ()
84332 __builtin_cos(0);
84334 return 0;
84336 _ACEOF
84337 rm -f conftest.$ac_objext conftest$ac_exeext
84338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84339 (eval $ac_link) 2>conftest.er1
84340 ac_status=$?
84341 grep -v '^ *+' conftest.er1 >conftest.err
84342 rm -f conftest.er1
84343 cat conftest.err >&5
84344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84345 (exit $ac_status); } &&
84346 { ac_try='test -z "$ac_c_werror_flag"
84347 || test ! -s conftest.err'
84348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84349 (eval $ac_try) 2>&5
84350 ac_status=$?
84351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84352 (exit $ac_status); }; } &&
84353 { ac_try='test -s conftest$ac_exeext'
84354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84355 (eval $ac_try) 2>&5
84356 ac_status=$?
84357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84358 (exit $ac_status); }; }; then
84359 glibcxx_cv_func___builtin_cos_link=yes
84360 else
84361 echo "$as_me: failed program was:" >&5
84362 sed 's/^/| /' conftest.$ac_ext >&5
84364 glibcxx_cv_func___builtin_cos_link=no
84366 rm -f conftest.err conftest.$ac_objext \
84367 conftest$ac_exeext conftest.$ac_ext
84372 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
84373 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
84375 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
84377 cat >>confdefs.h <<\_ACEOF
84378 #define HAVE___BUILTIN_COS 1
84379 _ACEOF
84386 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
84387 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
84388 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
84389 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
84390 echo $ECHO_N "(cached) $ECHO_C" >&6
84391 else
84395 ac_ext=cc
84396 ac_cpp='$CXXCPP $CPPFLAGS'
84397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84401 cat >conftest.$ac_ext <<_ACEOF
84402 /* confdefs.h. */
84403 _ACEOF
84404 cat confdefs.h >>conftest.$ac_ext
84405 cat >>conftest.$ac_ext <<_ACEOF
84406 /* end confdefs.h. */
84407 #include <math.h>
84409 main ()
84411 __builtin_cosl(0);
84413 return 0;
84415 _ACEOF
84416 rm -f conftest.$ac_objext
84417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84418 (eval $ac_compile) 2>conftest.er1
84419 ac_status=$?
84420 grep -v '^ *+' conftest.er1 >conftest.err
84421 rm -f conftest.er1
84422 cat conftest.err >&5
84423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84424 (exit $ac_status); } &&
84425 { ac_try='test -z "$ac_cxx_werror_flag"
84426 || test ! -s conftest.err'
84427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84428 (eval $ac_try) 2>&5
84429 ac_status=$?
84430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84431 (exit $ac_status); }; } &&
84432 { ac_try='test -s conftest.$ac_objext'
84433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84434 (eval $ac_try) 2>&5
84435 ac_status=$?
84436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84437 (exit $ac_status); }; }; then
84438 glibcxx_cv_func___builtin_cosl_use=yes
84439 else
84440 echo "$as_me: failed program was:" >&5
84441 sed 's/^/| /' conftest.$ac_ext >&5
84443 glibcxx_cv_func___builtin_cosl_use=no
84445 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84446 ac_ext=c
84447 ac_cpp='$CPP $CPPFLAGS'
84448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84456 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
84457 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
84458 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
84459 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
84460 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
84461 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
84462 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
84463 echo $ECHO_N "(cached) $ECHO_C" >&6
84464 else
84466 if test x$gcc_no_link = xyes; then
84467 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84468 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84469 { (exit 1); exit 1; }; }
84471 cat >conftest.$ac_ext <<_ACEOF
84472 /* confdefs.h. */
84473 _ACEOF
84474 cat confdefs.h >>conftest.$ac_ext
84475 cat >>conftest.$ac_ext <<_ACEOF
84476 /* end confdefs.h. */
84477 #include <math.h>
84479 main ()
84481 __builtin_cosl(0);
84483 return 0;
84485 _ACEOF
84486 rm -f conftest.$ac_objext conftest$ac_exeext
84487 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84488 (eval $ac_link) 2>conftest.er1
84489 ac_status=$?
84490 grep -v '^ *+' conftest.er1 >conftest.err
84491 rm -f conftest.er1
84492 cat conftest.err >&5
84493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84494 (exit $ac_status); } &&
84495 { ac_try='test -z "$ac_c_werror_flag"
84496 || test ! -s conftest.err'
84497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84498 (eval $ac_try) 2>&5
84499 ac_status=$?
84500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84501 (exit $ac_status); }; } &&
84502 { ac_try='test -s conftest$ac_exeext'
84503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84504 (eval $ac_try) 2>&5
84505 ac_status=$?
84506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84507 (exit $ac_status); }; }; then
84508 glibcxx_cv_func___builtin_cosl_link=yes
84509 else
84510 echo "$as_me: failed program was:" >&5
84511 sed 's/^/| /' conftest.$ac_ext >&5
84513 glibcxx_cv_func___builtin_cosl_link=no
84515 rm -f conftest.err conftest.$ac_objext \
84516 conftest$ac_exeext conftest.$ac_ext
84521 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
84522 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
84524 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
84526 cat >>confdefs.h <<\_ACEOF
84527 #define HAVE___BUILTIN_COSL 1
84528 _ACEOF
84537 echo "$as_me:$LINENO: checking for main in -lm" >&5
84538 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
84539 if test "${ac_cv_lib_m_main+set}" = set; then
84540 echo $ECHO_N "(cached) $ECHO_C" >&6
84541 else
84542 ac_check_lib_save_LIBS=$LIBS
84543 LIBS="-lm $LIBS"
84544 if test x$gcc_no_link = xyes; then
84545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84547 { (exit 1); exit 1; }; }
84549 cat >conftest.$ac_ext <<_ACEOF
84550 /* confdefs.h. */
84551 _ACEOF
84552 cat confdefs.h >>conftest.$ac_ext
84553 cat >>conftest.$ac_ext <<_ACEOF
84554 /* end confdefs.h. */
84558 main ()
84560 main ();
84562 return 0;
84564 _ACEOF
84565 rm -f conftest.$ac_objext conftest$ac_exeext
84566 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84567 (eval $ac_link) 2>conftest.er1
84568 ac_status=$?
84569 grep -v '^ *+' conftest.er1 >conftest.err
84570 rm -f conftest.er1
84571 cat conftest.err >&5
84572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84573 (exit $ac_status); } &&
84574 { ac_try='test -z "$ac_c_werror_flag"
84575 || test ! -s conftest.err'
84576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84577 (eval $ac_try) 2>&5
84578 ac_status=$?
84579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84580 (exit $ac_status); }; } &&
84581 { ac_try='test -s conftest$ac_exeext'
84582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84583 (eval $ac_try) 2>&5
84584 ac_status=$?
84585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84586 (exit $ac_status); }; }; then
84587 ac_cv_lib_m_main=yes
84588 else
84589 echo "$as_me: failed program was:" >&5
84590 sed 's/^/| /' conftest.$ac_ext >&5
84592 ac_cv_lib_m_main=no
84594 rm -f conftest.err conftest.$ac_objext \
84595 conftest$ac_exeext conftest.$ac_ext
84596 LIBS=$ac_check_lib_save_LIBS
84598 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
84599 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
84600 if test $ac_cv_lib_m_main = yes; then
84601 cat >>confdefs.h <<_ACEOF
84602 #define HAVE_LIBM 1
84603 _ACEOF
84605 LIBS="-lm $LIBS"
84610 for ac_func in copysignf
84612 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84613 echo "$as_me:$LINENO: checking for $ac_func" >&5
84614 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84615 if eval "test \"\${$as_ac_var+set}\" = set"; then
84616 echo $ECHO_N "(cached) $ECHO_C" >&6
84617 else
84618 if test x$gcc_no_link = xyes; then
84619 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84620 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84621 { (exit 1); exit 1; }; }
84623 cat >conftest.$ac_ext <<_ACEOF
84624 /* confdefs.h. */
84625 _ACEOF
84626 cat confdefs.h >>conftest.$ac_ext
84627 cat >>conftest.$ac_ext <<_ACEOF
84628 /* end confdefs.h. */
84629 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84630 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84631 #define $ac_func innocuous_$ac_func
84633 /* System header to define __stub macros and hopefully few prototypes,
84634 which can conflict with char $ac_func (); below.
84635 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84636 <limits.h> exists even on freestanding compilers. */
84638 #ifdef __STDC__
84639 # include <limits.h>
84640 #else
84641 # include <assert.h>
84642 #endif
84644 #undef $ac_func
84646 /* Override any gcc2 internal prototype to avoid an error. */
84647 #ifdef __cplusplus
84648 extern "C"
84650 #endif
84651 /* We use char because int might match the return type of a gcc2
84652 builtin and then its argument prototype would still apply. */
84653 char $ac_func ();
84654 /* The GNU C library defines this for functions which it implements
84655 to always fail with ENOSYS. Some functions are actually named
84656 something starting with __ and the normal name is an alias. */
84657 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84658 choke me
84659 #else
84660 char (*f) () = $ac_func;
84661 #endif
84662 #ifdef __cplusplus
84664 #endif
84667 main ()
84669 return f != $ac_func;
84671 return 0;
84673 _ACEOF
84674 rm -f conftest.$ac_objext conftest$ac_exeext
84675 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84676 (eval $ac_link) 2>conftest.er1
84677 ac_status=$?
84678 grep -v '^ *+' conftest.er1 >conftest.err
84679 rm -f conftest.er1
84680 cat conftest.err >&5
84681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84682 (exit $ac_status); } &&
84683 { ac_try='test -z "$ac_c_werror_flag"
84684 || test ! -s conftest.err'
84685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84686 (eval $ac_try) 2>&5
84687 ac_status=$?
84688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84689 (exit $ac_status); }; } &&
84690 { ac_try='test -s conftest$ac_exeext'
84691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84692 (eval $ac_try) 2>&5
84693 ac_status=$?
84694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84695 (exit $ac_status); }; }; then
84696 eval "$as_ac_var=yes"
84697 else
84698 echo "$as_me: failed program was:" >&5
84699 sed 's/^/| /' conftest.$ac_ext >&5
84701 eval "$as_ac_var=no"
84703 rm -f conftest.err conftest.$ac_objext \
84704 conftest$ac_exeext conftest.$ac_ext
84706 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84707 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84708 if test `eval echo '${'$as_ac_var'}'` = yes; then
84709 cat >>confdefs.h <<_ACEOF
84710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84711 _ACEOF
84713 else
84714 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
84716 done
84720 for ac_func in __signbit
84722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84723 echo "$as_me:$LINENO: checking for $ac_func" >&5
84724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84725 if eval "test \"\${$as_ac_var+set}\" = set"; then
84726 echo $ECHO_N "(cached) $ECHO_C" >&6
84727 else
84728 if test x$gcc_no_link = xyes; then
84729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84731 { (exit 1); exit 1; }; }
84733 cat >conftest.$ac_ext <<_ACEOF
84734 /* confdefs.h. */
84735 _ACEOF
84736 cat confdefs.h >>conftest.$ac_ext
84737 cat >>conftest.$ac_ext <<_ACEOF
84738 /* end confdefs.h. */
84739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84741 #define $ac_func innocuous_$ac_func
84743 /* System header to define __stub macros and hopefully few prototypes,
84744 which can conflict with char $ac_func (); below.
84745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84746 <limits.h> exists even on freestanding compilers. */
84748 #ifdef __STDC__
84749 # include <limits.h>
84750 #else
84751 # include <assert.h>
84752 #endif
84754 #undef $ac_func
84756 /* Override any gcc2 internal prototype to avoid an error. */
84757 #ifdef __cplusplus
84758 extern "C"
84760 #endif
84761 /* We use char because int might match the return type of a gcc2
84762 builtin and then its argument prototype would still apply. */
84763 char $ac_func ();
84764 /* The GNU C library defines this for functions which it implements
84765 to always fail with ENOSYS. Some functions are actually named
84766 something starting with __ and the normal name is an alias. */
84767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84768 choke me
84769 #else
84770 char (*f) () = $ac_func;
84771 #endif
84772 #ifdef __cplusplus
84774 #endif
84777 main ()
84779 return f != $ac_func;
84781 return 0;
84783 _ACEOF
84784 rm -f conftest.$ac_objext conftest$ac_exeext
84785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84786 (eval $ac_link) 2>conftest.er1
84787 ac_status=$?
84788 grep -v '^ *+' conftest.er1 >conftest.err
84789 rm -f conftest.er1
84790 cat conftest.err >&5
84791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84792 (exit $ac_status); } &&
84793 { ac_try='test -z "$ac_c_werror_flag"
84794 || test ! -s conftest.err'
84795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84796 (eval $ac_try) 2>&5
84797 ac_status=$?
84798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84799 (exit $ac_status); }; } &&
84800 { ac_try='test -s conftest$ac_exeext'
84801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84802 (eval $ac_try) 2>&5
84803 ac_status=$?
84804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84805 (exit $ac_status); }; }; then
84806 eval "$as_ac_var=yes"
84807 else
84808 echo "$as_me: failed program was:" >&5
84809 sed 's/^/| /' conftest.$ac_ext >&5
84811 eval "$as_ac_var=no"
84813 rm -f conftest.err conftest.$ac_objext \
84814 conftest$ac_exeext conftest.$ac_ext
84816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84818 if test `eval echo '${'$as_ac_var'}'` = yes; then
84819 cat >>confdefs.h <<_ACEOF
84820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84821 _ACEOF
84823 else
84824 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
84826 done
84830 for ac_func in __signbitf
84832 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84833 echo "$as_me:$LINENO: checking for $ac_func" >&5
84834 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84835 if eval "test \"\${$as_ac_var+set}\" = set"; then
84836 echo $ECHO_N "(cached) $ECHO_C" >&6
84837 else
84838 if test x$gcc_no_link = xyes; then
84839 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84840 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84841 { (exit 1); exit 1; }; }
84843 cat >conftest.$ac_ext <<_ACEOF
84844 /* confdefs.h. */
84845 _ACEOF
84846 cat confdefs.h >>conftest.$ac_ext
84847 cat >>conftest.$ac_ext <<_ACEOF
84848 /* end confdefs.h. */
84849 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84850 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84851 #define $ac_func innocuous_$ac_func
84853 /* System header to define __stub macros and hopefully few prototypes,
84854 which can conflict with char $ac_func (); below.
84855 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84856 <limits.h> exists even on freestanding compilers. */
84858 #ifdef __STDC__
84859 # include <limits.h>
84860 #else
84861 # include <assert.h>
84862 #endif
84864 #undef $ac_func
84866 /* Override any gcc2 internal prototype to avoid an error. */
84867 #ifdef __cplusplus
84868 extern "C"
84870 #endif
84871 /* We use char because int might match the return type of a gcc2
84872 builtin and then its argument prototype would still apply. */
84873 char $ac_func ();
84874 /* The GNU C library defines this for functions which it implements
84875 to always fail with ENOSYS. Some functions are actually named
84876 something starting with __ and the normal name is an alias. */
84877 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84878 choke me
84879 #else
84880 char (*f) () = $ac_func;
84881 #endif
84882 #ifdef __cplusplus
84884 #endif
84887 main ()
84889 return f != $ac_func;
84891 return 0;
84893 _ACEOF
84894 rm -f conftest.$ac_objext conftest$ac_exeext
84895 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84896 (eval $ac_link) 2>conftest.er1
84897 ac_status=$?
84898 grep -v '^ *+' conftest.er1 >conftest.err
84899 rm -f conftest.er1
84900 cat conftest.err >&5
84901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84902 (exit $ac_status); } &&
84903 { ac_try='test -z "$ac_c_werror_flag"
84904 || test ! -s conftest.err'
84905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84906 (eval $ac_try) 2>&5
84907 ac_status=$?
84908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84909 (exit $ac_status); }; } &&
84910 { ac_try='test -s conftest$ac_exeext'
84911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84912 (eval $ac_try) 2>&5
84913 ac_status=$?
84914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84915 (exit $ac_status); }; }; then
84916 eval "$as_ac_var=yes"
84917 else
84918 echo "$as_me: failed program was:" >&5
84919 sed 's/^/| /' conftest.$ac_ext >&5
84921 eval "$as_ac_var=no"
84923 rm -f conftest.err conftest.$ac_objext \
84924 conftest$ac_exeext conftest.$ac_ext
84926 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84927 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84928 if test `eval echo '${'$as_ac_var'}'` = yes; then
84929 cat >>confdefs.h <<_ACEOF
84930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84931 _ACEOF
84933 else
84934 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
84936 done
84939 if test x$ac_cv_func_copysignl = x"yes"; then
84941 for ac_func in __signbitl
84943 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84944 echo "$as_me:$LINENO: checking for $ac_func" >&5
84945 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84946 if eval "test \"\${$as_ac_var+set}\" = set"; then
84947 echo $ECHO_N "(cached) $ECHO_C" >&6
84948 else
84949 if test x$gcc_no_link = xyes; then
84950 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84951 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84952 { (exit 1); exit 1; }; }
84954 cat >conftest.$ac_ext <<_ACEOF
84955 /* confdefs.h. */
84956 _ACEOF
84957 cat confdefs.h >>conftest.$ac_ext
84958 cat >>conftest.$ac_ext <<_ACEOF
84959 /* end confdefs.h. */
84960 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84962 #define $ac_func innocuous_$ac_func
84964 /* System header to define __stub macros and hopefully few prototypes,
84965 which can conflict with char $ac_func (); below.
84966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84967 <limits.h> exists even on freestanding compilers. */
84969 #ifdef __STDC__
84970 # include <limits.h>
84971 #else
84972 # include <assert.h>
84973 #endif
84975 #undef $ac_func
84977 /* Override any gcc2 internal prototype to avoid an error. */
84978 #ifdef __cplusplus
84979 extern "C"
84981 #endif
84982 /* We use char because int might match the return type of a gcc2
84983 builtin and then its argument prototype would still apply. */
84984 char $ac_func ();
84985 /* The GNU C library defines this for functions which it implements
84986 to always fail with ENOSYS. Some functions are actually named
84987 something starting with __ and the normal name is an alias. */
84988 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84989 choke me
84990 #else
84991 char (*f) () = $ac_func;
84992 #endif
84993 #ifdef __cplusplus
84995 #endif
84998 main ()
85000 return f != $ac_func;
85002 return 0;
85004 _ACEOF
85005 rm -f conftest.$ac_objext conftest$ac_exeext
85006 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85007 (eval $ac_link) 2>conftest.er1
85008 ac_status=$?
85009 grep -v '^ *+' conftest.er1 >conftest.err
85010 rm -f conftest.er1
85011 cat conftest.err >&5
85012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85013 (exit $ac_status); } &&
85014 { ac_try='test -z "$ac_c_werror_flag"
85015 || test ! -s conftest.err'
85016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85017 (eval $ac_try) 2>&5
85018 ac_status=$?
85019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85020 (exit $ac_status); }; } &&
85021 { ac_try='test -s conftest$ac_exeext'
85022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85023 (eval $ac_try) 2>&5
85024 ac_status=$?
85025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85026 (exit $ac_status); }; }; then
85027 eval "$as_ac_var=yes"
85028 else
85029 echo "$as_me: failed program was:" >&5
85030 sed 's/^/| /' conftest.$ac_ext >&5
85032 eval "$as_ac_var=no"
85034 rm -f conftest.err conftest.$ac_objext \
85035 conftest$ac_exeext conftest.$ac_ext
85037 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85038 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85039 if test `eval echo '${'$as_ac_var'}'` = yes; then
85040 cat >>confdefs.h <<_ACEOF
85041 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85042 _ACEOF
85044 else
85045 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
85047 done
85051 # Used in libmath/Makefile.am.
85052 if test -n "$LIBMATHOBJS"; then
85053 need_libmath=yes
85058 ac_test_CXXFLAGS="${CXXFLAGS+set}"
85059 ac_save_CXXFLAGS="$CXXFLAGS"
85060 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
85063 echo "$as_me:$LINENO: checking for strtold declaration" >&5
85064 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
85065 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
85066 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
85067 echo $ECHO_N "(cached) $ECHO_C" >&6
85068 else
85072 ac_ext=cc
85073 ac_cpp='$CXXCPP $CPPFLAGS'
85074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85078 cat >conftest.$ac_ext <<_ACEOF
85079 /* confdefs.h. */
85080 _ACEOF
85081 cat confdefs.h >>conftest.$ac_ext
85082 cat >>conftest.$ac_ext <<_ACEOF
85083 /* end confdefs.h. */
85084 #include <stdlib.h>
85086 main ()
85088 strtold(0, 0);
85090 return 0;
85092 _ACEOF
85093 rm -f conftest.$ac_objext
85094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85095 (eval $ac_compile) 2>conftest.er1
85096 ac_status=$?
85097 grep -v '^ *+' conftest.er1 >conftest.err
85098 rm -f conftest.er1
85099 cat conftest.err >&5
85100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85101 (exit $ac_status); } &&
85102 { ac_try='test -z "$ac_cxx_werror_flag"
85103 || test ! -s conftest.err'
85104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85105 (eval $ac_try) 2>&5
85106 ac_status=$?
85107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85108 (exit $ac_status); }; } &&
85109 { ac_try='test -s conftest.$ac_objext'
85110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85111 (eval $ac_try) 2>&5
85112 ac_status=$?
85113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85114 (exit $ac_status); }; }; then
85115 glibcxx_cv_func_strtold_use=yes
85116 else
85117 echo "$as_me: failed program was:" >&5
85118 sed 's/^/| /' conftest.$ac_ext >&5
85120 glibcxx_cv_func_strtold_use=no
85122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85123 ac_ext=c
85124 ac_cpp='$CPP $CPPFLAGS'
85125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85133 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
85134 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
85135 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
85137 for ac_func in strtold
85139 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85140 echo "$as_me:$LINENO: checking for $ac_func" >&5
85141 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85142 if eval "test \"\${$as_ac_var+set}\" = set"; then
85143 echo $ECHO_N "(cached) $ECHO_C" >&6
85144 else
85145 if test x$gcc_no_link = xyes; then
85146 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85147 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85148 { (exit 1); exit 1; }; }
85150 cat >conftest.$ac_ext <<_ACEOF
85151 /* confdefs.h. */
85152 _ACEOF
85153 cat confdefs.h >>conftest.$ac_ext
85154 cat >>conftest.$ac_ext <<_ACEOF
85155 /* end confdefs.h. */
85156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85158 #define $ac_func innocuous_$ac_func
85160 /* System header to define __stub macros and hopefully few prototypes,
85161 which can conflict with char $ac_func (); below.
85162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85163 <limits.h> exists even on freestanding compilers. */
85165 #ifdef __STDC__
85166 # include <limits.h>
85167 #else
85168 # include <assert.h>
85169 #endif
85171 #undef $ac_func
85173 /* Override any gcc2 internal prototype to avoid an error. */
85174 #ifdef __cplusplus
85175 extern "C"
85177 #endif
85178 /* We use char because int might match the return type of a gcc2
85179 builtin and then its argument prototype would still apply. */
85180 char $ac_func ();
85181 /* The GNU C library defines this for functions which it implements
85182 to always fail with ENOSYS. Some functions are actually named
85183 something starting with __ and the normal name is an alias. */
85184 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85185 choke me
85186 #else
85187 char (*f) () = $ac_func;
85188 #endif
85189 #ifdef __cplusplus
85191 #endif
85194 main ()
85196 return f != $ac_func;
85198 return 0;
85200 _ACEOF
85201 rm -f conftest.$ac_objext conftest$ac_exeext
85202 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85203 (eval $ac_link) 2>conftest.er1
85204 ac_status=$?
85205 grep -v '^ *+' conftest.er1 >conftest.err
85206 rm -f conftest.er1
85207 cat conftest.err >&5
85208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85209 (exit $ac_status); } &&
85210 { ac_try='test -z "$ac_c_werror_flag"
85211 || test ! -s conftest.err'
85212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85213 (eval $ac_try) 2>&5
85214 ac_status=$?
85215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85216 (exit $ac_status); }; } &&
85217 { ac_try='test -s conftest$ac_exeext'
85218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85219 (eval $ac_try) 2>&5
85220 ac_status=$?
85221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85222 (exit $ac_status); }; }; then
85223 eval "$as_ac_var=yes"
85224 else
85225 echo "$as_me: failed program was:" >&5
85226 sed 's/^/| /' conftest.$ac_ext >&5
85228 eval "$as_ac_var=no"
85230 rm -f conftest.err conftest.$ac_objext \
85231 conftest$ac_exeext conftest.$ac_ext
85233 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85234 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85235 if test `eval echo '${'$as_ac_var'}'` = yes; then
85236 cat >>confdefs.h <<_ACEOF
85237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85238 _ACEOF
85241 done
85249 echo "$as_me:$LINENO: checking for strtof declaration" >&5
85250 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
85251 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
85252 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
85253 echo $ECHO_N "(cached) $ECHO_C" >&6
85254 else
85258 ac_ext=cc
85259 ac_cpp='$CXXCPP $CPPFLAGS'
85260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85264 cat >conftest.$ac_ext <<_ACEOF
85265 /* confdefs.h. */
85266 _ACEOF
85267 cat confdefs.h >>conftest.$ac_ext
85268 cat >>conftest.$ac_ext <<_ACEOF
85269 /* end confdefs.h. */
85270 #include <stdlib.h>
85272 main ()
85274 strtof(0, 0);
85276 return 0;
85278 _ACEOF
85279 rm -f conftest.$ac_objext
85280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85281 (eval $ac_compile) 2>conftest.er1
85282 ac_status=$?
85283 grep -v '^ *+' conftest.er1 >conftest.err
85284 rm -f conftest.er1
85285 cat conftest.err >&5
85286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85287 (exit $ac_status); } &&
85288 { ac_try='test -z "$ac_cxx_werror_flag"
85289 || test ! -s conftest.err'
85290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85291 (eval $ac_try) 2>&5
85292 ac_status=$?
85293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85294 (exit $ac_status); }; } &&
85295 { ac_try='test -s conftest.$ac_objext'
85296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85297 (eval $ac_try) 2>&5
85298 ac_status=$?
85299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85300 (exit $ac_status); }; }; then
85301 glibcxx_cv_func_strtof_use=yes
85302 else
85303 echo "$as_me: failed program was:" >&5
85304 sed 's/^/| /' conftest.$ac_ext >&5
85306 glibcxx_cv_func_strtof_use=no
85308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85309 ac_ext=c
85310 ac_cpp='$CPP $CPPFLAGS'
85311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
85320 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
85321 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
85323 for ac_func in strtof
85325 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85326 echo "$as_me:$LINENO: checking for $ac_func" >&5
85327 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85328 if eval "test \"\${$as_ac_var+set}\" = set"; then
85329 echo $ECHO_N "(cached) $ECHO_C" >&6
85330 else
85331 if test x$gcc_no_link = xyes; then
85332 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85333 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85334 { (exit 1); exit 1; }; }
85336 cat >conftest.$ac_ext <<_ACEOF
85337 /* confdefs.h. */
85338 _ACEOF
85339 cat confdefs.h >>conftest.$ac_ext
85340 cat >>conftest.$ac_ext <<_ACEOF
85341 /* end confdefs.h. */
85342 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85343 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85344 #define $ac_func innocuous_$ac_func
85346 /* System header to define __stub macros and hopefully few prototypes,
85347 which can conflict with char $ac_func (); below.
85348 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85349 <limits.h> exists even on freestanding compilers. */
85351 #ifdef __STDC__
85352 # include <limits.h>
85353 #else
85354 # include <assert.h>
85355 #endif
85357 #undef $ac_func
85359 /* Override any gcc2 internal prototype to avoid an error. */
85360 #ifdef __cplusplus
85361 extern "C"
85363 #endif
85364 /* We use char because int might match the return type of a gcc2
85365 builtin and then its argument prototype would still apply. */
85366 char $ac_func ();
85367 /* The GNU C library defines this for functions which it implements
85368 to always fail with ENOSYS. Some functions are actually named
85369 something starting with __ and the normal name is an alias. */
85370 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85371 choke me
85372 #else
85373 char (*f) () = $ac_func;
85374 #endif
85375 #ifdef __cplusplus
85377 #endif
85380 main ()
85382 return f != $ac_func;
85384 return 0;
85386 _ACEOF
85387 rm -f conftest.$ac_objext conftest$ac_exeext
85388 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85389 (eval $ac_link) 2>conftest.er1
85390 ac_status=$?
85391 grep -v '^ *+' conftest.er1 >conftest.err
85392 rm -f conftest.er1
85393 cat conftest.err >&5
85394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85395 (exit $ac_status); } &&
85396 { ac_try='test -z "$ac_c_werror_flag"
85397 || test ! -s conftest.err'
85398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85399 (eval $ac_try) 2>&5
85400 ac_status=$?
85401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85402 (exit $ac_status); }; } &&
85403 { ac_try='test -s conftest$ac_exeext'
85404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85405 (eval $ac_try) 2>&5
85406 ac_status=$?
85407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85408 (exit $ac_status); }; }; then
85409 eval "$as_ac_var=yes"
85410 else
85411 echo "$as_me: failed program was:" >&5
85412 sed 's/^/| /' conftest.$ac_ext >&5
85414 eval "$as_ac_var=no"
85416 rm -f conftest.err conftest.$ac_objext \
85417 conftest$ac_exeext conftest.$ac_ext
85419 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85420 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85421 if test `eval echo '${'$as_ac_var'}'` = yes; then
85422 cat >>confdefs.h <<_ACEOF
85423 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85424 _ACEOF
85427 done
85435 CXXFLAGS="$ac_save_CXXFLAGS"
85438 # For showmanyc_helper().
85441 for ac_header in sys/ioctl.h sys/filio.h
85443 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85444 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85445 echo "$as_me:$LINENO: checking for $ac_header" >&5
85446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85447 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85448 echo $ECHO_N "(cached) $ECHO_C" >&6
85450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85451 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85452 else
85453 # Is the header compilable?
85454 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85455 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85456 cat >conftest.$ac_ext <<_ACEOF
85457 /* confdefs.h. */
85458 _ACEOF
85459 cat confdefs.h >>conftest.$ac_ext
85460 cat >>conftest.$ac_ext <<_ACEOF
85461 /* end confdefs.h. */
85462 $ac_includes_default
85463 #include <$ac_header>
85464 _ACEOF
85465 rm -f conftest.$ac_objext
85466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85467 (eval $ac_compile) 2>conftest.er1
85468 ac_status=$?
85469 grep -v '^ *+' conftest.er1 >conftest.err
85470 rm -f conftest.er1
85471 cat conftest.err >&5
85472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85473 (exit $ac_status); } &&
85474 { ac_try='test -z "$ac_c_werror_flag"
85475 || test ! -s conftest.err'
85476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85477 (eval $ac_try) 2>&5
85478 ac_status=$?
85479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85480 (exit $ac_status); }; } &&
85481 { ac_try='test -s conftest.$ac_objext'
85482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85483 (eval $ac_try) 2>&5
85484 ac_status=$?
85485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85486 (exit $ac_status); }; }; then
85487 ac_header_compiler=yes
85488 else
85489 echo "$as_me: failed program was:" >&5
85490 sed 's/^/| /' conftest.$ac_ext >&5
85492 ac_header_compiler=no
85494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85495 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85496 echo "${ECHO_T}$ac_header_compiler" >&6
85498 # Is the header present?
85499 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85500 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85501 cat >conftest.$ac_ext <<_ACEOF
85502 /* confdefs.h. */
85503 _ACEOF
85504 cat confdefs.h >>conftest.$ac_ext
85505 cat >>conftest.$ac_ext <<_ACEOF
85506 /* end confdefs.h. */
85507 #include <$ac_header>
85508 _ACEOF
85509 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85510 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85511 ac_status=$?
85512 grep -v '^ *+' conftest.er1 >conftest.err
85513 rm -f conftest.er1
85514 cat conftest.err >&5
85515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85516 (exit $ac_status); } >/dev/null; then
85517 if test -s conftest.err; then
85518 ac_cpp_err=$ac_c_preproc_warn_flag
85519 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85520 else
85521 ac_cpp_err=
85523 else
85524 ac_cpp_err=yes
85526 if test -z "$ac_cpp_err"; then
85527 ac_header_preproc=yes
85528 else
85529 echo "$as_me: failed program was:" >&5
85530 sed 's/^/| /' conftest.$ac_ext >&5
85532 ac_header_preproc=no
85534 rm -f conftest.err conftest.$ac_ext
85535 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85536 echo "${ECHO_T}$ac_header_preproc" >&6
85538 # So? What about this header?
85539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85540 yes:no: )
85541 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85542 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85543 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85544 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85545 ac_header_preproc=yes
85547 no:yes:* )
85548 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85549 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85550 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85551 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85552 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85553 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85554 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85555 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85556 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85557 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85558 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85559 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85561 cat <<\_ASBOX
85562 ## ----------------------------------------- ##
85563 ## Report this to the package-unused lists. ##
85564 ## ----------------------------------------- ##
85565 _ASBOX
85567 sed "s/^/$as_me: WARNING: /" >&2
85569 esac
85570 echo "$as_me:$LINENO: checking for $ac_header" >&5
85571 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85572 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85573 echo $ECHO_N "(cached) $ECHO_C" >&6
85574 else
85575 eval "$as_ac_Header=\$ac_header_preproc"
85577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85578 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85581 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85582 cat >>confdefs.h <<_ACEOF
85583 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85584 _ACEOF
85588 done
85591 echo "$as_me:$LINENO: checking for poll" >&5
85592 echo $ECHO_N "checking for poll... $ECHO_C" >&6
85593 if test "${glibcxx_cv_POLL+set}" = set; then
85594 echo $ECHO_N "(cached) $ECHO_C" >&6
85595 else
85597 if test x$gcc_no_link = xyes; then
85598 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85599 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85600 { (exit 1); exit 1; }; }
85602 cat >conftest.$ac_ext <<_ACEOF
85603 /* confdefs.h. */
85604 _ACEOF
85605 cat confdefs.h >>conftest.$ac_ext
85606 cat >>conftest.$ac_ext <<_ACEOF
85607 /* end confdefs.h. */
85608 #include <poll.h>
85610 main ()
85612 struct pollfd pfd[1];
85613 pfd[0].events = POLLIN;
85614 poll(pfd, 1, 0);
85616 return 0;
85618 _ACEOF
85619 rm -f conftest.$ac_objext conftest$ac_exeext
85620 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85621 (eval $ac_link) 2>conftest.er1
85622 ac_status=$?
85623 grep -v '^ *+' conftest.er1 >conftest.err
85624 rm -f conftest.er1
85625 cat conftest.err >&5
85626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85627 (exit $ac_status); } &&
85628 { ac_try='test -z "$ac_c_werror_flag"
85629 || test ! -s conftest.err'
85630 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85631 (eval $ac_try) 2>&5
85632 ac_status=$?
85633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85634 (exit $ac_status); }; } &&
85635 { ac_try='test -s conftest$ac_exeext'
85636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85637 (eval $ac_try) 2>&5
85638 ac_status=$?
85639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85640 (exit $ac_status); }; }; then
85641 glibcxx_cv_POLL=yes
85642 else
85643 echo "$as_me: failed program was:" >&5
85644 sed 's/^/| /' conftest.$ac_ext >&5
85646 glibcxx_cv_POLL=no
85648 rm -f conftest.err conftest.$ac_objext \
85649 conftest$ac_exeext conftest.$ac_ext
85653 if test $glibcxx_cv_POLL = yes; then
85655 cat >>confdefs.h <<\_ACEOF
85656 #define HAVE_POLL 1
85657 _ACEOF
85660 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
85661 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
85664 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
85665 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
85666 if test "${glibcxx_cv_S_ISREG+set}" = set; then
85667 echo $ECHO_N "(cached) $ECHO_C" >&6
85668 else
85670 if test x$gcc_no_link = xyes; then
85671 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85672 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85673 { (exit 1); exit 1; }; }
85675 cat >conftest.$ac_ext <<_ACEOF
85676 /* confdefs.h. */
85677 _ACEOF
85678 cat confdefs.h >>conftest.$ac_ext
85679 cat >>conftest.$ac_ext <<_ACEOF
85680 /* end confdefs.h. */
85681 #include <sys/stat.h>
85683 main ()
85685 struct stat buffer;
85686 fstat(0, &buffer);
85687 S_ISREG(buffer.st_mode);
85689 return 0;
85691 _ACEOF
85692 rm -f conftest.$ac_objext conftest$ac_exeext
85693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85694 (eval $ac_link) 2>conftest.er1
85695 ac_status=$?
85696 grep -v '^ *+' conftest.er1 >conftest.err
85697 rm -f conftest.er1
85698 cat conftest.err >&5
85699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85700 (exit $ac_status); } &&
85701 { ac_try='test -z "$ac_c_werror_flag"
85702 || test ! -s conftest.err'
85703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85704 (eval $ac_try) 2>&5
85705 ac_status=$?
85706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85707 (exit $ac_status); }; } &&
85708 { ac_try='test -s conftest$ac_exeext'
85709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85710 (eval $ac_try) 2>&5
85711 ac_status=$?
85712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85713 (exit $ac_status); }; }; then
85714 glibcxx_cv_S_ISREG=yes
85715 else
85716 echo "$as_me: failed program was:" >&5
85717 sed 's/^/| /' conftest.$ac_ext >&5
85719 glibcxx_cv_S_ISREG=no
85721 rm -f conftest.err conftest.$ac_objext \
85722 conftest$ac_exeext conftest.$ac_ext
85726 if test "${glibcxx_cv_S_IFREG+set}" = set; then
85727 echo $ECHO_N "(cached) $ECHO_C" >&6
85728 else
85730 if test x$gcc_no_link = xyes; then
85731 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85732 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85733 { (exit 1); exit 1; }; }
85735 cat >conftest.$ac_ext <<_ACEOF
85736 /* confdefs.h. */
85737 _ACEOF
85738 cat confdefs.h >>conftest.$ac_ext
85739 cat >>conftest.$ac_ext <<_ACEOF
85740 /* end confdefs.h. */
85741 #include <sys/stat.h>
85743 main ()
85745 struct stat buffer;
85746 fstat(0, &buffer);
85747 S_IFREG & buffer.st_mode;
85749 return 0;
85751 _ACEOF
85752 rm -f conftest.$ac_objext conftest$ac_exeext
85753 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85754 (eval $ac_link) 2>conftest.er1
85755 ac_status=$?
85756 grep -v '^ *+' conftest.er1 >conftest.err
85757 rm -f conftest.er1
85758 cat conftest.err >&5
85759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85760 (exit $ac_status); } &&
85761 { ac_try='test -z "$ac_c_werror_flag"
85762 || test ! -s conftest.err'
85763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85764 (eval $ac_try) 2>&5
85765 ac_status=$?
85766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85767 (exit $ac_status); }; } &&
85768 { ac_try='test -s conftest$ac_exeext'
85769 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85770 (eval $ac_try) 2>&5
85771 ac_status=$?
85772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85773 (exit $ac_status); }; }; then
85774 glibcxx_cv_S_IFREG=yes
85775 else
85776 echo "$as_me: failed program was:" >&5
85777 sed 's/^/| /' conftest.$ac_ext >&5
85779 glibcxx_cv_S_IFREG=no
85781 rm -f conftest.err conftest.$ac_objext \
85782 conftest$ac_exeext conftest.$ac_ext
85786 res=no
85787 if test $glibcxx_cv_S_ISREG = yes; then
85789 cat >>confdefs.h <<\_ACEOF
85790 #define HAVE_S_ISREG 1
85791 _ACEOF
85793 res=S_ISREG
85794 elif test $glibcxx_cv_S_IFREG = yes; then
85796 cat >>confdefs.h <<\_ACEOF
85797 #define HAVE_S_IFREG 1
85798 _ACEOF
85800 res=S_IFREG
85802 echo "$as_me:$LINENO: result: $res" >&5
85803 echo "${ECHO_T}$res" >&6
85806 # For xsputn_2().
85808 for ac_header in sys/uio.h
85810 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
85811 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85812 echo "$as_me:$LINENO: checking for $ac_header" >&5
85813 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85814 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85815 echo $ECHO_N "(cached) $ECHO_C" >&6
85817 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85818 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85819 else
85820 # Is the header compilable?
85821 echo "$as_me:$LINENO: checking $ac_header usability" >&5
85822 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
85823 cat >conftest.$ac_ext <<_ACEOF
85824 /* confdefs.h. */
85825 _ACEOF
85826 cat confdefs.h >>conftest.$ac_ext
85827 cat >>conftest.$ac_ext <<_ACEOF
85828 /* end confdefs.h. */
85829 $ac_includes_default
85830 #include <$ac_header>
85831 _ACEOF
85832 rm -f conftest.$ac_objext
85833 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85834 (eval $ac_compile) 2>conftest.er1
85835 ac_status=$?
85836 grep -v '^ *+' conftest.er1 >conftest.err
85837 rm -f conftest.er1
85838 cat conftest.err >&5
85839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85840 (exit $ac_status); } &&
85841 { ac_try='test -z "$ac_c_werror_flag"
85842 || test ! -s conftest.err'
85843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85844 (eval $ac_try) 2>&5
85845 ac_status=$?
85846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85847 (exit $ac_status); }; } &&
85848 { ac_try='test -s conftest.$ac_objext'
85849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85850 (eval $ac_try) 2>&5
85851 ac_status=$?
85852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85853 (exit $ac_status); }; }; then
85854 ac_header_compiler=yes
85855 else
85856 echo "$as_me: failed program was:" >&5
85857 sed 's/^/| /' conftest.$ac_ext >&5
85859 ac_header_compiler=no
85861 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85862 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
85863 echo "${ECHO_T}$ac_header_compiler" >&6
85865 # Is the header present?
85866 echo "$as_me:$LINENO: checking $ac_header presence" >&5
85867 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
85868 cat >conftest.$ac_ext <<_ACEOF
85869 /* confdefs.h. */
85870 _ACEOF
85871 cat confdefs.h >>conftest.$ac_ext
85872 cat >>conftest.$ac_ext <<_ACEOF
85873 /* end confdefs.h. */
85874 #include <$ac_header>
85875 _ACEOF
85876 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
85877 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
85878 ac_status=$?
85879 grep -v '^ *+' conftest.er1 >conftest.err
85880 rm -f conftest.er1
85881 cat conftest.err >&5
85882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85883 (exit $ac_status); } >/dev/null; then
85884 if test -s conftest.err; then
85885 ac_cpp_err=$ac_c_preproc_warn_flag
85886 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
85887 else
85888 ac_cpp_err=
85890 else
85891 ac_cpp_err=yes
85893 if test -z "$ac_cpp_err"; then
85894 ac_header_preproc=yes
85895 else
85896 echo "$as_me: failed program was:" >&5
85897 sed 's/^/| /' conftest.$ac_ext >&5
85899 ac_header_preproc=no
85901 rm -f conftest.err conftest.$ac_ext
85902 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
85903 echo "${ECHO_T}$ac_header_preproc" >&6
85905 # So? What about this header?
85906 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
85907 yes:no: )
85908 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
85909 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
85910 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
85911 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
85912 ac_header_preproc=yes
85914 no:yes:* )
85915 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
85916 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
85917 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
85918 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
85919 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
85920 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
85921 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
85922 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
85923 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
85924 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
85925 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
85926 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
85928 cat <<\_ASBOX
85929 ## ----------------------------------------- ##
85930 ## Report this to the package-unused lists. ##
85931 ## ----------------------------------------- ##
85932 _ASBOX
85934 sed "s/^/$as_me: WARNING: /" >&2
85936 esac
85937 echo "$as_me:$LINENO: checking for $ac_header" >&5
85938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
85939 if eval "test \"\${$as_ac_Header+set}\" = set"; then
85940 echo $ECHO_N "(cached) $ECHO_C" >&6
85941 else
85942 eval "$as_ac_Header=\$ac_header_preproc"
85944 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
85945 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
85948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
85949 cat >>confdefs.h <<_ACEOF
85950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
85951 _ACEOF
85955 done
85958 echo "$as_me:$LINENO: checking for writev" >&5
85959 echo $ECHO_N "checking for writev... $ECHO_C" >&6
85960 if test "${glibcxx_cv_WRITEV+set}" = set; then
85961 echo $ECHO_N "(cached) $ECHO_C" >&6
85962 else
85964 if test x$gcc_no_link = xyes; then
85965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85967 { (exit 1); exit 1; }; }
85969 cat >conftest.$ac_ext <<_ACEOF
85970 /* confdefs.h. */
85971 _ACEOF
85972 cat confdefs.h >>conftest.$ac_ext
85973 cat >>conftest.$ac_ext <<_ACEOF
85974 /* end confdefs.h. */
85975 #include <sys/uio.h>
85977 main ()
85979 struct iovec iov[2];
85980 writev(0, iov, 0);
85982 return 0;
85984 _ACEOF
85985 rm -f conftest.$ac_objext conftest$ac_exeext
85986 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85987 (eval $ac_link) 2>conftest.er1
85988 ac_status=$?
85989 grep -v '^ *+' conftest.er1 >conftest.err
85990 rm -f conftest.er1
85991 cat conftest.err >&5
85992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85993 (exit $ac_status); } &&
85994 { ac_try='test -z "$ac_c_werror_flag"
85995 || test ! -s conftest.err'
85996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85997 (eval $ac_try) 2>&5
85998 ac_status=$?
85999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86000 (exit $ac_status); }; } &&
86001 { ac_try='test -s conftest$ac_exeext'
86002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86003 (eval $ac_try) 2>&5
86004 ac_status=$?
86005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86006 (exit $ac_status); }; }; then
86007 glibcxx_cv_WRITEV=yes
86008 else
86009 echo "$as_me: failed program was:" >&5
86010 sed 's/^/| /' conftest.$ac_ext >&5
86012 glibcxx_cv_WRITEV=no
86014 rm -f conftest.err conftest.$ac_objext \
86015 conftest$ac_exeext conftest.$ac_ext
86019 if test $glibcxx_cv_WRITEV = yes; then
86021 cat >>confdefs.h <<\_ACEOF
86022 #define HAVE_WRITEV 1
86023 _ACEOF
86026 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
86027 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
86030 cat >>confdefs.h <<\_ACEOF
86031 #define HAVE_LC_MESSAGES 1
86032 _ACEOF
86035 cat >conftest.$ac_ext <<_ACEOF
86036 /* confdefs.h. */
86037 _ACEOF
86038 cat confdefs.h >>conftest.$ac_ext
86039 cat >>conftest.$ac_ext <<_ACEOF
86040 /* end confdefs.h. */
86041 #include <setjmp.h>
86043 main ()
86045 sigjmp_buf env;
86046 while (! sigsetjmp (env, 1))
86047 siglongjmp (env, 1);
86050 return 0;
86052 _ACEOF
86053 rm -f conftest.$ac_objext
86054 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86055 (eval $ac_compile) 2>conftest.er1
86056 ac_status=$?
86057 grep -v '^ *+' conftest.er1 >conftest.err
86058 rm -f conftest.er1
86059 cat conftest.err >&5
86060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86061 (exit $ac_status); } &&
86062 { ac_try='test -z "$ac_c_werror_flag"
86063 || test ! -s conftest.err'
86064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86065 (eval $ac_try) 2>&5
86066 ac_status=$?
86067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86068 (exit $ac_status); }; } &&
86069 { ac_try='test -s conftest.$ac_objext'
86070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86071 (eval $ac_try) 2>&5
86072 ac_status=$?
86073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86074 (exit $ac_status); }; }; then
86076 cat >>confdefs.h <<\_ACEOF
86077 #define HAVE_SIGSETJMP 1
86078 _ACEOF
86080 else
86081 echo "$as_me: failed program was:" >&5
86082 sed 's/^/| /' conftest.$ac_ext >&5
86085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86087 cat >>confdefs.h <<\_ACEOF
86088 #define HAVE_MMAP 1
86089 _ACEOF
86093 *djgpp)
86114 for ac_header in float.h ieeefp.h inttypes.h locale.h \
86115 memory.h stdint.h stdlib.h strings.h string.h unistd.h \
86116 wchar.h wctype.h machine/endian.h sys/ioctl.h sys/param.h \
86117 sys/resource.h sys/stat.h sys/time.h sys/types.h sys/uio.h
86119 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86120 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86121 echo "$as_me:$LINENO: checking for $ac_header" >&5
86122 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86123 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86124 echo $ECHO_N "(cached) $ECHO_C" >&6
86126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86127 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86128 else
86129 # Is the header compilable?
86130 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86131 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86132 cat >conftest.$ac_ext <<_ACEOF
86133 /* confdefs.h. */
86134 _ACEOF
86135 cat confdefs.h >>conftest.$ac_ext
86136 cat >>conftest.$ac_ext <<_ACEOF
86137 /* end confdefs.h. */
86138 $ac_includes_default
86139 #include <$ac_header>
86140 _ACEOF
86141 rm -f conftest.$ac_objext
86142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86143 (eval $ac_compile) 2>conftest.er1
86144 ac_status=$?
86145 grep -v '^ *+' conftest.er1 >conftest.err
86146 rm -f conftest.er1
86147 cat conftest.err >&5
86148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86149 (exit $ac_status); } &&
86150 { ac_try='test -z "$ac_c_werror_flag"
86151 || test ! -s conftest.err'
86152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86153 (eval $ac_try) 2>&5
86154 ac_status=$?
86155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86156 (exit $ac_status); }; } &&
86157 { ac_try='test -s conftest.$ac_objext'
86158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86159 (eval $ac_try) 2>&5
86160 ac_status=$?
86161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86162 (exit $ac_status); }; }; then
86163 ac_header_compiler=yes
86164 else
86165 echo "$as_me: failed program was:" >&5
86166 sed 's/^/| /' conftest.$ac_ext >&5
86168 ac_header_compiler=no
86170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86171 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86172 echo "${ECHO_T}$ac_header_compiler" >&6
86174 # Is the header present?
86175 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86177 cat >conftest.$ac_ext <<_ACEOF
86178 /* confdefs.h. */
86179 _ACEOF
86180 cat confdefs.h >>conftest.$ac_ext
86181 cat >>conftest.$ac_ext <<_ACEOF
86182 /* end confdefs.h. */
86183 #include <$ac_header>
86184 _ACEOF
86185 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86186 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86187 ac_status=$?
86188 grep -v '^ *+' conftest.er1 >conftest.err
86189 rm -f conftest.er1
86190 cat conftest.err >&5
86191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86192 (exit $ac_status); } >/dev/null; then
86193 if test -s conftest.err; then
86194 ac_cpp_err=$ac_c_preproc_warn_flag
86195 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86196 else
86197 ac_cpp_err=
86199 else
86200 ac_cpp_err=yes
86202 if test -z "$ac_cpp_err"; then
86203 ac_header_preproc=yes
86204 else
86205 echo "$as_me: failed program was:" >&5
86206 sed 's/^/| /' conftest.$ac_ext >&5
86208 ac_header_preproc=no
86210 rm -f conftest.err conftest.$ac_ext
86211 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86212 echo "${ECHO_T}$ac_header_preproc" >&6
86214 # So? What about this header?
86215 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86216 yes:no: )
86217 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86218 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86220 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86221 ac_header_preproc=yes
86223 no:yes:* )
86224 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86225 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86226 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86227 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86228 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86229 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86230 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86231 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86232 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86233 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86234 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86235 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86237 cat <<\_ASBOX
86238 ## ----------------------------------------- ##
86239 ## Report this to the package-unused lists. ##
86240 ## ----------------------------------------- ##
86241 _ASBOX
86243 sed "s/^/$as_me: WARNING: /" >&2
86245 esac
86246 echo "$as_me:$LINENO: checking for $ac_header" >&5
86247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86248 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86249 echo $ECHO_N "(cached) $ECHO_C" >&6
86250 else
86251 eval "$as_ac_Header=\$ac_header_preproc"
86253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86254 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86257 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86258 cat >>confdefs.h <<_ACEOF
86259 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86260 _ACEOF
86264 done
86266 # GLIBCXX_CHECK_MATH_SUPPORT
86267 cat >>confdefs.h <<\_ACEOF
86268 #define HAVE_LIBM 1
86269 _ACEOF
86271 cat >>confdefs.h <<\_ACEOF
86272 #define HAVE_ISINF 1
86273 _ACEOF
86275 cat >>confdefs.h <<\_ACEOF
86276 #define HAVE_ISNAN 1
86277 _ACEOF
86279 cat >>confdefs.h <<\_ACEOF
86280 #define HAVE_FINITE 1
86281 _ACEOF
86283 cat >>confdefs.h <<\_ACEOF
86284 #define HAVE_COPYSIGN 1
86285 _ACEOF
86287 cat >>confdefs.h <<\_ACEOF
86288 #define HAVE_SINCOS 1
86289 _ACEOF
86291 cat >>confdefs.h <<\_ACEOF
86292 #define HAVE_HYPOT 1
86293 _ACEOF
86295 # GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
86296 cat >>confdefs.h <<\_ACEOF
86297 #define HAVE___BUILTIN_ABS 1
86298 _ACEOF
86300 cat >>confdefs.h <<\_ACEOF
86301 #define HAVE___BUILTIN_FABSF 1
86302 _ACEOF
86304 cat >>confdefs.h <<\_ACEOF
86305 #define HAVE___BUILTIN_FABS 1
86306 _ACEOF
86308 cat >>confdefs.h <<\_ACEOF
86309 #define HAVE___BUILTIN_FABSL 1
86310 _ACEOF
86312 cat >>confdefs.h <<\_ACEOF
86313 #define HAVE___BUILTIN_LABS 1
86314 _ACEOF
86316 cat >>confdefs.h <<\_ACEOF
86317 #define HAVE___BUILTIN_SQRTF 1
86318 _ACEOF
86320 cat >>confdefs.h <<\_ACEOF
86321 #define HAVE___BUILTIN_SQRT 1
86322 _ACEOF
86324 cat >>confdefs.h <<\_ACEOF
86325 #define HAVE___BUILTIN_SQRTL 1
86326 _ACEOF
86328 cat >>confdefs.h <<\_ACEOF
86329 #define HAVE___BUILTIN_SINF 1
86330 _ACEOF
86332 cat >>confdefs.h <<\_ACEOF
86333 #define HAVE___BUILTIN_SIN 1
86334 _ACEOF
86336 cat >>confdefs.h <<\_ACEOF
86337 #define HAVE___BUILTIN_SINL 1
86338 _ACEOF
86340 cat >>confdefs.h <<\_ACEOF
86341 #define HAVE___BUILTIN_COSF 1
86342 _ACEOF
86344 cat >>confdefs.h <<\_ACEOF
86345 #define HAVE___BUILTIN_COS 1
86346 _ACEOF
86348 cat >>confdefs.h <<\_ACEOF
86349 #define HAVE___BUILTIN_COSL 1
86350 _ACEOF
86352 # GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
86353 # GLIBCXX_CHECK_STDLIB_SUPPORT
86354 cat >>confdefs.h <<\_ACEOF
86355 #define HAVE_COPYSIGN 1
86356 _ACEOF
86358 cat >>confdefs.h <<\_ACEOF
86359 #define HAVE_COPYSIGNF 1
86360 _ACEOF
86362 # GLIBCXX_CHECK_S_ISREG_OR_S_IFREG
86363 cat >>confdefs.h <<\_ACEOF
86364 #define HAVE_S_ISREG 1
86365 _ACEOF
86367 cat >>confdefs.h <<\_ACEOF
86368 #define HAVE_S_IFREG 1
86369 _ACEOF
86371 cat >>confdefs.h <<\_ACEOF
86372 #define HAVE_WRITEV 1
86373 _ACEOF
86377 *-freebsd*)
86394 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
86395 machine/endian.h machine/param.h sys/machine.h sys/types.h \
86396 fp.h locale.h float.h inttypes.h sys/resource.h sys/stat.h \
86397 sys/time.h unistd.h
86399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
86400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86401 echo "$as_me:$LINENO: checking for $ac_header" >&5
86402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86404 echo $ECHO_N "(cached) $ECHO_C" >&6
86406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86408 else
86409 # Is the header compilable?
86410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
86411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
86412 cat >conftest.$ac_ext <<_ACEOF
86413 /* confdefs.h. */
86414 _ACEOF
86415 cat confdefs.h >>conftest.$ac_ext
86416 cat >>conftest.$ac_ext <<_ACEOF
86417 /* end confdefs.h. */
86418 $ac_includes_default
86419 #include <$ac_header>
86420 _ACEOF
86421 rm -f conftest.$ac_objext
86422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86423 (eval $ac_compile) 2>conftest.er1
86424 ac_status=$?
86425 grep -v '^ *+' conftest.er1 >conftest.err
86426 rm -f conftest.er1
86427 cat conftest.err >&5
86428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86429 (exit $ac_status); } &&
86430 { ac_try='test -z "$ac_c_werror_flag"
86431 || test ! -s conftest.err'
86432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86433 (eval $ac_try) 2>&5
86434 ac_status=$?
86435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86436 (exit $ac_status); }; } &&
86437 { ac_try='test -s conftest.$ac_objext'
86438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86439 (eval $ac_try) 2>&5
86440 ac_status=$?
86441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86442 (exit $ac_status); }; }; then
86443 ac_header_compiler=yes
86444 else
86445 echo "$as_me: failed program was:" >&5
86446 sed 's/^/| /' conftest.$ac_ext >&5
86448 ac_header_compiler=no
86450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
86452 echo "${ECHO_T}$ac_header_compiler" >&6
86454 # Is the header present?
86455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
86456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
86457 cat >conftest.$ac_ext <<_ACEOF
86458 /* confdefs.h. */
86459 _ACEOF
86460 cat confdefs.h >>conftest.$ac_ext
86461 cat >>conftest.$ac_ext <<_ACEOF
86462 /* end confdefs.h. */
86463 #include <$ac_header>
86464 _ACEOF
86465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
86466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
86467 ac_status=$?
86468 grep -v '^ *+' conftest.er1 >conftest.err
86469 rm -f conftest.er1
86470 cat conftest.err >&5
86471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86472 (exit $ac_status); } >/dev/null; then
86473 if test -s conftest.err; then
86474 ac_cpp_err=$ac_c_preproc_warn_flag
86475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
86476 else
86477 ac_cpp_err=
86479 else
86480 ac_cpp_err=yes
86482 if test -z "$ac_cpp_err"; then
86483 ac_header_preproc=yes
86484 else
86485 echo "$as_me: failed program was:" >&5
86486 sed 's/^/| /' conftest.$ac_ext >&5
86488 ac_header_preproc=no
86490 rm -f conftest.err conftest.$ac_ext
86491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
86492 echo "${ECHO_T}$ac_header_preproc" >&6
86494 # So? What about this header?
86495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
86496 yes:no: )
86497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
86498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
86499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
86500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
86501 ac_header_preproc=yes
86503 no:yes:* )
86504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
86505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
86506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
86507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
86508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
86509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
86510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
86511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
86512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
86513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
86514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
86515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
86517 cat <<\_ASBOX
86518 ## ----------------------------------------- ##
86519 ## Report this to the package-unused lists. ##
86520 ## ----------------------------------------- ##
86521 _ASBOX
86523 sed "s/^/$as_me: WARNING: /" >&2
86525 esac
86526 echo "$as_me:$LINENO: checking for $ac_header" >&5
86527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
86528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
86529 echo $ECHO_N "(cached) $ECHO_C" >&6
86530 else
86531 eval "$as_ac_Header=\$ac_header_preproc"
86533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
86534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
86537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
86538 cat >>confdefs.h <<_ACEOF
86539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
86540 _ACEOF
86544 done
86546 SECTION_FLAGS='-ffunction-sections -fdata-sections'
86549 # If we're not using GNU ld, then there's no point in even trying these
86550 # tests. Check for that first. We should have already tested for gld
86551 # by now (in libtool), but require it now just to be safe...
86552 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
86553 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
86557 # The name set by libtool depends on the version of libtool. Shame on us
86558 # for depending on an impl detail, but c'est la vie. Older versions used
86559 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
86560 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
86561 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
86562 # set (hence we're using an older libtool), then set it.
86563 if test x${with_gnu_ld+set} != xset; then
86564 if test x${ac_cv_prog_gnu_ld+set} != xset; then
86565 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
86566 with_gnu_ld=no
86567 else
86568 with_gnu_ld=$ac_cv_prog_gnu_ld
86572 # Start by getting the version number. I think the libtool test already
86573 # does some of this, but throws away the result.
86574 glibcxx_ld_is_gold=no
86575 if test x"$with_gnu_ld" = x"yes"; then
86576 echo "$as_me:$LINENO: checking for ld version" >&5
86577 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
86579 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
86580 glibcxx_ld_is_gold=yes
86582 ldver=`$LD --version 2>/dev/null | head -1 | \
86583 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
86585 glibcxx_gnu_ld_version=`echo $ldver | \
86586 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
86587 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
86588 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
86591 # Set --gc-sections.
86592 glibcxx_have_gc_sections=no
86593 if test "$glibcxx_ld_is_gold" = "yes"; then
86594 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
86595 glibcxx_have_gc_sections=yes
86597 else
86598 glibcxx_gcsections_min_ld=21602
86599 if test x"$with_gnu_ld" = x"yes" &&
86600 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
86601 glibcxx_have_gc_sections=yes
86604 if test "$glibcxx_have_gc_sections" = "yes"; then
86605 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
86606 # NB: This flag only works reliably after 2.16.1. Configure tests
86607 # for this are difficult, so hard wire a value that should work.
86609 ac_test_CFLAGS="${CFLAGS+set}"
86610 ac_save_CFLAGS="$CFLAGS"
86611 CFLAGS='-Wl,--gc-sections'
86613 # Check for -Wl,--gc-sections
86614 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
86615 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
86616 if test x$gcc_no_link = xyes; then
86617 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86618 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86619 { (exit 1); exit 1; }; }
86621 cat >conftest.$ac_ext <<_ACEOF
86622 /* confdefs.h. */
86623 _ACEOF
86624 cat confdefs.h >>conftest.$ac_ext
86625 cat >>conftest.$ac_ext <<_ACEOF
86626 /* end confdefs.h. */
86627 int one(void) { return 1; }
86628 int two(void) { return 2; }
86631 main ()
86633 two();
86635 return 0;
86637 _ACEOF
86638 rm -f conftest.$ac_objext conftest$ac_exeext
86639 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86640 (eval $ac_link) 2>conftest.er1
86641 ac_status=$?
86642 grep -v '^ *+' conftest.er1 >conftest.err
86643 rm -f conftest.er1
86644 cat conftest.err >&5
86645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86646 (exit $ac_status); } &&
86647 { ac_try='test -z "$ac_c_werror_flag"
86648 || test ! -s conftest.err'
86649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86650 (eval $ac_try) 2>&5
86651 ac_status=$?
86652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86653 (exit $ac_status); }; } &&
86654 { ac_try='test -s conftest$ac_exeext'
86655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86656 (eval $ac_try) 2>&5
86657 ac_status=$?
86658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86659 (exit $ac_status); }; }; then
86660 ac_gcsections=yes
86661 else
86662 echo "$as_me: failed program was:" >&5
86663 sed 's/^/| /' conftest.$ac_ext >&5
86665 ac_gcsections=no
86667 rm -f conftest.err conftest.$ac_objext \
86668 conftest$ac_exeext conftest.$ac_ext
86669 if test "$ac_gcsections" = "yes"; then
86670 rm -f conftest.c
86671 touch conftest.c
86672 if $CC -c conftest.c; then
86673 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
86674 grep "Warning: gc-sections option ignored" > /dev/null; then
86675 ac_gcsections=no
86678 rm -f conftest.c conftest.o conftest
86680 if test "$ac_gcsections" = "yes"; then
86681 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
86683 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
86684 echo "${ECHO_T}$ac_gcsections" >&6
86686 if test "$ac_test_CFLAGS" = set; then
86687 CFLAGS="$ac_save_CFLAGS"
86688 else
86689 # this is the suspicious part
86690 CFLAGS=''
86694 # Set -z,relro.
86695 # Note this is only for shared objects.
86696 ac_ld_relro=no
86697 if test x"$with_gnu_ld" = x"yes"; then
86698 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
86699 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
86700 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
86701 if test -n "$cxx_z_relo"; then
86702 OPT_LDFLAGS="-Wl,-z,relro"
86703 ac_ld_relro=yes
86705 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
86706 echo "${ECHO_T}$ac_ld_relro" >&6
86709 # Set linker optimization flags.
86710 if test x"$with_gnu_ld" = x"yes"; then
86711 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
86719 echo "$as_me:$LINENO: checking for main in -lm" >&5
86720 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
86721 if test "${ac_cv_lib_m_main+set}" = set; then
86722 echo $ECHO_N "(cached) $ECHO_C" >&6
86723 else
86724 ac_check_lib_save_LIBS=$LIBS
86725 LIBS="-lm $LIBS"
86726 if test x$gcc_no_link = xyes; then
86727 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86728 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86729 { (exit 1); exit 1; }; }
86731 cat >conftest.$ac_ext <<_ACEOF
86732 /* confdefs.h. */
86733 _ACEOF
86734 cat confdefs.h >>conftest.$ac_ext
86735 cat >>conftest.$ac_ext <<_ACEOF
86736 /* end confdefs.h. */
86740 main ()
86742 main ();
86744 return 0;
86746 _ACEOF
86747 rm -f conftest.$ac_objext conftest$ac_exeext
86748 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86749 (eval $ac_link) 2>conftest.er1
86750 ac_status=$?
86751 grep -v '^ *+' conftest.er1 >conftest.err
86752 rm -f conftest.er1
86753 cat conftest.err >&5
86754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86755 (exit $ac_status); } &&
86756 { ac_try='test -z "$ac_c_werror_flag"
86757 || test ! -s conftest.err'
86758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86759 (eval $ac_try) 2>&5
86760 ac_status=$?
86761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86762 (exit $ac_status); }; } &&
86763 { ac_try='test -s conftest$ac_exeext'
86764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86765 (eval $ac_try) 2>&5
86766 ac_status=$?
86767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86768 (exit $ac_status); }; }; then
86769 ac_cv_lib_m_main=yes
86770 else
86771 echo "$as_me: failed program was:" >&5
86772 sed 's/^/| /' conftest.$ac_ext >&5
86774 ac_cv_lib_m_main=no
86776 rm -f conftest.err conftest.$ac_objext \
86777 conftest$ac_exeext conftest.$ac_ext
86778 LIBS=$ac_check_lib_save_LIBS
86780 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
86781 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
86782 if test $ac_cv_lib_m_main = yes; then
86783 cat >>confdefs.h <<_ACEOF
86784 #define HAVE_LIBM 1
86785 _ACEOF
86787 LIBS="-lm $LIBS"
86792 for ac_func in copysignf
86794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86795 echo "$as_me:$LINENO: checking for $ac_func" >&5
86796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86797 if eval "test \"\${$as_ac_var+set}\" = set"; then
86798 echo $ECHO_N "(cached) $ECHO_C" >&6
86799 else
86800 if test x$gcc_no_link = xyes; then
86801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86803 { (exit 1); exit 1; }; }
86805 cat >conftest.$ac_ext <<_ACEOF
86806 /* confdefs.h. */
86807 _ACEOF
86808 cat confdefs.h >>conftest.$ac_ext
86809 cat >>conftest.$ac_ext <<_ACEOF
86810 /* end confdefs.h. */
86811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86813 #define $ac_func innocuous_$ac_func
86815 /* System header to define __stub macros and hopefully few prototypes,
86816 which can conflict with char $ac_func (); below.
86817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86818 <limits.h> exists even on freestanding compilers. */
86820 #ifdef __STDC__
86821 # include <limits.h>
86822 #else
86823 # include <assert.h>
86824 #endif
86826 #undef $ac_func
86828 /* Override any gcc2 internal prototype to avoid an error. */
86829 #ifdef __cplusplus
86830 extern "C"
86832 #endif
86833 /* We use char because int might match the return type of a gcc2
86834 builtin and then its argument prototype would still apply. */
86835 char $ac_func ();
86836 /* The GNU C library defines this for functions which it implements
86837 to always fail with ENOSYS. Some functions are actually named
86838 something starting with __ and the normal name is an alias. */
86839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86840 choke me
86841 #else
86842 char (*f) () = $ac_func;
86843 #endif
86844 #ifdef __cplusplus
86846 #endif
86849 main ()
86851 return f != $ac_func;
86853 return 0;
86855 _ACEOF
86856 rm -f conftest.$ac_objext conftest$ac_exeext
86857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86858 (eval $ac_link) 2>conftest.er1
86859 ac_status=$?
86860 grep -v '^ *+' conftest.er1 >conftest.err
86861 rm -f conftest.er1
86862 cat conftest.err >&5
86863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86864 (exit $ac_status); } &&
86865 { ac_try='test -z "$ac_c_werror_flag"
86866 || test ! -s conftest.err'
86867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86868 (eval $ac_try) 2>&5
86869 ac_status=$?
86870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86871 (exit $ac_status); }; } &&
86872 { ac_try='test -s conftest$ac_exeext'
86873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86874 (eval $ac_try) 2>&5
86875 ac_status=$?
86876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86877 (exit $ac_status); }; }; then
86878 eval "$as_ac_var=yes"
86879 else
86880 echo "$as_me: failed program was:" >&5
86881 sed 's/^/| /' conftest.$ac_ext >&5
86883 eval "$as_ac_var=no"
86885 rm -f conftest.err conftest.$ac_objext \
86886 conftest$ac_exeext conftest.$ac_ext
86888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86890 if test `eval echo '${'$as_ac_var'}'` = yes; then
86891 cat >>confdefs.h <<_ACEOF
86892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86893 _ACEOF
86895 else
86896 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
86898 done
86902 for ac_func in __signbit
86904 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86905 echo "$as_me:$LINENO: checking for $ac_func" >&5
86906 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86907 if eval "test \"\${$as_ac_var+set}\" = set"; then
86908 echo $ECHO_N "(cached) $ECHO_C" >&6
86909 else
86910 if test x$gcc_no_link = xyes; then
86911 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86912 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86913 { (exit 1); exit 1; }; }
86915 cat >conftest.$ac_ext <<_ACEOF
86916 /* confdefs.h. */
86917 _ACEOF
86918 cat confdefs.h >>conftest.$ac_ext
86919 cat >>conftest.$ac_ext <<_ACEOF
86920 /* end confdefs.h. */
86921 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86922 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86923 #define $ac_func innocuous_$ac_func
86925 /* System header to define __stub macros and hopefully few prototypes,
86926 which can conflict with char $ac_func (); below.
86927 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86928 <limits.h> exists even on freestanding compilers. */
86930 #ifdef __STDC__
86931 # include <limits.h>
86932 #else
86933 # include <assert.h>
86934 #endif
86936 #undef $ac_func
86938 /* Override any gcc2 internal prototype to avoid an error. */
86939 #ifdef __cplusplus
86940 extern "C"
86942 #endif
86943 /* We use char because int might match the return type of a gcc2
86944 builtin and then its argument prototype would still apply. */
86945 char $ac_func ();
86946 /* The GNU C library defines this for functions which it implements
86947 to always fail with ENOSYS. Some functions are actually named
86948 something starting with __ and the normal name is an alias. */
86949 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86950 choke me
86951 #else
86952 char (*f) () = $ac_func;
86953 #endif
86954 #ifdef __cplusplus
86956 #endif
86959 main ()
86961 return f != $ac_func;
86963 return 0;
86965 _ACEOF
86966 rm -f conftest.$ac_objext conftest$ac_exeext
86967 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86968 (eval $ac_link) 2>conftest.er1
86969 ac_status=$?
86970 grep -v '^ *+' conftest.er1 >conftest.err
86971 rm -f conftest.er1
86972 cat conftest.err >&5
86973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86974 (exit $ac_status); } &&
86975 { ac_try='test -z "$ac_c_werror_flag"
86976 || test ! -s conftest.err'
86977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86978 (eval $ac_try) 2>&5
86979 ac_status=$?
86980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86981 (exit $ac_status); }; } &&
86982 { ac_try='test -s conftest$ac_exeext'
86983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86984 (eval $ac_try) 2>&5
86985 ac_status=$?
86986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86987 (exit $ac_status); }; }; then
86988 eval "$as_ac_var=yes"
86989 else
86990 echo "$as_me: failed program was:" >&5
86991 sed 's/^/| /' conftest.$ac_ext >&5
86993 eval "$as_ac_var=no"
86995 rm -f conftest.err conftest.$ac_objext \
86996 conftest$ac_exeext conftest.$ac_ext
86998 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86999 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87000 if test `eval echo '${'$as_ac_var'}'` = yes; then
87001 cat >>confdefs.h <<_ACEOF
87002 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87003 _ACEOF
87005 else
87006 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
87008 done
87012 for ac_func in __signbitf
87014 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87015 echo "$as_me:$LINENO: checking for $ac_func" >&5
87016 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87017 if eval "test \"\${$as_ac_var+set}\" = set"; then
87018 echo $ECHO_N "(cached) $ECHO_C" >&6
87019 else
87020 if test x$gcc_no_link = xyes; then
87021 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87022 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87023 { (exit 1); exit 1; }; }
87025 cat >conftest.$ac_ext <<_ACEOF
87026 /* confdefs.h. */
87027 _ACEOF
87028 cat confdefs.h >>conftest.$ac_ext
87029 cat >>conftest.$ac_ext <<_ACEOF
87030 /* end confdefs.h. */
87031 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87032 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87033 #define $ac_func innocuous_$ac_func
87035 /* System header to define __stub macros and hopefully few prototypes,
87036 which can conflict with char $ac_func (); below.
87037 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87038 <limits.h> exists even on freestanding compilers. */
87040 #ifdef __STDC__
87041 # include <limits.h>
87042 #else
87043 # include <assert.h>
87044 #endif
87046 #undef $ac_func
87048 /* Override any gcc2 internal prototype to avoid an error. */
87049 #ifdef __cplusplus
87050 extern "C"
87052 #endif
87053 /* We use char because int might match the return type of a gcc2
87054 builtin and then its argument prototype would still apply. */
87055 char $ac_func ();
87056 /* The GNU C library defines this for functions which it implements
87057 to always fail with ENOSYS. Some functions are actually named
87058 something starting with __ and the normal name is an alias. */
87059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87060 choke me
87061 #else
87062 char (*f) () = $ac_func;
87063 #endif
87064 #ifdef __cplusplus
87066 #endif
87069 main ()
87071 return f != $ac_func;
87073 return 0;
87075 _ACEOF
87076 rm -f conftest.$ac_objext conftest$ac_exeext
87077 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87078 (eval $ac_link) 2>conftest.er1
87079 ac_status=$?
87080 grep -v '^ *+' conftest.er1 >conftest.err
87081 rm -f conftest.er1
87082 cat conftest.err >&5
87083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87084 (exit $ac_status); } &&
87085 { ac_try='test -z "$ac_c_werror_flag"
87086 || test ! -s conftest.err'
87087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87088 (eval $ac_try) 2>&5
87089 ac_status=$?
87090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87091 (exit $ac_status); }; } &&
87092 { ac_try='test -s conftest$ac_exeext'
87093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87094 (eval $ac_try) 2>&5
87095 ac_status=$?
87096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87097 (exit $ac_status); }; }; then
87098 eval "$as_ac_var=yes"
87099 else
87100 echo "$as_me: failed program was:" >&5
87101 sed 's/^/| /' conftest.$ac_ext >&5
87103 eval "$as_ac_var=no"
87105 rm -f conftest.err conftest.$ac_objext \
87106 conftest$ac_exeext conftest.$ac_ext
87108 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87109 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87110 if test `eval echo '${'$as_ac_var'}'` = yes; then
87111 cat >>confdefs.h <<_ACEOF
87112 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87113 _ACEOF
87115 else
87116 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
87118 done
87121 if test x$ac_cv_func_copysignl = x"yes"; then
87123 for ac_func in __signbitl
87125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87126 echo "$as_me:$LINENO: checking for $ac_func" >&5
87127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87128 if eval "test \"\${$as_ac_var+set}\" = set"; then
87129 echo $ECHO_N "(cached) $ECHO_C" >&6
87130 else
87131 if test x$gcc_no_link = xyes; then
87132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87134 { (exit 1); exit 1; }; }
87136 cat >conftest.$ac_ext <<_ACEOF
87137 /* confdefs.h. */
87138 _ACEOF
87139 cat confdefs.h >>conftest.$ac_ext
87140 cat >>conftest.$ac_ext <<_ACEOF
87141 /* end confdefs.h. */
87142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87144 #define $ac_func innocuous_$ac_func
87146 /* System header to define __stub macros and hopefully few prototypes,
87147 which can conflict with char $ac_func (); below.
87148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87149 <limits.h> exists even on freestanding compilers. */
87151 #ifdef __STDC__
87152 # include <limits.h>
87153 #else
87154 # include <assert.h>
87155 #endif
87157 #undef $ac_func
87159 /* Override any gcc2 internal prototype to avoid an error. */
87160 #ifdef __cplusplus
87161 extern "C"
87163 #endif
87164 /* We use char because int might match the return type of a gcc2
87165 builtin and then its argument prototype would still apply. */
87166 char $ac_func ();
87167 /* The GNU C library defines this for functions which it implements
87168 to always fail with ENOSYS. Some functions are actually named
87169 something starting with __ and the normal name is an alias. */
87170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87171 choke me
87172 #else
87173 char (*f) () = $ac_func;
87174 #endif
87175 #ifdef __cplusplus
87177 #endif
87180 main ()
87182 return f != $ac_func;
87184 return 0;
87186 _ACEOF
87187 rm -f conftest.$ac_objext conftest$ac_exeext
87188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87189 (eval $ac_link) 2>conftest.er1
87190 ac_status=$?
87191 grep -v '^ *+' conftest.er1 >conftest.err
87192 rm -f conftest.er1
87193 cat conftest.err >&5
87194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87195 (exit $ac_status); } &&
87196 { ac_try='test -z "$ac_c_werror_flag"
87197 || test ! -s conftest.err'
87198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87199 (eval $ac_try) 2>&5
87200 ac_status=$?
87201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87202 (exit $ac_status); }; } &&
87203 { ac_try='test -s conftest$ac_exeext'
87204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87205 (eval $ac_try) 2>&5
87206 ac_status=$?
87207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87208 (exit $ac_status); }; }; then
87209 eval "$as_ac_var=yes"
87210 else
87211 echo "$as_me: failed program was:" >&5
87212 sed 's/^/| /' conftest.$ac_ext >&5
87214 eval "$as_ac_var=no"
87216 rm -f conftest.err conftest.$ac_objext \
87217 conftest$ac_exeext conftest.$ac_ext
87219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87221 if test `eval echo '${'$as_ac_var'}'` = yes; then
87222 cat >>confdefs.h <<_ACEOF
87223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87224 _ACEOF
87226 else
87227 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
87229 done
87233 # Used in libmath/Makefile.am.
87234 if test -n "$LIBMATHOBJS"; then
87235 need_libmath=yes
87239 cat >>confdefs.h <<\_ACEOF
87240 #define HAVE_LC_MESSAGES 1
87241 _ACEOF
87243 cat >>confdefs.h <<\_ACEOF
87244 #define HAVE_GETPAGESIZE 1
87245 _ACEOF
87247 cat >>confdefs.h <<\_ACEOF
87248 #define HAVE_SETENV 1
87249 _ACEOF
87251 cat >>confdefs.h <<\_ACEOF
87252 #define HAVE_SIGSETJMP 1
87253 _ACEOF
87255 cat >>confdefs.h <<\_ACEOF
87256 #define HAVE_COPYSIGN 1
87257 _ACEOF
87259 cat >>confdefs.h <<\_ACEOF
87260 #define HAVE_COPYSIGNF 1
87261 _ACEOF
87263 cat >>confdefs.h <<\_ACEOF
87264 #define HAVE_FINITEF 1
87265 _ACEOF
87267 cat >>confdefs.h <<\_ACEOF
87268 #define HAVE_FINITE 1
87269 _ACEOF
87271 cat >>confdefs.h <<\_ACEOF
87272 #define HAVE_FREXPF 1
87273 _ACEOF
87275 cat >>confdefs.h <<\_ACEOF
87276 #define HAVE_HYPOT 1
87277 _ACEOF
87279 cat >>confdefs.h <<\_ACEOF
87280 #define HAVE_HYPOTF 1
87281 _ACEOF
87283 cat >>confdefs.h <<\_ACEOF
87284 #define HAVE_ISINF 1
87285 _ACEOF
87287 cat >>confdefs.h <<\_ACEOF
87288 #define HAVE_ISNAN 1
87289 _ACEOF
87291 cat >>confdefs.h <<\_ACEOF
87292 #define HAVE_ISNANF 1
87293 _ACEOF
87296 cat >>confdefs.h <<\_ACEOF
87297 #define HAVE_MMAP 1
87298 _ACEOF
87300 cat >>confdefs.h <<\_ACEOF
87301 #define HAVE_ACOSF 1
87302 _ACEOF
87304 cat >>confdefs.h <<\_ACEOF
87305 #define HAVE_ASINF 1
87306 _ACEOF
87308 cat >>confdefs.h <<\_ACEOF
87309 #define HAVE_ATAN2F 1
87310 _ACEOF
87312 cat >>confdefs.h <<\_ACEOF
87313 #define HAVE_ATANF 1
87314 _ACEOF
87316 cat >>confdefs.h <<\_ACEOF
87317 #define HAVE_CEILF 1
87318 _ACEOF
87320 cat >>confdefs.h <<\_ACEOF
87321 #define HAVE_COPYSIGN 1
87322 _ACEOF
87324 cat >>confdefs.h <<\_ACEOF
87325 #define HAVE_COPYSIGNF 1
87326 _ACEOF
87328 cat >>confdefs.h <<\_ACEOF
87329 #define HAVE_COSF 1
87330 _ACEOF
87332 cat >>confdefs.h <<\_ACEOF
87333 #define HAVE_COSHF 1
87334 _ACEOF
87336 cat >>confdefs.h <<\_ACEOF
87337 #define HAVE_EXPF 1
87338 _ACEOF
87340 cat >>confdefs.h <<\_ACEOF
87341 #define HAVE_FABSF 1
87342 _ACEOF
87344 cat >>confdefs.h <<\_ACEOF
87345 #define HAVE_FLOORF 1
87346 _ACEOF
87348 cat >>confdefs.h <<\_ACEOF
87349 #define HAVE_FMODF 1
87350 _ACEOF
87352 cat >>confdefs.h <<\_ACEOF
87353 #define HAVE_FREXPF 1
87354 _ACEOF
87356 cat >>confdefs.h <<\_ACEOF
87357 #define HAVE_LDEXPF 1
87358 _ACEOF
87360 cat >>confdefs.h <<\_ACEOF
87361 #define HAVE_LOG10F 1
87362 _ACEOF
87364 cat >>confdefs.h <<\_ACEOF
87365 #define HAVE_LOGF 1
87366 _ACEOF
87368 cat >>confdefs.h <<\_ACEOF
87369 #define HAVE_MODFF 1
87370 _ACEOF
87372 cat >>confdefs.h <<\_ACEOF
87373 #define HAVE_POWF 1
87374 _ACEOF
87376 cat >>confdefs.h <<\_ACEOF
87377 #define HAVE_SINF 1
87378 _ACEOF
87380 cat >>confdefs.h <<\_ACEOF
87381 #define HAVE_SINHF 1
87382 _ACEOF
87384 cat >>confdefs.h <<\_ACEOF
87385 #define HAVE_SQRTF 1
87386 _ACEOF
87388 cat >>confdefs.h <<\_ACEOF
87389 #define HAVE_TANF 1
87390 _ACEOF
87392 cat >>confdefs.h <<\_ACEOF
87393 #define HAVE_TANHF 1
87394 _ACEOF
87396 if test x"long_double_math_on_this_cpu" = x"yes"; then
87397 cat >>confdefs.h <<\_ACEOF
87398 #define HAVE_FINITEL 1
87399 _ACEOF
87401 cat >>confdefs.h <<\_ACEOF
87402 #define HAVE_ISINFL 1
87403 _ACEOF
87405 cat >>confdefs.h <<\_ACEOF
87406 #define HAVE_ISNANL 1
87407 _ACEOF
87411 *-hpux*)
87424 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
87425 machine/endian.h machine/param.h sys/machine.h sys/types.h \
87426 fp.h locale.h float.h inttypes.h
87428 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
87429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87430 echo "$as_me:$LINENO: checking for $ac_header" >&5
87431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87432 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87433 echo $ECHO_N "(cached) $ECHO_C" >&6
87435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87436 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87437 else
87438 # Is the header compilable?
87439 echo "$as_me:$LINENO: checking $ac_header usability" >&5
87440 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
87441 cat >conftest.$ac_ext <<_ACEOF
87442 /* confdefs.h. */
87443 _ACEOF
87444 cat confdefs.h >>conftest.$ac_ext
87445 cat >>conftest.$ac_ext <<_ACEOF
87446 /* end confdefs.h. */
87447 $ac_includes_default
87448 #include <$ac_header>
87449 _ACEOF
87450 rm -f conftest.$ac_objext
87451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87452 (eval $ac_compile) 2>conftest.er1
87453 ac_status=$?
87454 grep -v '^ *+' conftest.er1 >conftest.err
87455 rm -f conftest.er1
87456 cat conftest.err >&5
87457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87458 (exit $ac_status); } &&
87459 { ac_try='test -z "$ac_c_werror_flag"
87460 || test ! -s conftest.err'
87461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87462 (eval $ac_try) 2>&5
87463 ac_status=$?
87464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87465 (exit $ac_status); }; } &&
87466 { ac_try='test -s conftest.$ac_objext'
87467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87468 (eval $ac_try) 2>&5
87469 ac_status=$?
87470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87471 (exit $ac_status); }; }; then
87472 ac_header_compiler=yes
87473 else
87474 echo "$as_me: failed program was:" >&5
87475 sed 's/^/| /' conftest.$ac_ext >&5
87477 ac_header_compiler=no
87479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87480 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
87481 echo "${ECHO_T}$ac_header_compiler" >&6
87483 # Is the header present?
87484 echo "$as_me:$LINENO: checking $ac_header presence" >&5
87485 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
87486 cat >conftest.$ac_ext <<_ACEOF
87487 /* confdefs.h. */
87488 _ACEOF
87489 cat confdefs.h >>conftest.$ac_ext
87490 cat >>conftest.$ac_ext <<_ACEOF
87491 /* end confdefs.h. */
87492 #include <$ac_header>
87493 _ACEOF
87494 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
87495 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
87496 ac_status=$?
87497 grep -v '^ *+' conftest.er1 >conftest.err
87498 rm -f conftest.er1
87499 cat conftest.err >&5
87500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87501 (exit $ac_status); } >/dev/null; then
87502 if test -s conftest.err; then
87503 ac_cpp_err=$ac_c_preproc_warn_flag
87504 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
87505 else
87506 ac_cpp_err=
87508 else
87509 ac_cpp_err=yes
87511 if test -z "$ac_cpp_err"; then
87512 ac_header_preproc=yes
87513 else
87514 echo "$as_me: failed program was:" >&5
87515 sed 's/^/| /' conftest.$ac_ext >&5
87517 ac_header_preproc=no
87519 rm -f conftest.err conftest.$ac_ext
87520 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
87521 echo "${ECHO_T}$ac_header_preproc" >&6
87523 # So? What about this header?
87524 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
87525 yes:no: )
87526 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
87527 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
87528 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
87529 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
87530 ac_header_preproc=yes
87532 no:yes:* )
87533 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
87534 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
87535 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
87536 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
87537 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
87538 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
87539 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
87540 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
87541 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
87542 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
87543 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
87544 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
87546 cat <<\_ASBOX
87547 ## ----------------------------------------- ##
87548 ## Report this to the package-unused lists. ##
87549 ## ----------------------------------------- ##
87550 _ASBOX
87552 sed "s/^/$as_me: WARNING: /" >&2
87554 esac
87555 echo "$as_me:$LINENO: checking for $ac_header" >&5
87556 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
87557 if eval "test \"\${$as_ac_Header+set}\" = set"; then
87558 echo $ECHO_N "(cached) $ECHO_C" >&6
87559 else
87560 eval "$as_ac_Header=\$ac_header_preproc"
87562 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
87563 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
87566 if test `eval echo '${'$as_ac_Header'}'` = yes; then
87567 cat >>confdefs.h <<_ACEOF
87568 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
87569 _ACEOF
87573 done
87575 SECTION_FLAGS='-ffunction-sections -fdata-sections'
87578 # If we're not using GNU ld, then there's no point in even trying these
87579 # tests. Check for that first. We should have already tested for gld
87580 # by now (in libtool), but require it now just to be safe...
87581 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
87582 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
87586 # The name set by libtool depends on the version of libtool. Shame on us
87587 # for depending on an impl detail, but c'est la vie. Older versions used
87588 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
87589 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
87590 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
87591 # set (hence we're using an older libtool), then set it.
87592 if test x${with_gnu_ld+set} != xset; then
87593 if test x${ac_cv_prog_gnu_ld+set} != xset; then
87594 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
87595 with_gnu_ld=no
87596 else
87597 with_gnu_ld=$ac_cv_prog_gnu_ld
87601 # Start by getting the version number. I think the libtool test already
87602 # does some of this, but throws away the result.
87603 glibcxx_ld_is_gold=no
87604 if test x"$with_gnu_ld" = x"yes"; then
87605 echo "$as_me:$LINENO: checking for ld version" >&5
87606 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
87608 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
87609 glibcxx_ld_is_gold=yes
87611 ldver=`$LD --version 2>/dev/null | head -1 | \
87612 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
87614 glibcxx_gnu_ld_version=`echo $ldver | \
87615 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
87616 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
87617 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
87620 # Set --gc-sections.
87621 glibcxx_have_gc_sections=no
87622 if test "$glibcxx_ld_is_gold" = "yes"; then
87623 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
87624 glibcxx_have_gc_sections=yes
87626 else
87627 glibcxx_gcsections_min_ld=21602
87628 if test x"$with_gnu_ld" = x"yes" &&
87629 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
87630 glibcxx_have_gc_sections=yes
87633 if test "$glibcxx_have_gc_sections" = "yes"; then
87634 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
87635 # NB: This flag only works reliably after 2.16.1. Configure tests
87636 # for this are difficult, so hard wire a value that should work.
87638 ac_test_CFLAGS="${CFLAGS+set}"
87639 ac_save_CFLAGS="$CFLAGS"
87640 CFLAGS='-Wl,--gc-sections'
87642 # Check for -Wl,--gc-sections
87643 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
87644 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
87645 if test x$gcc_no_link = xyes; then
87646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87648 { (exit 1); exit 1; }; }
87650 cat >conftest.$ac_ext <<_ACEOF
87651 /* confdefs.h. */
87652 _ACEOF
87653 cat confdefs.h >>conftest.$ac_ext
87654 cat >>conftest.$ac_ext <<_ACEOF
87655 /* end confdefs.h. */
87656 int one(void) { return 1; }
87657 int two(void) { return 2; }
87660 main ()
87662 two();
87664 return 0;
87666 _ACEOF
87667 rm -f conftest.$ac_objext conftest$ac_exeext
87668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87669 (eval $ac_link) 2>conftest.er1
87670 ac_status=$?
87671 grep -v '^ *+' conftest.er1 >conftest.err
87672 rm -f conftest.er1
87673 cat conftest.err >&5
87674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87675 (exit $ac_status); } &&
87676 { ac_try='test -z "$ac_c_werror_flag"
87677 || test ! -s conftest.err'
87678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87679 (eval $ac_try) 2>&5
87680 ac_status=$?
87681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87682 (exit $ac_status); }; } &&
87683 { ac_try='test -s conftest$ac_exeext'
87684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87685 (eval $ac_try) 2>&5
87686 ac_status=$?
87687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87688 (exit $ac_status); }; }; then
87689 ac_gcsections=yes
87690 else
87691 echo "$as_me: failed program was:" >&5
87692 sed 's/^/| /' conftest.$ac_ext >&5
87694 ac_gcsections=no
87696 rm -f conftest.err conftest.$ac_objext \
87697 conftest$ac_exeext conftest.$ac_ext
87698 if test "$ac_gcsections" = "yes"; then
87699 rm -f conftest.c
87700 touch conftest.c
87701 if $CC -c conftest.c; then
87702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
87703 grep "Warning: gc-sections option ignored" > /dev/null; then
87704 ac_gcsections=no
87707 rm -f conftest.c conftest.o conftest
87709 if test "$ac_gcsections" = "yes"; then
87710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
87712 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
87713 echo "${ECHO_T}$ac_gcsections" >&6
87715 if test "$ac_test_CFLAGS" = set; then
87716 CFLAGS="$ac_save_CFLAGS"
87717 else
87718 # this is the suspicious part
87719 CFLAGS=''
87723 # Set -z,relro.
87724 # Note this is only for shared objects.
87725 ac_ld_relro=no
87726 if test x"$with_gnu_ld" = x"yes"; then
87727 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
87728 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
87729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
87730 if test -n "$cxx_z_relo"; then
87731 OPT_LDFLAGS="-Wl,-z,relro"
87732 ac_ld_relro=yes
87734 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
87735 echo "${ECHO_T}$ac_ld_relro" >&6
87738 # Set linker optimization flags.
87739 if test x"$with_gnu_ld" = x"yes"; then
87740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
87748 echo "$as_me:$LINENO: checking for main in -lm" >&5
87749 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
87750 if test "${ac_cv_lib_m_main+set}" = set; then
87751 echo $ECHO_N "(cached) $ECHO_C" >&6
87752 else
87753 ac_check_lib_save_LIBS=$LIBS
87754 LIBS="-lm $LIBS"
87755 if test x$gcc_no_link = xyes; then
87756 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87757 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87758 { (exit 1); exit 1; }; }
87760 cat >conftest.$ac_ext <<_ACEOF
87761 /* confdefs.h. */
87762 _ACEOF
87763 cat confdefs.h >>conftest.$ac_ext
87764 cat >>conftest.$ac_ext <<_ACEOF
87765 /* end confdefs.h. */
87769 main ()
87771 main ();
87773 return 0;
87775 _ACEOF
87776 rm -f conftest.$ac_objext conftest$ac_exeext
87777 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87778 (eval $ac_link) 2>conftest.er1
87779 ac_status=$?
87780 grep -v '^ *+' conftest.er1 >conftest.err
87781 rm -f conftest.er1
87782 cat conftest.err >&5
87783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87784 (exit $ac_status); } &&
87785 { ac_try='test -z "$ac_c_werror_flag"
87786 || test ! -s conftest.err'
87787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87788 (eval $ac_try) 2>&5
87789 ac_status=$?
87790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87791 (exit $ac_status); }; } &&
87792 { ac_try='test -s conftest$ac_exeext'
87793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87794 (eval $ac_try) 2>&5
87795 ac_status=$?
87796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87797 (exit $ac_status); }; }; then
87798 ac_cv_lib_m_main=yes
87799 else
87800 echo "$as_me: failed program was:" >&5
87801 sed 's/^/| /' conftest.$ac_ext >&5
87803 ac_cv_lib_m_main=no
87805 rm -f conftest.err conftest.$ac_objext \
87806 conftest$ac_exeext conftest.$ac_ext
87807 LIBS=$ac_check_lib_save_LIBS
87809 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
87810 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
87811 if test $ac_cv_lib_m_main = yes; then
87812 cat >>confdefs.h <<_ACEOF
87813 #define HAVE_LIBM 1
87814 _ACEOF
87816 LIBS="-lm $LIBS"
87821 for ac_func in copysignf
87823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87824 echo "$as_me:$LINENO: checking for $ac_func" >&5
87825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87826 if eval "test \"\${$as_ac_var+set}\" = set"; then
87827 echo $ECHO_N "(cached) $ECHO_C" >&6
87828 else
87829 if test x$gcc_no_link = xyes; then
87830 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87831 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87832 { (exit 1); exit 1; }; }
87834 cat >conftest.$ac_ext <<_ACEOF
87835 /* confdefs.h. */
87836 _ACEOF
87837 cat confdefs.h >>conftest.$ac_ext
87838 cat >>conftest.$ac_ext <<_ACEOF
87839 /* end confdefs.h. */
87840 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87841 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87842 #define $ac_func innocuous_$ac_func
87844 /* System header to define __stub macros and hopefully few prototypes,
87845 which can conflict with char $ac_func (); below.
87846 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87847 <limits.h> exists even on freestanding compilers. */
87849 #ifdef __STDC__
87850 # include <limits.h>
87851 #else
87852 # include <assert.h>
87853 #endif
87855 #undef $ac_func
87857 /* Override any gcc2 internal prototype to avoid an error. */
87858 #ifdef __cplusplus
87859 extern "C"
87861 #endif
87862 /* We use char because int might match the return type of a gcc2
87863 builtin and then its argument prototype would still apply. */
87864 char $ac_func ();
87865 /* The GNU C library defines this for functions which it implements
87866 to always fail with ENOSYS. Some functions are actually named
87867 something starting with __ and the normal name is an alias. */
87868 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87869 choke me
87870 #else
87871 char (*f) () = $ac_func;
87872 #endif
87873 #ifdef __cplusplus
87875 #endif
87878 main ()
87880 return f != $ac_func;
87882 return 0;
87884 _ACEOF
87885 rm -f conftest.$ac_objext conftest$ac_exeext
87886 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87887 (eval $ac_link) 2>conftest.er1
87888 ac_status=$?
87889 grep -v '^ *+' conftest.er1 >conftest.err
87890 rm -f conftest.er1
87891 cat conftest.err >&5
87892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87893 (exit $ac_status); } &&
87894 { ac_try='test -z "$ac_c_werror_flag"
87895 || test ! -s conftest.err'
87896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87897 (eval $ac_try) 2>&5
87898 ac_status=$?
87899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87900 (exit $ac_status); }; } &&
87901 { ac_try='test -s conftest$ac_exeext'
87902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87903 (eval $ac_try) 2>&5
87904 ac_status=$?
87905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87906 (exit $ac_status); }; }; then
87907 eval "$as_ac_var=yes"
87908 else
87909 echo "$as_me: failed program was:" >&5
87910 sed 's/^/| /' conftest.$ac_ext >&5
87912 eval "$as_ac_var=no"
87914 rm -f conftest.err conftest.$ac_objext \
87915 conftest$ac_exeext conftest.$ac_ext
87917 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87918 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87919 if test `eval echo '${'$as_ac_var'}'` = yes; then
87920 cat >>confdefs.h <<_ACEOF
87921 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87922 _ACEOF
87924 else
87925 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
87927 done
87931 for ac_func in __signbit
87933 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87934 echo "$as_me:$LINENO: checking for $ac_func" >&5
87935 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87936 if eval "test \"\${$as_ac_var+set}\" = set"; then
87937 echo $ECHO_N "(cached) $ECHO_C" >&6
87938 else
87939 if test x$gcc_no_link = xyes; then
87940 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87941 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87942 { (exit 1); exit 1; }; }
87944 cat >conftest.$ac_ext <<_ACEOF
87945 /* confdefs.h. */
87946 _ACEOF
87947 cat confdefs.h >>conftest.$ac_ext
87948 cat >>conftest.$ac_ext <<_ACEOF
87949 /* end confdefs.h. */
87950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87952 #define $ac_func innocuous_$ac_func
87954 /* System header to define __stub macros and hopefully few prototypes,
87955 which can conflict with char $ac_func (); below.
87956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87957 <limits.h> exists even on freestanding compilers. */
87959 #ifdef __STDC__
87960 # include <limits.h>
87961 #else
87962 # include <assert.h>
87963 #endif
87965 #undef $ac_func
87967 /* Override any gcc2 internal prototype to avoid an error. */
87968 #ifdef __cplusplus
87969 extern "C"
87971 #endif
87972 /* We use char because int might match the return type of a gcc2
87973 builtin and then its argument prototype would still apply. */
87974 char $ac_func ();
87975 /* The GNU C library defines this for functions which it implements
87976 to always fail with ENOSYS. Some functions are actually named
87977 something starting with __ and the normal name is an alias. */
87978 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87979 choke me
87980 #else
87981 char (*f) () = $ac_func;
87982 #endif
87983 #ifdef __cplusplus
87985 #endif
87988 main ()
87990 return f != $ac_func;
87992 return 0;
87994 _ACEOF
87995 rm -f conftest.$ac_objext conftest$ac_exeext
87996 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87997 (eval $ac_link) 2>conftest.er1
87998 ac_status=$?
87999 grep -v '^ *+' conftest.er1 >conftest.err
88000 rm -f conftest.er1
88001 cat conftest.err >&5
88002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88003 (exit $ac_status); } &&
88004 { ac_try='test -z "$ac_c_werror_flag"
88005 || test ! -s conftest.err'
88006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88007 (eval $ac_try) 2>&5
88008 ac_status=$?
88009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88010 (exit $ac_status); }; } &&
88011 { ac_try='test -s conftest$ac_exeext'
88012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88013 (eval $ac_try) 2>&5
88014 ac_status=$?
88015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88016 (exit $ac_status); }; }; then
88017 eval "$as_ac_var=yes"
88018 else
88019 echo "$as_me: failed program was:" >&5
88020 sed 's/^/| /' conftest.$ac_ext >&5
88022 eval "$as_ac_var=no"
88024 rm -f conftest.err conftest.$ac_objext \
88025 conftest$ac_exeext conftest.$ac_ext
88027 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88028 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88029 if test `eval echo '${'$as_ac_var'}'` = yes; then
88030 cat >>confdefs.h <<_ACEOF
88031 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88032 _ACEOF
88034 else
88035 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
88037 done
88041 for ac_func in __signbitf
88043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88044 echo "$as_me:$LINENO: checking for $ac_func" >&5
88045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88046 if eval "test \"\${$as_ac_var+set}\" = set"; then
88047 echo $ECHO_N "(cached) $ECHO_C" >&6
88048 else
88049 if test x$gcc_no_link = xyes; then
88050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88052 { (exit 1); exit 1; }; }
88054 cat >conftest.$ac_ext <<_ACEOF
88055 /* confdefs.h. */
88056 _ACEOF
88057 cat confdefs.h >>conftest.$ac_ext
88058 cat >>conftest.$ac_ext <<_ACEOF
88059 /* end confdefs.h. */
88060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88062 #define $ac_func innocuous_$ac_func
88064 /* System header to define __stub macros and hopefully few prototypes,
88065 which can conflict with char $ac_func (); below.
88066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88067 <limits.h> exists even on freestanding compilers. */
88069 #ifdef __STDC__
88070 # include <limits.h>
88071 #else
88072 # include <assert.h>
88073 #endif
88075 #undef $ac_func
88077 /* Override any gcc2 internal prototype to avoid an error. */
88078 #ifdef __cplusplus
88079 extern "C"
88081 #endif
88082 /* We use char because int might match the return type of a gcc2
88083 builtin and then its argument prototype would still apply. */
88084 char $ac_func ();
88085 /* The GNU C library defines this for functions which it implements
88086 to always fail with ENOSYS. Some functions are actually named
88087 something starting with __ and the normal name is an alias. */
88088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88089 choke me
88090 #else
88091 char (*f) () = $ac_func;
88092 #endif
88093 #ifdef __cplusplus
88095 #endif
88098 main ()
88100 return f != $ac_func;
88102 return 0;
88104 _ACEOF
88105 rm -f conftest.$ac_objext conftest$ac_exeext
88106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88107 (eval $ac_link) 2>conftest.er1
88108 ac_status=$?
88109 grep -v '^ *+' conftest.er1 >conftest.err
88110 rm -f conftest.er1
88111 cat conftest.err >&5
88112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88113 (exit $ac_status); } &&
88114 { ac_try='test -z "$ac_c_werror_flag"
88115 || test ! -s conftest.err'
88116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88117 (eval $ac_try) 2>&5
88118 ac_status=$?
88119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88120 (exit $ac_status); }; } &&
88121 { ac_try='test -s conftest$ac_exeext'
88122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88123 (eval $ac_try) 2>&5
88124 ac_status=$?
88125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88126 (exit $ac_status); }; }; then
88127 eval "$as_ac_var=yes"
88128 else
88129 echo "$as_me: failed program was:" >&5
88130 sed 's/^/| /' conftest.$ac_ext >&5
88132 eval "$as_ac_var=no"
88134 rm -f conftest.err conftest.$ac_objext \
88135 conftest$ac_exeext conftest.$ac_ext
88137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88139 if test `eval echo '${'$as_ac_var'}'` = yes; then
88140 cat >>confdefs.h <<_ACEOF
88141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88142 _ACEOF
88144 else
88145 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
88147 done
88150 if test x$ac_cv_func_copysignl = x"yes"; then
88152 for ac_func in __signbitl
88154 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88155 echo "$as_me:$LINENO: checking for $ac_func" >&5
88156 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88157 if eval "test \"\${$as_ac_var+set}\" = set"; then
88158 echo $ECHO_N "(cached) $ECHO_C" >&6
88159 else
88160 if test x$gcc_no_link = xyes; then
88161 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88162 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88163 { (exit 1); exit 1; }; }
88165 cat >conftest.$ac_ext <<_ACEOF
88166 /* confdefs.h. */
88167 _ACEOF
88168 cat confdefs.h >>conftest.$ac_ext
88169 cat >>conftest.$ac_ext <<_ACEOF
88170 /* end confdefs.h. */
88171 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88172 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88173 #define $ac_func innocuous_$ac_func
88175 /* System header to define __stub macros and hopefully few prototypes,
88176 which can conflict with char $ac_func (); below.
88177 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88178 <limits.h> exists even on freestanding compilers. */
88180 #ifdef __STDC__
88181 # include <limits.h>
88182 #else
88183 # include <assert.h>
88184 #endif
88186 #undef $ac_func
88188 /* Override any gcc2 internal prototype to avoid an error. */
88189 #ifdef __cplusplus
88190 extern "C"
88192 #endif
88193 /* We use char because int might match the return type of a gcc2
88194 builtin and then its argument prototype would still apply. */
88195 char $ac_func ();
88196 /* The GNU C library defines this for functions which it implements
88197 to always fail with ENOSYS. Some functions are actually named
88198 something starting with __ and the normal name is an alias. */
88199 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88200 choke me
88201 #else
88202 char (*f) () = $ac_func;
88203 #endif
88204 #ifdef __cplusplus
88206 #endif
88209 main ()
88211 return f != $ac_func;
88213 return 0;
88215 _ACEOF
88216 rm -f conftest.$ac_objext conftest$ac_exeext
88217 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88218 (eval $ac_link) 2>conftest.er1
88219 ac_status=$?
88220 grep -v '^ *+' conftest.er1 >conftest.err
88221 rm -f conftest.er1
88222 cat conftest.err >&5
88223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88224 (exit $ac_status); } &&
88225 { ac_try='test -z "$ac_c_werror_flag"
88226 || test ! -s conftest.err'
88227 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88228 (eval $ac_try) 2>&5
88229 ac_status=$?
88230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88231 (exit $ac_status); }; } &&
88232 { ac_try='test -s conftest$ac_exeext'
88233 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88234 (eval $ac_try) 2>&5
88235 ac_status=$?
88236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88237 (exit $ac_status); }; }; then
88238 eval "$as_ac_var=yes"
88239 else
88240 echo "$as_me: failed program was:" >&5
88241 sed 's/^/| /' conftest.$ac_ext >&5
88243 eval "$as_ac_var=no"
88245 rm -f conftest.err conftest.$ac_objext \
88246 conftest$ac_exeext conftest.$ac_ext
88248 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88249 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88250 if test `eval echo '${'$as_ac_var'}'` = yes; then
88251 cat >>confdefs.h <<_ACEOF
88252 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88253 _ACEOF
88255 else
88256 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
88258 done
88262 # Used in libmath/Makefile.am.
88263 if test -n "$LIBMATHOBJS"; then
88264 need_libmath=yes
88268 cat >>confdefs.h <<\_ACEOF
88269 #define HAVE_COPYSIGN 1
88270 _ACEOF
88272 cat >>confdefs.h <<\_ACEOF
88273 #define HAVE_COPYSIGNF 1
88274 _ACEOF
88276 cat >>confdefs.h <<\_ACEOF
88277 #define HAVE_FREXPF 1
88278 _ACEOF
88280 cat >>confdefs.h <<\_ACEOF
88281 #define HAVE_HYPOT 1
88282 _ACEOF
88284 case "$target" in
88285 *-hpux10*)
88286 cat >>confdefs.h <<\_ACEOF
88287 #define HAVE_FINITE 1
88288 _ACEOF
88290 cat >>confdefs.h <<\_ACEOF
88291 #define HAVE_FINITEF 1
88292 _ACEOF
88294 cat >>confdefs.h <<\_ACEOF
88295 #define HAVE_ISINF 1
88296 _ACEOF
88298 cat >>confdefs.h <<\_ACEOF
88299 #define HAVE_ISINFF 1
88300 _ACEOF
88302 cat >>confdefs.h <<\_ACEOF
88303 #define HAVE_ISNAN 1
88304 _ACEOF
88306 cat >>confdefs.h <<\_ACEOF
88307 #define HAVE_ISNANF 1
88308 _ACEOF
88311 esac
88313 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
88331 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
88332 machine/endian.h machine/param.h sys/machine.h sys/types.h \
88333 fp.h float.h endian.h inttypes.h locale.h float.h stdint.h \
88334 sys/ipc.h sys/sem.h
88336 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
88337 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88338 echo "$as_me:$LINENO: checking for $ac_header" >&5
88339 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88340 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88341 echo $ECHO_N "(cached) $ECHO_C" >&6
88343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88344 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88345 else
88346 # Is the header compilable?
88347 echo "$as_me:$LINENO: checking $ac_header usability" >&5
88348 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
88349 cat >conftest.$ac_ext <<_ACEOF
88350 /* confdefs.h. */
88351 _ACEOF
88352 cat confdefs.h >>conftest.$ac_ext
88353 cat >>conftest.$ac_ext <<_ACEOF
88354 /* end confdefs.h. */
88355 $ac_includes_default
88356 #include <$ac_header>
88357 _ACEOF
88358 rm -f conftest.$ac_objext
88359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88360 (eval $ac_compile) 2>conftest.er1
88361 ac_status=$?
88362 grep -v '^ *+' conftest.er1 >conftest.err
88363 rm -f conftest.er1
88364 cat conftest.err >&5
88365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88366 (exit $ac_status); } &&
88367 { ac_try='test -z "$ac_c_werror_flag"
88368 || test ! -s conftest.err'
88369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88370 (eval $ac_try) 2>&5
88371 ac_status=$?
88372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88373 (exit $ac_status); }; } &&
88374 { ac_try='test -s conftest.$ac_objext'
88375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88376 (eval $ac_try) 2>&5
88377 ac_status=$?
88378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88379 (exit $ac_status); }; }; then
88380 ac_header_compiler=yes
88381 else
88382 echo "$as_me: failed program was:" >&5
88383 sed 's/^/| /' conftest.$ac_ext >&5
88385 ac_header_compiler=no
88387 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88388 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
88389 echo "${ECHO_T}$ac_header_compiler" >&6
88391 # Is the header present?
88392 echo "$as_me:$LINENO: checking $ac_header presence" >&5
88393 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
88394 cat >conftest.$ac_ext <<_ACEOF
88395 /* confdefs.h. */
88396 _ACEOF
88397 cat confdefs.h >>conftest.$ac_ext
88398 cat >>conftest.$ac_ext <<_ACEOF
88399 /* end confdefs.h. */
88400 #include <$ac_header>
88401 _ACEOF
88402 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
88403 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
88404 ac_status=$?
88405 grep -v '^ *+' conftest.er1 >conftest.err
88406 rm -f conftest.er1
88407 cat conftest.err >&5
88408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88409 (exit $ac_status); } >/dev/null; then
88410 if test -s conftest.err; then
88411 ac_cpp_err=$ac_c_preproc_warn_flag
88412 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
88413 else
88414 ac_cpp_err=
88416 else
88417 ac_cpp_err=yes
88419 if test -z "$ac_cpp_err"; then
88420 ac_header_preproc=yes
88421 else
88422 echo "$as_me: failed program was:" >&5
88423 sed 's/^/| /' conftest.$ac_ext >&5
88425 ac_header_preproc=no
88427 rm -f conftest.err conftest.$ac_ext
88428 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
88429 echo "${ECHO_T}$ac_header_preproc" >&6
88431 # So? What about this header?
88432 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
88433 yes:no: )
88434 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
88435 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
88436 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
88437 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
88438 ac_header_preproc=yes
88440 no:yes:* )
88441 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
88442 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
88443 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
88444 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
88445 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
88446 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
88447 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
88448 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
88449 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
88450 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
88451 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
88452 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
88454 cat <<\_ASBOX
88455 ## ----------------------------------------- ##
88456 ## Report this to the package-unused lists. ##
88457 ## ----------------------------------------- ##
88458 _ASBOX
88460 sed "s/^/$as_me: WARNING: /" >&2
88462 esac
88463 echo "$as_me:$LINENO: checking for $ac_header" >&5
88464 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
88465 if eval "test \"\${$as_ac_Header+set}\" = set"; then
88466 echo $ECHO_N "(cached) $ECHO_C" >&6
88467 else
88468 eval "$as_ac_Header=\$ac_header_preproc"
88470 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
88471 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
88474 if test `eval echo '${'$as_ac_Header'}'` = yes; then
88475 cat >>confdefs.h <<_ACEOF
88476 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
88477 _ACEOF
88481 done
88483 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88486 # All these tests are for C++; save the language and the compiler flags.
88487 # The CXXFLAGS thing is suspicious, but based on similar bits previously
88488 # found in GLIBCXX_CONFIGURE.
88491 ac_ext=cc
88492 ac_cpp='$CXXCPP $CPPFLAGS'
88493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88497 ac_test_CXXFLAGS="${CXXFLAGS+set}"
88498 ac_save_CXXFLAGS="$CXXFLAGS"
88500 # Check for maintainer-mode bits.
88501 if test x"$USE_MAINTAINER_MODE" = xno; then
88502 WERROR=''
88503 else
88504 WERROR='-Werror'
88507 # Check for -ffunction-sections -fdata-sections
88508 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
88509 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
88510 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
88511 cat >conftest.$ac_ext <<_ACEOF
88512 /* confdefs.h. */
88513 _ACEOF
88514 cat confdefs.h >>conftest.$ac_ext
88515 cat >>conftest.$ac_ext <<_ACEOF
88516 /* end confdefs.h. */
88517 int foo; void bar() { };
88519 main ()
88523 return 0;
88525 _ACEOF
88526 rm -f conftest.$ac_objext
88527 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88528 (eval $ac_compile) 2>conftest.er1
88529 ac_status=$?
88530 grep -v '^ *+' conftest.er1 >conftest.err
88531 rm -f conftest.er1
88532 cat conftest.err >&5
88533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88534 (exit $ac_status); } &&
88535 { ac_try='test -z "$ac_cxx_werror_flag"
88536 || test ! -s conftest.err'
88537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88538 (eval $ac_try) 2>&5
88539 ac_status=$?
88540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88541 (exit $ac_status); }; } &&
88542 { ac_try='test -s conftest.$ac_objext'
88543 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88544 (eval $ac_try) 2>&5
88545 ac_status=$?
88546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88547 (exit $ac_status); }; }; then
88548 ac_fdsections=yes
88549 else
88550 echo "$as_me: failed program was:" >&5
88551 sed 's/^/| /' conftest.$ac_ext >&5
88553 ac_fdsections=no
88555 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88556 if test "$ac_test_CXXFLAGS" = set; then
88557 CXXFLAGS="$ac_save_CXXFLAGS"
88558 else
88559 # this is the suspicious part
88560 CXXFLAGS=''
88562 if test x"$ac_fdsections" = x"yes"; then
88563 SECTION_FLAGS='-ffunction-sections -fdata-sections'
88565 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
88566 echo "${ECHO_T}$ac_fdsections" >&6
88568 ac_ext=c
88569 ac_cpp='$CPP $CPPFLAGS'
88570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88578 # If we're not using GNU ld, then there's no point in even trying these
88579 # tests. Check for that first. We should have already tested for gld
88580 # by now (in libtool), but require it now just to be safe...
88581 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
88582 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
88586 # The name set by libtool depends on the version of libtool. Shame on us
88587 # for depending on an impl detail, but c'est la vie. Older versions used
88588 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
88589 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
88590 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
88591 # set (hence we're using an older libtool), then set it.
88592 if test x${with_gnu_ld+set} != xset; then
88593 if test x${ac_cv_prog_gnu_ld+set} != xset; then
88594 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
88595 with_gnu_ld=no
88596 else
88597 with_gnu_ld=$ac_cv_prog_gnu_ld
88601 # Start by getting the version number. I think the libtool test already
88602 # does some of this, but throws away the result.
88603 glibcxx_ld_is_gold=no
88604 if test x"$with_gnu_ld" = x"yes"; then
88605 echo "$as_me:$LINENO: checking for ld version" >&5
88606 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
88608 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
88609 glibcxx_ld_is_gold=yes
88611 ldver=`$LD --version 2>/dev/null | head -1 | \
88612 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
88614 glibcxx_gnu_ld_version=`echo $ldver | \
88615 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
88616 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
88617 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
88620 # Set --gc-sections.
88621 glibcxx_have_gc_sections=no
88622 if test "$glibcxx_ld_is_gold" = "yes"; then
88623 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
88624 glibcxx_have_gc_sections=yes
88626 else
88627 glibcxx_gcsections_min_ld=21602
88628 if test x"$with_gnu_ld" = x"yes" &&
88629 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
88630 glibcxx_have_gc_sections=yes
88633 if test "$glibcxx_have_gc_sections" = "yes"; then
88634 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
88635 # NB: This flag only works reliably after 2.16.1. Configure tests
88636 # for this are difficult, so hard wire a value that should work.
88638 ac_test_CFLAGS="${CFLAGS+set}"
88639 ac_save_CFLAGS="$CFLAGS"
88640 CFLAGS='-Wl,--gc-sections'
88642 # Check for -Wl,--gc-sections
88643 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
88644 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
88645 if test x$gcc_no_link = xyes; then
88646 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88647 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88648 { (exit 1); exit 1; }; }
88650 cat >conftest.$ac_ext <<_ACEOF
88651 /* confdefs.h. */
88652 _ACEOF
88653 cat confdefs.h >>conftest.$ac_ext
88654 cat >>conftest.$ac_ext <<_ACEOF
88655 /* end confdefs.h. */
88656 int one(void) { return 1; }
88657 int two(void) { return 2; }
88660 main ()
88662 two();
88664 return 0;
88666 _ACEOF
88667 rm -f conftest.$ac_objext conftest$ac_exeext
88668 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88669 (eval $ac_link) 2>conftest.er1
88670 ac_status=$?
88671 grep -v '^ *+' conftest.er1 >conftest.err
88672 rm -f conftest.er1
88673 cat conftest.err >&5
88674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88675 (exit $ac_status); } &&
88676 { ac_try='test -z "$ac_c_werror_flag"
88677 || test ! -s conftest.err'
88678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88679 (eval $ac_try) 2>&5
88680 ac_status=$?
88681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88682 (exit $ac_status); }; } &&
88683 { ac_try='test -s conftest$ac_exeext'
88684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88685 (eval $ac_try) 2>&5
88686 ac_status=$?
88687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88688 (exit $ac_status); }; }; then
88689 ac_gcsections=yes
88690 else
88691 echo "$as_me: failed program was:" >&5
88692 sed 's/^/| /' conftest.$ac_ext >&5
88694 ac_gcsections=no
88696 rm -f conftest.err conftest.$ac_objext \
88697 conftest$ac_exeext conftest.$ac_ext
88698 if test "$ac_gcsections" = "yes"; then
88699 rm -f conftest.c
88700 touch conftest.c
88701 if $CC -c conftest.c; then
88702 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
88703 grep "Warning: gc-sections option ignored" > /dev/null; then
88704 ac_gcsections=no
88707 rm -f conftest.c conftest.o conftest
88709 if test "$ac_gcsections" = "yes"; then
88710 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
88712 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
88713 echo "${ECHO_T}$ac_gcsections" >&6
88715 if test "$ac_test_CFLAGS" = set; then
88716 CFLAGS="$ac_save_CFLAGS"
88717 else
88718 # this is the suspicious part
88719 CFLAGS=''
88723 # Set -z,relro.
88724 # Note this is only for shared objects.
88725 ac_ld_relro=no
88726 if test x"$with_gnu_ld" = x"yes"; then
88727 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
88728 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
88729 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
88730 if test -n "$cxx_z_relo"; then
88731 OPT_LDFLAGS="-Wl,-z,relro"
88732 ac_ld_relro=yes
88734 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
88735 echo "${ECHO_T}$ac_ld_relro" >&6
88738 # Set linker optimization flags.
88739 if test x"$with_gnu_ld" = x"yes"; then
88740 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
88747 ac_test_CXXFLAGS="${CXXFLAGS+set}"
88748 ac_save_CXXFLAGS="$CXXFLAGS"
88749 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
88751 echo "$as_me:$LINENO: checking for sin in -lm" >&5
88752 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
88753 if test "${ac_cv_lib_m_sin+set}" = set; then
88754 echo $ECHO_N "(cached) $ECHO_C" >&6
88755 else
88756 ac_check_lib_save_LIBS=$LIBS
88757 LIBS="-lm $LIBS"
88758 if test x$gcc_no_link = xyes; then
88759 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88760 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88761 { (exit 1); exit 1; }; }
88763 cat >conftest.$ac_ext <<_ACEOF
88764 /* confdefs.h. */
88765 _ACEOF
88766 cat confdefs.h >>conftest.$ac_ext
88767 cat >>conftest.$ac_ext <<_ACEOF
88768 /* end confdefs.h. */
88770 /* Override any gcc2 internal prototype to avoid an error. */
88771 #ifdef __cplusplus
88772 extern "C"
88773 #endif
88774 /* We use char because int might match the return type of a gcc2
88775 builtin and then its argument prototype would still apply. */
88776 char sin ();
88778 main ()
88780 sin ();
88782 return 0;
88784 _ACEOF
88785 rm -f conftest.$ac_objext conftest$ac_exeext
88786 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88787 (eval $ac_link) 2>conftest.er1
88788 ac_status=$?
88789 grep -v '^ *+' conftest.er1 >conftest.err
88790 rm -f conftest.er1
88791 cat conftest.err >&5
88792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88793 (exit $ac_status); } &&
88794 { ac_try='test -z "$ac_c_werror_flag"
88795 || test ! -s conftest.err'
88796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88797 (eval $ac_try) 2>&5
88798 ac_status=$?
88799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88800 (exit $ac_status); }; } &&
88801 { ac_try='test -s conftest$ac_exeext'
88802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88803 (eval $ac_try) 2>&5
88804 ac_status=$?
88805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88806 (exit $ac_status); }; }; then
88807 ac_cv_lib_m_sin=yes
88808 else
88809 echo "$as_me: failed program was:" >&5
88810 sed 's/^/| /' conftest.$ac_ext >&5
88812 ac_cv_lib_m_sin=no
88814 rm -f conftest.err conftest.$ac_objext \
88815 conftest$ac_exeext conftest.$ac_ext
88816 LIBS=$ac_check_lib_save_LIBS
88818 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
88819 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
88820 if test $ac_cv_lib_m_sin = yes; then
88821 libm="-lm"
88824 ac_save_LIBS="$LIBS"
88825 LIBS="$LIBS $libm"
88829 echo "$as_me:$LINENO: checking for isinf declaration" >&5
88830 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
88831 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
88832 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
88833 echo $ECHO_N "(cached) $ECHO_C" >&6
88834 else
88838 ac_ext=cc
88839 ac_cpp='$CXXCPP $CPPFLAGS'
88840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88844 cat >conftest.$ac_ext <<_ACEOF
88845 /* confdefs.h. */
88846 _ACEOF
88847 cat confdefs.h >>conftest.$ac_ext
88848 cat >>conftest.$ac_ext <<_ACEOF
88849 /* end confdefs.h. */
88850 #include <math.h>
88851 #ifdef HAVE_IEEEFP_H
88852 #include <ieeefp.h>
88853 #endif
88856 main ()
88858 isinf(0);
88860 return 0;
88862 _ACEOF
88863 rm -f conftest.$ac_objext
88864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88865 (eval $ac_compile) 2>conftest.er1
88866 ac_status=$?
88867 grep -v '^ *+' conftest.er1 >conftest.err
88868 rm -f conftest.er1
88869 cat conftest.err >&5
88870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88871 (exit $ac_status); } &&
88872 { ac_try='test -z "$ac_cxx_werror_flag"
88873 || test ! -s conftest.err'
88874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88875 (eval $ac_try) 2>&5
88876 ac_status=$?
88877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88878 (exit $ac_status); }; } &&
88879 { ac_try='test -s conftest.$ac_objext'
88880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88881 (eval $ac_try) 2>&5
88882 ac_status=$?
88883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88884 (exit $ac_status); }; }; then
88885 glibcxx_cv_func_isinf_use=yes
88886 else
88887 echo "$as_me: failed program was:" >&5
88888 sed 's/^/| /' conftest.$ac_ext >&5
88890 glibcxx_cv_func_isinf_use=no
88892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88893 ac_ext=c
88894 ac_cpp='$CPP $CPPFLAGS'
88895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88903 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
88904 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
88906 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
88908 for ac_func in isinf
88910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88911 echo "$as_me:$LINENO: checking for $ac_func" >&5
88912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88913 if eval "test \"\${$as_ac_var+set}\" = set"; then
88914 echo $ECHO_N "(cached) $ECHO_C" >&6
88915 else
88916 if test x$gcc_no_link = xyes; then
88917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88919 { (exit 1); exit 1; }; }
88921 cat >conftest.$ac_ext <<_ACEOF
88922 /* confdefs.h. */
88923 _ACEOF
88924 cat confdefs.h >>conftest.$ac_ext
88925 cat >>conftest.$ac_ext <<_ACEOF
88926 /* end confdefs.h. */
88927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88929 #define $ac_func innocuous_$ac_func
88931 /* System header to define __stub macros and hopefully few prototypes,
88932 which can conflict with char $ac_func (); below.
88933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88934 <limits.h> exists even on freestanding compilers. */
88936 #ifdef __STDC__
88937 # include <limits.h>
88938 #else
88939 # include <assert.h>
88940 #endif
88942 #undef $ac_func
88944 /* Override any gcc2 internal prototype to avoid an error. */
88945 #ifdef __cplusplus
88946 extern "C"
88948 #endif
88949 /* We use char because int might match the return type of a gcc2
88950 builtin and then its argument prototype would still apply. */
88951 char $ac_func ();
88952 /* The GNU C library defines this for functions which it implements
88953 to always fail with ENOSYS. Some functions are actually named
88954 something starting with __ and the normal name is an alias. */
88955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88956 choke me
88957 #else
88958 char (*f) () = $ac_func;
88959 #endif
88960 #ifdef __cplusplus
88962 #endif
88965 main ()
88967 return f != $ac_func;
88969 return 0;
88971 _ACEOF
88972 rm -f conftest.$ac_objext conftest$ac_exeext
88973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88974 (eval $ac_link) 2>conftest.er1
88975 ac_status=$?
88976 grep -v '^ *+' conftest.er1 >conftest.err
88977 rm -f conftest.er1
88978 cat conftest.err >&5
88979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88980 (exit $ac_status); } &&
88981 { ac_try='test -z "$ac_c_werror_flag"
88982 || test ! -s conftest.err'
88983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88984 (eval $ac_try) 2>&5
88985 ac_status=$?
88986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88987 (exit $ac_status); }; } &&
88988 { ac_try='test -s conftest$ac_exeext'
88989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88990 (eval $ac_try) 2>&5
88991 ac_status=$?
88992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88993 (exit $ac_status); }; }; then
88994 eval "$as_ac_var=yes"
88995 else
88996 echo "$as_me: failed program was:" >&5
88997 sed 's/^/| /' conftest.$ac_ext >&5
88999 eval "$as_ac_var=no"
89001 rm -f conftest.err conftest.$ac_objext \
89002 conftest$ac_exeext conftest.$ac_ext
89004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89006 if test `eval echo '${'$as_ac_var'}'` = yes; then
89007 cat >>confdefs.h <<_ACEOF
89008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89009 _ACEOF
89012 done
89014 else
89016 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
89017 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
89018 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
89019 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
89020 echo $ECHO_N "(cached) $ECHO_C" >&6
89021 else
89025 ac_ext=cc
89026 ac_cpp='$CXXCPP $CPPFLAGS'
89027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89031 cat >conftest.$ac_ext <<_ACEOF
89032 /* confdefs.h. */
89033 _ACEOF
89034 cat confdefs.h >>conftest.$ac_ext
89035 cat >>conftest.$ac_ext <<_ACEOF
89036 /* end confdefs.h. */
89037 #include <math.h>
89038 #ifdef HAVE_IEEEFP_H
89039 #include <ieeefp.h>
89040 #endif
89043 main ()
89045 _isinf(0);
89047 return 0;
89049 _ACEOF
89050 rm -f conftest.$ac_objext
89051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89052 (eval $ac_compile) 2>conftest.er1
89053 ac_status=$?
89054 grep -v '^ *+' conftest.er1 >conftest.err
89055 rm -f conftest.er1
89056 cat conftest.err >&5
89057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89058 (exit $ac_status); } &&
89059 { ac_try='test -z "$ac_cxx_werror_flag"
89060 || test ! -s conftest.err'
89061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89062 (eval $ac_try) 2>&5
89063 ac_status=$?
89064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89065 (exit $ac_status); }; } &&
89066 { ac_try='test -s conftest.$ac_objext'
89067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89068 (eval $ac_try) 2>&5
89069 ac_status=$?
89070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89071 (exit $ac_status); }; }; then
89072 glibcxx_cv_func__isinf_use=yes
89073 else
89074 echo "$as_me: failed program was:" >&5
89075 sed 's/^/| /' conftest.$ac_ext >&5
89077 glibcxx_cv_func__isinf_use=no
89079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89080 ac_ext=c
89081 ac_cpp='$CPP $CPPFLAGS'
89082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
89091 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
89093 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
89095 for ac_func in _isinf
89097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89098 echo "$as_me:$LINENO: checking for $ac_func" >&5
89099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89100 if eval "test \"\${$as_ac_var+set}\" = set"; then
89101 echo $ECHO_N "(cached) $ECHO_C" >&6
89102 else
89103 if test x$gcc_no_link = xyes; then
89104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89106 { (exit 1); exit 1; }; }
89108 cat >conftest.$ac_ext <<_ACEOF
89109 /* confdefs.h. */
89110 _ACEOF
89111 cat confdefs.h >>conftest.$ac_ext
89112 cat >>conftest.$ac_ext <<_ACEOF
89113 /* end confdefs.h. */
89114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89116 #define $ac_func innocuous_$ac_func
89118 /* System header to define __stub macros and hopefully few prototypes,
89119 which can conflict with char $ac_func (); below.
89120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89121 <limits.h> exists even on freestanding compilers. */
89123 #ifdef __STDC__
89124 # include <limits.h>
89125 #else
89126 # include <assert.h>
89127 #endif
89129 #undef $ac_func
89131 /* Override any gcc2 internal prototype to avoid an error. */
89132 #ifdef __cplusplus
89133 extern "C"
89135 #endif
89136 /* We use char because int might match the return type of a gcc2
89137 builtin and then its argument prototype would still apply. */
89138 char $ac_func ();
89139 /* The GNU C library defines this for functions which it implements
89140 to always fail with ENOSYS. Some functions are actually named
89141 something starting with __ and the normal name is an alias. */
89142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89143 choke me
89144 #else
89145 char (*f) () = $ac_func;
89146 #endif
89147 #ifdef __cplusplus
89149 #endif
89152 main ()
89154 return f != $ac_func;
89156 return 0;
89158 _ACEOF
89159 rm -f conftest.$ac_objext conftest$ac_exeext
89160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89161 (eval $ac_link) 2>conftest.er1
89162 ac_status=$?
89163 grep -v '^ *+' conftest.er1 >conftest.err
89164 rm -f conftest.er1
89165 cat conftest.err >&5
89166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89167 (exit $ac_status); } &&
89168 { ac_try='test -z "$ac_c_werror_flag"
89169 || test ! -s conftest.err'
89170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89171 (eval $ac_try) 2>&5
89172 ac_status=$?
89173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89174 (exit $ac_status); }; } &&
89175 { ac_try='test -s conftest$ac_exeext'
89176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89177 (eval $ac_try) 2>&5
89178 ac_status=$?
89179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89180 (exit $ac_status); }; }; then
89181 eval "$as_ac_var=yes"
89182 else
89183 echo "$as_me: failed program was:" >&5
89184 sed 's/^/| /' conftest.$ac_ext >&5
89186 eval "$as_ac_var=no"
89188 rm -f conftest.err conftest.$ac_objext \
89189 conftest$ac_exeext conftest.$ac_ext
89191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89193 if test `eval echo '${'$as_ac_var'}'` = yes; then
89194 cat >>confdefs.h <<_ACEOF
89195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89196 _ACEOF
89199 done
89209 echo "$as_me:$LINENO: checking for isnan declaration" >&5
89210 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
89211 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
89212 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
89213 echo $ECHO_N "(cached) $ECHO_C" >&6
89214 else
89218 ac_ext=cc
89219 ac_cpp='$CXXCPP $CPPFLAGS'
89220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89224 cat >conftest.$ac_ext <<_ACEOF
89225 /* confdefs.h. */
89226 _ACEOF
89227 cat confdefs.h >>conftest.$ac_ext
89228 cat >>conftest.$ac_ext <<_ACEOF
89229 /* end confdefs.h. */
89230 #include <math.h>
89231 #ifdef HAVE_IEEEFP_H
89232 #include <ieeefp.h>
89233 #endif
89236 main ()
89238 isnan(0);
89240 return 0;
89242 _ACEOF
89243 rm -f conftest.$ac_objext
89244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89245 (eval $ac_compile) 2>conftest.er1
89246 ac_status=$?
89247 grep -v '^ *+' conftest.er1 >conftest.err
89248 rm -f conftest.er1
89249 cat conftest.err >&5
89250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89251 (exit $ac_status); } &&
89252 { ac_try='test -z "$ac_cxx_werror_flag"
89253 || test ! -s conftest.err'
89254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89255 (eval $ac_try) 2>&5
89256 ac_status=$?
89257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89258 (exit $ac_status); }; } &&
89259 { ac_try='test -s conftest.$ac_objext'
89260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89261 (eval $ac_try) 2>&5
89262 ac_status=$?
89263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89264 (exit $ac_status); }; }; then
89265 glibcxx_cv_func_isnan_use=yes
89266 else
89267 echo "$as_me: failed program was:" >&5
89268 sed 's/^/| /' conftest.$ac_ext >&5
89270 glibcxx_cv_func_isnan_use=no
89272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89273 ac_ext=c
89274 ac_cpp='$CPP $CPPFLAGS'
89275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
89284 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
89286 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
89288 for ac_func in isnan
89290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89291 echo "$as_me:$LINENO: checking for $ac_func" >&5
89292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89293 if eval "test \"\${$as_ac_var+set}\" = set"; then
89294 echo $ECHO_N "(cached) $ECHO_C" >&6
89295 else
89296 if test x$gcc_no_link = xyes; then
89297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89299 { (exit 1); exit 1; }; }
89301 cat >conftest.$ac_ext <<_ACEOF
89302 /* confdefs.h. */
89303 _ACEOF
89304 cat confdefs.h >>conftest.$ac_ext
89305 cat >>conftest.$ac_ext <<_ACEOF
89306 /* end confdefs.h. */
89307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89309 #define $ac_func innocuous_$ac_func
89311 /* System header to define __stub macros and hopefully few prototypes,
89312 which can conflict with char $ac_func (); below.
89313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89314 <limits.h> exists even on freestanding compilers. */
89316 #ifdef __STDC__
89317 # include <limits.h>
89318 #else
89319 # include <assert.h>
89320 #endif
89322 #undef $ac_func
89324 /* Override any gcc2 internal prototype to avoid an error. */
89325 #ifdef __cplusplus
89326 extern "C"
89328 #endif
89329 /* We use char because int might match the return type of a gcc2
89330 builtin and then its argument prototype would still apply. */
89331 char $ac_func ();
89332 /* The GNU C library defines this for functions which it implements
89333 to always fail with ENOSYS. Some functions are actually named
89334 something starting with __ and the normal name is an alias. */
89335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89336 choke me
89337 #else
89338 char (*f) () = $ac_func;
89339 #endif
89340 #ifdef __cplusplus
89342 #endif
89345 main ()
89347 return f != $ac_func;
89349 return 0;
89351 _ACEOF
89352 rm -f conftest.$ac_objext conftest$ac_exeext
89353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89354 (eval $ac_link) 2>conftest.er1
89355 ac_status=$?
89356 grep -v '^ *+' conftest.er1 >conftest.err
89357 rm -f conftest.er1
89358 cat conftest.err >&5
89359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89360 (exit $ac_status); } &&
89361 { ac_try='test -z "$ac_c_werror_flag"
89362 || test ! -s conftest.err'
89363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89364 (eval $ac_try) 2>&5
89365 ac_status=$?
89366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89367 (exit $ac_status); }; } &&
89368 { ac_try='test -s conftest$ac_exeext'
89369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89370 (eval $ac_try) 2>&5
89371 ac_status=$?
89372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89373 (exit $ac_status); }; }; then
89374 eval "$as_ac_var=yes"
89375 else
89376 echo "$as_me: failed program was:" >&5
89377 sed 's/^/| /' conftest.$ac_ext >&5
89379 eval "$as_ac_var=no"
89381 rm -f conftest.err conftest.$ac_objext \
89382 conftest$ac_exeext conftest.$ac_ext
89384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89386 if test `eval echo '${'$as_ac_var'}'` = yes; then
89387 cat >>confdefs.h <<_ACEOF
89388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89389 _ACEOF
89392 done
89394 else
89396 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
89397 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
89398 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
89399 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
89400 echo $ECHO_N "(cached) $ECHO_C" >&6
89401 else
89405 ac_ext=cc
89406 ac_cpp='$CXXCPP $CPPFLAGS'
89407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89411 cat >conftest.$ac_ext <<_ACEOF
89412 /* confdefs.h. */
89413 _ACEOF
89414 cat confdefs.h >>conftest.$ac_ext
89415 cat >>conftest.$ac_ext <<_ACEOF
89416 /* end confdefs.h. */
89417 #include <math.h>
89418 #ifdef HAVE_IEEEFP_H
89419 #include <ieeefp.h>
89420 #endif
89423 main ()
89425 _isnan(0);
89427 return 0;
89429 _ACEOF
89430 rm -f conftest.$ac_objext
89431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89432 (eval $ac_compile) 2>conftest.er1
89433 ac_status=$?
89434 grep -v '^ *+' conftest.er1 >conftest.err
89435 rm -f conftest.er1
89436 cat conftest.err >&5
89437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89438 (exit $ac_status); } &&
89439 { ac_try='test -z "$ac_cxx_werror_flag"
89440 || test ! -s conftest.err'
89441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89442 (eval $ac_try) 2>&5
89443 ac_status=$?
89444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89445 (exit $ac_status); }; } &&
89446 { ac_try='test -s conftest.$ac_objext'
89447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89448 (eval $ac_try) 2>&5
89449 ac_status=$?
89450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89451 (exit $ac_status); }; }; then
89452 glibcxx_cv_func__isnan_use=yes
89453 else
89454 echo "$as_me: failed program was:" >&5
89455 sed 's/^/| /' conftest.$ac_ext >&5
89457 glibcxx_cv_func__isnan_use=no
89459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89460 ac_ext=c
89461 ac_cpp='$CPP $CPPFLAGS'
89462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
89471 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
89473 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
89475 for ac_func in _isnan
89477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89478 echo "$as_me:$LINENO: checking for $ac_func" >&5
89479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89480 if eval "test \"\${$as_ac_var+set}\" = set"; then
89481 echo $ECHO_N "(cached) $ECHO_C" >&6
89482 else
89483 if test x$gcc_no_link = xyes; then
89484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89486 { (exit 1); exit 1; }; }
89488 cat >conftest.$ac_ext <<_ACEOF
89489 /* confdefs.h. */
89490 _ACEOF
89491 cat confdefs.h >>conftest.$ac_ext
89492 cat >>conftest.$ac_ext <<_ACEOF
89493 /* end confdefs.h. */
89494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89496 #define $ac_func innocuous_$ac_func
89498 /* System header to define __stub macros and hopefully few prototypes,
89499 which can conflict with char $ac_func (); below.
89500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89501 <limits.h> exists even on freestanding compilers. */
89503 #ifdef __STDC__
89504 # include <limits.h>
89505 #else
89506 # include <assert.h>
89507 #endif
89509 #undef $ac_func
89511 /* Override any gcc2 internal prototype to avoid an error. */
89512 #ifdef __cplusplus
89513 extern "C"
89515 #endif
89516 /* We use char because int might match the return type of a gcc2
89517 builtin and then its argument prototype would still apply. */
89518 char $ac_func ();
89519 /* The GNU C library defines this for functions which it implements
89520 to always fail with ENOSYS. Some functions are actually named
89521 something starting with __ and the normal name is an alias. */
89522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89523 choke me
89524 #else
89525 char (*f) () = $ac_func;
89526 #endif
89527 #ifdef __cplusplus
89529 #endif
89532 main ()
89534 return f != $ac_func;
89536 return 0;
89538 _ACEOF
89539 rm -f conftest.$ac_objext conftest$ac_exeext
89540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89541 (eval $ac_link) 2>conftest.er1
89542 ac_status=$?
89543 grep -v '^ *+' conftest.er1 >conftest.err
89544 rm -f conftest.er1
89545 cat conftest.err >&5
89546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89547 (exit $ac_status); } &&
89548 { ac_try='test -z "$ac_c_werror_flag"
89549 || test ! -s conftest.err'
89550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89551 (eval $ac_try) 2>&5
89552 ac_status=$?
89553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89554 (exit $ac_status); }; } &&
89555 { ac_try='test -s conftest$ac_exeext'
89556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89557 (eval $ac_try) 2>&5
89558 ac_status=$?
89559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89560 (exit $ac_status); }; }; then
89561 eval "$as_ac_var=yes"
89562 else
89563 echo "$as_me: failed program was:" >&5
89564 sed 's/^/| /' conftest.$ac_ext >&5
89566 eval "$as_ac_var=no"
89568 rm -f conftest.err conftest.$ac_objext \
89569 conftest$ac_exeext conftest.$ac_ext
89571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89573 if test `eval echo '${'$as_ac_var'}'` = yes; then
89574 cat >>confdefs.h <<_ACEOF
89575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89576 _ACEOF
89579 done
89589 echo "$as_me:$LINENO: checking for finite declaration" >&5
89590 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
89591 if test x${glibcxx_cv_func_finite_use+set} != xset; then
89592 if test "${glibcxx_cv_func_finite_use+set}" = set; then
89593 echo $ECHO_N "(cached) $ECHO_C" >&6
89594 else
89598 ac_ext=cc
89599 ac_cpp='$CXXCPP $CPPFLAGS'
89600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89604 cat >conftest.$ac_ext <<_ACEOF
89605 /* confdefs.h. */
89606 _ACEOF
89607 cat confdefs.h >>conftest.$ac_ext
89608 cat >>conftest.$ac_ext <<_ACEOF
89609 /* end confdefs.h. */
89610 #include <math.h>
89611 #ifdef HAVE_IEEEFP_H
89612 #include <ieeefp.h>
89613 #endif
89616 main ()
89618 finite(0);
89620 return 0;
89622 _ACEOF
89623 rm -f conftest.$ac_objext
89624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89625 (eval $ac_compile) 2>conftest.er1
89626 ac_status=$?
89627 grep -v '^ *+' conftest.er1 >conftest.err
89628 rm -f conftest.er1
89629 cat conftest.err >&5
89630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89631 (exit $ac_status); } &&
89632 { ac_try='test -z "$ac_cxx_werror_flag"
89633 || test ! -s conftest.err'
89634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89635 (eval $ac_try) 2>&5
89636 ac_status=$?
89637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89638 (exit $ac_status); }; } &&
89639 { ac_try='test -s conftest.$ac_objext'
89640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89641 (eval $ac_try) 2>&5
89642 ac_status=$?
89643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89644 (exit $ac_status); }; }; then
89645 glibcxx_cv_func_finite_use=yes
89646 else
89647 echo "$as_me: failed program was:" >&5
89648 sed 's/^/| /' conftest.$ac_ext >&5
89650 glibcxx_cv_func_finite_use=no
89652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89653 ac_ext=c
89654 ac_cpp='$CPP $CPPFLAGS'
89655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89663 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
89664 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
89666 if test x$glibcxx_cv_func_finite_use = x"yes"; then
89668 for ac_func in finite
89670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89671 echo "$as_me:$LINENO: checking for $ac_func" >&5
89672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89673 if eval "test \"\${$as_ac_var+set}\" = set"; then
89674 echo $ECHO_N "(cached) $ECHO_C" >&6
89675 else
89676 if test x$gcc_no_link = xyes; then
89677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89679 { (exit 1); exit 1; }; }
89681 cat >conftest.$ac_ext <<_ACEOF
89682 /* confdefs.h. */
89683 _ACEOF
89684 cat confdefs.h >>conftest.$ac_ext
89685 cat >>conftest.$ac_ext <<_ACEOF
89686 /* end confdefs.h. */
89687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89689 #define $ac_func innocuous_$ac_func
89691 /* System header to define __stub macros and hopefully few prototypes,
89692 which can conflict with char $ac_func (); below.
89693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89694 <limits.h> exists even on freestanding compilers. */
89696 #ifdef __STDC__
89697 # include <limits.h>
89698 #else
89699 # include <assert.h>
89700 #endif
89702 #undef $ac_func
89704 /* Override any gcc2 internal prototype to avoid an error. */
89705 #ifdef __cplusplus
89706 extern "C"
89708 #endif
89709 /* We use char because int might match the return type of a gcc2
89710 builtin and then its argument prototype would still apply. */
89711 char $ac_func ();
89712 /* The GNU C library defines this for functions which it implements
89713 to always fail with ENOSYS. Some functions are actually named
89714 something starting with __ and the normal name is an alias. */
89715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89716 choke me
89717 #else
89718 char (*f) () = $ac_func;
89719 #endif
89720 #ifdef __cplusplus
89722 #endif
89725 main ()
89727 return f != $ac_func;
89729 return 0;
89731 _ACEOF
89732 rm -f conftest.$ac_objext conftest$ac_exeext
89733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89734 (eval $ac_link) 2>conftest.er1
89735 ac_status=$?
89736 grep -v '^ *+' conftest.er1 >conftest.err
89737 rm -f conftest.er1
89738 cat conftest.err >&5
89739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89740 (exit $ac_status); } &&
89741 { ac_try='test -z "$ac_c_werror_flag"
89742 || test ! -s conftest.err'
89743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89744 (eval $ac_try) 2>&5
89745 ac_status=$?
89746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89747 (exit $ac_status); }; } &&
89748 { ac_try='test -s conftest$ac_exeext'
89749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89750 (eval $ac_try) 2>&5
89751 ac_status=$?
89752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89753 (exit $ac_status); }; }; then
89754 eval "$as_ac_var=yes"
89755 else
89756 echo "$as_me: failed program was:" >&5
89757 sed 's/^/| /' conftest.$ac_ext >&5
89759 eval "$as_ac_var=no"
89761 rm -f conftest.err conftest.$ac_objext \
89762 conftest$ac_exeext conftest.$ac_ext
89764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89766 if test `eval echo '${'$as_ac_var'}'` = yes; then
89767 cat >>confdefs.h <<_ACEOF
89768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89769 _ACEOF
89772 done
89774 else
89776 echo "$as_me:$LINENO: checking for _finite declaration" >&5
89777 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
89778 if test x${glibcxx_cv_func__finite_use+set} != xset; then
89779 if test "${glibcxx_cv_func__finite_use+set}" = set; then
89780 echo $ECHO_N "(cached) $ECHO_C" >&6
89781 else
89785 ac_ext=cc
89786 ac_cpp='$CXXCPP $CPPFLAGS'
89787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89791 cat >conftest.$ac_ext <<_ACEOF
89792 /* confdefs.h. */
89793 _ACEOF
89794 cat confdefs.h >>conftest.$ac_ext
89795 cat >>conftest.$ac_ext <<_ACEOF
89796 /* end confdefs.h. */
89797 #include <math.h>
89798 #ifdef HAVE_IEEEFP_H
89799 #include <ieeefp.h>
89800 #endif
89803 main ()
89805 _finite(0);
89807 return 0;
89809 _ACEOF
89810 rm -f conftest.$ac_objext
89811 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89812 (eval $ac_compile) 2>conftest.er1
89813 ac_status=$?
89814 grep -v '^ *+' conftest.er1 >conftest.err
89815 rm -f conftest.er1
89816 cat conftest.err >&5
89817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89818 (exit $ac_status); } &&
89819 { ac_try='test -z "$ac_cxx_werror_flag"
89820 || test ! -s conftest.err'
89821 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89822 (eval $ac_try) 2>&5
89823 ac_status=$?
89824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89825 (exit $ac_status); }; } &&
89826 { ac_try='test -s conftest.$ac_objext'
89827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89828 (eval $ac_try) 2>&5
89829 ac_status=$?
89830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89831 (exit $ac_status); }; }; then
89832 glibcxx_cv_func__finite_use=yes
89833 else
89834 echo "$as_me: failed program was:" >&5
89835 sed 's/^/| /' conftest.$ac_ext >&5
89837 glibcxx_cv_func__finite_use=no
89839 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89840 ac_ext=c
89841 ac_cpp='$CPP $CPPFLAGS'
89842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89850 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
89851 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
89853 if test x$glibcxx_cv_func__finite_use = x"yes"; then
89855 for ac_func in _finite
89857 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89858 echo "$as_me:$LINENO: checking for $ac_func" >&5
89859 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89860 if eval "test \"\${$as_ac_var+set}\" = set"; then
89861 echo $ECHO_N "(cached) $ECHO_C" >&6
89862 else
89863 if test x$gcc_no_link = xyes; then
89864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89866 { (exit 1); exit 1; }; }
89868 cat >conftest.$ac_ext <<_ACEOF
89869 /* confdefs.h. */
89870 _ACEOF
89871 cat confdefs.h >>conftest.$ac_ext
89872 cat >>conftest.$ac_ext <<_ACEOF
89873 /* end confdefs.h. */
89874 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89875 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89876 #define $ac_func innocuous_$ac_func
89878 /* System header to define __stub macros and hopefully few prototypes,
89879 which can conflict with char $ac_func (); below.
89880 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89881 <limits.h> exists even on freestanding compilers. */
89883 #ifdef __STDC__
89884 # include <limits.h>
89885 #else
89886 # include <assert.h>
89887 #endif
89889 #undef $ac_func
89891 /* Override any gcc2 internal prototype to avoid an error. */
89892 #ifdef __cplusplus
89893 extern "C"
89895 #endif
89896 /* We use char because int might match the return type of a gcc2
89897 builtin and then its argument prototype would still apply. */
89898 char $ac_func ();
89899 /* The GNU C library defines this for functions which it implements
89900 to always fail with ENOSYS. Some functions are actually named
89901 something starting with __ and the normal name is an alias. */
89902 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89903 choke me
89904 #else
89905 char (*f) () = $ac_func;
89906 #endif
89907 #ifdef __cplusplus
89909 #endif
89912 main ()
89914 return f != $ac_func;
89916 return 0;
89918 _ACEOF
89919 rm -f conftest.$ac_objext conftest$ac_exeext
89920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89921 (eval $ac_link) 2>conftest.er1
89922 ac_status=$?
89923 grep -v '^ *+' conftest.er1 >conftest.err
89924 rm -f conftest.er1
89925 cat conftest.err >&5
89926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89927 (exit $ac_status); } &&
89928 { ac_try='test -z "$ac_c_werror_flag"
89929 || test ! -s conftest.err'
89930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89931 (eval $ac_try) 2>&5
89932 ac_status=$?
89933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89934 (exit $ac_status); }; } &&
89935 { ac_try='test -s conftest$ac_exeext'
89936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89937 (eval $ac_try) 2>&5
89938 ac_status=$?
89939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89940 (exit $ac_status); }; }; then
89941 eval "$as_ac_var=yes"
89942 else
89943 echo "$as_me: failed program was:" >&5
89944 sed 's/^/| /' conftest.$ac_ext >&5
89946 eval "$as_ac_var=no"
89948 rm -f conftest.err conftest.$ac_objext \
89949 conftest$ac_exeext conftest.$ac_ext
89951 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89952 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89953 if test `eval echo '${'$as_ac_var'}'` = yes; then
89954 cat >>confdefs.h <<_ACEOF
89955 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89956 _ACEOF
89959 done
89969 echo "$as_me:$LINENO: checking for copysign declaration" >&5
89970 echo $ECHO_N "checking for copysign declaration... $ECHO_C" >&6
89971 if test x${glibcxx_cv_func_copysign_use+set} != xset; then
89972 if test "${glibcxx_cv_func_copysign_use+set}" = set; then
89973 echo $ECHO_N "(cached) $ECHO_C" >&6
89974 else
89978 ac_ext=cc
89979 ac_cpp='$CXXCPP $CPPFLAGS'
89980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89984 cat >conftest.$ac_ext <<_ACEOF
89985 /* confdefs.h. */
89986 _ACEOF
89987 cat confdefs.h >>conftest.$ac_ext
89988 cat >>conftest.$ac_ext <<_ACEOF
89989 /* end confdefs.h. */
89990 #include <math.h>
89992 main ()
89994 copysign(0, 0);
89996 return 0;
89998 _ACEOF
89999 rm -f conftest.$ac_objext
90000 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90001 (eval $ac_compile) 2>conftest.er1
90002 ac_status=$?
90003 grep -v '^ *+' conftest.er1 >conftest.err
90004 rm -f conftest.er1
90005 cat conftest.err >&5
90006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90007 (exit $ac_status); } &&
90008 { ac_try='test -z "$ac_cxx_werror_flag"
90009 || test ! -s conftest.err'
90010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90011 (eval $ac_try) 2>&5
90012 ac_status=$?
90013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90014 (exit $ac_status); }; } &&
90015 { ac_try='test -s conftest.$ac_objext'
90016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90017 (eval $ac_try) 2>&5
90018 ac_status=$?
90019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90020 (exit $ac_status); }; }; then
90021 glibcxx_cv_func_copysign_use=yes
90022 else
90023 echo "$as_me: failed program was:" >&5
90024 sed 's/^/| /' conftest.$ac_ext >&5
90026 glibcxx_cv_func_copysign_use=no
90028 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90029 ac_ext=c
90030 ac_cpp='$CPP $CPPFLAGS'
90031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90039 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysign_use" >&5
90040 echo "${ECHO_T}$glibcxx_cv_func_copysign_use" >&6
90042 if test x$glibcxx_cv_func_copysign_use = x"yes"; then
90044 for ac_func in copysign
90046 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90047 echo "$as_me:$LINENO: checking for $ac_func" >&5
90048 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90049 if eval "test \"\${$as_ac_var+set}\" = set"; then
90050 echo $ECHO_N "(cached) $ECHO_C" >&6
90051 else
90052 if test x$gcc_no_link = xyes; then
90053 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90054 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90055 { (exit 1); exit 1; }; }
90057 cat >conftest.$ac_ext <<_ACEOF
90058 /* confdefs.h. */
90059 _ACEOF
90060 cat confdefs.h >>conftest.$ac_ext
90061 cat >>conftest.$ac_ext <<_ACEOF
90062 /* end confdefs.h. */
90063 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90064 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90065 #define $ac_func innocuous_$ac_func
90067 /* System header to define __stub macros and hopefully few prototypes,
90068 which can conflict with char $ac_func (); below.
90069 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90070 <limits.h> exists even on freestanding compilers. */
90072 #ifdef __STDC__
90073 # include <limits.h>
90074 #else
90075 # include <assert.h>
90076 #endif
90078 #undef $ac_func
90080 /* Override any gcc2 internal prototype to avoid an error. */
90081 #ifdef __cplusplus
90082 extern "C"
90084 #endif
90085 /* We use char because int might match the return type of a gcc2
90086 builtin and then its argument prototype would still apply. */
90087 char $ac_func ();
90088 /* The GNU C library defines this for functions which it implements
90089 to always fail with ENOSYS. Some functions are actually named
90090 something starting with __ and the normal name is an alias. */
90091 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90092 choke me
90093 #else
90094 char (*f) () = $ac_func;
90095 #endif
90096 #ifdef __cplusplus
90098 #endif
90101 main ()
90103 return f != $ac_func;
90105 return 0;
90107 _ACEOF
90108 rm -f conftest.$ac_objext conftest$ac_exeext
90109 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90110 (eval $ac_link) 2>conftest.er1
90111 ac_status=$?
90112 grep -v '^ *+' conftest.er1 >conftest.err
90113 rm -f conftest.er1
90114 cat conftest.err >&5
90115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90116 (exit $ac_status); } &&
90117 { ac_try='test -z "$ac_c_werror_flag"
90118 || test ! -s conftest.err'
90119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90120 (eval $ac_try) 2>&5
90121 ac_status=$?
90122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90123 (exit $ac_status); }; } &&
90124 { ac_try='test -s conftest$ac_exeext'
90125 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90126 (eval $ac_try) 2>&5
90127 ac_status=$?
90128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90129 (exit $ac_status); }; }; then
90130 eval "$as_ac_var=yes"
90131 else
90132 echo "$as_me: failed program was:" >&5
90133 sed 's/^/| /' conftest.$ac_ext >&5
90135 eval "$as_ac_var=no"
90137 rm -f conftest.err conftest.$ac_objext \
90138 conftest$ac_exeext conftest.$ac_ext
90140 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90141 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90142 if test `eval echo '${'$as_ac_var'}'` = yes; then
90143 cat >>confdefs.h <<_ACEOF
90144 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90145 _ACEOF
90148 done
90150 else
90152 echo "$as_me:$LINENO: checking for _copysign declaration" >&5
90153 echo $ECHO_N "checking for _copysign declaration... $ECHO_C" >&6
90154 if test x${glibcxx_cv_func__copysign_use+set} != xset; then
90155 if test "${glibcxx_cv_func__copysign_use+set}" = set; then
90156 echo $ECHO_N "(cached) $ECHO_C" >&6
90157 else
90161 ac_ext=cc
90162 ac_cpp='$CXXCPP $CPPFLAGS'
90163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90167 cat >conftest.$ac_ext <<_ACEOF
90168 /* confdefs.h. */
90169 _ACEOF
90170 cat confdefs.h >>conftest.$ac_ext
90171 cat >>conftest.$ac_ext <<_ACEOF
90172 /* end confdefs.h. */
90173 #include <math.h>
90175 main ()
90177 _copysign(0, 0);
90179 return 0;
90181 _ACEOF
90182 rm -f conftest.$ac_objext
90183 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90184 (eval $ac_compile) 2>conftest.er1
90185 ac_status=$?
90186 grep -v '^ *+' conftest.er1 >conftest.err
90187 rm -f conftest.er1
90188 cat conftest.err >&5
90189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90190 (exit $ac_status); } &&
90191 { ac_try='test -z "$ac_cxx_werror_flag"
90192 || test ! -s conftest.err'
90193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90194 (eval $ac_try) 2>&5
90195 ac_status=$?
90196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90197 (exit $ac_status); }; } &&
90198 { ac_try='test -s conftest.$ac_objext'
90199 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90200 (eval $ac_try) 2>&5
90201 ac_status=$?
90202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90203 (exit $ac_status); }; }; then
90204 glibcxx_cv_func__copysign_use=yes
90205 else
90206 echo "$as_me: failed program was:" >&5
90207 sed 's/^/| /' conftest.$ac_ext >&5
90209 glibcxx_cv_func__copysign_use=no
90211 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90212 ac_ext=c
90213 ac_cpp='$CPP $CPPFLAGS'
90214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90222 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysign_use" >&5
90223 echo "${ECHO_T}$glibcxx_cv_func__copysign_use" >&6
90225 if test x$glibcxx_cv_func__copysign_use = x"yes"; then
90227 for ac_func in _copysign
90229 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90230 echo "$as_me:$LINENO: checking for $ac_func" >&5
90231 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90232 if eval "test \"\${$as_ac_var+set}\" = set"; then
90233 echo $ECHO_N "(cached) $ECHO_C" >&6
90234 else
90235 if test x$gcc_no_link = xyes; then
90236 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90237 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90238 { (exit 1); exit 1; }; }
90240 cat >conftest.$ac_ext <<_ACEOF
90241 /* confdefs.h. */
90242 _ACEOF
90243 cat confdefs.h >>conftest.$ac_ext
90244 cat >>conftest.$ac_ext <<_ACEOF
90245 /* end confdefs.h. */
90246 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90247 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90248 #define $ac_func innocuous_$ac_func
90250 /* System header to define __stub macros and hopefully few prototypes,
90251 which can conflict with char $ac_func (); below.
90252 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90253 <limits.h> exists even on freestanding compilers. */
90255 #ifdef __STDC__
90256 # include <limits.h>
90257 #else
90258 # include <assert.h>
90259 #endif
90261 #undef $ac_func
90263 /* Override any gcc2 internal prototype to avoid an error. */
90264 #ifdef __cplusplus
90265 extern "C"
90267 #endif
90268 /* We use char because int might match the return type of a gcc2
90269 builtin and then its argument prototype would still apply. */
90270 char $ac_func ();
90271 /* The GNU C library defines this for functions which it implements
90272 to always fail with ENOSYS. Some functions are actually named
90273 something starting with __ and the normal name is an alias. */
90274 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90275 choke me
90276 #else
90277 char (*f) () = $ac_func;
90278 #endif
90279 #ifdef __cplusplus
90281 #endif
90284 main ()
90286 return f != $ac_func;
90288 return 0;
90290 _ACEOF
90291 rm -f conftest.$ac_objext conftest$ac_exeext
90292 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90293 (eval $ac_link) 2>conftest.er1
90294 ac_status=$?
90295 grep -v '^ *+' conftest.er1 >conftest.err
90296 rm -f conftest.er1
90297 cat conftest.err >&5
90298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90299 (exit $ac_status); } &&
90300 { ac_try='test -z "$ac_c_werror_flag"
90301 || test ! -s conftest.err'
90302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90303 (eval $ac_try) 2>&5
90304 ac_status=$?
90305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90306 (exit $ac_status); }; } &&
90307 { ac_try='test -s conftest$ac_exeext'
90308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90309 (eval $ac_try) 2>&5
90310 ac_status=$?
90311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90312 (exit $ac_status); }; }; then
90313 eval "$as_ac_var=yes"
90314 else
90315 echo "$as_me: failed program was:" >&5
90316 sed 's/^/| /' conftest.$ac_ext >&5
90318 eval "$as_ac_var=no"
90320 rm -f conftest.err conftest.$ac_objext \
90321 conftest$ac_exeext conftest.$ac_ext
90323 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90324 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90325 if test `eval echo '${'$as_ac_var'}'` = yes; then
90326 cat >>confdefs.h <<_ACEOF
90327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90328 _ACEOF
90331 done
90341 echo "$as_me:$LINENO: checking for sincos declaration" >&5
90342 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
90343 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
90344 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
90345 echo $ECHO_N "(cached) $ECHO_C" >&6
90346 else
90350 ac_ext=cc
90351 ac_cpp='$CXXCPP $CPPFLAGS'
90352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90356 cat >conftest.$ac_ext <<_ACEOF
90357 /* confdefs.h. */
90358 _ACEOF
90359 cat confdefs.h >>conftest.$ac_ext
90360 cat >>conftest.$ac_ext <<_ACEOF
90361 /* end confdefs.h. */
90362 #include <math.h>
90364 main ()
90366 sincos(0, 0, 0);
90368 return 0;
90370 _ACEOF
90371 rm -f conftest.$ac_objext
90372 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90373 (eval $ac_compile) 2>conftest.er1
90374 ac_status=$?
90375 grep -v '^ *+' conftest.er1 >conftest.err
90376 rm -f conftest.er1
90377 cat conftest.err >&5
90378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90379 (exit $ac_status); } &&
90380 { ac_try='test -z "$ac_cxx_werror_flag"
90381 || test ! -s conftest.err'
90382 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90383 (eval $ac_try) 2>&5
90384 ac_status=$?
90385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90386 (exit $ac_status); }; } &&
90387 { ac_try='test -s conftest.$ac_objext'
90388 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90389 (eval $ac_try) 2>&5
90390 ac_status=$?
90391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90392 (exit $ac_status); }; }; then
90393 glibcxx_cv_func_sincos_use=yes
90394 else
90395 echo "$as_me: failed program was:" >&5
90396 sed 's/^/| /' conftest.$ac_ext >&5
90398 glibcxx_cv_func_sincos_use=no
90400 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90401 ac_ext=c
90402 ac_cpp='$CPP $CPPFLAGS'
90403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90411 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
90412 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
90414 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
90416 for ac_func in sincos
90418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90419 echo "$as_me:$LINENO: checking for $ac_func" >&5
90420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90421 if eval "test \"\${$as_ac_var+set}\" = set"; then
90422 echo $ECHO_N "(cached) $ECHO_C" >&6
90423 else
90424 if test x$gcc_no_link = xyes; then
90425 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90426 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90427 { (exit 1); exit 1; }; }
90429 cat >conftest.$ac_ext <<_ACEOF
90430 /* confdefs.h. */
90431 _ACEOF
90432 cat confdefs.h >>conftest.$ac_ext
90433 cat >>conftest.$ac_ext <<_ACEOF
90434 /* end confdefs.h. */
90435 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90436 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90437 #define $ac_func innocuous_$ac_func
90439 /* System header to define __stub macros and hopefully few prototypes,
90440 which can conflict with char $ac_func (); below.
90441 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90442 <limits.h> exists even on freestanding compilers. */
90444 #ifdef __STDC__
90445 # include <limits.h>
90446 #else
90447 # include <assert.h>
90448 #endif
90450 #undef $ac_func
90452 /* Override any gcc2 internal prototype to avoid an error. */
90453 #ifdef __cplusplus
90454 extern "C"
90456 #endif
90457 /* We use char because int might match the return type of a gcc2
90458 builtin and then its argument prototype would still apply. */
90459 char $ac_func ();
90460 /* The GNU C library defines this for functions which it implements
90461 to always fail with ENOSYS. Some functions are actually named
90462 something starting with __ and the normal name is an alias. */
90463 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90464 choke me
90465 #else
90466 char (*f) () = $ac_func;
90467 #endif
90468 #ifdef __cplusplus
90470 #endif
90473 main ()
90475 return f != $ac_func;
90477 return 0;
90479 _ACEOF
90480 rm -f conftest.$ac_objext conftest$ac_exeext
90481 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90482 (eval $ac_link) 2>conftest.er1
90483 ac_status=$?
90484 grep -v '^ *+' conftest.er1 >conftest.err
90485 rm -f conftest.er1
90486 cat conftest.err >&5
90487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90488 (exit $ac_status); } &&
90489 { ac_try='test -z "$ac_c_werror_flag"
90490 || test ! -s conftest.err'
90491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90492 (eval $ac_try) 2>&5
90493 ac_status=$?
90494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90495 (exit $ac_status); }; } &&
90496 { ac_try='test -s conftest$ac_exeext'
90497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90498 (eval $ac_try) 2>&5
90499 ac_status=$?
90500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90501 (exit $ac_status); }; }; then
90502 eval "$as_ac_var=yes"
90503 else
90504 echo "$as_me: failed program was:" >&5
90505 sed 's/^/| /' conftest.$ac_ext >&5
90507 eval "$as_ac_var=no"
90509 rm -f conftest.err conftest.$ac_objext \
90510 conftest$ac_exeext conftest.$ac_ext
90512 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90513 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90514 if test `eval echo '${'$as_ac_var'}'` = yes; then
90515 cat >>confdefs.h <<_ACEOF
90516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90517 _ACEOF
90520 done
90522 else
90524 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
90525 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
90526 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
90527 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
90528 echo $ECHO_N "(cached) $ECHO_C" >&6
90529 else
90533 ac_ext=cc
90534 ac_cpp='$CXXCPP $CPPFLAGS'
90535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90539 cat >conftest.$ac_ext <<_ACEOF
90540 /* confdefs.h. */
90541 _ACEOF
90542 cat confdefs.h >>conftest.$ac_ext
90543 cat >>conftest.$ac_ext <<_ACEOF
90544 /* end confdefs.h. */
90545 #include <math.h>
90547 main ()
90549 _sincos(0, 0, 0);
90551 return 0;
90553 _ACEOF
90554 rm -f conftest.$ac_objext
90555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90556 (eval $ac_compile) 2>conftest.er1
90557 ac_status=$?
90558 grep -v '^ *+' conftest.er1 >conftest.err
90559 rm -f conftest.er1
90560 cat conftest.err >&5
90561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90562 (exit $ac_status); } &&
90563 { ac_try='test -z "$ac_cxx_werror_flag"
90564 || test ! -s conftest.err'
90565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90566 (eval $ac_try) 2>&5
90567 ac_status=$?
90568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90569 (exit $ac_status); }; } &&
90570 { ac_try='test -s conftest.$ac_objext'
90571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90572 (eval $ac_try) 2>&5
90573 ac_status=$?
90574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90575 (exit $ac_status); }; }; then
90576 glibcxx_cv_func__sincos_use=yes
90577 else
90578 echo "$as_me: failed program was:" >&5
90579 sed 's/^/| /' conftest.$ac_ext >&5
90581 glibcxx_cv_func__sincos_use=no
90583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90584 ac_ext=c
90585 ac_cpp='$CPP $CPPFLAGS'
90586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
90595 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
90597 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
90599 for ac_func in _sincos
90601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90602 echo "$as_me:$LINENO: checking for $ac_func" >&5
90603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90604 if eval "test \"\${$as_ac_var+set}\" = set"; then
90605 echo $ECHO_N "(cached) $ECHO_C" >&6
90606 else
90607 if test x$gcc_no_link = xyes; then
90608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90610 { (exit 1); exit 1; }; }
90612 cat >conftest.$ac_ext <<_ACEOF
90613 /* confdefs.h. */
90614 _ACEOF
90615 cat confdefs.h >>conftest.$ac_ext
90616 cat >>conftest.$ac_ext <<_ACEOF
90617 /* end confdefs.h. */
90618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90620 #define $ac_func innocuous_$ac_func
90622 /* System header to define __stub macros and hopefully few prototypes,
90623 which can conflict with char $ac_func (); below.
90624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90625 <limits.h> exists even on freestanding compilers. */
90627 #ifdef __STDC__
90628 # include <limits.h>
90629 #else
90630 # include <assert.h>
90631 #endif
90633 #undef $ac_func
90635 /* Override any gcc2 internal prototype to avoid an error. */
90636 #ifdef __cplusplus
90637 extern "C"
90639 #endif
90640 /* We use char because int might match the return type of a gcc2
90641 builtin and then its argument prototype would still apply. */
90642 char $ac_func ();
90643 /* The GNU C library defines this for functions which it implements
90644 to always fail with ENOSYS. Some functions are actually named
90645 something starting with __ and the normal name is an alias. */
90646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90647 choke me
90648 #else
90649 char (*f) () = $ac_func;
90650 #endif
90651 #ifdef __cplusplus
90653 #endif
90656 main ()
90658 return f != $ac_func;
90660 return 0;
90662 _ACEOF
90663 rm -f conftest.$ac_objext conftest$ac_exeext
90664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90665 (eval $ac_link) 2>conftest.er1
90666 ac_status=$?
90667 grep -v '^ *+' conftest.er1 >conftest.err
90668 rm -f conftest.er1
90669 cat conftest.err >&5
90670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90671 (exit $ac_status); } &&
90672 { ac_try='test -z "$ac_c_werror_flag"
90673 || test ! -s conftest.err'
90674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90675 (eval $ac_try) 2>&5
90676 ac_status=$?
90677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90678 (exit $ac_status); }; } &&
90679 { ac_try='test -s conftest$ac_exeext'
90680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90681 (eval $ac_try) 2>&5
90682 ac_status=$?
90683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90684 (exit $ac_status); }; }; then
90685 eval "$as_ac_var=yes"
90686 else
90687 echo "$as_me: failed program was:" >&5
90688 sed 's/^/| /' conftest.$ac_ext >&5
90690 eval "$as_ac_var=no"
90692 rm -f conftest.err conftest.$ac_objext \
90693 conftest$ac_exeext conftest.$ac_ext
90695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90697 if test `eval echo '${'$as_ac_var'}'` = yes; then
90698 cat >>confdefs.h <<_ACEOF
90699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90700 _ACEOF
90703 done
90713 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
90714 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
90715 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
90716 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
90717 echo $ECHO_N "(cached) $ECHO_C" >&6
90718 else
90722 ac_ext=cc
90723 ac_cpp='$CXXCPP $CPPFLAGS'
90724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90728 cat >conftest.$ac_ext <<_ACEOF
90729 /* confdefs.h. */
90730 _ACEOF
90731 cat confdefs.h >>conftest.$ac_ext
90732 cat >>conftest.$ac_ext <<_ACEOF
90733 /* end confdefs.h. */
90734 #include <math.h>
90735 #ifdef HAVE_IEEEFP_H
90736 #include <ieeefp.h>
90737 #endif
90740 main ()
90742 fpclass(0);
90744 return 0;
90746 _ACEOF
90747 rm -f conftest.$ac_objext
90748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90749 (eval $ac_compile) 2>conftest.er1
90750 ac_status=$?
90751 grep -v '^ *+' conftest.er1 >conftest.err
90752 rm -f conftest.er1
90753 cat conftest.err >&5
90754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90755 (exit $ac_status); } &&
90756 { ac_try='test -z "$ac_cxx_werror_flag"
90757 || test ! -s conftest.err'
90758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90759 (eval $ac_try) 2>&5
90760 ac_status=$?
90761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90762 (exit $ac_status); }; } &&
90763 { ac_try='test -s conftest.$ac_objext'
90764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90765 (eval $ac_try) 2>&5
90766 ac_status=$?
90767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90768 (exit $ac_status); }; }; then
90769 glibcxx_cv_func_fpclass_use=yes
90770 else
90771 echo "$as_me: failed program was:" >&5
90772 sed 's/^/| /' conftest.$ac_ext >&5
90774 glibcxx_cv_func_fpclass_use=no
90776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90777 ac_ext=c
90778 ac_cpp='$CPP $CPPFLAGS'
90779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90787 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
90788 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
90790 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
90792 for ac_func in fpclass
90794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90795 echo "$as_me:$LINENO: checking for $ac_func" >&5
90796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90797 if eval "test \"\${$as_ac_var+set}\" = set"; then
90798 echo $ECHO_N "(cached) $ECHO_C" >&6
90799 else
90800 if test x$gcc_no_link = xyes; then
90801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90803 { (exit 1); exit 1; }; }
90805 cat >conftest.$ac_ext <<_ACEOF
90806 /* confdefs.h. */
90807 _ACEOF
90808 cat confdefs.h >>conftest.$ac_ext
90809 cat >>conftest.$ac_ext <<_ACEOF
90810 /* end confdefs.h. */
90811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90813 #define $ac_func innocuous_$ac_func
90815 /* System header to define __stub macros and hopefully few prototypes,
90816 which can conflict with char $ac_func (); below.
90817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90818 <limits.h> exists even on freestanding compilers. */
90820 #ifdef __STDC__
90821 # include <limits.h>
90822 #else
90823 # include <assert.h>
90824 #endif
90826 #undef $ac_func
90828 /* Override any gcc2 internal prototype to avoid an error. */
90829 #ifdef __cplusplus
90830 extern "C"
90832 #endif
90833 /* We use char because int might match the return type of a gcc2
90834 builtin and then its argument prototype would still apply. */
90835 char $ac_func ();
90836 /* The GNU C library defines this for functions which it implements
90837 to always fail with ENOSYS. Some functions are actually named
90838 something starting with __ and the normal name is an alias. */
90839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90840 choke me
90841 #else
90842 char (*f) () = $ac_func;
90843 #endif
90844 #ifdef __cplusplus
90846 #endif
90849 main ()
90851 return f != $ac_func;
90853 return 0;
90855 _ACEOF
90856 rm -f conftest.$ac_objext conftest$ac_exeext
90857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90858 (eval $ac_link) 2>conftest.er1
90859 ac_status=$?
90860 grep -v '^ *+' conftest.er1 >conftest.err
90861 rm -f conftest.er1
90862 cat conftest.err >&5
90863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90864 (exit $ac_status); } &&
90865 { ac_try='test -z "$ac_c_werror_flag"
90866 || test ! -s conftest.err'
90867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90868 (eval $ac_try) 2>&5
90869 ac_status=$?
90870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90871 (exit $ac_status); }; } &&
90872 { ac_try='test -s conftest$ac_exeext'
90873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90874 (eval $ac_try) 2>&5
90875 ac_status=$?
90876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90877 (exit $ac_status); }; }; then
90878 eval "$as_ac_var=yes"
90879 else
90880 echo "$as_me: failed program was:" >&5
90881 sed 's/^/| /' conftest.$ac_ext >&5
90883 eval "$as_ac_var=no"
90885 rm -f conftest.err conftest.$ac_objext \
90886 conftest$ac_exeext conftest.$ac_ext
90888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90890 if test `eval echo '${'$as_ac_var'}'` = yes; then
90891 cat >>confdefs.h <<_ACEOF
90892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90893 _ACEOF
90896 done
90898 else
90900 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
90901 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
90902 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
90903 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
90904 echo $ECHO_N "(cached) $ECHO_C" >&6
90905 else
90909 ac_ext=cc
90910 ac_cpp='$CXXCPP $CPPFLAGS'
90911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90915 cat >conftest.$ac_ext <<_ACEOF
90916 /* confdefs.h. */
90917 _ACEOF
90918 cat confdefs.h >>conftest.$ac_ext
90919 cat >>conftest.$ac_ext <<_ACEOF
90920 /* end confdefs.h. */
90921 #include <math.h>
90922 #ifdef HAVE_IEEEFP_H
90923 #include <ieeefp.h>
90924 #endif
90927 main ()
90929 _fpclass(0);
90931 return 0;
90933 _ACEOF
90934 rm -f conftest.$ac_objext
90935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90936 (eval $ac_compile) 2>conftest.er1
90937 ac_status=$?
90938 grep -v '^ *+' conftest.er1 >conftest.err
90939 rm -f conftest.er1
90940 cat conftest.err >&5
90941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90942 (exit $ac_status); } &&
90943 { ac_try='test -z "$ac_cxx_werror_flag"
90944 || test ! -s conftest.err'
90945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90946 (eval $ac_try) 2>&5
90947 ac_status=$?
90948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90949 (exit $ac_status); }; } &&
90950 { ac_try='test -s conftest.$ac_objext'
90951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90952 (eval $ac_try) 2>&5
90953 ac_status=$?
90954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90955 (exit $ac_status); }; }; then
90956 glibcxx_cv_func__fpclass_use=yes
90957 else
90958 echo "$as_me: failed program was:" >&5
90959 sed 's/^/| /' conftest.$ac_ext >&5
90961 glibcxx_cv_func__fpclass_use=no
90963 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90964 ac_ext=c
90965 ac_cpp='$CPP $CPPFLAGS'
90966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90974 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
90975 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
90977 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
90979 for ac_func in _fpclass
90981 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90982 echo "$as_me:$LINENO: checking for $ac_func" >&5
90983 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90984 if eval "test \"\${$as_ac_var+set}\" = set"; then
90985 echo $ECHO_N "(cached) $ECHO_C" >&6
90986 else
90987 if test x$gcc_no_link = xyes; then
90988 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90989 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90990 { (exit 1); exit 1; }; }
90992 cat >conftest.$ac_ext <<_ACEOF
90993 /* confdefs.h. */
90994 _ACEOF
90995 cat confdefs.h >>conftest.$ac_ext
90996 cat >>conftest.$ac_ext <<_ACEOF
90997 /* end confdefs.h. */
90998 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90999 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91000 #define $ac_func innocuous_$ac_func
91002 /* System header to define __stub macros and hopefully few prototypes,
91003 which can conflict with char $ac_func (); below.
91004 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91005 <limits.h> exists even on freestanding compilers. */
91007 #ifdef __STDC__
91008 # include <limits.h>
91009 #else
91010 # include <assert.h>
91011 #endif
91013 #undef $ac_func
91015 /* Override any gcc2 internal prototype to avoid an error. */
91016 #ifdef __cplusplus
91017 extern "C"
91019 #endif
91020 /* We use char because int might match the return type of a gcc2
91021 builtin and then its argument prototype would still apply. */
91022 char $ac_func ();
91023 /* The GNU C library defines this for functions which it implements
91024 to always fail with ENOSYS. Some functions are actually named
91025 something starting with __ and the normal name is an alias. */
91026 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91027 choke me
91028 #else
91029 char (*f) () = $ac_func;
91030 #endif
91031 #ifdef __cplusplus
91033 #endif
91036 main ()
91038 return f != $ac_func;
91040 return 0;
91042 _ACEOF
91043 rm -f conftest.$ac_objext conftest$ac_exeext
91044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91045 (eval $ac_link) 2>conftest.er1
91046 ac_status=$?
91047 grep -v '^ *+' conftest.er1 >conftest.err
91048 rm -f conftest.er1
91049 cat conftest.err >&5
91050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91051 (exit $ac_status); } &&
91052 { ac_try='test -z "$ac_c_werror_flag"
91053 || test ! -s conftest.err'
91054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91055 (eval $ac_try) 2>&5
91056 ac_status=$?
91057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91058 (exit $ac_status); }; } &&
91059 { ac_try='test -s conftest$ac_exeext'
91060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91061 (eval $ac_try) 2>&5
91062 ac_status=$?
91063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91064 (exit $ac_status); }; }; then
91065 eval "$as_ac_var=yes"
91066 else
91067 echo "$as_me: failed program was:" >&5
91068 sed 's/^/| /' conftest.$ac_ext >&5
91070 eval "$as_ac_var=no"
91072 rm -f conftest.err conftest.$ac_objext \
91073 conftest$ac_exeext conftest.$ac_ext
91075 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91076 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91077 if test `eval echo '${'$as_ac_var'}'` = yes; then
91078 cat >>confdefs.h <<_ACEOF
91079 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91080 _ACEOF
91083 done
91093 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
91094 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
91095 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
91096 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
91097 echo $ECHO_N "(cached) $ECHO_C" >&6
91098 else
91102 ac_ext=cc
91103 ac_cpp='$CXXCPP $CPPFLAGS'
91104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91108 cat >conftest.$ac_ext <<_ACEOF
91109 /* confdefs.h. */
91110 _ACEOF
91111 cat confdefs.h >>conftest.$ac_ext
91112 cat >>conftest.$ac_ext <<_ACEOF
91113 /* end confdefs.h. */
91114 #include <math.h>
91115 #ifdef HAVE_IEEEFP_H
91116 #include <ieeefp.h>
91117 #endif
91120 main ()
91122 qfpclass(0);
91124 return 0;
91126 _ACEOF
91127 rm -f conftest.$ac_objext
91128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91129 (eval $ac_compile) 2>conftest.er1
91130 ac_status=$?
91131 grep -v '^ *+' conftest.er1 >conftest.err
91132 rm -f conftest.er1
91133 cat conftest.err >&5
91134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91135 (exit $ac_status); } &&
91136 { ac_try='test -z "$ac_cxx_werror_flag"
91137 || test ! -s conftest.err'
91138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91139 (eval $ac_try) 2>&5
91140 ac_status=$?
91141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91142 (exit $ac_status); }; } &&
91143 { ac_try='test -s conftest.$ac_objext'
91144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91145 (eval $ac_try) 2>&5
91146 ac_status=$?
91147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91148 (exit $ac_status); }; }; then
91149 glibcxx_cv_func_qfpclass_use=yes
91150 else
91151 echo "$as_me: failed program was:" >&5
91152 sed 's/^/| /' conftest.$ac_ext >&5
91154 glibcxx_cv_func_qfpclass_use=no
91156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91157 ac_ext=c
91158 ac_cpp='$CPP $CPPFLAGS'
91159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91167 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
91168 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
91170 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
91172 for ac_func in qfpclass
91174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91175 echo "$as_me:$LINENO: checking for $ac_func" >&5
91176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91177 if eval "test \"\${$as_ac_var+set}\" = set"; then
91178 echo $ECHO_N "(cached) $ECHO_C" >&6
91179 else
91180 if test x$gcc_no_link = xyes; then
91181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91183 { (exit 1); exit 1; }; }
91185 cat >conftest.$ac_ext <<_ACEOF
91186 /* confdefs.h. */
91187 _ACEOF
91188 cat confdefs.h >>conftest.$ac_ext
91189 cat >>conftest.$ac_ext <<_ACEOF
91190 /* end confdefs.h. */
91191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91193 #define $ac_func innocuous_$ac_func
91195 /* System header to define __stub macros and hopefully few prototypes,
91196 which can conflict with char $ac_func (); below.
91197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91198 <limits.h> exists even on freestanding compilers. */
91200 #ifdef __STDC__
91201 # include <limits.h>
91202 #else
91203 # include <assert.h>
91204 #endif
91206 #undef $ac_func
91208 /* Override any gcc2 internal prototype to avoid an error. */
91209 #ifdef __cplusplus
91210 extern "C"
91212 #endif
91213 /* We use char because int might match the return type of a gcc2
91214 builtin and then its argument prototype would still apply. */
91215 char $ac_func ();
91216 /* The GNU C library defines this for functions which it implements
91217 to always fail with ENOSYS. Some functions are actually named
91218 something starting with __ and the normal name is an alias. */
91219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91220 choke me
91221 #else
91222 char (*f) () = $ac_func;
91223 #endif
91224 #ifdef __cplusplus
91226 #endif
91229 main ()
91231 return f != $ac_func;
91233 return 0;
91235 _ACEOF
91236 rm -f conftest.$ac_objext conftest$ac_exeext
91237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91238 (eval $ac_link) 2>conftest.er1
91239 ac_status=$?
91240 grep -v '^ *+' conftest.er1 >conftest.err
91241 rm -f conftest.er1
91242 cat conftest.err >&5
91243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91244 (exit $ac_status); } &&
91245 { ac_try='test -z "$ac_c_werror_flag"
91246 || test ! -s conftest.err'
91247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91248 (eval $ac_try) 2>&5
91249 ac_status=$?
91250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91251 (exit $ac_status); }; } &&
91252 { ac_try='test -s conftest$ac_exeext'
91253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91254 (eval $ac_try) 2>&5
91255 ac_status=$?
91256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91257 (exit $ac_status); }; }; then
91258 eval "$as_ac_var=yes"
91259 else
91260 echo "$as_me: failed program was:" >&5
91261 sed 's/^/| /' conftest.$ac_ext >&5
91263 eval "$as_ac_var=no"
91265 rm -f conftest.err conftest.$ac_objext \
91266 conftest$ac_exeext conftest.$ac_ext
91268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91270 if test `eval echo '${'$as_ac_var'}'` = yes; then
91271 cat >>confdefs.h <<_ACEOF
91272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91273 _ACEOF
91276 done
91278 else
91280 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
91281 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
91282 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
91283 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
91284 echo $ECHO_N "(cached) $ECHO_C" >&6
91285 else
91289 ac_ext=cc
91290 ac_cpp='$CXXCPP $CPPFLAGS'
91291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91295 cat >conftest.$ac_ext <<_ACEOF
91296 /* confdefs.h. */
91297 _ACEOF
91298 cat confdefs.h >>conftest.$ac_ext
91299 cat >>conftest.$ac_ext <<_ACEOF
91300 /* end confdefs.h. */
91301 #include <math.h>
91302 #ifdef HAVE_IEEEFP_H
91303 #include <ieeefp.h>
91304 #endif
91307 main ()
91309 _qfpclass(0);
91311 return 0;
91313 _ACEOF
91314 rm -f conftest.$ac_objext
91315 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91316 (eval $ac_compile) 2>conftest.er1
91317 ac_status=$?
91318 grep -v '^ *+' conftest.er1 >conftest.err
91319 rm -f conftest.er1
91320 cat conftest.err >&5
91321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91322 (exit $ac_status); } &&
91323 { ac_try='test -z "$ac_cxx_werror_flag"
91324 || test ! -s conftest.err'
91325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91326 (eval $ac_try) 2>&5
91327 ac_status=$?
91328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91329 (exit $ac_status); }; } &&
91330 { ac_try='test -s conftest.$ac_objext'
91331 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91332 (eval $ac_try) 2>&5
91333 ac_status=$?
91334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91335 (exit $ac_status); }; }; then
91336 glibcxx_cv_func__qfpclass_use=yes
91337 else
91338 echo "$as_me: failed program was:" >&5
91339 sed 's/^/| /' conftest.$ac_ext >&5
91341 glibcxx_cv_func__qfpclass_use=no
91343 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91344 ac_ext=c
91345 ac_cpp='$CPP $CPPFLAGS'
91346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91354 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
91355 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
91357 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
91359 for ac_func in _qfpclass
91361 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91362 echo "$as_me:$LINENO: checking for $ac_func" >&5
91363 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91364 if eval "test \"\${$as_ac_var+set}\" = set"; then
91365 echo $ECHO_N "(cached) $ECHO_C" >&6
91366 else
91367 if test x$gcc_no_link = xyes; then
91368 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91369 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91370 { (exit 1); exit 1; }; }
91372 cat >conftest.$ac_ext <<_ACEOF
91373 /* confdefs.h. */
91374 _ACEOF
91375 cat confdefs.h >>conftest.$ac_ext
91376 cat >>conftest.$ac_ext <<_ACEOF
91377 /* end confdefs.h. */
91378 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91379 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91380 #define $ac_func innocuous_$ac_func
91382 /* System header to define __stub macros and hopefully few prototypes,
91383 which can conflict with char $ac_func (); below.
91384 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91385 <limits.h> exists even on freestanding compilers. */
91387 #ifdef __STDC__
91388 # include <limits.h>
91389 #else
91390 # include <assert.h>
91391 #endif
91393 #undef $ac_func
91395 /* Override any gcc2 internal prototype to avoid an error. */
91396 #ifdef __cplusplus
91397 extern "C"
91399 #endif
91400 /* We use char because int might match the return type of a gcc2
91401 builtin and then its argument prototype would still apply. */
91402 char $ac_func ();
91403 /* The GNU C library defines this for functions which it implements
91404 to always fail with ENOSYS. Some functions are actually named
91405 something starting with __ and the normal name is an alias. */
91406 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91407 choke me
91408 #else
91409 char (*f) () = $ac_func;
91410 #endif
91411 #ifdef __cplusplus
91413 #endif
91416 main ()
91418 return f != $ac_func;
91420 return 0;
91422 _ACEOF
91423 rm -f conftest.$ac_objext conftest$ac_exeext
91424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91425 (eval $ac_link) 2>conftest.er1
91426 ac_status=$?
91427 grep -v '^ *+' conftest.er1 >conftest.err
91428 rm -f conftest.er1
91429 cat conftest.err >&5
91430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91431 (exit $ac_status); } &&
91432 { ac_try='test -z "$ac_c_werror_flag"
91433 || test ! -s conftest.err'
91434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91435 (eval $ac_try) 2>&5
91436 ac_status=$?
91437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91438 (exit $ac_status); }; } &&
91439 { ac_try='test -s conftest$ac_exeext'
91440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91441 (eval $ac_try) 2>&5
91442 ac_status=$?
91443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91444 (exit $ac_status); }; }; then
91445 eval "$as_ac_var=yes"
91446 else
91447 echo "$as_me: failed program was:" >&5
91448 sed 's/^/| /' conftest.$ac_ext >&5
91450 eval "$as_ac_var=no"
91452 rm -f conftest.err conftest.$ac_objext \
91453 conftest$ac_exeext conftest.$ac_ext
91455 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91456 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91457 if test `eval echo '${'$as_ac_var'}'` = yes; then
91458 cat >>confdefs.h <<_ACEOF
91459 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91460 _ACEOF
91463 done
91473 echo "$as_me:$LINENO: checking for hypot declaration" >&5
91474 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
91475 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
91476 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
91477 echo $ECHO_N "(cached) $ECHO_C" >&6
91478 else
91482 ac_ext=cc
91483 ac_cpp='$CXXCPP $CPPFLAGS'
91484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91488 cat >conftest.$ac_ext <<_ACEOF
91489 /* confdefs.h. */
91490 _ACEOF
91491 cat confdefs.h >>conftest.$ac_ext
91492 cat >>conftest.$ac_ext <<_ACEOF
91493 /* end confdefs.h. */
91494 #include <math.h>
91496 main ()
91498 hypot(0, 0);
91500 return 0;
91502 _ACEOF
91503 rm -f conftest.$ac_objext
91504 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91505 (eval $ac_compile) 2>conftest.er1
91506 ac_status=$?
91507 grep -v '^ *+' conftest.er1 >conftest.err
91508 rm -f conftest.er1
91509 cat conftest.err >&5
91510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91511 (exit $ac_status); } &&
91512 { ac_try='test -z "$ac_cxx_werror_flag"
91513 || test ! -s conftest.err'
91514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91515 (eval $ac_try) 2>&5
91516 ac_status=$?
91517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91518 (exit $ac_status); }; } &&
91519 { ac_try='test -s conftest.$ac_objext'
91520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91521 (eval $ac_try) 2>&5
91522 ac_status=$?
91523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91524 (exit $ac_status); }; }; then
91525 glibcxx_cv_func_hypot_use=yes
91526 else
91527 echo "$as_me: failed program was:" >&5
91528 sed 's/^/| /' conftest.$ac_ext >&5
91530 glibcxx_cv_func_hypot_use=no
91532 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91533 ac_ext=c
91534 ac_cpp='$CPP $CPPFLAGS'
91535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91543 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
91544 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
91546 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
91548 for ac_func in hypot
91550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91551 echo "$as_me:$LINENO: checking for $ac_func" >&5
91552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91553 if eval "test \"\${$as_ac_var+set}\" = set"; then
91554 echo $ECHO_N "(cached) $ECHO_C" >&6
91555 else
91556 if test x$gcc_no_link = xyes; then
91557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91559 { (exit 1); exit 1; }; }
91561 cat >conftest.$ac_ext <<_ACEOF
91562 /* confdefs.h. */
91563 _ACEOF
91564 cat confdefs.h >>conftest.$ac_ext
91565 cat >>conftest.$ac_ext <<_ACEOF
91566 /* end confdefs.h. */
91567 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91568 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91569 #define $ac_func innocuous_$ac_func
91571 /* System header to define __stub macros and hopefully few prototypes,
91572 which can conflict with char $ac_func (); below.
91573 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91574 <limits.h> exists even on freestanding compilers. */
91576 #ifdef __STDC__
91577 # include <limits.h>
91578 #else
91579 # include <assert.h>
91580 #endif
91582 #undef $ac_func
91584 /* Override any gcc2 internal prototype to avoid an error. */
91585 #ifdef __cplusplus
91586 extern "C"
91588 #endif
91589 /* We use char because int might match the return type of a gcc2
91590 builtin and then its argument prototype would still apply. */
91591 char $ac_func ();
91592 /* The GNU C library defines this for functions which it implements
91593 to always fail with ENOSYS. Some functions are actually named
91594 something starting with __ and the normal name is an alias. */
91595 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91596 choke me
91597 #else
91598 char (*f) () = $ac_func;
91599 #endif
91600 #ifdef __cplusplus
91602 #endif
91605 main ()
91607 return f != $ac_func;
91609 return 0;
91611 _ACEOF
91612 rm -f conftest.$ac_objext conftest$ac_exeext
91613 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91614 (eval $ac_link) 2>conftest.er1
91615 ac_status=$?
91616 grep -v '^ *+' conftest.er1 >conftest.err
91617 rm -f conftest.er1
91618 cat conftest.err >&5
91619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91620 (exit $ac_status); } &&
91621 { ac_try='test -z "$ac_c_werror_flag"
91622 || test ! -s conftest.err'
91623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91624 (eval $ac_try) 2>&5
91625 ac_status=$?
91626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91627 (exit $ac_status); }; } &&
91628 { ac_try='test -s conftest$ac_exeext'
91629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91630 (eval $ac_try) 2>&5
91631 ac_status=$?
91632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91633 (exit $ac_status); }; }; then
91634 eval "$as_ac_var=yes"
91635 else
91636 echo "$as_me: failed program was:" >&5
91637 sed 's/^/| /' conftest.$ac_ext >&5
91639 eval "$as_ac_var=no"
91641 rm -f conftest.err conftest.$ac_objext \
91642 conftest$ac_exeext conftest.$ac_ext
91644 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91645 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91646 if test `eval echo '${'$as_ac_var'}'` = yes; then
91647 cat >>confdefs.h <<_ACEOF
91648 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91649 _ACEOF
91652 done
91654 else
91656 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
91657 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
91658 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
91659 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
91660 echo $ECHO_N "(cached) $ECHO_C" >&6
91661 else
91665 ac_ext=cc
91666 ac_cpp='$CXXCPP $CPPFLAGS'
91667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91671 cat >conftest.$ac_ext <<_ACEOF
91672 /* confdefs.h. */
91673 _ACEOF
91674 cat confdefs.h >>conftest.$ac_ext
91675 cat >>conftest.$ac_ext <<_ACEOF
91676 /* end confdefs.h. */
91677 #include <math.h>
91679 main ()
91681 _hypot(0, 0);
91683 return 0;
91685 _ACEOF
91686 rm -f conftest.$ac_objext
91687 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91688 (eval $ac_compile) 2>conftest.er1
91689 ac_status=$?
91690 grep -v '^ *+' conftest.er1 >conftest.err
91691 rm -f conftest.er1
91692 cat conftest.err >&5
91693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91694 (exit $ac_status); } &&
91695 { ac_try='test -z "$ac_cxx_werror_flag"
91696 || test ! -s conftest.err'
91697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91698 (eval $ac_try) 2>&5
91699 ac_status=$?
91700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91701 (exit $ac_status); }; } &&
91702 { ac_try='test -s conftest.$ac_objext'
91703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91704 (eval $ac_try) 2>&5
91705 ac_status=$?
91706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91707 (exit $ac_status); }; }; then
91708 glibcxx_cv_func__hypot_use=yes
91709 else
91710 echo "$as_me: failed program was:" >&5
91711 sed 's/^/| /' conftest.$ac_ext >&5
91713 glibcxx_cv_func__hypot_use=no
91715 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91716 ac_ext=c
91717 ac_cpp='$CPP $CPPFLAGS'
91718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91726 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
91727 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
91729 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
91731 for ac_func in _hypot
91733 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91734 echo "$as_me:$LINENO: checking for $ac_func" >&5
91735 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91736 if eval "test \"\${$as_ac_var+set}\" = set"; then
91737 echo $ECHO_N "(cached) $ECHO_C" >&6
91738 else
91739 if test x$gcc_no_link = xyes; then
91740 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91741 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91742 { (exit 1); exit 1; }; }
91744 cat >conftest.$ac_ext <<_ACEOF
91745 /* confdefs.h. */
91746 _ACEOF
91747 cat confdefs.h >>conftest.$ac_ext
91748 cat >>conftest.$ac_ext <<_ACEOF
91749 /* end confdefs.h. */
91750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91752 #define $ac_func innocuous_$ac_func
91754 /* System header to define __stub macros and hopefully few prototypes,
91755 which can conflict with char $ac_func (); below.
91756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91757 <limits.h> exists even on freestanding compilers. */
91759 #ifdef __STDC__
91760 # include <limits.h>
91761 #else
91762 # include <assert.h>
91763 #endif
91765 #undef $ac_func
91767 /* Override any gcc2 internal prototype to avoid an error. */
91768 #ifdef __cplusplus
91769 extern "C"
91771 #endif
91772 /* We use char because int might match the return type of a gcc2
91773 builtin and then its argument prototype would still apply. */
91774 char $ac_func ();
91775 /* The GNU C library defines this for functions which it implements
91776 to always fail with ENOSYS. Some functions are actually named
91777 something starting with __ and the normal name is an alias. */
91778 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91779 choke me
91780 #else
91781 char (*f) () = $ac_func;
91782 #endif
91783 #ifdef __cplusplus
91785 #endif
91788 main ()
91790 return f != $ac_func;
91792 return 0;
91794 _ACEOF
91795 rm -f conftest.$ac_objext conftest$ac_exeext
91796 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91797 (eval $ac_link) 2>conftest.er1
91798 ac_status=$?
91799 grep -v '^ *+' conftest.er1 >conftest.err
91800 rm -f conftest.er1
91801 cat conftest.err >&5
91802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91803 (exit $ac_status); } &&
91804 { ac_try='test -z "$ac_c_werror_flag"
91805 || test ! -s conftest.err'
91806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91807 (eval $ac_try) 2>&5
91808 ac_status=$?
91809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91810 (exit $ac_status); }; } &&
91811 { ac_try='test -s conftest$ac_exeext'
91812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91813 (eval $ac_try) 2>&5
91814 ac_status=$?
91815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91816 (exit $ac_status); }; }; then
91817 eval "$as_ac_var=yes"
91818 else
91819 echo "$as_me: failed program was:" >&5
91820 sed 's/^/| /' conftest.$ac_ext >&5
91822 eval "$as_ac_var=no"
91824 rm -f conftest.err conftest.$ac_objext \
91825 conftest$ac_exeext conftest.$ac_ext
91827 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91828 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91829 if test `eval echo '${'$as_ac_var'}'` = yes; then
91830 cat >>confdefs.h <<_ACEOF
91831 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91832 _ACEOF
91835 done
91845 echo "$as_me:$LINENO: checking for float trig functions" >&5
91846 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
91847 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
91848 echo $ECHO_N "(cached) $ECHO_C" >&6
91849 else
91853 ac_ext=cc
91854 ac_cpp='$CXXCPP $CPPFLAGS'
91855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91859 cat >conftest.$ac_ext <<_ACEOF
91860 /* confdefs.h. */
91861 _ACEOF
91862 cat confdefs.h >>conftest.$ac_ext
91863 cat >>conftest.$ac_ext <<_ACEOF
91864 /* end confdefs.h. */
91865 #include <math.h>
91867 main ()
91869 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
91871 return 0;
91873 _ACEOF
91874 rm -f conftest.$ac_objext
91875 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91876 (eval $ac_compile) 2>conftest.er1
91877 ac_status=$?
91878 grep -v '^ *+' conftest.er1 >conftest.err
91879 rm -f conftest.er1
91880 cat conftest.err >&5
91881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91882 (exit $ac_status); } &&
91883 { ac_try='test -z "$ac_cxx_werror_flag"
91884 || test ! -s conftest.err'
91885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91886 (eval $ac_try) 2>&5
91887 ac_status=$?
91888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91889 (exit $ac_status); }; } &&
91890 { ac_try='test -s conftest.$ac_objext'
91891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91892 (eval $ac_try) 2>&5
91893 ac_status=$?
91894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91895 (exit $ac_status); }; }; then
91896 glibcxx_cv_func_float_trig_use=yes
91897 else
91898 echo "$as_me: failed program was:" >&5
91899 sed 's/^/| /' conftest.$ac_ext >&5
91901 glibcxx_cv_func_float_trig_use=no
91903 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91904 ac_ext=c
91905 ac_cpp='$CPP $CPPFLAGS'
91906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91912 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
91913 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
91914 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
91924 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
91926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91927 echo "$as_me:$LINENO: checking for $ac_func" >&5
91928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91929 if eval "test \"\${$as_ac_var+set}\" = set"; then
91930 echo $ECHO_N "(cached) $ECHO_C" >&6
91931 else
91932 if test x$gcc_no_link = xyes; then
91933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91935 { (exit 1); exit 1; }; }
91937 cat >conftest.$ac_ext <<_ACEOF
91938 /* confdefs.h. */
91939 _ACEOF
91940 cat confdefs.h >>conftest.$ac_ext
91941 cat >>conftest.$ac_ext <<_ACEOF
91942 /* end confdefs.h. */
91943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91945 #define $ac_func innocuous_$ac_func
91947 /* System header to define __stub macros and hopefully few prototypes,
91948 which can conflict with char $ac_func (); below.
91949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91950 <limits.h> exists even on freestanding compilers. */
91952 #ifdef __STDC__
91953 # include <limits.h>
91954 #else
91955 # include <assert.h>
91956 #endif
91958 #undef $ac_func
91960 /* Override any gcc2 internal prototype to avoid an error. */
91961 #ifdef __cplusplus
91962 extern "C"
91964 #endif
91965 /* We use char because int might match the return type of a gcc2
91966 builtin and then its argument prototype would still apply. */
91967 char $ac_func ();
91968 /* The GNU C library defines this for functions which it implements
91969 to always fail with ENOSYS. Some functions are actually named
91970 something starting with __ and the normal name is an alias. */
91971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91972 choke me
91973 #else
91974 char (*f) () = $ac_func;
91975 #endif
91976 #ifdef __cplusplus
91978 #endif
91981 main ()
91983 return f != $ac_func;
91985 return 0;
91987 _ACEOF
91988 rm -f conftest.$ac_objext conftest$ac_exeext
91989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91990 (eval $ac_link) 2>conftest.er1
91991 ac_status=$?
91992 grep -v '^ *+' conftest.er1 >conftest.err
91993 rm -f conftest.er1
91994 cat conftest.err >&5
91995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91996 (exit $ac_status); } &&
91997 { ac_try='test -z "$ac_c_werror_flag"
91998 || test ! -s conftest.err'
91999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92000 (eval $ac_try) 2>&5
92001 ac_status=$?
92002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92003 (exit $ac_status); }; } &&
92004 { ac_try='test -s conftest$ac_exeext'
92005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92006 (eval $ac_try) 2>&5
92007 ac_status=$?
92008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92009 (exit $ac_status); }; }; then
92010 eval "$as_ac_var=yes"
92011 else
92012 echo "$as_me: failed program was:" >&5
92013 sed 's/^/| /' conftest.$ac_ext >&5
92015 eval "$as_ac_var=no"
92017 rm -f conftest.err conftest.$ac_objext \
92018 conftest$ac_exeext conftest.$ac_ext
92020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92022 if test `eval echo '${'$as_ac_var'}'` = yes; then
92023 cat >>confdefs.h <<_ACEOF
92024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92025 _ACEOF
92028 done
92030 else
92031 echo "$as_me:$LINENO: checking for _float trig functions" >&5
92032 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
92033 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
92034 echo $ECHO_N "(cached) $ECHO_C" >&6
92035 else
92039 ac_ext=cc
92040 ac_cpp='$CXXCPP $CPPFLAGS'
92041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92045 cat >conftest.$ac_ext <<_ACEOF
92046 /* confdefs.h. */
92047 _ACEOF
92048 cat confdefs.h >>conftest.$ac_ext
92049 cat >>conftest.$ac_ext <<_ACEOF
92050 /* end confdefs.h. */
92051 #include <math.h>
92053 main ()
92055 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
92057 return 0;
92059 _ACEOF
92060 rm -f conftest.$ac_objext
92061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92062 (eval $ac_compile) 2>conftest.er1
92063 ac_status=$?
92064 grep -v '^ *+' conftest.er1 >conftest.err
92065 rm -f conftest.er1
92066 cat conftest.err >&5
92067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92068 (exit $ac_status); } &&
92069 { ac_try='test -z "$ac_cxx_werror_flag"
92070 || test ! -s conftest.err'
92071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92072 (eval $ac_try) 2>&5
92073 ac_status=$?
92074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92075 (exit $ac_status); }; } &&
92076 { ac_try='test -s conftest.$ac_objext'
92077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92078 (eval $ac_try) 2>&5
92079 ac_status=$?
92080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92081 (exit $ac_status); }; }; then
92082 glibcxx_cv_func__float_trig_use=yes
92083 else
92084 echo "$as_me: failed program was:" >&5
92085 sed 's/^/| /' conftest.$ac_ext >&5
92087 glibcxx_cv_func__float_trig_use=no
92089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92090 ac_ext=c
92091 ac_cpp='$CPP $CPPFLAGS'
92092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92098 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
92099 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
92100 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
92110 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
92112 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92113 echo "$as_me:$LINENO: checking for $ac_func" >&5
92114 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92115 if eval "test \"\${$as_ac_var+set}\" = set"; then
92116 echo $ECHO_N "(cached) $ECHO_C" >&6
92117 else
92118 if test x$gcc_no_link = xyes; then
92119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92121 { (exit 1); exit 1; }; }
92123 cat >conftest.$ac_ext <<_ACEOF
92124 /* confdefs.h. */
92125 _ACEOF
92126 cat confdefs.h >>conftest.$ac_ext
92127 cat >>conftest.$ac_ext <<_ACEOF
92128 /* end confdefs.h. */
92129 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92130 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92131 #define $ac_func innocuous_$ac_func
92133 /* System header to define __stub macros and hopefully few prototypes,
92134 which can conflict with char $ac_func (); below.
92135 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92136 <limits.h> exists even on freestanding compilers. */
92138 #ifdef __STDC__
92139 # include <limits.h>
92140 #else
92141 # include <assert.h>
92142 #endif
92144 #undef $ac_func
92146 /* Override any gcc2 internal prototype to avoid an error. */
92147 #ifdef __cplusplus
92148 extern "C"
92150 #endif
92151 /* We use char because int might match the return type of a gcc2
92152 builtin and then its argument prototype would still apply. */
92153 char $ac_func ();
92154 /* The GNU C library defines this for functions which it implements
92155 to always fail with ENOSYS. Some functions are actually named
92156 something starting with __ and the normal name is an alias. */
92157 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92158 choke me
92159 #else
92160 char (*f) () = $ac_func;
92161 #endif
92162 #ifdef __cplusplus
92164 #endif
92167 main ()
92169 return f != $ac_func;
92171 return 0;
92173 _ACEOF
92174 rm -f conftest.$ac_objext conftest$ac_exeext
92175 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92176 (eval $ac_link) 2>conftest.er1
92177 ac_status=$?
92178 grep -v '^ *+' conftest.er1 >conftest.err
92179 rm -f conftest.er1
92180 cat conftest.err >&5
92181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92182 (exit $ac_status); } &&
92183 { ac_try='test -z "$ac_c_werror_flag"
92184 || test ! -s conftest.err'
92185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92186 (eval $ac_try) 2>&5
92187 ac_status=$?
92188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92189 (exit $ac_status); }; } &&
92190 { ac_try='test -s conftest$ac_exeext'
92191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92192 (eval $ac_try) 2>&5
92193 ac_status=$?
92194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92195 (exit $ac_status); }; }; then
92196 eval "$as_ac_var=yes"
92197 else
92198 echo "$as_me: failed program was:" >&5
92199 sed 's/^/| /' conftest.$ac_ext >&5
92201 eval "$as_ac_var=no"
92203 rm -f conftest.err conftest.$ac_objext \
92204 conftest$ac_exeext conftest.$ac_ext
92206 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92207 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92208 if test `eval echo '${'$as_ac_var'}'` = yes; then
92209 cat >>confdefs.h <<_ACEOF
92210 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92211 _ACEOF
92214 done
92232 echo "$as_me:$LINENO: checking for float round functions" >&5
92233 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
92234 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
92235 echo $ECHO_N "(cached) $ECHO_C" >&6
92236 else
92240 ac_ext=cc
92241 ac_cpp='$CXXCPP $CPPFLAGS'
92242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92246 cat >conftest.$ac_ext <<_ACEOF
92247 /* confdefs.h. */
92248 _ACEOF
92249 cat confdefs.h >>conftest.$ac_ext
92250 cat >>conftest.$ac_ext <<_ACEOF
92251 /* end confdefs.h. */
92252 #include <math.h>
92254 main ()
92256 ceilf (0); floorf (0);
92258 return 0;
92260 _ACEOF
92261 rm -f conftest.$ac_objext
92262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92263 (eval $ac_compile) 2>conftest.er1
92264 ac_status=$?
92265 grep -v '^ *+' conftest.er1 >conftest.err
92266 rm -f conftest.er1
92267 cat conftest.err >&5
92268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92269 (exit $ac_status); } &&
92270 { ac_try='test -z "$ac_cxx_werror_flag"
92271 || test ! -s conftest.err'
92272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92273 (eval $ac_try) 2>&5
92274 ac_status=$?
92275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92276 (exit $ac_status); }; } &&
92277 { ac_try='test -s conftest.$ac_objext'
92278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92279 (eval $ac_try) 2>&5
92280 ac_status=$?
92281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92282 (exit $ac_status); }; }; then
92283 glibcxx_cv_func_float_round_use=yes
92284 else
92285 echo "$as_me: failed program was:" >&5
92286 sed 's/^/| /' conftest.$ac_ext >&5
92288 glibcxx_cv_func_float_round_use=no
92290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92291 ac_ext=c
92292 ac_cpp='$CPP $CPPFLAGS'
92293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92299 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
92300 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
92301 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
92304 for ac_func in ceilf floorf
92306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92307 echo "$as_me:$LINENO: checking for $ac_func" >&5
92308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92309 if eval "test \"\${$as_ac_var+set}\" = set"; then
92310 echo $ECHO_N "(cached) $ECHO_C" >&6
92311 else
92312 if test x$gcc_no_link = xyes; then
92313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92315 { (exit 1); exit 1; }; }
92317 cat >conftest.$ac_ext <<_ACEOF
92318 /* confdefs.h. */
92319 _ACEOF
92320 cat confdefs.h >>conftest.$ac_ext
92321 cat >>conftest.$ac_ext <<_ACEOF
92322 /* end confdefs.h. */
92323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92325 #define $ac_func innocuous_$ac_func
92327 /* System header to define __stub macros and hopefully few prototypes,
92328 which can conflict with char $ac_func (); below.
92329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92330 <limits.h> exists even on freestanding compilers. */
92332 #ifdef __STDC__
92333 # include <limits.h>
92334 #else
92335 # include <assert.h>
92336 #endif
92338 #undef $ac_func
92340 /* Override any gcc2 internal prototype to avoid an error. */
92341 #ifdef __cplusplus
92342 extern "C"
92344 #endif
92345 /* We use char because int might match the return type of a gcc2
92346 builtin and then its argument prototype would still apply. */
92347 char $ac_func ();
92348 /* The GNU C library defines this for functions which it implements
92349 to always fail with ENOSYS. Some functions are actually named
92350 something starting with __ and the normal name is an alias. */
92351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92352 choke me
92353 #else
92354 char (*f) () = $ac_func;
92355 #endif
92356 #ifdef __cplusplus
92358 #endif
92361 main ()
92363 return f != $ac_func;
92365 return 0;
92367 _ACEOF
92368 rm -f conftest.$ac_objext conftest$ac_exeext
92369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92370 (eval $ac_link) 2>conftest.er1
92371 ac_status=$?
92372 grep -v '^ *+' conftest.er1 >conftest.err
92373 rm -f conftest.er1
92374 cat conftest.err >&5
92375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92376 (exit $ac_status); } &&
92377 { ac_try='test -z "$ac_c_werror_flag"
92378 || test ! -s conftest.err'
92379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92380 (eval $ac_try) 2>&5
92381 ac_status=$?
92382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92383 (exit $ac_status); }; } &&
92384 { ac_try='test -s conftest$ac_exeext'
92385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92386 (eval $ac_try) 2>&5
92387 ac_status=$?
92388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92389 (exit $ac_status); }; }; then
92390 eval "$as_ac_var=yes"
92391 else
92392 echo "$as_me: failed program was:" >&5
92393 sed 's/^/| /' conftest.$ac_ext >&5
92395 eval "$as_ac_var=no"
92397 rm -f conftest.err conftest.$ac_objext \
92398 conftest$ac_exeext conftest.$ac_ext
92400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92402 if test `eval echo '${'$as_ac_var'}'` = yes; then
92403 cat >>confdefs.h <<_ACEOF
92404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92405 _ACEOF
92408 done
92410 else
92411 echo "$as_me:$LINENO: checking for _float round functions" >&5
92412 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
92413 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
92414 echo $ECHO_N "(cached) $ECHO_C" >&6
92415 else
92419 ac_ext=cc
92420 ac_cpp='$CXXCPP $CPPFLAGS'
92421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92425 cat >conftest.$ac_ext <<_ACEOF
92426 /* confdefs.h. */
92427 _ACEOF
92428 cat confdefs.h >>conftest.$ac_ext
92429 cat >>conftest.$ac_ext <<_ACEOF
92430 /* end confdefs.h. */
92431 #include <math.h>
92433 main ()
92435 _ceilf (0); _floorf (0);
92437 return 0;
92439 _ACEOF
92440 rm -f conftest.$ac_objext
92441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92442 (eval $ac_compile) 2>conftest.er1
92443 ac_status=$?
92444 grep -v '^ *+' conftest.er1 >conftest.err
92445 rm -f conftest.er1
92446 cat conftest.err >&5
92447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92448 (exit $ac_status); } &&
92449 { ac_try='test -z "$ac_cxx_werror_flag"
92450 || test ! -s conftest.err'
92451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92452 (eval $ac_try) 2>&5
92453 ac_status=$?
92454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92455 (exit $ac_status); }; } &&
92456 { ac_try='test -s conftest.$ac_objext'
92457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92458 (eval $ac_try) 2>&5
92459 ac_status=$?
92460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92461 (exit $ac_status); }; }; then
92462 glibcxx_cv_func__float_round_use=yes
92463 else
92464 echo "$as_me: failed program was:" >&5
92465 sed 's/^/| /' conftest.$ac_ext >&5
92467 glibcxx_cv_func__float_round_use=no
92469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92470 ac_ext=c
92471 ac_cpp='$CPP $CPPFLAGS'
92472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92478 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
92479 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
92480 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
92483 for ac_func in _ceilf _floorf
92485 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92486 echo "$as_me:$LINENO: checking for $ac_func" >&5
92487 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92488 if eval "test \"\${$as_ac_var+set}\" = set"; then
92489 echo $ECHO_N "(cached) $ECHO_C" >&6
92490 else
92491 if test x$gcc_no_link = xyes; then
92492 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92493 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92494 { (exit 1); exit 1; }; }
92496 cat >conftest.$ac_ext <<_ACEOF
92497 /* confdefs.h. */
92498 _ACEOF
92499 cat confdefs.h >>conftest.$ac_ext
92500 cat >>conftest.$ac_ext <<_ACEOF
92501 /* end confdefs.h. */
92502 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92503 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92504 #define $ac_func innocuous_$ac_func
92506 /* System header to define __stub macros and hopefully few prototypes,
92507 which can conflict with char $ac_func (); below.
92508 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92509 <limits.h> exists even on freestanding compilers. */
92511 #ifdef __STDC__
92512 # include <limits.h>
92513 #else
92514 # include <assert.h>
92515 #endif
92517 #undef $ac_func
92519 /* Override any gcc2 internal prototype to avoid an error. */
92520 #ifdef __cplusplus
92521 extern "C"
92523 #endif
92524 /* We use char because int might match the return type of a gcc2
92525 builtin and then its argument prototype would still apply. */
92526 char $ac_func ();
92527 /* The GNU C library defines this for functions which it implements
92528 to always fail with ENOSYS. Some functions are actually named
92529 something starting with __ and the normal name is an alias. */
92530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92531 choke me
92532 #else
92533 char (*f) () = $ac_func;
92534 #endif
92535 #ifdef __cplusplus
92537 #endif
92540 main ()
92542 return f != $ac_func;
92544 return 0;
92546 _ACEOF
92547 rm -f conftest.$ac_objext conftest$ac_exeext
92548 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92549 (eval $ac_link) 2>conftest.er1
92550 ac_status=$?
92551 grep -v '^ *+' conftest.er1 >conftest.err
92552 rm -f conftest.er1
92553 cat conftest.err >&5
92554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92555 (exit $ac_status); } &&
92556 { ac_try='test -z "$ac_c_werror_flag"
92557 || test ! -s conftest.err'
92558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92559 (eval $ac_try) 2>&5
92560 ac_status=$?
92561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92562 (exit $ac_status); }; } &&
92563 { ac_try='test -s conftest$ac_exeext'
92564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92565 (eval $ac_try) 2>&5
92566 ac_status=$?
92567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92568 (exit $ac_status); }; }; then
92569 eval "$as_ac_var=yes"
92570 else
92571 echo "$as_me: failed program was:" >&5
92572 sed 's/^/| /' conftest.$ac_ext >&5
92574 eval "$as_ac_var=no"
92576 rm -f conftest.err conftest.$ac_objext \
92577 conftest$ac_exeext conftest.$ac_ext
92579 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92580 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92581 if test `eval echo '${'$as_ac_var'}'` = yes; then
92582 cat >>confdefs.h <<_ACEOF
92583 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92584 _ACEOF
92587 done
92599 echo "$as_me:$LINENO: checking for expf declaration" >&5
92600 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
92601 if test x${glibcxx_cv_func_expf_use+set} != xset; then
92602 if test "${glibcxx_cv_func_expf_use+set}" = set; then
92603 echo $ECHO_N "(cached) $ECHO_C" >&6
92604 else
92608 ac_ext=cc
92609 ac_cpp='$CXXCPP $CPPFLAGS'
92610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92614 cat >conftest.$ac_ext <<_ACEOF
92615 /* confdefs.h. */
92616 _ACEOF
92617 cat confdefs.h >>conftest.$ac_ext
92618 cat >>conftest.$ac_ext <<_ACEOF
92619 /* end confdefs.h. */
92620 #include <math.h>
92621 #ifdef HAVE_IEEEFP_H
92622 #include <ieeefp.h>
92623 #endif
92626 main ()
92628 expf(0);
92630 return 0;
92632 _ACEOF
92633 rm -f conftest.$ac_objext
92634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92635 (eval $ac_compile) 2>conftest.er1
92636 ac_status=$?
92637 grep -v '^ *+' conftest.er1 >conftest.err
92638 rm -f conftest.er1
92639 cat conftest.err >&5
92640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92641 (exit $ac_status); } &&
92642 { ac_try='test -z "$ac_cxx_werror_flag"
92643 || test ! -s conftest.err'
92644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92645 (eval $ac_try) 2>&5
92646 ac_status=$?
92647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92648 (exit $ac_status); }; } &&
92649 { ac_try='test -s conftest.$ac_objext'
92650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92651 (eval $ac_try) 2>&5
92652 ac_status=$?
92653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92654 (exit $ac_status); }; }; then
92655 glibcxx_cv_func_expf_use=yes
92656 else
92657 echo "$as_me: failed program was:" >&5
92658 sed 's/^/| /' conftest.$ac_ext >&5
92660 glibcxx_cv_func_expf_use=no
92662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92663 ac_ext=c
92664 ac_cpp='$CPP $CPPFLAGS'
92665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
92674 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
92676 if test x$glibcxx_cv_func_expf_use = x"yes"; then
92678 for ac_func in expf
92680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92681 echo "$as_me:$LINENO: checking for $ac_func" >&5
92682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92683 if eval "test \"\${$as_ac_var+set}\" = set"; then
92684 echo $ECHO_N "(cached) $ECHO_C" >&6
92685 else
92686 if test x$gcc_no_link = xyes; then
92687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92689 { (exit 1); exit 1; }; }
92691 cat >conftest.$ac_ext <<_ACEOF
92692 /* confdefs.h. */
92693 _ACEOF
92694 cat confdefs.h >>conftest.$ac_ext
92695 cat >>conftest.$ac_ext <<_ACEOF
92696 /* end confdefs.h. */
92697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92699 #define $ac_func innocuous_$ac_func
92701 /* System header to define __stub macros and hopefully few prototypes,
92702 which can conflict with char $ac_func (); below.
92703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92704 <limits.h> exists even on freestanding compilers. */
92706 #ifdef __STDC__
92707 # include <limits.h>
92708 #else
92709 # include <assert.h>
92710 #endif
92712 #undef $ac_func
92714 /* Override any gcc2 internal prototype to avoid an error. */
92715 #ifdef __cplusplus
92716 extern "C"
92718 #endif
92719 /* We use char because int might match the return type of a gcc2
92720 builtin and then its argument prototype would still apply. */
92721 char $ac_func ();
92722 /* The GNU C library defines this for functions which it implements
92723 to always fail with ENOSYS. Some functions are actually named
92724 something starting with __ and the normal name is an alias. */
92725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92726 choke me
92727 #else
92728 char (*f) () = $ac_func;
92729 #endif
92730 #ifdef __cplusplus
92732 #endif
92735 main ()
92737 return f != $ac_func;
92739 return 0;
92741 _ACEOF
92742 rm -f conftest.$ac_objext conftest$ac_exeext
92743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92744 (eval $ac_link) 2>conftest.er1
92745 ac_status=$?
92746 grep -v '^ *+' conftest.er1 >conftest.err
92747 rm -f conftest.er1
92748 cat conftest.err >&5
92749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92750 (exit $ac_status); } &&
92751 { ac_try='test -z "$ac_c_werror_flag"
92752 || test ! -s conftest.err'
92753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92754 (eval $ac_try) 2>&5
92755 ac_status=$?
92756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92757 (exit $ac_status); }; } &&
92758 { ac_try='test -s conftest$ac_exeext'
92759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92760 (eval $ac_try) 2>&5
92761 ac_status=$?
92762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92763 (exit $ac_status); }; }; then
92764 eval "$as_ac_var=yes"
92765 else
92766 echo "$as_me: failed program was:" >&5
92767 sed 's/^/| /' conftest.$ac_ext >&5
92769 eval "$as_ac_var=no"
92771 rm -f conftest.err conftest.$ac_objext \
92772 conftest$ac_exeext conftest.$ac_ext
92774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92776 if test `eval echo '${'$as_ac_var'}'` = yes; then
92777 cat >>confdefs.h <<_ACEOF
92778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92779 _ACEOF
92782 done
92784 else
92786 echo "$as_me:$LINENO: checking for _expf declaration" >&5
92787 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
92788 if test x${glibcxx_cv_func__expf_use+set} != xset; then
92789 if test "${glibcxx_cv_func__expf_use+set}" = set; then
92790 echo $ECHO_N "(cached) $ECHO_C" >&6
92791 else
92795 ac_ext=cc
92796 ac_cpp='$CXXCPP $CPPFLAGS'
92797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92801 cat >conftest.$ac_ext <<_ACEOF
92802 /* confdefs.h. */
92803 _ACEOF
92804 cat confdefs.h >>conftest.$ac_ext
92805 cat >>conftest.$ac_ext <<_ACEOF
92806 /* end confdefs.h. */
92807 #include <math.h>
92808 #ifdef HAVE_IEEEFP_H
92809 #include <ieeefp.h>
92810 #endif
92813 main ()
92815 _expf(0);
92817 return 0;
92819 _ACEOF
92820 rm -f conftest.$ac_objext
92821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92822 (eval $ac_compile) 2>conftest.er1
92823 ac_status=$?
92824 grep -v '^ *+' conftest.er1 >conftest.err
92825 rm -f conftest.er1
92826 cat conftest.err >&5
92827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92828 (exit $ac_status); } &&
92829 { ac_try='test -z "$ac_cxx_werror_flag"
92830 || test ! -s conftest.err'
92831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92832 (eval $ac_try) 2>&5
92833 ac_status=$?
92834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92835 (exit $ac_status); }; } &&
92836 { ac_try='test -s conftest.$ac_objext'
92837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92838 (eval $ac_try) 2>&5
92839 ac_status=$?
92840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92841 (exit $ac_status); }; }; then
92842 glibcxx_cv_func__expf_use=yes
92843 else
92844 echo "$as_me: failed program was:" >&5
92845 sed 's/^/| /' conftest.$ac_ext >&5
92847 glibcxx_cv_func__expf_use=no
92849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92850 ac_ext=c
92851 ac_cpp='$CPP $CPPFLAGS'
92852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
92861 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
92863 if test x$glibcxx_cv_func__expf_use = x"yes"; then
92865 for ac_func in _expf
92867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92868 echo "$as_me:$LINENO: checking for $ac_func" >&5
92869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92870 if eval "test \"\${$as_ac_var+set}\" = set"; then
92871 echo $ECHO_N "(cached) $ECHO_C" >&6
92872 else
92873 if test x$gcc_no_link = xyes; then
92874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92876 { (exit 1); exit 1; }; }
92878 cat >conftest.$ac_ext <<_ACEOF
92879 /* confdefs.h. */
92880 _ACEOF
92881 cat confdefs.h >>conftest.$ac_ext
92882 cat >>conftest.$ac_ext <<_ACEOF
92883 /* end confdefs.h. */
92884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92886 #define $ac_func innocuous_$ac_func
92888 /* System header to define __stub macros and hopefully few prototypes,
92889 which can conflict with char $ac_func (); below.
92890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92891 <limits.h> exists even on freestanding compilers. */
92893 #ifdef __STDC__
92894 # include <limits.h>
92895 #else
92896 # include <assert.h>
92897 #endif
92899 #undef $ac_func
92901 /* Override any gcc2 internal prototype to avoid an error. */
92902 #ifdef __cplusplus
92903 extern "C"
92905 #endif
92906 /* We use char because int might match the return type of a gcc2
92907 builtin and then its argument prototype would still apply. */
92908 char $ac_func ();
92909 /* The GNU C library defines this for functions which it implements
92910 to always fail with ENOSYS. Some functions are actually named
92911 something starting with __ and the normal name is an alias. */
92912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92913 choke me
92914 #else
92915 char (*f) () = $ac_func;
92916 #endif
92917 #ifdef __cplusplus
92919 #endif
92922 main ()
92924 return f != $ac_func;
92926 return 0;
92928 _ACEOF
92929 rm -f conftest.$ac_objext conftest$ac_exeext
92930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92931 (eval $ac_link) 2>conftest.er1
92932 ac_status=$?
92933 grep -v '^ *+' conftest.er1 >conftest.err
92934 rm -f conftest.er1
92935 cat conftest.err >&5
92936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92937 (exit $ac_status); } &&
92938 { ac_try='test -z "$ac_c_werror_flag"
92939 || test ! -s conftest.err'
92940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92941 (eval $ac_try) 2>&5
92942 ac_status=$?
92943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92944 (exit $ac_status); }; } &&
92945 { ac_try='test -s conftest$ac_exeext'
92946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92947 (eval $ac_try) 2>&5
92948 ac_status=$?
92949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92950 (exit $ac_status); }; }; then
92951 eval "$as_ac_var=yes"
92952 else
92953 echo "$as_me: failed program was:" >&5
92954 sed 's/^/| /' conftest.$ac_ext >&5
92956 eval "$as_ac_var=no"
92958 rm -f conftest.err conftest.$ac_objext \
92959 conftest$ac_exeext conftest.$ac_ext
92961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92963 if test `eval echo '${'$as_ac_var'}'` = yes; then
92964 cat >>confdefs.h <<_ACEOF
92965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92966 _ACEOF
92969 done
92979 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
92980 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
92981 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
92982 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
92983 echo $ECHO_N "(cached) $ECHO_C" >&6
92984 else
92988 ac_ext=cc
92989 ac_cpp='$CXXCPP $CPPFLAGS'
92990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92994 cat >conftest.$ac_ext <<_ACEOF
92995 /* confdefs.h. */
92996 _ACEOF
92997 cat confdefs.h >>conftest.$ac_ext
92998 cat >>conftest.$ac_ext <<_ACEOF
92999 /* end confdefs.h. */
93000 #include <math.h>
93001 #ifdef HAVE_IEEEFP_H
93002 #include <ieeefp.h>
93003 #endif
93006 main ()
93008 isnanf(0);
93010 return 0;
93012 _ACEOF
93013 rm -f conftest.$ac_objext
93014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93015 (eval $ac_compile) 2>conftest.er1
93016 ac_status=$?
93017 grep -v '^ *+' conftest.er1 >conftest.err
93018 rm -f conftest.er1
93019 cat conftest.err >&5
93020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93021 (exit $ac_status); } &&
93022 { ac_try='test -z "$ac_cxx_werror_flag"
93023 || test ! -s conftest.err'
93024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93025 (eval $ac_try) 2>&5
93026 ac_status=$?
93027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93028 (exit $ac_status); }; } &&
93029 { ac_try='test -s conftest.$ac_objext'
93030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93031 (eval $ac_try) 2>&5
93032 ac_status=$?
93033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93034 (exit $ac_status); }; }; then
93035 glibcxx_cv_func_isnanf_use=yes
93036 else
93037 echo "$as_me: failed program was:" >&5
93038 sed 's/^/| /' conftest.$ac_ext >&5
93040 glibcxx_cv_func_isnanf_use=no
93042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93043 ac_ext=c
93044 ac_cpp='$CPP $CPPFLAGS'
93045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
93054 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
93056 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
93058 for ac_func in isnanf
93060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93061 echo "$as_me:$LINENO: checking for $ac_func" >&5
93062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93063 if eval "test \"\${$as_ac_var+set}\" = set"; then
93064 echo $ECHO_N "(cached) $ECHO_C" >&6
93065 else
93066 if test x$gcc_no_link = xyes; then
93067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93069 { (exit 1); exit 1; }; }
93071 cat >conftest.$ac_ext <<_ACEOF
93072 /* confdefs.h. */
93073 _ACEOF
93074 cat confdefs.h >>conftest.$ac_ext
93075 cat >>conftest.$ac_ext <<_ACEOF
93076 /* end confdefs.h. */
93077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93079 #define $ac_func innocuous_$ac_func
93081 /* System header to define __stub macros and hopefully few prototypes,
93082 which can conflict with char $ac_func (); below.
93083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93084 <limits.h> exists even on freestanding compilers. */
93086 #ifdef __STDC__
93087 # include <limits.h>
93088 #else
93089 # include <assert.h>
93090 #endif
93092 #undef $ac_func
93094 /* Override any gcc2 internal prototype to avoid an error. */
93095 #ifdef __cplusplus
93096 extern "C"
93098 #endif
93099 /* We use char because int might match the return type of a gcc2
93100 builtin and then its argument prototype would still apply. */
93101 char $ac_func ();
93102 /* The GNU C library defines this for functions which it implements
93103 to always fail with ENOSYS. Some functions are actually named
93104 something starting with __ and the normal name is an alias. */
93105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93106 choke me
93107 #else
93108 char (*f) () = $ac_func;
93109 #endif
93110 #ifdef __cplusplus
93112 #endif
93115 main ()
93117 return f != $ac_func;
93119 return 0;
93121 _ACEOF
93122 rm -f conftest.$ac_objext conftest$ac_exeext
93123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93124 (eval $ac_link) 2>conftest.er1
93125 ac_status=$?
93126 grep -v '^ *+' conftest.er1 >conftest.err
93127 rm -f conftest.er1
93128 cat conftest.err >&5
93129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93130 (exit $ac_status); } &&
93131 { ac_try='test -z "$ac_c_werror_flag"
93132 || test ! -s conftest.err'
93133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93134 (eval $ac_try) 2>&5
93135 ac_status=$?
93136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93137 (exit $ac_status); }; } &&
93138 { ac_try='test -s conftest$ac_exeext'
93139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93140 (eval $ac_try) 2>&5
93141 ac_status=$?
93142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93143 (exit $ac_status); }; }; then
93144 eval "$as_ac_var=yes"
93145 else
93146 echo "$as_me: failed program was:" >&5
93147 sed 's/^/| /' conftest.$ac_ext >&5
93149 eval "$as_ac_var=no"
93151 rm -f conftest.err conftest.$ac_objext \
93152 conftest$ac_exeext conftest.$ac_ext
93154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93156 if test `eval echo '${'$as_ac_var'}'` = yes; then
93157 cat >>confdefs.h <<_ACEOF
93158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93159 _ACEOF
93162 done
93164 else
93166 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
93167 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
93168 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
93169 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
93170 echo $ECHO_N "(cached) $ECHO_C" >&6
93171 else
93175 ac_ext=cc
93176 ac_cpp='$CXXCPP $CPPFLAGS'
93177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93181 cat >conftest.$ac_ext <<_ACEOF
93182 /* confdefs.h. */
93183 _ACEOF
93184 cat confdefs.h >>conftest.$ac_ext
93185 cat >>conftest.$ac_ext <<_ACEOF
93186 /* end confdefs.h. */
93187 #include <math.h>
93188 #ifdef HAVE_IEEEFP_H
93189 #include <ieeefp.h>
93190 #endif
93193 main ()
93195 _isnanf(0);
93197 return 0;
93199 _ACEOF
93200 rm -f conftest.$ac_objext
93201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93202 (eval $ac_compile) 2>conftest.er1
93203 ac_status=$?
93204 grep -v '^ *+' conftest.er1 >conftest.err
93205 rm -f conftest.er1
93206 cat conftest.err >&5
93207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93208 (exit $ac_status); } &&
93209 { ac_try='test -z "$ac_cxx_werror_flag"
93210 || test ! -s conftest.err'
93211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93212 (eval $ac_try) 2>&5
93213 ac_status=$?
93214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93215 (exit $ac_status); }; } &&
93216 { ac_try='test -s conftest.$ac_objext'
93217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93218 (eval $ac_try) 2>&5
93219 ac_status=$?
93220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93221 (exit $ac_status); }; }; then
93222 glibcxx_cv_func__isnanf_use=yes
93223 else
93224 echo "$as_me: failed program was:" >&5
93225 sed 's/^/| /' conftest.$ac_ext >&5
93227 glibcxx_cv_func__isnanf_use=no
93229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93230 ac_ext=c
93231 ac_cpp='$CPP $CPPFLAGS'
93232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
93241 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
93243 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
93245 for ac_func in _isnanf
93247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93248 echo "$as_me:$LINENO: checking for $ac_func" >&5
93249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93250 if eval "test \"\${$as_ac_var+set}\" = set"; then
93251 echo $ECHO_N "(cached) $ECHO_C" >&6
93252 else
93253 if test x$gcc_no_link = xyes; then
93254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93256 { (exit 1); exit 1; }; }
93258 cat >conftest.$ac_ext <<_ACEOF
93259 /* confdefs.h. */
93260 _ACEOF
93261 cat confdefs.h >>conftest.$ac_ext
93262 cat >>conftest.$ac_ext <<_ACEOF
93263 /* end confdefs.h. */
93264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93266 #define $ac_func innocuous_$ac_func
93268 /* System header to define __stub macros and hopefully few prototypes,
93269 which can conflict with char $ac_func (); below.
93270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93271 <limits.h> exists even on freestanding compilers. */
93273 #ifdef __STDC__
93274 # include <limits.h>
93275 #else
93276 # include <assert.h>
93277 #endif
93279 #undef $ac_func
93281 /* Override any gcc2 internal prototype to avoid an error. */
93282 #ifdef __cplusplus
93283 extern "C"
93285 #endif
93286 /* We use char because int might match the return type of a gcc2
93287 builtin and then its argument prototype would still apply. */
93288 char $ac_func ();
93289 /* The GNU C library defines this for functions which it implements
93290 to always fail with ENOSYS. Some functions are actually named
93291 something starting with __ and the normal name is an alias. */
93292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93293 choke me
93294 #else
93295 char (*f) () = $ac_func;
93296 #endif
93297 #ifdef __cplusplus
93299 #endif
93302 main ()
93304 return f != $ac_func;
93306 return 0;
93308 _ACEOF
93309 rm -f conftest.$ac_objext conftest$ac_exeext
93310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93311 (eval $ac_link) 2>conftest.er1
93312 ac_status=$?
93313 grep -v '^ *+' conftest.er1 >conftest.err
93314 rm -f conftest.er1
93315 cat conftest.err >&5
93316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93317 (exit $ac_status); } &&
93318 { ac_try='test -z "$ac_c_werror_flag"
93319 || test ! -s conftest.err'
93320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93321 (eval $ac_try) 2>&5
93322 ac_status=$?
93323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93324 (exit $ac_status); }; } &&
93325 { ac_try='test -s conftest$ac_exeext'
93326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93327 (eval $ac_try) 2>&5
93328 ac_status=$?
93329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93330 (exit $ac_status); }; }; then
93331 eval "$as_ac_var=yes"
93332 else
93333 echo "$as_me: failed program was:" >&5
93334 sed 's/^/| /' conftest.$ac_ext >&5
93336 eval "$as_ac_var=no"
93338 rm -f conftest.err conftest.$ac_objext \
93339 conftest$ac_exeext conftest.$ac_ext
93341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93343 if test `eval echo '${'$as_ac_var'}'` = yes; then
93344 cat >>confdefs.h <<_ACEOF
93345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93346 _ACEOF
93349 done
93359 echo "$as_me:$LINENO: checking for isinff declaration" >&5
93360 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
93361 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
93362 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
93363 echo $ECHO_N "(cached) $ECHO_C" >&6
93364 else
93368 ac_ext=cc
93369 ac_cpp='$CXXCPP $CPPFLAGS'
93370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93374 cat >conftest.$ac_ext <<_ACEOF
93375 /* confdefs.h. */
93376 _ACEOF
93377 cat confdefs.h >>conftest.$ac_ext
93378 cat >>conftest.$ac_ext <<_ACEOF
93379 /* end confdefs.h. */
93380 #include <math.h>
93381 #ifdef HAVE_IEEEFP_H
93382 #include <ieeefp.h>
93383 #endif
93386 main ()
93388 isinff(0);
93390 return 0;
93392 _ACEOF
93393 rm -f conftest.$ac_objext
93394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93395 (eval $ac_compile) 2>conftest.er1
93396 ac_status=$?
93397 grep -v '^ *+' conftest.er1 >conftest.err
93398 rm -f conftest.er1
93399 cat conftest.err >&5
93400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93401 (exit $ac_status); } &&
93402 { ac_try='test -z "$ac_cxx_werror_flag"
93403 || test ! -s conftest.err'
93404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93405 (eval $ac_try) 2>&5
93406 ac_status=$?
93407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93408 (exit $ac_status); }; } &&
93409 { ac_try='test -s conftest.$ac_objext'
93410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93411 (eval $ac_try) 2>&5
93412 ac_status=$?
93413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93414 (exit $ac_status); }; }; then
93415 glibcxx_cv_func_isinff_use=yes
93416 else
93417 echo "$as_me: failed program was:" >&5
93418 sed 's/^/| /' conftest.$ac_ext >&5
93420 glibcxx_cv_func_isinff_use=no
93422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93423 ac_ext=c
93424 ac_cpp='$CPP $CPPFLAGS'
93425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
93434 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
93436 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
93438 for ac_func in isinff
93440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93441 echo "$as_me:$LINENO: checking for $ac_func" >&5
93442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93443 if eval "test \"\${$as_ac_var+set}\" = set"; then
93444 echo $ECHO_N "(cached) $ECHO_C" >&6
93445 else
93446 if test x$gcc_no_link = xyes; then
93447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93449 { (exit 1); exit 1; }; }
93451 cat >conftest.$ac_ext <<_ACEOF
93452 /* confdefs.h. */
93453 _ACEOF
93454 cat confdefs.h >>conftest.$ac_ext
93455 cat >>conftest.$ac_ext <<_ACEOF
93456 /* end confdefs.h. */
93457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93459 #define $ac_func innocuous_$ac_func
93461 /* System header to define __stub macros and hopefully few prototypes,
93462 which can conflict with char $ac_func (); below.
93463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93464 <limits.h> exists even on freestanding compilers. */
93466 #ifdef __STDC__
93467 # include <limits.h>
93468 #else
93469 # include <assert.h>
93470 #endif
93472 #undef $ac_func
93474 /* Override any gcc2 internal prototype to avoid an error. */
93475 #ifdef __cplusplus
93476 extern "C"
93478 #endif
93479 /* We use char because int might match the return type of a gcc2
93480 builtin and then its argument prototype would still apply. */
93481 char $ac_func ();
93482 /* The GNU C library defines this for functions which it implements
93483 to always fail with ENOSYS. Some functions are actually named
93484 something starting with __ and the normal name is an alias. */
93485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93486 choke me
93487 #else
93488 char (*f) () = $ac_func;
93489 #endif
93490 #ifdef __cplusplus
93492 #endif
93495 main ()
93497 return f != $ac_func;
93499 return 0;
93501 _ACEOF
93502 rm -f conftest.$ac_objext conftest$ac_exeext
93503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93504 (eval $ac_link) 2>conftest.er1
93505 ac_status=$?
93506 grep -v '^ *+' conftest.er1 >conftest.err
93507 rm -f conftest.er1
93508 cat conftest.err >&5
93509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93510 (exit $ac_status); } &&
93511 { ac_try='test -z "$ac_c_werror_flag"
93512 || test ! -s conftest.err'
93513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93514 (eval $ac_try) 2>&5
93515 ac_status=$?
93516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93517 (exit $ac_status); }; } &&
93518 { ac_try='test -s conftest$ac_exeext'
93519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93520 (eval $ac_try) 2>&5
93521 ac_status=$?
93522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93523 (exit $ac_status); }; }; then
93524 eval "$as_ac_var=yes"
93525 else
93526 echo "$as_me: failed program was:" >&5
93527 sed 's/^/| /' conftest.$ac_ext >&5
93529 eval "$as_ac_var=no"
93531 rm -f conftest.err conftest.$ac_objext \
93532 conftest$ac_exeext conftest.$ac_ext
93534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93536 if test `eval echo '${'$as_ac_var'}'` = yes; then
93537 cat >>confdefs.h <<_ACEOF
93538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93539 _ACEOF
93542 done
93544 else
93546 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
93547 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
93548 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
93549 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
93550 echo $ECHO_N "(cached) $ECHO_C" >&6
93551 else
93555 ac_ext=cc
93556 ac_cpp='$CXXCPP $CPPFLAGS'
93557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93561 cat >conftest.$ac_ext <<_ACEOF
93562 /* confdefs.h. */
93563 _ACEOF
93564 cat confdefs.h >>conftest.$ac_ext
93565 cat >>conftest.$ac_ext <<_ACEOF
93566 /* end confdefs.h. */
93567 #include <math.h>
93568 #ifdef HAVE_IEEEFP_H
93569 #include <ieeefp.h>
93570 #endif
93573 main ()
93575 _isinff(0);
93577 return 0;
93579 _ACEOF
93580 rm -f conftest.$ac_objext
93581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93582 (eval $ac_compile) 2>conftest.er1
93583 ac_status=$?
93584 grep -v '^ *+' conftest.er1 >conftest.err
93585 rm -f conftest.er1
93586 cat conftest.err >&5
93587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93588 (exit $ac_status); } &&
93589 { ac_try='test -z "$ac_cxx_werror_flag"
93590 || test ! -s conftest.err'
93591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93592 (eval $ac_try) 2>&5
93593 ac_status=$?
93594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93595 (exit $ac_status); }; } &&
93596 { ac_try='test -s conftest.$ac_objext'
93597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93598 (eval $ac_try) 2>&5
93599 ac_status=$?
93600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93601 (exit $ac_status); }; }; then
93602 glibcxx_cv_func__isinff_use=yes
93603 else
93604 echo "$as_me: failed program was:" >&5
93605 sed 's/^/| /' conftest.$ac_ext >&5
93607 glibcxx_cv_func__isinff_use=no
93609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93610 ac_ext=c
93611 ac_cpp='$CPP $CPPFLAGS'
93612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
93621 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
93623 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
93625 for ac_func in _isinff
93627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93628 echo "$as_me:$LINENO: checking for $ac_func" >&5
93629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93630 if eval "test \"\${$as_ac_var+set}\" = set"; then
93631 echo $ECHO_N "(cached) $ECHO_C" >&6
93632 else
93633 if test x$gcc_no_link = xyes; then
93634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93636 { (exit 1); exit 1; }; }
93638 cat >conftest.$ac_ext <<_ACEOF
93639 /* confdefs.h. */
93640 _ACEOF
93641 cat confdefs.h >>conftest.$ac_ext
93642 cat >>conftest.$ac_ext <<_ACEOF
93643 /* end confdefs.h. */
93644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93646 #define $ac_func innocuous_$ac_func
93648 /* System header to define __stub macros and hopefully few prototypes,
93649 which can conflict with char $ac_func (); below.
93650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93651 <limits.h> exists even on freestanding compilers. */
93653 #ifdef __STDC__
93654 # include <limits.h>
93655 #else
93656 # include <assert.h>
93657 #endif
93659 #undef $ac_func
93661 /* Override any gcc2 internal prototype to avoid an error. */
93662 #ifdef __cplusplus
93663 extern "C"
93665 #endif
93666 /* We use char because int might match the return type of a gcc2
93667 builtin and then its argument prototype would still apply. */
93668 char $ac_func ();
93669 /* The GNU C library defines this for functions which it implements
93670 to always fail with ENOSYS. Some functions are actually named
93671 something starting with __ and the normal name is an alias. */
93672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93673 choke me
93674 #else
93675 char (*f) () = $ac_func;
93676 #endif
93677 #ifdef __cplusplus
93679 #endif
93682 main ()
93684 return f != $ac_func;
93686 return 0;
93688 _ACEOF
93689 rm -f conftest.$ac_objext conftest$ac_exeext
93690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93691 (eval $ac_link) 2>conftest.er1
93692 ac_status=$?
93693 grep -v '^ *+' conftest.er1 >conftest.err
93694 rm -f conftest.er1
93695 cat conftest.err >&5
93696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93697 (exit $ac_status); } &&
93698 { ac_try='test -z "$ac_c_werror_flag"
93699 || test ! -s conftest.err'
93700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93701 (eval $ac_try) 2>&5
93702 ac_status=$?
93703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93704 (exit $ac_status); }; } &&
93705 { ac_try='test -s conftest$ac_exeext'
93706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93707 (eval $ac_try) 2>&5
93708 ac_status=$?
93709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93710 (exit $ac_status); }; }; then
93711 eval "$as_ac_var=yes"
93712 else
93713 echo "$as_me: failed program was:" >&5
93714 sed 's/^/| /' conftest.$ac_ext >&5
93716 eval "$as_ac_var=no"
93718 rm -f conftest.err conftest.$ac_objext \
93719 conftest$ac_exeext conftest.$ac_ext
93721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93723 if test `eval echo '${'$as_ac_var'}'` = yes; then
93724 cat >>confdefs.h <<_ACEOF
93725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93726 _ACEOF
93729 done
93739 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
93740 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
93741 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
93742 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
93743 echo $ECHO_N "(cached) $ECHO_C" >&6
93744 else
93748 ac_ext=cc
93749 ac_cpp='$CXXCPP $CPPFLAGS'
93750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93754 cat >conftest.$ac_ext <<_ACEOF
93755 /* confdefs.h. */
93756 _ACEOF
93757 cat confdefs.h >>conftest.$ac_ext
93758 cat >>conftest.$ac_ext <<_ACEOF
93759 /* end confdefs.h. */
93760 #include <math.h>
93762 main ()
93764 atan2f(0, 0);
93766 return 0;
93768 _ACEOF
93769 rm -f conftest.$ac_objext
93770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93771 (eval $ac_compile) 2>conftest.er1
93772 ac_status=$?
93773 grep -v '^ *+' conftest.er1 >conftest.err
93774 rm -f conftest.er1
93775 cat conftest.err >&5
93776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93777 (exit $ac_status); } &&
93778 { ac_try='test -z "$ac_cxx_werror_flag"
93779 || test ! -s conftest.err'
93780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93781 (eval $ac_try) 2>&5
93782 ac_status=$?
93783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93784 (exit $ac_status); }; } &&
93785 { ac_try='test -s conftest.$ac_objext'
93786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93787 (eval $ac_try) 2>&5
93788 ac_status=$?
93789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93790 (exit $ac_status); }; }; then
93791 glibcxx_cv_func_atan2f_use=yes
93792 else
93793 echo "$as_me: failed program was:" >&5
93794 sed 's/^/| /' conftest.$ac_ext >&5
93796 glibcxx_cv_func_atan2f_use=no
93798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93799 ac_ext=c
93800 ac_cpp='$CPP $CPPFLAGS'
93801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
93810 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
93812 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
93814 for ac_func in atan2f
93816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93817 echo "$as_me:$LINENO: checking for $ac_func" >&5
93818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93819 if eval "test \"\${$as_ac_var+set}\" = set"; then
93820 echo $ECHO_N "(cached) $ECHO_C" >&6
93821 else
93822 if test x$gcc_no_link = xyes; then
93823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93825 { (exit 1); exit 1; }; }
93827 cat >conftest.$ac_ext <<_ACEOF
93828 /* confdefs.h. */
93829 _ACEOF
93830 cat confdefs.h >>conftest.$ac_ext
93831 cat >>conftest.$ac_ext <<_ACEOF
93832 /* end confdefs.h. */
93833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93835 #define $ac_func innocuous_$ac_func
93837 /* System header to define __stub macros and hopefully few prototypes,
93838 which can conflict with char $ac_func (); below.
93839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93840 <limits.h> exists even on freestanding compilers. */
93842 #ifdef __STDC__
93843 # include <limits.h>
93844 #else
93845 # include <assert.h>
93846 #endif
93848 #undef $ac_func
93850 /* Override any gcc2 internal prototype to avoid an error. */
93851 #ifdef __cplusplus
93852 extern "C"
93854 #endif
93855 /* We use char because int might match the return type of a gcc2
93856 builtin and then its argument prototype would still apply. */
93857 char $ac_func ();
93858 /* The GNU C library defines this for functions which it implements
93859 to always fail with ENOSYS. Some functions are actually named
93860 something starting with __ and the normal name is an alias. */
93861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93862 choke me
93863 #else
93864 char (*f) () = $ac_func;
93865 #endif
93866 #ifdef __cplusplus
93868 #endif
93871 main ()
93873 return f != $ac_func;
93875 return 0;
93877 _ACEOF
93878 rm -f conftest.$ac_objext conftest$ac_exeext
93879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93880 (eval $ac_link) 2>conftest.er1
93881 ac_status=$?
93882 grep -v '^ *+' conftest.er1 >conftest.err
93883 rm -f conftest.er1
93884 cat conftest.err >&5
93885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93886 (exit $ac_status); } &&
93887 { ac_try='test -z "$ac_c_werror_flag"
93888 || test ! -s conftest.err'
93889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93890 (eval $ac_try) 2>&5
93891 ac_status=$?
93892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93893 (exit $ac_status); }; } &&
93894 { ac_try='test -s conftest$ac_exeext'
93895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93896 (eval $ac_try) 2>&5
93897 ac_status=$?
93898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93899 (exit $ac_status); }; }; then
93900 eval "$as_ac_var=yes"
93901 else
93902 echo "$as_me: failed program was:" >&5
93903 sed 's/^/| /' conftest.$ac_ext >&5
93905 eval "$as_ac_var=no"
93907 rm -f conftest.err conftest.$ac_objext \
93908 conftest$ac_exeext conftest.$ac_ext
93910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93912 if test `eval echo '${'$as_ac_var'}'` = yes; then
93913 cat >>confdefs.h <<_ACEOF
93914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93915 _ACEOF
93918 done
93920 else
93922 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
93923 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
93924 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
93925 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
93926 echo $ECHO_N "(cached) $ECHO_C" >&6
93927 else
93931 ac_ext=cc
93932 ac_cpp='$CXXCPP $CPPFLAGS'
93933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93937 cat >conftest.$ac_ext <<_ACEOF
93938 /* confdefs.h. */
93939 _ACEOF
93940 cat confdefs.h >>conftest.$ac_ext
93941 cat >>conftest.$ac_ext <<_ACEOF
93942 /* end confdefs.h. */
93943 #include <math.h>
93945 main ()
93947 _atan2f(0, 0);
93949 return 0;
93951 _ACEOF
93952 rm -f conftest.$ac_objext
93953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93954 (eval $ac_compile) 2>conftest.er1
93955 ac_status=$?
93956 grep -v '^ *+' conftest.er1 >conftest.err
93957 rm -f conftest.er1
93958 cat conftest.err >&5
93959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93960 (exit $ac_status); } &&
93961 { ac_try='test -z "$ac_cxx_werror_flag"
93962 || test ! -s conftest.err'
93963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93964 (eval $ac_try) 2>&5
93965 ac_status=$?
93966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93967 (exit $ac_status); }; } &&
93968 { ac_try='test -s conftest.$ac_objext'
93969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93970 (eval $ac_try) 2>&5
93971 ac_status=$?
93972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93973 (exit $ac_status); }; }; then
93974 glibcxx_cv_func__atan2f_use=yes
93975 else
93976 echo "$as_me: failed program was:" >&5
93977 sed 's/^/| /' conftest.$ac_ext >&5
93979 glibcxx_cv_func__atan2f_use=no
93981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93982 ac_ext=c
93983 ac_cpp='$CPP $CPPFLAGS'
93984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
93993 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
93995 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
93997 for ac_func in _atan2f
93999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94000 echo "$as_me:$LINENO: checking for $ac_func" >&5
94001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94002 if eval "test \"\${$as_ac_var+set}\" = set"; then
94003 echo $ECHO_N "(cached) $ECHO_C" >&6
94004 else
94005 if test x$gcc_no_link = xyes; then
94006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94008 { (exit 1); exit 1; }; }
94010 cat >conftest.$ac_ext <<_ACEOF
94011 /* confdefs.h. */
94012 _ACEOF
94013 cat confdefs.h >>conftest.$ac_ext
94014 cat >>conftest.$ac_ext <<_ACEOF
94015 /* end confdefs.h. */
94016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94018 #define $ac_func innocuous_$ac_func
94020 /* System header to define __stub macros and hopefully few prototypes,
94021 which can conflict with char $ac_func (); below.
94022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94023 <limits.h> exists even on freestanding compilers. */
94025 #ifdef __STDC__
94026 # include <limits.h>
94027 #else
94028 # include <assert.h>
94029 #endif
94031 #undef $ac_func
94033 /* Override any gcc2 internal prototype to avoid an error. */
94034 #ifdef __cplusplus
94035 extern "C"
94037 #endif
94038 /* We use char because int might match the return type of a gcc2
94039 builtin and then its argument prototype would still apply. */
94040 char $ac_func ();
94041 /* The GNU C library defines this for functions which it implements
94042 to always fail with ENOSYS. Some functions are actually named
94043 something starting with __ and the normal name is an alias. */
94044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94045 choke me
94046 #else
94047 char (*f) () = $ac_func;
94048 #endif
94049 #ifdef __cplusplus
94051 #endif
94054 main ()
94056 return f != $ac_func;
94058 return 0;
94060 _ACEOF
94061 rm -f conftest.$ac_objext conftest$ac_exeext
94062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94063 (eval $ac_link) 2>conftest.er1
94064 ac_status=$?
94065 grep -v '^ *+' conftest.er1 >conftest.err
94066 rm -f conftest.er1
94067 cat conftest.err >&5
94068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94069 (exit $ac_status); } &&
94070 { ac_try='test -z "$ac_c_werror_flag"
94071 || test ! -s conftest.err'
94072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94073 (eval $ac_try) 2>&5
94074 ac_status=$?
94075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94076 (exit $ac_status); }; } &&
94077 { ac_try='test -s conftest$ac_exeext'
94078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94079 (eval $ac_try) 2>&5
94080 ac_status=$?
94081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94082 (exit $ac_status); }; }; then
94083 eval "$as_ac_var=yes"
94084 else
94085 echo "$as_me: failed program was:" >&5
94086 sed 's/^/| /' conftest.$ac_ext >&5
94088 eval "$as_ac_var=no"
94090 rm -f conftest.err conftest.$ac_objext \
94091 conftest$ac_exeext conftest.$ac_ext
94093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94095 if test `eval echo '${'$as_ac_var'}'` = yes; then
94096 cat >>confdefs.h <<_ACEOF
94097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94098 _ACEOF
94101 done
94111 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
94112 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
94113 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
94114 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
94115 echo $ECHO_N "(cached) $ECHO_C" >&6
94116 else
94120 ac_ext=cc
94121 ac_cpp='$CXXCPP $CPPFLAGS'
94122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94126 cat >conftest.$ac_ext <<_ACEOF
94127 /* confdefs.h. */
94128 _ACEOF
94129 cat confdefs.h >>conftest.$ac_ext
94130 cat >>conftest.$ac_ext <<_ACEOF
94131 /* end confdefs.h. */
94132 #include <math.h>
94133 #ifdef HAVE_IEEEFP_H
94134 #include <ieeefp.h>
94135 #endif
94138 main ()
94140 fabsf(0);
94142 return 0;
94144 _ACEOF
94145 rm -f conftest.$ac_objext
94146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94147 (eval $ac_compile) 2>conftest.er1
94148 ac_status=$?
94149 grep -v '^ *+' conftest.er1 >conftest.err
94150 rm -f conftest.er1
94151 cat conftest.err >&5
94152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94153 (exit $ac_status); } &&
94154 { ac_try='test -z "$ac_cxx_werror_flag"
94155 || test ! -s conftest.err'
94156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94157 (eval $ac_try) 2>&5
94158 ac_status=$?
94159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94160 (exit $ac_status); }; } &&
94161 { ac_try='test -s conftest.$ac_objext'
94162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94163 (eval $ac_try) 2>&5
94164 ac_status=$?
94165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94166 (exit $ac_status); }; }; then
94167 glibcxx_cv_func_fabsf_use=yes
94168 else
94169 echo "$as_me: failed program was:" >&5
94170 sed 's/^/| /' conftest.$ac_ext >&5
94172 glibcxx_cv_func_fabsf_use=no
94174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94175 ac_ext=c
94176 ac_cpp='$CPP $CPPFLAGS'
94177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
94186 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
94188 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
94190 for ac_func in fabsf
94192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94193 echo "$as_me:$LINENO: checking for $ac_func" >&5
94194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94195 if eval "test \"\${$as_ac_var+set}\" = set"; then
94196 echo $ECHO_N "(cached) $ECHO_C" >&6
94197 else
94198 if test x$gcc_no_link = xyes; then
94199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94201 { (exit 1); exit 1; }; }
94203 cat >conftest.$ac_ext <<_ACEOF
94204 /* confdefs.h. */
94205 _ACEOF
94206 cat confdefs.h >>conftest.$ac_ext
94207 cat >>conftest.$ac_ext <<_ACEOF
94208 /* end confdefs.h. */
94209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94211 #define $ac_func innocuous_$ac_func
94213 /* System header to define __stub macros and hopefully few prototypes,
94214 which can conflict with char $ac_func (); below.
94215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94216 <limits.h> exists even on freestanding compilers. */
94218 #ifdef __STDC__
94219 # include <limits.h>
94220 #else
94221 # include <assert.h>
94222 #endif
94224 #undef $ac_func
94226 /* Override any gcc2 internal prototype to avoid an error. */
94227 #ifdef __cplusplus
94228 extern "C"
94230 #endif
94231 /* We use char because int might match the return type of a gcc2
94232 builtin and then its argument prototype would still apply. */
94233 char $ac_func ();
94234 /* The GNU C library defines this for functions which it implements
94235 to always fail with ENOSYS. Some functions are actually named
94236 something starting with __ and the normal name is an alias. */
94237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94238 choke me
94239 #else
94240 char (*f) () = $ac_func;
94241 #endif
94242 #ifdef __cplusplus
94244 #endif
94247 main ()
94249 return f != $ac_func;
94251 return 0;
94253 _ACEOF
94254 rm -f conftest.$ac_objext conftest$ac_exeext
94255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94256 (eval $ac_link) 2>conftest.er1
94257 ac_status=$?
94258 grep -v '^ *+' conftest.er1 >conftest.err
94259 rm -f conftest.er1
94260 cat conftest.err >&5
94261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94262 (exit $ac_status); } &&
94263 { ac_try='test -z "$ac_c_werror_flag"
94264 || test ! -s conftest.err'
94265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94266 (eval $ac_try) 2>&5
94267 ac_status=$?
94268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94269 (exit $ac_status); }; } &&
94270 { ac_try='test -s conftest$ac_exeext'
94271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94272 (eval $ac_try) 2>&5
94273 ac_status=$?
94274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94275 (exit $ac_status); }; }; then
94276 eval "$as_ac_var=yes"
94277 else
94278 echo "$as_me: failed program was:" >&5
94279 sed 's/^/| /' conftest.$ac_ext >&5
94281 eval "$as_ac_var=no"
94283 rm -f conftest.err conftest.$ac_objext \
94284 conftest$ac_exeext conftest.$ac_ext
94286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94288 if test `eval echo '${'$as_ac_var'}'` = yes; then
94289 cat >>confdefs.h <<_ACEOF
94290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94291 _ACEOF
94294 done
94296 else
94298 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
94299 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
94300 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
94301 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
94302 echo $ECHO_N "(cached) $ECHO_C" >&6
94303 else
94307 ac_ext=cc
94308 ac_cpp='$CXXCPP $CPPFLAGS'
94309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94313 cat >conftest.$ac_ext <<_ACEOF
94314 /* confdefs.h. */
94315 _ACEOF
94316 cat confdefs.h >>conftest.$ac_ext
94317 cat >>conftest.$ac_ext <<_ACEOF
94318 /* end confdefs.h. */
94319 #include <math.h>
94320 #ifdef HAVE_IEEEFP_H
94321 #include <ieeefp.h>
94322 #endif
94325 main ()
94327 _fabsf(0);
94329 return 0;
94331 _ACEOF
94332 rm -f conftest.$ac_objext
94333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94334 (eval $ac_compile) 2>conftest.er1
94335 ac_status=$?
94336 grep -v '^ *+' conftest.er1 >conftest.err
94337 rm -f conftest.er1
94338 cat conftest.err >&5
94339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94340 (exit $ac_status); } &&
94341 { ac_try='test -z "$ac_cxx_werror_flag"
94342 || test ! -s conftest.err'
94343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94344 (eval $ac_try) 2>&5
94345 ac_status=$?
94346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94347 (exit $ac_status); }; } &&
94348 { ac_try='test -s conftest.$ac_objext'
94349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94350 (eval $ac_try) 2>&5
94351 ac_status=$?
94352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94353 (exit $ac_status); }; }; then
94354 glibcxx_cv_func__fabsf_use=yes
94355 else
94356 echo "$as_me: failed program was:" >&5
94357 sed 's/^/| /' conftest.$ac_ext >&5
94359 glibcxx_cv_func__fabsf_use=no
94361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94362 ac_ext=c
94363 ac_cpp='$CPP $CPPFLAGS'
94364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
94373 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
94375 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
94377 for ac_func in _fabsf
94379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94380 echo "$as_me:$LINENO: checking for $ac_func" >&5
94381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94382 if eval "test \"\${$as_ac_var+set}\" = set"; then
94383 echo $ECHO_N "(cached) $ECHO_C" >&6
94384 else
94385 if test x$gcc_no_link = xyes; then
94386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94388 { (exit 1); exit 1; }; }
94390 cat >conftest.$ac_ext <<_ACEOF
94391 /* confdefs.h. */
94392 _ACEOF
94393 cat confdefs.h >>conftest.$ac_ext
94394 cat >>conftest.$ac_ext <<_ACEOF
94395 /* end confdefs.h. */
94396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94398 #define $ac_func innocuous_$ac_func
94400 /* System header to define __stub macros and hopefully few prototypes,
94401 which can conflict with char $ac_func (); below.
94402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94403 <limits.h> exists even on freestanding compilers. */
94405 #ifdef __STDC__
94406 # include <limits.h>
94407 #else
94408 # include <assert.h>
94409 #endif
94411 #undef $ac_func
94413 /* Override any gcc2 internal prototype to avoid an error. */
94414 #ifdef __cplusplus
94415 extern "C"
94417 #endif
94418 /* We use char because int might match the return type of a gcc2
94419 builtin and then its argument prototype would still apply. */
94420 char $ac_func ();
94421 /* The GNU C library defines this for functions which it implements
94422 to always fail with ENOSYS. Some functions are actually named
94423 something starting with __ and the normal name is an alias. */
94424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94425 choke me
94426 #else
94427 char (*f) () = $ac_func;
94428 #endif
94429 #ifdef __cplusplus
94431 #endif
94434 main ()
94436 return f != $ac_func;
94438 return 0;
94440 _ACEOF
94441 rm -f conftest.$ac_objext conftest$ac_exeext
94442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94443 (eval $ac_link) 2>conftest.er1
94444 ac_status=$?
94445 grep -v '^ *+' conftest.er1 >conftest.err
94446 rm -f conftest.er1
94447 cat conftest.err >&5
94448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94449 (exit $ac_status); } &&
94450 { ac_try='test -z "$ac_c_werror_flag"
94451 || test ! -s conftest.err'
94452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94453 (eval $ac_try) 2>&5
94454 ac_status=$?
94455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94456 (exit $ac_status); }; } &&
94457 { ac_try='test -s conftest$ac_exeext'
94458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94459 (eval $ac_try) 2>&5
94460 ac_status=$?
94461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94462 (exit $ac_status); }; }; then
94463 eval "$as_ac_var=yes"
94464 else
94465 echo "$as_me: failed program was:" >&5
94466 sed 's/^/| /' conftest.$ac_ext >&5
94468 eval "$as_ac_var=no"
94470 rm -f conftest.err conftest.$ac_objext \
94471 conftest$ac_exeext conftest.$ac_ext
94473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94475 if test `eval echo '${'$as_ac_var'}'` = yes; then
94476 cat >>confdefs.h <<_ACEOF
94477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94478 _ACEOF
94481 done
94491 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
94492 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
94493 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
94494 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
94495 echo $ECHO_N "(cached) $ECHO_C" >&6
94496 else
94500 ac_ext=cc
94501 ac_cpp='$CXXCPP $CPPFLAGS'
94502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94506 cat >conftest.$ac_ext <<_ACEOF
94507 /* confdefs.h. */
94508 _ACEOF
94509 cat confdefs.h >>conftest.$ac_ext
94510 cat >>conftest.$ac_ext <<_ACEOF
94511 /* end confdefs.h. */
94512 #include <math.h>
94514 main ()
94516 fmodf(0, 0);
94518 return 0;
94520 _ACEOF
94521 rm -f conftest.$ac_objext
94522 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94523 (eval $ac_compile) 2>conftest.er1
94524 ac_status=$?
94525 grep -v '^ *+' conftest.er1 >conftest.err
94526 rm -f conftest.er1
94527 cat conftest.err >&5
94528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94529 (exit $ac_status); } &&
94530 { ac_try='test -z "$ac_cxx_werror_flag"
94531 || test ! -s conftest.err'
94532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94533 (eval $ac_try) 2>&5
94534 ac_status=$?
94535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94536 (exit $ac_status); }; } &&
94537 { ac_try='test -s conftest.$ac_objext'
94538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94539 (eval $ac_try) 2>&5
94540 ac_status=$?
94541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94542 (exit $ac_status); }; }; then
94543 glibcxx_cv_func_fmodf_use=yes
94544 else
94545 echo "$as_me: failed program was:" >&5
94546 sed 's/^/| /' conftest.$ac_ext >&5
94548 glibcxx_cv_func_fmodf_use=no
94550 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94551 ac_ext=c
94552 ac_cpp='$CPP $CPPFLAGS'
94553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94561 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
94562 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
94564 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
94566 for ac_func in fmodf
94568 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94569 echo "$as_me:$LINENO: checking for $ac_func" >&5
94570 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94571 if eval "test \"\${$as_ac_var+set}\" = set"; then
94572 echo $ECHO_N "(cached) $ECHO_C" >&6
94573 else
94574 if test x$gcc_no_link = xyes; then
94575 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94576 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94577 { (exit 1); exit 1; }; }
94579 cat >conftest.$ac_ext <<_ACEOF
94580 /* confdefs.h. */
94581 _ACEOF
94582 cat confdefs.h >>conftest.$ac_ext
94583 cat >>conftest.$ac_ext <<_ACEOF
94584 /* end confdefs.h. */
94585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94587 #define $ac_func innocuous_$ac_func
94589 /* System header to define __stub macros and hopefully few prototypes,
94590 which can conflict with char $ac_func (); below.
94591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94592 <limits.h> exists even on freestanding compilers. */
94594 #ifdef __STDC__
94595 # include <limits.h>
94596 #else
94597 # include <assert.h>
94598 #endif
94600 #undef $ac_func
94602 /* Override any gcc2 internal prototype to avoid an error. */
94603 #ifdef __cplusplus
94604 extern "C"
94606 #endif
94607 /* We use char because int might match the return type of a gcc2
94608 builtin and then its argument prototype would still apply. */
94609 char $ac_func ();
94610 /* The GNU C library defines this for functions which it implements
94611 to always fail with ENOSYS. Some functions are actually named
94612 something starting with __ and the normal name is an alias. */
94613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94614 choke me
94615 #else
94616 char (*f) () = $ac_func;
94617 #endif
94618 #ifdef __cplusplus
94620 #endif
94623 main ()
94625 return f != $ac_func;
94627 return 0;
94629 _ACEOF
94630 rm -f conftest.$ac_objext conftest$ac_exeext
94631 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94632 (eval $ac_link) 2>conftest.er1
94633 ac_status=$?
94634 grep -v '^ *+' conftest.er1 >conftest.err
94635 rm -f conftest.er1
94636 cat conftest.err >&5
94637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94638 (exit $ac_status); } &&
94639 { ac_try='test -z "$ac_c_werror_flag"
94640 || test ! -s conftest.err'
94641 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94642 (eval $ac_try) 2>&5
94643 ac_status=$?
94644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94645 (exit $ac_status); }; } &&
94646 { ac_try='test -s conftest$ac_exeext'
94647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94648 (eval $ac_try) 2>&5
94649 ac_status=$?
94650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94651 (exit $ac_status); }; }; then
94652 eval "$as_ac_var=yes"
94653 else
94654 echo "$as_me: failed program was:" >&5
94655 sed 's/^/| /' conftest.$ac_ext >&5
94657 eval "$as_ac_var=no"
94659 rm -f conftest.err conftest.$ac_objext \
94660 conftest$ac_exeext conftest.$ac_ext
94662 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94663 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94664 if test `eval echo '${'$as_ac_var'}'` = yes; then
94665 cat >>confdefs.h <<_ACEOF
94666 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94667 _ACEOF
94670 done
94672 else
94674 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
94675 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
94676 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
94677 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
94678 echo $ECHO_N "(cached) $ECHO_C" >&6
94679 else
94683 ac_ext=cc
94684 ac_cpp='$CXXCPP $CPPFLAGS'
94685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94689 cat >conftest.$ac_ext <<_ACEOF
94690 /* confdefs.h. */
94691 _ACEOF
94692 cat confdefs.h >>conftest.$ac_ext
94693 cat >>conftest.$ac_ext <<_ACEOF
94694 /* end confdefs.h. */
94695 #include <math.h>
94697 main ()
94699 _fmodf(0, 0);
94701 return 0;
94703 _ACEOF
94704 rm -f conftest.$ac_objext
94705 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94706 (eval $ac_compile) 2>conftest.er1
94707 ac_status=$?
94708 grep -v '^ *+' conftest.er1 >conftest.err
94709 rm -f conftest.er1
94710 cat conftest.err >&5
94711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94712 (exit $ac_status); } &&
94713 { ac_try='test -z "$ac_cxx_werror_flag"
94714 || test ! -s conftest.err'
94715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94716 (eval $ac_try) 2>&5
94717 ac_status=$?
94718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94719 (exit $ac_status); }; } &&
94720 { ac_try='test -s conftest.$ac_objext'
94721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94722 (eval $ac_try) 2>&5
94723 ac_status=$?
94724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94725 (exit $ac_status); }; }; then
94726 glibcxx_cv_func__fmodf_use=yes
94727 else
94728 echo "$as_me: failed program was:" >&5
94729 sed 's/^/| /' conftest.$ac_ext >&5
94731 glibcxx_cv_func__fmodf_use=no
94733 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94734 ac_ext=c
94735 ac_cpp='$CPP $CPPFLAGS'
94736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94744 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
94745 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
94747 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
94749 for ac_func in _fmodf
94751 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94752 echo "$as_me:$LINENO: checking for $ac_func" >&5
94753 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94754 if eval "test \"\${$as_ac_var+set}\" = set"; then
94755 echo $ECHO_N "(cached) $ECHO_C" >&6
94756 else
94757 if test x$gcc_no_link = xyes; then
94758 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94759 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94760 { (exit 1); exit 1; }; }
94762 cat >conftest.$ac_ext <<_ACEOF
94763 /* confdefs.h. */
94764 _ACEOF
94765 cat confdefs.h >>conftest.$ac_ext
94766 cat >>conftest.$ac_ext <<_ACEOF
94767 /* end confdefs.h. */
94768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94770 #define $ac_func innocuous_$ac_func
94772 /* System header to define __stub macros and hopefully few prototypes,
94773 which can conflict with char $ac_func (); below.
94774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94775 <limits.h> exists even on freestanding compilers. */
94777 #ifdef __STDC__
94778 # include <limits.h>
94779 #else
94780 # include <assert.h>
94781 #endif
94783 #undef $ac_func
94785 /* Override any gcc2 internal prototype to avoid an error. */
94786 #ifdef __cplusplus
94787 extern "C"
94789 #endif
94790 /* We use char because int might match the return type of a gcc2
94791 builtin and then its argument prototype would still apply. */
94792 char $ac_func ();
94793 /* The GNU C library defines this for functions which it implements
94794 to always fail with ENOSYS. Some functions are actually named
94795 something starting with __ and the normal name is an alias. */
94796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94797 choke me
94798 #else
94799 char (*f) () = $ac_func;
94800 #endif
94801 #ifdef __cplusplus
94803 #endif
94806 main ()
94808 return f != $ac_func;
94810 return 0;
94812 _ACEOF
94813 rm -f conftest.$ac_objext conftest$ac_exeext
94814 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94815 (eval $ac_link) 2>conftest.er1
94816 ac_status=$?
94817 grep -v '^ *+' conftest.er1 >conftest.err
94818 rm -f conftest.er1
94819 cat conftest.err >&5
94820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94821 (exit $ac_status); } &&
94822 { ac_try='test -z "$ac_c_werror_flag"
94823 || test ! -s conftest.err'
94824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94825 (eval $ac_try) 2>&5
94826 ac_status=$?
94827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94828 (exit $ac_status); }; } &&
94829 { ac_try='test -s conftest$ac_exeext'
94830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94831 (eval $ac_try) 2>&5
94832 ac_status=$?
94833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94834 (exit $ac_status); }; }; then
94835 eval "$as_ac_var=yes"
94836 else
94837 echo "$as_me: failed program was:" >&5
94838 sed 's/^/| /' conftest.$ac_ext >&5
94840 eval "$as_ac_var=no"
94842 rm -f conftest.err conftest.$ac_objext \
94843 conftest$ac_exeext conftest.$ac_ext
94845 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94846 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94847 if test `eval echo '${'$as_ac_var'}'` = yes; then
94848 cat >>confdefs.h <<_ACEOF
94849 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94850 _ACEOF
94853 done
94863 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
94864 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
94865 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
94866 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
94867 echo $ECHO_N "(cached) $ECHO_C" >&6
94868 else
94872 ac_ext=cc
94873 ac_cpp='$CXXCPP $CPPFLAGS'
94874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94878 cat >conftest.$ac_ext <<_ACEOF
94879 /* confdefs.h. */
94880 _ACEOF
94881 cat confdefs.h >>conftest.$ac_ext
94882 cat >>conftest.$ac_ext <<_ACEOF
94883 /* end confdefs.h. */
94884 #include <math.h>
94886 main ()
94888 frexpf(0, 0);
94890 return 0;
94892 _ACEOF
94893 rm -f conftest.$ac_objext
94894 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94895 (eval $ac_compile) 2>conftest.er1
94896 ac_status=$?
94897 grep -v '^ *+' conftest.er1 >conftest.err
94898 rm -f conftest.er1
94899 cat conftest.err >&5
94900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94901 (exit $ac_status); } &&
94902 { ac_try='test -z "$ac_cxx_werror_flag"
94903 || test ! -s conftest.err'
94904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94905 (eval $ac_try) 2>&5
94906 ac_status=$?
94907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94908 (exit $ac_status); }; } &&
94909 { ac_try='test -s conftest.$ac_objext'
94910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94911 (eval $ac_try) 2>&5
94912 ac_status=$?
94913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94914 (exit $ac_status); }; }; then
94915 glibcxx_cv_func_frexpf_use=yes
94916 else
94917 echo "$as_me: failed program was:" >&5
94918 sed 's/^/| /' conftest.$ac_ext >&5
94920 glibcxx_cv_func_frexpf_use=no
94922 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94923 ac_ext=c
94924 ac_cpp='$CPP $CPPFLAGS'
94925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94933 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
94934 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
94936 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
94938 for ac_func in frexpf
94940 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94941 echo "$as_me:$LINENO: checking for $ac_func" >&5
94942 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94943 if eval "test \"\${$as_ac_var+set}\" = set"; then
94944 echo $ECHO_N "(cached) $ECHO_C" >&6
94945 else
94946 if test x$gcc_no_link = xyes; then
94947 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94948 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94949 { (exit 1); exit 1; }; }
94951 cat >conftest.$ac_ext <<_ACEOF
94952 /* confdefs.h. */
94953 _ACEOF
94954 cat confdefs.h >>conftest.$ac_ext
94955 cat >>conftest.$ac_ext <<_ACEOF
94956 /* end confdefs.h. */
94957 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94959 #define $ac_func innocuous_$ac_func
94961 /* System header to define __stub macros and hopefully few prototypes,
94962 which can conflict with char $ac_func (); below.
94963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94964 <limits.h> exists even on freestanding compilers. */
94966 #ifdef __STDC__
94967 # include <limits.h>
94968 #else
94969 # include <assert.h>
94970 #endif
94972 #undef $ac_func
94974 /* Override any gcc2 internal prototype to avoid an error. */
94975 #ifdef __cplusplus
94976 extern "C"
94978 #endif
94979 /* We use char because int might match the return type of a gcc2
94980 builtin and then its argument prototype would still apply. */
94981 char $ac_func ();
94982 /* The GNU C library defines this for functions which it implements
94983 to always fail with ENOSYS. Some functions are actually named
94984 something starting with __ and the normal name is an alias. */
94985 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94986 choke me
94987 #else
94988 char (*f) () = $ac_func;
94989 #endif
94990 #ifdef __cplusplus
94992 #endif
94995 main ()
94997 return f != $ac_func;
94999 return 0;
95001 _ACEOF
95002 rm -f conftest.$ac_objext conftest$ac_exeext
95003 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95004 (eval $ac_link) 2>conftest.er1
95005 ac_status=$?
95006 grep -v '^ *+' conftest.er1 >conftest.err
95007 rm -f conftest.er1
95008 cat conftest.err >&5
95009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95010 (exit $ac_status); } &&
95011 { ac_try='test -z "$ac_c_werror_flag"
95012 || test ! -s conftest.err'
95013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95014 (eval $ac_try) 2>&5
95015 ac_status=$?
95016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95017 (exit $ac_status); }; } &&
95018 { ac_try='test -s conftest$ac_exeext'
95019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95020 (eval $ac_try) 2>&5
95021 ac_status=$?
95022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95023 (exit $ac_status); }; }; then
95024 eval "$as_ac_var=yes"
95025 else
95026 echo "$as_me: failed program was:" >&5
95027 sed 's/^/| /' conftest.$ac_ext >&5
95029 eval "$as_ac_var=no"
95031 rm -f conftest.err conftest.$ac_objext \
95032 conftest$ac_exeext conftest.$ac_ext
95034 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95035 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95036 if test `eval echo '${'$as_ac_var'}'` = yes; then
95037 cat >>confdefs.h <<_ACEOF
95038 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95039 _ACEOF
95042 done
95044 else
95046 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
95047 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
95048 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
95049 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
95050 echo $ECHO_N "(cached) $ECHO_C" >&6
95051 else
95055 ac_ext=cc
95056 ac_cpp='$CXXCPP $CPPFLAGS'
95057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95061 cat >conftest.$ac_ext <<_ACEOF
95062 /* confdefs.h. */
95063 _ACEOF
95064 cat confdefs.h >>conftest.$ac_ext
95065 cat >>conftest.$ac_ext <<_ACEOF
95066 /* end confdefs.h. */
95067 #include <math.h>
95069 main ()
95071 _frexpf(0, 0);
95073 return 0;
95075 _ACEOF
95076 rm -f conftest.$ac_objext
95077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95078 (eval $ac_compile) 2>conftest.er1
95079 ac_status=$?
95080 grep -v '^ *+' conftest.er1 >conftest.err
95081 rm -f conftest.er1
95082 cat conftest.err >&5
95083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95084 (exit $ac_status); } &&
95085 { ac_try='test -z "$ac_cxx_werror_flag"
95086 || test ! -s conftest.err'
95087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95088 (eval $ac_try) 2>&5
95089 ac_status=$?
95090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95091 (exit $ac_status); }; } &&
95092 { ac_try='test -s conftest.$ac_objext'
95093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95094 (eval $ac_try) 2>&5
95095 ac_status=$?
95096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95097 (exit $ac_status); }; }; then
95098 glibcxx_cv_func__frexpf_use=yes
95099 else
95100 echo "$as_me: failed program was:" >&5
95101 sed 's/^/| /' conftest.$ac_ext >&5
95103 glibcxx_cv_func__frexpf_use=no
95105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95106 ac_ext=c
95107 ac_cpp='$CPP $CPPFLAGS'
95108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
95117 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
95119 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
95121 for ac_func in _frexpf
95123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95124 echo "$as_me:$LINENO: checking for $ac_func" >&5
95125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95126 if eval "test \"\${$as_ac_var+set}\" = set"; then
95127 echo $ECHO_N "(cached) $ECHO_C" >&6
95128 else
95129 if test x$gcc_no_link = xyes; then
95130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95132 { (exit 1); exit 1; }; }
95134 cat >conftest.$ac_ext <<_ACEOF
95135 /* confdefs.h. */
95136 _ACEOF
95137 cat confdefs.h >>conftest.$ac_ext
95138 cat >>conftest.$ac_ext <<_ACEOF
95139 /* end confdefs.h. */
95140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95142 #define $ac_func innocuous_$ac_func
95144 /* System header to define __stub macros and hopefully few prototypes,
95145 which can conflict with char $ac_func (); below.
95146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95147 <limits.h> exists even on freestanding compilers. */
95149 #ifdef __STDC__
95150 # include <limits.h>
95151 #else
95152 # include <assert.h>
95153 #endif
95155 #undef $ac_func
95157 /* Override any gcc2 internal prototype to avoid an error. */
95158 #ifdef __cplusplus
95159 extern "C"
95161 #endif
95162 /* We use char because int might match the return type of a gcc2
95163 builtin and then its argument prototype would still apply. */
95164 char $ac_func ();
95165 /* The GNU C library defines this for functions which it implements
95166 to always fail with ENOSYS. Some functions are actually named
95167 something starting with __ and the normal name is an alias. */
95168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95169 choke me
95170 #else
95171 char (*f) () = $ac_func;
95172 #endif
95173 #ifdef __cplusplus
95175 #endif
95178 main ()
95180 return f != $ac_func;
95182 return 0;
95184 _ACEOF
95185 rm -f conftest.$ac_objext conftest$ac_exeext
95186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95187 (eval $ac_link) 2>conftest.er1
95188 ac_status=$?
95189 grep -v '^ *+' conftest.er1 >conftest.err
95190 rm -f conftest.er1
95191 cat conftest.err >&5
95192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95193 (exit $ac_status); } &&
95194 { ac_try='test -z "$ac_c_werror_flag"
95195 || test ! -s conftest.err'
95196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95197 (eval $ac_try) 2>&5
95198 ac_status=$?
95199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95200 (exit $ac_status); }; } &&
95201 { ac_try='test -s conftest$ac_exeext'
95202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95203 (eval $ac_try) 2>&5
95204 ac_status=$?
95205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95206 (exit $ac_status); }; }; then
95207 eval "$as_ac_var=yes"
95208 else
95209 echo "$as_me: failed program was:" >&5
95210 sed 's/^/| /' conftest.$ac_ext >&5
95212 eval "$as_ac_var=no"
95214 rm -f conftest.err conftest.$ac_objext \
95215 conftest$ac_exeext conftest.$ac_ext
95217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95219 if test `eval echo '${'$as_ac_var'}'` = yes; then
95220 cat >>confdefs.h <<_ACEOF
95221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95222 _ACEOF
95225 done
95235 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
95236 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
95237 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
95238 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
95239 echo $ECHO_N "(cached) $ECHO_C" >&6
95240 else
95244 ac_ext=cc
95245 ac_cpp='$CXXCPP $CPPFLAGS'
95246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95250 cat >conftest.$ac_ext <<_ACEOF
95251 /* confdefs.h. */
95252 _ACEOF
95253 cat confdefs.h >>conftest.$ac_ext
95254 cat >>conftest.$ac_ext <<_ACEOF
95255 /* end confdefs.h. */
95256 #include <math.h>
95258 main ()
95260 hypotf(0, 0);
95262 return 0;
95264 _ACEOF
95265 rm -f conftest.$ac_objext
95266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95267 (eval $ac_compile) 2>conftest.er1
95268 ac_status=$?
95269 grep -v '^ *+' conftest.er1 >conftest.err
95270 rm -f conftest.er1
95271 cat conftest.err >&5
95272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95273 (exit $ac_status); } &&
95274 { ac_try='test -z "$ac_cxx_werror_flag"
95275 || test ! -s conftest.err'
95276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95277 (eval $ac_try) 2>&5
95278 ac_status=$?
95279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95280 (exit $ac_status); }; } &&
95281 { ac_try='test -s conftest.$ac_objext'
95282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95283 (eval $ac_try) 2>&5
95284 ac_status=$?
95285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95286 (exit $ac_status); }; }; then
95287 glibcxx_cv_func_hypotf_use=yes
95288 else
95289 echo "$as_me: failed program was:" >&5
95290 sed 's/^/| /' conftest.$ac_ext >&5
95292 glibcxx_cv_func_hypotf_use=no
95294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95295 ac_ext=c
95296 ac_cpp='$CPP $CPPFLAGS'
95297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
95306 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
95308 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
95310 for ac_func in hypotf
95312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95313 echo "$as_me:$LINENO: checking for $ac_func" >&5
95314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95315 if eval "test \"\${$as_ac_var+set}\" = set"; then
95316 echo $ECHO_N "(cached) $ECHO_C" >&6
95317 else
95318 if test x$gcc_no_link = xyes; then
95319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95321 { (exit 1); exit 1; }; }
95323 cat >conftest.$ac_ext <<_ACEOF
95324 /* confdefs.h. */
95325 _ACEOF
95326 cat confdefs.h >>conftest.$ac_ext
95327 cat >>conftest.$ac_ext <<_ACEOF
95328 /* end confdefs.h. */
95329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95331 #define $ac_func innocuous_$ac_func
95333 /* System header to define __stub macros and hopefully few prototypes,
95334 which can conflict with char $ac_func (); below.
95335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95336 <limits.h> exists even on freestanding compilers. */
95338 #ifdef __STDC__
95339 # include <limits.h>
95340 #else
95341 # include <assert.h>
95342 #endif
95344 #undef $ac_func
95346 /* Override any gcc2 internal prototype to avoid an error. */
95347 #ifdef __cplusplus
95348 extern "C"
95350 #endif
95351 /* We use char because int might match the return type of a gcc2
95352 builtin and then its argument prototype would still apply. */
95353 char $ac_func ();
95354 /* The GNU C library defines this for functions which it implements
95355 to always fail with ENOSYS. Some functions are actually named
95356 something starting with __ and the normal name is an alias. */
95357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95358 choke me
95359 #else
95360 char (*f) () = $ac_func;
95361 #endif
95362 #ifdef __cplusplus
95364 #endif
95367 main ()
95369 return f != $ac_func;
95371 return 0;
95373 _ACEOF
95374 rm -f conftest.$ac_objext conftest$ac_exeext
95375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95376 (eval $ac_link) 2>conftest.er1
95377 ac_status=$?
95378 grep -v '^ *+' conftest.er1 >conftest.err
95379 rm -f conftest.er1
95380 cat conftest.err >&5
95381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95382 (exit $ac_status); } &&
95383 { ac_try='test -z "$ac_c_werror_flag"
95384 || test ! -s conftest.err'
95385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95386 (eval $ac_try) 2>&5
95387 ac_status=$?
95388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95389 (exit $ac_status); }; } &&
95390 { ac_try='test -s conftest$ac_exeext'
95391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95392 (eval $ac_try) 2>&5
95393 ac_status=$?
95394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95395 (exit $ac_status); }; }; then
95396 eval "$as_ac_var=yes"
95397 else
95398 echo "$as_me: failed program was:" >&5
95399 sed 's/^/| /' conftest.$ac_ext >&5
95401 eval "$as_ac_var=no"
95403 rm -f conftest.err conftest.$ac_objext \
95404 conftest$ac_exeext conftest.$ac_ext
95406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95408 if test `eval echo '${'$as_ac_var'}'` = yes; then
95409 cat >>confdefs.h <<_ACEOF
95410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95411 _ACEOF
95414 done
95416 else
95418 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
95419 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
95420 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
95421 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
95422 echo $ECHO_N "(cached) $ECHO_C" >&6
95423 else
95427 ac_ext=cc
95428 ac_cpp='$CXXCPP $CPPFLAGS'
95429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95433 cat >conftest.$ac_ext <<_ACEOF
95434 /* confdefs.h. */
95435 _ACEOF
95436 cat confdefs.h >>conftest.$ac_ext
95437 cat >>conftest.$ac_ext <<_ACEOF
95438 /* end confdefs.h. */
95439 #include <math.h>
95441 main ()
95443 _hypotf(0, 0);
95445 return 0;
95447 _ACEOF
95448 rm -f conftest.$ac_objext
95449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95450 (eval $ac_compile) 2>conftest.er1
95451 ac_status=$?
95452 grep -v '^ *+' conftest.er1 >conftest.err
95453 rm -f conftest.er1
95454 cat conftest.err >&5
95455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95456 (exit $ac_status); } &&
95457 { ac_try='test -z "$ac_cxx_werror_flag"
95458 || test ! -s conftest.err'
95459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95460 (eval $ac_try) 2>&5
95461 ac_status=$?
95462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95463 (exit $ac_status); }; } &&
95464 { ac_try='test -s conftest.$ac_objext'
95465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95466 (eval $ac_try) 2>&5
95467 ac_status=$?
95468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95469 (exit $ac_status); }; }; then
95470 glibcxx_cv_func__hypotf_use=yes
95471 else
95472 echo "$as_me: failed program was:" >&5
95473 sed 's/^/| /' conftest.$ac_ext >&5
95475 glibcxx_cv_func__hypotf_use=no
95477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95478 ac_ext=c
95479 ac_cpp='$CPP $CPPFLAGS'
95480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
95489 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
95491 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
95493 for ac_func in _hypotf
95495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95496 echo "$as_me:$LINENO: checking for $ac_func" >&5
95497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95498 if eval "test \"\${$as_ac_var+set}\" = set"; then
95499 echo $ECHO_N "(cached) $ECHO_C" >&6
95500 else
95501 if test x$gcc_no_link = xyes; then
95502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95504 { (exit 1); exit 1; }; }
95506 cat >conftest.$ac_ext <<_ACEOF
95507 /* confdefs.h. */
95508 _ACEOF
95509 cat confdefs.h >>conftest.$ac_ext
95510 cat >>conftest.$ac_ext <<_ACEOF
95511 /* end confdefs.h. */
95512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95514 #define $ac_func innocuous_$ac_func
95516 /* System header to define __stub macros and hopefully few prototypes,
95517 which can conflict with char $ac_func (); below.
95518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95519 <limits.h> exists even on freestanding compilers. */
95521 #ifdef __STDC__
95522 # include <limits.h>
95523 #else
95524 # include <assert.h>
95525 #endif
95527 #undef $ac_func
95529 /* Override any gcc2 internal prototype to avoid an error. */
95530 #ifdef __cplusplus
95531 extern "C"
95533 #endif
95534 /* We use char because int might match the return type of a gcc2
95535 builtin and then its argument prototype would still apply. */
95536 char $ac_func ();
95537 /* The GNU C library defines this for functions which it implements
95538 to always fail with ENOSYS. Some functions are actually named
95539 something starting with __ and the normal name is an alias. */
95540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95541 choke me
95542 #else
95543 char (*f) () = $ac_func;
95544 #endif
95545 #ifdef __cplusplus
95547 #endif
95550 main ()
95552 return f != $ac_func;
95554 return 0;
95556 _ACEOF
95557 rm -f conftest.$ac_objext conftest$ac_exeext
95558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95559 (eval $ac_link) 2>conftest.er1
95560 ac_status=$?
95561 grep -v '^ *+' conftest.er1 >conftest.err
95562 rm -f conftest.er1
95563 cat conftest.err >&5
95564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95565 (exit $ac_status); } &&
95566 { ac_try='test -z "$ac_c_werror_flag"
95567 || test ! -s conftest.err'
95568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95569 (eval $ac_try) 2>&5
95570 ac_status=$?
95571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95572 (exit $ac_status); }; } &&
95573 { ac_try='test -s conftest$ac_exeext'
95574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95575 (eval $ac_try) 2>&5
95576 ac_status=$?
95577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95578 (exit $ac_status); }; }; then
95579 eval "$as_ac_var=yes"
95580 else
95581 echo "$as_me: failed program was:" >&5
95582 sed 's/^/| /' conftest.$ac_ext >&5
95584 eval "$as_ac_var=no"
95586 rm -f conftest.err conftest.$ac_objext \
95587 conftest$ac_exeext conftest.$ac_ext
95589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95591 if test `eval echo '${'$as_ac_var'}'` = yes; then
95592 cat >>confdefs.h <<_ACEOF
95593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95594 _ACEOF
95597 done
95607 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
95608 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
95609 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
95610 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
95611 echo $ECHO_N "(cached) $ECHO_C" >&6
95612 else
95616 ac_ext=cc
95617 ac_cpp='$CXXCPP $CPPFLAGS'
95618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95622 cat >conftest.$ac_ext <<_ACEOF
95623 /* confdefs.h. */
95624 _ACEOF
95625 cat confdefs.h >>conftest.$ac_ext
95626 cat >>conftest.$ac_ext <<_ACEOF
95627 /* end confdefs.h. */
95628 #include <math.h>
95630 main ()
95632 ldexpf(0, 0);
95634 return 0;
95636 _ACEOF
95637 rm -f conftest.$ac_objext
95638 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95639 (eval $ac_compile) 2>conftest.er1
95640 ac_status=$?
95641 grep -v '^ *+' conftest.er1 >conftest.err
95642 rm -f conftest.er1
95643 cat conftest.err >&5
95644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95645 (exit $ac_status); } &&
95646 { ac_try='test -z "$ac_cxx_werror_flag"
95647 || test ! -s conftest.err'
95648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95649 (eval $ac_try) 2>&5
95650 ac_status=$?
95651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95652 (exit $ac_status); }; } &&
95653 { ac_try='test -s conftest.$ac_objext'
95654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95655 (eval $ac_try) 2>&5
95656 ac_status=$?
95657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95658 (exit $ac_status); }; }; then
95659 glibcxx_cv_func_ldexpf_use=yes
95660 else
95661 echo "$as_me: failed program was:" >&5
95662 sed 's/^/| /' conftest.$ac_ext >&5
95664 glibcxx_cv_func_ldexpf_use=no
95666 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95667 ac_ext=c
95668 ac_cpp='$CPP $CPPFLAGS'
95669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95677 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
95678 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
95680 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
95682 for ac_func in ldexpf
95684 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95685 echo "$as_me:$LINENO: checking for $ac_func" >&5
95686 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95687 if eval "test \"\${$as_ac_var+set}\" = set"; then
95688 echo $ECHO_N "(cached) $ECHO_C" >&6
95689 else
95690 if test x$gcc_no_link = xyes; then
95691 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95692 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95693 { (exit 1); exit 1; }; }
95695 cat >conftest.$ac_ext <<_ACEOF
95696 /* confdefs.h. */
95697 _ACEOF
95698 cat confdefs.h >>conftest.$ac_ext
95699 cat >>conftest.$ac_ext <<_ACEOF
95700 /* end confdefs.h. */
95701 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95702 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95703 #define $ac_func innocuous_$ac_func
95705 /* System header to define __stub macros and hopefully few prototypes,
95706 which can conflict with char $ac_func (); below.
95707 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95708 <limits.h> exists even on freestanding compilers. */
95710 #ifdef __STDC__
95711 # include <limits.h>
95712 #else
95713 # include <assert.h>
95714 #endif
95716 #undef $ac_func
95718 /* Override any gcc2 internal prototype to avoid an error. */
95719 #ifdef __cplusplus
95720 extern "C"
95722 #endif
95723 /* We use char because int might match the return type of a gcc2
95724 builtin and then its argument prototype would still apply. */
95725 char $ac_func ();
95726 /* The GNU C library defines this for functions which it implements
95727 to always fail with ENOSYS. Some functions are actually named
95728 something starting with __ and the normal name is an alias. */
95729 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95730 choke me
95731 #else
95732 char (*f) () = $ac_func;
95733 #endif
95734 #ifdef __cplusplus
95736 #endif
95739 main ()
95741 return f != $ac_func;
95743 return 0;
95745 _ACEOF
95746 rm -f conftest.$ac_objext conftest$ac_exeext
95747 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95748 (eval $ac_link) 2>conftest.er1
95749 ac_status=$?
95750 grep -v '^ *+' conftest.er1 >conftest.err
95751 rm -f conftest.er1
95752 cat conftest.err >&5
95753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95754 (exit $ac_status); } &&
95755 { ac_try='test -z "$ac_c_werror_flag"
95756 || test ! -s conftest.err'
95757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95758 (eval $ac_try) 2>&5
95759 ac_status=$?
95760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95761 (exit $ac_status); }; } &&
95762 { ac_try='test -s conftest$ac_exeext'
95763 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95764 (eval $ac_try) 2>&5
95765 ac_status=$?
95766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95767 (exit $ac_status); }; }; then
95768 eval "$as_ac_var=yes"
95769 else
95770 echo "$as_me: failed program was:" >&5
95771 sed 's/^/| /' conftest.$ac_ext >&5
95773 eval "$as_ac_var=no"
95775 rm -f conftest.err conftest.$ac_objext \
95776 conftest$ac_exeext conftest.$ac_ext
95778 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95779 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95780 if test `eval echo '${'$as_ac_var'}'` = yes; then
95781 cat >>confdefs.h <<_ACEOF
95782 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95783 _ACEOF
95786 done
95788 else
95790 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
95791 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
95792 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
95793 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
95794 echo $ECHO_N "(cached) $ECHO_C" >&6
95795 else
95799 ac_ext=cc
95800 ac_cpp='$CXXCPP $CPPFLAGS'
95801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95805 cat >conftest.$ac_ext <<_ACEOF
95806 /* confdefs.h. */
95807 _ACEOF
95808 cat confdefs.h >>conftest.$ac_ext
95809 cat >>conftest.$ac_ext <<_ACEOF
95810 /* end confdefs.h. */
95811 #include <math.h>
95813 main ()
95815 _ldexpf(0, 0);
95817 return 0;
95819 _ACEOF
95820 rm -f conftest.$ac_objext
95821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95822 (eval $ac_compile) 2>conftest.er1
95823 ac_status=$?
95824 grep -v '^ *+' conftest.er1 >conftest.err
95825 rm -f conftest.er1
95826 cat conftest.err >&5
95827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95828 (exit $ac_status); } &&
95829 { ac_try='test -z "$ac_cxx_werror_flag"
95830 || test ! -s conftest.err'
95831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95832 (eval $ac_try) 2>&5
95833 ac_status=$?
95834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95835 (exit $ac_status); }; } &&
95836 { ac_try='test -s conftest.$ac_objext'
95837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95838 (eval $ac_try) 2>&5
95839 ac_status=$?
95840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95841 (exit $ac_status); }; }; then
95842 glibcxx_cv_func__ldexpf_use=yes
95843 else
95844 echo "$as_me: failed program was:" >&5
95845 sed 's/^/| /' conftest.$ac_ext >&5
95847 glibcxx_cv_func__ldexpf_use=no
95849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95850 ac_ext=c
95851 ac_cpp='$CPP $CPPFLAGS'
95852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
95861 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
95863 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
95865 for ac_func in _ldexpf
95867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95868 echo "$as_me:$LINENO: checking for $ac_func" >&5
95869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95870 if eval "test \"\${$as_ac_var+set}\" = set"; then
95871 echo $ECHO_N "(cached) $ECHO_C" >&6
95872 else
95873 if test x$gcc_no_link = xyes; then
95874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95876 { (exit 1); exit 1; }; }
95878 cat >conftest.$ac_ext <<_ACEOF
95879 /* confdefs.h. */
95880 _ACEOF
95881 cat confdefs.h >>conftest.$ac_ext
95882 cat >>conftest.$ac_ext <<_ACEOF
95883 /* end confdefs.h. */
95884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95886 #define $ac_func innocuous_$ac_func
95888 /* System header to define __stub macros and hopefully few prototypes,
95889 which can conflict with char $ac_func (); below.
95890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95891 <limits.h> exists even on freestanding compilers. */
95893 #ifdef __STDC__
95894 # include <limits.h>
95895 #else
95896 # include <assert.h>
95897 #endif
95899 #undef $ac_func
95901 /* Override any gcc2 internal prototype to avoid an error. */
95902 #ifdef __cplusplus
95903 extern "C"
95905 #endif
95906 /* We use char because int might match the return type of a gcc2
95907 builtin and then its argument prototype would still apply. */
95908 char $ac_func ();
95909 /* The GNU C library defines this for functions which it implements
95910 to always fail with ENOSYS. Some functions are actually named
95911 something starting with __ and the normal name is an alias. */
95912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95913 choke me
95914 #else
95915 char (*f) () = $ac_func;
95916 #endif
95917 #ifdef __cplusplus
95919 #endif
95922 main ()
95924 return f != $ac_func;
95926 return 0;
95928 _ACEOF
95929 rm -f conftest.$ac_objext conftest$ac_exeext
95930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95931 (eval $ac_link) 2>conftest.er1
95932 ac_status=$?
95933 grep -v '^ *+' conftest.er1 >conftest.err
95934 rm -f conftest.er1
95935 cat conftest.err >&5
95936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95937 (exit $ac_status); } &&
95938 { ac_try='test -z "$ac_c_werror_flag"
95939 || test ! -s conftest.err'
95940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95941 (eval $ac_try) 2>&5
95942 ac_status=$?
95943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95944 (exit $ac_status); }; } &&
95945 { ac_try='test -s conftest$ac_exeext'
95946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95947 (eval $ac_try) 2>&5
95948 ac_status=$?
95949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95950 (exit $ac_status); }; }; then
95951 eval "$as_ac_var=yes"
95952 else
95953 echo "$as_me: failed program was:" >&5
95954 sed 's/^/| /' conftest.$ac_ext >&5
95956 eval "$as_ac_var=no"
95958 rm -f conftest.err conftest.$ac_objext \
95959 conftest$ac_exeext conftest.$ac_ext
95961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95963 if test `eval echo '${'$as_ac_var'}'` = yes; then
95964 cat >>confdefs.h <<_ACEOF
95965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95966 _ACEOF
95969 done
95979 echo "$as_me:$LINENO: checking for logf declaration" >&5
95980 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
95981 if test x${glibcxx_cv_func_logf_use+set} != xset; then
95982 if test "${glibcxx_cv_func_logf_use+set}" = set; then
95983 echo $ECHO_N "(cached) $ECHO_C" >&6
95984 else
95988 ac_ext=cc
95989 ac_cpp='$CXXCPP $CPPFLAGS'
95990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95994 cat >conftest.$ac_ext <<_ACEOF
95995 /* confdefs.h. */
95996 _ACEOF
95997 cat confdefs.h >>conftest.$ac_ext
95998 cat >>conftest.$ac_ext <<_ACEOF
95999 /* end confdefs.h. */
96000 #include <math.h>
96001 #ifdef HAVE_IEEEFP_H
96002 #include <ieeefp.h>
96003 #endif
96006 main ()
96008 logf(0);
96010 return 0;
96012 _ACEOF
96013 rm -f conftest.$ac_objext
96014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96015 (eval $ac_compile) 2>conftest.er1
96016 ac_status=$?
96017 grep -v '^ *+' conftest.er1 >conftest.err
96018 rm -f conftest.er1
96019 cat conftest.err >&5
96020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96021 (exit $ac_status); } &&
96022 { ac_try='test -z "$ac_cxx_werror_flag"
96023 || test ! -s conftest.err'
96024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96025 (eval $ac_try) 2>&5
96026 ac_status=$?
96027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96028 (exit $ac_status); }; } &&
96029 { ac_try='test -s conftest.$ac_objext'
96030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96031 (eval $ac_try) 2>&5
96032 ac_status=$?
96033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96034 (exit $ac_status); }; }; then
96035 glibcxx_cv_func_logf_use=yes
96036 else
96037 echo "$as_me: failed program was:" >&5
96038 sed 's/^/| /' conftest.$ac_ext >&5
96040 glibcxx_cv_func_logf_use=no
96042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96043 ac_ext=c
96044 ac_cpp='$CPP $CPPFLAGS'
96045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
96054 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
96056 if test x$glibcxx_cv_func_logf_use = x"yes"; then
96058 for ac_func in logf
96060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96061 echo "$as_me:$LINENO: checking for $ac_func" >&5
96062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96063 if eval "test \"\${$as_ac_var+set}\" = set"; then
96064 echo $ECHO_N "(cached) $ECHO_C" >&6
96065 else
96066 if test x$gcc_no_link = xyes; then
96067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96069 { (exit 1); exit 1; }; }
96071 cat >conftest.$ac_ext <<_ACEOF
96072 /* confdefs.h. */
96073 _ACEOF
96074 cat confdefs.h >>conftest.$ac_ext
96075 cat >>conftest.$ac_ext <<_ACEOF
96076 /* end confdefs.h. */
96077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96079 #define $ac_func innocuous_$ac_func
96081 /* System header to define __stub macros and hopefully few prototypes,
96082 which can conflict with char $ac_func (); below.
96083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96084 <limits.h> exists even on freestanding compilers. */
96086 #ifdef __STDC__
96087 # include <limits.h>
96088 #else
96089 # include <assert.h>
96090 #endif
96092 #undef $ac_func
96094 /* Override any gcc2 internal prototype to avoid an error. */
96095 #ifdef __cplusplus
96096 extern "C"
96098 #endif
96099 /* We use char because int might match the return type of a gcc2
96100 builtin and then its argument prototype would still apply. */
96101 char $ac_func ();
96102 /* The GNU C library defines this for functions which it implements
96103 to always fail with ENOSYS. Some functions are actually named
96104 something starting with __ and the normal name is an alias. */
96105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96106 choke me
96107 #else
96108 char (*f) () = $ac_func;
96109 #endif
96110 #ifdef __cplusplus
96112 #endif
96115 main ()
96117 return f != $ac_func;
96119 return 0;
96121 _ACEOF
96122 rm -f conftest.$ac_objext conftest$ac_exeext
96123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96124 (eval $ac_link) 2>conftest.er1
96125 ac_status=$?
96126 grep -v '^ *+' conftest.er1 >conftest.err
96127 rm -f conftest.er1
96128 cat conftest.err >&5
96129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96130 (exit $ac_status); } &&
96131 { ac_try='test -z "$ac_c_werror_flag"
96132 || test ! -s conftest.err'
96133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96134 (eval $ac_try) 2>&5
96135 ac_status=$?
96136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96137 (exit $ac_status); }; } &&
96138 { ac_try='test -s conftest$ac_exeext'
96139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96140 (eval $ac_try) 2>&5
96141 ac_status=$?
96142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96143 (exit $ac_status); }; }; then
96144 eval "$as_ac_var=yes"
96145 else
96146 echo "$as_me: failed program was:" >&5
96147 sed 's/^/| /' conftest.$ac_ext >&5
96149 eval "$as_ac_var=no"
96151 rm -f conftest.err conftest.$ac_objext \
96152 conftest$ac_exeext conftest.$ac_ext
96154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96156 if test `eval echo '${'$as_ac_var'}'` = yes; then
96157 cat >>confdefs.h <<_ACEOF
96158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96159 _ACEOF
96162 done
96164 else
96166 echo "$as_me:$LINENO: checking for _logf declaration" >&5
96167 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
96168 if test x${glibcxx_cv_func__logf_use+set} != xset; then
96169 if test "${glibcxx_cv_func__logf_use+set}" = set; then
96170 echo $ECHO_N "(cached) $ECHO_C" >&6
96171 else
96175 ac_ext=cc
96176 ac_cpp='$CXXCPP $CPPFLAGS'
96177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96181 cat >conftest.$ac_ext <<_ACEOF
96182 /* confdefs.h. */
96183 _ACEOF
96184 cat confdefs.h >>conftest.$ac_ext
96185 cat >>conftest.$ac_ext <<_ACEOF
96186 /* end confdefs.h. */
96187 #include <math.h>
96188 #ifdef HAVE_IEEEFP_H
96189 #include <ieeefp.h>
96190 #endif
96193 main ()
96195 _logf(0);
96197 return 0;
96199 _ACEOF
96200 rm -f conftest.$ac_objext
96201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96202 (eval $ac_compile) 2>conftest.er1
96203 ac_status=$?
96204 grep -v '^ *+' conftest.er1 >conftest.err
96205 rm -f conftest.er1
96206 cat conftest.err >&5
96207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96208 (exit $ac_status); } &&
96209 { ac_try='test -z "$ac_cxx_werror_flag"
96210 || test ! -s conftest.err'
96211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96212 (eval $ac_try) 2>&5
96213 ac_status=$?
96214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96215 (exit $ac_status); }; } &&
96216 { ac_try='test -s conftest.$ac_objext'
96217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96218 (eval $ac_try) 2>&5
96219 ac_status=$?
96220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96221 (exit $ac_status); }; }; then
96222 glibcxx_cv_func__logf_use=yes
96223 else
96224 echo "$as_me: failed program was:" >&5
96225 sed 's/^/| /' conftest.$ac_ext >&5
96227 glibcxx_cv_func__logf_use=no
96229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96230 ac_ext=c
96231 ac_cpp='$CPP $CPPFLAGS'
96232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
96241 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
96243 if test x$glibcxx_cv_func__logf_use = x"yes"; then
96245 for ac_func in _logf
96247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96248 echo "$as_me:$LINENO: checking for $ac_func" >&5
96249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96250 if eval "test \"\${$as_ac_var+set}\" = set"; then
96251 echo $ECHO_N "(cached) $ECHO_C" >&6
96252 else
96253 if test x$gcc_no_link = xyes; then
96254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96256 { (exit 1); exit 1; }; }
96258 cat >conftest.$ac_ext <<_ACEOF
96259 /* confdefs.h. */
96260 _ACEOF
96261 cat confdefs.h >>conftest.$ac_ext
96262 cat >>conftest.$ac_ext <<_ACEOF
96263 /* end confdefs.h. */
96264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96266 #define $ac_func innocuous_$ac_func
96268 /* System header to define __stub macros and hopefully few prototypes,
96269 which can conflict with char $ac_func (); below.
96270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96271 <limits.h> exists even on freestanding compilers. */
96273 #ifdef __STDC__
96274 # include <limits.h>
96275 #else
96276 # include <assert.h>
96277 #endif
96279 #undef $ac_func
96281 /* Override any gcc2 internal prototype to avoid an error. */
96282 #ifdef __cplusplus
96283 extern "C"
96285 #endif
96286 /* We use char because int might match the return type of a gcc2
96287 builtin and then its argument prototype would still apply. */
96288 char $ac_func ();
96289 /* The GNU C library defines this for functions which it implements
96290 to always fail with ENOSYS. Some functions are actually named
96291 something starting with __ and the normal name is an alias. */
96292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96293 choke me
96294 #else
96295 char (*f) () = $ac_func;
96296 #endif
96297 #ifdef __cplusplus
96299 #endif
96302 main ()
96304 return f != $ac_func;
96306 return 0;
96308 _ACEOF
96309 rm -f conftest.$ac_objext conftest$ac_exeext
96310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96311 (eval $ac_link) 2>conftest.er1
96312 ac_status=$?
96313 grep -v '^ *+' conftest.er1 >conftest.err
96314 rm -f conftest.er1
96315 cat conftest.err >&5
96316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96317 (exit $ac_status); } &&
96318 { ac_try='test -z "$ac_c_werror_flag"
96319 || test ! -s conftest.err'
96320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96321 (eval $ac_try) 2>&5
96322 ac_status=$?
96323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96324 (exit $ac_status); }; } &&
96325 { ac_try='test -s conftest$ac_exeext'
96326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96327 (eval $ac_try) 2>&5
96328 ac_status=$?
96329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96330 (exit $ac_status); }; }; then
96331 eval "$as_ac_var=yes"
96332 else
96333 echo "$as_me: failed program was:" >&5
96334 sed 's/^/| /' conftest.$ac_ext >&5
96336 eval "$as_ac_var=no"
96338 rm -f conftest.err conftest.$ac_objext \
96339 conftest$ac_exeext conftest.$ac_ext
96341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96343 if test `eval echo '${'$as_ac_var'}'` = yes; then
96344 cat >>confdefs.h <<_ACEOF
96345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96346 _ACEOF
96349 done
96359 echo "$as_me:$LINENO: checking for log10f declaration" >&5
96360 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
96361 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
96362 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
96363 echo $ECHO_N "(cached) $ECHO_C" >&6
96364 else
96368 ac_ext=cc
96369 ac_cpp='$CXXCPP $CPPFLAGS'
96370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96374 cat >conftest.$ac_ext <<_ACEOF
96375 /* confdefs.h. */
96376 _ACEOF
96377 cat confdefs.h >>conftest.$ac_ext
96378 cat >>conftest.$ac_ext <<_ACEOF
96379 /* end confdefs.h. */
96380 #include <math.h>
96381 #ifdef HAVE_IEEEFP_H
96382 #include <ieeefp.h>
96383 #endif
96386 main ()
96388 log10f(0);
96390 return 0;
96392 _ACEOF
96393 rm -f conftest.$ac_objext
96394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96395 (eval $ac_compile) 2>conftest.er1
96396 ac_status=$?
96397 grep -v '^ *+' conftest.er1 >conftest.err
96398 rm -f conftest.er1
96399 cat conftest.err >&5
96400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96401 (exit $ac_status); } &&
96402 { ac_try='test -z "$ac_cxx_werror_flag"
96403 || test ! -s conftest.err'
96404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96405 (eval $ac_try) 2>&5
96406 ac_status=$?
96407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96408 (exit $ac_status); }; } &&
96409 { ac_try='test -s conftest.$ac_objext'
96410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96411 (eval $ac_try) 2>&5
96412 ac_status=$?
96413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96414 (exit $ac_status); }; }; then
96415 glibcxx_cv_func_log10f_use=yes
96416 else
96417 echo "$as_me: failed program was:" >&5
96418 sed 's/^/| /' conftest.$ac_ext >&5
96420 glibcxx_cv_func_log10f_use=no
96422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96423 ac_ext=c
96424 ac_cpp='$CPP $CPPFLAGS'
96425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
96434 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
96436 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
96438 for ac_func in log10f
96440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96441 echo "$as_me:$LINENO: checking for $ac_func" >&5
96442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96443 if eval "test \"\${$as_ac_var+set}\" = set"; then
96444 echo $ECHO_N "(cached) $ECHO_C" >&6
96445 else
96446 if test x$gcc_no_link = xyes; then
96447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96449 { (exit 1); exit 1; }; }
96451 cat >conftest.$ac_ext <<_ACEOF
96452 /* confdefs.h. */
96453 _ACEOF
96454 cat confdefs.h >>conftest.$ac_ext
96455 cat >>conftest.$ac_ext <<_ACEOF
96456 /* end confdefs.h. */
96457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96459 #define $ac_func innocuous_$ac_func
96461 /* System header to define __stub macros and hopefully few prototypes,
96462 which can conflict with char $ac_func (); below.
96463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96464 <limits.h> exists even on freestanding compilers. */
96466 #ifdef __STDC__
96467 # include <limits.h>
96468 #else
96469 # include <assert.h>
96470 #endif
96472 #undef $ac_func
96474 /* Override any gcc2 internal prototype to avoid an error. */
96475 #ifdef __cplusplus
96476 extern "C"
96478 #endif
96479 /* We use char because int might match the return type of a gcc2
96480 builtin and then its argument prototype would still apply. */
96481 char $ac_func ();
96482 /* The GNU C library defines this for functions which it implements
96483 to always fail with ENOSYS. Some functions are actually named
96484 something starting with __ and the normal name is an alias. */
96485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96486 choke me
96487 #else
96488 char (*f) () = $ac_func;
96489 #endif
96490 #ifdef __cplusplus
96492 #endif
96495 main ()
96497 return f != $ac_func;
96499 return 0;
96501 _ACEOF
96502 rm -f conftest.$ac_objext conftest$ac_exeext
96503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96504 (eval $ac_link) 2>conftest.er1
96505 ac_status=$?
96506 grep -v '^ *+' conftest.er1 >conftest.err
96507 rm -f conftest.er1
96508 cat conftest.err >&5
96509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96510 (exit $ac_status); } &&
96511 { ac_try='test -z "$ac_c_werror_flag"
96512 || test ! -s conftest.err'
96513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96514 (eval $ac_try) 2>&5
96515 ac_status=$?
96516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96517 (exit $ac_status); }; } &&
96518 { ac_try='test -s conftest$ac_exeext'
96519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96520 (eval $ac_try) 2>&5
96521 ac_status=$?
96522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96523 (exit $ac_status); }; }; then
96524 eval "$as_ac_var=yes"
96525 else
96526 echo "$as_me: failed program was:" >&5
96527 sed 's/^/| /' conftest.$ac_ext >&5
96529 eval "$as_ac_var=no"
96531 rm -f conftest.err conftest.$ac_objext \
96532 conftest$ac_exeext conftest.$ac_ext
96534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96536 if test `eval echo '${'$as_ac_var'}'` = yes; then
96537 cat >>confdefs.h <<_ACEOF
96538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96539 _ACEOF
96542 done
96544 else
96546 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
96547 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
96548 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
96549 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
96550 echo $ECHO_N "(cached) $ECHO_C" >&6
96551 else
96555 ac_ext=cc
96556 ac_cpp='$CXXCPP $CPPFLAGS'
96557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96561 cat >conftest.$ac_ext <<_ACEOF
96562 /* confdefs.h. */
96563 _ACEOF
96564 cat confdefs.h >>conftest.$ac_ext
96565 cat >>conftest.$ac_ext <<_ACEOF
96566 /* end confdefs.h. */
96567 #include <math.h>
96568 #ifdef HAVE_IEEEFP_H
96569 #include <ieeefp.h>
96570 #endif
96573 main ()
96575 _log10f(0);
96577 return 0;
96579 _ACEOF
96580 rm -f conftest.$ac_objext
96581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96582 (eval $ac_compile) 2>conftest.er1
96583 ac_status=$?
96584 grep -v '^ *+' conftest.er1 >conftest.err
96585 rm -f conftest.er1
96586 cat conftest.err >&5
96587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96588 (exit $ac_status); } &&
96589 { ac_try='test -z "$ac_cxx_werror_flag"
96590 || test ! -s conftest.err'
96591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96592 (eval $ac_try) 2>&5
96593 ac_status=$?
96594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96595 (exit $ac_status); }; } &&
96596 { ac_try='test -s conftest.$ac_objext'
96597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96598 (eval $ac_try) 2>&5
96599 ac_status=$?
96600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96601 (exit $ac_status); }; }; then
96602 glibcxx_cv_func__log10f_use=yes
96603 else
96604 echo "$as_me: failed program was:" >&5
96605 sed 's/^/| /' conftest.$ac_ext >&5
96607 glibcxx_cv_func__log10f_use=no
96609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96610 ac_ext=c
96611 ac_cpp='$CPP $CPPFLAGS'
96612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
96621 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
96623 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
96625 for ac_func in _log10f
96627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96628 echo "$as_me:$LINENO: checking for $ac_func" >&5
96629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96630 if eval "test \"\${$as_ac_var+set}\" = set"; then
96631 echo $ECHO_N "(cached) $ECHO_C" >&6
96632 else
96633 if test x$gcc_no_link = xyes; then
96634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96636 { (exit 1); exit 1; }; }
96638 cat >conftest.$ac_ext <<_ACEOF
96639 /* confdefs.h. */
96640 _ACEOF
96641 cat confdefs.h >>conftest.$ac_ext
96642 cat >>conftest.$ac_ext <<_ACEOF
96643 /* end confdefs.h. */
96644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96646 #define $ac_func innocuous_$ac_func
96648 /* System header to define __stub macros and hopefully few prototypes,
96649 which can conflict with char $ac_func (); below.
96650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96651 <limits.h> exists even on freestanding compilers. */
96653 #ifdef __STDC__
96654 # include <limits.h>
96655 #else
96656 # include <assert.h>
96657 #endif
96659 #undef $ac_func
96661 /* Override any gcc2 internal prototype to avoid an error. */
96662 #ifdef __cplusplus
96663 extern "C"
96665 #endif
96666 /* We use char because int might match the return type of a gcc2
96667 builtin and then its argument prototype would still apply. */
96668 char $ac_func ();
96669 /* The GNU C library defines this for functions which it implements
96670 to always fail with ENOSYS. Some functions are actually named
96671 something starting with __ and the normal name is an alias. */
96672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96673 choke me
96674 #else
96675 char (*f) () = $ac_func;
96676 #endif
96677 #ifdef __cplusplus
96679 #endif
96682 main ()
96684 return f != $ac_func;
96686 return 0;
96688 _ACEOF
96689 rm -f conftest.$ac_objext conftest$ac_exeext
96690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96691 (eval $ac_link) 2>conftest.er1
96692 ac_status=$?
96693 grep -v '^ *+' conftest.er1 >conftest.err
96694 rm -f conftest.er1
96695 cat conftest.err >&5
96696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96697 (exit $ac_status); } &&
96698 { ac_try='test -z "$ac_c_werror_flag"
96699 || test ! -s conftest.err'
96700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96701 (eval $ac_try) 2>&5
96702 ac_status=$?
96703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96704 (exit $ac_status); }; } &&
96705 { ac_try='test -s conftest$ac_exeext'
96706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96707 (eval $ac_try) 2>&5
96708 ac_status=$?
96709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96710 (exit $ac_status); }; }; then
96711 eval "$as_ac_var=yes"
96712 else
96713 echo "$as_me: failed program was:" >&5
96714 sed 's/^/| /' conftest.$ac_ext >&5
96716 eval "$as_ac_var=no"
96718 rm -f conftest.err conftest.$ac_objext \
96719 conftest$ac_exeext conftest.$ac_ext
96721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96723 if test `eval echo '${'$as_ac_var'}'` = yes; then
96724 cat >>confdefs.h <<_ACEOF
96725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96726 _ACEOF
96729 done
96739 echo "$as_me:$LINENO: checking for modff declaration" >&5
96740 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
96741 if test x${glibcxx_cv_func_modff_use+set} != xset; then
96742 if test "${glibcxx_cv_func_modff_use+set}" = set; then
96743 echo $ECHO_N "(cached) $ECHO_C" >&6
96744 else
96748 ac_ext=cc
96749 ac_cpp='$CXXCPP $CPPFLAGS'
96750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96754 cat >conftest.$ac_ext <<_ACEOF
96755 /* confdefs.h. */
96756 _ACEOF
96757 cat confdefs.h >>conftest.$ac_ext
96758 cat >>conftest.$ac_ext <<_ACEOF
96759 /* end confdefs.h. */
96760 #include <math.h>
96762 main ()
96764 modff(0, 0);
96766 return 0;
96768 _ACEOF
96769 rm -f conftest.$ac_objext
96770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96771 (eval $ac_compile) 2>conftest.er1
96772 ac_status=$?
96773 grep -v '^ *+' conftest.er1 >conftest.err
96774 rm -f conftest.er1
96775 cat conftest.err >&5
96776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96777 (exit $ac_status); } &&
96778 { ac_try='test -z "$ac_cxx_werror_flag"
96779 || test ! -s conftest.err'
96780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96781 (eval $ac_try) 2>&5
96782 ac_status=$?
96783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96784 (exit $ac_status); }; } &&
96785 { ac_try='test -s conftest.$ac_objext'
96786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96787 (eval $ac_try) 2>&5
96788 ac_status=$?
96789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96790 (exit $ac_status); }; }; then
96791 glibcxx_cv_func_modff_use=yes
96792 else
96793 echo "$as_me: failed program was:" >&5
96794 sed 's/^/| /' conftest.$ac_ext >&5
96796 glibcxx_cv_func_modff_use=no
96798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96799 ac_ext=c
96800 ac_cpp='$CPP $CPPFLAGS'
96801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
96810 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
96812 if test x$glibcxx_cv_func_modff_use = x"yes"; then
96814 for ac_func in modff
96816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96817 echo "$as_me:$LINENO: checking for $ac_func" >&5
96818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96819 if eval "test \"\${$as_ac_var+set}\" = set"; then
96820 echo $ECHO_N "(cached) $ECHO_C" >&6
96821 else
96822 if test x$gcc_no_link = xyes; then
96823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96825 { (exit 1); exit 1; }; }
96827 cat >conftest.$ac_ext <<_ACEOF
96828 /* confdefs.h. */
96829 _ACEOF
96830 cat confdefs.h >>conftest.$ac_ext
96831 cat >>conftest.$ac_ext <<_ACEOF
96832 /* end confdefs.h. */
96833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96835 #define $ac_func innocuous_$ac_func
96837 /* System header to define __stub macros and hopefully few prototypes,
96838 which can conflict with char $ac_func (); below.
96839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96840 <limits.h> exists even on freestanding compilers. */
96842 #ifdef __STDC__
96843 # include <limits.h>
96844 #else
96845 # include <assert.h>
96846 #endif
96848 #undef $ac_func
96850 /* Override any gcc2 internal prototype to avoid an error. */
96851 #ifdef __cplusplus
96852 extern "C"
96854 #endif
96855 /* We use char because int might match the return type of a gcc2
96856 builtin and then its argument prototype would still apply. */
96857 char $ac_func ();
96858 /* The GNU C library defines this for functions which it implements
96859 to always fail with ENOSYS. Some functions are actually named
96860 something starting with __ and the normal name is an alias. */
96861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96862 choke me
96863 #else
96864 char (*f) () = $ac_func;
96865 #endif
96866 #ifdef __cplusplus
96868 #endif
96871 main ()
96873 return f != $ac_func;
96875 return 0;
96877 _ACEOF
96878 rm -f conftest.$ac_objext conftest$ac_exeext
96879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96880 (eval $ac_link) 2>conftest.er1
96881 ac_status=$?
96882 grep -v '^ *+' conftest.er1 >conftest.err
96883 rm -f conftest.er1
96884 cat conftest.err >&5
96885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96886 (exit $ac_status); } &&
96887 { ac_try='test -z "$ac_c_werror_flag"
96888 || test ! -s conftest.err'
96889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96890 (eval $ac_try) 2>&5
96891 ac_status=$?
96892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96893 (exit $ac_status); }; } &&
96894 { ac_try='test -s conftest$ac_exeext'
96895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96896 (eval $ac_try) 2>&5
96897 ac_status=$?
96898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96899 (exit $ac_status); }; }; then
96900 eval "$as_ac_var=yes"
96901 else
96902 echo "$as_me: failed program was:" >&5
96903 sed 's/^/| /' conftest.$ac_ext >&5
96905 eval "$as_ac_var=no"
96907 rm -f conftest.err conftest.$ac_objext \
96908 conftest$ac_exeext conftest.$ac_ext
96910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96912 if test `eval echo '${'$as_ac_var'}'` = yes; then
96913 cat >>confdefs.h <<_ACEOF
96914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96915 _ACEOF
96918 done
96920 else
96922 echo "$as_me:$LINENO: checking for _modff declaration" >&5
96923 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
96924 if test x${glibcxx_cv_func__modff_use+set} != xset; then
96925 if test "${glibcxx_cv_func__modff_use+set}" = set; then
96926 echo $ECHO_N "(cached) $ECHO_C" >&6
96927 else
96931 ac_ext=cc
96932 ac_cpp='$CXXCPP $CPPFLAGS'
96933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96937 cat >conftest.$ac_ext <<_ACEOF
96938 /* confdefs.h. */
96939 _ACEOF
96940 cat confdefs.h >>conftest.$ac_ext
96941 cat >>conftest.$ac_ext <<_ACEOF
96942 /* end confdefs.h. */
96943 #include <math.h>
96945 main ()
96947 _modff(0, 0);
96949 return 0;
96951 _ACEOF
96952 rm -f conftest.$ac_objext
96953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96954 (eval $ac_compile) 2>conftest.er1
96955 ac_status=$?
96956 grep -v '^ *+' conftest.er1 >conftest.err
96957 rm -f conftest.er1
96958 cat conftest.err >&5
96959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96960 (exit $ac_status); } &&
96961 { ac_try='test -z "$ac_cxx_werror_flag"
96962 || test ! -s conftest.err'
96963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96964 (eval $ac_try) 2>&5
96965 ac_status=$?
96966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96967 (exit $ac_status); }; } &&
96968 { ac_try='test -s conftest.$ac_objext'
96969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96970 (eval $ac_try) 2>&5
96971 ac_status=$?
96972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96973 (exit $ac_status); }; }; then
96974 glibcxx_cv_func__modff_use=yes
96975 else
96976 echo "$as_me: failed program was:" >&5
96977 sed 's/^/| /' conftest.$ac_ext >&5
96979 glibcxx_cv_func__modff_use=no
96981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96982 ac_ext=c
96983 ac_cpp='$CPP $CPPFLAGS'
96984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
96993 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
96995 if test x$glibcxx_cv_func__modff_use = x"yes"; then
96997 for ac_func in _modff
96999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97000 echo "$as_me:$LINENO: checking for $ac_func" >&5
97001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97002 if eval "test \"\${$as_ac_var+set}\" = set"; then
97003 echo $ECHO_N "(cached) $ECHO_C" >&6
97004 else
97005 if test x$gcc_no_link = xyes; then
97006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97008 { (exit 1); exit 1; }; }
97010 cat >conftest.$ac_ext <<_ACEOF
97011 /* confdefs.h. */
97012 _ACEOF
97013 cat confdefs.h >>conftest.$ac_ext
97014 cat >>conftest.$ac_ext <<_ACEOF
97015 /* end confdefs.h. */
97016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97018 #define $ac_func innocuous_$ac_func
97020 /* System header to define __stub macros and hopefully few prototypes,
97021 which can conflict with char $ac_func (); below.
97022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97023 <limits.h> exists even on freestanding compilers. */
97025 #ifdef __STDC__
97026 # include <limits.h>
97027 #else
97028 # include <assert.h>
97029 #endif
97031 #undef $ac_func
97033 /* Override any gcc2 internal prototype to avoid an error. */
97034 #ifdef __cplusplus
97035 extern "C"
97037 #endif
97038 /* We use char because int might match the return type of a gcc2
97039 builtin and then its argument prototype would still apply. */
97040 char $ac_func ();
97041 /* The GNU C library defines this for functions which it implements
97042 to always fail with ENOSYS. Some functions are actually named
97043 something starting with __ and the normal name is an alias. */
97044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97045 choke me
97046 #else
97047 char (*f) () = $ac_func;
97048 #endif
97049 #ifdef __cplusplus
97051 #endif
97054 main ()
97056 return f != $ac_func;
97058 return 0;
97060 _ACEOF
97061 rm -f conftest.$ac_objext conftest$ac_exeext
97062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97063 (eval $ac_link) 2>conftest.er1
97064 ac_status=$?
97065 grep -v '^ *+' conftest.er1 >conftest.err
97066 rm -f conftest.er1
97067 cat conftest.err >&5
97068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97069 (exit $ac_status); } &&
97070 { ac_try='test -z "$ac_c_werror_flag"
97071 || test ! -s conftest.err'
97072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97073 (eval $ac_try) 2>&5
97074 ac_status=$?
97075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97076 (exit $ac_status); }; } &&
97077 { ac_try='test -s conftest$ac_exeext'
97078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97079 (eval $ac_try) 2>&5
97080 ac_status=$?
97081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97082 (exit $ac_status); }; }; then
97083 eval "$as_ac_var=yes"
97084 else
97085 echo "$as_me: failed program was:" >&5
97086 sed 's/^/| /' conftest.$ac_ext >&5
97088 eval "$as_ac_var=no"
97090 rm -f conftest.err conftest.$ac_objext \
97091 conftest$ac_exeext conftest.$ac_ext
97093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97095 if test `eval echo '${'$as_ac_var'}'` = yes; then
97096 cat >>confdefs.h <<_ACEOF
97097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97098 _ACEOF
97101 done
97111 echo "$as_me:$LINENO: checking for modf declaration" >&5
97112 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
97113 if test x${glibcxx_cv_func_modf_use+set} != xset; then
97114 if test "${glibcxx_cv_func_modf_use+set}" = set; then
97115 echo $ECHO_N "(cached) $ECHO_C" >&6
97116 else
97120 ac_ext=cc
97121 ac_cpp='$CXXCPP $CPPFLAGS'
97122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97126 cat >conftest.$ac_ext <<_ACEOF
97127 /* confdefs.h. */
97128 _ACEOF
97129 cat confdefs.h >>conftest.$ac_ext
97130 cat >>conftest.$ac_ext <<_ACEOF
97131 /* end confdefs.h. */
97132 #include <math.h>
97134 main ()
97136 modf(0, 0);
97138 return 0;
97140 _ACEOF
97141 rm -f conftest.$ac_objext
97142 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97143 (eval $ac_compile) 2>conftest.er1
97144 ac_status=$?
97145 grep -v '^ *+' conftest.er1 >conftest.err
97146 rm -f conftest.er1
97147 cat conftest.err >&5
97148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97149 (exit $ac_status); } &&
97150 { ac_try='test -z "$ac_cxx_werror_flag"
97151 || test ! -s conftest.err'
97152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97153 (eval $ac_try) 2>&5
97154 ac_status=$?
97155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97156 (exit $ac_status); }; } &&
97157 { ac_try='test -s conftest.$ac_objext'
97158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97159 (eval $ac_try) 2>&5
97160 ac_status=$?
97161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97162 (exit $ac_status); }; }; then
97163 glibcxx_cv_func_modf_use=yes
97164 else
97165 echo "$as_me: failed program was:" >&5
97166 sed 's/^/| /' conftest.$ac_ext >&5
97168 glibcxx_cv_func_modf_use=no
97170 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97171 ac_ext=c
97172 ac_cpp='$CPP $CPPFLAGS'
97173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97181 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
97182 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
97184 if test x$glibcxx_cv_func_modf_use = x"yes"; then
97186 for ac_func in modf
97188 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97189 echo "$as_me:$LINENO: checking for $ac_func" >&5
97190 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97191 if eval "test \"\${$as_ac_var+set}\" = set"; then
97192 echo $ECHO_N "(cached) $ECHO_C" >&6
97193 else
97194 if test x$gcc_no_link = xyes; then
97195 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97196 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97197 { (exit 1); exit 1; }; }
97199 cat >conftest.$ac_ext <<_ACEOF
97200 /* confdefs.h. */
97201 _ACEOF
97202 cat confdefs.h >>conftest.$ac_ext
97203 cat >>conftest.$ac_ext <<_ACEOF
97204 /* end confdefs.h. */
97205 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97206 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97207 #define $ac_func innocuous_$ac_func
97209 /* System header to define __stub macros and hopefully few prototypes,
97210 which can conflict with char $ac_func (); below.
97211 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97212 <limits.h> exists even on freestanding compilers. */
97214 #ifdef __STDC__
97215 # include <limits.h>
97216 #else
97217 # include <assert.h>
97218 #endif
97220 #undef $ac_func
97222 /* Override any gcc2 internal prototype to avoid an error. */
97223 #ifdef __cplusplus
97224 extern "C"
97226 #endif
97227 /* We use char because int might match the return type of a gcc2
97228 builtin and then its argument prototype would still apply. */
97229 char $ac_func ();
97230 /* The GNU C library defines this for functions which it implements
97231 to always fail with ENOSYS. Some functions are actually named
97232 something starting with __ and the normal name is an alias. */
97233 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97234 choke me
97235 #else
97236 char (*f) () = $ac_func;
97237 #endif
97238 #ifdef __cplusplus
97240 #endif
97243 main ()
97245 return f != $ac_func;
97247 return 0;
97249 _ACEOF
97250 rm -f conftest.$ac_objext conftest$ac_exeext
97251 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97252 (eval $ac_link) 2>conftest.er1
97253 ac_status=$?
97254 grep -v '^ *+' conftest.er1 >conftest.err
97255 rm -f conftest.er1
97256 cat conftest.err >&5
97257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97258 (exit $ac_status); } &&
97259 { ac_try='test -z "$ac_c_werror_flag"
97260 || test ! -s conftest.err'
97261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97262 (eval $ac_try) 2>&5
97263 ac_status=$?
97264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97265 (exit $ac_status); }; } &&
97266 { ac_try='test -s conftest$ac_exeext'
97267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97268 (eval $ac_try) 2>&5
97269 ac_status=$?
97270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97271 (exit $ac_status); }; }; then
97272 eval "$as_ac_var=yes"
97273 else
97274 echo "$as_me: failed program was:" >&5
97275 sed 's/^/| /' conftest.$ac_ext >&5
97277 eval "$as_ac_var=no"
97279 rm -f conftest.err conftest.$ac_objext \
97280 conftest$ac_exeext conftest.$ac_ext
97282 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97283 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97284 if test `eval echo '${'$as_ac_var'}'` = yes; then
97285 cat >>confdefs.h <<_ACEOF
97286 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97287 _ACEOF
97290 done
97292 else
97294 echo "$as_me:$LINENO: checking for _modf declaration" >&5
97295 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
97296 if test x${glibcxx_cv_func__modf_use+set} != xset; then
97297 if test "${glibcxx_cv_func__modf_use+set}" = set; then
97298 echo $ECHO_N "(cached) $ECHO_C" >&6
97299 else
97303 ac_ext=cc
97304 ac_cpp='$CXXCPP $CPPFLAGS'
97305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97309 cat >conftest.$ac_ext <<_ACEOF
97310 /* confdefs.h. */
97311 _ACEOF
97312 cat confdefs.h >>conftest.$ac_ext
97313 cat >>conftest.$ac_ext <<_ACEOF
97314 /* end confdefs.h. */
97315 #include <math.h>
97317 main ()
97319 _modf(0, 0);
97321 return 0;
97323 _ACEOF
97324 rm -f conftest.$ac_objext
97325 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97326 (eval $ac_compile) 2>conftest.er1
97327 ac_status=$?
97328 grep -v '^ *+' conftest.er1 >conftest.err
97329 rm -f conftest.er1
97330 cat conftest.err >&5
97331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97332 (exit $ac_status); } &&
97333 { ac_try='test -z "$ac_cxx_werror_flag"
97334 || test ! -s conftest.err'
97335 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97336 (eval $ac_try) 2>&5
97337 ac_status=$?
97338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97339 (exit $ac_status); }; } &&
97340 { ac_try='test -s conftest.$ac_objext'
97341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97342 (eval $ac_try) 2>&5
97343 ac_status=$?
97344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97345 (exit $ac_status); }; }; then
97346 glibcxx_cv_func__modf_use=yes
97347 else
97348 echo "$as_me: failed program was:" >&5
97349 sed 's/^/| /' conftest.$ac_ext >&5
97351 glibcxx_cv_func__modf_use=no
97353 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97354 ac_ext=c
97355 ac_cpp='$CPP $CPPFLAGS'
97356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97364 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
97365 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
97367 if test x$glibcxx_cv_func__modf_use = x"yes"; then
97369 for ac_func in _modf
97371 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97372 echo "$as_me:$LINENO: checking for $ac_func" >&5
97373 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97374 if eval "test \"\${$as_ac_var+set}\" = set"; then
97375 echo $ECHO_N "(cached) $ECHO_C" >&6
97376 else
97377 if test x$gcc_no_link = xyes; then
97378 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97379 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97380 { (exit 1); exit 1; }; }
97382 cat >conftest.$ac_ext <<_ACEOF
97383 /* confdefs.h. */
97384 _ACEOF
97385 cat confdefs.h >>conftest.$ac_ext
97386 cat >>conftest.$ac_ext <<_ACEOF
97387 /* end confdefs.h. */
97388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97390 #define $ac_func innocuous_$ac_func
97392 /* System header to define __stub macros and hopefully few prototypes,
97393 which can conflict with char $ac_func (); below.
97394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97395 <limits.h> exists even on freestanding compilers. */
97397 #ifdef __STDC__
97398 # include <limits.h>
97399 #else
97400 # include <assert.h>
97401 #endif
97403 #undef $ac_func
97405 /* Override any gcc2 internal prototype to avoid an error. */
97406 #ifdef __cplusplus
97407 extern "C"
97409 #endif
97410 /* We use char because int might match the return type of a gcc2
97411 builtin and then its argument prototype would still apply. */
97412 char $ac_func ();
97413 /* The GNU C library defines this for functions which it implements
97414 to always fail with ENOSYS. Some functions are actually named
97415 something starting with __ and the normal name is an alias. */
97416 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97417 choke me
97418 #else
97419 char (*f) () = $ac_func;
97420 #endif
97421 #ifdef __cplusplus
97423 #endif
97426 main ()
97428 return f != $ac_func;
97430 return 0;
97432 _ACEOF
97433 rm -f conftest.$ac_objext conftest$ac_exeext
97434 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97435 (eval $ac_link) 2>conftest.er1
97436 ac_status=$?
97437 grep -v '^ *+' conftest.er1 >conftest.err
97438 rm -f conftest.er1
97439 cat conftest.err >&5
97440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97441 (exit $ac_status); } &&
97442 { ac_try='test -z "$ac_c_werror_flag"
97443 || test ! -s conftest.err'
97444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97445 (eval $ac_try) 2>&5
97446 ac_status=$?
97447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97448 (exit $ac_status); }; } &&
97449 { ac_try='test -s conftest$ac_exeext'
97450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97451 (eval $ac_try) 2>&5
97452 ac_status=$?
97453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97454 (exit $ac_status); }; }; then
97455 eval "$as_ac_var=yes"
97456 else
97457 echo "$as_me: failed program was:" >&5
97458 sed 's/^/| /' conftest.$ac_ext >&5
97460 eval "$as_ac_var=no"
97462 rm -f conftest.err conftest.$ac_objext \
97463 conftest$ac_exeext conftest.$ac_ext
97465 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97466 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97467 if test `eval echo '${'$as_ac_var'}'` = yes; then
97468 cat >>confdefs.h <<_ACEOF
97469 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97470 _ACEOF
97473 done
97483 echo "$as_me:$LINENO: checking for powf declaration" >&5
97484 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
97485 if test x${glibcxx_cv_func_powf_use+set} != xset; then
97486 if test "${glibcxx_cv_func_powf_use+set}" = set; then
97487 echo $ECHO_N "(cached) $ECHO_C" >&6
97488 else
97492 ac_ext=cc
97493 ac_cpp='$CXXCPP $CPPFLAGS'
97494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97498 cat >conftest.$ac_ext <<_ACEOF
97499 /* confdefs.h. */
97500 _ACEOF
97501 cat confdefs.h >>conftest.$ac_ext
97502 cat >>conftest.$ac_ext <<_ACEOF
97503 /* end confdefs.h. */
97504 #include <math.h>
97506 main ()
97508 powf(0, 0);
97510 return 0;
97512 _ACEOF
97513 rm -f conftest.$ac_objext
97514 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97515 (eval $ac_compile) 2>conftest.er1
97516 ac_status=$?
97517 grep -v '^ *+' conftest.er1 >conftest.err
97518 rm -f conftest.er1
97519 cat conftest.err >&5
97520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97521 (exit $ac_status); } &&
97522 { ac_try='test -z "$ac_cxx_werror_flag"
97523 || test ! -s conftest.err'
97524 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97525 (eval $ac_try) 2>&5
97526 ac_status=$?
97527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97528 (exit $ac_status); }; } &&
97529 { ac_try='test -s conftest.$ac_objext'
97530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97531 (eval $ac_try) 2>&5
97532 ac_status=$?
97533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97534 (exit $ac_status); }; }; then
97535 glibcxx_cv_func_powf_use=yes
97536 else
97537 echo "$as_me: failed program was:" >&5
97538 sed 's/^/| /' conftest.$ac_ext >&5
97540 glibcxx_cv_func_powf_use=no
97542 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97543 ac_ext=c
97544 ac_cpp='$CPP $CPPFLAGS'
97545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97553 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
97554 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
97556 if test x$glibcxx_cv_func_powf_use = x"yes"; then
97558 for ac_func in powf
97560 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97561 echo "$as_me:$LINENO: checking for $ac_func" >&5
97562 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97563 if eval "test \"\${$as_ac_var+set}\" = set"; then
97564 echo $ECHO_N "(cached) $ECHO_C" >&6
97565 else
97566 if test x$gcc_no_link = xyes; then
97567 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97568 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97569 { (exit 1); exit 1; }; }
97571 cat >conftest.$ac_ext <<_ACEOF
97572 /* confdefs.h. */
97573 _ACEOF
97574 cat confdefs.h >>conftest.$ac_ext
97575 cat >>conftest.$ac_ext <<_ACEOF
97576 /* end confdefs.h. */
97577 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97578 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97579 #define $ac_func innocuous_$ac_func
97581 /* System header to define __stub macros and hopefully few prototypes,
97582 which can conflict with char $ac_func (); below.
97583 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97584 <limits.h> exists even on freestanding compilers. */
97586 #ifdef __STDC__
97587 # include <limits.h>
97588 #else
97589 # include <assert.h>
97590 #endif
97592 #undef $ac_func
97594 /* Override any gcc2 internal prototype to avoid an error. */
97595 #ifdef __cplusplus
97596 extern "C"
97598 #endif
97599 /* We use char because int might match the return type of a gcc2
97600 builtin and then its argument prototype would still apply. */
97601 char $ac_func ();
97602 /* The GNU C library defines this for functions which it implements
97603 to always fail with ENOSYS. Some functions are actually named
97604 something starting with __ and the normal name is an alias. */
97605 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97606 choke me
97607 #else
97608 char (*f) () = $ac_func;
97609 #endif
97610 #ifdef __cplusplus
97612 #endif
97615 main ()
97617 return f != $ac_func;
97619 return 0;
97621 _ACEOF
97622 rm -f conftest.$ac_objext conftest$ac_exeext
97623 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97624 (eval $ac_link) 2>conftest.er1
97625 ac_status=$?
97626 grep -v '^ *+' conftest.er1 >conftest.err
97627 rm -f conftest.er1
97628 cat conftest.err >&5
97629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97630 (exit $ac_status); } &&
97631 { ac_try='test -z "$ac_c_werror_flag"
97632 || test ! -s conftest.err'
97633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97634 (eval $ac_try) 2>&5
97635 ac_status=$?
97636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97637 (exit $ac_status); }; } &&
97638 { ac_try='test -s conftest$ac_exeext'
97639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97640 (eval $ac_try) 2>&5
97641 ac_status=$?
97642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97643 (exit $ac_status); }; }; then
97644 eval "$as_ac_var=yes"
97645 else
97646 echo "$as_me: failed program was:" >&5
97647 sed 's/^/| /' conftest.$ac_ext >&5
97649 eval "$as_ac_var=no"
97651 rm -f conftest.err conftest.$ac_objext \
97652 conftest$ac_exeext conftest.$ac_ext
97654 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97655 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97656 if test `eval echo '${'$as_ac_var'}'` = yes; then
97657 cat >>confdefs.h <<_ACEOF
97658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97659 _ACEOF
97662 done
97664 else
97666 echo "$as_me:$LINENO: checking for _powf declaration" >&5
97667 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
97668 if test x${glibcxx_cv_func__powf_use+set} != xset; then
97669 if test "${glibcxx_cv_func__powf_use+set}" = set; then
97670 echo $ECHO_N "(cached) $ECHO_C" >&6
97671 else
97675 ac_ext=cc
97676 ac_cpp='$CXXCPP $CPPFLAGS'
97677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97681 cat >conftest.$ac_ext <<_ACEOF
97682 /* confdefs.h. */
97683 _ACEOF
97684 cat confdefs.h >>conftest.$ac_ext
97685 cat >>conftest.$ac_ext <<_ACEOF
97686 /* end confdefs.h. */
97687 #include <math.h>
97689 main ()
97691 _powf(0, 0);
97693 return 0;
97695 _ACEOF
97696 rm -f conftest.$ac_objext
97697 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97698 (eval $ac_compile) 2>conftest.er1
97699 ac_status=$?
97700 grep -v '^ *+' conftest.er1 >conftest.err
97701 rm -f conftest.er1
97702 cat conftest.err >&5
97703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97704 (exit $ac_status); } &&
97705 { ac_try='test -z "$ac_cxx_werror_flag"
97706 || test ! -s conftest.err'
97707 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97708 (eval $ac_try) 2>&5
97709 ac_status=$?
97710 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97711 (exit $ac_status); }; } &&
97712 { ac_try='test -s conftest.$ac_objext'
97713 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97714 (eval $ac_try) 2>&5
97715 ac_status=$?
97716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97717 (exit $ac_status); }; }; then
97718 glibcxx_cv_func__powf_use=yes
97719 else
97720 echo "$as_me: failed program was:" >&5
97721 sed 's/^/| /' conftest.$ac_ext >&5
97723 glibcxx_cv_func__powf_use=no
97725 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97726 ac_ext=c
97727 ac_cpp='$CPP $CPPFLAGS'
97728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97736 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
97737 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
97739 if test x$glibcxx_cv_func__powf_use = x"yes"; then
97741 for ac_func in _powf
97743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97744 echo "$as_me:$LINENO: checking for $ac_func" >&5
97745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97746 if eval "test \"\${$as_ac_var+set}\" = set"; then
97747 echo $ECHO_N "(cached) $ECHO_C" >&6
97748 else
97749 if test x$gcc_no_link = xyes; then
97750 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97751 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97752 { (exit 1); exit 1; }; }
97754 cat >conftest.$ac_ext <<_ACEOF
97755 /* confdefs.h. */
97756 _ACEOF
97757 cat confdefs.h >>conftest.$ac_ext
97758 cat >>conftest.$ac_ext <<_ACEOF
97759 /* end confdefs.h. */
97760 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97761 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97762 #define $ac_func innocuous_$ac_func
97764 /* System header to define __stub macros and hopefully few prototypes,
97765 which can conflict with char $ac_func (); below.
97766 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97767 <limits.h> exists even on freestanding compilers. */
97769 #ifdef __STDC__
97770 # include <limits.h>
97771 #else
97772 # include <assert.h>
97773 #endif
97775 #undef $ac_func
97777 /* Override any gcc2 internal prototype to avoid an error. */
97778 #ifdef __cplusplus
97779 extern "C"
97781 #endif
97782 /* We use char because int might match the return type of a gcc2
97783 builtin and then its argument prototype would still apply. */
97784 char $ac_func ();
97785 /* The GNU C library defines this for functions which it implements
97786 to always fail with ENOSYS. Some functions are actually named
97787 something starting with __ and the normal name is an alias. */
97788 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97789 choke me
97790 #else
97791 char (*f) () = $ac_func;
97792 #endif
97793 #ifdef __cplusplus
97795 #endif
97798 main ()
97800 return f != $ac_func;
97802 return 0;
97804 _ACEOF
97805 rm -f conftest.$ac_objext conftest$ac_exeext
97806 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97807 (eval $ac_link) 2>conftest.er1
97808 ac_status=$?
97809 grep -v '^ *+' conftest.er1 >conftest.err
97810 rm -f conftest.er1
97811 cat conftest.err >&5
97812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97813 (exit $ac_status); } &&
97814 { ac_try='test -z "$ac_c_werror_flag"
97815 || test ! -s conftest.err'
97816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97817 (eval $ac_try) 2>&5
97818 ac_status=$?
97819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97820 (exit $ac_status); }; } &&
97821 { ac_try='test -s conftest$ac_exeext'
97822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97823 (eval $ac_try) 2>&5
97824 ac_status=$?
97825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97826 (exit $ac_status); }; }; then
97827 eval "$as_ac_var=yes"
97828 else
97829 echo "$as_me: failed program was:" >&5
97830 sed 's/^/| /' conftest.$ac_ext >&5
97832 eval "$as_ac_var=no"
97834 rm -f conftest.err conftest.$ac_objext \
97835 conftest$ac_exeext conftest.$ac_ext
97837 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97838 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97839 if test `eval echo '${'$as_ac_var'}'` = yes; then
97840 cat >>confdefs.h <<_ACEOF
97841 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97842 _ACEOF
97845 done
97855 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
97856 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
97857 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
97858 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
97859 echo $ECHO_N "(cached) $ECHO_C" >&6
97860 else
97864 ac_ext=cc
97865 ac_cpp='$CXXCPP $CPPFLAGS'
97866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97870 cat >conftest.$ac_ext <<_ACEOF
97871 /* confdefs.h. */
97872 _ACEOF
97873 cat confdefs.h >>conftest.$ac_ext
97874 cat >>conftest.$ac_ext <<_ACEOF
97875 /* end confdefs.h. */
97876 #include <math.h>
97877 #ifdef HAVE_IEEEFP_H
97878 #include <ieeefp.h>
97879 #endif
97882 main ()
97884 sqrtf(0);
97886 return 0;
97888 _ACEOF
97889 rm -f conftest.$ac_objext
97890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97891 (eval $ac_compile) 2>conftest.er1
97892 ac_status=$?
97893 grep -v '^ *+' conftest.er1 >conftest.err
97894 rm -f conftest.er1
97895 cat conftest.err >&5
97896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97897 (exit $ac_status); } &&
97898 { ac_try='test -z "$ac_cxx_werror_flag"
97899 || test ! -s conftest.err'
97900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97901 (eval $ac_try) 2>&5
97902 ac_status=$?
97903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97904 (exit $ac_status); }; } &&
97905 { ac_try='test -s conftest.$ac_objext'
97906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97907 (eval $ac_try) 2>&5
97908 ac_status=$?
97909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97910 (exit $ac_status); }; }; then
97911 glibcxx_cv_func_sqrtf_use=yes
97912 else
97913 echo "$as_me: failed program was:" >&5
97914 sed 's/^/| /' conftest.$ac_ext >&5
97916 glibcxx_cv_func_sqrtf_use=no
97918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97919 ac_ext=c
97920 ac_cpp='$CPP $CPPFLAGS'
97921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97929 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
97930 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
97932 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
97934 for ac_func in sqrtf
97936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97937 echo "$as_me:$LINENO: checking for $ac_func" >&5
97938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97939 if eval "test \"\${$as_ac_var+set}\" = set"; then
97940 echo $ECHO_N "(cached) $ECHO_C" >&6
97941 else
97942 if test x$gcc_no_link = xyes; then
97943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97945 { (exit 1); exit 1; }; }
97947 cat >conftest.$ac_ext <<_ACEOF
97948 /* confdefs.h. */
97949 _ACEOF
97950 cat confdefs.h >>conftest.$ac_ext
97951 cat >>conftest.$ac_ext <<_ACEOF
97952 /* end confdefs.h. */
97953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97955 #define $ac_func innocuous_$ac_func
97957 /* System header to define __stub macros and hopefully few prototypes,
97958 which can conflict with char $ac_func (); below.
97959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97960 <limits.h> exists even on freestanding compilers. */
97962 #ifdef __STDC__
97963 # include <limits.h>
97964 #else
97965 # include <assert.h>
97966 #endif
97968 #undef $ac_func
97970 /* Override any gcc2 internal prototype to avoid an error. */
97971 #ifdef __cplusplus
97972 extern "C"
97974 #endif
97975 /* We use char because int might match the return type of a gcc2
97976 builtin and then its argument prototype would still apply. */
97977 char $ac_func ();
97978 /* The GNU C library defines this for functions which it implements
97979 to always fail with ENOSYS. Some functions are actually named
97980 something starting with __ and the normal name is an alias. */
97981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97982 choke me
97983 #else
97984 char (*f) () = $ac_func;
97985 #endif
97986 #ifdef __cplusplus
97988 #endif
97991 main ()
97993 return f != $ac_func;
97995 return 0;
97997 _ACEOF
97998 rm -f conftest.$ac_objext conftest$ac_exeext
97999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98000 (eval $ac_link) 2>conftest.er1
98001 ac_status=$?
98002 grep -v '^ *+' conftest.er1 >conftest.err
98003 rm -f conftest.er1
98004 cat conftest.err >&5
98005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98006 (exit $ac_status); } &&
98007 { ac_try='test -z "$ac_c_werror_flag"
98008 || test ! -s conftest.err'
98009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98010 (eval $ac_try) 2>&5
98011 ac_status=$?
98012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98013 (exit $ac_status); }; } &&
98014 { ac_try='test -s conftest$ac_exeext'
98015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98016 (eval $ac_try) 2>&5
98017 ac_status=$?
98018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98019 (exit $ac_status); }; }; then
98020 eval "$as_ac_var=yes"
98021 else
98022 echo "$as_me: failed program was:" >&5
98023 sed 's/^/| /' conftest.$ac_ext >&5
98025 eval "$as_ac_var=no"
98027 rm -f conftest.err conftest.$ac_objext \
98028 conftest$ac_exeext conftest.$ac_ext
98030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98032 if test `eval echo '${'$as_ac_var'}'` = yes; then
98033 cat >>confdefs.h <<_ACEOF
98034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98035 _ACEOF
98038 done
98040 else
98042 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
98043 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
98044 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
98045 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
98046 echo $ECHO_N "(cached) $ECHO_C" >&6
98047 else
98051 ac_ext=cc
98052 ac_cpp='$CXXCPP $CPPFLAGS'
98053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98057 cat >conftest.$ac_ext <<_ACEOF
98058 /* confdefs.h. */
98059 _ACEOF
98060 cat confdefs.h >>conftest.$ac_ext
98061 cat >>conftest.$ac_ext <<_ACEOF
98062 /* end confdefs.h. */
98063 #include <math.h>
98064 #ifdef HAVE_IEEEFP_H
98065 #include <ieeefp.h>
98066 #endif
98069 main ()
98071 _sqrtf(0);
98073 return 0;
98075 _ACEOF
98076 rm -f conftest.$ac_objext
98077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98078 (eval $ac_compile) 2>conftest.er1
98079 ac_status=$?
98080 grep -v '^ *+' conftest.er1 >conftest.err
98081 rm -f conftest.er1
98082 cat conftest.err >&5
98083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98084 (exit $ac_status); } &&
98085 { ac_try='test -z "$ac_cxx_werror_flag"
98086 || test ! -s conftest.err'
98087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98088 (eval $ac_try) 2>&5
98089 ac_status=$?
98090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98091 (exit $ac_status); }; } &&
98092 { ac_try='test -s conftest.$ac_objext'
98093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98094 (eval $ac_try) 2>&5
98095 ac_status=$?
98096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98097 (exit $ac_status); }; }; then
98098 glibcxx_cv_func__sqrtf_use=yes
98099 else
98100 echo "$as_me: failed program was:" >&5
98101 sed 's/^/| /' conftest.$ac_ext >&5
98103 glibcxx_cv_func__sqrtf_use=no
98105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98106 ac_ext=c
98107 ac_cpp='$CPP $CPPFLAGS'
98108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98116 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
98117 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
98119 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
98121 for ac_func in _sqrtf
98123 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98124 echo "$as_me:$LINENO: checking for $ac_func" >&5
98125 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98126 if eval "test \"\${$as_ac_var+set}\" = set"; then
98127 echo $ECHO_N "(cached) $ECHO_C" >&6
98128 else
98129 if test x$gcc_no_link = xyes; then
98130 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98131 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98132 { (exit 1); exit 1; }; }
98134 cat >conftest.$ac_ext <<_ACEOF
98135 /* confdefs.h. */
98136 _ACEOF
98137 cat confdefs.h >>conftest.$ac_ext
98138 cat >>conftest.$ac_ext <<_ACEOF
98139 /* end confdefs.h. */
98140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98142 #define $ac_func innocuous_$ac_func
98144 /* System header to define __stub macros and hopefully few prototypes,
98145 which can conflict with char $ac_func (); below.
98146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98147 <limits.h> exists even on freestanding compilers. */
98149 #ifdef __STDC__
98150 # include <limits.h>
98151 #else
98152 # include <assert.h>
98153 #endif
98155 #undef $ac_func
98157 /* Override any gcc2 internal prototype to avoid an error. */
98158 #ifdef __cplusplus
98159 extern "C"
98161 #endif
98162 /* We use char because int might match the return type of a gcc2
98163 builtin and then its argument prototype would still apply. */
98164 char $ac_func ();
98165 /* The GNU C library defines this for functions which it implements
98166 to always fail with ENOSYS. Some functions are actually named
98167 something starting with __ and the normal name is an alias. */
98168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98169 choke me
98170 #else
98171 char (*f) () = $ac_func;
98172 #endif
98173 #ifdef __cplusplus
98175 #endif
98178 main ()
98180 return f != $ac_func;
98182 return 0;
98184 _ACEOF
98185 rm -f conftest.$ac_objext conftest$ac_exeext
98186 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98187 (eval $ac_link) 2>conftest.er1
98188 ac_status=$?
98189 grep -v '^ *+' conftest.er1 >conftest.err
98190 rm -f conftest.er1
98191 cat conftest.err >&5
98192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98193 (exit $ac_status); } &&
98194 { ac_try='test -z "$ac_c_werror_flag"
98195 || test ! -s conftest.err'
98196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98197 (eval $ac_try) 2>&5
98198 ac_status=$?
98199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98200 (exit $ac_status); }; } &&
98201 { ac_try='test -s conftest$ac_exeext'
98202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98203 (eval $ac_try) 2>&5
98204 ac_status=$?
98205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98206 (exit $ac_status); }; }; then
98207 eval "$as_ac_var=yes"
98208 else
98209 echo "$as_me: failed program was:" >&5
98210 sed 's/^/| /' conftest.$ac_ext >&5
98212 eval "$as_ac_var=no"
98214 rm -f conftest.err conftest.$ac_objext \
98215 conftest$ac_exeext conftest.$ac_ext
98217 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98218 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98219 if test `eval echo '${'$as_ac_var'}'` = yes; then
98220 cat >>confdefs.h <<_ACEOF
98221 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98222 _ACEOF
98225 done
98235 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
98236 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
98237 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
98238 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
98239 echo $ECHO_N "(cached) $ECHO_C" >&6
98240 else
98244 ac_ext=cc
98245 ac_cpp='$CXXCPP $CPPFLAGS'
98246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98250 cat >conftest.$ac_ext <<_ACEOF
98251 /* confdefs.h. */
98252 _ACEOF
98253 cat confdefs.h >>conftest.$ac_ext
98254 cat >>conftest.$ac_ext <<_ACEOF
98255 /* end confdefs.h. */
98256 #include <math.h>
98258 main ()
98260 sincosf(0, 0, 0);
98262 return 0;
98264 _ACEOF
98265 rm -f conftest.$ac_objext
98266 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98267 (eval $ac_compile) 2>conftest.er1
98268 ac_status=$?
98269 grep -v '^ *+' conftest.er1 >conftest.err
98270 rm -f conftest.er1
98271 cat conftest.err >&5
98272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98273 (exit $ac_status); } &&
98274 { ac_try='test -z "$ac_cxx_werror_flag"
98275 || test ! -s conftest.err'
98276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98277 (eval $ac_try) 2>&5
98278 ac_status=$?
98279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98280 (exit $ac_status); }; } &&
98281 { ac_try='test -s conftest.$ac_objext'
98282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98283 (eval $ac_try) 2>&5
98284 ac_status=$?
98285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98286 (exit $ac_status); }; }; then
98287 glibcxx_cv_func_sincosf_use=yes
98288 else
98289 echo "$as_me: failed program was:" >&5
98290 sed 's/^/| /' conftest.$ac_ext >&5
98292 glibcxx_cv_func_sincosf_use=no
98294 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98295 ac_ext=c
98296 ac_cpp='$CPP $CPPFLAGS'
98297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98305 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
98306 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
98308 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
98310 for ac_func in sincosf
98312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98313 echo "$as_me:$LINENO: checking for $ac_func" >&5
98314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98315 if eval "test \"\${$as_ac_var+set}\" = set"; then
98316 echo $ECHO_N "(cached) $ECHO_C" >&6
98317 else
98318 if test x$gcc_no_link = xyes; then
98319 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98320 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98321 { (exit 1); exit 1; }; }
98323 cat >conftest.$ac_ext <<_ACEOF
98324 /* confdefs.h. */
98325 _ACEOF
98326 cat confdefs.h >>conftest.$ac_ext
98327 cat >>conftest.$ac_ext <<_ACEOF
98328 /* end confdefs.h. */
98329 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98330 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98331 #define $ac_func innocuous_$ac_func
98333 /* System header to define __stub macros and hopefully few prototypes,
98334 which can conflict with char $ac_func (); below.
98335 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98336 <limits.h> exists even on freestanding compilers. */
98338 #ifdef __STDC__
98339 # include <limits.h>
98340 #else
98341 # include <assert.h>
98342 #endif
98344 #undef $ac_func
98346 /* Override any gcc2 internal prototype to avoid an error. */
98347 #ifdef __cplusplus
98348 extern "C"
98350 #endif
98351 /* We use char because int might match the return type of a gcc2
98352 builtin and then its argument prototype would still apply. */
98353 char $ac_func ();
98354 /* The GNU C library defines this for functions which it implements
98355 to always fail with ENOSYS. Some functions are actually named
98356 something starting with __ and the normal name is an alias. */
98357 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98358 choke me
98359 #else
98360 char (*f) () = $ac_func;
98361 #endif
98362 #ifdef __cplusplus
98364 #endif
98367 main ()
98369 return f != $ac_func;
98371 return 0;
98373 _ACEOF
98374 rm -f conftest.$ac_objext conftest$ac_exeext
98375 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98376 (eval $ac_link) 2>conftest.er1
98377 ac_status=$?
98378 grep -v '^ *+' conftest.er1 >conftest.err
98379 rm -f conftest.er1
98380 cat conftest.err >&5
98381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98382 (exit $ac_status); } &&
98383 { ac_try='test -z "$ac_c_werror_flag"
98384 || test ! -s conftest.err'
98385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98386 (eval $ac_try) 2>&5
98387 ac_status=$?
98388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98389 (exit $ac_status); }; } &&
98390 { ac_try='test -s conftest$ac_exeext'
98391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98392 (eval $ac_try) 2>&5
98393 ac_status=$?
98394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98395 (exit $ac_status); }; }; then
98396 eval "$as_ac_var=yes"
98397 else
98398 echo "$as_me: failed program was:" >&5
98399 sed 's/^/| /' conftest.$ac_ext >&5
98401 eval "$as_ac_var=no"
98403 rm -f conftest.err conftest.$ac_objext \
98404 conftest$ac_exeext conftest.$ac_ext
98406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98407 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98408 if test `eval echo '${'$as_ac_var'}'` = yes; then
98409 cat >>confdefs.h <<_ACEOF
98410 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98411 _ACEOF
98414 done
98416 else
98418 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
98419 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
98420 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
98421 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
98422 echo $ECHO_N "(cached) $ECHO_C" >&6
98423 else
98427 ac_ext=cc
98428 ac_cpp='$CXXCPP $CPPFLAGS'
98429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98433 cat >conftest.$ac_ext <<_ACEOF
98434 /* confdefs.h. */
98435 _ACEOF
98436 cat confdefs.h >>conftest.$ac_ext
98437 cat >>conftest.$ac_ext <<_ACEOF
98438 /* end confdefs.h. */
98439 #include <math.h>
98441 main ()
98443 _sincosf(0, 0, 0);
98445 return 0;
98447 _ACEOF
98448 rm -f conftest.$ac_objext
98449 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98450 (eval $ac_compile) 2>conftest.er1
98451 ac_status=$?
98452 grep -v '^ *+' conftest.er1 >conftest.err
98453 rm -f conftest.er1
98454 cat conftest.err >&5
98455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98456 (exit $ac_status); } &&
98457 { ac_try='test -z "$ac_cxx_werror_flag"
98458 || test ! -s conftest.err'
98459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98460 (eval $ac_try) 2>&5
98461 ac_status=$?
98462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98463 (exit $ac_status); }; } &&
98464 { ac_try='test -s conftest.$ac_objext'
98465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98466 (eval $ac_try) 2>&5
98467 ac_status=$?
98468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98469 (exit $ac_status); }; }; then
98470 glibcxx_cv_func__sincosf_use=yes
98471 else
98472 echo "$as_me: failed program was:" >&5
98473 sed 's/^/| /' conftest.$ac_ext >&5
98475 glibcxx_cv_func__sincosf_use=no
98477 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98478 ac_ext=c
98479 ac_cpp='$CPP $CPPFLAGS'
98480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98488 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
98489 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
98491 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
98493 for ac_func in _sincosf
98495 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98496 echo "$as_me:$LINENO: checking for $ac_func" >&5
98497 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98498 if eval "test \"\${$as_ac_var+set}\" = set"; then
98499 echo $ECHO_N "(cached) $ECHO_C" >&6
98500 else
98501 if test x$gcc_no_link = xyes; then
98502 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98503 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98504 { (exit 1); exit 1; }; }
98506 cat >conftest.$ac_ext <<_ACEOF
98507 /* confdefs.h. */
98508 _ACEOF
98509 cat confdefs.h >>conftest.$ac_ext
98510 cat >>conftest.$ac_ext <<_ACEOF
98511 /* end confdefs.h. */
98512 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98514 #define $ac_func innocuous_$ac_func
98516 /* System header to define __stub macros and hopefully few prototypes,
98517 which can conflict with char $ac_func (); below.
98518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98519 <limits.h> exists even on freestanding compilers. */
98521 #ifdef __STDC__
98522 # include <limits.h>
98523 #else
98524 # include <assert.h>
98525 #endif
98527 #undef $ac_func
98529 /* Override any gcc2 internal prototype to avoid an error. */
98530 #ifdef __cplusplus
98531 extern "C"
98533 #endif
98534 /* We use char because int might match the return type of a gcc2
98535 builtin and then its argument prototype would still apply. */
98536 char $ac_func ();
98537 /* The GNU C library defines this for functions which it implements
98538 to always fail with ENOSYS. Some functions are actually named
98539 something starting with __ and the normal name is an alias. */
98540 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98541 choke me
98542 #else
98543 char (*f) () = $ac_func;
98544 #endif
98545 #ifdef __cplusplus
98547 #endif
98550 main ()
98552 return f != $ac_func;
98554 return 0;
98556 _ACEOF
98557 rm -f conftest.$ac_objext conftest$ac_exeext
98558 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98559 (eval $ac_link) 2>conftest.er1
98560 ac_status=$?
98561 grep -v '^ *+' conftest.er1 >conftest.err
98562 rm -f conftest.er1
98563 cat conftest.err >&5
98564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98565 (exit $ac_status); } &&
98566 { ac_try='test -z "$ac_c_werror_flag"
98567 || test ! -s conftest.err'
98568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98569 (eval $ac_try) 2>&5
98570 ac_status=$?
98571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98572 (exit $ac_status); }; } &&
98573 { ac_try='test -s conftest$ac_exeext'
98574 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98575 (eval $ac_try) 2>&5
98576 ac_status=$?
98577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98578 (exit $ac_status); }; }; then
98579 eval "$as_ac_var=yes"
98580 else
98581 echo "$as_me: failed program was:" >&5
98582 sed 's/^/| /' conftest.$ac_ext >&5
98584 eval "$as_ac_var=no"
98586 rm -f conftest.err conftest.$ac_objext \
98587 conftest$ac_exeext conftest.$ac_ext
98589 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98590 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98591 if test `eval echo '${'$as_ac_var'}'` = yes; then
98592 cat >>confdefs.h <<_ACEOF
98593 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98594 _ACEOF
98597 done
98607 echo "$as_me:$LINENO: checking for finitef declaration" >&5
98608 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
98609 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
98610 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
98611 echo $ECHO_N "(cached) $ECHO_C" >&6
98612 else
98616 ac_ext=cc
98617 ac_cpp='$CXXCPP $CPPFLAGS'
98618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98622 cat >conftest.$ac_ext <<_ACEOF
98623 /* confdefs.h. */
98624 _ACEOF
98625 cat confdefs.h >>conftest.$ac_ext
98626 cat >>conftest.$ac_ext <<_ACEOF
98627 /* end confdefs.h. */
98628 #include <math.h>
98629 #ifdef HAVE_IEEEFP_H
98630 #include <ieeefp.h>
98631 #endif
98634 main ()
98636 finitef(0);
98638 return 0;
98640 _ACEOF
98641 rm -f conftest.$ac_objext
98642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98643 (eval $ac_compile) 2>conftest.er1
98644 ac_status=$?
98645 grep -v '^ *+' conftest.er1 >conftest.err
98646 rm -f conftest.er1
98647 cat conftest.err >&5
98648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98649 (exit $ac_status); } &&
98650 { ac_try='test -z "$ac_cxx_werror_flag"
98651 || test ! -s conftest.err'
98652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98653 (eval $ac_try) 2>&5
98654 ac_status=$?
98655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98656 (exit $ac_status); }; } &&
98657 { ac_try='test -s conftest.$ac_objext'
98658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98659 (eval $ac_try) 2>&5
98660 ac_status=$?
98661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98662 (exit $ac_status); }; }; then
98663 glibcxx_cv_func_finitef_use=yes
98664 else
98665 echo "$as_me: failed program was:" >&5
98666 sed 's/^/| /' conftest.$ac_ext >&5
98668 glibcxx_cv_func_finitef_use=no
98670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98671 ac_ext=c
98672 ac_cpp='$CPP $CPPFLAGS'
98673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98681 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
98682 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
98684 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
98686 for ac_func in finitef
98688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98689 echo "$as_me:$LINENO: checking for $ac_func" >&5
98690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98691 if eval "test \"\${$as_ac_var+set}\" = set"; then
98692 echo $ECHO_N "(cached) $ECHO_C" >&6
98693 else
98694 if test x$gcc_no_link = xyes; then
98695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98697 { (exit 1); exit 1; }; }
98699 cat >conftest.$ac_ext <<_ACEOF
98700 /* confdefs.h. */
98701 _ACEOF
98702 cat confdefs.h >>conftest.$ac_ext
98703 cat >>conftest.$ac_ext <<_ACEOF
98704 /* end confdefs.h. */
98705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98707 #define $ac_func innocuous_$ac_func
98709 /* System header to define __stub macros and hopefully few prototypes,
98710 which can conflict with char $ac_func (); below.
98711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98712 <limits.h> exists even on freestanding compilers. */
98714 #ifdef __STDC__
98715 # include <limits.h>
98716 #else
98717 # include <assert.h>
98718 #endif
98720 #undef $ac_func
98722 /* Override any gcc2 internal prototype to avoid an error. */
98723 #ifdef __cplusplus
98724 extern "C"
98726 #endif
98727 /* We use char because int might match the return type of a gcc2
98728 builtin and then its argument prototype would still apply. */
98729 char $ac_func ();
98730 /* The GNU C library defines this for functions which it implements
98731 to always fail with ENOSYS. Some functions are actually named
98732 something starting with __ and the normal name is an alias. */
98733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98734 choke me
98735 #else
98736 char (*f) () = $ac_func;
98737 #endif
98738 #ifdef __cplusplus
98740 #endif
98743 main ()
98745 return f != $ac_func;
98747 return 0;
98749 _ACEOF
98750 rm -f conftest.$ac_objext conftest$ac_exeext
98751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98752 (eval $ac_link) 2>conftest.er1
98753 ac_status=$?
98754 grep -v '^ *+' conftest.er1 >conftest.err
98755 rm -f conftest.er1
98756 cat conftest.err >&5
98757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98758 (exit $ac_status); } &&
98759 { ac_try='test -z "$ac_c_werror_flag"
98760 || test ! -s conftest.err'
98761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98762 (eval $ac_try) 2>&5
98763 ac_status=$?
98764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98765 (exit $ac_status); }; } &&
98766 { ac_try='test -s conftest$ac_exeext'
98767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98768 (eval $ac_try) 2>&5
98769 ac_status=$?
98770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98771 (exit $ac_status); }; }; then
98772 eval "$as_ac_var=yes"
98773 else
98774 echo "$as_me: failed program was:" >&5
98775 sed 's/^/| /' conftest.$ac_ext >&5
98777 eval "$as_ac_var=no"
98779 rm -f conftest.err conftest.$ac_objext \
98780 conftest$ac_exeext conftest.$ac_ext
98782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98784 if test `eval echo '${'$as_ac_var'}'` = yes; then
98785 cat >>confdefs.h <<_ACEOF
98786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98787 _ACEOF
98790 done
98792 else
98794 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
98795 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
98796 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
98797 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
98798 echo $ECHO_N "(cached) $ECHO_C" >&6
98799 else
98803 ac_ext=cc
98804 ac_cpp='$CXXCPP $CPPFLAGS'
98805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98809 cat >conftest.$ac_ext <<_ACEOF
98810 /* confdefs.h. */
98811 _ACEOF
98812 cat confdefs.h >>conftest.$ac_ext
98813 cat >>conftest.$ac_ext <<_ACEOF
98814 /* end confdefs.h. */
98815 #include <math.h>
98816 #ifdef HAVE_IEEEFP_H
98817 #include <ieeefp.h>
98818 #endif
98821 main ()
98823 _finitef(0);
98825 return 0;
98827 _ACEOF
98828 rm -f conftest.$ac_objext
98829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98830 (eval $ac_compile) 2>conftest.er1
98831 ac_status=$?
98832 grep -v '^ *+' conftest.er1 >conftest.err
98833 rm -f conftest.er1
98834 cat conftest.err >&5
98835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98836 (exit $ac_status); } &&
98837 { ac_try='test -z "$ac_cxx_werror_flag"
98838 || test ! -s conftest.err'
98839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98840 (eval $ac_try) 2>&5
98841 ac_status=$?
98842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98843 (exit $ac_status); }; } &&
98844 { ac_try='test -s conftest.$ac_objext'
98845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98846 (eval $ac_try) 2>&5
98847 ac_status=$?
98848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98849 (exit $ac_status); }; }; then
98850 glibcxx_cv_func__finitef_use=yes
98851 else
98852 echo "$as_me: failed program was:" >&5
98853 sed 's/^/| /' conftest.$ac_ext >&5
98855 glibcxx_cv_func__finitef_use=no
98857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98858 ac_ext=c
98859 ac_cpp='$CPP $CPPFLAGS'
98860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98868 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
98869 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
98871 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
98873 for ac_func in _finitef
98875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98876 echo "$as_me:$LINENO: checking for $ac_func" >&5
98877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98878 if eval "test \"\${$as_ac_var+set}\" = set"; then
98879 echo $ECHO_N "(cached) $ECHO_C" >&6
98880 else
98881 if test x$gcc_no_link = xyes; then
98882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98884 { (exit 1); exit 1; }; }
98886 cat >conftest.$ac_ext <<_ACEOF
98887 /* confdefs.h. */
98888 _ACEOF
98889 cat confdefs.h >>conftest.$ac_ext
98890 cat >>conftest.$ac_ext <<_ACEOF
98891 /* end confdefs.h. */
98892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98894 #define $ac_func innocuous_$ac_func
98896 /* System header to define __stub macros and hopefully few prototypes,
98897 which can conflict with char $ac_func (); below.
98898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98899 <limits.h> exists even on freestanding compilers. */
98901 #ifdef __STDC__
98902 # include <limits.h>
98903 #else
98904 # include <assert.h>
98905 #endif
98907 #undef $ac_func
98909 /* Override any gcc2 internal prototype to avoid an error. */
98910 #ifdef __cplusplus
98911 extern "C"
98913 #endif
98914 /* We use char because int might match the return type of a gcc2
98915 builtin and then its argument prototype would still apply. */
98916 char $ac_func ();
98917 /* The GNU C library defines this for functions which it implements
98918 to always fail with ENOSYS. Some functions are actually named
98919 something starting with __ and the normal name is an alias. */
98920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98921 choke me
98922 #else
98923 char (*f) () = $ac_func;
98924 #endif
98925 #ifdef __cplusplus
98927 #endif
98930 main ()
98932 return f != $ac_func;
98934 return 0;
98936 _ACEOF
98937 rm -f conftest.$ac_objext conftest$ac_exeext
98938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98939 (eval $ac_link) 2>conftest.er1
98940 ac_status=$?
98941 grep -v '^ *+' conftest.er1 >conftest.err
98942 rm -f conftest.er1
98943 cat conftest.err >&5
98944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98945 (exit $ac_status); } &&
98946 { ac_try='test -z "$ac_c_werror_flag"
98947 || test ! -s conftest.err'
98948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98949 (eval $ac_try) 2>&5
98950 ac_status=$?
98951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98952 (exit $ac_status); }; } &&
98953 { ac_try='test -s conftest$ac_exeext'
98954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98955 (eval $ac_try) 2>&5
98956 ac_status=$?
98957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98958 (exit $ac_status); }; }; then
98959 eval "$as_ac_var=yes"
98960 else
98961 echo "$as_me: failed program was:" >&5
98962 sed 's/^/| /' conftest.$ac_ext >&5
98964 eval "$as_ac_var=no"
98966 rm -f conftest.err conftest.$ac_objext \
98967 conftest$ac_exeext conftest.$ac_ext
98969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98971 if test `eval echo '${'$as_ac_var'}'` = yes; then
98972 cat >>confdefs.h <<_ACEOF
98973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98974 _ACEOF
98977 done
98987 echo "$as_me:$LINENO: checking for long double trig functions" >&5
98988 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
98989 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
98990 echo $ECHO_N "(cached) $ECHO_C" >&6
98991 else
98995 ac_ext=cc
98996 ac_cpp='$CXXCPP $CPPFLAGS'
98997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99001 cat >conftest.$ac_ext <<_ACEOF
99002 /* confdefs.h. */
99003 _ACEOF
99004 cat confdefs.h >>conftest.$ac_ext
99005 cat >>conftest.$ac_ext <<_ACEOF
99006 /* end confdefs.h. */
99007 #include <math.h>
99009 main ()
99011 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
99013 return 0;
99015 _ACEOF
99016 rm -f conftest.$ac_objext
99017 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99018 (eval $ac_compile) 2>conftest.er1
99019 ac_status=$?
99020 grep -v '^ *+' conftest.er1 >conftest.err
99021 rm -f conftest.er1
99022 cat conftest.err >&5
99023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99024 (exit $ac_status); } &&
99025 { ac_try='test -z "$ac_cxx_werror_flag"
99026 || test ! -s conftest.err'
99027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99028 (eval $ac_try) 2>&5
99029 ac_status=$?
99030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99031 (exit $ac_status); }; } &&
99032 { ac_try='test -s conftest.$ac_objext'
99033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99034 (eval $ac_try) 2>&5
99035 ac_status=$?
99036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99037 (exit $ac_status); }; }; then
99038 glibcxx_cv_func_long_double_trig_use=yes
99039 else
99040 echo "$as_me: failed program was:" >&5
99041 sed 's/^/| /' conftest.$ac_ext >&5
99043 glibcxx_cv_func_long_double_trig_use=no
99045 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99046 ac_ext=c
99047 ac_cpp='$CPP $CPPFLAGS'
99048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99054 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
99055 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
99056 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
99066 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
99068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99069 echo "$as_me:$LINENO: checking for $ac_func" >&5
99070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99071 if eval "test \"\${$as_ac_var+set}\" = set"; then
99072 echo $ECHO_N "(cached) $ECHO_C" >&6
99073 else
99074 if test x$gcc_no_link = xyes; then
99075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99077 { (exit 1); exit 1; }; }
99079 cat >conftest.$ac_ext <<_ACEOF
99080 /* confdefs.h. */
99081 _ACEOF
99082 cat confdefs.h >>conftest.$ac_ext
99083 cat >>conftest.$ac_ext <<_ACEOF
99084 /* end confdefs.h. */
99085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99087 #define $ac_func innocuous_$ac_func
99089 /* System header to define __stub macros and hopefully few prototypes,
99090 which can conflict with char $ac_func (); below.
99091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99092 <limits.h> exists even on freestanding compilers. */
99094 #ifdef __STDC__
99095 # include <limits.h>
99096 #else
99097 # include <assert.h>
99098 #endif
99100 #undef $ac_func
99102 /* Override any gcc2 internal prototype to avoid an error. */
99103 #ifdef __cplusplus
99104 extern "C"
99106 #endif
99107 /* We use char because int might match the return type of a gcc2
99108 builtin and then its argument prototype would still apply. */
99109 char $ac_func ();
99110 /* The GNU C library defines this for functions which it implements
99111 to always fail with ENOSYS. Some functions are actually named
99112 something starting with __ and the normal name is an alias. */
99113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99114 choke me
99115 #else
99116 char (*f) () = $ac_func;
99117 #endif
99118 #ifdef __cplusplus
99120 #endif
99123 main ()
99125 return f != $ac_func;
99127 return 0;
99129 _ACEOF
99130 rm -f conftest.$ac_objext conftest$ac_exeext
99131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99132 (eval $ac_link) 2>conftest.er1
99133 ac_status=$?
99134 grep -v '^ *+' conftest.er1 >conftest.err
99135 rm -f conftest.er1
99136 cat conftest.err >&5
99137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99138 (exit $ac_status); } &&
99139 { ac_try='test -z "$ac_c_werror_flag"
99140 || test ! -s conftest.err'
99141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99142 (eval $ac_try) 2>&5
99143 ac_status=$?
99144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99145 (exit $ac_status); }; } &&
99146 { ac_try='test -s conftest$ac_exeext'
99147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99148 (eval $ac_try) 2>&5
99149 ac_status=$?
99150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99151 (exit $ac_status); }; }; then
99152 eval "$as_ac_var=yes"
99153 else
99154 echo "$as_me: failed program was:" >&5
99155 sed 's/^/| /' conftest.$ac_ext >&5
99157 eval "$as_ac_var=no"
99159 rm -f conftest.err conftest.$ac_objext \
99160 conftest$ac_exeext conftest.$ac_ext
99162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99164 if test `eval echo '${'$as_ac_var'}'` = yes; then
99165 cat >>confdefs.h <<_ACEOF
99166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99167 _ACEOF
99170 done
99172 else
99173 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
99174 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
99175 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
99176 echo $ECHO_N "(cached) $ECHO_C" >&6
99177 else
99181 ac_ext=cc
99182 ac_cpp='$CXXCPP $CPPFLAGS'
99183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99187 cat >conftest.$ac_ext <<_ACEOF
99188 /* confdefs.h. */
99189 _ACEOF
99190 cat confdefs.h >>conftest.$ac_ext
99191 cat >>conftest.$ac_ext <<_ACEOF
99192 /* end confdefs.h. */
99193 #include <math.h>
99195 main ()
99197 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
99199 return 0;
99201 _ACEOF
99202 rm -f conftest.$ac_objext
99203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99204 (eval $ac_compile) 2>conftest.er1
99205 ac_status=$?
99206 grep -v '^ *+' conftest.er1 >conftest.err
99207 rm -f conftest.er1
99208 cat conftest.err >&5
99209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99210 (exit $ac_status); } &&
99211 { ac_try='test -z "$ac_cxx_werror_flag"
99212 || test ! -s conftest.err'
99213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99214 (eval $ac_try) 2>&5
99215 ac_status=$?
99216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99217 (exit $ac_status); }; } &&
99218 { ac_try='test -s conftest.$ac_objext'
99219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99220 (eval $ac_try) 2>&5
99221 ac_status=$?
99222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99223 (exit $ac_status); }; }; then
99224 glibcxx_cv_func__long_double_trig_use=yes
99225 else
99226 echo "$as_me: failed program was:" >&5
99227 sed 's/^/| /' conftest.$ac_ext >&5
99229 glibcxx_cv_func__long_double_trig_use=no
99231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99232 ac_ext=c
99233 ac_cpp='$CPP $CPPFLAGS'
99234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
99241 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
99242 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
99252 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
99254 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99255 echo "$as_me:$LINENO: checking for $ac_func" >&5
99256 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99257 if eval "test \"\${$as_ac_var+set}\" = set"; then
99258 echo $ECHO_N "(cached) $ECHO_C" >&6
99259 else
99260 if test x$gcc_no_link = xyes; then
99261 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99262 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99263 { (exit 1); exit 1; }; }
99265 cat >conftest.$ac_ext <<_ACEOF
99266 /* confdefs.h. */
99267 _ACEOF
99268 cat confdefs.h >>conftest.$ac_ext
99269 cat >>conftest.$ac_ext <<_ACEOF
99270 /* end confdefs.h. */
99271 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99272 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99273 #define $ac_func innocuous_$ac_func
99275 /* System header to define __stub macros and hopefully few prototypes,
99276 which can conflict with char $ac_func (); below.
99277 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99278 <limits.h> exists even on freestanding compilers. */
99280 #ifdef __STDC__
99281 # include <limits.h>
99282 #else
99283 # include <assert.h>
99284 #endif
99286 #undef $ac_func
99288 /* Override any gcc2 internal prototype to avoid an error. */
99289 #ifdef __cplusplus
99290 extern "C"
99292 #endif
99293 /* We use char because int might match the return type of a gcc2
99294 builtin and then its argument prototype would still apply. */
99295 char $ac_func ();
99296 /* The GNU C library defines this for functions which it implements
99297 to always fail with ENOSYS. Some functions are actually named
99298 something starting with __ and the normal name is an alias. */
99299 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99300 choke me
99301 #else
99302 char (*f) () = $ac_func;
99303 #endif
99304 #ifdef __cplusplus
99306 #endif
99309 main ()
99311 return f != $ac_func;
99313 return 0;
99315 _ACEOF
99316 rm -f conftest.$ac_objext conftest$ac_exeext
99317 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99318 (eval $ac_link) 2>conftest.er1
99319 ac_status=$?
99320 grep -v '^ *+' conftest.er1 >conftest.err
99321 rm -f conftest.er1
99322 cat conftest.err >&5
99323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99324 (exit $ac_status); } &&
99325 { ac_try='test -z "$ac_c_werror_flag"
99326 || test ! -s conftest.err'
99327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99328 (eval $ac_try) 2>&5
99329 ac_status=$?
99330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99331 (exit $ac_status); }; } &&
99332 { ac_try='test -s conftest$ac_exeext'
99333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99334 (eval $ac_try) 2>&5
99335 ac_status=$?
99336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99337 (exit $ac_status); }; }; then
99338 eval "$as_ac_var=yes"
99339 else
99340 echo "$as_me: failed program was:" >&5
99341 sed 's/^/| /' conftest.$ac_ext >&5
99343 eval "$as_ac_var=no"
99345 rm -f conftest.err conftest.$ac_objext \
99346 conftest$ac_exeext conftest.$ac_ext
99348 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99349 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99350 if test `eval echo '${'$as_ac_var'}'` = yes; then
99351 cat >>confdefs.h <<_ACEOF
99352 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99353 _ACEOF
99356 done
99374 echo "$as_me:$LINENO: checking for long double round functions" >&5
99375 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
99376 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
99377 echo $ECHO_N "(cached) $ECHO_C" >&6
99378 else
99382 ac_ext=cc
99383 ac_cpp='$CXXCPP $CPPFLAGS'
99384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99388 cat >conftest.$ac_ext <<_ACEOF
99389 /* confdefs.h. */
99390 _ACEOF
99391 cat confdefs.h >>conftest.$ac_ext
99392 cat >>conftest.$ac_ext <<_ACEOF
99393 /* end confdefs.h. */
99394 #include <math.h>
99396 main ()
99398 ceill (0); floorl (0);
99400 return 0;
99402 _ACEOF
99403 rm -f conftest.$ac_objext
99404 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99405 (eval $ac_compile) 2>conftest.er1
99406 ac_status=$?
99407 grep -v '^ *+' conftest.er1 >conftest.err
99408 rm -f conftest.er1
99409 cat conftest.err >&5
99410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99411 (exit $ac_status); } &&
99412 { ac_try='test -z "$ac_cxx_werror_flag"
99413 || test ! -s conftest.err'
99414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99415 (eval $ac_try) 2>&5
99416 ac_status=$?
99417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99418 (exit $ac_status); }; } &&
99419 { ac_try='test -s conftest.$ac_objext'
99420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99421 (eval $ac_try) 2>&5
99422 ac_status=$?
99423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99424 (exit $ac_status); }; }; then
99425 glibcxx_cv_func_long_double_round_use=yes
99426 else
99427 echo "$as_me: failed program was:" >&5
99428 sed 's/^/| /' conftest.$ac_ext >&5
99430 glibcxx_cv_func_long_double_round_use=no
99432 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99433 ac_ext=c
99434 ac_cpp='$CPP $CPPFLAGS'
99435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99441 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
99442 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
99443 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
99446 for ac_func in ceill floorl
99448 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99449 echo "$as_me:$LINENO: checking for $ac_func" >&5
99450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99451 if eval "test \"\${$as_ac_var+set}\" = set"; then
99452 echo $ECHO_N "(cached) $ECHO_C" >&6
99453 else
99454 if test x$gcc_no_link = xyes; then
99455 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99456 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99457 { (exit 1); exit 1; }; }
99459 cat >conftest.$ac_ext <<_ACEOF
99460 /* confdefs.h. */
99461 _ACEOF
99462 cat confdefs.h >>conftest.$ac_ext
99463 cat >>conftest.$ac_ext <<_ACEOF
99464 /* end confdefs.h. */
99465 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99466 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99467 #define $ac_func innocuous_$ac_func
99469 /* System header to define __stub macros and hopefully few prototypes,
99470 which can conflict with char $ac_func (); below.
99471 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99472 <limits.h> exists even on freestanding compilers. */
99474 #ifdef __STDC__
99475 # include <limits.h>
99476 #else
99477 # include <assert.h>
99478 #endif
99480 #undef $ac_func
99482 /* Override any gcc2 internal prototype to avoid an error. */
99483 #ifdef __cplusplus
99484 extern "C"
99486 #endif
99487 /* We use char because int might match the return type of a gcc2
99488 builtin and then its argument prototype would still apply. */
99489 char $ac_func ();
99490 /* The GNU C library defines this for functions which it implements
99491 to always fail with ENOSYS. Some functions are actually named
99492 something starting with __ and the normal name is an alias. */
99493 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99494 choke me
99495 #else
99496 char (*f) () = $ac_func;
99497 #endif
99498 #ifdef __cplusplus
99500 #endif
99503 main ()
99505 return f != $ac_func;
99507 return 0;
99509 _ACEOF
99510 rm -f conftest.$ac_objext conftest$ac_exeext
99511 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99512 (eval $ac_link) 2>conftest.er1
99513 ac_status=$?
99514 grep -v '^ *+' conftest.er1 >conftest.err
99515 rm -f conftest.er1
99516 cat conftest.err >&5
99517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99518 (exit $ac_status); } &&
99519 { ac_try='test -z "$ac_c_werror_flag"
99520 || test ! -s conftest.err'
99521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99522 (eval $ac_try) 2>&5
99523 ac_status=$?
99524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99525 (exit $ac_status); }; } &&
99526 { ac_try='test -s conftest$ac_exeext'
99527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99528 (eval $ac_try) 2>&5
99529 ac_status=$?
99530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99531 (exit $ac_status); }; }; then
99532 eval "$as_ac_var=yes"
99533 else
99534 echo "$as_me: failed program was:" >&5
99535 sed 's/^/| /' conftest.$ac_ext >&5
99537 eval "$as_ac_var=no"
99539 rm -f conftest.err conftest.$ac_objext \
99540 conftest$ac_exeext conftest.$ac_ext
99542 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99543 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99544 if test `eval echo '${'$as_ac_var'}'` = yes; then
99545 cat >>confdefs.h <<_ACEOF
99546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99547 _ACEOF
99550 done
99552 else
99553 echo "$as_me:$LINENO: checking for _long double round functions" >&5
99554 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
99555 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
99556 echo $ECHO_N "(cached) $ECHO_C" >&6
99557 else
99561 ac_ext=cc
99562 ac_cpp='$CXXCPP $CPPFLAGS'
99563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99567 cat >conftest.$ac_ext <<_ACEOF
99568 /* confdefs.h. */
99569 _ACEOF
99570 cat confdefs.h >>conftest.$ac_ext
99571 cat >>conftest.$ac_ext <<_ACEOF
99572 /* end confdefs.h. */
99573 #include <math.h>
99575 main ()
99577 _ceill (0); _floorl (0);
99579 return 0;
99581 _ACEOF
99582 rm -f conftest.$ac_objext
99583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99584 (eval $ac_compile) 2>conftest.er1
99585 ac_status=$?
99586 grep -v '^ *+' conftest.er1 >conftest.err
99587 rm -f conftest.er1
99588 cat conftest.err >&5
99589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99590 (exit $ac_status); } &&
99591 { ac_try='test -z "$ac_cxx_werror_flag"
99592 || test ! -s conftest.err'
99593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99594 (eval $ac_try) 2>&5
99595 ac_status=$?
99596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99597 (exit $ac_status); }; } &&
99598 { ac_try='test -s conftest.$ac_objext'
99599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99600 (eval $ac_try) 2>&5
99601 ac_status=$?
99602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99603 (exit $ac_status); }; }; then
99604 glibcxx_cv_func__long_double_round_use=yes
99605 else
99606 echo "$as_me: failed program was:" >&5
99607 sed 's/^/| /' conftest.$ac_ext >&5
99609 glibcxx_cv_func__long_double_round_use=no
99611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99612 ac_ext=c
99613 ac_cpp='$CPP $CPPFLAGS'
99614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
99621 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
99622 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
99625 for ac_func in _ceill _floorl
99627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99628 echo "$as_me:$LINENO: checking for $ac_func" >&5
99629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99630 if eval "test \"\${$as_ac_var+set}\" = set"; then
99631 echo $ECHO_N "(cached) $ECHO_C" >&6
99632 else
99633 if test x$gcc_no_link = xyes; then
99634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99636 { (exit 1); exit 1; }; }
99638 cat >conftest.$ac_ext <<_ACEOF
99639 /* confdefs.h. */
99640 _ACEOF
99641 cat confdefs.h >>conftest.$ac_ext
99642 cat >>conftest.$ac_ext <<_ACEOF
99643 /* end confdefs.h. */
99644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99646 #define $ac_func innocuous_$ac_func
99648 /* System header to define __stub macros and hopefully few prototypes,
99649 which can conflict with char $ac_func (); below.
99650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99651 <limits.h> exists even on freestanding compilers. */
99653 #ifdef __STDC__
99654 # include <limits.h>
99655 #else
99656 # include <assert.h>
99657 #endif
99659 #undef $ac_func
99661 /* Override any gcc2 internal prototype to avoid an error. */
99662 #ifdef __cplusplus
99663 extern "C"
99665 #endif
99666 /* We use char because int might match the return type of a gcc2
99667 builtin and then its argument prototype would still apply. */
99668 char $ac_func ();
99669 /* The GNU C library defines this for functions which it implements
99670 to always fail with ENOSYS. Some functions are actually named
99671 something starting with __ and the normal name is an alias. */
99672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99673 choke me
99674 #else
99675 char (*f) () = $ac_func;
99676 #endif
99677 #ifdef __cplusplus
99679 #endif
99682 main ()
99684 return f != $ac_func;
99686 return 0;
99688 _ACEOF
99689 rm -f conftest.$ac_objext conftest$ac_exeext
99690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99691 (eval $ac_link) 2>conftest.er1
99692 ac_status=$?
99693 grep -v '^ *+' conftest.er1 >conftest.err
99694 rm -f conftest.er1
99695 cat conftest.err >&5
99696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99697 (exit $ac_status); } &&
99698 { ac_try='test -z "$ac_c_werror_flag"
99699 || test ! -s conftest.err'
99700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99701 (eval $ac_try) 2>&5
99702 ac_status=$?
99703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99704 (exit $ac_status); }; } &&
99705 { ac_try='test -s conftest$ac_exeext'
99706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99707 (eval $ac_try) 2>&5
99708 ac_status=$?
99709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99710 (exit $ac_status); }; }; then
99711 eval "$as_ac_var=yes"
99712 else
99713 echo "$as_me: failed program was:" >&5
99714 sed 's/^/| /' conftest.$ac_ext >&5
99716 eval "$as_ac_var=no"
99718 rm -f conftest.err conftest.$ac_objext \
99719 conftest$ac_exeext conftest.$ac_ext
99721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99723 if test `eval echo '${'$as_ac_var'}'` = yes; then
99724 cat >>confdefs.h <<_ACEOF
99725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99726 _ACEOF
99729 done
99741 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
99742 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
99743 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
99744 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
99745 echo $ECHO_N "(cached) $ECHO_C" >&6
99746 else
99750 ac_ext=cc
99751 ac_cpp='$CXXCPP $CPPFLAGS'
99752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99756 cat >conftest.$ac_ext <<_ACEOF
99757 /* confdefs.h. */
99758 _ACEOF
99759 cat confdefs.h >>conftest.$ac_ext
99760 cat >>conftest.$ac_ext <<_ACEOF
99761 /* end confdefs.h. */
99762 #include <math.h>
99763 #ifdef HAVE_IEEEFP_H
99764 #include <ieeefp.h>
99765 #endif
99768 main ()
99770 isnanl(0);
99772 return 0;
99774 _ACEOF
99775 rm -f conftest.$ac_objext
99776 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99777 (eval $ac_compile) 2>conftest.er1
99778 ac_status=$?
99779 grep -v '^ *+' conftest.er1 >conftest.err
99780 rm -f conftest.er1
99781 cat conftest.err >&5
99782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99783 (exit $ac_status); } &&
99784 { ac_try='test -z "$ac_cxx_werror_flag"
99785 || test ! -s conftest.err'
99786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99787 (eval $ac_try) 2>&5
99788 ac_status=$?
99789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99790 (exit $ac_status); }; } &&
99791 { ac_try='test -s conftest.$ac_objext'
99792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99793 (eval $ac_try) 2>&5
99794 ac_status=$?
99795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99796 (exit $ac_status); }; }; then
99797 glibcxx_cv_func_isnanl_use=yes
99798 else
99799 echo "$as_me: failed program was:" >&5
99800 sed 's/^/| /' conftest.$ac_ext >&5
99802 glibcxx_cv_func_isnanl_use=no
99804 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99805 ac_ext=c
99806 ac_cpp='$CPP $CPPFLAGS'
99807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99815 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
99816 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
99818 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
99820 for ac_func in isnanl
99822 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99823 echo "$as_me:$LINENO: checking for $ac_func" >&5
99824 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99825 if eval "test \"\${$as_ac_var+set}\" = set"; then
99826 echo $ECHO_N "(cached) $ECHO_C" >&6
99827 else
99828 if test x$gcc_no_link = xyes; then
99829 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99830 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99831 { (exit 1); exit 1; }; }
99833 cat >conftest.$ac_ext <<_ACEOF
99834 /* confdefs.h. */
99835 _ACEOF
99836 cat confdefs.h >>conftest.$ac_ext
99837 cat >>conftest.$ac_ext <<_ACEOF
99838 /* end confdefs.h. */
99839 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99840 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99841 #define $ac_func innocuous_$ac_func
99843 /* System header to define __stub macros and hopefully few prototypes,
99844 which can conflict with char $ac_func (); below.
99845 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99846 <limits.h> exists even on freestanding compilers. */
99848 #ifdef __STDC__
99849 # include <limits.h>
99850 #else
99851 # include <assert.h>
99852 #endif
99854 #undef $ac_func
99856 /* Override any gcc2 internal prototype to avoid an error. */
99857 #ifdef __cplusplus
99858 extern "C"
99860 #endif
99861 /* We use char because int might match the return type of a gcc2
99862 builtin and then its argument prototype would still apply. */
99863 char $ac_func ();
99864 /* The GNU C library defines this for functions which it implements
99865 to always fail with ENOSYS. Some functions are actually named
99866 something starting with __ and the normal name is an alias. */
99867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99868 choke me
99869 #else
99870 char (*f) () = $ac_func;
99871 #endif
99872 #ifdef __cplusplus
99874 #endif
99877 main ()
99879 return f != $ac_func;
99881 return 0;
99883 _ACEOF
99884 rm -f conftest.$ac_objext conftest$ac_exeext
99885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99886 (eval $ac_link) 2>conftest.er1
99887 ac_status=$?
99888 grep -v '^ *+' conftest.er1 >conftest.err
99889 rm -f conftest.er1
99890 cat conftest.err >&5
99891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99892 (exit $ac_status); } &&
99893 { ac_try='test -z "$ac_c_werror_flag"
99894 || test ! -s conftest.err'
99895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99896 (eval $ac_try) 2>&5
99897 ac_status=$?
99898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99899 (exit $ac_status); }; } &&
99900 { ac_try='test -s conftest$ac_exeext'
99901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99902 (eval $ac_try) 2>&5
99903 ac_status=$?
99904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99905 (exit $ac_status); }; }; then
99906 eval "$as_ac_var=yes"
99907 else
99908 echo "$as_me: failed program was:" >&5
99909 sed 's/^/| /' conftest.$ac_ext >&5
99911 eval "$as_ac_var=no"
99913 rm -f conftest.err conftest.$ac_objext \
99914 conftest$ac_exeext conftest.$ac_ext
99916 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99917 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99918 if test `eval echo '${'$as_ac_var'}'` = yes; then
99919 cat >>confdefs.h <<_ACEOF
99920 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99921 _ACEOF
99924 done
99926 else
99928 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
99929 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
99930 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
99931 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
99932 echo $ECHO_N "(cached) $ECHO_C" >&6
99933 else
99937 ac_ext=cc
99938 ac_cpp='$CXXCPP $CPPFLAGS'
99939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99943 cat >conftest.$ac_ext <<_ACEOF
99944 /* confdefs.h. */
99945 _ACEOF
99946 cat confdefs.h >>conftest.$ac_ext
99947 cat >>conftest.$ac_ext <<_ACEOF
99948 /* end confdefs.h. */
99949 #include <math.h>
99950 #ifdef HAVE_IEEEFP_H
99951 #include <ieeefp.h>
99952 #endif
99955 main ()
99957 _isnanl(0);
99959 return 0;
99961 _ACEOF
99962 rm -f conftest.$ac_objext
99963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99964 (eval $ac_compile) 2>conftest.er1
99965 ac_status=$?
99966 grep -v '^ *+' conftest.er1 >conftest.err
99967 rm -f conftest.er1
99968 cat conftest.err >&5
99969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99970 (exit $ac_status); } &&
99971 { ac_try='test -z "$ac_cxx_werror_flag"
99972 || test ! -s conftest.err'
99973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99974 (eval $ac_try) 2>&5
99975 ac_status=$?
99976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99977 (exit $ac_status); }; } &&
99978 { ac_try='test -s conftest.$ac_objext'
99979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99980 (eval $ac_try) 2>&5
99981 ac_status=$?
99982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99983 (exit $ac_status); }; }; then
99984 glibcxx_cv_func__isnanl_use=yes
99985 else
99986 echo "$as_me: failed program was:" >&5
99987 sed 's/^/| /' conftest.$ac_ext >&5
99989 glibcxx_cv_func__isnanl_use=no
99991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99992 ac_ext=c
99993 ac_cpp='$CPP $CPPFLAGS'
99994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
100003 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
100005 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
100007 for ac_func in _isnanl
100009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100010 echo "$as_me:$LINENO: checking for $ac_func" >&5
100011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100012 if eval "test \"\${$as_ac_var+set}\" = set"; then
100013 echo $ECHO_N "(cached) $ECHO_C" >&6
100015 if test x$gcc_no_link = xyes; then
100016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100018 { (exit 1); exit 1; }; }
100020 cat >conftest.$ac_ext <<_ACEOF
100021 /* confdefs.h. */
100022 _ACEOF
100023 cat confdefs.h >>conftest.$ac_ext
100024 cat >>conftest.$ac_ext <<_ACEOF
100025 /* end confdefs.h. */
100026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100028 #define $ac_func innocuous_$ac_func
100030 /* System header to define __stub macros and hopefully few prototypes,
100031 which can conflict with char $ac_func (); below.
100032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100033 <limits.h> exists even on freestanding compilers. */
100035 #ifdef __STDC__
100036 # include <limits.h>
100037 #else
100038 # include <assert.h>
100039 #endif
100041 #undef $ac_func
100043 /* Override any gcc2 internal prototype to avoid an error. */
100044 #ifdef __cplusplus
100045 extern "C"
100047 #endif
100048 /* We use char because int might match the return type of a gcc2
100049 builtin and then its argument prototype would still apply. */
100050 char $ac_func ();
100051 /* The GNU C library defines this for functions which it implements
100052 to always fail with ENOSYS. Some functions are actually named
100053 something starting with __ and the normal name is an alias. */
100054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100055 choke me
100056 #else
100057 char (*f) () = $ac_func;
100058 #endif
100059 #ifdef __cplusplus
100061 #endif
100064 main ()
100066 return f != $ac_func;
100068 return 0;
100070 _ACEOF
100071 rm -f conftest.$ac_objext conftest$ac_exeext
100072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100073 (eval $ac_link) 2>conftest.er1
100074 ac_status=$?
100075 grep -v '^ *+' conftest.er1 >conftest.err
100076 rm -f conftest.er1
100077 cat conftest.err >&5
100078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100079 (exit $ac_status); } &&
100080 { ac_try='test -z "$ac_c_werror_flag"
100081 || test ! -s conftest.err'
100082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100083 (eval $ac_try) 2>&5
100084 ac_status=$?
100085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100086 (exit $ac_status); }; } &&
100087 { ac_try='test -s conftest$ac_exeext'
100088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100089 (eval $ac_try) 2>&5
100090 ac_status=$?
100091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100092 (exit $ac_status); }; }; then
100093 eval "$as_ac_var=yes"
100095 echo "$as_me: failed program was:" >&5
100096 sed 's/^/| /' conftest.$ac_ext >&5
100098 eval "$as_ac_var=no"
100100 rm -f conftest.err conftest.$ac_objext \
100101 conftest$ac_exeext conftest.$ac_ext
100103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100105 if test `eval echo '${'$as_ac_var'}'` = yes; then
100106 cat >>confdefs.h <<_ACEOF
100107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100108 _ACEOF
100121 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
100122 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
100123 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
100124 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
100125 echo $ECHO_N "(cached) $ECHO_C" >&6
100130 ac_ext=cc
100131 ac_cpp='$CXXCPP $CPPFLAGS'
100132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100136 cat >conftest.$ac_ext <<_ACEOF
100137 /* confdefs.h. */
100138 _ACEOF
100139 cat confdefs.h >>conftest.$ac_ext
100140 cat >>conftest.$ac_ext <<_ACEOF
100141 /* end confdefs.h. */
100142 #include <math.h>
100143 #ifdef HAVE_IEEEFP_H
100144 #include <ieeefp.h>
100145 #endif
100148 main ()
100150 isinfl(0);
100152 return 0;
100154 _ACEOF
100155 rm -f conftest.$ac_objext
100156 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100157 (eval $ac_compile) 2>conftest.er1
100158 ac_status=$?
100159 grep -v '^ *+' conftest.er1 >conftest.err
100160 rm -f conftest.er1
100161 cat conftest.err >&5
100162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100163 (exit $ac_status); } &&
100164 { ac_try='test -z "$ac_cxx_werror_flag"
100165 || test ! -s conftest.err'
100166 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100167 (eval $ac_try) 2>&5
100168 ac_status=$?
100169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100170 (exit $ac_status); }; } &&
100171 { ac_try='test -s conftest.$ac_objext'
100172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100173 (eval $ac_try) 2>&5
100174 ac_status=$?
100175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100176 (exit $ac_status); }; }; then
100177 glibcxx_cv_func_isinfl_use=yes
100179 echo "$as_me: failed program was:" >&5
100180 sed 's/^/| /' conftest.$ac_ext >&5
100182 glibcxx_cv_func_isinfl_use=no
100184 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100185 ac_ext=c
100186 ac_cpp='$CPP $CPPFLAGS'
100187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100195 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
100196 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
100198 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
100200 for ac_func in isinfl
100202 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100203 echo "$as_me:$LINENO: checking for $ac_func" >&5
100204 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100205 if eval "test \"\${$as_ac_var+set}\" = set"; then
100206 echo $ECHO_N "(cached) $ECHO_C" >&6
100208 if test x$gcc_no_link = xyes; then
100209 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100210 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100211 { (exit 1); exit 1; }; }
100213 cat >conftest.$ac_ext <<_ACEOF
100214 /* confdefs.h. */
100215 _ACEOF
100216 cat confdefs.h >>conftest.$ac_ext
100217 cat >>conftest.$ac_ext <<_ACEOF
100218 /* end confdefs.h. */
100219 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100220 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100221 #define $ac_func innocuous_$ac_func
100223 /* System header to define __stub macros and hopefully few prototypes,
100224 which can conflict with char $ac_func (); below.
100225 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100226 <limits.h> exists even on freestanding compilers. */
100228 #ifdef __STDC__
100229 # include <limits.h>
100230 #else
100231 # include <assert.h>
100232 #endif
100234 #undef $ac_func
100236 /* Override any gcc2 internal prototype to avoid an error. */
100237 #ifdef __cplusplus
100238 extern "C"
100240 #endif
100241 /* We use char because int might match the return type of a gcc2
100242 builtin and then its argument prototype would still apply. */
100243 char $ac_func ();
100244 /* The GNU C library defines this for functions which it implements
100245 to always fail with ENOSYS. Some functions are actually named
100246 something starting with __ and the normal name is an alias. */
100247 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100248 choke me
100249 #else
100250 char (*f) () = $ac_func;
100251 #endif
100252 #ifdef __cplusplus
100254 #endif
100257 main ()
100259 return f != $ac_func;
100261 return 0;
100263 _ACEOF
100264 rm -f conftest.$ac_objext conftest$ac_exeext
100265 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100266 (eval $ac_link) 2>conftest.er1
100267 ac_status=$?
100268 grep -v '^ *+' conftest.er1 >conftest.err
100269 rm -f conftest.er1
100270 cat conftest.err >&5
100271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100272 (exit $ac_status); } &&
100273 { ac_try='test -z "$ac_c_werror_flag"
100274 || test ! -s conftest.err'
100275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100276 (eval $ac_try) 2>&5
100277 ac_status=$?
100278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100279 (exit $ac_status); }; } &&
100280 { ac_try='test -s conftest$ac_exeext'
100281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100282 (eval $ac_try) 2>&5
100283 ac_status=$?
100284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100285 (exit $ac_status); }; }; then
100286 eval "$as_ac_var=yes"
100288 echo "$as_me: failed program was:" >&5
100289 sed 's/^/| /' conftest.$ac_ext >&5
100291 eval "$as_ac_var=no"
100293 rm -f conftest.err conftest.$ac_objext \
100294 conftest$ac_exeext conftest.$ac_ext
100296 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100297 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100298 if test `eval echo '${'$as_ac_var'}'` = yes; then
100299 cat >>confdefs.h <<_ACEOF
100300 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100301 _ACEOF
100308 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
100309 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
100310 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
100311 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
100312 echo $ECHO_N "(cached) $ECHO_C" >&6
100317 ac_ext=cc
100318 ac_cpp='$CXXCPP $CPPFLAGS'
100319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100323 cat >conftest.$ac_ext <<_ACEOF
100324 /* confdefs.h. */
100325 _ACEOF
100326 cat confdefs.h >>conftest.$ac_ext
100327 cat >>conftest.$ac_ext <<_ACEOF
100328 /* end confdefs.h. */
100329 #include <math.h>
100330 #ifdef HAVE_IEEEFP_H
100331 #include <ieeefp.h>
100332 #endif
100335 main ()
100337 _isinfl(0);
100339 return 0;
100341 _ACEOF
100342 rm -f conftest.$ac_objext
100343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100344 (eval $ac_compile) 2>conftest.er1
100345 ac_status=$?
100346 grep -v '^ *+' conftest.er1 >conftest.err
100347 rm -f conftest.er1
100348 cat conftest.err >&5
100349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100350 (exit $ac_status); } &&
100351 { ac_try='test -z "$ac_cxx_werror_flag"
100352 || test ! -s conftest.err'
100353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100354 (eval $ac_try) 2>&5
100355 ac_status=$?
100356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100357 (exit $ac_status); }; } &&
100358 { ac_try='test -s conftest.$ac_objext'
100359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100360 (eval $ac_try) 2>&5
100361 ac_status=$?
100362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100363 (exit $ac_status); }; }; then
100364 glibcxx_cv_func__isinfl_use=yes
100366 echo "$as_me: failed program was:" >&5
100367 sed 's/^/| /' conftest.$ac_ext >&5
100369 glibcxx_cv_func__isinfl_use=no
100371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100372 ac_ext=c
100373 ac_cpp='$CPP $CPPFLAGS'
100374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100382 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
100383 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
100385 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
100387 for ac_func in _isinfl
100389 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100390 echo "$as_me:$LINENO: checking for $ac_func" >&5
100391 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100392 if eval "test \"\${$as_ac_var+set}\" = set"; then
100393 echo $ECHO_N "(cached) $ECHO_C" >&6
100395 if test x$gcc_no_link = xyes; then
100396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100398 { (exit 1); exit 1; }; }
100400 cat >conftest.$ac_ext <<_ACEOF
100401 /* confdefs.h. */
100402 _ACEOF
100403 cat confdefs.h >>conftest.$ac_ext
100404 cat >>conftest.$ac_ext <<_ACEOF
100405 /* end confdefs.h. */
100406 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100407 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100408 #define $ac_func innocuous_$ac_func
100410 /* System header to define __stub macros and hopefully few prototypes,
100411 which can conflict with char $ac_func (); below.
100412 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100413 <limits.h> exists even on freestanding compilers. */
100415 #ifdef __STDC__
100416 # include <limits.h>
100417 #else
100418 # include <assert.h>
100419 #endif
100421 #undef $ac_func
100423 /* Override any gcc2 internal prototype to avoid an error. */
100424 #ifdef __cplusplus
100425 extern "C"
100427 #endif
100428 /* We use char because int might match the return type of a gcc2
100429 builtin and then its argument prototype would still apply. */
100430 char $ac_func ();
100431 /* The GNU C library defines this for functions which it implements
100432 to always fail with ENOSYS. Some functions are actually named
100433 something starting with __ and the normal name is an alias. */
100434 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100435 choke me
100436 #else
100437 char (*f) () = $ac_func;
100438 #endif
100439 #ifdef __cplusplus
100441 #endif
100444 main ()
100446 return f != $ac_func;
100448 return 0;
100450 _ACEOF
100451 rm -f conftest.$ac_objext conftest$ac_exeext
100452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100453 (eval $ac_link) 2>conftest.er1
100454 ac_status=$?
100455 grep -v '^ *+' conftest.er1 >conftest.err
100456 rm -f conftest.er1
100457 cat conftest.err >&5
100458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100459 (exit $ac_status); } &&
100460 { ac_try='test -z "$ac_c_werror_flag"
100461 || test ! -s conftest.err'
100462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100463 (eval $ac_try) 2>&5
100464 ac_status=$?
100465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100466 (exit $ac_status); }; } &&
100467 { ac_try='test -s conftest$ac_exeext'
100468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100469 (eval $ac_try) 2>&5
100470 ac_status=$?
100471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100472 (exit $ac_status); }; }; then
100473 eval "$as_ac_var=yes"
100475 echo "$as_me: failed program was:" >&5
100476 sed 's/^/| /' conftest.$ac_ext >&5
100478 eval "$as_ac_var=no"
100480 rm -f conftest.err conftest.$ac_objext \
100481 conftest$ac_exeext conftest.$ac_ext
100483 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100484 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100485 if test `eval echo '${'$as_ac_var'}'` = yes; then
100486 cat >>confdefs.h <<_ACEOF
100487 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100488 _ACEOF
100501 echo "$as_me:$LINENO: checking for copysignl declaration" >&5
100502 echo $ECHO_N "checking for copysignl declaration... $ECHO_C" >&6
100503 if test x${glibcxx_cv_func_copysignl_use+set} != xset; then
100504 if test "${glibcxx_cv_func_copysignl_use+set}" = set; then
100505 echo $ECHO_N "(cached) $ECHO_C" >&6
100510 ac_ext=cc
100511 ac_cpp='$CXXCPP $CPPFLAGS'
100512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100516 cat >conftest.$ac_ext <<_ACEOF
100517 /* confdefs.h. */
100518 _ACEOF
100519 cat confdefs.h >>conftest.$ac_ext
100520 cat >>conftest.$ac_ext <<_ACEOF
100521 /* end confdefs.h. */
100522 #include <math.h>
100524 main ()
100526 copysignl(0, 0);
100528 return 0;
100530 _ACEOF
100531 rm -f conftest.$ac_objext
100532 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100533 (eval $ac_compile) 2>conftest.er1
100534 ac_status=$?
100535 grep -v '^ *+' conftest.er1 >conftest.err
100536 rm -f conftest.er1
100537 cat conftest.err >&5
100538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100539 (exit $ac_status); } &&
100540 { ac_try='test -z "$ac_cxx_werror_flag"
100541 || test ! -s conftest.err'
100542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100543 (eval $ac_try) 2>&5
100544 ac_status=$?
100545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100546 (exit $ac_status); }; } &&
100547 { ac_try='test -s conftest.$ac_objext'
100548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100549 (eval $ac_try) 2>&5
100550 ac_status=$?
100551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100552 (exit $ac_status); }; }; then
100553 glibcxx_cv_func_copysignl_use=yes
100555 echo "$as_me: failed program was:" >&5
100556 sed 's/^/| /' conftest.$ac_ext >&5
100558 glibcxx_cv_func_copysignl_use=no
100560 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100561 ac_ext=c
100562 ac_cpp='$CPP $CPPFLAGS'
100563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100571 echo "$as_me:$LINENO: result: $glibcxx_cv_func_copysignl_use" >&5
100572 echo "${ECHO_T}$glibcxx_cv_func_copysignl_use" >&6
100574 if test x$glibcxx_cv_func_copysignl_use = x"yes"; then
100576 for ac_func in copysignl
100578 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100579 echo "$as_me:$LINENO: checking for $ac_func" >&5
100580 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100581 if eval "test \"\${$as_ac_var+set}\" = set"; then
100582 echo $ECHO_N "(cached) $ECHO_C" >&6
100584 if test x$gcc_no_link = xyes; then
100585 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100586 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100587 { (exit 1); exit 1; }; }
100589 cat >conftest.$ac_ext <<_ACEOF
100590 /* confdefs.h. */
100591 _ACEOF
100592 cat confdefs.h >>conftest.$ac_ext
100593 cat >>conftest.$ac_ext <<_ACEOF
100594 /* end confdefs.h. */
100595 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100596 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100597 #define $ac_func innocuous_$ac_func
100599 /* System header to define __stub macros and hopefully few prototypes,
100600 which can conflict with char $ac_func (); below.
100601 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100602 <limits.h> exists even on freestanding compilers. */
100604 #ifdef __STDC__
100605 # include <limits.h>
100606 #else
100607 # include <assert.h>
100608 #endif
100610 #undef $ac_func
100612 /* Override any gcc2 internal prototype to avoid an error. */
100613 #ifdef __cplusplus
100614 extern "C"
100616 #endif
100617 /* We use char because int might match the return type of a gcc2
100618 builtin and then its argument prototype would still apply. */
100619 char $ac_func ();
100620 /* The GNU C library defines this for functions which it implements
100621 to always fail with ENOSYS. Some functions are actually named
100622 something starting with __ and the normal name is an alias. */
100623 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100624 choke me
100625 #else
100626 char (*f) () = $ac_func;
100627 #endif
100628 #ifdef __cplusplus
100630 #endif
100633 main ()
100635 return f != $ac_func;
100637 return 0;
100639 _ACEOF
100640 rm -f conftest.$ac_objext conftest$ac_exeext
100641 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100642 (eval $ac_link) 2>conftest.er1
100643 ac_status=$?
100644 grep -v '^ *+' conftest.er1 >conftest.err
100645 rm -f conftest.er1
100646 cat conftest.err >&5
100647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100648 (exit $ac_status); } &&
100649 { ac_try='test -z "$ac_c_werror_flag"
100650 || test ! -s conftest.err'
100651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100652 (eval $ac_try) 2>&5
100653 ac_status=$?
100654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100655 (exit $ac_status); }; } &&
100656 { ac_try='test -s conftest$ac_exeext'
100657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100658 (eval $ac_try) 2>&5
100659 ac_status=$?
100660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100661 (exit $ac_status); }; }; then
100662 eval "$as_ac_var=yes"
100664 echo "$as_me: failed program was:" >&5
100665 sed 's/^/| /' conftest.$ac_ext >&5
100667 eval "$as_ac_var=no"
100669 rm -f conftest.err conftest.$ac_objext \
100670 conftest$ac_exeext conftest.$ac_ext
100672 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100673 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100674 if test `eval echo '${'$as_ac_var'}'` = yes; then
100675 cat >>confdefs.h <<_ACEOF
100676 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100677 _ACEOF
100684 echo "$as_me:$LINENO: checking for _copysignl declaration" >&5
100685 echo $ECHO_N "checking for _copysignl declaration... $ECHO_C" >&6
100686 if test x${glibcxx_cv_func__copysignl_use+set} != xset; then
100687 if test "${glibcxx_cv_func__copysignl_use+set}" = set; then
100688 echo $ECHO_N "(cached) $ECHO_C" >&6
100693 ac_ext=cc
100694 ac_cpp='$CXXCPP $CPPFLAGS'
100695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100699 cat >conftest.$ac_ext <<_ACEOF
100700 /* confdefs.h. */
100701 _ACEOF
100702 cat confdefs.h >>conftest.$ac_ext
100703 cat >>conftest.$ac_ext <<_ACEOF
100704 /* end confdefs.h. */
100705 #include <math.h>
100707 main ()
100709 _copysignl(0, 0);
100711 return 0;
100713 _ACEOF
100714 rm -f conftest.$ac_objext
100715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100716 (eval $ac_compile) 2>conftest.er1
100717 ac_status=$?
100718 grep -v '^ *+' conftest.er1 >conftest.err
100719 rm -f conftest.er1
100720 cat conftest.err >&5
100721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100722 (exit $ac_status); } &&
100723 { ac_try='test -z "$ac_cxx_werror_flag"
100724 || test ! -s conftest.err'
100725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100726 (eval $ac_try) 2>&5
100727 ac_status=$?
100728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100729 (exit $ac_status); }; } &&
100730 { ac_try='test -s conftest.$ac_objext'
100731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100732 (eval $ac_try) 2>&5
100733 ac_status=$?
100734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100735 (exit $ac_status); }; }; then
100736 glibcxx_cv_func__copysignl_use=yes
100738 echo "$as_me: failed program was:" >&5
100739 sed 's/^/| /' conftest.$ac_ext >&5
100741 glibcxx_cv_func__copysignl_use=no
100743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100744 ac_ext=c
100745 ac_cpp='$CPP $CPPFLAGS'
100746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__copysignl_use" >&5
100755 echo "${ECHO_T}$glibcxx_cv_func__copysignl_use" >&6
100757 if test x$glibcxx_cv_func__copysignl_use = x"yes"; then
100759 for ac_func in _copysignl
100761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100762 echo "$as_me:$LINENO: checking for $ac_func" >&5
100763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100764 if eval "test \"\${$as_ac_var+set}\" = set"; then
100765 echo $ECHO_N "(cached) $ECHO_C" >&6
100767 if test x$gcc_no_link = xyes; then
100768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100770 { (exit 1); exit 1; }; }
100772 cat >conftest.$ac_ext <<_ACEOF
100773 /* confdefs.h. */
100774 _ACEOF
100775 cat confdefs.h >>conftest.$ac_ext
100776 cat >>conftest.$ac_ext <<_ACEOF
100777 /* end confdefs.h. */
100778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100780 #define $ac_func innocuous_$ac_func
100782 /* System header to define __stub macros and hopefully few prototypes,
100783 which can conflict with char $ac_func (); below.
100784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100785 <limits.h> exists even on freestanding compilers. */
100787 #ifdef __STDC__
100788 # include <limits.h>
100789 #else
100790 # include <assert.h>
100791 #endif
100793 #undef $ac_func
100795 /* Override any gcc2 internal prototype to avoid an error. */
100796 #ifdef __cplusplus
100797 extern "C"
100799 #endif
100800 /* We use char because int might match the return type of a gcc2
100801 builtin and then its argument prototype would still apply. */
100802 char $ac_func ();
100803 /* The GNU C library defines this for functions which it implements
100804 to always fail with ENOSYS. Some functions are actually named
100805 something starting with __ and the normal name is an alias. */
100806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100807 choke me
100808 #else
100809 char (*f) () = $ac_func;
100810 #endif
100811 #ifdef __cplusplus
100813 #endif
100816 main ()
100818 return f != $ac_func;
100820 return 0;
100822 _ACEOF
100823 rm -f conftest.$ac_objext conftest$ac_exeext
100824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100825 (eval $ac_link) 2>conftest.er1
100826 ac_status=$?
100827 grep -v '^ *+' conftest.er1 >conftest.err
100828 rm -f conftest.er1
100829 cat conftest.err >&5
100830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100831 (exit $ac_status); } &&
100832 { ac_try='test -z "$ac_c_werror_flag"
100833 || test ! -s conftest.err'
100834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100835 (eval $ac_try) 2>&5
100836 ac_status=$?
100837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100838 (exit $ac_status); }; } &&
100839 { ac_try='test -s conftest$ac_exeext'
100840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100841 (eval $ac_try) 2>&5
100842 ac_status=$?
100843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100844 (exit $ac_status); }; }; then
100845 eval "$as_ac_var=yes"
100847 echo "$as_me: failed program was:" >&5
100848 sed 's/^/| /' conftest.$ac_ext >&5
100850 eval "$as_ac_var=no"
100852 rm -f conftest.err conftest.$ac_objext \
100853 conftest$ac_exeext conftest.$ac_ext
100855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100857 if test `eval echo '${'$as_ac_var'}'` = yes; then
100858 cat >>confdefs.h <<_ACEOF
100859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100860 _ACEOF
100873 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
100874 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
100875 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
100876 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
100877 echo $ECHO_N "(cached) $ECHO_C" >&6
100882 ac_ext=cc
100883 ac_cpp='$CXXCPP $CPPFLAGS'
100884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100888 cat >conftest.$ac_ext <<_ACEOF
100889 /* confdefs.h. */
100890 _ACEOF
100891 cat confdefs.h >>conftest.$ac_ext
100892 cat >>conftest.$ac_ext <<_ACEOF
100893 /* end confdefs.h. */
100894 #include <math.h>
100896 main ()
100898 atan2l(0, 0);
100900 return 0;
100902 _ACEOF
100903 rm -f conftest.$ac_objext
100904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100905 (eval $ac_compile) 2>conftest.er1
100906 ac_status=$?
100907 grep -v '^ *+' conftest.er1 >conftest.err
100908 rm -f conftest.er1
100909 cat conftest.err >&5
100910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100911 (exit $ac_status); } &&
100912 { ac_try='test -z "$ac_cxx_werror_flag"
100913 || test ! -s conftest.err'
100914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100915 (eval $ac_try) 2>&5
100916 ac_status=$?
100917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100918 (exit $ac_status); }; } &&
100919 { ac_try='test -s conftest.$ac_objext'
100920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100921 (eval $ac_try) 2>&5
100922 ac_status=$?
100923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100924 (exit $ac_status); }; }; then
100925 glibcxx_cv_func_atan2l_use=yes
100927 echo "$as_me: failed program was:" >&5
100928 sed 's/^/| /' conftest.$ac_ext >&5
100930 glibcxx_cv_func_atan2l_use=no
100932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100933 ac_ext=c
100934 ac_cpp='$CPP $CPPFLAGS'
100935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100943 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
100944 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
100946 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
100948 for ac_func in atan2l
100950 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100951 echo "$as_me:$LINENO: checking for $ac_func" >&5
100952 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100953 if eval "test \"\${$as_ac_var+set}\" = set"; then
100954 echo $ECHO_N "(cached) $ECHO_C" >&6
100956 if test x$gcc_no_link = xyes; then
100957 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100958 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100959 { (exit 1); exit 1; }; }
100961 cat >conftest.$ac_ext <<_ACEOF
100962 /* confdefs.h. */
100963 _ACEOF
100964 cat confdefs.h >>conftest.$ac_ext
100965 cat >>conftest.$ac_ext <<_ACEOF
100966 /* end confdefs.h. */
100967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100969 #define $ac_func innocuous_$ac_func
100971 /* System header to define __stub macros and hopefully few prototypes,
100972 which can conflict with char $ac_func (); below.
100973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100974 <limits.h> exists even on freestanding compilers. */
100976 #ifdef __STDC__
100977 # include <limits.h>
100978 #else
100979 # include <assert.h>
100980 #endif
100982 #undef $ac_func
100984 /* Override any gcc2 internal prototype to avoid an error. */
100985 #ifdef __cplusplus
100986 extern "C"
100988 #endif
100989 /* We use char because int might match the return type of a gcc2
100990 builtin and then its argument prototype would still apply. */
100991 char $ac_func ();
100992 /* The GNU C library defines this for functions which it implements
100993 to always fail with ENOSYS. Some functions are actually named
100994 something starting with __ and the normal name is an alias. */
100995 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100996 choke me
100997 #else
100998 char (*f) () = $ac_func;
100999 #endif
101000 #ifdef __cplusplus
101002 #endif
101005 main ()
101007 return f != $ac_func;
101009 return 0;
101011 _ACEOF
101012 rm -f conftest.$ac_objext conftest$ac_exeext
101013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101014 (eval $ac_link) 2>conftest.er1
101015 ac_status=$?
101016 grep -v '^ *+' conftest.er1 >conftest.err
101017 rm -f conftest.er1
101018 cat conftest.err >&5
101019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101020 (exit $ac_status); } &&
101021 { ac_try='test -z "$ac_c_werror_flag"
101022 || test ! -s conftest.err'
101023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101024 (eval $ac_try) 2>&5
101025 ac_status=$?
101026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101027 (exit $ac_status); }; } &&
101028 { ac_try='test -s conftest$ac_exeext'
101029 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101030 (eval $ac_try) 2>&5
101031 ac_status=$?
101032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101033 (exit $ac_status); }; }; then
101034 eval "$as_ac_var=yes"
101036 echo "$as_me: failed program was:" >&5
101037 sed 's/^/| /' conftest.$ac_ext >&5
101039 eval "$as_ac_var=no"
101041 rm -f conftest.err conftest.$ac_objext \
101042 conftest$ac_exeext conftest.$ac_ext
101044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101045 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101046 if test `eval echo '${'$as_ac_var'}'` = yes; then
101047 cat >>confdefs.h <<_ACEOF
101048 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101049 _ACEOF
101056 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
101057 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
101058 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
101059 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
101060 echo $ECHO_N "(cached) $ECHO_C" >&6
101065 ac_ext=cc
101066 ac_cpp='$CXXCPP $CPPFLAGS'
101067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101071 cat >conftest.$ac_ext <<_ACEOF
101072 /* confdefs.h. */
101073 _ACEOF
101074 cat confdefs.h >>conftest.$ac_ext
101075 cat >>conftest.$ac_ext <<_ACEOF
101076 /* end confdefs.h. */
101077 #include <math.h>
101079 main ()
101081 _atan2l(0, 0);
101083 return 0;
101085 _ACEOF
101086 rm -f conftest.$ac_objext
101087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101088 (eval $ac_compile) 2>conftest.er1
101089 ac_status=$?
101090 grep -v '^ *+' conftest.er1 >conftest.err
101091 rm -f conftest.er1
101092 cat conftest.err >&5
101093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101094 (exit $ac_status); } &&
101095 { ac_try='test -z "$ac_cxx_werror_flag"
101096 || test ! -s conftest.err'
101097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101098 (eval $ac_try) 2>&5
101099 ac_status=$?
101100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101101 (exit $ac_status); }; } &&
101102 { ac_try='test -s conftest.$ac_objext'
101103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101104 (eval $ac_try) 2>&5
101105 ac_status=$?
101106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101107 (exit $ac_status); }; }; then
101108 glibcxx_cv_func__atan2l_use=yes
101110 echo "$as_me: failed program was:" >&5
101111 sed 's/^/| /' conftest.$ac_ext >&5
101113 glibcxx_cv_func__atan2l_use=no
101115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101116 ac_ext=c
101117 ac_cpp='$CPP $CPPFLAGS'
101118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101126 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
101127 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
101129 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
101131 for ac_func in _atan2l
101133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101134 echo "$as_me:$LINENO: checking for $ac_func" >&5
101135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101136 if eval "test \"\${$as_ac_var+set}\" = set"; then
101137 echo $ECHO_N "(cached) $ECHO_C" >&6
101139 if test x$gcc_no_link = xyes; then
101140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101142 { (exit 1); exit 1; }; }
101144 cat >conftest.$ac_ext <<_ACEOF
101145 /* confdefs.h. */
101146 _ACEOF
101147 cat confdefs.h >>conftest.$ac_ext
101148 cat >>conftest.$ac_ext <<_ACEOF
101149 /* end confdefs.h. */
101150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101152 #define $ac_func innocuous_$ac_func
101154 /* System header to define __stub macros and hopefully few prototypes,
101155 which can conflict with char $ac_func (); below.
101156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101157 <limits.h> exists even on freestanding compilers. */
101159 #ifdef __STDC__
101160 # include <limits.h>
101161 #else
101162 # include <assert.h>
101163 #endif
101165 #undef $ac_func
101167 /* Override any gcc2 internal prototype to avoid an error. */
101168 #ifdef __cplusplus
101169 extern "C"
101171 #endif
101172 /* We use char because int might match the return type of a gcc2
101173 builtin and then its argument prototype would still apply. */
101174 char $ac_func ();
101175 /* The GNU C library defines this for functions which it implements
101176 to always fail with ENOSYS. Some functions are actually named
101177 something starting with __ and the normal name is an alias. */
101178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101179 choke me
101180 #else
101181 char (*f) () = $ac_func;
101182 #endif
101183 #ifdef __cplusplus
101185 #endif
101188 main ()
101190 return f != $ac_func;
101192 return 0;
101194 _ACEOF
101195 rm -f conftest.$ac_objext conftest$ac_exeext
101196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101197 (eval $ac_link) 2>conftest.er1
101198 ac_status=$?
101199 grep -v '^ *+' conftest.er1 >conftest.err
101200 rm -f conftest.er1
101201 cat conftest.err >&5
101202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101203 (exit $ac_status); } &&
101204 { ac_try='test -z "$ac_c_werror_flag"
101205 || test ! -s conftest.err'
101206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101207 (eval $ac_try) 2>&5
101208 ac_status=$?
101209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101210 (exit $ac_status); }; } &&
101211 { ac_try='test -s conftest$ac_exeext'
101212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101213 (eval $ac_try) 2>&5
101214 ac_status=$?
101215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101216 (exit $ac_status); }; }; then
101217 eval "$as_ac_var=yes"
101219 echo "$as_me: failed program was:" >&5
101220 sed 's/^/| /' conftest.$ac_ext >&5
101222 eval "$as_ac_var=no"
101224 rm -f conftest.err conftest.$ac_objext \
101225 conftest$ac_exeext conftest.$ac_ext
101227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101229 if test `eval echo '${'$as_ac_var'}'` = yes; then
101230 cat >>confdefs.h <<_ACEOF
101231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101232 _ACEOF
101245 echo "$as_me:$LINENO: checking for expl declaration" >&5
101246 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
101247 if test x${glibcxx_cv_func_expl_use+set} != xset; then
101248 if test "${glibcxx_cv_func_expl_use+set}" = set; then
101249 echo $ECHO_N "(cached) $ECHO_C" >&6
101254 ac_ext=cc
101255 ac_cpp='$CXXCPP $CPPFLAGS'
101256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101260 cat >conftest.$ac_ext <<_ACEOF
101261 /* confdefs.h. */
101262 _ACEOF
101263 cat confdefs.h >>conftest.$ac_ext
101264 cat >>conftest.$ac_ext <<_ACEOF
101265 /* end confdefs.h. */
101266 #include <math.h>
101267 #ifdef HAVE_IEEEFP_H
101268 #include <ieeefp.h>
101269 #endif
101272 main ()
101274 expl(0);
101276 return 0;
101278 _ACEOF
101279 rm -f conftest.$ac_objext
101280 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101281 (eval $ac_compile) 2>conftest.er1
101282 ac_status=$?
101283 grep -v '^ *+' conftest.er1 >conftest.err
101284 rm -f conftest.er1
101285 cat conftest.err >&5
101286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101287 (exit $ac_status); } &&
101288 { ac_try='test -z "$ac_cxx_werror_flag"
101289 || test ! -s conftest.err'
101290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101291 (eval $ac_try) 2>&5
101292 ac_status=$?
101293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101294 (exit $ac_status); }; } &&
101295 { ac_try='test -s conftest.$ac_objext'
101296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101297 (eval $ac_try) 2>&5
101298 ac_status=$?
101299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101300 (exit $ac_status); }; }; then
101301 glibcxx_cv_func_expl_use=yes
101303 echo "$as_me: failed program was:" >&5
101304 sed 's/^/| /' conftest.$ac_ext >&5
101306 glibcxx_cv_func_expl_use=no
101308 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101309 ac_ext=c
101310 ac_cpp='$CPP $CPPFLAGS'
101311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101319 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
101320 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
101322 if test x$glibcxx_cv_func_expl_use = x"yes"; then
101324 for ac_func in expl
101326 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101327 echo "$as_me:$LINENO: checking for $ac_func" >&5
101328 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101329 if eval "test \"\${$as_ac_var+set}\" = set"; then
101330 echo $ECHO_N "(cached) $ECHO_C" >&6
101332 if test x$gcc_no_link = xyes; then
101333 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101334 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101335 { (exit 1); exit 1; }; }
101337 cat >conftest.$ac_ext <<_ACEOF
101338 /* confdefs.h. */
101339 _ACEOF
101340 cat confdefs.h >>conftest.$ac_ext
101341 cat >>conftest.$ac_ext <<_ACEOF
101342 /* end confdefs.h. */
101343 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101344 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101345 #define $ac_func innocuous_$ac_func
101347 /* System header to define __stub macros and hopefully few prototypes,
101348 which can conflict with char $ac_func (); below.
101349 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101350 <limits.h> exists even on freestanding compilers. */
101352 #ifdef __STDC__
101353 # include <limits.h>
101354 #else
101355 # include <assert.h>
101356 #endif
101358 #undef $ac_func
101360 /* Override any gcc2 internal prototype to avoid an error. */
101361 #ifdef __cplusplus
101362 extern "C"
101364 #endif
101365 /* We use char because int might match the return type of a gcc2
101366 builtin and then its argument prototype would still apply. */
101367 char $ac_func ();
101368 /* The GNU C library defines this for functions which it implements
101369 to always fail with ENOSYS. Some functions are actually named
101370 something starting with __ and the normal name is an alias. */
101371 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101372 choke me
101373 #else
101374 char (*f) () = $ac_func;
101375 #endif
101376 #ifdef __cplusplus
101378 #endif
101381 main ()
101383 return f != $ac_func;
101385 return 0;
101387 _ACEOF
101388 rm -f conftest.$ac_objext conftest$ac_exeext
101389 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101390 (eval $ac_link) 2>conftest.er1
101391 ac_status=$?
101392 grep -v '^ *+' conftest.er1 >conftest.err
101393 rm -f conftest.er1
101394 cat conftest.err >&5
101395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101396 (exit $ac_status); } &&
101397 { ac_try='test -z "$ac_c_werror_flag"
101398 || test ! -s conftest.err'
101399 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101400 (eval $ac_try) 2>&5
101401 ac_status=$?
101402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101403 (exit $ac_status); }; } &&
101404 { ac_try='test -s conftest$ac_exeext'
101405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101406 (eval $ac_try) 2>&5
101407 ac_status=$?
101408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101409 (exit $ac_status); }; }; then
101410 eval "$as_ac_var=yes"
101412 echo "$as_me: failed program was:" >&5
101413 sed 's/^/| /' conftest.$ac_ext >&5
101415 eval "$as_ac_var=no"
101417 rm -f conftest.err conftest.$ac_objext \
101418 conftest$ac_exeext conftest.$ac_ext
101420 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101421 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101422 if test `eval echo '${'$as_ac_var'}'` = yes; then
101423 cat >>confdefs.h <<_ACEOF
101424 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101425 _ACEOF
101432 echo "$as_me:$LINENO: checking for _expl declaration" >&5
101433 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
101434 if test x${glibcxx_cv_func__expl_use+set} != xset; then
101435 if test "${glibcxx_cv_func__expl_use+set}" = set; then
101436 echo $ECHO_N "(cached) $ECHO_C" >&6
101441 ac_ext=cc
101442 ac_cpp='$CXXCPP $CPPFLAGS'
101443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101447 cat >conftest.$ac_ext <<_ACEOF
101448 /* confdefs.h. */
101449 _ACEOF
101450 cat confdefs.h >>conftest.$ac_ext
101451 cat >>conftest.$ac_ext <<_ACEOF
101452 /* end confdefs.h. */
101453 #include <math.h>
101454 #ifdef HAVE_IEEEFP_H
101455 #include <ieeefp.h>
101456 #endif
101459 main ()
101461 _expl(0);
101463 return 0;
101465 _ACEOF
101466 rm -f conftest.$ac_objext
101467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101468 (eval $ac_compile) 2>conftest.er1
101469 ac_status=$?
101470 grep -v '^ *+' conftest.er1 >conftest.err
101471 rm -f conftest.er1
101472 cat conftest.err >&5
101473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101474 (exit $ac_status); } &&
101475 { ac_try='test -z "$ac_cxx_werror_flag"
101476 || test ! -s conftest.err'
101477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101478 (eval $ac_try) 2>&5
101479 ac_status=$?
101480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101481 (exit $ac_status); }; } &&
101482 { ac_try='test -s conftest.$ac_objext'
101483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101484 (eval $ac_try) 2>&5
101485 ac_status=$?
101486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101487 (exit $ac_status); }; }; then
101488 glibcxx_cv_func__expl_use=yes
101490 echo "$as_me: failed program was:" >&5
101491 sed 's/^/| /' conftest.$ac_ext >&5
101493 glibcxx_cv_func__expl_use=no
101495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101496 ac_ext=c
101497 ac_cpp='$CPP $CPPFLAGS'
101498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
101507 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
101509 if test x$glibcxx_cv_func__expl_use = x"yes"; then
101511 for ac_func in _expl
101513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101514 echo "$as_me:$LINENO: checking for $ac_func" >&5
101515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101516 if eval "test \"\${$as_ac_var+set}\" = set"; then
101517 echo $ECHO_N "(cached) $ECHO_C" >&6
101519 if test x$gcc_no_link = xyes; then
101520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101522 { (exit 1); exit 1; }; }
101524 cat >conftest.$ac_ext <<_ACEOF
101525 /* confdefs.h. */
101526 _ACEOF
101527 cat confdefs.h >>conftest.$ac_ext
101528 cat >>conftest.$ac_ext <<_ACEOF
101529 /* end confdefs.h. */
101530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101532 #define $ac_func innocuous_$ac_func
101534 /* System header to define __stub macros and hopefully few prototypes,
101535 which can conflict with char $ac_func (); below.
101536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101537 <limits.h> exists even on freestanding compilers. */
101539 #ifdef __STDC__
101540 # include <limits.h>
101541 #else
101542 # include <assert.h>
101543 #endif
101545 #undef $ac_func
101547 /* Override any gcc2 internal prototype to avoid an error. */
101548 #ifdef __cplusplus
101549 extern "C"
101551 #endif
101552 /* We use char because int might match the return type of a gcc2
101553 builtin and then its argument prototype would still apply. */
101554 char $ac_func ();
101555 /* The GNU C library defines this for functions which it implements
101556 to always fail with ENOSYS. Some functions are actually named
101557 something starting with __ and the normal name is an alias. */
101558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101559 choke me
101560 #else
101561 char (*f) () = $ac_func;
101562 #endif
101563 #ifdef __cplusplus
101565 #endif
101568 main ()
101570 return f != $ac_func;
101572 return 0;
101574 _ACEOF
101575 rm -f conftest.$ac_objext conftest$ac_exeext
101576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101577 (eval $ac_link) 2>conftest.er1
101578 ac_status=$?
101579 grep -v '^ *+' conftest.er1 >conftest.err
101580 rm -f conftest.er1
101581 cat conftest.err >&5
101582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101583 (exit $ac_status); } &&
101584 { ac_try='test -z "$ac_c_werror_flag"
101585 || test ! -s conftest.err'
101586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101587 (eval $ac_try) 2>&5
101588 ac_status=$?
101589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101590 (exit $ac_status); }; } &&
101591 { ac_try='test -s conftest$ac_exeext'
101592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101593 (eval $ac_try) 2>&5
101594 ac_status=$?
101595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101596 (exit $ac_status); }; }; then
101597 eval "$as_ac_var=yes"
101599 echo "$as_me: failed program was:" >&5
101600 sed 's/^/| /' conftest.$ac_ext >&5
101602 eval "$as_ac_var=no"
101604 rm -f conftest.err conftest.$ac_objext \
101605 conftest$ac_exeext conftest.$ac_ext
101607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101609 if test `eval echo '${'$as_ac_var'}'` = yes; then
101610 cat >>confdefs.h <<_ACEOF
101611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101612 _ACEOF
101625 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
101626 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
101627 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
101628 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
101629 echo $ECHO_N "(cached) $ECHO_C" >&6
101634 ac_ext=cc
101635 ac_cpp='$CXXCPP $CPPFLAGS'
101636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101640 cat >conftest.$ac_ext <<_ACEOF
101641 /* confdefs.h. */
101642 _ACEOF
101643 cat confdefs.h >>conftest.$ac_ext
101644 cat >>conftest.$ac_ext <<_ACEOF
101645 /* end confdefs.h. */
101646 #include <math.h>
101647 #ifdef HAVE_IEEEFP_H
101648 #include <ieeefp.h>
101649 #endif
101652 main ()
101654 fabsl(0);
101656 return 0;
101658 _ACEOF
101659 rm -f conftest.$ac_objext
101660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101661 (eval $ac_compile) 2>conftest.er1
101662 ac_status=$?
101663 grep -v '^ *+' conftest.er1 >conftest.err
101664 rm -f conftest.er1
101665 cat conftest.err >&5
101666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101667 (exit $ac_status); } &&
101668 { ac_try='test -z "$ac_cxx_werror_flag"
101669 || test ! -s conftest.err'
101670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101671 (eval $ac_try) 2>&5
101672 ac_status=$?
101673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101674 (exit $ac_status); }; } &&
101675 { ac_try='test -s conftest.$ac_objext'
101676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101677 (eval $ac_try) 2>&5
101678 ac_status=$?
101679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101680 (exit $ac_status); }; }; then
101681 glibcxx_cv_func_fabsl_use=yes
101683 echo "$as_me: failed program was:" >&5
101684 sed 's/^/| /' conftest.$ac_ext >&5
101686 glibcxx_cv_func_fabsl_use=no
101688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101689 ac_ext=c
101690 ac_cpp='$CPP $CPPFLAGS'
101691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101699 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
101700 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
101702 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
101704 for ac_func in fabsl
101706 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101707 echo "$as_me:$LINENO: checking for $ac_func" >&5
101708 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101709 if eval "test \"\${$as_ac_var+set}\" = set"; then
101710 echo $ECHO_N "(cached) $ECHO_C" >&6
101712 if test x$gcc_no_link = xyes; then
101713 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101714 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101715 { (exit 1); exit 1; }; }
101717 cat >conftest.$ac_ext <<_ACEOF
101718 /* confdefs.h. */
101719 _ACEOF
101720 cat confdefs.h >>conftest.$ac_ext
101721 cat >>conftest.$ac_ext <<_ACEOF
101722 /* end confdefs.h. */
101723 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101724 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101725 #define $ac_func innocuous_$ac_func
101727 /* System header to define __stub macros and hopefully few prototypes,
101728 which can conflict with char $ac_func (); below.
101729 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101730 <limits.h> exists even on freestanding compilers. */
101732 #ifdef __STDC__
101733 # include <limits.h>
101734 #else
101735 # include <assert.h>
101736 #endif
101738 #undef $ac_func
101740 /* Override any gcc2 internal prototype to avoid an error. */
101741 #ifdef __cplusplus
101742 extern "C"
101744 #endif
101745 /* We use char because int might match the return type of a gcc2
101746 builtin and then its argument prototype would still apply. */
101747 char $ac_func ();
101748 /* The GNU C library defines this for functions which it implements
101749 to always fail with ENOSYS. Some functions are actually named
101750 something starting with __ and the normal name is an alias. */
101751 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101752 choke me
101753 #else
101754 char (*f) () = $ac_func;
101755 #endif
101756 #ifdef __cplusplus
101758 #endif
101761 main ()
101763 return f != $ac_func;
101765 return 0;
101767 _ACEOF
101768 rm -f conftest.$ac_objext conftest$ac_exeext
101769 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101770 (eval $ac_link) 2>conftest.er1
101771 ac_status=$?
101772 grep -v '^ *+' conftest.er1 >conftest.err
101773 rm -f conftest.er1
101774 cat conftest.err >&5
101775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101776 (exit $ac_status); } &&
101777 { ac_try='test -z "$ac_c_werror_flag"
101778 || test ! -s conftest.err'
101779 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101780 (eval $ac_try) 2>&5
101781 ac_status=$?
101782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101783 (exit $ac_status); }; } &&
101784 { ac_try='test -s conftest$ac_exeext'
101785 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101786 (eval $ac_try) 2>&5
101787 ac_status=$?
101788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101789 (exit $ac_status); }; }; then
101790 eval "$as_ac_var=yes"
101792 echo "$as_me: failed program was:" >&5
101793 sed 's/^/| /' conftest.$ac_ext >&5
101795 eval "$as_ac_var=no"
101797 rm -f conftest.err conftest.$ac_objext \
101798 conftest$ac_exeext conftest.$ac_ext
101800 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101801 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101802 if test `eval echo '${'$as_ac_var'}'` = yes; then
101803 cat >>confdefs.h <<_ACEOF
101804 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101805 _ACEOF
101812 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
101813 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
101814 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
101815 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
101816 echo $ECHO_N "(cached) $ECHO_C" >&6
101821 ac_ext=cc
101822 ac_cpp='$CXXCPP $CPPFLAGS'
101823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101827 cat >conftest.$ac_ext <<_ACEOF
101828 /* confdefs.h. */
101829 _ACEOF
101830 cat confdefs.h >>conftest.$ac_ext
101831 cat >>conftest.$ac_ext <<_ACEOF
101832 /* end confdefs.h. */
101833 #include <math.h>
101834 #ifdef HAVE_IEEEFP_H
101835 #include <ieeefp.h>
101836 #endif
101839 main ()
101841 _fabsl(0);
101843 return 0;
101845 _ACEOF
101846 rm -f conftest.$ac_objext
101847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101848 (eval $ac_compile) 2>conftest.er1
101849 ac_status=$?
101850 grep -v '^ *+' conftest.er1 >conftest.err
101851 rm -f conftest.er1
101852 cat conftest.err >&5
101853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101854 (exit $ac_status); } &&
101855 { ac_try='test -z "$ac_cxx_werror_flag"
101856 || test ! -s conftest.err'
101857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101858 (eval $ac_try) 2>&5
101859 ac_status=$?
101860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101861 (exit $ac_status); }; } &&
101862 { ac_try='test -s conftest.$ac_objext'
101863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101864 (eval $ac_try) 2>&5
101865 ac_status=$?
101866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101867 (exit $ac_status); }; }; then
101868 glibcxx_cv_func__fabsl_use=yes
101870 echo "$as_me: failed program was:" >&5
101871 sed 's/^/| /' conftest.$ac_ext >&5
101873 glibcxx_cv_func__fabsl_use=no
101875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101876 ac_ext=c
101877 ac_cpp='$CPP $CPPFLAGS'
101878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
101887 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
101889 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
101891 for ac_func in _fabsl
101893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101894 echo "$as_me:$LINENO: checking for $ac_func" >&5
101895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101896 if eval "test \"\${$as_ac_var+set}\" = set"; then
101897 echo $ECHO_N "(cached) $ECHO_C" >&6
101899 if test x$gcc_no_link = xyes; then
101900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101902 { (exit 1); exit 1; }; }
101904 cat >conftest.$ac_ext <<_ACEOF
101905 /* confdefs.h. */
101906 _ACEOF
101907 cat confdefs.h >>conftest.$ac_ext
101908 cat >>conftest.$ac_ext <<_ACEOF
101909 /* end confdefs.h. */
101910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101912 #define $ac_func innocuous_$ac_func
101914 /* System header to define __stub macros and hopefully few prototypes,
101915 which can conflict with char $ac_func (); below.
101916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101917 <limits.h> exists even on freestanding compilers. */
101919 #ifdef __STDC__
101920 # include <limits.h>
101921 #else
101922 # include <assert.h>
101923 #endif
101925 #undef $ac_func
101927 /* Override any gcc2 internal prototype to avoid an error. */
101928 #ifdef __cplusplus
101929 extern "C"
101931 #endif
101932 /* We use char because int might match the return type of a gcc2
101933 builtin and then its argument prototype would still apply. */
101934 char $ac_func ();
101935 /* The GNU C library defines this for functions which it implements
101936 to always fail with ENOSYS. Some functions are actually named
101937 something starting with __ and the normal name is an alias. */
101938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101939 choke me
101940 #else
101941 char (*f) () = $ac_func;
101942 #endif
101943 #ifdef __cplusplus
101945 #endif
101948 main ()
101950 return f != $ac_func;
101952 return 0;
101954 _ACEOF
101955 rm -f conftest.$ac_objext conftest$ac_exeext
101956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101957 (eval $ac_link) 2>conftest.er1
101958 ac_status=$?
101959 grep -v '^ *+' conftest.er1 >conftest.err
101960 rm -f conftest.er1
101961 cat conftest.err >&5
101962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101963 (exit $ac_status); } &&
101964 { ac_try='test -z "$ac_c_werror_flag"
101965 || test ! -s conftest.err'
101966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101967 (eval $ac_try) 2>&5
101968 ac_status=$?
101969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101970 (exit $ac_status); }; } &&
101971 { ac_try='test -s conftest$ac_exeext'
101972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101973 (eval $ac_try) 2>&5
101974 ac_status=$?
101975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101976 (exit $ac_status); }; }; then
101977 eval "$as_ac_var=yes"
101979 echo "$as_me: failed program was:" >&5
101980 sed 's/^/| /' conftest.$ac_ext >&5
101982 eval "$as_ac_var=no"
101984 rm -f conftest.err conftest.$ac_objext \
101985 conftest$ac_exeext conftest.$ac_ext
101987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101989 if test `eval echo '${'$as_ac_var'}'` = yes; then
101990 cat >>confdefs.h <<_ACEOF
101991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101992 _ACEOF
102005 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
102006 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
102007 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
102008 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
102009 echo $ECHO_N "(cached) $ECHO_C" >&6
102014 ac_ext=cc
102015 ac_cpp='$CXXCPP $CPPFLAGS'
102016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102020 cat >conftest.$ac_ext <<_ACEOF
102021 /* confdefs.h. */
102022 _ACEOF
102023 cat confdefs.h >>conftest.$ac_ext
102024 cat >>conftest.$ac_ext <<_ACEOF
102025 /* end confdefs.h. */
102026 #include <math.h>
102028 main ()
102030 fmodl(0, 0);
102032 return 0;
102034 _ACEOF
102035 rm -f conftest.$ac_objext
102036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102037 (eval $ac_compile) 2>conftest.er1
102038 ac_status=$?
102039 grep -v '^ *+' conftest.er1 >conftest.err
102040 rm -f conftest.er1
102041 cat conftest.err >&5
102042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102043 (exit $ac_status); } &&
102044 { ac_try='test -z "$ac_cxx_werror_flag"
102045 || test ! -s conftest.err'
102046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102047 (eval $ac_try) 2>&5
102048 ac_status=$?
102049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102050 (exit $ac_status); }; } &&
102051 { ac_try='test -s conftest.$ac_objext'
102052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102053 (eval $ac_try) 2>&5
102054 ac_status=$?
102055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102056 (exit $ac_status); }; }; then
102057 glibcxx_cv_func_fmodl_use=yes
102059 echo "$as_me: failed program was:" >&5
102060 sed 's/^/| /' conftest.$ac_ext >&5
102062 glibcxx_cv_func_fmodl_use=no
102064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102065 ac_ext=c
102066 ac_cpp='$CPP $CPPFLAGS'
102067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
102076 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
102078 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
102080 for ac_func in fmodl
102082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102083 echo "$as_me:$LINENO: checking for $ac_func" >&5
102084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102085 if eval "test \"\${$as_ac_var+set}\" = set"; then
102086 echo $ECHO_N "(cached) $ECHO_C" >&6
102088 if test x$gcc_no_link = xyes; then
102089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102091 { (exit 1); exit 1; }; }
102093 cat >conftest.$ac_ext <<_ACEOF
102094 /* confdefs.h. */
102095 _ACEOF
102096 cat confdefs.h >>conftest.$ac_ext
102097 cat >>conftest.$ac_ext <<_ACEOF
102098 /* end confdefs.h. */
102099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102101 #define $ac_func innocuous_$ac_func
102103 /* System header to define __stub macros and hopefully few prototypes,
102104 which can conflict with char $ac_func (); below.
102105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102106 <limits.h> exists even on freestanding compilers. */
102108 #ifdef __STDC__
102109 # include <limits.h>
102110 #else
102111 # include <assert.h>
102112 #endif
102114 #undef $ac_func
102116 /* Override any gcc2 internal prototype to avoid an error. */
102117 #ifdef __cplusplus
102118 extern "C"
102120 #endif
102121 /* We use char because int might match the return type of a gcc2
102122 builtin and then its argument prototype would still apply. */
102123 char $ac_func ();
102124 /* The GNU C library defines this for functions which it implements
102125 to always fail with ENOSYS. Some functions are actually named
102126 something starting with __ and the normal name is an alias. */
102127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102128 choke me
102129 #else
102130 char (*f) () = $ac_func;
102131 #endif
102132 #ifdef __cplusplus
102134 #endif
102137 main ()
102139 return f != $ac_func;
102141 return 0;
102143 _ACEOF
102144 rm -f conftest.$ac_objext conftest$ac_exeext
102145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102146 (eval $ac_link) 2>conftest.er1
102147 ac_status=$?
102148 grep -v '^ *+' conftest.er1 >conftest.err
102149 rm -f conftest.er1
102150 cat conftest.err >&5
102151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102152 (exit $ac_status); } &&
102153 { ac_try='test -z "$ac_c_werror_flag"
102154 || test ! -s conftest.err'
102155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102156 (eval $ac_try) 2>&5
102157 ac_status=$?
102158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102159 (exit $ac_status); }; } &&
102160 { ac_try='test -s conftest$ac_exeext'
102161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102162 (eval $ac_try) 2>&5
102163 ac_status=$?
102164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102165 (exit $ac_status); }; }; then
102166 eval "$as_ac_var=yes"
102168 echo "$as_me: failed program was:" >&5
102169 sed 's/^/| /' conftest.$ac_ext >&5
102171 eval "$as_ac_var=no"
102173 rm -f conftest.err conftest.$ac_objext \
102174 conftest$ac_exeext conftest.$ac_ext
102176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102178 if test `eval echo '${'$as_ac_var'}'` = yes; then
102179 cat >>confdefs.h <<_ACEOF
102180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102181 _ACEOF
102188 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
102189 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
102190 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
102191 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
102192 echo $ECHO_N "(cached) $ECHO_C" >&6
102197 ac_ext=cc
102198 ac_cpp='$CXXCPP $CPPFLAGS'
102199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102203 cat >conftest.$ac_ext <<_ACEOF
102204 /* confdefs.h. */
102205 _ACEOF
102206 cat confdefs.h >>conftest.$ac_ext
102207 cat >>conftest.$ac_ext <<_ACEOF
102208 /* end confdefs.h. */
102209 #include <math.h>
102211 main ()
102213 _fmodl(0, 0);
102215 return 0;
102217 _ACEOF
102218 rm -f conftest.$ac_objext
102219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102220 (eval $ac_compile) 2>conftest.er1
102221 ac_status=$?
102222 grep -v '^ *+' conftest.er1 >conftest.err
102223 rm -f conftest.er1
102224 cat conftest.err >&5
102225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102226 (exit $ac_status); } &&
102227 { ac_try='test -z "$ac_cxx_werror_flag"
102228 || test ! -s conftest.err'
102229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102230 (eval $ac_try) 2>&5
102231 ac_status=$?
102232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102233 (exit $ac_status); }; } &&
102234 { ac_try='test -s conftest.$ac_objext'
102235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102236 (eval $ac_try) 2>&5
102237 ac_status=$?
102238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102239 (exit $ac_status); }; }; then
102240 glibcxx_cv_func__fmodl_use=yes
102242 echo "$as_me: failed program was:" >&5
102243 sed 's/^/| /' conftest.$ac_ext >&5
102245 glibcxx_cv_func__fmodl_use=no
102247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102248 ac_ext=c
102249 ac_cpp='$CPP $CPPFLAGS'
102250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
102259 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
102261 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
102263 for ac_func in _fmodl
102265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102266 echo "$as_me:$LINENO: checking for $ac_func" >&5
102267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102268 if eval "test \"\${$as_ac_var+set}\" = set"; then
102269 echo $ECHO_N "(cached) $ECHO_C" >&6
102271 if test x$gcc_no_link = xyes; then
102272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102274 { (exit 1); exit 1; }; }
102276 cat >conftest.$ac_ext <<_ACEOF
102277 /* confdefs.h. */
102278 _ACEOF
102279 cat confdefs.h >>conftest.$ac_ext
102280 cat >>conftest.$ac_ext <<_ACEOF
102281 /* end confdefs.h. */
102282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102284 #define $ac_func innocuous_$ac_func
102286 /* System header to define __stub macros and hopefully few prototypes,
102287 which can conflict with char $ac_func (); below.
102288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102289 <limits.h> exists even on freestanding compilers. */
102291 #ifdef __STDC__
102292 # include <limits.h>
102293 #else
102294 # include <assert.h>
102295 #endif
102297 #undef $ac_func
102299 /* Override any gcc2 internal prototype to avoid an error. */
102300 #ifdef __cplusplus
102301 extern "C"
102303 #endif
102304 /* We use char because int might match the return type of a gcc2
102305 builtin and then its argument prototype would still apply. */
102306 char $ac_func ();
102307 /* The GNU C library defines this for functions which it implements
102308 to always fail with ENOSYS. Some functions are actually named
102309 something starting with __ and the normal name is an alias. */
102310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102311 choke me
102312 #else
102313 char (*f) () = $ac_func;
102314 #endif
102315 #ifdef __cplusplus
102317 #endif
102320 main ()
102322 return f != $ac_func;
102324 return 0;
102326 _ACEOF
102327 rm -f conftest.$ac_objext conftest$ac_exeext
102328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102329 (eval $ac_link) 2>conftest.er1
102330 ac_status=$?
102331 grep -v '^ *+' conftest.er1 >conftest.err
102332 rm -f conftest.er1
102333 cat conftest.err >&5
102334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102335 (exit $ac_status); } &&
102336 { ac_try='test -z "$ac_c_werror_flag"
102337 || test ! -s conftest.err'
102338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102339 (eval $ac_try) 2>&5
102340 ac_status=$?
102341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102342 (exit $ac_status); }; } &&
102343 { ac_try='test -s conftest$ac_exeext'
102344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102345 (eval $ac_try) 2>&5
102346 ac_status=$?
102347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102348 (exit $ac_status); }; }; then
102349 eval "$as_ac_var=yes"
102351 echo "$as_me: failed program was:" >&5
102352 sed 's/^/| /' conftest.$ac_ext >&5
102354 eval "$as_ac_var=no"
102356 rm -f conftest.err conftest.$ac_objext \
102357 conftest$ac_exeext conftest.$ac_ext
102359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102361 if test `eval echo '${'$as_ac_var'}'` = yes; then
102362 cat >>confdefs.h <<_ACEOF
102363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102364 _ACEOF
102377 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
102378 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
102379 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
102380 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
102381 echo $ECHO_N "(cached) $ECHO_C" >&6
102386 ac_ext=cc
102387 ac_cpp='$CXXCPP $CPPFLAGS'
102388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102392 cat >conftest.$ac_ext <<_ACEOF
102393 /* confdefs.h. */
102394 _ACEOF
102395 cat confdefs.h >>conftest.$ac_ext
102396 cat >>conftest.$ac_ext <<_ACEOF
102397 /* end confdefs.h. */
102398 #include <math.h>
102400 main ()
102402 frexpl(0, 0);
102404 return 0;
102406 _ACEOF
102407 rm -f conftest.$ac_objext
102408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102409 (eval $ac_compile) 2>conftest.er1
102410 ac_status=$?
102411 grep -v '^ *+' conftest.er1 >conftest.err
102412 rm -f conftest.er1
102413 cat conftest.err >&5
102414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102415 (exit $ac_status); } &&
102416 { ac_try='test -z "$ac_cxx_werror_flag"
102417 || test ! -s conftest.err'
102418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102419 (eval $ac_try) 2>&5
102420 ac_status=$?
102421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102422 (exit $ac_status); }; } &&
102423 { ac_try='test -s conftest.$ac_objext'
102424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102425 (eval $ac_try) 2>&5
102426 ac_status=$?
102427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102428 (exit $ac_status); }; }; then
102429 glibcxx_cv_func_frexpl_use=yes
102431 echo "$as_me: failed program was:" >&5
102432 sed 's/^/| /' conftest.$ac_ext >&5
102434 glibcxx_cv_func_frexpl_use=no
102436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102437 ac_ext=c
102438 ac_cpp='$CPP $CPPFLAGS'
102439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
102448 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
102450 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
102452 for ac_func in frexpl
102454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102455 echo "$as_me:$LINENO: checking for $ac_func" >&5
102456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102457 if eval "test \"\${$as_ac_var+set}\" = set"; then
102458 echo $ECHO_N "(cached) $ECHO_C" >&6
102460 if test x$gcc_no_link = xyes; then
102461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102463 { (exit 1); exit 1; }; }
102465 cat >conftest.$ac_ext <<_ACEOF
102466 /* confdefs.h. */
102467 _ACEOF
102468 cat confdefs.h >>conftest.$ac_ext
102469 cat >>conftest.$ac_ext <<_ACEOF
102470 /* end confdefs.h. */
102471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102473 #define $ac_func innocuous_$ac_func
102475 /* System header to define __stub macros and hopefully few prototypes,
102476 which can conflict with char $ac_func (); below.
102477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102478 <limits.h> exists even on freestanding compilers. */
102480 #ifdef __STDC__
102481 # include <limits.h>
102482 #else
102483 # include <assert.h>
102484 #endif
102486 #undef $ac_func
102488 /* Override any gcc2 internal prototype to avoid an error. */
102489 #ifdef __cplusplus
102490 extern "C"
102492 #endif
102493 /* We use char because int might match the return type of a gcc2
102494 builtin and then its argument prototype would still apply. */
102495 char $ac_func ();
102496 /* The GNU C library defines this for functions which it implements
102497 to always fail with ENOSYS. Some functions are actually named
102498 something starting with __ and the normal name is an alias. */
102499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102500 choke me
102501 #else
102502 char (*f) () = $ac_func;
102503 #endif
102504 #ifdef __cplusplus
102506 #endif
102509 main ()
102511 return f != $ac_func;
102513 return 0;
102515 _ACEOF
102516 rm -f conftest.$ac_objext conftest$ac_exeext
102517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102518 (eval $ac_link) 2>conftest.er1
102519 ac_status=$?
102520 grep -v '^ *+' conftest.er1 >conftest.err
102521 rm -f conftest.er1
102522 cat conftest.err >&5
102523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102524 (exit $ac_status); } &&
102525 { ac_try='test -z "$ac_c_werror_flag"
102526 || test ! -s conftest.err'
102527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102528 (eval $ac_try) 2>&5
102529 ac_status=$?
102530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102531 (exit $ac_status); }; } &&
102532 { ac_try='test -s conftest$ac_exeext'
102533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102534 (eval $ac_try) 2>&5
102535 ac_status=$?
102536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102537 (exit $ac_status); }; }; then
102538 eval "$as_ac_var=yes"
102540 echo "$as_me: failed program was:" >&5
102541 sed 's/^/| /' conftest.$ac_ext >&5
102543 eval "$as_ac_var=no"
102545 rm -f conftest.err conftest.$ac_objext \
102546 conftest$ac_exeext conftest.$ac_ext
102548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102550 if test `eval echo '${'$as_ac_var'}'` = yes; then
102551 cat >>confdefs.h <<_ACEOF
102552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102553 _ACEOF
102560 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
102561 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
102562 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
102563 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
102564 echo $ECHO_N "(cached) $ECHO_C" >&6
102569 ac_ext=cc
102570 ac_cpp='$CXXCPP $CPPFLAGS'
102571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102575 cat >conftest.$ac_ext <<_ACEOF
102576 /* confdefs.h. */
102577 _ACEOF
102578 cat confdefs.h >>conftest.$ac_ext
102579 cat >>conftest.$ac_ext <<_ACEOF
102580 /* end confdefs.h. */
102581 #include <math.h>
102583 main ()
102585 _frexpl(0, 0);
102587 return 0;
102589 _ACEOF
102590 rm -f conftest.$ac_objext
102591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102592 (eval $ac_compile) 2>conftest.er1
102593 ac_status=$?
102594 grep -v '^ *+' conftest.er1 >conftest.err
102595 rm -f conftest.er1
102596 cat conftest.err >&5
102597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102598 (exit $ac_status); } &&
102599 { ac_try='test -z "$ac_cxx_werror_flag"
102600 || test ! -s conftest.err'
102601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102602 (eval $ac_try) 2>&5
102603 ac_status=$?
102604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102605 (exit $ac_status); }; } &&
102606 { ac_try='test -s conftest.$ac_objext'
102607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102608 (eval $ac_try) 2>&5
102609 ac_status=$?
102610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102611 (exit $ac_status); }; }; then
102612 glibcxx_cv_func__frexpl_use=yes
102614 echo "$as_me: failed program was:" >&5
102615 sed 's/^/| /' conftest.$ac_ext >&5
102617 glibcxx_cv_func__frexpl_use=no
102619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102620 ac_ext=c
102621 ac_cpp='$CPP $CPPFLAGS'
102622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
102631 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
102633 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
102635 for ac_func in _frexpl
102637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102638 echo "$as_me:$LINENO: checking for $ac_func" >&5
102639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102640 if eval "test \"\${$as_ac_var+set}\" = set"; then
102641 echo $ECHO_N "(cached) $ECHO_C" >&6
102643 if test x$gcc_no_link = xyes; then
102644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102646 { (exit 1); exit 1; }; }
102648 cat >conftest.$ac_ext <<_ACEOF
102649 /* confdefs.h. */
102650 _ACEOF
102651 cat confdefs.h >>conftest.$ac_ext
102652 cat >>conftest.$ac_ext <<_ACEOF
102653 /* end confdefs.h. */
102654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102656 #define $ac_func innocuous_$ac_func
102658 /* System header to define __stub macros and hopefully few prototypes,
102659 which can conflict with char $ac_func (); below.
102660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102661 <limits.h> exists even on freestanding compilers. */
102663 #ifdef __STDC__
102664 # include <limits.h>
102665 #else
102666 # include <assert.h>
102667 #endif
102669 #undef $ac_func
102671 /* Override any gcc2 internal prototype to avoid an error. */
102672 #ifdef __cplusplus
102673 extern "C"
102675 #endif
102676 /* We use char because int might match the return type of a gcc2
102677 builtin and then its argument prototype would still apply. */
102678 char $ac_func ();
102679 /* The GNU C library defines this for functions which it implements
102680 to always fail with ENOSYS. Some functions are actually named
102681 something starting with __ and the normal name is an alias. */
102682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102683 choke me
102684 #else
102685 char (*f) () = $ac_func;
102686 #endif
102687 #ifdef __cplusplus
102689 #endif
102692 main ()
102694 return f != $ac_func;
102696 return 0;
102698 _ACEOF
102699 rm -f conftest.$ac_objext conftest$ac_exeext
102700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102701 (eval $ac_link) 2>conftest.er1
102702 ac_status=$?
102703 grep -v '^ *+' conftest.er1 >conftest.err
102704 rm -f conftest.er1
102705 cat conftest.err >&5
102706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102707 (exit $ac_status); } &&
102708 { ac_try='test -z "$ac_c_werror_flag"
102709 || test ! -s conftest.err'
102710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102711 (eval $ac_try) 2>&5
102712 ac_status=$?
102713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102714 (exit $ac_status); }; } &&
102715 { ac_try='test -s conftest$ac_exeext'
102716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102717 (eval $ac_try) 2>&5
102718 ac_status=$?
102719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102720 (exit $ac_status); }; }; then
102721 eval "$as_ac_var=yes"
102723 echo "$as_me: failed program was:" >&5
102724 sed 's/^/| /' conftest.$ac_ext >&5
102726 eval "$as_ac_var=no"
102728 rm -f conftest.err conftest.$ac_objext \
102729 conftest$ac_exeext conftest.$ac_ext
102731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102733 if test `eval echo '${'$as_ac_var'}'` = yes; then
102734 cat >>confdefs.h <<_ACEOF
102735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102736 _ACEOF
102749 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
102750 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
102751 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
102752 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
102753 echo $ECHO_N "(cached) $ECHO_C" >&6
102758 ac_ext=cc
102759 ac_cpp='$CXXCPP $CPPFLAGS'
102760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102764 cat >conftest.$ac_ext <<_ACEOF
102765 /* confdefs.h. */
102766 _ACEOF
102767 cat confdefs.h >>conftest.$ac_ext
102768 cat >>conftest.$ac_ext <<_ACEOF
102769 /* end confdefs.h. */
102770 #include <math.h>
102772 main ()
102774 hypotl(0, 0);
102776 return 0;
102778 _ACEOF
102779 rm -f conftest.$ac_objext
102780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102781 (eval $ac_compile) 2>conftest.er1
102782 ac_status=$?
102783 grep -v '^ *+' conftest.er1 >conftest.err
102784 rm -f conftest.er1
102785 cat conftest.err >&5
102786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102787 (exit $ac_status); } &&
102788 { ac_try='test -z "$ac_cxx_werror_flag"
102789 || test ! -s conftest.err'
102790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102791 (eval $ac_try) 2>&5
102792 ac_status=$?
102793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102794 (exit $ac_status); }; } &&
102795 { ac_try='test -s conftest.$ac_objext'
102796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102797 (eval $ac_try) 2>&5
102798 ac_status=$?
102799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102800 (exit $ac_status); }; }; then
102801 glibcxx_cv_func_hypotl_use=yes
102803 echo "$as_me: failed program was:" >&5
102804 sed 's/^/| /' conftest.$ac_ext >&5
102806 glibcxx_cv_func_hypotl_use=no
102808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102809 ac_ext=c
102810 ac_cpp='$CPP $CPPFLAGS'
102811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102819 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
102820 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
102822 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
102824 for ac_func in hypotl
102826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102827 echo "$as_me:$LINENO: checking for $ac_func" >&5
102828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102829 if eval "test \"\${$as_ac_var+set}\" = set"; then
102830 echo $ECHO_N "(cached) $ECHO_C" >&6
102832 if test x$gcc_no_link = xyes; then
102833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102835 { (exit 1); exit 1; }; }
102837 cat >conftest.$ac_ext <<_ACEOF
102838 /* confdefs.h. */
102839 _ACEOF
102840 cat confdefs.h >>conftest.$ac_ext
102841 cat >>conftest.$ac_ext <<_ACEOF
102842 /* end confdefs.h. */
102843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102845 #define $ac_func innocuous_$ac_func
102847 /* System header to define __stub macros and hopefully few prototypes,
102848 which can conflict with char $ac_func (); below.
102849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102850 <limits.h> exists even on freestanding compilers. */
102852 #ifdef __STDC__
102853 # include <limits.h>
102854 #else
102855 # include <assert.h>
102856 #endif
102858 #undef $ac_func
102860 /* Override any gcc2 internal prototype to avoid an error. */
102861 #ifdef __cplusplus
102862 extern "C"
102864 #endif
102865 /* We use char because int might match the return type of a gcc2
102866 builtin and then its argument prototype would still apply. */
102867 char $ac_func ();
102868 /* The GNU C library defines this for functions which it implements
102869 to always fail with ENOSYS. Some functions are actually named
102870 something starting with __ and the normal name is an alias. */
102871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102872 choke me
102873 #else
102874 char (*f) () = $ac_func;
102875 #endif
102876 #ifdef __cplusplus
102878 #endif
102881 main ()
102883 return f != $ac_func;
102885 return 0;
102887 _ACEOF
102888 rm -f conftest.$ac_objext conftest$ac_exeext
102889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102890 (eval $ac_link) 2>conftest.er1
102891 ac_status=$?
102892 grep -v '^ *+' conftest.er1 >conftest.err
102893 rm -f conftest.er1
102894 cat conftest.err >&5
102895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102896 (exit $ac_status); } &&
102897 { ac_try='test -z "$ac_c_werror_flag"
102898 || test ! -s conftest.err'
102899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102900 (eval $ac_try) 2>&5
102901 ac_status=$?
102902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102903 (exit $ac_status); }; } &&
102904 { ac_try='test -s conftest$ac_exeext'
102905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102906 (eval $ac_try) 2>&5
102907 ac_status=$?
102908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102909 (exit $ac_status); }; }; then
102910 eval "$as_ac_var=yes"
102912 echo "$as_me: failed program was:" >&5
102913 sed 's/^/| /' conftest.$ac_ext >&5
102915 eval "$as_ac_var=no"
102917 rm -f conftest.err conftest.$ac_objext \
102918 conftest$ac_exeext conftest.$ac_ext
102920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102922 if test `eval echo '${'$as_ac_var'}'` = yes; then
102923 cat >>confdefs.h <<_ACEOF
102924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102925 _ACEOF
102932 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
102933 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
102934 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
102935 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
102936 echo $ECHO_N "(cached) $ECHO_C" >&6
102941 ac_ext=cc
102942 ac_cpp='$CXXCPP $CPPFLAGS'
102943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102947 cat >conftest.$ac_ext <<_ACEOF
102948 /* confdefs.h. */
102949 _ACEOF
102950 cat confdefs.h >>conftest.$ac_ext
102951 cat >>conftest.$ac_ext <<_ACEOF
102952 /* end confdefs.h. */
102953 #include <math.h>
102955 main ()
102957 _hypotl(0, 0);
102959 return 0;
102961 _ACEOF
102962 rm -f conftest.$ac_objext
102963 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102964 (eval $ac_compile) 2>conftest.er1
102965 ac_status=$?
102966 grep -v '^ *+' conftest.er1 >conftest.err
102967 rm -f conftest.er1
102968 cat conftest.err >&5
102969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102970 (exit $ac_status); } &&
102971 { ac_try='test -z "$ac_cxx_werror_flag"
102972 || test ! -s conftest.err'
102973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102974 (eval $ac_try) 2>&5
102975 ac_status=$?
102976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102977 (exit $ac_status); }; } &&
102978 { ac_try='test -s conftest.$ac_objext'
102979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102980 (eval $ac_try) 2>&5
102981 ac_status=$?
102982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102983 (exit $ac_status); }; }; then
102984 glibcxx_cv_func__hypotl_use=yes
102986 echo "$as_me: failed program was:" >&5
102987 sed 's/^/| /' conftest.$ac_ext >&5
102989 glibcxx_cv_func__hypotl_use=no
102991 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102992 ac_ext=c
102993 ac_cpp='$CPP $CPPFLAGS'
102994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103002 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
103003 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
103005 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
103007 for ac_func in _hypotl
103009 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103010 echo "$as_me:$LINENO: checking for $ac_func" >&5
103011 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103012 if eval "test \"\${$as_ac_var+set}\" = set"; then
103013 echo $ECHO_N "(cached) $ECHO_C" >&6
103015 if test x$gcc_no_link = xyes; then
103016 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103017 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103018 { (exit 1); exit 1; }; }
103020 cat >conftest.$ac_ext <<_ACEOF
103021 /* confdefs.h. */
103022 _ACEOF
103023 cat confdefs.h >>conftest.$ac_ext
103024 cat >>conftest.$ac_ext <<_ACEOF
103025 /* end confdefs.h. */
103026 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103027 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103028 #define $ac_func innocuous_$ac_func
103030 /* System header to define __stub macros and hopefully few prototypes,
103031 which can conflict with char $ac_func (); below.
103032 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103033 <limits.h> exists even on freestanding compilers. */
103035 #ifdef __STDC__
103036 # include <limits.h>
103037 #else
103038 # include <assert.h>
103039 #endif
103041 #undef $ac_func
103043 /* Override any gcc2 internal prototype to avoid an error. */
103044 #ifdef __cplusplus
103045 extern "C"
103047 #endif
103048 /* We use char because int might match the return type of a gcc2
103049 builtin and then its argument prototype would still apply. */
103050 char $ac_func ();
103051 /* The GNU C library defines this for functions which it implements
103052 to always fail with ENOSYS. Some functions are actually named
103053 something starting with __ and the normal name is an alias. */
103054 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103055 choke me
103056 #else
103057 char (*f) () = $ac_func;
103058 #endif
103059 #ifdef __cplusplus
103061 #endif
103064 main ()
103066 return f != $ac_func;
103068 return 0;
103070 _ACEOF
103071 rm -f conftest.$ac_objext conftest$ac_exeext
103072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103073 (eval $ac_link) 2>conftest.er1
103074 ac_status=$?
103075 grep -v '^ *+' conftest.er1 >conftest.err
103076 rm -f conftest.er1
103077 cat conftest.err >&5
103078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103079 (exit $ac_status); } &&
103080 { ac_try='test -z "$ac_c_werror_flag"
103081 || test ! -s conftest.err'
103082 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103083 (eval $ac_try) 2>&5
103084 ac_status=$?
103085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103086 (exit $ac_status); }; } &&
103087 { ac_try='test -s conftest$ac_exeext'
103088 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103089 (eval $ac_try) 2>&5
103090 ac_status=$?
103091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103092 (exit $ac_status); }; }; then
103093 eval "$as_ac_var=yes"
103095 echo "$as_me: failed program was:" >&5
103096 sed 's/^/| /' conftest.$ac_ext >&5
103098 eval "$as_ac_var=no"
103100 rm -f conftest.err conftest.$ac_objext \
103101 conftest$ac_exeext conftest.$ac_ext
103103 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103104 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103105 if test `eval echo '${'$as_ac_var'}'` = yes; then
103106 cat >>confdefs.h <<_ACEOF
103107 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103108 _ACEOF
103121 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
103122 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
103123 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
103124 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
103125 echo $ECHO_N "(cached) $ECHO_C" >&6
103130 ac_ext=cc
103131 ac_cpp='$CXXCPP $CPPFLAGS'
103132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103136 cat >conftest.$ac_ext <<_ACEOF
103137 /* confdefs.h. */
103138 _ACEOF
103139 cat confdefs.h >>conftest.$ac_ext
103140 cat >>conftest.$ac_ext <<_ACEOF
103141 /* end confdefs.h. */
103142 #include <math.h>
103144 main ()
103146 ldexpl(0, 0);
103148 return 0;
103150 _ACEOF
103151 rm -f conftest.$ac_objext
103152 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103153 (eval $ac_compile) 2>conftest.er1
103154 ac_status=$?
103155 grep -v '^ *+' conftest.er1 >conftest.err
103156 rm -f conftest.er1
103157 cat conftest.err >&5
103158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103159 (exit $ac_status); } &&
103160 { ac_try='test -z "$ac_cxx_werror_flag"
103161 || test ! -s conftest.err'
103162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103163 (eval $ac_try) 2>&5
103164 ac_status=$?
103165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103166 (exit $ac_status); }; } &&
103167 { ac_try='test -s conftest.$ac_objext'
103168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103169 (eval $ac_try) 2>&5
103170 ac_status=$?
103171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103172 (exit $ac_status); }; }; then
103173 glibcxx_cv_func_ldexpl_use=yes
103175 echo "$as_me: failed program was:" >&5
103176 sed 's/^/| /' conftest.$ac_ext >&5
103178 glibcxx_cv_func_ldexpl_use=no
103180 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103181 ac_ext=c
103182 ac_cpp='$CPP $CPPFLAGS'
103183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103191 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
103192 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
103194 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
103196 for ac_func in ldexpl
103198 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103199 echo "$as_me:$LINENO: checking for $ac_func" >&5
103200 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103201 if eval "test \"\${$as_ac_var+set}\" = set"; then
103202 echo $ECHO_N "(cached) $ECHO_C" >&6
103204 if test x$gcc_no_link = xyes; then
103205 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103206 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103207 { (exit 1); exit 1; }; }
103209 cat >conftest.$ac_ext <<_ACEOF
103210 /* confdefs.h. */
103211 _ACEOF
103212 cat confdefs.h >>conftest.$ac_ext
103213 cat >>conftest.$ac_ext <<_ACEOF
103214 /* end confdefs.h. */
103215 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103216 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103217 #define $ac_func innocuous_$ac_func
103219 /* System header to define __stub macros and hopefully few prototypes,
103220 which can conflict with char $ac_func (); below.
103221 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103222 <limits.h> exists even on freestanding compilers. */
103224 #ifdef __STDC__
103225 # include <limits.h>
103226 #else
103227 # include <assert.h>
103228 #endif
103230 #undef $ac_func
103232 /* Override any gcc2 internal prototype to avoid an error. */
103233 #ifdef __cplusplus
103234 extern "C"
103236 #endif
103237 /* We use char because int might match the return type of a gcc2
103238 builtin and then its argument prototype would still apply. */
103239 char $ac_func ();
103240 /* The GNU C library defines this for functions which it implements
103241 to always fail with ENOSYS. Some functions are actually named
103242 something starting with __ and the normal name is an alias. */
103243 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103244 choke me
103245 #else
103246 char (*f) () = $ac_func;
103247 #endif
103248 #ifdef __cplusplus
103250 #endif
103253 main ()
103255 return f != $ac_func;
103257 return 0;
103259 _ACEOF
103260 rm -f conftest.$ac_objext conftest$ac_exeext
103261 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103262 (eval $ac_link) 2>conftest.er1
103263 ac_status=$?
103264 grep -v '^ *+' conftest.er1 >conftest.err
103265 rm -f conftest.er1
103266 cat conftest.err >&5
103267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103268 (exit $ac_status); } &&
103269 { ac_try='test -z "$ac_c_werror_flag"
103270 || test ! -s conftest.err'
103271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103272 (eval $ac_try) 2>&5
103273 ac_status=$?
103274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103275 (exit $ac_status); }; } &&
103276 { ac_try='test -s conftest$ac_exeext'
103277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103278 (eval $ac_try) 2>&5
103279 ac_status=$?
103280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103281 (exit $ac_status); }; }; then
103282 eval "$as_ac_var=yes"
103284 echo "$as_me: failed program was:" >&5
103285 sed 's/^/| /' conftest.$ac_ext >&5
103287 eval "$as_ac_var=no"
103289 rm -f conftest.err conftest.$ac_objext \
103290 conftest$ac_exeext conftest.$ac_ext
103292 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103293 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103294 if test `eval echo '${'$as_ac_var'}'` = yes; then
103295 cat >>confdefs.h <<_ACEOF
103296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103297 _ACEOF
103304 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
103305 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
103306 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
103307 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
103308 echo $ECHO_N "(cached) $ECHO_C" >&6
103313 ac_ext=cc
103314 ac_cpp='$CXXCPP $CPPFLAGS'
103315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103319 cat >conftest.$ac_ext <<_ACEOF
103320 /* confdefs.h. */
103321 _ACEOF
103322 cat confdefs.h >>conftest.$ac_ext
103323 cat >>conftest.$ac_ext <<_ACEOF
103324 /* end confdefs.h. */
103325 #include <math.h>
103327 main ()
103329 _ldexpl(0, 0);
103331 return 0;
103333 _ACEOF
103334 rm -f conftest.$ac_objext
103335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103336 (eval $ac_compile) 2>conftest.er1
103337 ac_status=$?
103338 grep -v '^ *+' conftest.er1 >conftest.err
103339 rm -f conftest.er1
103340 cat conftest.err >&5
103341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103342 (exit $ac_status); } &&
103343 { ac_try='test -z "$ac_cxx_werror_flag"
103344 || test ! -s conftest.err'
103345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103346 (eval $ac_try) 2>&5
103347 ac_status=$?
103348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103349 (exit $ac_status); }; } &&
103350 { ac_try='test -s conftest.$ac_objext'
103351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103352 (eval $ac_try) 2>&5
103353 ac_status=$?
103354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103355 (exit $ac_status); }; }; then
103356 glibcxx_cv_func__ldexpl_use=yes
103358 echo "$as_me: failed program was:" >&5
103359 sed 's/^/| /' conftest.$ac_ext >&5
103361 glibcxx_cv_func__ldexpl_use=no
103363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103364 ac_ext=c
103365 ac_cpp='$CPP $CPPFLAGS'
103366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103374 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
103375 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
103377 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
103379 for ac_func in _ldexpl
103381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103382 echo "$as_me:$LINENO: checking for $ac_func" >&5
103383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103384 if eval "test \"\${$as_ac_var+set}\" = set"; then
103385 echo $ECHO_N "(cached) $ECHO_C" >&6
103387 if test x$gcc_no_link = xyes; then
103388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103390 { (exit 1); exit 1; }; }
103392 cat >conftest.$ac_ext <<_ACEOF
103393 /* confdefs.h. */
103394 _ACEOF
103395 cat confdefs.h >>conftest.$ac_ext
103396 cat >>conftest.$ac_ext <<_ACEOF
103397 /* end confdefs.h. */
103398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103400 #define $ac_func innocuous_$ac_func
103402 /* System header to define __stub macros and hopefully few prototypes,
103403 which can conflict with char $ac_func (); below.
103404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103405 <limits.h> exists even on freestanding compilers. */
103407 #ifdef __STDC__
103408 # include <limits.h>
103409 #else
103410 # include <assert.h>
103411 #endif
103413 #undef $ac_func
103415 /* Override any gcc2 internal prototype to avoid an error. */
103416 #ifdef __cplusplus
103417 extern "C"
103419 #endif
103420 /* We use char because int might match the return type of a gcc2
103421 builtin and then its argument prototype would still apply. */
103422 char $ac_func ();
103423 /* The GNU C library defines this for functions which it implements
103424 to always fail with ENOSYS. Some functions are actually named
103425 something starting with __ and the normal name is an alias. */
103426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103427 choke me
103428 #else
103429 char (*f) () = $ac_func;
103430 #endif
103431 #ifdef __cplusplus
103433 #endif
103436 main ()
103438 return f != $ac_func;
103440 return 0;
103442 _ACEOF
103443 rm -f conftest.$ac_objext conftest$ac_exeext
103444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103445 (eval $ac_link) 2>conftest.er1
103446 ac_status=$?
103447 grep -v '^ *+' conftest.er1 >conftest.err
103448 rm -f conftest.er1
103449 cat conftest.err >&5
103450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103451 (exit $ac_status); } &&
103452 { ac_try='test -z "$ac_c_werror_flag"
103453 || test ! -s conftest.err'
103454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103455 (eval $ac_try) 2>&5
103456 ac_status=$?
103457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103458 (exit $ac_status); }; } &&
103459 { ac_try='test -s conftest$ac_exeext'
103460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103461 (eval $ac_try) 2>&5
103462 ac_status=$?
103463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103464 (exit $ac_status); }; }; then
103465 eval "$as_ac_var=yes"
103467 echo "$as_me: failed program was:" >&5
103468 sed 's/^/| /' conftest.$ac_ext >&5
103470 eval "$as_ac_var=no"
103472 rm -f conftest.err conftest.$ac_objext \
103473 conftest$ac_exeext conftest.$ac_ext
103475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103477 if test `eval echo '${'$as_ac_var'}'` = yes; then
103478 cat >>confdefs.h <<_ACEOF
103479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103480 _ACEOF
103493 echo "$as_me:$LINENO: checking for logl declaration" >&5
103494 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
103495 if test x${glibcxx_cv_func_logl_use+set} != xset; then
103496 if test "${glibcxx_cv_func_logl_use+set}" = set; then
103497 echo $ECHO_N "(cached) $ECHO_C" >&6
103502 ac_ext=cc
103503 ac_cpp='$CXXCPP $CPPFLAGS'
103504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103508 cat >conftest.$ac_ext <<_ACEOF
103509 /* confdefs.h. */
103510 _ACEOF
103511 cat confdefs.h >>conftest.$ac_ext
103512 cat >>conftest.$ac_ext <<_ACEOF
103513 /* end confdefs.h. */
103514 #include <math.h>
103515 #ifdef HAVE_IEEEFP_H
103516 #include <ieeefp.h>
103517 #endif
103520 main ()
103522 logl(0);
103524 return 0;
103526 _ACEOF
103527 rm -f conftest.$ac_objext
103528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103529 (eval $ac_compile) 2>conftest.er1
103530 ac_status=$?
103531 grep -v '^ *+' conftest.er1 >conftest.err
103532 rm -f conftest.er1
103533 cat conftest.err >&5
103534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103535 (exit $ac_status); } &&
103536 { ac_try='test -z "$ac_cxx_werror_flag"
103537 || test ! -s conftest.err'
103538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103539 (eval $ac_try) 2>&5
103540 ac_status=$?
103541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103542 (exit $ac_status); }; } &&
103543 { ac_try='test -s conftest.$ac_objext'
103544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103545 (eval $ac_try) 2>&5
103546 ac_status=$?
103547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103548 (exit $ac_status); }; }; then
103549 glibcxx_cv_func_logl_use=yes
103551 echo "$as_me: failed program was:" >&5
103552 sed 's/^/| /' conftest.$ac_ext >&5
103554 glibcxx_cv_func_logl_use=no
103556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103557 ac_ext=c
103558 ac_cpp='$CPP $CPPFLAGS'
103559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103567 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
103568 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
103570 if test x$glibcxx_cv_func_logl_use = x"yes"; then
103572 for ac_func in logl
103574 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103575 echo "$as_me:$LINENO: checking for $ac_func" >&5
103576 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103577 if eval "test \"\${$as_ac_var+set}\" = set"; then
103578 echo $ECHO_N "(cached) $ECHO_C" >&6
103580 if test x$gcc_no_link = xyes; then
103581 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103582 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103583 { (exit 1); exit 1; }; }
103585 cat >conftest.$ac_ext <<_ACEOF
103586 /* confdefs.h. */
103587 _ACEOF
103588 cat confdefs.h >>conftest.$ac_ext
103589 cat >>conftest.$ac_ext <<_ACEOF
103590 /* end confdefs.h. */
103591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103593 #define $ac_func innocuous_$ac_func
103595 /* System header to define __stub macros and hopefully few prototypes,
103596 which can conflict with char $ac_func (); below.
103597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103598 <limits.h> exists even on freestanding compilers. */
103600 #ifdef __STDC__
103601 # include <limits.h>
103602 #else
103603 # include <assert.h>
103604 #endif
103606 #undef $ac_func
103608 /* Override any gcc2 internal prototype to avoid an error. */
103609 #ifdef __cplusplus
103610 extern "C"
103612 #endif
103613 /* We use char because int might match the return type of a gcc2
103614 builtin and then its argument prototype would still apply. */
103615 char $ac_func ();
103616 /* The GNU C library defines this for functions which it implements
103617 to always fail with ENOSYS. Some functions are actually named
103618 something starting with __ and the normal name is an alias. */
103619 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103620 choke me
103621 #else
103622 char (*f) () = $ac_func;
103623 #endif
103624 #ifdef __cplusplus
103626 #endif
103629 main ()
103631 return f != $ac_func;
103633 return 0;
103635 _ACEOF
103636 rm -f conftest.$ac_objext conftest$ac_exeext
103637 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103638 (eval $ac_link) 2>conftest.er1
103639 ac_status=$?
103640 grep -v '^ *+' conftest.er1 >conftest.err
103641 rm -f conftest.er1
103642 cat conftest.err >&5
103643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103644 (exit $ac_status); } &&
103645 { ac_try='test -z "$ac_c_werror_flag"
103646 || test ! -s conftest.err'
103647 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103648 (eval $ac_try) 2>&5
103649 ac_status=$?
103650 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103651 (exit $ac_status); }; } &&
103652 { ac_try='test -s conftest$ac_exeext'
103653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103654 (eval $ac_try) 2>&5
103655 ac_status=$?
103656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103657 (exit $ac_status); }; }; then
103658 eval "$as_ac_var=yes"
103660 echo "$as_me: failed program was:" >&5
103661 sed 's/^/| /' conftest.$ac_ext >&5
103663 eval "$as_ac_var=no"
103665 rm -f conftest.err conftest.$ac_objext \
103666 conftest$ac_exeext conftest.$ac_ext
103668 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103669 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103670 if test `eval echo '${'$as_ac_var'}'` = yes; then
103671 cat >>confdefs.h <<_ACEOF
103672 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103673 _ACEOF
103680 echo "$as_me:$LINENO: checking for _logl declaration" >&5
103681 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
103682 if test x${glibcxx_cv_func__logl_use+set} != xset; then
103683 if test "${glibcxx_cv_func__logl_use+set}" = set; then
103684 echo $ECHO_N "(cached) $ECHO_C" >&6
103689 ac_ext=cc
103690 ac_cpp='$CXXCPP $CPPFLAGS'
103691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103695 cat >conftest.$ac_ext <<_ACEOF
103696 /* confdefs.h. */
103697 _ACEOF
103698 cat confdefs.h >>conftest.$ac_ext
103699 cat >>conftest.$ac_ext <<_ACEOF
103700 /* end confdefs.h. */
103701 #include <math.h>
103702 #ifdef HAVE_IEEEFP_H
103703 #include <ieeefp.h>
103704 #endif
103707 main ()
103709 _logl(0);
103711 return 0;
103713 _ACEOF
103714 rm -f conftest.$ac_objext
103715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103716 (eval $ac_compile) 2>conftest.er1
103717 ac_status=$?
103718 grep -v '^ *+' conftest.er1 >conftest.err
103719 rm -f conftest.er1
103720 cat conftest.err >&5
103721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103722 (exit $ac_status); } &&
103723 { ac_try='test -z "$ac_cxx_werror_flag"
103724 || test ! -s conftest.err'
103725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103726 (eval $ac_try) 2>&5
103727 ac_status=$?
103728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103729 (exit $ac_status); }; } &&
103730 { ac_try='test -s conftest.$ac_objext'
103731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103732 (eval $ac_try) 2>&5
103733 ac_status=$?
103734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103735 (exit $ac_status); }; }; then
103736 glibcxx_cv_func__logl_use=yes
103738 echo "$as_me: failed program was:" >&5
103739 sed 's/^/| /' conftest.$ac_ext >&5
103741 glibcxx_cv_func__logl_use=no
103743 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103744 ac_ext=c
103745 ac_cpp='$CPP $CPPFLAGS'
103746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103754 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
103755 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
103757 if test x$glibcxx_cv_func__logl_use = x"yes"; then
103759 for ac_func in _logl
103761 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103762 echo "$as_me:$LINENO: checking for $ac_func" >&5
103763 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103764 if eval "test \"\${$as_ac_var+set}\" = set"; then
103765 echo $ECHO_N "(cached) $ECHO_C" >&6
103767 if test x$gcc_no_link = xyes; then
103768 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103769 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103770 { (exit 1); exit 1; }; }
103772 cat >conftest.$ac_ext <<_ACEOF
103773 /* confdefs.h. */
103774 _ACEOF
103775 cat confdefs.h >>conftest.$ac_ext
103776 cat >>conftest.$ac_ext <<_ACEOF
103777 /* end confdefs.h. */
103778 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103779 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103780 #define $ac_func innocuous_$ac_func
103782 /* System header to define __stub macros and hopefully few prototypes,
103783 which can conflict with char $ac_func (); below.
103784 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103785 <limits.h> exists even on freestanding compilers. */
103787 #ifdef __STDC__
103788 # include <limits.h>
103789 #else
103790 # include <assert.h>
103791 #endif
103793 #undef $ac_func
103795 /* Override any gcc2 internal prototype to avoid an error. */
103796 #ifdef __cplusplus
103797 extern "C"
103799 #endif
103800 /* We use char because int might match the return type of a gcc2
103801 builtin and then its argument prototype would still apply. */
103802 char $ac_func ();
103803 /* The GNU C library defines this for functions which it implements
103804 to always fail with ENOSYS. Some functions are actually named
103805 something starting with __ and the normal name is an alias. */
103806 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103807 choke me
103808 #else
103809 char (*f) () = $ac_func;
103810 #endif
103811 #ifdef __cplusplus
103813 #endif
103816 main ()
103818 return f != $ac_func;
103820 return 0;
103822 _ACEOF
103823 rm -f conftest.$ac_objext conftest$ac_exeext
103824 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103825 (eval $ac_link) 2>conftest.er1
103826 ac_status=$?
103827 grep -v '^ *+' conftest.er1 >conftest.err
103828 rm -f conftest.er1
103829 cat conftest.err >&5
103830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103831 (exit $ac_status); } &&
103832 { ac_try='test -z "$ac_c_werror_flag"
103833 || test ! -s conftest.err'
103834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103835 (eval $ac_try) 2>&5
103836 ac_status=$?
103837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103838 (exit $ac_status); }; } &&
103839 { ac_try='test -s conftest$ac_exeext'
103840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103841 (eval $ac_try) 2>&5
103842 ac_status=$?
103843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103844 (exit $ac_status); }; }; then
103845 eval "$as_ac_var=yes"
103847 echo "$as_me: failed program was:" >&5
103848 sed 's/^/| /' conftest.$ac_ext >&5
103850 eval "$as_ac_var=no"
103852 rm -f conftest.err conftest.$ac_objext \
103853 conftest$ac_exeext conftest.$ac_ext
103855 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103856 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103857 if test `eval echo '${'$as_ac_var'}'` = yes; then
103858 cat >>confdefs.h <<_ACEOF
103859 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103860 _ACEOF
103873 echo "$as_me:$LINENO: checking for log10l declaration" >&5
103874 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
103875 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
103876 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
103877 echo $ECHO_N "(cached) $ECHO_C" >&6
103882 ac_ext=cc
103883 ac_cpp='$CXXCPP $CPPFLAGS'
103884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103888 cat >conftest.$ac_ext <<_ACEOF
103889 /* confdefs.h. */
103890 _ACEOF
103891 cat confdefs.h >>conftest.$ac_ext
103892 cat >>conftest.$ac_ext <<_ACEOF
103893 /* end confdefs.h. */
103894 #include <math.h>
103895 #ifdef HAVE_IEEEFP_H
103896 #include <ieeefp.h>
103897 #endif
103900 main ()
103902 log10l(0);
103904 return 0;
103906 _ACEOF
103907 rm -f conftest.$ac_objext
103908 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103909 (eval $ac_compile) 2>conftest.er1
103910 ac_status=$?
103911 grep -v '^ *+' conftest.er1 >conftest.err
103912 rm -f conftest.er1
103913 cat conftest.err >&5
103914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103915 (exit $ac_status); } &&
103916 { ac_try='test -z "$ac_cxx_werror_flag"
103917 || test ! -s conftest.err'
103918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103919 (eval $ac_try) 2>&5
103920 ac_status=$?
103921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103922 (exit $ac_status); }; } &&
103923 { ac_try='test -s conftest.$ac_objext'
103924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103925 (eval $ac_try) 2>&5
103926 ac_status=$?
103927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103928 (exit $ac_status); }; }; then
103929 glibcxx_cv_func_log10l_use=yes
103931 echo "$as_me: failed program was:" >&5
103932 sed 's/^/| /' conftest.$ac_ext >&5
103934 glibcxx_cv_func_log10l_use=no
103936 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103937 ac_ext=c
103938 ac_cpp='$CPP $CPPFLAGS'
103939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103947 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
103948 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
103950 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
103952 for ac_func in log10l
103954 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103955 echo "$as_me:$LINENO: checking for $ac_func" >&5
103956 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103957 if eval "test \"\${$as_ac_var+set}\" = set"; then
103958 echo $ECHO_N "(cached) $ECHO_C" >&6
103960 if test x$gcc_no_link = xyes; then
103961 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103962 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103963 { (exit 1); exit 1; }; }
103965 cat >conftest.$ac_ext <<_ACEOF
103966 /* confdefs.h. */
103967 _ACEOF
103968 cat confdefs.h >>conftest.$ac_ext
103969 cat >>conftest.$ac_ext <<_ACEOF
103970 /* end confdefs.h. */
103971 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103972 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103973 #define $ac_func innocuous_$ac_func
103975 /* System header to define __stub macros and hopefully few prototypes,
103976 which can conflict with char $ac_func (); below.
103977 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103978 <limits.h> exists even on freestanding compilers. */
103980 #ifdef __STDC__
103981 # include <limits.h>
103982 #else
103983 # include <assert.h>
103984 #endif
103986 #undef $ac_func
103988 /* Override any gcc2 internal prototype to avoid an error. */
103989 #ifdef __cplusplus
103990 extern "C"
103992 #endif
103993 /* We use char because int might match the return type of a gcc2
103994 builtin and then its argument prototype would still apply. */
103995 char $ac_func ();
103996 /* The GNU C library defines this for functions which it implements
103997 to always fail with ENOSYS. Some functions are actually named
103998 something starting with __ and the normal name is an alias. */
103999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104000 choke me
104001 #else
104002 char (*f) () = $ac_func;
104003 #endif
104004 #ifdef __cplusplus
104006 #endif
104009 main ()
104011 return f != $ac_func;
104013 return 0;
104015 _ACEOF
104016 rm -f conftest.$ac_objext conftest$ac_exeext
104017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104018 (eval $ac_link) 2>conftest.er1
104019 ac_status=$?
104020 grep -v '^ *+' conftest.er1 >conftest.err
104021 rm -f conftest.er1
104022 cat conftest.err >&5
104023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104024 (exit $ac_status); } &&
104025 { ac_try='test -z "$ac_c_werror_flag"
104026 || test ! -s conftest.err'
104027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104028 (eval $ac_try) 2>&5
104029 ac_status=$?
104030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104031 (exit $ac_status); }; } &&
104032 { ac_try='test -s conftest$ac_exeext'
104033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104034 (eval $ac_try) 2>&5
104035 ac_status=$?
104036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104037 (exit $ac_status); }; }; then
104038 eval "$as_ac_var=yes"
104040 echo "$as_me: failed program was:" >&5
104041 sed 's/^/| /' conftest.$ac_ext >&5
104043 eval "$as_ac_var=no"
104045 rm -f conftest.err conftest.$ac_objext \
104046 conftest$ac_exeext conftest.$ac_ext
104048 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104049 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104050 if test `eval echo '${'$as_ac_var'}'` = yes; then
104051 cat >>confdefs.h <<_ACEOF
104052 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104053 _ACEOF
104060 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
104061 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
104062 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
104063 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
104064 echo $ECHO_N "(cached) $ECHO_C" >&6
104069 ac_ext=cc
104070 ac_cpp='$CXXCPP $CPPFLAGS'
104071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104075 cat >conftest.$ac_ext <<_ACEOF
104076 /* confdefs.h. */
104077 _ACEOF
104078 cat confdefs.h >>conftest.$ac_ext
104079 cat >>conftest.$ac_ext <<_ACEOF
104080 /* end confdefs.h. */
104081 #include <math.h>
104082 #ifdef HAVE_IEEEFP_H
104083 #include <ieeefp.h>
104084 #endif
104087 main ()
104089 _log10l(0);
104091 return 0;
104093 _ACEOF
104094 rm -f conftest.$ac_objext
104095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104096 (eval $ac_compile) 2>conftest.er1
104097 ac_status=$?
104098 grep -v '^ *+' conftest.er1 >conftest.err
104099 rm -f conftest.er1
104100 cat conftest.err >&5
104101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104102 (exit $ac_status); } &&
104103 { ac_try='test -z "$ac_cxx_werror_flag"
104104 || test ! -s conftest.err'
104105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104106 (eval $ac_try) 2>&5
104107 ac_status=$?
104108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104109 (exit $ac_status); }; } &&
104110 { ac_try='test -s conftest.$ac_objext'
104111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104112 (eval $ac_try) 2>&5
104113 ac_status=$?
104114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104115 (exit $ac_status); }; }; then
104116 glibcxx_cv_func__log10l_use=yes
104118 echo "$as_me: failed program was:" >&5
104119 sed 's/^/| /' conftest.$ac_ext >&5
104121 glibcxx_cv_func__log10l_use=no
104123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104124 ac_ext=c
104125 ac_cpp='$CPP $CPPFLAGS'
104126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
104135 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
104137 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
104139 for ac_func in _log10l
104141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104142 echo "$as_me:$LINENO: checking for $ac_func" >&5
104143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104144 if eval "test \"\${$as_ac_var+set}\" = set"; then
104145 echo $ECHO_N "(cached) $ECHO_C" >&6
104147 if test x$gcc_no_link = xyes; then
104148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104150 { (exit 1); exit 1; }; }
104152 cat >conftest.$ac_ext <<_ACEOF
104153 /* confdefs.h. */
104154 _ACEOF
104155 cat confdefs.h >>conftest.$ac_ext
104156 cat >>conftest.$ac_ext <<_ACEOF
104157 /* end confdefs.h. */
104158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104160 #define $ac_func innocuous_$ac_func
104162 /* System header to define __stub macros and hopefully few prototypes,
104163 which can conflict with char $ac_func (); below.
104164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104165 <limits.h> exists even on freestanding compilers. */
104167 #ifdef __STDC__
104168 # include <limits.h>
104169 #else
104170 # include <assert.h>
104171 #endif
104173 #undef $ac_func
104175 /* Override any gcc2 internal prototype to avoid an error. */
104176 #ifdef __cplusplus
104177 extern "C"
104179 #endif
104180 /* We use char because int might match the return type of a gcc2
104181 builtin and then its argument prototype would still apply. */
104182 char $ac_func ();
104183 /* The GNU C library defines this for functions which it implements
104184 to always fail with ENOSYS. Some functions are actually named
104185 something starting with __ and the normal name is an alias. */
104186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104187 choke me
104188 #else
104189 char (*f) () = $ac_func;
104190 #endif
104191 #ifdef __cplusplus
104193 #endif
104196 main ()
104198 return f != $ac_func;
104200 return 0;
104202 _ACEOF
104203 rm -f conftest.$ac_objext conftest$ac_exeext
104204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104205 (eval $ac_link) 2>conftest.er1
104206 ac_status=$?
104207 grep -v '^ *+' conftest.er1 >conftest.err
104208 rm -f conftest.er1
104209 cat conftest.err >&5
104210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104211 (exit $ac_status); } &&
104212 { ac_try='test -z "$ac_c_werror_flag"
104213 || test ! -s conftest.err'
104214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104215 (eval $ac_try) 2>&5
104216 ac_status=$?
104217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104218 (exit $ac_status); }; } &&
104219 { ac_try='test -s conftest$ac_exeext'
104220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104221 (eval $ac_try) 2>&5
104222 ac_status=$?
104223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104224 (exit $ac_status); }; }; then
104225 eval "$as_ac_var=yes"
104227 echo "$as_me: failed program was:" >&5
104228 sed 's/^/| /' conftest.$ac_ext >&5
104230 eval "$as_ac_var=no"
104232 rm -f conftest.err conftest.$ac_objext \
104233 conftest$ac_exeext conftest.$ac_ext
104235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104237 if test `eval echo '${'$as_ac_var'}'` = yes; then
104238 cat >>confdefs.h <<_ACEOF
104239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104240 _ACEOF
104253 echo "$as_me:$LINENO: checking for modfl declaration" >&5
104254 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
104255 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
104256 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
104257 echo $ECHO_N "(cached) $ECHO_C" >&6
104262 ac_ext=cc
104263 ac_cpp='$CXXCPP $CPPFLAGS'
104264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104268 cat >conftest.$ac_ext <<_ACEOF
104269 /* confdefs.h. */
104270 _ACEOF
104271 cat confdefs.h >>conftest.$ac_ext
104272 cat >>conftest.$ac_ext <<_ACEOF
104273 /* end confdefs.h. */
104274 #include <math.h>
104276 main ()
104278 modfl(0, 0);
104280 return 0;
104282 _ACEOF
104283 rm -f conftest.$ac_objext
104284 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104285 (eval $ac_compile) 2>conftest.er1
104286 ac_status=$?
104287 grep -v '^ *+' conftest.er1 >conftest.err
104288 rm -f conftest.er1
104289 cat conftest.err >&5
104290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104291 (exit $ac_status); } &&
104292 { ac_try='test -z "$ac_cxx_werror_flag"
104293 || test ! -s conftest.err'
104294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104295 (eval $ac_try) 2>&5
104296 ac_status=$?
104297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104298 (exit $ac_status); }; } &&
104299 { ac_try='test -s conftest.$ac_objext'
104300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104301 (eval $ac_try) 2>&5
104302 ac_status=$?
104303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104304 (exit $ac_status); }; }; then
104305 glibcxx_cv_func_modfl_use=yes
104307 echo "$as_me: failed program was:" >&5
104308 sed 's/^/| /' conftest.$ac_ext >&5
104310 glibcxx_cv_func_modfl_use=no
104312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104313 ac_ext=c
104314 ac_cpp='$CPP $CPPFLAGS'
104315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104323 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
104324 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
104326 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
104328 for ac_func in modfl
104330 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104331 echo "$as_me:$LINENO: checking for $ac_func" >&5
104332 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104333 if eval "test \"\${$as_ac_var+set}\" = set"; then
104334 echo $ECHO_N "(cached) $ECHO_C" >&6
104336 if test x$gcc_no_link = xyes; then
104337 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104338 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104339 { (exit 1); exit 1; }; }
104341 cat >conftest.$ac_ext <<_ACEOF
104342 /* confdefs.h. */
104343 _ACEOF
104344 cat confdefs.h >>conftest.$ac_ext
104345 cat >>conftest.$ac_ext <<_ACEOF
104346 /* end confdefs.h. */
104347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104349 #define $ac_func innocuous_$ac_func
104351 /* System header to define __stub macros and hopefully few prototypes,
104352 which can conflict with char $ac_func (); below.
104353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104354 <limits.h> exists even on freestanding compilers. */
104356 #ifdef __STDC__
104357 # include <limits.h>
104358 #else
104359 # include <assert.h>
104360 #endif
104362 #undef $ac_func
104364 /* Override any gcc2 internal prototype to avoid an error. */
104365 #ifdef __cplusplus
104366 extern "C"
104368 #endif
104369 /* We use char because int might match the return type of a gcc2
104370 builtin and then its argument prototype would still apply. */
104371 char $ac_func ();
104372 /* The GNU C library defines this for functions which it implements
104373 to always fail with ENOSYS. Some functions are actually named
104374 something starting with __ and the normal name is an alias. */
104375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104376 choke me
104377 #else
104378 char (*f) () = $ac_func;
104379 #endif
104380 #ifdef __cplusplus
104382 #endif
104385 main ()
104387 return f != $ac_func;
104389 return 0;
104391 _ACEOF
104392 rm -f conftest.$ac_objext conftest$ac_exeext
104393 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104394 (eval $ac_link) 2>conftest.er1
104395 ac_status=$?
104396 grep -v '^ *+' conftest.er1 >conftest.err
104397 rm -f conftest.er1
104398 cat conftest.err >&5
104399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104400 (exit $ac_status); } &&
104401 { ac_try='test -z "$ac_c_werror_flag"
104402 || test ! -s conftest.err'
104403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104404 (eval $ac_try) 2>&5
104405 ac_status=$?
104406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104407 (exit $ac_status); }; } &&
104408 { ac_try='test -s conftest$ac_exeext'
104409 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104410 (eval $ac_try) 2>&5
104411 ac_status=$?
104412 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104413 (exit $ac_status); }; }; then
104414 eval "$as_ac_var=yes"
104416 echo "$as_me: failed program was:" >&5
104417 sed 's/^/| /' conftest.$ac_ext >&5
104419 eval "$as_ac_var=no"
104421 rm -f conftest.err conftest.$ac_objext \
104422 conftest$ac_exeext conftest.$ac_ext
104424 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104425 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104426 if test `eval echo '${'$as_ac_var'}'` = yes; then
104427 cat >>confdefs.h <<_ACEOF
104428 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104429 _ACEOF
104436 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
104437 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
104438 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
104439 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
104440 echo $ECHO_N "(cached) $ECHO_C" >&6
104445 ac_ext=cc
104446 ac_cpp='$CXXCPP $CPPFLAGS'
104447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104451 cat >conftest.$ac_ext <<_ACEOF
104452 /* confdefs.h. */
104453 _ACEOF
104454 cat confdefs.h >>conftest.$ac_ext
104455 cat >>conftest.$ac_ext <<_ACEOF
104456 /* end confdefs.h. */
104457 #include <math.h>
104459 main ()
104461 _modfl(0, 0);
104463 return 0;
104465 _ACEOF
104466 rm -f conftest.$ac_objext
104467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104468 (eval $ac_compile) 2>conftest.er1
104469 ac_status=$?
104470 grep -v '^ *+' conftest.er1 >conftest.err
104471 rm -f conftest.er1
104472 cat conftest.err >&5
104473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104474 (exit $ac_status); } &&
104475 { ac_try='test -z "$ac_cxx_werror_flag"
104476 || test ! -s conftest.err'
104477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104478 (eval $ac_try) 2>&5
104479 ac_status=$?
104480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104481 (exit $ac_status); }; } &&
104482 { ac_try='test -s conftest.$ac_objext'
104483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104484 (eval $ac_try) 2>&5
104485 ac_status=$?
104486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104487 (exit $ac_status); }; }; then
104488 glibcxx_cv_func__modfl_use=yes
104490 echo "$as_me: failed program was:" >&5
104491 sed 's/^/| /' conftest.$ac_ext >&5
104493 glibcxx_cv_func__modfl_use=no
104495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104496 ac_ext=c
104497 ac_cpp='$CPP $CPPFLAGS'
104498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104506 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
104507 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
104509 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
104511 for ac_func in _modfl
104513 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104514 echo "$as_me:$LINENO: checking for $ac_func" >&5
104515 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104516 if eval "test \"\${$as_ac_var+set}\" = set"; then
104517 echo $ECHO_N "(cached) $ECHO_C" >&6
104519 if test x$gcc_no_link = xyes; then
104520 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104521 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104522 { (exit 1); exit 1; }; }
104524 cat >conftest.$ac_ext <<_ACEOF
104525 /* confdefs.h. */
104526 _ACEOF
104527 cat confdefs.h >>conftest.$ac_ext
104528 cat >>conftest.$ac_ext <<_ACEOF
104529 /* end confdefs.h. */
104530 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104531 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104532 #define $ac_func innocuous_$ac_func
104534 /* System header to define __stub macros and hopefully few prototypes,
104535 which can conflict with char $ac_func (); below.
104536 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104537 <limits.h> exists even on freestanding compilers. */
104539 #ifdef __STDC__
104540 # include <limits.h>
104541 #else
104542 # include <assert.h>
104543 #endif
104545 #undef $ac_func
104547 /* Override any gcc2 internal prototype to avoid an error. */
104548 #ifdef __cplusplus
104549 extern "C"
104551 #endif
104552 /* We use char because int might match the return type of a gcc2
104553 builtin and then its argument prototype would still apply. */
104554 char $ac_func ();
104555 /* The GNU C library defines this for functions which it implements
104556 to always fail with ENOSYS. Some functions are actually named
104557 something starting with __ and the normal name is an alias. */
104558 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104559 choke me
104560 #else
104561 char (*f) () = $ac_func;
104562 #endif
104563 #ifdef __cplusplus
104565 #endif
104568 main ()
104570 return f != $ac_func;
104572 return 0;
104574 _ACEOF
104575 rm -f conftest.$ac_objext conftest$ac_exeext
104576 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104577 (eval $ac_link) 2>conftest.er1
104578 ac_status=$?
104579 grep -v '^ *+' conftest.er1 >conftest.err
104580 rm -f conftest.er1
104581 cat conftest.err >&5
104582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104583 (exit $ac_status); } &&
104584 { ac_try='test -z "$ac_c_werror_flag"
104585 || test ! -s conftest.err'
104586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104587 (eval $ac_try) 2>&5
104588 ac_status=$?
104589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104590 (exit $ac_status); }; } &&
104591 { ac_try='test -s conftest$ac_exeext'
104592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104593 (eval $ac_try) 2>&5
104594 ac_status=$?
104595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104596 (exit $ac_status); }; }; then
104597 eval "$as_ac_var=yes"
104599 echo "$as_me: failed program was:" >&5
104600 sed 's/^/| /' conftest.$ac_ext >&5
104602 eval "$as_ac_var=no"
104604 rm -f conftest.err conftest.$ac_objext \
104605 conftest$ac_exeext conftest.$ac_ext
104607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104608 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104609 if test `eval echo '${'$as_ac_var'}'` = yes; then
104610 cat >>confdefs.h <<_ACEOF
104611 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104612 _ACEOF
104625 echo "$as_me:$LINENO: checking for powl declaration" >&5
104626 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
104627 if test x${glibcxx_cv_func_powl_use+set} != xset; then
104628 if test "${glibcxx_cv_func_powl_use+set}" = set; then
104629 echo $ECHO_N "(cached) $ECHO_C" >&6
104634 ac_ext=cc
104635 ac_cpp='$CXXCPP $CPPFLAGS'
104636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104640 cat >conftest.$ac_ext <<_ACEOF
104641 /* confdefs.h. */
104642 _ACEOF
104643 cat confdefs.h >>conftest.$ac_ext
104644 cat >>conftest.$ac_ext <<_ACEOF
104645 /* end confdefs.h. */
104646 #include <math.h>
104648 main ()
104650 powl(0, 0);
104652 return 0;
104654 _ACEOF
104655 rm -f conftest.$ac_objext
104656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104657 (eval $ac_compile) 2>conftest.er1
104658 ac_status=$?
104659 grep -v '^ *+' conftest.er1 >conftest.err
104660 rm -f conftest.er1
104661 cat conftest.err >&5
104662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104663 (exit $ac_status); } &&
104664 { ac_try='test -z "$ac_cxx_werror_flag"
104665 || test ! -s conftest.err'
104666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104667 (eval $ac_try) 2>&5
104668 ac_status=$?
104669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104670 (exit $ac_status); }; } &&
104671 { ac_try='test -s conftest.$ac_objext'
104672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104673 (eval $ac_try) 2>&5
104674 ac_status=$?
104675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104676 (exit $ac_status); }; }; then
104677 glibcxx_cv_func_powl_use=yes
104679 echo "$as_me: failed program was:" >&5
104680 sed 's/^/| /' conftest.$ac_ext >&5
104682 glibcxx_cv_func_powl_use=no
104684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104685 ac_ext=c
104686 ac_cpp='$CPP $CPPFLAGS'
104687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104695 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
104696 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
104698 if test x$glibcxx_cv_func_powl_use = x"yes"; then
104700 for ac_func in powl
104702 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104703 echo "$as_me:$LINENO: checking for $ac_func" >&5
104704 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104705 if eval "test \"\${$as_ac_var+set}\" = set"; then
104706 echo $ECHO_N "(cached) $ECHO_C" >&6
104708 if test x$gcc_no_link = xyes; then
104709 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104710 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104711 { (exit 1); exit 1; }; }
104713 cat >conftest.$ac_ext <<_ACEOF
104714 /* confdefs.h. */
104715 _ACEOF
104716 cat confdefs.h >>conftest.$ac_ext
104717 cat >>conftest.$ac_ext <<_ACEOF
104718 /* end confdefs.h. */
104719 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104720 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104721 #define $ac_func innocuous_$ac_func
104723 /* System header to define __stub macros and hopefully few prototypes,
104724 which can conflict with char $ac_func (); below.
104725 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104726 <limits.h> exists even on freestanding compilers. */
104728 #ifdef __STDC__
104729 # include <limits.h>
104730 #else
104731 # include <assert.h>
104732 #endif
104734 #undef $ac_func
104736 /* Override any gcc2 internal prototype to avoid an error. */
104737 #ifdef __cplusplus
104738 extern "C"
104740 #endif
104741 /* We use char because int might match the return type of a gcc2
104742 builtin and then its argument prototype would still apply. */
104743 char $ac_func ();
104744 /* The GNU C library defines this for functions which it implements
104745 to always fail with ENOSYS. Some functions are actually named
104746 something starting with __ and the normal name is an alias. */
104747 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104748 choke me
104749 #else
104750 char (*f) () = $ac_func;
104751 #endif
104752 #ifdef __cplusplus
104754 #endif
104757 main ()
104759 return f != $ac_func;
104761 return 0;
104763 _ACEOF
104764 rm -f conftest.$ac_objext conftest$ac_exeext
104765 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104766 (eval $ac_link) 2>conftest.er1
104767 ac_status=$?
104768 grep -v '^ *+' conftest.er1 >conftest.err
104769 rm -f conftest.er1
104770 cat conftest.err >&5
104771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104772 (exit $ac_status); } &&
104773 { ac_try='test -z "$ac_c_werror_flag"
104774 || test ! -s conftest.err'
104775 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104776 (eval $ac_try) 2>&5
104777 ac_status=$?
104778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104779 (exit $ac_status); }; } &&
104780 { ac_try='test -s conftest$ac_exeext'
104781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104782 (eval $ac_try) 2>&5
104783 ac_status=$?
104784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104785 (exit $ac_status); }; }; then
104786 eval "$as_ac_var=yes"
104788 echo "$as_me: failed program was:" >&5
104789 sed 's/^/| /' conftest.$ac_ext >&5
104791 eval "$as_ac_var=no"
104793 rm -f conftest.err conftest.$ac_objext \
104794 conftest$ac_exeext conftest.$ac_ext
104796 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104797 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104798 if test `eval echo '${'$as_ac_var'}'` = yes; then
104799 cat >>confdefs.h <<_ACEOF
104800 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104801 _ACEOF
104808 echo "$as_me:$LINENO: checking for _powl declaration" >&5
104809 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
104810 if test x${glibcxx_cv_func__powl_use+set} != xset; then
104811 if test "${glibcxx_cv_func__powl_use+set}" = set; then
104812 echo $ECHO_N "(cached) $ECHO_C" >&6
104817 ac_ext=cc
104818 ac_cpp='$CXXCPP $CPPFLAGS'
104819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104823 cat >conftest.$ac_ext <<_ACEOF
104824 /* confdefs.h. */
104825 _ACEOF
104826 cat confdefs.h >>conftest.$ac_ext
104827 cat >>conftest.$ac_ext <<_ACEOF
104828 /* end confdefs.h. */
104829 #include <math.h>
104831 main ()
104833 _powl(0, 0);
104835 return 0;
104837 _ACEOF
104838 rm -f conftest.$ac_objext
104839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104840 (eval $ac_compile) 2>conftest.er1
104841 ac_status=$?
104842 grep -v '^ *+' conftest.er1 >conftest.err
104843 rm -f conftest.er1
104844 cat conftest.err >&5
104845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104846 (exit $ac_status); } &&
104847 { ac_try='test -z "$ac_cxx_werror_flag"
104848 || test ! -s conftest.err'
104849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104850 (eval $ac_try) 2>&5
104851 ac_status=$?
104852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104853 (exit $ac_status); }; } &&
104854 { ac_try='test -s conftest.$ac_objext'
104855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104856 (eval $ac_try) 2>&5
104857 ac_status=$?
104858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104859 (exit $ac_status); }; }; then
104860 glibcxx_cv_func__powl_use=yes
104862 echo "$as_me: failed program was:" >&5
104863 sed 's/^/| /' conftest.$ac_ext >&5
104865 glibcxx_cv_func__powl_use=no
104867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104868 ac_ext=c
104869 ac_cpp='$CPP $CPPFLAGS'
104870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104878 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
104879 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
104881 if test x$glibcxx_cv_func__powl_use = x"yes"; then
104883 for ac_func in _powl
104885 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104886 echo "$as_me:$LINENO: checking for $ac_func" >&5
104887 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104888 if eval "test \"\${$as_ac_var+set}\" = set"; then
104889 echo $ECHO_N "(cached) $ECHO_C" >&6
104891 if test x$gcc_no_link = xyes; then
104892 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104893 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104894 { (exit 1); exit 1; }; }
104896 cat >conftest.$ac_ext <<_ACEOF
104897 /* confdefs.h. */
104898 _ACEOF
104899 cat confdefs.h >>conftest.$ac_ext
104900 cat >>conftest.$ac_ext <<_ACEOF
104901 /* end confdefs.h. */
104902 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104903 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104904 #define $ac_func innocuous_$ac_func
104906 /* System header to define __stub macros and hopefully few prototypes,
104907 which can conflict with char $ac_func (); below.
104908 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104909 <limits.h> exists even on freestanding compilers. */
104911 #ifdef __STDC__
104912 # include <limits.h>
104913 #else
104914 # include <assert.h>
104915 #endif
104917 #undef $ac_func
104919 /* Override any gcc2 internal prototype to avoid an error. */
104920 #ifdef __cplusplus
104921 extern "C"
104923 #endif
104924 /* We use char because int might match the return type of a gcc2
104925 builtin and then its argument prototype would still apply. */
104926 char $ac_func ();
104927 /* The GNU C library defines this for functions which it implements
104928 to always fail with ENOSYS. Some functions are actually named
104929 something starting with __ and the normal name is an alias. */
104930 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104931 choke me
104932 #else
104933 char (*f) () = $ac_func;
104934 #endif
104935 #ifdef __cplusplus
104937 #endif
104940 main ()
104942 return f != $ac_func;
104944 return 0;
104946 _ACEOF
104947 rm -f conftest.$ac_objext conftest$ac_exeext
104948 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104949 (eval $ac_link) 2>conftest.er1
104950 ac_status=$?
104951 grep -v '^ *+' conftest.er1 >conftest.err
104952 rm -f conftest.er1
104953 cat conftest.err >&5
104954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104955 (exit $ac_status); } &&
104956 { ac_try='test -z "$ac_c_werror_flag"
104957 || test ! -s conftest.err'
104958 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104959 (eval $ac_try) 2>&5
104960 ac_status=$?
104961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104962 (exit $ac_status); }; } &&
104963 { ac_try='test -s conftest$ac_exeext'
104964 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104965 (eval $ac_try) 2>&5
104966 ac_status=$?
104967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104968 (exit $ac_status); }; }; then
104969 eval "$as_ac_var=yes"
104971 echo "$as_me: failed program was:" >&5
104972 sed 's/^/| /' conftest.$ac_ext >&5
104974 eval "$as_ac_var=no"
104976 rm -f conftest.err conftest.$ac_objext \
104977 conftest$ac_exeext conftest.$ac_ext
104979 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104980 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104981 if test `eval echo '${'$as_ac_var'}'` = yes; then
104982 cat >>confdefs.h <<_ACEOF
104983 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104984 _ACEOF
104997 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
104998 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
104999 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
105000 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
105001 echo $ECHO_N "(cached) $ECHO_C" >&6
105006 ac_ext=cc
105007 ac_cpp='$CXXCPP $CPPFLAGS'
105008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105012 cat >conftest.$ac_ext <<_ACEOF
105013 /* confdefs.h. */
105014 _ACEOF
105015 cat confdefs.h >>conftest.$ac_ext
105016 cat >>conftest.$ac_ext <<_ACEOF
105017 /* end confdefs.h. */
105018 #include <math.h>
105019 #ifdef HAVE_IEEEFP_H
105020 #include <ieeefp.h>
105021 #endif
105024 main ()
105026 sqrtl(0);
105028 return 0;
105030 _ACEOF
105031 rm -f conftest.$ac_objext
105032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105033 (eval $ac_compile) 2>conftest.er1
105034 ac_status=$?
105035 grep -v '^ *+' conftest.er1 >conftest.err
105036 rm -f conftest.er1
105037 cat conftest.err >&5
105038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105039 (exit $ac_status); } &&
105040 { ac_try='test -z "$ac_cxx_werror_flag"
105041 || test ! -s conftest.err'
105042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105043 (eval $ac_try) 2>&5
105044 ac_status=$?
105045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105046 (exit $ac_status); }; } &&
105047 { ac_try='test -s conftest.$ac_objext'
105048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105049 (eval $ac_try) 2>&5
105050 ac_status=$?
105051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105052 (exit $ac_status); }; }; then
105053 glibcxx_cv_func_sqrtl_use=yes
105055 echo "$as_me: failed program was:" >&5
105056 sed 's/^/| /' conftest.$ac_ext >&5
105058 glibcxx_cv_func_sqrtl_use=no
105060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105061 ac_ext=c
105062 ac_cpp='$CPP $CPPFLAGS'
105063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
105072 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
105074 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
105076 for ac_func in sqrtl
105078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105079 echo "$as_me:$LINENO: checking for $ac_func" >&5
105080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105081 if eval "test \"\${$as_ac_var+set}\" = set"; then
105082 echo $ECHO_N "(cached) $ECHO_C" >&6
105084 if test x$gcc_no_link = xyes; then
105085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105087 { (exit 1); exit 1; }; }
105089 cat >conftest.$ac_ext <<_ACEOF
105090 /* confdefs.h. */
105091 _ACEOF
105092 cat confdefs.h >>conftest.$ac_ext
105093 cat >>conftest.$ac_ext <<_ACEOF
105094 /* end confdefs.h. */
105095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105097 #define $ac_func innocuous_$ac_func
105099 /* System header to define __stub macros and hopefully few prototypes,
105100 which can conflict with char $ac_func (); below.
105101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105102 <limits.h> exists even on freestanding compilers. */
105104 #ifdef __STDC__
105105 # include <limits.h>
105106 #else
105107 # include <assert.h>
105108 #endif
105110 #undef $ac_func
105112 /* Override any gcc2 internal prototype to avoid an error. */
105113 #ifdef __cplusplus
105114 extern "C"
105116 #endif
105117 /* We use char because int might match the return type of a gcc2
105118 builtin and then its argument prototype would still apply. */
105119 char $ac_func ();
105120 /* The GNU C library defines this for functions which it implements
105121 to always fail with ENOSYS. Some functions are actually named
105122 something starting with __ and the normal name is an alias. */
105123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105124 choke me
105125 #else
105126 char (*f) () = $ac_func;
105127 #endif
105128 #ifdef __cplusplus
105130 #endif
105133 main ()
105135 return f != $ac_func;
105137 return 0;
105139 _ACEOF
105140 rm -f conftest.$ac_objext conftest$ac_exeext
105141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105142 (eval $ac_link) 2>conftest.er1
105143 ac_status=$?
105144 grep -v '^ *+' conftest.er1 >conftest.err
105145 rm -f conftest.er1
105146 cat conftest.err >&5
105147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105148 (exit $ac_status); } &&
105149 { ac_try='test -z "$ac_c_werror_flag"
105150 || test ! -s conftest.err'
105151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105152 (eval $ac_try) 2>&5
105153 ac_status=$?
105154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105155 (exit $ac_status); }; } &&
105156 { ac_try='test -s conftest$ac_exeext'
105157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105158 (eval $ac_try) 2>&5
105159 ac_status=$?
105160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105161 (exit $ac_status); }; }; then
105162 eval "$as_ac_var=yes"
105164 echo "$as_me: failed program was:" >&5
105165 sed 's/^/| /' conftest.$ac_ext >&5
105167 eval "$as_ac_var=no"
105169 rm -f conftest.err conftest.$ac_objext \
105170 conftest$ac_exeext conftest.$ac_ext
105172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105174 if test `eval echo '${'$as_ac_var'}'` = yes; then
105175 cat >>confdefs.h <<_ACEOF
105176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105177 _ACEOF
105184 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
105185 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
105186 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
105187 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
105188 echo $ECHO_N "(cached) $ECHO_C" >&6
105193 ac_ext=cc
105194 ac_cpp='$CXXCPP $CPPFLAGS'
105195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105199 cat >conftest.$ac_ext <<_ACEOF
105200 /* confdefs.h. */
105201 _ACEOF
105202 cat confdefs.h >>conftest.$ac_ext
105203 cat >>conftest.$ac_ext <<_ACEOF
105204 /* end confdefs.h. */
105205 #include <math.h>
105206 #ifdef HAVE_IEEEFP_H
105207 #include <ieeefp.h>
105208 #endif
105211 main ()
105213 _sqrtl(0);
105215 return 0;
105217 _ACEOF
105218 rm -f conftest.$ac_objext
105219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105220 (eval $ac_compile) 2>conftest.er1
105221 ac_status=$?
105222 grep -v '^ *+' conftest.er1 >conftest.err
105223 rm -f conftest.er1
105224 cat conftest.err >&5
105225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105226 (exit $ac_status); } &&
105227 { ac_try='test -z "$ac_cxx_werror_flag"
105228 || test ! -s conftest.err'
105229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105230 (eval $ac_try) 2>&5
105231 ac_status=$?
105232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105233 (exit $ac_status); }; } &&
105234 { ac_try='test -s conftest.$ac_objext'
105235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105236 (eval $ac_try) 2>&5
105237 ac_status=$?
105238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105239 (exit $ac_status); }; }; then
105240 glibcxx_cv_func__sqrtl_use=yes
105242 echo "$as_me: failed program was:" >&5
105243 sed 's/^/| /' conftest.$ac_ext >&5
105245 glibcxx_cv_func__sqrtl_use=no
105247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105248 ac_ext=c
105249 ac_cpp='$CPP $CPPFLAGS'
105250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
105259 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
105261 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
105263 for ac_func in _sqrtl
105265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105266 echo "$as_me:$LINENO: checking for $ac_func" >&5
105267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105268 if eval "test \"\${$as_ac_var+set}\" = set"; then
105269 echo $ECHO_N "(cached) $ECHO_C" >&6
105271 if test x$gcc_no_link = xyes; then
105272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105274 { (exit 1); exit 1; }; }
105276 cat >conftest.$ac_ext <<_ACEOF
105277 /* confdefs.h. */
105278 _ACEOF
105279 cat confdefs.h >>conftest.$ac_ext
105280 cat >>conftest.$ac_ext <<_ACEOF
105281 /* end confdefs.h. */
105282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105284 #define $ac_func innocuous_$ac_func
105286 /* System header to define __stub macros and hopefully few prototypes,
105287 which can conflict with char $ac_func (); below.
105288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105289 <limits.h> exists even on freestanding compilers. */
105291 #ifdef __STDC__
105292 # include <limits.h>
105293 #else
105294 # include <assert.h>
105295 #endif
105297 #undef $ac_func
105299 /* Override any gcc2 internal prototype to avoid an error. */
105300 #ifdef __cplusplus
105301 extern "C"
105303 #endif
105304 /* We use char because int might match the return type of a gcc2
105305 builtin and then its argument prototype would still apply. */
105306 char $ac_func ();
105307 /* The GNU C library defines this for functions which it implements
105308 to always fail with ENOSYS. Some functions are actually named
105309 something starting with __ and the normal name is an alias. */
105310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105311 choke me
105312 #else
105313 char (*f) () = $ac_func;
105314 #endif
105315 #ifdef __cplusplus
105317 #endif
105320 main ()
105322 return f != $ac_func;
105324 return 0;
105326 _ACEOF
105327 rm -f conftest.$ac_objext conftest$ac_exeext
105328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105329 (eval $ac_link) 2>conftest.er1
105330 ac_status=$?
105331 grep -v '^ *+' conftest.er1 >conftest.err
105332 rm -f conftest.er1
105333 cat conftest.err >&5
105334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105335 (exit $ac_status); } &&
105336 { ac_try='test -z "$ac_c_werror_flag"
105337 || test ! -s conftest.err'
105338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105339 (eval $ac_try) 2>&5
105340 ac_status=$?
105341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105342 (exit $ac_status); }; } &&
105343 { ac_try='test -s conftest$ac_exeext'
105344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105345 (eval $ac_try) 2>&5
105346 ac_status=$?
105347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105348 (exit $ac_status); }; }; then
105349 eval "$as_ac_var=yes"
105351 echo "$as_me: failed program was:" >&5
105352 sed 's/^/| /' conftest.$ac_ext >&5
105354 eval "$as_ac_var=no"
105356 rm -f conftest.err conftest.$ac_objext \
105357 conftest$ac_exeext conftest.$ac_ext
105359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105361 if test `eval echo '${'$as_ac_var'}'` = yes; then
105362 cat >>confdefs.h <<_ACEOF
105363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105364 _ACEOF
105377 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
105378 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
105379 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
105380 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
105381 echo $ECHO_N "(cached) $ECHO_C" >&6
105386 ac_ext=cc
105387 ac_cpp='$CXXCPP $CPPFLAGS'
105388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105392 cat >conftest.$ac_ext <<_ACEOF
105393 /* confdefs.h. */
105394 _ACEOF
105395 cat confdefs.h >>conftest.$ac_ext
105396 cat >>conftest.$ac_ext <<_ACEOF
105397 /* end confdefs.h. */
105398 #include <math.h>
105400 main ()
105402 sincosl(0, 0, 0);
105404 return 0;
105406 _ACEOF
105407 rm -f conftest.$ac_objext
105408 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105409 (eval $ac_compile) 2>conftest.er1
105410 ac_status=$?
105411 grep -v '^ *+' conftest.er1 >conftest.err
105412 rm -f conftest.er1
105413 cat conftest.err >&5
105414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105415 (exit $ac_status); } &&
105416 { ac_try='test -z "$ac_cxx_werror_flag"
105417 || test ! -s conftest.err'
105418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105419 (eval $ac_try) 2>&5
105420 ac_status=$?
105421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105422 (exit $ac_status); }; } &&
105423 { ac_try='test -s conftest.$ac_objext'
105424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105425 (eval $ac_try) 2>&5
105426 ac_status=$?
105427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105428 (exit $ac_status); }; }; then
105429 glibcxx_cv_func_sincosl_use=yes
105431 echo "$as_me: failed program was:" >&5
105432 sed 's/^/| /' conftest.$ac_ext >&5
105434 glibcxx_cv_func_sincosl_use=no
105436 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105437 ac_ext=c
105438 ac_cpp='$CPP $CPPFLAGS'
105439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105447 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
105448 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
105450 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
105452 for ac_func in sincosl
105454 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105455 echo "$as_me:$LINENO: checking for $ac_func" >&5
105456 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105457 if eval "test \"\${$as_ac_var+set}\" = set"; then
105458 echo $ECHO_N "(cached) $ECHO_C" >&6
105460 if test x$gcc_no_link = xyes; then
105461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105463 { (exit 1); exit 1; }; }
105465 cat >conftest.$ac_ext <<_ACEOF
105466 /* confdefs.h. */
105467 _ACEOF
105468 cat confdefs.h >>conftest.$ac_ext
105469 cat >>conftest.$ac_ext <<_ACEOF
105470 /* end confdefs.h. */
105471 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105472 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105473 #define $ac_func innocuous_$ac_func
105475 /* System header to define __stub macros and hopefully few prototypes,
105476 which can conflict with char $ac_func (); below.
105477 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105478 <limits.h> exists even on freestanding compilers. */
105480 #ifdef __STDC__
105481 # include <limits.h>
105482 #else
105483 # include <assert.h>
105484 #endif
105486 #undef $ac_func
105488 /* Override any gcc2 internal prototype to avoid an error. */
105489 #ifdef __cplusplus
105490 extern "C"
105492 #endif
105493 /* We use char because int might match the return type of a gcc2
105494 builtin and then its argument prototype would still apply. */
105495 char $ac_func ();
105496 /* The GNU C library defines this for functions which it implements
105497 to always fail with ENOSYS. Some functions are actually named
105498 something starting with __ and the normal name is an alias. */
105499 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105500 choke me
105501 #else
105502 char (*f) () = $ac_func;
105503 #endif
105504 #ifdef __cplusplus
105506 #endif
105509 main ()
105511 return f != $ac_func;
105513 return 0;
105515 _ACEOF
105516 rm -f conftest.$ac_objext conftest$ac_exeext
105517 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105518 (eval $ac_link) 2>conftest.er1
105519 ac_status=$?
105520 grep -v '^ *+' conftest.er1 >conftest.err
105521 rm -f conftest.er1
105522 cat conftest.err >&5
105523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105524 (exit $ac_status); } &&
105525 { ac_try='test -z "$ac_c_werror_flag"
105526 || test ! -s conftest.err'
105527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105528 (eval $ac_try) 2>&5
105529 ac_status=$?
105530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105531 (exit $ac_status); }; } &&
105532 { ac_try='test -s conftest$ac_exeext'
105533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105534 (eval $ac_try) 2>&5
105535 ac_status=$?
105536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105537 (exit $ac_status); }; }; then
105538 eval "$as_ac_var=yes"
105540 echo "$as_me: failed program was:" >&5
105541 sed 's/^/| /' conftest.$ac_ext >&5
105543 eval "$as_ac_var=no"
105545 rm -f conftest.err conftest.$ac_objext \
105546 conftest$ac_exeext conftest.$ac_ext
105548 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105549 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105550 if test `eval echo '${'$as_ac_var'}'` = yes; then
105551 cat >>confdefs.h <<_ACEOF
105552 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105553 _ACEOF
105560 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
105561 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
105562 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
105563 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
105564 echo $ECHO_N "(cached) $ECHO_C" >&6
105569 ac_ext=cc
105570 ac_cpp='$CXXCPP $CPPFLAGS'
105571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105575 cat >conftest.$ac_ext <<_ACEOF
105576 /* confdefs.h. */
105577 _ACEOF
105578 cat confdefs.h >>conftest.$ac_ext
105579 cat >>conftest.$ac_ext <<_ACEOF
105580 /* end confdefs.h. */
105581 #include <math.h>
105583 main ()
105585 _sincosl(0, 0, 0);
105587 return 0;
105589 _ACEOF
105590 rm -f conftest.$ac_objext
105591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105592 (eval $ac_compile) 2>conftest.er1
105593 ac_status=$?
105594 grep -v '^ *+' conftest.er1 >conftest.err
105595 rm -f conftest.er1
105596 cat conftest.err >&5
105597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105598 (exit $ac_status); } &&
105599 { ac_try='test -z "$ac_cxx_werror_flag"
105600 || test ! -s conftest.err'
105601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105602 (eval $ac_try) 2>&5
105603 ac_status=$?
105604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105605 (exit $ac_status); }; } &&
105606 { ac_try='test -s conftest.$ac_objext'
105607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105608 (eval $ac_try) 2>&5
105609 ac_status=$?
105610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105611 (exit $ac_status); }; }; then
105612 glibcxx_cv_func__sincosl_use=yes
105614 echo "$as_me: failed program was:" >&5
105615 sed 's/^/| /' conftest.$ac_ext >&5
105617 glibcxx_cv_func__sincosl_use=no
105619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105620 ac_ext=c
105621 ac_cpp='$CPP $CPPFLAGS'
105622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105630 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
105631 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
105633 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
105635 for ac_func in _sincosl
105637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105638 echo "$as_me:$LINENO: checking for $ac_func" >&5
105639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105640 if eval "test \"\${$as_ac_var+set}\" = set"; then
105641 echo $ECHO_N "(cached) $ECHO_C" >&6
105643 if test x$gcc_no_link = xyes; then
105644 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105645 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105646 { (exit 1); exit 1; }; }
105648 cat >conftest.$ac_ext <<_ACEOF
105649 /* confdefs.h. */
105650 _ACEOF
105651 cat confdefs.h >>conftest.$ac_ext
105652 cat >>conftest.$ac_ext <<_ACEOF
105653 /* end confdefs.h. */
105654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105656 #define $ac_func innocuous_$ac_func
105658 /* System header to define __stub macros and hopefully few prototypes,
105659 which can conflict with char $ac_func (); below.
105660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105661 <limits.h> exists even on freestanding compilers. */
105663 #ifdef __STDC__
105664 # include <limits.h>
105665 #else
105666 # include <assert.h>
105667 #endif
105669 #undef $ac_func
105671 /* Override any gcc2 internal prototype to avoid an error. */
105672 #ifdef __cplusplus
105673 extern "C"
105675 #endif
105676 /* We use char because int might match the return type of a gcc2
105677 builtin and then its argument prototype would still apply. */
105678 char $ac_func ();
105679 /* The GNU C library defines this for functions which it implements
105680 to always fail with ENOSYS. Some functions are actually named
105681 something starting with __ and the normal name is an alias. */
105682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105683 choke me
105684 #else
105685 char (*f) () = $ac_func;
105686 #endif
105687 #ifdef __cplusplus
105689 #endif
105692 main ()
105694 return f != $ac_func;
105696 return 0;
105698 _ACEOF
105699 rm -f conftest.$ac_objext conftest$ac_exeext
105700 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105701 (eval $ac_link) 2>conftest.er1
105702 ac_status=$?
105703 grep -v '^ *+' conftest.er1 >conftest.err
105704 rm -f conftest.er1
105705 cat conftest.err >&5
105706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105707 (exit $ac_status); } &&
105708 { ac_try='test -z "$ac_c_werror_flag"
105709 || test ! -s conftest.err'
105710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105711 (eval $ac_try) 2>&5
105712 ac_status=$?
105713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105714 (exit $ac_status); }; } &&
105715 { ac_try='test -s conftest$ac_exeext'
105716 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105717 (eval $ac_try) 2>&5
105718 ac_status=$?
105719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105720 (exit $ac_status); }; }; then
105721 eval "$as_ac_var=yes"
105723 echo "$as_me: failed program was:" >&5
105724 sed 's/^/| /' conftest.$ac_ext >&5
105726 eval "$as_ac_var=no"
105728 rm -f conftest.err conftest.$ac_objext \
105729 conftest$ac_exeext conftest.$ac_ext
105731 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105732 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105733 if test `eval echo '${'$as_ac_var'}'` = yes; then
105734 cat >>confdefs.h <<_ACEOF
105735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105736 _ACEOF
105749 echo "$as_me:$LINENO: checking for finitel declaration" >&5
105750 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
105751 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
105752 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
105753 echo $ECHO_N "(cached) $ECHO_C" >&6
105758 ac_ext=cc
105759 ac_cpp='$CXXCPP $CPPFLAGS'
105760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105764 cat >conftest.$ac_ext <<_ACEOF
105765 /* confdefs.h. */
105766 _ACEOF
105767 cat confdefs.h >>conftest.$ac_ext
105768 cat >>conftest.$ac_ext <<_ACEOF
105769 /* end confdefs.h. */
105770 #include <math.h>
105771 #ifdef HAVE_IEEEFP_H
105772 #include <ieeefp.h>
105773 #endif
105776 main ()
105778 finitel(0);
105780 return 0;
105782 _ACEOF
105783 rm -f conftest.$ac_objext
105784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105785 (eval $ac_compile) 2>conftest.er1
105786 ac_status=$?
105787 grep -v '^ *+' conftest.er1 >conftest.err
105788 rm -f conftest.er1
105789 cat conftest.err >&5
105790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105791 (exit $ac_status); } &&
105792 { ac_try='test -z "$ac_cxx_werror_flag"
105793 || test ! -s conftest.err'
105794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105795 (eval $ac_try) 2>&5
105796 ac_status=$?
105797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105798 (exit $ac_status); }; } &&
105799 { ac_try='test -s conftest.$ac_objext'
105800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105801 (eval $ac_try) 2>&5
105802 ac_status=$?
105803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105804 (exit $ac_status); }; }; then
105805 glibcxx_cv_func_finitel_use=yes
105807 echo "$as_me: failed program was:" >&5
105808 sed 's/^/| /' conftest.$ac_ext >&5
105810 glibcxx_cv_func_finitel_use=no
105812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105813 ac_ext=c
105814 ac_cpp='$CPP $CPPFLAGS'
105815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105823 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
105824 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
105826 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
105828 for ac_func in finitel
105830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105831 echo "$as_me:$LINENO: checking for $ac_func" >&5
105832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105833 if eval "test \"\${$as_ac_var+set}\" = set"; then
105834 echo $ECHO_N "(cached) $ECHO_C" >&6
105836 if test x$gcc_no_link = xyes; then
105837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105839 { (exit 1); exit 1; }; }
105841 cat >conftest.$ac_ext <<_ACEOF
105842 /* confdefs.h. */
105843 _ACEOF
105844 cat confdefs.h >>conftest.$ac_ext
105845 cat >>conftest.$ac_ext <<_ACEOF
105846 /* end confdefs.h. */
105847 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105848 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105849 #define $ac_func innocuous_$ac_func
105851 /* System header to define __stub macros and hopefully few prototypes,
105852 which can conflict with char $ac_func (); below.
105853 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105854 <limits.h> exists even on freestanding compilers. */
105856 #ifdef __STDC__
105857 # include <limits.h>
105858 #else
105859 # include <assert.h>
105860 #endif
105862 #undef $ac_func
105864 /* Override any gcc2 internal prototype to avoid an error. */
105865 #ifdef __cplusplus
105866 extern "C"
105868 #endif
105869 /* We use char because int might match the return type of a gcc2
105870 builtin and then its argument prototype would still apply. */
105871 char $ac_func ();
105872 /* The GNU C library defines this for functions which it implements
105873 to always fail with ENOSYS. Some functions are actually named
105874 something starting with __ and the normal name is an alias. */
105875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105876 choke me
105877 #else
105878 char (*f) () = $ac_func;
105879 #endif
105880 #ifdef __cplusplus
105882 #endif
105885 main ()
105887 return f != $ac_func;
105889 return 0;
105891 _ACEOF
105892 rm -f conftest.$ac_objext conftest$ac_exeext
105893 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105894 (eval $ac_link) 2>conftest.er1
105895 ac_status=$?
105896 grep -v '^ *+' conftest.er1 >conftest.err
105897 rm -f conftest.er1
105898 cat conftest.err >&5
105899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105900 (exit $ac_status); } &&
105901 { ac_try='test -z "$ac_c_werror_flag"
105902 || test ! -s conftest.err'
105903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105904 (eval $ac_try) 2>&5
105905 ac_status=$?
105906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105907 (exit $ac_status); }; } &&
105908 { ac_try='test -s conftest$ac_exeext'
105909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105910 (eval $ac_try) 2>&5
105911 ac_status=$?
105912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105913 (exit $ac_status); }; }; then
105914 eval "$as_ac_var=yes"
105916 echo "$as_me: failed program was:" >&5
105917 sed 's/^/| /' conftest.$ac_ext >&5
105919 eval "$as_ac_var=no"
105921 rm -f conftest.err conftest.$ac_objext \
105922 conftest$ac_exeext conftest.$ac_ext
105924 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105925 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105926 if test `eval echo '${'$as_ac_var'}'` = yes; then
105927 cat >>confdefs.h <<_ACEOF
105928 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105929 _ACEOF
105936 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
105937 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
105938 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
105939 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
105940 echo $ECHO_N "(cached) $ECHO_C" >&6
105945 ac_ext=cc
105946 ac_cpp='$CXXCPP $CPPFLAGS'
105947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105951 cat >conftest.$ac_ext <<_ACEOF
105952 /* confdefs.h. */
105953 _ACEOF
105954 cat confdefs.h >>conftest.$ac_ext
105955 cat >>conftest.$ac_ext <<_ACEOF
105956 /* end confdefs.h. */
105957 #include <math.h>
105958 #ifdef HAVE_IEEEFP_H
105959 #include <ieeefp.h>
105960 #endif
105963 main ()
105965 _finitel(0);
105967 return 0;
105969 _ACEOF
105970 rm -f conftest.$ac_objext
105971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105972 (eval $ac_compile) 2>conftest.er1
105973 ac_status=$?
105974 grep -v '^ *+' conftest.er1 >conftest.err
105975 rm -f conftest.er1
105976 cat conftest.err >&5
105977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105978 (exit $ac_status); } &&
105979 { ac_try='test -z "$ac_cxx_werror_flag"
105980 || test ! -s conftest.err'
105981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105982 (eval $ac_try) 2>&5
105983 ac_status=$?
105984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105985 (exit $ac_status); }; } &&
105986 { ac_try='test -s conftest.$ac_objext'
105987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105988 (eval $ac_try) 2>&5
105989 ac_status=$?
105990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105991 (exit $ac_status); }; }; then
105992 glibcxx_cv_func__finitel_use=yes
105994 echo "$as_me: failed program was:" >&5
105995 sed 's/^/| /' conftest.$ac_ext >&5
105997 glibcxx_cv_func__finitel_use=no
105999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106000 ac_ext=c
106001 ac_cpp='$CPP $CPPFLAGS'
106002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106010 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
106011 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
106013 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
106015 for ac_func in _finitel
106017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106018 echo "$as_me:$LINENO: checking for $ac_func" >&5
106019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106020 if eval "test \"\${$as_ac_var+set}\" = set"; then
106021 echo $ECHO_N "(cached) $ECHO_C" >&6
106023 if test x$gcc_no_link = xyes; then
106024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106026 { (exit 1); exit 1; }; }
106028 cat >conftest.$ac_ext <<_ACEOF
106029 /* confdefs.h. */
106030 _ACEOF
106031 cat confdefs.h >>conftest.$ac_ext
106032 cat >>conftest.$ac_ext <<_ACEOF
106033 /* end confdefs.h. */
106034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106036 #define $ac_func innocuous_$ac_func
106038 /* System header to define __stub macros and hopefully few prototypes,
106039 which can conflict with char $ac_func (); below.
106040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106041 <limits.h> exists even on freestanding compilers. */
106043 #ifdef __STDC__
106044 # include <limits.h>
106045 #else
106046 # include <assert.h>
106047 #endif
106049 #undef $ac_func
106051 /* Override any gcc2 internal prototype to avoid an error. */
106052 #ifdef __cplusplus
106053 extern "C"
106055 #endif
106056 /* We use char because int might match the return type of a gcc2
106057 builtin and then its argument prototype would still apply. */
106058 char $ac_func ();
106059 /* The GNU C library defines this for functions which it implements
106060 to always fail with ENOSYS. Some functions are actually named
106061 something starting with __ and the normal name is an alias. */
106062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106063 choke me
106064 #else
106065 char (*f) () = $ac_func;
106066 #endif
106067 #ifdef __cplusplus
106069 #endif
106072 main ()
106074 return f != $ac_func;
106076 return 0;
106078 _ACEOF
106079 rm -f conftest.$ac_objext conftest$ac_exeext
106080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106081 (eval $ac_link) 2>conftest.er1
106082 ac_status=$?
106083 grep -v '^ *+' conftest.er1 >conftest.err
106084 rm -f conftest.er1
106085 cat conftest.err >&5
106086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106087 (exit $ac_status); } &&
106088 { ac_try='test -z "$ac_c_werror_flag"
106089 || test ! -s conftest.err'
106090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106091 (eval $ac_try) 2>&5
106092 ac_status=$?
106093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106094 (exit $ac_status); }; } &&
106095 { ac_try='test -s conftest$ac_exeext'
106096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106097 (eval $ac_try) 2>&5
106098 ac_status=$?
106099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106100 (exit $ac_status); }; }; then
106101 eval "$as_ac_var=yes"
106103 echo "$as_me: failed program was:" >&5
106104 sed 's/^/| /' conftest.$ac_ext >&5
106106 eval "$as_ac_var=no"
106108 rm -f conftest.err conftest.$ac_objext \
106109 conftest$ac_exeext conftest.$ac_ext
106111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106113 if test `eval echo '${'$as_ac_var'}'` = yes; then
106114 cat >>confdefs.h <<_ACEOF
106115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106116 _ACEOF
106128 LIBS="$ac_save_LIBS"
106129 CXXFLAGS="$ac_save_CXXFLAGS"
106133 echo "$as_me:$LINENO: checking for __builtin_abs declaration" >&5
106134 echo $ECHO_N "checking for __builtin_abs declaration... $ECHO_C" >&6
106135 if test x${glibcxx_cv_func___builtin_abs_use+set} != xset; then
106136 if test "${glibcxx_cv_func___builtin_abs_use+set}" = set; then
106137 echo $ECHO_N "(cached) $ECHO_C" >&6
106142 ac_ext=cc
106143 ac_cpp='$CXXCPP $CPPFLAGS'
106144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106148 cat >conftest.$ac_ext <<_ACEOF
106149 /* confdefs.h. */
106150 _ACEOF
106151 cat confdefs.h >>conftest.$ac_ext
106152 cat >>conftest.$ac_ext <<_ACEOF
106153 /* end confdefs.h. */
106154 #include <math.h>
106156 main ()
106158 __builtin_abs(0);
106160 return 0;
106162 _ACEOF
106163 rm -f conftest.$ac_objext
106164 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106165 (eval $ac_compile) 2>conftest.er1
106166 ac_status=$?
106167 grep -v '^ *+' conftest.er1 >conftest.err
106168 rm -f conftest.er1
106169 cat conftest.err >&5
106170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106171 (exit $ac_status); } &&
106172 { ac_try='test -z "$ac_cxx_werror_flag"
106173 || test ! -s conftest.err'
106174 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106175 (eval $ac_try) 2>&5
106176 ac_status=$?
106177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106178 (exit $ac_status); }; } &&
106179 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
106185 glibcxx_cv_func___builtin_abs_use=yes
106187 echo "$as_me: failed program was:" >&5
106188 sed 's/^/| /' conftest.$ac_ext >&5
106190 glibcxx_cv_func___builtin_abs_use=no
106192 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106193 ac_ext=c
106194 ac_cpp='$CPP $CPPFLAGS'
106195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106203 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_use" >&5
106204 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_use" >&6
106205 if test x$glibcxx_cv_func___builtin_abs_use = x"yes"; then
106206 echo "$as_me:$LINENO: checking for __builtin_abs linkage" >&5
106207 echo $ECHO_N "checking for __builtin_abs linkage... $ECHO_C" >&6
106208 if test x${glibcxx_cv_func___builtin_abs_link+set} != xset; then
106209 if test "${glibcxx_cv_func___builtin_abs_link+set}" = set; then
106210 echo $ECHO_N "(cached) $ECHO_C" >&6
106213 if test x$gcc_no_link = xyes; then
106214 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106215 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106216 { (exit 1); exit 1; }; }
106218 cat >conftest.$ac_ext <<_ACEOF
106219 /* confdefs.h. */
106220 _ACEOF
106221 cat confdefs.h >>conftest.$ac_ext
106222 cat >>conftest.$ac_ext <<_ACEOF
106223 /* end confdefs.h. */
106224 #include <math.h>
106226 main ()
106228 __builtin_abs(0);
106230 return 0;
106232 _ACEOF
106233 rm -f conftest.$ac_objext conftest$ac_exeext
106234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106235 (eval $ac_link) 2>conftest.er1
106236 ac_status=$?
106237 grep -v '^ *+' conftest.er1 >conftest.err
106238 rm -f conftest.er1
106239 cat conftest.err >&5
106240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106241 (exit $ac_status); } &&
106242 { ac_try='test -z "$ac_c_werror_flag"
106243 || test ! -s conftest.err'
106244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106245 (eval $ac_try) 2>&5
106246 ac_status=$?
106247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106248 (exit $ac_status); }; } &&
106249 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
106255 glibcxx_cv_func___builtin_abs_link=yes
106257 echo "$as_me: failed program was:" >&5
106258 sed 's/^/| /' conftest.$ac_ext >&5
106260 glibcxx_cv_func___builtin_abs_link=no
106262 rm -f conftest.err conftest.$ac_objext \
106263 conftest$ac_exeext conftest.$ac_ext
106268 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_abs_link" >&5
106269 echo "${ECHO_T}$glibcxx_cv_func___builtin_abs_link" >&6
106271 if test x$glibcxx_cv_func___builtin_abs_link = x"yes"; then
106273 cat >>confdefs.h <<\_ACEOF
106274 #define HAVE___BUILTIN_ABS 1
106275 _ACEOF
106282 echo "$as_me:$LINENO: checking for __builtin_fabsf declaration" >&5
106283 echo $ECHO_N "checking for __builtin_fabsf declaration... $ECHO_C" >&6
106284 if test x${glibcxx_cv_func___builtin_fabsf_use+set} != xset; then
106285 if test "${glibcxx_cv_func___builtin_fabsf_use+set}" = set; then
106286 echo $ECHO_N "(cached) $ECHO_C" >&6
106291 ac_ext=cc
106292 ac_cpp='$CXXCPP $CPPFLAGS'
106293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106297 cat >conftest.$ac_ext <<_ACEOF
106298 /* confdefs.h. */
106299 _ACEOF
106300 cat confdefs.h >>conftest.$ac_ext
106301 cat >>conftest.$ac_ext <<_ACEOF
106302 /* end confdefs.h. */
106303 #include <math.h>
106305 main ()
106307 __builtin_fabsf(0);
106309 return 0;
106311 _ACEOF
106312 rm -f conftest.$ac_objext
106313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106314 (eval $ac_compile) 2>conftest.er1
106315 ac_status=$?
106316 grep -v '^ *+' conftest.er1 >conftest.err
106317 rm -f conftest.er1
106318 cat conftest.err >&5
106319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106320 (exit $ac_status); } &&
106321 { ac_try='test -z "$ac_cxx_werror_flag"
106322 || test ! -s conftest.err'
106323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106324 (eval $ac_try) 2>&5
106325 ac_status=$?
106326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106327 (exit $ac_status); }; } &&
106328 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
106334 glibcxx_cv_func___builtin_fabsf_use=yes
106336 echo "$as_me: failed program was:" >&5
106337 sed 's/^/| /' conftest.$ac_ext >&5
106339 glibcxx_cv_func___builtin_fabsf_use=no
106341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106342 ac_ext=c
106343 ac_cpp='$CPP $CPPFLAGS'
106344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106352 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_use" >&5
106353 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_use" >&6
106354 if test x$glibcxx_cv_func___builtin_fabsf_use = x"yes"; then
106355 echo "$as_me:$LINENO: checking for __builtin_fabsf linkage" >&5
106356 echo $ECHO_N "checking for __builtin_fabsf linkage... $ECHO_C" >&6
106357 if test x${glibcxx_cv_func___builtin_fabsf_link+set} != xset; then
106358 if test "${glibcxx_cv_func___builtin_fabsf_link+set}" = set; then
106359 echo $ECHO_N "(cached) $ECHO_C" >&6
106362 if test x$gcc_no_link = xyes; then
106363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106365 { (exit 1); exit 1; }; }
106367 cat >conftest.$ac_ext <<_ACEOF
106368 /* confdefs.h. */
106369 _ACEOF
106370 cat confdefs.h >>conftest.$ac_ext
106371 cat >>conftest.$ac_ext <<_ACEOF
106372 /* end confdefs.h. */
106373 #include <math.h>
106375 main ()
106377 __builtin_fabsf(0);
106379 return 0;
106381 _ACEOF
106382 rm -f conftest.$ac_objext conftest$ac_exeext
106383 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106384 (eval $ac_link) 2>conftest.er1
106385 ac_status=$?
106386 grep -v '^ *+' conftest.er1 >conftest.err
106387 rm -f conftest.er1
106388 cat conftest.err >&5
106389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106390 (exit $ac_status); } &&
106391 { ac_try='test -z "$ac_c_werror_flag"
106392 || test ! -s conftest.err'
106393 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106394 (eval $ac_try) 2>&5
106395 ac_status=$?
106396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106397 (exit $ac_status); }; } &&
106398 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
106404 glibcxx_cv_func___builtin_fabsf_link=yes
106406 echo "$as_me: failed program was:" >&5
106407 sed 's/^/| /' conftest.$ac_ext >&5
106409 glibcxx_cv_func___builtin_fabsf_link=no
106411 rm -f conftest.err conftest.$ac_objext \
106412 conftest$ac_exeext conftest.$ac_ext
106417 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsf_link" >&5
106418 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsf_link" >&6
106420 if test x$glibcxx_cv_func___builtin_fabsf_link = x"yes"; then
106422 cat >>confdefs.h <<\_ACEOF
106423 #define HAVE___BUILTIN_FABSF 1
106424 _ACEOF
106431 echo "$as_me:$LINENO: checking for __builtin_fabs declaration" >&5
106432 echo $ECHO_N "checking for __builtin_fabs declaration... $ECHO_C" >&6
106433 if test x${glibcxx_cv_func___builtin_fabs_use+set} != xset; then
106434 if test "${glibcxx_cv_func___builtin_fabs_use+set}" = set; then
106435 echo $ECHO_N "(cached) $ECHO_C" >&6
106440 ac_ext=cc
106441 ac_cpp='$CXXCPP $CPPFLAGS'
106442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106446 cat >conftest.$ac_ext <<_ACEOF
106447 /* confdefs.h. */
106448 _ACEOF
106449 cat confdefs.h >>conftest.$ac_ext
106450 cat >>conftest.$ac_ext <<_ACEOF
106451 /* end confdefs.h. */
106452 #include <math.h>
106454 main ()
106456 __builtin_fabs(0);
106458 return 0;
106460 _ACEOF
106461 rm -f conftest.$ac_objext
106462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106463 (eval $ac_compile) 2>conftest.er1
106464 ac_status=$?
106465 grep -v '^ *+' conftest.er1 >conftest.err
106466 rm -f conftest.er1
106467 cat conftest.err >&5
106468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106469 (exit $ac_status); } &&
106470 { ac_try='test -z "$ac_cxx_werror_flag"
106471 || test ! -s conftest.err'
106472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106473 (eval $ac_try) 2>&5
106474 ac_status=$?
106475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106476 (exit $ac_status); }; } &&
106477 { ac_try='test -s conftest.$ac_objext'
106478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106479 (eval $ac_try) 2>&5
106480 ac_status=$?
106481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106482 (exit $ac_status); }; }; then
106483 glibcxx_cv_func___builtin_fabs_use=yes
106485 echo "$as_me: failed program was:" >&5
106486 sed 's/^/| /' conftest.$ac_ext >&5
106488 glibcxx_cv_func___builtin_fabs_use=no
106490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106491 ac_ext=c
106492 ac_cpp='$CPP $CPPFLAGS'
106493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106501 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_use" >&5
106502 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_use" >&6
106503 if test x$glibcxx_cv_func___builtin_fabs_use = x"yes"; then
106504 echo "$as_me:$LINENO: checking for __builtin_fabs linkage" >&5
106505 echo $ECHO_N "checking for __builtin_fabs linkage... $ECHO_C" >&6
106506 if test x${glibcxx_cv_func___builtin_fabs_link+set} != xset; then
106507 if test "${glibcxx_cv_func___builtin_fabs_link+set}" = set; then
106508 echo $ECHO_N "(cached) $ECHO_C" >&6
106511 if test x$gcc_no_link = xyes; then
106512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106514 { (exit 1); exit 1; }; }
106516 cat >conftest.$ac_ext <<_ACEOF
106517 /* confdefs.h. */
106518 _ACEOF
106519 cat confdefs.h >>conftest.$ac_ext
106520 cat >>conftest.$ac_ext <<_ACEOF
106521 /* end confdefs.h. */
106522 #include <math.h>
106524 main ()
106526 __builtin_fabs(0);
106528 return 0;
106530 _ACEOF
106531 rm -f conftest.$ac_objext conftest$ac_exeext
106532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106533 (eval $ac_link) 2>conftest.er1
106534 ac_status=$?
106535 grep -v '^ *+' conftest.er1 >conftest.err
106536 rm -f conftest.er1
106537 cat conftest.err >&5
106538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106539 (exit $ac_status); } &&
106540 { ac_try='test -z "$ac_c_werror_flag"
106541 || test ! -s conftest.err'
106542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106543 (eval $ac_try) 2>&5
106544 ac_status=$?
106545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106546 (exit $ac_status); }; } &&
106547 { ac_try='test -s conftest$ac_exeext'
106548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106549 (eval $ac_try) 2>&5
106550 ac_status=$?
106551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106552 (exit $ac_status); }; }; then
106553 glibcxx_cv_func___builtin_fabs_link=yes
106555 echo "$as_me: failed program was:" >&5
106556 sed 's/^/| /' conftest.$ac_ext >&5
106558 glibcxx_cv_func___builtin_fabs_link=no
106560 rm -f conftest.err conftest.$ac_objext \
106561 conftest$ac_exeext conftest.$ac_ext
106566 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabs_link" >&5
106567 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabs_link" >&6
106569 if test x$glibcxx_cv_func___builtin_fabs_link = x"yes"; then
106571 cat >>confdefs.h <<\_ACEOF
106572 #define HAVE___BUILTIN_FABS 1
106573 _ACEOF
106580 echo "$as_me:$LINENO: checking for __builtin_fabsl declaration" >&5
106581 echo $ECHO_N "checking for __builtin_fabsl declaration... $ECHO_C" >&6
106582 if test x${glibcxx_cv_func___builtin_fabsl_use+set} != xset; then
106583 if test "${glibcxx_cv_func___builtin_fabsl_use+set}" = set; then
106584 echo $ECHO_N "(cached) $ECHO_C" >&6
106589 ac_ext=cc
106590 ac_cpp='$CXXCPP $CPPFLAGS'
106591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106595 cat >conftest.$ac_ext <<_ACEOF
106596 /* confdefs.h. */
106597 _ACEOF
106598 cat confdefs.h >>conftest.$ac_ext
106599 cat >>conftest.$ac_ext <<_ACEOF
106600 /* end confdefs.h. */
106601 #include <math.h>
106603 main ()
106605 __builtin_fabsl(0);
106607 return 0;
106609 _ACEOF
106610 rm -f conftest.$ac_objext
106611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106612 (eval $ac_compile) 2>conftest.er1
106613 ac_status=$?
106614 grep -v '^ *+' conftest.er1 >conftest.err
106615 rm -f conftest.er1
106616 cat conftest.err >&5
106617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106618 (exit $ac_status); } &&
106619 { ac_try='test -z "$ac_cxx_werror_flag"
106620 || test ! -s conftest.err'
106621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106622 (eval $ac_try) 2>&5
106623 ac_status=$?
106624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106625 (exit $ac_status); }; } &&
106626 { ac_try='test -s conftest.$ac_objext'
106627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106628 (eval $ac_try) 2>&5
106629 ac_status=$?
106630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106631 (exit $ac_status); }; }; then
106632 glibcxx_cv_func___builtin_fabsl_use=yes
106634 echo "$as_me: failed program was:" >&5
106635 sed 's/^/| /' conftest.$ac_ext >&5
106637 glibcxx_cv_func___builtin_fabsl_use=no
106639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106640 ac_ext=c
106641 ac_cpp='$CPP $CPPFLAGS'
106642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106650 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_use" >&5
106651 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_use" >&6
106652 if test x$glibcxx_cv_func___builtin_fabsl_use = x"yes"; then
106653 echo "$as_me:$LINENO: checking for __builtin_fabsl linkage" >&5
106654 echo $ECHO_N "checking for __builtin_fabsl linkage... $ECHO_C" >&6
106655 if test x${glibcxx_cv_func___builtin_fabsl_link+set} != xset; then
106656 if test "${glibcxx_cv_func___builtin_fabsl_link+set}" = set; then
106657 echo $ECHO_N "(cached) $ECHO_C" >&6
106660 if test x$gcc_no_link = xyes; then
106661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106663 { (exit 1); exit 1; }; }
106665 cat >conftest.$ac_ext <<_ACEOF
106666 /* confdefs.h. */
106667 _ACEOF
106668 cat confdefs.h >>conftest.$ac_ext
106669 cat >>conftest.$ac_ext <<_ACEOF
106670 /* end confdefs.h. */
106671 #include <math.h>
106673 main ()
106675 __builtin_fabsl(0);
106677 return 0;
106679 _ACEOF
106680 rm -f conftest.$ac_objext conftest$ac_exeext
106681 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106682 (eval $ac_link) 2>conftest.er1
106683 ac_status=$?
106684 grep -v '^ *+' conftest.er1 >conftest.err
106685 rm -f conftest.er1
106686 cat conftest.err >&5
106687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106688 (exit $ac_status); } &&
106689 { ac_try='test -z "$ac_c_werror_flag"
106690 || test ! -s conftest.err'
106691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106692 (eval $ac_try) 2>&5
106693 ac_status=$?
106694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106695 (exit $ac_status); }; } &&
106696 { ac_try='test -s conftest$ac_exeext'
106697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106698 (eval $ac_try) 2>&5
106699 ac_status=$?
106700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106701 (exit $ac_status); }; }; then
106702 glibcxx_cv_func___builtin_fabsl_link=yes
106704 echo "$as_me: failed program was:" >&5
106705 sed 's/^/| /' conftest.$ac_ext >&5
106707 glibcxx_cv_func___builtin_fabsl_link=no
106709 rm -f conftest.err conftest.$ac_objext \
106710 conftest$ac_exeext conftest.$ac_ext
106715 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_fabsl_link" >&5
106716 echo "${ECHO_T}$glibcxx_cv_func___builtin_fabsl_link" >&6
106718 if test x$glibcxx_cv_func___builtin_fabsl_link = x"yes"; then
106720 cat >>confdefs.h <<\_ACEOF
106721 #define HAVE___BUILTIN_FABSL 1
106722 _ACEOF
106729 echo "$as_me:$LINENO: checking for __builtin_labs declaration" >&5
106730 echo $ECHO_N "checking for __builtin_labs declaration... $ECHO_C" >&6
106731 if test x${glibcxx_cv_func___builtin_labs_use+set} != xset; then
106732 if test "${glibcxx_cv_func___builtin_labs_use+set}" = set; then
106733 echo $ECHO_N "(cached) $ECHO_C" >&6
106738 ac_ext=cc
106739 ac_cpp='$CXXCPP $CPPFLAGS'
106740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106744 cat >conftest.$ac_ext <<_ACEOF
106745 /* confdefs.h. */
106746 _ACEOF
106747 cat confdefs.h >>conftest.$ac_ext
106748 cat >>conftest.$ac_ext <<_ACEOF
106749 /* end confdefs.h. */
106750 #include <math.h>
106752 main ()
106754 __builtin_labs(0);
106756 return 0;
106758 _ACEOF
106759 rm -f conftest.$ac_objext
106760 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106761 (eval $ac_compile) 2>conftest.er1
106762 ac_status=$?
106763 grep -v '^ *+' conftest.er1 >conftest.err
106764 rm -f conftest.er1
106765 cat conftest.err >&5
106766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106767 (exit $ac_status); } &&
106768 { ac_try='test -z "$ac_cxx_werror_flag"
106769 || test ! -s conftest.err'
106770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106771 (eval $ac_try) 2>&5
106772 ac_status=$?
106773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106774 (exit $ac_status); }; } &&
106775 { ac_try='test -s conftest.$ac_objext'
106776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106777 (eval $ac_try) 2>&5
106778 ac_status=$?
106779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106780 (exit $ac_status); }; }; then
106781 glibcxx_cv_func___builtin_labs_use=yes
106783 echo "$as_me: failed program was:" >&5
106784 sed 's/^/| /' conftest.$ac_ext >&5
106786 glibcxx_cv_func___builtin_labs_use=no
106788 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106789 ac_ext=c
106790 ac_cpp='$CPP $CPPFLAGS'
106791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106799 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_use" >&5
106800 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_use" >&6
106801 if test x$glibcxx_cv_func___builtin_labs_use = x"yes"; then
106802 echo "$as_me:$LINENO: checking for __builtin_labs linkage" >&5
106803 echo $ECHO_N "checking for __builtin_labs linkage... $ECHO_C" >&6
106804 if test x${glibcxx_cv_func___builtin_labs_link+set} != xset; then
106805 if test "${glibcxx_cv_func___builtin_labs_link+set}" = set; then
106806 echo $ECHO_N "(cached) $ECHO_C" >&6
106809 if test x$gcc_no_link = xyes; then
106810 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106811 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106812 { (exit 1); exit 1; }; }
106814 cat >conftest.$ac_ext <<_ACEOF
106815 /* confdefs.h. */
106816 _ACEOF
106817 cat confdefs.h >>conftest.$ac_ext
106818 cat >>conftest.$ac_ext <<_ACEOF
106819 /* end confdefs.h. */
106820 #include <math.h>
106822 main ()
106824 __builtin_labs(0);
106826 return 0;
106828 _ACEOF
106829 rm -f conftest.$ac_objext conftest$ac_exeext
106830 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106831 (eval $ac_link) 2>conftest.er1
106832 ac_status=$?
106833 grep -v '^ *+' conftest.er1 >conftest.err
106834 rm -f conftest.er1
106835 cat conftest.err >&5
106836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106837 (exit $ac_status); } &&
106838 { ac_try='test -z "$ac_c_werror_flag"
106839 || test ! -s conftest.err'
106840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106841 (eval $ac_try) 2>&5
106842 ac_status=$?
106843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106844 (exit $ac_status); }; } &&
106845 { ac_try='test -s conftest$ac_exeext'
106846 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106847 (eval $ac_try) 2>&5
106848 ac_status=$?
106849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106850 (exit $ac_status); }; }; then
106851 glibcxx_cv_func___builtin_labs_link=yes
106853 echo "$as_me: failed program was:" >&5
106854 sed 's/^/| /' conftest.$ac_ext >&5
106856 glibcxx_cv_func___builtin_labs_link=no
106858 rm -f conftest.err conftest.$ac_objext \
106859 conftest$ac_exeext conftest.$ac_ext
106864 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_labs_link" >&5
106865 echo "${ECHO_T}$glibcxx_cv_func___builtin_labs_link" >&6
106867 if test x$glibcxx_cv_func___builtin_labs_link = x"yes"; then
106869 cat >>confdefs.h <<\_ACEOF
106870 #define HAVE___BUILTIN_LABS 1
106871 _ACEOF
106879 echo "$as_me:$LINENO: checking for __builtin_sqrtf declaration" >&5
106880 echo $ECHO_N "checking for __builtin_sqrtf declaration... $ECHO_C" >&6
106881 if test x${glibcxx_cv_func___builtin_sqrtf_use+set} != xset; then
106882 if test "${glibcxx_cv_func___builtin_sqrtf_use+set}" = set; then
106883 echo $ECHO_N "(cached) $ECHO_C" >&6
106888 ac_ext=cc
106889 ac_cpp='$CXXCPP $CPPFLAGS'
106890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106894 cat >conftest.$ac_ext <<_ACEOF
106895 /* confdefs.h. */
106896 _ACEOF
106897 cat confdefs.h >>conftest.$ac_ext
106898 cat >>conftest.$ac_ext <<_ACEOF
106899 /* end confdefs.h. */
106900 #include <math.h>
106902 main ()
106904 __builtin_sqrtf(0);
106906 return 0;
106908 _ACEOF
106909 rm -f conftest.$ac_objext
106910 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106911 (eval $ac_compile) 2>conftest.er1
106912 ac_status=$?
106913 grep -v '^ *+' conftest.er1 >conftest.err
106914 rm -f conftest.er1
106915 cat conftest.err >&5
106916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106917 (exit $ac_status); } &&
106918 { ac_try='test -z "$ac_cxx_werror_flag"
106919 || test ! -s conftest.err'
106920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106921 (eval $ac_try) 2>&5
106922 ac_status=$?
106923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106924 (exit $ac_status); }; } &&
106925 { ac_try='test -s conftest.$ac_objext'
106926 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106927 (eval $ac_try) 2>&5
106928 ac_status=$?
106929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106930 (exit $ac_status); }; }; then
106931 glibcxx_cv_func___builtin_sqrtf_use=yes
106933 echo "$as_me: failed program was:" >&5
106934 sed 's/^/| /' conftest.$ac_ext >&5
106936 glibcxx_cv_func___builtin_sqrtf_use=no
106938 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106939 ac_ext=c
106940 ac_cpp='$CPP $CPPFLAGS'
106941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106949 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_use" >&5
106950 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_use" >&6
106951 if test x$glibcxx_cv_func___builtin_sqrtf_use = x"yes"; then
106952 echo "$as_me:$LINENO: checking for __builtin_sqrtf linkage" >&5
106953 echo $ECHO_N "checking for __builtin_sqrtf linkage... $ECHO_C" >&6
106954 if test x${glibcxx_cv_func___builtin_sqrtf_link+set} != xset; then
106955 if test "${glibcxx_cv_func___builtin_sqrtf_link+set}" = set; then
106956 echo $ECHO_N "(cached) $ECHO_C" >&6
106959 if test x$gcc_no_link = xyes; then
106960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106962 { (exit 1); exit 1; }; }
106964 cat >conftest.$ac_ext <<_ACEOF
106965 /* confdefs.h. */
106966 _ACEOF
106967 cat confdefs.h >>conftest.$ac_ext
106968 cat >>conftest.$ac_ext <<_ACEOF
106969 /* end confdefs.h. */
106970 #include <math.h>
106972 main ()
106974 __builtin_sqrtf(0);
106976 return 0;
106978 _ACEOF
106979 rm -f conftest.$ac_objext conftest$ac_exeext
106980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106981 (eval $ac_link) 2>conftest.er1
106982 ac_status=$?
106983 grep -v '^ *+' conftest.er1 >conftest.err
106984 rm -f conftest.er1
106985 cat conftest.err >&5
106986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106987 (exit $ac_status); } &&
106988 { ac_try='test -z "$ac_c_werror_flag"
106989 || test ! -s conftest.err'
106990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106991 (eval $ac_try) 2>&5
106992 ac_status=$?
106993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106994 (exit $ac_status); }; } &&
106995 { ac_try='test -s conftest$ac_exeext'
106996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106997 (eval $ac_try) 2>&5
106998 ac_status=$?
106999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107000 (exit $ac_status); }; }; then
107001 glibcxx_cv_func___builtin_sqrtf_link=yes
107003 echo "$as_me: failed program was:" >&5
107004 sed 's/^/| /' conftest.$ac_ext >&5
107006 glibcxx_cv_func___builtin_sqrtf_link=no
107008 rm -f conftest.err conftest.$ac_objext \
107009 conftest$ac_exeext conftest.$ac_ext
107014 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtf_link" >&5
107015 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtf_link" >&6
107017 if test x$glibcxx_cv_func___builtin_sqrtf_link = x"yes"; then
107019 cat >>confdefs.h <<\_ACEOF
107020 #define HAVE___BUILTIN_SQRTF 1
107021 _ACEOF
107028 echo "$as_me:$LINENO: checking for __builtin_sqrt declaration" >&5
107029 echo $ECHO_N "checking for __builtin_sqrt declaration... $ECHO_C" >&6
107030 if test x${glibcxx_cv_func___builtin_sqrt_use+set} != xset; then
107031 if test "${glibcxx_cv_func___builtin_sqrt_use+set}" = set; then
107032 echo $ECHO_N "(cached) $ECHO_C" >&6
107037 ac_ext=cc
107038 ac_cpp='$CXXCPP $CPPFLAGS'
107039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107043 cat >conftest.$ac_ext <<_ACEOF
107044 /* confdefs.h. */
107045 _ACEOF
107046 cat confdefs.h >>conftest.$ac_ext
107047 cat >>conftest.$ac_ext <<_ACEOF
107048 /* end confdefs.h. */
107049 #include <math.h>
107051 main ()
107053 __builtin_sqrt(0);
107055 return 0;
107057 _ACEOF
107058 rm -f conftest.$ac_objext
107059 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107060 (eval $ac_compile) 2>conftest.er1
107061 ac_status=$?
107062 grep -v '^ *+' conftest.er1 >conftest.err
107063 rm -f conftest.er1
107064 cat conftest.err >&5
107065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107066 (exit $ac_status); } &&
107067 { ac_try='test -z "$ac_cxx_werror_flag"
107068 || test ! -s conftest.err'
107069 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107070 (eval $ac_try) 2>&5
107071 ac_status=$?
107072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107073 (exit $ac_status); }; } &&
107074 { ac_try='test -s conftest.$ac_objext'
107075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107076 (eval $ac_try) 2>&5
107077 ac_status=$?
107078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107079 (exit $ac_status); }; }; then
107080 glibcxx_cv_func___builtin_sqrt_use=yes
107082 echo "$as_me: failed program was:" >&5
107083 sed 's/^/| /' conftest.$ac_ext >&5
107085 glibcxx_cv_func___builtin_sqrt_use=no
107087 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107088 ac_ext=c
107089 ac_cpp='$CPP $CPPFLAGS'
107090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107098 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_use" >&5
107099 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_use" >&6
107100 if test x$glibcxx_cv_func___builtin_sqrt_use = x"yes"; then
107101 echo "$as_me:$LINENO: checking for __builtin_sqrt linkage" >&5
107102 echo $ECHO_N "checking for __builtin_sqrt linkage... $ECHO_C" >&6
107103 if test x${glibcxx_cv_func___builtin_sqrt_link+set} != xset; then
107104 if test "${glibcxx_cv_func___builtin_sqrt_link+set}" = set; then
107105 echo $ECHO_N "(cached) $ECHO_C" >&6
107108 if test x$gcc_no_link = xyes; then
107109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107111 { (exit 1); exit 1; }; }
107113 cat >conftest.$ac_ext <<_ACEOF
107114 /* confdefs.h. */
107115 _ACEOF
107116 cat confdefs.h >>conftest.$ac_ext
107117 cat >>conftest.$ac_ext <<_ACEOF
107118 /* end confdefs.h. */
107119 #include <math.h>
107121 main ()
107123 __builtin_sqrt(0);
107125 return 0;
107127 _ACEOF
107128 rm -f conftest.$ac_objext conftest$ac_exeext
107129 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107130 (eval $ac_link) 2>conftest.er1
107131 ac_status=$?
107132 grep -v '^ *+' conftest.er1 >conftest.err
107133 rm -f conftest.er1
107134 cat conftest.err >&5
107135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107136 (exit $ac_status); } &&
107137 { ac_try='test -z "$ac_c_werror_flag"
107138 || test ! -s conftest.err'
107139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107140 (eval $ac_try) 2>&5
107141 ac_status=$?
107142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107143 (exit $ac_status); }; } &&
107144 { ac_try='test -s conftest$ac_exeext'
107145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107146 (eval $ac_try) 2>&5
107147 ac_status=$?
107148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107149 (exit $ac_status); }; }; then
107150 glibcxx_cv_func___builtin_sqrt_link=yes
107152 echo "$as_me: failed program was:" >&5
107153 sed 's/^/| /' conftest.$ac_ext >&5
107155 glibcxx_cv_func___builtin_sqrt_link=no
107157 rm -f conftest.err conftest.$ac_objext \
107158 conftest$ac_exeext conftest.$ac_ext
107163 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrt_link" >&5
107164 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrt_link" >&6
107166 if test x$glibcxx_cv_func___builtin_sqrt_link = x"yes"; then
107168 cat >>confdefs.h <<\_ACEOF
107169 #define HAVE___BUILTIN_SQRT 1
107170 _ACEOF
107177 echo "$as_me:$LINENO: checking for __builtin_sqrtl declaration" >&5
107178 echo $ECHO_N "checking for __builtin_sqrtl declaration... $ECHO_C" >&6
107179 if test x${glibcxx_cv_func___builtin_sqrtl_use+set} != xset; then
107180 if test "${glibcxx_cv_func___builtin_sqrtl_use+set}" = set; then
107181 echo $ECHO_N "(cached) $ECHO_C" >&6
107186 ac_ext=cc
107187 ac_cpp='$CXXCPP $CPPFLAGS'
107188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107192 cat >conftest.$ac_ext <<_ACEOF
107193 /* confdefs.h. */
107194 _ACEOF
107195 cat confdefs.h >>conftest.$ac_ext
107196 cat >>conftest.$ac_ext <<_ACEOF
107197 /* end confdefs.h. */
107198 #include <math.h>
107200 main ()
107202 __builtin_sqrtl(0);
107204 return 0;
107206 _ACEOF
107207 rm -f conftest.$ac_objext
107208 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107209 (eval $ac_compile) 2>conftest.er1
107210 ac_status=$?
107211 grep -v '^ *+' conftest.er1 >conftest.err
107212 rm -f conftest.er1
107213 cat conftest.err >&5
107214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107215 (exit $ac_status); } &&
107216 { ac_try='test -z "$ac_cxx_werror_flag"
107217 || test ! -s conftest.err'
107218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107219 (eval $ac_try) 2>&5
107220 ac_status=$?
107221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107222 (exit $ac_status); }; } &&
107223 { ac_try='test -s conftest.$ac_objext'
107224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107225 (eval $ac_try) 2>&5
107226 ac_status=$?
107227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107228 (exit $ac_status); }; }; then
107229 glibcxx_cv_func___builtin_sqrtl_use=yes
107231 echo "$as_me: failed program was:" >&5
107232 sed 's/^/| /' conftest.$ac_ext >&5
107234 glibcxx_cv_func___builtin_sqrtl_use=no
107236 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107237 ac_ext=c
107238 ac_cpp='$CPP $CPPFLAGS'
107239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107247 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_use" >&5
107248 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_use" >&6
107249 if test x$glibcxx_cv_func___builtin_sqrtl_use = x"yes"; then
107250 echo "$as_me:$LINENO: checking for __builtin_sqrtl linkage" >&5
107251 echo $ECHO_N "checking for __builtin_sqrtl linkage... $ECHO_C" >&6
107252 if test x${glibcxx_cv_func___builtin_sqrtl_link+set} != xset; then
107253 if test "${glibcxx_cv_func___builtin_sqrtl_link+set}" = set; then
107254 echo $ECHO_N "(cached) $ECHO_C" >&6
107257 if test x$gcc_no_link = xyes; then
107258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107260 { (exit 1); exit 1; }; }
107262 cat >conftest.$ac_ext <<_ACEOF
107263 /* confdefs.h. */
107264 _ACEOF
107265 cat confdefs.h >>conftest.$ac_ext
107266 cat >>conftest.$ac_ext <<_ACEOF
107267 /* end confdefs.h. */
107268 #include <math.h>
107270 main ()
107272 __builtin_sqrtl(0);
107274 return 0;
107276 _ACEOF
107277 rm -f conftest.$ac_objext conftest$ac_exeext
107278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107279 (eval $ac_link) 2>conftest.er1
107280 ac_status=$?
107281 grep -v '^ *+' conftest.er1 >conftest.err
107282 rm -f conftest.er1
107283 cat conftest.err >&5
107284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107285 (exit $ac_status); } &&
107286 { ac_try='test -z "$ac_c_werror_flag"
107287 || test ! -s conftest.err'
107288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107289 (eval $ac_try) 2>&5
107290 ac_status=$?
107291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107292 (exit $ac_status); }; } &&
107293 { ac_try='test -s conftest$ac_exeext'
107294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107295 (eval $ac_try) 2>&5
107296 ac_status=$?
107297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107298 (exit $ac_status); }; }; then
107299 glibcxx_cv_func___builtin_sqrtl_link=yes
107301 echo "$as_me: failed program was:" >&5
107302 sed 's/^/| /' conftest.$ac_ext >&5
107304 glibcxx_cv_func___builtin_sqrtl_link=no
107306 rm -f conftest.err conftest.$ac_objext \
107307 conftest$ac_exeext conftest.$ac_ext
107312 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sqrtl_link" >&5
107313 echo "${ECHO_T}$glibcxx_cv_func___builtin_sqrtl_link" >&6
107315 if test x$glibcxx_cv_func___builtin_sqrtl_link = x"yes"; then
107317 cat >>confdefs.h <<\_ACEOF
107318 #define HAVE___BUILTIN_SQRTL 1
107319 _ACEOF
107327 echo "$as_me:$LINENO: checking for __builtin_sinf declaration" >&5
107328 echo $ECHO_N "checking for __builtin_sinf declaration... $ECHO_C" >&6
107329 if test x${glibcxx_cv_func___builtin_sinf_use+set} != xset; then
107330 if test "${glibcxx_cv_func___builtin_sinf_use+set}" = set; then
107331 echo $ECHO_N "(cached) $ECHO_C" >&6
107336 ac_ext=cc
107337 ac_cpp='$CXXCPP $CPPFLAGS'
107338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107342 cat >conftest.$ac_ext <<_ACEOF
107343 /* confdefs.h. */
107344 _ACEOF
107345 cat confdefs.h >>conftest.$ac_ext
107346 cat >>conftest.$ac_ext <<_ACEOF
107347 /* end confdefs.h. */
107348 #include <math.h>
107350 main ()
107352 __builtin_sinf(0);
107354 return 0;
107356 _ACEOF
107357 rm -f conftest.$ac_objext
107358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107359 (eval $ac_compile) 2>conftest.er1
107360 ac_status=$?
107361 grep -v '^ *+' conftest.er1 >conftest.err
107362 rm -f conftest.er1
107363 cat conftest.err >&5
107364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107365 (exit $ac_status); } &&
107366 { ac_try='test -z "$ac_cxx_werror_flag"
107367 || test ! -s conftest.err'
107368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107369 (eval $ac_try) 2>&5
107370 ac_status=$?
107371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107372 (exit $ac_status); }; } &&
107373 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
107379 glibcxx_cv_func___builtin_sinf_use=yes
107381 echo "$as_me: failed program was:" >&5
107382 sed 's/^/| /' conftest.$ac_ext >&5
107384 glibcxx_cv_func___builtin_sinf_use=no
107386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107387 ac_ext=c
107388 ac_cpp='$CPP $CPPFLAGS'
107389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107397 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_use" >&5
107398 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_use" >&6
107399 if test x$glibcxx_cv_func___builtin_sinf_use = x"yes"; then
107400 echo "$as_me:$LINENO: checking for __builtin_sinf linkage" >&5
107401 echo $ECHO_N "checking for __builtin_sinf linkage... $ECHO_C" >&6
107402 if test x${glibcxx_cv_func___builtin_sinf_link+set} != xset; then
107403 if test "${glibcxx_cv_func___builtin_sinf_link+set}" = set; then
107404 echo $ECHO_N "(cached) $ECHO_C" >&6
107407 if test x$gcc_no_link = xyes; then
107408 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107409 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107410 { (exit 1); exit 1; }; }
107412 cat >conftest.$ac_ext <<_ACEOF
107413 /* confdefs.h. */
107414 _ACEOF
107415 cat confdefs.h >>conftest.$ac_ext
107416 cat >>conftest.$ac_ext <<_ACEOF
107417 /* end confdefs.h. */
107418 #include <math.h>
107420 main ()
107422 __builtin_sinf(0);
107424 return 0;
107426 _ACEOF
107427 rm -f conftest.$ac_objext conftest$ac_exeext
107428 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107429 (eval $ac_link) 2>conftest.er1
107430 ac_status=$?
107431 grep -v '^ *+' conftest.er1 >conftest.err
107432 rm -f conftest.er1
107433 cat conftest.err >&5
107434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107435 (exit $ac_status); } &&
107436 { ac_try='test -z "$ac_c_werror_flag"
107437 || test ! -s conftest.err'
107438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107439 (eval $ac_try) 2>&5
107440 ac_status=$?
107441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107442 (exit $ac_status); }; } &&
107443 { ac_try='test -s conftest$ac_exeext'
107444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107445 (eval $ac_try) 2>&5
107446 ac_status=$?
107447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107448 (exit $ac_status); }; }; then
107449 glibcxx_cv_func___builtin_sinf_link=yes
107451 echo "$as_me: failed program was:" >&5
107452 sed 's/^/| /' conftest.$ac_ext >&5
107454 glibcxx_cv_func___builtin_sinf_link=no
107456 rm -f conftest.err conftest.$ac_objext \
107457 conftest$ac_exeext conftest.$ac_ext
107462 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinf_link" >&5
107463 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinf_link" >&6
107465 if test x$glibcxx_cv_func___builtin_sinf_link = x"yes"; then
107467 cat >>confdefs.h <<\_ACEOF
107468 #define HAVE___BUILTIN_SINF 1
107469 _ACEOF
107476 echo "$as_me:$LINENO: checking for __builtin_sin declaration" >&5
107477 echo $ECHO_N "checking for __builtin_sin declaration... $ECHO_C" >&6
107478 if test x${glibcxx_cv_func___builtin_sin_use+set} != xset; then
107479 if test "${glibcxx_cv_func___builtin_sin_use+set}" = set; then
107480 echo $ECHO_N "(cached) $ECHO_C" >&6
107485 ac_ext=cc
107486 ac_cpp='$CXXCPP $CPPFLAGS'
107487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107491 cat >conftest.$ac_ext <<_ACEOF
107492 /* confdefs.h. */
107493 _ACEOF
107494 cat confdefs.h >>conftest.$ac_ext
107495 cat >>conftest.$ac_ext <<_ACEOF
107496 /* end confdefs.h. */
107497 #include <math.h>
107499 main ()
107501 __builtin_sin(0);
107503 return 0;
107505 _ACEOF
107506 rm -f conftest.$ac_objext
107507 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107508 (eval $ac_compile) 2>conftest.er1
107509 ac_status=$?
107510 grep -v '^ *+' conftest.er1 >conftest.err
107511 rm -f conftest.er1
107512 cat conftest.err >&5
107513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107514 (exit $ac_status); } &&
107515 { ac_try='test -z "$ac_cxx_werror_flag"
107516 || test ! -s conftest.err'
107517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107518 (eval $ac_try) 2>&5
107519 ac_status=$?
107520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107521 (exit $ac_status); }; } &&
107522 { ac_try='test -s conftest.$ac_objext'
107523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107524 (eval $ac_try) 2>&5
107525 ac_status=$?
107526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107527 (exit $ac_status); }; }; then
107528 glibcxx_cv_func___builtin_sin_use=yes
107530 echo "$as_me: failed program was:" >&5
107531 sed 's/^/| /' conftest.$ac_ext >&5
107533 glibcxx_cv_func___builtin_sin_use=no
107535 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107536 ac_ext=c
107537 ac_cpp='$CPP $CPPFLAGS'
107538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107546 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_use" >&5
107547 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_use" >&6
107548 if test x$glibcxx_cv_func___builtin_sin_use = x"yes"; then
107549 echo "$as_me:$LINENO: checking for __builtin_sin linkage" >&5
107550 echo $ECHO_N "checking for __builtin_sin linkage... $ECHO_C" >&6
107551 if test x${glibcxx_cv_func___builtin_sin_link+set} != xset; then
107552 if test "${glibcxx_cv_func___builtin_sin_link+set}" = set; then
107553 echo $ECHO_N "(cached) $ECHO_C" >&6
107556 if test x$gcc_no_link = xyes; then
107557 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107558 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107559 { (exit 1); exit 1; }; }
107561 cat >conftest.$ac_ext <<_ACEOF
107562 /* confdefs.h. */
107563 _ACEOF
107564 cat confdefs.h >>conftest.$ac_ext
107565 cat >>conftest.$ac_ext <<_ACEOF
107566 /* end confdefs.h. */
107567 #include <math.h>
107569 main ()
107571 __builtin_sin(0);
107573 return 0;
107575 _ACEOF
107576 rm -f conftest.$ac_objext conftest$ac_exeext
107577 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107578 (eval $ac_link) 2>conftest.er1
107579 ac_status=$?
107580 grep -v '^ *+' conftest.er1 >conftest.err
107581 rm -f conftest.er1
107582 cat conftest.err >&5
107583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107584 (exit $ac_status); } &&
107585 { ac_try='test -z "$ac_c_werror_flag"
107586 || test ! -s conftest.err'
107587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107588 (eval $ac_try) 2>&5
107589 ac_status=$?
107590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107591 (exit $ac_status); }; } &&
107592 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
107598 glibcxx_cv_func___builtin_sin_link=yes
107600 echo "$as_me: failed program was:" >&5
107601 sed 's/^/| /' conftest.$ac_ext >&5
107603 glibcxx_cv_func___builtin_sin_link=no
107605 rm -f conftest.err conftest.$ac_objext \
107606 conftest$ac_exeext conftest.$ac_ext
107611 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sin_link" >&5
107612 echo "${ECHO_T}$glibcxx_cv_func___builtin_sin_link" >&6
107614 if test x$glibcxx_cv_func___builtin_sin_link = x"yes"; then
107616 cat >>confdefs.h <<\_ACEOF
107617 #define HAVE___BUILTIN_SIN 1
107618 _ACEOF
107625 echo "$as_me:$LINENO: checking for __builtin_sinl declaration" >&5
107626 echo $ECHO_N "checking for __builtin_sinl declaration... $ECHO_C" >&6
107627 if test x${glibcxx_cv_func___builtin_sinl_use+set} != xset; then
107628 if test "${glibcxx_cv_func___builtin_sinl_use+set}" = set; then
107629 echo $ECHO_N "(cached) $ECHO_C" >&6
107634 ac_ext=cc
107635 ac_cpp='$CXXCPP $CPPFLAGS'
107636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107640 cat >conftest.$ac_ext <<_ACEOF
107641 /* confdefs.h. */
107642 _ACEOF
107643 cat confdefs.h >>conftest.$ac_ext
107644 cat >>conftest.$ac_ext <<_ACEOF
107645 /* end confdefs.h. */
107646 #include <math.h>
107648 main ()
107650 __builtin_sinl(0);
107652 return 0;
107654 _ACEOF
107655 rm -f conftest.$ac_objext
107656 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107657 (eval $ac_compile) 2>conftest.er1
107658 ac_status=$?
107659 grep -v '^ *+' conftest.er1 >conftest.err
107660 rm -f conftest.er1
107661 cat conftest.err >&5
107662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107663 (exit $ac_status); } &&
107664 { ac_try='test -z "$ac_cxx_werror_flag"
107665 || test ! -s conftest.err'
107666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107667 (eval $ac_try) 2>&5
107668 ac_status=$?
107669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107670 (exit $ac_status); }; } &&
107671 { ac_try='test -s conftest.$ac_objext'
107672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107673 (eval $ac_try) 2>&5
107674 ac_status=$?
107675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107676 (exit $ac_status); }; }; then
107677 glibcxx_cv_func___builtin_sinl_use=yes
107679 echo "$as_me: failed program was:" >&5
107680 sed 's/^/| /' conftest.$ac_ext >&5
107682 glibcxx_cv_func___builtin_sinl_use=no
107684 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107685 ac_ext=c
107686 ac_cpp='$CPP $CPPFLAGS'
107687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107695 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_use" >&5
107696 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_use" >&6
107697 if test x$glibcxx_cv_func___builtin_sinl_use = x"yes"; then
107698 echo "$as_me:$LINENO: checking for __builtin_sinl linkage" >&5
107699 echo $ECHO_N "checking for __builtin_sinl linkage... $ECHO_C" >&6
107700 if test x${glibcxx_cv_func___builtin_sinl_link+set} != xset; then
107701 if test "${glibcxx_cv_func___builtin_sinl_link+set}" = set; then
107702 echo $ECHO_N "(cached) $ECHO_C" >&6
107705 if test x$gcc_no_link = xyes; then
107706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107708 { (exit 1); exit 1; }; }
107710 cat >conftest.$ac_ext <<_ACEOF
107711 /* confdefs.h. */
107712 _ACEOF
107713 cat confdefs.h >>conftest.$ac_ext
107714 cat >>conftest.$ac_ext <<_ACEOF
107715 /* end confdefs.h. */
107716 #include <math.h>
107718 main ()
107720 __builtin_sinl(0);
107722 return 0;
107724 _ACEOF
107725 rm -f conftest.$ac_objext conftest$ac_exeext
107726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107727 (eval $ac_link) 2>conftest.er1
107728 ac_status=$?
107729 grep -v '^ *+' conftest.er1 >conftest.err
107730 rm -f conftest.er1
107731 cat conftest.err >&5
107732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107733 (exit $ac_status); } &&
107734 { ac_try='test -z "$ac_c_werror_flag"
107735 || test ! -s conftest.err'
107736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107737 (eval $ac_try) 2>&5
107738 ac_status=$?
107739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107740 (exit $ac_status); }; } &&
107741 { ac_try='test -s conftest$ac_exeext'
107742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107743 (eval $ac_try) 2>&5
107744 ac_status=$?
107745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107746 (exit $ac_status); }; }; then
107747 glibcxx_cv_func___builtin_sinl_link=yes
107749 echo "$as_me: failed program was:" >&5
107750 sed 's/^/| /' conftest.$ac_ext >&5
107752 glibcxx_cv_func___builtin_sinl_link=no
107754 rm -f conftest.err conftest.$ac_objext \
107755 conftest$ac_exeext conftest.$ac_ext
107760 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_sinl_link" >&5
107761 echo "${ECHO_T}$glibcxx_cv_func___builtin_sinl_link" >&6
107763 if test x$glibcxx_cv_func___builtin_sinl_link = x"yes"; then
107765 cat >>confdefs.h <<\_ACEOF
107766 #define HAVE___BUILTIN_SINL 1
107767 _ACEOF
107775 echo "$as_me:$LINENO: checking for __builtin_cosf declaration" >&5
107776 echo $ECHO_N "checking for __builtin_cosf declaration... $ECHO_C" >&6
107777 if test x${glibcxx_cv_func___builtin_cosf_use+set} != xset; then
107778 if test "${glibcxx_cv_func___builtin_cosf_use+set}" = set; then
107779 echo $ECHO_N "(cached) $ECHO_C" >&6
107784 ac_ext=cc
107785 ac_cpp='$CXXCPP $CPPFLAGS'
107786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107790 cat >conftest.$ac_ext <<_ACEOF
107791 /* confdefs.h. */
107792 _ACEOF
107793 cat confdefs.h >>conftest.$ac_ext
107794 cat >>conftest.$ac_ext <<_ACEOF
107795 /* end confdefs.h. */
107796 #include <math.h>
107798 main ()
107800 __builtin_cosf(0);
107802 return 0;
107804 _ACEOF
107805 rm -f conftest.$ac_objext
107806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107807 (eval $ac_compile) 2>conftest.er1
107808 ac_status=$?
107809 grep -v '^ *+' conftest.er1 >conftest.err
107810 rm -f conftest.er1
107811 cat conftest.err >&5
107812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107813 (exit $ac_status); } &&
107814 { ac_try='test -z "$ac_cxx_werror_flag"
107815 || test ! -s conftest.err'
107816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107817 (eval $ac_try) 2>&5
107818 ac_status=$?
107819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107820 (exit $ac_status); }; } &&
107821 { ac_try='test -s conftest.$ac_objext'
107822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107823 (eval $ac_try) 2>&5
107824 ac_status=$?
107825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107826 (exit $ac_status); }; }; then
107827 glibcxx_cv_func___builtin_cosf_use=yes
107829 echo "$as_me: failed program was:" >&5
107830 sed 's/^/| /' conftest.$ac_ext >&5
107832 glibcxx_cv_func___builtin_cosf_use=no
107834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107835 ac_ext=c
107836 ac_cpp='$CPP $CPPFLAGS'
107837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107845 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_use" >&5
107846 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_use" >&6
107847 if test x$glibcxx_cv_func___builtin_cosf_use = x"yes"; then
107848 echo "$as_me:$LINENO: checking for __builtin_cosf linkage" >&5
107849 echo $ECHO_N "checking for __builtin_cosf linkage... $ECHO_C" >&6
107850 if test x${glibcxx_cv_func___builtin_cosf_link+set} != xset; then
107851 if test "${glibcxx_cv_func___builtin_cosf_link+set}" = set; then
107852 echo $ECHO_N "(cached) $ECHO_C" >&6
107855 if test x$gcc_no_link = xyes; then
107856 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107857 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107858 { (exit 1); exit 1; }; }
107860 cat >conftest.$ac_ext <<_ACEOF
107861 /* confdefs.h. */
107862 _ACEOF
107863 cat confdefs.h >>conftest.$ac_ext
107864 cat >>conftest.$ac_ext <<_ACEOF
107865 /* end confdefs.h. */
107866 #include <math.h>
107868 main ()
107870 __builtin_cosf(0);
107872 return 0;
107874 _ACEOF
107875 rm -f conftest.$ac_objext conftest$ac_exeext
107876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107877 (eval $ac_link) 2>conftest.er1
107878 ac_status=$?
107879 grep -v '^ *+' conftest.er1 >conftest.err
107880 rm -f conftest.er1
107881 cat conftest.err >&5
107882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107883 (exit $ac_status); } &&
107884 { ac_try='test -z "$ac_c_werror_flag"
107885 || test ! -s conftest.err'
107886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107887 (eval $ac_try) 2>&5
107888 ac_status=$?
107889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107890 (exit $ac_status); }; } &&
107891 { ac_try='test -s conftest$ac_exeext'
107892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107893 (eval $ac_try) 2>&5
107894 ac_status=$?
107895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107896 (exit $ac_status); }; }; then
107897 glibcxx_cv_func___builtin_cosf_link=yes
107899 echo "$as_me: failed program was:" >&5
107900 sed 's/^/| /' conftest.$ac_ext >&5
107902 glibcxx_cv_func___builtin_cosf_link=no
107904 rm -f conftest.err conftest.$ac_objext \
107905 conftest$ac_exeext conftest.$ac_ext
107910 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosf_link" >&5
107911 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosf_link" >&6
107913 if test x$glibcxx_cv_func___builtin_cosf_link = x"yes"; then
107915 cat >>confdefs.h <<\_ACEOF
107916 #define HAVE___BUILTIN_COSF 1
107917 _ACEOF
107924 echo "$as_me:$LINENO: checking for __builtin_cos declaration" >&5
107925 echo $ECHO_N "checking for __builtin_cos declaration... $ECHO_C" >&6
107926 if test x${glibcxx_cv_func___builtin_cos_use+set} != xset; then
107927 if test "${glibcxx_cv_func___builtin_cos_use+set}" = set; then
107928 echo $ECHO_N "(cached) $ECHO_C" >&6
107933 ac_ext=cc
107934 ac_cpp='$CXXCPP $CPPFLAGS'
107935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107939 cat >conftest.$ac_ext <<_ACEOF
107940 /* confdefs.h. */
107941 _ACEOF
107942 cat confdefs.h >>conftest.$ac_ext
107943 cat >>conftest.$ac_ext <<_ACEOF
107944 /* end confdefs.h. */
107945 #include <math.h>
107947 main ()
107949 __builtin_cos(0);
107951 return 0;
107953 _ACEOF
107954 rm -f conftest.$ac_objext
107955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107956 (eval $ac_compile) 2>conftest.er1
107957 ac_status=$?
107958 grep -v '^ *+' conftest.er1 >conftest.err
107959 rm -f conftest.er1
107960 cat conftest.err >&5
107961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107962 (exit $ac_status); } &&
107963 { ac_try='test -z "$ac_cxx_werror_flag"
107964 || test ! -s conftest.err'
107965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107966 (eval $ac_try) 2>&5
107967 ac_status=$?
107968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107969 (exit $ac_status); }; } &&
107970 { ac_try='test -s conftest.$ac_objext'
107971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107972 (eval $ac_try) 2>&5
107973 ac_status=$?
107974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107975 (exit $ac_status); }; }; then
107976 glibcxx_cv_func___builtin_cos_use=yes
107978 echo "$as_me: failed program was:" >&5
107979 sed 's/^/| /' conftest.$ac_ext >&5
107981 glibcxx_cv_func___builtin_cos_use=no
107983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107984 ac_ext=c
107985 ac_cpp='$CPP $CPPFLAGS'
107986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107994 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_use" >&5
107995 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_use" >&6
107996 if test x$glibcxx_cv_func___builtin_cos_use = x"yes"; then
107997 echo "$as_me:$LINENO: checking for __builtin_cos linkage" >&5
107998 echo $ECHO_N "checking for __builtin_cos linkage... $ECHO_C" >&6
107999 if test x${glibcxx_cv_func___builtin_cos_link+set} != xset; then
108000 if test "${glibcxx_cv_func___builtin_cos_link+set}" = set; then
108001 echo $ECHO_N "(cached) $ECHO_C" >&6
108004 if test x$gcc_no_link = xyes; then
108005 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108006 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108007 { (exit 1); exit 1; }; }
108009 cat >conftest.$ac_ext <<_ACEOF
108010 /* confdefs.h. */
108011 _ACEOF
108012 cat confdefs.h >>conftest.$ac_ext
108013 cat >>conftest.$ac_ext <<_ACEOF
108014 /* end confdefs.h. */
108015 #include <math.h>
108017 main ()
108019 __builtin_cos(0);
108021 return 0;
108023 _ACEOF
108024 rm -f conftest.$ac_objext conftest$ac_exeext
108025 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108026 (eval $ac_link) 2>conftest.er1
108027 ac_status=$?
108028 grep -v '^ *+' conftest.er1 >conftest.err
108029 rm -f conftest.er1
108030 cat conftest.err >&5
108031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108032 (exit $ac_status); } &&
108033 { ac_try='test -z "$ac_c_werror_flag"
108034 || test ! -s conftest.err'
108035 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108036 (eval $ac_try) 2>&5
108037 ac_status=$?
108038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108039 (exit $ac_status); }; } &&
108040 { ac_try='test -s conftest$ac_exeext'
108041 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108042 (eval $ac_try) 2>&5
108043 ac_status=$?
108044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108045 (exit $ac_status); }; }; then
108046 glibcxx_cv_func___builtin_cos_link=yes
108048 echo "$as_me: failed program was:" >&5
108049 sed 's/^/| /' conftest.$ac_ext >&5
108051 glibcxx_cv_func___builtin_cos_link=no
108053 rm -f conftest.err conftest.$ac_objext \
108054 conftest$ac_exeext conftest.$ac_ext
108059 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cos_link" >&5
108060 echo "${ECHO_T}$glibcxx_cv_func___builtin_cos_link" >&6
108062 if test x$glibcxx_cv_func___builtin_cos_link = x"yes"; then
108064 cat >>confdefs.h <<\_ACEOF
108065 #define HAVE___BUILTIN_COS 1
108066 _ACEOF
108073 echo "$as_me:$LINENO: checking for __builtin_cosl declaration" >&5
108074 echo $ECHO_N "checking for __builtin_cosl declaration... $ECHO_C" >&6
108075 if test x${glibcxx_cv_func___builtin_cosl_use+set} != xset; then
108076 if test "${glibcxx_cv_func___builtin_cosl_use+set}" = set; then
108077 echo $ECHO_N "(cached) $ECHO_C" >&6
108082 ac_ext=cc
108083 ac_cpp='$CXXCPP $CPPFLAGS'
108084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108088 cat >conftest.$ac_ext <<_ACEOF
108089 /* confdefs.h. */
108090 _ACEOF
108091 cat confdefs.h >>conftest.$ac_ext
108092 cat >>conftest.$ac_ext <<_ACEOF
108093 /* end confdefs.h. */
108094 #include <math.h>
108096 main ()
108098 __builtin_cosl(0);
108100 return 0;
108102 _ACEOF
108103 rm -f conftest.$ac_objext
108104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108105 (eval $ac_compile) 2>conftest.er1
108106 ac_status=$?
108107 grep -v '^ *+' conftest.er1 >conftest.err
108108 rm -f conftest.er1
108109 cat conftest.err >&5
108110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108111 (exit $ac_status); } &&
108112 { ac_try='test -z "$ac_cxx_werror_flag"
108113 || test ! -s conftest.err'
108114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108115 (eval $ac_try) 2>&5
108116 ac_status=$?
108117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108118 (exit $ac_status); }; } &&
108119 { ac_try='test -s conftest.$ac_objext'
108120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108121 (eval $ac_try) 2>&5
108122 ac_status=$?
108123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108124 (exit $ac_status); }; }; then
108125 glibcxx_cv_func___builtin_cosl_use=yes
108127 echo "$as_me: failed program was:" >&5
108128 sed 's/^/| /' conftest.$ac_ext >&5
108130 glibcxx_cv_func___builtin_cosl_use=no
108132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108133 ac_ext=c
108134 ac_cpp='$CPP $CPPFLAGS'
108135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108143 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_use" >&5
108144 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_use" >&6
108145 if test x$glibcxx_cv_func___builtin_cosl_use = x"yes"; then
108146 echo "$as_me:$LINENO: checking for __builtin_cosl linkage" >&5
108147 echo $ECHO_N "checking for __builtin_cosl linkage... $ECHO_C" >&6
108148 if test x${glibcxx_cv_func___builtin_cosl_link+set} != xset; then
108149 if test "${glibcxx_cv_func___builtin_cosl_link+set}" = set; then
108150 echo $ECHO_N "(cached) $ECHO_C" >&6
108153 if test x$gcc_no_link = xyes; then
108154 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108155 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108156 { (exit 1); exit 1; }; }
108158 cat >conftest.$ac_ext <<_ACEOF
108159 /* confdefs.h. */
108160 _ACEOF
108161 cat confdefs.h >>conftest.$ac_ext
108162 cat >>conftest.$ac_ext <<_ACEOF
108163 /* end confdefs.h. */
108164 #include <math.h>
108166 main ()
108168 __builtin_cosl(0);
108170 return 0;
108172 _ACEOF
108173 rm -f conftest.$ac_objext conftest$ac_exeext
108174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108175 (eval $ac_link) 2>conftest.er1
108176 ac_status=$?
108177 grep -v '^ *+' conftest.er1 >conftest.err
108178 rm -f conftest.er1
108179 cat conftest.err >&5
108180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108181 (exit $ac_status); } &&
108182 { ac_try='test -z "$ac_c_werror_flag"
108183 || test ! -s conftest.err'
108184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108185 (eval $ac_try) 2>&5
108186 ac_status=$?
108187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108188 (exit $ac_status); }; } &&
108189 { ac_try='test -s conftest$ac_exeext'
108190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108191 (eval $ac_try) 2>&5
108192 ac_status=$?
108193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108194 (exit $ac_status); }; }; then
108195 glibcxx_cv_func___builtin_cosl_link=yes
108197 echo "$as_me: failed program was:" >&5
108198 sed 's/^/| /' conftest.$ac_ext >&5
108200 glibcxx_cv_func___builtin_cosl_link=no
108202 rm -f conftest.err conftest.$ac_objext \
108203 conftest$ac_exeext conftest.$ac_ext
108208 echo "$as_me:$LINENO: result: $glibcxx_cv_func___builtin_cosl_link" >&5
108209 echo "${ECHO_T}$glibcxx_cv_func___builtin_cosl_link" >&6
108211 if test x$glibcxx_cv_func___builtin_cosl_link = x"yes"; then
108213 cat >>confdefs.h <<\_ACEOF
108214 #define HAVE___BUILTIN_COSL 1
108215 _ACEOF
108224 echo "$as_me:$LINENO: checking for main in -lm" >&5
108225 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
108226 if test "${ac_cv_lib_m_main+set}" = set; then
108227 echo $ECHO_N "(cached) $ECHO_C" >&6
108229 ac_check_lib_save_LIBS=$LIBS
108230 LIBS="-lm $LIBS"
108231 if test x$gcc_no_link = xyes; then
108232 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108233 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108234 { (exit 1); exit 1; }; }
108236 cat >conftest.$ac_ext <<_ACEOF
108237 /* confdefs.h. */
108238 _ACEOF
108239 cat confdefs.h >>conftest.$ac_ext
108240 cat >>conftest.$ac_ext <<_ACEOF
108241 /* end confdefs.h. */
108245 main ()
108247 main ();
108249 return 0;
108251 _ACEOF
108252 rm -f conftest.$ac_objext conftest$ac_exeext
108253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108254 (eval $ac_link) 2>conftest.er1
108255 ac_status=$?
108256 grep -v '^ *+' conftest.er1 >conftest.err
108257 rm -f conftest.er1
108258 cat conftest.err >&5
108259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108260 (exit $ac_status); } &&
108261 { ac_try='test -z "$ac_c_werror_flag"
108262 || test ! -s conftest.err'
108263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108264 (eval $ac_try) 2>&5
108265 ac_status=$?
108266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108267 (exit $ac_status); }; } &&
108268 { ac_try='test -s conftest$ac_exeext'
108269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108270 (eval $ac_try) 2>&5
108271 ac_status=$?
108272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108273 (exit $ac_status); }; }; then
108274 ac_cv_lib_m_main=yes
108276 echo "$as_me: failed program was:" >&5
108277 sed 's/^/| /' conftest.$ac_ext >&5
108279 ac_cv_lib_m_main=no
108281 rm -f conftest.err conftest.$ac_objext \
108282 conftest$ac_exeext conftest.$ac_ext
108283 LIBS=$ac_check_lib_save_LIBS
108285 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
108286 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
108287 if test $ac_cv_lib_m_main = yes; then
108288 cat >>confdefs.h <<_ACEOF
108289 #define HAVE_LIBM 1
108290 _ACEOF
108292 LIBS="-lm $LIBS"
108297 for ac_func in copysignf
108299 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108300 echo "$as_me:$LINENO: checking for $ac_func" >&5
108301 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108302 if eval "test \"\${$as_ac_var+set}\" = set"; then
108303 echo $ECHO_N "(cached) $ECHO_C" >&6
108305 if test x$gcc_no_link = xyes; then
108306 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108307 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108308 { (exit 1); exit 1; }; }
108310 cat >conftest.$ac_ext <<_ACEOF
108311 /* confdefs.h. */
108312 _ACEOF
108313 cat confdefs.h >>conftest.$ac_ext
108314 cat >>conftest.$ac_ext <<_ACEOF
108315 /* end confdefs.h. */
108316 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108317 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108318 #define $ac_func innocuous_$ac_func
108320 /* System header to define __stub macros and hopefully few prototypes,
108321 which can conflict with char $ac_func (); below.
108322 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108323 <limits.h> exists even on freestanding compilers. */
108325 #ifdef __STDC__
108326 # include <limits.h>
108327 #else
108328 # include <assert.h>
108329 #endif
108331 #undef $ac_func
108333 /* Override any gcc2 internal prototype to avoid an error. */
108334 #ifdef __cplusplus
108335 extern "C"
108337 #endif
108338 /* We use char because int might match the return type of a gcc2
108339 builtin and then its argument prototype would still apply. */
108340 char $ac_func ();
108341 /* The GNU C library defines this for functions which it implements
108342 to always fail with ENOSYS. Some functions are actually named
108343 something starting with __ and the normal name is an alias. */
108344 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108345 choke me
108346 #else
108347 char (*f) () = $ac_func;
108348 #endif
108349 #ifdef __cplusplus
108351 #endif
108354 main ()
108356 return f != $ac_func;
108358 return 0;
108360 _ACEOF
108361 rm -f conftest.$ac_objext conftest$ac_exeext
108362 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108363 (eval $ac_link) 2>conftest.er1
108364 ac_status=$?
108365 grep -v '^ *+' conftest.er1 >conftest.err
108366 rm -f conftest.er1
108367 cat conftest.err >&5
108368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108369 (exit $ac_status); } &&
108370 { ac_try='test -z "$ac_c_werror_flag"
108371 || test ! -s conftest.err'
108372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108373 (eval $ac_try) 2>&5
108374 ac_status=$?
108375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108376 (exit $ac_status); }; } &&
108377 { ac_try='test -s conftest$ac_exeext'
108378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108379 (eval $ac_try) 2>&5
108380 ac_status=$?
108381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108382 (exit $ac_status); }; }; then
108383 eval "$as_ac_var=yes"
108385 echo "$as_me: failed program was:" >&5
108386 sed 's/^/| /' conftest.$ac_ext >&5
108388 eval "$as_ac_var=no"
108390 rm -f conftest.err conftest.$ac_objext \
108391 conftest$ac_exeext conftest.$ac_ext
108393 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108394 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108395 if test `eval echo '${'$as_ac_var'}'` = yes; then
108396 cat >>confdefs.h <<_ACEOF
108397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108398 _ACEOF
108401 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
108407 for ac_func in __signbit
108409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108410 echo "$as_me:$LINENO: checking for $ac_func" >&5
108411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108412 if eval "test \"\${$as_ac_var+set}\" = set"; then
108413 echo $ECHO_N "(cached) $ECHO_C" >&6
108415 if test x$gcc_no_link = xyes; then
108416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108418 { (exit 1); exit 1; }; }
108420 cat >conftest.$ac_ext <<_ACEOF
108421 /* confdefs.h. */
108422 _ACEOF
108423 cat confdefs.h >>conftest.$ac_ext
108424 cat >>conftest.$ac_ext <<_ACEOF
108425 /* end confdefs.h. */
108426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108428 #define $ac_func innocuous_$ac_func
108430 /* System header to define __stub macros and hopefully few prototypes,
108431 which can conflict with char $ac_func (); below.
108432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108433 <limits.h> exists even on freestanding compilers. */
108435 #ifdef __STDC__
108436 # include <limits.h>
108437 #else
108438 # include <assert.h>
108439 #endif
108441 #undef $ac_func
108443 /* Override any gcc2 internal prototype to avoid an error. */
108444 #ifdef __cplusplus
108445 extern "C"
108447 #endif
108448 /* We use char because int might match the return type of a gcc2
108449 builtin and then its argument prototype would still apply. */
108450 char $ac_func ();
108451 /* The GNU C library defines this for functions which it implements
108452 to always fail with ENOSYS. Some functions are actually named
108453 something starting with __ and the normal name is an alias. */
108454 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108455 choke me
108456 #else
108457 char (*f) () = $ac_func;
108458 #endif
108459 #ifdef __cplusplus
108461 #endif
108464 main ()
108466 return f != $ac_func;
108468 return 0;
108470 _ACEOF
108471 rm -f conftest.$ac_objext conftest$ac_exeext
108472 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108473 (eval $ac_link) 2>conftest.er1
108474 ac_status=$?
108475 grep -v '^ *+' conftest.er1 >conftest.err
108476 rm -f conftest.er1
108477 cat conftest.err >&5
108478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108479 (exit $ac_status); } &&
108480 { ac_try='test -z "$ac_c_werror_flag"
108481 || test ! -s conftest.err'
108482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108483 (eval $ac_try) 2>&5
108484 ac_status=$?
108485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108486 (exit $ac_status); }; } &&
108487 { ac_try='test -s conftest$ac_exeext'
108488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108489 (eval $ac_try) 2>&5
108490 ac_status=$?
108491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108492 (exit $ac_status); }; }; then
108493 eval "$as_ac_var=yes"
108495 echo "$as_me: failed program was:" >&5
108496 sed 's/^/| /' conftest.$ac_ext >&5
108498 eval "$as_ac_var=no"
108500 rm -f conftest.err conftest.$ac_objext \
108501 conftest$ac_exeext conftest.$ac_ext
108503 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108504 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108505 if test `eval echo '${'$as_ac_var'}'` = yes; then
108506 cat >>confdefs.h <<_ACEOF
108507 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108508 _ACEOF
108511 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
108517 for ac_func in __signbitf
108519 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108520 echo "$as_me:$LINENO: checking for $ac_func" >&5
108521 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108522 if eval "test \"\${$as_ac_var+set}\" = set"; then
108523 echo $ECHO_N "(cached) $ECHO_C" >&6
108525 if test x$gcc_no_link = xyes; then
108526 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108527 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108528 { (exit 1); exit 1; }; }
108530 cat >conftest.$ac_ext <<_ACEOF
108531 /* confdefs.h. */
108532 _ACEOF
108533 cat confdefs.h >>conftest.$ac_ext
108534 cat >>conftest.$ac_ext <<_ACEOF
108535 /* end confdefs.h. */
108536 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108537 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108538 #define $ac_func innocuous_$ac_func
108540 /* System header to define __stub macros and hopefully few prototypes,
108541 which can conflict with char $ac_func (); below.
108542 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108543 <limits.h> exists even on freestanding compilers. */
108545 #ifdef __STDC__
108546 # include <limits.h>
108547 #else
108548 # include <assert.h>
108549 #endif
108551 #undef $ac_func
108553 /* Override any gcc2 internal prototype to avoid an error. */
108554 #ifdef __cplusplus
108555 extern "C"
108557 #endif
108558 /* We use char because int might match the return type of a gcc2
108559 builtin and then its argument prototype would still apply. */
108560 char $ac_func ();
108561 /* The GNU C library defines this for functions which it implements
108562 to always fail with ENOSYS. Some functions are actually named
108563 something starting with __ and the normal name is an alias. */
108564 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108565 choke me
108566 #else
108567 char (*f) () = $ac_func;
108568 #endif
108569 #ifdef __cplusplus
108571 #endif
108574 main ()
108576 return f != $ac_func;
108578 return 0;
108580 _ACEOF
108581 rm -f conftest.$ac_objext conftest$ac_exeext
108582 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108583 (eval $ac_link) 2>conftest.er1
108584 ac_status=$?
108585 grep -v '^ *+' conftest.er1 >conftest.err
108586 rm -f conftest.er1
108587 cat conftest.err >&5
108588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108589 (exit $ac_status); } &&
108590 { ac_try='test -z "$ac_c_werror_flag"
108591 || test ! -s conftest.err'
108592 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108593 (eval $ac_try) 2>&5
108594 ac_status=$?
108595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108596 (exit $ac_status); }; } &&
108597 { ac_try='test -s conftest$ac_exeext'
108598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108599 (eval $ac_try) 2>&5
108600 ac_status=$?
108601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108602 (exit $ac_status); }; }; then
108603 eval "$as_ac_var=yes"
108605 echo "$as_me: failed program was:" >&5
108606 sed 's/^/| /' conftest.$ac_ext >&5
108608 eval "$as_ac_var=no"
108610 rm -f conftest.err conftest.$ac_objext \
108611 conftest$ac_exeext conftest.$ac_ext
108613 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108614 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108615 if test `eval echo '${'$as_ac_var'}'` = yes; then
108616 cat >>confdefs.h <<_ACEOF
108617 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108618 _ACEOF
108621 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
108626 if test x$ac_cv_func_copysignl = x"yes"; then
108628 for ac_func in __signbitl
108630 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108631 echo "$as_me:$LINENO: checking for $ac_func" >&5
108632 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108633 if eval "test \"\${$as_ac_var+set}\" = set"; then
108634 echo $ECHO_N "(cached) $ECHO_C" >&6
108636 if test x$gcc_no_link = xyes; then
108637 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108638 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108639 { (exit 1); exit 1; }; }
108641 cat >conftest.$ac_ext <<_ACEOF
108642 /* confdefs.h. */
108643 _ACEOF
108644 cat confdefs.h >>conftest.$ac_ext
108645 cat >>conftest.$ac_ext <<_ACEOF
108646 /* end confdefs.h. */
108647 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108648 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108649 #define $ac_func innocuous_$ac_func
108651 /* System header to define __stub macros and hopefully few prototypes,
108652 which can conflict with char $ac_func (); below.
108653 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108654 <limits.h> exists even on freestanding compilers. */
108656 #ifdef __STDC__
108657 # include <limits.h>
108658 #else
108659 # include <assert.h>
108660 #endif
108662 #undef $ac_func
108664 /* Override any gcc2 internal prototype to avoid an error. */
108665 #ifdef __cplusplus
108666 extern "C"
108668 #endif
108669 /* We use char because int might match the return type of a gcc2
108670 builtin and then its argument prototype would still apply. */
108671 char $ac_func ();
108672 /* The GNU C library defines this for functions which it implements
108673 to always fail with ENOSYS. Some functions are actually named
108674 something starting with __ and the normal name is an alias. */
108675 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108676 choke me
108677 #else
108678 char (*f) () = $ac_func;
108679 #endif
108680 #ifdef __cplusplus
108682 #endif
108685 main ()
108687 return f != $ac_func;
108689 return 0;
108691 _ACEOF
108692 rm -f conftest.$ac_objext conftest$ac_exeext
108693 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108694 (eval $ac_link) 2>conftest.er1
108695 ac_status=$?
108696 grep -v '^ *+' conftest.er1 >conftest.err
108697 rm -f conftest.er1
108698 cat conftest.err >&5
108699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108700 (exit $ac_status); } &&
108701 { ac_try='test -z "$ac_c_werror_flag"
108702 || test ! -s conftest.err'
108703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108704 (eval $ac_try) 2>&5
108705 ac_status=$?
108706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108707 (exit $ac_status); }; } &&
108708 { ac_try='test -s conftest$ac_exeext'
108709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108710 (eval $ac_try) 2>&5
108711 ac_status=$?
108712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108713 (exit $ac_status); }; }; then
108714 eval "$as_ac_var=yes"
108716 echo "$as_me: failed program was:" >&5
108717 sed 's/^/| /' conftest.$ac_ext >&5
108719 eval "$as_ac_var=no"
108721 rm -f conftest.err conftest.$ac_objext \
108722 conftest$ac_exeext conftest.$ac_ext
108724 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108725 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108726 if test `eval echo '${'$as_ac_var'}'` = yes; then
108727 cat >>confdefs.h <<_ACEOF
108728 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108729 _ACEOF
108732 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
108738 # Used in libmath/Makefile.am.
108739 if test -n "$LIBMATHOBJS"; then
108740 need_libmath=yes
108745 ac_test_CXXFLAGS="${CXXFLAGS+set}"
108746 ac_save_CXXFLAGS="$CXXFLAGS"
108747 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
108750 echo "$as_me:$LINENO: checking for strtold declaration" >&5
108751 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
108752 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
108753 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
108754 echo $ECHO_N "(cached) $ECHO_C" >&6
108759 ac_ext=cc
108760 ac_cpp='$CXXCPP $CPPFLAGS'
108761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108765 cat >conftest.$ac_ext <<_ACEOF
108766 /* confdefs.h. */
108767 _ACEOF
108768 cat confdefs.h >>conftest.$ac_ext
108769 cat >>conftest.$ac_ext <<_ACEOF
108770 /* end confdefs.h. */
108771 #include <stdlib.h>
108773 main ()
108775 strtold(0, 0);
108777 return 0;
108779 _ACEOF
108780 rm -f conftest.$ac_objext
108781 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108782 (eval $ac_compile) 2>conftest.er1
108783 ac_status=$?
108784 grep -v '^ *+' conftest.er1 >conftest.err
108785 rm -f conftest.er1
108786 cat conftest.err >&5
108787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108788 (exit $ac_status); } &&
108789 { ac_try='test -z "$ac_cxx_werror_flag"
108790 || test ! -s conftest.err'
108791 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108792 (eval $ac_try) 2>&5
108793 ac_status=$?
108794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108795 (exit $ac_status); }; } &&
108796 { ac_try='test -s conftest.$ac_objext'
108797 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108798 (eval $ac_try) 2>&5
108799 ac_status=$?
108800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108801 (exit $ac_status); }; }; then
108802 glibcxx_cv_func_strtold_use=yes
108804 echo "$as_me: failed program was:" >&5
108805 sed 's/^/| /' conftest.$ac_ext >&5
108807 glibcxx_cv_func_strtold_use=no
108809 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108810 ac_ext=c
108811 ac_cpp='$CPP $CPPFLAGS'
108812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108820 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
108821 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
108822 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
108824 for ac_func in strtold
108826 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108827 echo "$as_me:$LINENO: checking for $ac_func" >&5
108828 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108829 if eval "test \"\${$as_ac_var+set}\" = set"; then
108830 echo $ECHO_N "(cached) $ECHO_C" >&6
108832 if test x$gcc_no_link = xyes; then
108833 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108834 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108835 { (exit 1); exit 1; }; }
108837 cat >conftest.$ac_ext <<_ACEOF
108838 /* confdefs.h. */
108839 _ACEOF
108840 cat confdefs.h >>conftest.$ac_ext
108841 cat >>conftest.$ac_ext <<_ACEOF
108842 /* end confdefs.h. */
108843 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108844 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108845 #define $ac_func innocuous_$ac_func
108847 /* System header to define __stub macros and hopefully few prototypes,
108848 which can conflict with char $ac_func (); below.
108849 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108850 <limits.h> exists even on freestanding compilers. */
108852 #ifdef __STDC__
108853 # include <limits.h>
108854 #else
108855 # include <assert.h>
108856 #endif
108858 #undef $ac_func
108860 /* Override any gcc2 internal prototype to avoid an error. */
108861 #ifdef __cplusplus
108862 extern "C"
108864 #endif
108865 /* We use char because int might match the return type of a gcc2
108866 builtin and then its argument prototype would still apply. */
108867 char $ac_func ();
108868 /* The GNU C library defines this for functions which it implements
108869 to always fail with ENOSYS. Some functions are actually named
108870 something starting with __ and the normal name is an alias. */
108871 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108872 choke me
108873 #else
108874 char (*f) () = $ac_func;
108875 #endif
108876 #ifdef __cplusplus
108878 #endif
108881 main ()
108883 return f != $ac_func;
108885 return 0;
108887 _ACEOF
108888 rm -f conftest.$ac_objext conftest$ac_exeext
108889 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108890 (eval $ac_link) 2>conftest.er1
108891 ac_status=$?
108892 grep -v '^ *+' conftest.er1 >conftest.err
108893 rm -f conftest.er1
108894 cat conftest.err >&5
108895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108896 (exit $ac_status); } &&
108897 { ac_try='test -z "$ac_c_werror_flag"
108898 || test ! -s conftest.err'
108899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108900 (eval $ac_try) 2>&5
108901 ac_status=$?
108902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108903 (exit $ac_status); }; } &&
108904 { ac_try='test -s conftest$ac_exeext'
108905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108906 (eval $ac_try) 2>&5
108907 ac_status=$?
108908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108909 (exit $ac_status); }; }; then
108910 eval "$as_ac_var=yes"
108912 echo "$as_me: failed program was:" >&5
108913 sed 's/^/| /' conftest.$ac_ext >&5
108915 eval "$as_ac_var=no"
108917 rm -f conftest.err conftest.$ac_objext \
108918 conftest$ac_exeext conftest.$ac_ext
108920 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108921 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108922 if test `eval echo '${'$as_ac_var'}'` = yes; then
108923 cat >>confdefs.h <<_ACEOF
108924 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108925 _ACEOF
108936 echo "$as_me:$LINENO: checking for strtof declaration" >&5
108937 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
108938 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
108939 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
108940 echo $ECHO_N "(cached) $ECHO_C" >&6
108945 ac_ext=cc
108946 ac_cpp='$CXXCPP $CPPFLAGS'
108947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108951 cat >conftest.$ac_ext <<_ACEOF
108952 /* confdefs.h. */
108953 _ACEOF
108954 cat confdefs.h >>conftest.$ac_ext
108955 cat >>conftest.$ac_ext <<_ACEOF
108956 /* end confdefs.h. */
108957 #include <stdlib.h>
108959 main ()
108961 strtof(0, 0);
108963 return 0;
108965 _ACEOF
108966 rm -f conftest.$ac_objext
108967 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108968 (eval $ac_compile) 2>conftest.er1
108969 ac_status=$?
108970 grep -v '^ *+' conftest.er1 >conftest.err
108971 rm -f conftest.er1
108972 cat conftest.err >&5
108973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108974 (exit $ac_status); } &&
108975 { ac_try='test -z "$ac_cxx_werror_flag"
108976 || test ! -s conftest.err'
108977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108978 (eval $ac_try) 2>&5
108979 ac_status=$?
108980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108981 (exit $ac_status); }; } &&
108982 { ac_try='test -s conftest.$ac_objext'
108983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108984 (eval $ac_try) 2>&5
108985 ac_status=$?
108986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108987 (exit $ac_status); }; }; then
108988 glibcxx_cv_func_strtof_use=yes
108990 echo "$as_me: failed program was:" >&5
108991 sed 's/^/| /' conftest.$ac_ext >&5
108993 glibcxx_cv_func_strtof_use=no
108995 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108996 ac_ext=c
108997 ac_cpp='$CPP $CPPFLAGS'
108998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109006 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
109007 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
109008 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
109010 for ac_func in strtof
109012 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109013 echo "$as_me:$LINENO: checking for $ac_func" >&5
109014 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109015 if eval "test \"\${$as_ac_var+set}\" = set"; then
109016 echo $ECHO_N "(cached) $ECHO_C" >&6
109018 if test x$gcc_no_link = xyes; then
109019 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109020 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109021 { (exit 1); exit 1; }; }
109023 cat >conftest.$ac_ext <<_ACEOF
109024 /* confdefs.h. */
109025 _ACEOF
109026 cat confdefs.h >>conftest.$ac_ext
109027 cat >>conftest.$ac_ext <<_ACEOF
109028 /* end confdefs.h. */
109029 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109030 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109031 #define $ac_func innocuous_$ac_func
109033 /* System header to define __stub macros and hopefully few prototypes,
109034 which can conflict with char $ac_func (); below.
109035 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109036 <limits.h> exists even on freestanding compilers. */
109038 #ifdef __STDC__
109039 # include <limits.h>
109040 #else
109041 # include <assert.h>
109042 #endif
109044 #undef $ac_func
109046 /* Override any gcc2 internal prototype to avoid an error. */
109047 #ifdef __cplusplus
109048 extern "C"
109050 #endif
109051 /* We use char because int might match the return type of a gcc2
109052 builtin and then its argument prototype would still apply. */
109053 char $ac_func ();
109054 /* The GNU C library defines this for functions which it implements
109055 to always fail with ENOSYS. Some functions are actually named
109056 something starting with __ and the normal name is an alias. */
109057 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109058 choke me
109059 #else
109060 char (*f) () = $ac_func;
109061 #endif
109062 #ifdef __cplusplus
109064 #endif
109067 main ()
109069 return f != $ac_func;
109071 return 0;
109073 _ACEOF
109074 rm -f conftest.$ac_objext conftest$ac_exeext
109075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109076 (eval $ac_link) 2>conftest.er1
109077 ac_status=$?
109078 grep -v '^ *+' conftest.er1 >conftest.err
109079 rm -f conftest.er1
109080 cat conftest.err >&5
109081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109082 (exit $ac_status); } &&
109083 { ac_try='test -z "$ac_c_werror_flag"
109084 || test ! -s conftest.err'
109085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109086 (eval $ac_try) 2>&5
109087 ac_status=$?
109088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109089 (exit $ac_status); }; } &&
109090 { ac_try='test -s conftest$ac_exeext'
109091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109092 (eval $ac_try) 2>&5
109093 ac_status=$?
109094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109095 (exit $ac_status); }; }; then
109096 eval "$as_ac_var=yes"
109098 echo "$as_me: failed program was:" >&5
109099 sed 's/^/| /' conftest.$ac_ext >&5
109101 eval "$as_ac_var=no"
109103 rm -f conftest.err conftest.$ac_objext \
109104 conftest$ac_exeext conftest.$ac_ext
109106 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109107 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109108 if test `eval echo '${'$as_ac_var'}'` = yes; then
109109 cat >>confdefs.h <<_ACEOF
109110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109111 _ACEOF
109122 CXXFLAGS="$ac_save_CXXFLAGS"
109125 # For LFS.
109126 cat >>confdefs.h <<\_ACEOF
109127 #define HAVE_INT64_T 1
109128 _ACEOF
109133 ac_ext=cc
109134 ac_cpp='$CXXCPP $CPPFLAGS'
109135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109139 ac_save_CXXFLAGS="$CXXFLAGS"
109140 CXXFLAGS="$CXXFLAGS -fno-exceptions"
109141 echo "$as_me:$LINENO: checking for LFS support" >&5
109142 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
109143 if test "${glibcxx_cv_LFS+set}" = set; then
109144 echo $ECHO_N "(cached) $ECHO_C" >&6
109147 if test x$gcc_no_link = xyes; then
109148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109150 { (exit 1); exit 1; }; }
109152 cat >conftest.$ac_ext <<_ACEOF
109153 /* confdefs.h. */
109154 _ACEOF
109155 cat confdefs.h >>conftest.$ac_ext
109156 cat >>conftest.$ac_ext <<_ACEOF
109157 /* end confdefs.h. */
109158 #include <unistd.h>
109159 #include <stdio.h>
109160 #include <sys/stat.h>
109163 main ()
109165 FILE* fp;
109166 fopen64("t", "w");
109167 fseeko64(fp, 0, SEEK_CUR);
109168 ftello64(fp);
109169 lseek64(1, 0, SEEK_CUR);
109170 struct stat64 buf;
109171 fstat64(1, &buf);
109173 return 0;
109175 _ACEOF
109176 rm -f conftest.$ac_objext conftest$ac_exeext
109177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109178 (eval $ac_link) 2>conftest.er1
109179 ac_status=$?
109180 grep -v '^ *+' conftest.er1 >conftest.err
109181 rm -f conftest.er1
109182 cat conftest.err >&5
109183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109184 (exit $ac_status); } &&
109185 { ac_try='test -z "$ac_cxx_werror_flag"
109186 || test ! -s conftest.err'
109187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109188 (eval $ac_try) 2>&5
109189 ac_status=$?
109190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109191 (exit $ac_status); }; } &&
109192 { ac_try='test -s conftest$ac_exeext'
109193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109194 (eval $ac_try) 2>&5
109195 ac_status=$?
109196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109197 (exit $ac_status); }; }; then
109198 glibcxx_cv_LFS=yes
109200 echo "$as_me: failed program was:" >&5
109201 sed 's/^/| /' conftest.$ac_ext >&5
109203 glibcxx_cv_LFS=no
109205 rm -f conftest.err conftest.$ac_objext \
109206 conftest$ac_exeext conftest.$ac_ext
109210 if test $glibcxx_cv_LFS = yes; then
109212 cat >>confdefs.h <<\_ACEOF
109213 #define _GLIBCXX_USE_LFS 1
109214 _ACEOF
109217 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
109218 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
109219 CXXFLAGS="$ac_save_CXXFLAGS"
109220 ac_ext=c
109221 ac_cpp='$CPP $CPPFLAGS'
109222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109228 # For showmanyc_helper().
109231 for ac_header in sys/ioctl.h sys/filio.h
109233 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109234 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109235 echo "$as_me:$LINENO: checking for $ac_header" >&5
109236 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109237 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109238 echo $ECHO_N "(cached) $ECHO_C" >&6
109240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109243 # Is the header compilable?
109244 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109245 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109246 cat >conftest.$ac_ext <<_ACEOF
109247 /* confdefs.h. */
109248 _ACEOF
109249 cat confdefs.h >>conftest.$ac_ext
109250 cat >>conftest.$ac_ext <<_ACEOF
109251 /* end confdefs.h. */
109252 $ac_includes_default
109253 #include <$ac_header>
109254 _ACEOF
109255 rm -f conftest.$ac_objext
109256 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109257 (eval $ac_compile) 2>conftest.er1
109258 ac_status=$?
109259 grep -v '^ *+' conftest.er1 >conftest.err
109260 rm -f conftest.er1
109261 cat conftest.err >&5
109262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109263 (exit $ac_status); } &&
109264 { ac_try='test -z "$ac_c_werror_flag"
109265 || test ! -s conftest.err'
109266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109267 (eval $ac_try) 2>&5
109268 ac_status=$?
109269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109270 (exit $ac_status); }; } &&
109271 { ac_try='test -s conftest.$ac_objext'
109272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109273 (eval $ac_try) 2>&5
109274 ac_status=$?
109275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109276 (exit $ac_status); }; }; then
109277 ac_header_compiler=yes
109279 echo "$as_me: failed program was:" >&5
109280 sed 's/^/| /' conftest.$ac_ext >&5
109282 ac_header_compiler=no
109284 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109285 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109286 echo "${ECHO_T}$ac_header_compiler" >&6
109288 # Is the header present?
109289 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109290 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109291 cat >conftest.$ac_ext <<_ACEOF
109292 /* confdefs.h. */
109293 _ACEOF
109294 cat confdefs.h >>conftest.$ac_ext
109295 cat >>conftest.$ac_ext <<_ACEOF
109296 /* end confdefs.h. */
109297 #include <$ac_header>
109298 _ACEOF
109299 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109300 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109301 ac_status=$?
109302 grep -v '^ *+' conftest.er1 >conftest.err
109303 rm -f conftest.er1
109304 cat conftest.err >&5
109305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109306 (exit $ac_status); } >/dev/null; then
109307 if test -s conftest.err; then
109308 ac_cpp_err=$ac_c_preproc_warn_flag
109309 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109311 ac_cpp_err=
109314 ac_cpp_err=yes
109316 if test -z "$ac_cpp_err"; then
109317 ac_header_preproc=yes
109319 echo "$as_me: failed program was:" >&5
109320 sed 's/^/| /' conftest.$ac_ext >&5
109322 ac_header_preproc=no
109324 rm -f conftest.err conftest.$ac_ext
109325 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109326 echo "${ECHO_T}$ac_header_preproc" >&6
109328 # So? What about this header?
109329 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109330 yes:no: )
109331 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109332 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109333 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109334 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109335 ac_header_preproc=yes
109337 no:yes:* )
109338 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109339 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109340 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109341 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109342 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109343 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109344 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109345 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109346 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109347 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109348 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109349 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109351 cat <<\_ASBOX
109352 ## ----------------------------------------- ##
109353 ## Report this to the package-unused lists. ##
109354 ## ----------------------------------------- ##
109355 _ASBOX
109357 sed "s/^/$as_me: WARNING: /" >&2
109360 echo "$as_me:$LINENO: checking for $ac_header" >&5
109361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109362 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109363 echo $ECHO_N "(cached) $ECHO_C" >&6
109365 eval "$as_ac_Header=\$ac_header_preproc"
109367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109368 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109371 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109372 cat >>confdefs.h <<_ACEOF
109373 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109374 _ACEOF
109381 echo "$as_me:$LINENO: checking for poll" >&5
109382 echo $ECHO_N "checking for poll... $ECHO_C" >&6
109383 if test "${glibcxx_cv_POLL+set}" = set; then
109384 echo $ECHO_N "(cached) $ECHO_C" >&6
109387 if test x$gcc_no_link = xyes; then
109388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109390 { (exit 1); exit 1; }; }
109392 cat >conftest.$ac_ext <<_ACEOF
109393 /* confdefs.h. */
109394 _ACEOF
109395 cat confdefs.h >>conftest.$ac_ext
109396 cat >>conftest.$ac_ext <<_ACEOF
109397 /* end confdefs.h. */
109398 #include <poll.h>
109400 main ()
109402 struct pollfd pfd[1];
109403 pfd[0].events = POLLIN;
109404 poll(pfd, 1, 0);
109406 return 0;
109408 _ACEOF
109409 rm -f conftest.$ac_objext conftest$ac_exeext
109410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109411 (eval $ac_link) 2>conftest.er1
109412 ac_status=$?
109413 grep -v '^ *+' conftest.er1 >conftest.err
109414 rm -f conftest.er1
109415 cat conftest.err >&5
109416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109417 (exit $ac_status); } &&
109418 { ac_try='test -z "$ac_c_werror_flag"
109419 || test ! -s conftest.err'
109420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109421 (eval $ac_try) 2>&5
109422 ac_status=$?
109423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109424 (exit $ac_status); }; } &&
109425 { ac_try='test -s conftest$ac_exeext'
109426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109427 (eval $ac_try) 2>&5
109428 ac_status=$?
109429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109430 (exit $ac_status); }; }; then
109431 glibcxx_cv_POLL=yes
109433 echo "$as_me: failed program was:" >&5
109434 sed 's/^/| /' conftest.$ac_ext >&5
109436 glibcxx_cv_POLL=no
109438 rm -f conftest.err conftest.$ac_objext \
109439 conftest$ac_exeext conftest.$ac_ext
109443 if test $glibcxx_cv_POLL = yes; then
109445 cat >>confdefs.h <<\_ACEOF
109446 #define HAVE_POLL 1
109447 _ACEOF
109450 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
109451 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
109454 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
109455 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
109456 if test "${glibcxx_cv_S_ISREG+set}" = set; then
109457 echo $ECHO_N "(cached) $ECHO_C" >&6
109460 if test x$gcc_no_link = xyes; then
109461 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109462 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109463 { (exit 1); exit 1; }; }
109465 cat >conftest.$ac_ext <<_ACEOF
109466 /* confdefs.h. */
109467 _ACEOF
109468 cat confdefs.h >>conftest.$ac_ext
109469 cat >>conftest.$ac_ext <<_ACEOF
109470 /* end confdefs.h. */
109471 #include <sys/stat.h>
109473 main ()
109475 struct stat buffer;
109476 fstat(0, &buffer);
109477 S_ISREG(buffer.st_mode);
109479 return 0;
109481 _ACEOF
109482 rm -f conftest.$ac_objext conftest$ac_exeext
109483 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109484 (eval $ac_link) 2>conftest.er1
109485 ac_status=$?
109486 grep -v '^ *+' conftest.er1 >conftest.err
109487 rm -f conftest.er1
109488 cat conftest.err >&5
109489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109490 (exit $ac_status); } &&
109491 { ac_try='test -z "$ac_c_werror_flag"
109492 || test ! -s conftest.err'
109493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109494 (eval $ac_try) 2>&5
109495 ac_status=$?
109496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109497 (exit $ac_status); }; } &&
109498 { ac_try='test -s conftest$ac_exeext'
109499 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109500 (eval $ac_try) 2>&5
109501 ac_status=$?
109502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109503 (exit $ac_status); }; }; then
109504 glibcxx_cv_S_ISREG=yes
109506 echo "$as_me: failed program was:" >&5
109507 sed 's/^/| /' conftest.$ac_ext >&5
109509 glibcxx_cv_S_ISREG=no
109511 rm -f conftest.err conftest.$ac_objext \
109512 conftest$ac_exeext conftest.$ac_ext
109516 if test "${glibcxx_cv_S_IFREG+set}" = set; then
109517 echo $ECHO_N "(cached) $ECHO_C" >&6
109520 if test x$gcc_no_link = xyes; then
109521 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109522 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109523 { (exit 1); exit 1; }; }
109525 cat >conftest.$ac_ext <<_ACEOF
109526 /* confdefs.h. */
109527 _ACEOF
109528 cat confdefs.h >>conftest.$ac_ext
109529 cat >>conftest.$ac_ext <<_ACEOF
109530 /* end confdefs.h. */
109531 #include <sys/stat.h>
109533 main ()
109535 struct stat buffer;
109536 fstat(0, &buffer);
109537 S_IFREG & buffer.st_mode;
109539 return 0;
109541 _ACEOF
109542 rm -f conftest.$ac_objext conftest$ac_exeext
109543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109544 (eval $ac_link) 2>conftest.er1
109545 ac_status=$?
109546 grep -v '^ *+' conftest.er1 >conftest.err
109547 rm -f conftest.er1
109548 cat conftest.err >&5
109549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109550 (exit $ac_status); } &&
109551 { ac_try='test -z "$ac_c_werror_flag"
109552 || test ! -s conftest.err'
109553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109554 (eval $ac_try) 2>&5
109555 ac_status=$?
109556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109557 (exit $ac_status); }; } &&
109558 { ac_try='test -s conftest$ac_exeext'
109559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109560 (eval $ac_try) 2>&5
109561 ac_status=$?
109562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109563 (exit $ac_status); }; }; then
109564 glibcxx_cv_S_IFREG=yes
109566 echo "$as_me: failed program was:" >&5
109567 sed 's/^/| /' conftest.$ac_ext >&5
109569 glibcxx_cv_S_IFREG=no
109571 rm -f conftest.err conftest.$ac_objext \
109572 conftest$ac_exeext conftest.$ac_ext
109576 res=no
109577 if test $glibcxx_cv_S_ISREG = yes; then
109579 cat >>confdefs.h <<\_ACEOF
109580 #define HAVE_S_ISREG 1
109581 _ACEOF
109583 res=S_ISREG
109584 elif test $glibcxx_cv_S_IFREG = yes; then
109586 cat >>confdefs.h <<\_ACEOF
109587 #define HAVE_S_IFREG 1
109588 _ACEOF
109590 res=S_IFREG
109592 echo "$as_me:$LINENO: result: $res" >&5
109593 echo "${ECHO_T}$res" >&6
109596 # For xsputn_2().
109598 for ac_header in sys/uio.h
109600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109602 echo "$as_me:$LINENO: checking for $ac_header" >&5
109603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109605 echo $ECHO_N "(cached) $ECHO_C" >&6
109607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109610 # Is the header compilable?
109611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109613 cat >conftest.$ac_ext <<_ACEOF
109614 /* confdefs.h. */
109615 _ACEOF
109616 cat confdefs.h >>conftest.$ac_ext
109617 cat >>conftest.$ac_ext <<_ACEOF
109618 /* end confdefs.h. */
109619 $ac_includes_default
109620 #include <$ac_header>
109621 _ACEOF
109622 rm -f conftest.$ac_objext
109623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109624 (eval $ac_compile) 2>conftest.er1
109625 ac_status=$?
109626 grep -v '^ *+' conftest.er1 >conftest.err
109627 rm -f conftest.er1
109628 cat conftest.err >&5
109629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109630 (exit $ac_status); } &&
109631 { ac_try='test -z "$ac_c_werror_flag"
109632 || test ! -s conftest.err'
109633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109634 (eval $ac_try) 2>&5
109635 ac_status=$?
109636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109637 (exit $ac_status); }; } &&
109638 { ac_try='test -s conftest.$ac_objext'
109639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109640 (eval $ac_try) 2>&5
109641 ac_status=$?
109642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109643 (exit $ac_status); }; }; then
109644 ac_header_compiler=yes
109646 echo "$as_me: failed program was:" >&5
109647 sed 's/^/| /' conftest.$ac_ext >&5
109649 ac_header_compiler=no
109651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109653 echo "${ECHO_T}$ac_header_compiler" >&6
109655 # Is the header present?
109656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109658 cat >conftest.$ac_ext <<_ACEOF
109659 /* confdefs.h. */
109660 _ACEOF
109661 cat confdefs.h >>conftest.$ac_ext
109662 cat >>conftest.$ac_ext <<_ACEOF
109663 /* end confdefs.h. */
109664 #include <$ac_header>
109665 _ACEOF
109666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109668 ac_status=$?
109669 grep -v '^ *+' conftest.er1 >conftest.err
109670 rm -f conftest.er1
109671 cat conftest.err >&5
109672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109673 (exit $ac_status); } >/dev/null; then
109674 if test -s conftest.err; then
109675 ac_cpp_err=$ac_c_preproc_warn_flag
109676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
109678 ac_cpp_err=
109681 ac_cpp_err=yes
109683 if test -z "$ac_cpp_err"; then
109684 ac_header_preproc=yes
109686 echo "$as_me: failed program was:" >&5
109687 sed 's/^/| /' conftest.$ac_ext >&5
109689 ac_header_preproc=no
109691 rm -f conftest.err conftest.$ac_ext
109692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109693 echo "${ECHO_T}$ac_header_preproc" >&6
109695 # So? What about this header?
109696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
109697 yes:no: )
109698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109702 ac_header_preproc=yes
109704 no:yes:* )
109705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109718 cat <<\_ASBOX
109719 ## ----------------------------------------- ##
109720 ## Report this to the package-unused lists. ##
109721 ## ----------------------------------------- ##
109722 _ASBOX
109724 sed "s/^/$as_me: WARNING: /" >&2
109727 echo "$as_me:$LINENO: checking for $ac_header" >&5
109728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109730 echo $ECHO_N "(cached) $ECHO_C" >&6
109732 eval "$as_ac_Header=\$ac_header_preproc"
109734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109739 cat >>confdefs.h <<_ACEOF
109740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109741 _ACEOF
109748 echo "$as_me:$LINENO: checking for writev" >&5
109749 echo $ECHO_N "checking for writev... $ECHO_C" >&6
109750 if test "${glibcxx_cv_WRITEV+set}" = set; then
109751 echo $ECHO_N "(cached) $ECHO_C" >&6
109754 if test x$gcc_no_link = xyes; then
109755 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109756 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109757 { (exit 1); exit 1; }; }
109759 cat >conftest.$ac_ext <<_ACEOF
109760 /* confdefs.h. */
109761 _ACEOF
109762 cat confdefs.h >>conftest.$ac_ext
109763 cat >>conftest.$ac_ext <<_ACEOF
109764 /* end confdefs.h. */
109765 #include <sys/uio.h>
109767 main ()
109769 struct iovec iov[2];
109770 writev(0, iov, 0);
109772 return 0;
109774 _ACEOF
109775 rm -f conftest.$ac_objext conftest$ac_exeext
109776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109777 (eval $ac_link) 2>conftest.er1
109778 ac_status=$?
109779 grep -v '^ *+' conftest.er1 >conftest.err
109780 rm -f conftest.er1
109781 cat conftest.err >&5
109782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109783 (exit $ac_status); } &&
109784 { ac_try='test -z "$ac_c_werror_flag"
109785 || test ! -s conftest.err'
109786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109787 (eval $ac_try) 2>&5
109788 ac_status=$?
109789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109790 (exit $ac_status); }; } &&
109791 { ac_try='test -s conftest$ac_exeext'
109792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109793 (eval $ac_try) 2>&5
109794 ac_status=$?
109795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109796 (exit $ac_status); }; }; then
109797 glibcxx_cv_WRITEV=yes
109799 echo "$as_me: failed program was:" >&5
109800 sed 's/^/| /' conftest.$ac_ext >&5
109802 glibcxx_cv_WRITEV=no
109804 rm -f conftest.err conftest.$ac_objext \
109805 conftest$ac_exeext conftest.$ac_ext
109809 if test $glibcxx_cv_WRITEV = yes; then
109811 cat >>confdefs.h <<\_ACEOF
109812 #define HAVE_WRITEV 1
109813 _ACEOF
109816 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
109817 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
109820 # For C99 support to TR1.
109825 ac_ext=cc
109826 ac_cpp='$CXXCPP $CPPFLAGS'
109827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109832 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
109833 # undefined and fake C99 facilities may be spuriously enabled.
109834 ac_save_CXXFLAGS="$CXXFLAGS"
109835 CXXFLAGS="$CXXFLAGS -std=c++98"
109837 # Check for the existence of <complex.h> complex math functions used
109838 # by tr1/complex.
109840 for ac_header in complex.h
109842 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
109843 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109844 echo "$as_me:$LINENO: checking for $ac_header" >&5
109845 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109846 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109847 echo $ECHO_N "(cached) $ECHO_C" >&6
109849 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109850 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109852 # Is the header compilable?
109853 echo "$as_me:$LINENO: checking $ac_header usability" >&5
109854 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
109855 cat >conftest.$ac_ext <<_ACEOF
109856 /* confdefs.h. */
109857 _ACEOF
109858 cat confdefs.h >>conftest.$ac_ext
109859 cat >>conftest.$ac_ext <<_ACEOF
109860 /* end confdefs.h. */
109861 $ac_includes_default
109862 #include <$ac_header>
109863 _ACEOF
109864 rm -f conftest.$ac_objext
109865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109866 (eval $ac_compile) 2>conftest.er1
109867 ac_status=$?
109868 grep -v '^ *+' conftest.er1 >conftest.err
109869 rm -f conftest.er1
109870 cat conftest.err >&5
109871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109872 (exit $ac_status); } &&
109873 { ac_try='test -z "$ac_cxx_werror_flag"
109874 || test ! -s conftest.err'
109875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109876 (eval $ac_try) 2>&5
109877 ac_status=$?
109878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109879 (exit $ac_status); }; } &&
109880 { ac_try='test -s conftest.$ac_objext'
109881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109882 (eval $ac_try) 2>&5
109883 ac_status=$?
109884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109885 (exit $ac_status); }; }; then
109886 ac_header_compiler=yes
109888 echo "$as_me: failed program was:" >&5
109889 sed 's/^/| /' conftest.$ac_ext >&5
109891 ac_header_compiler=no
109893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109894 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
109895 echo "${ECHO_T}$ac_header_compiler" >&6
109897 # Is the header present?
109898 echo "$as_me:$LINENO: checking $ac_header presence" >&5
109899 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
109900 cat >conftest.$ac_ext <<_ACEOF
109901 /* confdefs.h. */
109902 _ACEOF
109903 cat confdefs.h >>conftest.$ac_ext
109904 cat >>conftest.$ac_ext <<_ACEOF
109905 /* end confdefs.h. */
109906 #include <$ac_header>
109907 _ACEOF
109908 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
109909 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
109910 ac_status=$?
109911 grep -v '^ *+' conftest.er1 >conftest.err
109912 rm -f conftest.er1
109913 cat conftest.err >&5
109914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109915 (exit $ac_status); } >/dev/null; then
109916 if test -s conftest.err; then
109917 ac_cpp_err=$ac_cxx_preproc_warn_flag
109918 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
109920 ac_cpp_err=
109923 ac_cpp_err=yes
109925 if test -z "$ac_cpp_err"; then
109926 ac_header_preproc=yes
109928 echo "$as_me: failed program was:" >&5
109929 sed 's/^/| /' conftest.$ac_ext >&5
109931 ac_header_preproc=no
109933 rm -f conftest.err conftest.$ac_ext
109934 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
109935 echo "${ECHO_T}$ac_header_preproc" >&6
109937 # So? What about this header?
109938 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
109939 yes:no: )
109940 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
109941 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
109942 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
109943 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
109944 ac_header_preproc=yes
109946 no:yes:* )
109947 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
109948 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
109949 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
109950 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
109951 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
109952 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
109953 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
109954 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
109955 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
109956 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
109957 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
109958 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
109960 cat <<\_ASBOX
109961 ## ----------------------------------------- ##
109962 ## Report this to the package-unused lists. ##
109963 ## ----------------------------------------- ##
109964 _ASBOX
109966 sed "s/^/$as_me: WARNING: /" >&2
109969 echo "$as_me:$LINENO: checking for $ac_header" >&5
109970 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
109971 if eval "test \"\${$as_ac_Header+set}\" = set"; then
109972 echo $ECHO_N "(cached) $ECHO_C" >&6
109974 eval "$as_ac_Header=\$ac_header_preproc"
109976 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
109977 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
109980 if test `eval echo '${'$as_ac_Header'}'` = yes; then
109981 cat >>confdefs.h <<_ACEOF
109982 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
109983 _ACEOF
109984 ac_has_complex_h=yes
109986 ac_has_complex_h=no
109991 ac_c99_complex_tr1=no;
109992 if test x"$ac_has_complex_h" = x"yes"; then
109993 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
109994 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
109995 cat >conftest.$ac_ext <<_ACEOF
109996 /* confdefs.h. */
109997 _ACEOF
109998 cat confdefs.h >>conftest.$ac_ext
109999 cat >>conftest.$ac_ext <<_ACEOF
110000 /* end confdefs.h. */
110001 #include <complex.h>
110003 main ()
110005 typedef __complex__ float float_type; float_type tmpf;
110006 cacosf(tmpf);
110007 casinf(tmpf);
110008 catanf(tmpf);
110009 cacoshf(tmpf);
110010 casinhf(tmpf);
110011 catanhf(tmpf);
110012 typedef __complex__ double double_type; double_type tmpd;
110013 cacos(tmpd);
110014 casin(tmpd);
110015 catan(tmpd);
110016 cacosh(tmpd);
110017 casinh(tmpd);
110018 catanh(tmpd);
110019 typedef __complex__ long double ld_type; ld_type tmpld;
110020 cacosl(tmpld);
110021 casinl(tmpld);
110022 catanl(tmpld);
110023 cacoshl(tmpld);
110024 casinhl(tmpld);
110025 catanhl(tmpld);
110028 return 0;
110030 _ACEOF
110031 rm -f conftest.$ac_objext
110032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110033 (eval $ac_compile) 2>conftest.er1
110034 ac_status=$?
110035 grep -v '^ *+' conftest.er1 >conftest.err
110036 rm -f conftest.er1
110037 cat conftest.err >&5
110038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110039 (exit $ac_status); } &&
110040 { ac_try='test -z "$ac_cxx_werror_flag"
110041 || test ! -s conftest.err'
110042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110043 (eval $ac_try) 2>&5
110044 ac_status=$?
110045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110046 (exit $ac_status); }; } &&
110047 { ac_try='test -s conftest.$ac_objext'
110048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110049 (eval $ac_try) 2>&5
110050 ac_status=$?
110051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110052 (exit $ac_status); }; }; then
110053 ac_c99_complex_tr1=yes
110055 echo "$as_me: failed program was:" >&5
110056 sed 's/^/| /' conftest.$ac_ext >&5
110058 ac_c99_complex_tr1=no
110060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110062 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
110063 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
110064 if test x"$ac_c99_complex_tr1" = x"yes"; then
110066 cat >>confdefs.h <<\_ACEOF
110067 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
110068 _ACEOF
110072 # Check for the existence of <ctype.h> functions.
110073 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
110074 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
110075 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
110076 echo $ECHO_N "(cached) $ECHO_C" >&6
110079 cat >conftest.$ac_ext <<_ACEOF
110080 /* confdefs.h. */
110081 _ACEOF
110082 cat confdefs.h >>conftest.$ac_ext
110083 cat >>conftest.$ac_ext <<_ACEOF
110084 /* end confdefs.h. */
110085 #include <ctype.h>
110087 main ()
110089 int ch;
110090 int ret;
110091 ret = isblank(ch);
110094 return 0;
110096 _ACEOF
110097 rm -f conftest.$ac_objext
110098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110099 (eval $ac_compile) 2>conftest.er1
110100 ac_status=$?
110101 grep -v '^ *+' conftest.er1 >conftest.err
110102 rm -f conftest.er1
110103 cat conftest.err >&5
110104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110105 (exit $ac_status); } &&
110106 { ac_try='test -z "$ac_cxx_werror_flag"
110107 || test ! -s conftest.err'
110108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110109 (eval $ac_try) 2>&5
110110 ac_status=$?
110111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110112 (exit $ac_status); }; } &&
110113 { ac_try='test -s conftest.$ac_objext'
110114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110115 (eval $ac_try) 2>&5
110116 ac_status=$?
110117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110118 (exit $ac_status); }; }; then
110119 glibcxx_cv_c99_ctype_tr1=yes
110121 echo "$as_me: failed program was:" >&5
110122 sed 's/^/| /' conftest.$ac_ext >&5
110124 glibcxx_cv_c99_ctype_tr1=no
110126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110130 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
110131 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
110132 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
110134 cat >>confdefs.h <<\_ACEOF
110135 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
110136 _ACEOF
110140 # Check for the existence of <fenv.h> functions.
110142 for ac_header in fenv.h
110144 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110145 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110146 echo "$as_me:$LINENO: checking for $ac_header" >&5
110147 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110148 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110149 echo $ECHO_N "(cached) $ECHO_C" >&6
110151 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110152 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110154 # Is the header compilable?
110155 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110156 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110157 cat >conftest.$ac_ext <<_ACEOF
110158 /* confdefs.h. */
110159 _ACEOF
110160 cat confdefs.h >>conftest.$ac_ext
110161 cat >>conftest.$ac_ext <<_ACEOF
110162 /* end confdefs.h. */
110163 $ac_includes_default
110164 #include <$ac_header>
110165 _ACEOF
110166 rm -f conftest.$ac_objext
110167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110168 (eval $ac_compile) 2>conftest.er1
110169 ac_status=$?
110170 grep -v '^ *+' conftest.er1 >conftest.err
110171 rm -f conftest.er1
110172 cat conftest.err >&5
110173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110174 (exit $ac_status); } &&
110175 { ac_try='test -z "$ac_cxx_werror_flag"
110176 || test ! -s conftest.err'
110177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110178 (eval $ac_try) 2>&5
110179 ac_status=$?
110180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110181 (exit $ac_status); }; } &&
110182 { ac_try='test -s conftest.$ac_objext'
110183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110184 (eval $ac_try) 2>&5
110185 ac_status=$?
110186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110187 (exit $ac_status); }; }; then
110188 ac_header_compiler=yes
110190 echo "$as_me: failed program was:" >&5
110191 sed 's/^/| /' conftest.$ac_ext >&5
110193 ac_header_compiler=no
110195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110196 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110197 echo "${ECHO_T}$ac_header_compiler" >&6
110199 # Is the header present?
110200 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110201 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110202 cat >conftest.$ac_ext <<_ACEOF
110203 /* confdefs.h. */
110204 _ACEOF
110205 cat confdefs.h >>conftest.$ac_ext
110206 cat >>conftest.$ac_ext <<_ACEOF
110207 /* end confdefs.h. */
110208 #include <$ac_header>
110209 _ACEOF
110210 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110211 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110212 ac_status=$?
110213 grep -v '^ *+' conftest.er1 >conftest.err
110214 rm -f conftest.er1
110215 cat conftest.err >&5
110216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110217 (exit $ac_status); } >/dev/null; then
110218 if test -s conftest.err; then
110219 ac_cpp_err=$ac_cxx_preproc_warn_flag
110220 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
110222 ac_cpp_err=
110225 ac_cpp_err=yes
110227 if test -z "$ac_cpp_err"; then
110228 ac_header_preproc=yes
110230 echo "$as_me: failed program was:" >&5
110231 sed 's/^/| /' conftest.$ac_ext >&5
110233 ac_header_preproc=no
110235 rm -f conftest.err conftest.$ac_ext
110236 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110237 echo "${ECHO_T}$ac_header_preproc" >&6
110239 # So? What about this header?
110240 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110241 yes:no: )
110242 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110243 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110244 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110245 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110246 ac_header_preproc=yes
110248 no:yes:* )
110249 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110250 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110251 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110252 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110253 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110254 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110255 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110256 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110257 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110258 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110259 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110260 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110262 cat <<\_ASBOX
110263 ## ----------------------------------------- ##
110264 ## Report this to the package-unused lists. ##
110265 ## ----------------------------------------- ##
110266 _ASBOX
110268 sed "s/^/$as_me: WARNING: /" >&2
110271 echo "$as_me:$LINENO: checking for $ac_header" >&5
110272 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110273 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110274 echo $ECHO_N "(cached) $ECHO_C" >&6
110276 eval "$as_ac_Header=\$ac_header_preproc"
110278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110279 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110283 cat >>confdefs.h <<_ACEOF
110284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110285 _ACEOF
110286 ac_has_fenv_h=yes
110288 ac_has_fenv_h=no
110293 ac_c99_fenv_tr1=no;
110294 if test x"$ac_has_fenv_h" = x"yes"; then
110295 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
110296 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
110297 cat >conftest.$ac_ext <<_ACEOF
110298 /* confdefs.h. */
110299 _ACEOF
110300 cat confdefs.h >>conftest.$ac_ext
110301 cat >>conftest.$ac_ext <<_ACEOF
110302 /* end confdefs.h. */
110303 #include <fenv.h>
110305 main ()
110307 int except, mode;
110308 fexcept_t* pflag;
110309 fenv_t* penv;
110310 int ret;
110311 ret = feclearexcept(except);
110312 ret = fegetexceptflag(pflag, except);
110313 ret = feraiseexcept(except);
110314 ret = fesetexceptflag(pflag, except);
110315 ret = fetestexcept(except);
110316 ret = fegetround();
110317 ret = fesetround(mode);
110318 ret = fegetenv(penv);
110319 ret = feholdexcept(penv);
110320 ret = fesetenv(penv);
110321 ret = feupdateenv(penv);
110324 return 0;
110326 _ACEOF
110327 rm -f conftest.$ac_objext
110328 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110329 (eval $ac_compile) 2>conftest.er1
110330 ac_status=$?
110331 grep -v '^ *+' conftest.er1 >conftest.err
110332 rm -f conftest.er1
110333 cat conftest.err >&5
110334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110335 (exit $ac_status); } &&
110336 { ac_try='test -z "$ac_cxx_werror_flag"
110337 || test ! -s conftest.err'
110338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110339 (eval $ac_try) 2>&5
110340 ac_status=$?
110341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110342 (exit $ac_status); }; } &&
110343 { ac_try='test -s conftest.$ac_objext'
110344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110345 (eval $ac_try) 2>&5
110346 ac_status=$?
110347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110348 (exit $ac_status); }; }; then
110349 ac_c99_fenv_tr1=yes
110351 echo "$as_me: failed program was:" >&5
110352 sed 's/^/| /' conftest.$ac_ext >&5
110354 ac_c99_fenv_tr1=no
110356 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110358 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
110359 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
110360 if test x"$ac_c99_fenv_tr1" = x"yes"; then
110362 cat >>confdefs.h <<\_ACEOF
110363 #define _GLIBCXX_USE_C99_FENV_TR1 1
110364 _ACEOF
110368 # Check for the existence of <stdint.h> types.
110369 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
110370 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
110371 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
110372 echo $ECHO_N "(cached) $ECHO_C" >&6
110375 cat >conftest.$ac_ext <<_ACEOF
110376 /* confdefs.h. */
110377 _ACEOF
110378 cat confdefs.h >>conftest.$ac_ext
110379 cat >>conftest.$ac_ext <<_ACEOF
110380 /* end confdefs.h. */
110381 #include <stdint.h>
110383 main ()
110385 typedef int8_t my_int8_t;
110386 typedef int16_t my_int16_t;
110387 typedef int32_t my_int32_t;
110388 typedef int64_t my_int64_t;
110389 typedef int_fast8_t my_int_fast8_t;
110390 typedef int_fast16_t my_int_fast16_t;
110391 typedef int_fast32_t my_int_fast32_t;
110392 typedef int_fast64_t my_int_fast64_t;
110393 typedef int_least8_t my_int_least8_t;
110394 typedef int_least16_t my_int_least16_t;
110395 typedef int_least32_t my_int_least32_t;
110396 typedef int_least64_t my_int_least64_t;
110397 typedef intmax_t my_intmax_t;
110398 typedef intptr_t my_intptr_t;
110399 typedef uint8_t my_uint8_t;
110400 typedef uint16_t my_uint16_t;
110401 typedef uint32_t my_uint32_t;
110402 typedef uint64_t my_uint64_t;
110403 typedef uint_fast8_t my_uint_fast8_t;
110404 typedef uint_fast16_t my_uint_fast16_t;
110405 typedef uint_fast32_t my_uint_fast32_t;
110406 typedef uint_fast64_t my_uint_fast64_t;
110407 typedef uint_least8_t my_uint_least8_t;
110408 typedef uint_least16_t my_uint_least16_t;
110409 typedef uint_least32_t my_uint_least32_t;
110410 typedef uint_least64_t my_uint_least64_t;
110411 typedef uintmax_t my_uintmax_t;
110412 typedef uintptr_t my_uintptr_t;
110415 return 0;
110417 _ACEOF
110418 rm -f conftest.$ac_objext
110419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110420 (eval $ac_compile) 2>conftest.er1
110421 ac_status=$?
110422 grep -v '^ *+' conftest.er1 >conftest.err
110423 rm -f conftest.er1
110424 cat conftest.err >&5
110425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110426 (exit $ac_status); } &&
110427 { ac_try='test -z "$ac_cxx_werror_flag"
110428 || test ! -s conftest.err'
110429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110430 (eval $ac_try) 2>&5
110431 ac_status=$?
110432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110433 (exit $ac_status); }; } &&
110434 { ac_try='test -s conftest.$ac_objext'
110435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110436 (eval $ac_try) 2>&5
110437 ac_status=$?
110438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110439 (exit $ac_status); }; }; then
110440 glibcxx_cv_c99_stdint_tr1=yes
110442 echo "$as_me: failed program was:" >&5
110443 sed 's/^/| /' conftest.$ac_ext >&5
110445 glibcxx_cv_c99_stdint_tr1=no
110447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110451 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
110452 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
110453 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110455 cat >>confdefs.h <<\_ACEOF
110456 #define _GLIBCXX_USE_C99_STDINT_TR1 1
110457 _ACEOF
110461 # Check for the existence of <math.h> functions.
110462 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
110463 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
110464 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
110465 echo $ECHO_N "(cached) $ECHO_C" >&6
110468 cat >conftest.$ac_ext <<_ACEOF
110469 /* confdefs.h. */
110470 _ACEOF
110471 cat confdefs.h >>conftest.$ac_ext
110472 cat >>conftest.$ac_ext <<_ACEOF
110473 /* end confdefs.h. */
110474 #include <math.h>
110476 main ()
110478 typedef double_t my_double_t;
110479 typedef float_t my_float_t;
110480 acosh(0.0);
110481 acoshf(0.0f);
110482 acoshl(0.0l);
110483 asinh(0.0);
110484 asinhf(0.0f);
110485 asinhl(0.0l);
110486 atanh(0.0);
110487 atanhf(0.0f);
110488 atanhl(0.0l);
110489 cbrt(0.0);
110490 cbrtf(0.0f);
110491 cbrtl(0.0l);
110492 copysign(0.0, 0.0);
110493 copysignf(0.0f, 0.0f);
110494 copysignl(0.0l, 0.0l);
110495 erf(0.0);
110496 erff(0.0f);
110497 erfl(0.0l);
110498 erfc(0.0);
110499 erfcf(0.0f);
110500 erfcl(0.0l);
110501 exp2(0.0);
110502 exp2f(0.0f);
110503 exp2l(0.0l);
110504 expm1(0.0);
110505 expm1f(0.0f);
110506 expm1l(0.0l);
110507 fdim(0.0, 0.0);
110508 fdimf(0.0f, 0.0f);
110509 fdiml(0.0l, 0.0l);
110510 fma(0.0, 0.0, 0.0);
110511 fmaf(0.0f, 0.0f, 0.0f);
110512 fmal(0.0l, 0.0l, 0.0l);
110513 fmax(0.0, 0.0);
110514 fmaxf(0.0f, 0.0f);
110515 fmaxl(0.0l, 0.0l);
110516 fmin(0.0, 0.0);
110517 fminf(0.0f, 0.0f);
110518 fminl(0.0l, 0.0l);
110519 hypot(0.0, 0.0);
110520 hypotf(0.0f, 0.0f);
110521 hypotl(0.0l, 0.0l);
110522 ilogb(0.0);
110523 ilogbf(0.0f);
110524 ilogbl(0.0l);
110525 lgamma(0.0);
110526 lgammaf(0.0f);
110527 lgammal(0.0l);
110528 llrint(0.0);
110529 llrintf(0.0f);
110530 llrintl(0.0l);
110531 llround(0.0);
110532 llroundf(0.0f);
110533 llroundl(0.0l);
110534 log1p(0.0);
110535 log1pf(0.0f);
110536 log1pl(0.0l);
110537 log2(0.0);
110538 log2f(0.0f);
110539 log2l(0.0l);
110540 logb(0.0);
110541 logbf(0.0f);
110542 logbl(0.0l);
110543 lrint(0.0);
110544 lrintf(0.0f);
110545 lrintl(0.0l);
110546 lround(0.0);
110547 lroundf(0.0f);
110548 lroundl(0.0l);
110549 nan(0);
110550 nanf(0);
110551 nanl(0);
110552 nearbyint(0.0);
110553 nearbyintf(0.0f);
110554 nearbyintl(0.0l);
110555 nextafter(0.0, 0.0);
110556 nextafterf(0.0f, 0.0f);
110557 nextafterl(0.0l, 0.0l);
110558 nexttoward(0.0, 0.0);
110559 nexttowardf(0.0f, 0.0f);
110560 nexttowardl(0.0l, 0.0l);
110561 remainder(0.0, 0.0);
110562 remainderf(0.0f, 0.0f);
110563 remainderl(0.0l, 0.0l);
110564 remquo(0.0, 0.0, 0);
110565 remquo(0.0f, 0.0f, 0);
110566 remquo(0.0l, 0.0l, 0);
110567 rint(0.0);
110568 rintf(0.0f);
110569 rintl(0.0l);
110570 round(0.0);
110571 roundf(0.0f);
110572 roundl(0.0l);
110573 scalbln(0.0, 0l);
110574 scalblnf(0.0f, 0l);
110575 scalblnl(0.0l, 0l);
110576 scalbn(0.0, 0);
110577 scalbnf(0.0f, 0);
110578 scalbnl(0.0l, 0);
110579 tgamma(0.0);
110580 tgammaf(0.0f);
110581 tgammal(0.0l);
110582 trunc(0.0);
110583 truncf(0.0f);
110584 truncl(0.0l);
110587 return 0;
110589 _ACEOF
110590 rm -f conftest.$ac_objext
110591 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110592 (eval $ac_compile) 2>conftest.er1
110593 ac_status=$?
110594 grep -v '^ *+' conftest.er1 >conftest.err
110595 rm -f conftest.er1
110596 cat conftest.err >&5
110597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110598 (exit $ac_status); } &&
110599 { ac_try='test -z "$ac_cxx_werror_flag"
110600 || test ! -s conftest.err'
110601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110602 (eval $ac_try) 2>&5
110603 ac_status=$?
110604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110605 (exit $ac_status); }; } &&
110606 { ac_try='test -s conftest.$ac_objext'
110607 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110608 (eval $ac_try) 2>&5
110609 ac_status=$?
110610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110611 (exit $ac_status); }; }; then
110612 glibcxx_cv_c99_math_tr1=yes
110614 echo "$as_me: failed program was:" >&5
110615 sed 's/^/| /' conftest.$ac_ext >&5
110617 glibcxx_cv_c99_math_tr1=no
110619 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110623 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
110624 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
110625 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
110627 cat >>confdefs.h <<\_ACEOF
110628 #define _GLIBCXX_USE_C99_MATH_TR1 1
110629 _ACEOF
110633 # Check for the existence of <inttypes.h> functions (NB: doesn't make
110634 # sense if the previous check fails, per C99, 7.8/1).
110635 ac_c99_inttypes_tr1=no;
110636 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
110637 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
110638 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
110639 cat >conftest.$ac_ext <<_ACEOF
110640 /* confdefs.h. */
110641 _ACEOF
110642 cat confdefs.h >>conftest.$ac_ext
110643 cat >>conftest.$ac_ext <<_ACEOF
110644 /* end confdefs.h. */
110645 #include <inttypes.h>
110647 main ()
110649 intmax_t i, numer, denom, base;
110650 const char* s;
110651 char** endptr;
110652 intmax_t ret = imaxabs(i);
110653 imaxdiv_t dret = imaxdiv(numer, denom);
110654 ret = strtoimax(s, endptr, base);
110655 uintmax_t uret = strtoumax(s, endptr, base);
110658 return 0;
110660 _ACEOF
110661 rm -f conftest.$ac_objext
110662 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110663 (eval $ac_compile) 2>conftest.er1
110664 ac_status=$?
110665 grep -v '^ *+' conftest.er1 >conftest.err
110666 rm -f conftest.er1
110667 cat conftest.err >&5
110668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110669 (exit $ac_status); } &&
110670 { ac_try='test -z "$ac_cxx_werror_flag"
110671 || test ! -s conftest.err'
110672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110673 (eval $ac_try) 2>&5
110674 ac_status=$?
110675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110676 (exit $ac_status); }; } &&
110677 { ac_try='test -s conftest.$ac_objext'
110678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110679 (eval $ac_try) 2>&5
110680 ac_status=$?
110681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110682 (exit $ac_status); }; }; then
110683 ac_c99_inttypes_tr1=yes
110685 echo "$as_me: failed program was:" >&5
110686 sed 's/^/| /' conftest.$ac_ext >&5
110688 ac_c99_inttypes_tr1=no
110690 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110692 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
110693 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
110694 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
110696 cat >>confdefs.h <<\_ACEOF
110697 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
110698 _ACEOF
110702 # Check for the existence of the <stdbool.h> header.
110704 for ac_header in stdbool.h
110706 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
110707 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110708 echo "$as_me:$LINENO: checking for $ac_header" >&5
110709 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110710 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110711 echo $ECHO_N "(cached) $ECHO_C" >&6
110713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110716 # Is the header compilable?
110717 echo "$as_me:$LINENO: checking $ac_header usability" >&5
110718 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
110719 cat >conftest.$ac_ext <<_ACEOF
110720 /* confdefs.h. */
110721 _ACEOF
110722 cat confdefs.h >>conftest.$ac_ext
110723 cat >>conftest.$ac_ext <<_ACEOF
110724 /* end confdefs.h. */
110725 $ac_includes_default
110726 #include <$ac_header>
110727 _ACEOF
110728 rm -f conftest.$ac_objext
110729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110730 (eval $ac_compile) 2>conftest.er1
110731 ac_status=$?
110732 grep -v '^ *+' conftest.er1 >conftest.err
110733 rm -f conftest.er1
110734 cat conftest.err >&5
110735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110736 (exit $ac_status); } &&
110737 { ac_try='test -z "$ac_cxx_werror_flag"
110738 || test ! -s conftest.err'
110739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110740 (eval $ac_try) 2>&5
110741 ac_status=$?
110742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110743 (exit $ac_status); }; } &&
110744 { ac_try='test -s conftest.$ac_objext'
110745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110746 (eval $ac_try) 2>&5
110747 ac_status=$?
110748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110749 (exit $ac_status); }; }; then
110750 ac_header_compiler=yes
110752 echo "$as_me: failed program was:" >&5
110753 sed 's/^/| /' conftest.$ac_ext >&5
110755 ac_header_compiler=no
110757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110758 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110759 echo "${ECHO_T}$ac_header_compiler" >&6
110761 # Is the header present?
110762 echo "$as_me:$LINENO: checking $ac_header presence" >&5
110763 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
110764 cat >conftest.$ac_ext <<_ACEOF
110765 /* confdefs.h. */
110766 _ACEOF
110767 cat confdefs.h >>conftest.$ac_ext
110768 cat >>conftest.$ac_ext <<_ACEOF
110769 /* end confdefs.h. */
110770 #include <$ac_header>
110771 _ACEOF
110772 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110773 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110774 ac_status=$?
110775 grep -v '^ *+' conftest.er1 >conftest.err
110776 rm -f conftest.er1
110777 cat conftest.err >&5
110778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110779 (exit $ac_status); } >/dev/null; then
110780 if test -s conftest.err; then
110781 ac_cpp_err=$ac_cxx_preproc_warn_flag
110782 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
110784 ac_cpp_err=
110787 ac_cpp_err=yes
110789 if test -z "$ac_cpp_err"; then
110790 ac_header_preproc=yes
110792 echo "$as_me: failed program was:" >&5
110793 sed 's/^/| /' conftest.$ac_ext >&5
110795 ac_header_preproc=no
110797 rm -f conftest.err conftest.$ac_ext
110798 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110799 echo "${ECHO_T}$ac_header_preproc" >&6
110801 # So? What about this header?
110802 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
110803 yes:no: )
110804 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
110805 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
110806 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
110807 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
110808 ac_header_preproc=yes
110810 no:yes:* )
110811 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
110812 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
110813 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
110814 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
110815 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
110816 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
110817 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
110818 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
110819 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
110820 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
110821 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
110822 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
110824 cat <<\_ASBOX
110825 ## ----------------------------------------- ##
110826 ## Report this to the package-unused lists. ##
110827 ## ----------------------------------------- ##
110828 _ASBOX
110830 sed "s/^/$as_me: WARNING: /" >&2
110833 echo "$as_me:$LINENO: checking for $ac_header" >&5
110834 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
110835 if eval "test \"\${$as_ac_Header+set}\" = set"; then
110836 echo $ECHO_N "(cached) $ECHO_C" >&6
110838 eval "$as_ac_Header=\$ac_header_preproc"
110840 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
110841 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
110844 if test `eval echo '${'$as_ac_Header'}'` = yes; then
110845 cat >>confdefs.h <<_ACEOF
110846 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
110847 _ACEOF
110854 CXXFLAGS="$ac_save_CXXFLAGS"
110855 ac_ext=c
110856 ac_cpp='$CPP $CPPFLAGS'
110857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110863 cat >>confdefs.h <<\_ACEOF
110864 #define _GLIBCXX_USE_RANDOM_TR1 1
110865 _ACEOF
110869 if test "${ac_cv_header_locale_h+set}" = set; then
110870 echo "$as_me:$LINENO: checking for locale.h" >&5
110871 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110872 if test "${ac_cv_header_locale_h+set}" = set; then
110873 echo $ECHO_N "(cached) $ECHO_C" >&6
110875 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
110876 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
110878 # Is the header compilable?
110879 echo "$as_me:$LINENO: checking locale.h usability" >&5
110880 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
110881 cat >conftest.$ac_ext <<_ACEOF
110882 /* confdefs.h. */
110883 _ACEOF
110884 cat confdefs.h >>conftest.$ac_ext
110885 cat >>conftest.$ac_ext <<_ACEOF
110886 /* end confdefs.h. */
110887 $ac_includes_default
110888 #include <locale.h>
110889 _ACEOF
110890 rm -f conftest.$ac_objext
110891 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110892 (eval $ac_compile) 2>conftest.er1
110893 ac_status=$?
110894 grep -v '^ *+' conftest.er1 >conftest.err
110895 rm -f conftest.er1
110896 cat conftest.err >&5
110897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110898 (exit $ac_status); } &&
110899 { ac_try='test -z "$ac_c_werror_flag"
110900 || test ! -s conftest.err'
110901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110902 (eval $ac_try) 2>&5
110903 ac_status=$?
110904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110905 (exit $ac_status); }; } &&
110906 { ac_try='test -s conftest.$ac_objext'
110907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110908 (eval $ac_try) 2>&5
110909 ac_status=$?
110910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110911 (exit $ac_status); }; }; then
110912 ac_header_compiler=yes
110914 echo "$as_me: failed program was:" >&5
110915 sed 's/^/| /' conftest.$ac_ext >&5
110917 ac_header_compiler=no
110919 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110920 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
110921 echo "${ECHO_T}$ac_header_compiler" >&6
110923 # Is the header present?
110924 echo "$as_me:$LINENO: checking locale.h presence" >&5
110925 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
110926 cat >conftest.$ac_ext <<_ACEOF
110927 /* confdefs.h. */
110928 _ACEOF
110929 cat confdefs.h >>conftest.$ac_ext
110930 cat >>conftest.$ac_ext <<_ACEOF
110931 /* end confdefs.h. */
110932 #include <locale.h>
110933 _ACEOF
110934 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
110935 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
110936 ac_status=$?
110937 grep -v '^ *+' conftest.er1 >conftest.err
110938 rm -f conftest.er1
110939 cat conftest.err >&5
110940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110941 (exit $ac_status); } >/dev/null; then
110942 if test -s conftest.err; then
110943 ac_cpp_err=$ac_c_preproc_warn_flag
110944 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
110946 ac_cpp_err=
110949 ac_cpp_err=yes
110951 if test -z "$ac_cpp_err"; then
110952 ac_header_preproc=yes
110954 echo "$as_me: failed program was:" >&5
110955 sed 's/^/| /' conftest.$ac_ext >&5
110957 ac_header_preproc=no
110959 rm -f conftest.err conftest.$ac_ext
110960 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
110961 echo "${ECHO_T}$ac_header_preproc" >&6
110963 # So? What about this header?
110964 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
110965 yes:no: )
110966 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
110967 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
110968 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
110969 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
110970 ac_header_preproc=yes
110972 no:yes:* )
110973 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
110974 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
110975 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
110976 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
110977 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
110978 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
110979 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
110980 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
110981 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
110982 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
110983 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
110984 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
110986 cat <<\_ASBOX
110987 ## ----------------------------------------- ##
110988 ## Report this to the package-unused lists. ##
110989 ## ----------------------------------------- ##
110990 _ASBOX
110992 sed "s/^/$as_me: WARNING: /" >&2
110995 echo "$as_me:$LINENO: checking for locale.h" >&5
110996 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
110997 if test "${ac_cv_header_locale_h+set}" = set; then
110998 echo $ECHO_N "(cached) $ECHO_C" >&6
111000 ac_cv_header_locale_h=$ac_header_preproc
111002 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
111003 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
111006 if test $ac_cv_header_locale_h = yes; then
111008 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
111009 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
111010 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
111011 echo $ECHO_N "(cached) $ECHO_C" >&6
111013 if test x$gcc_no_link = xyes; then
111014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111016 { (exit 1); exit 1; }; }
111018 cat >conftest.$ac_ext <<_ACEOF
111019 /* confdefs.h. */
111020 _ACEOF
111021 cat confdefs.h >>conftest.$ac_ext
111022 cat >>conftest.$ac_ext <<_ACEOF
111023 /* end confdefs.h. */
111024 #include <locale.h>
111026 main ()
111028 return LC_MESSAGES
111030 return 0;
111032 _ACEOF
111033 rm -f conftest.$ac_objext conftest$ac_exeext
111034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111035 (eval $ac_link) 2>conftest.er1
111036 ac_status=$?
111037 grep -v '^ *+' conftest.er1 >conftest.err
111038 rm -f conftest.er1
111039 cat conftest.err >&5
111040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111041 (exit $ac_status); } &&
111042 { ac_try='test -z "$ac_c_werror_flag"
111043 || test ! -s conftest.err'
111044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111045 (eval $ac_try) 2>&5
111046 ac_status=$?
111047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111048 (exit $ac_status); }; } &&
111049 { ac_try='test -s conftest$ac_exeext'
111050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111051 (eval $ac_try) 2>&5
111052 ac_status=$?
111053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111054 (exit $ac_status); }; }; then
111055 ac_cv_val_LC_MESSAGES=yes
111057 echo "$as_me: failed program was:" >&5
111058 sed 's/^/| /' conftest.$ac_ext >&5
111060 ac_cv_val_LC_MESSAGES=no
111062 rm -f conftest.err conftest.$ac_objext \
111063 conftest$ac_exeext conftest.$ac_ext
111065 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
111066 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
111067 if test $ac_cv_val_LC_MESSAGES = yes; then
111069 cat >>confdefs.h <<\_ACEOF
111070 #define HAVE_LC_MESSAGES 1
111071 _ACEOF
111080 # Check for sigsetjmp
111081 cat >conftest.$ac_ext <<_ACEOF
111082 /* confdefs.h. */
111083 _ACEOF
111084 cat confdefs.h >>conftest.$ac_ext
111085 cat >>conftest.$ac_ext <<_ACEOF
111086 /* end confdefs.h. */
111087 #include <setjmp.h>
111089 main ()
111091 sigjmp_buf env;
111092 while (! sigsetjmp (env, 1))
111093 siglongjmp (env, 1);
111096 return 0;
111098 _ACEOF
111099 rm -f conftest.$ac_objext
111100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111101 (eval $ac_compile) 2>conftest.er1
111102 ac_status=$?
111103 grep -v '^ *+' conftest.er1 >conftest.err
111104 rm -f conftest.er1
111105 cat conftest.err >&5
111106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111107 (exit $ac_status); } &&
111108 { ac_try='test -z "$ac_c_werror_flag"
111109 || test ! -s conftest.err'
111110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111111 (eval $ac_try) 2>&5
111112 ac_status=$?
111113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111114 (exit $ac_status); }; } &&
111115 { ac_try='test -s conftest.$ac_objext'
111116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111117 (eval $ac_try) 2>&5
111118 ac_status=$?
111119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111120 (exit $ac_status); }; }; then
111122 cat >>confdefs.h <<\_ACEOF
111123 #define HAVE_SIGSETJMP 1
111124 _ACEOF
111127 echo "$as_me: failed program was:" >&5
111128 sed 's/^/| /' conftest.$ac_ext >&5
111131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111133 cat >>confdefs.h <<\_ACEOF
111134 #define HAVE_MMAP 1
111135 _ACEOF
111138 # For iconv support.
111144 am_save_CPPFLAGS="$CPPFLAGS"
111146 for element in $INCICONV; do
111147 haveit=
111148 for x in $CPPFLAGS; do
111150 acl_save_prefix="$prefix"
111151 prefix="$acl_final_prefix"
111152 acl_save_exec_prefix="$exec_prefix"
111153 exec_prefix="$acl_final_exec_prefix"
111154 eval x=\"$x\"
111155 exec_prefix="$acl_save_exec_prefix"
111156 prefix="$acl_save_prefix"
111158 if test "X$x" = "X$element"; then
111159 haveit=yes
111160 break
111163 if test -z "$haveit"; then
111164 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
111169 echo "$as_me:$LINENO: checking for iconv" >&5
111170 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
111171 if test "${am_cv_func_iconv+set}" = set; then
111172 echo $ECHO_N "(cached) $ECHO_C" >&6
111175 am_cv_func_iconv="no, consider installing GNU libiconv"
111176 am_cv_lib_iconv=no
111177 if test x$gcc_no_link = xyes; then
111178 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111179 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111180 { (exit 1); exit 1; }; }
111182 cat >conftest.$ac_ext <<_ACEOF
111183 /* confdefs.h. */
111184 _ACEOF
111185 cat confdefs.h >>conftest.$ac_ext
111186 cat >>conftest.$ac_ext <<_ACEOF
111187 /* end confdefs.h. */
111188 #include <stdlib.h>
111189 #include <iconv.h>
111191 main ()
111193 iconv_t cd = iconv_open("","");
111194 iconv(cd,NULL,NULL,NULL,NULL);
111195 iconv_close(cd);
111197 return 0;
111199 _ACEOF
111200 rm -f conftest.$ac_objext conftest$ac_exeext
111201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111202 (eval $ac_link) 2>conftest.er1
111203 ac_status=$?
111204 grep -v '^ *+' conftest.er1 >conftest.err
111205 rm -f conftest.er1
111206 cat conftest.err >&5
111207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111208 (exit $ac_status); } &&
111209 { ac_try='test -z "$ac_c_werror_flag"
111210 || test ! -s conftest.err'
111211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111212 (eval $ac_try) 2>&5
111213 ac_status=$?
111214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111215 (exit $ac_status); }; } &&
111216 { ac_try='test -s conftest$ac_exeext'
111217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111218 (eval $ac_try) 2>&5
111219 ac_status=$?
111220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111221 (exit $ac_status); }; }; then
111222 am_cv_func_iconv=yes
111224 echo "$as_me: failed program was:" >&5
111225 sed 's/^/| /' conftest.$ac_ext >&5
111228 rm -f conftest.err conftest.$ac_objext \
111229 conftest$ac_exeext conftest.$ac_ext
111230 if test "$am_cv_func_iconv" != yes; then
111231 am_save_LIBS="$LIBS"
111232 LIBS="$LIBS $LIBICONV"
111233 if test x$gcc_no_link = xyes; then
111234 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111235 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111236 { (exit 1); exit 1; }; }
111238 cat >conftest.$ac_ext <<_ACEOF
111239 /* confdefs.h. */
111240 _ACEOF
111241 cat confdefs.h >>conftest.$ac_ext
111242 cat >>conftest.$ac_ext <<_ACEOF
111243 /* end confdefs.h. */
111244 #include <stdlib.h>
111245 #include <iconv.h>
111247 main ()
111249 iconv_t cd = iconv_open("","");
111250 iconv(cd,NULL,NULL,NULL,NULL);
111251 iconv_close(cd);
111253 return 0;
111255 _ACEOF
111256 rm -f conftest.$ac_objext conftest$ac_exeext
111257 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111258 (eval $ac_link) 2>conftest.er1
111259 ac_status=$?
111260 grep -v '^ *+' conftest.er1 >conftest.err
111261 rm -f conftest.er1
111262 cat conftest.err >&5
111263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111264 (exit $ac_status); } &&
111265 { ac_try='test -z "$ac_c_werror_flag"
111266 || test ! -s conftest.err'
111267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111268 (eval $ac_try) 2>&5
111269 ac_status=$?
111270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111271 (exit $ac_status); }; } &&
111272 { ac_try='test -s conftest$ac_exeext'
111273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111274 (eval $ac_try) 2>&5
111275 ac_status=$?
111276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111277 (exit $ac_status); }; }; then
111278 am_cv_lib_iconv=yes
111279 am_cv_func_iconv=yes
111281 echo "$as_me: failed program was:" >&5
111282 sed 's/^/| /' conftest.$ac_ext >&5
111285 rm -f conftest.err conftest.$ac_objext \
111286 conftest$ac_exeext conftest.$ac_ext
111287 LIBS="$am_save_LIBS"
111291 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
111292 echo "${ECHO_T}$am_cv_func_iconv" >&6
111293 if test "$am_cv_func_iconv" = yes; then
111295 cat >>confdefs.h <<\_ACEOF
111296 #define HAVE_ICONV 1
111297 _ACEOF
111300 if test "$am_cv_lib_iconv" = yes; then
111301 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
111302 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
111303 echo "$as_me:$LINENO: result: $LIBICONV" >&5
111304 echo "${ECHO_T}$LIBICONV" >&6
111306 CPPFLAGS="$am_save_CPPFLAGS"
111307 LIBICONV=
111308 LTLIBICONV=
111313 if test "$am_cv_func_iconv" = yes; then
111314 echo "$as_me:$LINENO: checking for iconv declaration" >&5
111315 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
111316 if test "${am_cv_proto_iconv+set}" = set; then
111317 echo $ECHO_N "(cached) $ECHO_C" >&6
111320 cat >conftest.$ac_ext <<_ACEOF
111321 /* confdefs.h. */
111322 _ACEOF
111323 cat confdefs.h >>conftest.$ac_ext
111324 cat >>conftest.$ac_ext <<_ACEOF
111325 /* end confdefs.h. */
111327 #include <stdlib.h>
111328 #include <iconv.h>
111329 extern
111330 #ifdef __cplusplus
111332 #endif
111333 #if defined(__STDC__) || defined(__cplusplus)
111334 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
111335 #else
111336 size_t iconv();
111337 #endif
111340 main ()
111344 return 0;
111346 _ACEOF
111347 rm -f conftest.$ac_objext
111348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111349 (eval $ac_compile) 2>conftest.er1
111350 ac_status=$?
111351 grep -v '^ *+' conftest.er1 >conftest.err
111352 rm -f conftest.er1
111353 cat conftest.err >&5
111354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111355 (exit $ac_status); } &&
111356 { ac_try='test -z "$ac_c_werror_flag"
111357 || test ! -s conftest.err'
111358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111359 (eval $ac_try) 2>&5
111360 ac_status=$?
111361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111362 (exit $ac_status); }; } &&
111363 { ac_try='test -s conftest.$ac_objext'
111364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111365 (eval $ac_try) 2>&5
111366 ac_status=$?
111367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111368 (exit $ac_status); }; }; then
111369 am_cv_proto_iconv_arg1=""
111371 echo "$as_me: failed program was:" >&5
111372 sed 's/^/| /' conftest.$ac_ext >&5
111374 am_cv_proto_iconv_arg1="const"
111376 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111377 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);"
111380 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
111381 echo "$as_me:$LINENO: result: ${ac_t:-
111382 }$am_cv_proto_iconv" >&5
111383 echo "${ECHO_T}${ac_t:-
111384 }$am_cv_proto_iconv" >&6
111386 cat >>confdefs.h <<_ACEOF
111387 #define ICONV_CONST $am_cv_proto_iconv_arg1
111388 _ACEOF
111393 *-mingw32*)
111397 for ac_header in sys/types.h locale.h float.h
111399 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
111400 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111401 echo "$as_me:$LINENO: checking for $ac_header" >&5
111402 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111403 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111404 echo $ECHO_N "(cached) $ECHO_C" >&6
111406 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111407 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111409 # Is the header compilable?
111410 echo "$as_me:$LINENO: checking $ac_header usability" >&5
111411 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
111412 cat >conftest.$ac_ext <<_ACEOF
111413 /* confdefs.h. */
111414 _ACEOF
111415 cat confdefs.h >>conftest.$ac_ext
111416 cat >>conftest.$ac_ext <<_ACEOF
111417 /* end confdefs.h. */
111418 $ac_includes_default
111419 #include <$ac_header>
111420 _ACEOF
111421 rm -f conftest.$ac_objext
111422 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111423 (eval $ac_compile) 2>conftest.er1
111424 ac_status=$?
111425 grep -v '^ *+' conftest.er1 >conftest.err
111426 rm -f conftest.er1
111427 cat conftest.err >&5
111428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111429 (exit $ac_status); } &&
111430 { ac_try='test -z "$ac_c_werror_flag"
111431 || test ! -s conftest.err'
111432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111433 (eval $ac_try) 2>&5
111434 ac_status=$?
111435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111436 (exit $ac_status); }; } &&
111437 { ac_try='test -s conftest.$ac_objext'
111438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111439 (eval $ac_try) 2>&5
111440 ac_status=$?
111441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111442 (exit $ac_status); }; }; then
111443 ac_header_compiler=yes
111445 echo "$as_me: failed program was:" >&5
111446 sed 's/^/| /' conftest.$ac_ext >&5
111448 ac_header_compiler=no
111450 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111451 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
111452 echo "${ECHO_T}$ac_header_compiler" >&6
111454 # Is the header present?
111455 echo "$as_me:$LINENO: checking $ac_header presence" >&5
111456 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
111457 cat >conftest.$ac_ext <<_ACEOF
111458 /* confdefs.h. */
111459 _ACEOF
111460 cat confdefs.h >>conftest.$ac_ext
111461 cat >>conftest.$ac_ext <<_ACEOF
111462 /* end confdefs.h. */
111463 #include <$ac_header>
111464 _ACEOF
111465 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
111466 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
111467 ac_status=$?
111468 grep -v '^ *+' conftest.er1 >conftest.err
111469 rm -f conftest.er1
111470 cat conftest.err >&5
111471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111472 (exit $ac_status); } >/dev/null; then
111473 if test -s conftest.err; then
111474 ac_cpp_err=$ac_c_preproc_warn_flag
111475 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
111477 ac_cpp_err=
111480 ac_cpp_err=yes
111482 if test -z "$ac_cpp_err"; then
111483 ac_header_preproc=yes
111485 echo "$as_me: failed program was:" >&5
111486 sed 's/^/| /' conftest.$ac_ext >&5
111488 ac_header_preproc=no
111490 rm -f conftest.err conftest.$ac_ext
111491 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
111492 echo "${ECHO_T}$ac_header_preproc" >&6
111494 # So? What about this header?
111495 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
111496 yes:no: )
111497 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
111498 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
111499 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
111500 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
111501 ac_header_preproc=yes
111503 no:yes:* )
111504 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
111505 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
111506 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
111507 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
111508 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
111509 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
111510 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
111511 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
111512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
111513 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
111514 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
111515 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
111517 cat <<\_ASBOX
111518 ## ----------------------------------------- ##
111519 ## Report this to the package-unused lists. ##
111520 ## ----------------------------------------- ##
111521 _ASBOX
111523 sed "s/^/$as_me: WARNING: /" >&2
111526 echo "$as_me:$LINENO: checking for $ac_header" >&5
111527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
111528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
111529 echo $ECHO_N "(cached) $ECHO_C" >&6
111531 eval "$as_ac_Header=\$ac_header_preproc"
111533 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
111534 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
111537 if test `eval echo '${'$as_ac_Header'}'` = yes; then
111538 cat >>confdefs.h <<_ACEOF
111539 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
111540 _ACEOF
111546 cat >>confdefs.h <<\_ACEOF
111547 #define HAVE_STRTOF 1
111548 _ACEOF
111550 cat >>confdefs.h <<\_ACEOF
111551 #define HAVE_STRTOLD 1
111552 _ACEOF
111555 # If we're not using GNU ld, then there's no point in even trying these
111556 # tests. Check for that first. We should have already tested for gld
111557 # by now (in libtool), but require it now just to be safe...
111558 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
111559 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
111563 # The name set by libtool depends on the version of libtool. Shame on us
111564 # for depending on an impl detail, but c'est la vie. Older versions used
111565 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
111566 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
111567 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
111568 # set (hence we're using an older libtool), then set it.
111569 if test x${with_gnu_ld+set} != xset; then
111570 if test x${ac_cv_prog_gnu_ld+set} != xset; then
111571 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
111572 with_gnu_ld=no
111574 with_gnu_ld=$ac_cv_prog_gnu_ld
111578 # Start by getting the version number. I think the libtool test already
111579 # does some of this, but throws away the result.
111580 glibcxx_ld_is_gold=no
111581 if test x"$with_gnu_ld" = x"yes"; then
111582 echo "$as_me:$LINENO: checking for ld version" >&5
111583 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
111585 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
111586 glibcxx_ld_is_gold=yes
111588 ldver=`$LD --version 2>/dev/null | head -1 | \
111589 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
111591 glibcxx_gnu_ld_version=`echo $ldver | \
111592 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
111593 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
111594 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
111597 # Set --gc-sections.
111598 glibcxx_have_gc_sections=no
111599 if test "$glibcxx_ld_is_gold" = "yes"; then
111600 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
111601 glibcxx_have_gc_sections=yes
111604 glibcxx_gcsections_min_ld=21602
111605 if test x"$with_gnu_ld" = x"yes" &&
111606 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
111607 glibcxx_have_gc_sections=yes
111610 if test "$glibcxx_have_gc_sections" = "yes"; then
111611 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
111612 # NB: This flag only works reliably after 2.16.1. Configure tests
111613 # for this are difficult, so hard wire a value that should work.
111615 ac_test_CFLAGS="${CFLAGS+set}"
111616 ac_save_CFLAGS="$CFLAGS"
111617 CFLAGS='-Wl,--gc-sections'
111619 # Check for -Wl,--gc-sections
111620 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
111621 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
111622 if test x$gcc_no_link = xyes; then
111623 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111624 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111625 { (exit 1); exit 1; }; }
111627 cat >conftest.$ac_ext <<_ACEOF
111628 /* confdefs.h. */
111629 _ACEOF
111630 cat confdefs.h >>conftest.$ac_ext
111631 cat >>conftest.$ac_ext <<_ACEOF
111632 /* end confdefs.h. */
111633 int one(void) { return 1; }
111634 int two(void) { return 2; }
111637 main ()
111639 two();
111641 return 0;
111643 _ACEOF
111644 rm -f conftest.$ac_objext conftest$ac_exeext
111645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111646 (eval $ac_link) 2>conftest.er1
111647 ac_status=$?
111648 grep -v '^ *+' conftest.er1 >conftest.err
111649 rm -f conftest.er1
111650 cat conftest.err >&5
111651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111652 (exit $ac_status); } &&
111653 { ac_try='test -z "$ac_c_werror_flag"
111654 || test ! -s conftest.err'
111655 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111656 (eval $ac_try) 2>&5
111657 ac_status=$?
111658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111659 (exit $ac_status); }; } &&
111660 { ac_try='test -s conftest$ac_exeext'
111661 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111662 (eval $ac_try) 2>&5
111663 ac_status=$?
111664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111665 (exit $ac_status); }; }; then
111666 ac_gcsections=yes
111668 echo "$as_me: failed program was:" >&5
111669 sed 's/^/| /' conftest.$ac_ext >&5
111671 ac_gcsections=no
111673 rm -f conftest.err conftest.$ac_objext \
111674 conftest$ac_exeext conftest.$ac_ext
111675 if test "$ac_gcsections" = "yes"; then
111676 rm -f conftest.c
111677 touch conftest.c
111678 if $CC -c conftest.c; then
111679 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
111680 grep "Warning: gc-sections option ignored" > /dev/null; then
111681 ac_gcsections=no
111684 rm -f conftest.c conftest.o conftest
111686 if test "$ac_gcsections" = "yes"; then
111687 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
111689 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
111690 echo "${ECHO_T}$ac_gcsections" >&6
111692 if test "$ac_test_CFLAGS" = set; then
111693 CFLAGS="$ac_save_CFLAGS"
111695 # this is the suspicious part
111696 CFLAGS=''
111700 # Set -z,relro.
111701 # Note this is only for shared objects.
111702 ac_ld_relro=no
111703 if test x"$with_gnu_ld" = x"yes"; then
111704 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
111705 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
111706 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
111707 if test -n "$cxx_z_relo"; then
111708 OPT_LDFLAGS="-Wl,-z,relro"
111709 ac_ld_relro=yes
111711 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
111712 echo "${ECHO_T}$ac_ld_relro" >&6
111715 # Set linker optimization flags.
111716 if test x"$with_gnu_ld" = x"yes"; then
111717 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
111725 echo "$as_me:$LINENO: checking for main in -lm" >&5
111726 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
111727 if test "${ac_cv_lib_m_main+set}" = set; then
111728 echo $ECHO_N "(cached) $ECHO_C" >&6
111730 ac_check_lib_save_LIBS=$LIBS
111731 LIBS="-lm $LIBS"
111732 if test x$gcc_no_link = xyes; then
111733 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111734 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111735 { (exit 1); exit 1; }; }
111737 cat >conftest.$ac_ext <<_ACEOF
111738 /* confdefs.h. */
111739 _ACEOF
111740 cat confdefs.h >>conftest.$ac_ext
111741 cat >>conftest.$ac_ext <<_ACEOF
111742 /* end confdefs.h. */
111746 main ()
111748 main ();
111750 return 0;
111752 _ACEOF
111753 rm -f conftest.$ac_objext conftest$ac_exeext
111754 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111755 (eval $ac_link) 2>conftest.er1
111756 ac_status=$?
111757 grep -v '^ *+' conftest.er1 >conftest.err
111758 rm -f conftest.er1
111759 cat conftest.err >&5
111760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111761 (exit $ac_status); } &&
111762 { ac_try='test -z "$ac_c_werror_flag"
111763 || test ! -s conftest.err'
111764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111765 (eval $ac_try) 2>&5
111766 ac_status=$?
111767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111768 (exit $ac_status); }; } &&
111769 { ac_try='test -s conftest$ac_exeext'
111770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111771 (eval $ac_try) 2>&5
111772 ac_status=$?
111773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111774 (exit $ac_status); }; }; then
111775 ac_cv_lib_m_main=yes
111777 echo "$as_me: failed program was:" >&5
111778 sed 's/^/| /' conftest.$ac_ext >&5
111780 ac_cv_lib_m_main=no
111782 rm -f conftest.err conftest.$ac_objext \
111783 conftest$ac_exeext conftest.$ac_ext
111784 LIBS=$ac_check_lib_save_LIBS
111786 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
111787 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
111788 if test $ac_cv_lib_m_main = yes; then
111789 cat >>confdefs.h <<_ACEOF
111790 #define HAVE_LIBM 1
111791 _ACEOF
111793 LIBS="-lm $LIBS"
111798 for ac_func in copysignf
111800 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111801 echo "$as_me:$LINENO: checking for $ac_func" >&5
111802 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111803 if eval "test \"\${$as_ac_var+set}\" = set"; then
111804 echo $ECHO_N "(cached) $ECHO_C" >&6
111806 if test x$gcc_no_link = xyes; then
111807 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111808 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111809 { (exit 1); exit 1; }; }
111811 cat >conftest.$ac_ext <<_ACEOF
111812 /* confdefs.h. */
111813 _ACEOF
111814 cat confdefs.h >>conftest.$ac_ext
111815 cat >>conftest.$ac_ext <<_ACEOF
111816 /* end confdefs.h. */
111817 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111818 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111819 #define $ac_func innocuous_$ac_func
111821 /* System header to define __stub macros and hopefully few prototypes,
111822 which can conflict with char $ac_func (); below.
111823 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111824 <limits.h> exists even on freestanding compilers. */
111826 #ifdef __STDC__
111827 # include <limits.h>
111828 #else
111829 # include <assert.h>
111830 #endif
111832 #undef $ac_func
111834 /* Override any gcc2 internal prototype to avoid an error. */
111835 #ifdef __cplusplus
111836 extern "C"
111838 #endif
111839 /* We use char because int might match the return type of a gcc2
111840 builtin and then its argument prototype would still apply. */
111841 char $ac_func ();
111842 /* The GNU C library defines this for functions which it implements
111843 to always fail with ENOSYS. Some functions are actually named
111844 something starting with __ and the normal name is an alias. */
111845 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111846 choke me
111847 #else
111848 char (*f) () = $ac_func;
111849 #endif
111850 #ifdef __cplusplus
111852 #endif
111855 main ()
111857 return f != $ac_func;
111859 return 0;
111861 _ACEOF
111862 rm -f conftest.$ac_objext conftest$ac_exeext
111863 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111864 (eval $ac_link) 2>conftest.er1
111865 ac_status=$?
111866 grep -v '^ *+' conftest.er1 >conftest.err
111867 rm -f conftest.er1
111868 cat conftest.err >&5
111869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111870 (exit $ac_status); } &&
111871 { ac_try='test -z "$ac_c_werror_flag"
111872 || test ! -s conftest.err'
111873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111874 (eval $ac_try) 2>&5
111875 ac_status=$?
111876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111877 (exit $ac_status); }; } &&
111878 { ac_try='test -s conftest$ac_exeext'
111879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111880 (eval $ac_try) 2>&5
111881 ac_status=$?
111882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111883 (exit $ac_status); }; }; then
111884 eval "$as_ac_var=yes"
111886 echo "$as_me: failed program was:" >&5
111887 sed 's/^/| /' conftest.$ac_ext >&5
111889 eval "$as_ac_var=no"
111891 rm -f conftest.err conftest.$ac_objext \
111892 conftest$ac_exeext conftest.$ac_ext
111894 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111895 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111896 if test `eval echo '${'$as_ac_var'}'` = yes; then
111897 cat >>confdefs.h <<_ACEOF
111898 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111899 _ACEOF
111902 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
111908 for ac_func in __signbit
111910 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111911 echo "$as_me:$LINENO: checking for $ac_func" >&5
111912 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111913 if eval "test \"\${$as_ac_var+set}\" = set"; then
111914 echo $ECHO_N "(cached) $ECHO_C" >&6
111916 if test x$gcc_no_link = xyes; then
111917 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111918 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111919 { (exit 1); exit 1; }; }
111921 cat >conftest.$ac_ext <<_ACEOF
111922 /* confdefs.h. */
111923 _ACEOF
111924 cat confdefs.h >>conftest.$ac_ext
111925 cat >>conftest.$ac_ext <<_ACEOF
111926 /* end confdefs.h. */
111927 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111928 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111929 #define $ac_func innocuous_$ac_func
111931 /* System header to define __stub macros and hopefully few prototypes,
111932 which can conflict with char $ac_func (); below.
111933 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111934 <limits.h> exists even on freestanding compilers. */
111936 #ifdef __STDC__
111937 # include <limits.h>
111938 #else
111939 # include <assert.h>
111940 #endif
111942 #undef $ac_func
111944 /* Override any gcc2 internal prototype to avoid an error. */
111945 #ifdef __cplusplus
111946 extern "C"
111948 #endif
111949 /* We use char because int might match the return type of a gcc2
111950 builtin and then its argument prototype would still apply. */
111951 char $ac_func ();
111952 /* The GNU C library defines this for functions which it implements
111953 to always fail with ENOSYS. Some functions are actually named
111954 something starting with __ and the normal name is an alias. */
111955 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111956 choke me
111957 #else
111958 char (*f) () = $ac_func;
111959 #endif
111960 #ifdef __cplusplus
111962 #endif
111965 main ()
111967 return f != $ac_func;
111969 return 0;
111971 _ACEOF
111972 rm -f conftest.$ac_objext conftest$ac_exeext
111973 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111974 (eval $ac_link) 2>conftest.er1
111975 ac_status=$?
111976 grep -v '^ *+' conftest.er1 >conftest.err
111977 rm -f conftest.er1
111978 cat conftest.err >&5
111979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111980 (exit $ac_status); } &&
111981 { ac_try='test -z "$ac_c_werror_flag"
111982 || test ! -s conftest.err'
111983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111984 (eval $ac_try) 2>&5
111985 ac_status=$?
111986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111987 (exit $ac_status); }; } &&
111988 { ac_try='test -s conftest$ac_exeext'
111989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111990 (eval $ac_try) 2>&5
111991 ac_status=$?
111992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111993 (exit $ac_status); }; }; then
111994 eval "$as_ac_var=yes"
111996 echo "$as_me: failed program was:" >&5
111997 sed 's/^/| /' conftest.$ac_ext >&5
111999 eval "$as_ac_var=no"
112001 rm -f conftest.err conftest.$ac_objext \
112002 conftest$ac_exeext conftest.$ac_ext
112004 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112005 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112006 if test `eval echo '${'$as_ac_var'}'` = yes; then
112007 cat >>confdefs.h <<_ACEOF
112008 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112009 _ACEOF
112012 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112018 for ac_func in __signbitf
112020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112021 echo "$as_me:$LINENO: checking for $ac_func" >&5
112022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112023 if eval "test \"\${$as_ac_var+set}\" = set"; then
112024 echo $ECHO_N "(cached) $ECHO_C" >&6
112026 if test x$gcc_no_link = xyes; then
112027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112029 { (exit 1); exit 1; }; }
112031 cat >conftest.$ac_ext <<_ACEOF
112032 /* confdefs.h. */
112033 _ACEOF
112034 cat confdefs.h >>conftest.$ac_ext
112035 cat >>conftest.$ac_ext <<_ACEOF
112036 /* end confdefs.h. */
112037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112039 #define $ac_func innocuous_$ac_func
112041 /* System header to define __stub macros and hopefully few prototypes,
112042 which can conflict with char $ac_func (); below.
112043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112044 <limits.h> exists even on freestanding compilers. */
112046 #ifdef __STDC__
112047 # include <limits.h>
112048 #else
112049 # include <assert.h>
112050 #endif
112052 #undef $ac_func
112054 /* Override any gcc2 internal prototype to avoid an error. */
112055 #ifdef __cplusplus
112056 extern "C"
112058 #endif
112059 /* We use char because int might match the return type of a gcc2
112060 builtin and then its argument prototype would still apply. */
112061 char $ac_func ();
112062 /* The GNU C library defines this for functions which it implements
112063 to always fail with ENOSYS. Some functions are actually named
112064 something starting with __ and the normal name is an alias. */
112065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112066 choke me
112067 #else
112068 char (*f) () = $ac_func;
112069 #endif
112070 #ifdef __cplusplus
112072 #endif
112075 main ()
112077 return f != $ac_func;
112079 return 0;
112081 _ACEOF
112082 rm -f conftest.$ac_objext conftest$ac_exeext
112083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112084 (eval $ac_link) 2>conftest.er1
112085 ac_status=$?
112086 grep -v '^ *+' conftest.er1 >conftest.err
112087 rm -f conftest.er1
112088 cat conftest.err >&5
112089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112090 (exit $ac_status); } &&
112091 { ac_try='test -z "$ac_c_werror_flag"
112092 || test ! -s conftest.err'
112093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112094 (eval $ac_try) 2>&5
112095 ac_status=$?
112096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112097 (exit $ac_status); }; } &&
112098 { ac_try='test -s conftest$ac_exeext'
112099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112100 (eval $ac_try) 2>&5
112101 ac_status=$?
112102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112103 (exit $ac_status); }; }; then
112104 eval "$as_ac_var=yes"
112106 echo "$as_me: failed program was:" >&5
112107 sed 's/^/| /' conftest.$ac_ext >&5
112109 eval "$as_ac_var=no"
112111 rm -f conftest.err conftest.$ac_objext \
112112 conftest$ac_exeext conftest.$ac_ext
112114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112116 if test `eval echo '${'$as_ac_var'}'` = yes; then
112117 cat >>confdefs.h <<_ACEOF
112118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112119 _ACEOF
112122 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112127 if test x$ac_cv_func_copysignl = x"yes"; then
112129 for ac_func in __signbitl
112131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112132 echo "$as_me:$LINENO: checking for $ac_func" >&5
112133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112134 if eval "test \"\${$as_ac_var+set}\" = set"; then
112135 echo $ECHO_N "(cached) $ECHO_C" >&6
112137 if test x$gcc_no_link = xyes; then
112138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112140 { (exit 1); exit 1; }; }
112142 cat >conftest.$ac_ext <<_ACEOF
112143 /* confdefs.h. */
112144 _ACEOF
112145 cat confdefs.h >>conftest.$ac_ext
112146 cat >>conftest.$ac_ext <<_ACEOF
112147 /* end confdefs.h. */
112148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112150 #define $ac_func innocuous_$ac_func
112152 /* System header to define __stub macros and hopefully few prototypes,
112153 which can conflict with char $ac_func (); below.
112154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112155 <limits.h> exists even on freestanding compilers. */
112157 #ifdef __STDC__
112158 # include <limits.h>
112159 #else
112160 # include <assert.h>
112161 #endif
112163 #undef $ac_func
112165 /* Override any gcc2 internal prototype to avoid an error. */
112166 #ifdef __cplusplus
112167 extern "C"
112169 #endif
112170 /* We use char because int might match the return type of a gcc2
112171 builtin and then its argument prototype would still apply. */
112172 char $ac_func ();
112173 /* The GNU C library defines this for functions which it implements
112174 to always fail with ENOSYS. Some functions are actually named
112175 something starting with __ and the normal name is an alias. */
112176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112177 choke me
112178 #else
112179 char (*f) () = $ac_func;
112180 #endif
112181 #ifdef __cplusplus
112183 #endif
112186 main ()
112188 return f != $ac_func;
112190 return 0;
112192 _ACEOF
112193 rm -f conftest.$ac_objext conftest$ac_exeext
112194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112195 (eval $ac_link) 2>conftest.er1
112196 ac_status=$?
112197 grep -v '^ *+' conftest.er1 >conftest.err
112198 rm -f conftest.er1
112199 cat conftest.err >&5
112200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112201 (exit $ac_status); } &&
112202 { ac_try='test -z "$ac_c_werror_flag"
112203 || test ! -s conftest.err'
112204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112205 (eval $ac_try) 2>&5
112206 ac_status=$?
112207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112208 (exit $ac_status); }; } &&
112209 { ac_try='test -s conftest$ac_exeext'
112210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112211 (eval $ac_try) 2>&5
112212 ac_status=$?
112213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112214 (exit $ac_status); }; }; then
112215 eval "$as_ac_var=yes"
112217 echo "$as_me: failed program was:" >&5
112218 sed 's/^/| /' conftest.$ac_ext >&5
112220 eval "$as_ac_var=no"
112222 rm -f conftest.err conftest.$ac_objext \
112223 conftest$ac_exeext conftest.$ac_ext
112225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112227 if test `eval echo '${'$as_ac_var'}'` = yes; then
112228 cat >>confdefs.h <<_ACEOF
112229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112230 _ACEOF
112233 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
112239 # Used in libmath/Makefile.am.
112240 if test -n "$LIBMATHOBJS"; then
112241 need_libmath=yes
112246 *-netbsd*)
112259 for ac_header in nan.h ieeefp.h endian.h sys/isa_defs.h \
112260 machine/endian.h machine/param.h sys/machine.h sys/types.h \
112261 fp.h locale.h float.h inttypes.h
112263 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
112264 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112265 echo "$as_me:$LINENO: checking for $ac_header" >&5
112266 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112267 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112268 echo $ECHO_N "(cached) $ECHO_C" >&6
112270 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112271 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112273 # Is the header compilable?
112274 echo "$as_me:$LINENO: checking $ac_header usability" >&5
112275 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
112276 cat >conftest.$ac_ext <<_ACEOF
112277 /* confdefs.h. */
112278 _ACEOF
112279 cat confdefs.h >>conftest.$ac_ext
112280 cat >>conftest.$ac_ext <<_ACEOF
112281 /* end confdefs.h. */
112282 $ac_includes_default
112283 #include <$ac_header>
112284 _ACEOF
112285 rm -f conftest.$ac_objext
112286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112287 (eval $ac_compile) 2>conftest.er1
112288 ac_status=$?
112289 grep -v '^ *+' conftest.er1 >conftest.err
112290 rm -f conftest.er1
112291 cat conftest.err >&5
112292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112293 (exit $ac_status); } &&
112294 { ac_try='test -z "$ac_c_werror_flag"
112295 || test ! -s conftest.err'
112296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112297 (eval $ac_try) 2>&5
112298 ac_status=$?
112299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112300 (exit $ac_status); }; } &&
112301 { ac_try='test -s conftest.$ac_objext'
112302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112303 (eval $ac_try) 2>&5
112304 ac_status=$?
112305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112306 (exit $ac_status); }; }; then
112307 ac_header_compiler=yes
112309 echo "$as_me: failed program was:" >&5
112310 sed 's/^/| /' conftest.$ac_ext >&5
112312 ac_header_compiler=no
112314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112315 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
112316 echo "${ECHO_T}$ac_header_compiler" >&6
112318 # Is the header present?
112319 echo "$as_me:$LINENO: checking $ac_header presence" >&5
112320 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
112321 cat >conftest.$ac_ext <<_ACEOF
112322 /* confdefs.h. */
112323 _ACEOF
112324 cat confdefs.h >>conftest.$ac_ext
112325 cat >>conftest.$ac_ext <<_ACEOF
112326 /* end confdefs.h. */
112327 #include <$ac_header>
112328 _ACEOF
112329 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
112330 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
112331 ac_status=$?
112332 grep -v '^ *+' conftest.er1 >conftest.err
112333 rm -f conftest.er1
112334 cat conftest.err >&5
112335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112336 (exit $ac_status); } >/dev/null; then
112337 if test -s conftest.err; then
112338 ac_cpp_err=$ac_c_preproc_warn_flag
112339 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
112341 ac_cpp_err=
112344 ac_cpp_err=yes
112346 if test -z "$ac_cpp_err"; then
112347 ac_header_preproc=yes
112349 echo "$as_me: failed program was:" >&5
112350 sed 's/^/| /' conftest.$ac_ext >&5
112352 ac_header_preproc=no
112354 rm -f conftest.err conftest.$ac_ext
112355 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
112356 echo "${ECHO_T}$ac_header_preproc" >&6
112358 # So? What about this header?
112359 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
112360 yes:no: )
112361 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
112362 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
112363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
112364 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
112365 ac_header_preproc=yes
112367 no:yes:* )
112368 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
112369 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
112370 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
112371 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
112372 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
112373 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
112374 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
112375 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
112376 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
112377 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
112378 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
112379 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
112381 cat <<\_ASBOX
112382 ## ----------------------------------------- ##
112383 ## Report this to the package-unused lists. ##
112384 ## ----------------------------------------- ##
112385 _ASBOX
112387 sed "s/^/$as_me: WARNING: /" >&2
112390 echo "$as_me:$LINENO: checking for $ac_header" >&5
112391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
112392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
112393 echo $ECHO_N "(cached) $ECHO_C" >&6
112395 eval "$as_ac_Header=\$ac_header_preproc"
112397 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
112398 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
112401 if test `eval echo '${'$as_ac_Header'}'` = yes; then
112402 cat >>confdefs.h <<_ACEOF
112403 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
112404 _ACEOF
112410 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112413 # If we're not using GNU ld, then there's no point in even trying these
112414 # tests. Check for that first. We should have already tested for gld
112415 # by now (in libtool), but require it now just to be safe...
112416 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112417 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112421 # The name set by libtool depends on the version of libtool. Shame on us
112422 # for depending on an impl detail, but c'est la vie. Older versions used
112423 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112424 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112425 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112426 # set (hence we're using an older libtool), then set it.
112427 if test x${with_gnu_ld+set} != xset; then
112428 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112429 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112430 with_gnu_ld=no
112432 with_gnu_ld=$ac_cv_prog_gnu_ld
112436 # Start by getting the version number. I think the libtool test already
112437 # does some of this, but throws away the result.
112438 glibcxx_ld_is_gold=no
112439 if test x"$with_gnu_ld" = x"yes"; then
112440 echo "$as_me:$LINENO: checking for ld version" >&5
112441 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112443 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112444 glibcxx_ld_is_gold=yes
112446 ldver=`$LD --version 2>/dev/null | head -1 | \
112447 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112449 glibcxx_gnu_ld_version=`echo $ldver | \
112450 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112451 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112452 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112455 # Set --gc-sections.
112456 glibcxx_have_gc_sections=no
112457 if test "$glibcxx_ld_is_gold" = "yes"; then
112458 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112459 glibcxx_have_gc_sections=yes
112462 glibcxx_gcsections_min_ld=21602
112463 if test x"$with_gnu_ld" = x"yes" &&
112464 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112465 glibcxx_have_gc_sections=yes
112468 if test "$glibcxx_have_gc_sections" = "yes"; then
112469 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112470 # NB: This flag only works reliably after 2.16.1. Configure tests
112471 # for this are difficult, so hard wire a value that should work.
112473 ac_test_CFLAGS="${CFLAGS+set}"
112474 ac_save_CFLAGS="$CFLAGS"
112475 CFLAGS='-Wl,--gc-sections'
112477 # Check for -Wl,--gc-sections
112478 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112479 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112480 if test x$gcc_no_link = xyes; then
112481 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112482 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112483 { (exit 1); exit 1; }; }
112485 cat >conftest.$ac_ext <<_ACEOF
112486 /* confdefs.h. */
112487 _ACEOF
112488 cat confdefs.h >>conftest.$ac_ext
112489 cat >>conftest.$ac_ext <<_ACEOF
112490 /* end confdefs.h. */
112491 int one(void) { return 1; }
112492 int two(void) { return 2; }
112495 main ()
112497 two();
112499 return 0;
112501 _ACEOF
112502 rm -f conftest.$ac_objext conftest$ac_exeext
112503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112504 (eval $ac_link) 2>conftest.er1
112505 ac_status=$?
112506 grep -v '^ *+' conftest.er1 >conftest.err
112507 rm -f conftest.er1
112508 cat conftest.err >&5
112509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112510 (exit $ac_status); } &&
112511 { ac_try='test -z "$ac_c_werror_flag"
112512 || test ! -s conftest.err'
112513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112514 (eval $ac_try) 2>&5
112515 ac_status=$?
112516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112517 (exit $ac_status); }; } &&
112518 { ac_try='test -s conftest$ac_exeext'
112519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112520 (eval $ac_try) 2>&5
112521 ac_status=$?
112522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112523 (exit $ac_status); }; }; then
112524 ac_gcsections=yes
112526 echo "$as_me: failed program was:" >&5
112527 sed 's/^/| /' conftest.$ac_ext >&5
112529 ac_gcsections=no
112531 rm -f conftest.err conftest.$ac_objext \
112532 conftest$ac_exeext conftest.$ac_ext
112533 if test "$ac_gcsections" = "yes"; then
112534 rm -f conftest.c
112535 touch conftest.c
112536 if $CC -c conftest.c; then
112537 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112538 grep "Warning: gc-sections option ignored" > /dev/null; then
112539 ac_gcsections=no
112542 rm -f conftest.c conftest.o conftest
112544 if test "$ac_gcsections" = "yes"; then
112545 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112547 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112548 echo "${ECHO_T}$ac_gcsections" >&6
112550 if test "$ac_test_CFLAGS" = set; then
112551 CFLAGS="$ac_save_CFLAGS"
112553 # this is the suspicious part
112554 CFLAGS=''
112558 # Set -z,relro.
112559 # Note this is only for shared objects.
112560 ac_ld_relro=no
112561 if test x"$with_gnu_ld" = x"yes"; then
112562 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112563 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112564 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112565 if test -n "$cxx_z_relo"; then
112566 OPT_LDFLAGS="-Wl,-z,relro"
112567 ac_ld_relro=yes
112569 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112570 echo "${ECHO_T}$ac_ld_relro" >&6
112573 # Set linker optimization flags.
112574 if test x"$with_gnu_ld" = x"yes"; then
112575 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112583 echo "$as_me:$LINENO: checking for main in -lm" >&5
112584 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
112585 if test "${ac_cv_lib_m_main+set}" = set; then
112586 echo $ECHO_N "(cached) $ECHO_C" >&6
112588 ac_check_lib_save_LIBS=$LIBS
112589 LIBS="-lm $LIBS"
112590 if test x$gcc_no_link = xyes; then
112591 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112592 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112593 { (exit 1); exit 1; }; }
112595 cat >conftest.$ac_ext <<_ACEOF
112596 /* confdefs.h. */
112597 _ACEOF
112598 cat confdefs.h >>conftest.$ac_ext
112599 cat >>conftest.$ac_ext <<_ACEOF
112600 /* end confdefs.h. */
112604 main ()
112606 main ();
112608 return 0;
112610 _ACEOF
112611 rm -f conftest.$ac_objext conftest$ac_exeext
112612 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112613 (eval $ac_link) 2>conftest.er1
112614 ac_status=$?
112615 grep -v '^ *+' conftest.er1 >conftest.err
112616 rm -f conftest.er1
112617 cat conftest.err >&5
112618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112619 (exit $ac_status); } &&
112620 { ac_try='test -z "$ac_c_werror_flag"
112621 || test ! -s conftest.err'
112622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112623 (eval $ac_try) 2>&5
112624 ac_status=$?
112625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112626 (exit $ac_status); }; } &&
112627 { ac_try='test -s conftest$ac_exeext'
112628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112629 (eval $ac_try) 2>&5
112630 ac_status=$?
112631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112632 (exit $ac_status); }; }; then
112633 ac_cv_lib_m_main=yes
112635 echo "$as_me: failed program was:" >&5
112636 sed 's/^/| /' conftest.$ac_ext >&5
112638 ac_cv_lib_m_main=no
112640 rm -f conftest.err conftest.$ac_objext \
112641 conftest$ac_exeext conftest.$ac_ext
112642 LIBS=$ac_check_lib_save_LIBS
112644 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
112645 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
112646 if test $ac_cv_lib_m_main = yes; then
112647 cat >>confdefs.h <<_ACEOF
112648 #define HAVE_LIBM 1
112649 _ACEOF
112651 LIBS="-lm $LIBS"
112656 for ac_func in copysignf
112658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112659 echo "$as_me:$LINENO: checking for $ac_func" >&5
112660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112661 if eval "test \"\${$as_ac_var+set}\" = set"; then
112662 echo $ECHO_N "(cached) $ECHO_C" >&6
112664 if test x$gcc_no_link = xyes; then
112665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112667 { (exit 1); exit 1; }; }
112669 cat >conftest.$ac_ext <<_ACEOF
112670 /* confdefs.h. */
112671 _ACEOF
112672 cat confdefs.h >>conftest.$ac_ext
112673 cat >>conftest.$ac_ext <<_ACEOF
112674 /* end confdefs.h. */
112675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112677 #define $ac_func innocuous_$ac_func
112679 /* System header to define __stub macros and hopefully few prototypes,
112680 which can conflict with char $ac_func (); below.
112681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112682 <limits.h> exists even on freestanding compilers. */
112684 #ifdef __STDC__
112685 # include <limits.h>
112686 #else
112687 # include <assert.h>
112688 #endif
112690 #undef $ac_func
112692 /* Override any gcc2 internal prototype to avoid an error. */
112693 #ifdef __cplusplus
112694 extern "C"
112696 #endif
112697 /* We use char because int might match the return type of a gcc2
112698 builtin and then its argument prototype would still apply. */
112699 char $ac_func ();
112700 /* The GNU C library defines this for functions which it implements
112701 to always fail with ENOSYS. Some functions are actually named
112702 something starting with __ and the normal name is an alias. */
112703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112704 choke me
112705 #else
112706 char (*f) () = $ac_func;
112707 #endif
112708 #ifdef __cplusplus
112710 #endif
112713 main ()
112715 return f != $ac_func;
112717 return 0;
112719 _ACEOF
112720 rm -f conftest.$ac_objext conftest$ac_exeext
112721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112722 (eval $ac_link) 2>conftest.er1
112723 ac_status=$?
112724 grep -v '^ *+' conftest.er1 >conftest.err
112725 rm -f conftest.er1
112726 cat conftest.err >&5
112727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112728 (exit $ac_status); } &&
112729 { ac_try='test -z "$ac_c_werror_flag"
112730 || test ! -s conftest.err'
112731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112732 (eval $ac_try) 2>&5
112733 ac_status=$?
112734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112735 (exit $ac_status); }; } &&
112736 { ac_try='test -s conftest$ac_exeext'
112737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112738 (eval $ac_try) 2>&5
112739 ac_status=$?
112740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112741 (exit $ac_status); }; }; then
112742 eval "$as_ac_var=yes"
112744 echo "$as_me: failed program was:" >&5
112745 sed 's/^/| /' conftest.$ac_ext >&5
112747 eval "$as_ac_var=no"
112749 rm -f conftest.err conftest.$ac_objext \
112750 conftest$ac_exeext conftest.$ac_ext
112752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112754 if test `eval echo '${'$as_ac_var'}'` = yes; then
112755 cat >>confdefs.h <<_ACEOF
112756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112757 _ACEOF
112760 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
112766 for ac_func in __signbit
112768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112769 echo "$as_me:$LINENO: checking for $ac_func" >&5
112770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112771 if eval "test \"\${$as_ac_var+set}\" = set"; then
112772 echo $ECHO_N "(cached) $ECHO_C" >&6
112774 if test x$gcc_no_link = xyes; then
112775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112777 { (exit 1); exit 1; }; }
112779 cat >conftest.$ac_ext <<_ACEOF
112780 /* confdefs.h. */
112781 _ACEOF
112782 cat confdefs.h >>conftest.$ac_ext
112783 cat >>conftest.$ac_ext <<_ACEOF
112784 /* end confdefs.h. */
112785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112787 #define $ac_func innocuous_$ac_func
112789 /* System header to define __stub macros and hopefully few prototypes,
112790 which can conflict with char $ac_func (); below.
112791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112792 <limits.h> exists even on freestanding compilers. */
112794 #ifdef __STDC__
112795 # include <limits.h>
112796 #else
112797 # include <assert.h>
112798 #endif
112800 #undef $ac_func
112802 /* Override any gcc2 internal prototype to avoid an error. */
112803 #ifdef __cplusplus
112804 extern "C"
112806 #endif
112807 /* We use char because int might match the return type of a gcc2
112808 builtin and then its argument prototype would still apply. */
112809 char $ac_func ();
112810 /* The GNU C library defines this for functions which it implements
112811 to always fail with ENOSYS. Some functions are actually named
112812 something starting with __ and the normal name is an alias. */
112813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112814 choke me
112815 #else
112816 char (*f) () = $ac_func;
112817 #endif
112818 #ifdef __cplusplus
112820 #endif
112823 main ()
112825 return f != $ac_func;
112827 return 0;
112829 _ACEOF
112830 rm -f conftest.$ac_objext conftest$ac_exeext
112831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112832 (eval $ac_link) 2>conftest.er1
112833 ac_status=$?
112834 grep -v '^ *+' conftest.er1 >conftest.err
112835 rm -f conftest.er1
112836 cat conftest.err >&5
112837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112838 (exit $ac_status); } &&
112839 { ac_try='test -z "$ac_c_werror_flag"
112840 || test ! -s conftest.err'
112841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112842 (eval $ac_try) 2>&5
112843 ac_status=$?
112844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112845 (exit $ac_status); }; } &&
112846 { ac_try='test -s conftest$ac_exeext'
112847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112848 (eval $ac_try) 2>&5
112849 ac_status=$?
112850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112851 (exit $ac_status); }; }; then
112852 eval "$as_ac_var=yes"
112854 echo "$as_me: failed program was:" >&5
112855 sed 's/^/| /' conftest.$ac_ext >&5
112857 eval "$as_ac_var=no"
112859 rm -f conftest.err conftest.$ac_objext \
112860 conftest$ac_exeext conftest.$ac_ext
112862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112864 if test `eval echo '${'$as_ac_var'}'` = yes; then
112865 cat >>confdefs.h <<_ACEOF
112866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112867 _ACEOF
112870 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
112876 for ac_func in __signbitf
112878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112879 echo "$as_me:$LINENO: checking for $ac_func" >&5
112880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112881 if eval "test \"\${$as_ac_var+set}\" = set"; then
112882 echo $ECHO_N "(cached) $ECHO_C" >&6
112884 if test x$gcc_no_link = xyes; then
112885 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112886 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112887 { (exit 1); exit 1; }; }
112889 cat >conftest.$ac_ext <<_ACEOF
112890 /* confdefs.h. */
112891 _ACEOF
112892 cat confdefs.h >>conftest.$ac_ext
112893 cat >>conftest.$ac_ext <<_ACEOF
112894 /* end confdefs.h. */
112895 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112896 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112897 #define $ac_func innocuous_$ac_func
112899 /* System header to define __stub macros and hopefully few prototypes,
112900 which can conflict with char $ac_func (); below.
112901 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112902 <limits.h> exists even on freestanding compilers. */
112904 #ifdef __STDC__
112905 # include <limits.h>
112906 #else
112907 # include <assert.h>
112908 #endif
112910 #undef $ac_func
112912 /* Override any gcc2 internal prototype to avoid an error. */
112913 #ifdef __cplusplus
112914 extern "C"
112916 #endif
112917 /* We use char because int might match the return type of a gcc2
112918 builtin and then its argument prototype would still apply. */
112919 char $ac_func ();
112920 /* The GNU C library defines this for functions which it implements
112921 to always fail with ENOSYS. Some functions are actually named
112922 something starting with __ and the normal name is an alias. */
112923 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112924 choke me
112925 #else
112926 char (*f) () = $ac_func;
112927 #endif
112928 #ifdef __cplusplus
112930 #endif
112933 main ()
112935 return f != $ac_func;
112937 return 0;
112939 _ACEOF
112940 rm -f conftest.$ac_objext conftest$ac_exeext
112941 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112942 (eval $ac_link) 2>conftest.er1
112943 ac_status=$?
112944 grep -v '^ *+' conftest.er1 >conftest.err
112945 rm -f conftest.er1
112946 cat conftest.err >&5
112947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112948 (exit $ac_status); } &&
112949 { ac_try='test -z "$ac_c_werror_flag"
112950 || test ! -s conftest.err'
112951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112952 (eval $ac_try) 2>&5
112953 ac_status=$?
112954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112955 (exit $ac_status); }; } &&
112956 { ac_try='test -s conftest$ac_exeext'
112957 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112958 (eval $ac_try) 2>&5
112959 ac_status=$?
112960 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112961 (exit $ac_status); }; }; then
112962 eval "$as_ac_var=yes"
112964 echo "$as_me: failed program was:" >&5
112965 sed 's/^/| /' conftest.$ac_ext >&5
112967 eval "$as_ac_var=no"
112969 rm -f conftest.err conftest.$ac_objext \
112970 conftest$ac_exeext conftest.$ac_ext
112972 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112973 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112974 if test `eval echo '${'$as_ac_var'}'` = yes; then
112975 cat >>confdefs.h <<_ACEOF
112976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112977 _ACEOF
112980 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
112985 if test x$ac_cv_func_copysignl = x"yes"; then
112987 for ac_func in __signbitl
112989 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112990 echo "$as_me:$LINENO: checking for $ac_func" >&5
112991 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112992 if eval "test \"\${$as_ac_var+set}\" = set"; then
112993 echo $ECHO_N "(cached) $ECHO_C" >&6
112995 if test x$gcc_no_link = xyes; then
112996 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112997 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112998 { (exit 1); exit 1; }; }
113000 cat >conftest.$ac_ext <<_ACEOF
113001 /* confdefs.h. */
113002 _ACEOF
113003 cat confdefs.h >>conftest.$ac_ext
113004 cat >>conftest.$ac_ext <<_ACEOF
113005 /* end confdefs.h. */
113006 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113008 #define $ac_func innocuous_$ac_func
113010 /* System header to define __stub macros and hopefully few prototypes,
113011 which can conflict with char $ac_func (); below.
113012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113013 <limits.h> exists even on freestanding compilers. */
113015 #ifdef __STDC__
113016 # include <limits.h>
113017 #else
113018 # include <assert.h>
113019 #endif
113021 #undef $ac_func
113023 /* Override any gcc2 internal prototype to avoid an error. */
113024 #ifdef __cplusplus
113025 extern "C"
113027 #endif
113028 /* We use char because int might match the return type of a gcc2
113029 builtin and then its argument prototype would still apply. */
113030 char $ac_func ();
113031 /* The GNU C library defines this for functions which it implements
113032 to always fail with ENOSYS. Some functions are actually named
113033 something starting with __ and the normal name is an alias. */
113034 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113035 choke me
113036 #else
113037 char (*f) () = $ac_func;
113038 #endif
113039 #ifdef __cplusplus
113041 #endif
113044 main ()
113046 return f != $ac_func;
113048 return 0;
113050 _ACEOF
113051 rm -f conftest.$ac_objext conftest$ac_exeext
113052 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113053 (eval $ac_link) 2>conftest.er1
113054 ac_status=$?
113055 grep -v '^ *+' conftest.er1 >conftest.err
113056 rm -f conftest.er1
113057 cat conftest.err >&5
113058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113059 (exit $ac_status); } &&
113060 { ac_try='test -z "$ac_c_werror_flag"
113061 || test ! -s conftest.err'
113062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113063 (eval $ac_try) 2>&5
113064 ac_status=$?
113065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113066 (exit $ac_status); }; } &&
113067 { ac_try='test -s conftest$ac_exeext'
113068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113069 (eval $ac_try) 2>&5
113070 ac_status=$?
113071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113072 (exit $ac_status); }; }; then
113073 eval "$as_ac_var=yes"
113075 echo "$as_me: failed program was:" >&5
113076 sed 's/^/| /' conftest.$ac_ext >&5
113078 eval "$as_ac_var=no"
113080 rm -f conftest.err conftest.$ac_objext \
113081 conftest$ac_exeext conftest.$ac_ext
113083 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113084 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113085 if test `eval echo '${'$as_ac_var'}'` = yes; then
113086 cat >>confdefs.h <<_ACEOF
113087 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113088 _ACEOF
113091 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
113097 # Used in libmath/Makefile.am.
113098 if test -n "$LIBMATHOBJS"; then
113099 need_libmath=yes
113103 cat >>confdefs.h <<\_ACEOF
113104 #define HAVE_COPYSIGN 1
113105 _ACEOF
113107 cat >>confdefs.h <<\_ACEOF
113108 #define HAVE_COPYSIGNF 1
113109 _ACEOF
113111 cat >>confdefs.h <<\_ACEOF
113112 #define HAVE_FINITEF 1
113113 _ACEOF
113115 cat >>confdefs.h <<\_ACEOF
113116 #define HAVE_FINITE 1
113117 _ACEOF
113119 cat >>confdefs.h <<\_ACEOF
113120 #define HAVE_FREXPF 1
113121 _ACEOF
113123 cat >>confdefs.h <<\_ACEOF
113124 #define HAVE_HYPOTF 1
113125 _ACEOF
113127 cat >>confdefs.h <<\_ACEOF
113128 #define HAVE_ISINF 1
113129 _ACEOF
113131 cat >>confdefs.h <<\_ACEOF
113132 #define HAVE_ISINFF 1
113133 _ACEOF
113135 cat >>confdefs.h <<\_ACEOF
113136 #define HAVE_ISNAN 1
113137 _ACEOF
113139 cat >>confdefs.h <<\_ACEOF
113140 #define HAVE_ISNANF 1
113141 _ACEOF
113143 if test x"long_double_math_on_this_cpu" = x"yes"; then
113144 cat >>confdefs.h <<\_ACEOF
113145 #define HAVE_FINITEL 1
113146 _ACEOF
113148 cat >>confdefs.h <<\_ACEOF
113149 #define HAVE_ISINFL 1
113150 _ACEOF
113152 cat >>confdefs.h <<\_ACEOF
113153 #define HAVE_ISNANL 1
113154 _ACEOF
113158 *-netware)
113167 for ac_header in nan.h ieeefp.h sys/isa_defs.h sys/machine.h \
113168 sys/types.h locale.h float.h inttypes.h
113170 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
113171 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113172 echo "$as_me:$LINENO: checking for $ac_header" >&5
113173 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113174 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113175 echo $ECHO_N "(cached) $ECHO_C" >&6
113177 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113178 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113180 # Is the header compilable?
113181 echo "$as_me:$LINENO: checking $ac_header usability" >&5
113182 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
113183 cat >conftest.$ac_ext <<_ACEOF
113184 /* confdefs.h. */
113185 _ACEOF
113186 cat confdefs.h >>conftest.$ac_ext
113187 cat >>conftest.$ac_ext <<_ACEOF
113188 /* end confdefs.h. */
113189 $ac_includes_default
113190 #include <$ac_header>
113191 _ACEOF
113192 rm -f conftest.$ac_objext
113193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
113194 (eval $ac_compile) 2>conftest.er1
113195 ac_status=$?
113196 grep -v '^ *+' conftest.er1 >conftest.err
113197 rm -f conftest.er1
113198 cat conftest.err >&5
113199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113200 (exit $ac_status); } &&
113201 { ac_try='test -z "$ac_c_werror_flag"
113202 || test ! -s conftest.err'
113203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113204 (eval $ac_try) 2>&5
113205 ac_status=$?
113206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113207 (exit $ac_status); }; } &&
113208 { ac_try='test -s conftest.$ac_objext'
113209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113210 (eval $ac_try) 2>&5
113211 ac_status=$?
113212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113213 (exit $ac_status); }; }; then
113214 ac_header_compiler=yes
113216 echo "$as_me: failed program was:" >&5
113217 sed 's/^/| /' conftest.$ac_ext >&5
113219 ac_header_compiler=no
113221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
113222 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
113223 echo "${ECHO_T}$ac_header_compiler" >&6
113225 # Is the header present?
113226 echo "$as_me:$LINENO: checking $ac_header presence" >&5
113227 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
113228 cat >conftest.$ac_ext <<_ACEOF
113229 /* confdefs.h. */
113230 _ACEOF
113231 cat confdefs.h >>conftest.$ac_ext
113232 cat >>conftest.$ac_ext <<_ACEOF
113233 /* end confdefs.h. */
113234 #include <$ac_header>
113235 _ACEOF
113236 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
113237 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
113238 ac_status=$?
113239 grep -v '^ *+' conftest.er1 >conftest.err
113240 rm -f conftest.er1
113241 cat conftest.err >&5
113242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113243 (exit $ac_status); } >/dev/null; then
113244 if test -s conftest.err; then
113245 ac_cpp_err=$ac_c_preproc_warn_flag
113246 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
113248 ac_cpp_err=
113251 ac_cpp_err=yes
113253 if test -z "$ac_cpp_err"; then
113254 ac_header_preproc=yes
113256 echo "$as_me: failed program was:" >&5
113257 sed 's/^/| /' conftest.$ac_ext >&5
113259 ac_header_preproc=no
113261 rm -f conftest.err conftest.$ac_ext
113262 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
113263 echo "${ECHO_T}$ac_header_preproc" >&6
113265 # So? What about this header?
113266 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
113267 yes:no: )
113268 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
113269 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
113270 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
113271 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
113272 ac_header_preproc=yes
113274 no:yes:* )
113275 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
113276 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
113277 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
113278 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
113279 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
113280 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
113281 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
113282 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
113283 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
113284 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
113285 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
113286 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
113288 cat <<\_ASBOX
113289 ## ----------------------------------------- ##
113290 ## Report this to the package-unused lists. ##
113291 ## ----------------------------------------- ##
113292 _ASBOX
113294 sed "s/^/$as_me: WARNING: /" >&2
113297 echo "$as_me:$LINENO: checking for $ac_header" >&5
113298 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
113299 if eval "test \"\${$as_ac_Header+set}\" = set"; then
113300 echo $ECHO_N "(cached) $ECHO_C" >&6
113302 eval "$as_ac_Header=\$ac_header_preproc"
113304 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
113305 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
113308 if test `eval echo '${'$as_ac_Header'}'` = yes; then
113309 cat >>confdefs.h <<_ACEOF
113310 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
113311 _ACEOF
113317 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113320 # If we're not using GNU ld, then there's no point in even trying these
113321 # tests. Check for that first. We should have already tested for gld
113322 # by now (in libtool), but require it now just to be safe...
113323 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113324 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113328 # The name set by libtool depends on the version of libtool. Shame on us
113329 # for depending on an impl detail, but c'est la vie. Older versions used
113330 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113331 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113332 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113333 # set (hence we're using an older libtool), then set it.
113334 if test x${with_gnu_ld+set} != xset; then
113335 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113336 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113337 with_gnu_ld=no
113339 with_gnu_ld=$ac_cv_prog_gnu_ld
113343 # Start by getting the version number. I think the libtool test already
113344 # does some of this, but throws away the result.
113345 glibcxx_ld_is_gold=no
113346 if test x"$with_gnu_ld" = x"yes"; then
113347 echo "$as_me:$LINENO: checking for ld version" >&5
113348 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113350 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113351 glibcxx_ld_is_gold=yes
113353 ldver=`$LD --version 2>/dev/null | head -1 | \
113354 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113356 glibcxx_gnu_ld_version=`echo $ldver | \
113357 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113358 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113359 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113362 # Set --gc-sections.
113363 glibcxx_have_gc_sections=no
113364 if test "$glibcxx_ld_is_gold" = "yes"; then
113365 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113366 glibcxx_have_gc_sections=yes
113369 glibcxx_gcsections_min_ld=21602
113370 if test x"$with_gnu_ld" = x"yes" &&
113371 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113372 glibcxx_have_gc_sections=yes
113375 if test "$glibcxx_have_gc_sections" = "yes"; then
113376 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113377 # NB: This flag only works reliably after 2.16.1. Configure tests
113378 # for this are difficult, so hard wire a value that should work.
113380 ac_test_CFLAGS="${CFLAGS+set}"
113381 ac_save_CFLAGS="$CFLAGS"
113382 CFLAGS='-Wl,--gc-sections'
113384 # Check for -Wl,--gc-sections
113385 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113386 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113387 if test x$gcc_no_link = xyes; then
113388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113390 { (exit 1); exit 1; }; }
113392 cat >conftest.$ac_ext <<_ACEOF
113393 /* confdefs.h. */
113394 _ACEOF
113395 cat confdefs.h >>conftest.$ac_ext
113396 cat >>conftest.$ac_ext <<_ACEOF
113397 /* end confdefs.h. */
113398 int one(void) { return 1; }
113399 int two(void) { return 2; }
113402 main ()
113404 two();
113406 return 0;
113408 _ACEOF
113409 rm -f conftest.$ac_objext conftest$ac_exeext
113410 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113411 (eval $ac_link) 2>conftest.er1
113412 ac_status=$?
113413 grep -v '^ *+' conftest.er1 >conftest.err
113414 rm -f conftest.er1
113415 cat conftest.err >&5
113416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113417 (exit $ac_status); } &&
113418 { ac_try='test -z "$ac_c_werror_flag"
113419 || test ! -s conftest.err'
113420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113421 (eval $ac_try) 2>&5
113422 ac_status=$?
113423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113424 (exit $ac_status); }; } &&
113425 { ac_try='test -s conftest$ac_exeext'
113426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113427 (eval $ac_try) 2>&5
113428 ac_status=$?
113429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113430 (exit $ac_status); }; }; then
113431 ac_gcsections=yes
113433 echo "$as_me: failed program was:" >&5
113434 sed 's/^/| /' conftest.$ac_ext >&5
113436 ac_gcsections=no
113438 rm -f conftest.err conftest.$ac_objext \
113439 conftest$ac_exeext conftest.$ac_ext
113440 if test "$ac_gcsections" = "yes"; then
113441 rm -f conftest.c
113442 touch conftest.c
113443 if $CC -c conftest.c; then
113444 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113445 grep "Warning: gc-sections option ignored" > /dev/null; then
113446 ac_gcsections=no
113449 rm -f conftest.c conftest.o conftest
113451 if test "$ac_gcsections" = "yes"; then
113452 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113454 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113455 echo "${ECHO_T}$ac_gcsections" >&6
113457 if test "$ac_test_CFLAGS" = set; then
113458 CFLAGS="$ac_save_CFLAGS"
113460 # this is the suspicious part
113461 CFLAGS=''
113465 # Set -z,relro.
113466 # Note this is only for shared objects.
113467 ac_ld_relro=no
113468 if test x"$with_gnu_ld" = x"yes"; then
113469 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113470 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113471 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113472 if test -n "$cxx_z_relo"; then
113473 OPT_LDFLAGS="-Wl,-z,relro"
113474 ac_ld_relro=yes
113476 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113477 echo "${ECHO_T}$ac_ld_relro" >&6
113480 # Set linker optimization flags.
113481 if test x"$with_gnu_ld" = x"yes"; then
113482 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113490 echo "$as_me:$LINENO: checking for main in -lm" >&5
113491 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
113492 if test "${ac_cv_lib_m_main+set}" = set; then
113493 echo $ECHO_N "(cached) $ECHO_C" >&6
113495 ac_check_lib_save_LIBS=$LIBS
113496 LIBS="-lm $LIBS"
113497 if test x$gcc_no_link = xyes; then
113498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113500 { (exit 1); exit 1; }; }
113502 cat >conftest.$ac_ext <<_ACEOF
113503 /* confdefs.h. */
113504 _ACEOF
113505 cat confdefs.h >>conftest.$ac_ext
113506 cat >>conftest.$ac_ext <<_ACEOF
113507 /* end confdefs.h. */
113511 main ()
113513 main ();
113515 return 0;
113517 _ACEOF
113518 rm -f conftest.$ac_objext conftest$ac_exeext
113519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113520 (eval $ac_link) 2>conftest.er1
113521 ac_status=$?
113522 grep -v '^ *+' conftest.er1 >conftest.err
113523 rm -f conftest.er1
113524 cat conftest.err >&5
113525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113526 (exit $ac_status); } &&
113527 { ac_try='test -z "$ac_c_werror_flag"
113528 || test ! -s conftest.err'
113529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113530 (eval $ac_try) 2>&5
113531 ac_status=$?
113532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113533 (exit $ac_status); }; } &&
113534 { ac_try='test -s conftest$ac_exeext'
113535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113536 (eval $ac_try) 2>&5
113537 ac_status=$?
113538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113539 (exit $ac_status); }; }; then
113540 ac_cv_lib_m_main=yes
113542 echo "$as_me: failed program was:" >&5
113543 sed 's/^/| /' conftest.$ac_ext >&5
113545 ac_cv_lib_m_main=no
113547 rm -f conftest.err conftest.$ac_objext \
113548 conftest$ac_exeext conftest.$ac_ext
113549 LIBS=$ac_check_lib_save_LIBS
113551 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
113552 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
113553 if test $ac_cv_lib_m_main = yes; then
113554 cat >>confdefs.h <<_ACEOF
113555 #define HAVE_LIBM 1
113556 _ACEOF
113558 LIBS="-lm $LIBS"
113563 for ac_func in copysignf
113565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113566 echo "$as_me:$LINENO: checking for $ac_func" >&5
113567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113568 if eval "test \"\${$as_ac_var+set}\" = set"; then
113569 echo $ECHO_N "(cached) $ECHO_C" >&6
113571 if test x$gcc_no_link = xyes; then
113572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113574 { (exit 1); exit 1; }; }
113576 cat >conftest.$ac_ext <<_ACEOF
113577 /* confdefs.h. */
113578 _ACEOF
113579 cat confdefs.h >>conftest.$ac_ext
113580 cat >>conftest.$ac_ext <<_ACEOF
113581 /* end confdefs.h. */
113582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113584 #define $ac_func innocuous_$ac_func
113586 /* System header to define __stub macros and hopefully few prototypes,
113587 which can conflict with char $ac_func (); below.
113588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113589 <limits.h> exists even on freestanding compilers. */
113591 #ifdef __STDC__
113592 # include <limits.h>
113593 #else
113594 # include <assert.h>
113595 #endif
113597 #undef $ac_func
113599 /* Override any gcc2 internal prototype to avoid an error. */
113600 #ifdef __cplusplus
113601 extern "C"
113603 #endif
113604 /* We use char because int might match the return type of a gcc2
113605 builtin and then its argument prototype would still apply. */
113606 char $ac_func ();
113607 /* The GNU C library defines this for functions which it implements
113608 to always fail with ENOSYS. Some functions are actually named
113609 something starting with __ and the normal name is an alias. */
113610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113611 choke me
113612 #else
113613 char (*f) () = $ac_func;
113614 #endif
113615 #ifdef __cplusplus
113617 #endif
113620 main ()
113622 return f != $ac_func;
113624 return 0;
113626 _ACEOF
113627 rm -f conftest.$ac_objext conftest$ac_exeext
113628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113629 (eval $ac_link) 2>conftest.er1
113630 ac_status=$?
113631 grep -v '^ *+' conftest.er1 >conftest.err
113632 rm -f conftest.er1
113633 cat conftest.err >&5
113634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113635 (exit $ac_status); } &&
113636 { ac_try='test -z "$ac_c_werror_flag"
113637 || test ! -s conftest.err'
113638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113639 (eval $ac_try) 2>&5
113640 ac_status=$?
113641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113642 (exit $ac_status); }; } &&
113643 { ac_try='test -s conftest$ac_exeext'
113644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113645 (eval $ac_try) 2>&5
113646 ac_status=$?
113647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113648 (exit $ac_status); }; }; then
113649 eval "$as_ac_var=yes"
113651 echo "$as_me: failed program was:" >&5
113652 sed 's/^/| /' conftest.$ac_ext >&5
113654 eval "$as_ac_var=no"
113656 rm -f conftest.err conftest.$ac_objext \
113657 conftest$ac_exeext conftest.$ac_ext
113659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113661 if test `eval echo '${'$as_ac_var'}'` = yes; then
113662 cat >>confdefs.h <<_ACEOF
113663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113664 _ACEOF
113667 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
113673 for ac_func in __signbit
113675 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113676 echo "$as_me:$LINENO: checking for $ac_func" >&5
113677 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113678 if eval "test \"\${$as_ac_var+set}\" = set"; then
113679 echo $ECHO_N "(cached) $ECHO_C" >&6
113681 if test x$gcc_no_link = xyes; then
113682 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113683 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113684 { (exit 1); exit 1; }; }
113686 cat >conftest.$ac_ext <<_ACEOF
113687 /* confdefs.h. */
113688 _ACEOF
113689 cat confdefs.h >>conftest.$ac_ext
113690 cat >>conftest.$ac_ext <<_ACEOF
113691 /* end confdefs.h. */
113692 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113693 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113694 #define $ac_func innocuous_$ac_func
113696 /* System header to define __stub macros and hopefully few prototypes,
113697 which can conflict with char $ac_func (); below.
113698 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113699 <limits.h> exists even on freestanding compilers. */
113701 #ifdef __STDC__
113702 # include <limits.h>
113703 #else
113704 # include <assert.h>
113705 #endif
113707 #undef $ac_func
113709 /* Override any gcc2 internal prototype to avoid an error. */
113710 #ifdef __cplusplus
113711 extern "C"
113713 #endif
113714 /* We use char because int might match the return type of a gcc2
113715 builtin and then its argument prototype would still apply. */
113716 char $ac_func ();
113717 /* The GNU C library defines this for functions which it implements
113718 to always fail with ENOSYS. Some functions are actually named
113719 something starting with __ and the normal name is an alias. */
113720 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113721 choke me
113722 #else
113723 char (*f) () = $ac_func;
113724 #endif
113725 #ifdef __cplusplus
113727 #endif
113730 main ()
113732 return f != $ac_func;
113734 return 0;
113736 _ACEOF
113737 rm -f conftest.$ac_objext conftest$ac_exeext
113738 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113739 (eval $ac_link) 2>conftest.er1
113740 ac_status=$?
113741 grep -v '^ *+' conftest.er1 >conftest.err
113742 rm -f conftest.er1
113743 cat conftest.err >&5
113744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113745 (exit $ac_status); } &&
113746 { ac_try='test -z "$ac_c_werror_flag"
113747 || test ! -s conftest.err'
113748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113749 (eval $ac_try) 2>&5
113750 ac_status=$?
113751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113752 (exit $ac_status); }; } &&
113753 { ac_try='test -s conftest$ac_exeext'
113754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113755 (eval $ac_try) 2>&5
113756 ac_status=$?
113757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113758 (exit $ac_status); }; }; then
113759 eval "$as_ac_var=yes"
113761 echo "$as_me: failed program was:" >&5
113762 sed 's/^/| /' conftest.$ac_ext >&5
113764 eval "$as_ac_var=no"
113766 rm -f conftest.err conftest.$ac_objext \
113767 conftest$ac_exeext conftest.$ac_ext
113769 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113770 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113771 if test `eval echo '${'$as_ac_var'}'` = yes; then
113772 cat >>confdefs.h <<_ACEOF
113773 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113774 _ACEOF
113777 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
113783 for ac_func in __signbitf
113785 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113786 echo "$as_me:$LINENO: checking for $ac_func" >&5
113787 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113788 if eval "test \"\${$as_ac_var+set}\" = set"; then
113789 echo $ECHO_N "(cached) $ECHO_C" >&6
113791 if test x$gcc_no_link = xyes; then
113792 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113793 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113794 { (exit 1); exit 1; }; }
113796 cat >conftest.$ac_ext <<_ACEOF
113797 /* confdefs.h. */
113798 _ACEOF
113799 cat confdefs.h >>conftest.$ac_ext
113800 cat >>conftest.$ac_ext <<_ACEOF
113801 /* end confdefs.h. */
113802 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113804 #define $ac_func innocuous_$ac_func
113806 /* System header to define __stub macros and hopefully few prototypes,
113807 which can conflict with char $ac_func (); below.
113808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113809 <limits.h> exists even on freestanding compilers. */
113811 #ifdef __STDC__
113812 # include <limits.h>
113813 #else
113814 # include <assert.h>
113815 #endif
113817 #undef $ac_func
113819 /* Override any gcc2 internal prototype to avoid an error. */
113820 #ifdef __cplusplus
113821 extern "C"
113823 #endif
113824 /* We use char because int might match the return type of a gcc2
113825 builtin and then its argument prototype would still apply. */
113826 char $ac_func ();
113827 /* The GNU C library defines this for functions which it implements
113828 to always fail with ENOSYS. Some functions are actually named
113829 something starting with __ and the normal name is an alias. */
113830 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113831 choke me
113832 #else
113833 char (*f) () = $ac_func;
113834 #endif
113835 #ifdef __cplusplus
113837 #endif
113840 main ()
113842 return f != $ac_func;
113844 return 0;
113846 _ACEOF
113847 rm -f conftest.$ac_objext conftest$ac_exeext
113848 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113849 (eval $ac_link) 2>conftest.er1
113850 ac_status=$?
113851 grep -v '^ *+' conftest.er1 >conftest.err
113852 rm -f conftest.er1
113853 cat conftest.err >&5
113854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113855 (exit $ac_status); } &&
113856 { ac_try='test -z "$ac_c_werror_flag"
113857 || test ! -s conftest.err'
113858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113859 (eval $ac_try) 2>&5
113860 ac_status=$?
113861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113862 (exit $ac_status); }; } &&
113863 { ac_try='test -s conftest$ac_exeext'
113864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113865 (eval $ac_try) 2>&5
113866 ac_status=$?
113867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113868 (exit $ac_status); }; }; then
113869 eval "$as_ac_var=yes"
113871 echo "$as_me: failed program was:" >&5
113872 sed 's/^/| /' conftest.$ac_ext >&5
113874 eval "$as_ac_var=no"
113876 rm -f conftest.err conftest.$ac_objext \
113877 conftest$ac_exeext conftest.$ac_ext
113879 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113880 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113881 if test `eval echo '${'$as_ac_var'}'` = yes; then
113882 cat >>confdefs.h <<_ACEOF
113883 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113884 _ACEOF
113887 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
113892 if test x$ac_cv_func_copysignl = x"yes"; then
113894 for ac_func in __signbitl
113896 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
113897 echo "$as_me:$LINENO: checking for $ac_func" >&5
113898 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
113899 if eval "test \"\${$as_ac_var+set}\" = set"; then
113900 echo $ECHO_N "(cached) $ECHO_C" >&6
113902 if test x$gcc_no_link = xyes; then
113903 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113904 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113905 { (exit 1); exit 1; }; }
113907 cat >conftest.$ac_ext <<_ACEOF
113908 /* confdefs.h. */
113909 _ACEOF
113910 cat confdefs.h >>conftest.$ac_ext
113911 cat >>conftest.$ac_ext <<_ACEOF
113912 /* end confdefs.h. */
113913 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
113914 For example, HP-UX 11i <limits.h> declares gettimeofday. */
113915 #define $ac_func innocuous_$ac_func
113917 /* System header to define __stub macros and hopefully few prototypes,
113918 which can conflict with char $ac_func (); below.
113919 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
113920 <limits.h> exists even on freestanding compilers. */
113922 #ifdef __STDC__
113923 # include <limits.h>
113924 #else
113925 # include <assert.h>
113926 #endif
113928 #undef $ac_func
113930 /* Override any gcc2 internal prototype to avoid an error. */
113931 #ifdef __cplusplus
113932 extern "C"
113934 #endif
113935 /* We use char because int might match the return type of a gcc2
113936 builtin and then its argument prototype would still apply. */
113937 char $ac_func ();
113938 /* The GNU C library defines this for functions which it implements
113939 to always fail with ENOSYS. Some functions are actually named
113940 something starting with __ and the normal name is an alias. */
113941 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
113942 choke me
113943 #else
113944 char (*f) () = $ac_func;
113945 #endif
113946 #ifdef __cplusplus
113948 #endif
113951 main ()
113953 return f != $ac_func;
113955 return 0;
113957 _ACEOF
113958 rm -f conftest.$ac_objext conftest$ac_exeext
113959 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113960 (eval $ac_link) 2>conftest.er1
113961 ac_status=$?
113962 grep -v '^ *+' conftest.er1 >conftest.err
113963 rm -f conftest.er1
113964 cat conftest.err >&5
113965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113966 (exit $ac_status); } &&
113967 { ac_try='test -z "$ac_c_werror_flag"
113968 || test ! -s conftest.err'
113969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113970 (eval $ac_try) 2>&5
113971 ac_status=$?
113972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113973 (exit $ac_status); }; } &&
113974 { ac_try='test -s conftest$ac_exeext'
113975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113976 (eval $ac_try) 2>&5
113977 ac_status=$?
113978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113979 (exit $ac_status); }; }; then
113980 eval "$as_ac_var=yes"
113982 echo "$as_me: failed program was:" >&5
113983 sed 's/^/| /' conftest.$ac_ext >&5
113985 eval "$as_ac_var=no"
113987 rm -f conftest.err conftest.$ac_objext \
113988 conftest$ac_exeext conftest.$ac_ext
113990 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
113991 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
113992 if test `eval echo '${'$as_ac_var'}'` = yes; then
113993 cat >>confdefs.h <<_ACEOF
113994 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
113995 _ACEOF
113998 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
114004 # Used in libmath/Makefile.am.
114005 if test -n "$LIBMATHOBJS"; then
114006 need_libmath=yes
114010 cat >>confdefs.h <<\_ACEOF
114011 #define HAVE_HYPOT 1
114012 _ACEOF
114014 cat >>confdefs.h <<\_ACEOF
114015 #define HAVE_ISINF 1
114016 _ACEOF
114018 cat >>confdefs.h <<\_ACEOF
114019 #define HAVE_ISNAN 1
114020 _ACEOF
114023 # For showmanyc_helper().
114026 for ac_header in sys/ioctl.h sys/filio.h
114028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114029 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114030 echo "$as_me:$LINENO: checking for $ac_header" >&5
114031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114032 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114033 echo $ECHO_N "(cached) $ECHO_C" >&6
114035 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114038 # Is the header compilable?
114039 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114040 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114041 cat >conftest.$ac_ext <<_ACEOF
114042 /* confdefs.h. */
114043 _ACEOF
114044 cat confdefs.h >>conftest.$ac_ext
114045 cat >>conftest.$ac_ext <<_ACEOF
114046 /* end confdefs.h. */
114047 $ac_includes_default
114048 #include <$ac_header>
114049 _ACEOF
114050 rm -f conftest.$ac_objext
114051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114052 (eval $ac_compile) 2>conftest.er1
114053 ac_status=$?
114054 grep -v '^ *+' conftest.er1 >conftest.err
114055 rm -f conftest.er1
114056 cat conftest.err >&5
114057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114058 (exit $ac_status); } &&
114059 { ac_try='test -z "$ac_c_werror_flag"
114060 || test ! -s conftest.err'
114061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114062 (eval $ac_try) 2>&5
114063 ac_status=$?
114064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114065 (exit $ac_status); }; } &&
114066 { ac_try='test -s conftest.$ac_objext'
114067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114068 (eval $ac_try) 2>&5
114069 ac_status=$?
114070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114071 (exit $ac_status); }; }; then
114072 ac_header_compiler=yes
114074 echo "$as_me: failed program was:" >&5
114075 sed 's/^/| /' conftest.$ac_ext >&5
114077 ac_header_compiler=no
114079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114080 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114081 echo "${ECHO_T}$ac_header_compiler" >&6
114083 # Is the header present?
114084 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114085 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114086 cat >conftest.$ac_ext <<_ACEOF
114087 /* confdefs.h. */
114088 _ACEOF
114089 cat confdefs.h >>conftest.$ac_ext
114090 cat >>conftest.$ac_ext <<_ACEOF
114091 /* end confdefs.h. */
114092 #include <$ac_header>
114093 _ACEOF
114094 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114095 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114096 ac_status=$?
114097 grep -v '^ *+' conftest.er1 >conftest.err
114098 rm -f conftest.er1
114099 cat conftest.err >&5
114100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114101 (exit $ac_status); } >/dev/null; then
114102 if test -s conftest.err; then
114103 ac_cpp_err=$ac_c_preproc_warn_flag
114104 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114106 ac_cpp_err=
114109 ac_cpp_err=yes
114111 if test -z "$ac_cpp_err"; then
114112 ac_header_preproc=yes
114114 echo "$as_me: failed program was:" >&5
114115 sed 's/^/| /' conftest.$ac_ext >&5
114117 ac_header_preproc=no
114119 rm -f conftest.err conftest.$ac_ext
114120 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114121 echo "${ECHO_T}$ac_header_preproc" >&6
114123 # So? What about this header?
114124 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114125 yes:no: )
114126 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114127 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114128 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114129 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114130 ac_header_preproc=yes
114132 no:yes:* )
114133 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114134 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114135 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114136 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114137 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114138 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114139 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114140 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114141 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114142 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114143 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114144 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114146 cat <<\_ASBOX
114147 ## ----------------------------------------- ##
114148 ## Report this to the package-unused lists. ##
114149 ## ----------------------------------------- ##
114150 _ASBOX
114152 sed "s/^/$as_me: WARNING: /" >&2
114155 echo "$as_me:$LINENO: checking for $ac_header" >&5
114156 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114157 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114158 echo $ECHO_N "(cached) $ECHO_C" >&6
114160 eval "$as_ac_Header=\$ac_header_preproc"
114162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114163 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114166 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114167 cat >>confdefs.h <<_ACEOF
114168 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114169 _ACEOF
114176 echo "$as_me:$LINENO: checking for poll" >&5
114177 echo $ECHO_N "checking for poll... $ECHO_C" >&6
114178 if test "${glibcxx_cv_POLL+set}" = set; then
114179 echo $ECHO_N "(cached) $ECHO_C" >&6
114182 if test x$gcc_no_link = xyes; then
114183 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114184 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114185 { (exit 1); exit 1; }; }
114187 cat >conftest.$ac_ext <<_ACEOF
114188 /* confdefs.h. */
114189 _ACEOF
114190 cat confdefs.h >>conftest.$ac_ext
114191 cat >>conftest.$ac_ext <<_ACEOF
114192 /* end confdefs.h. */
114193 #include <poll.h>
114195 main ()
114197 struct pollfd pfd[1];
114198 pfd[0].events = POLLIN;
114199 poll(pfd, 1, 0);
114201 return 0;
114203 _ACEOF
114204 rm -f conftest.$ac_objext conftest$ac_exeext
114205 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114206 (eval $ac_link) 2>conftest.er1
114207 ac_status=$?
114208 grep -v '^ *+' conftest.er1 >conftest.err
114209 rm -f conftest.er1
114210 cat conftest.err >&5
114211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114212 (exit $ac_status); } &&
114213 { ac_try='test -z "$ac_c_werror_flag"
114214 || test ! -s conftest.err'
114215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114216 (eval $ac_try) 2>&5
114217 ac_status=$?
114218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114219 (exit $ac_status); }; } &&
114220 { ac_try='test -s conftest$ac_exeext'
114221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114222 (eval $ac_try) 2>&5
114223 ac_status=$?
114224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114225 (exit $ac_status); }; }; then
114226 glibcxx_cv_POLL=yes
114228 echo "$as_me: failed program was:" >&5
114229 sed 's/^/| /' conftest.$ac_ext >&5
114231 glibcxx_cv_POLL=no
114233 rm -f conftest.err conftest.$ac_objext \
114234 conftest$ac_exeext conftest.$ac_ext
114238 if test $glibcxx_cv_POLL = yes; then
114240 cat >>confdefs.h <<\_ACEOF
114241 #define HAVE_POLL 1
114242 _ACEOF
114245 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
114246 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
114249 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
114250 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
114251 if test "${glibcxx_cv_S_ISREG+set}" = set; then
114252 echo $ECHO_N "(cached) $ECHO_C" >&6
114255 if test x$gcc_no_link = xyes; then
114256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114258 { (exit 1); exit 1; }; }
114260 cat >conftest.$ac_ext <<_ACEOF
114261 /* confdefs.h. */
114262 _ACEOF
114263 cat confdefs.h >>conftest.$ac_ext
114264 cat >>conftest.$ac_ext <<_ACEOF
114265 /* end confdefs.h. */
114266 #include <sys/stat.h>
114268 main ()
114270 struct stat buffer;
114271 fstat(0, &buffer);
114272 S_ISREG(buffer.st_mode);
114274 return 0;
114276 _ACEOF
114277 rm -f conftest.$ac_objext conftest$ac_exeext
114278 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114279 (eval $ac_link) 2>conftest.er1
114280 ac_status=$?
114281 grep -v '^ *+' conftest.er1 >conftest.err
114282 rm -f conftest.er1
114283 cat conftest.err >&5
114284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114285 (exit $ac_status); } &&
114286 { ac_try='test -z "$ac_c_werror_flag"
114287 || test ! -s conftest.err'
114288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114289 (eval $ac_try) 2>&5
114290 ac_status=$?
114291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114292 (exit $ac_status); }; } &&
114293 { ac_try='test -s conftest$ac_exeext'
114294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114295 (eval $ac_try) 2>&5
114296 ac_status=$?
114297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114298 (exit $ac_status); }; }; then
114299 glibcxx_cv_S_ISREG=yes
114301 echo "$as_me: failed program was:" >&5
114302 sed 's/^/| /' conftest.$ac_ext >&5
114304 glibcxx_cv_S_ISREG=no
114306 rm -f conftest.err conftest.$ac_objext \
114307 conftest$ac_exeext conftest.$ac_ext
114311 if test "${glibcxx_cv_S_IFREG+set}" = set; then
114312 echo $ECHO_N "(cached) $ECHO_C" >&6
114315 if test x$gcc_no_link = xyes; then
114316 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114317 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114318 { (exit 1); exit 1; }; }
114320 cat >conftest.$ac_ext <<_ACEOF
114321 /* confdefs.h. */
114322 _ACEOF
114323 cat confdefs.h >>conftest.$ac_ext
114324 cat >>conftest.$ac_ext <<_ACEOF
114325 /* end confdefs.h. */
114326 #include <sys/stat.h>
114328 main ()
114330 struct stat buffer;
114331 fstat(0, &buffer);
114332 S_IFREG & buffer.st_mode;
114334 return 0;
114336 _ACEOF
114337 rm -f conftest.$ac_objext conftest$ac_exeext
114338 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114339 (eval $ac_link) 2>conftest.er1
114340 ac_status=$?
114341 grep -v '^ *+' conftest.er1 >conftest.err
114342 rm -f conftest.er1
114343 cat conftest.err >&5
114344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114345 (exit $ac_status); } &&
114346 { ac_try='test -z "$ac_c_werror_flag"
114347 || test ! -s conftest.err'
114348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114349 (eval $ac_try) 2>&5
114350 ac_status=$?
114351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114352 (exit $ac_status); }; } &&
114353 { ac_try='test -s conftest$ac_exeext'
114354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114355 (eval $ac_try) 2>&5
114356 ac_status=$?
114357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114358 (exit $ac_status); }; }; then
114359 glibcxx_cv_S_IFREG=yes
114361 echo "$as_me: failed program was:" >&5
114362 sed 's/^/| /' conftest.$ac_ext >&5
114364 glibcxx_cv_S_IFREG=no
114366 rm -f conftest.err conftest.$ac_objext \
114367 conftest$ac_exeext conftest.$ac_ext
114371 res=no
114372 if test $glibcxx_cv_S_ISREG = yes; then
114374 cat >>confdefs.h <<\_ACEOF
114375 #define HAVE_S_ISREG 1
114376 _ACEOF
114378 res=S_ISREG
114379 elif test $glibcxx_cv_S_IFREG = yes; then
114381 cat >>confdefs.h <<\_ACEOF
114382 #define HAVE_S_IFREG 1
114383 _ACEOF
114385 res=S_IFREG
114387 echo "$as_me:$LINENO: result: $res" >&5
114388 echo "${ECHO_T}$res" >&6
114391 # For xsputn_2().
114393 for ac_header in sys/uio.h
114395 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
114396 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114397 echo "$as_me:$LINENO: checking for $ac_header" >&5
114398 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114399 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114400 echo $ECHO_N "(cached) $ECHO_C" >&6
114402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114403 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114405 # Is the header compilable?
114406 echo "$as_me:$LINENO: checking $ac_header usability" >&5
114407 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
114408 cat >conftest.$ac_ext <<_ACEOF
114409 /* confdefs.h. */
114410 _ACEOF
114411 cat confdefs.h >>conftest.$ac_ext
114412 cat >>conftest.$ac_ext <<_ACEOF
114413 /* end confdefs.h. */
114414 $ac_includes_default
114415 #include <$ac_header>
114416 _ACEOF
114417 rm -f conftest.$ac_objext
114418 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114419 (eval $ac_compile) 2>conftest.er1
114420 ac_status=$?
114421 grep -v '^ *+' conftest.er1 >conftest.err
114422 rm -f conftest.er1
114423 cat conftest.err >&5
114424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114425 (exit $ac_status); } &&
114426 { ac_try='test -z "$ac_c_werror_flag"
114427 || test ! -s conftest.err'
114428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114429 (eval $ac_try) 2>&5
114430 ac_status=$?
114431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114432 (exit $ac_status); }; } &&
114433 { ac_try='test -s conftest.$ac_objext'
114434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114435 (eval $ac_try) 2>&5
114436 ac_status=$?
114437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114438 (exit $ac_status); }; }; then
114439 ac_header_compiler=yes
114441 echo "$as_me: failed program was:" >&5
114442 sed 's/^/| /' conftest.$ac_ext >&5
114444 ac_header_compiler=no
114446 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114447 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
114448 echo "${ECHO_T}$ac_header_compiler" >&6
114450 # Is the header present?
114451 echo "$as_me:$LINENO: checking $ac_header presence" >&5
114452 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
114453 cat >conftest.$ac_ext <<_ACEOF
114454 /* confdefs.h. */
114455 _ACEOF
114456 cat confdefs.h >>conftest.$ac_ext
114457 cat >>conftest.$ac_ext <<_ACEOF
114458 /* end confdefs.h. */
114459 #include <$ac_header>
114460 _ACEOF
114461 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
114462 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
114463 ac_status=$?
114464 grep -v '^ *+' conftest.er1 >conftest.err
114465 rm -f conftest.er1
114466 cat conftest.err >&5
114467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114468 (exit $ac_status); } >/dev/null; then
114469 if test -s conftest.err; then
114470 ac_cpp_err=$ac_c_preproc_warn_flag
114471 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
114473 ac_cpp_err=
114476 ac_cpp_err=yes
114478 if test -z "$ac_cpp_err"; then
114479 ac_header_preproc=yes
114481 echo "$as_me: failed program was:" >&5
114482 sed 's/^/| /' conftest.$ac_ext >&5
114484 ac_header_preproc=no
114486 rm -f conftest.err conftest.$ac_ext
114487 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
114488 echo "${ECHO_T}$ac_header_preproc" >&6
114490 # So? What about this header?
114491 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
114492 yes:no: )
114493 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
114494 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
114495 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
114496 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
114497 ac_header_preproc=yes
114499 no:yes:* )
114500 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
114501 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
114502 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
114503 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
114504 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
114505 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
114506 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
114507 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
114508 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
114509 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
114510 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
114511 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
114513 cat <<\_ASBOX
114514 ## ----------------------------------------- ##
114515 ## Report this to the package-unused lists. ##
114516 ## ----------------------------------------- ##
114517 _ASBOX
114519 sed "s/^/$as_me: WARNING: /" >&2
114522 echo "$as_me:$LINENO: checking for $ac_header" >&5
114523 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
114524 if eval "test \"\${$as_ac_Header+set}\" = set"; then
114525 echo $ECHO_N "(cached) $ECHO_C" >&6
114527 eval "$as_ac_Header=\$ac_header_preproc"
114529 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
114530 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
114533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
114534 cat >>confdefs.h <<_ACEOF
114535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
114536 _ACEOF
114543 echo "$as_me:$LINENO: checking for writev" >&5
114544 echo $ECHO_N "checking for writev... $ECHO_C" >&6
114545 if test "${glibcxx_cv_WRITEV+set}" = set; then
114546 echo $ECHO_N "(cached) $ECHO_C" >&6
114549 if test x$gcc_no_link = xyes; then
114550 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114551 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114552 { (exit 1); exit 1; }; }
114554 cat >conftest.$ac_ext <<_ACEOF
114555 /* confdefs.h. */
114556 _ACEOF
114557 cat confdefs.h >>conftest.$ac_ext
114558 cat >>conftest.$ac_ext <<_ACEOF
114559 /* end confdefs.h. */
114560 #include <sys/uio.h>
114562 main ()
114564 struct iovec iov[2];
114565 writev(0, iov, 0);
114567 return 0;
114569 _ACEOF
114570 rm -f conftest.$ac_objext conftest$ac_exeext
114571 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114572 (eval $ac_link) 2>conftest.er1
114573 ac_status=$?
114574 grep -v '^ *+' conftest.er1 >conftest.err
114575 rm -f conftest.er1
114576 cat conftest.err >&5
114577 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114578 (exit $ac_status); } &&
114579 { ac_try='test -z "$ac_c_werror_flag"
114580 || test ! -s conftest.err'
114581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114582 (eval $ac_try) 2>&5
114583 ac_status=$?
114584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114585 (exit $ac_status); }; } &&
114586 { ac_try='test -s conftest$ac_exeext'
114587 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114588 (eval $ac_try) 2>&5
114589 ac_status=$?
114590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114591 (exit $ac_status); }; }; then
114592 glibcxx_cv_WRITEV=yes
114594 echo "$as_me: failed program was:" >&5
114595 sed 's/^/| /' conftest.$ac_ext >&5
114597 glibcxx_cv_WRITEV=no
114599 rm -f conftest.err conftest.$ac_objext \
114600 conftest$ac_exeext conftest.$ac_ext
114604 if test $glibcxx_cv_WRITEV = yes; then
114606 cat >>confdefs.h <<\_ACEOF
114607 #define HAVE_WRITEV 1
114608 _ACEOF
114611 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
114612 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
114615 *-qnx6.1* | *-qnx6.2*)
114616 SECTION_FLAGS='-ffunction-sections -fdata-sections'
114619 # If we're not using GNU ld, then there's no point in even trying these
114620 # tests. Check for that first. We should have already tested for gld
114621 # by now (in libtool), but require it now just to be safe...
114622 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
114623 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
114627 # The name set by libtool depends on the version of libtool. Shame on us
114628 # for depending on an impl detail, but c'est la vie. Older versions used
114629 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
114630 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
114631 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
114632 # set (hence we're using an older libtool), then set it.
114633 if test x${with_gnu_ld+set} != xset; then
114634 if test x${ac_cv_prog_gnu_ld+set} != xset; then
114635 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
114636 with_gnu_ld=no
114638 with_gnu_ld=$ac_cv_prog_gnu_ld
114642 # Start by getting the version number. I think the libtool test already
114643 # does some of this, but throws away the result.
114644 glibcxx_ld_is_gold=no
114645 if test x"$with_gnu_ld" = x"yes"; then
114646 echo "$as_me:$LINENO: checking for ld version" >&5
114647 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
114649 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
114650 glibcxx_ld_is_gold=yes
114652 ldver=`$LD --version 2>/dev/null | head -1 | \
114653 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
114655 glibcxx_gnu_ld_version=`echo $ldver | \
114656 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
114657 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
114658 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
114661 # Set --gc-sections.
114662 glibcxx_have_gc_sections=no
114663 if test "$glibcxx_ld_is_gold" = "yes"; then
114664 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
114665 glibcxx_have_gc_sections=yes
114668 glibcxx_gcsections_min_ld=21602
114669 if test x"$with_gnu_ld" = x"yes" &&
114670 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
114671 glibcxx_have_gc_sections=yes
114674 if test "$glibcxx_have_gc_sections" = "yes"; then
114675 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
114676 # NB: This flag only works reliably after 2.16.1. Configure tests
114677 # for this are difficult, so hard wire a value that should work.
114679 ac_test_CFLAGS="${CFLAGS+set}"
114680 ac_save_CFLAGS="$CFLAGS"
114681 CFLAGS='-Wl,--gc-sections'
114683 # Check for -Wl,--gc-sections
114684 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
114685 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
114686 if test x$gcc_no_link = xyes; then
114687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114689 { (exit 1); exit 1; }; }
114691 cat >conftest.$ac_ext <<_ACEOF
114692 /* confdefs.h. */
114693 _ACEOF
114694 cat confdefs.h >>conftest.$ac_ext
114695 cat >>conftest.$ac_ext <<_ACEOF
114696 /* end confdefs.h. */
114697 int one(void) { return 1; }
114698 int two(void) { return 2; }
114701 main ()
114703 two();
114705 return 0;
114707 _ACEOF
114708 rm -f conftest.$ac_objext conftest$ac_exeext
114709 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114710 (eval $ac_link) 2>conftest.er1
114711 ac_status=$?
114712 grep -v '^ *+' conftest.er1 >conftest.err
114713 rm -f conftest.er1
114714 cat conftest.err >&5
114715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114716 (exit $ac_status); } &&
114717 { ac_try='test -z "$ac_c_werror_flag"
114718 || test ! -s conftest.err'
114719 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114720 (eval $ac_try) 2>&5
114721 ac_status=$?
114722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114723 (exit $ac_status); }; } &&
114724 { ac_try='test -s conftest$ac_exeext'
114725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114726 (eval $ac_try) 2>&5
114727 ac_status=$?
114728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114729 (exit $ac_status); }; }; then
114730 ac_gcsections=yes
114732 echo "$as_me: failed program was:" >&5
114733 sed 's/^/| /' conftest.$ac_ext >&5
114735 ac_gcsections=no
114737 rm -f conftest.err conftest.$ac_objext \
114738 conftest$ac_exeext conftest.$ac_ext
114739 if test "$ac_gcsections" = "yes"; then
114740 rm -f conftest.c
114741 touch conftest.c
114742 if $CC -c conftest.c; then
114743 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
114744 grep "Warning: gc-sections option ignored" > /dev/null; then
114745 ac_gcsections=no
114748 rm -f conftest.c conftest.o conftest
114750 if test "$ac_gcsections" = "yes"; then
114751 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
114753 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
114754 echo "${ECHO_T}$ac_gcsections" >&6
114756 if test "$ac_test_CFLAGS" = set; then
114757 CFLAGS="$ac_save_CFLAGS"
114759 # this is the suspicious part
114760 CFLAGS=''
114764 # Set -z,relro.
114765 # Note this is only for shared objects.
114766 ac_ld_relro=no
114767 if test x"$with_gnu_ld" = x"yes"; then
114768 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
114769 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
114770 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
114771 if test -n "$cxx_z_relo"; then
114772 OPT_LDFLAGS="-Wl,-z,relro"
114773 ac_ld_relro=yes
114775 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
114776 echo "${ECHO_T}$ac_ld_relro" >&6
114779 # Set linker optimization flags.
114780 if test x"$with_gnu_ld" = x"yes"; then
114781 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
114789 echo "$as_me:$LINENO: checking for main in -lm" >&5
114790 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
114791 if test "${ac_cv_lib_m_main+set}" = set; then
114792 echo $ECHO_N "(cached) $ECHO_C" >&6
114794 ac_check_lib_save_LIBS=$LIBS
114795 LIBS="-lm $LIBS"
114796 if test x$gcc_no_link = xyes; then
114797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114799 { (exit 1); exit 1; }; }
114801 cat >conftest.$ac_ext <<_ACEOF
114802 /* confdefs.h. */
114803 _ACEOF
114804 cat confdefs.h >>conftest.$ac_ext
114805 cat >>conftest.$ac_ext <<_ACEOF
114806 /* end confdefs.h. */
114810 main ()
114812 main ();
114814 return 0;
114816 _ACEOF
114817 rm -f conftest.$ac_objext conftest$ac_exeext
114818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114819 (eval $ac_link) 2>conftest.er1
114820 ac_status=$?
114821 grep -v '^ *+' conftest.er1 >conftest.err
114822 rm -f conftest.er1
114823 cat conftest.err >&5
114824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114825 (exit $ac_status); } &&
114826 { ac_try='test -z "$ac_c_werror_flag"
114827 || test ! -s conftest.err'
114828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114829 (eval $ac_try) 2>&5
114830 ac_status=$?
114831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114832 (exit $ac_status); }; } &&
114833 { ac_try='test -s conftest$ac_exeext'
114834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114835 (eval $ac_try) 2>&5
114836 ac_status=$?
114837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114838 (exit $ac_status); }; }; then
114839 ac_cv_lib_m_main=yes
114841 echo "$as_me: failed program was:" >&5
114842 sed 's/^/| /' conftest.$ac_ext >&5
114844 ac_cv_lib_m_main=no
114846 rm -f conftest.err conftest.$ac_objext \
114847 conftest$ac_exeext conftest.$ac_ext
114848 LIBS=$ac_check_lib_save_LIBS
114850 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
114851 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
114852 if test $ac_cv_lib_m_main = yes; then
114853 cat >>confdefs.h <<_ACEOF
114854 #define HAVE_LIBM 1
114855 _ACEOF
114857 LIBS="-lm $LIBS"
114862 for ac_func in copysignf
114864 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114865 echo "$as_me:$LINENO: checking for $ac_func" >&5
114866 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114867 if eval "test \"\${$as_ac_var+set}\" = set"; then
114868 echo $ECHO_N "(cached) $ECHO_C" >&6
114870 if test x$gcc_no_link = xyes; then
114871 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114872 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114873 { (exit 1); exit 1; }; }
114875 cat >conftest.$ac_ext <<_ACEOF
114876 /* confdefs.h. */
114877 _ACEOF
114878 cat confdefs.h >>conftest.$ac_ext
114879 cat >>conftest.$ac_ext <<_ACEOF
114880 /* end confdefs.h. */
114881 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114882 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114883 #define $ac_func innocuous_$ac_func
114885 /* System header to define __stub macros and hopefully few prototypes,
114886 which can conflict with char $ac_func (); below.
114887 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114888 <limits.h> exists even on freestanding compilers. */
114890 #ifdef __STDC__
114891 # include <limits.h>
114892 #else
114893 # include <assert.h>
114894 #endif
114896 #undef $ac_func
114898 /* Override any gcc2 internal prototype to avoid an error. */
114899 #ifdef __cplusplus
114900 extern "C"
114902 #endif
114903 /* We use char because int might match the return type of a gcc2
114904 builtin and then its argument prototype would still apply. */
114905 char $ac_func ();
114906 /* The GNU C library defines this for functions which it implements
114907 to always fail with ENOSYS. Some functions are actually named
114908 something starting with __ and the normal name is an alias. */
114909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
114910 choke me
114911 #else
114912 char (*f) () = $ac_func;
114913 #endif
114914 #ifdef __cplusplus
114916 #endif
114919 main ()
114921 return f != $ac_func;
114923 return 0;
114925 _ACEOF
114926 rm -f conftest.$ac_objext conftest$ac_exeext
114927 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114928 (eval $ac_link) 2>conftest.er1
114929 ac_status=$?
114930 grep -v '^ *+' conftest.er1 >conftest.err
114931 rm -f conftest.er1
114932 cat conftest.err >&5
114933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114934 (exit $ac_status); } &&
114935 { ac_try='test -z "$ac_c_werror_flag"
114936 || test ! -s conftest.err'
114937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114938 (eval $ac_try) 2>&5
114939 ac_status=$?
114940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114941 (exit $ac_status); }; } &&
114942 { ac_try='test -s conftest$ac_exeext'
114943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114944 (eval $ac_try) 2>&5
114945 ac_status=$?
114946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114947 (exit $ac_status); }; }; then
114948 eval "$as_ac_var=yes"
114950 echo "$as_me: failed program was:" >&5
114951 sed 's/^/| /' conftest.$ac_ext >&5
114953 eval "$as_ac_var=no"
114955 rm -f conftest.err conftest.$ac_objext \
114956 conftest$ac_exeext conftest.$ac_ext
114958 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
114959 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
114960 if test `eval echo '${'$as_ac_var'}'` = yes; then
114961 cat >>confdefs.h <<_ACEOF
114962 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
114963 _ACEOF
114966 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
114972 for ac_func in __signbit
114974 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
114975 echo "$as_me:$LINENO: checking for $ac_func" >&5
114976 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
114977 if eval "test \"\${$as_ac_var+set}\" = set"; then
114978 echo $ECHO_N "(cached) $ECHO_C" >&6
114980 if test x$gcc_no_link = xyes; then
114981 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114982 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114983 { (exit 1); exit 1; }; }
114985 cat >conftest.$ac_ext <<_ACEOF
114986 /* confdefs.h. */
114987 _ACEOF
114988 cat confdefs.h >>conftest.$ac_ext
114989 cat >>conftest.$ac_ext <<_ACEOF
114990 /* end confdefs.h. */
114991 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
114992 For example, HP-UX 11i <limits.h> declares gettimeofday. */
114993 #define $ac_func innocuous_$ac_func
114995 /* System header to define __stub macros and hopefully few prototypes,
114996 which can conflict with char $ac_func (); below.
114997 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
114998 <limits.h> exists even on freestanding compilers. */
115000 #ifdef __STDC__
115001 # include <limits.h>
115002 #else
115003 # include <assert.h>
115004 #endif
115006 #undef $ac_func
115008 /* Override any gcc2 internal prototype to avoid an error. */
115009 #ifdef __cplusplus
115010 extern "C"
115012 #endif
115013 /* We use char because int might match the return type of a gcc2
115014 builtin and then its argument prototype would still apply. */
115015 char $ac_func ();
115016 /* The GNU C library defines this for functions which it implements
115017 to always fail with ENOSYS. Some functions are actually named
115018 something starting with __ and the normal name is an alias. */
115019 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115020 choke me
115021 #else
115022 char (*f) () = $ac_func;
115023 #endif
115024 #ifdef __cplusplus
115026 #endif
115029 main ()
115031 return f != $ac_func;
115033 return 0;
115035 _ACEOF
115036 rm -f conftest.$ac_objext conftest$ac_exeext
115037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115038 (eval $ac_link) 2>conftest.er1
115039 ac_status=$?
115040 grep -v '^ *+' conftest.er1 >conftest.err
115041 rm -f conftest.er1
115042 cat conftest.err >&5
115043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115044 (exit $ac_status); } &&
115045 { ac_try='test -z "$ac_c_werror_flag"
115046 || test ! -s conftest.err'
115047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115048 (eval $ac_try) 2>&5
115049 ac_status=$?
115050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115051 (exit $ac_status); }; } &&
115052 { ac_try='test -s conftest$ac_exeext'
115053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115054 (eval $ac_try) 2>&5
115055 ac_status=$?
115056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115057 (exit $ac_status); }; }; then
115058 eval "$as_ac_var=yes"
115060 echo "$as_me: failed program was:" >&5
115061 sed 's/^/| /' conftest.$ac_ext >&5
115063 eval "$as_ac_var=no"
115065 rm -f conftest.err conftest.$ac_objext \
115066 conftest$ac_exeext conftest.$ac_ext
115068 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115069 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115070 if test `eval echo '${'$as_ac_var'}'` = yes; then
115071 cat >>confdefs.h <<_ACEOF
115072 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115073 _ACEOF
115076 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
115082 for ac_func in __signbitf
115084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115085 echo "$as_me:$LINENO: checking for $ac_func" >&5
115086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115087 if eval "test \"\${$as_ac_var+set}\" = set"; then
115088 echo $ECHO_N "(cached) $ECHO_C" >&6
115090 if test x$gcc_no_link = xyes; then
115091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115093 { (exit 1); exit 1; }; }
115095 cat >conftest.$ac_ext <<_ACEOF
115096 /* confdefs.h. */
115097 _ACEOF
115098 cat confdefs.h >>conftest.$ac_ext
115099 cat >>conftest.$ac_ext <<_ACEOF
115100 /* end confdefs.h. */
115101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115103 #define $ac_func innocuous_$ac_func
115105 /* System header to define __stub macros and hopefully few prototypes,
115106 which can conflict with char $ac_func (); below.
115107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115108 <limits.h> exists even on freestanding compilers. */
115110 #ifdef __STDC__
115111 # include <limits.h>
115112 #else
115113 # include <assert.h>
115114 #endif
115116 #undef $ac_func
115118 /* Override any gcc2 internal prototype to avoid an error. */
115119 #ifdef __cplusplus
115120 extern "C"
115122 #endif
115123 /* We use char because int might match the return type of a gcc2
115124 builtin and then its argument prototype would still apply. */
115125 char $ac_func ();
115126 /* The GNU C library defines this for functions which it implements
115127 to always fail with ENOSYS. Some functions are actually named
115128 something starting with __ and the normal name is an alias. */
115129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115130 choke me
115131 #else
115132 char (*f) () = $ac_func;
115133 #endif
115134 #ifdef __cplusplus
115136 #endif
115139 main ()
115141 return f != $ac_func;
115143 return 0;
115145 _ACEOF
115146 rm -f conftest.$ac_objext conftest$ac_exeext
115147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115148 (eval $ac_link) 2>conftest.er1
115149 ac_status=$?
115150 grep -v '^ *+' conftest.er1 >conftest.err
115151 rm -f conftest.er1
115152 cat conftest.err >&5
115153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115154 (exit $ac_status); } &&
115155 { ac_try='test -z "$ac_c_werror_flag"
115156 || test ! -s conftest.err'
115157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115158 (eval $ac_try) 2>&5
115159 ac_status=$?
115160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115161 (exit $ac_status); }; } &&
115162 { ac_try='test -s conftest$ac_exeext'
115163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115164 (eval $ac_try) 2>&5
115165 ac_status=$?
115166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115167 (exit $ac_status); }; }; then
115168 eval "$as_ac_var=yes"
115170 echo "$as_me: failed program was:" >&5
115171 sed 's/^/| /' conftest.$ac_ext >&5
115173 eval "$as_ac_var=no"
115175 rm -f conftest.err conftest.$ac_objext \
115176 conftest$ac_exeext conftest.$ac_ext
115178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115180 if test `eval echo '${'$as_ac_var'}'` = yes; then
115181 cat >>confdefs.h <<_ACEOF
115182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115183 _ACEOF
115186 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
115191 if test x$ac_cv_func_copysignl = x"yes"; then
115193 for ac_func in __signbitl
115195 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
115196 echo "$as_me:$LINENO: checking for $ac_func" >&5
115197 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
115198 if eval "test \"\${$as_ac_var+set}\" = set"; then
115199 echo $ECHO_N "(cached) $ECHO_C" >&6
115201 if test x$gcc_no_link = xyes; then
115202 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115203 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115204 { (exit 1); exit 1; }; }
115206 cat >conftest.$ac_ext <<_ACEOF
115207 /* confdefs.h. */
115208 _ACEOF
115209 cat confdefs.h >>conftest.$ac_ext
115210 cat >>conftest.$ac_ext <<_ACEOF
115211 /* end confdefs.h. */
115212 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
115213 For example, HP-UX 11i <limits.h> declares gettimeofday. */
115214 #define $ac_func innocuous_$ac_func
115216 /* System header to define __stub macros and hopefully few prototypes,
115217 which can conflict with char $ac_func (); below.
115218 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
115219 <limits.h> exists even on freestanding compilers. */
115221 #ifdef __STDC__
115222 # include <limits.h>
115223 #else
115224 # include <assert.h>
115225 #endif
115227 #undef $ac_func
115229 /* Override any gcc2 internal prototype to avoid an error. */
115230 #ifdef __cplusplus
115231 extern "C"
115233 #endif
115234 /* We use char because int might match the return type of a gcc2
115235 builtin and then its argument prototype would still apply. */
115236 char $ac_func ();
115237 /* The GNU C library defines this for functions which it implements
115238 to always fail with ENOSYS. Some functions are actually named
115239 something starting with __ and the normal name is an alias. */
115240 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
115241 choke me
115242 #else
115243 char (*f) () = $ac_func;
115244 #endif
115245 #ifdef __cplusplus
115247 #endif
115250 main ()
115252 return f != $ac_func;
115254 return 0;
115256 _ACEOF
115257 rm -f conftest.$ac_objext conftest$ac_exeext
115258 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115259 (eval $ac_link) 2>conftest.er1
115260 ac_status=$?
115261 grep -v '^ *+' conftest.er1 >conftest.err
115262 rm -f conftest.er1
115263 cat conftest.err >&5
115264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115265 (exit $ac_status); } &&
115266 { ac_try='test -z "$ac_c_werror_flag"
115267 || test ! -s conftest.err'
115268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115269 (eval $ac_try) 2>&5
115270 ac_status=$?
115271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115272 (exit $ac_status); }; } &&
115273 { ac_try='test -s conftest$ac_exeext'
115274 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115275 (eval $ac_try) 2>&5
115276 ac_status=$?
115277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115278 (exit $ac_status); }; }; then
115279 eval "$as_ac_var=yes"
115281 echo "$as_me: failed program was:" >&5
115282 sed 's/^/| /' conftest.$ac_ext >&5
115284 eval "$as_ac_var=no"
115286 rm -f conftest.err conftest.$ac_objext \
115287 conftest$ac_exeext conftest.$ac_ext
115289 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
115290 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
115291 if test `eval echo '${'$as_ac_var'}'` = yes; then
115292 cat >>confdefs.h <<_ACEOF
115293 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
115294 _ACEOF
115297 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
115303 # Used in libmath/Makefile.am.
115304 if test -n "$LIBMATHOBJS"; then
115305 need_libmath=yes
115309 cat >>confdefs.h <<\_ACEOF
115310 #define HAVE_COSF 1
115311 _ACEOF
115313 cat >>confdefs.h <<\_ACEOF
115314 #define HAVE_COSL 1
115315 _ACEOF
115317 cat >>confdefs.h <<\_ACEOF
115318 #define HAVE_COSHF 1
115319 _ACEOF
115321 cat >>confdefs.h <<\_ACEOF
115322 #define HAVE_COSHL 1
115323 _ACEOF
115325 cat >>confdefs.h <<\_ACEOF
115326 #define HAVE_LOGF 1
115327 _ACEOF
115329 cat >>confdefs.h <<\_ACEOF
115330 #define HAVE_LOGL 1
115331 _ACEOF
115333 cat >>confdefs.h <<\_ACEOF
115334 #define HAVE_LOG10F 1
115335 _ACEOF
115337 cat >>confdefs.h <<\_ACEOF
115338 #define HAVE_LOG10L 1
115339 _ACEOF
115341 cat >>confdefs.h <<\_ACEOF
115342 #define HAVE_SINF 1
115343 _ACEOF
115345 cat >>confdefs.h <<\_ACEOF
115346 #define HAVE_SINL 1
115347 _ACEOF
115349 cat >>confdefs.h <<\_ACEOF
115350 #define HAVE_SINHF 1
115351 _ACEOF
115353 cat >>confdefs.h <<\_ACEOF
115354 #define HAVE_SINHL 1
115355 _ACEOF
115358 *-solaris*)
115359 case "$target" in
115360 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
115362 # If we're not using GNU ld, then there's no point in even trying these
115363 # tests. Check for that first. We should have already tested for gld
115364 # by now (in libtool), but require it now just to be safe...
115365 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115366 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115370 # The name set by libtool depends on the version of libtool. Shame on us
115371 # for depending on an impl detail, but c'est la vie. Older versions used
115372 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115373 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115374 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
115375 # set (hence we're using an older libtool), then set it.
115376 if test x${with_gnu_ld+set} != xset; then
115377 if test x${ac_cv_prog_gnu_ld+set} != xset; then
115378 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
115379 with_gnu_ld=no
115381 with_gnu_ld=$ac_cv_prog_gnu_ld
115385 # Start by getting the version number. I think the libtool test already
115386 # does some of this, but throws away the result.
115387 glibcxx_ld_is_gold=no
115388 if test x"$with_gnu_ld" = x"yes"; then
115389 echo "$as_me:$LINENO: checking for ld version" >&5
115390 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115392 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115393 glibcxx_ld_is_gold=yes
115395 ldver=`$LD --version 2>/dev/null | head -1 | \
115396 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115398 glibcxx_gnu_ld_version=`echo $ldver | \
115399 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115400 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115401 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115404 # Set --gc-sections.
115405 glibcxx_have_gc_sections=no
115406 if test "$glibcxx_ld_is_gold" = "yes"; then
115407 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115408 glibcxx_have_gc_sections=yes
115411 glibcxx_gcsections_min_ld=21602
115412 if test x"$with_gnu_ld" = x"yes" &&
115413 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115414 glibcxx_have_gc_sections=yes
115417 if test "$glibcxx_have_gc_sections" = "yes"; then
115418 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
115419 # NB: This flag only works reliably after 2.16.1. Configure tests
115420 # for this are difficult, so hard wire a value that should work.
115422 ac_test_CFLAGS="${CFLAGS+set}"
115423 ac_save_CFLAGS="$CFLAGS"
115424 CFLAGS='-Wl,--gc-sections'
115426 # Check for -Wl,--gc-sections
115427 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115428 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115429 if test x$gcc_no_link = xyes; then
115430 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115431 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115432 { (exit 1); exit 1; }; }
115434 cat >conftest.$ac_ext <<_ACEOF
115435 /* confdefs.h. */
115436 _ACEOF
115437 cat confdefs.h >>conftest.$ac_ext
115438 cat >>conftest.$ac_ext <<_ACEOF
115439 /* end confdefs.h. */
115440 int one(void) { return 1; }
115441 int two(void) { return 2; }
115444 main ()
115446 two();
115448 return 0;
115450 _ACEOF
115451 rm -f conftest.$ac_objext conftest$ac_exeext
115452 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115453 (eval $ac_link) 2>conftest.er1
115454 ac_status=$?
115455 grep -v '^ *+' conftest.er1 >conftest.err
115456 rm -f conftest.er1
115457 cat conftest.err >&5
115458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115459 (exit $ac_status); } &&
115460 { ac_try='test -z "$ac_c_werror_flag"
115461 || test ! -s conftest.err'
115462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115463 (eval $ac_try) 2>&5
115464 ac_status=$?
115465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115466 (exit $ac_status); }; } &&
115467 { ac_try='test -s conftest$ac_exeext'
115468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115469 (eval $ac_try) 2>&5
115470 ac_status=$?
115471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115472 (exit $ac_status); }; }; then
115473 ac_gcsections=yes
115475 echo "$as_me: failed program was:" >&5
115476 sed 's/^/| /' conftest.$ac_ext >&5
115478 ac_gcsections=no
115480 rm -f conftest.err conftest.$ac_objext \
115481 conftest$ac_exeext conftest.$ac_ext
115482 if test "$ac_gcsections" = "yes"; then
115483 rm -f conftest.c
115484 touch conftest.c
115485 if $CC -c conftest.c; then
115486 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
115487 grep "Warning: gc-sections option ignored" > /dev/null; then
115488 ac_gcsections=no
115491 rm -f conftest.c conftest.o conftest
115493 if test "$ac_gcsections" = "yes"; then
115494 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
115496 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
115497 echo "${ECHO_T}$ac_gcsections" >&6
115499 if test "$ac_test_CFLAGS" = set; then
115500 CFLAGS="$ac_save_CFLAGS"
115502 # this is the suspicious part
115503 CFLAGS=''
115507 # Set -z,relro.
115508 # Note this is only for shared objects.
115509 ac_ld_relro=no
115510 if test x"$with_gnu_ld" = x"yes"; then
115511 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
115512 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
115513 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
115514 if test -n "$cxx_z_relo"; then
115515 OPT_LDFLAGS="-Wl,-z,relro"
115516 ac_ld_relro=yes
115518 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
115519 echo "${ECHO_T}$ac_ld_relro" >&6
115522 # Set linker optimization flags.
115523 if test x"$with_gnu_ld" = x"yes"; then
115524 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
115530 cat >>confdefs.h <<\_ACEOF
115531 #define HAVE_GETPAGESIZE 1
115532 _ACEOF
115534 cat >>confdefs.h <<\_ACEOF
115535 #define HAVE_SIGSETJMP 1
115536 _ACEOF
115538 cat >>confdefs.h <<\_ACEOF
115539 #define HAVE_MBSTATE_T 1
115540 _ACEOF
115542 cat >>confdefs.h <<\_ACEOF
115543 #define HAVE_POLL 1
115544 _ACEOF
115546 cat >>confdefs.h <<\_ACEOF
115547 #define HAVE_S_ISREG 1
115548 _ACEOF
115550 cat >>confdefs.h <<\_ACEOF
115551 #define HAVE_LC_MESSAGES 1
115552 _ACEOF
115554 cat >>confdefs.h <<\_ACEOF
115555 #define HAVE_FINITE 1
115556 _ACEOF
115558 cat >>confdefs.h <<\_ACEOF
115559 #define HAVE_FPCLASS 1
115560 _ACEOF
115562 cat >>confdefs.h <<\_ACEOF
115563 #define HAVE_GETPAGESIZE 1
115564 _ACEOF
115566 # All of the dependencies for wide character support are here, so
115567 # turn it on.
115568 cat >>confdefs.h <<\_ACEOF
115569 #define _GLIBCXX_USE_WCHAR_T 1
115570 _ACEOF
115572 # Are these tested for even when cross?
115573 cat >>confdefs.h <<\_ACEOF
115574 #define HAVE_FLOAT_H 1
115575 _ACEOF
115577 cat >>confdefs.h <<\_ACEOF
115578 #define HAVE_IEEEFP_H 1
115579 _ACEOF
115581 cat >>confdefs.h <<\_ACEOF
115582 #define HAVE_INTTYPES_H 1
115583 _ACEOF
115585 cat >>confdefs.h <<\_ACEOF
115586 #define HAVE_LOCALE_H 1
115587 _ACEOF
115589 cat >>confdefs.h <<\_ACEOF
115590 #define HAVE_NAN_H 1
115591 _ACEOF
115593 cat >>confdefs.h <<\_ACEOF
115594 #define HAVE_SYS_FILIO_H 1
115595 _ACEOF
115597 cat >>confdefs.h <<\_ACEOF
115598 #define HAVE_SYS_IOCTL_H 1
115599 _ACEOF
115601 cat >>confdefs.h <<\_ACEOF
115602 #define HAVE_SYS_ISA_DEFS_H 1
115603 _ACEOF
115605 cat >>confdefs.h <<\_ACEOF
115606 #define HAVE_SYS_RESOURCE_H 1
115607 _ACEOF
115609 cat >>confdefs.h <<\_ACEOF
115610 #define HAVE_SYS_TIME_H 1
115611 _ACEOF
115613 cat >>confdefs.h <<\_ACEOF
115614 #define HAVE_SYS_TYPES_H 1
115615 _ACEOF
115617 cat >>confdefs.h <<\_ACEOF
115618 #define HAVE_UNISTD_H 1
115619 _ACEOF
115621 cat >>confdefs.h <<\_ACEOF
115622 #define HAVE_WCHAR_H 1
115623 _ACEOF
115625 cat >>confdefs.h <<\_ACEOF
115626 #define HAVE_WCTYPE_H 1
115627 _ACEOF
115629 cat >>confdefs.h <<\_ACEOF
115630 #define HAVE_LIBM 1
115631 _ACEOF
115635 case "$target" in
115636 sparc*-*-solaris2.8 | sparc*-*-solaris2.9 | sparc*-*-solaris2.10)
115637 # I saw these on sparc-sun-solaris2.8, but not 2.6, and not on i386
115638 cat >>confdefs.h <<\_ACEOF
115639 #define HAVE___BUILTIN_ABS 1
115640 _ACEOF
115642 cat >>confdefs.h <<\_ACEOF
115643 #define HAVE___BUILTIN_LABS 1
115644 _ACEOF
115646 cat >>confdefs.h <<\_ACEOF
115647 #define HAVE___BUILTIN_FABS 1
115648 _ACEOF
115650 cat >>confdefs.h <<\_ACEOF
115651 #define HAVE___BUILTIN_FABSF 1
115652 _ACEOF
115654 cat >>confdefs.h <<\_ACEOF
115655 #define HAVE___BUILTIN_FABSL 1
115656 _ACEOF
115658 cat >>confdefs.h <<\_ACEOF
115659 #define HAVE___BUILTIN_COS 1
115660 _ACEOF
115662 cat >>confdefs.h <<\_ACEOF
115663 #define HAVE___BUILTIN_COSF 1
115664 _ACEOF
115666 cat >>confdefs.h <<\_ACEOF
115667 #define HAVE___BUILTIN_SIN 1
115668 _ACEOF
115670 cat >>confdefs.h <<\_ACEOF
115671 #define HAVE___BUILTIN_SINF 1
115672 _ACEOF
115676 case "$target" in
115677 *-*-solaris2.10)
115678 # These two C99 functions are present only in Solaris >= 10
115679 cat >>confdefs.h <<\_ACEOF
115680 #define HAVE_STRTOF 1
115681 _ACEOF
115683 cat >>confdefs.h <<\_ACEOF
115684 #define HAVE_STRTOLD 1
115685 _ACEOF
115689 cat >>confdefs.h <<\_ACEOF
115690 #define HAVE_MMAP 1
115691 _ACEOF
115693 cat >>confdefs.h <<\_ACEOF
115694 #define HAVE_COPYSIGN 1
115695 _ACEOF
115697 cat >>confdefs.h <<\_ACEOF
115698 #define HAVE_ISNAN 1
115699 _ACEOF
115701 cat >>confdefs.h <<\_ACEOF
115702 #define HAVE_ISNANF 1
115703 _ACEOF
115705 cat >>confdefs.h <<\_ACEOF
115706 #define HAVE_MODFF 1
115707 _ACEOF
115709 cat >>confdefs.h <<\_ACEOF
115710 #define HAVE_HYPOT 1
115711 _ACEOF
115714 *-tpf)
115723 for ac_header in nan.h endian.h machine/endian.h \
115724 sys/param.h sys/types.h locale.h float.h inttypes.h
115726 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
115727 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115728 echo "$as_me:$LINENO: checking for $ac_header" >&5
115729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115731 echo $ECHO_N "(cached) $ECHO_C" >&6
115733 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115734 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115736 # Is the header compilable?
115737 echo "$as_me:$LINENO: checking $ac_header usability" >&5
115738 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
115739 cat >conftest.$ac_ext <<_ACEOF
115740 /* confdefs.h. */
115741 _ACEOF
115742 cat confdefs.h >>conftest.$ac_ext
115743 cat >>conftest.$ac_ext <<_ACEOF
115744 /* end confdefs.h. */
115745 $ac_includes_default
115746 #include <$ac_header>
115747 _ACEOF
115748 rm -f conftest.$ac_objext
115749 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115750 (eval $ac_compile) 2>conftest.er1
115751 ac_status=$?
115752 grep -v '^ *+' conftest.er1 >conftest.err
115753 rm -f conftest.er1
115754 cat conftest.err >&5
115755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115756 (exit $ac_status); } &&
115757 { ac_try='test -z "$ac_c_werror_flag"
115758 || test ! -s conftest.err'
115759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115760 (eval $ac_try) 2>&5
115761 ac_status=$?
115762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115763 (exit $ac_status); }; } &&
115764 { ac_try='test -s conftest.$ac_objext'
115765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115766 (eval $ac_try) 2>&5
115767 ac_status=$?
115768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115769 (exit $ac_status); }; }; then
115770 ac_header_compiler=yes
115772 echo "$as_me: failed program was:" >&5
115773 sed 's/^/| /' conftest.$ac_ext >&5
115775 ac_header_compiler=no
115777 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115778 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
115779 echo "${ECHO_T}$ac_header_compiler" >&6
115781 # Is the header present?
115782 echo "$as_me:$LINENO: checking $ac_header presence" >&5
115783 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
115784 cat >conftest.$ac_ext <<_ACEOF
115785 /* confdefs.h. */
115786 _ACEOF
115787 cat confdefs.h >>conftest.$ac_ext
115788 cat >>conftest.$ac_ext <<_ACEOF
115789 /* end confdefs.h. */
115790 #include <$ac_header>
115791 _ACEOF
115792 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
115793 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
115794 ac_status=$?
115795 grep -v '^ *+' conftest.er1 >conftest.err
115796 rm -f conftest.er1
115797 cat conftest.err >&5
115798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115799 (exit $ac_status); } >/dev/null; then
115800 if test -s conftest.err; then
115801 ac_cpp_err=$ac_c_preproc_warn_flag
115802 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
115804 ac_cpp_err=
115807 ac_cpp_err=yes
115809 if test -z "$ac_cpp_err"; then
115810 ac_header_preproc=yes
115812 echo "$as_me: failed program was:" >&5
115813 sed 's/^/| /' conftest.$ac_ext >&5
115815 ac_header_preproc=no
115817 rm -f conftest.err conftest.$ac_ext
115818 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
115819 echo "${ECHO_T}$ac_header_preproc" >&6
115821 # So? What about this header?
115822 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
115823 yes:no: )
115824 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
115825 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
115826 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
115827 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
115828 ac_header_preproc=yes
115830 no:yes:* )
115831 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
115832 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
115833 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
115834 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
115835 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
115836 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
115837 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
115838 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
115839 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
115840 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
115841 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
115842 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
115844 cat <<\_ASBOX
115845 ## ----------------------------------------- ##
115846 ## Report this to the package-unused lists. ##
115847 ## ----------------------------------------- ##
115848 _ASBOX
115850 sed "s/^/$as_me: WARNING: /" >&2
115853 echo "$as_me:$LINENO: checking for $ac_header" >&5
115854 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
115855 if eval "test \"\${$as_ac_Header+set}\" = set"; then
115856 echo $ECHO_N "(cached) $ECHO_C" >&6
115858 eval "$as_ac_Header=\$ac_header_preproc"
115860 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
115861 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
115864 if test `eval echo '${'$as_ac_Header'}'` = yes; then
115865 cat >>confdefs.h <<_ACEOF
115866 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
115867 _ACEOF
115873 SECTION_FLAGS='-ffunction-sections -fdata-sections'
115876 # If we're not using GNU ld, then there's no point in even trying these
115877 # tests. Check for that first. We should have already tested for gld
115878 # by now (in libtool), but require it now just to be safe...
115879 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
115880 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
115884 # The name set by libtool depends on the version of libtool. Shame on us
115885 # for depending on an impl detail, but c'est la vie. Older versions used
115886 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
115887 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
115888 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
115889 # set (hence we're using an older libtool), then set it.
115890 if test x${with_gnu_ld+set} != xset; then
115891 if test x${ac_cv_prog_gnu_ld+set} != xset; then
115892 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
115893 with_gnu_ld=no
115895 with_gnu_ld=$ac_cv_prog_gnu_ld
115899 # Start by getting the version number. I think the libtool test already
115900 # does some of this, but throws away the result.
115901 glibcxx_ld_is_gold=no
115902 if test x"$with_gnu_ld" = x"yes"; then
115903 echo "$as_me:$LINENO: checking for ld version" >&5
115904 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
115906 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
115907 glibcxx_ld_is_gold=yes
115909 ldver=`$LD --version 2>/dev/null | head -1 | \
115910 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
115912 glibcxx_gnu_ld_version=`echo $ldver | \
115913 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
115914 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
115915 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
115918 # Set --gc-sections.
115919 glibcxx_have_gc_sections=no
115920 if test "$glibcxx_ld_is_gold" = "yes"; then
115921 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
115922 glibcxx_have_gc_sections=yes
115925 glibcxx_gcsections_min_ld=21602
115926 if test x"$with_gnu_ld" = x"yes" &&
115927 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
115928 glibcxx_have_gc_sections=yes
115931 if test "$glibcxx_have_gc_sections" = "yes"; then
115932 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
115933 # NB: This flag only works reliably after 2.16.1. Configure tests
115934 # for this are difficult, so hard wire a value that should work.
115936 ac_test_CFLAGS="${CFLAGS+set}"
115937 ac_save_CFLAGS="$CFLAGS"
115938 CFLAGS='-Wl,--gc-sections'
115940 # Check for -Wl,--gc-sections
115941 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
115942 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
115943 if test x$gcc_no_link = xyes; then
115944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
115945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
115946 { (exit 1); exit 1; }; }
115948 cat >conftest.$ac_ext <<_ACEOF
115949 /* confdefs.h. */
115950 _ACEOF
115951 cat confdefs.h >>conftest.$ac_ext
115952 cat >>conftest.$ac_ext <<_ACEOF
115953 /* end confdefs.h. */
115954 int one(void) { return 1; }
115955 int two(void) { return 2; }
115958 main ()
115960 two();
115962 return 0;
115964 _ACEOF
115965 rm -f conftest.$ac_objext conftest$ac_exeext
115966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115967 (eval $ac_link) 2>conftest.er1
115968 ac_status=$?
115969 grep -v '^ *+' conftest.er1 >conftest.err
115970 rm -f conftest.er1
115971 cat conftest.err >&5
115972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115973 (exit $ac_status); } &&
115974 { ac_try='test -z "$ac_c_werror_flag"
115975 || test ! -s conftest.err'
115976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115977 (eval $ac_try) 2>&5
115978 ac_status=$?
115979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115980 (exit $ac_status); }; } &&
115981 { ac_try='test -s conftest$ac_exeext'
115982 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115983 (eval $ac_try) 2>&5
115984 ac_status=$?
115985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115986 (exit $ac_status); }; }; then
115987 ac_gcsections=yes
115989 echo "$as_me: failed program was:" >&5
115990 sed 's/^/| /' conftest.$ac_ext >&5
115992 ac_gcsections=no
115994 rm -f conftest.err conftest.$ac_objext \
115995 conftest$ac_exeext conftest.$ac_ext
115996 if test "$ac_gcsections" = "yes"; then
115997 rm -f conftest.c
115998 touch conftest.c
115999 if $CC -c conftest.c; then
116000 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
116001 grep "Warning: gc-sections option ignored" > /dev/null; then
116002 ac_gcsections=no
116005 rm -f conftest.c conftest.o conftest
116007 if test "$ac_gcsections" = "yes"; then
116008 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
116010 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
116011 echo "${ECHO_T}$ac_gcsections" >&6
116013 if test "$ac_test_CFLAGS" = set; then
116014 CFLAGS="$ac_save_CFLAGS"
116016 # this is the suspicious part
116017 CFLAGS=''
116021 # Set -z,relro.
116022 # Note this is only for shared objects.
116023 ac_ld_relro=no
116024 if test x"$with_gnu_ld" = x"yes"; then
116025 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
116026 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
116027 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
116028 if test -n "$cxx_z_relo"; then
116029 OPT_LDFLAGS="-Wl,-z,relro"
116030 ac_ld_relro=yes
116032 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
116033 echo "${ECHO_T}$ac_ld_relro" >&6
116036 # Set linker optimization flags.
116037 if test x"$with_gnu_ld" = x"yes"; then
116038 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
116046 echo "$as_me:$LINENO: checking for main in -lm" >&5
116047 echo $ECHO_N "checking for main in -lm... $ECHO_C" >&6
116048 if test "${ac_cv_lib_m_main+set}" = set; then
116049 echo $ECHO_N "(cached) $ECHO_C" >&6
116051 ac_check_lib_save_LIBS=$LIBS
116052 LIBS="-lm $LIBS"
116053 if test x$gcc_no_link = xyes; then
116054 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116055 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116056 { (exit 1); exit 1; }; }
116058 cat >conftest.$ac_ext <<_ACEOF
116059 /* confdefs.h. */
116060 _ACEOF
116061 cat confdefs.h >>conftest.$ac_ext
116062 cat >>conftest.$ac_ext <<_ACEOF
116063 /* end confdefs.h. */
116067 main ()
116069 main ();
116071 return 0;
116073 _ACEOF
116074 rm -f conftest.$ac_objext conftest$ac_exeext
116075 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116076 (eval $ac_link) 2>conftest.er1
116077 ac_status=$?
116078 grep -v '^ *+' conftest.er1 >conftest.err
116079 rm -f conftest.er1
116080 cat conftest.err >&5
116081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116082 (exit $ac_status); } &&
116083 { ac_try='test -z "$ac_c_werror_flag"
116084 || test ! -s conftest.err'
116085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116086 (eval $ac_try) 2>&5
116087 ac_status=$?
116088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116089 (exit $ac_status); }; } &&
116090 { ac_try='test -s conftest$ac_exeext'
116091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116092 (eval $ac_try) 2>&5
116093 ac_status=$?
116094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116095 (exit $ac_status); }; }; then
116096 ac_cv_lib_m_main=yes
116098 echo "$as_me: failed program was:" >&5
116099 sed 's/^/| /' conftest.$ac_ext >&5
116101 ac_cv_lib_m_main=no
116103 rm -f conftest.err conftest.$ac_objext \
116104 conftest$ac_exeext conftest.$ac_ext
116105 LIBS=$ac_check_lib_save_LIBS
116107 echo "$as_me:$LINENO: result: $ac_cv_lib_m_main" >&5
116108 echo "${ECHO_T}$ac_cv_lib_m_main" >&6
116109 if test $ac_cv_lib_m_main = yes; then
116110 cat >>confdefs.h <<_ACEOF
116111 #define HAVE_LIBM 1
116112 _ACEOF
116114 LIBS="-lm $LIBS"
116119 for ac_func in copysignf
116121 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116122 echo "$as_me:$LINENO: checking for $ac_func" >&5
116123 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116124 if eval "test \"\${$as_ac_var+set}\" = set"; then
116125 echo $ECHO_N "(cached) $ECHO_C" >&6
116127 if test x$gcc_no_link = xyes; then
116128 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116129 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116130 { (exit 1); exit 1; }; }
116132 cat >conftest.$ac_ext <<_ACEOF
116133 /* confdefs.h. */
116134 _ACEOF
116135 cat confdefs.h >>conftest.$ac_ext
116136 cat >>conftest.$ac_ext <<_ACEOF
116137 /* end confdefs.h. */
116138 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116139 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116140 #define $ac_func innocuous_$ac_func
116142 /* System header to define __stub macros and hopefully few prototypes,
116143 which can conflict with char $ac_func (); below.
116144 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116145 <limits.h> exists even on freestanding compilers. */
116147 #ifdef __STDC__
116148 # include <limits.h>
116149 #else
116150 # include <assert.h>
116151 #endif
116153 #undef $ac_func
116155 /* Override any gcc2 internal prototype to avoid an error. */
116156 #ifdef __cplusplus
116157 extern "C"
116159 #endif
116160 /* We use char because int might match the return type of a gcc2
116161 builtin and then its argument prototype would still apply. */
116162 char $ac_func ();
116163 /* The GNU C library defines this for functions which it implements
116164 to always fail with ENOSYS. Some functions are actually named
116165 something starting with __ and the normal name is an alias. */
116166 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116167 choke me
116168 #else
116169 char (*f) () = $ac_func;
116170 #endif
116171 #ifdef __cplusplus
116173 #endif
116176 main ()
116178 return f != $ac_func;
116180 return 0;
116182 _ACEOF
116183 rm -f conftest.$ac_objext conftest$ac_exeext
116184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116185 (eval $ac_link) 2>conftest.er1
116186 ac_status=$?
116187 grep -v '^ *+' conftest.er1 >conftest.err
116188 rm -f conftest.er1
116189 cat conftest.err >&5
116190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116191 (exit $ac_status); } &&
116192 { ac_try='test -z "$ac_c_werror_flag"
116193 || test ! -s conftest.err'
116194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116195 (eval $ac_try) 2>&5
116196 ac_status=$?
116197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116198 (exit $ac_status); }; } &&
116199 { ac_try='test -s conftest$ac_exeext'
116200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116201 (eval $ac_try) 2>&5
116202 ac_status=$?
116203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116204 (exit $ac_status); }; }; then
116205 eval "$as_ac_var=yes"
116207 echo "$as_me: failed program was:" >&5
116208 sed 's/^/| /' conftest.$ac_ext >&5
116210 eval "$as_ac_var=no"
116212 rm -f conftest.err conftest.$ac_objext \
116213 conftest$ac_exeext conftest.$ac_ext
116215 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116216 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116217 if test `eval echo '${'$as_ac_var'}'` = yes; then
116218 cat >>confdefs.h <<_ACEOF
116219 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116220 _ACEOF
116223 LIBMATHOBJS="$LIBMATHOBJS ${ac_func}.lo"
116229 for ac_func in __signbit
116231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116232 echo "$as_me:$LINENO: checking for $ac_func" >&5
116233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116234 if eval "test \"\${$as_ac_var+set}\" = set"; then
116235 echo $ECHO_N "(cached) $ECHO_C" >&6
116237 if test x$gcc_no_link = xyes; then
116238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116240 { (exit 1); exit 1; }; }
116242 cat >conftest.$ac_ext <<_ACEOF
116243 /* confdefs.h. */
116244 _ACEOF
116245 cat confdefs.h >>conftest.$ac_ext
116246 cat >>conftest.$ac_ext <<_ACEOF
116247 /* end confdefs.h. */
116248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116250 #define $ac_func innocuous_$ac_func
116252 /* System header to define __stub macros and hopefully few prototypes,
116253 which can conflict with char $ac_func (); below.
116254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116255 <limits.h> exists even on freestanding compilers. */
116257 #ifdef __STDC__
116258 # include <limits.h>
116259 #else
116260 # include <assert.h>
116261 #endif
116263 #undef $ac_func
116265 /* Override any gcc2 internal prototype to avoid an error. */
116266 #ifdef __cplusplus
116267 extern "C"
116269 #endif
116270 /* We use char because int might match the return type of a gcc2
116271 builtin and then its argument prototype would still apply. */
116272 char $ac_func ();
116273 /* The GNU C library defines this for functions which it implements
116274 to always fail with ENOSYS. Some functions are actually named
116275 something starting with __ and the normal name is an alias. */
116276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116277 choke me
116278 #else
116279 char (*f) () = $ac_func;
116280 #endif
116281 #ifdef __cplusplus
116283 #endif
116286 main ()
116288 return f != $ac_func;
116290 return 0;
116292 _ACEOF
116293 rm -f conftest.$ac_objext conftest$ac_exeext
116294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116295 (eval $ac_link) 2>conftest.er1
116296 ac_status=$?
116297 grep -v '^ *+' conftest.er1 >conftest.err
116298 rm -f conftest.er1
116299 cat conftest.err >&5
116300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116301 (exit $ac_status); } &&
116302 { ac_try='test -z "$ac_c_werror_flag"
116303 || test ! -s conftest.err'
116304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116305 (eval $ac_try) 2>&5
116306 ac_status=$?
116307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116308 (exit $ac_status); }; } &&
116309 { ac_try='test -s conftest$ac_exeext'
116310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116311 (eval $ac_try) 2>&5
116312 ac_status=$?
116313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116314 (exit $ac_status); }; }; then
116315 eval "$as_ac_var=yes"
116317 echo "$as_me: failed program was:" >&5
116318 sed 's/^/| /' conftest.$ac_ext >&5
116320 eval "$as_ac_var=no"
116322 rm -f conftest.err conftest.$ac_objext \
116323 conftest$ac_exeext conftest.$ac_ext
116325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116327 if test `eval echo '${'$as_ac_var'}'` = yes; then
116328 cat >>confdefs.h <<_ACEOF
116329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116330 _ACEOF
116333 LIBMATHOBJS="$LIBMATHOBJS signbit.lo"
116339 for ac_func in __signbitf
116341 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116342 echo "$as_me:$LINENO: checking for $ac_func" >&5
116343 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116344 if eval "test \"\${$as_ac_var+set}\" = set"; then
116345 echo $ECHO_N "(cached) $ECHO_C" >&6
116347 if test x$gcc_no_link = xyes; then
116348 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116349 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116350 { (exit 1); exit 1; }; }
116352 cat >conftest.$ac_ext <<_ACEOF
116353 /* confdefs.h. */
116354 _ACEOF
116355 cat confdefs.h >>conftest.$ac_ext
116356 cat >>conftest.$ac_ext <<_ACEOF
116357 /* end confdefs.h. */
116358 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116359 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116360 #define $ac_func innocuous_$ac_func
116362 /* System header to define __stub macros and hopefully few prototypes,
116363 which can conflict with char $ac_func (); below.
116364 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116365 <limits.h> exists even on freestanding compilers. */
116367 #ifdef __STDC__
116368 # include <limits.h>
116369 #else
116370 # include <assert.h>
116371 #endif
116373 #undef $ac_func
116375 /* Override any gcc2 internal prototype to avoid an error. */
116376 #ifdef __cplusplus
116377 extern "C"
116379 #endif
116380 /* We use char because int might match the return type of a gcc2
116381 builtin and then its argument prototype would still apply. */
116382 char $ac_func ();
116383 /* The GNU C library defines this for functions which it implements
116384 to always fail with ENOSYS. Some functions are actually named
116385 something starting with __ and the normal name is an alias. */
116386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116387 choke me
116388 #else
116389 char (*f) () = $ac_func;
116390 #endif
116391 #ifdef __cplusplus
116393 #endif
116396 main ()
116398 return f != $ac_func;
116400 return 0;
116402 _ACEOF
116403 rm -f conftest.$ac_objext conftest$ac_exeext
116404 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116405 (eval $ac_link) 2>conftest.er1
116406 ac_status=$?
116407 grep -v '^ *+' conftest.er1 >conftest.err
116408 rm -f conftest.er1
116409 cat conftest.err >&5
116410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116411 (exit $ac_status); } &&
116412 { ac_try='test -z "$ac_c_werror_flag"
116413 || test ! -s conftest.err'
116414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116415 (eval $ac_try) 2>&5
116416 ac_status=$?
116417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116418 (exit $ac_status); }; } &&
116419 { ac_try='test -s conftest$ac_exeext'
116420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116421 (eval $ac_try) 2>&5
116422 ac_status=$?
116423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116424 (exit $ac_status); }; }; then
116425 eval "$as_ac_var=yes"
116427 echo "$as_me: failed program was:" >&5
116428 sed 's/^/| /' conftest.$ac_ext >&5
116430 eval "$as_ac_var=no"
116432 rm -f conftest.err conftest.$ac_objext \
116433 conftest$ac_exeext conftest.$ac_ext
116435 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116436 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116437 if test `eval echo '${'$as_ac_var'}'` = yes; then
116438 cat >>confdefs.h <<_ACEOF
116439 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116440 _ACEOF
116443 LIBMATHOBJS="$LIBMATHOBJS signbitf.lo"
116448 if test x$ac_cv_func_copysignl = x"yes"; then
116450 for ac_func in __signbitl
116452 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
116453 echo "$as_me:$LINENO: checking for $ac_func" >&5
116454 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
116455 if eval "test \"\${$as_ac_var+set}\" = set"; then
116456 echo $ECHO_N "(cached) $ECHO_C" >&6
116458 if test x$gcc_no_link = xyes; then
116459 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116460 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116461 { (exit 1); exit 1; }; }
116463 cat >conftest.$ac_ext <<_ACEOF
116464 /* confdefs.h. */
116465 _ACEOF
116466 cat confdefs.h >>conftest.$ac_ext
116467 cat >>conftest.$ac_ext <<_ACEOF
116468 /* end confdefs.h. */
116469 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
116470 For example, HP-UX 11i <limits.h> declares gettimeofday. */
116471 #define $ac_func innocuous_$ac_func
116473 /* System header to define __stub macros and hopefully few prototypes,
116474 which can conflict with char $ac_func (); below.
116475 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
116476 <limits.h> exists even on freestanding compilers. */
116478 #ifdef __STDC__
116479 # include <limits.h>
116480 #else
116481 # include <assert.h>
116482 #endif
116484 #undef $ac_func
116486 /* Override any gcc2 internal prototype to avoid an error. */
116487 #ifdef __cplusplus
116488 extern "C"
116490 #endif
116491 /* We use char because int might match the return type of a gcc2
116492 builtin and then its argument prototype would still apply. */
116493 char $ac_func ();
116494 /* The GNU C library defines this for functions which it implements
116495 to always fail with ENOSYS. Some functions are actually named
116496 something starting with __ and the normal name is an alias. */
116497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
116498 choke me
116499 #else
116500 char (*f) () = $ac_func;
116501 #endif
116502 #ifdef __cplusplus
116504 #endif
116507 main ()
116509 return f != $ac_func;
116511 return 0;
116513 _ACEOF
116514 rm -f conftest.$ac_objext conftest$ac_exeext
116515 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116516 (eval $ac_link) 2>conftest.er1
116517 ac_status=$?
116518 grep -v '^ *+' conftest.er1 >conftest.err
116519 rm -f conftest.er1
116520 cat conftest.err >&5
116521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116522 (exit $ac_status); } &&
116523 { ac_try='test -z "$ac_c_werror_flag"
116524 || test ! -s conftest.err'
116525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116526 (eval $ac_try) 2>&5
116527 ac_status=$?
116528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116529 (exit $ac_status); }; } &&
116530 { ac_try='test -s conftest$ac_exeext'
116531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116532 (eval $ac_try) 2>&5
116533 ac_status=$?
116534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116535 (exit $ac_status); }; }; then
116536 eval "$as_ac_var=yes"
116538 echo "$as_me: failed program was:" >&5
116539 sed 's/^/| /' conftest.$ac_ext >&5
116541 eval "$as_ac_var=no"
116543 rm -f conftest.err conftest.$ac_objext \
116544 conftest$ac_exeext conftest.$ac_ext
116546 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
116547 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
116548 if test `eval echo '${'$as_ac_var'}'` = yes; then
116549 cat >>confdefs.h <<_ACEOF
116550 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
116551 _ACEOF
116554 LIBMATHOBJS="$LIBMATHOBJS signbitl.lo"
116560 # Used in libmath/Makefile.am.
116561 if test -n "$LIBMATHOBJS"; then
116562 need_libmath=yes
116566 cat >>confdefs.h <<\_ACEOF
116567 #define HAVE_COPYSIGN 1
116568 _ACEOF
116570 cat >>confdefs.h <<\_ACEOF
116571 #define HAVE_COPYSIGNF 1
116572 _ACEOF
116574 cat >>confdefs.h <<\_ACEOF
116575 #define HAVE_FINITE 1
116576 _ACEOF
116578 cat >>confdefs.h <<\_ACEOF
116579 #define HAVE_FINITEF 1
116580 _ACEOF
116582 cat >>confdefs.h <<\_ACEOF
116583 #define HAVE_FREXPF 1
116584 _ACEOF
116586 cat >>confdefs.h <<\_ACEOF
116587 #define HAVE_HYPOTF 1
116588 _ACEOF
116590 cat >>confdefs.h <<\_ACEOF
116591 #define HAVE_ISINF 1
116592 _ACEOF
116594 cat >>confdefs.h <<\_ACEOF
116595 #define HAVE_ISINFF 1
116596 _ACEOF
116598 cat >>confdefs.h <<\_ACEOF
116599 #define HAVE_ISNAN 1
116600 _ACEOF
116602 cat >>confdefs.h <<\_ACEOF
116603 #define HAVE_ISNANF 1
116604 _ACEOF
116606 cat >>confdefs.h <<\_ACEOF
116607 #define HAVE_SINCOS 1
116608 _ACEOF
116610 cat >>confdefs.h <<\_ACEOF
116611 #define HAVE_SINCOSF 1
116612 _ACEOF
116614 if test x"long_double_math_on_this_cpu" = x"yes"; then
116615 cat >>confdefs.h <<\_ACEOF
116616 #define HAVE_FINITEL 1
116617 _ACEOF
116619 cat >>confdefs.h <<\_ACEOF
116620 #define HAVE_HYPOTL 1
116621 _ACEOF
116623 cat >>confdefs.h <<\_ACEOF
116624 #define HAVE_ISINFL 1
116625 _ACEOF
116627 cat >>confdefs.h <<\_ACEOF
116628 #define HAVE_ISNANL 1
116629 _ACEOF
116633 *-vxworks)
116634 cat >>confdefs.h <<\_ACEOF
116635 #define HAVE_MMAP 1
116636 _ACEOF
116638 cat >>confdefs.h <<\_ACEOF
116639 #define HAVE_ACOSF 1
116640 _ACEOF
116642 cat >>confdefs.h <<\_ACEOF
116643 #define HAVE_ASINF 1
116644 _ACEOF
116646 cat >>confdefs.h <<\_ACEOF
116647 #define HAVE_ATAN2F 1
116648 _ACEOF
116650 cat >>confdefs.h <<\_ACEOF
116651 #define HAVE_ATANF 1
116652 _ACEOF
116654 cat >>confdefs.h <<\_ACEOF
116655 #define HAVE_CEILF 1
116656 _ACEOF
116658 cat >>confdefs.h <<\_ACEOF
116659 #define HAVE_COSF 1
116660 _ACEOF
116662 cat >>confdefs.h <<\_ACEOF
116663 #define HAVE_COSHF 1
116664 _ACEOF
116666 cat >>confdefs.h <<\_ACEOF
116667 #define HAVE_EXPF 1
116668 _ACEOF
116670 cat >>confdefs.h <<\_ACEOF
116671 #define HAVE_FABSF 1
116672 _ACEOF
116674 cat >>confdefs.h <<\_ACEOF
116675 #define HAVE_FLOORF 1
116676 _ACEOF
116678 cat >>confdefs.h <<\_ACEOF
116679 #define HAVE_FMODF 1
116680 _ACEOF
116682 cat >>confdefs.h <<\_ACEOF
116683 #define HAVE_HYPOT 1
116684 _ACEOF
116686 cat >>confdefs.h <<\_ACEOF
116687 #define HAVE_LOG10F 1
116688 _ACEOF
116690 cat >>confdefs.h <<\_ACEOF
116691 #define HAVE_LOGF 1
116692 _ACEOF
116694 cat >>confdefs.h <<\_ACEOF
116695 #define HAVE_POWF 1
116696 _ACEOF
116698 cat >>confdefs.h <<\_ACEOF
116699 #define HAVE_SINF 1
116700 _ACEOF
116702 cat >>confdefs.h <<\_ACEOF
116703 #define HAVE_SINHF 1
116704 _ACEOF
116706 cat >>confdefs.h <<\_ACEOF
116707 #define HAVE_SQRTF 1
116708 _ACEOF
116710 cat >>confdefs.h <<\_ACEOF
116711 #define HAVE_TANF 1
116712 _ACEOF
116714 cat >>confdefs.h <<\_ACEOF
116715 #define HAVE_TANHF 1
116716 _ACEOF
116720 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
116721 echo "$as_me: error: No support for this host/target combination." >&2;}
116722 { (exit 1); exit 1; }; }
116728 # At some point, we should differentiate between architectures
116729 # like x86, which have long double versions, and alpha/powerpc/etc.,
116730 # which don't. For the time being, punt.
116731 if test x"long_double_math_on_this_cpu" = x"yes"; then
116732 cat >>confdefs.h <<\_ACEOF
116733 #define HAVE_ACOSL 1
116734 _ACEOF
116736 cat >>confdefs.h <<\_ACEOF
116737 #define HAVE_ASINL 1
116738 _ACEOF
116740 cat >>confdefs.h <<\_ACEOF
116741 #define HAVE_ATAN2L 1
116742 _ACEOF
116744 cat >>confdefs.h <<\_ACEOF
116745 #define HAVE_ATANL 1
116746 _ACEOF
116748 cat >>confdefs.h <<\_ACEOF
116749 #define HAVE_CEILL 1
116750 _ACEOF
116752 cat >>confdefs.h <<\_ACEOF
116753 #define HAVE_COPYSIGNL 1
116754 _ACEOF
116756 cat >>confdefs.h <<\_ACEOF
116757 #define HAVE_COSL 1
116758 _ACEOF
116760 cat >>confdefs.h <<\_ACEOF
116761 #define HAVE_COSHL 1
116762 _ACEOF
116764 cat >>confdefs.h <<\_ACEOF
116765 #define HAVE_EXPL 1
116766 _ACEOF
116768 cat >>confdefs.h <<\_ACEOF
116769 #define HAVE_FABSL 1
116770 _ACEOF
116772 cat >>confdefs.h <<\_ACEOF
116773 #define HAVE_FLOORL 1
116774 _ACEOF
116776 cat >>confdefs.h <<\_ACEOF
116777 #define HAVE_FMODL 1
116778 _ACEOF
116780 cat >>confdefs.h <<\_ACEOF
116781 #define HAVE_FREXPL 1
116782 _ACEOF
116784 cat >>confdefs.h <<\_ACEOF
116785 #define HAVE_LDEXPL 1
116786 _ACEOF
116788 cat >>confdefs.h <<\_ACEOF
116789 #define HAVE_LOG10L 1
116790 _ACEOF
116792 cat >>confdefs.h <<\_ACEOF
116793 #define HAVE_LOGL 1
116794 _ACEOF
116796 cat >>confdefs.h <<\_ACEOF
116797 #define HAVE_MODFL 1
116798 _ACEOF
116800 cat >>confdefs.h <<\_ACEOF
116801 #define HAVE_POWL 1
116802 _ACEOF
116804 cat >>confdefs.h <<\_ACEOF
116805 #define HAVE_SINCOSL 1
116806 _ACEOF
116808 cat >>confdefs.h <<\_ACEOF
116809 #define HAVE_SINL 1
116810 _ACEOF
116812 cat >>confdefs.h <<\_ACEOF
116813 #define HAVE_SINHL 1
116814 _ACEOF
116816 cat >>confdefs.h <<\_ACEOF
116817 #define HAVE_SQRTL 1
116818 _ACEOF
116820 cat >>confdefs.h <<\_ACEOF
116821 #define HAVE_TANL 1
116822 _ACEOF
116824 cat >>confdefs.h <<\_ACEOF
116825 #define HAVE_TANHL 1
116826 _ACEOF
116830 # Assume we have _Unwind_GetIPInfo for cross-compiles.
116831 cat >>confdefs.h <<\_ACEOF
116832 #define HAVE_GETIPINFO 1
116833 _ACEOF
116837 # Check whether --enable-linux-futex or --disable-linux-futex was given.
116838 if test "${enable_linux_futex+set}" = set; then
116839 enableval="$enable_linux_futex"
116841 case "$enableval" in
116842 yes|no|default) ;;
116843 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
116844 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
116845 { (exit 1); exit 1; }; } ;;
116849 enable_linux_futex=default
116852 case "$target" in
116853 *-linux*)
116854 case "$enable_linux_futex" in
116855 default)
116856 # If headers don't have gettid/futex syscalls definition, then
116857 # default to no, otherwise there will be compile time failures.
116858 # Otherwise, default to yes. If we don't detect we are
116859 # compiled/linked against NPTL and not cross-compiling, check
116860 # if programs are run by default against NPTL and if not, issue
116861 # a warning.
116862 enable_linux_futex=no
116863 if test x$gcc_no_link = xyes; then
116864 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116865 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116866 { (exit 1); exit 1; }; }
116868 cat >conftest.$ac_ext <<_ACEOF
116869 /* confdefs.h. */
116870 _ACEOF
116871 cat confdefs.h >>conftest.$ac_ext
116872 cat >>conftest.$ac_ext <<_ACEOF
116873 /* end confdefs.h. */
116874 #include <sys/syscall.h>
116875 int lk;
116877 main ()
116879 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
116881 return 0;
116883 _ACEOF
116884 rm -f conftest.$ac_objext conftest$ac_exeext
116885 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116886 (eval $ac_link) 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_exeext'
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 save_LIBS="$LIBS"
116907 LIBS="-lpthread $LIBS"
116908 if test x$gcc_no_link = xyes; then
116909 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116910 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116911 { (exit 1); exit 1; }; }
116913 cat >conftest.$ac_ext <<_ACEOF
116914 /* confdefs.h. */
116915 _ACEOF
116916 cat confdefs.h >>conftest.$ac_ext
116917 cat >>conftest.$ac_ext <<_ACEOF
116918 /* end confdefs.h. */
116919 #ifndef _GNU_SOURCE
116920 #define _GNU_SOURCE 1
116921 #endif
116922 #include <pthread.h>
116923 pthread_t th; void *status;
116925 main ()
116927 pthread_tryjoin_np (th, &status);
116929 return 0;
116931 _ACEOF
116932 rm -f conftest.$ac_objext conftest$ac_exeext
116933 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116934 (eval $ac_link) 2>conftest.er1
116935 ac_status=$?
116936 grep -v '^ *+' conftest.er1 >conftest.err
116937 rm -f conftest.er1
116938 cat conftest.err >&5
116939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116940 (exit $ac_status); } &&
116941 { ac_try='test -z "$ac_c_werror_flag"
116942 || test ! -s conftest.err'
116943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116944 (eval $ac_try) 2>&5
116945 ac_status=$?
116946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116947 (exit $ac_status); }; } &&
116948 { ac_try='test -s conftest$ac_exeext'
116949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116950 (eval $ac_try) 2>&5
116951 ac_status=$?
116952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116953 (exit $ac_status); }; }; then
116954 enable_linux_futex=yes
116956 echo "$as_me: failed program was:" >&5
116957 sed 's/^/| /' conftest.$ac_ext >&5
116959 if test x$cross_compiling = xno; then
116960 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
116961 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
116962 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
116963 If so, please configure with --disable-linux-futex" >&5
116964 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
116965 If so, please configure with --disable-linux-futex" >&2;}
116968 enable_linux_futex=yes
116970 rm -f conftest.err conftest.$ac_objext \
116971 conftest$ac_exeext conftest.$ac_ext
116972 LIBS="$save_LIBS"
116974 echo "$as_me: failed program was:" >&5
116975 sed 's/^/| /' conftest.$ac_ext >&5
116978 rm -f conftest.err conftest.$ac_objext \
116979 conftest$ac_exeext conftest.$ac_ext
116982 if test x$gcc_no_link = xyes; then
116983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
116984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
116985 { (exit 1); exit 1; }; }
116987 cat >conftest.$ac_ext <<_ACEOF
116988 /* confdefs.h. */
116989 _ACEOF
116990 cat confdefs.h >>conftest.$ac_ext
116991 cat >>conftest.$ac_ext <<_ACEOF
116992 /* end confdefs.h. */
116993 #include <sys/syscall.h>
116994 int lk;
116996 main ()
116998 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
117000 return 0;
117002 _ACEOF
117003 rm -f conftest.$ac_objext conftest$ac_exeext
117004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117005 (eval $ac_link) 2>conftest.er1
117006 ac_status=$?
117007 grep -v '^ *+' conftest.er1 >conftest.err
117008 rm -f conftest.er1
117009 cat conftest.err >&5
117010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117011 (exit $ac_status); } &&
117012 { ac_try='test -z "$ac_c_werror_flag"
117013 || test ! -s conftest.err'
117014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117015 (eval $ac_try) 2>&5
117016 ac_status=$?
117017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117018 (exit $ac_status); }; } &&
117019 { ac_try='test -s conftest$ac_exeext'
117020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117021 (eval $ac_try) 2>&5
117022 ac_status=$?
117023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117024 (exit $ac_status); }; }; then
117027 echo "$as_me: failed program was:" >&5
117028 sed 's/^/| /' conftest.$ac_ext >&5
117030 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
117031 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
117032 { (exit 1); exit 1; }; }
117034 rm -f conftest.err conftest.$ac_objext \
117035 conftest$ac_exeext conftest.$ac_ext
117040 enable_linux_futex=no
117043 if test x$enable_linux_futex = xyes; then
117045 cat >>confdefs.h <<\_ACEOF
117046 #define HAVE_LINUX_FUTEX 1
117047 _ACEOF
117054 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
117056 acx_cv_header_stdint=stddef.h
117057 acx_cv_header_stdint_kind="(already complete)"
117058 for i in stdint.h $inttype_headers; do
117059 unset ac_cv_type_uintptr_t
117060 unset ac_cv_type_uintmax_t
117061 unset ac_cv_type_int_least32_t
117062 unset ac_cv_type_int_fast32_t
117063 unset ac_cv_type_uint64_t
117064 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
117065 echo "$as_me:$LINENO: checking for uintmax_t" >&5
117066 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
117067 if test "${ac_cv_type_uintmax_t+set}" = set; then
117068 echo $ECHO_N "(cached) $ECHO_C" >&6
117070 cat >conftest.$ac_ext <<_ACEOF
117071 /* confdefs.h. */
117072 _ACEOF
117073 cat confdefs.h >>conftest.$ac_ext
117074 cat >>conftest.$ac_ext <<_ACEOF
117075 /* end confdefs.h. */
117076 #include <sys/types.h>
117077 #include <$i>
117080 main ()
117082 if ((uintmax_t *) 0)
117083 return 0;
117084 if (sizeof (uintmax_t))
117085 return 0;
117087 return 0;
117089 _ACEOF
117090 rm -f conftest.$ac_objext
117091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117092 (eval $ac_compile) 2>conftest.er1
117093 ac_status=$?
117094 grep -v '^ *+' conftest.er1 >conftest.err
117095 rm -f conftest.er1
117096 cat conftest.err >&5
117097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117098 (exit $ac_status); } &&
117099 { ac_try='test -z "$ac_c_werror_flag"
117100 || test ! -s conftest.err'
117101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117102 (eval $ac_try) 2>&5
117103 ac_status=$?
117104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117105 (exit $ac_status); }; } &&
117106 { ac_try='test -s conftest.$ac_objext'
117107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117108 (eval $ac_try) 2>&5
117109 ac_status=$?
117110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117111 (exit $ac_status); }; }; then
117112 ac_cv_type_uintmax_t=yes
117114 echo "$as_me: failed program was:" >&5
117115 sed 's/^/| /' conftest.$ac_ext >&5
117117 ac_cv_type_uintmax_t=no
117119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117121 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
117122 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
117123 if test $ac_cv_type_uintmax_t = yes; then
117124 acx_cv_header_stdint=$i
117126 continue
117129 echo "$as_me:$LINENO: checking for uintptr_t" >&5
117130 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
117131 if test "${ac_cv_type_uintptr_t+set}" = set; then
117132 echo $ECHO_N "(cached) $ECHO_C" >&6
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 #include <sys/types.h>
117141 #include <$i>
117144 main ()
117146 if ((uintptr_t *) 0)
117147 return 0;
117148 if (sizeof (uintptr_t))
117149 return 0;
117151 return 0;
117153 _ACEOF
117154 rm -f conftest.$ac_objext
117155 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117156 (eval $ac_compile) 2>conftest.er1
117157 ac_status=$?
117158 grep -v '^ *+' conftest.er1 >conftest.err
117159 rm -f conftest.er1
117160 cat conftest.err >&5
117161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117162 (exit $ac_status); } &&
117163 { ac_try='test -z "$ac_c_werror_flag"
117164 || test ! -s conftest.err'
117165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117166 (eval $ac_try) 2>&5
117167 ac_status=$?
117168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117169 (exit $ac_status); }; } &&
117170 { ac_try='test -s conftest.$ac_objext'
117171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117172 (eval $ac_try) 2>&5
117173 ac_status=$?
117174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117175 (exit $ac_status); }; }; then
117176 ac_cv_type_uintptr_t=yes
117178 echo "$as_me: failed program was:" >&5
117179 sed 's/^/| /' conftest.$ac_ext >&5
117181 ac_cv_type_uintptr_t=no
117183 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117185 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
117186 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
117187 if test $ac_cv_type_uintptr_t = yes; then
117190 acx_cv_header_stdint_kind="(mostly complete)"
117193 echo "$as_me:$LINENO: checking for int_least32_t" >&5
117194 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
117195 if test "${ac_cv_type_int_least32_t+set}" = set; then
117196 echo $ECHO_N "(cached) $ECHO_C" >&6
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 #include <sys/types.h>
117205 #include <$i>
117208 main ()
117210 if ((int_least32_t *) 0)
117211 return 0;
117212 if (sizeof (int_least32_t))
117213 return 0;
117215 return 0;
117217 _ACEOF
117218 rm -f conftest.$ac_objext
117219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117220 (eval $ac_compile) 2>conftest.er1
117221 ac_status=$?
117222 grep -v '^ *+' conftest.er1 >conftest.err
117223 rm -f conftest.er1
117224 cat conftest.err >&5
117225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117226 (exit $ac_status); } &&
117227 { ac_try='test -z "$ac_c_werror_flag"
117228 || test ! -s conftest.err'
117229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117230 (eval $ac_try) 2>&5
117231 ac_status=$?
117232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117233 (exit $ac_status); }; } &&
117234 { ac_try='test -s conftest.$ac_objext'
117235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117236 (eval $ac_try) 2>&5
117237 ac_status=$?
117238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117239 (exit $ac_status); }; }; then
117240 ac_cv_type_int_least32_t=yes
117242 echo "$as_me: failed program was:" >&5
117243 sed 's/^/| /' conftest.$ac_ext >&5
117245 ac_cv_type_int_least32_t=no
117247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117249 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
117250 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
117251 if test $ac_cv_type_int_least32_t = yes; then
117254 acx_cv_header_stdint_kind="(mostly complete)"
117257 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
117258 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
117259 if test "${ac_cv_type_int_fast32_t+set}" = set; then
117260 echo $ECHO_N "(cached) $ECHO_C" >&6
117262 cat >conftest.$ac_ext <<_ACEOF
117263 /* confdefs.h. */
117264 _ACEOF
117265 cat confdefs.h >>conftest.$ac_ext
117266 cat >>conftest.$ac_ext <<_ACEOF
117267 /* end confdefs.h. */
117268 #include <sys/types.h>
117269 #include <$i>
117272 main ()
117274 if ((int_fast32_t *) 0)
117275 return 0;
117276 if (sizeof (int_fast32_t))
117277 return 0;
117279 return 0;
117281 _ACEOF
117282 rm -f conftest.$ac_objext
117283 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117284 (eval $ac_compile) 2>conftest.er1
117285 ac_status=$?
117286 grep -v '^ *+' conftest.er1 >conftest.err
117287 rm -f conftest.er1
117288 cat conftest.err >&5
117289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117290 (exit $ac_status); } &&
117291 { ac_try='test -z "$ac_c_werror_flag"
117292 || test ! -s conftest.err'
117293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117294 (eval $ac_try) 2>&5
117295 ac_status=$?
117296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117297 (exit $ac_status); }; } &&
117298 { ac_try='test -s conftest.$ac_objext'
117299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117300 (eval $ac_try) 2>&5
117301 ac_status=$?
117302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117303 (exit $ac_status); }; }; then
117304 ac_cv_type_int_fast32_t=yes
117306 echo "$as_me: failed program was:" >&5
117307 sed 's/^/| /' conftest.$ac_ext >&5
117309 ac_cv_type_int_fast32_t=no
117311 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117313 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
117314 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
117315 if test $ac_cv_type_int_fast32_t = yes; then
117318 acx_cv_header_stdint_kind="(mostly complete)"
117321 echo "$as_me:$LINENO: checking for uint64_t" >&5
117322 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117323 if test "${ac_cv_type_uint64_t+set}" = set; then
117324 echo $ECHO_N "(cached) $ECHO_C" >&6
117326 cat >conftest.$ac_ext <<_ACEOF
117327 /* confdefs.h. */
117328 _ACEOF
117329 cat confdefs.h >>conftest.$ac_ext
117330 cat >>conftest.$ac_ext <<_ACEOF
117331 /* end confdefs.h. */
117332 #include <sys/types.h>
117333 #include <$i>
117336 main ()
117338 if ((uint64_t *) 0)
117339 return 0;
117340 if (sizeof (uint64_t))
117341 return 0;
117343 return 0;
117345 _ACEOF
117346 rm -f conftest.$ac_objext
117347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117348 (eval $ac_compile) 2>conftest.er1
117349 ac_status=$?
117350 grep -v '^ *+' conftest.er1 >conftest.err
117351 rm -f conftest.er1
117352 cat conftest.err >&5
117353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117354 (exit $ac_status); } &&
117355 { ac_try='test -z "$ac_c_werror_flag"
117356 || test ! -s conftest.err'
117357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117358 (eval $ac_try) 2>&5
117359 ac_status=$?
117360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117361 (exit $ac_status); }; } &&
117362 { ac_try='test -s conftest.$ac_objext'
117363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117364 (eval $ac_try) 2>&5
117365 ac_status=$?
117366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117367 (exit $ac_status); }; }; then
117368 ac_cv_type_uint64_t=yes
117370 echo "$as_me: failed program was:" >&5
117371 sed 's/^/| /' conftest.$ac_ext >&5
117373 ac_cv_type_uint64_t=no
117375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117377 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117378 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117379 if test $ac_cv_type_uint64_t = yes; then
117382 acx_cv_header_stdint_kind="(lacks uint64_t)"
117385 break
117387 if test "$acx_cv_header_stdint" = stddef.h; then
117388 acx_cv_header_stdint_kind="(lacks uintmax_t)"
117389 for i in stdint.h $inttype_headers; do
117390 unset ac_cv_type_uintptr_t
117391 unset ac_cv_type_uint32_t
117392 unset ac_cv_type_uint64_t
117393 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
117394 echo "$as_me:$LINENO: checking for uint32_t" >&5
117395 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
117396 if test "${ac_cv_type_uint32_t+set}" = set; then
117397 echo $ECHO_N "(cached) $ECHO_C" >&6
117399 cat >conftest.$ac_ext <<_ACEOF
117400 /* confdefs.h. */
117401 _ACEOF
117402 cat confdefs.h >>conftest.$ac_ext
117403 cat >>conftest.$ac_ext <<_ACEOF
117404 /* end confdefs.h. */
117405 #include <sys/types.h>
117406 #include <$i>
117409 main ()
117411 if ((uint32_t *) 0)
117412 return 0;
117413 if (sizeof (uint32_t))
117414 return 0;
117416 return 0;
117418 _ACEOF
117419 rm -f conftest.$ac_objext
117420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117421 (eval $ac_compile) 2>conftest.er1
117422 ac_status=$?
117423 grep -v '^ *+' conftest.er1 >conftest.err
117424 rm -f conftest.er1
117425 cat conftest.err >&5
117426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117427 (exit $ac_status); } &&
117428 { ac_try='test -z "$ac_c_werror_flag"
117429 || test ! -s conftest.err'
117430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117431 (eval $ac_try) 2>&5
117432 ac_status=$?
117433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117434 (exit $ac_status); }; } &&
117435 { ac_try='test -s conftest.$ac_objext'
117436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117437 (eval $ac_try) 2>&5
117438 ac_status=$?
117439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117440 (exit $ac_status); }; }; then
117441 ac_cv_type_uint32_t=yes
117443 echo "$as_me: failed program was:" >&5
117444 sed 's/^/| /' conftest.$ac_ext >&5
117446 ac_cv_type_uint32_t=no
117448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117450 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
117451 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
117452 if test $ac_cv_type_uint32_t = yes; then
117453 acx_cv_header_stdint=$i
117455 continue
117458 echo "$as_me:$LINENO: checking for uint64_t" >&5
117459 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
117460 if test "${ac_cv_type_uint64_t+set}" = set; then
117461 echo $ECHO_N "(cached) $ECHO_C" >&6
117463 cat >conftest.$ac_ext <<_ACEOF
117464 /* confdefs.h. */
117465 _ACEOF
117466 cat confdefs.h >>conftest.$ac_ext
117467 cat >>conftest.$ac_ext <<_ACEOF
117468 /* end confdefs.h. */
117469 #include <sys/types.h>
117470 #include <$i>
117473 main ()
117475 if ((uint64_t *) 0)
117476 return 0;
117477 if (sizeof (uint64_t))
117478 return 0;
117480 return 0;
117482 _ACEOF
117483 rm -f conftest.$ac_objext
117484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117485 (eval $ac_compile) 2>conftest.er1
117486 ac_status=$?
117487 grep -v '^ *+' conftest.er1 >conftest.err
117488 rm -f conftest.er1
117489 cat conftest.err >&5
117490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117491 (exit $ac_status); } &&
117492 { ac_try='test -z "$ac_c_werror_flag"
117493 || test ! -s conftest.err'
117494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117495 (eval $ac_try) 2>&5
117496 ac_status=$?
117497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117498 (exit $ac_status); }; } &&
117499 { ac_try='test -s conftest.$ac_objext'
117500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117501 (eval $ac_try) 2>&5
117502 ac_status=$?
117503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117504 (exit $ac_status); }; }; then
117505 ac_cv_type_uint64_t=yes
117507 echo "$as_me: failed program was:" >&5
117508 sed 's/^/| /' conftest.$ac_ext >&5
117510 ac_cv_type_uint64_t=no
117512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117514 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
117515 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
117517 echo "$as_me:$LINENO: checking for uintptr_t" >&5
117518 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
117519 if test "${ac_cv_type_uintptr_t+set}" = set; then
117520 echo $ECHO_N "(cached) $ECHO_C" >&6
117522 cat >conftest.$ac_ext <<_ACEOF
117523 /* confdefs.h. */
117524 _ACEOF
117525 cat confdefs.h >>conftest.$ac_ext
117526 cat >>conftest.$ac_ext <<_ACEOF
117527 /* end confdefs.h. */
117528 #include <sys/types.h>
117529 #include <$i>
117532 main ()
117534 if ((uintptr_t *) 0)
117535 return 0;
117536 if (sizeof (uintptr_t))
117537 return 0;
117539 return 0;
117541 _ACEOF
117542 rm -f conftest.$ac_objext
117543 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117544 (eval $ac_compile) 2>conftest.er1
117545 ac_status=$?
117546 grep -v '^ *+' conftest.er1 >conftest.err
117547 rm -f conftest.er1
117548 cat conftest.err >&5
117549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117550 (exit $ac_status); } &&
117551 { ac_try='test -z "$ac_c_werror_flag"
117552 || test ! -s conftest.err'
117553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117554 (eval $ac_try) 2>&5
117555 ac_status=$?
117556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117557 (exit $ac_status); }; } &&
117558 { ac_try='test -s conftest.$ac_objext'
117559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117560 (eval $ac_try) 2>&5
117561 ac_status=$?
117562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117563 (exit $ac_status); }; }; then
117564 ac_cv_type_uintptr_t=yes
117566 echo "$as_me: failed program was:" >&5
117567 sed 's/^/| /' conftest.$ac_ext >&5
117569 ac_cv_type_uintptr_t=no
117571 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117573 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
117574 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
117576 break
117579 if test "$acx_cv_header_stdint" = stddef.h; then
117580 acx_cv_header_stdint_kind="(u_intXX_t style)"
117581 for i in sys/types.h $inttype_headers; do
117582 unset ac_cv_type_u_int32_t
117583 unset ac_cv_type_u_int64_t
117584 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
117585 echo "$as_me:$LINENO: checking for u_int32_t" >&5
117586 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
117587 if test "${ac_cv_type_u_int32_t+set}" = set; then
117588 echo $ECHO_N "(cached) $ECHO_C" >&6
117590 cat >conftest.$ac_ext <<_ACEOF
117591 /* confdefs.h. */
117592 _ACEOF
117593 cat confdefs.h >>conftest.$ac_ext
117594 cat >>conftest.$ac_ext <<_ACEOF
117595 /* end confdefs.h. */
117596 #include <sys/types.h>
117597 #include <$i>
117600 main ()
117602 if ((u_int32_t *) 0)
117603 return 0;
117604 if (sizeof (u_int32_t))
117605 return 0;
117607 return 0;
117609 _ACEOF
117610 rm -f conftest.$ac_objext
117611 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117612 (eval $ac_compile) 2>conftest.er1
117613 ac_status=$?
117614 grep -v '^ *+' conftest.er1 >conftest.err
117615 rm -f conftest.er1
117616 cat conftest.err >&5
117617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117618 (exit $ac_status); } &&
117619 { ac_try='test -z "$ac_c_werror_flag"
117620 || test ! -s conftest.err'
117621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117622 (eval $ac_try) 2>&5
117623 ac_status=$?
117624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117625 (exit $ac_status); }; } &&
117626 { ac_try='test -s conftest.$ac_objext'
117627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117628 (eval $ac_try) 2>&5
117629 ac_status=$?
117630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117631 (exit $ac_status); }; }; then
117632 ac_cv_type_u_int32_t=yes
117634 echo "$as_me: failed program was:" >&5
117635 sed 's/^/| /' conftest.$ac_ext >&5
117637 ac_cv_type_u_int32_t=no
117639 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117641 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
117642 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
117643 if test $ac_cv_type_u_int32_t = yes; then
117644 acx_cv_header_stdint=$i
117646 continue
117649 echo "$as_me:$LINENO: checking for u_int64_t" >&5
117650 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
117651 if test "${ac_cv_type_u_int64_t+set}" = set; then
117652 echo $ECHO_N "(cached) $ECHO_C" >&6
117654 cat >conftest.$ac_ext <<_ACEOF
117655 /* confdefs.h. */
117656 _ACEOF
117657 cat confdefs.h >>conftest.$ac_ext
117658 cat >>conftest.$ac_ext <<_ACEOF
117659 /* end confdefs.h. */
117660 #include <sys/types.h>
117661 #include <$i>
117664 main ()
117666 if ((u_int64_t *) 0)
117667 return 0;
117668 if (sizeof (u_int64_t))
117669 return 0;
117671 return 0;
117673 _ACEOF
117674 rm -f conftest.$ac_objext
117675 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117676 (eval $ac_compile) 2>conftest.er1
117677 ac_status=$?
117678 grep -v '^ *+' conftest.er1 >conftest.err
117679 rm -f conftest.er1
117680 cat conftest.err >&5
117681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117682 (exit $ac_status); } &&
117683 { ac_try='test -z "$ac_c_werror_flag"
117684 || test ! -s conftest.err'
117685 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117686 (eval $ac_try) 2>&5
117687 ac_status=$?
117688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117689 (exit $ac_status); }; } &&
117690 { ac_try='test -s conftest.$ac_objext'
117691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117692 (eval $ac_try) 2>&5
117693 ac_status=$?
117694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117695 (exit $ac_status); }; }; then
117696 ac_cv_type_u_int64_t=yes
117698 echo "$as_me: failed program was:" >&5
117699 sed 's/^/| /' conftest.$ac_ext >&5
117701 ac_cv_type_u_int64_t=no
117703 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117705 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
117706 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
117708 break
117711 if test "$acx_cv_header_stdint" = stddef.h; then
117712 acx_cv_header_stdint_kind="(using manual detection)"
117715 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
117716 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
117717 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
117718 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
117719 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
117721 # ----------------- Summarize what we found so far
117723 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
117724 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
117726 case `$as_basename include/gstdint.h ||
117727 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
117728 Xinclude/gstdint.h : 'X\(//\)$' \| \
117729 Xinclude/gstdint.h : 'X\(/\)$' \| \
117730 . : '\(.\)' 2>/dev/null ||
117731 echo X/include/gstdint.h |
117732 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
117733 /^X\/\(\/\/\)$/{ s//\1/; q; }
117734 /^X\/\(\/\).*/{ s//\1/; q; }
117735 s/.*/./; q'` in
117736 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117737 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117738 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
117739 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
117740 *) ;;
117743 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
117744 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
117746 # ----------------- done included file, check C basic types --------
117748 # Lacking an uintptr_t? Test size of void *
117749 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
117750 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
117751 echo $ECHO_N "checking for void *... $ECHO_C" >&6
117752 if test "${ac_cv_type_void_p+set}" = set; then
117753 echo $ECHO_N "(cached) $ECHO_C" >&6
117755 cat >conftest.$ac_ext <<_ACEOF
117756 /* confdefs.h. */
117757 _ACEOF
117758 cat confdefs.h >>conftest.$ac_ext
117759 cat >>conftest.$ac_ext <<_ACEOF
117760 /* end confdefs.h. */
117761 $ac_includes_default
117763 main ()
117765 if ((void * *) 0)
117766 return 0;
117767 if (sizeof (void *))
117768 return 0;
117770 return 0;
117772 _ACEOF
117773 rm -f conftest.$ac_objext
117774 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117775 (eval $ac_compile) 2>conftest.er1
117776 ac_status=$?
117777 grep -v '^ *+' conftest.er1 >conftest.err
117778 rm -f conftest.er1
117779 cat conftest.err >&5
117780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117781 (exit $ac_status); } &&
117782 { ac_try='test -z "$ac_c_werror_flag"
117783 || test ! -s conftest.err'
117784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117785 (eval $ac_try) 2>&5
117786 ac_status=$?
117787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117788 (exit $ac_status); }; } &&
117789 { ac_try='test -s conftest.$ac_objext'
117790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117791 (eval $ac_try) 2>&5
117792 ac_status=$?
117793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117794 (exit $ac_status); }; }; then
117795 ac_cv_type_void_p=yes
117797 echo "$as_me: failed program was:" >&5
117798 sed 's/^/| /' conftest.$ac_ext >&5
117800 ac_cv_type_void_p=no
117802 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117804 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
117805 echo "${ECHO_T}$ac_cv_type_void_p" >&6
117807 echo "$as_me:$LINENO: checking size of void *" >&5
117808 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
117809 if test "${ac_cv_sizeof_void_p+set}" = set; then
117810 echo $ECHO_N "(cached) $ECHO_C" >&6
117812 if test "$ac_cv_type_void_p" = yes; then
117813 # The cast to unsigned long works around a bug in the HP C Compiler
117814 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
117815 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
117816 # This bug is HP SR number 8606223364.
117817 if test "$cross_compiling" = yes; then
117818 # Depending upon the size, compute the lo and hi bounds.
117819 cat >conftest.$ac_ext <<_ACEOF
117820 /* confdefs.h. */
117821 _ACEOF
117822 cat confdefs.h >>conftest.$ac_ext
117823 cat >>conftest.$ac_ext <<_ACEOF
117824 /* end confdefs.h. */
117825 $ac_includes_default
117827 main ()
117829 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
117830 test_array [0] = 0
117833 return 0;
117835 _ACEOF
117836 rm -f conftest.$ac_objext
117837 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117838 (eval $ac_compile) 2>conftest.er1
117839 ac_status=$?
117840 grep -v '^ *+' conftest.er1 >conftest.err
117841 rm -f conftest.er1
117842 cat conftest.err >&5
117843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117844 (exit $ac_status); } &&
117845 { ac_try='test -z "$ac_c_werror_flag"
117846 || test ! -s conftest.err'
117847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117848 (eval $ac_try) 2>&5
117849 ac_status=$?
117850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117851 (exit $ac_status); }; } &&
117852 { ac_try='test -s conftest.$ac_objext'
117853 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117854 (eval $ac_try) 2>&5
117855 ac_status=$?
117856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117857 (exit $ac_status); }; }; then
117858 ac_lo=0 ac_mid=0
117859 while :; do
117860 cat >conftest.$ac_ext <<_ACEOF
117861 /* confdefs.h. */
117862 _ACEOF
117863 cat confdefs.h >>conftest.$ac_ext
117864 cat >>conftest.$ac_ext <<_ACEOF
117865 /* end confdefs.h. */
117866 $ac_includes_default
117868 main ()
117870 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
117871 test_array [0] = 0
117874 return 0;
117876 _ACEOF
117877 rm -f conftest.$ac_objext
117878 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117879 (eval $ac_compile) 2>conftest.er1
117880 ac_status=$?
117881 grep -v '^ *+' conftest.er1 >conftest.err
117882 rm -f conftest.er1
117883 cat conftest.err >&5
117884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117885 (exit $ac_status); } &&
117886 { ac_try='test -z "$ac_c_werror_flag"
117887 || test ! -s conftest.err'
117888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117889 (eval $ac_try) 2>&5
117890 ac_status=$?
117891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117892 (exit $ac_status); }; } &&
117893 { ac_try='test -s conftest.$ac_objext'
117894 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117895 (eval $ac_try) 2>&5
117896 ac_status=$?
117897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117898 (exit $ac_status); }; }; then
117899 ac_hi=$ac_mid; break
117901 echo "$as_me: failed program was:" >&5
117902 sed 's/^/| /' conftest.$ac_ext >&5
117904 ac_lo=`expr $ac_mid + 1`
117905 if test $ac_lo -le $ac_mid; then
117906 ac_lo= ac_hi=
117907 break
117909 ac_mid=`expr 2 '*' $ac_mid + 1`
117911 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117914 echo "$as_me: failed program was:" >&5
117915 sed 's/^/| /' conftest.$ac_ext >&5
117917 cat >conftest.$ac_ext <<_ACEOF
117918 /* confdefs.h. */
117919 _ACEOF
117920 cat confdefs.h >>conftest.$ac_ext
117921 cat >>conftest.$ac_ext <<_ACEOF
117922 /* end confdefs.h. */
117923 $ac_includes_default
117925 main ()
117927 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
117928 test_array [0] = 0
117931 return 0;
117933 _ACEOF
117934 rm -f conftest.$ac_objext
117935 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117936 (eval $ac_compile) 2>conftest.er1
117937 ac_status=$?
117938 grep -v '^ *+' conftest.er1 >conftest.err
117939 rm -f conftest.er1
117940 cat conftest.err >&5
117941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117942 (exit $ac_status); } &&
117943 { ac_try='test -z "$ac_c_werror_flag"
117944 || test ! -s conftest.err'
117945 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117946 (eval $ac_try) 2>&5
117947 ac_status=$?
117948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117949 (exit $ac_status); }; } &&
117950 { ac_try='test -s conftest.$ac_objext'
117951 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117952 (eval $ac_try) 2>&5
117953 ac_status=$?
117954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117955 (exit $ac_status); }; }; then
117956 ac_hi=-1 ac_mid=-1
117957 while :; do
117958 cat >conftest.$ac_ext <<_ACEOF
117959 /* confdefs.h. */
117960 _ACEOF
117961 cat confdefs.h >>conftest.$ac_ext
117962 cat >>conftest.$ac_ext <<_ACEOF
117963 /* end confdefs.h. */
117964 $ac_includes_default
117966 main ()
117968 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
117969 test_array [0] = 0
117972 return 0;
117974 _ACEOF
117975 rm -f conftest.$ac_objext
117976 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117977 (eval $ac_compile) 2>conftest.er1
117978 ac_status=$?
117979 grep -v '^ *+' conftest.er1 >conftest.err
117980 rm -f conftest.er1
117981 cat conftest.err >&5
117982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117983 (exit $ac_status); } &&
117984 { ac_try='test -z "$ac_c_werror_flag"
117985 || test ! -s conftest.err'
117986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117987 (eval $ac_try) 2>&5
117988 ac_status=$?
117989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117990 (exit $ac_status); }; } &&
117991 { ac_try='test -s conftest.$ac_objext'
117992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117993 (eval $ac_try) 2>&5
117994 ac_status=$?
117995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117996 (exit $ac_status); }; }; then
117997 ac_lo=$ac_mid; break
117999 echo "$as_me: failed program was:" >&5
118000 sed 's/^/| /' conftest.$ac_ext >&5
118002 ac_hi=`expr '(' $ac_mid ')' - 1`
118003 if test $ac_mid -le $ac_hi; then
118004 ac_lo= ac_hi=
118005 break
118007 ac_mid=`expr 2 '*' $ac_mid`
118009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118012 echo "$as_me: failed program was:" >&5
118013 sed 's/^/| /' conftest.$ac_ext >&5
118015 ac_lo= ac_hi=
118017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118019 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118020 # Binary search between lo and hi bounds.
118021 while test "x$ac_lo" != "x$ac_hi"; do
118022 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118023 cat >conftest.$ac_ext <<_ACEOF
118024 /* confdefs.h. */
118025 _ACEOF
118026 cat confdefs.h >>conftest.$ac_ext
118027 cat >>conftest.$ac_ext <<_ACEOF
118028 /* end confdefs.h. */
118029 $ac_includes_default
118031 main ()
118033 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
118034 test_array [0] = 0
118037 return 0;
118039 _ACEOF
118040 rm -f conftest.$ac_objext
118041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118042 (eval $ac_compile) 2>conftest.er1
118043 ac_status=$?
118044 grep -v '^ *+' conftest.er1 >conftest.err
118045 rm -f conftest.er1
118046 cat conftest.err >&5
118047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118048 (exit $ac_status); } &&
118049 { ac_try='test -z "$ac_c_werror_flag"
118050 || test ! -s conftest.err'
118051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118052 (eval $ac_try) 2>&5
118053 ac_status=$?
118054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118055 (exit $ac_status); }; } &&
118056 { ac_try='test -s conftest.$ac_objext'
118057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118058 (eval $ac_try) 2>&5
118059 ac_status=$?
118060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118061 (exit $ac_status); }; }; then
118062 ac_hi=$ac_mid
118064 echo "$as_me: failed program was:" >&5
118065 sed 's/^/| /' conftest.$ac_ext >&5
118067 ac_lo=`expr '(' $ac_mid ')' + 1`
118069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118071 case $ac_lo in
118072 ?*) ac_cv_sizeof_void_p=$ac_lo;;
118073 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118074 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118075 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
118076 See \`config.log' for more details." >&5
118077 echo "$as_me: error: cannot compute sizeof (void *), 77
118078 See \`config.log' for more details." >&2;}
118079 { (exit 1); exit 1; }; }; } ;;
118082 if test "$cross_compiling" = yes; then
118083 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118084 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118085 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118086 See \`config.log' for more details." >&5
118087 echo "$as_me: error: cannot run test program while cross compiling
118088 See \`config.log' for more details." >&2;}
118089 { (exit 1); exit 1; }; }; }
118091 cat >conftest.$ac_ext <<_ACEOF
118092 /* confdefs.h. */
118093 _ACEOF
118094 cat confdefs.h >>conftest.$ac_ext
118095 cat >>conftest.$ac_ext <<_ACEOF
118096 /* end confdefs.h. */
118097 $ac_includes_default
118098 long longval () { return (long) (sizeof (void *)); }
118099 unsigned long ulongval () { return (long) (sizeof (void *)); }
118100 #include <stdio.h>
118101 #include <stdlib.h>
118103 main ()
118106 FILE *f = fopen ("conftest.val", "w");
118107 if (! f)
118108 exit (1);
118109 if (((long) (sizeof (void *))) < 0)
118111 long i = longval ();
118112 if (i != ((long) (sizeof (void *))))
118113 exit (1);
118114 fprintf (f, "%ld\n", i);
118118 unsigned long i = ulongval ();
118119 if (i != ((long) (sizeof (void *))))
118120 exit (1);
118121 fprintf (f, "%lu\n", i);
118123 exit (ferror (f) || fclose (f) != 0);
118126 return 0;
118128 _ACEOF
118129 rm -f conftest$ac_exeext
118130 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118131 (eval $ac_link) 2>&5
118132 ac_status=$?
118133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118134 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118136 (eval $ac_try) 2>&5
118137 ac_status=$?
118138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118139 (exit $ac_status); }; }; then
118140 ac_cv_sizeof_void_p=`cat conftest.val`
118142 echo "$as_me: program exited with status $ac_status" >&5
118143 echo "$as_me: failed program was:" >&5
118144 sed 's/^/| /' conftest.$ac_ext >&5
118146 ( exit $ac_status )
118147 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118148 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118149 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
118150 See \`config.log' for more details." >&5
118151 echo "$as_me: error: cannot compute sizeof (void *), 77
118152 See \`config.log' for more details." >&2;}
118153 { (exit 1); exit 1; }; }; }
118155 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118158 rm -f conftest.val
118160 ac_cv_sizeof_void_p=0
118163 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
118164 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
118165 cat >>confdefs.h <<_ACEOF
118166 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
118167 _ACEOF
118172 # Lacking an uint64_t? Test size of long
118173 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
118174 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
118175 echo $ECHO_N "checking for long... $ECHO_C" >&6
118176 if test "${ac_cv_type_long+set}" = set; then
118177 echo $ECHO_N "(cached) $ECHO_C" >&6
118179 cat >conftest.$ac_ext <<_ACEOF
118180 /* confdefs.h. */
118181 _ACEOF
118182 cat confdefs.h >>conftest.$ac_ext
118183 cat >>conftest.$ac_ext <<_ACEOF
118184 /* end confdefs.h. */
118185 $ac_includes_default
118187 main ()
118189 if ((long *) 0)
118190 return 0;
118191 if (sizeof (long))
118192 return 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_cv_type_long=yes
118221 echo "$as_me: failed program was:" >&5
118222 sed 's/^/| /' conftest.$ac_ext >&5
118224 ac_cv_type_long=no
118226 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118228 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
118229 echo "${ECHO_T}$ac_cv_type_long" >&6
118231 echo "$as_me:$LINENO: checking size of long" >&5
118232 echo $ECHO_N "checking size of long... $ECHO_C" >&6
118233 if test "${ac_cv_sizeof_long+set}" = set; then
118234 echo $ECHO_N "(cached) $ECHO_C" >&6
118236 if test "$ac_cv_type_long" = yes; then
118237 # The cast to unsigned long works around a bug in the HP C Compiler
118238 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118239 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118240 # This bug is HP SR number 8606223364.
118241 if test "$cross_compiling" = yes; then
118242 # Depending upon the size, compute the lo and hi bounds.
118243 cat >conftest.$ac_ext <<_ACEOF
118244 /* confdefs.h. */
118245 _ACEOF
118246 cat confdefs.h >>conftest.$ac_ext
118247 cat >>conftest.$ac_ext <<_ACEOF
118248 /* end confdefs.h. */
118249 $ac_includes_default
118251 main ()
118253 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
118254 test_array [0] = 0
118257 return 0;
118259 _ACEOF
118260 rm -f conftest.$ac_objext
118261 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118262 (eval $ac_compile) 2>conftest.er1
118263 ac_status=$?
118264 grep -v '^ *+' conftest.er1 >conftest.err
118265 rm -f conftest.er1
118266 cat conftest.err >&5
118267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118268 (exit $ac_status); } &&
118269 { ac_try='test -z "$ac_c_werror_flag"
118270 || test ! -s conftest.err'
118271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118272 (eval $ac_try) 2>&5
118273 ac_status=$?
118274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118275 (exit $ac_status); }; } &&
118276 { ac_try='test -s conftest.$ac_objext'
118277 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118278 (eval $ac_try) 2>&5
118279 ac_status=$?
118280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118281 (exit $ac_status); }; }; then
118282 ac_lo=0 ac_mid=0
118283 while :; do
118284 cat >conftest.$ac_ext <<_ACEOF
118285 /* confdefs.h. */
118286 _ACEOF
118287 cat confdefs.h >>conftest.$ac_ext
118288 cat >>conftest.$ac_ext <<_ACEOF
118289 /* end confdefs.h. */
118290 $ac_includes_default
118292 main ()
118294 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
118295 test_array [0] = 0
118298 return 0;
118300 _ACEOF
118301 rm -f conftest.$ac_objext
118302 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118303 (eval $ac_compile) 2>conftest.er1
118304 ac_status=$?
118305 grep -v '^ *+' conftest.er1 >conftest.err
118306 rm -f conftest.er1
118307 cat conftest.err >&5
118308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118309 (exit $ac_status); } &&
118310 { ac_try='test -z "$ac_c_werror_flag"
118311 || test ! -s conftest.err'
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); }; } &&
118317 { ac_try='test -s conftest.$ac_objext'
118318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118319 (eval $ac_try) 2>&5
118320 ac_status=$?
118321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118322 (exit $ac_status); }; }; then
118323 ac_hi=$ac_mid; break
118325 echo "$as_me: failed program was:" >&5
118326 sed 's/^/| /' conftest.$ac_ext >&5
118328 ac_lo=`expr $ac_mid + 1`
118329 if test $ac_lo -le $ac_mid; then
118330 ac_lo= ac_hi=
118331 break
118333 ac_mid=`expr 2 '*' $ac_mid + 1`
118335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118338 echo "$as_me: failed program was:" >&5
118339 sed 's/^/| /' conftest.$ac_ext >&5
118341 cat >conftest.$ac_ext <<_ACEOF
118342 /* confdefs.h. */
118343 _ACEOF
118344 cat confdefs.h >>conftest.$ac_ext
118345 cat >>conftest.$ac_ext <<_ACEOF
118346 /* end confdefs.h. */
118347 $ac_includes_default
118349 main ()
118351 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
118352 test_array [0] = 0
118355 return 0;
118357 _ACEOF
118358 rm -f conftest.$ac_objext
118359 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118360 (eval $ac_compile) 2>conftest.er1
118361 ac_status=$?
118362 grep -v '^ *+' conftest.er1 >conftest.err
118363 rm -f conftest.er1
118364 cat conftest.err >&5
118365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118366 (exit $ac_status); } &&
118367 { ac_try='test -z "$ac_c_werror_flag"
118368 || test ! -s conftest.err'
118369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118370 (eval $ac_try) 2>&5
118371 ac_status=$?
118372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118373 (exit $ac_status); }; } &&
118374 { ac_try='test -s conftest.$ac_objext'
118375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118376 (eval $ac_try) 2>&5
118377 ac_status=$?
118378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118379 (exit $ac_status); }; }; then
118380 ac_hi=-1 ac_mid=-1
118381 while :; do
118382 cat >conftest.$ac_ext <<_ACEOF
118383 /* confdefs.h. */
118384 _ACEOF
118385 cat confdefs.h >>conftest.$ac_ext
118386 cat >>conftest.$ac_ext <<_ACEOF
118387 /* end confdefs.h. */
118388 $ac_includes_default
118390 main ()
118392 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
118393 test_array [0] = 0
118396 return 0;
118398 _ACEOF
118399 rm -f conftest.$ac_objext
118400 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118401 (eval $ac_compile) 2>conftest.er1
118402 ac_status=$?
118403 grep -v '^ *+' conftest.er1 >conftest.err
118404 rm -f conftest.er1
118405 cat conftest.err >&5
118406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118407 (exit $ac_status); } &&
118408 { ac_try='test -z "$ac_c_werror_flag"
118409 || test ! -s conftest.err'
118410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118411 (eval $ac_try) 2>&5
118412 ac_status=$?
118413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118414 (exit $ac_status); }; } &&
118415 { ac_try='test -s conftest.$ac_objext'
118416 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118417 (eval $ac_try) 2>&5
118418 ac_status=$?
118419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118420 (exit $ac_status); }; }; then
118421 ac_lo=$ac_mid; break
118423 echo "$as_me: failed program was:" >&5
118424 sed 's/^/| /' conftest.$ac_ext >&5
118426 ac_hi=`expr '(' $ac_mid ')' - 1`
118427 if test $ac_mid -le $ac_hi; then
118428 ac_lo= ac_hi=
118429 break
118431 ac_mid=`expr 2 '*' $ac_mid`
118433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118436 echo "$as_me: failed program was:" >&5
118437 sed 's/^/| /' conftest.$ac_ext >&5
118439 ac_lo= ac_hi=
118441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118444 # Binary search between lo and hi bounds.
118445 while test "x$ac_lo" != "x$ac_hi"; do
118446 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118447 cat >conftest.$ac_ext <<_ACEOF
118448 /* confdefs.h. */
118449 _ACEOF
118450 cat confdefs.h >>conftest.$ac_ext
118451 cat >>conftest.$ac_ext <<_ACEOF
118452 /* end confdefs.h. */
118453 $ac_includes_default
118455 main ()
118457 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
118458 test_array [0] = 0
118461 return 0;
118463 _ACEOF
118464 rm -f conftest.$ac_objext
118465 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118466 (eval $ac_compile) 2>conftest.er1
118467 ac_status=$?
118468 grep -v '^ *+' conftest.er1 >conftest.err
118469 rm -f conftest.er1
118470 cat conftest.err >&5
118471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118472 (exit $ac_status); } &&
118473 { ac_try='test -z "$ac_c_werror_flag"
118474 || test ! -s conftest.err'
118475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118476 (eval $ac_try) 2>&5
118477 ac_status=$?
118478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118479 (exit $ac_status); }; } &&
118480 { ac_try='test -s conftest.$ac_objext'
118481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118482 (eval $ac_try) 2>&5
118483 ac_status=$?
118484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118485 (exit $ac_status); }; }; then
118486 ac_hi=$ac_mid
118488 echo "$as_me: failed program was:" >&5
118489 sed 's/^/| /' conftest.$ac_ext >&5
118491 ac_lo=`expr '(' $ac_mid ')' + 1`
118493 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118495 case $ac_lo in
118496 ?*) ac_cv_sizeof_long=$ac_lo;;
118497 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118498 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118499 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118500 See \`config.log' for more details." >&5
118501 echo "$as_me: error: cannot compute sizeof (long), 77
118502 See \`config.log' for more details." >&2;}
118503 { (exit 1); exit 1; }; }; } ;;
118506 if test "$cross_compiling" = yes; then
118507 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118508 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118509 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118510 See \`config.log' for more details." >&5
118511 echo "$as_me: error: cannot run test program while cross compiling
118512 See \`config.log' for more details." >&2;}
118513 { (exit 1); exit 1; }; }; }
118515 cat >conftest.$ac_ext <<_ACEOF
118516 /* confdefs.h. */
118517 _ACEOF
118518 cat confdefs.h >>conftest.$ac_ext
118519 cat >>conftest.$ac_ext <<_ACEOF
118520 /* end confdefs.h. */
118521 $ac_includes_default
118522 long longval () { return (long) (sizeof (long)); }
118523 unsigned long ulongval () { return (long) (sizeof (long)); }
118524 #include <stdio.h>
118525 #include <stdlib.h>
118527 main ()
118530 FILE *f = fopen ("conftest.val", "w");
118531 if (! f)
118532 exit (1);
118533 if (((long) (sizeof (long))) < 0)
118535 long i = longval ();
118536 if (i != ((long) (sizeof (long))))
118537 exit (1);
118538 fprintf (f, "%ld\n", i);
118542 unsigned long i = ulongval ();
118543 if (i != ((long) (sizeof (long))))
118544 exit (1);
118545 fprintf (f, "%lu\n", i);
118547 exit (ferror (f) || fclose (f) != 0);
118550 return 0;
118552 _ACEOF
118553 rm -f conftest$ac_exeext
118554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118555 (eval $ac_link) 2>&5
118556 ac_status=$?
118557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118558 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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); }; }; then
118564 ac_cv_sizeof_long=`cat conftest.val`
118566 echo "$as_me: program exited with status $ac_status" >&5
118567 echo "$as_me: failed program was:" >&5
118568 sed 's/^/| /' conftest.$ac_ext >&5
118570 ( exit $ac_status )
118571 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118572 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118573 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
118574 See \`config.log' for more details." >&5
118575 echo "$as_me: error: cannot compute sizeof (long), 77
118576 See \`config.log' for more details." >&2;}
118577 { (exit 1); exit 1; }; }; }
118579 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
118582 rm -f conftest.val
118584 ac_cv_sizeof_long=0
118587 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
118588 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
118589 cat >>confdefs.h <<_ACEOF
118590 #define SIZEOF_LONG $ac_cv_sizeof_long
118591 _ACEOF
118596 if test $acx_cv_header_stdint = stddef.h; then
118597 # Lacking a good header? Test size of everything and deduce all types.
118598 echo "$as_me:$LINENO: checking for int" >&5
118599 echo $ECHO_N "checking for int... $ECHO_C" >&6
118600 if test "${ac_cv_type_int+set}" = set; then
118601 echo $ECHO_N "(cached) $ECHO_C" >&6
118603 cat >conftest.$ac_ext <<_ACEOF
118604 /* confdefs.h. */
118605 _ACEOF
118606 cat confdefs.h >>conftest.$ac_ext
118607 cat >>conftest.$ac_ext <<_ACEOF
118608 /* end confdefs.h. */
118609 $ac_includes_default
118611 main ()
118613 if ((int *) 0)
118614 return 0;
118615 if (sizeof (int))
118616 return 0;
118618 return 0;
118620 _ACEOF
118621 rm -f conftest.$ac_objext
118622 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118623 (eval $ac_compile) 2>conftest.er1
118624 ac_status=$?
118625 grep -v '^ *+' conftest.er1 >conftest.err
118626 rm -f conftest.er1
118627 cat conftest.err >&5
118628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118629 (exit $ac_status); } &&
118630 { ac_try='test -z "$ac_c_werror_flag"
118631 || test ! -s conftest.err'
118632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118633 (eval $ac_try) 2>&5
118634 ac_status=$?
118635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118636 (exit $ac_status); }; } &&
118637 { ac_try='test -s conftest.$ac_objext'
118638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118639 (eval $ac_try) 2>&5
118640 ac_status=$?
118641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118642 (exit $ac_status); }; }; then
118643 ac_cv_type_int=yes
118645 echo "$as_me: failed program was:" >&5
118646 sed 's/^/| /' conftest.$ac_ext >&5
118648 ac_cv_type_int=no
118650 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118652 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
118653 echo "${ECHO_T}$ac_cv_type_int" >&6
118655 echo "$as_me:$LINENO: checking size of int" >&5
118656 echo $ECHO_N "checking size of int... $ECHO_C" >&6
118657 if test "${ac_cv_sizeof_int+set}" = set; then
118658 echo $ECHO_N "(cached) $ECHO_C" >&6
118660 if test "$ac_cv_type_int" = yes; then
118661 # The cast to unsigned long works around a bug in the HP C Compiler
118662 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
118663 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
118664 # This bug is HP SR number 8606223364.
118665 if test "$cross_compiling" = yes; then
118666 # Depending upon the size, compute the lo and hi bounds.
118667 cat >conftest.$ac_ext <<_ACEOF
118668 /* confdefs.h. */
118669 _ACEOF
118670 cat confdefs.h >>conftest.$ac_ext
118671 cat >>conftest.$ac_ext <<_ACEOF
118672 /* end confdefs.h. */
118673 $ac_includes_default
118675 main ()
118677 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
118678 test_array [0] = 0
118681 return 0;
118683 _ACEOF
118684 rm -f conftest.$ac_objext
118685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118686 (eval $ac_compile) 2>conftest.er1
118687 ac_status=$?
118688 grep -v '^ *+' conftest.er1 >conftest.err
118689 rm -f conftest.er1
118690 cat conftest.err >&5
118691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118692 (exit $ac_status); } &&
118693 { ac_try='test -z "$ac_c_werror_flag"
118694 || test ! -s conftest.err'
118695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118696 (eval $ac_try) 2>&5
118697 ac_status=$?
118698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118699 (exit $ac_status); }; } &&
118700 { ac_try='test -s conftest.$ac_objext'
118701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118702 (eval $ac_try) 2>&5
118703 ac_status=$?
118704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118705 (exit $ac_status); }; }; then
118706 ac_lo=0 ac_mid=0
118707 while :; do
118708 cat >conftest.$ac_ext <<_ACEOF
118709 /* confdefs.h. */
118710 _ACEOF
118711 cat confdefs.h >>conftest.$ac_ext
118712 cat >>conftest.$ac_ext <<_ACEOF
118713 /* end confdefs.h. */
118714 $ac_includes_default
118716 main ()
118718 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118719 test_array [0] = 0
118722 return 0;
118724 _ACEOF
118725 rm -f conftest.$ac_objext
118726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118727 (eval $ac_compile) 2>conftest.er1
118728 ac_status=$?
118729 grep -v '^ *+' conftest.er1 >conftest.err
118730 rm -f conftest.er1
118731 cat conftest.err >&5
118732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118733 (exit $ac_status); } &&
118734 { ac_try='test -z "$ac_c_werror_flag"
118735 || test ! -s conftest.err'
118736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118737 (eval $ac_try) 2>&5
118738 ac_status=$?
118739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118740 (exit $ac_status); }; } &&
118741 { ac_try='test -s conftest.$ac_objext'
118742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118743 (eval $ac_try) 2>&5
118744 ac_status=$?
118745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118746 (exit $ac_status); }; }; then
118747 ac_hi=$ac_mid; break
118749 echo "$as_me: failed program was:" >&5
118750 sed 's/^/| /' conftest.$ac_ext >&5
118752 ac_lo=`expr $ac_mid + 1`
118753 if test $ac_lo -le $ac_mid; then
118754 ac_lo= ac_hi=
118755 break
118757 ac_mid=`expr 2 '*' $ac_mid + 1`
118759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118762 echo "$as_me: failed program was:" >&5
118763 sed 's/^/| /' conftest.$ac_ext >&5
118765 cat >conftest.$ac_ext <<_ACEOF
118766 /* confdefs.h. */
118767 _ACEOF
118768 cat confdefs.h >>conftest.$ac_ext
118769 cat >>conftest.$ac_ext <<_ACEOF
118770 /* end confdefs.h. */
118771 $ac_includes_default
118773 main ()
118775 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
118776 test_array [0] = 0
118779 return 0;
118781 _ACEOF
118782 rm -f conftest.$ac_objext
118783 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118784 (eval $ac_compile) 2>conftest.er1
118785 ac_status=$?
118786 grep -v '^ *+' conftest.er1 >conftest.err
118787 rm -f conftest.er1
118788 cat conftest.err >&5
118789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118790 (exit $ac_status); } &&
118791 { ac_try='test -z "$ac_c_werror_flag"
118792 || test ! -s conftest.err'
118793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118794 (eval $ac_try) 2>&5
118795 ac_status=$?
118796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118797 (exit $ac_status); }; } &&
118798 { ac_try='test -s conftest.$ac_objext'
118799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118800 (eval $ac_try) 2>&5
118801 ac_status=$?
118802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118803 (exit $ac_status); }; }; then
118804 ac_hi=-1 ac_mid=-1
118805 while :; do
118806 cat >conftest.$ac_ext <<_ACEOF
118807 /* confdefs.h. */
118808 _ACEOF
118809 cat confdefs.h >>conftest.$ac_ext
118810 cat >>conftest.$ac_ext <<_ACEOF
118811 /* end confdefs.h. */
118812 $ac_includes_default
118814 main ()
118816 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
118817 test_array [0] = 0
118820 return 0;
118822 _ACEOF
118823 rm -f conftest.$ac_objext
118824 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118825 (eval $ac_compile) 2>conftest.er1
118826 ac_status=$?
118827 grep -v '^ *+' conftest.er1 >conftest.err
118828 rm -f conftest.er1
118829 cat conftest.err >&5
118830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118831 (exit $ac_status); } &&
118832 { ac_try='test -z "$ac_c_werror_flag"
118833 || test ! -s conftest.err'
118834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118835 (eval $ac_try) 2>&5
118836 ac_status=$?
118837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118838 (exit $ac_status); }; } &&
118839 { ac_try='test -s conftest.$ac_objext'
118840 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118841 (eval $ac_try) 2>&5
118842 ac_status=$?
118843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118844 (exit $ac_status); }; }; then
118845 ac_lo=$ac_mid; break
118847 echo "$as_me: failed program was:" >&5
118848 sed 's/^/| /' conftest.$ac_ext >&5
118850 ac_hi=`expr '(' $ac_mid ')' - 1`
118851 if test $ac_mid -le $ac_hi; then
118852 ac_lo= ac_hi=
118853 break
118855 ac_mid=`expr 2 '*' $ac_mid`
118857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118860 echo "$as_me: failed program was:" >&5
118861 sed 's/^/| /' conftest.$ac_ext >&5
118863 ac_lo= ac_hi=
118865 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118868 # Binary search between lo and hi bounds.
118869 while test "x$ac_lo" != "x$ac_hi"; do
118870 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
118871 cat >conftest.$ac_ext <<_ACEOF
118872 /* confdefs.h. */
118873 _ACEOF
118874 cat confdefs.h >>conftest.$ac_ext
118875 cat >>conftest.$ac_ext <<_ACEOF
118876 /* end confdefs.h. */
118877 $ac_includes_default
118879 main ()
118881 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
118882 test_array [0] = 0
118885 return 0;
118887 _ACEOF
118888 rm -f conftest.$ac_objext
118889 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118890 (eval $ac_compile) 2>conftest.er1
118891 ac_status=$?
118892 grep -v '^ *+' conftest.er1 >conftest.err
118893 rm -f conftest.er1
118894 cat conftest.err >&5
118895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118896 (exit $ac_status); } &&
118897 { ac_try='test -z "$ac_c_werror_flag"
118898 || test ! -s conftest.err'
118899 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118900 (eval $ac_try) 2>&5
118901 ac_status=$?
118902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118903 (exit $ac_status); }; } &&
118904 { ac_try='test -s conftest.$ac_objext'
118905 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118906 (eval $ac_try) 2>&5
118907 ac_status=$?
118908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118909 (exit $ac_status); }; }; then
118910 ac_hi=$ac_mid
118912 echo "$as_me: failed program was:" >&5
118913 sed 's/^/| /' conftest.$ac_ext >&5
118915 ac_lo=`expr '(' $ac_mid ')' + 1`
118917 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118919 case $ac_lo in
118920 ?*) ac_cv_sizeof_int=$ac_lo;;
118921 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118922 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118924 See \`config.log' for more details." >&5
118925 echo "$as_me: error: cannot compute sizeof (int), 77
118926 See \`config.log' for more details." >&2;}
118927 { (exit 1); exit 1; }; }; } ;;
118930 if test "$cross_compiling" = yes; then
118931 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118932 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118933 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
118934 See \`config.log' for more details." >&5
118935 echo "$as_me: error: cannot run test program while cross compiling
118936 See \`config.log' for more details." >&2;}
118937 { (exit 1); exit 1; }; }; }
118939 cat >conftest.$ac_ext <<_ACEOF
118940 /* confdefs.h. */
118941 _ACEOF
118942 cat confdefs.h >>conftest.$ac_ext
118943 cat >>conftest.$ac_ext <<_ACEOF
118944 /* end confdefs.h. */
118945 $ac_includes_default
118946 long longval () { return (long) (sizeof (int)); }
118947 unsigned long ulongval () { return (long) (sizeof (int)); }
118948 #include <stdio.h>
118949 #include <stdlib.h>
118951 main ()
118954 FILE *f = fopen ("conftest.val", "w");
118955 if (! f)
118956 exit (1);
118957 if (((long) (sizeof (int))) < 0)
118959 long i = longval ();
118960 if (i != ((long) (sizeof (int))))
118961 exit (1);
118962 fprintf (f, "%ld\n", i);
118966 unsigned long i = ulongval ();
118967 if (i != ((long) (sizeof (int))))
118968 exit (1);
118969 fprintf (f, "%lu\n", i);
118971 exit (ferror (f) || fclose (f) != 0);
118974 return 0;
118976 _ACEOF
118977 rm -f conftest$ac_exeext
118978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118979 (eval $ac_link) 2>&5
118980 ac_status=$?
118981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118982 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
118983 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118984 (eval $ac_try) 2>&5
118985 ac_status=$?
118986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118987 (exit $ac_status); }; }; then
118988 ac_cv_sizeof_int=`cat conftest.val`
118990 echo "$as_me: program exited with status $ac_status" >&5
118991 echo "$as_me: failed program was:" >&5
118992 sed 's/^/| /' conftest.$ac_ext >&5
118994 ( exit $ac_status )
118995 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
118996 echo "$as_me: error: in \`$ac_pwd':" >&2;}
118997 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
118998 See \`config.log' for more details." >&5
118999 echo "$as_me: error: cannot compute sizeof (int), 77
119000 See \`config.log' for more details." >&2;}
119001 { (exit 1); exit 1; }; }; }
119003 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119006 rm -f conftest.val
119008 ac_cv_sizeof_int=0
119011 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
119012 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
119013 cat >>confdefs.h <<_ACEOF
119014 #define SIZEOF_INT $ac_cv_sizeof_int
119015 _ACEOF
119018 echo "$as_me:$LINENO: checking for short" >&5
119019 echo $ECHO_N "checking for short... $ECHO_C" >&6
119020 if test "${ac_cv_type_short+set}" = set; then
119021 echo $ECHO_N "(cached) $ECHO_C" >&6
119023 cat >conftest.$ac_ext <<_ACEOF
119024 /* confdefs.h. */
119025 _ACEOF
119026 cat confdefs.h >>conftest.$ac_ext
119027 cat >>conftest.$ac_ext <<_ACEOF
119028 /* end confdefs.h. */
119029 $ac_includes_default
119031 main ()
119033 if ((short *) 0)
119034 return 0;
119035 if (sizeof (short))
119036 return 0;
119038 return 0;
119040 _ACEOF
119041 rm -f conftest.$ac_objext
119042 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119043 (eval $ac_compile) 2>conftest.er1
119044 ac_status=$?
119045 grep -v '^ *+' conftest.er1 >conftest.err
119046 rm -f conftest.er1
119047 cat conftest.err >&5
119048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119049 (exit $ac_status); } &&
119050 { ac_try='test -z "$ac_c_werror_flag"
119051 || test ! -s conftest.err'
119052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119053 (eval $ac_try) 2>&5
119054 ac_status=$?
119055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119056 (exit $ac_status); }; } &&
119057 { ac_try='test -s conftest.$ac_objext'
119058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119059 (eval $ac_try) 2>&5
119060 ac_status=$?
119061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119062 (exit $ac_status); }; }; then
119063 ac_cv_type_short=yes
119065 echo "$as_me: failed program was:" >&5
119066 sed 's/^/| /' conftest.$ac_ext >&5
119068 ac_cv_type_short=no
119070 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119072 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
119073 echo "${ECHO_T}$ac_cv_type_short" >&6
119075 echo "$as_me:$LINENO: checking size of short" >&5
119076 echo $ECHO_N "checking size of short... $ECHO_C" >&6
119077 if test "${ac_cv_sizeof_short+set}" = set; then
119078 echo $ECHO_N "(cached) $ECHO_C" >&6
119080 if test "$ac_cv_type_short" = yes; then
119081 # The cast to unsigned long works around a bug in the HP C Compiler
119082 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119083 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119084 # This bug is HP SR number 8606223364.
119085 if test "$cross_compiling" = yes; then
119086 # Depending upon the size, compute the lo and hi bounds.
119087 cat >conftest.$ac_ext <<_ACEOF
119088 /* confdefs.h. */
119089 _ACEOF
119090 cat confdefs.h >>conftest.$ac_ext
119091 cat >>conftest.$ac_ext <<_ACEOF
119092 /* end confdefs.h. */
119093 $ac_includes_default
119095 main ()
119097 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
119098 test_array [0] = 0
119101 return 0;
119103 _ACEOF
119104 rm -f conftest.$ac_objext
119105 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119106 (eval $ac_compile) 2>conftest.er1
119107 ac_status=$?
119108 grep -v '^ *+' conftest.er1 >conftest.err
119109 rm -f conftest.er1
119110 cat conftest.err >&5
119111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119112 (exit $ac_status); } &&
119113 { ac_try='test -z "$ac_c_werror_flag"
119114 || test ! -s conftest.err'
119115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119116 (eval $ac_try) 2>&5
119117 ac_status=$?
119118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119119 (exit $ac_status); }; } &&
119120 { ac_try='test -s conftest.$ac_objext'
119121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119122 (eval $ac_try) 2>&5
119123 ac_status=$?
119124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119125 (exit $ac_status); }; }; then
119126 ac_lo=0 ac_mid=0
119127 while :; do
119128 cat >conftest.$ac_ext <<_ACEOF
119129 /* confdefs.h. */
119130 _ACEOF
119131 cat confdefs.h >>conftest.$ac_ext
119132 cat >>conftest.$ac_ext <<_ACEOF
119133 /* end confdefs.h. */
119134 $ac_includes_default
119136 main ()
119138 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
119139 test_array [0] = 0
119142 return 0;
119144 _ACEOF
119145 rm -f conftest.$ac_objext
119146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119147 (eval $ac_compile) 2>conftest.er1
119148 ac_status=$?
119149 grep -v '^ *+' conftest.er1 >conftest.err
119150 rm -f conftest.er1
119151 cat conftest.err >&5
119152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119153 (exit $ac_status); } &&
119154 { ac_try='test -z "$ac_c_werror_flag"
119155 || test ! -s conftest.err'
119156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119157 (eval $ac_try) 2>&5
119158 ac_status=$?
119159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119160 (exit $ac_status); }; } &&
119161 { ac_try='test -s conftest.$ac_objext'
119162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119163 (eval $ac_try) 2>&5
119164 ac_status=$?
119165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119166 (exit $ac_status); }; }; then
119167 ac_hi=$ac_mid; break
119169 echo "$as_me: failed program was:" >&5
119170 sed 's/^/| /' conftest.$ac_ext >&5
119172 ac_lo=`expr $ac_mid + 1`
119173 if test $ac_lo -le $ac_mid; then
119174 ac_lo= ac_hi=
119175 break
119177 ac_mid=`expr 2 '*' $ac_mid + 1`
119179 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119182 echo "$as_me: failed program was:" >&5
119183 sed 's/^/| /' conftest.$ac_ext >&5
119185 cat >conftest.$ac_ext <<_ACEOF
119186 /* confdefs.h. */
119187 _ACEOF
119188 cat confdefs.h >>conftest.$ac_ext
119189 cat >>conftest.$ac_ext <<_ACEOF
119190 /* end confdefs.h. */
119191 $ac_includes_default
119193 main ()
119195 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
119196 test_array [0] = 0
119199 return 0;
119201 _ACEOF
119202 rm -f conftest.$ac_objext
119203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119204 (eval $ac_compile) 2>conftest.er1
119205 ac_status=$?
119206 grep -v '^ *+' conftest.er1 >conftest.err
119207 rm -f conftest.er1
119208 cat conftest.err >&5
119209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119210 (exit $ac_status); } &&
119211 { ac_try='test -z "$ac_c_werror_flag"
119212 || test ! -s conftest.err'
119213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119214 (eval $ac_try) 2>&5
119215 ac_status=$?
119216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119217 (exit $ac_status); }; } &&
119218 { ac_try='test -s conftest.$ac_objext'
119219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119220 (eval $ac_try) 2>&5
119221 ac_status=$?
119222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119223 (exit $ac_status); }; }; then
119224 ac_hi=-1 ac_mid=-1
119225 while :; do
119226 cat >conftest.$ac_ext <<_ACEOF
119227 /* confdefs.h. */
119228 _ACEOF
119229 cat confdefs.h >>conftest.$ac_ext
119230 cat >>conftest.$ac_ext <<_ACEOF
119231 /* end confdefs.h. */
119232 $ac_includes_default
119234 main ()
119236 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
119237 test_array [0] = 0
119240 return 0;
119242 _ACEOF
119243 rm -f conftest.$ac_objext
119244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119245 (eval $ac_compile) 2>conftest.er1
119246 ac_status=$?
119247 grep -v '^ *+' conftest.er1 >conftest.err
119248 rm -f conftest.er1
119249 cat conftest.err >&5
119250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119251 (exit $ac_status); } &&
119252 { ac_try='test -z "$ac_c_werror_flag"
119253 || test ! -s conftest.err'
119254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119255 (eval $ac_try) 2>&5
119256 ac_status=$?
119257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119258 (exit $ac_status); }; } &&
119259 { ac_try='test -s conftest.$ac_objext'
119260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119261 (eval $ac_try) 2>&5
119262 ac_status=$?
119263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119264 (exit $ac_status); }; }; then
119265 ac_lo=$ac_mid; break
119267 echo "$as_me: failed program was:" >&5
119268 sed 's/^/| /' conftest.$ac_ext >&5
119270 ac_hi=`expr '(' $ac_mid ')' - 1`
119271 if test $ac_mid -le $ac_hi; then
119272 ac_lo= ac_hi=
119273 break
119275 ac_mid=`expr 2 '*' $ac_mid`
119277 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119280 echo "$as_me: failed program was:" >&5
119281 sed 's/^/| /' conftest.$ac_ext >&5
119283 ac_lo= ac_hi=
119285 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119287 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119288 # Binary search between lo and hi bounds.
119289 while test "x$ac_lo" != "x$ac_hi"; do
119290 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
119291 cat >conftest.$ac_ext <<_ACEOF
119292 /* confdefs.h. */
119293 _ACEOF
119294 cat confdefs.h >>conftest.$ac_ext
119295 cat >>conftest.$ac_ext <<_ACEOF
119296 /* end confdefs.h. */
119297 $ac_includes_default
119299 main ()
119301 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
119302 test_array [0] = 0
119305 return 0;
119307 _ACEOF
119308 rm -f conftest.$ac_objext
119309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119310 (eval $ac_compile) 2>conftest.er1
119311 ac_status=$?
119312 grep -v '^ *+' conftest.er1 >conftest.err
119313 rm -f conftest.er1
119314 cat conftest.err >&5
119315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119316 (exit $ac_status); } &&
119317 { ac_try='test -z "$ac_c_werror_flag"
119318 || test ! -s conftest.err'
119319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119320 (eval $ac_try) 2>&5
119321 ac_status=$?
119322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119323 (exit $ac_status); }; } &&
119324 { ac_try='test -s conftest.$ac_objext'
119325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119326 (eval $ac_try) 2>&5
119327 ac_status=$?
119328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119329 (exit $ac_status); }; }; then
119330 ac_hi=$ac_mid
119332 echo "$as_me: failed program was:" >&5
119333 sed 's/^/| /' conftest.$ac_ext >&5
119335 ac_lo=`expr '(' $ac_mid ')' + 1`
119337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119339 case $ac_lo in
119340 ?*) ac_cv_sizeof_short=$ac_lo;;
119341 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119342 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119343 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119344 See \`config.log' for more details." >&5
119345 echo "$as_me: error: cannot compute sizeof (short), 77
119346 See \`config.log' for more details." >&2;}
119347 { (exit 1); exit 1; }; }; } ;;
119350 if test "$cross_compiling" = yes; then
119351 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119352 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119353 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119354 See \`config.log' for more details." >&5
119355 echo "$as_me: error: cannot run test program while cross compiling
119356 See \`config.log' for more details." >&2;}
119357 { (exit 1); exit 1; }; }; }
119359 cat >conftest.$ac_ext <<_ACEOF
119360 /* confdefs.h. */
119361 _ACEOF
119362 cat confdefs.h >>conftest.$ac_ext
119363 cat >>conftest.$ac_ext <<_ACEOF
119364 /* end confdefs.h. */
119365 $ac_includes_default
119366 long longval () { return (long) (sizeof (short)); }
119367 unsigned long ulongval () { return (long) (sizeof (short)); }
119368 #include <stdio.h>
119369 #include <stdlib.h>
119371 main ()
119374 FILE *f = fopen ("conftest.val", "w");
119375 if (! f)
119376 exit (1);
119377 if (((long) (sizeof (short))) < 0)
119379 long i = longval ();
119380 if (i != ((long) (sizeof (short))))
119381 exit (1);
119382 fprintf (f, "%ld\n", i);
119386 unsigned long i = ulongval ();
119387 if (i != ((long) (sizeof (short))))
119388 exit (1);
119389 fprintf (f, "%lu\n", i);
119391 exit (ferror (f) || fclose (f) != 0);
119394 return 0;
119396 _ACEOF
119397 rm -f conftest$ac_exeext
119398 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119399 (eval $ac_link) 2>&5
119400 ac_status=$?
119401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119402 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119404 (eval $ac_try) 2>&5
119405 ac_status=$?
119406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119407 (exit $ac_status); }; }; then
119408 ac_cv_sizeof_short=`cat conftest.val`
119410 echo "$as_me: program exited with status $ac_status" >&5
119411 echo "$as_me: failed program was:" >&5
119412 sed 's/^/| /' conftest.$ac_ext >&5
119414 ( exit $ac_status )
119415 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119416 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119417 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
119418 See \`config.log' for more details." >&5
119419 echo "$as_me: error: cannot compute sizeof (short), 77
119420 See \`config.log' for more details." >&2;}
119421 { (exit 1); exit 1; }; }; }
119423 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119426 rm -f conftest.val
119428 ac_cv_sizeof_short=0
119431 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
119432 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
119433 cat >>confdefs.h <<_ACEOF
119434 #define SIZEOF_SHORT $ac_cv_sizeof_short
119435 _ACEOF
119438 echo "$as_me:$LINENO: checking for char" >&5
119439 echo $ECHO_N "checking for char... $ECHO_C" >&6
119440 if test "${ac_cv_type_char+set}" = set; then
119441 echo $ECHO_N "(cached) $ECHO_C" >&6
119443 cat >conftest.$ac_ext <<_ACEOF
119444 /* confdefs.h. */
119445 _ACEOF
119446 cat confdefs.h >>conftest.$ac_ext
119447 cat >>conftest.$ac_ext <<_ACEOF
119448 /* end confdefs.h. */
119449 $ac_includes_default
119451 main ()
119453 if ((char *) 0)
119454 return 0;
119455 if (sizeof (char))
119456 return 0;
119458 return 0;
119460 _ACEOF
119461 rm -f conftest.$ac_objext
119462 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119463 (eval $ac_compile) 2>conftest.er1
119464 ac_status=$?
119465 grep -v '^ *+' conftest.er1 >conftest.err
119466 rm -f conftest.er1
119467 cat conftest.err >&5
119468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119469 (exit $ac_status); } &&
119470 { ac_try='test -z "$ac_c_werror_flag"
119471 || test ! -s conftest.err'
119472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119473 (eval $ac_try) 2>&5
119474 ac_status=$?
119475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119476 (exit $ac_status); }; } &&
119477 { ac_try='test -s conftest.$ac_objext'
119478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119479 (eval $ac_try) 2>&5
119480 ac_status=$?
119481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119482 (exit $ac_status); }; }; then
119483 ac_cv_type_char=yes
119485 echo "$as_me: failed program was:" >&5
119486 sed 's/^/| /' conftest.$ac_ext >&5
119488 ac_cv_type_char=no
119490 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119492 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
119493 echo "${ECHO_T}$ac_cv_type_char" >&6
119495 echo "$as_me:$LINENO: checking size of char" >&5
119496 echo $ECHO_N "checking size of char... $ECHO_C" >&6
119497 if test "${ac_cv_sizeof_char+set}" = set; then
119498 echo $ECHO_N "(cached) $ECHO_C" >&6
119500 if test "$ac_cv_type_char" = yes; then
119501 # The cast to unsigned long works around a bug in the HP C Compiler
119502 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
119503 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
119504 # This bug is HP SR number 8606223364.
119505 if test "$cross_compiling" = yes; then
119506 # Depending upon the size, compute the lo and hi bounds.
119507 cat >conftest.$ac_ext <<_ACEOF
119508 /* confdefs.h. */
119509 _ACEOF
119510 cat confdefs.h >>conftest.$ac_ext
119511 cat >>conftest.$ac_ext <<_ACEOF
119512 /* end confdefs.h. */
119513 $ac_includes_default
119515 main ()
119517 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
119518 test_array [0] = 0
119521 return 0;
119523 _ACEOF
119524 rm -f conftest.$ac_objext
119525 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119526 (eval $ac_compile) 2>conftest.er1
119527 ac_status=$?
119528 grep -v '^ *+' conftest.er1 >conftest.err
119529 rm -f conftest.er1
119530 cat conftest.err >&5
119531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119532 (exit $ac_status); } &&
119533 { ac_try='test -z "$ac_c_werror_flag"
119534 || test ! -s conftest.err'
119535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119536 (eval $ac_try) 2>&5
119537 ac_status=$?
119538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119539 (exit $ac_status); }; } &&
119540 { ac_try='test -s conftest.$ac_objext'
119541 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119542 (eval $ac_try) 2>&5
119543 ac_status=$?
119544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119545 (exit $ac_status); }; }; then
119546 ac_lo=0 ac_mid=0
119547 while :; do
119548 cat >conftest.$ac_ext <<_ACEOF
119549 /* confdefs.h. */
119550 _ACEOF
119551 cat confdefs.h >>conftest.$ac_ext
119552 cat >>conftest.$ac_ext <<_ACEOF
119553 /* end confdefs.h. */
119554 $ac_includes_default
119556 main ()
119558 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119559 test_array [0] = 0
119562 return 0;
119564 _ACEOF
119565 rm -f conftest.$ac_objext
119566 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119567 (eval $ac_compile) 2>conftest.er1
119568 ac_status=$?
119569 grep -v '^ *+' conftest.er1 >conftest.err
119570 rm -f conftest.er1
119571 cat conftest.err >&5
119572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119573 (exit $ac_status); } &&
119574 { ac_try='test -z "$ac_c_werror_flag"
119575 || test ! -s conftest.err'
119576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119577 (eval $ac_try) 2>&5
119578 ac_status=$?
119579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119580 (exit $ac_status); }; } &&
119581 { ac_try='test -s conftest.$ac_objext'
119582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119583 (eval $ac_try) 2>&5
119584 ac_status=$?
119585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119586 (exit $ac_status); }; }; then
119587 ac_hi=$ac_mid; break
119589 echo "$as_me: failed program was:" >&5
119590 sed 's/^/| /' conftest.$ac_ext >&5
119592 ac_lo=`expr $ac_mid + 1`
119593 if test $ac_lo -le $ac_mid; then
119594 ac_lo= ac_hi=
119595 break
119597 ac_mid=`expr 2 '*' $ac_mid + 1`
119599 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119602 echo "$as_me: failed program was:" >&5
119603 sed 's/^/| /' conftest.$ac_ext >&5
119605 cat >conftest.$ac_ext <<_ACEOF
119606 /* confdefs.h. */
119607 _ACEOF
119608 cat confdefs.h >>conftest.$ac_ext
119609 cat >>conftest.$ac_ext <<_ACEOF
119610 /* end confdefs.h. */
119611 $ac_includes_default
119613 main ()
119615 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
119616 test_array [0] = 0
119619 return 0;
119621 _ACEOF
119622 rm -f conftest.$ac_objext
119623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119624 (eval $ac_compile) 2>conftest.er1
119625 ac_status=$?
119626 grep -v '^ *+' conftest.er1 >conftest.err
119627 rm -f conftest.er1
119628 cat conftest.err >&5
119629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119630 (exit $ac_status); } &&
119631 { ac_try='test -z "$ac_c_werror_flag"
119632 || test ! -s conftest.err'
119633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119634 (eval $ac_try) 2>&5
119635 ac_status=$?
119636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119637 (exit $ac_status); }; } &&
119638 { ac_try='test -s conftest.$ac_objext'
119639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119640 (eval $ac_try) 2>&5
119641 ac_status=$?
119642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119643 (exit $ac_status); }; }; then
119644 ac_hi=-1 ac_mid=-1
119645 while :; do
119646 cat >conftest.$ac_ext <<_ACEOF
119647 /* confdefs.h. */
119648 _ACEOF
119649 cat confdefs.h >>conftest.$ac_ext
119650 cat >>conftest.$ac_ext <<_ACEOF
119651 /* end confdefs.h. */
119652 $ac_includes_default
119654 main ()
119656 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
119657 test_array [0] = 0
119660 return 0;
119662 _ACEOF
119663 rm -f conftest.$ac_objext
119664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119665 (eval $ac_compile) 2>conftest.er1
119666 ac_status=$?
119667 grep -v '^ *+' conftest.er1 >conftest.err
119668 rm -f conftest.er1
119669 cat conftest.err >&5
119670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119671 (exit $ac_status); } &&
119672 { ac_try='test -z "$ac_c_werror_flag"
119673 || test ! -s conftest.err'
119674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119675 (eval $ac_try) 2>&5
119676 ac_status=$?
119677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119678 (exit $ac_status); }; } &&
119679 { ac_try='test -s conftest.$ac_objext'
119680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119681 (eval $ac_try) 2>&5
119682 ac_status=$?
119683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119684 (exit $ac_status); }; }; then
119685 ac_lo=$ac_mid; break
119687 echo "$as_me: failed program was:" >&5
119688 sed 's/^/| /' conftest.$ac_ext >&5
119690 ac_hi=`expr '(' $ac_mid ')' - 1`
119691 if test $ac_mid -le $ac_hi; then
119692 ac_lo= ac_hi=
119693 break
119695 ac_mid=`expr 2 '*' $ac_mid`
119697 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119700 echo "$as_me: failed program was:" >&5
119701 sed 's/^/| /' conftest.$ac_ext >&5
119703 ac_lo= ac_hi=
119705 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119708 # Binary search between lo and hi bounds.
119709 while test "x$ac_lo" != "x$ac_hi"; do
119710 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
119711 cat >conftest.$ac_ext <<_ACEOF
119712 /* confdefs.h. */
119713 _ACEOF
119714 cat confdefs.h >>conftest.$ac_ext
119715 cat >>conftest.$ac_ext <<_ACEOF
119716 /* end confdefs.h. */
119717 $ac_includes_default
119719 main ()
119721 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
119722 test_array [0] = 0
119725 return 0;
119727 _ACEOF
119728 rm -f conftest.$ac_objext
119729 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
119730 (eval $ac_compile) 2>conftest.er1
119731 ac_status=$?
119732 grep -v '^ *+' conftest.er1 >conftest.err
119733 rm -f conftest.er1
119734 cat conftest.err >&5
119735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119736 (exit $ac_status); } &&
119737 { ac_try='test -z "$ac_c_werror_flag"
119738 || test ! -s conftest.err'
119739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119740 (eval $ac_try) 2>&5
119741 ac_status=$?
119742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119743 (exit $ac_status); }; } &&
119744 { ac_try='test -s conftest.$ac_objext'
119745 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119746 (eval $ac_try) 2>&5
119747 ac_status=$?
119748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119749 (exit $ac_status); }; }; then
119750 ac_hi=$ac_mid
119752 echo "$as_me: failed program was:" >&5
119753 sed 's/^/| /' conftest.$ac_ext >&5
119755 ac_lo=`expr '(' $ac_mid ')' + 1`
119757 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
119759 case $ac_lo in
119760 ?*) ac_cv_sizeof_char=$ac_lo;;
119761 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119762 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119763 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119764 See \`config.log' for more details." >&5
119765 echo "$as_me: error: cannot compute sizeof (char), 77
119766 See \`config.log' for more details." >&2;}
119767 { (exit 1); exit 1; }; }; } ;;
119770 if test "$cross_compiling" = yes; then
119771 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119772 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119773 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
119774 See \`config.log' for more details." >&5
119775 echo "$as_me: error: cannot run test program while cross compiling
119776 See \`config.log' for more details." >&2;}
119777 { (exit 1); exit 1; }; }; }
119779 cat >conftest.$ac_ext <<_ACEOF
119780 /* confdefs.h. */
119781 _ACEOF
119782 cat confdefs.h >>conftest.$ac_ext
119783 cat >>conftest.$ac_ext <<_ACEOF
119784 /* end confdefs.h. */
119785 $ac_includes_default
119786 long longval () { return (long) (sizeof (char)); }
119787 unsigned long ulongval () { return (long) (sizeof (char)); }
119788 #include <stdio.h>
119789 #include <stdlib.h>
119791 main ()
119794 FILE *f = fopen ("conftest.val", "w");
119795 if (! f)
119796 exit (1);
119797 if (((long) (sizeof (char))) < 0)
119799 long i = longval ();
119800 if (i != ((long) (sizeof (char))))
119801 exit (1);
119802 fprintf (f, "%ld\n", i);
119806 unsigned long i = ulongval ();
119807 if (i != ((long) (sizeof (char))))
119808 exit (1);
119809 fprintf (f, "%lu\n", i);
119811 exit (ferror (f) || fclose (f) != 0);
119814 return 0;
119816 _ACEOF
119817 rm -f conftest$ac_exeext
119818 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
119819 (eval $ac_link) 2>&5
119820 ac_status=$?
119821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119822 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
119823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
119824 (eval $ac_try) 2>&5
119825 ac_status=$?
119826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
119827 (exit $ac_status); }; }; then
119828 ac_cv_sizeof_char=`cat conftest.val`
119830 echo "$as_me: program exited with status $ac_status" >&5
119831 echo "$as_me: failed program was:" >&5
119832 sed 's/^/| /' conftest.$ac_ext >&5
119834 ( exit $ac_status )
119835 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
119836 echo "$as_me: error: in \`$ac_pwd':" >&2;}
119837 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
119838 See \`config.log' for more details." >&5
119839 echo "$as_me: error: cannot compute sizeof (char), 77
119840 See \`config.log' for more details." >&2;}
119841 { (exit 1); exit 1; }; }; }
119843 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
119846 rm -f conftest.val
119848 ac_cv_sizeof_char=0
119851 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
119852 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
119853 cat >>confdefs.h <<_ACEOF
119854 #define SIZEOF_CHAR $ac_cv_sizeof_char
119855 _ACEOF
119859 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
119860 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
119861 case "$ac_cv_sizeof_char" in
119862 1) acx_cv_type_int8_t=char ;;
119863 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
119864 echo "$as_me: error: no 8-bit type" >&2;}
119865 { (exit please report a bug); exit please report a bug; }; }
119867 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
119868 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
119870 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
119871 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
119872 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
119873 2:*) acx_cv_type_int16_t=int ;;
119874 *:2) acx_cv_type_int16_t=short ;;
119875 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
119876 echo "$as_me: error: no 16-bit type" >&2;}
119877 { (exit please report a bug); exit please report a bug; }; }
119879 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
119880 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
119882 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
119883 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
119884 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
119885 4:*) acx_cv_type_int32_t=int ;;
119886 *:4) acx_cv_type_int32_t=long ;;
119887 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
119888 echo "$as_me: error: no 32-bit type" >&2;}
119889 { (exit please report a bug); exit please report a bug; }; }
119891 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
119892 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
119895 # These tests are here to make the output prettier
119897 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
119898 case "$ac_cv_sizeof_long" in
119899 8) acx_cv_type_int64_t=long ;;
119901 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
119902 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
119903 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
119904 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
119907 # Now we can use the above types
119909 if test "$ac_cv_type_uintptr_t" != yes; then
119910 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
119911 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
119912 case $ac_cv_sizeof_void_p in
119913 2) acx_cv_type_intptr_t=int16_t ;;
119914 4) acx_cv_type_intptr_t=int32_t ;;
119915 8) acx_cv_type_intptr_t=int64_t ;;
119916 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
119917 echo "$as_me: error: no equivalent for intptr_t" >&2;}
119918 { (exit please report a bug); exit please report a bug; }; }
119920 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
119921 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
119924 # ----------------- done all checks, emit header -------------
119925 ac_config_commands="$ac_config_commands include/gstdint.h"
119930 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
119933 # Check whether --enable-symvers or --disable-symvers was given.
119934 if test "${enable_symvers+set}" = set; then
119935 enableval="$enable_symvers"
119937 case "$enableval" in
119938 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
119939 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
119940 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
119941 { (exit 1); exit 1; }; } ;;
119945 enable_symvers=yes
119949 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
119950 # don't know enough about $LD to do tricks...
119953 # Turn a 'yes' into a suitable default.
119954 if test x$enable_symvers = xyes ; then
119955 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
119956 enable_symvers=no
119958 if test $with_gnu_ld = yes ; then
119959 enable_symvers=gnu
119961 case ${target_os} in
119962 darwin*)
119963 enable_symvers=darwin ;;
119965 enable_symvers=no ;;
119971 # Check to see if 'darwin' or 'darwin-export' can win.
119972 if test x$enable_symvers = xdarwin-export ; then
119973 enable_symvers=darwin
119976 # Check to see if 'gnu' can win.
119977 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
119978 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
119979 echo "$as_me:$LINENO: checking for shared libgcc" >&5
119980 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
119981 ac_save_CFLAGS="$CFLAGS"
119982 CFLAGS=' -lgcc_s'
119983 if test x$gcc_no_link = xyes; then
119984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
119985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
119986 { (exit 1); exit 1; }; }
119988 cat >conftest.$ac_ext <<_ACEOF
119989 /* confdefs.h. */
119990 _ACEOF
119991 cat confdefs.h >>conftest.$ac_ext
119992 cat >>conftest.$ac_ext <<_ACEOF
119993 /* end confdefs.h. */
119996 main ()
119998 return 0;
120000 return 0;
120002 _ACEOF
120003 rm -f conftest.$ac_objext conftest$ac_exeext
120004 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120005 (eval $ac_link) 2>conftest.er1
120006 ac_status=$?
120007 grep -v '^ *+' conftest.er1 >conftest.err
120008 rm -f conftest.er1
120009 cat conftest.err >&5
120010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120011 (exit $ac_status); } &&
120012 { ac_try='test -z "$ac_c_werror_flag"
120013 || test ! -s conftest.err'
120014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120015 (eval $ac_try) 2>&5
120016 ac_status=$?
120017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120018 (exit $ac_status); }; } &&
120019 { ac_try='test -s conftest$ac_exeext'
120020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120021 (eval $ac_try) 2>&5
120022 ac_status=$?
120023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120024 (exit $ac_status); }; }; then
120025 glibcxx_shared_libgcc=yes
120027 echo "$as_me: failed program was:" >&5
120028 sed 's/^/| /' conftest.$ac_ext >&5
120030 glibcxx_shared_libgcc=no
120032 rm -f conftest.err conftest.$ac_objext \
120033 conftest$ac_exeext conftest.$ac_ext
120034 CFLAGS="$ac_save_CFLAGS"
120035 if test $glibcxx_shared_libgcc = no; then
120036 cat > conftest.c <<EOF
120037 int main (void) { return 0; }
120039 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
120040 -shared -shared-libgcc -o conftest.so \
120041 conftest.c -v 2>&1 >/dev/null \
120042 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
120043 rm -f conftest.c conftest.so
120044 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
120045 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
120046 if test x$gcc_no_link = xyes; then
120047 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
120048 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
120049 { (exit 1); exit 1; }; }
120051 cat >conftest.$ac_ext <<_ACEOF
120052 /* confdefs.h. */
120053 _ACEOF
120054 cat confdefs.h >>conftest.$ac_ext
120055 cat >>conftest.$ac_ext <<_ACEOF
120056 /* end confdefs.h. */
120059 main ()
120061 return 0;
120063 return 0;
120065 _ACEOF
120066 rm -f conftest.$ac_objext conftest$ac_exeext
120067 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
120068 (eval $ac_link) 2>conftest.er1
120069 ac_status=$?
120070 grep -v '^ *+' conftest.er1 >conftest.err
120071 rm -f conftest.er1
120072 cat conftest.err >&5
120073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120074 (exit $ac_status); } &&
120075 { ac_try='test -z "$ac_c_werror_flag"
120076 || test ! -s conftest.err'
120077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120078 (eval $ac_try) 2>&5
120079 ac_status=$?
120080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120081 (exit $ac_status); }; } &&
120082 { ac_try='test -s conftest$ac_exeext'
120083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120084 (eval $ac_try) 2>&5
120085 ac_status=$?
120086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120087 (exit $ac_status); }; }; then
120088 glibcxx_shared_libgcc=yes
120090 echo "$as_me: failed program was:" >&5
120091 sed 's/^/| /' conftest.$ac_ext >&5
120094 rm -f conftest.err conftest.$ac_objext \
120095 conftest$ac_exeext conftest.$ac_ext
120096 CFLAGS="$ac_save_CFLAGS"
120099 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
120100 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
120102 # For GNU ld, we need at least this version. The format is described in
120103 # GLIBCXX_CHECK_LINKER_FEATURES above.
120104 glibcxx_min_gnu_ld_version=21400
120106 # If no shared libgcc, can't win.
120107 if test $glibcxx_shared_libgcc != yes; then
120108 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
120109 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
120110 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
120111 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
120112 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
120113 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
120114 enable_symvers=no
120115 elif test $with_gnu_ld != yes ; then
120116 # just fail for now
120117 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
120118 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
120119 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
120120 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
120121 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
120122 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
120123 enable_symvers=no
120124 elif test $glibcxx_ld_is_gold = yes ; then
120125 : All versions of gold support symbol versioning.
120126 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
120127 # The right tools, the right setup, but too old. Fallbacks?
120128 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
120129 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
120130 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
120131 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
120132 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
120133 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
120134 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
120135 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
120136 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
120137 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
120138 enable_symvers=no
120142 # Everything parsed; figure out what file to use.
120143 case $enable_symvers in
120145 SYMVER_FILE=config/abi/pre/none.ver
120148 SYMVER_FILE=config/abi/pre/gnu.ver
120150 cat >>confdefs.h <<\_ACEOF
120151 #define _GLIBCXX_SYMVER_GNU 1
120152 _ACEOF
120155 gnu-versioned-namespace)
120156 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
120158 cat >>confdefs.h <<\_ACEOF
120159 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
120160 _ACEOF
120163 darwin)
120164 SYMVER_FILE=config/abi/pre/gnu.ver
120166 cat >>confdefs.h <<\_ACEOF
120167 #define _GLIBCXX_SYMVER_DARWIN 1
120168 _ACEOF
120173 if test x$enable_symvers != xno ; then
120175 cat >>confdefs.h <<\_ACEOF
120176 #define _GLIBCXX_SYMVER 1
120177 _ACEOF
120187 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
120188 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
120190 # Now, set up compatibility support, if any.
120191 # In addition, need this to deal with std::size_t mangling in
120192 # src/compatibility.cc. In a perfect world, could use
120193 # typeid(std::size_t).name()[0] to do direct substitution.
120194 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
120195 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
120196 ac_save_CFLAGS="$CFLAGS"
120197 CFLAGS="-Werror"
120198 cat >conftest.$ac_ext <<_ACEOF
120199 /* confdefs.h. */
120200 _ACEOF
120201 cat confdefs.h >>conftest.$ac_ext
120202 cat >>conftest.$ac_ext <<_ACEOF
120203 /* end confdefs.h. */
120206 main ()
120208 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
120210 return 0;
120212 _ACEOF
120213 rm -f conftest.$ac_objext
120214 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120215 (eval $ac_compile) 2>conftest.er1
120216 ac_status=$?
120217 grep -v '^ *+' conftest.er1 >conftest.err
120218 rm -f conftest.er1
120219 cat conftest.err >&5
120220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120221 (exit $ac_status); } &&
120222 { ac_try='test -z "$ac_c_werror_flag"
120223 || test ! -s conftest.err'
120224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120225 (eval $ac_try) 2>&5
120226 ac_status=$?
120227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120228 (exit $ac_status); }; } &&
120229 { ac_try='test -s conftest.$ac_objext'
120230 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120231 (eval $ac_try) 2>&5
120232 ac_status=$?
120233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120234 (exit $ac_status); }; }; then
120235 glibcxx_size_t_is_i=yes
120237 echo "$as_me: failed program was:" >&5
120238 sed 's/^/| /' conftest.$ac_ext >&5
120240 glibcxx_size_t_is_i=no
120242 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120243 CFLAGS=$ac_save_CFLAGS
120244 if test "$glibcxx_size_t_is_i" = yes; then
120246 cat >>confdefs.h <<\_ACEOF
120247 #define _GLIBCXX_SIZE_T_IS_UINT 1
120248 _ACEOF
120251 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
120252 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
120254 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
120255 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
120256 ac_save_CFLAGS="$CFLAGS"
120257 CFLAGS="-Werror"
120258 cat >conftest.$ac_ext <<_ACEOF
120259 /* confdefs.h. */
120260 _ACEOF
120261 cat confdefs.h >>conftest.$ac_ext
120262 cat >>conftest.$ac_ext <<_ACEOF
120263 /* end confdefs.h. */
120266 main ()
120268 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
120270 return 0;
120272 _ACEOF
120273 rm -f conftest.$ac_objext
120274 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120275 (eval $ac_compile) 2>conftest.er1
120276 ac_status=$?
120277 grep -v '^ *+' conftest.er1 >conftest.err
120278 rm -f conftest.er1
120279 cat conftest.err >&5
120280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120281 (exit $ac_status); } &&
120282 { ac_try='test -z "$ac_c_werror_flag"
120283 || test ! -s conftest.err'
120284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120285 (eval $ac_try) 2>&5
120286 ac_status=$?
120287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120288 (exit $ac_status); }; } &&
120289 { ac_try='test -s conftest.$ac_objext'
120290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120291 (eval $ac_try) 2>&5
120292 ac_status=$?
120293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120294 (exit $ac_status); }; }; then
120295 glibcxx_ptrdiff_t_is_i=yes
120297 echo "$as_me: failed program was:" >&5
120298 sed 's/^/| /' conftest.$ac_ext >&5
120300 glibcxx_ptrdiff_t_is_i=no
120302 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120303 CFLAGS=$ac_save_CFLAGS
120304 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
120306 cat >>confdefs.h <<\_ACEOF
120307 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
120308 _ACEOF
120311 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
120312 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
120315 # Check whether --enable-visibility or --disable-visibility was given.
120316 if test "${enable_visibility+set}" = set; then
120317 enableval="$enable_visibility"
120319 case "$enableval" in
120320 yes|no) ;;
120321 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
120322 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
120323 { (exit 1); exit 1; }; } ;;
120327 enable_visibility=yes
120331 if test x$enable_visibility = xyes ; then
120332 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
120333 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
120334 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
120335 echo $ECHO_N "(cached) $ECHO_C" >&6
120338 save_CFLAGS="$CFLAGS"
120339 CFLAGS="$CFLAGS -Werror"
120340 cat >conftest.$ac_ext <<_ACEOF
120341 /* confdefs.h. */
120342 _ACEOF
120343 cat confdefs.h >>conftest.$ac_ext
120344 cat >>conftest.$ac_ext <<_ACEOF
120345 /* end confdefs.h. */
120346 void __attribute__((visibility("hidden"))) foo(void) { }
120348 main ()
120352 return 0;
120354 _ACEOF
120355 rm -f conftest.$ac_objext
120356 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120357 (eval $ac_compile) 2>conftest.er1
120358 ac_status=$?
120359 grep -v '^ *+' conftest.er1 >conftest.err
120360 rm -f conftest.er1
120361 cat conftest.err >&5
120362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120363 (exit $ac_status); } &&
120364 { ac_try='test -z "$ac_c_werror_flag"
120365 || test ! -s conftest.err'
120366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120367 (eval $ac_try) 2>&5
120368 ac_status=$?
120369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120370 (exit $ac_status); }; } &&
120371 { ac_try='test -s conftest.$ac_objext'
120372 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120373 (eval $ac_try) 2>&5
120374 ac_status=$?
120375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120376 (exit $ac_status); }; }; then
120377 glibcxx_cv_have_attribute_visibility=yes
120379 echo "$as_me: failed program was:" >&5
120380 sed 's/^/| /' conftest.$ac_ext >&5
120382 glibcxx_cv_have_attribute_visibility=no
120384 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120385 CFLAGS="$save_CFLAGS"
120387 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
120388 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
120389 if test $glibcxx_cv_have_attribute_visibility = no; then
120390 enable_visibility=no
120395 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
120396 echo "$as_me: visibility supported: $enable_visibility" >&6;}
120399 ac_ldbl_compat=no
120400 case "$target" in
120401 powerpc*-*-linux* | \
120402 powerpc*-*-gnu* | \
120403 sparc*-*-linux* | \
120404 s390*-*-linux* | \
120405 alpha*-*-linux*)
120406 cat >conftest.$ac_ext <<_ACEOF
120407 /* confdefs.h. */
120408 _ACEOF
120409 cat confdefs.h >>conftest.$ac_ext
120410 cat >>conftest.$ac_ext <<_ACEOF
120411 /* end confdefs.h. */
120414 main ()
120417 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
120418 #error no need for long double compatibility
120419 #endif
120422 return 0;
120424 _ACEOF
120425 rm -f conftest.$ac_objext
120426 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120427 (eval $ac_compile) 2>conftest.er1
120428 ac_status=$?
120429 grep -v '^ *+' conftest.er1 >conftest.err
120430 rm -f conftest.er1
120431 cat conftest.err >&5
120432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120433 (exit $ac_status); } &&
120434 { ac_try='test -z "$ac_c_werror_flag"
120435 || test ! -s conftest.err'
120436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120437 (eval $ac_try) 2>&5
120438 ac_status=$?
120439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120440 (exit $ac_status); }; } &&
120441 { ac_try='test -s conftest.$ac_objext'
120442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120443 (eval $ac_try) 2>&5
120444 ac_status=$?
120445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120446 (exit $ac_status); }; }; then
120447 ac_ldbl_compat=yes
120449 echo "$as_me: failed program was:" >&5
120450 sed 's/^/| /' conftest.$ac_ext >&5
120452 ac_ldbl_compat=no
120454 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120455 if test "$ac_ldbl_compat" = yes; then
120457 cat >>confdefs.h <<\_ACEOF
120458 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
120459 _ACEOF
120461 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
120466 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
120468 if $GLIBCXX_IS_NATIVE ; then
120469 # Do checks for resource limit functions.
120471 setrlimit_have_headers=yes
120475 for ac_header in unistd.h sys/time.h sys/resource.h
120477 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
120478 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120479 echo "$as_me:$LINENO: checking for $ac_header" >&5
120480 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120481 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120482 echo $ECHO_N "(cached) $ECHO_C" >&6
120484 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120485 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120487 # Is the header compilable?
120488 echo "$as_me:$LINENO: checking $ac_header usability" >&5
120489 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
120490 cat >conftest.$ac_ext <<_ACEOF
120491 /* confdefs.h. */
120492 _ACEOF
120493 cat confdefs.h >>conftest.$ac_ext
120494 cat >>conftest.$ac_ext <<_ACEOF
120495 /* end confdefs.h. */
120496 $ac_includes_default
120497 #include <$ac_header>
120498 _ACEOF
120499 rm -f conftest.$ac_objext
120500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120501 (eval $ac_compile) 2>conftest.er1
120502 ac_status=$?
120503 grep -v '^ *+' conftest.er1 >conftest.err
120504 rm -f conftest.er1
120505 cat conftest.err >&5
120506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120507 (exit $ac_status); } &&
120508 { ac_try='test -z "$ac_c_werror_flag"
120509 || test ! -s conftest.err'
120510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120511 (eval $ac_try) 2>&5
120512 ac_status=$?
120513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120514 (exit $ac_status); }; } &&
120515 { ac_try='test -s conftest.$ac_objext'
120516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120517 (eval $ac_try) 2>&5
120518 ac_status=$?
120519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120520 (exit $ac_status); }; }; then
120521 ac_header_compiler=yes
120523 echo "$as_me: failed program was:" >&5
120524 sed 's/^/| /' conftest.$ac_ext >&5
120526 ac_header_compiler=no
120528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120529 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
120530 echo "${ECHO_T}$ac_header_compiler" >&6
120532 # Is the header present?
120533 echo "$as_me:$LINENO: checking $ac_header presence" >&5
120534 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
120535 cat >conftest.$ac_ext <<_ACEOF
120536 /* confdefs.h. */
120537 _ACEOF
120538 cat confdefs.h >>conftest.$ac_ext
120539 cat >>conftest.$ac_ext <<_ACEOF
120540 /* end confdefs.h. */
120541 #include <$ac_header>
120542 _ACEOF
120543 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
120544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
120545 ac_status=$?
120546 grep -v '^ *+' conftest.er1 >conftest.err
120547 rm -f conftest.er1
120548 cat conftest.err >&5
120549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120550 (exit $ac_status); } >/dev/null; then
120551 if test -s conftest.err; then
120552 ac_cpp_err=$ac_c_preproc_warn_flag
120553 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
120555 ac_cpp_err=
120558 ac_cpp_err=yes
120560 if test -z "$ac_cpp_err"; then
120561 ac_header_preproc=yes
120563 echo "$as_me: failed program was:" >&5
120564 sed 's/^/| /' conftest.$ac_ext >&5
120566 ac_header_preproc=no
120568 rm -f conftest.err conftest.$ac_ext
120569 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
120570 echo "${ECHO_T}$ac_header_preproc" >&6
120572 # So? What about this header?
120573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
120574 yes:no: )
120575 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
120576 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
120577 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
120578 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
120579 ac_header_preproc=yes
120581 no:yes:* )
120582 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
120583 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
120584 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
120585 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
120586 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
120587 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
120588 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
120589 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
120590 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
120591 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
120592 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
120593 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
120595 cat <<\_ASBOX
120596 ## ----------------------------------------- ##
120597 ## Report this to the package-unused lists. ##
120598 ## ----------------------------------------- ##
120599 _ASBOX
120601 sed "s/^/$as_me: WARNING: /" >&2
120604 echo "$as_me:$LINENO: checking for $ac_header" >&5
120605 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
120606 if eval "test \"\${$as_ac_Header+set}\" = set"; then
120607 echo $ECHO_N "(cached) $ECHO_C" >&6
120609 eval "$as_ac_Header=\$ac_header_preproc"
120611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
120612 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
120615 if test `eval echo '${'$as_ac_Header'}'` = yes; then
120616 cat >>confdefs.h <<_ACEOF
120617 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
120618 _ACEOF
120621 setrlimit_have_headers=no
120626 # If don't have the headers, then we can't run the tests now, and we
120627 # won't be seeing any of these during testsuite compilation.
120628 if test $setrlimit_have_headers = yes; then
120629 # Can't do these in a loop, else the resulting syntax is wrong.
120631 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
120632 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
120633 cat >conftest.$ac_ext <<_ACEOF
120634 /* confdefs.h. */
120635 _ACEOF
120636 cat confdefs.h >>conftest.$ac_ext
120637 cat >>conftest.$ac_ext <<_ACEOF
120638 /* end confdefs.h. */
120639 #include <unistd.h>
120640 #include <sys/time.h>
120641 #include <sys/resource.h>
120644 main ()
120646 int f = RLIMIT_DATA ;
120648 return 0;
120650 _ACEOF
120651 rm -f conftest.$ac_objext
120652 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120653 (eval $ac_compile) 2>conftest.er1
120654 ac_status=$?
120655 grep -v '^ *+' conftest.er1 >conftest.err
120656 rm -f conftest.er1
120657 cat conftest.err >&5
120658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120659 (exit $ac_status); } &&
120660 { ac_try='test -z "$ac_c_werror_flag"
120661 || test ! -s conftest.err'
120662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120663 (eval $ac_try) 2>&5
120664 ac_status=$?
120665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120666 (exit $ac_status); }; } &&
120667 { ac_try='test -s conftest.$ac_objext'
120668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120669 (eval $ac_try) 2>&5
120670 ac_status=$?
120671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120672 (exit $ac_status); }; }; then
120673 glibcxx_mresult=1
120675 echo "$as_me: failed program was:" >&5
120676 sed 's/^/| /' conftest.$ac_ext >&5
120678 glibcxx_mresult=0
120680 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120682 cat >>confdefs.h <<_ACEOF
120683 #define HAVE_LIMIT_DATA $glibcxx_mresult
120684 _ACEOF
120686 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120687 echo "$as_me:$LINENO: result: $res" >&5
120688 echo "${ECHO_T}$res" >&6
120691 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
120692 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
120693 cat >conftest.$ac_ext <<_ACEOF
120694 /* confdefs.h. */
120695 _ACEOF
120696 cat confdefs.h >>conftest.$ac_ext
120697 cat >>conftest.$ac_ext <<_ACEOF
120698 /* end confdefs.h. */
120699 #include <unistd.h>
120700 #include <sys/time.h>
120701 #include <sys/resource.h>
120704 main ()
120706 int f = RLIMIT_RSS ;
120708 return 0;
120710 _ACEOF
120711 rm -f conftest.$ac_objext
120712 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120713 (eval $ac_compile) 2>conftest.er1
120714 ac_status=$?
120715 grep -v '^ *+' conftest.er1 >conftest.err
120716 rm -f conftest.er1
120717 cat conftest.err >&5
120718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120719 (exit $ac_status); } &&
120720 { ac_try='test -z "$ac_c_werror_flag"
120721 || test ! -s conftest.err'
120722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120723 (eval $ac_try) 2>&5
120724 ac_status=$?
120725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120726 (exit $ac_status); }; } &&
120727 { ac_try='test -s conftest.$ac_objext'
120728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120729 (eval $ac_try) 2>&5
120730 ac_status=$?
120731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120732 (exit $ac_status); }; }; then
120733 glibcxx_mresult=1
120735 echo "$as_me: failed program was:" >&5
120736 sed 's/^/| /' conftest.$ac_ext >&5
120738 glibcxx_mresult=0
120740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120742 cat >>confdefs.h <<_ACEOF
120743 #define HAVE_LIMIT_RSS $glibcxx_mresult
120744 _ACEOF
120746 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120747 echo "$as_me:$LINENO: result: $res" >&5
120748 echo "${ECHO_T}$res" >&6
120751 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
120752 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
120753 cat >conftest.$ac_ext <<_ACEOF
120754 /* confdefs.h. */
120755 _ACEOF
120756 cat confdefs.h >>conftest.$ac_ext
120757 cat >>conftest.$ac_ext <<_ACEOF
120758 /* end confdefs.h. */
120759 #include <unistd.h>
120760 #include <sys/time.h>
120761 #include <sys/resource.h>
120764 main ()
120766 int f = RLIMIT_VMEM ;
120768 return 0;
120770 _ACEOF
120771 rm -f conftest.$ac_objext
120772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120773 (eval $ac_compile) 2>conftest.er1
120774 ac_status=$?
120775 grep -v '^ *+' conftest.er1 >conftest.err
120776 rm -f conftest.er1
120777 cat conftest.err >&5
120778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120779 (exit $ac_status); } &&
120780 { ac_try='test -z "$ac_c_werror_flag"
120781 || test ! -s conftest.err'
120782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120783 (eval $ac_try) 2>&5
120784 ac_status=$?
120785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120786 (exit $ac_status); }; } &&
120787 { ac_try='test -s conftest.$ac_objext'
120788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120789 (eval $ac_try) 2>&5
120790 ac_status=$?
120791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120792 (exit $ac_status); }; }; then
120793 glibcxx_mresult=1
120795 echo "$as_me: failed program was:" >&5
120796 sed 's/^/| /' conftest.$ac_ext >&5
120798 glibcxx_mresult=0
120800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120802 cat >>confdefs.h <<_ACEOF
120803 #define HAVE_LIMIT_VMEM $glibcxx_mresult
120804 _ACEOF
120806 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120807 echo "$as_me:$LINENO: result: $res" >&5
120808 echo "${ECHO_T}$res" >&6
120811 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
120812 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
120813 cat >conftest.$ac_ext <<_ACEOF
120814 /* confdefs.h. */
120815 _ACEOF
120816 cat confdefs.h >>conftest.$ac_ext
120817 cat >>conftest.$ac_ext <<_ACEOF
120818 /* end confdefs.h. */
120819 #include <unistd.h>
120820 #include <sys/time.h>
120821 #include <sys/resource.h>
120824 main ()
120826 int f = RLIMIT_AS ;
120828 return 0;
120830 _ACEOF
120831 rm -f conftest.$ac_objext
120832 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120833 (eval $ac_compile) 2>conftest.er1
120834 ac_status=$?
120835 grep -v '^ *+' conftest.er1 >conftest.err
120836 rm -f conftest.er1
120837 cat conftest.err >&5
120838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120839 (exit $ac_status); } &&
120840 { ac_try='test -z "$ac_c_werror_flag"
120841 || test ! -s conftest.err'
120842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120843 (eval $ac_try) 2>&5
120844 ac_status=$?
120845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120846 (exit $ac_status); }; } &&
120847 { ac_try='test -s conftest.$ac_objext'
120848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120849 (eval $ac_try) 2>&5
120850 ac_status=$?
120851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120852 (exit $ac_status); }; }; then
120853 glibcxx_mresult=1
120855 echo "$as_me: failed program was:" >&5
120856 sed 's/^/| /' conftest.$ac_ext >&5
120858 glibcxx_mresult=0
120860 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120862 cat >>confdefs.h <<_ACEOF
120863 #define HAVE_LIMIT_AS $glibcxx_mresult
120864 _ACEOF
120866 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120867 echo "$as_me:$LINENO: result: $res" >&5
120868 echo "${ECHO_T}$res" >&6
120871 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
120872 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
120873 cat >conftest.$ac_ext <<_ACEOF
120874 /* confdefs.h. */
120875 _ACEOF
120876 cat confdefs.h >>conftest.$ac_ext
120877 cat >>conftest.$ac_ext <<_ACEOF
120878 /* end confdefs.h. */
120879 #include <unistd.h>
120880 #include <sys/time.h>
120881 #include <sys/resource.h>
120884 main ()
120886 int f = RLIMIT_FSIZE ;
120888 return 0;
120890 _ACEOF
120891 rm -f conftest.$ac_objext
120892 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120893 (eval $ac_compile) 2>conftest.er1
120894 ac_status=$?
120895 grep -v '^ *+' conftest.er1 >conftest.err
120896 rm -f conftest.er1
120897 cat conftest.err >&5
120898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120899 (exit $ac_status); } &&
120900 { ac_try='test -z "$ac_c_werror_flag"
120901 || test ! -s conftest.err'
120902 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120903 (eval $ac_try) 2>&5
120904 ac_status=$?
120905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120906 (exit $ac_status); }; } &&
120907 { ac_try='test -s conftest.$ac_objext'
120908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120909 (eval $ac_try) 2>&5
120910 ac_status=$?
120911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120912 (exit $ac_status); }; }; then
120913 glibcxx_mresult=1
120915 echo "$as_me: failed program was:" >&5
120916 sed 's/^/| /' conftest.$ac_ext >&5
120918 glibcxx_mresult=0
120920 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120922 cat >>confdefs.h <<_ACEOF
120923 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
120924 _ACEOF
120926 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
120927 echo "$as_me:$LINENO: result: $res" >&5
120928 echo "${ECHO_T}$res" >&6
120931 # Check for rlimit, setrlimit.
120932 if test "${glibcxx_cv_setrlimit+set}" = set; then
120933 echo $ECHO_N "(cached) $ECHO_C" >&6
120936 cat >conftest.$ac_ext <<_ACEOF
120937 /* confdefs.h. */
120938 _ACEOF
120939 cat confdefs.h >>conftest.$ac_ext
120940 cat >>conftest.$ac_ext <<_ACEOF
120941 /* end confdefs.h. */
120942 #include <unistd.h>
120943 #include <sys/time.h>
120944 #include <sys/resource.h>
120947 main ()
120949 struct rlimit r;
120950 setrlimit(0, &r);
120952 return 0;
120954 _ACEOF
120955 rm -f conftest.$ac_objext
120956 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
120957 (eval $ac_compile) 2>conftest.er1
120958 ac_status=$?
120959 grep -v '^ *+' conftest.er1 >conftest.err
120960 rm -f conftest.er1
120961 cat conftest.err >&5
120962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120963 (exit $ac_status); } &&
120964 { ac_try='test -z "$ac_c_werror_flag"
120965 || test ! -s conftest.err'
120966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120967 (eval $ac_try) 2>&5
120968 ac_status=$?
120969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120970 (exit $ac_status); }; } &&
120971 { ac_try='test -s conftest.$ac_objext'
120972 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
120973 (eval $ac_try) 2>&5
120974 ac_status=$?
120975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
120976 (exit $ac_status); }; }; then
120977 glibcxx_cv_setrlimit=yes
120979 echo "$as_me: failed program was:" >&5
120980 sed 's/^/| /' conftest.$ac_ext >&5
120982 glibcxx_cv_setrlimit=no
120984 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
120990 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
120991 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
120992 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
120993 ac_res_limits=yes
120995 cat >>confdefs.h <<\_ACEOF
120996 #define _GLIBCXX_RES_LIMITS 1
120997 _ACEOF
121000 ac_res_limits=no
121002 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
121003 echo "${ECHO_T}$ac_res_limits" >&6
121006 # Look for setenv, so that extended locale tests can be performed.
121008 echo "$as_me:$LINENO: checking for setenv declaration" >&5
121009 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
121010 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
121011 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
121012 echo $ECHO_N "(cached) $ECHO_C" >&6
121017 ac_ext=cc
121018 ac_cpp='$CXXCPP $CPPFLAGS'
121019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
121023 cat >conftest.$ac_ext <<_ACEOF
121024 /* confdefs.h. */
121025 _ACEOF
121026 cat confdefs.h >>conftest.$ac_ext
121027 cat >>conftest.$ac_ext <<_ACEOF
121028 /* end confdefs.h. */
121029 #include <stdlib.h>
121031 main ()
121033 setenv(0, 0, 0);
121035 return 0;
121037 _ACEOF
121038 rm -f conftest.$ac_objext
121039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
121040 (eval $ac_compile) 2>conftest.er1
121041 ac_status=$?
121042 grep -v '^ *+' conftest.er1 >conftest.err
121043 rm -f conftest.er1
121044 cat conftest.err >&5
121045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121046 (exit $ac_status); } &&
121047 { ac_try='test -z "$ac_cxx_werror_flag"
121048 || test ! -s conftest.err'
121049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121050 (eval $ac_try) 2>&5
121051 ac_status=$?
121052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121053 (exit $ac_status); }; } &&
121054 { ac_try='test -s conftest.$ac_objext'
121055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121056 (eval $ac_try) 2>&5
121057 ac_status=$?
121058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121059 (exit $ac_status); }; }; then
121060 glibcxx_cv_func_setenv_use=yes
121062 echo "$as_me: failed program was:" >&5
121063 sed 's/^/| /' conftest.$ac_ext >&5
121065 glibcxx_cv_func_setenv_use=no
121067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
121068 ac_ext=c
121069 ac_cpp='$CPP $CPPFLAGS'
121070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
121071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
121072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
121078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
121079 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
121080 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
121082 for ac_func in setenv
121084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
121085 echo "$as_me:$LINENO: checking for $ac_func" >&5
121086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
121087 if eval "test \"\${$as_ac_var+set}\" = set"; then
121088 echo $ECHO_N "(cached) $ECHO_C" >&6
121090 if test x$gcc_no_link = xyes; then
121091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
121092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
121093 { (exit 1); exit 1; }; }
121095 cat >conftest.$ac_ext <<_ACEOF
121096 /* confdefs.h. */
121097 _ACEOF
121098 cat confdefs.h >>conftest.$ac_ext
121099 cat >>conftest.$ac_ext <<_ACEOF
121100 /* end confdefs.h. */
121101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
121102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
121103 #define $ac_func innocuous_$ac_func
121105 /* System header to define __stub macros and hopefully few prototypes,
121106 which can conflict with char $ac_func (); below.
121107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
121108 <limits.h> exists even on freestanding compilers. */
121110 #ifdef __STDC__
121111 # include <limits.h>
121112 #else
121113 # include <assert.h>
121114 #endif
121116 #undef $ac_func
121118 /* Override any gcc2 internal prototype to avoid an error. */
121119 #ifdef __cplusplus
121120 extern "C"
121122 #endif
121123 /* We use char because int might match the return type of a gcc2
121124 builtin and then its argument prototype would still apply. */
121125 char $ac_func ();
121126 /* The GNU C library defines this for functions which it implements
121127 to always fail with ENOSYS. Some functions are actually named
121128 something starting with __ and the normal name is an alias. */
121129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
121130 choke me
121131 #else
121132 char (*f) () = $ac_func;
121133 #endif
121134 #ifdef __cplusplus
121136 #endif
121139 main ()
121141 return f != $ac_func;
121143 return 0;
121145 _ACEOF
121146 rm -f conftest.$ac_objext conftest$ac_exeext
121147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
121148 (eval $ac_link) 2>conftest.er1
121149 ac_status=$?
121150 grep -v '^ *+' conftest.er1 >conftest.err
121151 rm -f conftest.er1
121152 cat conftest.err >&5
121153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121154 (exit $ac_status); } &&
121155 { ac_try='test -z "$ac_c_werror_flag"
121156 || test ! -s conftest.err'
121157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121158 (eval $ac_try) 2>&5
121159 ac_status=$?
121160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121161 (exit $ac_status); }; } &&
121162 { ac_try='test -s conftest$ac_exeext'
121163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
121164 (eval $ac_try) 2>&5
121165 ac_status=$?
121166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
121167 (exit $ac_status); }; }; then
121168 eval "$as_ac_var=yes"
121170 echo "$as_me: failed program was:" >&5
121171 sed 's/^/| /' conftest.$ac_ext >&5
121173 eval "$as_ac_var=no"
121175 rm -f conftest.err conftest.$ac_objext \
121176 conftest$ac_exeext conftest.$ac_ext
121178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
121179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
121180 if test `eval echo '${'$as_ac_var'}'` = yes; then
121181 cat >>confdefs.h <<_ACEOF
121182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
121183 _ACEOF
121192 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
121193 test $enable_symvers != no; then
121194 case "$host" in
121195 *-*-cygwin*)
121196 enable_abi_check=no ;;
121198 enable_abi_check=yes ;;
121201 # Only build this as native, since automake does not understand
121202 # CXX_FOR_BUILD.
121203 enable_abi_check=no
121206 # Export file names for ABI checking.
121207 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}\$(MULTISUBDIR)"
121211 # Propagate the target-specific source directories through the build chain.
121212 ATOMICITY_SRCDIR=config/${atomicity_dir}
121213 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
121214 ATOMIC_FLAGS=${atomic_flags}
121215 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
121216 OS_INC_SRCDIR=config/${os_include_dir}
121217 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
121218 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
121228 # Determine cross-compile flags and AM_CONDITIONALs.
121229 #AC_SUBST(GLIBCXX_IS_NATIVE)
121230 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
121231 # from GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT:
121232 #AM_CONDITIONAL(GLIBCXX_BUILD_LIBMATH, test $need_libmath = yes)
121235 if test $is_hosted = yes; then
121236 GLIBCXX_HOSTED_TRUE=
121237 GLIBCXX_HOSTED_FALSE='#'
121239 GLIBCXX_HOSTED_TRUE='#'
121240 GLIBCXX_HOSTED_FALSE=
121246 if test $enable_libstdcxx_pch = yes; then
121247 GLIBCXX_BUILD_PCH_TRUE=
121248 GLIBCXX_BUILD_PCH_FALSE='#'
121250 GLIBCXX_BUILD_PCH_TRUE='#'
121251 GLIBCXX_BUILD_PCH_FALSE=
121257 if test $enable_cheaders = c; then
121258 GLIBCXX_C_HEADERS_C_TRUE=
121259 GLIBCXX_C_HEADERS_C_FALSE='#'
121261 GLIBCXX_C_HEADERS_C_TRUE='#'
121262 GLIBCXX_C_HEADERS_C_FALSE=
121268 if test $enable_cheaders = c_std; then
121269 GLIBCXX_C_HEADERS_C_STD_TRUE=
121270 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
121272 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
121273 GLIBCXX_C_HEADERS_C_STD_FALSE=
121279 if test $enable_cheaders = c_global; then
121280 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
121281 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
121283 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
121284 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
121290 if test $c_compatibility = yes; then
121291 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
121292 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
121294 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
121295 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
121301 if test $c_extra = yes; then
121302 GLIBCXX_C_HEADERS_EXTRA_TRUE=
121303 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
121305 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
121306 GLIBCXX_C_HEADERS_EXTRA_FALSE=
121312 if test $enable_libstdcxx_debug = yes; then
121313 GLIBCXX_BUILD_DEBUG_TRUE=
121314 GLIBCXX_BUILD_DEBUG_FALSE='#'
121316 GLIBCXX_BUILD_DEBUG_TRUE='#'
121317 GLIBCXX_BUILD_DEBUG_FALSE=
121323 if test $enable_parallel = yes; then
121324 ENABLE_PARALLEL_TRUE=
121325 ENABLE_PARALLEL_FALSE='#'
121327 ENABLE_PARALLEL_TRUE='#'
121328 ENABLE_PARALLEL_FALSE=
121334 if test $enable_symvers != no; then
121335 ENABLE_SYMVERS_TRUE=
121336 ENABLE_SYMVERS_FALSE='#'
121338 ENABLE_SYMVERS_TRUE='#'
121339 ENABLE_SYMVERS_FALSE=
121345 if test $enable_symvers = gnu; then
121346 ENABLE_SYMVERS_GNU_TRUE=
121347 ENABLE_SYMVERS_GNU_FALSE='#'
121349 ENABLE_SYMVERS_GNU_TRUE='#'
121350 ENABLE_SYMVERS_GNU_FALSE=
121356 if test $enable_symvers = gnu-versioned-namespace; then
121357 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
121358 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
121360 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
121361 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
121367 if test $enable_symvers = darwin; then
121368 ENABLE_SYMVERS_DARWIN_TRUE=
121369 ENABLE_SYMVERS_DARWIN_FALSE='#'
121371 ENABLE_SYMVERS_DARWIN_TRUE='#'
121372 ENABLE_SYMVERS_DARWIN_FALSE=
121378 if test $enable_visibility = yes; then
121379 ENABLE_VISIBILITY_TRUE=
121380 ENABLE_VISIBILITY_FALSE='#'
121382 ENABLE_VISIBILITY_TRUE='#'
121383 ENABLE_VISIBILITY_FALSE=
121389 if test $ac_ldbl_compat = yes; then
121390 GLIBCXX_LDBL_COMPAT_TRUE=
121391 GLIBCXX_LDBL_COMPAT_FALSE='#'
121393 GLIBCXX_LDBL_COMPAT_TRUE='#'
121394 GLIBCXX_LDBL_COMPAT_FALSE=
121400 cat >confcache <<\_ACEOF
121401 # This file is a shell script that caches the results of configure
121402 # tests run on this system so they can be shared between configure
121403 # scripts and configure runs, see configure's option --config-cache.
121404 # It is not useful on other systems. If it contains results you don't
121405 # want to keep, you may remove or edit it.
121407 # config.status only pays attention to the cache file if you give it
121408 # the --recheck option to rerun configure.
121410 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121411 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121412 # following values.
121414 _ACEOF
121416 # The following way of writing the cache mishandles newlines in values,
121417 # but we know of no workaround that is simple, portable, and efficient.
121418 # So, don't put newlines in cache variables' values.
121419 # Ultrix sh set writes to stderr and can't be redirected directly,
121420 # and sets the high bit in the cache file unless we assign to the vars.
121422 (set) 2>&1 |
121423 case `(ac_space=' '; set | grep ac_space) 2>&1` in
121424 *ac_space=\ *)
121425 # `set' does not quote correctly, so add quotes (double-quote
121426 # substitution turns \\\\ into \\, and sed turns \\ into \).
121427 sed -n \
121428 "s/'/'\\\\''/g;
121429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121432 # `set' quotes correctly as required by POSIX, so do not add quotes.
121433 sed -n \
121434 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121436 esac;
121438 sed '
121439 t clear
121440 : clear
121441 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121442 t end
121443 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121444 : end' >>confcache
121445 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121446 if test -w $cache_file; then
121447 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121448 cat confcache >$cache_file
121450 echo "not updating unwritable cache $cache_file"
121453 rm -f confcache
121455 if test ${multilib} = yes; then
121456 multilib_arg="--enable-multilib"
121458 multilib_arg=
121461 # Export all the install information.
121463 glibcxx_toolexecdir=no
121464 glibcxx_toolexeclibdir=no
121465 glibcxx_prefixdir=$prefix
121467 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
121468 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
121470 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
121471 if test "${with_gxx_include_dir+set}" = set; then
121472 withval="$with_gxx_include_dir"
121473 case "$withval" in
121474 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
121475 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
121476 { (exit 1); exit 1; }; } ;;
121477 no) gxx_include_dir=no ;;
121478 *) gxx_include_dir=$withval ;;
121481 gxx_include_dir=no
121483 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121484 echo "${ECHO_T}$gxx_include_dir" >&6
121486 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
121487 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
121488 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
121489 if test "${enable_version_specific_runtime_libs+set}" = set; then
121490 enableval="$enable_version_specific_runtime_libs"
121491 case "$enableval" in
121492 yes) version_specific_libs=yes ;;
121493 no) version_specific_libs=no ;;
121494 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
121495 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
121496 { (exit 1); exit 1; }; };;
121499 version_specific_libs=no
121501 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
121502 echo "${ECHO_T}$version_specific_libs" >&6
121504 # Default case for install directory for include files.
121505 if test $version_specific_libs = no && test $gxx_include_dir = no; then
121506 gxx_include_dir='include/c++/${gcc_version}'
121507 if test -n "$with_cross_host" &&
121508 test x"$with_cross_host" != x"no"; then
121509 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
121511 gxx_include_dir='${prefix}/'"$gxx_include_dir"
121515 # Version-specific runtime libs processing.
121516 if test $version_specific_libs = yes; then
121517 # Need the gcc compiler version to know where to install libraries
121518 # and header files if --enable-version-specific-runtime-libs option
121519 # is selected. FIXME: these variables are misnamed, there are
121520 # no executables installed in _toolexecdir or _toolexeclibdir.
121521 if test x"$gxx_include_dir" = x"no"; then
121522 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
121524 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121525 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
121528 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
121529 # Install a library built with a cross compiler in tooldir, not libdir.
121530 if test x"$glibcxx_toolexecdir" = x"no"; then
121531 if test -n "$with_cross_host" &&
121532 test x"$with_cross_host" != x"no"; then
121533 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
121534 glibcxx_toolexeclibdir='${toolexecdir}/lib'
121536 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
121537 glibcxx_toolexeclibdir='${libdir}'
121539 multi_os_directory=`$CXX -print-multi-os-directory`
121540 case $multi_os_directory in
121541 .) ;; # Avoid trailing /.
121542 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
121546 echo "$as_me:$LINENO: checking for install location" >&5
121547 echo $ECHO_N "checking for install location... $ECHO_C" >&6
121548 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
121549 echo "${ECHO_T}$gxx_include_dir" >&6
121557 # Export all the include and flag information to Makefiles.
121559 # Used for every C++ compile we perform.
121560 GLIBCXX_INCLUDES="\
121561 -I$glibcxx_builddir/include/$host_alias \
121562 -I$glibcxx_builddir/include \
121563 -I$glibcxx_srcdir/libsupc++"
121565 # For Canadian crosses, pick this up too.
121566 if test $CANADIAN = yes; then
121567 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
121570 # Stuff in the actual top level. Currently only used by libsupc++ to
121571 # get unwind* headers from the gcc dir.
121572 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
121573 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
121575 # Now, export this to all the little Makefiles....
121580 # Optimization flags that are probably a good idea for thrill-seekers. Just
121581 # uncomment the lines below and make, everything else is ready to go...
121582 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
121583 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
121586 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
121590 if test "$enable_shared" = yes; then
121591 LIBSUPCXX_PICFLAGS="-prefer-pic"
121593 LIBSUPCXX_PICFLAGS=
121597 ac_config_files="$ac_config_files Makefile include/Makefile libmath/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
121599 ac_config_files="$ac_config_files scripts/testsuite_flags"
121602 ac_config_commands="$ac_config_commands default"
121605 cat >confcache <<\_ACEOF
121606 # This file is a shell script that caches the results of configure
121607 # tests run on this system so they can be shared between configure
121608 # scripts and configure runs, see configure's option --config-cache.
121609 # It is not useful on other systems. If it contains results you don't
121610 # want to keep, you may remove or edit it.
121612 # config.status only pays attention to the cache file if you give it
121613 # the --recheck option to rerun configure.
121615 # `ac_cv_env_foo' variables (set or unset) will be overridden when
121616 # loading this file, other *unset* `ac_cv_foo' will be assigned the
121617 # following values.
121619 _ACEOF
121621 # The following way of writing the cache mishandles newlines in values,
121622 # but we know of no workaround that is simple, portable, and efficient.
121623 # So, don't put newlines in cache variables' values.
121624 # Ultrix sh set writes to stderr and can't be redirected directly,
121625 # and sets the high bit in the cache file unless we assign to the vars.
121627 (set) 2>&1 |
121628 case `(ac_space=' '; set | grep ac_space) 2>&1` in
121629 *ac_space=\ *)
121630 # `set' does not quote correctly, so add quotes (double-quote
121631 # substitution turns \\\\ into \\, and sed turns \\ into \).
121632 sed -n \
121633 "s/'/'\\\\''/g;
121634 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
121637 # `set' quotes correctly as required by POSIX, so do not add quotes.
121638 sed -n \
121639 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
121641 esac;
121643 sed '
121644 t clear
121645 : clear
121646 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
121647 t end
121648 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
121649 : end' >>confcache
121650 if diff $cache_file confcache >/dev/null 2>&1; then :; else
121651 if test -w $cache_file; then
121652 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
121653 cat confcache >$cache_file
121655 echo "not updating unwritable cache $cache_file"
121658 rm -f confcache
121660 test "x$prefix" = xNONE && prefix=$ac_default_prefix
121661 # Let make expand exec_prefix.
121662 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
121664 # VPATH may cause trouble with some makes, so we remove $(srcdir),
121665 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
121666 # trailing colons and then remove the whole line if VPATH becomes empty
121667 # (actually we leave an empty line to preserve line numbers).
121668 if test "x$srcdir" = x.; then
121669 ac_vpsub='/^[ ]*VPATH[ ]*=/{
121670 s/:*\$(srcdir):*/:/;
121671 s/:*\${srcdir}:*/:/;
121672 s/:*@srcdir@:*/:/;
121673 s/^\([^=]*=[ ]*\):*/\1/;
121674 s/:*$//;
121675 s/^[^=]*=[ ]*$//;
121679 DEFS=-DHAVE_CONFIG_H
121681 ac_libobjs=
121682 ac_ltlibobjs=
121683 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
121684 # 1. Remove the extension, and $U if already installed.
121685 ac_i=`echo "$ac_i" |
121686 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
121687 # 2. Add them.
121688 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
121689 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
121691 LIBOBJS=$ac_libobjs
121693 LTLIBOBJS=$ac_ltlibobjs
121696 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
121697 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
121698 Usually this means the macro was only invoked conditionally." >&5
121699 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
121700 Usually this means the macro was only invoked conditionally." >&2;}
121701 { (exit 1); exit 1; }; }
121703 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
121704 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121705 Usually this means the macro was only invoked conditionally." >&5
121706 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
121707 Usually this means the macro was only invoked conditionally." >&2;}
121708 { (exit 1); exit 1; }; }
121710 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
121711 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121712 Usually this means the macro was only invoked conditionally." >&5
121713 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
121714 Usually this means the macro was only invoked conditionally." >&2;}
121715 { (exit 1); exit 1; }; }
121717 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
121718 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121719 Usually this means the macro was only invoked conditionally." >&5
121720 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
121721 Usually this means the macro was only invoked conditionally." >&2;}
121722 { (exit 1); exit 1; }; }
121724 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
121725 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121726 Usually this means the macro was only invoked conditionally." >&5
121727 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
121728 Usually this means the macro was only invoked conditionally." >&2;}
121729 { (exit 1); exit 1; }; }
121731 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
121732 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121733 Usually this means the macro was only invoked conditionally." >&5
121734 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
121735 Usually this means the macro was only invoked conditionally." >&2;}
121736 { (exit 1); exit 1; }; }
121738 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
121739 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121740 Usually this means the macro was only invoked conditionally." >&5
121741 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
121742 Usually this means the macro was only invoked conditionally." >&2;}
121743 { (exit 1); exit 1; }; }
121745 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
121746 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121747 Usually this means the macro was only invoked conditionally." >&5
121748 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
121749 Usually this means the macro was only invoked conditionally." >&2;}
121750 { (exit 1); exit 1; }; }
121752 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
121753 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121754 Usually this means the macro was only invoked conditionally." >&5
121755 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
121756 Usually this means the macro was only invoked conditionally." >&2;}
121757 { (exit 1); exit 1; }; }
121759 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
121760 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
121761 Usually this means the macro was only invoked conditionally." >&5
121762 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
121763 Usually this means the macro was only invoked conditionally." >&2;}
121764 { (exit 1); exit 1; }; }
121766 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
121767 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
121768 Usually this means the macro was only invoked conditionally." >&5
121769 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
121770 Usually this means the macro was only invoked conditionally." >&2;}
121771 { (exit 1); exit 1; }; }
121773 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
121774 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121775 Usually this means the macro was only invoked conditionally." >&5
121776 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
121777 Usually this means the macro was only invoked conditionally." >&2;}
121778 { (exit 1); exit 1; }; }
121780 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
121781 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121782 Usually this means the macro was only invoked conditionally." >&5
121783 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
121784 Usually this means the macro was only invoked conditionally." >&2;}
121785 { (exit 1); exit 1; }; }
121787 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
121788 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121789 Usually this means the macro was only invoked conditionally." >&5
121790 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
121791 Usually this means the macro was only invoked conditionally." >&2;}
121792 { (exit 1); exit 1; }; }
121794 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
121795 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121796 Usually this means the macro was only invoked conditionally." >&5
121797 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
121798 Usually this means the macro was only invoked conditionally." >&2;}
121799 { (exit 1); exit 1; }; }
121801 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
121802 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121803 Usually this means the macro was only invoked conditionally." >&5
121804 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
121805 Usually this means the macro was only invoked conditionally." >&2;}
121806 { (exit 1); exit 1; }; }
121809 : ${CONFIG_STATUS=./config.status}
121810 ac_clean_files_save=$ac_clean_files
121811 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
121812 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
121813 echo "$as_me: creating $CONFIG_STATUS" >&6;}
121814 cat >$CONFIG_STATUS <<_ACEOF
121815 #! $SHELL
121816 # Generated by $as_me.
121817 # Run this file to recreate the current configuration.
121818 # Compiler output produced by configure, useful for debugging
121819 # configure, is in config.log if it exists.
121821 debug=false
121822 ac_cs_recheck=false
121823 ac_cs_silent=false
121824 SHELL=\${CONFIG_SHELL-$SHELL}
121825 _ACEOF
121827 cat >>$CONFIG_STATUS <<\_ACEOF
121828 ## --------------------- ##
121829 ## M4sh Initialization. ##
121830 ## --------------------- ##
121832 # Be Bourne compatible
121833 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
121834 emulate sh
121835 NULLCMD=:
121836 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
121837 # is contrary to our usage. Disable this feature.
121838 alias -g '${1+"$@"}'='"$@"'
121839 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
121840 set -o posix
121842 DUALCASE=1; export DUALCASE # for MKS sh
121844 # Support unset when possible.
121845 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
121846 as_unset=unset
121848 as_unset=false
121852 # Work around bugs in pre-3.0 UWIN ksh.
121853 $as_unset ENV MAIL MAILPATH
121854 PS1='$ '
121855 PS2='> '
121856 PS4='+ '
121858 # NLS nuisances.
121859 for as_var in \
121860 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
121861 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
121862 LC_TELEPHONE LC_TIME
121864 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121865 eval $as_var=C; export $as_var
121867 $as_unset $as_var
121871 # Required to use basename.
121872 if expr a : '\(a\)' >/dev/null 2>&1; then
121873 as_expr=expr
121875 as_expr=false
121878 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
121879 as_basename=basename
121881 as_basename=false
121885 # Name of the executable.
121886 as_me=`$as_basename "$0" ||
121887 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
121888 X"$0" : 'X\(//\)$' \| \
121889 X"$0" : 'X\(/\)$' \| \
121890 . : '\(.\)' 2>/dev/null ||
121891 echo X/"$0" |
121892 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
121893 /^X\/\(\/\/\)$/{ s//\1/; q; }
121894 /^X\/\(\/\).*/{ s//\1/; q; }
121895 s/.*/./; q'`
121898 # PATH needs CR, and LINENO needs CR and PATH.
121899 # Avoid depending upon Character Ranges.
121900 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
121901 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
121902 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
121903 as_cr_digits='0123456789'
121904 as_cr_alnum=$as_cr_Letters$as_cr_digits
121906 # The user is always right.
121907 if test "${PATH_SEPARATOR+set}" != set; then
121908 echo "#! /bin/sh" >conf$$.sh
121909 echo "exit 0" >>conf$$.sh
121910 chmod +x conf$$.sh
121911 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
121912 PATH_SEPARATOR=';'
121914 PATH_SEPARATOR=:
121916 rm -f conf$$.sh
121920 as_lineno_1=$LINENO
121921 as_lineno_2=$LINENO
121922 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121923 test "x$as_lineno_1" != "x$as_lineno_2" &&
121924 test "x$as_lineno_3" = "x$as_lineno_2" || {
121925 # Find who we are. Look in the path if we contain no path at all
121926 # relative or not.
121927 case $0 in
121928 *[\\/]* ) as_myself=$0 ;;
121929 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121930 for as_dir in $PATH
121932 IFS=$as_save_IFS
121933 test -z "$as_dir" && as_dir=.
121934 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
121939 # We did not find ourselves, most probably we were run as `sh COMMAND'
121940 # in which case we are not to be found in the path.
121941 if test "x$as_myself" = x; then
121942 as_myself=$0
121944 if test ! -f "$as_myself"; then
121945 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
121946 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
121947 { (exit 1); exit 1; }; }
121949 case $CONFIG_SHELL in
121951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
121952 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
121954 IFS=$as_save_IFS
121955 test -z "$as_dir" && as_dir=.
121956 for as_base in sh bash ksh sh5; do
121957 case $as_dir in
121959 if ("$as_dir/$as_base" -c '
121960 as_lineno_1=$LINENO
121961 as_lineno_2=$LINENO
121962 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
121963 test "x$as_lineno_1" != "x$as_lineno_2" &&
121964 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
121965 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
121966 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
121967 CONFIG_SHELL=$as_dir/$as_base
121968 export CONFIG_SHELL
121969 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
121977 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
121978 # uniformly replaced by the line number. The first 'sed' inserts a
121979 # line-number line before each line; the second 'sed' does the real
121980 # work. The second script uses 'N' to pair each line-number line
121981 # with the numbered line, and appends trailing '-' during
121982 # substitution so that $LINENO is not a special case at line end.
121983 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
121984 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
121985 sed '=' <$as_myself |
121986 sed '
121988 s,$,-,
121989 : loop
121990 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
121991 t loop
121992 s,-$,,
121993 s,^['$as_cr_digits']*\n,,
121994 ' >$as_me.lineno &&
121995 chmod +x $as_me.lineno ||
121996 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
121997 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
121998 { (exit 1); exit 1; }; }
122000 # Don't try to exec as it changes $[0], causing all sort of problems
122001 # (the dirname of $[0] is not the place where we might find the
122002 # original and so on. Autoconf is especially sensible to this).
122003 . ./$as_me.lineno
122004 # Exit status is that of the last command.
122009 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
122010 *c*,-n*) ECHO_N= ECHO_C='
122011 ' ECHO_T=' ' ;;
122012 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
122013 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
122016 if expr a : '\(a\)' >/dev/null 2>&1; then
122017 as_expr=expr
122019 as_expr=false
122022 rm -f conf$$ conf$$.exe conf$$.file
122023 echo >conf$$.file
122024 if ln -s conf$$.file conf$$ 2>/dev/null; then
122025 # We could just check for DJGPP; but this test a) works b) is more generic
122026 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
122027 if test -f conf$$.exe; then
122028 # Don't use ln at all; we don't have any links
122029 as_ln_s='cp -p'
122031 as_ln_s='ln -s'
122033 elif ln conf$$.file conf$$ 2>/dev/null; then
122034 as_ln_s=ln
122036 as_ln_s='cp -p'
122038 rm -f conf$$ conf$$.exe conf$$.file
122040 if mkdir -p . 2>/dev/null; then
122041 as_mkdir_p=:
122043 test -d ./-p && rmdir ./-p
122044 as_mkdir_p=false
122047 as_executable_p="test -f"
122049 # Sed expression to map a string onto a valid CPP name.
122050 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
122052 # Sed expression to map a string onto a valid variable name.
122053 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
122056 # IFS
122057 # We need space, tab and new line, in precisely that order.
122058 as_nl='
122060 IFS=" $as_nl"
122062 # CDPATH.
122063 $as_unset CDPATH
122065 exec 6>&1
122067 # Open the log real soon, to keep \$[0] and so on meaningful, and to
122068 # report actual input values of CONFIG_FILES etc. instead of their
122069 # values after options handling. Logging --version etc. is OK.
122070 exec 5>>config.log
122073 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
122074 ## Running $as_me. ##
122075 _ASBOX
122076 } >&5
122077 cat >&5 <<_CSEOF
122079 This file was extended by package-unused $as_me version-unused, which was
122080 generated by GNU Autoconf 2.59. Invocation command line was
122082 CONFIG_FILES = $CONFIG_FILES
122083 CONFIG_HEADERS = $CONFIG_HEADERS
122084 CONFIG_LINKS = $CONFIG_LINKS
122085 CONFIG_COMMANDS = $CONFIG_COMMANDS
122086 $ $0 $@
122088 _CSEOF
122089 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
122090 echo >&5
122091 _ACEOF
122093 # Files that config.status was made for.
122094 if test -n "$ac_config_files"; then
122095 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
122098 if test -n "$ac_config_headers"; then
122099 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
122102 if test -n "$ac_config_links"; then
122103 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
122106 if test -n "$ac_config_commands"; then
122107 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
122110 cat >>$CONFIG_STATUS <<\_ACEOF
122112 ac_cs_usage="\
122113 \`$as_me' instantiates files from templates according to the
122114 current configuration.
122116 Usage: $0 [OPTIONS] [FILE]...
122118 -h, --help print this help, then exit
122119 -V, --version print version number, then exit
122120 -q, --quiet do not print progress messages
122121 -d, --debug don't remove temporary files
122122 --recheck update $as_me by reconfiguring in the same conditions
122123 --file=FILE[:TEMPLATE]
122124 instantiate the configuration file FILE
122125 --header=FILE[:TEMPLATE]
122126 instantiate the configuration header FILE
122128 Configuration files:
122129 $config_files
122131 Configuration headers:
122132 $config_headers
122134 Configuration commands:
122135 $config_commands
122137 Report bugs to <bug-autoconf@gnu.org>."
122138 _ACEOF
122140 cat >>$CONFIG_STATUS <<_ACEOF
122141 ac_cs_version="\\
122142 package-unused config.status version-unused
122143 configured by $0, generated by GNU Autoconf 2.59,
122144 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
122146 Copyright (C) 2003 Free Software Foundation, Inc.
122147 This config.status script is free software; the Free Software Foundation
122148 gives unlimited permission to copy, distribute and modify it."
122149 srcdir=$srcdir
122150 INSTALL="$INSTALL"
122151 _ACEOF
122153 cat >>$CONFIG_STATUS <<\_ACEOF
122154 # If no file are specified by the user, then we need to provide default
122155 # value. By we need to know if files were specified by the user.
122156 ac_need_defaults=:
122157 while test $# != 0
122159 case $1 in
122160 --*=*)
122161 ac_option=`expr "x$1" : 'x\([^=]*\)='`
122162 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
122163 ac_shift=:
122166 ac_option=$1
122167 ac_optarg=$2
122168 ac_shift=shift
122170 *) # This is not an option, so the user has probably given explicit
122171 # arguments.
122172 ac_option=$1
122173 ac_need_defaults=false;;
122176 case $ac_option in
122177 # Handling of the options.
122178 _ACEOF
122179 cat >>$CONFIG_STATUS <<\_ACEOF
122180 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
122181 ac_cs_recheck=: ;;
122182 --version | --vers* | -V )
122183 echo "$ac_cs_version"; exit 0 ;;
122184 --he | --h)
122185 # Conflict between --help and --header
122186 { { echo "$as_me:$LINENO: error: ambiguous option: $1
122187 Try \`$0 --help' for more information." >&5
122188 echo "$as_me: error: ambiguous option: $1
122189 Try \`$0 --help' for more information." >&2;}
122190 { (exit 1); exit 1; }; };;
122191 --help | --hel | -h )
122192 echo "$ac_cs_usage"; exit 0 ;;
122193 --debug | --d* | -d )
122194 debug=: ;;
122195 --file | --fil | --fi | --f )
122196 $ac_shift
122197 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
122198 ac_need_defaults=false;;
122199 --header | --heade | --head | --hea )
122200 $ac_shift
122201 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
122202 ac_need_defaults=false;;
122203 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
122204 | -silent | --silent | --silen | --sile | --sil | --si | --s)
122205 ac_cs_silent=: ;;
122207 # This is an error.
122208 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
122209 Try \`$0 --help' for more information." >&5
122210 echo "$as_me: error: unrecognized option: $1
122211 Try \`$0 --help' for more information." >&2;}
122212 { (exit 1); exit 1; }; } ;;
122214 *) ac_config_targets="$ac_config_targets $1" ;;
122217 shift
122220 ac_configure_extra_args=
122222 if $ac_cs_silent; then
122223 exec 6>/dev/null
122224 ac_configure_extra_args="$ac_configure_extra_args --silent"
122227 _ACEOF
122228 cat >>$CONFIG_STATUS <<_ACEOF
122229 if \$ac_cs_recheck; then
122230 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
122231 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
122234 _ACEOF
122236 cat >>$CONFIG_STATUS <<_ACEOF
122238 # INIT-COMMANDS section.
122242 srcdir="$srcdir"
122243 host="$host"
122244 target="$target"
122245 with_multisubdir="$with_multisubdir"
122246 with_multisrctop="$with_multisrctop"
122247 with_target_subdir="$with_target_subdir"
122248 ac_configure_args="${multilib_arg} ${ac_configure_args}"
122249 multi_basedir="$multi_basedir"
122250 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
122251 CC="$CC"
122254 # The HP-UX ksh and POSIX shell print the target directory to stdout
122255 # if CDPATH is set.
122256 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
122258 sed_quote_subst='$sed_quote_subst'
122259 double_quote_subst='$double_quote_subst'
122260 delay_variable_subst='$delay_variable_subst'
122261 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
122262 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
122263 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
122264 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
122265 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
122266 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
122267 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
122268 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
122269 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
122270 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
122271 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
122272 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
122273 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
122274 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
122275 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
122276 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
122277 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
122278 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
122279 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
122280 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
122281 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
122282 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
122283 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
122284 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
122285 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
122286 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
122287 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
122288 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122289 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
122290 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
122291 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
122292 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
122293 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
122294 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
122295 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122296 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122297 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122298 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
122299 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
122300 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
122301 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
122302 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
122303 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
122304 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"`'
122305 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
122306 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
122307 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
122308 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
122309 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
122310 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
122311 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
122312 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
122313 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
122314 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
122315 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
122316 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122317 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122318 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
122319 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
122320 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122321 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122322 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
122323 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122324 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122325 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122326 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122327 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122328 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122329 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
122330 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122331 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
122332 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
122333 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
122334 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
122335 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
122336 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
122337 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
122338 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122339 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
122340 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
122341 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
122342 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
122343 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
122344 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122345 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122346 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
122347 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122348 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
122349 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
122350 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
122351 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
122352 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
122353 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122354 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
122355 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
122356 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122357 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
122358 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
122359 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122360 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122361 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
122362 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
122363 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
122364 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122365 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
122366 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
122367 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
122368 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
122369 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
122370 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
122371 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
122372 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122373 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
122374 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
122375 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
122376 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
122377 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122378 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122379 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122380 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122381 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122382 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122383 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122384 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122385 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122386 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122387 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122388 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122389 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122390 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122391 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122392 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122393 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122394 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122395 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122396 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122397 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122398 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122399 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122400 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122401 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122402 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122403 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122404 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122405 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122406 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122407 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122408 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122409 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122410 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122411 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122412 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122413 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122414 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122415 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122416 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122417 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122418 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122419 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122420 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122421 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122422 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
122424 LTCC='$LTCC'
122425 LTCFLAGS='$LTCFLAGS'
122426 compiler='$compiler_DEFAULT'
122428 # Quote evaled strings.
122429 for var in SED \
122430 GREP \
122431 EGREP \
122432 FGREP \
122435 LN_S \
122436 lt_SP2NL \
122437 lt_NL2SP \
122438 reload_flag \
122439 deplibs_check_method \
122440 file_magic_cmd \
122442 AR_FLAGS \
122443 STRIP \
122444 RANLIB \
122446 CFLAGS \
122447 compiler \
122448 lt_cv_sys_global_symbol_pipe \
122449 lt_cv_sys_global_symbol_to_cdecl \
122450 lt_cv_sys_global_symbol_to_c_name_address \
122451 SHELL \
122452 ECHO \
122453 lt_prog_compiler_no_builtin_flag \
122454 lt_prog_compiler_wl \
122455 lt_prog_compiler_pic \
122456 lt_prog_compiler_static \
122457 lt_cv_prog_compiler_c_o \
122458 need_locks \
122459 shrext_cmds \
122460 export_dynamic_flag_spec \
122461 whole_archive_flag_spec \
122462 compiler_needs_object \
122463 with_gnu_ld \
122464 allow_undefined_flag \
122465 no_undefined_flag \
122466 hardcode_libdir_flag_spec \
122467 hardcode_libdir_flag_spec_ld \
122468 hardcode_libdir_separator \
122469 fix_srcfile_path \
122470 exclude_expsyms \
122471 include_expsyms \
122472 file_list_spec \
122473 variables_saved_for_relink \
122474 libname_spec \
122475 library_names_spec \
122476 soname_spec \
122477 finish_eval \
122478 old_striplib \
122479 striplib \
122480 predep_objects \
122481 postdep_objects \
122482 predeps \
122483 postdeps \
122484 compiler_lib_search_path \
122485 LD_CXX \
122486 compiler_CXX \
122487 lt_prog_compiler_no_builtin_flag_CXX \
122488 lt_prog_compiler_wl_CXX \
122489 lt_prog_compiler_pic_CXX \
122490 lt_prog_compiler_static_CXX \
122491 lt_cv_prog_compiler_c_o_CXX \
122492 export_dynamic_flag_spec_CXX \
122493 whole_archive_flag_spec_CXX \
122494 compiler_needs_object_CXX \
122495 with_gnu_ld_CXX \
122496 allow_undefined_flag_CXX \
122497 no_undefined_flag_CXX \
122498 hardcode_libdir_flag_spec_CXX \
122499 hardcode_libdir_flag_spec_ld_CXX \
122500 hardcode_libdir_separator_CXX \
122501 fix_srcfile_path_CXX \
122502 exclude_expsyms_CXX \
122503 include_expsyms_CXX \
122504 file_list_spec_CXX \
122505 predep_objects_CXX \
122506 postdep_objects_CXX \
122507 predeps_CXX \
122508 postdeps_CXX \
122509 compiler_lib_search_path_CXX; do
122510 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122511 *[\\\\\\\`\\"\\\$]*)
122512 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
122515 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122520 # Double-quote double-evaled strings.
122521 for var in reload_cmds \
122522 old_postinstall_cmds \
122523 old_postuninstall_cmds \
122524 old_archive_cmds \
122525 extract_expsyms_cmds \
122526 old_archive_from_new_cmds \
122527 old_archive_from_expsyms_cmds \
122528 archive_cmds \
122529 archive_expsym_cmds \
122530 module_cmds \
122531 module_expsym_cmds \
122532 export_symbols_cmds \
122533 prelink_cmds \
122534 postinstall_cmds \
122535 postuninstall_cmds \
122536 finish_cmds \
122537 sys_lib_search_path_spec \
122538 sys_lib_dlsearch_path_spec \
122539 old_archive_cmds_CXX \
122540 old_archive_from_new_cmds_CXX \
122541 old_archive_from_expsyms_cmds_CXX \
122542 archive_cmds_CXX \
122543 archive_expsym_cmds_CXX \
122544 module_cmds_CXX \
122545 module_expsym_cmds_CXX \
122546 export_symbols_cmds_CXX \
122547 prelink_cmds_CXX; do
122548 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
122549 *[\\\\\\\`\\"\\\$]*)
122550 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
122553 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
122558 # Fix-up fallback echo if it was mangled by the above quoting rules.
122559 case \$lt_ECHO in
122560 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
122564 ac_aux_dir='$ac_aux_dir'
122565 xsi_shell='$xsi_shell'
122566 lt_shell_append='$lt_shell_append'
122568 # See if we are running on zsh, and set the options which allow our
122569 # commands through without removal of \ escapes INIT.
122570 if test -n "\${ZSH_VERSION+set}" ; then
122571 setopt NO_GLOB_SUBST
122575 PACKAGE='$PACKAGE'
122576 VERSION='$VERSION'
122577 TIMESTAMP='$TIMESTAMP'
122578 RM='$RM'
122579 ofile='$ofile'
122586 GCC="$GCC"
122587 CC="$CC"
122588 acx_cv_header_stdint="$acx_cv_header_stdint"
122589 acx_cv_type_int8_t="$acx_cv_type_int8_t"
122590 acx_cv_type_int16_t="$acx_cv_type_int16_t"
122591 acx_cv_type_int32_t="$acx_cv_type_int32_t"
122592 acx_cv_type_int64_t="$acx_cv_type_int64_t"
122593 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
122594 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
122595 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
122596 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
122597 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
122598 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
122599 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
122600 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
122601 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
122604 # Variables needed in config.status (file generation) which aren't already
122605 # passed by autoconf.
122606 SUBDIRS="$SUBDIRS"
122609 _ACEOF
122613 cat >>$CONFIG_STATUS <<\_ACEOF
122614 for ac_config_target in $ac_config_targets
122616 case "$ac_config_target" in
122617 # Handling of arguments.
122618 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
122619 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
122620 "libmath/Makefile" ) CONFIG_FILES="$CONFIG_FILES libmath/Makefile" ;;
122621 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
122622 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
122623 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
122624 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
122625 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
122626 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
122627 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
122628 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
122629 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
122630 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
122631 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
122632 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
122633 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
122634 { (exit 1); exit 1; }; };;
122638 # If the user did not use the arguments to specify the items to instantiate,
122639 # then the envvar interface is used. Set only those that are not.
122640 # We use the long form for the default assignment because of an extremely
122641 # bizarre bug on SunOS 4.1.3.
122642 if $ac_need_defaults; then
122643 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
122644 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
122645 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
122648 # Have a temporary directory for convenience. Make it in the build tree
122649 # simply because there is no reason to put it here, and in addition,
122650 # creating and moving files from /tmp can sometimes cause problems.
122651 # Create a temporary directory, and hook for its removal unless debugging.
122652 $debug ||
122654 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
122655 trap '{ (exit 1); exit 1; }' 1 2 13 15
122658 # Create a (secure) tmp directory for tmp files.
122661 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
122662 test -n "$tmp" && test -d "$tmp"
122665 tmp=./confstat$$-$RANDOM
122666 (umask 077 && mkdir $tmp)
122669 echo "$me: cannot create a temporary directory in ." >&2
122670 { (exit 1); exit 1; }
122673 _ACEOF
122675 cat >>$CONFIG_STATUS <<_ACEOF
122678 # CONFIG_FILES section.
122681 # No need to generate the scripts if there are no CONFIG_FILES.
122682 # This happens for instance when ./config.status config.h
122683 if test -n "\$CONFIG_FILES"; then
122684 # Protect against being on the right side of a sed subst in config.status.
122685 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
122686 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
122687 s,@SHELL@,$SHELL,;t t
122688 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
122689 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
122690 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
122691 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
122692 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
122693 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
122694 s,@exec_prefix@,$exec_prefix,;t t
122695 s,@prefix@,$prefix,;t t
122696 s,@program_transform_name@,$program_transform_name,;t t
122697 s,@bindir@,$bindir,;t t
122698 s,@sbindir@,$sbindir,;t t
122699 s,@libexecdir@,$libexecdir,;t t
122700 s,@datadir@,$datadir,;t t
122701 s,@sysconfdir@,$sysconfdir,;t t
122702 s,@sharedstatedir@,$sharedstatedir,;t t
122703 s,@localstatedir@,$localstatedir,;t t
122704 s,@libdir@,$libdir,;t t
122705 s,@includedir@,$includedir,;t t
122706 s,@oldincludedir@,$oldincludedir,;t t
122707 s,@infodir@,$infodir,;t t
122708 s,@mandir@,$mandir,;t t
122709 s,@build_alias@,$build_alias,;t t
122710 s,@host_alias@,$host_alias,;t t
122711 s,@target_alias@,$target_alias,;t t
122712 s,@DEFS@,$DEFS,;t t
122713 s,@ECHO_C@,$ECHO_C,;t t
122714 s,@ECHO_N@,$ECHO_N,;t t
122715 s,@ECHO_T@,$ECHO_T,;t t
122716 s,@LIBS@,$LIBS,;t t
122717 s,@libtool_VERSION@,$libtool_VERSION,;t t
122718 s,@multi_basedir@,$multi_basedir,;t t
122719 s,@build@,$build,;t t
122720 s,@build_cpu@,$build_cpu,;t t
122721 s,@build_vendor@,$build_vendor,;t t
122722 s,@build_os@,$build_os,;t t
122723 s,@host@,$host,;t t
122724 s,@host_cpu@,$host_cpu,;t t
122725 s,@host_vendor@,$host_vendor,;t t
122726 s,@host_os@,$host_os,;t t
122727 s,@target@,$target,;t t
122728 s,@target_cpu@,$target_cpu,;t t
122729 s,@target_vendor@,$target_vendor,;t t
122730 s,@target_os@,$target_os,;t t
122731 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
122732 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
122733 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
122734 s,@CYGPATH_W@,$CYGPATH_W,;t t
122735 s,@PACKAGE@,$PACKAGE,;t t
122736 s,@VERSION@,$VERSION,;t t
122737 s,@ACLOCAL@,$ACLOCAL,;t t
122738 s,@AUTOCONF@,$AUTOCONF,;t t
122739 s,@AUTOMAKE@,$AUTOMAKE,;t t
122740 s,@AUTOHEADER@,$AUTOHEADER,;t t
122741 s,@MAKEINFO@,$MAKEINFO,;t t
122742 s,@install_sh@,$install_sh,;t t
122743 s,@STRIP@,$STRIP,;t t
122744 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
122745 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
122746 s,@mkdir_p@,$mkdir_p,;t t
122747 s,@AWK@,$AWK,;t t
122748 s,@SET_MAKE@,$SET_MAKE,;t t
122749 s,@am__leading_dot@,$am__leading_dot,;t t
122750 s,@AMTAR@,$AMTAR,;t t
122751 s,@am__tar@,$am__tar,;t t
122752 s,@am__untar@,$am__untar,;t t
122753 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
122754 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
122755 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
122756 s,@CC@,$CC,;t t
122757 s,@ac_ct_CC@,$ac_ct_CC,;t t
122758 s,@EXEEXT@,$EXEEXT,;t t
122759 s,@OBJEXT@,$OBJEXT,;t t
122760 s,@CXX@,$CXX,;t t
122761 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
122762 s,@CFLAGS@,$CFLAGS,;t t
122763 s,@CXXFLAGS@,$CXXFLAGS,;t t
122764 s,@LN_S@,$LN_S,;t t
122765 s,@AS@,$AS,;t t
122766 s,@ac_ct_AS@,$ac_ct_AS,;t t
122767 s,@AR@,$AR,;t t
122768 s,@ac_ct_AR@,$ac_ct_AR,;t t
122769 s,@RANLIB@,$RANLIB,;t t
122770 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
122771 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
122772 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
122773 s,@MAINT@,$MAINT,;t t
122774 s,@CPP@,$CPP,;t t
122775 s,@CPPFLAGS@,$CPPFLAGS,;t t
122776 s,@EGREP@,$EGREP,;t t
122777 s,@LIBTOOL@,$LIBTOOL,;t t
122778 s,@SED@,$SED,;t t
122779 s,@FGREP@,$FGREP,;t t
122780 s,@GREP@,$GREP,;t t
122781 s,@LD@,$LD,;t t
122782 s,@DUMPBIN@,$DUMPBIN,;t t
122783 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
122784 s,@NM@,$NM,;t t
122785 s,@lt_ECHO@,$lt_ECHO,;t t
122786 s,@LDFLAGS@,$LDFLAGS,;t t
122787 s,@CXXCPP@,$CXXCPP,;t t
122788 s,@enable_shared@,$enable_shared,;t t
122789 s,@enable_static@,$enable_static,;t t
122790 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
122791 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
122792 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
122793 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
122794 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
122795 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
122796 s,@WERROR@,$WERROR,;t t
122797 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
122798 s,@CSTDIO_H@,$CSTDIO_H,;t t
122799 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
122800 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
122801 s,@check_msgfmt@,$check_msgfmt,;t t
122802 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
122803 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
122804 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
122805 s,@USE_NLS@,$USE_NLS,;t t
122806 s,@CLOCALE_H@,$CLOCALE_H,;t t
122807 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
122808 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
122809 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
122810 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
122811 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
122812 s,@CMONEY_CC@,$CMONEY_CC,;t t
122813 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
122814 s,@CTIME_H@,$CTIME_H,;t t
122815 s,@CTIME_CC@,$CTIME_CC,;t t
122816 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
122817 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
122818 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
122819 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
122820 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
122821 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
122822 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
122823 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
122824 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
122825 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
122826 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
122827 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
122828 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
122829 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
122830 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
122831 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
122832 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
122833 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
122834 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
122835 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
122836 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
122837 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
122838 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
122839 s,@LIBMATHOBJS@,$LIBMATHOBJS,;t t
122840 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
122841 s,@LIBICONV@,$LIBICONV,;t t
122842 s,@LTLIBICONV@,$LTLIBICONV,;t t
122843 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
122844 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
122845 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
122846 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
122847 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
122848 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
122849 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
122850 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
122851 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
122852 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
122853 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
122854 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
122855 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
122856 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
122857 s,@baseline_dir@,$baseline_dir,;t t
122858 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
122859 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
122860 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
122861 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
122862 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
122863 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
122864 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
122865 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
122866 s,@gxx_include_dir@,$gxx_include_dir,;t t
122867 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
122868 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
122869 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
122870 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
122871 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
122872 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
122873 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
122874 s,@LIBOBJS@,$LIBOBJS,;t t
122875 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
122878 _ACEOF
122880 cat >>$CONFIG_STATUS <<\_ACEOF
122881 # Split the substitutions into bite-sized pieces for seds with
122882 # small command number limits, like on Digital OSF/1 and HP-UX.
122883 ac_max_sed_lines=48
122884 ac_sed_frag=1 # Number of current file.
122885 ac_beg=1 # First line for current file.
122886 ac_end=$ac_max_sed_lines # Line after last line for current file.
122887 ac_more_lines=:
122888 ac_sed_cmds=
122889 while $ac_more_lines; do
122890 if test $ac_beg -gt 1; then
122891 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122893 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
122895 if test ! -s $tmp/subs.frag; then
122896 ac_more_lines=false
122898 # The purpose of the label and of the branching condition is to
122899 # speed up the sed processing (if there are no `@' at all, there
122900 # is no need to browse any of the substitutions).
122901 # These are the two extra sed commands mentioned above.
122902 (echo ':t
122903 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
122904 if test -z "$ac_sed_cmds"; then
122905 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
122907 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
122909 ac_sed_frag=`expr $ac_sed_frag + 1`
122910 ac_beg=$ac_end
122911 ac_end=`expr $ac_end + $ac_max_sed_lines`
122914 if test -z "$ac_sed_cmds"; then
122915 ac_sed_cmds=cat
122917 fi # test -n "$CONFIG_FILES"
122919 _ACEOF
122920 cat >>$CONFIG_STATUS <<\_ACEOF
122921 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
122922 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
122923 case $ac_file in
122924 - | *:- | *:-:* ) # input from stdin
122925 cat >$tmp/stdin
122926 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122927 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122928 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
122929 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
122930 * ) ac_file_in=$ac_file.in ;;
122933 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
122934 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
122935 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122936 X"$ac_file" : 'X\(//\)[^/]' \| \
122937 X"$ac_file" : 'X\(//\)$' \| \
122938 X"$ac_file" : 'X\(/\)' \| \
122939 . : '\(.\)' 2>/dev/null ||
122940 echo X"$ac_file" |
122941 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122942 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122943 /^X\(\/\/\)$/{ s//\1/; q; }
122944 /^X\(\/\).*/{ s//\1/; q; }
122945 s/.*/./; q'`
122946 { if $as_mkdir_p; then
122947 mkdir -p "$ac_dir"
122949 as_dir="$ac_dir"
122950 as_dirs=
122951 while test ! -d "$as_dir"; do
122952 as_dirs="$as_dir $as_dirs"
122953 as_dir=`(dirname "$as_dir") 2>/dev/null ||
122954 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
122955 X"$as_dir" : 'X\(//\)[^/]' \| \
122956 X"$as_dir" : 'X\(//\)$' \| \
122957 X"$as_dir" : 'X\(/\)' \| \
122958 . : '\(.\)' 2>/dev/null ||
122959 echo X"$as_dir" |
122960 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
122961 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
122962 /^X\(\/\/\)$/{ s//\1/; q; }
122963 /^X\(\/\).*/{ s//\1/; q; }
122964 s/.*/./; q'`
122966 test ! -n "$as_dirs" || mkdir $as_dirs
122967 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
122968 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
122969 { (exit 1); exit 1; }; }; }
122971 ac_builddir=.
122973 if test "$ac_dir" != .; then
122974 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
122975 # A "../" for each directory in $ac_dir_suffix.
122976 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
122978 ac_dir_suffix= ac_top_builddir=
122981 case $srcdir in
122982 .) # No --srcdir option. We are building in place.
122983 ac_srcdir=.
122984 if test -z "$ac_top_builddir"; then
122985 ac_top_srcdir=.
122987 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
122988 fi ;;
122989 [\\/]* | ?:[\\/]* ) # Absolute path.
122990 ac_srcdir=$srcdir$ac_dir_suffix;
122991 ac_top_srcdir=$srcdir ;;
122992 *) # Relative path.
122993 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
122994 ac_top_srcdir=$ac_top_builddir$srcdir ;;
122997 # Do not use `cd foo && pwd` to compute absolute paths, because
122998 # the directories may not exist.
122999 case `pwd` in
123000 .) ac_abs_builddir="$ac_dir";;
123002 case "$ac_dir" in
123003 .) ac_abs_builddir=`pwd`;;
123004 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
123005 *) ac_abs_builddir=`pwd`/"$ac_dir";;
123006 esac;;
123008 case $ac_abs_builddir in
123009 .) ac_abs_top_builddir=${ac_top_builddir}.;;
123011 case ${ac_top_builddir}. in
123012 .) ac_abs_top_builddir=$ac_abs_builddir;;
123013 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
123014 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
123015 esac;;
123017 case $ac_abs_builddir in
123018 .) ac_abs_srcdir=$ac_srcdir;;
123020 case $ac_srcdir in
123021 .) ac_abs_srcdir=$ac_abs_builddir;;
123022 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
123023 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
123024 esac;;
123026 case $ac_abs_builddir in
123027 .) ac_abs_top_srcdir=$ac_top_srcdir;;
123029 case $ac_top_srcdir in
123030 .) ac_abs_top_srcdir=$ac_abs_builddir;;
123031 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
123032 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
123033 esac;;
123037 case $INSTALL in
123038 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
123039 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
123042 if test x"$ac_file" != x-; then
123043 { echo "$as_me:$LINENO: creating $ac_file" >&5
123044 echo "$as_me: creating $ac_file" >&6;}
123045 rm -f "$ac_file"
123047 # Let's still pretend it is `configure' which instantiates (i.e., don't
123048 # use $as_me), people would be surprised to read:
123049 # /* config.h. Generated by config.status. */
123050 if test x"$ac_file" = x-; then
123051 configure_input=
123053 configure_input="$ac_file. "
123055 configure_input=$configure_input"Generated from `echo $ac_file_in |
123056 sed 's,.*/,,'` by configure."
123058 # First look for the input files in the build tree, otherwise in the
123059 # src tree.
123060 ac_file_inputs=`IFS=:
123061 for f in $ac_file_in; do
123062 case $f in
123063 -) echo $tmp/stdin ;;
123064 [\\/$]*)
123065 # Absolute (can't be DOS-style, as IFS=:)
123066 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123067 echo "$as_me: error: cannot find input file: $f" >&2;}
123068 { (exit 1); exit 1; }; }
123069 echo "$f";;
123070 *) # Relative
123071 if test -f "$f"; then
123072 # Build tree
123073 echo "$f"
123074 elif test -f "$srcdir/$f"; then
123075 # Source tree
123076 echo "$srcdir/$f"
123078 # /dev/null tree
123079 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123080 echo "$as_me: error: cannot find input file: $f" >&2;}
123081 { (exit 1); exit 1; }; }
123084 done` || { (exit 1); exit 1; }
123085 _ACEOF
123086 cat >>$CONFIG_STATUS <<_ACEOF
123087 sed "$ac_vpsub
123088 $extrasub
123089 _ACEOF
123090 cat >>$CONFIG_STATUS <<\_ACEOF
123092 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
123093 s,@configure_input@,$configure_input,;t t
123094 s,@srcdir@,$ac_srcdir,;t t
123095 s,@abs_srcdir@,$ac_abs_srcdir,;t t
123096 s,@top_srcdir@,$ac_top_srcdir,;t t
123097 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
123098 s,@builddir@,$ac_builddir,;t t
123099 s,@abs_builddir@,$ac_abs_builddir,;t t
123100 s,@top_builddir@,$ac_top_builddir,;t t
123101 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
123102 s,@INSTALL@,$ac_INSTALL,;t t
123103 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
123104 rm -f $tmp/stdin
123105 if test x"$ac_file" != x-; then
123106 mv $tmp/out $ac_file
123108 cat $tmp/out
123109 rm -f $tmp/out
123112 # Run the commands associated with the file.
123113 case $ac_file in
123114 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
123117 _ACEOF
123118 cat >>$CONFIG_STATUS <<\_ACEOF
123121 # CONFIG_HEADER section.
123124 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
123125 # NAME is the cpp macro being defined and VALUE is the value it is being given.
123127 # ac_d sets the value in "#define NAME VALUE" lines.
123128 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
123129 ac_dB='[ ].*$,\1#\2'
123130 ac_dC=' '
123131 ac_dD=',;t'
123132 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
123133 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
123134 ac_uB='$,\1#\2define\3'
123135 ac_uC=' '
123136 ac_uD=',;t'
123138 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
123139 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
123140 case $ac_file in
123141 - | *:- | *:-:* ) # input from stdin
123142 cat >$tmp/stdin
123143 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
123144 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
123145 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
123146 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
123147 * ) ac_file_in=$ac_file.in ;;
123150 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
123151 echo "$as_me: creating $ac_file" >&6;}
123153 # First look for the input files in the build tree, otherwise in the
123154 # src tree.
123155 ac_file_inputs=`IFS=:
123156 for f in $ac_file_in; do
123157 case $f in
123158 -) echo $tmp/stdin ;;
123159 [\\/$]*)
123160 # Absolute (can't be DOS-style, as IFS=:)
123161 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123162 echo "$as_me: error: cannot find input file: $f" >&2;}
123163 { (exit 1); exit 1; }; }
123164 # Do quote $f, to prevent DOS paths from being IFS'd.
123165 echo "$f";;
123166 *) # Relative
123167 if test -f "$f"; then
123168 # Build tree
123169 echo "$f"
123170 elif test -f "$srcdir/$f"; then
123171 # Source tree
123172 echo "$srcdir/$f"
123174 # /dev/null tree
123175 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
123176 echo "$as_me: error: cannot find input file: $f" >&2;}
123177 { (exit 1); exit 1; }; }
123180 done` || { (exit 1); exit 1; }
123181 # Remove the trailing spaces.
123182 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
123184 _ACEOF
123186 # Transform confdefs.h into two sed scripts, `conftest.defines' and
123187 # `conftest.undefs', that substitutes the proper values into
123188 # config.h.in to produce config.h. The first handles `#define'
123189 # templates, and the second `#undef' templates.
123190 # And first: Protect against being on the right side of a sed subst in
123191 # config.status. Protect against being in an unquoted here document
123192 # in config.status.
123193 rm -f conftest.defines conftest.undefs
123194 # Using a here document instead of a string reduces the quoting nightmare.
123195 # Putting comments in sed scripts is not portable.
123197 # `end' is used to avoid that the second main sed command (meant for
123198 # 0-ary CPP macros) applies to n-ary macro definitions.
123199 # See the Autoconf documentation for `clear'.
123200 cat >confdef2sed.sed <<\_ACEOF
123201 s/[\\&,]/\\&/g
123202 s,[\\$`],\\&,g
123203 t clear
123204 : clear
123205 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
123206 t end
123207 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
123208 : end
123209 _ACEOF
123210 # If some macros were called several times there might be several times
123211 # the same #defines, which is useless. Nevertheless, we may not want to
123212 # sort them, since we want the *last* AC-DEFINE to be honored.
123213 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
123214 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
123215 rm -f confdef2sed.sed
123217 # This sed command replaces #undef with comments. This is necessary, for
123218 # example, in the case of _POSIX_SOURCE, which is predefined and required
123219 # on some systems where configure will not decide to define it.
123220 cat >>conftest.undefs <<\_ACEOF
123221 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
123222 _ACEOF
123224 # Break up conftest.defines because some shells have a limit on the size
123225 # of here documents, and old seds have small limits too (100 cmds).
123226 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
123227 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
123228 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
123229 echo ' :' >>$CONFIG_STATUS
123230 rm -f conftest.tail
123231 while grep . conftest.defines >/dev/null
123233 # Write a limited-size here document to $tmp/defines.sed.
123234 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
123235 # Speed up: don't consider the non `#define' lines.
123236 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
123237 # Work around the forget-to-reset-the-flag bug.
123238 echo 't clr' >>$CONFIG_STATUS
123239 echo ': clr' >>$CONFIG_STATUS
123240 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
123241 echo 'CEOF
123242 sed -f $tmp/defines.sed $tmp/in >$tmp/out
123243 rm -f $tmp/in
123244 mv $tmp/out $tmp/in
123245 ' >>$CONFIG_STATUS
123246 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
123247 rm -f conftest.defines
123248 mv conftest.tail conftest.defines
123250 rm -f conftest.defines
123251 echo ' fi # grep' >>$CONFIG_STATUS
123252 echo >>$CONFIG_STATUS
123254 # Break up conftest.undefs because some shells have a limit on the size
123255 # of here documents, and old seds have small limits too (100 cmds).
123256 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
123257 rm -f conftest.tail
123258 while grep . conftest.undefs >/dev/null
123260 # Write a limited-size here document to $tmp/undefs.sed.
123261 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
123262 # Speed up: don't consider the non `#undef'
123263 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
123264 # Work around the forget-to-reset-the-flag bug.
123265 echo 't clr' >>$CONFIG_STATUS
123266 echo ': clr' >>$CONFIG_STATUS
123267 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
123268 echo 'CEOF
123269 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
123270 rm -f $tmp/in
123271 mv $tmp/out $tmp/in
123272 ' >>$CONFIG_STATUS
123273 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
123274 rm -f conftest.undefs
123275 mv conftest.tail conftest.undefs
123277 rm -f conftest.undefs
123279 cat >>$CONFIG_STATUS <<\_ACEOF
123280 # Let's still pretend it is `configure' which instantiates (i.e., don't
123281 # use $as_me), people would be surprised to read:
123282 # /* config.h. Generated by config.status. */
123283 if test x"$ac_file" = x-; then
123284 echo "/* Generated by configure. */" >$tmp/config.h
123286 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
123288 cat $tmp/in >>$tmp/config.h
123289 rm -f $tmp/in
123290 if test x"$ac_file" != x-; then
123291 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
123292 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
123293 echo "$as_me: $ac_file is unchanged" >&6;}
123295 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
123296 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123297 X"$ac_file" : 'X\(//\)[^/]' \| \
123298 X"$ac_file" : 'X\(//\)$' \| \
123299 X"$ac_file" : 'X\(/\)' \| \
123300 . : '\(.\)' 2>/dev/null ||
123301 echo X"$ac_file" |
123302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123303 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123304 /^X\(\/\/\)$/{ s//\1/; q; }
123305 /^X\(\/\).*/{ s//\1/; q; }
123306 s/.*/./; q'`
123307 { if $as_mkdir_p; then
123308 mkdir -p "$ac_dir"
123310 as_dir="$ac_dir"
123311 as_dirs=
123312 while test ! -d "$as_dir"; do
123313 as_dirs="$as_dir $as_dirs"
123314 as_dir=`(dirname "$as_dir") 2>/dev/null ||
123315 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123316 X"$as_dir" : 'X\(//\)[^/]' \| \
123317 X"$as_dir" : 'X\(//\)$' \| \
123318 X"$as_dir" : 'X\(/\)' \| \
123319 . : '\(.\)' 2>/dev/null ||
123320 echo X"$as_dir" |
123321 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123322 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123323 /^X\(\/\/\)$/{ s//\1/; q; }
123324 /^X\(\/\).*/{ s//\1/; q; }
123325 s/.*/./; q'`
123327 test ! -n "$as_dirs" || mkdir $as_dirs
123328 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123329 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123330 { (exit 1); exit 1; }; }; }
123332 rm -f $ac_file
123333 mv $tmp/config.h $ac_file
123336 cat $tmp/config.h
123337 rm -f $tmp/config.h
123339 # Compute $ac_file's index in $config_headers.
123340 _am_stamp_count=1
123341 for _am_header in $config_headers :; do
123342 case $_am_header in
123343 $ac_file | $ac_file:* )
123344 break ;;
123346 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
123349 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
123350 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123351 X$ac_file : 'X\(//\)[^/]' \| \
123352 X$ac_file : 'X\(//\)$' \| \
123353 X$ac_file : 'X\(/\)' \| \
123354 . : '\(.\)' 2>/dev/null ||
123355 echo X$ac_file |
123356 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123357 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123358 /^X\(\/\/\)$/{ s//\1/; q; }
123359 /^X\(\/\).*/{ s//\1/; q; }
123360 s/.*/./; q'`/stamp-h$_am_stamp_count
123362 _ACEOF
123363 cat >>$CONFIG_STATUS <<\_ACEOF
123366 # CONFIG_COMMANDS section.
123368 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
123369 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
123370 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
123371 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
123372 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123373 X"$ac_dest" : 'X\(//\)[^/]' \| \
123374 X"$ac_dest" : 'X\(//\)$' \| \
123375 X"$ac_dest" : 'X\(/\)' \| \
123376 . : '\(.\)' 2>/dev/null ||
123377 echo X"$ac_dest" |
123378 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123379 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123380 /^X\(\/\/\)$/{ s//\1/; q; }
123381 /^X\(\/\).*/{ s//\1/; q; }
123382 s/.*/./; q'`
123383 { if $as_mkdir_p; then
123384 mkdir -p "$ac_dir"
123386 as_dir="$ac_dir"
123387 as_dirs=
123388 while test ! -d "$as_dir"; do
123389 as_dirs="$as_dir $as_dirs"
123390 as_dir=`(dirname "$as_dir") 2>/dev/null ||
123391 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
123392 X"$as_dir" : 'X\(//\)[^/]' \| \
123393 X"$as_dir" : 'X\(//\)$' \| \
123394 X"$as_dir" : 'X\(/\)' \| \
123395 . : '\(.\)' 2>/dev/null ||
123396 echo X"$as_dir" |
123397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
123398 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
123399 /^X\(\/\/\)$/{ s//\1/; q; }
123400 /^X\(\/\).*/{ s//\1/; q; }
123401 s/.*/./; q'`
123403 test ! -n "$as_dirs" || mkdir $as_dirs
123404 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
123405 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
123406 { (exit 1); exit 1; }; }; }
123408 ac_builddir=.
123410 if test "$ac_dir" != .; then
123411 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
123412 # A "../" for each directory in $ac_dir_suffix.
123413 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
123415 ac_dir_suffix= ac_top_builddir=
123418 case $srcdir in
123419 .) # No --srcdir option. We are building in place.
123420 ac_srcdir=.
123421 if test -z "$ac_top_builddir"; then
123422 ac_top_srcdir=.
123424 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
123425 fi ;;
123426 [\\/]* | ?:[\\/]* ) # Absolute path.
123427 ac_srcdir=$srcdir$ac_dir_suffix;
123428 ac_top_srcdir=$srcdir ;;
123429 *) # Relative path.
123430 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
123431 ac_top_srcdir=$ac_top_builddir$srcdir ;;
123434 # Do not use `cd foo && pwd` to compute absolute paths, because
123435 # the directories may not exist.
123436 case `pwd` in
123437 .) ac_abs_builddir="$ac_dir";;
123439 case "$ac_dir" in
123440 .) ac_abs_builddir=`pwd`;;
123441 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
123442 *) ac_abs_builddir=`pwd`/"$ac_dir";;
123443 esac;;
123445 case $ac_abs_builddir in
123446 .) ac_abs_top_builddir=${ac_top_builddir}.;;
123448 case ${ac_top_builddir}. in
123449 .) ac_abs_top_builddir=$ac_abs_builddir;;
123450 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
123451 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
123452 esac;;
123454 case $ac_abs_builddir in
123455 .) ac_abs_srcdir=$ac_srcdir;;
123457 case $ac_srcdir in
123458 .) ac_abs_srcdir=$ac_abs_builddir;;
123459 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
123460 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
123461 esac;;
123463 case $ac_abs_builddir in
123464 .) ac_abs_top_srcdir=$ac_top_srcdir;;
123466 case $ac_top_srcdir in
123467 .) ac_abs_top_srcdir=$ac_abs_builddir;;
123468 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
123469 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
123470 esac;;
123474 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
123475 echo "$as_me: executing $ac_dest commands" >&6;}
123476 case $ac_dest in
123477 default-1 )
123478 # Only add multilib support code if we just rebuilt the top-level
123479 # Makefile.
123480 case " $CONFIG_FILES " in
123481 *" Makefile "*)
123482 ac_file=Makefile . ${multi_basedir}/config-ml.in
123484 esac ;;
123485 libtool )
123487 # See if we are running on zsh, and set the options which allow our
123488 # commands through without removal of \ escapes.
123489 if test -n "${ZSH_VERSION+set}" ; then
123490 setopt NO_GLOB_SUBST
123493 cfgfile="${ofile}T"
123494 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
123495 $RM "$cfgfile"
123497 cat <<_LT_EOF >> "$cfgfile"
123498 #! $SHELL
123500 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
123501 # Generated automatically by $as_me (GNU $PACKAGE$TIMESTAMP) $VERSION
123502 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
123503 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
123505 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
123506 # 2006, 2007 Free Software Foundation, Inc.
123508 # This file is part of GNU Libtool:
123509 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
123511 # This program is free software; you can redistribute it and/or modify
123512 # it under the terms of the GNU General Public License as published by
123513 # the Free Software Foundation; either version 2 of the License, or
123514 # (at your option) any later version.
123516 # This program is distributed in the hope that it will be useful, but
123517 # WITHOUT ANY WARRANTY; without even the implied warranty of
123518 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
123519 # General Public License for more details.
123521 # You should have received a copy of the GNU General Public License
123522 # along with this program; if not, a copy can be downloaded from
123523 # http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
123524 # Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
123525 # MA 02110-1301, USA.
123527 # As a special exception to the GNU General Public License, if you
123528 # distribute this file as part of a program that contains a
123529 # configuration script generated by Autoconf, you may include it under
123530 # the same distribution terms that you use for the rest of that program.
123533 # The names of the tagged configurations supported by this script.
123534 available_tags="CXX "
123536 # ### BEGIN LIBTOOL CONFIG
123538 # Which release of libtool.m4 was used?
123539 macro_version=$macro_version
123540 macro_revision=$macro_revision
123542 # Whether or not to build shared libraries.
123543 build_libtool_libs=$enable_shared
123545 # Whether or not to build static libraries.
123546 build_old_libs=$enable_static
123548 # What type of objects to build.
123549 pic_mode=$pic_mode
123551 # Whether or not to optimize for fast installation.
123552 fast_install=$enable_fast_install
123554 # The host system.
123555 host_alias=$host_alias
123556 host=$host
123557 host_os=$host_os
123559 # The build system.
123560 build_alias=$build_alias
123561 build=$build
123562 build_os=$build_os
123564 # A sed program that does not truncate output.
123565 SED=$lt_SED
123567 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
123568 Xsed="\$SED -e 1s/^X//"
123570 # A grep program that handles long lines.
123571 GREP=$lt_GREP
123573 # An ERE matcher.
123574 EGREP=$lt_EGREP
123576 # A literal string matcher.
123577 FGREP=$lt_FGREP
123579 # A BSD- or MS-compatible name lister.
123580 NM=$lt_NM
123582 # Whether we need soft or hard links.
123583 LN_S=$lt_LN_S
123585 # What is the maximum length of a command?
123586 max_cmd_len=$max_cmd_len
123588 # Object file suffix (normally "o").
123589 objext=$ac_objext
123591 # Executable file suffix (normally "").
123592 exeext=$exeext
123594 # whether the shell understands "unset".
123595 lt_unset=$lt_unset
123597 # turn spaces into newlines.
123598 SP2NL=$lt_lt_SP2NL
123600 # turn newlines into spaces.
123601 NL2SP=$lt_lt_NL2SP
123603 # How to create reloadable object files.
123604 reload_flag=$lt_reload_flag
123605 reload_cmds=$lt_reload_cmds
123607 # Method to check whether dependent libraries are shared objects.
123608 deplibs_check_method=$lt_deplibs_check_method
123610 # Command to use when deplibs_check_method == "file_magic".
123611 file_magic_cmd=$lt_file_magic_cmd
123613 # The archiver.
123614 AR=$lt_AR
123615 AR_FLAGS=$lt_AR_FLAGS
123617 # A symbol stripping program.
123618 STRIP=$lt_STRIP
123620 # Commands used to install an old-style archive.
123621 RANLIB=$lt_RANLIB
123622 old_postinstall_cmds=$lt_old_postinstall_cmds
123623 old_postuninstall_cmds=$lt_old_postuninstall_cmds
123625 # A C compiler.
123626 LTCC=$lt_CC
123628 # LTCC compiler flags.
123629 LTCFLAGS=$lt_CFLAGS
123631 # Take the output of nm and produce a listing of raw symbols and C names.
123632 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
123634 # Transform the output of nm in a proper C declaration.
123635 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
123637 # Transform the output of nm in a C name address pair.
123638 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
123640 # The name of the directory that contains temporary libtool files.
123641 objdir=$objdir
123643 # Shell to use when invoking shell scripts.
123644 SHELL=$lt_SHELL
123646 # An echo program that does not interpret backslashes.
123647 ECHO=$lt_ECHO
123649 # Used to examine libraries when file_magic_cmd begins with "file".
123650 MAGIC_CMD=$MAGIC_CMD
123652 # Must we lock files when doing compilation?
123653 need_locks=$lt_need_locks
123655 # Old archive suffix (normally "a").
123656 libext=$libext
123658 # Shared library suffix (normally ".so").
123659 shrext_cmds=$lt_shrext_cmds
123661 # The commands to extract the exported symbol list from a shared archive.
123662 extract_expsyms_cmds=$lt_extract_expsyms_cmds
123664 # Variables whose values should be saved in libtool wrapper scripts and
123665 # restored at link time.
123666 variables_saved_for_relink=$lt_variables_saved_for_relink
123668 # Do we need the "lib" prefix for modules?
123669 need_lib_prefix=$need_lib_prefix
123671 # Do we need a version for libraries?
123672 need_version=$need_version
123674 # Library versioning type.
123675 version_type=$version_type
123677 # Shared library runtime path variable.
123678 runpath_var=$runpath_var
123680 # Shared library path variable.
123681 shlibpath_var=$shlibpath_var
123683 # Is shlibpath searched before the hard-coded library search path?
123684 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
123686 # Format of library name prefix.
123687 libname_spec=$lt_libname_spec
123689 # List of archive names. First name is the real one, the rest are links.
123690 # The last name is the one that the linker finds with -lNAME
123691 library_names_spec=$lt_library_names_spec
123693 # The coded name of the library, if different from the real name.
123694 soname_spec=$lt_soname_spec
123696 # Command to use after installation of a shared archive.
123697 postinstall_cmds=$lt_postinstall_cmds
123699 # Command to use after uninstallation of a shared archive.
123700 postuninstall_cmds=$lt_postuninstall_cmds
123702 # Commands used to finish a libtool library installation in a directory.
123703 finish_cmds=$lt_finish_cmds
123705 # As "finish_cmds", except a single script fragment to be evaled but
123706 # not shown.
123707 finish_eval=$lt_finish_eval
123709 # Whether we should hardcode library paths into libraries.
123710 hardcode_into_libs=$hardcode_into_libs
123712 # Compile-time system search path for libraries.
123713 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
123715 # Run-time system search path for libraries.
123716 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
123718 # Whether dlopen is supported.
123719 dlopen_support=$enable_dlopen
123721 # Whether dlopen of programs is supported.
123722 dlopen_self=$enable_dlopen_self
123724 # Whether dlopen of statically linked programs is supported.
123725 dlopen_self_static=$enable_dlopen_self_static
123727 # Commands to strip libraries.
123728 old_striplib=$lt_old_striplib
123729 striplib=$lt_striplib
123732 # The linker used to build libraries.
123733 LD=$lt_LD
123735 # Commands used to build an old-style archive.
123736 old_archive_cmds=$lt_old_archive_cmds
123738 # A language specific compiler.
123739 CC=$lt_compiler
123741 # Is the compiler the GNU compiler?
123742 with_gcc=$GCC
123744 # Compiler flag to turn off builtin functions.
123745 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
123747 # How to pass a linker flag through the compiler.
123748 wl=$lt_lt_prog_compiler_wl
123750 # Additional compiler flags for building library objects.
123751 pic_flag=$lt_lt_prog_compiler_pic
123753 # Compiler flag to prevent dynamic linking.
123754 link_static_flag=$lt_lt_prog_compiler_static
123756 # Does compiler simultaneously support -c and -o options?
123757 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
123759 # Whether or not to add -lc for building shared libraries.
123760 build_libtool_need_lc=$archive_cmds_need_lc
123762 # Whether or not to disallow shared libs when runtime libs are static.
123763 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
123765 # Compiler flag to allow reflexive dlopens.
123766 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
123768 # Compiler flag to generate shared objects directly from archives.
123769 whole_archive_flag_spec=$lt_whole_archive_flag_spec
123771 # Whether the compiler copes with passing no objects directly.
123772 compiler_needs_object=$lt_compiler_needs_object
123774 # Create an old-style archive from a shared archive.
123775 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
123777 # Create a temporary old-style archive to link instead of a shared archive.
123778 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
123780 # Commands used to build a shared archive.
123781 archive_cmds=$lt_archive_cmds
123782 archive_expsym_cmds=$lt_archive_expsym_cmds
123784 # Commands used to build a loadable module if different from building
123785 # a shared archive.
123786 module_cmds=$lt_module_cmds
123787 module_expsym_cmds=$lt_module_expsym_cmds
123789 # Whether we are building with GNU ld or not.
123790 with_gnu_ld=$lt_with_gnu_ld
123792 # Flag that allows shared libraries with undefined symbols to be built.
123793 allow_undefined_flag=$lt_allow_undefined_flag
123795 # Flag that enforces no undefined symbols.
123796 no_undefined_flag=$lt_no_undefined_flag
123798 # Flag to hardcode \$libdir into a binary during linking.
123799 # This must work even if \$libdir does not exist
123800 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
123802 # If ld is used when linking, flag to hardcode \$libdir into a binary
123803 # during linking. This must work even if \$libdir does not exist.
123804 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
123806 # Whether we need a single "-rpath" flag with a separated argument.
123807 hardcode_libdir_separator=$lt_hardcode_libdir_separator
123809 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123810 # DIR into the resulting binary.
123811 hardcode_direct=$hardcode_direct
123813 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
123814 # DIR into the resulting binary and the resulting library dependency is
123815 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
123816 # library is relocated.
123817 hardcode_direct_absolute=$hardcode_direct_absolute
123819 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
123820 # into the resulting binary.
123821 hardcode_minus_L=$hardcode_minus_L
123823 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
123824 # into the resulting binary.
123825 hardcode_shlibpath_var=$hardcode_shlibpath_var
123827 # Set to "yes" if building a shared library automatically hardcodes DIR
123828 # into the library and all subsequent libraries and executables linked
123829 # against it.
123830 hardcode_automatic=$hardcode_automatic
123832 # Set to yes if linker adds runtime paths of dependent libraries
123833 # to runtime path list.
123834 inherit_rpath=$inherit_rpath
123836 # Whether libtool must link a program against all its dependency libraries.
123837 link_all_deplibs=$link_all_deplibs
123839 # Fix the shell variable \$srcfile for the compiler.
123840 fix_srcfile_path=$lt_fix_srcfile_path
123842 # Set to "yes" if exported symbols are required.
123843 always_export_symbols=$always_export_symbols
123845 # The commands to list exported symbols.
123846 export_symbols_cmds=$lt_export_symbols_cmds
123848 # Symbols that should not be listed in the preloaded symbols.
123849 exclude_expsyms=$lt_exclude_expsyms
123851 # Symbols that must always be exported.
123852 include_expsyms=$lt_include_expsyms
123854 # Commands necessary for linking programs (against libraries) with templates.
123855 prelink_cmds=$lt_prelink_cmds
123857 # Specify filename containing input files.
123858 file_list_spec=$lt_file_list_spec
123860 # How to hardcode a shared library path into an executable.
123861 hardcode_action=$hardcode_action
123863 # Dependencies to place before and after the objects being linked to
123864 # create a shared library.
123865 predep_objects=$lt_predep_objects
123866 postdep_objects=$lt_postdep_objects
123867 predeps=$lt_predeps
123868 postdeps=$lt_postdeps
123870 # The library search path used internally by the compiler when linking
123871 # a shared library.
123872 compiler_lib_search_path=$lt_compiler_lib_search_path
123874 # ### END LIBTOOL CONFIG
123876 _LT_EOF
123878 case $host_os in
123879 aix3*)
123880 cat <<\_LT_EOF >> "$cfgfile"
123881 # AIX sometimes has problems with the GCC collect2 program. For some
123882 # reason, if we set the COLLECT_NAMES environment variable, the problems
123883 # vanish in a puff of smoke.
123884 if test "X${COLLECT_NAMES+set}" != Xset; then
123885 COLLECT_NAMES=
123886 export COLLECT_NAMES
123888 _LT_EOF
123893 ltmain="$ac_aux_dir/ltmain.sh"
123896 # We use sed instead of cat because bash on DJGPP gets confused if
123897 # if finds mixed CR/LF and LF-only lines. Since sed operates in
123898 # text mode, it properly converts lines to CR/LF. This bash problem
123899 # is reportedly fixed, but why not run on old versions too?
123900 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
123901 || (rm -f "$cfgfile"; exit 1)
123903 case $xsi_shell in
123905 cat << \_LT_EOF >> "$cfgfile"
123906 # func_dirname file append nondir_replacement
123907 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123908 # otherwise set result to NONDIR_REPLACEMENT.
123909 func_dirname ()
123911 case ${1} in
123912 */*) func_dirname_result="${1%/*}${2}" ;;
123913 * ) func_dirname_result="${3}" ;;
123917 # func_basename file
123918 func_basename ()
123920 func_basename_result="${1##*/}"
123923 # func_stripname prefix suffix name
123924 # strip PREFIX and SUFFIX off of NAME.
123925 # PREFIX and SUFFIX must not contain globbing or regex special
123926 # characters, hashes, percent signs, but SUFFIX may contain a leading
123927 # dot (in which case that matches only a dot).
123928 func_stripname ()
123930 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
123931 # positional parameters, so assign one to ordinary parameter first.
123932 func_stripname_result=${3}
123933 func_stripname_result=${func_stripname_result#"${1}"}
123934 func_stripname_result=${func_stripname_result%"${2}"}
123937 # func_opt_split
123938 func_opt_split ()
123940 func_opt_split_opt=${1%%=*}
123941 func_opt_split_arg=${1#*=}
123944 # func_lo2o object
123945 func_lo2o ()
123947 case ${1} in
123948 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
123949 *) func_lo2o_result=${1} ;;
123952 _LT_EOF
123954 *) # Bourne compatible functions.
123955 cat << \_LT_EOF >> "$cfgfile"
123956 # func_dirname file append nondir_replacement
123957 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
123958 # otherwise set result to NONDIR_REPLACEMENT.
123959 func_dirname ()
123961 # Extract subdirectory from the argument.
123962 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
123963 if test "X$func_dirname_result" = "X${1}"; then
123964 func_dirname_result="${3}"
123966 func_dirname_result="$func_dirname_result${2}"
123970 # func_basename file
123971 func_basename ()
123973 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
123976 # func_stripname prefix suffix name
123977 # strip PREFIX and SUFFIX off of NAME.
123978 # PREFIX and SUFFIX must not contain globbing or regex special
123979 # characters, hashes, percent signs, but SUFFIX may contain a leading
123980 # dot (in which case that matches only a dot).
123981 # func_strip_suffix prefix name
123982 func_stripname ()
123984 case ${2} in
123985 .*) func_stripname_result=`$ECHO "X${3}" \
123986 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
123987 *) func_stripname_result=`$ECHO "X${3}" \
123988 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
123992 # sed scripts:
123993 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
123994 my_sed_long_arg='1s/^-[^=]*=//'
123996 # func_opt_split
123997 func_opt_split ()
123999 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
124000 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
124003 # func_lo2o object
124004 func_lo2o ()
124006 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
124008 _LT_EOF
124011 case $lt_shell_append in
124013 cat << \_LT_EOF >> "$cfgfile"
124015 # func_append var value
124016 # Append VALUE to the end of shell variable VAR.
124017 func_append ()
124019 eval "$1+=\$2"
124021 _LT_EOF
124024 cat << \_LT_EOF >> "$cfgfile"
124026 # func_append var value
124027 # Append VALUE to the end of shell variable VAR.
124028 func_append ()
124030 eval "$1=\$$1\$2"
124032 _LT_EOF
124037 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
124038 || (rm -f "$cfgfile"; exit 1)
124040 mv -f "$cfgfile" "$ofile" ||
124041 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
124042 chmod +x "$ofile"
124045 cat <<_LT_EOF >> "$ofile"
124047 # ### BEGIN LIBTOOL TAG CONFIG: CXX
124049 # The linker used to build libraries.
124050 LD=$lt_LD_CXX
124052 # Commands used to build an old-style archive.
124053 old_archive_cmds=$lt_old_archive_cmds_CXX
124055 # A language specific compiler.
124056 CC=$lt_compiler_CXX
124058 # Is the compiler the GNU compiler?
124059 with_gcc=$GCC_CXX
124061 # Compiler flag to turn off builtin functions.
124062 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
124064 # How to pass a linker flag through the compiler.
124065 wl=$lt_lt_prog_compiler_wl_CXX
124067 # Additional compiler flags for building library objects.
124068 pic_flag=$lt_lt_prog_compiler_pic_CXX
124070 # Compiler flag to prevent dynamic linking.
124071 link_static_flag=$lt_lt_prog_compiler_static_CXX
124073 # Does compiler simultaneously support -c and -o options?
124074 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
124076 # Whether or not to add -lc for building shared libraries.
124077 build_libtool_need_lc=$archive_cmds_need_lc_CXX
124079 # Whether or not to disallow shared libs when runtime libs are static.
124080 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
124082 # Compiler flag to allow reflexive dlopens.
124083 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
124085 # Compiler flag to generate shared objects directly from archives.
124086 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
124088 # Whether the compiler copes with passing no objects directly.
124089 compiler_needs_object=$lt_compiler_needs_object_CXX
124091 # Create an old-style archive from a shared archive.
124092 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
124094 # Create a temporary old-style archive to link instead of a shared archive.
124095 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
124097 # Commands used to build a shared archive.
124098 archive_cmds=$lt_archive_cmds_CXX
124099 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
124101 # Commands used to build a loadable module if different from building
124102 # a shared archive.
124103 module_cmds=$lt_module_cmds_CXX
124104 module_expsym_cmds=$lt_module_expsym_cmds_CXX
124106 # Whether we are building with GNU ld or not.
124107 with_gnu_ld=$lt_with_gnu_ld_CXX
124109 # Flag that allows shared libraries with undefined symbols to be built.
124110 allow_undefined_flag=$lt_allow_undefined_flag_CXX
124112 # Flag that enforces no undefined symbols.
124113 no_undefined_flag=$lt_no_undefined_flag_CXX
124115 # Flag to hardcode \$libdir into a binary during linking.
124116 # This must work even if \$libdir does not exist
124117 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
124119 # If ld is used when linking, flag to hardcode \$libdir into a binary
124120 # during linking. This must work even if \$libdir does not exist.
124121 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
124123 # Whether we need a single "-rpath" flag with a separated argument.
124124 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
124126 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
124127 # DIR into the resulting binary.
124128 hardcode_direct=$hardcode_direct_CXX
124130 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
124131 # DIR into the resulting binary and the resulting library dependency is
124132 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
124133 # library is relocated.
124134 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
124136 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
124137 # into the resulting binary.
124138 hardcode_minus_L=$hardcode_minus_L_CXX
124140 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
124141 # into the resulting binary.
124142 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
124144 # Set to "yes" if building a shared library automatically hardcodes DIR
124145 # into the library and all subsequent libraries and executables linked
124146 # against it.
124147 hardcode_automatic=$hardcode_automatic_CXX
124149 # Set to yes if linker adds runtime paths of dependent libraries
124150 # to runtime path list.
124151 inherit_rpath=$inherit_rpath_CXX
124153 # Whether libtool must link a program against all its dependency libraries.
124154 link_all_deplibs=$link_all_deplibs_CXX
124156 # Fix the shell variable \$srcfile for the compiler.
124157 fix_srcfile_path=$lt_fix_srcfile_path_CXX
124159 # Set to "yes" if exported symbols are required.
124160 always_export_symbols=$always_export_symbols_CXX
124162 # The commands to list exported symbols.
124163 export_symbols_cmds=$lt_export_symbols_cmds_CXX
124165 # Symbols that should not be listed in the preloaded symbols.
124166 exclude_expsyms=$lt_exclude_expsyms_CXX
124168 # Symbols that must always be exported.
124169 include_expsyms=$lt_include_expsyms_CXX
124171 # Commands necessary for linking programs (against libraries) with templates.
124172 prelink_cmds=$lt_prelink_cmds_CXX
124174 # Specify filename containing input files.
124175 file_list_spec=$lt_file_list_spec_CXX
124177 # How to hardcode a shared library path into an executable.
124178 hardcode_action=$hardcode_action_CXX
124180 # Dependencies to place before and after the objects being linked to
124181 # create a shared library.
124182 predep_objects=$lt_predep_objects_CXX
124183 postdep_objects=$lt_postdep_objects_CXX
124184 predeps=$lt_predeps_CXX
124185 postdeps=$lt_postdeps_CXX
124187 # The library search path used internally by the compiler when linking
124188 # a shared library.
124189 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
124191 # ### END LIBTOOL TAG CONFIG: CXX
124192 _LT_EOF
124195 include/gstdint.h )
124196 if test "$GCC" = yes; then
124197 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
124199 echo "/* generated for $CC */" > tmp-stdint.h
124202 sed 's/^ *//' >> tmp-stdint.h <<EOF
124204 #ifndef GCC_GENERATED_STDINT_H
124205 #define GCC_GENERATED_STDINT_H 1
124207 #include <sys/types.h>
124210 if test "$acx_cv_header_stdint" != stdint.h; then
124211 echo "#include <stddef.h>" >> tmp-stdint.h
124213 if test "$acx_cv_header_stdint" != stddef.h; then
124214 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
124217 sed 's/^ *//' >> tmp-stdint.h <<EOF
124218 /* glibc uses these symbols as guards to prevent redefinitions. */
124219 #ifdef __int8_t_defined
124220 #define _INT8_T
124221 #define _INT16_T
124222 #define _INT32_T
124223 #endif
124224 #ifdef __uint32_t_defined
124225 #define _UINT32_T
124226 #endif
124230 # ----------------- done header, emit basic int types -------------
124231 if test "$acx_cv_header_stdint" = stddef.h; then
124232 sed 's/^ *//' >> tmp-stdint.h <<EOF
124234 #ifndef _UINT8_T
124235 #define _UINT8_T
124236 #ifndef __uint8_t_defined
124237 #define __uint8_t_defined
124238 typedef unsigned $acx_cv_type_int8_t uint8_t;
124239 #endif
124240 #endif
124242 #ifndef _UINT16_T
124243 #define _UINT16_T
124244 #ifndef __uint16_t_defined
124245 #define __uint16_t_defined
124246 typedef unsigned $acx_cv_type_int16_t uint16_t;
124247 #endif
124248 #endif
124250 #ifndef _UINT32_T
124251 #define _UINT32_T
124252 #ifndef __uint32_t_defined
124253 #define __uint32_t_defined
124254 typedef unsigned $acx_cv_type_int32_t uint32_t;
124255 #endif
124256 #endif
124258 #ifndef _INT8_T
124259 #define _INT8_T
124260 #ifndef __int8_t_defined
124261 #define __int8_t_defined
124262 typedef $acx_cv_type_int8_t int8_t;
124263 #endif
124264 #endif
124266 #ifndef _INT16_T
124267 #define _INT16_T
124268 #ifndef __int16_t_defined
124269 #define __int16_t_defined
124270 typedef $acx_cv_type_int16_t int16_t;
124271 #endif
124272 #endif
124274 #ifndef _INT32_T
124275 #define _INT32_T
124276 #ifndef __int32_t_defined
124277 #define __int32_t_defined
124278 typedef $acx_cv_type_int32_t int32_t;
124279 #endif
124280 #endif
124282 elif test "$ac_cv_type_u_int32_t" = yes; then
124283 sed 's/^ *//' >> tmp-stdint.h <<EOF
124285 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
124286 #ifndef _INT8_T
124287 #define _INT8_T
124288 #endif
124289 #ifndef _INT16_T
124290 #define _INT16_T
124291 #endif
124292 #ifndef _INT32_T
124293 #define _INT32_T
124294 #endif
124296 #ifndef _UINT8_T
124297 #define _UINT8_T
124298 #ifndef __uint8_t_defined
124299 #define __uint8_t_defined
124300 typedef u_int8_t uint8_t;
124301 #endif
124302 #endif
124304 #ifndef _UINT16_T
124305 #define _UINT16_T
124306 #ifndef __uint16_t_defined
124307 #define __uint16_t_defined
124308 typedef u_int16_t uint16_t;
124309 #endif
124310 #endif
124312 #ifndef _UINT32_T
124313 #define _UINT32_T
124314 #ifndef __uint32_t_defined
124315 #define __uint32_t_defined
124316 typedef u_int32_t uint32_t;
124317 #endif
124318 #endif
124321 sed 's/^ *//' >> tmp-stdint.h <<EOF
124323 /* Some systems have guard macros to prevent redefinitions, define them. */
124324 #ifndef _INT8_T
124325 #define _INT8_T
124326 #endif
124327 #ifndef _INT16_T
124328 #define _INT16_T
124329 #endif
124330 #ifndef _INT32_T
124331 #define _INT32_T
124332 #endif
124333 #ifndef _UINT8_T
124334 #define _UINT8_T
124335 #endif
124336 #ifndef _UINT16_T
124337 #define _UINT16_T
124338 #endif
124339 #ifndef _UINT32_T
124340 #define _UINT32_T
124341 #endif
124345 # ------------- done basic int types, emit int64_t types ------------
124346 if test "$ac_cv_type_uint64_t" = yes; then
124347 sed 's/^ *//' >> tmp-stdint.h <<EOF
124349 /* system headers have good uint64_t and int64_t */
124350 #ifndef _INT64_T
124351 #define _INT64_T
124352 #endif
124353 #ifndef _UINT64_T
124354 #define _UINT64_T
124355 #endif
124357 elif test "$ac_cv_type_u_int64_t" = yes; then
124358 sed 's/^ *//' >> tmp-stdint.h <<EOF
124360 /* system headers have an u_int64_t (and int64_t) */
124361 #ifndef _INT64_T
124362 #define _INT64_T
124363 #endif
124364 #ifndef _UINT64_T
124365 #define _UINT64_T
124366 #ifndef __uint64_t_defined
124367 #define __uint64_t_defined
124368 typedef u_int64_t uint64_t;
124369 #endif
124370 #endif
124372 elif test -n "$acx_cv_type_int64_t"; then
124373 sed 's/^ *//' >> tmp-stdint.h <<EOF
124375 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
124376 #ifndef _INT64_T
124377 #define _INT64_T
124378 typedef $acx_cv_type_int64_t int64_t;
124379 #endif
124380 #ifndef _UINT64_T
124381 #define _UINT64_T
124382 #ifndef __uint64_t_defined
124383 #define __uint64_t_defined
124384 typedef unsigned $acx_cv_type_int64_t uint64_t;
124385 #endif
124386 #endif
124389 sed 's/^ *//' >> tmp-stdint.h <<EOF
124391 /* some common heuristics for int64_t, using compiler-specific tests */
124392 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
124393 #ifndef _INT64_T
124394 #define _INT64_T
124395 #ifndef __int64_t_defined
124396 typedef long long int64_t;
124397 #endif
124398 #endif
124399 #ifndef _UINT64_T
124400 #define _UINT64_T
124401 typedef unsigned long long uint64_t;
124402 #endif
124404 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
124405 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
124406 does not implement __extension__. But that compiler doesn't define
124407 __GNUC_MINOR__. */
124408 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
124409 # define __extension__
124410 # endif
124412 # ifndef _INT64_T
124413 # define _INT64_T
124414 __extension__ typedef long long int64_t;
124415 # endif
124416 # ifndef _UINT64_T
124417 # define _UINT64_T
124418 __extension__ typedef unsigned long long uint64_t;
124419 # endif
124421 #elif !defined __STRICT_ANSI__
124422 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
124424 # ifndef _INT64_T
124425 # define _INT64_T
124426 typedef __int64 int64_t;
124427 # endif
124428 # ifndef _UINT64_T
124429 # define _UINT64_T
124430 typedef unsigned __int64 uint64_t;
124431 # endif
124432 # endif /* compiler */
124434 #endif /* ANSI version */
124438 # ------------- done int64_t types, emit intptr types ------------
124439 if test "$ac_cv_type_uintptr_t" != yes; then
124440 sed 's/^ *//' >> tmp-stdint.h <<EOF
124442 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
124443 #ifndef __uintptr_t_defined
124444 typedef u$acx_cv_type_intptr_t uintptr_t;
124445 #endif
124446 #ifndef __intptr_t_defined
124447 typedef $acx_cv_type_intptr_t intptr_t;
124448 #endif
124452 # ------------- done intptr types, emit int_least types ------------
124453 if test "$ac_cv_type_int_least32_t" != yes; then
124454 sed 's/^ *//' >> tmp-stdint.h <<EOF
124456 /* Define int_least types */
124457 typedef int8_t int_least8_t;
124458 typedef int16_t int_least16_t;
124459 typedef int32_t int_least32_t;
124460 #ifdef _INT64_T
124461 typedef int64_t int_least64_t;
124462 #endif
124464 typedef uint8_t uint_least8_t;
124465 typedef uint16_t uint_least16_t;
124466 typedef uint32_t uint_least32_t;
124467 #ifdef _UINT64_T
124468 typedef uint64_t uint_least64_t;
124469 #endif
124473 # ------------- done intptr types, emit int_fast types ------------
124474 if test "$ac_cv_type_int_fast32_t" != yes; then
124475 sed 's/^ *//' >> tmp-stdint.h <<EOF
124477 /* Define int_fast types. short is often slow */
124478 typedef int8_t int_fast8_t;
124479 typedef int int_fast16_t;
124480 typedef int32_t int_fast32_t;
124481 #ifdef _INT64_T
124482 typedef int64_t int_fast64_t;
124483 #endif
124485 typedef uint8_t uint_fast8_t;
124486 typedef unsigned int uint_fast16_t;
124487 typedef uint32_t uint_fast32_t;
124488 #ifdef _UINT64_T
124489 typedef uint64_t uint_fast64_t;
124490 #endif
124494 if test "$ac_cv_type_uintmax_t" != yes; then
124495 sed 's/^ *//' >> tmp-stdint.h <<EOF
124497 /* Define intmax based on what we found */
124498 #ifdef _INT64_T
124499 typedef int64_t intmax_t;
124500 #else
124501 typedef long intmax_t;
124502 #endif
124503 #ifdef _UINT64_T
124504 typedef uint64_t uintmax_t;
124505 #else
124506 typedef unsigned long uintmax_t;
124507 #endif
124511 sed 's/^ *//' >> tmp-stdint.h <<EOF
124513 #endif /* GCC_GENERATED_STDINT_H */
124516 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
124517 rm -f tmp-stdint.h
124519 mv -f tmp-stdint.h include/gstdint.h
124523 default ) if test -n "$CONFIG_FILES"; then
124524 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
124525 # that multilib installs will end up installed in the correct place.
124526 # The testsuite needs it for multilib-aware ABI baseline files.
124527 # To work around this not being passed down from config-ml.in ->
124528 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
124529 # append it here. Only modify Makefiles that have just been created.
124531 # Also, get rid of this simulated-VPATH thing that automake does.
124532 cat > vpsed << \_EOF
124533 s!`test -f '$<' || echo '$(srcdir)/'`!!
124535 for i in $SUBDIRS; do
124536 case $CONFIG_FILES in
124537 *${i}/Makefile*)
124538 #echo "Adding MULTISUBDIR to $i/Makefile"
124539 sed -f vpsed $i/Makefile > tmp
124540 grep '^MULTISUBDIR =' Makefile >> tmp
124541 mv tmp $i/Makefile
124545 rm vpsed
124547 (cd include && ${MAKE-make})
124551 _ACEOF
124553 cat >>$CONFIG_STATUS <<\_ACEOF
124555 { (exit 0); exit 0; }
124556 _ACEOF
124557 chmod +x $CONFIG_STATUS
124558 ac_clean_files=$ac_clean_files_save
124561 # configure is writing to config.log, and then calls config.status.
124562 # config.status does its own redirection, appending to config.log.
124563 # Unfortunately, on DOS this fails, as config.log is still kept open
124564 # by configure, so config.status won't be able to write to it; its
124565 # output is simply discarded. So we exec the FD to /dev/null,
124566 # effectively closing config.log, so it can be properly (re)opened and
124567 # appended to by config.status. When coming back to configure, we
124568 # need to make the FD available again.
124569 if test "$no_create" != yes; then
124570 ac_cs_success=:
124571 ac_config_status_args=
124572 test "$silent" = yes &&
124573 ac_config_status_args="$ac_config_status_args --quiet"
124574 exec 5>/dev/null
124575 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
124576 exec 5>>config.log
124577 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
124578 # would make configure fail if this is the last instruction.
124579 $ac_cs_success || { (exit 1); exit 1; }