Add TARGET_SINGLE_FLOAT check.
[official-gcc.git] / libstdc++-v3 / configure
blob98429fb719b0f8a7391ced2f6015b11efcae53a6
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 OBJDUMP ac_ct_OBJDUMP lt_ECHO DSYMUTIL ac_ct_DSYMUTIL NMEDIT ac_ct_NMEDIT LIPO ac_ct_LIPO OTOOL ac_ct_OTOOL OTOOL64 ac_ct_OTOOL64 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 GLIBCXX_LIBS SECTION_LDFLAGS OPT_LDFLAGS 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-libstdcxx-time=KIND
1056 use KIND for check type [default=no]
1057 --enable-tls Use thread-local storage [default=yes]
1058 --disable-rpath do not hardcode runtime library paths
1059 --enable-linux-futex use the Linux futex system call
1060 [default=default]
1061 --enable-symvers=STYLE enables symbol versioning of the shared library
1062 [default=yes]
1063 --enable-visibility enables visibility safe usage [default=yes]
1064 --enable-version-specific-runtime-libs
1065 Specify that runtime libraries should be installed
1066 in a compiler-specific directory
1068 Optional Packages:
1069 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1070 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1071 --with-target-subdir=SUBDIR
1072 configuring in a subdirectory
1073 --with-cross-host=HOST configuring with a cross compiler
1074 --with-newlib assume newlib as a system C library
1075 --with-pic try to use only PIC/non-PIC objects [default=use
1076 both]
1077 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1078 --with-gnu-ld assume the C compiler uses GNU ld default=no
1079 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1080 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1081 --with-system-libunwind use installed libunwind
1082 --with-gxx-include-dir=DIR
1083 installation directory for include files
1085 Some influential environment variables:
1086 CC C compiler command
1087 CFLAGS C compiler flags
1088 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1089 nonstandard directory <lib dir>
1090 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
1091 headers in a nonstandard directory <include dir>
1092 CXX C++ compiler command
1093 CXXFLAGS C++ compiler flags
1094 CPP C preprocessor
1095 CXXCPP C++ preprocessor
1097 Use these variables to override the choices made by `configure' or to help
1098 it to find libraries and programs with nonstandard names/locations.
1100 _ACEOF
1103 if test "$ac_init_help" = "recursive"; then
1104 # If there are subdirs, report their specific --help.
1105 ac_popdir=`pwd`
1106 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1107 test -d $ac_dir || continue
1108 ac_builddir=.
1110 if test "$ac_dir" != .; then
1111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1112 # A "../" for each directory in $ac_dir_suffix.
1113 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
1114 else
1115 ac_dir_suffix= ac_top_builddir=
1118 case $srcdir in
1119 .) # No --srcdir option. We are building in place.
1120 ac_srcdir=.
1121 if test -z "$ac_top_builddir"; then
1122 ac_top_srcdir=.
1123 else
1124 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
1125 fi ;;
1126 [\\/]* | ?:[\\/]* ) # Absolute path.
1127 ac_srcdir=$srcdir$ac_dir_suffix;
1128 ac_top_srcdir=$srcdir ;;
1129 *) # Relative path.
1130 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
1131 ac_top_srcdir=$ac_top_builddir$srcdir ;;
1132 esac
1134 # Do not use `cd foo && pwd` to compute absolute paths, because
1135 # the directories may not exist.
1136 case `pwd` in
1137 .) ac_abs_builddir="$ac_dir";;
1139 case "$ac_dir" in
1140 .) ac_abs_builddir=`pwd`;;
1141 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
1142 *) ac_abs_builddir=`pwd`/"$ac_dir";;
1143 esac;;
1144 esac
1145 case $ac_abs_builddir in
1146 .) ac_abs_top_builddir=${ac_top_builddir}.;;
1148 case ${ac_top_builddir}. in
1149 .) ac_abs_top_builddir=$ac_abs_builddir;;
1150 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
1151 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
1152 esac;;
1153 esac
1154 case $ac_abs_builddir in
1155 .) ac_abs_srcdir=$ac_srcdir;;
1157 case $ac_srcdir in
1158 .) ac_abs_srcdir=$ac_abs_builddir;;
1159 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
1160 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
1161 esac;;
1162 esac
1163 case $ac_abs_builddir in
1164 .) ac_abs_top_srcdir=$ac_top_srcdir;;
1166 case $ac_top_srcdir in
1167 .) ac_abs_top_srcdir=$ac_abs_builddir;;
1168 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
1169 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
1170 esac;;
1171 esac
1173 cd $ac_dir
1174 # Check for guested configure; otherwise get Cygnus style configure.
1175 if test -f $ac_srcdir/configure.gnu; then
1176 echo
1177 $SHELL $ac_srcdir/configure.gnu --help=recursive
1178 elif test -f $ac_srcdir/configure; then
1179 echo
1180 $SHELL $ac_srcdir/configure --help=recursive
1181 elif test -f $ac_srcdir/configure.ac ||
1182 test -f $ac_srcdir/configure.in; then
1183 echo
1184 $ac_configure --help
1185 else
1186 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1188 cd $ac_popdir
1189 done
1192 test -n "$ac_init_help" && exit 0
1193 if $ac_init_version; then
1194 cat <<\_ACEOF
1195 package-unused configure version-unused
1196 generated by GNU Autoconf 2.59
1198 Copyright (C) 2003 Free Software Foundation, Inc.
1199 This configure script is free software; the Free Software Foundation
1200 gives unlimited permission to copy, distribute and modify it.
1201 _ACEOF
1202 exit 0
1204 exec 5>config.log
1205 cat >&5 <<_ACEOF
1206 This file contains any messages produced by compilers while
1207 running configure, to aid debugging if configure makes a mistake.
1209 It was created by package-unused $as_me version-unused, which was
1210 generated by GNU Autoconf 2.59. Invocation command line was
1212 $ $0 $@
1214 _ACEOF
1216 cat <<_ASUNAME
1217 ## --------- ##
1218 ## Platform. ##
1219 ## --------- ##
1221 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1222 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1223 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1224 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1225 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1227 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1228 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1230 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1231 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1232 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1233 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1234 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1235 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1236 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1238 _ASUNAME
1240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1241 for as_dir in $PATH
1243 IFS=$as_save_IFS
1244 test -z "$as_dir" && as_dir=.
1245 echo "PATH: $as_dir"
1246 done
1248 } >&5
1250 cat >&5 <<_ACEOF
1253 ## ----------- ##
1254 ## Core tests. ##
1255 ## ----------- ##
1257 _ACEOF
1260 # Keep a trace of the command line.
1261 # Strip out --no-create and --no-recursion so they do not pile up.
1262 # Strip out --silent because we don't want to record it for future runs.
1263 # Also quote any args containing shell meta-characters.
1264 # Make two passes to allow for proper duplicate-argument suppression.
1265 ac_configure_args=
1266 ac_configure_args0=
1267 ac_configure_args1=
1268 ac_sep=
1269 ac_must_keep_next=false
1270 for ac_pass in 1 2
1272 for ac_arg
1274 case $ac_arg in
1275 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1276 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1277 | -silent | --silent | --silen | --sile | --sil)
1278 continue ;;
1279 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1280 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1281 esac
1282 case $ac_pass in
1283 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1285 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1286 if test $ac_must_keep_next = true; then
1287 ac_must_keep_next=false # Got value, back to normal.
1288 else
1289 case $ac_arg in
1290 *=* | --config-cache | -C | -disable-* | --disable-* \
1291 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1292 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1293 | -with-* | --with-* | -without-* | --without-* | --x)
1294 case "$ac_configure_args0 " in
1295 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1296 esac
1298 -* ) ac_must_keep_next=true ;;
1299 esac
1301 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1302 # Get rid of the leading space.
1303 ac_sep=" "
1305 esac
1306 done
1307 done
1308 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1309 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1311 # When interrupted or exit'd, cleanup temporary files, and complete
1312 # config.log. We remove comments because anyway the quotes in there
1313 # would cause problems or look ugly.
1314 # WARNING: Be sure not to use single quotes in there, as some shells,
1315 # such as our DU 5.0 friend, will then `close' the trap.
1316 trap 'exit_status=$?
1317 # Save into config.log some information that might help in debugging.
1319 echo
1321 cat <<\_ASBOX
1322 ## ---------------- ##
1323 ## Cache variables. ##
1324 ## ---------------- ##
1325 _ASBOX
1326 echo
1327 # The following way of writing the cache mishandles newlines in values,
1329 (set) 2>&1 |
1330 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1331 *ac_space=\ *)
1332 sed -n \
1333 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1334 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1337 sed -n \
1338 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1340 esac;
1342 echo
1344 cat <<\_ASBOX
1345 ## ----------------- ##
1346 ## Output variables. ##
1347 ## ----------------- ##
1348 _ASBOX
1349 echo
1350 for ac_var in $ac_subst_vars
1352 eval ac_val=$`echo $ac_var`
1353 echo "$ac_var='"'"'$ac_val'"'"'"
1354 done | sort
1355 echo
1357 if test -n "$ac_subst_files"; then
1358 cat <<\_ASBOX
1359 ## ------------- ##
1360 ## Output files. ##
1361 ## ------------- ##
1362 _ASBOX
1363 echo
1364 for ac_var in $ac_subst_files
1366 eval ac_val=$`echo $ac_var`
1367 echo "$ac_var='"'"'$ac_val'"'"'"
1368 done | sort
1369 echo
1372 if test -s confdefs.h; then
1373 cat <<\_ASBOX
1374 ## ----------- ##
1375 ## confdefs.h. ##
1376 ## ----------- ##
1377 _ASBOX
1378 echo
1379 sed "/^$/d" confdefs.h | sort
1380 echo
1382 test "$ac_signal" != 0 &&
1383 echo "$as_me: caught signal $ac_signal"
1384 echo "$as_me: exit $exit_status"
1385 } >&5
1386 rm -f core *.core &&
1387 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1388 exit $exit_status
1390 for ac_signal in 1 2 13 15; do
1391 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1392 done
1393 ac_signal=0
1395 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1396 rm -rf conftest* confdefs.h
1397 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1398 echo >confdefs.h
1400 # Predefined preprocessor variables.
1402 cat >>confdefs.h <<_ACEOF
1403 #define PACKAGE_NAME "$PACKAGE_NAME"
1404 _ACEOF
1407 cat >>confdefs.h <<_ACEOF
1408 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1409 _ACEOF
1412 cat >>confdefs.h <<_ACEOF
1413 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1414 _ACEOF
1417 cat >>confdefs.h <<_ACEOF
1418 #define PACKAGE_STRING "$PACKAGE_STRING"
1419 _ACEOF
1422 cat >>confdefs.h <<_ACEOF
1423 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1424 _ACEOF
1427 # Let the site file select an alternate cache file if it wants to.
1428 # Prefer explicitly selected file to automatically selected ones.
1429 if test -z "$CONFIG_SITE"; then
1430 if test "x$prefix" != xNONE; then
1431 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1432 else
1433 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1436 for ac_site_file in $CONFIG_SITE; do
1437 if test -r "$ac_site_file"; then
1438 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1439 echo "$as_me: loading site script $ac_site_file" >&6;}
1440 sed 's/^/| /' "$ac_site_file" >&5
1441 . "$ac_site_file"
1443 done
1445 if test -r "$cache_file"; then
1446 # Some versions of bash will fail to source /dev/null (special
1447 # files actually), so we avoid doing that.
1448 if test -f "$cache_file"; then
1449 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1450 echo "$as_me: loading cache $cache_file" >&6;}
1451 case $cache_file in
1452 [\\/]* | ?:[\\/]* ) . $cache_file;;
1453 *) . ./$cache_file;;
1454 esac
1456 else
1457 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1458 echo "$as_me: creating cache $cache_file" >&6;}
1459 >$cache_file
1462 # Check that the precious variables saved in the cache have kept the same
1463 # value.
1464 ac_cache_corrupted=false
1465 for ac_var in `(set) 2>&1 |
1466 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1467 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1468 eval ac_new_set=\$ac_env_${ac_var}_set
1469 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1470 eval ac_new_val="\$ac_env_${ac_var}_value"
1471 case $ac_old_set,$ac_new_set in
1472 set,)
1473 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1474 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1475 ac_cache_corrupted=: ;;
1476 ,set)
1477 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1478 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1479 ac_cache_corrupted=: ;;
1480 ,);;
1482 if test "x$ac_old_val" != "x$ac_new_val"; then
1483 # differences in whitespace do not lead to failure.
1484 ac_old_val_w=`echo x $ac_old_val`
1485 ac_new_val_w=`echo x $ac_new_val`
1486 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1487 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1488 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1489 ac_cache_corrupted=:
1490 else
1491 { echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1492 echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1493 eval $ac_var=\$ac_old_val
1495 { echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
1496 echo "$as_me: former value: \`$ac_old_val'" >&2;}
1497 { echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
1498 echo "$as_me: current value: \`$ac_new_val'" >&2;}
1499 fi;;
1500 esac
1501 # Pass precious variables to config.status.
1502 if test "$ac_new_set" = set; then
1503 case $ac_new_val in
1504 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1505 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1506 *) ac_arg=$ac_var=$ac_new_val ;;
1507 esac
1508 case " $ac_configure_args " in
1509 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1510 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1511 esac
1513 done
1514 if $ac_cache_corrupted; then
1515 { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
1516 echo "$as_me: error: in \`$ac_pwd':" >&2;}
1517 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1518 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1519 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1520 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1521 { (exit 1); exit 1; }; }
1524 ac_ext=c
1525 ac_cpp='$CPP $CPPFLAGS'
1526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1560 ac_config_headers="$ac_config_headers config.h"
1563 # This works around the fact that libtool configuration may change LD
1564 # for this particular configuration, but some shells, instead of
1565 # keeping the changes in LD private, export them just because LD is
1566 # exported. Only used at the end of this file.
1567 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
1569 # For libtool versioning info, format is CURRENT:REVISION:AGE
1570 libtool_VERSION=6:11:0
1573 # Find the rest of the source tree framework.
1574 # Default to --enable-multilib
1575 # Check whether --enable-multilib or --disable-multilib was given.
1576 if test "${enable_multilib+set}" = set; then
1577 enableval="$enable_multilib"
1578 case "$enableval" in
1579 yes) multilib=yes ;;
1580 no) multilib=no ;;
1581 *) { { echo "$as_me:$LINENO: error: bad value $enableval for multilib option" >&5
1582 echo "$as_me: error: bad value $enableval for multilib option" >&2;}
1583 { (exit 1); exit 1; }; } ;;
1584 esac
1585 else
1586 multilib=yes
1589 # We may get other options which we leave undocumented:
1590 # --with-target-subdir, --with-multisrctop, --with-multisubdir
1591 # See config-ml.in if you want the gory details.
1593 if test "$srcdir" = "."; then
1594 if test "$with_target_subdir" != "."; then
1595 multi_basedir="$srcdir/$with_multisrctop../.."
1596 else
1597 multi_basedir="$srcdir/$with_multisrctop.."
1599 else
1600 multi_basedir="$srcdir/.."
1604 # Even if the default multilib is not a cross compilation,
1605 # it may be that some of the other multilibs are.
1606 if test $cross_compiling = no && test $multilib = yes \
1607 && test "x${with_multisubdir}" != x ; then
1608 cross_compiling=maybe
1611 ac_config_commands="$ac_config_commands default-1"
1614 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
1616 # You will slowly go insane if you do not grok the following fact: when
1617 # building v3 as part of the compiler, the top-level /target/ becomes the
1618 # library's /host/. configure then causes --target to default to --host,
1619 # exactly like any other package using autoconf. Therefore, 'target' and
1620 # 'host' will always be the same. This makes sense both for native and
1621 # cross compilers, just think about it for a little while. :-)
1623 # Also, if v3 is being configured as part of a cross compiler, the top-level
1624 # configure script will pass the "real" host as $with_cross_host.
1626 # Do not delete or change the following two lines. For why, see
1627 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
1628 ac_aux_dir=
1629 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1630 if test -f $ac_dir/install-sh; then
1631 ac_aux_dir=$ac_dir
1632 ac_install_sh="$ac_aux_dir/install-sh -c"
1633 break
1634 elif test -f $ac_dir/install.sh; then
1635 ac_aux_dir=$ac_dir
1636 ac_install_sh="$ac_aux_dir/install.sh -c"
1637 break
1638 elif test -f $ac_dir/shtool; then
1639 ac_aux_dir=$ac_dir
1640 ac_install_sh="$ac_aux_dir/shtool install -c"
1641 break
1643 done
1644 if test -z "$ac_aux_dir"; then
1645 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1646 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1647 { (exit 1); exit 1; }; }
1649 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1650 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1651 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1653 # Make sure we can run config.sub.
1654 $ac_config_sub sun4 >/dev/null 2>&1 ||
1655 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
1656 echo "$as_me: error: cannot run $ac_config_sub" >&2;}
1657 { (exit 1); exit 1; }; }
1659 echo "$as_me:$LINENO: checking build system type" >&5
1660 echo $ECHO_N "checking build system type... $ECHO_C" >&6
1661 if test "${ac_cv_build+set}" = set; then
1662 echo $ECHO_N "(cached) $ECHO_C" >&6
1663 else
1664 ac_cv_build_alias=$build_alias
1665 test -z "$ac_cv_build_alias" &&
1666 ac_cv_build_alias=`$ac_config_guess`
1667 test -z "$ac_cv_build_alias" &&
1668 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1669 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1670 { (exit 1); exit 1; }; }
1671 ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
1672 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
1673 echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
1674 { (exit 1); exit 1; }; }
1677 echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1678 echo "${ECHO_T}$ac_cv_build" >&6
1679 build=$ac_cv_build
1680 build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1681 build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1682 build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1685 echo "$as_me:$LINENO: checking host system type" >&5
1686 echo $ECHO_N "checking host system type... $ECHO_C" >&6
1687 if test "${ac_cv_host+set}" = set; then
1688 echo $ECHO_N "(cached) $ECHO_C" >&6
1689 else
1690 ac_cv_host_alias=$host_alias
1691 test -z "$ac_cv_host_alias" &&
1692 ac_cv_host_alias=$ac_cv_build_alias
1693 ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
1694 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
1695 echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
1696 { (exit 1); exit 1; }; }
1699 echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1700 echo "${ECHO_T}$ac_cv_host" >&6
1701 host=$ac_cv_host
1702 host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1703 host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1704 host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1707 echo "$as_me:$LINENO: checking target system type" >&5
1708 echo $ECHO_N "checking target system type... $ECHO_C" >&6
1709 if test "${ac_cv_target+set}" = set; then
1710 echo $ECHO_N "(cached) $ECHO_C" >&6
1711 else
1712 ac_cv_target_alias=$target_alias
1713 test "x$ac_cv_target_alias" = "x" &&
1714 ac_cv_target_alias=$ac_cv_host_alias
1715 ac_cv_target=`$ac_config_sub $ac_cv_target_alias` ||
1716 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_target_alias failed" >&5
1717 echo "$as_me: error: $ac_config_sub $ac_cv_target_alias failed" >&2;}
1718 { (exit 1); exit 1; }; }
1721 echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1722 echo "${ECHO_T}$ac_cv_target" >&6
1723 target=$ac_cv_target
1724 target_cpu=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1725 target_vendor=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1726 target_os=`echo $ac_cv_target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1729 # The aliases save the names the user supplied, while $host etc.
1730 # will get canonicalized.
1731 test -n "$target_alias" &&
1732 test "$program_prefix$program_suffix$program_transform_name" = \
1733 NONENONEs,x,x, &&
1734 program_prefix=${target_alias}-
1735 target_alias=${target_alias-$host_alias}
1737 # Handy for debugging:
1738 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
1740 if test "$build" != "$host"; then
1741 # We are being configured with some form of cross compiler.
1742 GLIBCXX_IS_NATIVE=false
1743 case "$host","$target" in
1744 # Darwin crosses can use the host system's libraries and headers,
1745 # because of the fat library support. Of course, it must be the
1746 # same version of Darwin on both sides. Allow the user to
1747 # just say --target=foo-darwin without a version number to mean
1748 # "the version on this system".
1749 *-*-darwin*,*-*-darwin*)
1750 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
1751 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
1752 if test $hostos = $targetos -o $targetos = darwin ; then
1753 GLIBCXX_IS_NATIVE=true
1760 esac
1761 else
1762 GLIBCXX_IS_NATIVE=true
1765 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
1766 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
1767 # 1.x: minimum required version
1768 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
1769 # of other PACKAGE_* variables will, however, and there's nothing
1770 # we can do about that; they come from AC_INIT).
1771 # foreign: we don't follow the normal rules for GNU packages (no COPYING
1772 # file in the top srcdir, etc, etc), so stop complaining.
1773 # no-dependencies: turns off auto dependency generation (just for now)
1774 # -Wall: turns on all automake warnings...
1775 # -Wno-portability: ...except this one, since GNU make is now required.
1776 am__api_version="1.9"
1777 # Find a good install program. We prefer a C program (faster),
1778 # so one script is as good as another. But avoid the broken or
1779 # incompatible versions:
1780 # SysV /etc/install, /usr/sbin/install
1781 # SunOS /usr/etc/install
1782 # IRIX /sbin/install
1783 # AIX /bin/install
1784 # AmigaOS /C/install, which installs bootblocks on floppy discs
1785 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1786 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1787 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1788 # OS/2's system install, which has a completely different semantic
1789 # ./install, which can be erroneously created by make from ./install.sh.
1790 # Reject install programs that cannot install multiple files.
1791 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1792 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1793 if test -z "$INSTALL"; then
1794 if test "${ac_cv_path_install+set}" = set; then
1795 echo $ECHO_N "(cached) $ECHO_C" >&6
1796 else
1797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1798 for as_dir in $PATH
1800 IFS=$as_save_IFS
1801 test -z "$as_dir" && as_dir=.
1802 # Account for people who put trailing slashes in PATH elements.
1803 case $as_dir/ in
1804 ./ | .// | /cC/* | \
1805 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1806 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1807 /usr/ucb/* ) ;;
1809 # OSF1 and SCO ODT 3.0 have their own names for install.
1810 # Don't use installbsd from OSF since it installs stuff as root
1811 # by default.
1812 for ac_prog in ginstall scoinst install; do
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1815 if test $ac_prog = install &&
1816 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # AIX install. It has an incompatible calling convention.
1819 elif test $ac_prog = install &&
1820 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1821 # program-specific install script used by HP pwplus--don't use.
1823 else
1824 rm -rf conftest.one conftest.two conftest.dir
1825 echo one > conftest.one
1826 echo two > conftest.two
1827 mkdir conftest.dir
1828 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1829 test -s conftest.one && test -s conftest.two &&
1830 test -s conftest.dir/conftest.one &&
1831 test -s conftest.dir/conftest.two
1832 then
1833 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1834 break 3
1838 done
1839 done
1841 esac
1842 done
1844 rm -rf conftest.one conftest.two conftest.dir
1847 if test "${ac_cv_path_install+set}" = set; then
1848 INSTALL=$ac_cv_path_install
1849 else
1850 # As a last resort, use the slow shell script. Don't cache a
1851 # value for INSTALL within a source directory, because that will
1852 # break other packages using the cache if that directory is
1853 # removed, or if the value is a relative name.
1854 INSTALL=$ac_install_sh
1857 echo "$as_me:$LINENO: result: $INSTALL" >&5
1858 echo "${ECHO_T}$INSTALL" >&6
1860 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1861 # It thinks the first close brace ends the variable substitution.
1862 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1864 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1866 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1868 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1869 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1870 # Just in case
1871 sleep 1
1872 echo timestamp > conftest.file
1873 # Do `set' in a subshell so we don't clobber the current shell's
1874 # arguments. Must try -L first in case configure is actually a
1875 # symlink; some systems play weird games with the mod time of symlinks
1876 # (eg FreeBSD returns the mod time of the symlink's containing
1877 # directory).
1878 if (
1879 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1880 if test "$*" = "X"; then
1881 # -L didn't work.
1882 set X `ls -t $srcdir/configure conftest.file`
1884 rm -f conftest.file
1885 if test "$*" != "X $srcdir/configure conftest.file" \
1886 && test "$*" != "X conftest.file $srcdir/configure"; then
1888 # If neither matched, then we have a broken ls. This can happen
1889 # if, for instance, CONFIG_SHELL is bash and it inherits a
1890 # broken ls alias from the environment. This has actually
1891 # happened. Such a system could not be considered "sane".
1892 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1893 alias in your environment" >&5
1894 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1895 alias in your environment" >&2;}
1896 { (exit 1); exit 1; }; }
1899 test "$2" = conftest.file
1901 then
1902 # Ok.
1904 else
1905 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1906 Check your system clock" >&5
1907 echo "$as_me: error: newly created file is older than distributed files!
1908 Check your system clock" >&2;}
1909 { (exit 1); exit 1; }; }
1911 echo "$as_me:$LINENO: result: yes" >&5
1912 echo "${ECHO_T}yes" >&6
1913 test "$program_prefix" != NONE &&
1914 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1915 # Use a double $ so make ignores it.
1916 test "$program_suffix" != NONE &&
1917 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1918 # Double any \ or $. echo might interpret backslashes.
1919 # By default was `s,x,x', remove it if useless.
1920 cat <<\_ACEOF >conftest.sed
1921 s/[\\$]/&&/g;s/;s,x,x,$//
1922 _ACEOF
1923 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1924 rm conftest.sed
1926 # expand $ac_aux_dir to an absolute path
1927 am_aux_dir=`cd $ac_aux_dir && pwd`
1929 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1930 # Use eval to expand $SHELL
1931 if eval "$MISSING --run true"; then
1932 am_missing_run="$MISSING --run "
1933 else
1934 am_missing_run=
1935 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1936 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1939 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1940 # We used to keeping the `.' as first argument, in order to
1941 # allow $(mkdir_p) to be used without argument. As in
1942 # $(mkdir_p) $(somedir)
1943 # where $(somedir) is conditionally defined. However this is wrong
1944 # for two reasons:
1945 # 1. if the package is installed by a user who cannot write `.'
1946 # make install will fail,
1947 # 2. the above comment should most certainly read
1948 # $(mkdir_p) $(DESTDIR)$(somedir)
1949 # so it does not work when $(somedir) is undefined and
1950 # $(DESTDIR) is not.
1951 # To support the latter case, we have to write
1952 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1953 # so the `.' trick is pointless.
1954 mkdir_p='mkdir -p --'
1955 else
1956 # On NextStep and OpenStep, the `mkdir' command does not
1957 # recognize any option. It will interpret all options as
1958 # directories to create, and then abort because `.' already
1959 # exists.
1960 for d in ./-p ./--version;
1962 test -d $d && rmdir $d
1963 done
1964 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1965 if test -f "$ac_aux_dir/mkinstalldirs"; then
1966 mkdir_p='$(mkinstalldirs)'
1967 else
1968 mkdir_p='$(install_sh) -d'
1972 for ac_prog in gawk mawk nawk awk
1974 # Extract the first word of "$ac_prog", so it can be a program name with args.
1975 set dummy $ac_prog; ac_word=$2
1976 echo "$as_me:$LINENO: checking for $ac_word" >&5
1977 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978 if test "${ac_cv_prog_AWK+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980 else
1981 if test -n "$AWK"; then
1982 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1983 else
1984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985 for as_dir in $PATH
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_AWK="$ac_prog"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1995 done
1996 done
2000 AWK=$ac_cv_prog_AWK
2001 if test -n "$AWK"; then
2002 echo "$as_me:$LINENO: result: $AWK" >&5
2003 echo "${ECHO_T}$AWK" >&6
2004 else
2005 echo "$as_me:$LINENO: result: no" >&5
2006 echo "${ECHO_T}no" >&6
2009 test -n "$AWK" && break
2010 done
2012 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2013 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
2014 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
2015 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
2016 echo $ECHO_N "(cached) $ECHO_C" >&6
2017 else
2018 cat >conftest.make <<\_ACEOF
2019 all:
2020 @echo 'ac_maketemp="$(MAKE)"'
2021 _ACEOF
2022 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2023 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
2024 if test -n "$ac_maketemp"; then
2025 eval ac_cv_prog_make_${ac_make}_set=yes
2026 else
2027 eval ac_cv_prog_make_${ac_make}_set=no
2029 rm -f conftest.make
2031 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
2032 echo "$as_me:$LINENO: result: yes" >&5
2033 echo "${ECHO_T}yes" >&6
2034 SET_MAKE=
2035 else
2036 echo "$as_me:$LINENO: result: no" >&5
2037 echo "${ECHO_T}no" >&6
2038 SET_MAKE="MAKE=${MAKE-make}"
2041 rm -rf .tst 2>/dev/null
2042 mkdir .tst 2>/dev/null
2043 if test -d .tst; then
2044 am__leading_dot=.
2045 else
2046 am__leading_dot=_
2048 rmdir .tst 2>/dev/null
2050 # test to see if srcdir already configured
2051 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2052 test -f $srcdir/config.status; then
2053 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2054 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2055 { (exit 1); exit 1; }; }
2058 # test whether we have cygpath
2059 if test -z "$CYGPATH_W"; then
2060 if (cygpath --version) >/dev/null 2>/dev/null; then
2061 CYGPATH_W='cygpath -w'
2062 else
2063 CYGPATH_W=echo
2068 # Define the identity of the package.
2069 PACKAGE='libstdc++'
2070 VERSION='version-unused'
2073 # Some tools Automake needs.
2075 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2078 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2081 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2084 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2087 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2089 install_sh=${install_sh-"$am_aux_dir/install-sh"}
2091 # Installed binaries are usually stripped using `strip' when the user
2092 # run `make install-strip'. However `strip' might not be the right
2093 # tool to use in cross-compilation environments, therefore Automake
2094 # will honor the `STRIP' environment variable to overrule this program.
2095 if test "$cross_compiling" != no; then
2096 if test -n "$ac_tool_prefix"; then
2097 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2098 set dummy ${ac_tool_prefix}strip; ac_word=$2
2099 echo "$as_me:$LINENO: checking for $ac_word" >&5
2100 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2101 if test "${ac_cv_prog_STRIP+set}" = set; then
2102 echo $ECHO_N "(cached) $ECHO_C" >&6
2103 else
2104 if test -n "$STRIP"; then
2105 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2106 else
2107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2108 for as_dir in $PATH
2110 IFS=$as_save_IFS
2111 test -z "$as_dir" && as_dir=.
2112 for ac_exec_ext in '' $ac_executable_extensions; do
2113 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2114 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2115 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2116 break 2
2118 done
2119 done
2123 STRIP=$ac_cv_prog_STRIP
2124 if test -n "$STRIP"; then
2125 echo "$as_me:$LINENO: result: $STRIP" >&5
2126 echo "${ECHO_T}$STRIP" >&6
2127 else
2128 echo "$as_me:$LINENO: result: no" >&5
2129 echo "${ECHO_T}no" >&6
2133 if test -z "$ac_cv_prog_STRIP"; then
2134 ac_ct_STRIP=$STRIP
2135 # Extract the first word of "strip", so it can be a program name with args.
2136 set dummy strip; ac_word=$2
2137 echo "$as_me:$LINENO: checking for $ac_word" >&5
2138 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2139 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2140 echo $ECHO_N "(cached) $ECHO_C" >&6
2141 else
2142 if test -n "$ac_ct_STRIP"; then
2143 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2144 else
2145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 for as_dir in $PATH
2148 IFS=$as_save_IFS
2149 test -z "$as_dir" && as_dir=.
2150 for ac_exec_ext in '' $ac_executable_extensions; do
2151 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2152 ac_cv_prog_ac_ct_STRIP="strip"
2153 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2154 break 2
2156 done
2157 done
2159 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
2162 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2163 if test -n "$ac_ct_STRIP"; then
2164 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2165 echo "${ECHO_T}$ac_ct_STRIP" >&6
2166 else
2167 echo "$as_me:$LINENO: result: no" >&5
2168 echo "${ECHO_T}no" >&6
2171 STRIP=$ac_ct_STRIP
2172 else
2173 STRIP="$ac_cv_prog_STRIP"
2177 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2179 # We need awk for the "check" target. The system "awk" is bad on
2180 # some platforms.
2181 # Always define AMTAR for backward compatibility.
2183 AMTAR=${AMTAR-"${am_missing_run}tar"}
2185 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2196 # Runs configure.host, finds CC, CXX, and assorted other critical bits. Sets
2197 # up critical shell variables.
2199 ac_ext=c
2200 ac_cpp='$CPP $CPPFLAGS'
2201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2204 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2205 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
2206 # On Suns, sometimes $CPP names a directory.
2207 if test -n "$CPP" && test -d "$CPP"; then
2208 CPP=
2210 if test -z "$CPP"; then
2211 if test "${ac_cv_prog_CPP+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2213 else
2214 # Double quotes because CPP needs to be expanded
2215 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2217 ac_preproc_ok=false
2218 for ac_c_preproc_warn_flag in '' yes
2220 # Use a header file that comes with gcc, so configuring glibc
2221 # with a fresh cross-compiler works.
2222 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2223 # <limits.h> exists even on freestanding compilers.
2224 # On the NeXT, cc -E runs the code through the compiler's parser,
2225 # not just through cpp. "Syntax error" is here to catch this case.
2226 cat >conftest.$ac_ext <<_ACEOF
2227 /* confdefs.h. */
2228 _ACEOF
2229 cat confdefs.h >>conftest.$ac_ext
2230 cat >>conftest.$ac_ext <<_ACEOF
2231 /* end confdefs.h. */
2232 #ifdef __STDC__
2233 # include <limits.h>
2234 #else
2235 # include <assert.h>
2236 #endif
2237 Syntax error
2238 _ACEOF
2239 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2240 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2241 ac_status=$?
2242 grep -v '^ *+' conftest.er1 >conftest.err
2243 rm -f conftest.er1
2244 cat conftest.err >&5
2245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2246 (exit $ac_status); } >/dev/null; then
2247 if test -s conftest.err; then
2248 ac_cpp_err=$ac_c_preproc_warn_flag
2249 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2250 else
2251 ac_cpp_err=
2253 else
2254 ac_cpp_err=yes
2256 if test -z "$ac_cpp_err"; then
2258 else
2259 echo "$as_me: failed program was:" >&5
2260 sed 's/^/| /' conftest.$ac_ext >&5
2262 # Broken: fails on valid input.
2263 continue
2265 rm -f conftest.err conftest.$ac_ext
2267 # OK, works on sane cases. Now check whether non-existent headers
2268 # can be detected and how.
2269 cat >conftest.$ac_ext <<_ACEOF
2270 /* confdefs.h. */
2271 _ACEOF
2272 cat confdefs.h >>conftest.$ac_ext
2273 cat >>conftest.$ac_ext <<_ACEOF
2274 /* end confdefs.h. */
2275 #include <ac_nonexistent.h>
2276 _ACEOF
2277 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2278 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2279 ac_status=$?
2280 grep -v '^ *+' conftest.er1 >conftest.err
2281 rm -f conftest.er1
2282 cat conftest.err >&5
2283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2284 (exit $ac_status); } >/dev/null; then
2285 if test -s conftest.err; then
2286 ac_cpp_err=$ac_c_preproc_warn_flag
2287 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2288 else
2289 ac_cpp_err=
2291 else
2292 ac_cpp_err=yes
2294 if test -z "$ac_cpp_err"; then
2295 # Broken: success on invalid input.
2296 continue
2297 else
2298 echo "$as_me: failed program was:" >&5
2299 sed 's/^/| /' conftest.$ac_ext >&5
2301 # Passes both tests.
2302 ac_preproc_ok=:
2303 break
2305 rm -f conftest.err conftest.$ac_ext
2307 done
2308 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2309 rm -f conftest.err conftest.$ac_ext
2310 if $ac_preproc_ok; then
2311 break
2314 done
2315 ac_cv_prog_CPP=$CPP
2318 CPP=$ac_cv_prog_CPP
2319 else
2320 ac_cv_prog_CPP=$CPP
2322 echo "$as_me:$LINENO: result: $CPP" >&5
2323 echo "${ECHO_T}$CPP" >&6
2324 ac_preproc_ok=false
2325 for ac_c_preproc_warn_flag in '' yes
2327 # Use a header file that comes with gcc, so configuring glibc
2328 # with a fresh cross-compiler works.
2329 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2330 # <limits.h> exists even on freestanding compilers.
2331 # On the NeXT, cc -E runs the code through the compiler's parser,
2332 # not just through cpp. "Syntax error" is here to catch this case.
2333 cat >conftest.$ac_ext <<_ACEOF
2334 /* confdefs.h. */
2335 _ACEOF
2336 cat confdefs.h >>conftest.$ac_ext
2337 cat >>conftest.$ac_ext <<_ACEOF
2338 /* end confdefs.h. */
2339 #ifdef __STDC__
2340 # include <limits.h>
2341 #else
2342 # include <assert.h>
2343 #endif
2344 Syntax error
2345 _ACEOF
2346 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2347 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2348 ac_status=$?
2349 grep -v '^ *+' conftest.er1 >conftest.err
2350 rm -f conftest.er1
2351 cat conftest.err >&5
2352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2353 (exit $ac_status); } >/dev/null; then
2354 if test -s conftest.err; then
2355 ac_cpp_err=$ac_c_preproc_warn_flag
2356 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2357 else
2358 ac_cpp_err=
2360 else
2361 ac_cpp_err=yes
2363 if test -z "$ac_cpp_err"; then
2365 else
2366 echo "$as_me: failed program was:" >&5
2367 sed 's/^/| /' conftest.$ac_ext >&5
2369 # Broken: fails on valid input.
2370 continue
2372 rm -f conftest.err conftest.$ac_ext
2374 # OK, works on sane cases. Now check whether non-existent headers
2375 # can be detected and how.
2376 cat >conftest.$ac_ext <<_ACEOF
2377 /* confdefs.h. */
2378 _ACEOF
2379 cat confdefs.h >>conftest.$ac_ext
2380 cat >>conftest.$ac_ext <<_ACEOF
2381 /* end confdefs.h. */
2382 #include <ac_nonexistent.h>
2383 _ACEOF
2384 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
2385 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2386 ac_status=$?
2387 grep -v '^ *+' conftest.er1 >conftest.err
2388 rm -f conftest.er1
2389 cat conftest.err >&5
2390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2391 (exit $ac_status); } >/dev/null; then
2392 if test -s conftest.err; then
2393 ac_cpp_err=$ac_c_preproc_warn_flag
2394 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
2395 else
2396 ac_cpp_err=
2398 else
2399 ac_cpp_err=yes
2401 if test -z "$ac_cpp_err"; then
2402 # Broken: success on invalid input.
2403 continue
2404 else
2405 echo "$as_me: failed program was:" >&5
2406 sed 's/^/| /' conftest.$ac_ext >&5
2408 # Passes both tests.
2409 ac_preproc_ok=:
2410 break
2412 rm -f conftest.err conftest.$ac_ext
2414 done
2415 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2416 rm -f conftest.err conftest.$ac_ext
2417 if $ac_preproc_ok; then
2419 else
2420 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2421 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2422 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2423 See \`config.log' for more details." >&5
2424 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2425 See \`config.log' for more details." >&2;}
2426 { (exit 1); exit 1; }; }; }
2429 ac_ext=c
2430 ac_cpp='$CPP $CPPFLAGS'
2431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2436 echo "$as_me:$LINENO: checking for egrep" >&5
2437 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
2438 if test "${ac_cv_prog_egrep+set}" = set; then
2439 echo $ECHO_N "(cached) $ECHO_C" >&6
2440 else
2441 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
2442 then ac_cv_prog_egrep='grep -E'
2443 else ac_cv_prog_egrep='egrep'
2446 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
2447 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
2448 EGREP=$ac_cv_prog_egrep
2452 # Keep these sync'd with the list in Makefile.am. The first provides an
2453 # expandable list at autoconf time; the second provides an expandable list
2454 # (i.e., shell variable) at configure time.
2456 SUBDIRS='include libsupc++ src doc po testsuite'
2458 # These need to be absolute paths, yet at the same time need to
2459 # canonicalize only relative paths, because then amd will not unmount
2460 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
2461 glibcxx_builddir=`${PWDCMD-pwd}`
2462 case $srcdir in
2463 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
2464 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
2465 esac
2466 toplevel_srcdir=${glibcxx_srcdir}/..
2471 # We use these options to decide which functions to include. They are
2472 # set from the top level.
2474 # Check whether --with-target-subdir or --without-target-subdir was given.
2475 if test "${with_target_subdir+set}" = set; then
2476 withval="$with_target_subdir"
2481 # Check whether --with-cross-host or --without-cross-host was given.
2482 if test "${with_cross_host+set}" = set; then
2483 withval="$with_cross_host"
2488 # Check whether --with-newlib or --without-newlib was given.
2489 if test "${with_newlib+set}" = set; then
2490 withval="$with_newlib"
2494 # We're almost certainly being configured before anything else which uses
2495 # C++, so all of our AC_PROG_* discoveries will be cached. It's vital that
2496 # we not cache the value of CXX that we "discover" here, because it's set
2497 # to something unique for us and libjava. Other target libraries need to
2498 # find CXX for themselves. We yank the rug out from under the normal AC_*
2499 # process by sneakily renaming the cache variable. This also lets us debug
2500 # the value of "our" CXX in postmortems.
2502 # We must also force CXX to /not/ be a precious variable, otherwise the
2503 # wrong (non-multilib-adjusted) value will be used in multilibs. This
2504 # little trick also affects CPPFLAGS, CXXFLAGS, and LDFLAGS. And as a side
2505 # effect, CXXFLAGS is no longer automagically subst'd, so we have to do
2506 # that ourselves. Un-preciousing AC_PROG_CC also affects CC and CFLAGS.
2508 # -fno-builtin must be present here so that a non-conflicting form of
2509 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
2514 save_CXXFLAGS="$CXXFLAGS"
2515 CXXFLAGS="$CXXFLAGS -fno-builtin"
2516 ac_ext=c
2517 ac_cpp='$CPP $CPPFLAGS'
2518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2521 if test -n "$ac_tool_prefix"; then
2522 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2523 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2524 echo "$as_me:$LINENO: checking for $ac_word" >&5
2525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2526 if test "${ac_cv_prog_CC+set}" = set; then
2527 echo $ECHO_N "(cached) $ECHO_C" >&6
2528 else
2529 if test -n "$CC"; then
2530 ac_cv_prog_CC="$CC" # Let the user override the test.
2531 else
2532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2533 for as_dir in $PATH
2535 IFS=$as_save_IFS
2536 test -z "$as_dir" && as_dir=.
2537 for ac_exec_ext in '' $ac_executable_extensions; do
2538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2539 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2541 break 2
2543 done
2544 done
2548 CC=$ac_cv_prog_CC
2549 if test -n "$CC"; then
2550 echo "$as_me:$LINENO: result: $CC" >&5
2551 echo "${ECHO_T}$CC" >&6
2552 else
2553 echo "$as_me:$LINENO: result: no" >&5
2554 echo "${ECHO_T}no" >&6
2558 if test -z "$ac_cv_prog_CC"; then
2559 ac_ct_CC=$CC
2560 # Extract the first word of "gcc", so it can be a program name with args.
2561 set dummy gcc; ac_word=$2
2562 echo "$as_me:$LINENO: checking for $ac_word" >&5
2563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2565 echo $ECHO_N "(cached) $ECHO_C" >&6
2566 else
2567 if test -n "$ac_ct_CC"; then
2568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2569 else
2570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2571 for as_dir in $PATH
2573 IFS=$as_save_IFS
2574 test -z "$as_dir" && as_dir=.
2575 for ac_exec_ext in '' $ac_executable_extensions; do
2576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2577 ac_cv_prog_ac_ct_CC="gcc"
2578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2579 break 2
2581 done
2582 done
2586 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2587 if test -n "$ac_ct_CC"; then
2588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2589 echo "${ECHO_T}$ac_ct_CC" >&6
2590 else
2591 echo "$as_me:$LINENO: result: no" >&5
2592 echo "${ECHO_T}no" >&6
2595 CC=$ac_ct_CC
2596 else
2597 CC="$ac_cv_prog_CC"
2600 if test -z "$CC"; then
2601 if test -n "$ac_tool_prefix"; then
2602 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2603 set dummy ${ac_tool_prefix}cc; ac_word=$2
2604 echo "$as_me:$LINENO: checking for $ac_word" >&5
2605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2606 if test "${ac_cv_prog_CC+set}" = set; then
2607 echo $ECHO_N "(cached) $ECHO_C" >&6
2608 else
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2615 IFS=$as_save_IFS
2616 test -z "$as_dir" && as_dir=.
2617 for ac_exec_ext in '' $ac_executable_extensions; do
2618 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2619 ac_cv_prog_CC="${ac_tool_prefix}cc"
2620 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2621 break 2
2623 done
2624 done
2628 CC=$ac_cv_prog_CC
2629 if test -n "$CC"; then
2630 echo "$as_me:$LINENO: result: $CC" >&5
2631 echo "${ECHO_T}$CC" >&6
2632 else
2633 echo "$as_me:$LINENO: result: no" >&5
2634 echo "${ECHO_T}no" >&6
2638 if test -z "$ac_cv_prog_CC"; then
2639 ac_ct_CC=$CC
2640 # Extract the first word of "cc", so it can be a program name with args.
2641 set dummy cc; ac_word=$2
2642 echo "$as_me:$LINENO: checking for $ac_word" >&5
2643 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2644 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2645 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 else
2647 if test -n "$ac_ct_CC"; then
2648 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2649 else
2650 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2651 for as_dir in $PATH
2653 IFS=$as_save_IFS
2654 test -z "$as_dir" && as_dir=.
2655 for ac_exec_ext in '' $ac_executable_extensions; do
2656 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2657 ac_cv_prog_ac_ct_CC="cc"
2658 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2659 break 2
2661 done
2662 done
2666 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2667 if test -n "$ac_ct_CC"; then
2668 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2669 echo "${ECHO_T}$ac_ct_CC" >&6
2670 else
2671 echo "$as_me:$LINENO: result: no" >&5
2672 echo "${ECHO_T}no" >&6
2675 CC=$ac_ct_CC
2676 else
2677 CC="$ac_cv_prog_CC"
2681 if test -z "$CC"; then
2682 # Extract the first word of "cc", so it can be a program name with args.
2683 set dummy cc; ac_word=$2
2684 echo "$as_me:$LINENO: checking for $ac_word" >&5
2685 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2686 if test "${ac_cv_prog_CC+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2688 else
2689 if test -n "$CC"; then
2690 ac_cv_prog_CC="$CC" # Let the user override the test.
2691 else
2692 ac_prog_rejected=no
2693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2694 for as_dir in $PATH
2696 IFS=$as_save_IFS
2697 test -z "$as_dir" && as_dir=.
2698 for ac_exec_ext in '' $ac_executable_extensions; do
2699 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2700 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2701 ac_prog_rejected=yes
2702 continue
2704 ac_cv_prog_CC="cc"
2705 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2706 break 2
2708 done
2709 done
2711 if test $ac_prog_rejected = yes; then
2712 # We found a bogon in the path, so make sure we never use it.
2713 set dummy $ac_cv_prog_CC
2714 shift
2715 if test $# != 0; then
2716 # We chose a different compiler from the bogus one.
2717 # However, it has the same basename, so the bogon will be chosen
2718 # first if we set CC to just the basename; use the full file name.
2719 shift
2720 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2725 CC=$ac_cv_prog_CC
2726 if test -n "$CC"; then
2727 echo "$as_me:$LINENO: result: $CC" >&5
2728 echo "${ECHO_T}$CC" >&6
2729 else
2730 echo "$as_me:$LINENO: result: no" >&5
2731 echo "${ECHO_T}no" >&6
2735 if test -z "$CC"; then
2736 if test -n "$ac_tool_prefix"; then
2737 for ac_prog in cl
2739 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2740 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2741 echo "$as_me:$LINENO: checking for $ac_word" >&5
2742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2743 if test "${ac_cv_prog_CC+set}" = set; then
2744 echo $ECHO_N "(cached) $ECHO_C" >&6
2745 else
2746 if test -n "$CC"; then
2747 ac_cv_prog_CC="$CC" # Let the user override the test.
2748 else
2749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2750 for as_dir in $PATH
2752 IFS=$as_save_IFS
2753 test -z "$as_dir" && as_dir=.
2754 for ac_exec_ext in '' $ac_executable_extensions; do
2755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2756 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2758 break 2
2760 done
2761 done
2765 CC=$ac_cv_prog_CC
2766 if test -n "$CC"; then
2767 echo "$as_me:$LINENO: result: $CC" >&5
2768 echo "${ECHO_T}$CC" >&6
2769 else
2770 echo "$as_me:$LINENO: result: no" >&5
2771 echo "${ECHO_T}no" >&6
2774 test -n "$CC" && break
2775 done
2777 if test -z "$CC"; then
2778 ac_ct_CC=$CC
2779 for ac_prog in cl
2781 # Extract the first word of "$ac_prog", so it can be a program name with args.
2782 set dummy $ac_prog; ac_word=$2
2783 echo "$as_me:$LINENO: checking for $ac_word" >&5
2784 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2785 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2786 echo $ECHO_N "(cached) $ECHO_C" >&6
2787 else
2788 if test -n "$ac_ct_CC"; then
2789 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2790 else
2791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2792 for as_dir in $PATH
2794 IFS=$as_save_IFS
2795 test -z "$as_dir" && as_dir=.
2796 for ac_exec_ext in '' $ac_executable_extensions; do
2797 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2798 ac_cv_prog_ac_ct_CC="$ac_prog"
2799 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2800 break 2
2802 done
2803 done
2807 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2808 if test -n "$ac_ct_CC"; then
2809 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2810 echo "${ECHO_T}$ac_ct_CC" >&6
2811 else
2812 echo "$as_me:$LINENO: result: no" >&5
2813 echo "${ECHO_T}no" >&6
2816 test -n "$ac_ct_CC" && break
2817 done
2819 CC=$ac_ct_CC
2825 test -z "$CC" && { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2826 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2827 { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2828 See \`config.log' for more details." >&5
2829 echo "$as_me: error: no acceptable C compiler found in \$PATH
2830 See \`config.log' for more details." >&2;}
2831 { (exit 1); exit 1; }; }; }
2833 # Provide some information about the compiler.
2834 echo "$as_me:$LINENO:" \
2835 "checking for C compiler version" >&5
2836 ac_compiler=`set X $ac_compile; echo $2`
2837 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2838 (eval $ac_compiler --version </dev/null >&5) 2>&5
2839 ac_status=$?
2840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2841 (exit $ac_status); }
2842 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2843 (eval $ac_compiler -v </dev/null >&5) 2>&5
2844 ac_status=$?
2845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2846 (exit $ac_status); }
2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2848 (eval $ac_compiler -V </dev/null >&5) 2>&5
2849 ac_status=$?
2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2851 (exit $ac_status); }
2853 cat >conftest.$ac_ext <<_ACEOF
2854 /* confdefs.h. */
2855 _ACEOF
2856 cat confdefs.h >>conftest.$ac_ext
2857 cat >>conftest.$ac_ext <<_ACEOF
2858 /* end confdefs.h. */
2861 main ()
2865 return 0;
2867 _ACEOF
2868 # FIXME: Cleanup?
2869 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2870 (eval $ac_link) 2>&5
2871 ac_status=$?
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; then
2874 gcc_no_link=no
2875 else
2876 gcc_no_link=yes
2879 if test x$gcc_no_link = xyes; then
2880 # Setting cross_compile will disable run tests; it will
2881 # also disable AC_CHECK_FILE but that's generally
2882 # correct if we can't link.
2883 cross_compiling=yes
2884 EXEEXT=
2885 else
2886 cat >conftest.$ac_ext <<_ACEOF
2887 /* confdefs.h. */
2888 _ACEOF
2889 cat confdefs.h >>conftest.$ac_ext
2890 cat >>conftest.$ac_ext <<_ACEOF
2891 /* end confdefs.h. */
2894 main ()
2898 return 0;
2900 _ACEOF
2901 ac_clean_files_save=$ac_clean_files
2902 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2903 # Try to create an executable without -o first, disregard a.out.
2904 # It will help us diagnose broken compilers, and finding out an intuition
2905 # of exeext.
2906 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2907 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2908 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2909 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2910 (eval $ac_link_default) 2>&5
2911 ac_status=$?
2912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2913 (exit $ac_status); }; then
2914 # Find the output, starting from the most likely. This scheme is
2915 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2916 # resort.
2918 # Be careful to initialize this variable, since it used to be cached.
2919 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2920 ac_cv_exeext=
2921 # b.out is created by i960 compilers.
2922 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2924 test -f "$ac_file" || continue
2925 case $ac_file in
2926 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2928 conftest.$ac_ext )
2929 # This is the source file.
2931 [ab].out )
2932 # We found the default executable, but exeext='' is most
2933 # certainly right.
2934 break;;
2935 *.* )
2936 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2937 # FIXME: I believe we export ac_cv_exeext for Libtool,
2938 # but it would be cool to find out if it's true. Does anybody
2939 # maintain Libtool? --akim.
2940 export ac_cv_exeext
2941 break;;
2943 break;;
2944 esac
2945 done
2946 else
2947 echo "$as_me: failed program was:" >&5
2948 sed 's/^/| /' conftest.$ac_ext >&5
2950 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2951 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2952 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2953 See \`config.log' for more details." >&5
2954 echo "$as_me: error: C compiler cannot create executables
2955 See \`config.log' for more details." >&2;}
2956 { (exit 77); exit 77; }; }; }
2959 ac_exeext=$ac_cv_exeext
2960 echo "$as_me:$LINENO: result: $ac_file" >&5
2961 echo "${ECHO_T}$ac_file" >&6
2963 # Check the compiler produces executables we can run. If not, either
2964 # the compiler is broken, or we cross compile.
2965 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2966 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2967 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2968 # If not cross compiling, check that we can run a simple program.
2969 if test "$cross_compiling" != yes; then
2970 if { ac_try='./$ac_file'
2971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2972 (eval $ac_try) 2>&5
2973 ac_status=$?
2974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2975 (exit $ac_status); }; }; then
2976 cross_compiling=no
2977 else
2978 if test "$cross_compiling" = maybe; then
2979 cross_compiling=yes
2980 else
2981 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2982 echo "$as_me: error: in \`$ac_pwd':" >&2;}
2983 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2984 If you meant to cross compile, use \`--host'.
2985 See \`config.log' for more details." >&5
2986 echo "$as_me: error: cannot run C compiled programs.
2987 If you meant to cross compile, use \`--host'.
2988 See \`config.log' for more details." >&2;}
2989 { (exit 1); exit 1; }; }; }
2993 echo "$as_me:$LINENO: result: yes" >&5
2994 echo "${ECHO_T}yes" >&6
2996 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2997 ac_clean_files=$ac_clean_files_save
2998 # Check the compiler produces executables we can run. If not, either
2999 # the compiler is broken, or we cross compile.
3000 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3001 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
3002 echo "$as_me:$LINENO: result: $cross_compiling" >&5
3003 echo "${ECHO_T}$cross_compiling" >&6
3005 echo "$as_me:$LINENO: checking for suffix of executables" >&5
3006 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
3007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3008 (eval $ac_link) 2>&5
3009 ac_status=$?
3010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3011 (exit $ac_status); }; then
3012 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3013 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3014 # work properly (i.e., refer to `conftest.exe'), while it won't with
3015 # `rm'.
3016 for ac_file in conftest.exe conftest conftest.*; do
3017 test -f "$ac_file" || continue
3018 case $ac_file in
3019 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
3020 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3021 export ac_cv_exeext
3022 break;;
3023 * ) break;;
3024 esac
3025 done
3026 else
3027 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3028 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3029 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3030 See \`config.log' for more details." >&5
3031 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3032 See \`config.log' for more details." >&2;}
3033 { (exit 1); exit 1; }; }; }
3036 rm -f conftest$ac_cv_exeext
3037 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3038 echo "${ECHO_T}$ac_cv_exeext" >&6
3040 rm -f conftest.$ac_ext
3041 EXEEXT=$ac_cv_exeext
3042 ac_exeext=$EXEEXT
3044 echo "$as_me:$LINENO: checking for suffix of object files" >&5
3045 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
3046 if test "${ac_cv_objext+set}" = set; then
3047 echo $ECHO_N "(cached) $ECHO_C" >&6
3048 else
3049 cat >conftest.$ac_ext <<_ACEOF
3050 /* confdefs.h. */
3051 _ACEOF
3052 cat confdefs.h >>conftest.$ac_ext
3053 cat >>conftest.$ac_ext <<_ACEOF
3054 /* end confdefs.h. */
3057 main ()
3061 return 0;
3063 _ACEOF
3064 rm -f conftest.o conftest.obj
3065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3066 (eval $ac_compile) 2>&5
3067 ac_status=$?
3068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3069 (exit $ac_status); }; then
3070 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
3071 case $ac_file in
3072 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
3073 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3074 break;;
3075 esac
3076 done
3077 else
3078 echo "$as_me: failed program was:" >&5
3079 sed 's/^/| /' conftest.$ac_ext >&5
3081 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3082 echo "$as_me: error: in \`$ac_pwd':" >&2;}
3083 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3084 See \`config.log' for more details." >&5
3085 echo "$as_me: error: cannot compute suffix of object files: cannot compile
3086 See \`config.log' for more details." >&2;}
3087 { (exit 1); exit 1; }; }; }
3090 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3092 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3093 echo "${ECHO_T}$ac_cv_objext" >&6
3094 OBJEXT=$ac_cv_objext
3095 ac_objext=$OBJEXT
3096 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3097 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
3098 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3099 echo $ECHO_N "(cached) $ECHO_C" >&6
3100 else
3101 cat >conftest.$ac_ext <<_ACEOF
3102 /* confdefs.h. */
3103 _ACEOF
3104 cat confdefs.h >>conftest.$ac_ext
3105 cat >>conftest.$ac_ext <<_ACEOF
3106 /* end confdefs.h. */
3109 main ()
3111 #ifndef __GNUC__
3112 choke me
3113 #endif
3116 return 0;
3118 _ACEOF
3119 rm -f conftest.$ac_objext
3120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3121 (eval $ac_compile) 2>conftest.er1
3122 ac_status=$?
3123 grep -v '^ *+' conftest.er1 >conftest.err
3124 rm -f conftest.er1
3125 cat conftest.err >&5
3126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3127 (exit $ac_status); } &&
3128 { ac_try='test -z "$ac_c_werror_flag"
3129 || test ! -s conftest.err'
3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3131 (eval $ac_try) 2>&5
3132 ac_status=$?
3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3134 (exit $ac_status); }; } &&
3135 { ac_try='test -s conftest.$ac_objext'
3136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3137 (eval $ac_try) 2>&5
3138 ac_status=$?
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); }; }; then
3141 ac_compiler_gnu=yes
3142 else
3143 echo "$as_me: failed program was:" >&5
3144 sed 's/^/| /' conftest.$ac_ext >&5
3146 ac_compiler_gnu=no
3148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3149 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3152 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3153 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
3154 GCC=`test $ac_compiler_gnu = yes && echo yes`
3155 ac_test_CFLAGS=${CFLAGS+set}
3156 ac_save_CFLAGS=$CFLAGS
3157 CFLAGS="-g"
3158 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3159 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
3160 if test "${ac_cv_prog_cc_g+set}" = set; then
3161 echo $ECHO_N "(cached) $ECHO_C" >&6
3162 else
3163 cat >conftest.$ac_ext <<_ACEOF
3164 /* confdefs.h. */
3165 _ACEOF
3166 cat confdefs.h >>conftest.$ac_ext
3167 cat >>conftest.$ac_ext <<_ACEOF
3168 /* end confdefs.h. */
3171 main ()
3175 return 0;
3177 _ACEOF
3178 rm -f conftest.$ac_objext
3179 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3180 (eval $ac_compile) 2>conftest.er1
3181 ac_status=$?
3182 grep -v '^ *+' conftest.er1 >conftest.err
3183 rm -f conftest.er1
3184 cat conftest.err >&5
3185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3186 (exit $ac_status); } &&
3187 { ac_try='test -z "$ac_c_werror_flag"
3188 || test ! -s conftest.err'
3189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3190 (eval $ac_try) 2>&5
3191 ac_status=$?
3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3193 (exit $ac_status); }; } &&
3194 { ac_try='test -s conftest.$ac_objext'
3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3196 (eval $ac_try) 2>&5
3197 ac_status=$?
3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3199 (exit $ac_status); }; }; then
3200 ac_cv_prog_cc_g=yes
3201 else
3202 echo "$as_me: failed program was:" >&5
3203 sed 's/^/| /' conftest.$ac_ext >&5
3205 ac_cv_prog_cc_g=no
3207 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3209 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3210 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
3211 if test "$ac_test_CFLAGS" = set; then
3212 CFLAGS=$ac_save_CFLAGS
3213 elif test $ac_cv_prog_cc_g = yes; then
3214 if test "$GCC" = yes; then
3215 CFLAGS="-g -O2"
3216 else
3217 CFLAGS="-g"
3219 else
3220 if test "$GCC" = yes; then
3221 CFLAGS="-O2"
3222 else
3223 CFLAGS=
3226 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
3227 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
3228 if test "${ac_cv_prog_cc_stdc+set}" = set; then
3229 echo $ECHO_N "(cached) $ECHO_C" >&6
3230 else
3231 ac_cv_prog_cc_stdc=no
3232 ac_save_CC=$CC
3233 cat >conftest.$ac_ext <<_ACEOF
3234 /* confdefs.h. */
3235 _ACEOF
3236 cat confdefs.h >>conftest.$ac_ext
3237 cat >>conftest.$ac_ext <<_ACEOF
3238 /* end confdefs.h. */
3239 #include <stdarg.h>
3240 #include <stdio.h>
3241 #include <sys/types.h>
3242 #include <sys/stat.h>
3243 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3244 struct buf { int x; };
3245 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3246 static char *e (p, i)
3247 char **p;
3248 int i;
3250 return p[i];
3252 static char *f (char * (*g) (char **, int), char **p, ...)
3254 char *s;
3255 va_list v;
3256 va_start (v,p);
3257 s = g (p, va_arg (v,int));
3258 va_end (v);
3259 return s;
3262 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3263 function prototypes and stuff, but not '\xHH' hex character constants.
3264 These don't provoke an error unfortunately, instead are silently treated
3265 as 'x'. The following induces an error, until -std1 is added to get
3266 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3267 array size at least. It's necessary to write '\x00'==0 to get something
3268 that's true only with -std1. */
3269 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3271 int test (int i, double x);
3272 struct s1 {int (*f) (int a);};
3273 struct s2 {int (*f) (double a);};
3274 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3275 int argc;
3276 char **argv;
3278 main ()
3280 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3282 return 0;
3284 _ACEOF
3285 # Don't try gcc -ansi; that turns off useful extensions and
3286 # breaks some systems' header files.
3287 # AIX -qlanglvl=ansi
3288 # Ultrix and OSF/1 -std1
3289 # HP-UX 10.20 and later -Ae
3290 # HP-UX older versions -Aa -D_HPUX_SOURCE
3291 # SVR4 -Xc -D__EXTENSIONS__
3292 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3294 CC="$ac_save_CC $ac_arg"
3295 rm -f conftest.$ac_objext
3296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3297 (eval $ac_compile) 2>conftest.er1
3298 ac_status=$?
3299 grep -v '^ *+' conftest.er1 >conftest.err
3300 rm -f conftest.er1
3301 cat conftest.err >&5
3302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3303 (exit $ac_status); } &&
3304 { ac_try='test -z "$ac_c_werror_flag"
3305 || test ! -s conftest.err'
3306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3307 (eval $ac_try) 2>&5
3308 ac_status=$?
3309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3310 (exit $ac_status); }; } &&
3311 { ac_try='test -s conftest.$ac_objext'
3312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3313 (eval $ac_try) 2>&5
3314 ac_status=$?
3315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3316 (exit $ac_status); }; }; then
3317 ac_cv_prog_cc_stdc=$ac_arg
3318 break
3319 else
3320 echo "$as_me: failed program was:" >&5
3321 sed 's/^/| /' conftest.$ac_ext >&5
3324 rm -f conftest.err conftest.$ac_objext
3325 done
3326 rm -f conftest.$ac_ext conftest.$ac_objext
3327 CC=$ac_save_CC
3331 case "x$ac_cv_prog_cc_stdc" in
3332 x|xno)
3333 echo "$as_me:$LINENO: result: none needed" >&5
3334 echo "${ECHO_T}none needed" >&6 ;;
3336 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
3337 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
3338 CC="$CC $ac_cv_prog_cc_stdc" ;;
3339 esac
3341 # Some people use a C++ compiler to compile C. Since we use `exit',
3342 # in C++ we need to declare it. In case someone uses the same compiler
3343 # for both compiling C and C++ we need to have the C++ compiler decide
3344 # the declaration of exit, since it's the most demanding environment.
3345 cat >conftest.$ac_ext <<_ACEOF
3346 #ifndef __cplusplus
3347 choke me
3348 #endif
3349 _ACEOF
3350 rm -f conftest.$ac_objext
3351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3352 (eval $ac_compile) 2>conftest.er1
3353 ac_status=$?
3354 grep -v '^ *+' conftest.er1 >conftest.err
3355 rm -f conftest.er1
3356 cat conftest.err >&5
3357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3358 (exit $ac_status); } &&
3359 { ac_try='test -z "$ac_c_werror_flag"
3360 || test ! -s conftest.err'
3361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3362 (eval $ac_try) 2>&5
3363 ac_status=$?
3364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3365 (exit $ac_status); }; } &&
3366 { ac_try='test -s conftest.$ac_objext'
3367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3368 (eval $ac_try) 2>&5
3369 ac_status=$?
3370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3371 (exit $ac_status); }; }; then
3372 for ac_declaration in \
3373 '' \
3374 'extern "C" void std::exit (int) throw (); using std::exit;' \
3375 'extern "C" void std::exit (int); using std::exit;' \
3376 'extern "C" void exit (int) throw ();' \
3377 'extern "C" void exit (int);' \
3378 'void exit (int);'
3380 cat >conftest.$ac_ext <<_ACEOF
3381 /* confdefs.h. */
3382 _ACEOF
3383 cat confdefs.h >>conftest.$ac_ext
3384 cat >>conftest.$ac_ext <<_ACEOF
3385 /* end confdefs.h. */
3386 $ac_declaration
3387 #include <stdlib.h>
3389 main ()
3391 exit (42);
3393 return 0;
3395 _ACEOF
3396 rm -f conftest.$ac_objext
3397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3398 (eval $ac_compile) 2>conftest.er1
3399 ac_status=$?
3400 grep -v '^ *+' conftest.er1 >conftest.err
3401 rm -f conftest.er1
3402 cat conftest.err >&5
3403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3404 (exit $ac_status); } &&
3405 { ac_try='test -z "$ac_c_werror_flag"
3406 || test ! -s conftest.err'
3407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3408 (eval $ac_try) 2>&5
3409 ac_status=$?
3410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3411 (exit $ac_status); }; } &&
3412 { ac_try='test -s conftest.$ac_objext'
3413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3414 (eval $ac_try) 2>&5
3415 ac_status=$?
3416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); }; }; then
3419 else
3420 echo "$as_me: failed program was:" >&5
3421 sed 's/^/| /' conftest.$ac_ext >&5
3423 continue
3425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3426 cat >conftest.$ac_ext <<_ACEOF
3427 /* confdefs.h. */
3428 _ACEOF
3429 cat confdefs.h >>conftest.$ac_ext
3430 cat >>conftest.$ac_ext <<_ACEOF
3431 /* end confdefs.h. */
3432 $ac_declaration
3434 main ()
3436 exit (42);
3438 return 0;
3440 _ACEOF
3441 rm -f conftest.$ac_objext
3442 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3443 (eval $ac_compile) 2>conftest.er1
3444 ac_status=$?
3445 grep -v '^ *+' conftest.er1 >conftest.err
3446 rm -f conftest.er1
3447 cat conftest.err >&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); } &&
3450 { ac_try='test -z "$ac_c_werror_flag"
3451 || test ! -s conftest.err'
3452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3453 (eval $ac_try) 2>&5
3454 ac_status=$?
3455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3456 (exit $ac_status); }; } &&
3457 { ac_try='test -s conftest.$ac_objext'
3458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3459 (eval $ac_try) 2>&5
3460 ac_status=$?
3461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3462 (exit $ac_status); }; }; then
3463 break
3464 else
3465 echo "$as_me: failed program was:" >&5
3466 sed 's/^/| /' conftest.$ac_ext >&5
3469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3470 done
3471 rm -f conftest*
3472 if test -n "$ac_declaration"; then
3473 echo '#ifdef __cplusplus' >>confdefs.h
3474 echo $ac_declaration >>confdefs.h
3475 echo '#endif' >>confdefs.h
3478 else
3479 echo "$as_me: failed program was:" >&5
3480 sed 's/^/| /' conftest.$ac_ext >&5
3483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3484 ac_ext=c
3485 ac_cpp='$CPP $CPPFLAGS'
3486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3490 ac_ext=cc
3491 ac_cpp='$CXXCPP $CPPFLAGS'
3492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3495 if test -n "$ac_tool_prefix"; then
3496 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3498 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3499 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3500 echo "$as_me:$LINENO: checking for $ac_word" >&5
3501 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3502 if test "${glibcxx_cv_prog_CXX+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3504 else
3505 if test -n "$CXX"; then
3506 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
3507 else
3508 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 for as_dir in $PATH
3511 IFS=$as_save_IFS
3512 test -z "$as_dir" && as_dir=.
3513 for ac_exec_ext in '' $ac_executable_extensions; do
3514 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3515 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3516 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3517 break 2
3519 done
3520 done
3524 CXX=$glibcxx_cv_prog_CXX
3525 if test -n "$CXX"; then
3526 echo "$as_me:$LINENO: result: $CXX" >&5
3527 echo "${ECHO_T}$CXX" >&6
3528 else
3529 echo "$as_me:$LINENO: result: no" >&5
3530 echo "${ECHO_T}no" >&6
3533 test -n "$CXX" && break
3534 done
3536 if test -z "$CXX"; then
3537 ac_ct_CXX=$CXX
3538 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
3540 # Extract the first word of "$ac_prog", so it can be a program name with args.
3541 set dummy $ac_prog; ac_word=$2
3542 echo "$as_me:$LINENO: checking for $ac_word" >&5
3543 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3544 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
3545 echo $ECHO_N "(cached) $ECHO_C" >&6
3546 else
3547 if test -n "$ac_ct_CXX"; then
3548 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3549 else
3550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3551 for as_dir in $PATH
3553 IFS=$as_save_IFS
3554 test -z "$as_dir" && as_dir=.
3555 for ac_exec_ext in '' $ac_executable_extensions; do
3556 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3557 ac_cv_prog_ac_ct_CXX="$ac_prog"
3558 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3559 break 2
3561 done
3562 done
3566 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3567 if test -n "$ac_ct_CXX"; then
3568 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
3569 echo "${ECHO_T}$ac_ct_CXX" >&6
3570 else
3571 echo "$as_me:$LINENO: result: no" >&5
3572 echo "${ECHO_T}no" >&6
3575 test -n "$ac_ct_CXX" && break
3576 done
3577 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
3579 CXX=$ac_ct_CXX
3583 # Provide some information about the compiler.
3584 echo "$as_me:$LINENO:" \
3585 "checking for C++ compiler version" >&5
3586 ac_compiler=`set X $ac_compile; echo $2`
3587 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
3588 (eval $ac_compiler --version </dev/null >&5) 2>&5
3589 ac_status=$?
3590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3591 (exit $ac_status); }
3592 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
3593 (eval $ac_compiler -v </dev/null >&5) 2>&5
3594 ac_status=$?
3595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3596 (exit $ac_status); }
3597 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
3598 (eval $ac_compiler -V </dev/null >&5) 2>&5
3599 ac_status=$?
3600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3601 (exit $ac_status); }
3603 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
3604 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
3605 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
3606 echo $ECHO_N "(cached) $ECHO_C" >&6
3607 else
3608 cat >conftest.$ac_ext <<_ACEOF
3609 /* confdefs.h. */
3610 _ACEOF
3611 cat confdefs.h >>conftest.$ac_ext
3612 cat >>conftest.$ac_ext <<_ACEOF
3613 /* end confdefs.h. */
3616 main ()
3618 #ifndef __GNUC__
3619 choke me
3620 #endif
3623 return 0;
3625 _ACEOF
3626 rm -f conftest.$ac_objext
3627 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3628 (eval $ac_compile) 2>conftest.er1
3629 ac_status=$?
3630 grep -v '^ *+' conftest.er1 >conftest.err
3631 rm -f conftest.er1
3632 cat conftest.err >&5
3633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3634 (exit $ac_status); } &&
3635 { ac_try='test -z "$ac_cxx_werror_flag"
3636 || test ! -s conftest.err'
3637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3638 (eval $ac_try) 2>&5
3639 ac_status=$?
3640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3641 (exit $ac_status); }; } &&
3642 { ac_try='test -s conftest.$ac_objext'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 (eval $ac_try) 2>&5
3645 ac_status=$?
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; }; then
3648 ac_compiler_gnu=yes
3649 else
3650 echo "$as_me: failed program was:" >&5
3651 sed 's/^/| /' conftest.$ac_ext >&5
3653 ac_compiler_gnu=no
3655 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3656 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3659 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
3660 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
3661 GXX=`test $ac_compiler_gnu = yes && echo yes`
3662 ac_test_CXXFLAGS=${CXXFLAGS+set}
3663 ac_save_CXXFLAGS=$CXXFLAGS
3664 CXXFLAGS="-g"
3665 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
3666 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
3667 if test "${ac_cv_prog_cxx_g+set}" = set; then
3668 echo $ECHO_N "(cached) $ECHO_C" >&6
3669 else
3670 cat >conftest.$ac_ext <<_ACEOF
3671 /* confdefs.h. */
3672 _ACEOF
3673 cat confdefs.h >>conftest.$ac_ext
3674 cat >>conftest.$ac_ext <<_ACEOF
3675 /* end confdefs.h. */
3678 main ()
3682 return 0;
3684 _ACEOF
3685 rm -f conftest.$ac_objext
3686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3687 (eval $ac_compile) 2>conftest.er1
3688 ac_status=$?
3689 grep -v '^ *+' conftest.er1 >conftest.err
3690 rm -f conftest.er1
3691 cat conftest.err >&5
3692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3693 (exit $ac_status); } &&
3694 { ac_try='test -z "$ac_cxx_werror_flag"
3695 || test ! -s conftest.err'
3696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3697 (eval $ac_try) 2>&5
3698 ac_status=$?
3699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3700 (exit $ac_status); }; } &&
3701 { ac_try='test -s conftest.$ac_objext'
3702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3703 (eval $ac_try) 2>&5
3704 ac_status=$?
3705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3706 (exit $ac_status); }; }; then
3707 ac_cv_prog_cxx_g=yes
3708 else
3709 echo "$as_me: failed program was:" >&5
3710 sed 's/^/| /' conftest.$ac_ext >&5
3712 ac_cv_prog_cxx_g=no
3714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3716 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
3717 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
3718 if test "$ac_test_CXXFLAGS" = set; then
3719 CXXFLAGS=$ac_save_CXXFLAGS
3720 elif test $ac_cv_prog_cxx_g = yes; then
3721 if test "$GXX" = yes; then
3722 CXXFLAGS="-g -O2"
3723 else
3724 CXXFLAGS="-g"
3726 else
3727 if test "$GXX" = yes; then
3728 CXXFLAGS="-O2"
3729 else
3730 CXXFLAGS=
3733 for ac_declaration in \
3734 '' \
3735 'extern "C" void std::exit (int) throw (); using std::exit;' \
3736 'extern "C" void std::exit (int); using std::exit;' \
3737 'extern "C" void exit (int) throw ();' \
3738 'extern "C" void exit (int);' \
3739 'void exit (int);'
3741 cat >conftest.$ac_ext <<_ACEOF
3742 /* confdefs.h. */
3743 _ACEOF
3744 cat confdefs.h >>conftest.$ac_ext
3745 cat >>conftest.$ac_ext <<_ACEOF
3746 /* end confdefs.h. */
3747 $ac_declaration
3748 #include <stdlib.h>
3750 main ()
3752 exit (42);
3754 return 0;
3756 _ACEOF
3757 rm -f conftest.$ac_objext
3758 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3759 (eval $ac_compile) 2>conftest.er1
3760 ac_status=$?
3761 grep -v '^ *+' conftest.er1 >conftest.err
3762 rm -f conftest.er1
3763 cat conftest.err >&5
3764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3765 (exit $ac_status); } &&
3766 { ac_try='test -z "$ac_cxx_werror_flag"
3767 || test ! -s conftest.err'
3768 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3769 (eval $ac_try) 2>&5
3770 ac_status=$?
3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3772 (exit $ac_status); }; } &&
3773 { ac_try='test -s conftest.$ac_objext'
3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3775 (eval $ac_try) 2>&5
3776 ac_status=$?
3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3778 (exit $ac_status); }; }; then
3780 else
3781 echo "$as_me: failed program was:" >&5
3782 sed 's/^/| /' conftest.$ac_ext >&5
3784 continue
3786 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3787 cat >conftest.$ac_ext <<_ACEOF
3788 /* confdefs.h. */
3789 _ACEOF
3790 cat confdefs.h >>conftest.$ac_ext
3791 cat >>conftest.$ac_ext <<_ACEOF
3792 /* end confdefs.h. */
3793 $ac_declaration
3795 main ()
3797 exit (42);
3799 return 0;
3801 _ACEOF
3802 rm -f conftest.$ac_objext
3803 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3804 (eval $ac_compile) 2>conftest.er1
3805 ac_status=$?
3806 grep -v '^ *+' conftest.er1 >conftest.err
3807 rm -f conftest.er1
3808 cat conftest.err >&5
3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3810 (exit $ac_status); } &&
3811 { ac_try='test -z "$ac_cxx_werror_flag"
3812 || test ! -s conftest.err'
3813 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3814 (eval $ac_try) 2>&5
3815 ac_status=$?
3816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3817 (exit $ac_status); }; } &&
3818 { ac_try='test -s conftest.$ac_objext'
3819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3820 (eval $ac_try) 2>&5
3821 ac_status=$?
3822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3823 (exit $ac_status); }; }; then
3824 break
3825 else
3826 echo "$as_me: failed program was:" >&5
3827 sed 's/^/| /' conftest.$ac_ext >&5
3830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3831 done
3832 rm -f conftest*
3833 if test -n "$ac_declaration"; then
3834 echo '#ifdef __cplusplus' >>confdefs.h
3835 echo $ac_declaration >>confdefs.h
3836 echo '#endif' >>confdefs.h
3839 ac_ext=c
3840 ac_cpp='$CPP $CPPFLAGS'
3841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3845 CXXFLAGS="$save_CXXFLAGS"
3850 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
3851 # available). Uncomment the next line to force a particular method.
3852 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3853 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3854 LN_S=$as_ln_s
3855 if test "$LN_S" = "ln -s"; then
3856 echo "$as_me:$LINENO: result: yes" >&5
3857 echo "${ECHO_T}yes" >&6
3858 else
3859 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3860 echo "${ECHO_T}no, using $LN_S" >&6
3863 #LN_S='cp -p'
3865 if test -n "$ac_tool_prefix"; then
3866 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
3867 set dummy ${ac_tool_prefix}as; ac_word=$2
3868 echo "$as_me:$LINENO: checking for $ac_word" >&5
3869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3870 if test "${ac_cv_prog_AS+set}" = set; then
3871 echo $ECHO_N "(cached) $ECHO_C" >&6
3872 else
3873 if test -n "$AS"; then
3874 ac_cv_prog_AS="$AS" # Let the user override the test.
3875 else
3876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3877 for as_dir in $PATH
3879 IFS=$as_save_IFS
3880 test -z "$as_dir" && as_dir=.
3881 for ac_exec_ext in '' $ac_executable_extensions; do
3882 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3883 ac_cv_prog_AS="${ac_tool_prefix}as"
3884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3885 break 2
3887 done
3888 done
3892 AS=$ac_cv_prog_AS
3893 if test -n "$AS"; then
3894 echo "$as_me:$LINENO: result: $AS" >&5
3895 echo "${ECHO_T}$AS" >&6
3896 else
3897 echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6
3902 if test -z "$ac_cv_prog_AS"; then
3903 ac_ct_AS=$AS
3904 # Extract the first word of "as", so it can be a program name with args.
3905 set dummy as; ac_word=$2
3906 echo "$as_me:$LINENO: checking for $ac_word" >&5
3907 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3908 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
3909 echo $ECHO_N "(cached) $ECHO_C" >&6
3910 else
3911 if test -n "$ac_ct_AS"; then
3912 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
3913 else
3914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3915 for as_dir in $PATH
3917 IFS=$as_save_IFS
3918 test -z "$as_dir" && as_dir=.
3919 for ac_exec_ext in '' $ac_executable_extensions; do
3920 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3921 ac_cv_prog_ac_ct_AS="as"
3922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3923 break 2
3925 done
3926 done
3930 ac_ct_AS=$ac_cv_prog_ac_ct_AS
3931 if test -n "$ac_ct_AS"; then
3932 echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
3933 echo "${ECHO_T}$ac_ct_AS" >&6
3934 else
3935 echo "$as_me:$LINENO: result: no" >&5
3936 echo "${ECHO_T}no" >&6
3939 AS=$ac_ct_AS
3940 else
3941 AS="$ac_cv_prog_AS"
3944 if test -n "$ac_tool_prefix"; then
3945 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
3946 set dummy ${ac_tool_prefix}ar; ac_word=$2
3947 echo "$as_me:$LINENO: checking for $ac_word" >&5
3948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3949 if test "${ac_cv_prog_AR+set}" = set; then
3950 echo $ECHO_N "(cached) $ECHO_C" >&6
3951 else
3952 if test -n "$AR"; then
3953 ac_cv_prog_AR="$AR" # Let the user override the test.
3954 else
3955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3956 for as_dir in $PATH
3958 IFS=$as_save_IFS
3959 test -z "$as_dir" && as_dir=.
3960 for ac_exec_ext in '' $ac_executable_extensions; do
3961 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3962 ac_cv_prog_AR="${ac_tool_prefix}ar"
3963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3964 break 2
3966 done
3967 done
3971 AR=$ac_cv_prog_AR
3972 if test -n "$AR"; then
3973 echo "$as_me:$LINENO: result: $AR" >&5
3974 echo "${ECHO_T}$AR" >&6
3975 else
3976 echo "$as_me:$LINENO: result: no" >&5
3977 echo "${ECHO_T}no" >&6
3981 if test -z "$ac_cv_prog_AR"; then
3982 ac_ct_AR=$AR
3983 # Extract the first word of "ar", so it can be a program name with args.
3984 set dummy ar; ac_word=$2
3985 echo "$as_me:$LINENO: checking for $ac_word" >&5
3986 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3987 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
3988 echo $ECHO_N "(cached) $ECHO_C" >&6
3989 else
3990 if test -n "$ac_ct_AR"; then
3991 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
3992 else
3993 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3994 for as_dir in $PATH
3996 IFS=$as_save_IFS
3997 test -z "$as_dir" && as_dir=.
3998 for ac_exec_ext in '' $ac_executable_extensions; do
3999 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4000 ac_cv_prog_ac_ct_AR="ar"
4001 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4002 break 2
4004 done
4005 done
4009 ac_ct_AR=$ac_cv_prog_ac_ct_AR
4010 if test -n "$ac_ct_AR"; then
4011 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
4012 echo "${ECHO_T}$ac_ct_AR" >&6
4013 else
4014 echo "$as_me:$LINENO: result: no" >&5
4015 echo "${ECHO_T}no" >&6
4018 AR=$ac_ct_AR
4019 else
4020 AR="$ac_cv_prog_AR"
4023 if test -n "$ac_tool_prefix"; then
4024 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
4025 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4026 echo "$as_me:$LINENO: checking for $ac_word" >&5
4027 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4028 if test "${ac_cv_prog_RANLIB+set}" = set; then
4029 echo $ECHO_N "(cached) $ECHO_C" >&6
4030 else
4031 if test -n "$RANLIB"; then
4032 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
4033 else
4034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4035 for as_dir in $PATH
4037 IFS=$as_save_IFS
4038 test -z "$as_dir" && as_dir=.
4039 for ac_exec_ext in '' $ac_executable_extensions; do
4040 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4041 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
4042 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4043 break 2
4045 done
4046 done
4050 RANLIB=$ac_cv_prog_RANLIB
4051 if test -n "$RANLIB"; then
4052 echo "$as_me:$LINENO: result: $RANLIB" >&5
4053 echo "${ECHO_T}$RANLIB" >&6
4054 else
4055 echo "$as_me:$LINENO: result: no" >&5
4056 echo "${ECHO_T}no" >&6
4060 if test -z "$ac_cv_prog_RANLIB"; then
4061 ac_ct_RANLIB=$RANLIB
4062 # Extract the first word of "ranlib", so it can be a program name with args.
4063 set dummy ranlib; ac_word=$2
4064 echo "$as_me:$LINENO: checking for $ac_word" >&5
4065 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4066 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
4067 echo $ECHO_N "(cached) $ECHO_C" >&6
4068 else
4069 if test -n "$ac_ct_RANLIB"; then
4070 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
4071 else
4072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4073 for as_dir in $PATH
4075 IFS=$as_save_IFS
4076 test -z "$as_dir" && as_dir=.
4077 for ac_exec_ext in '' $ac_executable_extensions; do
4078 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4079 ac_cv_prog_ac_ct_RANLIB="ranlib"
4080 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4081 break 2
4083 done
4084 done
4086 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB="ranlib-not-found-in-path-error"
4089 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
4090 if test -n "$ac_ct_RANLIB"; then
4091 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
4092 echo "${ECHO_T}$ac_ct_RANLIB" >&6
4093 else
4094 echo "$as_me:$LINENO: result: no" >&5
4095 echo "${ECHO_T}no" >&6
4098 RANLIB=$ac_ct_RANLIB
4099 else
4100 RANLIB="$ac_cv_prog_RANLIB"
4104 echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
4105 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
4106 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
4107 if test "${enable_maintainer_mode+set}" = set; then
4108 enableval="$enable_maintainer_mode"
4109 USE_MAINTAINER_MODE=$enableval
4110 else
4111 USE_MAINTAINER_MODE=no
4113 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
4114 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
4117 if test $USE_MAINTAINER_MODE = yes; then
4118 MAINTAINER_MODE_TRUE=
4119 MAINTAINER_MODE_FALSE='#'
4120 else
4121 MAINTAINER_MODE_TRUE='#'
4122 MAINTAINER_MODE_FALSE=
4125 MAINT=$MAINTAINER_MODE_TRUE
4129 # Set up safe default values for all subsequent AM_CONDITIONAL tests
4130 # which are themselves conditionally expanded.
4131 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
4132 ## other macros from doing the same. This should be automated.) -pme
4134 # Check for uClibc since Linux platforms use different configuration
4135 # directories depending on the C library in use.
4136 cat >conftest.$ac_ext <<_ACEOF
4137 /* confdefs.h. */
4138 _ACEOF
4139 cat confdefs.h >>conftest.$ac_ext
4140 cat >>conftest.$ac_ext <<_ACEOF
4141 /* end confdefs.h. */
4143 #include <stdio.h>
4144 #if __UCLIBC__
4145 _using_uclibc
4146 #endif
4148 _ACEOF
4149 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4150 $EGREP "_using_uclibc" >/dev/null 2>&1; then
4151 uclibc=yes
4152 else
4153 uclibc=no
4155 rm -f conftest*
4158 # Find platform-specific directories containing configuration info.
4159 # Also possibly modify flags used elsewhere, as needed by the platform.
4161 . $glibcxx_srcdir/configure.host
4162 { echo "$as_me:$LINENO: CPU config directory is $cpu_include_dir" >&5
4163 echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
4164 { echo "$as_me:$LINENO: OS config directory is $os_include_dir" >&5
4165 echo "$as_me: OS config directory is $os_include_dir" >&6;}
4169 if test "x${with_newlib}" != "xyes"; then
4170 enable_dlopen=yes
4175 case `pwd` in
4176 *\ * | *\ *)
4177 { echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
4178 echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
4179 esac
4183 macro_version='2.2.6'
4184 macro_revision='1.3012'
4198 ltmain="$ac_aux_dir/ltmain.sh"
4200 echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4201 echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6
4202 if test "${lt_cv_path_SED+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4204 else
4205 # Loop through the user's path and test for sed and gsed.
4206 # Then use that list of sed's as ones to test for truncation.
4207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4208 for as_dir in $PATH
4210 IFS=$as_save_IFS
4211 test -z "$as_dir" && as_dir=.
4212 for lt_ac_prog in sed gsed; do
4213 for ac_exec_ext in '' $ac_executable_extensions; do
4214 if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
4215 lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4217 done
4218 done
4219 done
4220 IFS=$as_save_IFS
4221 lt_ac_max=0
4222 lt_ac_count=0
4223 # Add /usr/xpg4/bin/sed as it is typically found on Solaris
4224 # along with /bin/sed that truncates output.
4225 for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
4226 test ! -f $lt_ac_sed && continue
4227 cat /dev/null > conftest.in
4228 lt_ac_count=0
4229 echo $ECHO_N "0123456789$ECHO_C" >conftest.in
4230 # Check for GNU sed and select it if it is found.
4231 if "$lt_ac_sed" --version 2>&1 < /dev/null | grep 'GNU' > /dev/null; then
4232 lt_cv_path_SED=$lt_ac_sed
4233 break
4235 while true; do
4236 cat conftest.in conftest.in >conftest.tmp
4237 mv conftest.tmp conftest.in
4238 cp conftest.in conftest.nl
4239 echo >>conftest.nl
4240 $lt_ac_sed -e 's/a$//' < conftest.nl >conftest.out || break
4241 cmp -s conftest.out conftest.nl || break
4242 # 10000 chars as input seems more than enough
4243 test $lt_ac_count -gt 10 && break
4244 lt_ac_count=`expr $lt_ac_count + 1`
4245 if test $lt_ac_count -gt $lt_ac_max; then
4246 lt_ac_max=$lt_ac_count
4247 lt_cv_path_SED=$lt_ac_sed
4249 done
4250 done
4254 SED=$lt_cv_path_SED
4256 echo "$as_me:$LINENO: result: $SED" >&5
4257 echo "${ECHO_T}$SED" >&6
4259 test -z "$SED" && SED=sed
4260 Xsed="$SED -e 1s/^X//"
4272 echo "$as_me:$LINENO: checking for fgrep" >&5
4273 echo $ECHO_N "checking for fgrep... $ECHO_C" >&6
4274 if test "${ac_cv_prog_fgrep+set}" = set; then
4275 echo $ECHO_N "(cached) $ECHO_C" >&6
4276 else
4277 if echo 'ab*c' | (grep -F 'ab*c') >/dev/null 2>&1
4278 then ac_cv_prog_fgrep='grep -F'
4279 else ac_cv_prog_fgrep='fgrep'
4282 echo "$as_me:$LINENO: result: $ac_cv_prog_fgrep" >&5
4283 echo "${ECHO_T}$ac_cv_prog_fgrep" >&6
4284 FGREP=$ac_cv_prog_fgrep
4287 test -z "$GREP" && GREP=grep
4307 # Check whether --with-gnu-ld or --without-gnu-ld was given.
4308 if test "${with_gnu_ld+set}" = set; then
4309 withval="$with_gnu_ld"
4310 test "$withval" = no || with_gnu_ld=yes
4311 else
4312 with_gnu_ld=no
4314 ac_prog=ld
4315 if test "$GCC" = yes; then
4316 # Check if gcc -print-prog-name=ld gives a path.
4317 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
4318 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
4319 case $host in
4320 *-*-mingw*)
4321 # gcc leaves a trailing carriage return which upsets mingw
4322 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
4324 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
4325 esac
4326 case $ac_prog in
4327 # Accept absolute paths.
4328 [\\/]* | ?:[\\/]*)
4329 re_direlt='/[^/][^/]*/\.\./'
4330 # Canonicalize the pathname of ld
4331 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
4332 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
4333 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
4334 done
4335 test -z "$LD" && LD="$ac_prog"
4338 # If it fails, then pretend we aren't using GCC.
4339 ac_prog=ld
4342 # If it is relative, then search for the first ld in PATH.
4343 with_gnu_ld=unknown
4345 esac
4346 elif test "$with_gnu_ld" = yes; then
4347 echo "$as_me:$LINENO: checking for GNU ld" >&5
4348 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
4349 else
4350 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
4351 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
4353 if test "${lt_cv_path_LD+set}" = set; then
4354 echo $ECHO_N "(cached) $ECHO_C" >&6
4355 else
4356 if test -z "$LD"; then
4357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4358 for ac_dir in $PATH; do
4359 IFS="$lt_save_ifs"
4360 test -z "$ac_dir" && ac_dir=.
4361 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
4362 lt_cv_path_LD="$ac_dir/$ac_prog"
4363 # Check to see if the program is GNU ld. I'd rather use --version,
4364 # but apparently some variants of GNU ld only accept -v.
4365 # Break only if it was the GNU/non-GNU ld that we prefer.
4366 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
4367 *GNU* | *'with BFD'*)
4368 test "$with_gnu_ld" != no && break
4371 test "$with_gnu_ld" != yes && break
4373 esac
4375 done
4376 IFS="$lt_save_ifs"
4377 else
4378 lt_cv_path_LD="$LD" # Let the user override the test with a path.
4382 LD="$lt_cv_path_LD"
4383 if test -n "$LD"; then
4384 echo "$as_me:$LINENO: result: $LD" >&5
4385 echo "${ECHO_T}$LD" >&6
4386 else
4387 echo "$as_me:$LINENO: result: no" >&5
4388 echo "${ECHO_T}no" >&6
4390 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
4391 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
4392 { (exit 1); exit 1; }; }
4393 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
4394 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
4395 if test "${lt_cv_prog_gnu_ld+set}" = set; then
4396 echo $ECHO_N "(cached) $ECHO_C" >&6
4397 else
4398 # I'd rather use --version here, but apparently some GNU lds only accept -v.
4399 case `$LD -v 2>&1 </dev/null` in
4400 *GNU* | *'with BFD'*)
4401 lt_cv_prog_gnu_ld=yes
4404 lt_cv_prog_gnu_ld=no
4406 esac
4408 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
4409 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
4410 with_gnu_ld=$lt_cv_prog_gnu_ld
4420 echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
4421 echo $ECHO_N "checking for BSD- or MS-compatible name lister (nm)... $ECHO_C" >&6
4422 if test "${lt_cv_path_NM+set}" = set; then
4423 echo $ECHO_N "(cached) $ECHO_C" >&6
4424 else
4425 if test -n "$NM"; then
4426 # Let the user override the test.
4427 lt_cv_path_NM="$NM"
4428 else
4429 lt_nm_to_check="${ac_tool_prefix}nm"
4430 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
4431 lt_nm_to_check="$lt_nm_to_check nm"
4433 for lt_tmp_nm in $lt_nm_to_check; do
4434 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
4435 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
4436 IFS="$lt_save_ifs"
4437 test -z "$ac_dir" && ac_dir=.
4438 tmp_nm="$ac_dir/$lt_tmp_nm"
4439 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
4440 # Check to see if the nm accepts a BSD-compat flag.
4441 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
4442 # nm: unknown option "B" ignored
4443 # Tru64's nm complains that /dev/null is an invalid object file
4444 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
4445 */dev/null* | *'Invalid file or object type'*)
4446 lt_cv_path_NM="$tmp_nm -B"
4447 break
4450 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
4451 */dev/null*)
4452 lt_cv_path_NM="$tmp_nm -p"
4453 break
4456 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
4457 continue # so that we can try to find one that supports BSD flags
4459 esac
4461 esac
4463 done
4464 IFS="$lt_save_ifs"
4465 done
4466 : ${lt_cv_path_NM=no}
4469 echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
4470 echo "${ECHO_T}$lt_cv_path_NM" >&6
4471 if test "$lt_cv_path_NM" != "no"; then
4472 NM="$lt_cv_path_NM"
4473 else
4474 # Didn't find any BSD compatible name lister, look for dumpbin.
4475 if test -n "$ac_tool_prefix"; then
4476 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4478 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4479 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4480 echo "$as_me:$LINENO: checking for $ac_word" >&5
4481 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4482 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
4483 echo $ECHO_N "(cached) $ECHO_C" >&6
4484 else
4485 if test -n "$DUMPBIN"; then
4486 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4495 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
4496 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4504 DUMPBIN=$ac_cv_prog_DUMPBIN
4505 if test -n "$DUMPBIN"; then
4506 echo "$as_me:$LINENO: result: $DUMPBIN" >&5
4507 echo "${ECHO_T}$DUMPBIN" >&6
4508 else
4509 echo "$as_me:$LINENO: result: no" >&5
4510 echo "${ECHO_T}no" >&6
4513 test -n "$DUMPBIN" && break
4514 done
4516 if test -z "$DUMPBIN"; then
4517 ac_ct_DUMPBIN=$DUMPBIN
4518 for ac_prog in "dumpbin -symbols" "link -dump -symbols"
4520 # Extract the first word of "$ac_prog", so it can be a program name with args.
4521 set dummy $ac_prog; ac_word=$2
4522 echo "$as_me:$LINENO: checking for $ac_word" >&5
4523 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4524 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
4525 echo $ECHO_N "(cached) $ECHO_C" >&6
4526 else
4527 if test -n "$ac_ct_DUMPBIN"; then
4528 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
4529 else
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH
4533 IFS=$as_save_IFS
4534 test -z "$as_dir" && as_dir=.
4535 for ac_exec_ext in '' $ac_executable_extensions; do
4536 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4537 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
4538 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4539 break 2
4541 done
4542 done
4546 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
4547 if test -n "$ac_ct_DUMPBIN"; then
4548 echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
4549 echo "${ECHO_T}$ac_ct_DUMPBIN" >&6
4550 else
4551 echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6
4555 test -n "$ac_ct_DUMPBIN" && break
4556 done
4557 test -n "$ac_ct_DUMPBIN" || ac_ct_DUMPBIN=":"
4559 DUMPBIN=$ac_ct_DUMPBIN
4563 if test "$DUMPBIN" != ":"; then
4564 NM="$DUMPBIN"
4567 test -z "$NM" && NM=nm
4574 echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
4575 echo $ECHO_N "checking the name lister ($NM) interface... $ECHO_C" >&6
4576 if test "${lt_cv_nm_interface+set}" = set; then
4577 echo $ECHO_N "(cached) $ECHO_C" >&6
4578 else
4579 lt_cv_nm_interface="BSD nm"
4580 echo "int some_variable = 0;" > conftest.$ac_ext
4581 (eval echo "\"\$as_me:4581: $ac_compile\"" >&5)
4582 (eval "$ac_compile" 2>conftest.err)
4583 cat conftest.err >&5
4584 (eval echo "\"\$as_me:4584: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
4585 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
4586 cat conftest.err >&5
4587 (eval echo "\"\$as_me:4587: output\"" >&5)
4588 cat conftest.out >&5
4589 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
4590 lt_cv_nm_interface="MS dumpbin"
4592 rm -f conftest*
4594 echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
4595 echo "${ECHO_T}$lt_cv_nm_interface" >&6
4597 # find the maximum length of command line arguments
4598 echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
4599 echo $ECHO_N "checking the maximum length of command line arguments... $ECHO_C" >&6
4600 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
4601 echo $ECHO_N "(cached) $ECHO_C" >&6
4602 else
4604 teststring="ABCD"
4606 case $build_os in
4607 msdosdjgpp*)
4608 # On DJGPP, this test can blow up pretty badly due to problems in libc
4609 # (any single argument exceeding 2000 bytes causes a buffer overrun
4610 # during glob expansion). Even if it were fixed, the result of this
4611 # check would be larger than it should be.
4612 lt_cv_sys_max_cmd_len=12288; # 12K is about right
4615 gnu*)
4616 # Under GNU Hurd, this test is not required because there is
4617 # no limit to the length of command line arguments.
4618 # Libtool will interpret -1 as no limit whatsoever
4619 lt_cv_sys_max_cmd_len=-1;
4622 cygwin* | mingw* | cegcc*)
4623 # On Win9x/ME, this test blows up -- it succeeds, but takes
4624 # about 5 minutes as the teststring grows exponentially.
4625 # Worse, since 9x/ME are not pre-emptively multitasking,
4626 # you end up with a "frozen" computer, even though with patience
4627 # the test eventually succeeds (with a max line length of 256k).
4628 # Instead, let's just punt: use the minimum linelength reported by
4629 # all of the supported platforms: 8192 (on NT/2K/XP).
4630 lt_cv_sys_max_cmd_len=8192;
4633 amigaos*)
4634 # On AmigaOS with pdksh, this test takes hours, literally.
4635 # So we just punt and use a minimum line length of 8192.
4636 lt_cv_sys_max_cmd_len=8192;
4639 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
4640 # This has been around since 386BSD, at least. Likely further.
4641 if test -x /sbin/sysctl; then
4642 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
4643 elif test -x /usr/sbin/sysctl; then
4644 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
4645 else
4646 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
4648 # And add a safety zone
4649 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4650 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4653 interix*)
4654 # We know the value 262144 and hardcode it with a safety zone (like BSD)
4655 lt_cv_sys_max_cmd_len=196608
4658 osf*)
4659 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
4660 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
4661 # nice to cause kernel panics so lets avoid the loop below.
4662 # First set a reasonable default.
4663 lt_cv_sys_max_cmd_len=16384
4665 if test -x /sbin/sysconfig; then
4666 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
4667 *1*) lt_cv_sys_max_cmd_len=-1 ;;
4668 esac
4671 sco3.2v5*)
4672 lt_cv_sys_max_cmd_len=102400
4674 sysv5* | sco5v6* | sysv4.2uw2*)
4675 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
4676 if test -n "$kargmax"; then
4677 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
4678 else
4679 lt_cv_sys_max_cmd_len=32768
4683 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
4684 if test -n "$lt_cv_sys_max_cmd_len"; then
4685 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
4686 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
4687 else
4688 # Make teststring a little bigger before we do anything with it.
4689 # a 1K string should be a reasonable start.
4690 for i in 1 2 3 4 5 6 7 8 ; do
4691 teststring=$teststring$teststring
4692 done
4693 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
4694 # If test is not a shell built-in, we'll probably end up computing a
4695 # maximum length that is only half of the actual maximum length, but
4696 # we can't tell.
4697 while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
4698 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
4699 test $i != 17 # 1/2 MB should be enough
4701 i=`expr $i + 1`
4702 teststring=$teststring$teststring
4703 done
4704 # Only check the string length outside the loop.
4705 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
4706 teststring=
4707 # Add a significant safety factor because C++ compilers can tack on
4708 # massive amounts of additional arguments before passing them to the
4709 # linker. It appears as though 1/2 is a usable value.
4710 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
4713 esac
4717 if test -n $lt_cv_sys_max_cmd_len ; then
4718 echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
4719 echo "${ECHO_T}$lt_cv_sys_max_cmd_len" >&6
4720 else
4721 echo "$as_me:$LINENO: result: none" >&5
4722 echo "${ECHO_T}none" >&6
4724 max_cmd_len=$lt_cv_sys_max_cmd_len
4731 : ${CP="cp -f"}
4732 : ${MV="mv -f"}
4733 : ${RM="rm -f"}
4735 echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
4736 echo $ECHO_N "checking whether the shell understands some XSI constructs... $ECHO_C" >&6
4737 # Try some XSI features
4738 xsi_shell=no
4739 ( _lt_dummy="a/b/c"
4740 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
4741 = c,a/b,, \
4742 && eval 'test $(( 1 + 1 )) -eq 2 \
4743 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
4744 && xsi_shell=yes
4745 echo "$as_me:$LINENO: result: $xsi_shell" >&5
4746 echo "${ECHO_T}$xsi_shell" >&6
4749 echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
4750 echo $ECHO_N "checking whether the shell understands \"+=\"... $ECHO_C" >&6
4751 lt_shell_append=no
4752 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
4753 >/dev/null 2>&1 \
4754 && lt_shell_append=yes
4755 echo "$as_me:$LINENO: result: $lt_shell_append" >&5
4756 echo "${ECHO_T}$lt_shell_append" >&6
4759 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4760 lt_unset=unset
4761 else
4762 lt_unset=false
4769 # test EBCDIC or ASCII
4770 case `echo X|tr X '\101'` in
4771 A) # ASCII based system
4772 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
4773 lt_SP2NL='tr \040 \012'
4774 lt_NL2SP='tr \015\012 \040\040'
4776 *) # EBCDIC based system
4777 lt_SP2NL='tr \100 \n'
4778 lt_NL2SP='tr \r\n \100\100'
4780 esac
4790 echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
4791 echo $ECHO_N "checking for $LD option to reload object files... $ECHO_C" >&6
4792 if test "${lt_cv_ld_reload_flag+set}" = set; then
4793 echo $ECHO_N "(cached) $ECHO_C" >&6
4794 else
4795 lt_cv_ld_reload_flag='-r'
4797 echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
4798 echo "${ECHO_T}$lt_cv_ld_reload_flag" >&6
4799 reload_flag=$lt_cv_ld_reload_flag
4800 case $reload_flag in
4801 "" | " "*) ;;
4802 *) reload_flag=" $reload_flag" ;;
4803 esac
4804 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4805 case $host_os in
4806 darwin*)
4807 if test "$GCC" = yes; then
4808 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
4809 else
4810 reload_cmds='$LD$reload_flag -o $output$reload_objs'
4813 esac
4823 if test -n "$ac_tool_prefix"; then
4824 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
4825 set dummy ${ac_tool_prefix}objdump; ac_word=$2
4826 echo "$as_me:$LINENO: checking for $ac_word" >&5
4827 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4828 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
4829 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 else
4831 if test -n "$OBJDUMP"; then
4832 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
4842 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4850 OBJDUMP=$ac_cv_prog_OBJDUMP
4851 if test -n "$OBJDUMP"; then
4852 echo "$as_me:$LINENO: result: $OBJDUMP" >&5
4853 echo "${ECHO_T}$OBJDUMP" >&6
4854 else
4855 echo "$as_me:$LINENO: result: no" >&5
4856 echo "${ECHO_T}no" >&6
4860 if test -z "$ac_cv_prog_OBJDUMP"; then
4861 ac_ct_OBJDUMP=$OBJDUMP
4862 # Extract the first word of "objdump", so it can be a program name with args.
4863 set dummy objdump; ac_word=$2
4864 echo "$as_me:$LINENO: checking for $ac_word" >&5
4865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
4866 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
4867 echo $ECHO_N "(cached) $ECHO_C" >&6
4868 else
4869 if test -n "$ac_ct_OBJDUMP"; then
4870 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4875 IFS=$as_save_IFS
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_ac_ct_OBJDUMP="objdump"
4880 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 break 2
4883 done
4884 done
4886 test -z "$ac_cv_prog_ac_ct_OBJDUMP" && ac_cv_prog_ac_ct_OBJDUMP="false"
4889 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
4890 if test -n "$ac_ct_OBJDUMP"; then
4891 echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
4892 echo "${ECHO_T}$ac_ct_OBJDUMP" >&6
4893 else
4894 echo "$as_me:$LINENO: result: no" >&5
4895 echo "${ECHO_T}no" >&6
4898 OBJDUMP=$ac_ct_OBJDUMP
4899 else
4900 OBJDUMP="$ac_cv_prog_OBJDUMP"
4903 test -z "$OBJDUMP" && OBJDUMP=objdump
4913 echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
4914 echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6
4915 if test "${lt_cv_deplibs_check_method+set}" = set; then
4916 echo $ECHO_N "(cached) $ECHO_C" >&6
4917 else
4918 lt_cv_file_magic_cmd='$MAGIC_CMD'
4919 lt_cv_file_magic_test_file=
4920 lt_cv_deplibs_check_method='unknown'
4921 # Need to set the preceding variable on all platforms that support
4922 # interlibrary dependencies.
4923 # 'none' -- dependencies not supported.
4924 # `unknown' -- same as none, but documents that we really don't know.
4925 # 'pass_all' -- all dependencies passed with no checks.
4926 # 'test_compile' -- check by making test program.
4927 # 'file_magic [[regex]]' -- check by looking for files in library path
4928 # which responds to the $file_magic_cmd with a given extended regex.
4929 # If you have `file' or equivalent on your system and you're not sure
4930 # whether `pass_all' will *always* work, you probably want this one.
4932 case $host_os in
4933 aix[4-9]*)
4934 lt_cv_deplibs_check_method=pass_all
4937 beos*)
4938 lt_cv_deplibs_check_method=pass_all
4941 bsdi[45]*)
4942 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
4943 lt_cv_file_magic_cmd='/usr/bin/file -L'
4944 lt_cv_file_magic_test_file=/shlib/libc.so
4947 cygwin*)
4948 # func_win32_libid is a shell function defined in ltmain.sh
4949 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4950 lt_cv_file_magic_cmd='func_win32_libid'
4953 mingw* | pw32*)
4954 # Base MSYS/MinGW do not provide the 'file' command needed by
4955 # func_win32_libid shell function, so use a weaker test based on 'objdump',
4956 # unless we find 'file', for example because we are cross-compiling.
4957 if ( file / ) >/dev/null 2>&1; then
4958 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
4959 lt_cv_file_magic_cmd='func_win32_libid'
4960 else
4961 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4962 lt_cv_file_magic_cmd='$OBJDUMP -f'
4966 cegcc)
4967 # use the weaker test based on 'objdump'. See mingw*.
4968 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
4969 lt_cv_file_magic_cmd='$OBJDUMP -f'
4972 darwin* | rhapsody*)
4973 lt_cv_deplibs_check_method=pass_all
4976 freebsd* | dragonfly*)
4977 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
4978 case $host_cpu in
4979 i*86 )
4980 # Not sure whether the presence of OpenBSD here was a mistake.
4981 # Let's accept both of them until this is cleared up.
4982 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
4983 lt_cv_file_magic_cmd=/usr/bin/file
4984 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4986 esac
4987 else
4988 lt_cv_deplibs_check_method=pass_all
4992 gnu*)
4993 lt_cv_deplibs_check_method=pass_all
4996 hpux10.20* | hpux11*)
4997 lt_cv_file_magic_cmd=/usr/bin/file
4998 case $host_cpu in
4999 ia64*)
5000 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
5001 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5003 hppa*64*)
5004 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]'
5005 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5008 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
5009 lt_cv_file_magic_test_file=/usr/lib/libc.sl
5011 esac
5014 interix[3-9]*)
5015 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
5016 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
5019 irix5* | irix6* | nonstopux*)
5020 case $LD in
5021 *-32|*"-32 ") libmagic=32-bit;;
5022 *-n32|*"-n32 ") libmagic=N32;;
5023 *-64|*"-64 ") libmagic=64-bit;;
5024 *) libmagic=never-match;;
5025 esac
5026 lt_cv_deplibs_check_method=pass_all
5029 # This must be Linux ELF.
5030 linux* | k*bsd*-gnu | kopensolaris*-gnu)
5031 lt_cv_deplibs_check_method=pass_all
5034 netbsd*)
5035 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
5036 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5037 else
5038 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
5042 newos6*)
5043 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
5044 lt_cv_file_magic_cmd=/usr/bin/file
5045 lt_cv_file_magic_test_file=/usr/lib/libnls.so
5048 *nto* | *qnx*)
5049 lt_cv_deplibs_check_method=pass_all
5052 openbsd*)
5053 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
5054 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
5055 else
5056 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
5060 osf3* | osf4* | osf5*)
5061 lt_cv_deplibs_check_method=pass_all
5064 rdos*)
5065 lt_cv_deplibs_check_method=pass_all
5068 solaris*)
5069 lt_cv_deplibs_check_method=pass_all
5072 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
5073 lt_cv_deplibs_check_method=pass_all
5076 sysv4 | sysv4.3*)
5077 case $host_vendor in
5078 motorola)
5079 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]'
5080 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
5082 ncr)
5083 lt_cv_deplibs_check_method=pass_all
5085 sequent)
5086 lt_cv_file_magic_cmd='/bin/file'
5087 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
5089 sni)
5090 lt_cv_file_magic_cmd='/bin/file'
5091 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
5092 lt_cv_file_magic_test_file=/lib/libc.so
5094 siemens)
5095 lt_cv_deplibs_check_method=pass_all
5098 lt_cv_deplibs_check_method=pass_all
5100 esac
5103 tpf*)
5104 lt_cv_deplibs_check_method=pass_all
5106 esac
5109 echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
5110 echo "${ECHO_T}$lt_cv_deplibs_check_method" >&6
5111 file_magic_cmd=$lt_cv_file_magic_cmd
5112 deplibs_check_method=$lt_cv_deplibs_check_method
5113 test -z "$deplibs_check_method" && deplibs_check_method=unknown
5126 if test -n "$ac_tool_prefix"; then
5127 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5128 set dummy ${ac_tool_prefix}ar; ac_word=$2
5129 echo "$as_me:$LINENO: checking for $ac_word" >&5
5130 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5131 if test "${ac_cv_prog_AR+set}" = set; then
5132 echo $ECHO_N "(cached) $ECHO_C" >&6
5133 else
5134 if test -n "$AR"; then
5135 ac_cv_prog_AR="$AR" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_AR="${ac_tool_prefix}ar"
5145 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5153 AR=$ac_cv_prog_AR
5154 if test -n "$AR"; then
5155 echo "$as_me:$LINENO: result: $AR" >&5
5156 echo "${ECHO_T}$AR" >&6
5157 else
5158 echo "$as_me:$LINENO: result: no" >&5
5159 echo "${ECHO_T}no" >&6
5163 if test -z "$ac_cv_prog_AR"; then
5164 ac_ct_AR=$AR
5165 # Extract the first word of "ar", so it can be a program name with args.
5166 set dummy ar; ac_word=$2
5167 echo "$as_me:$LINENO: checking for $ac_word" >&5
5168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5169 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
5170 echo $ECHO_N "(cached) $ECHO_C" >&6
5171 else
5172 if test -n "$ac_ct_AR"; then
5173 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5174 else
5175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5176 for as_dir in $PATH
5178 IFS=$as_save_IFS
5179 test -z "$as_dir" && as_dir=.
5180 for ac_exec_ext in '' $ac_executable_extensions; do
5181 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5182 ac_cv_prog_ac_ct_AR="ar"
5183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5184 break 2
5186 done
5187 done
5189 test -z "$ac_cv_prog_ac_ct_AR" && ac_cv_prog_ac_ct_AR="false"
5192 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5193 if test -n "$ac_ct_AR"; then
5194 echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
5195 echo "${ECHO_T}$ac_ct_AR" >&6
5196 else
5197 echo "$as_me:$LINENO: result: no" >&5
5198 echo "${ECHO_T}no" >&6
5201 AR=$ac_ct_AR
5202 else
5203 AR="$ac_cv_prog_AR"
5206 test -z "$AR" && AR=ar
5207 test -z "$AR_FLAGS" && AR_FLAGS=cru
5219 if test -n "$ac_tool_prefix"; then
5220 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5221 set dummy ${ac_tool_prefix}strip; ac_word=$2
5222 echo "$as_me:$LINENO: checking for $ac_word" >&5
5223 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5224 if test "${ac_cv_prog_STRIP+set}" = set; then
5225 echo $ECHO_N "(cached) $ECHO_C" >&6
5226 else
5227 if test -n "$STRIP"; then
5228 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5229 else
5230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5231 for as_dir in $PATH
5233 IFS=$as_save_IFS
5234 test -z "$as_dir" && as_dir=.
5235 for ac_exec_ext in '' $ac_executable_extensions; do
5236 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5237 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5238 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5239 break 2
5241 done
5242 done
5246 STRIP=$ac_cv_prog_STRIP
5247 if test -n "$STRIP"; then
5248 echo "$as_me:$LINENO: result: $STRIP" >&5
5249 echo "${ECHO_T}$STRIP" >&6
5250 else
5251 echo "$as_me:$LINENO: result: no" >&5
5252 echo "${ECHO_T}no" >&6
5256 if test -z "$ac_cv_prog_STRIP"; then
5257 ac_ct_STRIP=$STRIP
5258 # Extract the first word of "strip", so it can be a program name with args.
5259 set dummy strip; ac_word=$2
5260 echo "$as_me:$LINENO: checking for $ac_word" >&5
5261 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5262 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
5263 echo $ECHO_N "(cached) $ECHO_C" >&6
5264 else
5265 if test -n "$ac_ct_STRIP"; then
5266 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5267 else
5268 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5269 for as_dir in $PATH
5271 IFS=$as_save_IFS
5272 test -z "$as_dir" && as_dir=.
5273 for ac_exec_ext in '' $ac_executable_extensions; do
5274 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5275 ac_cv_prog_ac_ct_STRIP="strip"
5276 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5277 break 2
5279 done
5280 done
5282 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
5285 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5286 if test -n "$ac_ct_STRIP"; then
5287 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
5288 echo "${ECHO_T}$ac_ct_STRIP" >&6
5289 else
5290 echo "$as_me:$LINENO: result: no" >&5
5291 echo "${ECHO_T}no" >&6
5294 STRIP=$ac_ct_STRIP
5295 else
5296 STRIP="$ac_cv_prog_STRIP"
5299 test -z "$STRIP" && STRIP=:
5306 if test -n "$ac_tool_prefix"; then
5307 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5308 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5309 echo "$as_me:$LINENO: checking for $ac_word" >&5
5310 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5311 if test "${ac_cv_prog_RANLIB+set}" = set; then
5312 echo $ECHO_N "(cached) $ECHO_C" >&6
5313 else
5314 if test -n "$RANLIB"; then
5315 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5316 else
5317 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5318 for as_dir in $PATH
5320 IFS=$as_save_IFS
5321 test -z "$as_dir" && as_dir=.
5322 for ac_exec_ext in '' $ac_executable_extensions; do
5323 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5324 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5325 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5326 break 2
5328 done
5329 done
5333 RANLIB=$ac_cv_prog_RANLIB
5334 if test -n "$RANLIB"; then
5335 echo "$as_me:$LINENO: result: $RANLIB" >&5
5336 echo "${ECHO_T}$RANLIB" >&6
5337 else
5338 echo "$as_me:$LINENO: result: no" >&5
5339 echo "${ECHO_T}no" >&6
5343 if test -z "$ac_cv_prog_RANLIB"; then
5344 ac_ct_RANLIB=$RANLIB
5345 # Extract the first word of "ranlib", so it can be a program name with args.
5346 set dummy ranlib; ac_word=$2
5347 echo "$as_me:$LINENO: checking for $ac_word" >&5
5348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5349 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351 else
5352 if test -n "$ac_ct_RANLIB"; then
5353 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5354 else
5355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5356 for as_dir in $PATH
5358 IFS=$as_save_IFS
5359 test -z "$as_dir" && as_dir=.
5360 for ac_exec_ext in '' $ac_executable_extensions; do
5361 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5362 ac_cv_prog_ac_ct_RANLIB="ranlib"
5363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5364 break 2
5366 done
5367 done
5369 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
5372 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5373 if test -n "$ac_ct_RANLIB"; then
5374 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
5375 echo "${ECHO_T}$ac_ct_RANLIB" >&6
5376 else
5377 echo "$as_me:$LINENO: result: no" >&5
5378 echo "${ECHO_T}no" >&6
5381 RANLIB=$ac_ct_RANLIB
5382 else
5383 RANLIB="$ac_cv_prog_RANLIB"
5386 test -z "$RANLIB" && RANLIB=:
5393 # Determine commands to create old-style static archives.
5394 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
5395 old_postinstall_cmds='chmod 644 $oldlib'
5396 old_postuninstall_cmds=
5398 if test -n "$RANLIB"; then
5399 case $host_os in
5400 openbsd*)
5401 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
5404 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
5406 esac
5407 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5443 # If no C compiler was specified, use CC.
5444 LTCC=${LTCC-"$CC"}
5446 # If no C compiler flags were specified, use CFLAGS.
5447 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
5449 # Allow CC to be a program name with arguments.
5450 compiler=$CC
5453 # Check for command to grab the raw symbol name followed by C symbol from nm.
5454 echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
5455 echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6
5456 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
5457 echo $ECHO_N "(cached) $ECHO_C" >&6
5458 else
5460 # These are sane defaults that work on at least a few old systems.
5461 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
5463 # Character class describing NM global symbol codes.
5464 symcode='[BCDEGRST]'
5466 # Regexp to match symbols that can be accessed directly from C.
5467 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5469 # Define system-specific variables.
5470 case $host_os in
5471 aix*)
5472 symcode='[BCDT]'
5474 cygwin* | mingw* | pw32* | cegcc*)
5475 symcode='[ABCDGISTW]'
5477 hpux*)
5478 if test "$host_cpu" = ia64; then
5479 symcode='[ABCDEGRST]'
5482 irix* | nonstopux*)
5483 symcode='[BCDEGRST]'
5485 osf*)
5486 symcode='[BCDEGQRST]'
5488 solaris*)
5489 symcode='[BDRT]'
5491 sco3.2v5*)
5492 symcode='[DT]'
5494 sysv4.2uw2*)
5495 symcode='[DT]'
5497 sysv5* | sco5v6* | unixware* | OpenUNIX*)
5498 symcode='[ABDT]'
5500 sysv4)
5501 symcode='[DFNSTU]'
5503 esac
5505 # If we're using GNU nm, then use its standard symbol codes.
5506 case `$NM -V 2>&1` in
5507 *GNU* | *'with BFD'*)
5508 symcode='[ABCDGIRSTW]' ;;
5509 esac
5511 # Transform an extracted symbol line into a proper C declaration.
5512 # Some systems (esp. on ia64) link data and code symbols differently,
5513 # so use this general approach.
5514 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5516 # Transform an extracted symbol line into symbol name and symbol address
5517 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
5518 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
5520 # Handle CRLF in mingw tool chain
5521 opt_cr=
5522 case $build_os in
5523 mingw*)
5524 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
5526 esac
5528 # Try without a prefix underscore, then with it.
5529 for ac_symprfx in "" "_"; do
5531 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
5532 symxfrm="\\1 $ac_symprfx\\2 \\2"
5534 # Write the raw and C identifiers.
5535 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
5536 # Fake it for dumpbin and say T for any non-static function
5537 # and D for any global variable.
5538 # Also find C++ and __fastcall symbols from MSVC++,
5539 # which start with @ or ?.
5540 lt_cv_sys_global_symbol_pipe="$AWK '"\
5541 " {last_section=section; section=\$ 3};"\
5542 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
5543 " \$ 0!~/External *\|/{next};"\
5544 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
5545 " {if(hide[section]) next};"\
5546 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
5547 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
5548 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
5549 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
5550 " ' prfx=^$ac_symprfx"
5551 else
5552 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5555 # Check to see that the pipe works correctly.
5556 pipe_works=no
5558 rm -f conftest*
5559 cat > conftest.$ac_ext <<_LT_EOF
5560 #ifdef __cplusplus
5561 extern "C" {
5562 #endif
5563 char nm_test_var;
5564 void nm_test_func(void);
5565 void nm_test_func(void){}
5566 #ifdef __cplusplus
5568 #endif
5569 int main(){nm_test_var='a';nm_test_func();return(0);}
5570 _LT_EOF
5572 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5573 (eval $ac_compile) 2>&5
5574 ac_status=$?
5575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5576 (exit $ac_status); }; then
5577 # Now try to grab the symbols.
5578 nlist=conftest.nm
5579 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
5580 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
5581 ac_status=$?
5582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5583 (exit $ac_status); } && test -s "$nlist"; then
5584 # Try sorting and uniquifying the output.
5585 if sort "$nlist" | uniq > "$nlist"T; then
5586 mv -f "$nlist"T "$nlist"
5587 else
5588 rm -f "$nlist"T
5591 # Make sure that we snagged all the symbols we need.
5592 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
5593 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
5594 cat <<_LT_EOF > conftest.$ac_ext
5595 #ifdef __cplusplus
5596 extern "C" {
5597 #endif
5599 _LT_EOF
5600 # Now generate the symbol file.
5601 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
5603 cat <<_LT_EOF >> conftest.$ac_ext
5605 /* The mapping between symbol names and symbols. */
5606 const struct {
5607 const char *name;
5608 void *address;
5610 lt__PROGRAM__LTX_preloaded_symbols[] =
5612 { "@PROGRAM@", (void *) 0 },
5613 _LT_EOF
5614 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
5615 cat <<\_LT_EOF >> conftest.$ac_ext
5616 {0, (void *) 0}
5619 /* This works around a problem in FreeBSD linker */
5620 #ifdef FREEBSD_WORKAROUND
5621 static const void *lt_preloaded_setup() {
5622 return lt__PROGRAM__LTX_preloaded_symbols;
5624 #endif
5626 #ifdef __cplusplus
5628 #endif
5629 _LT_EOF
5630 # Now try linking the two files.
5631 mv conftest.$ac_objext conftstm.$ac_objext
5632 lt_save_LIBS="$LIBS"
5633 lt_save_CFLAGS="$CFLAGS"
5634 LIBS="conftstm.$ac_objext"
5635 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
5636 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5637 (eval $ac_link) 2>&5
5638 ac_status=$?
5639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5640 (exit $ac_status); } && test -s conftest${ac_exeext}; then
5641 pipe_works=yes
5643 LIBS="$lt_save_LIBS"
5644 CFLAGS="$lt_save_CFLAGS"
5645 else
5646 echo "cannot find nm_test_func in $nlist" >&5
5648 else
5649 echo "cannot find nm_test_var in $nlist" >&5
5651 else
5652 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
5654 else
5655 echo "$progname: failed program was:" >&5
5656 cat conftest.$ac_ext >&5
5658 rm -rf conftest* conftst*
5660 # Do not use the global_symbol_pipe unless it works.
5661 if test "$pipe_works" = yes; then
5662 break
5663 else
5664 lt_cv_sys_global_symbol_pipe=
5666 done
5670 if test -z "$lt_cv_sys_global_symbol_pipe"; then
5671 lt_cv_sys_global_symbol_to_cdecl=
5673 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
5674 echo "$as_me:$LINENO: result: failed" >&5
5675 echo "${ECHO_T}failed" >&6
5676 else
5677 echo "$as_me:$LINENO: result: ok" >&5
5678 echo "${ECHO_T}ok" >&6
5702 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
5703 if test "${enable_libtool_lock+set}" = set; then
5704 enableval="$enable_libtool_lock"
5707 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
5709 # Some flags need to be propagated to the compiler or linker for good
5710 # libtool support.
5711 case $host in
5712 ia64-*-hpux*)
5713 # Find out which ABI we are using.
5714 echo 'int i;' > conftest.$ac_ext
5715 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5716 (eval $ac_compile) 2>&5
5717 ac_status=$?
5718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5719 (exit $ac_status); }; then
5720 case `/usr/bin/file conftest.$ac_objext` in
5721 *ELF-32*)
5722 HPUX_IA64_MODE="32"
5724 *ELF-64*)
5725 HPUX_IA64_MODE="64"
5727 esac
5729 rm -rf conftest*
5731 *-*-irix6*)
5732 # Find out which ABI we are using.
5733 echo '#line 5733 "configure"' > conftest.$ac_ext
5734 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5735 (eval $ac_compile) 2>&5
5736 ac_status=$?
5737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5738 (exit $ac_status); }; then
5739 if test "$lt_cv_prog_gnu_ld" = yes; then
5740 case `/usr/bin/file conftest.$ac_objext` in
5741 *32-bit*)
5742 LD="${LD-ld} -melf32bsmip"
5744 *N32*)
5745 LD="${LD-ld} -melf32bmipn32"
5747 *64-bit*)
5748 LD="${LD-ld} -melf64bmip"
5750 esac
5751 else
5752 case `/usr/bin/file conftest.$ac_objext` in
5753 *32-bit*)
5754 LD="${LD-ld} -32"
5756 *N32*)
5757 LD="${LD-ld} -n32"
5759 *64-bit*)
5760 LD="${LD-ld} -64"
5762 esac
5765 rm -rf conftest*
5768 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
5769 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
5770 # Find out which ABI we are using.
5771 echo 'int i;' > conftest.$ac_ext
5772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5773 (eval $ac_compile) 2>&5
5774 ac_status=$?
5775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5776 (exit $ac_status); }; then
5777 case `/usr/bin/file conftest.o` in
5778 *32-bit*)
5779 case $host in
5780 x86_64-*kfreebsd*-gnu)
5781 LD="${LD-ld} -m elf_i386_fbsd"
5783 x86_64-*linux*)
5784 LD="${LD-ld} -m elf_i386"
5786 ppc64-*linux*|powerpc64-*linux*)
5787 LD="${LD-ld} -m elf32ppclinux"
5789 s390x-*linux*)
5790 LD="${LD-ld} -m elf_s390"
5792 sparc64-*linux*)
5793 LD="${LD-ld} -m elf32_sparc"
5795 esac
5797 *64-bit*)
5798 case $host in
5799 x86_64-*kfreebsd*-gnu)
5800 LD="${LD-ld} -m elf_x86_64_fbsd"
5802 x86_64-*linux*)
5803 LD="${LD-ld} -m elf_x86_64"
5805 ppc*-*linux*|powerpc*-*linux*)
5806 LD="${LD-ld} -m elf64ppc"
5808 s390*-*linux*|s390*-*tpf*)
5809 LD="${LD-ld} -m elf64_s390"
5811 sparc*-*linux*)
5812 LD="${LD-ld} -m elf64_sparc"
5814 esac
5816 esac
5818 rm -rf conftest*
5821 *-*-sco3.2v5*)
5822 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
5823 SAVE_CFLAGS="$CFLAGS"
5824 CFLAGS="$CFLAGS -belf"
5825 echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
5826 echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
5827 if test "${lt_cv_cc_needs_belf+set}" = set; then
5828 echo $ECHO_N "(cached) $ECHO_C" >&6
5829 else
5830 ac_ext=c
5831 ac_cpp='$CPP $CPPFLAGS'
5832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5836 if test x$gcc_no_link = xyes; then
5837 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
5838 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
5839 { (exit 1); exit 1; }; }
5841 cat >conftest.$ac_ext <<_ACEOF
5842 /* confdefs.h. */
5843 _ACEOF
5844 cat confdefs.h >>conftest.$ac_ext
5845 cat >>conftest.$ac_ext <<_ACEOF
5846 /* end confdefs.h. */
5849 main ()
5853 return 0;
5855 _ACEOF
5856 rm -f conftest.$ac_objext conftest$ac_exeext
5857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5858 (eval $ac_link) 2>conftest.er1
5859 ac_status=$?
5860 grep -v '^ *+' conftest.er1 >conftest.err
5861 rm -f conftest.er1
5862 cat conftest.err >&5
5863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864 (exit $ac_status); } &&
5865 { ac_try='test -z "$ac_c_werror_flag"
5866 || test ! -s conftest.err'
5867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5868 (eval $ac_try) 2>&5
5869 ac_status=$?
5870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5871 (exit $ac_status); }; } &&
5872 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
5878 lt_cv_cc_needs_belf=yes
5879 else
5880 echo "$as_me: failed program was:" >&5
5881 sed 's/^/| /' conftest.$ac_ext >&5
5883 lt_cv_cc_needs_belf=no
5885 rm -f conftest.err conftest.$ac_objext \
5886 conftest$ac_exeext conftest.$ac_ext
5887 ac_ext=c
5888 ac_cpp='$CPP $CPPFLAGS'
5889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5894 echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
5895 echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
5896 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
5897 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
5898 CFLAGS="$SAVE_CFLAGS"
5901 sparc*-*solaris*)
5902 # Find out which ABI we are using.
5903 echo 'int i;' > conftest.$ac_ext
5904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5905 (eval $ac_compile) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; then
5909 case `/usr/bin/file conftest.o` in
5910 *64-bit*)
5911 case $lt_cv_prog_gnu_ld in
5912 yes*) LD="${LD-ld} -m elf64_sparc" ;;
5914 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
5915 LD="${LD-ld} -64"
5918 esac
5920 esac
5922 rm -rf conftest*
5924 esac
5926 need_locks="$enable_libtool_lock"
5929 case $host_os in
5930 rhapsody* | darwin*)
5931 if test -n "$ac_tool_prefix"; then
5932 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
5933 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
5934 echo "$as_me:$LINENO: checking for $ac_word" >&5
5935 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5936 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
5937 echo $ECHO_N "(cached) $ECHO_C" >&6
5938 else
5939 if test -n "$DSYMUTIL"; then
5940 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
5941 else
5942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5943 for as_dir in $PATH
5945 IFS=$as_save_IFS
5946 test -z "$as_dir" && as_dir=.
5947 for ac_exec_ext in '' $ac_executable_extensions; do
5948 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5949 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
5950 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5951 break 2
5953 done
5954 done
5958 DSYMUTIL=$ac_cv_prog_DSYMUTIL
5959 if test -n "$DSYMUTIL"; then
5960 echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
5961 echo "${ECHO_T}$DSYMUTIL" >&6
5962 else
5963 echo "$as_me:$LINENO: result: no" >&5
5964 echo "${ECHO_T}no" >&6
5968 if test -z "$ac_cv_prog_DSYMUTIL"; then
5969 ac_ct_DSYMUTIL=$DSYMUTIL
5970 # Extract the first word of "dsymutil", so it can be a program name with args.
5971 set dummy dsymutil; ac_word=$2
5972 echo "$as_me:$LINENO: checking for $ac_word" >&5
5973 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
5974 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
5975 echo $ECHO_N "(cached) $ECHO_C" >&6
5976 else
5977 if test -n "$ac_ct_DSYMUTIL"; then
5978 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
5979 else
5980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5981 for as_dir in $PATH
5983 IFS=$as_save_IFS
5984 test -z "$as_dir" && as_dir=.
5985 for ac_exec_ext in '' $ac_executable_extensions; do
5986 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5987 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
5988 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5989 break 2
5991 done
5992 done
5994 test -z "$ac_cv_prog_ac_ct_DSYMUTIL" && ac_cv_prog_ac_ct_DSYMUTIL=":"
5997 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
5998 if test -n "$ac_ct_DSYMUTIL"; then
5999 echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
6000 echo "${ECHO_T}$ac_ct_DSYMUTIL" >&6
6001 else
6002 echo "$as_me:$LINENO: result: no" >&5
6003 echo "${ECHO_T}no" >&6
6006 DSYMUTIL=$ac_ct_DSYMUTIL
6007 else
6008 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
6011 if test -n "$ac_tool_prefix"; then
6012 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
6013 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
6014 echo "$as_me:$LINENO: checking for $ac_word" >&5
6015 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6016 if test "${ac_cv_prog_NMEDIT+set}" = set; then
6017 echo $ECHO_N "(cached) $ECHO_C" >&6
6018 else
6019 if test -n "$NMEDIT"; then
6020 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
6021 else
6022 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6023 for as_dir in $PATH
6025 IFS=$as_save_IFS
6026 test -z "$as_dir" && as_dir=.
6027 for ac_exec_ext in '' $ac_executable_extensions; do
6028 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6029 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
6030 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6031 break 2
6033 done
6034 done
6038 NMEDIT=$ac_cv_prog_NMEDIT
6039 if test -n "$NMEDIT"; then
6040 echo "$as_me:$LINENO: result: $NMEDIT" >&5
6041 echo "${ECHO_T}$NMEDIT" >&6
6042 else
6043 echo "$as_me:$LINENO: result: no" >&5
6044 echo "${ECHO_T}no" >&6
6048 if test -z "$ac_cv_prog_NMEDIT"; then
6049 ac_ct_NMEDIT=$NMEDIT
6050 # Extract the first word of "nmedit", so it can be a program name with args.
6051 set dummy nmedit; ac_word=$2
6052 echo "$as_me:$LINENO: checking for $ac_word" >&5
6053 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6054 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
6055 echo $ECHO_N "(cached) $ECHO_C" >&6
6056 else
6057 if test -n "$ac_ct_NMEDIT"; then
6058 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_ac_ct_NMEDIT="nmedit"
6068 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6074 test -z "$ac_cv_prog_ac_ct_NMEDIT" && ac_cv_prog_ac_ct_NMEDIT=":"
6077 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
6078 if test -n "$ac_ct_NMEDIT"; then
6079 echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
6080 echo "${ECHO_T}$ac_ct_NMEDIT" >&6
6081 else
6082 echo "$as_me:$LINENO: result: no" >&5
6083 echo "${ECHO_T}no" >&6
6086 NMEDIT=$ac_ct_NMEDIT
6087 else
6088 NMEDIT="$ac_cv_prog_NMEDIT"
6091 if test -n "$ac_tool_prefix"; then
6092 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}lipo; ac_word=$2
6094 echo "$as_me:$LINENO: checking for $ac_word" >&5
6095 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6096 if test "${ac_cv_prog_LIPO+set}" = set; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6098 else
6099 if test -n "$LIPO"; then
6100 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
6110 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6118 LIPO=$ac_cv_prog_LIPO
6119 if test -n "$LIPO"; then
6120 echo "$as_me:$LINENO: result: $LIPO" >&5
6121 echo "${ECHO_T}$LIPO" >&6
6122 else
6123 echo "$as_me:$LINENO: result: no" >&5
6124 echo "${ECHO_T}no" >&6
6128 if test -z "$ac_cv_prog_LIPO"; then
6129 ac_ct_LIPO=$LIPO
6130 # Extract the first word of "lipo", so it can be a program name with args.
6131 set dummy lipo; ac_word=$2
6132 echo "$as_me:$LINENO: checking for $ac_word" >&5
6133 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6134 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
6135 echo $ECHO_N "(cached) $ECHO_C" >&6
6136 else
6137 if test -n "$ac_ct_LIPO"; then
6138 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
6139 else
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6141 for as_dir in $PATH
6143 IFS=$as_save_IFS
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_ac_ct_LIPO="lipo"
6148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6149 break 2
6151 done
6152 done
6154 test -z "$ac_cv_prog_ac_ct_LIPO" && ac_cv_prog_ac_ct_LIPO=":"
6157 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
6158 if test -n "$ac_ct_LIPO"; then
6159 echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
6160 echo "${ECHO_T}$ac_ct_LIPO" >&6
6161 else
6162 echo "$as_me:$LINENO: result: no" >&5
6163 echo "${ECHO_T}no" >&6
6166 LIPO=$ac_ct_LIPO
6167 else
6168 LIPO="$ac_cv_prog_LIPO"
6171 if test -n "$ac_tool_prefix"; then
6172 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
6173 set dummy ${ac_tool_prefix}otool; ac_word=$2
6174 echo "$as_me:$LINENO: checking for $ac_word" >&5
6175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6176 if test "${ac_cv_prog_OTOOL+set}" = set; then
6177 echo $ECHO_N "(cached) $ECHO_C" >&6
6178 else
6179 if test -n "$OTOOL"; then
6180 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
6181 else
6182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6183 for as_dir in $PATH
6185 IFS=$as_save_IFS
6186 test -z "$as_dir" && as_dir=.
6187 for ac_exec_ext in '' $ac_executable_extensions; do
6188 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6189 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
6190 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6191 break 2
6193 done
6194 done
6198 OTOOL=$ac_cv_prog_OTOOL
6199 if test -n "$OTOOL"; then
6200 echo "$as_me:$LINENO: result: $OTOOL" >&5
6201 echo "${ECHO_T}$OTOOL" >&6
6202 else
6203 echo "$as_me:$LINENO: result: no" >&5
6204 echo "${ECHO_T}no" >&6
6208 if test -z "$ac_cv_prog_OTOOL"; then
6209 ac_ct_OTOOL=$OTOOL
6210 # Extract the first word of "otool", so it can be a program name with args.
6211 set dummy otool; ac_word=$2
6212 echo "$as_me:$LINENO: checking for $ac_word" >&5
6213 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6214 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
6215 echo $ECHO_N "(cached) $ECHO_C" >&6
6216 else
6217 if test -n "$ac_ct_OTOOL"; then
6218 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
6219 else
6220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6221 for as_dir in $PATH
6223 IFS=$as_save_IFS
6224 test -z "$as_dir" && as_dir=.
6225 for ac_exec_ext in '' $ac_executable_extensions; do
6226 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6227 ac_cv_prog_ac_ct_OTOOL="otool"
6228 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6229 break 2
6231 done
6232 done
6234 test -z "$ac_cv_prog_ac_ct_OTOOL" && ac_cv_prog_ac_ct_OTOOL=":"
6237 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
6238 if test -n "$ac_ct_OTOOL"; then
6239 echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
6240 echo "${ECHO_T}$ac_ct_OTOOL" >&6
6241 else
6242 echo "$as_me:$LINENO: result: no" >&5
6243 echo "${ECHO_T}no" >&6
6246 OTOOL=$ac_ct_OTOOL
6247 else
6248 OTOOL="$ac_cv_prog_OTOOL"
6251 if test -n "$ac_tool_prefix"; then
6252 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
6253 set dummy ${ac_tool_prefix}otool64; ac_word=$2
6254 echo "$as_me:$LINENO: checking for $ac_word" >&5
6255 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6256 if test "${ac_cv_prog_OTOOL64+set}" = set; then
6257 echo $ECHO_N "(cached) $ECHO_C" >&6
6258 else
6259 if test -n "$OTOOL64"; then
6260 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
6261 else
6262 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6263 for as_dir in $PATH
6265 IFS=$as_save_IFS
6266 test -z "$as_dir" && as_dir=.
6267 for ac_exec_ext in '' $ac_executable_extensions; do
6268 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6269 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
6270 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6271 break 2
6273 done
6274 done
6278 OTOOL64=$ac_cv_prog_OTOOL64
6279 if test -n "$OTOOL64"; then
6280 echo "$as_me:$LINENO: result: $OTOOL64" >&5
6281 echo "${ECHO_T}$OTOOL64" >&6
6282 else
6283 echo "$as_me:$LINENO: result: no" >&5
6284 echo "${ECHO_T}no" >&6
6288 if test -z "$ac_cv_prog_OTOOL64"; then
6289 ac_ct_OTOOL64=$OTOOL64
6290 # Extract the first word of "otool64", so it can be a program name with args.
6291 set dummy otool64; ac_word=$2
6292 echo "$as_me:$LINENO: checking for $ac_word" >&5
6293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6294 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
6295 echo $ECHO_N "(cached) $ECHO_C" >&6
6296 else
6297 if test -n "$ac_ct_OTOOL64"; then
6298 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
6299 else
6300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6301 for as_dir in $PATH
6303 IFS=$as_save_IFS
6304 test -z "$as_dir" && as_dir=.
6305 for ac_exec_ext in '' $ac_executable_extensions; do
6306 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6307 ac_cv_prog_ac_ct_OTOOL64="otool64"
6308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6309 break 2
6311 done
6312 done
6314 test -z "$ac_cv_prog_ac_ct_OTOOL64" && ac_cv_prog_ac_ct_OTOOL64=":"
6317 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
6318 if test -n "$ac_ct_OTOOL64"; then
6319 echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
6320 echo "${ECHO_T}$ac_ct_OTOOL64" >&6
6321 else
6322 echo "$as_me:$LINENO: result: no" >&5
6323 echo "${ECHO_T}no" >&6
6326 OTOOL64=$ac_ct_OTOOL64
6327 else
6328 OTOOL64="$ac_cv_prog_OTOOL64"
6357 echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
6358 echo $ECHO_N "checking for -single_module linker flag... $ECHO_C" >&6
6359 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
6360 echo $ECHO_N "(cached) $ECHO_C" >&6
6361 else
6362 lt_cv_apple_cc_single_mod=no
6363 if test -z "${LT_MULTI_MODULE}"; then
6364 # By default we will add the -single_module flag. You can override
6365 # by either setting the environment variable LT_MULTI_MODULE
6366 # non-empty at configure time, or by adding -multi_module to the
6367 # link flags.
6368 rm -rf libconftest.dylib*
6369 echo "int foo(void){return 1;}" > conftest.c
6370 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6371 -dynamiclib -Wl,-single_module conftest.c" >&5
6372 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
6373 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
6374 _lt_result=$?
6375 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
6376 lt_cv_apple_cc_single_mod=yes
6377 else
6378 cat conftest.err >&5
6380 rm -rf libconftest.dylib*
6381 rm -f conftest.*
6384 echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
6385 echo "${ECHO_T}$lt_cv_apple_cc_single_mod" >&6
6386 echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
6387 echo $ECHO_N "checking for -exported_symbols_list linker flag... $ECHO_C" >&6
6388 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
6389 echo $ECHO_N "(cached) $ECHO_C" >&6
6390 else
6391 lt_cv_ld_exported_symbols_list=no
6392 save_LDFLAGS=$LDFLAGS
6393 echo "_main" > conftest.sym
6394 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
6395 if test x$gcc_no_link = xyes; then
6396 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
6397 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
6398 { (exit 1); exit 1; }; }
6400 cat >conftest.$ac_ext <<_ACEOF
6401 /* confdefs.h. */
6402 _ACEOF
6403 cat confdefs.h >>conftest.$ac_ext
6404 cat >>conftest.$ac_ext <<_ACEOF
6405 /* end confdefs.h. */
6408 main ()
6412 return 0;
6414 _ACEOF
6415 rm -f conftest.$ac_objext conftest$ac_exeext
6416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6417 (eval $ac_link) 2>conftest.er1
6418 ac_status=$?
6419 grep -v '^ *+' conftest.er1 >conftest.err
6420 rm -f conftest.er1
6421 cat conftest.err >&5
6422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6423 (exit $ac_status); } &&
6424 { ac_try='test -z "$ac_c_werror_flag"
6425 || test ! -s conftest.err'
6426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6427 (eval $ac_try) 2>&5
6428 ac_status=$?
6429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6430 (exit $ac_status); }; } &&
6431 { ac_try='test -s conftest$ac_exeext'
6432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6433 (eval $ac_try) 2>&5
6434 ac_status=$?
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); }; }; then
6437 lt_cv_ld_exported_symbols_list=yes
6438 else
6439 echo "$as_me: failed program was:" >&5
6440 sed 's/^/| /' conftest.$ac_ext >&5
6442 lt_cv_ld_exported_symbols_list=no
6444 rm -f conftest.err conftest.$ac_objext \
6445 conftest$ac_exeext conftest.$ac_ext
6446 LDFLAGS="$save_LDFLAGS"
6449 echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
6450 echo "${ECHO_T}$lt_cv_ld_exported_symbols_list" >&6
6451 case $host_os in
6452 rhapsody* | darwin1.[012])
6453 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
6454 darwin1.*)
6455 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6456 darwin*) # darwin 5.x on
6457 # if running on 10.5 or later, the deployment target defaults
6458 # to the OS version, if on x86, and 10.4, the deployment
6459 # target defaults to 10.4. Don't you love it?
6460 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
6461 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
6462 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6463 10.[012]*)
6464 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
6465 10.*)
6466 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
6467 esac
6469 esac
6470 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
6471 _lt_dar_single_mod='$single_module'
6473 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
6474 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
6475 else
6476 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
6478 if test "$DSYMUTIL" != ":"; then
6479 _lt_dsymutil='~$DSYMUTIL $lib || :'
6480 else
6481 _lt_dsymutil=
6484 esac
6486 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
6487 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
6488 if test "${ac_cv_header_stdc+set}" = set; then
6489 echo $ECHO_N "(cached) $ECHO_C" >&6
6490 else
6491 cat >conftest.$ac_ext <<_ACEOF
6492 /* confdefs.h. */
6493 _ACEOF
6494 cat confdefs.h >>conftest.$ac_ext
6495 cat >>conftest.$ac_ext <<_ACEOF
6496 /* end confdefs.h. */
6497 #include <stdlib.h>
6498 #include <stdarg.h>
6499 #include <string.h>
6500 #include <float.h>
6503 main ()
6507 return 0;
6509 _ACEOF
6510 rm -f conftest.$ac_objext
6511 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6512 (eval $ac_compile) 2>conftest.er1
6513 ac_status=$?
6514 grep -v '^ *+' conftest.er1 >conftest.err
6515 rm -f conftest.er1
6516 cat conftest.err >&5
6517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6518 (exit $ac_status); } &&
6519 { ac_try='test -z "$ac_c_werror_flag"
6520 || test ! -s conftest.err'
6521 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6522 (eval $ac_try) 2>&5
6523 ac_status=$?
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); }; } &&
6526 { ac_try='test -s conftest.$ac_objext'
6527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6528 (eval $ac_try) 2>&5
6529 ac_status=$?
6530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6531 (exit $ac_status); }; }; then
6532 ac_cv_header_stdc=yes
6533 else
6534 echo "$as_me: failed program was:" >&5
6535 sed 's/^/| /' conftest.$ac_ext >&5
6537 ac_cv_header_stdc=no
6539 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6541 if test $ac_cv_header_stdc = yes; then
6542 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6543 cat >conftest.$ac_ext <<_ACEOF
6544 /* confdefs.h. */
6545 _ACEOF
6546 cat confdefs.h >>conftest.$ac_ext
6547 cat >>conftest.$ac_ext <<_ACEOF
6548 /* end confdefs.h. */
6549 #include <string.h>
6551 _ACEOF
6552 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6553 $EGREP "memchr" >/dev/null 2>&1; then
6555 else
6556 ac_cv_header_stdc=no
6558 rm -f conftest*
6562 if test $ac_cv_header_stdc = yes; then
6563 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6564 cat >conftest.$ac_ext <<_ACEOF
6565 /* confdefs.h. */
6566 _ACEOF
6567 cat confdefs.h >>conftest.$ac_ext
6568 cat >>conftest.$ac_ext <<_ACEOF
6569 /* end confdefs.h. */
6570 #include <stdlib.h>
6572 _ACEOF
6573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6574 $EGREP "free" >/dev/null 2>&1; then
6576 else
6577 ac_cv_header_stdc=no
6579 rm -f conftest*
6583 if test $ac_cv_header_stdc = yes; then
6584 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6585 if test "$cross_compiling" = yes; then
6587 else
6588 cat >conftest.$ac_ext <<_ACEOF
6589 /* confdefs.h. */
6590 _ACEOF
6591 cat confdefs.h >>conftest.$ac_ext
6592 cat >>conftest.$ac_ext <<_ACEOF
6593 /* end confdefs.h. */
6594 #include <ctype.h>
6595 #if ((' ' & 0x0FF) == 0x020)
6596 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6597 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6598 #else
6599 # define ISLOWER(c) \
6600 (('a' <= (c) && (c) <= 'i') \
6601 || ('j' <= (c) && (c) <= 'r') \
6602 || ('s' <= (c) && (c) <= 'z'))
6603 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6604 #endif
6606 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6608 main ()
6610 int i;
6611 for (i = 0; i < 256; i++)
6612 if (XOR (islower (i), ISLOWER (i))
6613 || toupper (i) != TOUPPER (i))
6614 exit(2);
6615 exit (0);
6617 _ACEOF
6618 rm -f conftest$ac_exeext
6619 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6620 (eval $ac_link) 2>&5
6621 ac_status=$?
6622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6623 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6625 (eval $ac_try) 2>&5
6626 ac_status=$?
6627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6628 (exit $ac_status); }; }; then
6630 else
6631 echo "$as_me: program exited with status $ac_status" >&5
6632 echo "$as_me: failed program was:" >&5
6633 sed 's/^/| /' conftest.$ac_ext >&5
6635 ( exit $ac_status )
6636 ac_cv_header_stdc=no
6638 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6642 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
6643 echo "${ECHO_T}$ac_cv_header_stdc" >&6
6644 if test $ac_cv_header_stdc = yes; then
6646 cat >>confdefs.h <<\_ACEOF
6647 #define STDC_HEADERS 1
6648 _ACEOF
6652 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6662 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
6663 inttypes.h stdint.h unistd.h
6665 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6666 echo "$as_me:$LINENO: checking for $ac_header" >&5
6667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6668 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6670 else
6671 cat >conftest.$ac_ext <<_ACEOF
6672 /* confdefs.h. */
6673 _ACEOF
6674 cat confdefs.h >>conftest.$ac_ext
6675 cat >>conftest.$ac_ext <<_ACEOF
6676 /* end confdefs.h. */
6677 $ac_includes_default
6679 #include <$ac_header>
6680 _ACEOF
6681 rm -f conftest.$ac_objext
6682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6683 (eval $ac_compile) 2>conftest.er1
6684 ac_status=$?
6685 grep -v '^ *+' conftest.er1 >conftest.err
6686 rm -f conftest.er1
6687 cat conftest.err >&5
6688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6689 (exit $ac_status); } &&
6690 { ac_try='test -z "$ac_c_werror_flag"
6691 || test ! -s conftest.err'
6692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6693 (eval $ac_try) 2>&5
6694 ac_status=$?
6695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6696 (exit $ac_status); }; } &&
6697 { ac_try='test -s conftest.$ac_objext'
6698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6699 (eval $ac_try) 2>&5
6700 ac_status=$?
6701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6702 (exit $ac_status); }; }; then
6703 eval "$as_ac_Header=yes"
6704 else
6705 echo "$as_me: failed program was:" >&5
6706 sed 's/^/| /' conftest.$ac_ext >&5
6708 eval "$as_ac_Header=no"
6710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6712 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6713 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6714 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6715 cat >>confdefs.h <<_ACEOF
6716 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6717 _ACEOF
6721 done
6725 for ac_header in dlfcn.h
6727 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6728 echo "$as_me:$LINENO: checking for $ac_header" >&5
6729 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
6730 if eval "test \"\${$as_ac_Header+set}\" = set"; then
6731 echo $ECHO_N "(cached) $ECHO_C" >&6
6732 else
6733 cat >conftest.$ac_ext <<_ACEOF
6734 /* confdefs.h. */
6735 _ACEOF
6736 cat confdefs.h >>conftest.$ac_ext
6737 cat >>conftest.$ac_ext <<_ACEOF
6738 /* end confdefs.h. */
6739 $ac_includes_default
6741 #include <$ac_header>
6742 _ACEOF
6743 rm -f conftest.$ac_objext
6744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6745 (eval $ac_compile) 2>conftest.er1
6746 ac_status=$?
6747 grep -v '^ *+' conftest.er1 >conftest.err
6748 rm -f conftest.er1
6749 cat conftest.err >&5
6750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6751 (exit $ac_status); } &&
6752 { ac_try='test -z "$ac_c_werror_flag"
6753 || test ! -s conftest.err'
6754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6755 (eval $ac_try) 2>&5
6756 ac_status=$?
6757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6758 (exit $ac_status); }; } &&
6759 { ac_try='test -s conftest.$ac_objext'
6760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6761 (eval $ac_try) 2>&5
6762 ac_status=$?
6763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6764 (exit $ac_status); }; }; then
6765 eval "$as_ac_Header=yes"
6766 else
6767 echo "$as_me: failed program was:" >&5
6768 sed 's/^/| /' conftest.$ac_ext >&5
6770 eval "$as_ac_Header=no"
6772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
6775 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
6776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6777 cat >>confdefs.h <<_ACEOF
6778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6779 _ACEOF
6783 done
6787 ac_ext=cc
6788 ac_cpp='$CXXCPP $CPPFLAGS'
6789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
6792 if test -n "$ac_tool_prefix"; then
6793 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6795 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6796 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6797 echo "$as_me:$LINENO: checking for $ac_word" >&5
6798 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6799 if test "${glibcxx_cv_prog_CXX+set}" = set; then
6800 echo $ECHO_N "(cached) $ECHO_C" >&6
6801 else
6802 if test -n "$CXX"; then
6803 glibcxx_cv_prog_CXX="$CXX" # Let the user override the test.
6804 else
6805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6806 for as_dir in $PATH
6808 IFS=$as_save_IFS
6809 test -z "$as_dir" && as_dir=.
6810 for ac_exec_ext in '' $ac_executable_extensions; do
6811 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6812 glibcxx_cv_prog_CXX="$ac_tool_prefix$ac_prog"
6813 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6814 break 2
6816 done
6817 done
6821 CXX=$glibcxx_cv_prog_CXX
6822 if test -n "$CXX"; then
6823 echo "$as_me:$LINENO: result: $CXX" >&5
6824 echo "${ECHO_T}$CXX" >&6
6825 else
6826 echo "$as_me:$LINENO: result: no" >&5
6827 echo "${ECHO_T}no" >&6
6830 test -n "$CXX" && break
6831 done
6833 if test -z "$CXX"; then
6834 ac_ct_CXX=$CXX
6835 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC
6837 # Extract the first word of "$ac_prog", so it can be a program name with args.
6838 set dummy $ac_prog; ac_word=$2
6839 echo "$as_me:$LINENO: checking for $ac_word" >&5
6840 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
6841 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
6842 echo $ECHO_N "(cached) $ECHO_C" >&6
6843 else
6844 if test -n "$ac_ct_CXX"; then
6845 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
6846 else
6847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6848 for as_dir in $PATH
6850 IFS=$as_save_IFS
6851 test -z "$as_dir" && as_dir=.
6852 for ac_exec_ext in '' $ac_executable_extensions; do
6853 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6854 ac_cv_prog_ac_ct_CXX="$ac_prog"
6855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6856 break 2
6858 done
6859 done
6863 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
6864 if test -n "$ac_ct_CXX"; then
6865 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
6866 echo "${ECHO_T}$ac_ct_CXX" >&6
6867 else
6868 echo "$as_me:$LINENO: result: no" >&5
6869 echo "${ECHO_T}no" >&6
6872 test -n "$ac_ct_CXX" && break
6873 done
6874 test -n "$ac_ct_CXX" || ac_ct_CXX="g++"
6876 CXX=$ac_ct_CXX
6880 # Provide some information about the compiler.
6881 echo "$as_me:$LINENO:" \
6882 "checking for C++ compiler version" >&5
6883 ac_compiler=`set X $ac_compile; echo $2`
6884 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
6885 (eval $ac_compiler --version </dev/null >&5) 2>&5
6886 ac_status=$?
6887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6888 (exit $ac_status); }
6889 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
6890 (eval $ac_compiler -v </dev/null >&5) 2>&5
6891 ac_status=$?
6892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6893 (exit $ac_status); }
6894 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
6895 (eval $ac_compiler -V </dev/null >&5) 2>&5
6896 ac_status=$?
6897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6898 (exit $ac_status); }
6900 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
6901 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6
6902 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
6903 echo $ECHO_N "(cached) $ECHO_C" >&6
6904 else
6905 cat >conftest.$ac_ext <<_ACEOF
6906 /* confdefs.h. */
6907 _ACEOF
6908 cat confdefs.h >>conftest.$ac_ext
6909 cat >>conftest.$ac_ext <<_ACEOF
6910 /* end confdefs.h. */
6913 main ()
6915 #ifndef __GNUC__
6916 choke me
6917 #endif
6920 return 0;
6922 _ACEOF
6923 rm -f conftest.$ac_objext
6924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6925 (eval $ac_compile) 2>conftest.er1
6926 ac_status=$?
6927 grep -v '^ *+' conftest.er1 >conftest.err
6928 rm -f conftest.er1
6929 cat conftest.err >&5
6930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6931 (exit $ac_status); } &&
6932 { ac_try='test -z "$ac_cxx_werror_flag"
6933 || test ! -s conftest.err'
6934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6935 (eval $ac_try) 2>&5
6936 ac_status=$?
6937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6938 (exit $ac_status); }; } &&
6939 { ac_try='test -s conftest.$ac_objext'
6940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6941 (eval $ac_try) 2>&5
6942 ac_status=$?
6943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6944 (exit $ac_status); }; }; then
6945 ac_compiler_gnu=yes
6946 else
6947 echo "$as_me: failed program was:" >&5
6948 sed 's/^/| /' conftest.$ac_ext >&5
6950 ac_compiler_gnu=no
6952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6953 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
6956 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
6957 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6
6958 GXX=`test $ac_compiler_gnu = yes && echo yes`
6959 ac_test_CXXFLAGS=${CXXFLAGS+set}
6960 ac_save_CXXFLAGS=$CXXFLAGS
6961 CXXFLAGS="-g"
6962 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
6963 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6
6964 if test "${ac_cv_prog_cxx_g+set}" = set; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966 else
6967 cat >conftest.$ac_ext <<_ACEOF
6968 /* confdefs.h. */
6969 _ACEOF
6970 cat confdefs.h >>conftest.$ac_ext
6971 cat >>conftest.$ac_ext <<_ACEOF
6972 /* end confdefs.h. */
6975 main ()
6979 return 0;
6981 _ACEOF
6982 rm -f conftest.$ac_objext
6983 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6984 (eval $ac_compile) 2>conftest.er1
6985 ac_status=$?
6986 grep -v '^ *+' conftest.er1 >conftest.err
6987 rm -f conftest.er1
6988 cat conftest.err >&5
6989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6990 (exit $ac_status); } &&
6991 { ac_try='test -z "$ac_cxx_werror_flag"
6992 || test ! -s conftest.err'
6993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6994 (eval $ac_try) 2>&5
6995 ac_status=$?
6996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6997 (exit $ac_status); }; } &&
6998 { ac_try='test -s conftest.$ac_objext'
6999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7000 (eval $ac_try) 2>&5
7001 ac_status=$?
7002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7003 (exit $ac_status); }; }; then
7004 ac_cv_prog_cxx_g=yes
7005 else
7006 echo "$as_me: failed program was:" >&5
7007 sed 's/^/| /' conftest.$ac_ext >&5
7009 ac_cv_prog_cxx_g=no
7011 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7013 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7014 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6
7015 if test "$ac_test_CXXFLAGS" = set; then
7016 CXXFLAGS=$ac_save_CXXFLAGS
7017 elif test $ac_cv_prog_cxx_g = yes; then
7018 if test "$GXX" = yes; then
7019 CXXFLAGS="-g -O2"
7020 else
7021 CXXFLAGS="-g"
7023 else
7024 if test "$GXX" = yes; then
7025 CXXFLAGS="-O2"
7026 else
7027 CXXFLAGS=
7030 for ac_declaration in \
7031 '' \
7032 'extern "C" void std::exit (int) throw (); using std::exit;' \
7033 'extern "C" void std::exit (int); using std::exit;' \
7034 'extern "C" void exit (int) throw ();' \
7035 'extern "C" void exit (int);' \
7036 'void exit (int);'
7038 cat >conftest.$ac_ext <<_ACEOF
7039 /* confdefs.h. */
7040 _ACEOF
7041 cat confdefs.h >>conftest.$ac_ext
7042 cat >>conftest.$ac_ext <<_ACEOF
7043 /* end confdefs.h. */
7044 $ac_declaration
7045 #include <stdlib.h>
7047 main ()
7049 exit (42);
7051 return 0;
7053 _ACEOF
7054 rm -f conftest.$ac_objext
7055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7056 (eval $ac_compile) 2>conftest.er1
7057 ac_status=$?
7058 grep -v '^ *+' conftest.er1 >conftest.err
7059 rm -f conftest.er1
7060 cat conftest.err >&5
7061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7062 (exit $ac_status); } &&
7063 { ac_try='test -z "$ac_cxx_werror_flag"
7064 || test ! -s conftest.err'
7065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7066 (eval $ac_try) 2>&5
7067 ac_status=$?
7068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7069 (exit $ac_status); }; } &&
7070 { ac_try='test -s conftest.$ac_objext'
7071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7072 (eval $ac_try) 2>&5
7073 ac_status=$?
7074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7075 (exit $ac_status); }; }; then
7077 else
7078 echo "$as_me: failed program was:" >&5
7079 sed 's/^/| /' conftest.$ac_ext >&5
7081 continue
7083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7084 cat >conftest.$ac_ext <<_ACEOF
7085 /* confdefs.h. */
7086 _ACEOF
7087 cat confdefs.h >>conftest.$ac_ext
7088 cat >>conftest.$ac_ext <<_ACEOF
7089 /* end confdefs.h. */
7090 $ac_declaration
7092 main ()
7094 exit (42);
7096 return 0;
7098 _ACEOF
7099 rm -f conftest.$ac_objext
7100 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7101 (eval $ac_compile) 2>conftest.er1
7102 ac_status=$?
7103 grep -v '^ *+' conftest.er1 >conftest.err
7104 rm -f conftest.er1
7105 cat conftest.err >&5
7106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7107 (exit $ac_status); } &&
7108 { ac_try='test -z "$ac_cxx_werror_flag"
7109 || test ! -s conftest.err'
7110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7111 (eval $ac_try) 2>&5
7112 ac_status=$?
7113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7114 (exit $ac_status); }; } &&
7115 { ac_try='test -s conftest.$ac_objext'
7116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
7117 (eval $ac_try) 2>&5
7118 ac_status=$?
7119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7120 (exit $ac_status); }; }; then
7121 break
7122 else
7123 echo "$as_me: failed program was:" >&5
7124 sed 's/^/| /' conftest.$ac_ext >&5
7127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
7128 done
7129 rm -f conftest*
7130 if test -n "$ac_declaration"; then
7131 echo '#ifdef __cplusplus' >>confdefs.h
7132 echo $ac_declaration >>confdefs.h
7133 echo '#endif' >>confdefs.h
7136 ac_ext=c
7137 ac_cpp='$CPP $CPPFLAGS'
7138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7142 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7143 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7144 (test "X$CXX" != "Xg++"))) ; then
7145 ac_ext=cc
7146 ac_cpp='$CXXCPP $CPPFLAGS'
7147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
7150 echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
7151 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6
7152 if test -z "$CXXCPP"; then
7153 if test "${ac_cv_prog_CXXCPP+set}" = set; then
7154 echo $ECHO_N "(cached) $ECHO_C" >&6
7155 else
7156 # Double quotes because CXXCPP needs to be expanded
7157 for CXXCPP in "$CXX -E" "/lib/cpp"
7159 ac_preproc_ok=false
7160 for ac_cxx_preproc_warn_flag in '' yes
7162 # Use a header file that comes with gcc, so configuring glibc
7163 # with a fresh cross-compiler works.
7164 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7165 # <limits.h> exists even on freestanding compilers.
7166 # On the NeXT, cc -E runs the code through the compiler's parser,
7167 # not just through cpp. "Syntax error" is here to catch this case.
7168 cat >conftest.$ac_ext <<_ACEOF
7169 /* confdefs.h. */
7170 _ACEOF
7171 cat confdefs.h >>conftest.$ac_ext
7172 cat >>conftest.$ac_ext <<_ACEOF
7173 /* end confdefs.h. */
7174 #ifdef __STDC__
7175 # include <limits.h>
7176 #else
7177 # include <assert.h>
7178 #endif
7179 Syntax error
7180 _ACEOF
7181 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7182 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7183 ac_status=$?
7184 grep -v '^ *+' conftest.er1 >conftest.err
7185 rm -f conftest.er1
7186 cat conftest.err >&5
7187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7188 (exit $ac_status); } >/dev/null; then
7189 if test -s conftest.err; then
7190 ac_cpp_err=$ac_cxx_preproc_warn_flag
7191 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7192 else
7193 ac_cpp_err=
7195 else
7196 ac_cpp_err=yes
7198 if test -z "$ac_cpp_err"; then
7200 else
7201 echo "$as_me: failed program was:" >&5
7202 sed 's/^/| /' conftest.$ac_ext >&5
7204 # Broken: fails on valid input.
7205 continue
7207 rm -f conftest.err conftest.$ac_ext
7209 # OK, works on sane cases. Now check whether non-existent headers
7210 # can be detected and how.
7211 cat >conftest.$ac_ext <<_ACEOF
7212 /* confdefs.h. */
7213 _ACEOF
7214 cat confdefs.h >>conftest.$ac_ext
7215 cat >>conftest.$ac_ext <<_ACEOF
7216 /* end confdefs.h. */
7217 #include <ac_nonexistent.h>
7218 _ACEOF
7219 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7220 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7221 ac_status=$?
7222 grep -v '^ *+' conftest.er1 >conftest.err
7223 rm -f conftest.er1
7224 cat conftest.err >&5
7225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7226 (exit $ac_status); } >/dev/null; then
7227 if test -s conftest.err; then
7228 ac_cpp_err=$ac_cxx_preproc_warn_flag
7229 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7230 else
7231 ac_cpp_err=
7233 else
7234 ac_cpp_err=yes
7236 if test -z "$ac_cpp_err"; then
7237 # Broken: success on invalid input.
7238 continue
7239 else
7240 echo "$as_me: failed program was:" >&5
7241 sed 's/^/| /' conftest.$ac_ext >&5
7243 # Passes both tests.
7244 ac_preproc_ok=:
7245 break
7247 rm -f conftest.err conftest.$ac_ext
7249 done
7250 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7251 rm -f conftest.err conftest.$ac_ext
7252 if $ac_preproc_ok; then
7253 break
7256 done
7257 ac_cv_prog_CXXCPP=$CXXCPP
7260 CXXCPP=$ac_cv_prog_CXXCPP
7261 else
7262 ac_cv_prog_CXXCPP=$CXXCPP
7264 echo "$as_me:$LINENO: result: $CXXCPP" >&5
7265 echo "${ECHO_T}$CXXCPP" >&6
7266 ac_preproc_ok=false
7267 for ac_cxx_preproc_warn_flag in '' yes
7269 # Use a header file that comes with gcc, so configuring glibc
7270 # with a fresh cross-compiler works.
7271 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7272 # <limits.h> exists even on freestanding compilers.
7273 # On the NeXT, cc -E runs the code through the compiler's parser,
7274 # not just through cpp. "Syntax error" is here to catch this case.
7275 cat >conftest.$ac_ext <<_ACEOF
7276 /* confdefs.h. */
7277 _ACEOF
7278 cat confdefs.h >>conftest.$ac_ext
7279 cat >>conftest.$ac_ext <<_ACEOF
7280 /* end confdefs.h. */
7281 #ifdef __STDC__
7282 # include <limits.h>
7283 #else
7284 # include <assert.h>
7285 #endif
7286 Syntax error
7287 _ACEOF
7288 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7289 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7290 ac_status=$?
7291 grep -v '^ *+' conftest.er1 >conftest.err
7292 rm -f conftest.er1
7293 cat conftest.err >&5
7294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7295 (exit $ac_status); } >/dev/null; then
7296 if test -s conftest.err; then
7297 ac_cpp_err=$ac_cxx_preproc_warn_flag
7298 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7299 else
7300 ac_cpp_err=
7302 else
7303 ac_cpp_err=yes
7305 if test -z "$ac_cpp_err"; then
7307 else
7308 echo "$as_me: failed program was:" >&5
7309 sed 's/^/| /' conftest.$ac_ext >&5
7311 # Broken: fails on valid input.
7312 continue
7314 rm -f conftest.err conftest.$ac_ext
7316 # OK, works on sane cases. Now check whether non-existent headers
7317 # can be detected and how.
7318 cat >conftest.$ac_ext <<_ACEOF
7319 /* confdefs.h. */
7320 _ACEOF
7321 cat confdefs.h >>conftest.$ac_ext
7322 cat >>conftest.$ac_ext <<_ACEOF
7323 /* end confdefs.h. */
7324 #include <ac_nonexistent.h>
7325 _ACEOF
7326 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
7327 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
7328 ac_status=$?
7329 grep -v '^ *+' conftest.er1 >conftest.err
7330 rm -f conftest.er1
7331 cat conftest.err >&5
7332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7333 (exit $ac_status); } >/dev/null; then
7334 if test -s conftest.err; then
7335 ac_cpp_err=$ac_cxx_preproc_warn_flag
7336 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7337 else
7338 ac_cpp_err=
7340 else
7341 ac_cpp_err=yes
7343 if test -z "$ac_cpp_err"; then
7344 # Broken: success on invalid input.
7345 continue
7346 else
7347 echo "$as_me: failed program was:" >&5
7348 sed 's/^/| /' conftest.$ac_ext >&5
7350 # Passes both tests.
7351 ac_preproc_ok=:
7352 break
7354 rm -f conftest.err conftest.$ac_ext
7356 done
7357 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7358 rm -f conftest.err conftest.$ac_ext
7359 if $ac_preproc_ok; then
7361 else
7362 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
7363 echo "$as_me: error: in \`$ac_pwd':" >&2;}
7364 _lt_caught_CXX_error=yes; }
7367 ac_ext=c
7368 ac_cpp='$CPP $CPPFLAGS'
7369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7373 else
7374 _lt_caught_CXX_error=yes
7381 # Set options
7386 enable_win32_dll=no
7389 # Check whether --enable-shared or --disable-shared was given.
7390 if test "${enable_shared+set}" = set; then
7391 enableval="$enable_shared"
7392 p=${PACKAGE-default}
7393 case $enableval in
7394 yes) enable_shared=yes ;;
7395 no) enable_shared=no ;;
7397 enable_shared=no
7398 # Look at the argument we got. We use all the common list separators.
7399 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7400 for pkg in $enableval; do
7401 IFS="$lt_save_ifs"
7402 if test "X$pkg" = "X$p"; then
7403 enable_shared=yes
7405 done
7406 IFS="$lt_save_ifs"
7408 esac
7409 else
7410 enable_shared=yes
7420 # Check whether --enable-static or --disable-static was given.
7421 if test "${enable_static+set}" = set; then
7422 enableval="$enable_static"
7423 p=${PACKAGE-default}
7424 case $enableval in
7425 yes) enable_static=yes ;;
7426 no) enable_static=no ;;
7428 enable_static=no
7429 # Look at the argument we got. We use all the common list separators.
7430 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7431 for pkg in $enableval; do
7432 IFS="$lt_save_ifs"
7433 if test "X$pkg" = "X$p"; then
7434 enable_static=yes
7436 done
7437 IFS="$lt_save_ifs"
7439 esac
7440 else
7441 enable_static=yes
7452 # Check whether --with-pic or --without-pic was given.
7453 if test "${with_pic+set}" = set; then
7454 withval="$with_pic"
7455 pic_mode="$withval"
7456 else
7457 pic_mode=default
7460 test -z "$pic_mode" && pic_mode=default
7468 # Check whether --enable-fast-install or --disable-fast-install was given.
7469 if test "${enable_fast_install+set}" = set; then
7470 enableval="$enable_fast_install"
7471 p=${PACKAGE-default}
7472 case $enableval in
7473 yes) enable_fast_install=yes ;;
7474 no) enable_fast_install=no ;;
7476 enable_fast_install=no
7477 # Look at the argument we got. We use all the common list separators.
7478 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
7479 for pkg in $enableval; do
7480 IFS="$lt_save_ifs"
7481 if test "X$pkg" = "X$p"; then
7482 enable_fast_install=yes
7484 done
7485 IFS="$lt_save_ifs"
7487 esac
7488 else
7489 enable_fast_install=yes
7501 # This can be used to rebuild libtool when needed
7502 LIBTOOL_DEPS="$ltmain"
7504 # Always use our own libtool.
7505 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
7531 test -z "$LN_S" && LN_S="ln -s"
7546 if test -n "${ZSH_VERSION+set}" ; then
7547 setopt NO_GLOB_SUBST
7550 echo "$as_me:$LINENO: checking for objdir" >&5
7551 echo $ECHO_N "checking for objdir... $ECHO_C" >&6
7552 if test "${lt_cv_objdir+set}" = set; then
7553 echo $ECHO_N "(cached) $ECHO_C" >&6
7554 else
7555 rm -f .libs 2>/dev/null
7556 mkdir .libs 2>/dev/null
7557 if test -d .libs; then
7558 lt_cv_objdir=.libs
7559 else
7560 # MS-DOS does not allow filenames that begin with a dot.
7561 lt_cv_objdir=_libs
7563 rmdir .libs 2>/dev/null
7565 echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
7566 echo "${ECHO_T}$lt_cv_objdir" >&6
7567 objdir=$lt_cv_objdir
7573 cat >>confdefs.h <<_ACEOF
7574 #define LT_OBJDIR "$lt_cv_objdir/"
7575 _ACEOF
7593 case $host_os in
7594 aix3*)
7595 # AIX sometimes has problems with the GCC collect2 program. For some
7596 # reason, if we set the COLLECT_NAMES environment variable, the problems
7597 # vanish in a puff of smoke.
7598 if test "X${COLLECT_NAMES+set}" != Xset; then
7599 COLLECT_NAMES=
7600 export COLLECT_NAMES
7603 esac
7605 # Sed substitution that helps us do robust quoting. It backslashifies
7606 # metacharacters that are still active within double-quoted strings.
7607 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7609 # Same as above, but do not quote variable references.
7610 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7612 # Sed substitution to delay expansion of an escaped shell variable in a
7613 # double_quote_subst'ed string.
7614 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7616 # Sed substitution to delay expansion of an escaped single quote.
7617 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7619 # Sed substitution to avoid accidental globbing in evaled expressions
7620 no_glob_subst='s/\*/\\\*/g'
7622 # Global variables:
7623 ofile=libtool
7624 can_build_shared=yes
7626 # All known linkers require a `.a' archive for static linking (except MSVC,
7627 # which needs '.lib').
7628 libext=a
7630 with_gnu_ld="$lt_cv_prog_gnu_ld"
7632 old_CC="$CC"
7633 old_CFLAGS="$CFLAGS"
7635 # Set sane defaults for various variables
7636 test -z "$CC" && CC=cc
7637 test -z "$LTCC" && LTCC=$CC
7638 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
7639 test -z "$LD" && LD=ld
7640 test -z "$ac_objext" && ac_objext=o
7642 for cc_temp in $compiler""; do
7643 case $cc_temp in
7644 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
7645 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
7646 \-*) ;;
7647 *) break;;
7648 esac
7649 done
7650 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
7653 # Only perform the check for file, if the check method requires it
7654 test -z "$MAGIC_CMD" && MAGIC_CMD=file
7655 case $deplibs_check_method in
7656 file_magic*)
7657 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7658 echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
7659 echo $ECHO_N "checking for ${ac_tool_prefix}file... $ECHO_C" >&6
7660 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7661 echo $ECHO_N "(cached) $ECHO_C" >&6
7662 else
7663 case $MAGIC_CMD in
7664 [\\/*] | ?:[\\/]*)
7665 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7668 lt_save_MAGIC_CMD="$MAGIC_CMD"
7669 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7670 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7671 for ac_dir in $ac_dummy; do
7672 IFS="$lt_save_ifs"
7673 test -z "$ac_dir" && ac_dir=.
7674 if test -f $ac_dir/${ac_tool_prefix}file; then
7675 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
7676 if test -n "$file_magic_test_file"; then
7677 case $deplibs_check_method in
7678 "file_magic "*)
7679 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7680 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7681 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7682 $EGREP "$file_magic_regex" > /dev/null; then
7684 else
7685 cat <<_LT_EOF 1>&2
7687 *** Warning: the command libtool uses to detect shared libraries,
7688 *** $file_magic_cmd, produces output that libtool cannot recognize.
7689 *** The result is that libtool may fail to recognize shared libraries
7690 *** as such. This will affect the creation of libtool libraries that
7691 *** depend on shared libraries, but programs linked with such libtool
7692 *** libraries will work regardless of this problem. Nevertheless, you
7693 *** may want to report the problem to your system manager and/or to
7694 *** bug-libtool@gnu.org
7696 _LT_EOF
7697 fi ;;
7698 esac
7700 break
7702 done
7703 IFS="$lt_save_ifs"
7704 MAGIC_CMD="$lt_save_MAGIC_CMD"
7706 esac
7709 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7710 if test -n "$MAGIC_CMD"; then
7711 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7712 echo "${ECHO_T}$MAGIC_CMD" >&6
7713 else
7714 echo "$as_me:$LINENO: result: no" >&5
7715 echo "${ECHO_T}no" >&6
7722 if test -z "$lt_cv_path_MAGIC_CMD"; then
7723 if test -n "$ac_tool_prefix"; then
7724 echo "$as_me:$LINENO: checking for file" >&5
7725 echo $ECHO_N "checking for file... $ECHO_C" >&6
7726 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
7727 echo $ECHO_N "(cached) $ECHO_C" >&6
7728 else
7729 case $MAGIC_CMD in
7730 [\\/*] | ?:[\\/]*)
7731 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
7734 lt_save_MAGIC_CMD="$MAGIC_CMD"
7735 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7736 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
7737 for ac_dir in $ac_dummy; do
7738 IFS="$lt_save_ifs"
7739 test -z "$ac_dir" && ac_dir=.
7740 if test -f $ac_dir/file; then
7741 lt_cv_path_MAGIC_CMD="$ac_dir/file"
7742 if test -n "$file_magic_test_file"; then
7743 case $deplibs_check_method in
7744 "file_magic "*)
7745 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
7746 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7747 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
7748 $EGREP "$file_magic_regex" > /dev/null; then
7750 else
7751 cat <<_LT_EOF 1>&2
7753 *** Warning: the command libtool uses to detect shared libraries,
7754 *** $file_magic_cmd, produces output that libtool cannot recognize.
7755 *** The result is that libtool may fail to recognize shared libraries
7756 *** as such. This will affect the creation of libtool libraries that
7757 *** depend on shared libraries, but programs linked with such libtool
7758 *** libraries will work regardless of this problem. Nevertheless, you
7759 *** may want to report the problem to your system manager and/or to
7760 *** bug-libtool@gnu.org
7762 _LT_EOF
7763 fi ;;
7764 esac
7766 break
7768 done
7769 IFS="$lt_save_ifs"
7770 MAGIC_CMD="$lt_save_MAGIC_CMD"
7772 esac
7775 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
7776 if test -n "$MAGIC_CMD"; then
7777 echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
7778 echo "${ECHO_T}$MAGIC_CMD" >&6
7779 else
7780 echo "$as_me:$LINENO: result: no" >&5
7781 echo "${ECHO_T}no" >&6
7785 else
7786 MAGIC_CMD=:
7792 esac
7794 # Use C for the default configuration in the libtool script
7796 lt_save_CC="$CC"
7797 ac_ext=c
7798 ac_cpp='$CPP $CPPFLAGS'
7799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7804 # Source file extension for C test sources.
7805 ac_ext=c
7807 # Object file extension for compiled C test sources.
7808 objext=o
7809 objext=$objext
7811 # Code to be used in simple compile tests
7812 lt_simple_compile_test_code="int some_variable = 0;"
7814 # Code to be used in simple link tests
7815 lt_simple_link_test_code='int main(){return(0);}'
7823 # If no C compiler was specified, use CC.
7824 LTCC=${LTCC-"$CC"}
7826 # If no C compiler flags were specified, use CFLAGS.
7827 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7829 # Allow CC to be a program name with arguments.
7830 compiler=$CC
7832 # Save the default compiler, since it gets overwritten when the other
7833 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
7834 compiler_DEFAULT=$CC
7836 # save warnings/boilerplate of simple test code
7837 ac_outfile=conftest.$ac_objext
7838 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7839 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7840 _lt_compiler_boilerplate=`cat conftest.err`
7841 $RM conftest*
7843 ac_outfile=conftest.$ac_objext
7844 echo "$lt_simple_link_test_code" >conftest.$ac_ext
7845 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7846 _lt_linker_boilerplate=`cat conftest.err`
7847 $RM -r conftest*
7850 ## CAVEAT EMPTOR:
7851 ## There is no encapsulation within the following macros, do not change
7852 ## the running order or otherwise move them around unless you know exactly
7853 ## what you are doing...
7854 if test -n "$compiler"; then
7856 lt_prog_compiler_no_builtin_flag=
7858 if test "$GCC" = yes; then
7859 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
7861 echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
7862 echo $ECHO_N "checking if $compiler supports -fno-rtti -fno-exceptions... $ECHO_C" >&6
7863 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
7864 echo $ECHO_N "(cached) $ECHO_C" >&6
7865 else
7866 lt_cv_prog_compiler_rtti_exceptions=no
7867 ac_outfile=conftest.$ac_objext
7868 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7869 lt_compiler_flag="-fno-rtti -fno-exceptions"
7870 # Insert the option either (1) after the last *FLAGS variable, or
7871 # (2) before a word containing "conftest.", or (3) at the end.
7872 # Note that $ac_compile itself does not contain backslashes and begins
7873 # with a dollar sign (not a hyphen), so the echo should work correctly.
7874 # The option is referenced via a variable to avoid confusing sed.
7875 lt_compile=`echo "$ac_compile" | $SED \
7876 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7877 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7878 -e 's:$: $lt_compiler_flag:'`
7879 (eval echo "\"\$as_me:7879: $lt_compile\"" >&5)
7880 (eval "$lt_compile" 2>conftest.err)
7881 ac_status=$?
7882 cat conftest.err >&5
7883 echo "$as_me:7883: \$? = $ac_status" >&5
7884 if (exit $ac_status) && test -s "$ac_outfile"; then
7885 # The compiler can only warn and ignore the option if not recognized
7886 # So say no if there are warnings other than the usual output.
7887 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
7888 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
7889 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
7890 lt_cv_prog_compiler_rtti_exceptions=yes
7893 $RM conftest*
7896 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
7897 echo "${ECHO_T}$lt_cv_prog_compiler_rtti_exceptions" >&6
7899 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
7900 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
7901 else
7912 lt_prog_compiler_wl=
7913 lt_prog_compiler_pic=
7914 lt_prog_compiler_static=
7916 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
7917 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
7919 if test "$GCC" = yes; then
7920 lt_prog_compiler_wl='-Wl,'
7921 lt_prog_compiler_static='-static'
7923 case $host_os in
7924 aix*)
7925 # All AIX code is PIC.
7926 if test "$host_cpu" = ia64; then
7927 # AIX 5 now supports IA64 processor
7928 lt_prog_compiler_static='-Bstatic'
7932 amigaos*)
7933 case $host_cpu in
7934 powerpc)
7935 # see comment about AmigaOS4 .so support
7936 lt_prog_compiler_pic='-fPIC'
7938 m68k)
7939 # FIXME: we need at least 68020 code to build shared libraries, but
7940 # adding the `-m68020' flag to GCC prevents building anything better,
7941 # like `-m68040'.
7942 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7944 esac
7947 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7948 # PIC is the default for these OSes.
7951 mingw* | cygwin* | pw32* | os2* | cegcc*)
7952 # This hack is so that the source file can tell whether it is being
7953 # built for inclusion in a dll (and should export symbols for example).
7954 # Although the cygwin gcc ignores -fPIC, still need this for old-style
7955 # (--disable-auto-import) libraries
7956 lt_prog_compiler_pic='-DDLL_EXPORT'
7959 darwin* | rhapsody*)
7960 # PIC is the default on this platform
7961 # Common symbols not allowed in MH_DYLIB files
7962 lt_prog_compiler_pic='-fno-common'
7965 hpux*)
7966 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
7967 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
7968 # sets the default TLS model and affects inlining.
7969 case $host_cpu in
7970 hppa*64*)
7971 # +Z the default
7974 lt_prog_compiler_pic='-fPIC'
7976 esac
7979 interix[3-9]*)
7980 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7981 # Instead, we relocate shared libraries at runtime.
7984 msdosdjgpp*)
7985 # Just because we use GCC doesn't mean we suddenly get shared libraries
7986 # on systems that don't support them.
7987 lt_prog_compiler_can_build_shared=no
7988 enable_shared=no
7991 *nto* | *qnx*)
7992 # QNX uses GNU C++, but need to define -shared option too, otherwise
7993 # it will coredump.
7994 lt_prog_compiler_pic='-fPIC -shared'
7997 sysv4*MP*)
7998 if test -d /usr/nec; then
7999 lt_prog_compiler_pic=-Kconform_pic
8004 lt_prog_compiler_pic='-fPIC'
8006 esac
8007 else
8008 # PORTME Check for flag to pass linker flags through the system compiler.
8009 case $host_os in
8010 aix*)
8011 lt_prog_compiler_wl='-Wl,'
8012 if test "$host_cpu" = ia64; then
8013 # AIX 5 now supports IA64 processor
8014 lt_prog_compiler_static='-Bstatic'
8015 else
8016 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8020 mingw* | cygwin* | pw32* | os2* | cegcc*)
8021 # This hack is so that the source file can tell whether it is being
8022 # built for inclusion in a dll (and should export symbols for example).
8023 lt_prog_compiler_pic='-DDLL_EXPORT'
8026 hpux9* | hpux10* | hpux11*)
8027 lt_prog_compiler_wl='-Wl,'
8028 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8029 # not for PA HP-UX.
8030 case $host_cpu in
8031 hppa*64*|ia64*)
8032 # +Z the default
8035 lt_prog_compiler_pic='+Z'
8037 esac
8038 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8039 lt_prog_compiler_static='${wl}-a ${wl}archive'
8042 irix5* | irix6* | nonstopux*)
8043 lt_prog_compiler_wl='-Wl,'
8044 # PIC (with -KPIC) is the default.
8045 lt_prog_compiler_static='-non_shared'
8048 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8049 case $cc_basename in
8050 # old Intel for x86_64 which still supported -KPIC.
8051 ecc*)
8052 lt_prog_compiler_wl='-Wl,'
8053 lt_prog_compiler_pic='-KPIC'
8054 lt_prog_compiler_static='-static'
8056 # icc used to be incompatible with GCC.
8057 # ICC 10 doesn't accept -KPIC any more.
8058 icc* | ifort*)
8059 lt_prog_compiler_wl='-Wl,'
8060 lt_prog_compiler_pic='-fPIC'
8061 lt_prog_compiler_static='-static'
8063 # Lahey Fortran 8.1.
8064 lf95*)
8065 lt_prog_compiler_wl='-Wl,'
8066 lt_prog_compiler_pic='--shared'
8067 lt_prog_compiler_static='--static'
8069 pgcc* | pgf77* | pgf90* | pgf95*)
8070 # Portland Group compilers (*not* the Pentium gcc compiler,
8071 # which looks to be a dead project)
8072 lt_prog_compiler_wl='-Wl,'
8073 lt_prog_compiler_pic='-fpic'
8074 lt_prog_compiler_static='-Bstatic'
8076 ccc*)
8077 lt_prog_compiler_wl='-Wl,'
8078 # All Alpha code is PIC.
8079 lt_prog_compiler_static='-non_shared'
8081 xl*)
8082 # IBM XL C 8.0/Fortran 10.1 on PPC
8083 lt_prog_compiler_wl='-Wl,'
8084 lt_prog_compiler_pic='-qpic'
8085 lt_prog_compiler_static='-qstaticlink'
8088 case `$CC -V 2>&1 | sed 5q` in
8089 *Sun\ C*)
8090 # Sun C 5.9
8091 lt_prog_compiler_pic='-KPIC'
8092 lt_prog_compiler_static='-Bstatic'
8093 lt_prog_compiler_wl='-Wl,'
8095 *Sun\ F*)
8096 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8097 lt_prog_compiler_pic='-KPIC'
8098 lt_prog_compiler_static='-Bstatic'
8099 lt_prog_compiler_wl=''
8101 esac
8103 esac
8106 newsos6)
8107 lt_prog_compiler_pic='-KPIC'
8108 lt_prog_compiler_static='-Bstatic'
8111 *nto* | *qnx*)
8112 # QNX uses GNU C++, but need to define -shared option too, otherwise
8113 # it will coredump.
8114 lt_prog_compiler_pic='-fPIC -shared'
8117 osf3* | osf4* | osf5*)
8118 lt_prog_compiler_wl='-Wl,'
8119 # All OSF/1 code is PIC.
8120 lt_prog_compiler_static='-non_shared'
8123 rdos*)
8124 lt_prog_compiler_static='-non_shared'
8127 solaris*)
8128 lt_prog_compiler_pic='-KPIC'
8129 lt_prog_compiler_static='-Bstatic'
8130 case $cc_basename in
8131 f77* | f90* | f95*)
8132 lt_prog_compiler_wl='-Qoption ld ';;
8134 lt_prog_compiler_wl='-Wl,';;
8135 esac
8138 sunos4*)
8139 lt_prog_compiler_wl='-Qoption ld '
8140 lt_prog_compiler_pic='-PIC'
8141 lt_prog_compiler_static='-Bstatic'
8144 sysv4 | sysv4.2uw2* | sysv4.3*)
8145 lt_prog_compiler_wl='-Wl,'
8146 lt_prog_compiler_pic='-KPIC'
8147 lt_prog_compiler_static='-Bstatic'
8150 sysv4*MP*)
8151 if test -d /usr/nec ;then
8152 lt_prog_compiler_pic='-Kconform_pic'
8153 lt_prog_compiler_static='-Bstatic'
8157 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8158 lt_prog_compiler_wl='-Wl,'
8159 lt_prog_compiler_pic='-KPIC'
8160 lt_prog_compiler_static='-Bstatic'
8163 unicos*)
8164 lt_prog_compiler_wl='-Wl,'
8165 lt_prog_compiler_can_build_shared=no
8168 uts4*)
8169 lt_prog_compiler_pic='-pic'
8170 lt_prog_compiler_static='-Bstatic'
8174 lt_prog_compiler_can_build_shared=no
8176 esac
8179 case $host_os in
8180 # For platforms which do not support PIC, -DPIC is meaningless:
8181 *djgpp*)
8182 lt_prog_compiler_pic=
8185 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8187 esac
8188 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
8189 echo "${ECHO_T}$lt_prog_compiler_pic" >&6
8197 # Check to make sure the PIC flag actually works.
8199 if test -n "$lt_prog_compiler_pic"; then
8200 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8201 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic works... $ECHO_C" >&6
8202 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
8203 echo $ECHO_N "(cached) $ECHO_C" >&6
8204 else
8205 lt_cv_prog_compiler_pic_works=no
8206 ac_outfile=conftest.$ac_objext
8207 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8208 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8209 # Insert the option either (1) after the last *FLAGS variable, or
8210 # (2) before a word containing "conftest.", or (3) at the end.
8211 # Note that $ac_compile itself does not contain backslashes and begins
8212 # with a dollar sign (not a hyphen), so the echo should work correctly.
8213 # The option is referenced via a variable to avoid confusing sed.
8214 lt_compile=`echo "$ac_compile" | $SED \
8215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8217 -e 's:$: $lt_compiler_flag:'`
8218 (eval echo "\"\$as_me:8218: $lt_compile\"" >&5)
8219 (eval "$lt_compile" 2>conftest.err)
8220 ac_status=$?
8221 cat conftest.err >&5
8222 echo "$as_me:8222: \$? = $ac_status" >&5
8223 if (exit $ac_status) && test -s "$ac_outfile"; then
8224 # The compiler can only warn and ignore the option if not recognized
8225 # So say no if there are warnings other than the usual output.
8226 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
8227 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8228 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8229 lt_cv_prog_compiler_pic_works=yes
8232 $RM conftest*
8235 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
8236 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works" >&6
8238 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8239 case $lt_prog_compiler_pic in
8240 "" | " "*) ;;
8241 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8242 esac
8243 else
8244 lt_prog_compiler_pic=
8245 lt_prog_compiler_can_build_shared=no
8256 # Check to make sure the static flag actually works.
8258 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8259 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8260 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
8261 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8263 else
8264 lt_cv_prog_compiler_static_works=no
8265 save_LDFLAGS="$LDFLAGS"
8266 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8267 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8268 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8269 # The linker can only warn and ignore the option if not recognized
8270 # So say no if there are warnings
8271 if test -s conftest.err; then
8272 # Append any errors to the config.log.
8273 cat conftest.err 1>&5
8274 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
8275 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8276 if diff conftest.exp conftest.er2 >/dev/null; then
8277 lt_cv_prog_compiler_static_works=yes
8279 else
8280 lt_cv_prog_compiler_static_works=yes
8283 $RM -r conftest*
8284 LDFLAGS="$save_LDFLAGS"
8287 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
8288 echo "${ECHO_T}$lt_cv_prog_compiler_static_works" >&6
8290 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8292 else
8293 lt_prog_compiler_static=
8302 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8303 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8304 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8305 echo $ECHO_N "(cached) $ECHO_C" >&6
8306 else
8307 lt_cv_prog_compiler_c_o=no
8308 $RM -r conftest 2>/dev/null
8309 mkdir conftest
8310 cd conftest
8311 mkdir out
8312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8314 lt_compiler_flag="-o out/conftest2.$ac_objext"
8315 # Insert the option either (1) after the last *FLAGS variable, or
8316 # (2) before a word containing "conftest.", or (3) at the end.
8317 # Note that $ac_compile itself does not contain backslashes and begins
8318 # with a dollar sign (not a hyphen), so the echo should work correctly.
8319 lt_compile=`echo "$ac_compile" | $SED \
8320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8322 -e 's:$: $lt_compiler_flag:'`
8323 (eval echo "\"\$as_me:8323: $lt_compile\"" >&5)
8324 (eval "$lt_compile" 2>out/conftest.err)
8325 ac_status=$?
8326 cat out/conftest.err >&5
8327 echo "$as_me:8327: \$? = $ac_status" >&5
8328 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8329 then
8330 # The compiler can only warn and ignore the option if not recognized
8331 # So say no if there are warnings
8332 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8333 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8334 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8335 lt_cv_prog_compiler_c_o=yes
8338 chmod u+w . 2>&5
8339 $RM conftest*
8340 # SGI C++ compiler will create directory out/ii_files/ for
8341 # template instantiation
8342 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8343 $RM out/* && rmdir out
8344 cd ..
8345 $RM -r conftest
8346 $RM conftest*
8349 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8350 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8357 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
8358 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
8359 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
8360 echo $ECHO_N "(cached) $ECHO_C" >&6
8361 else
8362 lt_cv_prog_compiler_c_o=no
8363 $RM -r conftest 2>/dev/null
8364 mkdir conftest
8365 cd conftest
8366 mkdir out
8367 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8369 lt_compiler_flag="-o out/conftest2.$ac_objext"
8370 # Insert the option either (1) after the last *FLAGS variable, or
8371 # (2) before a word containing "conftest.", or (3) at the end.
8372 # Note that $ac_compile itself does not contain backslashes and begins
8373 # with a dollar sign (not a hyphen), so the echo should work correctly.
8374 lt_compile=`echo "$ac_compile" | $SED \
8375 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8376 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8377 -e 's:$: $lt_compiler_flag:'`
8378 (eval echo "\"\$as_me:8378: $lt_compile\"" >&5)
8379 (eval "$lt_compile" 2>out/conftest.err)
8380 ac_status=$?
8381 cat out/conftest.err >&5
8382 echo "$as_me:8382: \$? = $ac_status" >&5
8383 if (exit $ac_status) && test -s out/conftest2.$ac_objext
8384 then
8385 # The compiler can only warn and ignore the option if not recognized
8386 # So say no if there are warnings
8387 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
8388 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
8389 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
8390 lt_cv_prog_compiler_c_o=yes
8393 chmod u+w . 2>&5
8394 $RM conftest*
8395 # SGI C++ compiler will create directory out/ii_files/ for
8396 # template instantiation
8397 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
8398 $RM out/* && rmdir out
8399 cd ..
8400 $RM -r conftest
8401 $RM conftest*
8404 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
8405 echo "${ECHO_T}$lt_cv_prog_compiler_c_o" >&6
8410 hard_links="nottested"
8411 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
8412 # do not overwrite the value of need_locks provided by the user
8413 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
8414 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
8415 hard_links=yes
8416 $RM conftest*
8417 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8418 touch conftest.a
8419 ln conftest.a conftest.b 2>&5 || hard_links=no
8420 ln conftest.a conftest.b 2>/dev/null && hard_links=no
8421 echo "$as_me:$LINENO: result: $hard_links" >&5
8422 echo "${ECHO_T}$hard_links" >&6
8423 if test "$hard_links" = no; then
8424 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
8425 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
8426 need_locks=warn
8428 else
8429 need_locks=no
8437 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
8438 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
8440 runpath_var=
8441 allow_undefined_flag=
8442 always_export_symbols=no
8443 archive_cmds=
8444 archive_expsym_cmds=
8445 compiler_needs_object=no
8446 enable_shared_with_static_runtimes=no
8447 export_dynamic_flag_spec=
8448 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
8449 hardcode_automatic=no
8450 hardcode_direct=no
8451 hardcode_direct_absolute=no
8452 hardcode_libdir_flag_spec=
8453 hardcode_libdir_flag_spec_ld=
8454 hardcode_libdir_separator=
8455 hardcode_minus_L=no
8456 hardcode_shlibpath_var=unsupported
8457 inherit_rpath=no
8458 link_all_deplibs=unknown
8459 module_cmds=
8460 module_expsym_cmds=
8461 old_archive_from_new_cmds=
8462 old_archive_from_expsyms_cmds=
8463 thread_safe_flag_spec=
8464 whole_archive_flag_spec=
8465 # include_expsyms should be a list of space-separated symbols to be *always*
8466 # included in the symbol list
8467 include_expsyms=
8468 # exclude_expsyms can be an extended regexp of symbols to exclude
8469 # it will be wrapped by ` (' and `)$', so one must not match beginning or
8470 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
8471 # as well as any symbol that contains `d'.
8472 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
8473 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
8474 # platforms (ab)use it in PIC code, but their linkers get confused if
8475 # the symbol is explicitly referenced. Since portable code cannot
8476 # rely on this symbol name, it's probably fine to never include it in
8477 # preloaded symbol tables.
8478 # Exclude shared library initialization/finalization symbols.
8479 extract_expsyms_cmds=
8481 case $host_os in
8482 cygwin* | mingw* | pw32* | cegcc*)
8483 # FIXME: the MSVC++ port hasn't been tested in a loooong time
8484 # When not using gcc, we currently assume that we are using
8485 # Microsoft Visual C++.
8486 if test "$GCC" != yes; then
8487 with_gnu_ld=no
8490 interix*)
8491 # we just hope/assume this is gcc and not c89 (= MSVC++)
8492 with_gnu_ld=yes
8494 openbsd*)
8495 with_gnu_ld=no
8497 esac
8499 ld_shlibs=yes
8500 if test "$with_gnu_ld" = yes; then
8501 # If archive_cmds runs LD, not CC, wlarc should be empty
8502 wlarc='${wl}'
8504 # Set some defaults for GNU ld with shared library support. These
8505 # are reset later if shared libraries are not supported. Putting them
8506 # here allows them to be overridden if necessary.
8507 runpath_var=LD_RUN_PATH
8508 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8509 export_dynamic_flag_spec='${wl}--export-dynamic'
8510 # ancient GNU ld didn't support --whole-archive et. al.
8511 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
8512 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8513 else
8514 whole_archive_flag_spec=
8516 supports_anon_versioning=no
8517 case `$LD -v 2>&1` in
8518 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
8519 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
8520 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
8521 *\ 2.11.*) ;; # other 2.11 versions
8522 *) supports_anon_versioning=yes ;;
8523 esac
8525 # See if GNU ld supports shared libraries.
8526 case $host_os in
8527 aix[3-9]*)
8528 # On AIX/PPC, the GNU linker is very broken
8529 if test "$host_cpu" != ia64; then
8530 ld_shlibs=no
8531 cat <<_LT_EOF 1>&2
8533 *** Warning: the GNU linker, at least up to release 2.9.1, is reported
8534 *** to be unable to reliably create shared libraries on AIX.
8535 *** Therefore, libtool is disabling shared libraries support. If you
8536 *** really care for shared libraries, you may want to modify your PATH
8537 *** so that a non-GNU linker is found, and then restart.
8539 _LT_EOF
8543 amigaos*)
8544 case $host_cpu in
8545 powerpc)
8546 # see comment about AmigaOS4 .so support
8547 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8548 archive_expsym_cmds=''
8550 m68k)
8551 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)'
8552 hardcode_libdir_flag_spec='-L$libdir'
8553 hardcode_minus_L=yes
8555 esac
8558 beos*)
8559 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8560 allow_undefined_flag=unsupported
8561 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
8562 # support --undefined. This deserves some investigation. FIXME
8563 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8564 else
8565 ld_shlibs=no
8569 cygwin* | mingw* | pw32* | cegcc*)
8570 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
8571 # as there is no search path for DLLs.
8572 hardcode_libdir_flag_spec='-L$libdir'
8573 allow_undefined_flag=unsupported
8574 always_export_symbols=no
8575 enable_shared_with_static_runtimes=yes
8576 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8578 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8579 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8580 # If the export-symbols file already is a .def file (1st line
8581 # is EXPORTS), use it as is; otherwise, prepend...
8582 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
8583 cp $export_symbols $output_objdir/$soname.def;
8584 else
8585 echo EXPORTS > $output_objdir/$soname.def;
8586 cat $export_symbols >> $output_objdir/$soname.def;
8588 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8589 else
8590 ld_shlibs=no
8594 interix[3-9]*)
8595 hardcode_direct=no
8596 hardcode_shlibpath_var=no
8597 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8598 export_dynamic_flag_spec='${wl}-E'
8599 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
8600 # Instead, shared libraries are loaded at an image base (0x10000000 by
8601 # default) and relocated if they conflict, which is a slow very memory
8602 # consuming and fragmenting process. To avoid this, we pick a random,
8603 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
8604 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
8605 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8606 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'
8609 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
8610 tmp_diet=no
8611 if test "$host_os" = linux-dietlibc; then
8612 case $cc_basename in
8613 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
8614 esac
8616 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8617 && test "$tmp_diet" = no
8618 then
8619 tmp_addflag=
8620 tmp_sharedflag='-shared'
8621 case $cc_basename,$host_cpu in
8622 pgcc*) # Portland Group C compiler
8623 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'
8624 tmp_addflag=' $pic_flag'
8626 pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
8627 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'
8628 tmp_addflag=' $pic_flag -Mnomain' ;;
8629 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
8630 tmp_addflag=' -i_dynamic' ;;
8631 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
8632 tmp_addflag=' -i_dynamic -nofor_main' ;;
8633 ifc* | ifort*) # Intel Fortran compiler
8634 tmp_addflag=' -nofor_main' ;;
8635 lf95*) # Lahey Fortran 8.1
8636 whole_archive_flag_spec=
8637 tmp_sharedflag='--shared' ;;
8638 xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
8639 tmp_sharedflag='-qmkshrobj'
8640 tmp_addflag= ;;
8641 esac
8642 case `$CC -V 2>&1 | sed 5q` in
8643 *Sun\ C*) # Sun C 5.9
8644 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'
8645 compiler_needs_object=yes
8646 tmp_sharedflag='-G' ;;
8647 *Sun\ F*) # Sun Fortran 8.3
8648 tmp_sharedflag='-G' ;;
8649 esac
8650 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8652 if test "x$supports_anon_versioning" = xyes; then
8653 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8654 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8655 echo "local: *; };" >> $output_objdir/$libname.ver~
8656 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8659 case $cc_basename in
8660 xlf*)
8661 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
8662 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
8663 hardcode_libdir_flag_spec=
8664 hardcode_libdir_flag_spec_ld='-rpath $libdir'
8665 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
8666 if test "x$supports_anon_versioning" = xyes; then
8667 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
8668 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8669 echo "local: *; };" >> $output_objdir/$libname.ver~
8670 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
8673 esac
8674 else
8675 ld_shlibs=no
8679 netbsd*)
8680 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8681 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8682 wlarc=
8683 else
8684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8685 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8689 solaris*)
8690 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
8691 ld_shlibs=no
8692 cat <<_LT_EOF 1>&2
8694 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
8695 *** create shared libraries on Solaris systems. Therefore, libtool
8696 *** is disabling shared libraries support. We urge you to upgrade GNU
8697 *** binutils to release 2.9.1 or newer. Another option is to modify
8698 *** your PATH or compiler configuration so that the native linker is
8699 *** used, and then restart.
8701 _LT_EOF
8702 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8703 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8704 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8705 else
8706 ld_shlibs=no
8710 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
8711 case `$LD -v 2>&1` in
8712 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
8713 ld_shlibs=no
8714 cat <<_LT_EOF 1>&2
8716 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
8717 *** reliably create shared libraries on SCO systems. Therefore, libtool
8718 *** is disabling shared libraries support. We urge you to upgrade GNU
8719 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
8720 *** your PATH or compiler configuration so that the native linker is
8721 *** used, and then restart.
8723 _LT_EOF
8726 # For security reasons, it is highly recommended that you always
8727 # use absolute paths for naming shared libraries, and exclude the
8728 # DT_RUNPATH tag from executables and libraries. But doing so
8729 # requires that you compile everything twice, which is a pain.
8730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8731 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
8732 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8733 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8734 else
8735 ld_shlibs=no
8738 esac
8741 sunos4*)
8742 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8743 wlarc=
8744 hardcode_direct=yes
8745 hardcode_shlibpath_var=no
8749 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8750 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8751 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8752 else
8753 ld_shlibs=no
8756 esac
8758 if test "$ld_shlibs" = no; then
8759 runpath_var=
8760 hardcode_libdir_flag_spec=
8761 export_dynamic_flag_spec=
8762 whole_archive_flag_spec=
8764 else
8765 # PORTME fill in a description of your system's linker (not GNU ld)
8766 case $host_os in
8767 aix3*)
8768 allow_undefined_flag=unsupported
8769 always_export_symbols=yes
8770 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'
8771 # Note: this linker hardcodes the directories in LIBPATH if there
8772 # are no directories specified by -L.
8773 hardcode_minus_L=yes
8774 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
8775 # Neither direct hardcoding nor static linking is supported with a
8776 # broken collect2.
8777 hardcode_direct=unsupported
8781 aix[4-9]*)
8782 if test "$host_cpu" = ia64; then
8783 # On IA64, the linker does run time linking by default, so we don't
8784 # have to do anything special.
8785 aix_use_runtimelinking=no
8786 exp_sym_flag='-Bexport'
8787 no_entry_flag=""
8788 else
8789 # If we're using GNU nm, then we don't want the "-C" option.
8790 # -C means demangle to AIX nm, but means don't demangle with GNU nm
8791 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
8792 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'
8793 else
8794 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'
8796 aix_use_runtimelinking=no
8798 # Test if we are trying to use run time linking or normal
8799 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
8800 # need to do runtime linking.
8801 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
8802 for ld_flag in $LDFLAGS; do
8803 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
8804 aix_use_runtimelinking=yes
8805 break
8807 done
8809 esac
8811 exp_sym_flag='-bexport'
8812 no_entry_flag='-bnoentry'
8815 # When large executables or shared objects are built, AIX ld can
8816 # have problems creating the table of contents. If linking a library
8817 # or program results in "error TOC overflow" add -mminimal-toc to
8818 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
8819 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
8821 archive_cmds=''
8822 hardcode_direct=yes
8823 hardcode_direct_absolute=yes
8824 hardcode_libdir_separator=':'
8825 link_all_deplibs=yes
8826 file_list_spec='${wl}-f,'
8828 if test "$GCC" = yes; then
8829 case $host_os in aix4.[012]|aix4.[012].*)
8830 # We only want to do this on AIX 4.2 and lower, the check
8831 # below for broken collect2 doesn't work under 4.3+
8832 collect2name=`${CC} -print-prog-name=collect2`
8833 if test -f "$collect2name" &&
8834 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
8835 then
8836 # We have reworked collect2
8838 else
8839 # We have old collect2
8840 hardcode_direct=unsupported
8841 # It fails to find uninstalled libraries when the uninstalled
8842 # path is not listed in the libpath. Setting hardcode_minus_L
8843 # to unsupported forces relinking
8844 hardcode_minus_L=yes
8845 hardcode_libdir_flag_spec='-L$libdir'
8846 hardcode_libdir_separator=
8849 esac
8850 shared_flag='-shared'
8851 if test "$aix_use_runtimelinking" = yes; then
8852 shared_flag="$shared_flag "'${wl}-G'
8854 else
8855 # not using gcc
8856 if test "$host_cpu" = ia64; then
8857 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
8858 # chokes on -Wl,-G. The following line is correct:
8859 shared_flag='-G'
8860 else
8861 if test "$aix_use_runtimelinking" = yes; then
8862 shared_flag='${wl}-G'
8863 else
8864 shared_flag='${wl}-bM:SRE'
8869 export_dynamic_flag_spec='${wl}-bexpall'
8870 # It seems that -bexpall does not export symbols beginning with
8871 # underscore (_), so it is better to generate a list of symbols to export.
8872 always_export_symbols=yes
8873 if test "$aix_use_runtimelinking" = yes; then
8874 # Warning - without using the other runtime loading flags (-brtl),
8875 # -berok will link without error, but may produce a broken library.
8876 allow_undefined_flag='-berok'
8877 # Determine the default libpath from the value encoded in an
8878 # empty executable.
8879 if test x$gcc_no_link = xyes; then
8880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8882 { (exit 1); exit 1; }; }
8884 cat >conftest.$ac_ext <<_ACEOF
8885 /* confdefs.h. */
8886 _ACEOF
8887 cat confdefs.h >>conftest.$ac_ext
8888 cat >>conftest.$ac_ext <<_ACEOF
8889 /* end confdefs.h. */
8892 main ()
8896 return 0;
8898 _ACEOF
8899 rm -f conftest.$ac_objext conftest$ac_exeext
8900 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8901 (eval $ac_link) 2>conftest.er1
8902 ac_status=$?
8903 grep -v '^ *+' conftest.er1 >conftest.err
8904 rm -f conftest.er1
8905 cat conftest.err >&5
8906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8907 (exit $ac_status); } &&
8908 { ac_try='test -z "$ac_c_werror_flag"
8909 || test ! -s conftest.err'
8910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8911 (eval $ac_try) 2>&5
8912 ac_status=$?
8913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8914 (exit $ac_status); }; } &&
8915 { ac_try='test -s conftest$ac_exeext'
8916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8917 (eval $ac_try) 2>&5
8918 ac_status=$?
8919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8920 (exit $ac_status); }; }; then
8922 lt_aix_libpath_sed='
8923 /Import File Strings/,/^$/ {
8924 /^0/ {
8925 s/^0 *\(.*\)$/\1/
8929 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8930 # Check for a 64-bit object if we didn't find anything.
8931 if test -z "$aix_libpath"; then
8932 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8934 else
8935 echo "$as_me: failed program was:" >&5
8936 sed 's/^/| /' conftest.$ac_ext >&5
8939 rm -f conftest.err conftest.$ac_objext \
8940 conftest$ac_exeext conftest.$ac_ext
8941 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
8943 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
8944 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"
8945 else
8946 if test "$host_cpu" = ia64; then
8947 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
8948 allow_undefined_flag="-z nodefs"
8949 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"
8950 else
8951 # Determine the default libpath from the value encoded in an
8952 # empty executable.
8953 if test x$gcc_no_link = xyes; then
8954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
8955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
8956 { (exit 1); exit 1; }; }
8958 cat >conftest.$ac_ext <<_ACEOF
8959 /* confdefs.h. */
8960 _ACEOF
8961 cat confdefs.h >>conftest.$ac_ext
8962 cat >>conftest.$ac_ext <<_ACEOF
8963 /* end confdefs.h. */
8966 main ()
8970 return 0;
8972 _ACEOF
8973 rm -f conftest.$ac_objext conftest$ac_exeext
8974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
8975 (eval $ac_link) 2>conftest.er1
8976 ac_status=$?
8977 grep -v '^ *+' conftest.er1 >conftest.err
8978 rm -f conftest.er1
8979 cat conftest.err >&5
8980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8981 (exit $ac_status); } &&
8982 { ac_try='test -z "$ac_c_werror_flag"
8983 || test ! -s conftest.err'
8984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8985 (eval $ac_try) 2>&5
8986 ac_status=$?
8987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8988 (exit $ac_status); }; } &&
8989 { ac_try='test -s conftest$ac_exeext'
8990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8991 (eval $ac_try) 2>&5
8992 ac_status=$?
8993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8994 (exit $ac_status); }; }; then
8996 lt_aix_libpath_sed='
8997 /Import File Strings/,/^$/ {
8998 /^0/ {
8999 s/^0 *\(.*\)$/\1/
9003 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9004 # Check for a 64-bit object if we didn't find anything.
9005 if test -z "$aix_libpath"; then
9006 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9008 else
9009 echo "$as_me: failed program was:" >&5
9010 sed 's/^/| /' conftest.$ac_ext >&5
9013 rm -f conftest.err conftest.$ac_objext \
9014 conftest$ac_exeext conftest.$ac_ext
9015 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9017 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9018 # Warning - without using the other run time loading flags,
9019 # -berok will link without error, but may produce a broken library.
9020 no_undefined_flag=' ${wl}-bernotok'
9021 allow_undefined_flag=' ${wl}-berok'
9022 # Exported symbols can be pulled into shared objects from archives
9023 whole_archive_flag_spec='$convenience'
9024 archive_cmds_need_lc=yes
9025 # This is similar to how AIX traditionally builds its shared libraries.
9026 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'
9031 amigaos*)
9032 case $host_cpu in
9033 powerpc)
9034 # see comment about AmigaOS4 .so support
9035 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9036 archive_expsym_cmds=''
9038 m68k)
9039 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)'
9040 hardcode_libdir_flag_spec='-L$libdir'
9041 hardcode_minus_L=yes
9043 esac
9046 bsdi[45]*)
9047 export_dynamic_flag_spec=-rdynamic
9050 cygwin* | mingw* | pw32* | cegcc*)
9051 # When not using gcc, we currently assume that we are using
9052 # Microsoft Visual C++.
9053 # hardcode_libdir_flag_spec is actually meaningless, as there is
9054 # no search path for DLLs.
9055 hardcode_libdir_flag_spec=' '
9056 allow_undefined_flag=unsupported
9057 # Tell ltmain to make .lib files, not .a files.
9058 libext=lib
9059 # Tell ltmain to make .dll files, not .so files.
9060 shrext_cmds=".dll"
9061 # FIXME: Setting linknames here is a bad hack.
9062 archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
9063 # The linker will automatically build a .lib file if we build a DLL.
9064 old_archive_from_new_cmds='true'
9065 # FIXME: Should let the user specify the lib program.
9066 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9067 fix_srcfile_path='`cygpath -w "$srcfile"`'
9068 enable_shared_with_static_runtimes=yes
9071 darwin* | rhapsody*)
9074 archive_cmds_need_lc=no
9075 hardcode_direct=no
9076 hardcode_automatic=yes
9077 hardcode_shlibpath_var=unsupported
9078 whole_archive_flag_spec=''
9079 link_all_deplibs=yes
9080 allow_undefined_flag="$_lt_dar_allow_undefined"
9081 case $cc_basename in
9082 ifort*) _lt_dar_can_shared=yes ;;
9083 *) _lt_dar_can_shared=$GCC ;;
9084 esac
9085 if test "$_lt_dar_can_shared" = "yes"; then
9086 output_verbose_link_cmd=echo
9087 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9088 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9089 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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9090 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9092 else
9093 ld_shlibs=no
9098 dgux*)
9099 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9100 hardcode_libdir_flag_spec='-L$libdir'
9101 hardcode_shlibpath_var=no
9104 freebsd1*)
9105 ld_shlibs=no
9108 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9109 # support. Future versions do this automatically, but an explicit c++rt0.o
9110 # does not break anything, and helps significantly (at the cost of a little
9111 # extra space).
9112 freebsd2.2*)
9113 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9114 hardcode_libdir_flag_spec='-R$libdir'
9115 hardcode_direct=yes
9116 hardcode_shlibpath_var=no
9119 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9120 freebsd2*)
9121 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9122 hardcode_direct=yes
9123 hardcode_minus_L=yes
9124 hardcode_shlibpath_var=no
9127 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9128 freebsd* | dragonfly*)
9129 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9130 hardcode_libdir_flag_spec='-R$libdir'
9131 hardcode_direct=yes
9132 hardcode_shlibpath_var=no
9135 hpux9*)
9136 if test "$GCC" = yes; then
9137 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'
9138 else
9139 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'
9141 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9142 hardcode_libdir_separator=:
9143 hardcode_direct=yes
9145 # hardcode_minus_L: Not really in the search PATH,
9146 # but as the default location of the library.
9147 hardcode_minus_L=yes
9148 export_dynamic_flag_spec='${wl}-E'
9151 hpux10*)
9152 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9153 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9154 else
9155 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9157 if test "$with_gnu_ld" = no; then
9158 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9159 hardcode_libdir_flag_spec_ld='+b $libdir'
9160 hardcode_libdir_separator=:
9161 hardcode_direct=yes
9162 hardcode_direct_absolute=yes
9163 export_dynamic_flag_spec='${wl}-E'
9164 # hardcode_minus_L: Not really in the search PATH,
9165 # but as the default location of the library.
9166 hardcode_minus_L=yes
9170 hpux11*)
9171 if test "$GCC" = yes -a "$with_gnu_ld" = no; then
9172 case $host_cpu in
9173 hppa*64*)
9174 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9176 ia64*)
9177 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9180 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9182 esac
9183 else
9184 case $host_cpu in
9185 hppa*64*)
9186 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9188 ia64*)
9189 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9192 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9194 esac
9196 if test "$with_gnu_ld" = no; then
9197 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9198 hardcode_libdir_separator=:
9200 case $host_cpu in
9201 hppa*64*|ia64*)
9202 hardcode_direct=no
9203 hardcode_shlibpath_var=no
9206 hardcode_direct=yes
9207 hardcode_direct_absolute=yes
9208 export_dynamic_flag_spec='${wl}-E'
9210 # hardcode_minus_L: Not really in the search PATH,
9211 # but as the default location of the library.
9212 hardcode_minus_L=yes
9214 esac
9218 irix5* | irix6* | nonstopux*)
9219 if test "$GCC" = yes; then
9220 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'
9221 # Try to use the -exported_symbol ld option, if it does not
9222 # work, assume that -exports_file does not work either and
9223 # implicitly export all symbols.
9224 save_LDFLAGS="$LDFLAGS"
9225 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9226 if test x$gcc_no_link = xyes; then
9227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
9228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
9229 { (exit 1); exit 1; }; }
9231 cat >conftest.$ac_ext <<_ACEOF
9232 int foo(void) {}
9233 _ACEOF
9234 rm -f conftest.$ac_objext conftest$ac_exeext
9235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
9236 (eval $ac_link) 2>conftest.er1
9237 ac_status=$?
9238 grep -v '^ *+' conftest.er1 >conftest.err
9239 rm -f conftest.er1
9240 cat conftest.err >&5
9241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9242 (exit $ac_status); } &&
9243 { ac_try='test -z "$ac_c_werror_flag"
9244 || test ! -s conftest.err'
9245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9246 (eval $ac_try) 2>&5
9247 ac_status=$?
9248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9249 (exit $ac_status); }; } &&
9250 { ac_try='test -s conftest$ac_exeext'
9251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9252 (eval $ac_try) 2>&5
9253 ac_status=$?
9254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9255 (exit $ac_status); }; }; then
9256 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'
9258 else
9259 echo "$as_me: failed program was:" >&5
9260 sed 's/^/| /' conftest.$ac_ext >&5
9263 rm -f conftest.err conftest.$ac_objext \
9264 conftest$ac_exeext conftest.$ac_ext
9265 LDFLAGS="$save_LDFLAGS"
9266 else
9267 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'
9268 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'
9270 archive_cmds_need_lc='no'
9271 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9272 hardcode_libdir_separator=:
9273 inherit_rpath=yes
9274 link_all_deplibs=yes
9277 netbsd*)
9278 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9279 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9280 else
9281 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9283 hardcode_libdir_flag_spec='-R$libdir'
9284 hardcode_direct=yes
9285 hardcode_shlibpath_var=no
9288 newsos6)
9289 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9290 hardcode_direct=yes
9291 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9292 hardcode_libdir_separator=:
9293 hardcode_shlibpath_var=no
9296 *nto* | *qnx*)
9299 openbsd*)
9300 if test -f /usr/libexec/ld.so; then
9301 hardcode_direct=yes
9302 hardcode_shlibpath_var=no
9303 hardcode_direct_absolute=yes
9304 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
9305 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9306 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
9307 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9308 export_dynamic_flag_spec='${wl}-E'
9309 else
9310 case $host_os in
9311 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
9312 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9313 hardcode_libdir_flag_spec='-R$libdir'
9316 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9317 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9319 esac
9321 else
9322 ld_shlibs=no
9326 os2*)
9327 hardcode_libdir_flag_spec='-L$libdir'
9328 hardcode_minus_L=yes
9329 allow_undefined_flag=unsupported
9330 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'
9331 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
9334 osf3*)
9335 if test "$GCC" = yes; then
9336 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9337 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'
9338 else
9339 allow_undefined_flag=' -expect_unresolved \*'
9340 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'
9342 archive_cmds_need_lc='no'
9343 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9344 hardcode_libdir_separator=:
9347 osf4* | osf5*) # as osf3* with the addition of -msym flag
9348 if test "$GCC" = yes; then
9349 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9350 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'
9351 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9352 else
9353 allow_undefined_flag=' -expect_unresolved \*'
9354 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'
9355 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~
9356 $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'
9358 # Both c and cxx compiler support -rpath directly
9359 hardcode_libdir_flag_spec='-rpath $libdir'
9361 archive_cmds_need_lc='no'
9362 hardcode_libdir_separator=:
9365 solaris*)
9366 no_undefined_flag=' -z defs'
9367 if test "$GCC" = yes; then
9368 wlarc='${wl}'
9369 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9370 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9371 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9372 else
9373 case `$CC -V 2>&1` in
9374 *"Compilers 5.0"*)
9375 wlarc=''
9376 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
9377 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9378 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
9381 wlarc='${wl}'
9382 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
9383 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9384 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9386 esac
9388 hardcode_libdir_flag_spec='-R$libdir'
9389 hardcode_shlibpath_var=no
9390 case $host_os in
9391 solaris2.[0-5] | solaris2.[0-5].*) ;;
9393 # The compiler driver will combine and reorder linker options,
9394 # but understands `-z linker_flag'. GCC discards it without `$wl',
9395 # but is careful enough not to reorder.
9396 # Supported since Solaris 2.6 (maybe 2.5.1?)
9397 if test "$GCC" = yes; then
9398 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
9399 else
9400 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
9403 esac
9404 link_all_deplibs=yes
9407 sunos4*)
9408 if test "x$host_vendor" = xsequent; then
9409 # Use $CC to link under sequent, because it throws in some extra .o
9410 # files that make .init and .fini sections work.
9411 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
9412 else
9413 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
9415 hardcode_libdir_flag_spec='-L$libdir'
9416 hardcode_direct=yes
9417 hardcode_minus_L=yes
9418 hardcode_shlibpath_var=no
9421 sysv4)
9422 case $host_vendor in
9423 sni)
9424 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9425 hardcode_direct=yes # is this really true???
9427 siemens)
9428 ## LD is ld it makes a PLAMLIB
9429 ## CC just makes a GrossModule.
9430 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
9431 reload_cmds='$CC -r -o $output$reload_objs'
9432 hardcode_direct=no
9434 motorola)
9435 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9436 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
9438 esac
9439 runpath_var='LD_RUN_PATH'
9440 hardcode_shlibpath_var=no
9443 sysv4.3*)
9444 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9445 hardcode_shlibpath_var=no
9446 export_dynamic_flag_spec='-Bexport'
9449 sysv4*MP*)
9450 if test -d /usr/nec; then
9451 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9452 hardcode_shlibpath_var=no
9453 runpath_var=LD_RUN_PATH
9454 hardcode_runpath_var=yes
9455 ld_shlibs=yes
9459 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
9460 no_undefined_flag='${wl}-z,text'
9461 archive_cmds_need_lc=no
9462 hardcode_shlibpath_var=no
9463 runpath_var='LD_RUN_PATH'
9465 if test "$GCC" = yes; then
9466 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9467 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9468 else
9469 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9470 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9474 sysv5* | sco3.2v5* | sco5v6*)
9475 # Note: We can NOT use -z defs as we might desire, because we do not
9476 # link with -lc, and that would cause any symbols used from libc to
9477 # always be unresolved, which means just about no library would
9478 # ever link correctly. If we're not using GNU ld we use -z text
9479 # though, which does catch some bad symbols but isn't as heavy-handed
9480 # as -z defs.
9481 no_undefined_flag='${wl}-z,text'
9482 allow_undefined_flag='${wl}-z,nodefs'
9483 archive_cmds_need_lc=no
9484 hardcode_shlibpath_var=no
9485 hardcode_libdir_flag_spec='${wl}-R,$libdir'
9486 hardcode_libdir_separator=':'
9487 link_all_deplibs=yes
9488 export_dynamic_flag_spec='${wl}-Bexport'
9489 runpath_var='LD_RUN_PATH'
9491 if test "$GCC" = yes; then
9492 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9493 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9494 else
9495 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9496 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
9500 uts4*)
9501 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9502 hardcode_libdir_flag_spec='-L$libdir'
9503 hardcode_shlibpath_var=no
9507 ld_shlibs=no
9509 esac
9511 if test x$host_vendor = xsni; then
9512 case $host in
9513 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
9514 export_dynamic_flag_spec='${wl}-Blargedynsym'
9516 esac
9520 echo "$as_me:$LINENO: result: $ld_shlibs" >&5
9521 echo "${ECHO_T}$ld_shlibs" >&6
9522 test "$ld_shlibs" = no && can_build_shared=no
9524 with_gnu_ld=$with_gnu_ld
9541 # Do we need to explicitly link libc?
9543 case "x$archive_cmds_need_lc" in
9544 x|xyes)
9545 # Assume -lc should be added
9546 archive_cmds_need_lc=yes
9548 if test "$enable_shared" = yes && test "$GCC" = yes; then
9549 case $archive_cmds in
9550 *'~'*)
9551 # FIXME: we may have to deal with multi-command sequences.
9553 '$CC '*)
9554 # Test whether the compiler implicitly links with -lc since on some
9555 # systems, -lgcc has to come before -lc. If gcc already passes -lc
9556 # to ld, don't add -lc before -lgcc.
9557 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
9558 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
9559 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then
9560 echo $ECHO_N "(cached) $ECHO_C" >&6
9561 else
9562 $RM conftest*
9563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
9566 (eval $ac_compile) 2>&5
9567 ac_status=$?
9568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9569 (exit $ac_status); } 2>conftest.err; then
9570 soname=conftest
9571 lib=conftest
9572 libobjs=conftest.$ac_objext
9573 deplibs=
9574 wl=$lt_prog_compiler_wl
9575 pic_flag=$lt_prog_compiler_pic
9576 compiler_flags=-v
9577 linker_flags=-v
9578 verstring=
9579 output_objdir=.
9580 libname=conftest
9581 lt_save_allow_undefined_flag=$allow_undefined_flag
9582 allow_undefined_flag=
9583 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
9584 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
9585 ac_status=$?
9586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9587 (exit $ac_status); }
9588 then
9589 lt_cv_archive_cmds_need_lc=no
9590 else
9591 lt_cv_archive_cmds_need_lc=yes
9593 allow_undefined_flag=$lt_save_allow_undefined_flag
9594 else
9595 cat conftest.err 1>&5
9597 $RM conftest*
9600 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc" >&5
9601 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc" >&6
9602 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
9604 esac
9607 esac
9765 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
9766 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
9768 if test "$GCC" = yes; then
9769 case $host_os in
9770 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
9771 *) lt_awk_arg="/^libraries:/" ;;
9772 esac
9773 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9774 if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
9775 # if the path contains ";" then we assume it to be the separator
9776 # otherwise default to the standard path separator (i.e. ":") - it is
9777 # assumed that no part of a normal pathname contains ";" but that should
9778 # okay in the real world where ";" in dirpaths is itself problematic.
9779 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
9780 else
9781 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9783 # Ok, now we have the path, separated by spaces, we can step through it
9784 # and add multilib dir if necessary.
9785 lt_tmp_lt_search_path_spec=
9786 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
9787 for lt_sys_path in $lt_search_path_spec; do
9788 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
9789 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
9790 else
9791 test -d "$lt_sys_path" && \
9792 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
9794 done
9795 lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
9796 BEGIN {RS=" "; FS="/|\n";} {
9797 lt_foo="";
9798 lt_count=0;
9799 for (lt_i = NF; lt_i > 0; lt_i--) {
9800 if ($lt_i != "" && $lt_i != ".") {
9801 if ($lt_i == "..") {
9802 lt_count++;
9803 } else {
9804 if (lt_count == 0) {
9805 lt_foo="/" $lt_i lt_foo;
9806 } else {
9807 lt_count--;
9812 if (lt_foo != "") { lt_freq[lt_foo]++; }
9813 if (lt_freq[lt_foo] == 1) { print lt_foo; }
9815 sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
9816 else
9817 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
9819 library_names_spec=
9820 libname_spec='lib$name'
9821 soname_spec=
9822 shrext_cmds=".so"
9823 postinstall_cmds=
9824 postuninstall_cmds=
9825 finish_cmds=
9826 finish_eval=
9827 shlibpath_var=
9828 shlibpath_overrides_runpath=unknown
9829 version_type=none
9830 dynamic_linker="$host_os ld.so"
9831 sys_lib_dlsearch_path_spec="/lib /usr/lib"
9832 need_lib_prefix=unknown
9833 hardcode_into_libs=no
9835 # when you set need_version to no, make sure it does not cause -set_version
9836 # flags to be left without arguments
9837 need_version=unknown
9839 case $host_os in
9840 aix3*)
9841 version_type=linux
9842 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
9843 shlibpath_var=LIBPATH
9845 # AIX 3 has no versioning support, so we append a major version to the name.
9846 soname_spec='${libname}${release}${shared_ext}$major'
9849 aix[4-9]*)
9850 version_type=linux
9851 need_lib_prefix=no
9852 need_version=no
9853 hardcode_into_libs=yes
9854 if test "$host_cpu" = ia64; then
9855 # AIX 5 supports IA64
9856 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
9857 shlibpath_var=LD_LIBRARY_PATH
9858 else
9859 # With GCC up to 2.95.x, collect2 would create an import file
9860 # for dependence libraries. The import file would start with
9861 # the line `#! .'. This would cause the generated library to
9862 # depend on `.', always an invalid library. This was fixed in
9863 # development snapshots of GCC prior to 3.0.
9864 case $host_os in
9865 aix4 | aix4.[01] | aix4.[01].*)
9866 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
9867 echo ' yes '
9868 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
9870 else
9871 can_build_shared=no
9874 esac
9875 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
9876 # soname into executable. Probably we can add versioning support to
9877 # collect2, so additional links can be useful in future.
9878 if test "$aix_use_runtimelinking" = yes; then
9879 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
9880 # instead of lib<name>.a to let people know that these are not
9881 # typical AIX shared libraries.
9882 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9883 else
9884 # We preserve .a as extension for shared libraries through AIX4.2
9885 # and later when we are not doing run time linking.
9886 library_names_spec='${libname}${release}.a $libname.a'
9887 soname_spec='${libname}${release}${shared_ext}$major'
9889 shlibpath_var=LIBPATH
9893 amigaos*)
9894 case $host_cpu in
9895 powerpc)
9896 # Since July 2007 AmigaOS4 officially supports .so libraries.
9897 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
9898 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9900 m68k)
9901 library_names_spec='$libname.ixlibrary $libname.a'
9902 # Create ${libname}_ixlibrary.a entries in /sys/libs.
9903 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'
9905 esac
9908 beos*)
9909 library_names_spec='${libname}${shared_ext}'
9910 dynamic_linker="$host_os ld.so"
9911 shlibpath_var=LIBRARY_PATH
9914 bsdi[45]*)
9915 version_type=linux
9916 need_version=no
9917 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
9918 soname_spec='${libname}${release}${shared_ext}$major'
9919 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
9920 shlibpath_var=LD_LIBRARY_PATH
9921 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
9922 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
9923 # the default ld.so.conf also contains /usr/contrib/lib and
9924 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
9925 # libtool to hard-code these into programs
9928 cygwin* | mingw* | pw32* | cegcc*)
9929 version_type=windows
9930 shrext_cmds=".dll"
9931 need_version=no
9932 need_lib_prefix=no
9934 case $GCC,$host_os in
9935 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
9936 library_names_spec='$libname.dll.a'
9937 # DLL is installed to $(libdir)/../bin by postinstall_cmds
9938 postinstall_cmds='base_file=`basename \${file}`~
9939 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
9940 dldir=$destdir/`dirname \$dlpath`~
9941 test -d \$dldir || mkdir -p \$dldir~
9942 $install_prog $dir/$dlname \$dldir/$dlname~
9943 chmod a+x \$dldir/$dlname~
9944 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
9945 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
9947 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
9948 dlpath=$dir/\$dldll~
9949 $RM \$dlpath'
9950 shlibpath_overrides_runpath=yes
9952 case $host_os in
9953 cygwin*)
9954 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
9955 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9956 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
9958 mingw* | cegcc*)
9959 # MinGW DLLs use traditional 'lib' prefix
9960 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9961 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
9962 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
9963 # It is most probably a Windows format PATH printed by
9964 # mingw gcc, but we are running on Cygwin. Gcc prints its search
9965 # path with ; separators, and with drive letters. We can handle the
9966 # drive letters (cygwin fileutils understands them), so leave them,
9967 # especially as we might pass files found there to a mingw objdump,
9968 # which wouldn't understand a cygwinified path. Ahh.
9969 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
9970 else
9971 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
9974 pw32*)
9975 # pw32 DLLs use 'pw' prefix rather than 'lib'
9976 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
9978 esac
9982 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
9984 esac
9985 dynamic_linker='Win32 ld.exe'
9986 # FIXME: first we should search . and the directory the executable is in
9987 shlibpath_var=PATH
9990 darwin* | rhapsody*)
9991 dynamic_linker="$host_os dyld"
9992 version_type=darwin
9993 need_lib_prefix=no
9994 need_version=no
9995 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
9996 soname_spec='${libname}${release}${major}$shared_ext'
9997 shlibpath_overrides_runpath=yes
9998 shlibpath_var=DYLD_LIBRARY_PATH
9999 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10001 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10002 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10005 dgux*)
10006 version_type=linux
10007 need_lib_prefix=no
10008 need_version=no
10009 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10010 soname_spec='${libname}${release}${shared_ext}$major'
10011 shlibpath_var=LD_LIBRARY_PATH
10014 freebsd1*)
10015 dynamic_linker=no
10018 freebsd* | dragonfly*)
10019 # DragonFly does not have aout. When/if they implement a new
10020 # versioning mechanism, adjust this.
10021 if test -x /usr/bin/objformat; then
10022 objformat=`/usr/bin/objformat`
10023 else
10024 case $host_os in
10025 freebsd[123]*) objformat=aout ;;
10026 *) objformat=elf ;;
10027 esac
10029 version_type=freebsd-$objformat
10030 case $version_type in
10031 freebsd-elf*)
10032 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10033 need_version=no
10034 need_lib_prefix=no
10036 freebsd-*)
10037 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10038 need_version=yes
10040 esac
10041 shlibpath_var=LD_LIBRARY_PATH
10042 case $host_os in
10043 freebsd2*)
10044 shlibpath_overrides_runpath=yes
10046 freebsd3.[01]* | freebsdelf3.[01]*)
10047 shlibpath_overrides_runpath=yes
10048 hardcode_into_libs=yes
10050 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10051 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10052 shlibpath_overrides_runpath=no
10053 hardcode_into_libs=yes
10055 *) # from 4.6 on, and DragonFly
10056 shlibpath_overrides_runpath=yes
10057 hardcode_into_libs=yes
10059 esac
10062 gnu*)
10063 version_type=linux
10064 need_lib_prefix=no
10065 need_version=no
10066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10067 soname_spec='${libname}${release}${shared_ext}$major'
10068 shlibpath_var=LD_LIBRARY_PATH
10069 hardcode_into_libs=yes
10072 hpux9* | hpux10* | hpux11*)
10073 # Give a soname corresponding to the major version so that dld.sl refuses to
10074 # link against other versions.
10075 version_type=sunos
10076 need_lib_prefix=no
10077 need_version=no
10078 case $host_cpu in
10079 ia64*)
10080 shrext_cmds='.so'
10081 hardcode_into_libs=yes
10082 dynamic_linker="$host_os dld.so"
10083 shlibpath_var=LD_LIBRARY_PATH
10084 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10085 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10086 soname_spec='${libname}${release}${shared_ext}$major'
10087 if test "X$HPUX_IA64_MODE" = X32; then
10088 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10089 else
10090 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10092 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10094 hppa*64*)
10095 shrext_cmds='.sl'
10096 hardcode_into_libs=yes
10097 dynamic_linker="$host_os dld.sl"
10098 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10099 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10100 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10101 soname_spec='${libname}${release}${shared_ext}$major'
10102 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10103 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10106 shrext_cmds='.sl'
10107 dynamic_linker="$host_os dld.sl"
10108 shlibpath_var=SHLIB_PATH
10109 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10110 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10111 soname_spec='${libname}${release}${shared_ext}$major'
10113 esac
10114 # HP-UX runs *really* slowly unless shared libraries are mode 555.
10115 postinstall_cmds='chmod 555 $lib'
10118 interix[3-9]*)
10119 version_type=linux
10120 need_lib_prefix=no
10121 need_version=no
10122 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10123 soname_spec='${libname}${release}${shared_ext}$major'
10124 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10125 shlibpath_var=LD_LIBRARY_PATH
10126 shlibpath_overrides_runpath=no
10127 hardcode_into_libs=yes
10130 irix5* | irix6* | nonstopux*)
10131 case $host_os in
10132 nonstopux*) version_type=nonstopux ;;
10134 if test "$lt_cv_prog_gnu_ld" = yes; then
10135 version_type=linux
10136 else
10137 version_type=irix
10138 fi ;;
10139 esac
10140 need_lib_prefix=no
10141 need_version=no
10142 soname_spec='${libname}${release}${shared_ext}$major'
10143 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10144 case $host_os in
10145 irix5* | nonstopux*)
10146 libsuff= shlibsuff=
10149 case $LD in # libtool.m4 will add one of these switches to LD
10150 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10151 libsuff= shlibsuff= libmagic=32-bit;;
10152 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10153 libsuff=32 shlibsuff=N32 libmagic=N32;;
10154 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10155 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10156 *) libsuff= shlibsuff= libmagic=never-match;;
10157 esac
10159 esac
10160 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10161 shlibpath_overrides_runpath=no
10162 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10163 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10164 hardcode_into_libs=yes
10167 # No shared lib support for Linux oldld, aout, or coff.
10168 linux*oldld* | linux*aout* | linux*coff*)
10169 dynamic_linker=no
10172 # This must be Linux ELF.
10173 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10174 version_type=linux
10175 need_lib_prefix=no
10176 need_version=no
10177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10178 soname_spec='${libname}${release}${shared_ext}$major'
10179 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10180 shlibpath_var=LD_LIBRARY_PATH
10181 shlibpath_overrides_runpath=no
10183 # Some binutils ld are patched to set DT_RUNPATH
10184 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
10185 echo $ECHO_N "(cached) $ECHO_C" >&6
10186 else
10187 lt_cv_shlibpath_overrides_runpath=no
10188 save_LDFLAGS=$LDFLAGS
10189 save_libdir=$libdir
10190 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10191 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10192 if test x$gcc_no_link = xyes; then
10193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10195 { (exit 1); exit 1; }; }
10197 cat >conftest.$ac_ext <<_ACEOF
10198 /* confdefs.h. */
10199 _ACEOF
10200 cat confdefs.h >>conftest.$ac_ext
10201 cat >>conftest.$ac_ext <<_ACEOF
10202 /* end confdefs.h. */
10205 main ()
10209 return 0;
10211 _ACEOF
10212 rm -f conftest.$ac_objext conftest$ac_exeext
10213 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10214 (eval $ac_link) 2>conftest.er1
10215 ac_status=$?
10216 grep -v '^ *+' conftest.er1 >conftest.err
10217 rm -f conftest.er1
10218 cat conftest.err >&5
10219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10220 (exit $ac_status); } &&
10221 { ac_try='test -z "$ac_c_werror_flag"
10222 || test ! -s conftest.err'
10223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10224 (eval $ac_try) 2>&5
10225 ac_status=$?
10226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10227 (exit $ac_status); }; } &&
10228 { ac_try='test -s conftest$ac_exeext'
10229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10230 (eval $ac_try) 2>&5
10231 ac_status=$?
10232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10233 (exit $ac_status); }; }; then
10234 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10235 lt_cv_shlibpath_overrides_runpath=yes
10238 else
10239 echo "$as_me: failed program was:" >&5
10240 sed 's/^/| /' conftest.$ac_ext >&5
10243 rm -f conftest.err conftest.$ac_objext \
10244 conftest$ac_exeext conftest.$ac_ext
10245 LDFLAGS=$save_LDFLAGS
10246 libdir=$save_libdir
10250 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10252 # This implies no fast_install, which is unacceptable.
10253 # Some rework will be needed to allow for fast_install
10254 # before this can be enabled.
10255 hardcode_into_libs=yes
10257 # Append ld.so.conf contents to the search path
10258 if test -f /etc/ld.so.conf; then
10259 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
10260 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10263 # We used to test for /lib/ld.so.1 and disable shared libraries on
10264 # powerpc, because MkLinux only supported shared libraries with the
10265 # GNU dynamic linker. Since this was broken with cross compilers,
10266 # most powerpc-linux boxes support dynamic linking these days and
10267 # people can always --disable-shared, the test was removed, and we
10268 # assume the GNU/Linux dynamic linker is in use.
10269 dynamic_linker='GNU/Linux ld.so'
10272 netbsd*)
10273 version_type=sunos
10274 need_lib_prefix=no
10275 need_version=no
10276 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10277 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10278 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10279 dynamic_linker='NetBSD (a.out) ld.so'
10280 else
10281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10282 soname_spec='${libname}${release}${shared_ext}$major'
10283 dynamic_linker='NetBSD ld.elf_so'
10285 shlibpath_var=LD_LIBRARY_PATH
10286 shlibpath_overrides_runpath=yes
10287 hardcode_into_libs=yes
10290 newsos6)
10291 version_type=linux
10292 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10293 shlibpath_var=LD_LIBRARY_PATH
10294 shlibpath_overrides_runpath=yes
10297 *nto* | *qnx*)
10298 version_type=qnx
10299 need_lib_prefix=no
10300 need_version=no
10301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10302 soname_spec='${libname}${release}${shared_ext}$major'
10303 shlibpath_var=LD_LIBRARY_PATH
10304 shlibpath_overrides_runpath=no
10305 hardcode_into_libs=yes
10306 dynamic_linker='ldqnx.so'
10309 openbsd*)
10310 version_type=sunos
10311 sys_lib_dlsearch_path_spec="/usr/lib"
10312 need_lib_prefix=no
10313 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10314 case $host_os in
10315 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
10316 *) need_version=no ;;
10317 esac
10318 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10319 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10320 shlibpath_var=LD_LIBRARY_PATH
10321 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10322 case $host_os in
10323 openbsd2.[89] | openbsd2.[89].*)
10324 shlibpath_overrides_runpath=no
10327 shlibpath_overrides_runpath=yes
10329 esac
10330 else
10331 shlibpath_overrides_runpath=yes
10335 os2*)
10336 libname_spec='$name'
10337 shrext_cmds=".dll"
10338 need_lib_prefix=no
10339 library_names_spec='$libname${shared_ext} $libname.a'
10340 dynamic_linker='OS/2 ld.exe'
10341 shlibpath_var=LIBPATH
10344 osf3* | osf4* | osf5*)
10345 version_type=osf
10346 need_lib_prefix=no
10347 need_version=no
10348 soname_spec='${libname}${release}${shared_ext}$major'
10349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10350 shlibpath_var=LD_LIBRARY_PATH
10351 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
10352 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
10355 rdos*)
10356 dynamic_linker=no
10359 solaris*)
10360 version_type=linux
10361 need_lib_prefix=no
10362 need_version=no
10363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10364 soname_spec='${libname}${release}${shared_ext}$major'
10365 shlibpath_var=LD_LIBRARY_PATH
10366 shlibpath_overrides_runpath=yes
10367 hardcode_into_libs=yes
10368 # ldd complains unless libraries are executable
10369 postinstall_cmds='chmod +x $lib'
10372 sunos4*)
10373 version_type=sunos
10374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10375 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
10376 shlibpath_var=LD_LIBRARY_PATH
10377 shlibpath_overrides_runpath=yes
10378 if test "$with_gnu_ld" = yes; then
10379 need_lib_prefix=no
10381 need_version=yes
10384 sysv4 | sysv4.3*)
10385 version_type=linux
10386 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10387 soname_spec='${libname}${release}${shared_ext}$major'
10388 shlibpath_var=LD_LIBRARY_PATH
10389 case $host_vendor in
10390 sni)
10391 shlibpath_overrides_runpath=no
10392 need_lib_prefix=no
10393 runpath_var=LD_RUN_PATH
10395 siemens)
10396 need_lib_prefix=no
10398 motorola)
10399 need_lib_prefix=no
10400 need_version=no
10401 shlibpath_overrides_runpath=no
10402 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
10404 esac
10407 sysv4*MP*)
10408 if test -d /usr/nec ;then
10409 version_type=linux
10410 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
10411 soname_spec='$libname${shared_ext}.$major'
10412 shlibpath_var=LD_LIBRARY_PATH
10416 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
10417 version_type=freebsd-elf
10418 need_lib_prefix=no
10419 need_version=no
10420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10421 soname_spec='${libname}${release}${shared_ext}$major'
10422 shlibpath_var=LD_LIBRARY_PATH
10423 shlibpath_overrides_runpath=yes
10424 hardcode_into_libs=yes
10425 if test "$with_gnu_ld" = yes; then
10426 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
10427 else
10428 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
10429 case $host_os in
10430 sco3.2v5*)
10431 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
10433 esac
10435 sys_lib_dlsearch_path_spec='/usr/lib'
10438 tpf*)
10439 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
10440 version_type=linux
10441 need_lib_prefix=no
10442 need_version=no
10443 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10444 shlibpath_var=LD_LIBRARY_PATH
10445 shlibpath_overrides_runpath=no
10446 hardcode_into_libs=yes
10449 uts4*)
10450 version_type=linux
10451 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10452 soname_spec='${libname}${release}${shared_ext}$major'
10453 shlibpath_var=LD_LIBRARY_PATH
10457 dynamic_linker=no
10459 esac
10460 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
10461 echo "${ECHO_T}$dynamic_linker" >&6
10462 test "$dynamic_linker" = no && can_build_shared=no
10464 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
10465 if test "$GCC" = yes; then
10466 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
10469 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
10470 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
10472 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
10473 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
10562 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
10563 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
10564 hardcode_action=
10565 if test -n "$hardcode_libdir_flag_spec" ||
10566 test -n "$runpath_var" ||
10567 test "X$hardcode_automatic" = "Xyes" ; then
10569 # We can hardcode non-existent directories.
10570 if test "$hardcode_direct" != no &&
10571 # If the only mechanism to avoid hardcoding is shlibpath_var, we
10572 # have to relink, otherwise we might link with an installed library
10573 # when we should be linking with a yet-to-be-installed one
10574 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
10575 test "$hardcode_minus_L" != no; then
10576 # Linking always hardcodes the temporary library directory.
10577 hardcode_action=relink
10578 else
10579 # We can link without hardcoding, and we can hardcode nonexisting dirs.
10580 hardcode_action=immediate
10582 else
10583 # We cannot hardcode anything, or else we can only hardcode existing
10584 # directories.
10585 hardcode_action=unsupported
10587 echo "$as_me:$LINENO: result: $hardcode_action" >&5
10588 echo "${ECHO_T}$hardcode_action" >&6
10590 if test "$hardcode_action" = relink ||
10591 test "$inherit_rpath" = yes; then
10592 # Fast installation is not supported
10593 enable_fast_install=no
10594 elif test "$shlibpath_overrides_runpath" = yes ||
10595 test "$enable_shared" = no; then
10596 # Fast installation is not necessary
10597 enable_fast_install=needless
10605 if test "x$enable_dlopen" != xyes; then
10606 enable_dlopen=unknown
10607 enable_dlopen_self=unknown
10608 enable_dlopen_self_static=unknown
10609 else
10610 lt_cv_dlopen=no
10611 lt_cv_dlopen_libs=
10613 case $host_os in
10614 beos*)
10615 lt_cv_dlopen="load_add_on"
10616 lt_cv_dlopen_libs=
10617 lt_cv_dlopen_self=yes
10620 mingw* | pw32* | cegcc*)
10621 lt_cv_dlopen="LoadLibrary"
10622 lt_cv_dlopen_libs=
10625 cygwin*)
10626 lt_cv_dlopen="dlopen"
10627 lt_cv_dlopen_libs=
10630 darwin*)
10631 # if libdl is installed we need to link against it
10632 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10633 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10634 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10635 echo $ECHO_N "(cached) $ECHO_C" >&6
10636 else
10637 ac_check_lib_save_LIBS=$LIBS
10638 LIBS="-ldl $LIBS"
10639 if test x$gcc_no_link = xyes; then
10640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10642 { (exit 1); exit 1; }; }
10644 cat >conftest.$ac_ext <<_ACEOF
10645 /* confdefs.h. */
10646 _ACEOF
10647 cat confdefs.h >>conftest.$ac_ext
10648 cat >>conftest.$ac_ext <<_ACEOF
10649 /* end confdefs.h. */
10651 /* Override any gcc2 internal prototype to avoid an error. */
10652 #ifdef __cplusplus
10653 extern "C"
10654 #endif
10655 /* We use char because int might match the return type of a gcc2
10656 builtin and then its argument prototype would still apply. */
10657 char dlopen ();
10659 main ()
10661 dlopen ();
10663 return 0;
10665 _ACEOF
10666 rm -f conftest.$ac_objext conftest$ac_exeext
10667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10668 (eval $ac_link) 2>conftest.er1
10669 ac_status=$?
10670 grep -v '^ *+' conftest.er1 >conftest.err
10671 rm -f conftest.er1
10672 cat conftest.err >&5
10673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10674 (exit $ac_status); } &&
10675 { ac_try='test -z "$ac_c_werror_flag"
10676 || test ! -s conftest.err'
10677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10678 (eval $ac_try) 2>&5
10679 ac_status=$?
10680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10681 (exit $ac_status); }; } &&
10682 { ac_try='test -s conftest$ac_exeext'
10683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10684 (eval $ac_try) 2>&5
10685 ac_status=$?
10686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10687 (exit $ac_status); }; }; then
10688 ac_cv_lib_dl_dlopen=yes
10689 else
10690 echo "$as_me: failed program was:" >&5
10691 sed 's/^/| /' conftest.$ac_ext >&5
10693 ac_cv_lib_dl_dlopen=no
10695 rm -f conftest.err conftest.$ac_objext \
10696 conftest$ac_exeext conftest.$ac_ext
10697 LIBS=$ac_check_lib_save_LIBS
10699 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
10700 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
10701 if test $ac_cv_lib_dl_dlopen = yes; then
10702 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10703 else
10705 lt_cv_dlopen="dyld"
10706 lt_cv_dlopen_libs=
10707 lt_cv_dlopen_self=yes
10714 echo "$as_me:$LINENO: checking for shl_load" >&5
10715 echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
10716 if test "${ac_cv_func_shl_load+set}" = set; then
10717 echo $ECHO_N "(cached) $ECHO_C" >&6
10718 else
10719 if test x$gcc_no_link = xyes; then
10720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10722 { (exit 1); exit 1; }; }
10724 cat >conftest.$ac_ext <<_ACEOF
10725 /* confdefs.h. */
10726 _ACEOF
10727 cat confdefs.h >>conftest.$ac_ext
10728 cat >>conftest.$ac_ext <<_ACEOF
10729 /* end confdefs.h. */
10730 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
10731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10732 #define shl_load innocuous_shl_load
10734 /* System header to define __stub macros and hopefully few prototypes,
10735 which can conflict with char shl_load (); below.
10736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10737 <limits.h> exists even on freestanding compilers. */
10739 #ifdef __STDC__
10740 # include <limits.h>
10741 #else
10742 # include <assert.h>
10743 #endif
10745 #undef shl_load
10747 /* Override any gcc2 internal prototype to avoid an error. */
10748 #ifdef __cplusplus
10749 extern "C"
10751 #endif
10752 /* We use char because int might match the return type of a gcc2
10753 builtin and then its argument prototype would still apply. */
10754 char shl_load ();
10755 /* The GNU C library defines this for functions which it implements
10756 to always fail with ENOSYS. Some functions are actually named
10757 something starting with __ and the normal name is an alias. */
10758 #if defined (__stub_shl_load) || defined (__stub___shl_load)
10759 choke me
10760 #else
10761 char (*f) () = shl_load;
10762 #endif
10763 #ifdef __cplusplus
10765 #endif
10768 main ()
10770 return f != shl_load;
10772 return 0;
10774 _ACEOF
10775 rm -f conftest.$ac_objext conftest$ac_exeext
10776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10777 (eval $ac_link) 2>conftest.er1
10778 ac_status=$?
10779 grep -v '^ *+' conftest.er1 >conftest.err
10780 rm -f conftest.er1
10781 cat conftest.err >&5
10782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10783 (exit $ac_status); } &&
10784 { ac_try='test -z "$ac_c_werror_flag"
10785 || test ! -s conftest.err'
10786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10787 (eval $ac_try) 2>&5
10788 ac_status=$?
10789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10790 (exit $ac_status); }; } &&
10791 { ac_try='test -s conftest$ac_exeext'
10792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10793 (eval $ac_try) 2>&5
10794 ac_status=$?
10795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10796 (exit $ac_status); }; }; then
10797 ac_cv_func_shl_load=yes
10798 else
10799 echo "$as_me: failed program was:" >&5
10800 sed 's/^/| /' conftest.$ac_ext >&5
10802 ac_cv_func_shl_load=no
10804 rm -f conftest.err conftest.$ac_objext \
10805 conftest$ac_exeext conftest.$ac_ext
10807 echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
10808 echo "${ECHO_T}$ac_cv_func_shl_load" >&6
10809 if test $ac_cv_func_shl_load = yes; then
10810 lt_cv_dlopen="shl_load"
10811 else
10812 echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
10813 echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
10814 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
10815 echo $ECHO_N "(cached) $ECHO_C" >&6
10816 else
10817 ac_check_lib_save_LIBS=$LIBS
10818 LIBS="-ldld $LIBS"
10819 if test x$gcc_no_link = xyes; then
10820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10822 { (exit 1); exit 1; }; }
10824 cat >conftest.$ac_ext <<_ACEOF
10825 /* confdefs.h. */
10826 _ACEOF
10827 cat confdefs.h >>conftest.$ac_ext
10828 cat >>conftest.$ac_ext <<_ACEOF
10829 /* end confdefs.h. */
10831 /* Override any gcc2 internal prototype to avoid an error. */
10832 #ifdef __cplusplus
10833 extern "C"
10834 #endif
10835 /* We use char because int might match the return type of a gcc2
10836 builtin and then its argument prototype would still apply. */
10837 char shl_load ();
10839 main ()
10841 shl_load ();
10843 return 0;
10845 _ACEOF
10846 rm -f conftest.$ac_objext conftest$ac_exeext
10847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10848 (eval $ac_link) 2>conftest.er1
10849 ac_status=$?
10850 grep -v '^ *+' conftest.er1 >conftest.err
10851 rm -f conftest.er1
10852 cat conftest.err >&5
10853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10854 (exit $ac_status); } &&
10855 { ac_try='test -z "$ac_c_werror_flag"
10856 || test ! -s conftest.err'
10857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10858 (eval $ac_try) 2>&5
10859 ac_status=$?
10860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10861 (exit $ac_status); }; } &&
10862 { ac_try='test -s conftest$ac_exeext'
10863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10864 (eval $ac_try) 2>&5
10865 ac_status=$?
10866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10867 (exit $ac_status); }; }; then
10868 ac_cv_lib_dld_shl_load=yes
10869 else
10870 echo "$as_me: failed program was:" >&5
10871 sed 's/^/| /' conftest.$ac_ext >&5
10873 ac_cv_lib_dld_shl_load=no
10875 rm -f conftest.err conftest.$ac_objext \
10876 conftest$ac_exeext conftest.$ac_ext
10877 LIBS=$ac_check_lib_save_LIBS
10879 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
10880 echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
10881 if test $ac_cv_lib_dld_shl_load = yes; then
10882 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10883 else
10884 echo "$as_me:$LINENO: checking for dlopen" >&5
10885 echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
10886 if test "${ac_cv_func_dlopen+set}" = set; then
10887 echo $ECHO_N "(cached) $ECHO_C" >&6
10888 else
10889 if test x$gcc_no_link = xyes; then
10890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10892 { (exit 1); exit 1; }; }
10894 cat >conftest.$ac_ext <<_ACEOF
10895 /* confdefs.h. */
10896 _ACEOF
10897 cat confdefs.h >>conftest.$ac_ext
10898 cat >>conftest.$ac_ext <<_ACEOF
10899 /* end confdefs.h. */
10900 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
10901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10902 #define dlopen innocuous_dlopen
10904 /* System header to define __stub macros and hopefully few prototypes,
10905 which can conflict with char dlopen (); below.
10906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10907 <limits.h> exists even on freestanding compilers. */
10909 #ifdef __STDC__
10910 # include <limits.h>
10911 #else
10912 # include <assert.h>
10913 #endif
10915 #undef dlopen
10917 /* Override any gcc2 internal prototype to avoid an error. */
10918 #ifdef __cplusplus
10919 extern "C"
10921 #endif
10922 /* We use char because int might match the return type of a gcc2
10923 builtin and then its argument prototype would still apply. */
10924 char dlopen ();
10925 /* The GNU C library defines this for functions which it implements
10926 to always fail with ENOSYS. Some functions are actually named
10927 something starting with __ and the normal name is an alias. */
10928 #if defined (__stub_dlopen) || defined (__stub___dlopen)
10929 choke me
10930 #else
10931 char (*f) () = dlopen;
10932 #endif
10933 #ifdef __cplusplus
10935 #endif
10938 main ()
10940 return f != dlopen;
10942 return 0;
10944 _ACEOF
10945 rm -f conftest.$ac_objext conftest$ac_exeext
10946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
10947 (eval $ac_link) 2>conftest.er1
10948 ac_status=$?
10949 grep -v '^ *+' conftest.er1 >conftest.err
10950 rm -f conftest.er1
10951 cat conftest.err >&5
10952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10953 (exit $ac_status); } &&
10954 { ac_try='test -z "$ac_c_werror_flag"
10955 || test ! -s conftest.err'
10956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10957 (eval $ac_try) 2>&5
10958 ac_status=$?
10959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10960 (exit $ac_status); }; } &&
10961 { ac_try='test -s conftest$ac_exeext'
10962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10963 (eval $ac_try) 2>&5
10964 ac_status=$?
10965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10966 (exit $ac_status); }; }; then
10967 ac_cv_func_dlopen=yes
10968 else
10969 echo "$as_me: failed program was:" >&5
10970 sed 's/^/| /' conftest.$ac_ext >&5
10972 ac_cv_func_dlopen=no
10974 rm -f conftest.err conftest.$ac_objext \
10975 conftest$ac_exeext conftest.$ac_ext
10977 echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
10978 echo "${ECHO_T}$ac_cv_func_dlopen" >&6
10979 if test $ac_cv_func_dlopen = yes; then
10980 lt_cv_dlopen="dlopen"
10981 else
10982 echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
10983 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
10984 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
10985 echo $ECHO_N "(cached) $ECHO_C" >&6
10986 else
10987 ac_check_lib_save_LIBS=$LIBS
10988 LIBS="-ldl $LIBS"
10989 if test x$gcc_no_link = xyes; then
10990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
10991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
10992 { (exit 1); exit 1; }; }
10994 cat >conftest.$ac_ext <<_ACEOF
10995 /* confdefs.h. */
10996 _ACEOF
10997 cat confdefs.h >>conftest.$ac_ext
10998 cat >>conftest.$ac_ext <<_ACEOF
10999 /* end confdefs.h. */
11001 /* Override any gcc2 internal prototype to avoid an error. */
11002 #ifdef __cplusplus
11003 extern "C"
11004 #endif
11005 /* We use char because int might match the return type of a gcc2
11006 builtin and then its argument prototype would still apply. */
11007 char dlopen ();
11009 main ()
11011 dlopen ();
11013 return 0;
11015 _ACEOF
11016 rm -f conftest.$ac_objext conftest$ac_exeext
11017 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11018 (eval $ac_link) 2>conftest.er1
11019 ac_status=$?
11020 grep -v '^ *+' conftest.er1 >conftest.err
11021 rm -f conftest.er1
11022 cat conftest.err >&5
11023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11024 (exit $ac_status); } &&
11025 { ac_try='test -z "$ac_c_werror_flag"
11026 || test ! -s conftest.err'
11027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11028 (eval $ac_try) 2>&5
11029 ac_status=$?
11030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11031 (exit $ac_status); }; } &&
11032 { ac_try='test -s conftest$ac_exeext'
11033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11034 (eval $ac_try) 2>&5
11035 ac_status=$?
11036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11037 (exit $ac_status); }; }; then
11038 ac_cv_lib_dl_dlopen=yes
11039 else
11040 echo "$as_me: failed program was:" >&5
11041 sed 's/^/| /' conftest.$ac_ext >&5
11043 ac_cv_lib_dl_dlopen=no
11045 rm -f conftest.err conftest.$ac_objext \
11046 conftest$ac_exeext conftest.$ac_ext
11047 LIBS=$ac_check_lib_save_LIBS
11049 echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11050 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
11051 if test $ac_cv_lib_dl_dlopen = yes; then
11052 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11053 else
11054 echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11055 echo $ECHO_N "checking for dlopen in -lsvld... $ECHO_C" >&6
11056 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11057 echo $ECHO_N "(cached) $ECHO_C" >&6
11058 else
11059 ac_check_lib_save_LIBS=$LIBS
11060 LIBS="-lsvld $LIBS"
11061 if test x$gcc_no_link = xyes; then
11062 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11063 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11064 { (exit 1); exit 1; }; }
11066 cat >conftest.$ac_ext <<_ACEOF
11067 /* confdefs.h. */
11068 _ACEOF
11069 cat confdefs.h >>conftest.$ac_ext
11070 cat >>conftest.$ac_ext <<_ACEOF
11071 /* end confdefs.h. */
11073 /* Override any gcc2 internal prototype to avoid an error. */
11074 #ifdef __cplusplus
11075 extern "C"
11076 #endif
11077 /* We use char because int might match the return type of a gcc2
11078 builtin and then its argument prototype would still apply. */
11079 char dlopen ();
11081 main ()
11083 dlopen ();
11085 return 0;
11087 _ACEOF
11088 rm -f conftest.$ac_objext conftest$ac_exeext
11089 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11090 (eval $ac_link) 2>conftest.er1
11091 ac_status=$?
11092 grep -v '^ *+' conftest.er1 >conftest.err
11093 rm -f conftest.er1
11094 cat conftest.err >&5
11095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11096 (exit $ac_status); } &&
11097 { ac_try='test -z "$ac_c_werror_flag"
11098 || test ! -s conftest.err'
11099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11100 (eval $ac_try) 2>&5
11101 ac_status=$?
11102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11103 (exit $ac_status); }; } &&
11104 { ac_try='test -s conftest$ac_exeext'
11105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11106 (eval $ac_try) 2>&5
11107 ac_status=$?
11108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11109 (exit $ac_status); }; }; then
11110 ac_cv_lib_svld_dlopen=yes
11111 else
11112 echo "$as_me: failed program was:" >&5
11113 sed 's/^/| /' conftest.$ac_ext >&5
11115 ac_cv_lib_svld_dlopen=no
11117 rm -f conftest.err conftest.$ac_objext \
11118 conftest$ac_exeext conftest.$ac_ext
11119 LIBS=$ac_check_lib_save_LIBS
11121 echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11122 echo "${ECHO_T}$ac_cv_lib_svld_dlopen" >&6
11123 if test $ac_cv_lib_svld_dlopen = yes; then
11124 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11125 else
11126 echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11127 echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
11128 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11129 echo $ECHO_N "(cached) $ECHO_C" >&6
11130 else
11131 ac_check_lib_save_LIBS=$LIBS
11132 LIBS="-ldld $LIBS"
11133 if test x$gcc_no_link = xyes; then
11134 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11135 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11136 { (exit 1); exit 1; }; }
11138 cat >conftest.$ac_ext <<_ACEOF
11139 /* confdefs.h. */
11140 _ACEOF
11141 cat confdefs.h >>conftest.$ac_ext
11142 cat >>conftest.$ac_ext <<_ACEOF
11143 /* end confdefs.h. */
11145 /* Override any gcc2 internal prototype to avoid an error. */
11146 #ifdef __cplusplus
11147 extern "C"
11148 #endif
11149 /* We use char because int might match the return type of a gcc2
11150 builtin and then its argument prototype would still apply. */
11151 char dld_link ();
11153 main ()
11155 dld_link ();
11157 return 0;
11159 _ACEOF
11160 rm -f conftest.$ac_objext conftest$ac_exeext
11161 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11162 (eval $ac_link) 2>conftest.er1
11163 ac_status=$?
11164 grep -v '^ *+' conftest.er1 >conftest.err
11165 rm -f conftest.er1
11166 cat conftest.err >&5
11167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11168 (exit $ac_status); } &&
11169 { ac_try='test -z "$ac_c_werror_flag"
11170 || test ! -s conftest.err'
11171 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11172 (eval $ac_try) 2>&5
11173 ac_status=$?
11174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11175 (exit $ac_status); }; } &&
11176 { ac_try='test -s conftest$ac_exeext'
11177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11178 (eval $ac_try) 2>&5
11179 ac_status=$?
11180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11181 (exit $ac_status); }; }; then
11182 ac_cv_lib_dld_dld_link=yes
11183 else
11184 echo "$as_me: failed program was:" >&5
11185 sed 's/^/| /' conftest.$ac_ext >&5
11187 ac_cv_lib_dld_dld_link=no
11189 rm -f conftest.err conftest.$ac_objext \
11190 conftest$ac_exeext conftest.$ac_ext
11191 LIBS=$ac_check_lib_save_LIBS
11193 echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11194 echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
11195 if test $ac_cv_lib_dld_dld_link = yes; then
11196 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11215 esac
11217 if test "x$lt_cv_dlopen" != xno; then
11218 enable_dlopen=yes
11219 else
11220 enable_dlopen=no
11223 case $lt_cv_dlopen in
11224 dlopen)
11225 save_CPPFLAGS="$CPPFLAGS"
11226 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11228 save_LDFLAGS="$LDFLAGS"
11229 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11231 save_LIBS="$LIBS"
11232 LIBS="$lt_cv_dlopen_libs $LIBS"
11234 echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11235 echo $ECHO_N "checking whether a program can dlopen itself... $ECHO_C" >&6
11236 if test "${lt_cv_dlopen_self+set}" = set; then
11237 echo $ECHO_N "(cached) $ECHO_C" >&6
11238 else
11239 if test "$cross_compiling" = yes; then :
11240 lt_cv_dlopen_self=cross
11241 else
11242 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11243 lt_status=$lt_dlunknown
11244 cat > conftest.$ac_ext <<_LT_EOF
11245 #line 11245 "configure"
11246 #include "confdefs.h"
11248 #if HAVE_DLFCN_H
11249 #include <dlfcn.h>
11250 #endif
11252 #include <stdio.h>
11254 #ifdef RTLD_GLOBAL
11255 # define LT_DLGLOBAL RTLD_GLOBAL
11256 #else
11257 # ifdef DL_GLOBAL
11258 # define LT_DLGLOBAL DL_GLOBAL
11259 # else
11260 # define LT_DLGLOBAL 0
11261 # endif
11262 #endif
11264 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11265 find out it does not work in some platform. */
11266 #ifndef LT_DLLAZY_OR_NOW
11267 # ifdef RTLD_LAZY
11268 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11269 # else
11270 # ifdef DL_LAZY
11271 # define LT_DLLAZY_OR_NOW DL_LAZY
11272 # else
11273 # ifdef RTLD_NOW
11274 # define LT_DLLAZY_OR_NOW RTLD_NOW
11275 # else
11276 # ifdef DL_NOW
11277 # define LT_DLLAZY_OR_NOW DL_NOW
11278 # else
11279 # define LT_DLLAZY_OR_NOW 0
11280 # endif
11281 # endif
11282 # endif
11283 # endif
11284 #endif
11286 void fnord() { int i=42;}
11287 int main ()
11289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11290 int status = $lt_dlunknown;
11292 if (self)
11294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11295 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11296 /* dlclose (self); */
11298 else
11299 puts (dlerror ());
11301 return status;
11303 _LT_EOF
11304 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11305 (eval $ac_link) 2>&5
11306 ac_status=$?
11307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11308 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11309 (./conftest; exit; ) >&5 2>/dev/null
11310 lt_status=$?
11311 case x$lt_status in
11312 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11313 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11314 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11315 esac
11316 else :
11317 # compilation failed
11318 lt_cv_dlopen_self=no
11321 rm -fr conftest*
11325 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11326 echo "${ECHO_T}$lt_cv_dlopen_self" >&6
11328 if test "x$lt_cv_dlopen_self" = xyes; then
11329 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11330 echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11331 echo $ECHO_N "checking whether a statically linked program can dlopen itself... $ECHO_C" >&6
11332 if test "${lt_cv_dlopen_self_static+set}" = set; then
11333 echo $ECHO_N "(cached) $ECHO_C" >&6
11334 else
11335 if test "$cross_compiling" = yes; then :
11336 lt_cv_dlopen_self_static=cross
11337 else
11338 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11339 lt_status=$lt_dlunknown
11340 cat > conftest.$ac_ext <<_LT_EOF
11341 #line 11341 "configure"
11342 #include "confdefs.h"
11344 #if HAVE_DLFCN_H
11345 #include <dlfcn.h>
11346 #endif
11348 #include <stdio.h>
11350 #ifdef RTLD_GLOBAL
11351 # define LT_DLGLOBAL RTLD_GLOBAL
11352 #else
11353 # ifdef DL_GLOBAL
11354 # define LT_DLGLOBAL DL_GLOBAL
11355 # else
11356 # define LT_DLGLOBAL 0
11357 # endif
11358 #endif
11360 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11361 find out it does not work in some platform. */
11362 #ifndef LT_DLLAZY_OR_NOW
11363 # ifdef RTLD_LAZY
11364 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11365 # else
11366 # ifdef DL_LAZY
11367 # define LT_DLLAZY_OR_NOW DL_LAZY
11368 # else
11369 # ifdef RTLD_NOW
11370 # define LT_DLLAZY_OR_NOW RTLD_NOW
11371 # else
11372 # ifdef DL_NOW
11373 # define LT_DLLAZY_OR_NOW DL_NOW
11374 # else
11375 # define LT_DLLAZY_OR_NOW 0
11376 # endif
11377 # endif
11378 # endif
11379 # endif
11380 #endif
11382 void fnord() { int i=42;}
11383 int main ()
11385 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11386 int status = $lt_dlunknown;
11388 if (self)
11390 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11391 else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11392 /* dlclose (self); */
11394 else
11395 puts (dlerror ());
11397 return status;
11399 _LT_EOF
11400 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11401 (eval $ac_link) 2>&5
11402 ac_status=$?
11403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11404 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11405 (./conftest; exit; ) >&5 2>/dev/null
11406 lt_status=$?
11407 case x$lt_status in
11408 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11409 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11410 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11411 esac
11412 else :
11413 # compilation failed
11414 lt_cv_dlopen_self_static=no
11417 rm -fr conftest*
11421 echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11422 echo "${ECHO_T}$lt_cv_dlopen_self_static" >&6
11425 CPPFLAGS="$save_CPPFLAGS"
11426 LDFLAGS="$save_LDFLAGS"
11427 LIBS="$save_LIBS"
11429 esac
11431 case $lt_cv_dlopen_self in
11432 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11433 *) enable_dlopen_self=unknown ;;
11434 esac
11436 case $lt_cv_dlopen_self_static in
11437 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11438 *) enable_dlopen_self_static=unknown ;;
11439 esac
11458 striplib=
11459 old_striplib=
11460 echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11461 echo $ECHO_N "checking whether stripping libraries is possible... $ECHO_C" >&6
11462 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11463 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11464 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11465 echo "$as_me:$LINENO: result: yes" >&5
11466 echo "${ECHO_T}yes" >&6
11467 else
11468 # FIXME - insert some real tests, host_os isn't really good enough
11469 case $host_os in
11470 darwin*)
11471 if test -n "$STRIP" ; then
11472 striplib="$STRIP -x"
11473 old_striplib="$STRIP -S"
11474 echo "$as_me:$LINENO: result: yes" >&5
11475 echo "${ECHO_T}yes" >&6
11476 else
11477 echo "$as_me:$LINENO: result: no" >&5
11478 echo "${ECHO_T}no" >&6
11482 echo "$as_me:$LINENO: result: no" >&5
11483 echo "${ECHO_T}no" >&6
11485 esac
11499 # Report which library types will actually be built
11500 echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11501 echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
11502 echo "$as_me:$LINENO: result: $can_build_shared" >&5
11503 echo "${ECHO_T}$can_build_shared" >&6
11505 echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11506 echo $ECHO_N "checking whether to build shared libraries... $ECHO_C" >&6
11507 test "$can_build_shared" = "no" && enable_shared=no
11509 # On AIX, shared libraries and static libraries use the same namespace, and
11510 # are all built from PIC.
11511 case $host_os in
11512 aix3*)
11513 test "$enable_shared" = yes && enable_static=no
11514 if test -n "$RANLIB"; then
11515 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11516 postinstall_cmds='$RANLIB $lib'
11520 aix[4-9]*)
11521 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11522 test "$enable_shared" = yes && enable_static=no
11525 esac
11526 echo "$as_me:$LINENO: result: $enable_shared" >&5
11527 echo "${ECHO_T}$enable_shared" >&6
11529 echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11530 echo $ECHO_N "checking whether to build static libraries... $ECHO_C" >&6
11531 # Make sure either enable_shared or enable_static is yes.
11532 test "$enable_shared" = yes || enable_static=yes
11533 echo "$as_me:$LINENO: result: $enable_static" >&5
11534 echo "${ECHO_T}$enable_static" >&6
11540 ac_ext=c
11541 ac_cpp='$CPP $CPPFLAGS'
11542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11546 CC="$lt_save_CC"
11549 ac_ext=cc
11550 ac_cpp='$CXXCPP $CPPFLAGS'
11551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11555 archive_cmds_need_lc_CXX=no
11556 allow_undefined_flag_CXX=
11557 always_export_symbols_CXX=no
11558 archive_expsym_cmds_CXX=
11559 compiler_needs_object_CXX=no
11560 export_dynamic_flag_spec_CXX=
11561 hardcode_direct_CXX=no
11562 hardcode_direct_absolute_CXX=no
11563 hardcode_libdir_flag_spec_CXX=
11564 hardcode_libdir_flag_spec_ld_CXX=
11565 hardcode_libdir_separator_CXX=
11566 hardcode_minus_L_CXX=no
11567 hardcode_shlibpath_var_CXX=unsupported
11568 hardcode_automatic_CXX=no
11569 inherit_rpath_CXX=no
11570 module_cmds_CXX=
11571 module_expsym_cmds_CXX=
11572 link_all_deplibs_CXX=unknown
11573 old_archive_cmds_CXX=$old_archive_cmds
11574 no_undefined_flag_CXX=
11575 whole_archive_flag_spec_CXX=
11576 enable_shared_with_static_runtimes_CXX=no
11578 # Source file extension for C++ test sources.
11579 ac_ext=cpp
11581 # Object file extension for compiled C++ test sources.
11582 objext=o
11583 objext_CXX=$objext
11585 # No sense in running all these tests if we already determined that
11586 # the CXX compiler isn't working. Some variables (like enable_shared)
11587 # are currently assumed to apply to all compilers on this platform,
11588 # and will be corrupted by setting them based on a non-working compiler.
11589 if test "$_lt_caught_CXX_error" != yes; then
11590 # Code to be used in simple compile tests
11591 lt_simple_compile_test_code="int some_variable = 0;"
11593 # Code to be used in simple link tests
11594 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11596 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
11603 # If no C compiler was specified, use CC.
11604 LTCC=${LTCC-"$CC"}
11606 # If no C compiler flags were specified, use CFLAGS.
11607 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11609 # Allow CC to be a program name with arguments.
11610 compiler=$CC
11613 # save warnings/boilerplate of simple test code
11614 ac_outfile=conftest.$ac_objext
11615 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11616 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11617 _lt_compiler_boilerplate=`cat conftest.err`
11618 $RM conftest*
11620 ac_outfile=conftest.$ac_objext
11621 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11622 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11623 _lt_linker_boilerplate=`cat conftest.err`
11624 $RM -r conftest*
11627 # Allow CC to be a program name with arguments.
11628 lt_save_CC=$CC
11629 lt_save_LD=$LD
11630 lt_save_GCC=$GCC
11631 GCC=$GXX
11632 lt_save_with_gnu_ld=$with_gnu_ld
11633 lt_save_path_LD=$lt_cv_path_LD
11634 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
11635 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
11636 else
11637 $as_unset lt_cv_prog_gnu_ld
11639 if test -n "${lt_cv_path_LDCXX+set}"; then
11640 lt_cv_path_LD=$lt_cv_path_LDCXX
11641 else
11642 $as_unset lt_cv_path_LD
11644 test -z "${LDCXX+set}" || LD=$LDCXX
11645 CC=${CXX-"c++"}
11646 compiler=$CC
11647 compiler_CXX=$CC
11648 for cc_temp in $compiler""; do
11649 case $cc_temp in
11650 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
11651 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
11652 \-*) ;;
11653 *) break;;
11654 esac
11655 done
11656 cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
11659 if test -n "$compiler"; then
11660 # We don't want -fno-exception when compiling C++ code, so set the
11661 # no_builtin_flag separately
11662 if test "$GXX" = yes; then
11663 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
11664 else
11665 lt_prog_compiler_no_builtin_flag_CXX=
11668 if test "$GXX" = yes; then
11669 # Set up default GNU C++ configuration
11673 # Check whether --with-gnu-ld or --without-gnu-ld was given.
11674 if test "${with_gnu_ld+set}" = set; then
11675 withval="$with_gnu_ld"
11676 test "$withval" = no || with_gnu_ld=yes
11677 else
11678 with_gnu_ld=no
11680 ac_prog=ld
11681 if test "$GCC" = yes; then
11682 # Check if gcc -print-prog-name=ld gives a path.
11683 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
11684 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
11685 case $host in
11686 *-*-mingw*)
11687 # gcc leaves a trailing carriage return which upsets mingw
11688 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
11690 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
11691 esac
11692 case $ac_prog in
11693 # Accept absolute paths.
11694 [\\/]* | ?:[\\/]*)
11695 re_direlt='/[^/][^/]*/\.\./'
11696 # Canonicalize the pathname of ld
11697 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
11698 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
11699 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
11700 done
11701 test -z "$LD" && LD="$ac_prog"
11704 # If it fails, then pretend we aren't using GCC.
11705 ac_prog=ld
11708 # If it is relative, then search for the first ld in PATH.
11709 with_gnu_ld=unknown
11711 esac
11712 elif test "$with_gnu_ld" = yes; then
11713 echo "$as_me:$LINENO: checking for GNU ld" >&5
11714 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
11715 else
11716 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
11717 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
11719 if test "${lt_cv_path_LD+set}" = set; then
11720 echo $ECHO_N "(cached) $ECHO_C" >&6
11721 else
11722 if test -z "$LD"; then
11723 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
11724 for ac_dir in $PATH; do
11725 IFS="$lt_save_ifs"
11726 test -z "$ac_dir" && ac_dir=.
11727 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
11728 lt_cv_path_LD="$ac_dir/$ac_prog"
11729 # Check to see if the program is GNU ld. I'd rather use --version,
11730 # but apparently some variants of GNU ld only accept -v.
11731 # Break only if it was the GNU/non-GNU ld that we prefer.
11732 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
11733 *GNU* | *'with BFD'*)
11734 test "$with_gnu_ld" != no && break
11737 test "$with_gnu_ld" != yes && break
11739 esac
11741 done
11742 IFS="$lt_save_ifs"
11743 else
11744 lt_cv_path_LD="$LD" # Let the user override the test with a path.
11748 LD="$lt_cv_path_LD"
11749 if test -n "$LD"; then
11750 echo "$as_me:$LINENO: result: $LD" >&5
11751 echo "${ECHO_T}$LD" >&6
11752 else
11753 echo "$as_me:$LINENO: result: no" >&5
11754 echo "${ECHO_T}no" >&6
11756 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
11757 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
11758 { (exit 1); exit 1; }; }
11759 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
11760 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
11761 if test "${lt_cv_prog_gnu_ld+set}" = set; then
11762 echo $ECHO_N "(cached) $ECHO_C" >&6
11763 else
11764 # I'd rather use --version here, but apparently some GNU lds only accept -v.
11765 case `$LD -v 2>&1 </dev/null` in
11766 *GNU* | *'with BFD'*)
11767 lt_cv_prog_gnu_ld=yes
11770 lt_cv_prog_gnu_ld=no
11772 esac
11774 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
11775 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
11776 with_gnu_ld=$lt_cv_prog_gnu_ld
11784 # Check if GNU C++ uses GNU ld as the underlying linker, since the
11785 # archiving commands below assume that GNU ld is being used.
11786 if test "$with_gnu_ld" = yes; then
11787 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
11788 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'
11790 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
11791 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
11793 # If archive_cmds runs LD, not CC, wlarc should be empty
11794 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
11795 # investigate it a little bit more. (MM)
11796 wlarc='${wl}'
11798 # ancient GNU ld didn't support --whole-archive et. al.
11799 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
11800 $GREP 'no-whole-archive' > /dev/null; then
11801 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11802 else
11803 whole_archive_flag_spec_CXX=
11805 else
11806 with_gnu_ld=no
11807 wlarc=
11809 # A generic and very simple default shared library creation
11810 # command for GNU C++ for the case where it uses the native
11811 # linker, instead of GNU ld. If possible, this setting should
11812 # overridden to take advantage of the native linker features on
11813 # the platform it is being used on.
11814 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11817 # Commands to make compiler produce verbose output that lists
11818 # what "hidden" libraries, object files and flags are used when
11819 # linking a shared library.
11820 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
11822 else
11823 GXX=no
11824 with_gnu_ld=no
11825 wlarc=
11828 # PORTME: fill in a description of your system's C++ link characteristics
11829 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11830 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
11831 ld_shlibs_CXX=yes
11832 case $host_os in
11833 aix3*)
11834 # FIXME: insert proper C++ library support
11835 ld_shlibs_CXX=no
11837 aix[4-9]*)
11838 if test "$host_cpu" = ia64; then
11839 # On IA64, the linker does run time linking by default, so we don't
11840 # have to do anything special.
11841 aix_use_runtimelinking=no
11842 exp_sym_flag='-Bexport'
11843 no_entry_flag=""
11844 else
11845 aix_use_runtimelinking=no
11847 # Test if we are trying to use run time linking or normal
11848 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11849 # need to do runtime linking.
11850 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11851 for ld_flag in $LDFLAGS; do
11852 case $ld_flag in
11853 *-brtl*)
11854 aix_use_runtimelinking=yes
11855 break
11857 esac
11858 done
11860 esac
11862 exp_sym_flag='-bexport'
11863 no_entry_flag='-bnoentry'
11866 # When large executables or shared objects are built, AIX ld can
11867 # have problems creating the table of contents. If linking a library
11868 # or program results in "error TOC overflow" add -mminimal-toc to
11869 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11870 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11872 archive_cmds_CXX=''
11873 hardcode_direct_CXX=yes
11874 hardcode_direct_absolute_CXX=yes
11875 hardcode_libdir_separator_CXX=':'
11876 link_all_deplibs_CXX=yes
11877 file_list_spec_CXX='${wl}-f,'
11879 if test "$GXX" = yes; then
11880 case $host_os in aix4.[012]|aix4.[012].*)
11881 # We only want to do this on AIX 4.2 and lower, the check
11882 # below for broken collect2 doesn't work under 4.3+
11883 collect2name=`${CC} -print-prog-name=collect2`
11884 if test -f "$collect2name" &&
11885 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11886 then
11887 # We have reworked collect2
11889 else
11890 # We have old collect2
11891 hardcode_direct_CXX=unsupported
11892 # It fails to find uninstalled libraries when the uninstalled
11893 # path is not listed in the libpath. Setting hardcode_minus_L
11894 # to unsupported forces relinking
11895 hardcode_minus_L_CXX=yes
11896 hardcode_libdir_flag_spec_CXX='-L$libdir'
11897 hardcode_libdir_separator_CXX=
11899 esac
11900 shared_flag='-shared'
11901 if test "$aix_use_runtimelinking" = yes; then
11902 shared_flag="$shared_flag "'${wl}-G'
11904 else
11905 # not using gcc
11906 if test "$host_cpu" = ia64; then
11907 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11908 # chokes on -Wl,-G. The following line is correct:
11909 shared_flag='-G'
11910 else
11911 if test "$aix_use_runtimelinking" = yes; then
11912 shared_flag='${wl}-G'
11913 else
11914 shared_flag='${wl}-bM:SRE'
11919 export_dynamic_flag_spec_CXX='${wl}-bexpall'
11920 # It seems that -bexpall does not export symbols beginning with
11921 # underscore (_), so it is better to generate a list of symbols to
11922 # export.
11923 always_export_symbols_CXX=yes
11924 if test "$aix_use_runtimelinking" = yes; then
11925 # Warning - without using the other runtime loading flags (-brtl),
11926 # -berok will link without error, but may produce a broken library.
11927 allow_undefined_flag_CXX='-berok'
11928 # Determine the default libpath from the value encoded in an empty
11929 # executable.
11930 if test x$gcc_no_link = xyes; then
11931 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
11932 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
11933 { (exit 1); exit 1; }; }
11935 cat >conftest.$ac_ext <<_ACEOF
11936 /* confdefs.h. */
11937 _ACEOF
11938 cat confdefs.h >>conftest.$ac_ext
11939 cat >>conftest.$ac_ext <<_ACEOF
11940 /* end confdefs.h. */
11943 main ()
11947 return 0;
11949 _ACEOF
11950 rm -f conftest.$ac_objext conftest$ac_exeext
11951 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11952 (eval $ac_link) 2>conftest.er1
11953 ac_status=$?
11954 grep -v '^ *+' conftest.er1 >conftest.err
11955 rm -f conftest.er1
11956 cat conftest.err >&5
11957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11958 (exit $ac_status); } &&
11959 { ac_try='test -z "$ac_cxx_werror_flag"
11960 || test ! -s conftest.err'
11961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11962 (eval $ac_try) 2>&5
11963 ac_status=$?
11964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11965 (exit $ac_status); }; } &&
11966 { ac_try='test -s conftest$ac_exeext'
11967 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11968 (eval $ac_try) 2>&5
11969 ac_status=$?
11970 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11971 (exit $ac_status); }; }; then
11973 lt_aix_libpath_sed='
11974 /Import File Strings/,/^$/ {
11975 /^0/ {
11976 s/^0 *\(.*\)$/\1/
11980 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11981 # Check for a 64-bit object if we didn't find anything.
11982 if test -z "$aix_libpath"; then
11983 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11985 else
11986 echo "$as_me: failed program was:" >&5
11987 sed 's/^/| /' conftest.$ac_ext >&5
11990 rm -f conftest.err conftest.$ac_objext \
11991 conftest$ac_exeext conftest.$ac_ext
11992 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
11994 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
11996 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"
11997 else
11998 if test "$host_cpu" = ia64; then
11999 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12000 allow_undefined_flag_CXX="-z nodefs"
12001 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"
12002 else
12003 # Determine the default libpath from the value encoded in an
12004 # empty executable.
12005 if test x$gcc_no_link = xyes; then
12006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
12007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
12008 { (exit 1); exit 1; }; }
12010 cat >conftest.$ac_ext <<_ACEOF
12011 /* confdefs.h. */
12012 _ACEOF
12013 cat confdefs.h >>conftest.$ac_ext
12014 cat >>conftest.$ac_ext <<_ACEOF
12015 /* end confdefs.h. */
12018 main ()
12022 return 0;
12024 _ACEOF
12025 rm -f conftest.$ac_objext conftest$ac_exeext
12026 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
12027 (eval $ac_link) 2>conftest.er1
12028 ac_status=$?
12029 grep -v '^ *+' conftest.er1 >conftest.err
12030 rm -f conftest.er1
12031 cat conftest.err >&5
12032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12033 (exit $ac_status); } &&
12034 { ac_try='test -z "$ac_cxx_werror_flag"
12035 || test ! -s conftest.err'
12036 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12037 (eval $ac_try) 2>&5
12038 ac_status=$?
12039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12040 (exit $ac_status); }; } &&
12041 { ac_try='test -s conftest$ac_exeext'
12042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12043 (eval $ac_try) 2>&5
12044 ac_status=$?
12045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12046 (exit $ac_status); }; }; then
12048 lt_aix_libpath_sed='
12049 /Import File Strings/,/^$/ {
12050 /^0/ {
12051 s/^0 *\(.*\)$/\1/
12055 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12056 # Check for a 64-bit object if we didn't find anything.
12057 if test -z "$aix_libpath"; then
12058 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12060 else
12061 echo "$as_me: failed program was:" >&5
12062 sed 's/^/| /' conftest.$ac_ext >&5
12065 rm -f conftest.err conftest.$ac_objext \
12066 conftest$ac_exeext conftest.$ac_ext
12067 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12069 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12070 # Warning - without using the other run time loading flags,
12071 # -berok will link without error, but may produce a broken library.
12072 no_undefined_flag_CXX=' ${wl}-bernotok'
12073 allow_undefined_flag_CXX=' ${wl}-berok'
12074 # Exported symbols can be pulled into shared objects from archives
12075 whole_archive_flag_spec_CXX='$convenience'
12076 archive_cmds_need_lc_CXX=yes
12077 # This is similar to how AIX traditionally builds its shared
12078 # libraries.
12079 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'
12084 beos*)
12085 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12086 allow_undefined_flag_CXX=unsupported
12087 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12088 # support --undefined. This deserves some investigation. FIXME
12089 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12090 else
12091 ld_shlibs_CXX=no
12095 chorus*)
12096 case $cc_basename in
12098 # FIXME: insert proper C++ library support
12099 ld_shlibs_CXX=no
12101 esac
12104 cygwin* | mingw* | pw32* | cegcc*)
12105 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12106 # as there is no search path for DLLs.
12107 hardcode_libdir_flag_spec_CXX='-L$libdir'
12108 allow_undefined_flag_CXX=unsupported
12109 always_export_symbols_CXX=no
12110 enable_shared_with_static_runtimes_CXX=yes
12112 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12113 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'
12114 # If the export-symbols file already is a .def file (1st line
12115 # is EXPORTS), use it as is; otherwise, prepend...
12116 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12117 cp $export_symbols $output_objdir/$soname.def;
12118 else
12119 echo EXPORTS > $output_objdir/$soname.def;
12120 cat $export_symbols >> $output_objdir/$soname.def;
12122 $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'
12123 else
12124 ld_shlibs_CXX=no
12127 darwin* | rhapsody*)
12130 archive_cmds_need_lc_CXX=no
12131 hardcode_direct_CXX=no
12132 hardcode_automatic_CXX=yes
12133 hardcode_shlibpath_var_CXX=unsupported
12134 whole_archive_flag_spec_CXX=''
12135 link_all_deplibs_CXX=yes
12136 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12137 case $cc_basename in
12138 ifort*) _lt_dar_can_shared=yes ;;
12139 *) _lt_dar_can_shared=$GCC ;;
12140 esac
12141 if test "$_lt_dar_can_shared" = "yes"; then
12142 output_verbose_link_cmd=echo
12143 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12144 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12145 archive_expsym_cmds_CXX="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 ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12146 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12147 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12148 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${_lt_dsymutil}"
12149 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${_lt_dar_export_syms}${_lt_dsymutil}"
12152 else
12153 ld_shlibs_CXX=no
12158 dgux*)
12159 case $cc_basename in
12160 ec++*)
12161 # FIXME: insert proper C++ library support
12162 ld_shlibs_CXX=no
12164 ghcx*)
12165 # Green Hills C++ Compiler
12166 # FIXME: insert proper C++ library support
12167 ld_shlibs_CXX=no
12170 # FIXME: insert proper C++ library support
12171 ld_shlibs_CXX=no
12173 esac
12176 freebsd[12]*)
12177 # C++ shared libraries reported to be fairly broken before
12178 # switch to ELF
12179 ld_shlibs_CXX=no
12182 freebsd-elf*)
12183 archive_cmds_need_lc_CXX=no
12186 freebsd* | dragonfly*)
12187 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12188 # conventions
12189 ld_shlibs_CXX=yes
12192 gnu*)
12195 hpux9*)
12196 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12197 hardcode_libdir_separator_CXX=:
12198 export_dynamic_flag_spec_CXX='${wl}-E'
12199 hardcode_direct_CXX=yes
12200 hardcode_minus_L_CXX=yes # Not in the search PATH,
12201 # but as the default
12202 # location of the library.
12204 case $cc_basename in
12205 CC*)
12206 # FIXME: insert proper C++ library support
12207 ld_shlibs_CXX=no
12209 aCC*)
12210 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'
12211 # Commands to make compiler produce verbose output that lists
12212 # what "hidden" libraries, object files and flags are used when
12213 # linking a shared library.
12215 # There doesn't appear to be a way to prevent this compiler from
12216 # explicitly linking system object files so we need to strip them
12217 # from the output so that they don't get included in the library
12218 # dependencies.
12219 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'
12222 if test "$GXX" = yes; then
12223 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'
12224 else
12225 # FIXME: insert proper C++ library support
12226 ld_shlibs_CXX=no
12229 esac
12232 hpux10*|hpux11*)
12233 if test $with_gnu_ld = no; then
12234 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12235 hardcode_libdir_separator_CXX=:
12237 case $host_cpu in
12238 hppa*64*|ia64*)
12241 export_dynamic_flag_spec_CXX='${wl}-E'
12243 esac
12245 case $host_cpu in
12246 hppa*64*|ia64*)
12247 hardcode_direct_CXX=no
12248 hardcode_shlibpath_var_CXX=no
12251 hardcode_direct_CXX=yes
12252 hardcode_direct_absolute_CXX=yes
12253 hardcode_minus_L_CXX=yes # Not in the search PATH,
12254 # but as the default
12255 # location of the library.
12257 esac
12259 case $cc_basename in
12260 CC*)
12261 # FIXME: insert proper C++ library support
12262 ld_shlibs_CXX=no
12264 aCC*)
12265 case $host_cpu in
12266 hppa*64*)
12267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12269 ia64*)
12270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12273 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12275 esac
12276 # Commands to make compiler produce verbose output that lists
12277 # what "hidden" libraries, object files and flags are used when
12278 # linking a shared library.
12280 # There doesn't appear to be a way to prevent this compiler from
12281 # explicitly linking system object files so we need to strip them
12282 # from the output so that they don't get included in the library
12283 # dependencies.
12284 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'
12287 if test "$GXX" = yes; then
12288 if test $with_gnu_ld = no; then
12289 case $host_cpu in
12290 hppa*64*)
12291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12293 ia64*)
12294 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12297 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'
12299 esac
12301 else
12302 # FIXME: insert proper C++ library support
12303 ld_shlibs_CXX=no
12306 esac
12309 interix[3-9]*)
12310 hardcode_direct_CXX=no
12311 hardcode_shlibpath_var_CXX=no
12312 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12313 export_dynamic_flag_spec_CXX='${wl}-E'
12314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12315 # Instead, shared libraries are loaded at an image base (0x10000000 by
12316 # default) and relocated if they conflict, which is a slow very memory
12317 # consuming and fragmenting process. To avoid this, we pick a random,
12318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12320 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'
12321 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'
12323 irix5* | irix6*)
12324 case $cc_basename in
12325 CC*)
12326 # SGI C++
12327 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'
12329 # Archives containing C++ object files must be created using
12330 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12331 # necessary to make sure instantiated templates are included
12332 # in the archive.
12333 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12336 if test "$GXX" = yes; then
12337 if test "$with_gnu_ld" = no; then
12338 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'
12339 else
12340 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'
12343 link_all_deplibs_CXX=yes
12345 esac
12346 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12347 hardcode_libdir_separator_CXX=:
12348 inherit_rpath_CXX=yes
12351 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12352 case $cc_basename in
12353 KCC*)
12354 # Kuck and Associates, Inc. (KAI) C++ Compiler
12356 # KCC will only create a shared library if the output file
12357 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12358 # to its proper name (with version) after linking.
12359 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'
12360 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'
12361 # Commands to make compiler produce verbose output that lists
12362 # what "hidden" libraries, object files and flags are used when
12363 # linking a shared library.
12365 # There doesn't appear to be a way to prevent this compiler from
12366 # explicitly linking system object files so we need to strip them
12367 # from the output so that they don't get included in the library
12368 # dependencies.
12369 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'
12371 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12372 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12374 # Archives containing C++ object files must be created using
12375 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12376 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12378 icpc* | ecpc* )
12379 # Intel C++
12380 with_gnu_ld=yes
12381 # version 8.0 and above of icpc choke on multiply defined symbols
12382 # if we add $predep_objects and $postdep_objects, however 7.1 and
12383 # earlier do not add the objects themselves.
12384 case `$CC -V 2>&1` in
12385 *"Version 7."*)
12386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12387 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'
12389 *) # Version 8.0 or newer
12390 tmp_idyn=
12391 case $host_cpu in
12392 ia64*) tmp_idyn=' -i_dynamic';;
12393 esac
12394 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12395 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'
12397 esac
12398 archive_cmds_need_lc_CXX=no
12399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12400 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12403 pgCC* | pgcpp*)
12404 # Portland Group C++ compiler
12405 case `$CC -V` in
12406 *pgCC\ [1-5]* | *pgcpp\ [1-5]*)
12407 prelink_cmds_CXX='tpldir=Template.dir~
12408 rm -rf $tpldir~
12409 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12410 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12411 old_archive_cmds_CXX='tpldir=Template.dir~
12412 rm -rf $tpldir~
12413 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12414 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12415 $RANLIB $oldlib'
12416 archive_cmds_CXX='tpldir=Template.dir~
12417 rm -rf $tpldir~
12418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12420 archive_expsym_cmds_CXX='tpldir=Template.dir~
12421 rm -rf $tpldir~
12422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12423 $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'
12425 *) # Version 6 will use weak symbols
12426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12427 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'
12429 esac
12431 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12432 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12433 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'
12435 cxx*)
12436 # Compaq C++
12437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12438 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'
12440 runpath_var=LD_RUN_PATH
12441 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12442 hardcode_libdir_separator_CXX=:
12444 # Commands to make compiler produce verbose output that lists
12445 # what "hidden" libraries, object files and flags are used when
12446 # linking a shared library.
12448 # There doesn't appear to be a way to prevent this compiler from
12449 # explicitly linking system object files so we need to strip them
12450 # from the output so that they don't get included in the library
12451 # dependencies.
12452 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'
12454 xl*)
12455 # IBM XL 8.0 on PPC, with GNU ld
12456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12458 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12459 if test "x$supports_anon_versioning" = xyes; then
12460 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12462 echo "local: *; };" >> $output_objdir/$libname.ver~
12463 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12467 case `$CC -V 2>&1 | sed 5q` in
12468 *Sun\ C*)
12469 # Sun C++ 5.9
12470 no_undefined_flag_CXX=' -zdefs'
12471 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12472 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'
12473 hardcode_libdir_flag_spec_CXX='-R$libdir'
12474 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'
12475 compiler_needs_object_CXX=yes
12477 # Not sure whether something based on
12478 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12479 # would be better.
12480 output_verbose_link_cmd='echo'
12482 # Archives containing C++ object files must be created using
12483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12484 # necessary to make sure instantiated templates are included
12485 # in the archive.
12486 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12488 esac
12490 esac
12493 lynxos*)
12494 # FIXME: insert proper C++ library support
12495 ld_shlibs_CXX=no
12498 m88k*)
12499 # FIXME: insert proper C++ library support
12500 ld_shlibs_CXX=no
12503 mvs*)
12504 case $cc_basename in
12505 cxx*)
12506 # FIXME: insert proper C++ library support
12507 ld_shlibs_CXX=no
12510 # FIXME: insert proper C++ library support
12511 ld_shlibs_CXX=no
12513 esac
12516 netbsd*)
12517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12518 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12519 wlarc=
12520 hardcode_libdir_flag_spec_CXX='-R$libdir'
12521 hardcode_direct_CXX=yes
12522 hardcode_shlibpath_var_CXX=no
12524 # Workaround some broken pre-1.5 toolchains
12525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12528 *nto* | *qnx*)
12529 ld_shlibs_CXX=yes
12532 openbsd2*)
12533 # C++ shared libraries are fairly broken
12534 ld_shlibs_CXX=no
12537 openbsd*)
12538 if test -f /usr/libexec/ld.so; then
12539 hardcode_direct_CXX=yes
12540 hardcode_shlibpath_var_CXX=no
12541 hardcode_direct_absolute_CXX=yes
12542 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12545 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12546 export_dynamic_flag_spec_CXX='${wl}-E'
12547 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12549 output_verbose_link_cmd=echo
12550 else
12551 ld_shlibs_CXX=no
12555 osf3* | osf4* | osf5*)
12556 case $cc_basename in
12557 KCC*)
12558 # Kuck and Associates, Inc. (KAI) C++ Compiler
12560 # KCC will only create a shared library if the output file
12561 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12562 # to its proper name (with version) after linking.
12563 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'
12565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12566 hardcode_libdir_separator_CXX=:
12568 # Archives containing C++ object files must be created using
12569 # the KAI C++ compiler.
12570 case $host in
12571 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
12572 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
12573 esac
12575 RCC*)
12576 # Rational C++ 2.4.1
12577 # FIXME: insert proper C++ library support
12578 ld_shlibs_CXX=no
12580 cxx*)
12581 case $host in
12582 osf3*)
12583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12584 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'
12585 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12588 allow_undefined_flag_CXX=' -expect_unresolved \*'
12589 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'
12590 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
12591 echo "-hidden">> $lib.exp~
12592 $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~
12593 $RM $lib.exp'
12594 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12596 esac
12598 hardcode_libdir_separator_CXX=:
12600 # Commands to make compiler produce verbose output that lists
12601 # what "hidden" libraries, object files and flags are used when
12602 # linking a shared library.
12604 # There doesn't appear to be a way to prevent this compiler from
12605 # explicitly linking system object files so we need to strip them
12606 # from the output so that they don't get included in the library
12607 # dependencies.
12608 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'
12611 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12612 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
12613 case $host in
12614 osf3*)
12615 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'
12618 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'
12620 esac
12622 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12623 hardcode_libdir_separator_CXX=:
12625 # Commands to make compiler produce verbose output that lists
12626 # what "hidden" libraries, object files and flags are used when
12627 # linking a shared library.
12628 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12630 else
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12635 esac
12638 psos*)
12639 # FIXME: insert proper C++ library support
12640 ld_shlibs_CXX=no
12643 sunos4*)
12644 case $cc_basename in
12645 CC*)
12646 # Sun C++ 4.x
12647 # FIXME: insert proper C++ library support
12648 ld_shlibs_CXX=no
12650 lcc*)
12651 # Lucid
12652 # FIXME: insert proper C++ library support
12653 ld_shlibs_CXX=no
12656 # FIXME: insert proper C++ library support
12657 ld_shlibs_CXX=no
12659 esac
12662 solaris*)
12663 case $cc_basename in
12664 CC*)
12665 # Sun C++ 4.2, 5.x and Centerline C++
12666 archive_cmds_need_lc_CXX=yes
12667 no_undefined_flag_CXX=' -zdefs'
12668 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12669 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12670 $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'
12672 hardcode_libdir_flag_spec_CXX='-R$libdir'
12673 hardcode_shlibpath_var_CXX=no
12674 case $host_os in
12675 solaris2.[0-5] | solaris2.[0-5].*) ;;
12677 # The compiler driver will combine and reorder linker options,
12678 # but understands `-z linker_flag'.
12679 # Supported since Solaris 2.6 (maybe 2.5.1?)
12680 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12682 esac
12683 link_all_deplibs_CXX=yes
12685 output_verbose_link_cmd='echo'
12687 # Archives containing C++ object files must be created using
12688 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12689 # necessary to make sure instantiated templates are included
12690 # in the archive.
12691 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12693 gcx*)
12694 # Green Hills C++ Compiler
12695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12697 # The C++ compiler must be used to create the archive.
12698 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
12701 # GNU C++ compiler with Solaris linker
12702 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12703 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12704 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12705 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12707 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12709 # Commands to make compiler produce verbose output that lists
12710 # what "hidden" libraries, object files and flags are used when
12711 # linking a shared library.
12712 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12713 else
12714 # g++ 2.7 appears to require `-G' NOT `-shared' on this
12715 # platform.
12716 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12717 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12718 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
12720 # Commands to make compiler produce verbose output that lists
12721 # what "hidden" libraries, object files and flags are used when
12722 # linking a shared library.
12723 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
12726 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
12727 case $host_os in
12728 solaris2.[0-5] | solaris2.[0-5].*) ;;
12730 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12732 esac
12735 esac
12738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12739 no_undefined_flag_CXX='${wl}-z,text'
12740 archive_cmds_need_lc_CXX=no
12741 hardcode_shlibpath_var_CXX=no
12742 runpath_var='LD_RUN_PATH'
12744 case $cc_basename in
12745 CC*)
12746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12750 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12751 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12753 esac
12756 sysv5* | sco3.2v5* | sco5v6*)
12757 # Note: We can NOT use -z defs as we might desire, because we do not
12758 # link with -lc, and that would cause any symbols used from libc to
12759 # always be unresolved, which means just about no library would
12760 # ever link correctly. If we're not using GNU ld we use -z text
12761 # though, which does catch some bad symbols but isn't as heavy-handed
12762 # as -z defs.
12763 no_undefined_flag_CXX='${wl}-z,text'
12764 allow_undefined_flag_CXX='${wl}-z,nodefs'
12765 archive_cmds_need_lc_CXX=no
12766 hardcode_shlibpath_var_CXX=no
12767 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
12768 hardcode_libdir_separator_CXX=':'
12769 link_all_deplibs_CXX=yes
12770 export_dynamic_flag_spec_CXX='${wl}-Bexport'
12771 runpath_var='LD_RUN_PATH'
12773 case $cc_basename in
12774 CC*)
12775 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12776 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12779 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12780 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12782 esac
12785 tandem*)
12786 case $cc_basename in
12787 NCC*)
12788 # NonStop-UX NCC 3.20
12789 # FIXME: insert proper C++ library support
12790 ld_shlibs_CXX=no
12793 # FIXME: insert proper C++ library support
12794 ld_shlibs_CXX=no
12796 esac
12799 vxworks*)
12800 # FIXME: insert proper C++ library support
12801 ld_shlibs_CXX=no
12805 # FIXME: insert proper C++ library support
12806 ld_shlibs_CXX=no
12808 esac
12810 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
12811 echo "${ECHO_T}$ld_shlibs_CXX" >&6
12812 test "$ld_shlibs_CXX" = no && can_build_shared=no
12814 GCC_CXX="$GXX"
12815 LD_CXX="$LD"
12817 ## CAVEAT EMPTOR:
12818 ## There is no encapsulation within the following macros, do not change
12819 ## the running order or otherwise move them around unless you know exactly
12820 ## what you are doing...
12821 # Dependencies to place before and after the object being linked:
12822 predep_objects_CXX=
12823 postdep_objects_CXX=
12824 predeps_CXX=
12825 postdeps_CXX=
12826 compiler_lib_search_path_CXX=
12828 cat > conftest.$ac_ext <<_LT_EOF
12829 class Foo
12831 public:
12832 Foo (void) { a = 0; }
12833 private:
12834 int a;
12836 _LT_EOF
12838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12839 (eval $ac_compile) 2>&5
12840 ac_status=$?
12841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12842 (exit $ac_status); }; then
12843 # Parse the compiler output and extract the necessary
12844 # objects, libraries and library flags.
12846 # Sentinel used to keep track of whether or not we are before
12847 # the conftest object file.
12848 pre_test_object_deps_done=no
12850 for p in `eval "$output_verbose_link_cmd"`; do
12851 case $p in
12853 -L* | -R* | -l*)
12854 # Some compilers place space between "-{L,R}" and the path.
12855 # Remove the space.
12856 if test $p = "-L" ||
12857 test $p = "-R"; then
12858 prev=$p
12859 continue
12860 else
12861 prev=
12864 if test "$pre_test_object_deps_done" = no; then
12865 case $p in
12866 -L* | -R*)
12867 # Internal compiler library paths should come after those
12868 # provided the user. The postdeps already come after the
12869 # user supplied libs so there is no need to process them.
12870 if test -z "$compiler_lib_search_path_CXX"; then
12871 compiler_lib_search_path_CXX="${prev}${p}"
12872 else
12873 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
12876 # The "-l" case would never come before the object being
12877 # linked, so don't bother handling this case.
12878 esac
12879 else
12880 if test -z "$postdeps_CXX"; then
12881 postdeps_CXX="${prev}${p}"
12882 else
12883 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
12888 *.$objext)
12889 # This assumes that the test object file only shows up
12890 # once in the compiler output.
12891 if test "$p" = "conftest.$objext"; then
12892 pre_test_object_deps_done=yes
12893 continue
12896 if test "$pre_test_object_deps_done" = no; then
12897 if test -z "$predep_objects_CXX"; then
12898 predep_objects_CXX="$p"
12899 else
12900 predep_objects_CXX="$predep_objects_CXX $p"
12902 else
12903 if test -z "$postdep_objects_CXX"; then
12904 postdep_objects_CXX="$p"
12905 else
12906 postdep_objects_CXX="$postdep_objects_CXX $p"
12911 *) ;; # Ignore the rest.
12913 esac
12914 done
12916 # Clean up.
12917 rm -f a.out a.exe
12918 else
12919 echo "libtool.m4: error: problem compiling CXX test program"
12922 $RM -f confest.$objext
12924 # PORTME: override above test on systems where it is broken
12925 case $host_os in
12926 interix[3-9]*)
12927 # Interix 3.5 installs completely hosed .la files for C++, so rather than
12928 # hack all around it, let's just trust "g++" to DTRT.
12929 predep_objects_CXX=
12930 postdep_objects_CXX=
12931 postdeps_CXX=
12934 linux*)
12935 case `$CC -V 2>&1 | sed 5q` in
12936 *Sun\ C*)
12937 # Sun C++ 5.9
12939 # The more standards-conforming stlport4 library is
12940 # incompatible with the Cstd library. Avoid specifying
12941 # it if it's in CXXFLAGS. Ignore libCrun as
12942 # -library=stlport4 depends on it.
12943 case " $CXX $CXXFLAGS " in
12944 *" -library=stlport4 "*)
12945 solaris_use_stlport4=yes
12947 esac
12949 if test "$solaris_use_stlport4" != yes; then
12950 postdeps_CXX='-library=Cstd -library=Crun'
12953 esac
12956 solaris*)
12957 case $cc_basename in
12958 CC*)
12959 # The more standards-conforming stlport4 library is
12960 # incompatible with the Cstd library. Avoid specifying
12961 # it if it's in CXXFLAGS. Ignore libCrun as
12962 # -library=stlport4 depends on it.
12963 case " $CXX $CXXFLAGS " in
12964 *" -library=stlport4 "*)
12965 solaris_use_stlport4=yes
12967 esac
12969 # Adding this requires a known-good setup of shared libraries for
12970 # Sun compiler versions before 5.6, else PIC objects from an old
12971 # archive will be linked into the output, leading to subtle bugs.
12972 if test "$solaris_use_stlport4" != yes; then
12973 postdeps_CXX='-library=Cstd -library=Crun'
12976 esac
12978 esac
12981 case " $postdeps_CXX " in
12982 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
12983 esac
12984 compiler_lib_search_dirs_CXX=
12985 if test -n "${compiler_lib_search_path_CXX}"; then
12986 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13019 lt_prog_compiler_wl_CXX=
13020 lt_prog_compiler_pic_CXX=
13021 lt_prog_compiler_static_CXX=
13023 echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13024 echo $ECHO_N "checking for $compiler option to produce PIC... $ECHO_C" >&6
13026 # C++ specific cases for pic, static, wl, etc.
13027 if test "$GXX" = yes; then
13028 lt_prog_compiler_wl_CXX='-Wl,'
13029 lt_prog_compiler_static_CXX='-static'
13031 case $host_os in
13032 aix*)
13033 # All AIX code is PIC.
13034 if test "$host_cpu" = ia64; then
13035 # AIX 5 now supports IA64 processor
13036 lt_prog_compiler_static_CXX='-Bstatic'
13040 amigaos*)
13041 case $host_cpu in
13042 powerpc)
13043 # see comment about AmigaOS4 .so support
13044 lt_prog_compiler_pic_CXX='-fPIC'
13046 m68k)
13047 # FIXME: we need at least 68020 code to build shared libraries, but
13048 # adding the `-m68020' flag to GCC prevents building anything better,
13049 # like `-m68040'.
13050 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13052 esac
13055 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13056 # PIC is the default for these OSes.
13058 mingw* | cygwin* | os2* | pw32* | cegcc*)
13059 # This hack is so that the source file can tell whether it is being
13060 # built for inclusion in a dll (and should export symbols for example).
13061 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13062 # (--disable-auto-import) libraries
13063 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13065 darwin* | rhapsody*)
13066 # PIC is the default on this platform
13067 # Common symbols not allowed in MH_DYLIB files
13068 lt_prog_compiler_pic_CXX='-fno-common'
13070 *djgpp*)
13071 # DJGPP does not support shared libraries at all
13072 lt_prog_compiler_pic_CXX=
13074 interix[3-9]*)
13075 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13076 # Instead, we relocate shared libraries at runtime.
13078 sysv4*MP*)
13079 if test -d /usr/nec; then
13080 lt_prog_compiler_pic_CXX=-Kconform_pic
13083 hpux*)
13084 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13085 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13086 # sets the default TLS model and affects inlining.
13087 case $host_cpu in
13088 hppa*64*)
13091 lt_prog_compiler_pic_CXX='-fPIC'
13093 esac
13095 *qnx* | *nto*)
13096 # QNX uses GNU C++, but need to define -shared option too, otherwise
13097 # it will coredump.
13098 lt_prog_compiler_pic_CXX='-fPIC -shared'
13101 lt_prog_compiler_pic_CXX='-fPIC'
13103 esac
13104 else
13105 case $host_os in
13106 aix[4-9]*)
13107 # All AIX code is PIC.
13108 if test "$host_cpu" = ia64; then
13109 # AIX 5 now supports IA64 processor
13110 lt_prog_compiler_static_CXX='-Bstatic'
13111 else
13112 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13115 chorus*)
13116 case $cc_basename in
13117 cxch68*)
13118 # Green Hills C++ Compiler
13119 # _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"
13121 esac
13123 dgux*)
13124 case $cc_basename in
13125 ec++*)
13126 lt_prog_compiler_pic_CXX='-KPIC'
13128 ghcx*)
13129 # Green Hills C++ Compiler
13130 lt_prog_compiler_pic_CXX='-pic'
13134 esac
13136 freebsd* | dragonfly*)
13137 # FreeBSD uses GNU C++
13139 hpux9* | hpux10* | hpux11*)
13140 case $cc_basename in
13141 CC*)
13142 lt_prog_compiler_wl_CXX='-Wl,'
13143 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13144 if test "$host_cpu" != ia64; then
13145 lt_prog_compiler_pic_CXX='+Z'
13148 aCC*)
13149 lt_prog_compiler_wl_CXX='-Wl,'
13150 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13151 case $host_cpu in
13152 hppa*64*|ia64*)
13153 # +Z the default
13156 lt_prog_compiler_pic_CXX='+Z'
13158 esac
13162 esac
13164 interix*)
13165 # This is c89, which is MS Visual C++ (no shared libs)
13166 # Anyone wants to do a port?
13168 irix5* | irix6* | nonstopux*)
13169 case $cc_basename in
13170 CC*)
13171 lt_prog_compiler_wl_CXX='-Wl,'
13172 lt_prog_compiler_static_CXX='-non_shared'
13173 # CC pic flag -KPIC is the default.
13177 esac
13179 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13180 case $cc_basename in
13181 KCC*)
13182 # KAI C++ Compiler
13183 lt_prog_compiler_wl_CXX='--backend -Wl,'
13184 lt_prog_compiler_pic_CXX='-fPIC'
13186 ecpc* )
13187 # old Intel C++ for x86_64 which still supported -KPIC.
13188 lt_prog_compiler_wl_CXX='-Wl,'
13189 lt_prog_compiler_pic_CXX='-KPIC'
13190 lt_prog_compiler_static_CXX='-static'
13192 icpc* )
13193 # Intel C++, used to be incompatible with GCC.
13194 # ICC 10 doesn't accept -KPIC any more.
13195 lt_prog_compiler_wl_CXX='-Wl,'
13196 lt_prog_compiler_pic_CXX='-fPIC'
13197 lt_prog_compiler_static_CXX='-static'
13199 pgCC* | pgcpp*)
13200 # Portland Group C++ compiler
13201 lt_prog_compiler_wl_CXX='-Wl,'
13202 lt_prog_compiler_pic_CXX='-fpic'
13203 lt_prog_compiler_static_CXX='-Bstatic'
13205 cxx*)
13206 # Compaq C++
13207 # Make sure the PIC flag is empty. It appears that all Alpha
13208 # Linux and Compaq Tru64 Unix objects are PIC.
13209 lt_prog_compiler_pic_CXX=
13210 lt_prog_compiler_static_CXX='-non_shared'
13212 xlc* | xlC*)
13213 # IBM XL 8.0 on PPC
13214 lt_prog_compiler_wl_CXX='-Wl,'
13215 lt_prog_compiler_pic_CXX='-qpic'
13216 lt_prog_compiler_static_CXX='-qstaticlink'
13219 case `$CC -V 2>&1 | sed 5q` in
13220 *Sun\ C*)
13221 # Sun C++ 5.9
13222 lt_prog_compiler_pic_CXX='-KPIC'
13223 lt_prog_compiler_static_CXX='-Bstatic'
13224 lt_prog_compiler_wl_CXX='-Qoption ld '
13226 esac
13228 esac
13230 lynxos*)
13232 m88k*)
13234 mvs*)
13235 case $cc_basename in
13236 cxx*)
13237 lt_prog_compiler_pic_CXX='-W c,exportall'
13241 esac
13243 netbsd*)
13245 *qnx* | *nto*)
13246 # QNX uses GNU C++, but need to define -shared option too, otherwise
13247 # it will coredump.
13248 lt_prog_compiler_pic_CXX='-fPIC -shared'
13250 osf3* | osf4* | osf5*)
13251 case $cc_basename in
13252 KCC*)
13253 lt_prog_compiler_wl_CXX='--backend -Wl,'
13255 RCC*)
13256 # Rational C++ 2.4.1
13257 lt_prog_compiler_pic_CXX='-pic'
13259 cxx*)
13260 # Digital/Compaq C++
13261 lt_prog_compiler_wl_CXX='-Wl,'
13262 # Make sure the PIC flag is empty. It appears that all Alpha
13263 # Linux and Compaq Tru64 Unix objects are PIC.
13264 lt_prog_compiler_pic_CXX=
13265 lt_prog_compiler_static_CXX='-non_shared'
13269 esac
13271 psos*)
13273 solaris*)
13274 case $cc_basename in
13275 CC*)
13276 # Sun C++ 4.2, 5.x and Centerline C++
13277 lt_prog_compiler_pic_CXX='-KPIC'
13278 lt_prog_compiler_static_CXX='-Bstatic'
13279 lt_prog_compiler_wl_CXX='-Qoption ld '
13281 gcx*)
13282 # Green Hills C++ Compiler
13283 lt_prog_compiler_pic_CXX='-PIC'
13287 esac
13289 sunos4*)
13290 case $cc_basename in
13291 CC*)
13292 # Sun C++ 4.x
13293 lt_prog_compiler_pic_CXX='-pic'
13294 lt_prog_compiler_static_CXX='-Bstatic'
13296 lcc*)
13297 # Lucid
13298 lt_prog_compiler_pic_CXX='-pic'
13302 esac
13304 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13305 case $cc_basename in
13306 CC*)
13307 lt_prog_compiler_wl_CXX='-Wl,'
13308 lt_prog_compiler_pic_CXX='-KPIC'
13309 lt_prog_compiler_static_CXX='-Bstatic'
13311 esac
13313 tandem*)
13314 case $cc_basename in
13315 NCC*)
13316 # NonStop-UX NCC 3.20
13317 lt_prog_compiler_pic_CXX='-KPIC'
13321 esac
13323 vxworks*)
13326 lt_prog_compiler_can_build_shared_CXX=no
13328 esac
13331 case $host_os in
13332 # For platforms which do not support PIC, -DPIC is meaningless:
13333 *djgpp*)
13334 lt_prog_compiler_pic_CXX=
13337 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13339 esac
13340 echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13341 echo "${ECHO_T}$lt_prog_compiler_pic_CXX" >&6
13346 # Check to make sure the PIC flag actually works.
13348 if test -n "$lt_prog_compiler_pic_CXX"; then
13349 echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13350 echo $ECHO_N "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... $ECHO_C" >&6
13351 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13352 echo $ECHO_N "(cached) $ECHO_C" >&6
13353 else
13354 lt_cv_prog_compiler_pic_works_CXX=no
13355 ac_outfile=conftest.$ac_objext
13356 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13357 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13358 # Insert the option either (1) after the last *FLAGS variable, or
13359 # (2) before a word containing "conftest.", or (3) at the end.
13360 # Note that $ac_compile itself does not contain backslashes and begins
13361 # with a dollar sign (not a hyphen), so the echo should work correctly.
13362 # The option is referenced via a variable to avoid confusing sed.
13363 lt_compile=`echo "$ac_compile" | $SED \
13364 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13365 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13366 -e 's:$: $lt_compiler_flag:'`
13367 (eval echo "\"\$as_me:13367: $lt_compile\"" >&5)
13368 (eval "$lt_compile" 2>conftest.err)
13369 ac_status=$?
13370 cat conftest.err >&5
13371 echo "$as_me:13371: \$? = $ac_status" >&5
13372 if (exit $ac_status) && test -s "$ac_outfile"; then
13373 # The compiler can only warn and ignore the option if not recognized
13374 # So say no if there are warnings other than the usual output.
13375 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
13376 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13377 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13378 lt_cv_prog_compiler_pic_works_CXX=yes
13381 $RM conftest*
13384 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13385 echo "${ECHO_T}$lt_cv_prog_compiler_pic_works_CXX" >&6
13387 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13388 case $lt_prog_compiler_pic_CXX in
13389 "" | " "*) ;;
13390 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13391 esac
13392 else
13393 lt_prog_compiler_pic_CXX=
13394 lt_prog_compiler_can_build_shared_CXX=no
13402 # Check to make sure the static flag actually works.
13404 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13405 echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13406 echo $ECHO_N "checking if $compiler static flag $lt_tmp_static_flag works... $ECHO_C" >&6
13407 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13408 echo $ECHO_N "(cached) $ECHO_C" >&6
13409 else
13410 lt_cv_prog_compiler_static_works_CXX=no
13411 save_LDFLAGS="$LDFLAGS"
13412 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13413 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13414 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13415 # The linker can only warn and ignore the option if not recognized
13416 # So say no if there are warnings
13417 if test -s conftest.err; then
13418 # Append any errors to the config.log.
13419 cat conftest.err 1>&5
13420 $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
13421 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13422 if diff conftest.exp conftest.er2 >/dev/null; then
13423 lt_cv_prog_compiler_static_works_CXX=yes
13425 else
13426 lt_cv_prog_compiler_static_works_CXX=yes
13429 $RM -r conftest*
13430 LDFLAGS="$save_LDFLAGS"
13433 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13434 echo "${ECHO_T}$lt_cv_prog_compiler_static_works_CXX" >&6
13436 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13438 else
13439 lt_prog_compiler_static_CXX=
13445 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13446 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13447 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13448 echo $ECHO_N "(cached) $ECHO_C" >&6
13449 else
13450 lt_cv_prog_compiler_c_o_CXX=no
13451 $RM -r conftest 2>/dev/null
13452 mkdir conftest
13453 cd conftest
13454 mkdir out
13455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13457 lt_compiler_flag="-o out/conftest2.$ac_objext"
13458 # Insert the option either (1) after the last *FLAGS variable, or
13459 # (2) before a word containing "conftest.", or (3) at the end.
13460 # Note that $ac_compile itself does not contain backslashes and begins
13461 # with a dollar sign (not a hyphen), so the echo should work correctly.
13462 lt_compile=`echo "$ac_compile" | $SED \
13463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13465 -e 's:$: $lt_compiler_flag:'`
13466 (eval echo "\"\$as_me:13466: $lt_compile\"" >&5)
13467 (eval "$lt_compile" 2>out/conftest.err)
13468 ac_status=$?
13469 cat out/conftest.err >&5
13470 echo "$as_me:13470: \$? = $ac_status" >&5
13471 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13472 then
13473 # The compiler can only warn and ignore the option if not recognized
13474 # So say no if there are warnings
13475 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13476 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13477 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13478 lt_cv_prog_compiler_c_o_CXX=yes
13481 chmod u+w . 2>&5
13482 $RM conftest*
13483 # SGI C++ compiler will create directory out/ii_files/ for
13484 # template instantiation
13485 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13486 $RM out/* && rmdir out
13487 cd ..
13488 $RM -r conftest
13489 $RM conftest*
13492 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13493 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13497 echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13498 echo $ECHO_N "checking if $compiler supports -c -o file.$ac_objext... $ECHO_C" >&6
13499 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13500 echo $ECHO_N "(cached) $ECHO_C" >&6
13501 else
13502 lt_cv_prog_compiler_c_o_CXX=no
13503 $RM -r conftest 2>/dev/null
13504 mkdir conftest
13505 cd conftest
13506 mkdir out
13507 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13509 lt_compiler_flag="-o out/conftest2.$ac_objext"
13510 # Insert the option either (1) after the last *FLAGS variable, or
13511 # (2) before a word containing "conftest.", or (3) at the end.
13512 # Note that $ac_compile itself does not contain backslashes and begins
13513 # with a dollar sign (not a hyphen), so the echo should work correctly.
13514 lt_compile=`echo "$ac_compile" | $SED \
13515 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13516 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13517 -e 's:$: $lt_compiler_flag:'`
13518 (eval echo "\"\$as_me:13518: $lt_compile\"" >&5)
13519 (eval "$lt_compile" 2>out/conftest.err)
13520 ac_status=$?
13521 cat out/conftest.err >&5
13522 echo "$as_me:13522: \$? = $ac_status" >&5
13523 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13524 then
13525 # The compiler can only warn and ignore the option if not recognized
13526 # So say no if there are warnings
13527 $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
13528 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13529 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13530 lt_cv_prog_compiler_c_o_CXX=yes
13533 chmod u+w . 2>&5
13534 $RM conftest*
13535 # SGI C++ compiler will create directory out/ii_files/ for
13536 # template instantiation
13537 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13538 $RM out/* && rmdir out
13539 cd ..
13540 $RM -r conftest
13541 $RM conftest*
13544 echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13545 echo "${ECHO_T}$lt_cv_prog_compiler_c_o_CXX" >&6
13550 hard_links="nottested"
13551 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
13552 # do not overwrite the value of need_locks provided by the user
13553 echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13554 echo $ECHO_N "checking if we can lock with hard links... $ECHO_C" >&6
13555 hard_links=yes
13556 $RM conftest*
13557 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13558 touch conftest.a
13559 ln conftest.a conftest.b 2>&5 || hard_links=no
13560 ln conftest.a conftest.b 2>/dev/null && hard_links=no
13561 echo "$as_me:$LINENO: result: $hard_links" >&5
13562 echo "${ECHO_T}$hard_links" >&6
13563 if test "$hard_links" = no; then
13564 { echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13565 echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
13566 need_locks=warn
13568 else
13569 need_locks=no
13574 echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13575 echo $ECHO_N "checking whether the $compiler linker ($LD) supports shared libraries... $ECHO_C" >&6
13577 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13578 case $host_os in
13579 aix[4-9]*)
13580 # If we're using GNU nm, then we don't want the "-C" option.
13581 # -C means demangle to AIX nm, but means don't demangle with GNU nm
13582 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
13583 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'
13584 else
13585 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'
13588 pw32*)
13589 export_symbols_cmds_CXX="$ltdll_cmds"
13591 cygwin* | mingw* | cegcc*)
13592 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'
13595 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13597 esac
13598 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13600 echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13601 echo "${ECHO_T}$ld_shlibs_CXX" >&6
13602 test "$ld_shlibs_CXX" = no && can_build_shared=no
13604 with_gnu_ld_CXX=$with_gnu_ld
13612 # Do we need to explicitly link libc?
13614 case "x$archive_cmds_need_lc_CXX" in
13615 x|xyes)
13616 # Assume -lc should be added
13617 archive_cmds_need_lc_CXX=yes
13619 if test "$enable_shared" = yes && test "$GCC" = yes; then
13620 case $archive_cmds_CXX in
13621 *'~'*)
13622 # FIXME: we may have to deal with multi-command sequences.
13624 '$CC '*)
13625 # Test whether the compiler implicitly links with -lc since on some
13626 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13627 # to ld, don't add -lc before -lgcc.
13628 echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13629 echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6
13630 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then
13631 echo $ECHO_N "(cached) $ECHO_C" >&6
13632 else
13633 $RM conftest*
13634 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13636 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13637 (eval $ac_compile) 2>&5
13638 ac_status=$?
13639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13640 (exit $ac_status); } 2>conftest.err; then
13641 soname=conftest
13642 lib=conftest
13643 libobjs=conftest.$ac_objext
13644 deplibs=
13645 wl=$lt_prog_compiler_wl_CXX
13646 pic_flag=$lt_prog_compiler_pic_CXX
13647 compiler_flags=-v
13648 linker_flags=-v
13649 verstring=
13650 output_objdir=.
13651 libname=conftest
13652 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
13653 allow_undefined_flag_CXX=
13654 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13655 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13656 ac_status=$?
13657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13658 (exit $ac_status); }
13659 then
13660 lt_cv_archive_cmds_need_lc_CXX=no
13661 else
13662 lt_cv_archive_cmds_need_lc_CXX=yes
13664 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
13665 else
13666 cat conftest.err 1>&5
13668 $RM conftest*
13671 echo "$as_me:$LINENO: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
13672 echo "${ECHO_T}$lt_cv_archive_cmds_need_lc_CXX" >&6
13673 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
13675 esac
13678 esac
13743 echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
13744 echo $ECHO_N "checking dynamic linker characteristics... $ECHO_C" >&6
13746 library_names_spec=
13747 libname_spec='lib$name'
13748 soname_spec=
13749 shrext_cmds=".so"
13750 postinstall_cmds=
13751 postuninstall_cmds=
13752 finish_cmds=
13753 finish_eval=
13754 shlibpath_var=
13755 shlibpath_overrides_runpath=unknown
13756 version_type=none
13757 dynamic_linker="$host_os ld.so"
13758 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13759 need_lib_prefix=unknown
13760 hardcode_into_libs=no
13762 # when you set need_version to no, make sure it does not cause -set_version
13763 # flags to be left without arguments
13764 need_version=unknown
13766 case $host_os in
13767 aix3*)
13768 version_type=linux
13769 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
13770 shlibpath_var=LIBPATH
13772 # AIX 3 has no versioning support, so we append a major version to the name.
13773 soname_spec='${libname}${release}${shared_ext}$major'
13776 aix[4-9]*)
13777 version_type=linux
13778 need_lib_prefix=no
13779 need_version=no
13780 hardcode_into_libs=yes
13781 if test "$host_cpu" = ia64; then
13782 # AIX 5 supports IA64
13783 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
13784 shlibpath_var=LD_LIBRARY_PATH
13785 else
13786 # With GCC up to 2.95.x, collect2 would create an import file
13787 # for dependence libraries. The import file would start with
13788 # the line `#! .'. This would cause the generated library to
13789 # depend on `.', always an invalid library. This was fixed in
13790 # development snapshots of GCC prior to 3.0.
13791 case $host_os in
13792 aix4 | aix4.[01] | aix4.[01].*)
13793 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13794 echo ' yes '
13795 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13797 else
13798 can_build_shared=no
13801 esac
13802 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13803 # soname into executable. Probably we can add versioning support to
13804 # collect2, so additional links can be useful in future.
13805 if test "$aix_use_runtimelinking" = yes; then
13806 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13807 # instead of lib<name>.a to let people know that these are not
13808 # typical AIX shared libraries.
13809 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13810 else
13811 # We preserve .a as extension for shared libraries through AIX4.2
13812 # and later when we are not doing run time linking.
13813 library_names_spec='${libname}${release}.a $libname.a'
13814 soname_spec='${libname}${release}${shared_ext}$major'
13816 shlibpath_var=LIBPATH
13820 amigaos*)
13821 case $host_cpu in
13822 powerpc)
13823 # Since July 2007 AmigaOS4 officially supports .so libraries.
13824 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13827 m68k)
13828 library_names_spec='$libname.ixlibrary $libname.a'
13829 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13830 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'
13832 esac
13835 beos*)
13836 library_names_spec='${libname}${shared_ext}'
13837 dynamic_linker="$host_os ld.so"
13838 shlibpath_var=LIBRARY_PATH
13841 bsdi[45]*)
13842 version_type=linux
13843 need_version=no
13844 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13845 soname_spec='${libname}${release}${shared_ext}$major'
13846 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13847 shlibpath_var=LD_LIBRARY_PATH
13848 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13849 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13850 # the default ld.so.conf also contains /usr/contrib/lib and
13851 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13852 # libtool to hard-code these into programs
13855 cygwin* | mingw* | pw32* | cegcc*)
13856 version_type=windows
13857 shrext_cmds=".dll"
13858 need_version=no
13859 need_lib_prefix=no
13861 case $GCC,$host_os in
13862 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
13863 library_names_spec='$libname.dll.a'
13864 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13865 postinstall_cmds='base_file=`basename \${file}`~
13866 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13867 dldir=$destdir/`dirname \$dlpath`~
13868 test -d \$dldir || mkdir -p \$dldir~
13869 $install_prog $dir/$dlname \$dldir/$dlname~
13870 chmod a+x \$dldir/$dlname~
13871 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13872 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13874 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13875 dlpath=$dir/\$dldll~
13876 $RM \$dlpath'
13877 shlibpath_overrides_runpath=yes
13879 case $host_os in
13880 cygwin*)
13881 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13882 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13883 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
13885 mingw* | cegcc*)
13886 # MinGW DLLs use traditional 'lib' prefix
13887 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13888 sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13889 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13890 # It is most probably a Windows format PATH printed by
13891 # mingw gcc, but we are running on Cygwin. Gcc prints its search
13892 # path with ; separators, and with drive letters. We can handle the
13893 # drive letters (cygwin fileutils understands them), so leave them,
13894 # especially as we might pass files found there to a mingw objdump,
13895 # which wouldn't understand a cygwinified path. Ahh.
13896 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13897 else
13898 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13901 pw32*)
13902 # pw32 DLLs use 'pw' prefix rather than 'lib'
13903 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13905 esac
13909 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13911 esac
13912 dynamic_linker='Win32 ld.exe'
13913 # FIXME: first we should search . and the directory the executable is in
13914 shlibpath_var=PATH
13917 darwin* | rhapsody*)
13918 dynamic_linker="$host_os dyld"
13919 version_type=darwin
13920 need_lib_prefix=no
13921 need_version=no
13922 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13923 soname_spec='${libname}${release}${major}$shared_ext'
13924 shlibpath_overrides_runpath=yes
13925 shlibpath_var=DYLD_LIBRARY_PATH
13926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13928 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13931 dgux*)
13932 version_type=linux
13933 need_lib_prefix=no
13934 need_version=no
13935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13936 soname_spec='${libname}${release}${shared_ext}$major'
13937 shlibpath_var=LD_LIBRARY_PATH
13940 freebsd1*)
13941 dynamic_linker=no
13944 freebsd* | dragonfly*)
13945 # DragonFly does not have aout. When/if they implement a new
13946 # versioning mechanism, adjust this.
13947 if test -x /usr/bin/objformat; then
13948 objformat=`/usr/bin/objformat`
13949 else
13950 case $host_os in
13951 freebsd[123]*) objformat=aout ;;
13952 *) objformat=elf ;;
13953 esac
13955 version_type=freebsd-$objformat
13956 case $version_type in
13957 freebsd-elf*)
13958 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13959 need_version=no
13960 need_lib_prefix=no
13962 freebsd-*)
13963 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13964 need_version=yes
13966 esac
13967 shlibpath_var=LD_LIBRARY_PATH
13968 case $host_os in
13969 freebsd2*)
13970 shlibpath_overrides_runpath=yes
13972 freebsd3.[01]* | freebsdelf3.[01]*)
13973 shlibpath_overrides_runpath=yes
13974 hardcode_into_libs=yes
13976 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13977 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13978 shlibpath_overrides_runpath=no
13979 hardcode_into_libs=yes
13981 *) # from 4.6 on, and DragonFly
13982 shlibpath_overrides_runpath=yes
13983 hardcode_into_libs=yes
13985 esac
13988 gnu*)
13989 version_type=linux
13990 need_lib_prefix=no
13991 need_version=no
13992 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13993 soname_spec='${libname}${release}${shared_ext}$major'
13994 shlibpath_var=LD_LIBRARY_PATH
13995 hardcode_into_libs=yes
13998 hpux9* | hpux10* | hpux11*)
13999 # Give a soname corresponding to the major version so that dld.sl refuses to
14000 # link against other versions.
14001 version_type=sunos
14002 need_lib_prefix=no
14003 need_version=no
14004 case $host_cpu in
14005 ia64*)
14006 shrext_cmds='.so'
14007 hardcode_into_libs=yes
14008 dynamic_linker="$host_os dld.so"
14009 shlibpath_var=LD_LIBRARY_PATH
14010 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14011 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14012 soname_spec='${libname}${release}${shared_ext}$major'
14013 if test "X$HPUX_IA64_MODE" = X32; then
14014 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14015 else
14016 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14018 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14020 hppa*64*)
14021 shrext_cmds='.sl'
14022 hardcode_into_libs=yes
14023 dynamic_linker="$host_os dld.sl"
14024 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14025 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14027 soname_spec='${libname}${release}${shared_ext}$major'
14028 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14029 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14032 shrext_cmds='.sl'
14033 dynamic_linker="$host_os dld.sl"
14034 shlibpath_var=SHLIB_PATH
14035 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14037 soname_spec='${libname}${release}${shared_ext}$major'
14039 esac
14040 # HP-UX runs *really* slowly unless shared libraries are mode 555.
14041 postinstall_cmds='chmod 555 $lib'
14044 interix[3-9]*)
14045 version_type=linux
14046 need_lib_prefix=no
14047 need_version=no
14048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14049 soname_spec='${libname}${release}${shared_ext}$major'
14050 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14051 shlibpath_var=LD_LIBRARY_PATH
14052 shlibpath_overrides_runpath=no
14053 hardcode_into_libs=yes
14056 irix5* | irix6* | nonstopux*)
14057 case $host_os in
14058 nonstopux*) version_type=nonstopux ;;
14060 if test "$lt_cv_prog_gnu_ld" = yes; then
14061 version_type=linux
14062 else
14063 version_type=irix
14064 fi ;;
14065 esac
14066 need_lib_prefix=no
14067 need_version=no
14068 soname_spec='${libname}${release}${shared_ext}$major'
14069 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14070 case $host_os in
14071 irix5* | nonstopux*)
14072 libsuff= shlibsuff=
14075 case $LD in # libtool.m4 will add one of these switches to LD
14076 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14077 libsuff= shlibsuff= libmagic=32-bit;;
14078 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14079 libsuff=32 shlibsuff=N32 libmagic=N32;;
14080 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14081 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14082 *) libsuff= shlibsuff= libmagic=never-match;;
14083 esac
14085 esac
14086 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14087 shlibpath_overrides_runpath=no
14088 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14089 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14090 hardcode_into_libs=yes
14093 # No shared lib support for Linux oldld, aout, or coff.
14094 linux*oldld* | linux*aout* | linux*coff*)
14095 dynamic_linker=no
14098 # This must be Linux ELF.
14099 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14100 version_type=linux
14101 need_lib_prefix=no
14102 need_version=no
14103 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14104 soname_spec='${libname}${release}${shared_ext}$major'
14105 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14106 shlibpath_var=LD_LIBRARY_PATH
14107 shlibpath_overrides_runpath=no
14109 # Some binutils ld are patched to set DT_RUNPATH
14110 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then
14111 echo $ECHO_N "(cached) $ECHO_C" >&6
14112 else
14113 lt_cv_shlibpath_overrides_runpath=no
14114 save_LDFLAGS=$LDFLAGS
14115 save_libdir=$libdir
14116 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14117 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14118 if test x$gcc_no_link = xyes; then
14119 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14120 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14121 { (exit 1); exit 1; }; }
14123 cat >conftest.$ac_ext <<_ACEOF
14124 /* confdefs.h. */
14125 _ACEOF
14126 cat confdefs.h >>conftest.$ac_ext
14127 cat >>conftest.$ac_ext <<_ACEOF
14128 /* end confdefs.h. */
14131 main ()
14135 return 0;
14137 _ACEOF
14138 rm -f conftest.$ac_objext conftest$ac_exeext
14139 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14140 (eval $ac_link) 2>conftest.er1
14141 ac_status=$?
14142 grep -v '^ *+' conftest.er1 >conftest.err
14143 rm -f conftest.er1
14144 cat conftest.err >&5
14145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14146 (exit $ac_status); } &&
14147 { ac_try='test -z "$ac_cxx_werror_flag"
14148 || test ! -s conftest.err'
14149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14150 (eval $ac_try) 2>&5
14151 ac_status=$?
14152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14153 (exit $ac_status); }; } &&
14154 { ac_try='test -s conftest$ac_exeext'
14155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14156 (eval $ac_try) 2>&5
14157 ac_status=$?
14158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14159 (exit $ac_status); }; }; then
14160 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14161 lt_cv_shlibpath_overrides_runpath=yes
14164 else
14165 echo "$as_me: failed program was:" >&5
14166 sed 's/^/| /' conftest.$ac_ext >&5
14169 rm -f conftest.err conftest.$ac_objext \
14170 conftest$ac_exeext conftest.$ac_ext
14171 LDFLAGS=$save_LDFLAGS
14172 libdir=$save_libdir
14176 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14178 # This implies no fast_install, which is unacceptable.
14179 # Some rework will be needed to allow for fast_install
14180 # before this can be enabled.
14181 hardcode_into_libs=yes
14183 # Append ld.so.conf contents to the search path
14184 if test -f /etc/ld.so.conf; then
14185 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/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
14186 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14189 # We used to test for /lib/ld.so.1 and disable shared libraries on
14190 # powerpc, because MkLinux only supported shared libraries with the
14191 # GNU dynamic linker. Since this was broken with cross compilers,
14192 # most powerpc-linux boxes support dynamic linking these days and
14193 # people can always --disable-shared, the test was removed, and we
14194 # assume the GNU/Linux dynamic linker is in use.
14195 dynamic_linker='GNU/Linux ld.so'
14198 netbsd*)
14199 version_type=sunos
14200 need_lib_prefix=no
14201 need_version=no
14202 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14204 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14205 dynamic_linker='NetBSD (a.out) ld.so'
14206 else
14207 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14208 soname_spec='${libname}${release}${shared_ext}$major'
14209 dynamic_linker='NetBSD ld.elf_so'
14211 shlibpath_var=LD_LIBRARY_PATH
14212 shlibpath_overrides_runpath=yes
14213 hardcode_into_libs=yes
14216 newsos6)
14217 version_type=linux
14218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14219 shlibpath_var=LD_LIBRARY_PATH
14220 shlibpath_overrides_runpath=yes
14223 *nto* | *qnx*)
14224 version_type=qnx
14225 need_lib_prefix=no
14226 need_version=no
14227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14228 soname_spec='${libname}${release}${shared_ext}$major'
14229 shlibpath_var=LD_LIBRARY_PATH
14230 shlibpath_overrides_runpath=no
14231 hardcode_into_libs=yes
14232 dynamic_linker='ldqnx.so'
14235 openbsd*)
14236 version_type=sunos
14237 sys_lib_dlsearch_path_spec="/usr/lib"
14238 need_lib_prefix=no
14239 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14240 case $host_os in
14241 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14242 *) need_version=no ;;
14243 esac
14244 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14245 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14246 shlibpath_var=LD_LIBRARY_PATH
14247 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14248 case $host_os in
14249 openbsd2.[89] | openbsd2.[89].*)
14250 shlibpath_overrides_runpath=no
14253 shlibpath_overrides_runpath=yes
14255 esac
14256 else
14257 shlibpath_overrides_runpath=yes
14261 os2*)
14262 libname_spec='$name'
14263 shrext_cmds=".dll"
14264 need_lib_prefix=no
14265 library_names_spec='$libname${shared_ext} $libname.a'
14266 dynamic_linker='OS/2 ld.exe'
14267 shlibpath_var=LIBPATH
14270 osf3* | osf4* | osf5*)
14271 version_type=osf
14272 need_lib_prefix=no
14273 need_version=no
14274 soname_spec='${libname}${release}${shared_ext}$major'
14275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14276 shlibpath_var=LD_LIBRARY_PATH
14277 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14278 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14281 rdos*)
14282 dynamic_linker=no
14285 solaris*)
14286 version_type=linux
14287 need_lib_prefix=no
14288 need_version=no
14289 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14291 shlibpath_var=LD_LIBRARY_PATH
14292 shlibpath_overrides_runpath=yes
14293 hardcode_into_libs=yes
14294 # ldd complains unless libraries are executable
14295 postinstall_cmds='chmod +x $lib'
14298 sunos4*)
14299 version_type=sunos
14300 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14301 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14302 shlibpath_var=LD_LIBRARY_PATH
14303 shlibpath_overrides_runpath=yes
14304 if test "$with_gnu_ld" = yes; then
14305 need_lib_prefix=no
14307 need_version=yes
14310 sysv4 | sysv4.3*)
14311 version_type=linux
14312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14313 soname_spec='${libname}${release}${shared_ext}$major'
14314 shlibpath_var=LD_LIBRARY_PATH
14315 case $host_vendor in
14316 sni)
14317 shlibpath_overrides_runpath=no
14318 need_lib_prefix=no
14319 runpath_var=LD_RUN_PATH
14321 siemens)
14322 need_lib_prefix=no
14324 motorola)
14325 need_lib_prefix=no
14326 need_version=no
14327 shlibpath_overrides_runpath=no
14328 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14330 esac
14333 sysv4*MP*)
14334 if test -d /usr/nec ;then
14335 version_type=linux
14336 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14337 soname_spec='$libname${shared_ext}.$major'
14338 shlibpath_var=LD_LIBRARY_PATH
14342 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14343 version_type=freebsd-elf
14344 need_lib_prefix=no
14345 need_version=no
14346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14347 soname_spec='${libname}${release}${shared_ext}$major'
14348 shlibpath_var=LD_LIBRARY_PATH
14349 shlibpath_overrides_runpath=yes
14350 hardcode_into_libs=yes
14351 if test "$with_gnu_ld" = yes; then
14352 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14353 else
14354 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14355 case $host_os in
14356 sco3.2v5*)
14357 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14359 esac
14361 sys_lib_dlsearch_path_spec='/usr/lib'
14364 tpf*)
14365 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14366 version_type=linux
14367 need_lib_prefix=no
14368 need_version=no
14369 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14370 shlibpath_var=LD_LIBRARY_PATH
14371 shlibpath_overrides_runpath=no
14372 hardcode_into_libs=yes
14375 uts4*)
14376 version_type=linux
14377 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14378 soname_spec='${libname}${release}${shared_ext}$major'
14379 shlibpath_var=LD_LIBRARY_PATH
14383 dynamic_linker=no
14385 esac
14386 echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14387 echo "${ECHO_T}$dynamic_linker" >&6
14388 test "$dynamic_linker" = no && can_build_shared=no
14390 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14391 if test "$GCC" = yes; then
14392 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14395 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14396 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14398 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14399 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14437 echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14438 echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14439 hardcode_action_CXX=
14440 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14441 test -n "$runpath_var_CXX" ||
14442 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14444 # We can hardcode non-existent directories.
14445 if test "$hardcode_direct_CXX" != no &&
14446 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14447 # have to relink, otherwise we might link with an installed library
14448 # when we should be linking with a yet-to-be-installed one
14449 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14450 test "$hardcode_minus_L_CXX" != no; then
14451 # Linking always hardcodes the temporary library directory.
14452 hardcode_action_CXX=relink
14453 else
14454 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14455 hardcode_action_CXX=immediate
14457 else
14458 # We cannot hardcode anything, or else we can only hardcode existing
14459 # directories.
14460 hardcode_action_CXX=unsupported
14462 echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14463 echo "${ECHO_T}$hardcode_action_CXX" >&6
14465 if test "$hardcode_action_CXX" = relink ||
14466 test "$inherit_rpath_CXX" = yes; then
14467 # Fast installation is not supported
14468 enable_fast_install=no
14469 elif test "$shlibpath_overrides_runpath" = yes ||
14470 test "$enable_shared" = no; then
14471 # Fast installation is not necessary
14472 enable_fast_install=needless
14481 fi # test -n "$compiler"
14483 CC=$lt_save_CC
14484 LDCXX=$LD
14485 LD=$lt_save_LD
14486 GCC=$lt_save_GCC
14487 with_gnu_ld=$lt_save_with_gnu_ld
14488 lt_cv_path_LDCXX=$lt_cv_path_LD
14489 lt_cv_path_LD=$lt_save_path_LD
14490 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14491 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14492 fi # test "$_lt_caught_CXX_error" != yes
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14512 ac_config_commands="$ac_config_commands libtool"
14517 # Only expand once:
14523 # Possibly disable most of the library.
14524 ## TODO: Consider skipping unncessary tests altogether in this case, rather
14525 ## than just ignoring the results. Faster /and/ more correct, win win.
14527 # Check whether --enable-hosted-libstdcxx or --disable-hosted-libstdcxx was given.
14528 if test "${enable_hosted_libstdcxx+set}" = set; then
14529 enableval="$enable_hosted_libstdcxx"
14531 else
14532 case "$host" in
14533 arm*-*-symbianelf*)
14534 enable_hosted_libstdcxx=no
14537 enable_hosted_libstdcxx=yes
14539 esac
14541 if test "$enable_hosted_libstdcxx" = no; then
14542 { echo "$as_me:$LINENO: Only freestanding libraries will be built" >&5
14543 echo "$as_me: Only freestanding libraries will be built" >&6;}
14544 is_hosted=no
14545 hosted_define=0
14546 enable_abi_check=no
14547 enable_libstdcxx_pch=no
14548 else
14549 is_hosted=yes
14550 hosted_define=1
14554 cat >>confdefs.h <<_ACEOF
14555 #define _GLIBCXX_HOSTED $hosted_define
14556 _ACEOF
14560 # Enable compiler support that doesn't require linking.
14562 echo "$as_me:$LINENO: checking for exception model to use" >&5
14563 echo $ECHO_N "checking for exception model to use... $ECHO_C" >&6
14566 ac_ext=cc
14567 ac_cpp='$CXXCPP $CPPFLAGS'
14568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14572 # Check whether --enable-sjlj-exceptions or --disable-sjlj-exceptions was given.
14573 if test "${enable_sjlj_exceptions+set}" = set; then
14574 enableval="$enable_sjlj_exceptions"
14576 case "$enableval" in
14577 yes|no|auto) ;;
14578 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable sjlj-exceptions" >&5
14579 echo "$as_me: error: Unknown argument to enable/disable sjlj-exceptions" >&2;}
14580 { (exit 1); exit 1; }; } ;;
14581 esac
14583 else
14584 enable_sjlj_exceptions=auto
14588 if test $enable_sjlj_exceptions = auto; then
14589 # Botheration. Now we've got to detect the exception model. Link tests
14590 # against libgcc.a are problematic since we've not been given proper -L
14591 # bits for single-tree newlib and libgloss.
14593 # Fake what AC_TRY_COMPILE does. XXX Look at redoing this new-style.
14594 cat > conftest.$ac_ext << EOF
14595 #line 14595 "configure"
14596 struct S { ~S(); };
14597 void bar();
14598 void foo()
14600 S s;
14601 bar();
14604 old_CXXFLAGS="$CXXFLAGS"
14605 CXXFLAGS=-S
14606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14607 (eval $ac_compile) 2>&5
14608 ac_status=$?
14609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14610 (exit $ac_status); }; then
14611 if grep _Unwind_SjLj_Resume conftest.s >/dev/null 2>&1 ; then
14612 enable_sjlj_exceptions=yes
14613 elif grep _Unwind_Resume conftest.s >/dev/null 2>&1 ; then
14614 enable_sjlj_exceptions=no
14615 elif grep __cxa_end_cleanup conftest.s >/dev/null 2>&1 ; then
14616 enable_sjlj_exceptions=no
14619 CXXFLAGS="$old_CXXFLAGS"
14620 rm -f conftest*
14623 # This is a tad weird, for hysterical raisins. We have to map
14624 # enable/disable to two different models.
14625 case $enable_sjlj_exceptions in
14626 yes)
14628 cat >>confdefs.h <<\_ACEOF
14629 #define _GLIBCXX_SJLJ_EXCEPTIONS 1
14630 _ACEOF
14632 ac_exception_model_name=sjlj
14635 ac_exception_model_name="call frame"
14638 { { echo "$as_me:$LINENO: error: unable to detect exception model" >&5
14639 echo "$as_me: error: unable to detect exception model" >&2;}
14640 { (exit 1); exit 1; }; }
14642 esac
14643 ac_ext=c
14644 ac_cpp='$CPP $CPPFLAGS'
14645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14649 echo "$as_me:$LINENO: result: $ac_exception_model_name" >&5
14650 echo "${ECHO_T}$ac_exception_model_name" >&6
14653 # Check whether --enable-libstdcxx-pch or --disable-libstdcxx-pch was given.
14654 if test "${enable_libstdcxx_pch+set}" = set; then
14655 enableval="$enable_libstdcxx_pch"
14657 case "$enableval" in
14658 yes|no) ;;
14659 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&5
14660 echo "$as_me: error: Argument to enable/disable libstdcxx-pch must be yes or no" >&2;}
14661 { (exit 1); exit 1; }; } ;;
14662 esac
14664 else
14665 enable_libstdcxx_pch=$is_hosted
14668 if test $enable_libstdcxx_pch = yes; then
14669 echo "$as_me:$LINENO: checking for compiler with PCH support" >&5
14670 echo $ECHO_N "checking for compiler with PCH support... $ECHO_C" >&6
14671 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then
14672 echo $ECHO_N "(cached) $ECHO_C" >&6
14673 else
14674 ac_save_CXXFLAGS="$CXXFLAGS"
14675 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
14678 ac_ext=cc
14679 ac_cpp='$CXXCPP $CPPFLAGS'
14680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14684 echo '#include <math.h>' > conftest.h
14685 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
14686 -o conftest.h.gch 1>&5 2>&1 &&
14687 echo '#error "pch failed"' > conftest.h &&
14688 echo '#include "conftest.h"' > conftest.cc &&
14689 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
14690 then
14691 glibcxx_cv_prog_CXX_pch=yes
14692 else
14693 glibcxx_cv_prog_CXX_pch=no
14695 rm -f conftest*
14696 CXXFLAGS=$ac_save_CXXFLAGS
14697 ac_ext=c
14698 ac_cpp='$CPP $CPPFLAGS'
14699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14705 echo "$as_me:$LINENO: result: $glibcxx_cv_prog_CXX_pch" >&5
14706 echo "${ECHO_T}$glibcxx_cv_prog_CXX_pch" >&6
14707 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
14710 echo "$as_me:$LINENO: checking for enabled PCH" >&5
14711 echo $ECHO_N "checking for enabled PCH... $ECHO_C" >&6
14712 echo "$as_me:$LINENO: result: $enable_libstdcxx_pch" >&5
14713 echo "${ECHO_T}$enable_libstdcxx_pch" >&6
14716 if test $enable_libstdcxx_pch = yes; then
14717 glibcxx_PCHFLAGS="-include bits/stdc++.h"
14718 else
14719 glibcxx_PCHFLAGS=""
14724 echo "$as_me:$LINENO: checking for thread model used by GCC" >&5
14725 echo $ECHO_N "checking for thread model used by GCC... $ECHO_C" >&6
14726 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
14727 echo "$as_me:$LINENO: result: $target_thread_file" >&5
14728 echo "${ECHO_T}$target_thread_file" >&6
14730 if test $target_thread_file != single; then
14732 cat >>confdefs.h <<\_ACEOF
14733 #define HAVE_GTHR_DEFAULT 1
14734 _ACEOF
14738 glibcxx_thread_h=gthr-$target_thread_file.h
14740 gthread_file=${toplevel_srcdir}/gcc/${glibcxx_thread_h}
14741 if grep __GTHREADS $gthread_file >/dev/null 2>&1 ; then
14742 enable_thread=yes
14743 else
14744 enable_thread=no
14752 ac_ext=cc
14753 ac_cpp='$CXXCPP $CPPFLAGS'
14754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14758 old_CXXFLAGS="$CXXFLAGS"
14760 # Do link tests if possible, instead asm tests.
14761 if test x$gcc_no_link != xyes; then
14763 # Can do link tests.
14765 CXXFLAGS="$CXXFLAGS -fno-exceptions"
14767 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
14768 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
14769 if test "${glibcxx_cv_atomic_bool+set}" = set; then
14770 echo $ECHO_N "(cached) $ECHO_C" >&6
14771 else
14773 if test x$gcc_no_link = xyes; then
14774 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14775 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14776 { (exit 1); exit 1; }; }
14778 cat >conftest.$ac_ext <<_ACEOF
14779 /* confdefs.h. */
14780 _ACEOF
14781 cat confdefs.h >>conftest.$ac_ext
14782 cat >>conftest.$ac_ext <<_ACEOF
14783 /* end confdefs.h. */
14786 main ()
14788 typedef bool atomic_type;
14789 atomic_type c1;
14790 atomic_type c2;
14791 const atomic_type c3(0);
14792 __sync_fetch_and_add(&c1, c2);
14793 __sync_val_compare_and_swap(&c1, c3, c2);
14794 __sync_lock_test_and_set(&c1, c3);
14795 __sync_lock_release(&c1);
14796 __sync_synchronize();
14798 return 0;
14800 _ACEOF
14801 rm -f conftest.$ac_objext conftest$ac_exeext
14802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14803 (eval $ac_link) 2>conftest.er1
14804 ac_status=$?
14805 grep -v '^ *+' conftest.er1 >conftest.err
14806 rm -f conftest.er1
14807 cat conftest.err >&5
14808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14809 (exit $ac_status); } &&
14810 { ac_try='test -z "$ac_cxx_werror_flag"
14811 || test ! -s conftest.err'
14812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14813 (eval $ac_try) 2>&5
14814 ac_status=$?
14815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14816 (exit $ac_status); }; } &&
14817 { ac_try='test -s conftest$ac_exeext'
14818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14819 (eval $ac_try) 2>&5
14820 ac_status=$?
14821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14822 (exit $ac_status); }; }; then
14823 glibcxx_cv_atomic_bool=yes
14824 else
14825 echo "$as_me: failed program was:" >&5
14826 sed 's/^/| /' conftest.$ac_ext >&5
14828 glibcxx_cv_atomic_bool=no
14830 rm -f conftest.err conftest.$ac_objext \
14831 conftest$ac_exeext conftest.$ac_ext
14835 if test $glibcxx_cv_atomic_bool = yes; then
14837 cat >>confdefs.h <<\_ACEOF
14838 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
14839 _ACEOF
14842 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_bool" >&5
14843 echo "${ECHO_T}$glibcxx_cv_atomic_bool" >&6
14845 echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
14846 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
14847 if test "${glibcxx_cv_atomic_short+set}" = set; then
14848 echo $ECHO_N "(cached) $ECHO_C" >&6
14849 else
14851 if test x$gcc_no_link = xyes; then
14852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14854 { (exit 1); exit 1; }; }
14856 cat >conftest.$ac_ext <<_ACEOF
14857 /* confdefs.h. */
14858 _ACEOF
14859 cat confdefs.h >>conftest.$ac_ext
14860 cat >>conftest.$ac_ext <<_ACEOF
14861 /* end confdefs.h. */
14864 main ()
14866 typedef short atomic_type;
14867 atomic_type c1;
14868 atomic_type c2;
14869 const atomic_type c3(0);
14870 __sync_fetch_and_add(&c1, c2);
14871 __sync_val_compare_and_swap(&c1, c3, c2);
14872 __sync_lock_test_and_set(&c1, c3);
14873 __sync_lock_release(&c1);
14874 __sync_synchronize();
14876 return 0;
14878 _ACEOF
14879 rm -f conftest.$ac_objext conftest$ac_exeext
14880 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14881 (eval $ac_link) 2>conftest.er1
14882 ac_status=$?
14883 grep -v '^ *+' conftest.er1 >conftest.err
14884 rm -f conftest.er1
14885 cat conftest.err >&5
14886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14887 (exit $ac_status); } &&
14888 { ac_try='test -z "$ac_cxx_werror_flag"
14889 || test ! -s conftest.err'
14890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14891 (eval $ac_try) 2>&5
14892 ac_status=$?
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); }; } &&
14895 { ac_try='test -s conftest$ac_exeext'
14896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14897 (eval $ac_try) 2>&5
14898 ac_status=$?
14899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14900 (exit $ac_status); }; }; then
14901 glibcxx_cv_atomic_short=yes
14902 else
14903 echo "$as_me: failed program was:" >&5
14904 sed 's/^/| /' conftest.$ac_ext >&5
14906 glibcxx_cv_atomic_short=no
14908 rm -f conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14913 if test $glibcxx_cv_atomic_short = yes; then
14915 cat >>confdefs.h <<\_ACEOF
14916 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
14917 _ACEOF
14920 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_short" >&5
14921 echo "${ECHO_T}$glibcxx_cv_atomic_short" >&6
14923 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
14924 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
14925 if test "${glibcxx_cv_atomic_int+set}" = set; then
14926 echo $ECHO_N "(cached) $ECHO_C" >&6
14927 else
14929 if test x$gcc_no_link = xyes; then
14930 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
14931 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
14932 { (exit 1); exit 1; }; }
14934 cat >conftest.$ac_ext <<_ACEOF
14935 /* confdefs.h. */
14936 _ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14942 main ()
14944 typedef int atomic_type;
14945 atomic_type c1;
14946 atomic_type c2;
14947 const atomic_type c3(0);
14948 __sync_fetch_and_add(&c1, c2);
14949 __sync_val_compare_and_swap(&c1, c3, c2);
14950 __sync_lock_test_and_set(&c1, c3);
14951 __sync_lock_release(&c1);
14952 __sync_synchronize();
14954 return 0;
14956 _ACEOF
14957 rm -f conftest.$ac_objext conftest$ac_exeext
14958 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
14959 (eval $ac_link) 2>conftest.er1
14960 ac_status=$?
14961 grep -v '^ *+' conftest.er1 >conftest.err
14962 rm -f conftest.er1
14963 cat conftest.err >&5
14964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14965 (exit $ac_status); } &&
14966 { ac_try='test -z "$ac_cxx_werror_flag"
14967 || test ! -s conftest.err'
14968 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14969 (eval $ac_try) 2>&5
14970 ac_status=$?
14971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); }; } &&
14973 { ac_try='test -s conftest$ac_exeext'
14974 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
14975 (eval $ac_try) 2>&5
14976 ac_status=$?
14977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14978 (exit $ac_status); }; }; then
14979 glibcxx_cv_atomic_int=yes
14980 else
14981 echo "$as_me: failed program was:" >&5
14982 sed 's/^/| /' conftest.$ac_ext >&5
14984 glibcxx_cv_atomic_int=no
14986 rm -f conftest.err conftest.$ac_objext \
14987 conftest$ac_exeext conftest.$ac_ext
14991 if test $glibcxx_cv_atomic_int = yes; then
14993 cat >>confdefs.h <<\_ACEOF
14994 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
14995 _ACEOF
14998 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_int" >&5
14999 echo "${ECHO_T}$glibcxx_cv_atomic_int" >&6
15001 echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
15002 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
15003 if test "${glibcxx_cv_atomic_long_long+set}" = set; then
15004 echo $ECHO_N "(cached) $ECHO_C" >&6
15005 else
15007 if test x$gcc_no_link = xyes; then
15008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
15009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
15010 { (exit 1); exit 1; }; }
15012 cat >conftest.$ac_ext <<_ACEOF
15013 /* confdefs.h. */
15014 _ACEOF
15015 cat confdefs.h >>conftest.$ac_ext
15016 cat >>conftest.$ac_ext <<_ACEOF
15017 /* end confdefs.h. */
15020 main ()
15022 typedef long long atomic_type;
15023 atomic_type c1;
15024 atomic_type c2;
15025 const atomic_type c3(0);
15026 __sync_fetch_and_add(&c1, c2);
15027 __sync_val_compare_and_swap(&c1, c3, c2);
15028 __sync_lock_test_and_set(&c1, c3);
15029 __sync_lock_release(&c1);
15030 __sync_synchronize();
15032 return 0;
15034 _ACEOF
15035 rm -f conftest.$ac_objext conftest$ac_exeext
15036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15037 (eval $ac_link) 2>conftest.er1
15038 ac_status=$?
15039 grep -v '^ *+' conftest.er1 >conftest.err
15040 rm -f conftest.er1
15041 cat conftest.err >&5
15042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15043 (exit $ac_status); } &&
15044 { ac_try='test -z "$ac_cxx_werror_flag"
15045 || test ! -s conftest.err'
15046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15047 (eval $ac_try) 2>&5
15048 ac_status=$?
15049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15050 (exit $ac_status); }; } &&
15051 { ac_try='test -s conftest$ac_exeext'
15052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15053 (eval $ac_try) 2>&5
15054 ac_status=$?
15055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15056 (exit $ac_status); }; }; then
15057 glibcxx_cv_atomic_long_long=yes
15058 else
15059 echo "$as_me: failed program was:" >&5
15060 sed 's/^/| /' conftest.$ac_ext >&5
15062 glibcxx_cv_atomic_long_long=no
15064 rm -f conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15069 if test $glibcxx_cv_atomic_long_long = yes; then
15071 cat >>confdefs.h <<\_ACEOF
15072 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
15073 _ACEOF
15076 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_long_long" >&5
15077 echo "${ECHO_T}$glibcxx_cv_atomic_long_long" >&6
15079 else
15081 # Do asm tests.
15083 # Compile unoptimized.
15084 CXXFLAGS='-O0 -S'
15086 # Fake what AC_TRY_COMPILE does.
15088 cat > conftest.$ac_ext << EOF
15089 #line 15089 "configure"
15090 int main()
15092 typedef bool atomic_type;
15093 atomic_type c1;
15094 atomic_type c2;
15095 const atomic_type c3(0);
15096 __sync_fetch_and_add(&c1, c2);
15097 __sync_val_compare_and_swap(&c1, c3, c2);
15098 __sync_lock_test_and_set(&c1, c3);
15099 __sync_lock_release(&c1);
15100 __sync_synchronize();
15101 return 0;
15105 echo "$as_me:$LINENO: checking for atomic builtins for bool" >&5
15106 echo $ECHO_N "checking for atomic builtins for bool... $ECHO_C" >&6
15107 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15108 (eval $ac_compile) 2>&5
15109 ac_status=$?
15110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15111 (exit $ac_status); }; then
15112 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15113 glibcxx_cv_atomic_bool=no
15114 else
15116 cat >>confdefs.h <<\_ACEOF
15117 #define _GLIBCXX_ATOMIC_BUILTINS_1 1
15118 _ACEOF
15120 glibcxx_cv_atomic_bool=yes
15123 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_bool" >&5
15124 echo "${ECHO_T}$glibcxx_cv_atomic_bool" >&6
15125 rm -f conftest*
15127 cat > conftest.$ac_ext << EOF
15128 #line 15128 "configure"
15129 int main()
15131 typedef short atomic_type;
15132 atomic_type c1;
15133 atomic_type c2;
15134 const atomic_type c3(0);
15135 __sync_fetch_and_add(&c1, c2);
15136 __sync_val_compare_and_swap(&c1, c3, c2);
15137 __sync_lock_test_and_set(&c1, c3);
15138 __sync_lock_release(&c1);
15139 __sync_synchronize();
15140 return 0;
15144 echo "$as_me:$LINENO: checking for atomic builtins for short" >&5
15145 echo $ECHO_N "checking for atomic builtins for short... $ECHO_C" >&6
15146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15147 (eval $ac_compile) 2>&5
15148 ac_status=$?
15149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15150 (exit $ac_status); }; then
15151 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15152 glibcxx_cv_atomic_short=no
15153 else
15155 cat >>confdefs.h <<\_ACEOF
15156 #define _GLIBCXX_ATOMIC_BUILTINS_2 1
15157 _ACEOF
15159 glibcxx_cv_atomic_short=yes
15162 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_short" >&5
15163 echo "${ECHO_T}$glibcxx_cv_atomic_short" >&6
15164 rm -f conftest*
15166 cat > conftest.$ac_ext << EOF
15167 #line 15167 "configure"
15168 int main()
15170 // NB: _Atomic_word not necessarily int.
15171 typedef int atomic_type;
15172 atomic_type c1;
15173 atomic_type c2;
15174 const atomic_type c3(0);
15175 __sync_fetch_and_add(&c1, c2);
15176 __sync_val_compare_and_swap(&c1, c3, c2);
15177 __sync_lock_test_and_set(&c1, c3);
15178 __sync_lock_release(&c1);
15179 __sync_synchronize();
15180 return 0;
15184 echo "$as_me:$LINENO: checking for atomic builtins for int" >&5
15185 echo $ECHO_N "checking for atomic builtins for int... $ECHO_C" >&6
15186 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15187 (eval $ac_compile) 2>&5
15188 ac_status=$?
15189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15190 (exit $ac_status); }; then
15191 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15192 glibcxx_cv_atomic_int=no
15193 else
15195 cat >>confdefs.h <<\_ACEOF
15196 #define _GLIBCXX_ATOMIC_BUILTINS_4 1
15197 _ACEOF
15199 glibcxx_cv_atomic_int=yes
15202 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_int" >&5
15203 echo "${ECHO_T}$glibcxx_cv_atomic_int" >&6
15204 rm -f conftest*
15206 cat > conftest.$ac_ext << EOF
15207 #line 15207 "configure"
15208 int main()
15210 typedef long long atomic_type;
15211 atomic_type c1;
15212 atomic_type c2;
15213 const atomic_type c3(0);
15214 __sync_fetch_and_add(&c1, c2);
15215 __sync_val_compare_and_swap(&c1, c3, c2);
15216 __sync_lock_test_and_set(&c1, c3);
15217 __sync_lock_release(&c1);
15218 __sync_synchronize();
15219 return 0;
15223 echo "$as_me:$LINENO: checking for atomic builtins for long long" >&5
15224 echo $ECHO_N "checking for atomic builtins for long long... $ECHO_C" >&6
15225 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15226 (eval $ac_compile) 2>&5
15227 ac_status=$?
15228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15229 (exit $ac_status); }; then
15230 if grep __sync_ conftest.s >/dev/null 2>&1 ; then
15231 glibcxx_cv_atomic_long_long=no
15232 else
15234 cat >>confdefs.h <<\_ACEOF
15235 #define _GLIBCXX_ATOMIC_BUILTINS_8 1
15236 _ACEOF
15238 glibcxx_cv_atomic_long_long=yes
15241 echo "$as_me:$LINENO: result: $glibcxx_cv_atomic_long_long" >&5
15242 echo "${ECHO_T}$glibcxx_cv_atomic_long_long" >&6
15243 rm -f conftest*
15247 CXXFLAGS="$old_CXXFLAGS"
15248 ac_ext=c
15249 ac_cpp='$CPP $CPPFLAGS'
15250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15255 # Set atomicity_dir to builtins if either of above tests pass.
15256 if test $glibcxx_cv_atomic_int = yes || test $glibcxx_cv_atomic_bool = yes ; then
15257 atomicity_dir=cpu/generic/atomicity_builtins
15260 # If still generic, set to mutex.
15261 if test $atomicity_dir = "cpu/generic" ; then
15262 atomicity_dir=cpu/generic/atomicity_mutex
15263 { echo "$as_me:$LINENO: WARNING: No native atomic operations are provided for this platform." >&5
15264 echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15265 if test "x$target_thread_file" = xsingle; then
15266 { echo "$as_me:$LINENO: WARNING: They cannot be faked when thread support is disabled." >&5
15267 echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15268 { echo "$as_me:$LINENO: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15269 echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15270 else
15271 { echo "$as_me:$LINENO: WARNING: They will be faked using a mutex." >&5
15272 echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15273 { echo "$as_me:$LINENO: WARNING: Performance of certain classes will degrade as a result." >&5
15274 echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15280 # Checks for compiler support that doesn't require linking.
15282 # All these tests are for C++; save the language and the compiler flags.
15283 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15284 # found in GLIBCXX_CONFIGURE.
15287 ac_ext=cc
15288 ac_cpp='$CXXCPP $CPPFLAGS'
15289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15293 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15294 ac_save_CXXFLAGS="$CXXFLAGS"
15296 # Check for maintainer-mode bits.
15297 if test x"$USE_MAINTAINER_MODE" = xno; then
15298 WERROR=''
15299 else
15300 WERROR='-Werror'
15303 # Check for -ffunction-sections -fdata-sections
15304 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15305 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
15306 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15307 cat >conftest.$ac_ext <<_ACEOF
15308 /* confdefs.h. */
15309 _ACEOF
15310 cat confdefs.h >>conftest.$ac_ext
15311 cat >>conftest.$ac_ext <<_ACEOF
15312 /* end confdefs.h. */
15313 int foo; void bar() { };
15315 main ()
15319 return 0;
15321 _ACEOF
15322 rm -f conftest.$ac_objext
15323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15324 (eval $ac_compile) 2>conftest.er1
15325 ac_status=$?
15326 grep -v '^ *+' conftest.er1 >conftest.err
15327 rm -f conftest.er1
15328 cat conftest.err >&5
15329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15330 (exit $ac_status); } &&
15331 { ac_try='test -z "$ac_cxx_werror_flag"
15332 || test ! -s conftest.err'
15333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15334 (eval $ac_try) 2>&5
15335 ac_status=$?
15336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15337 (exit $ac_status); }; } &&
15338 { ac_try='test -s conftest.$ac_objext'
15339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15340 (eval $ac_try) 2>&5
15341 ac_status=$?
15342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15343 (exit $ac_status); }; }; then
15344 ac_fdsections=yes
15345 else
15346 echo "$as_me: failed program was:" >&5
15347 sed 's/^/| /' conftest.$ac_ext >&5
15349 ac_fdsections=no
15351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15352 if test "$ac_test_CXXFLAGS" = set; then
15353 CXXFLAGS="$ac_save_CXXFLAGS"
15354 else
15355 # this is the suspicious part
15356 CXXFLAGS=''
15358 if test x"$ac_fdsections" = x"yes"; then
15359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15361 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
15362 echo "${ECHO_T}$ac_fdsections" >&6
15364 ac_ext=c
15365 ac_cpp='$CPP $CPPFLAGS'
15366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15374 # Enable all the variable C++ runtime options that don't require linking.
15376 echo "$as_me:$LINENO: checking for underlying I/O to use" >&5
15377 echo $ECHO_N "checking for underlying I/O to use... $ECHO_C" >&6
15378 # Check whether --enable-cstdio or --disable-cstdio was given.
15379 if test "${enable_cstdio+set}" = set; then
15380 enableval="$enable_cstdio"
15382 case "$enableval" in
15383 stdio) ;;
15384 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cstdio" >&5
15385 echo "$as_me: error: Unknown argument to enable/disable cstdio" >&2;}
15386 { (exit 1); exit 1; }; } ;;
15387 esac
15389 else
15390 enable_cstdio=stdio
15394 # Now that libio has been removed, you can have any color you want as long
15395 # as it's black. This is one big no-op until other packages are added, but
15396 # showing the framework never hurts.
15397 case ${enable_cstdio} in
15398 stdio)
15399 CSTDIO_H=config/io/c_io_stdio.h
15400 BASIC_FILE_H=config/io/basic_file_stdio.h
15401 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15402 echo "$as_me:$LINENO: result: stdio" >&5
15403 echo "${ECHO_T}stdio" >&6
15405 esac
15412 # Check whether --enable-clocale or --disable-clocale was given.
15413 if test "${enable_clocale+set}" = set; then
15414 enableval="$enable_clocale"
15416 case "$enableval" in
15417 generic|gnu|ieee_1003.1-2001|yes|no|auto) ;;
15418 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable clocale" >&5
15419 echo "$as_me: error: Unknown argument to enable/disable clocale" >&2;}
15420 { (exit 1); exit 1; }; } ;;
15421 esac
15423 else
15424 enable_clocale=auto
15428 # Deal with gettext issues. Default to not using it (=no) until we detect
15429 # support for it later. Let the user turn it off via --e/d, but let that
15430 # default to on for easier handling.
15431 USE_NLS=no
15432 # Check whether --enable-nls or --disable-nls was given.
15433 if test "${enable_nls+set}" = set; then
15434 enableval="$enable_nls"
15436 else
15437 enable_nls=yes
15440 # Either a known packaage, or "auto"
15441 if test $enable_clocale = no || test $enable_clocale = yes; then
15442 enable_clocale=auto
15444 enable_clocale_flag=$enable_clocale
15446 # Probe for locale model to use if none specified.
15447 # Default to "generic".
15448 if test $enable_clocale_flag = auto; then
15449 case ${target_os} in
15450 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15451 enable_clocale_flag=gnu
15453 darwin* | freebsd*)
15454 enable_clocale_flag=darwin
15457 enable_clocale_flag=generic
15459 esac
15462 # Sanity check model, and test for special functionality.
15463 if test $enable_clocale_flag = gnu; then
15464 cat >conftest.$ac_ext <<_ACEOF
15465 /* confdefs.h. */
15466 _ACEOF
15467 cat confdefs.h >>conftest.$ac_ext
15468 cat >>conftest.$ac_ext <<_ACEOF
15469 /* end confdefs.h. */
15471 #include <features.h>
15472 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 2)
15473 _GLIBCXX_ok
15474 #endif
15476 _ACEOF
15477 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15478 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then
15479 enable_clocale_flag=gnu
15480 else
15481 enable_clocale_flag=generic
15483 rm -f conftest*
15486 if test $enable_clocale = auto; then
15487 # Test for bugs early in glibc-2.2.x series
15488 if test "$cross_compiling" = yes; then
15489 enable_clocale_flag=generic
15490 else
15491 cat >conftest.$ac_ext <<_ACEOF
15492 /* confdefs.h. */
15493 _ACEOF
15494 cat confdefs.h >>conftest.$ac_ext
15495 cat >>conftest.$ac_ext <<_ACEOF
15496 /* end confdefs.h. */
15498 #define _GNU_SOURCE 1
15499 #include <locale.h>
15500 #include <string.h>
15501 #if __GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ > 2)
15502 extern __typeof(newlocale) __newlocale;
15503 extern __typeof(duplocale) __duplocale;
15504 extern __typeof(strcoll_l) __strcoll_l;
15505 #endif
15506 int main()
15508 const char __one[] = "Äuglein Augmen";
15509 const char __two[] = "Äuglein";
15510 int i;
15511 int j;
15512 __locale_t loc;
15513 __locale_t loc_dup;
15514 loc = __newlocale(1 << LC_ALL, "de_DE", 0);
15515 loc_dup = __duplocale(loc);
15516 i = __strcoll_l(__one, __two, loc);
15517 j = __strcoll_l(__one, __two, loc_dup);
15518 return 0;
15521 _ACEOF
15522 rm -f conftest$ac_exeext
15523 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
15524 (eval $ac_link) 2>&5
15525 ac_status=$?
15526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15527 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15529 (eval $ac_try) 2>&5
15530 ac_status=$?
15531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15532 (exit $ac_status); }; }; then
15533 enable_clocale_flag=gnu
15534 else
15535 echo "$as_me: program exited with status $ac_status" >&5
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15539 ( exit $ac_status )
15540 enable_clocale_flag=generic
15542 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
15546 # Set it to scream when it hurts.
15547 ac_save_CFLAGS="$CFLAGS"
15548 CFLAGS="-Wimplicit-function-declaration -Werror"
15550 # Use strxfrm_l if available.
15551 cat >conftest.$ac_ext <<_ACEOF
15552 /* confdefs.h. */
15553 _ACEOF
15554 cat confdefs.h >>conftest.$ac_ext
15555 cat >>conftest.$ac_ext <<_ACEOF
15556 /* end confdefs.h. */
15557 #define _GNU_SOURCE 1
15558 #include <string.h>
15559 #include <locale.h>
15561 main ()
15563 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15565 return 0;
15567 _ACEOF
15568 rm -f conftest.$ac_objext
15569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15570 (eval $ac_compile) 2>conftest.er1
15571 ac_status=$?
15572 grep -v '^ *+' conftest.er1 >conftest.err
15573 rm -f conftest.er1
15574 cat conftest.err >&5
15575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15576 (exit $ac_status); } &&
15577 { ac_try='test -z "$ac_c_werror_flag"
15578 || test ! -s conftest.err'
15579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15580 (eval $ac_try) 2>&5
15581 ac_status=$?
15582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15583 (exit $ac_status); }; } &&
15584 { ac_try='test -s conftest.$ac_objext'
15585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15586 (eval $ac_try) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; }; then
15591 cat >>confdefs.h <<\_ACEOF
15592 #define HAVE_STRXFRM_L 1
15593 _ACEOF
15595 else
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.$ac_ext >&5
15600 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15602 # Use strerror_l if available.
15603 cat >conftest.$ac_ext <<_ACEOF
15604 /* confdefs.h. */
15605 _ACEOF
15606 cat confdefs.h >>conftest.$ac_ext
15607 cat >>conftest.$ac_ext <<_ACEOF
15608 /* end confdefs.h. */
15609 #define _GNU_SOURCE 1
15610 #include <string.h>
15611 #include <locale.h>
15613 main ()
15615 __locale_t loc; strerror_l(5, loc);
15617 return 0;
15619 _ACEOF
15620 rm -f conftest.$ac_objext
15621 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15622 (eval $ac_compile) 2>conftest.er1
15623 ac_status=$?
15624 grep -v '^ *+' conftest.er1 >conftest.err
15625 rm -f conftest.er1
15626 cat conftest.err >&5
15627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15628 (exit $ac_status); } &&
15629 { ac_try='test -z "$ac_c_werror_flag"
15630 || test ! -s conftest.err'
15631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15632 (eval $ac_try) 2>&5
15633 ac_status=$?
15634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15635 (exit $ac_status); }; } &&
15636 { ac_try='test -s conftest.$ac_objext'
15637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15638 (eval $ac_try) 2>&5
15639 ac_status=$?
15640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15641 (exit $ac_status); }; }; then
15643 cat >>confdefs.h <<\_ACEOF
15644 #define HAVE_STRERROR_L 1
15645 _ACEOF
15647 else
15648 echo "$as_me: failed program was:" >&5
15649 sed 's/^/| /' conftest.$ac_ext >&5
15652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15654 CFLAGS="$ac_save_CFLAGS"
15657 # Perhaps use strerror_r if available, and strerror_l isn't.
15658 ac_save_CFLAGS="$CFLAGS"
15659 CFLAGS="-Wimplicit-function-declaration -Werror"
15660 cat >conftest.$ac_ext <<_ACEOF
15661 /* confdefs.h. */
15662 _ACEOF
15663 cat confdefs.h >>conftest.$ac_ext
15664 cat >>conftest.$ac_ext <<_ACEOF
15665 /* end confdefs.h. */
15666 #define _GNU_SOURCE 1
15667 #include <string.h>
15668 #include <locale.h>
15670 main ()
15672 char s[128]; strerror_r(5, s, 128);
15674 return 0;
15676 _ACEOF
15677 rm -f conftest.$ac_objext
15678 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15679 (eval $ac_compile) 2>conftest.er1
15680 ac_status=$?
15681 grep -v '^ *+' conftest.er1 >conftest.err
15682 rm -f conftest.er1
15683 cat conftest.err >&5
15684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15685 (exit $ac_status); } &&
15686 { ac_try='test -z "$ac_c_werror_flag"
15687 || test ! -s conftest.err'
15688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15689 (eval $ac_try) 2>&5
15690 ac_status=$?
15691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15692 (exit $ac_status); }; } &&
15693 { ac_try='test -s conftest.$ac_objext'
15694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15695 (eval $ac_try) 2>&5
15696 ac_status=$?
15697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15698 (exit $ac_status); }; }; then
15700 cat >>confdefs.h <<\_ACEOF
15701 #define HAVE_STRERROR_R 1
15702 _ACEOF
15704 else
15705 echo "$as_me: failed program was:" >&5
15706 sed 's/^/| /' conftest.$ac_ext >&5
15709 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15710 CFLAGS="$ac_save_CFLAGS"
15712 # Set configure bits for specified locale package
15713 echo "$as_me:$LINENO: checking for C locale to use" >&5
15714 echo $ECHO_N "checking for C locale to use... $ECHO_C" >&6
15715 case ${enable_clocale_flag} in
15716 generic)
15717 echo "$as_me:$LINENO: result: generic" >&5
15718 echo "${ECHO_T}generic" >&6
15720 CLOCALE_H=config/locale/generic/c_locale.h
15721 CLOCALE_CC=config/locale/generic/c_locale.cc
15722 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15723 CCOLLATE_CC=config/locale/generic/collate_members.cc
15724 CCTYPE_CC=config/locale/generic/ctype_members.cc
15725 CMESSAGES_H=config/locale/generic/messages_members.h
15726 CMESSAGES_CC=config/locale/generic/messages_members.cc
15727 CMONEY_CC=config/locale/generic/monetary_members.cc
15728 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15729 CTIME_H=config/locale/generic/time_members.h
15730 CTIME_CC=config/locale/generic/time_members.cc
15731 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15733 darwin)
15734 echo "$as_me:$LINENO: result: darwin or freebsd" >&5
15735 echo "${ECHO_T}darwin or freebsd" >&6
15737 CLOCALE_H=config/locale/generic/c_locale.h
15738 CLOCALE_CC=config/locale/generic/c_locale.cc
15739 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15740 CCOLLATE_CC=config/locale/generic/collate_members.cc
15741 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15742 CMESSAGES_H=config/locale/generic/messages_members.h
15743 CMESSAGES_CC=config/locale/generic/messages_members.cc
15744 CMONEY_CC=config/locale/generic/monetary_members.cc
15745 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15746 CTIME_H=config/locale/generic/time_members.h
15747 CTIME_CC=config/locale/generic/time_members.cc
15748 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15751 gnu)
15752 echo "$as_me:$LINENO: result: gnu" >&5
15753 echo "${ECHO_T}gnu" >&6
15755 # Declare intention to use gettext, and add support for specific
15756 # languages.
15757 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
15758 ALL_LINGUAS="de fr"
15760 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
15761 # Extract the first word of "msgfmt", so it can be a program name with args.
15762 set dummy msgfmt; ac_word=$2
15763 echo "$as_me:$LINENO: checking for $ac_word" >&5
15764 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
15765 if test "${ac_cv_prog_check_msgfmt+set}" = set; then
15766 echo $ECHO_N "(cached) $ECHO_C" >&6
15767 else
15768 if test -n "$check_msgfmt"; then
15769 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
15770 else
15771 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15772 for as_dir in $PATH
15774 IFS=$as_save_IFS
15775 test -z "$as_dir" && as_dir=.
15776 for ac_exec_ext in '' $ac_executable_extensions; do
15777 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15778 ac_cv_prog_check_msgfmt="yes"
15779 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15780 break 2
15782 done
15783 done
15785 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
15788 check_msgfmt=$ac_cv_prog_check_msgfmt
15789 if test -n "$check_msgfmt"; then
15790 echo "$as_me:$LINENO: result: $check_msgfmt" >&5
15791 echo "${ECHO_T}$check_msgfmt" >&6
15792 else
15793 echo "$as_me:$LINENO: result: no" >&5
15794 echo "${ECHO_T}no" >&6
15797 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
15798 USE_NLS=yes
15800 # Export the build objects.
15801 for ling in $ALL_LINGUAS; do \
15802 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
15803 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
15804 done
15808 CLOCALE_H=config/locale/gnu/c_locale.h
15809 CLOCALE_CC=config/locale/gnu/c_locale.cc
15810 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
15811 CCOLLATE_CC=config/locale/gnu/collate_members.cc
15812 CCTYPE_CC=config/locale/gnu/ctype_members.cc
15813 CMESSAGES_H=config/locale/gnu/messages_members.h
15814 CMESSAGES_CC=config/locale/gnu/messages_members.cc
15815 CMONEY_CC=config/locale/gnu/monetary_members.cc
15816 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
15817 CTIME_H=config/locale/gnu/time_members.h
15818 CTIME_CC=config/locale/gnu/time_members.cc
15819 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
15821 ieee_1003.1-2001)
15822 echo "$as_me:$LINENO: result: IEEE 1003.1" >&5
15823 echo "${ECHO_T}IEEE 1003.1" >&6
15825 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
15826 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
15827 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15828 CCOLLATE_CC=config/locale/generic/collate_members.cc
15829 CCTYPE_CC=config/locale/generic/ctype_members.cc
15830 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
15831 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
15832 CMONEY_CC=config/locale/generic/monetary_members.cc
15833 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15834 CTIME_H=config/locale/generic/time_members.h
15835 CTIME_CC=config/locale/generic/time_members.cc
15836 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15838 esac
15840 # This is where the testsuite looks for locale catalogs, using the
15841 # -DLOCALEDIR define during testsuite compilation.
15842 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
15845 # A standalone libintl (e.g., GNU libintl) may be in use.
15846 if test $USE_NLS = yes; then
15848 for ac_header in libintl.h
15850 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
15851 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15852 echo "$as_me:$LINENO: checking for $ac_header" >&5
15853 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15854 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15855 echo $ECHO_N "(cached) $ECHO_C" >&6
15857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15858 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15859 else
15860 # Is the header compilable?
15861 echo "$as_me:$LINENO: checking $ac_header usability" >&5
15862 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
15863 cat >conftest.$ac_ext <<_ACEOF
15864 /* confdefs.h. */
15865 _ACEOF
15866 cat confdefs.h >>conftest.$ac_ext
15867 cat >>conftest.$ac_ext <<_ACEOF
15868 /* end confdefs.h. */
15869 $ac_includes_default
15870 #include <$ac_header>
15871 _ACEOF
15872 rm -f conftest.$ac_objext
15873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15874 (eval $ac_compile) 2>conftest.er1
15875 ac_status=$?
15876 grep -v '^ *+' conftest.er1 >conftest.err
15877 rm -f conftest.er1
15878 cat conftest.err >&5
15879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15880 (exit $ac_status); } &&
15881 { ac_try='test -z "$ac_c_werror_flag"
15882 || test ! -s conftest.err'
15883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15884 (eval $ac_try) 2>&5
15885 ac_status=$?
15886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15887 (exit $ac_status); }; } &&
15888 { ac_try='test -s conftest.$ac_objext'
15889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
15890 (eval $ac_try) 2>&5
15891 ac_status=$?
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); }; }; then
15894 ac_header_compiler=yes
15895 else
15896 echo "$as_me: failed program was:" >&5
15897 sed 's/^/| /' conftest.$ac_ext >&5
15899 ac_header_compiler=no
15901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
15902 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
15903 echo "${ECHO_T}$ac_header_compiler" >&6
15905 # Is the header present?
15906 echo "$as_me:$LINENO: checking $ac_header presence" >&5
15907 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
15908 cat >conftest.$ac_ext <<_ACEOF
15909 /* confdefs.h. */
15910 _ACEOF
15911 cat confdefs.h >>conftest.$ac_ext
15912 cat >>conftest.$ac_ext <<_ACEOF
15913 /* end confdefs.h. */
15914 #include <$ac_header>
15915 _ACEOF
15916 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
15917 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
15918 ac_status=$?
15919 grep -v '^ *+' conftest.er1 >conftest.err
15920 rm -f conftest.er1
15921 cat conftest.err >&5
15922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15923 (exit $ac_status); } >/dev/null; then
15924 if test -s conftest.err; then
15925 ac_cpp_err=$ac_c_preproc_warn_flag
15926 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
15927 else
15928 ac_cpp_err=
15930 else
15931 ac_cpp_err=yes
15933 if test -z "$ac_cpp_err"; then
15934 ac_header_preproc=yes
15935 else
15936 echo "$as_me: failed program was:" >&5
15937 sed 's/^/| /' conftest.$ac_ext >&5
15939 ac_header_preproc=no
15941 rm -f conftest.err conftest.$ac_ext
15942 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
15943 echo "${ECHO_T}$ac_header_preproc" >&6
15945 # So? What about this header?
15946 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
15947 yes:no: )
15948 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
15949 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
15950 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
15951 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
15952 ac_header_preproc=yes
15954 no:yes:* )
15955 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
15956 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
15957 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
15958 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
15959 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
15960 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
15961 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
15962 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
15963 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
15964 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
15965 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
15966 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
15968 cat <<\_ASBOX
15969 ## ----------------------------------------- ##
15970 ## Report this to the package-unused lists. ##
15971 ## ----------------------------------------- ##
15972 _ASBOX
15974 sed "s/^/$as_me: WARNING: /" >&2
15976 esac
15977 echo "$as_me:$LINENO: checking for $ac_header" >&5
15978 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
15979 if eval "test \"\${$as_ac_Header+set}\" = set"; then
15980 echo $ECHO_N "(cached) $ECHO_C" >&6
15981 else
15982 eval "$as_ac_Header=\$ac_header_preproc"
15984 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
15985 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
15988 if test `eval echo '${'$as_ac_Header'}'` = yes; then
15989 cat >>confdefs.h <<_ACEOF
15990 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
15991 _ACEOF
15993 else
15994 USE_NLS=no
15997 done
15999 echo "$as_me:$LINENO: checking for library containing gettext" >&5
16000 echo $ECHO_N "checking for library containing gettext... $ECHO_C" >&6
16001 if test "${ac_cv_search_gettext+set}" = set; then
16002 echo $ECHO_N "(cached) $ECHO_C" >&6
16003 else
16004 ac_func_search_save_LIBS=$LIBS
16005 ac_cv_search_gettext=no
16006 if test x$gcc_no_link = xyes; then
16007 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16008 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16009 { (exit 1); exit 1; }; }
16011 cat >conftest.$ac_ext <<_ACEOF
16012 /* confdefs.h. */
16013 _ACEOF
16014 cat confdefs.h >>conftest.$ac_ext
16015 cat >>conftest.$ac_ext <<_ACEOF
16016 /* end confdefs.h. */
16018 /* Override any gcc2 internal prototype to avoid an error. */
16019 #ifdef __cplusplus
16020 extern "C"
16021 #endif
16022 /* We use char because int might match the return type of a gcc2
16023 builtin and then its argument prototype would still apply. */
16024 char gettext ();
16026 main ()
16028 gettext ();
16030 return 0;
16032 _ACEOF
16033 rm -f conftest.$ac_objext conftest$ac_exeext
16034 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16035 (eval $ac_link) 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } &&
16042 { ac_try='test -z "$ac_c_werror_flag"
16043 || test ! -s conftest.err'
16044 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16045 (eval $ac_try) 2>&5
16046 ac_status=$?
16047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16048 (exit $ac_status); }; } &&
16049 { ac_try='test -s conftest$ac_exeext'
16050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16051 (eval $ac_try) 2>&5
16052 ac_status=$?
16053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16054 (exit $ac_status); }; }; then
16055 ac_cv_search_gettext="none required"
16056 else
16057 echo "$as_me: failed program was:" >&5
16058 sed 's/^/| /' conftest.$ac_ext >&5
16061 rm -f conftest.err conftest.$ac_objext \
16062 conftest$ac_exeext conftest.$ac_ext
16063 if test "$ac_cv_search_gettext" = no; then
16064 for ac_lib in intl; do
16065 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16066 if test x$gcc_no_link = xyes; then
16067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16069 { (exit 1); exit 1; }; }
16071 cat >conftest.$ac_ext <<_ACEOF
16072 /* confdefs.h. */
16073 _ACEOF
16074 cat confdefs.h >>conftest.$ac_ext
16075 cat >>conftest.$ac_ext <<_ACEOF
16076 /* end confdefs.h. */
16078 /* Override any gcc2 internal prototype to avoid an error. */
16079 #ifdef __cplusplus
16080 extern "C"
16081 #endif
16082 /* We use char because int might match the return type of a gcc2
16083 builtin and then its argument prototype would still apply. */
16084 char gettext ();
16086 main ()
16088 gettext ();
16090 return 0;
16092 _ACEOF
16093 rm -f conftest.$ac_objext conftest$ac_exeext
16094 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16095 (eval $ac_link) 2>conftest.er1
16096 ac_status=$?
16097 grep -v '^ *+' conftest.er1 >conftest.err
16098 rm -f conftest.er1
16099 cat conftest.err >&5
16100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16101 (exit $ac_status); } &&
16102 { ac_try='test -z "$ac_c_werror_flag"
16103 || test ! -s conftest.err'
16104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16105 (eval $ac_try) 2>&5
16106 ac_status=$?
16107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16108 (exit $ac_status); }; } &&
16109 { ac_try='test -s conftest$ac_exeext'
16110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16111 (eval $ac_try) 2>&5
16112 ac_status=$?
16113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16114 (exit $ac_status); }; }; then
16115 ac_cv_search_gettext="-l$ac_lib"
16116 break
16117 else
16118 echo "$as_me: failed program was:" >&5
16119 sed 's/^/| /' conftest.$ac_ext >&5
16122 rm -f conftest.err conftest.$ac_objext \
16123 conftest$ac_exeext conftest.$ac_ext
16124 done
16126 LIBS=$ac_func_search_save_LIBS
16128 echo "$as_me:$LINENO: result: $ac_cv_search_gettext" >&5
16129 echo "${ECHO_T}$ac_cv_search_gettext" >&6
16130 if test "$ac_cv_search_gettext" != no; then
16131 test "$ac_cv_search_gettext" = "none required" || LIBS="$ac_cv_search_gettext $LIBS"
16133 else
16134 USE_NLS=no
16138 if test $USE_NLS = yes; then
16140 cat >>confdefs.h <<\_ACEOF
16141 #define _GLIBCXX_USE_NLS 1
16142 _ACEOF
16161 echo "$as_me:$LINENO: checking for std::allocator base class" >&5
16162 echo $ECHO_N "checking for std::allocator base class... $ECHO_C" >&6
16163 # Check whether --enable-libstdcxx-allocator or --disable-libstdcxx-allocator was given.
16164 if test "${enable_libstdcxx_allocator+set}" = set; then
16165 enableval="$enable_libstdcxx_allocator"
16167 case "$enableval" in
16168 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16169 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-allocator" >&5
16170 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-allocator" >&2;}
16171 { (exit 1); exit 1; }; } ;;
16172 esac
16174 else
16175 enable_libstdcxx_allocator=auto
16179 # If they didn't use this option switch, or if they specified --enable
16180 # with no specific model, we'll have to look for one. If they
16181 # specified --disable (???), do likewise.
16182 if test $enable_libstdcxx_allocator = no ||
16183 test $enable_libstdcxx_allocator = yes;
16184 then
16185 enable_libstdcxx_allocator=auto
16188 # Either a known package, or "auto". Auto implies the default choice
16189 # for a particular platform.
16190 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16192 # Probe for host-specific support if no specific model is specified.
16193 # Default to "new".
16194 if test $enable_libstdcxx_allocator_flag = auto; then
16195 case ${target_os} in
16196 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16197 enable_libstdcxx_allocator_flag=new
16200 enable_libstdcxx_allocator_flag=new
16202 esac
16204 echo "$as_me:$LINENO: result: $enable_libstdcxx_allocator_flag" >&5
16205 echo "${ECHO_T}$enable_libstdcxx_allocator_flag" >&6
16208 # Set configure bits for specified locale package
16209 case ${enable_libstdcxx_allocator_flag} in
16210 bitmap)
16211 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16212 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16214 malloc)
16215 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16216 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16219 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16220 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16222 new)
16223 ALLOCATOR_H=config/allocator/new_allocator_base.h
16224 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16226 pool)
16227 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16228 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16230 esac
16236 # Check whether --enable-cheaders or --disable-cheaders was given.
16237 if test "${enable_cheaders+set}" = set; then
16238 enableval="$enable_cheaders"
16240 case "$enableval" in
16241 c|c_std|c_global) ;;
16242 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable cheaders" >&5
16243 echo "$as_me: error: Unknown argument to enable/disable cheaders" >&2;}
16244 { (exit 1); exit 1; }; } ;;
16245 esac
16247 else
16248 enable_cheaders=$c_model
16251 { echo "$as_me:$LINENO: \"C\" header strategy set to $enable_cheaders" >&5
16252 echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16254 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16256 # Allow overrides to configure.host here.
16257 if test $enable_cheaders = c_global; then
16258 c_compatibility=yes
16261 if test $enable_cheaders = c_global || test $enable_cheaders = c_std; then
16262 c_extra=yes
16272 # Check whether --enable-long-long or --disable-long-long was given.
16273 if test "${enable_long_long+set}" = set; then
16274 enableval="$enable_long_long"
16276 case "$enableval" in
16277 yes|no) ;;
16278 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable long-long must be yes or no" >&5
16279 echo "$as_me: error: Argument to enable/disable long-long must be yes or no" >&2;}
16280 { (exit 1); exit 1; }; } ;;
16281 esac
16283 else
16284 enable_long_long=yes
16287 if test $enable_long_long = yes; then
16289 cat >>confdefs.h <<\_ACEOF
16290 #define _GLIBCXX_USE_LONG_LONG 1
16291 _ACEOF
16294 echo "$as_me:$LINENO: checking for enabled long long specializations" >&5
16295 echo $ECHO_N "checking for enabled long long specializations... $ECHO_C" >&6
16296 echo "$as_me:$LINENO: result: $enable_long_long" >&5
16297 echo "${ECHO_T}$enable_long_long" >&6
16300 # Check whether --enable-wchar_t or --disable-wchar_t was given.
16301 if test "${enable_wchar_t+set}" = set; then
16302 enableval="$enable_wchar_t"
16304 case "$enableval" in
16305 yes|no) ;;
16306 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable wchar_t must be yes or no" >&5
16307 echo "$as_me: error: Argument to enable/disable wchar_t must be yes or no" >&2;}
16308 { (exit 1); exit 1; }; } ;;
16309 esac
16311 else
16312 enable_wchar_t=yes
16316 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16318 for ac_header in wchar.h
16320 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16321 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16322 echo "$as_me:$LINENO: checking for $ac_header" >&5
16323 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16324 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16325 echo $ECHO_N "(cached) $ECHO_C" >&6
16327 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16329 else
16330 # Is the header compilable?
16331 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16332 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16333 cat >conftest.$ac_ext <<_ACEOF
16334 /* confdefs.h. */
16335 _ACEOF
16336 cat confdefs.h >>conftest.$ac_ext
16337 cat >>conftest.$ac_ext <<_ACEOF
16338 /* end confdefs.h. */
16339 $ac_includes_default
16340 #include <$ac_header>
16341 _ACEOF
16342 rm -f conftest.$ac_objext
16343 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16344 (eval $ac_compile) 2>conftest.er1
16345 ac_status=$?
16346 grep -v '^ *+' conftest.er1 >conftest.err
16347 rm -f conftest.er1
16348 cat conftest.err >&5
16349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16350 (exit $ac_status); } &&
16351 { ac_try='test -z "$ac_c_werror_flag"
16352 || test ! -s conftest.err'
16353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16354 (eval $ac_try) 2>&5
16355 ac_status=$?
16356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16357 (exit $ac_status); }; } &&
16358 { ac_try='test -s conftest.$ac_objext'
16359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16360 (eval $ac_try) 2>&5
16361 ac_status=$?
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }; }; then
16364 ac_header_compiler=yes
16365 else
16366 echo "$as_me: failed program was:" >&5
16367 sed 's/^/| /' conftest.$ac_ext >&5
16369 ac_header_compiler=no
16371 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16372 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16373 echo "${ECHO_T}$ac_header_compiler" >&6
16375 # Is the header present?
16376 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16377 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16378 cat >conftest.$ac_ext <<_ACEOF
16379 /* confdefs.h. */
16380 _ACEOF
16381 cat confdefs.h >>conftest.$ac_ext
16382 cat >>conftest.$ac_ext <<_ACEOF
16383 /* end confdefs.h. */
16384 #include <$ac_header>
16385 _ACEOF
16386 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16387 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16388 ac_status=$?
16389 grep -v '^ *+' conftest.er1 >conftest.err
16390 rm -f conftest.er1
16391 cat conftest.err >&5
16392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16393 (exit $ac_status); } >/dev/null; then
16394 if test -s conftest.err; then
16395 ac_cpp_err=$ac_c_preproc_warn_flag
16396 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16397 else
16398 ac_cpp_err=
16400 else
16401 ac_cpp_err=yes
16403 if test -z "$ac_cpp_err"; then
16404 ac_header_preproc=yes
16405 else
16406 echo "$as_me: failed program was:" >&5
16407 sed 's/^/| /' conftest.$ac_ext >&5
16409 ac_header_preproc=no
16411 rm -f conftest.err conftest.$ac_ext
16412 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16413 echo "${ECHO_T}$ac_header_preproc" >&6
16415 # So? What about this header?
16416 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16417 yes:no: )
16418 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16419 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16420 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16421 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16422 ac_header_preproc=yes
16424 no:yes:* )
16425 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16426 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16427 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16428 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16429 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16430 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16431 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16432 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16433 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16434 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16435 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16436 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16438 cat <<\_ASBOX
16439 ## ----------------------------------------- ##
16440 ## Report this to the package-unused lists. ##
16441 ## ----------------------------------------- ##
16442 _ASBOX
16444 sed "s/^/$as_me: WARNING: /" >&2
16446 esac
16447 echo "$as_me:$LINENO: checking for $ac_header" >&5
16448 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16449 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16450 echo $ECHO_N "(cached) $ECHO_C" >&6
16451 else
16452 eval "$as_ac_Header=\$ac_header_preproc"
16454 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16455 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16458 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16459 cat >>confdefs.h <<_ACEOF
16460 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16461 _ACEOF
16462 ac_has_wchar_h=yes
16463 else
16464 ac_has_wchar_h=no
16467 done
16469 echo "$as_me:$LINENO: checking for mbstate_t" >&5
16470 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6
16471 cat >conftest.$ac_ext <<_ACEOF
16472 /* confdefs.h. */
16473 _ACEOF
16474 cat confdefs.h >>conftest.$ac_ext
16475 cat >>conftest.$ac_ext <<_ACEOF
16476 /* end confdefs.h. */
16477 #include <wchar.h>
16479 main ()
16481 mbstate_t teststate;
16483 return 0;
16485 _ACEOF
16486 rm -f conftest.$ac_objext
16487 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16488 (eval $ac_compile) 2>conftest.er1
16489 ac_status=$?
16490 grep -v '^ *+' conftest.er1 >conftest.err
16491 rm -f conftest.er1
16492 cat conftest.err >&5
16493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16494 (exit $ac_status); } &&
16495 { ac_try='test -z "$ac_c_werror_flag"
16496 || test ! -s conftest.err'
16497 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16498 (eval $ac_try) 2>&5
16499 ac_status=$?
16500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16501 (exit $ac_status); }; } &&
16502 { ac_try='test -s conftest.$ac_objext'
16503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16504 (eval $ac_try) 2>&5
16505 ac_status=$?
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 (exit $ac_status); }; }; then
16508 have_mbstate_t=yes
16509 else
16510 echo "$as_me: failed program was:" >&5
16511 sed 's/^/| /' conftest.$ac_ext >&5
16513 have_mbstate_t=no
16515 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16516 echo "$as_me:$LINENO: result: $have_mbstate_t" >&5
16517 echo "${ECHO_T}$have_mbstate_t" >&6
16518 if test x"$have_mbstate_t" = xyes; then
16520 cat >>confdefs.h <<\_ACEOF
16521 #define HAVE_MBSTATE_T 1
16522 _ACEOF
16526 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16527 # ac_has_wchar_h.
16529 for ac_header in wctype.h
16531 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
16532 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16533 echo "$as_me:$LINENO: checking for $ac_header" >&5
16534 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16535 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16536 echo $ECHO_N "(cached) $ECHO_C" >&6
16538 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16539 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16540 else
16541 # Is the header compilable?
16542 echo "$as_me:$LINENO: checking $ac_header usability" >&5
16543 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
16544 cat >conftest.$ac_ext <<_ACEOF
16545 /* confdefs.h. */
16546 _ACEOF
16547 cat confdefs.h >>conftest.$ac_ext
16548 cat >>conftest.$ac_ext <<_ACEOF
16549 /* end confdefs.h. */
16550 $ac_includes_default
16551 #include <$ac_header>
16552 _ACEOF
16553 rm -f conftest.$ac_objext
16554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16555 (eval $ac_compile) 2>conftest.er1
16556 ac_status=$?
16557 grep -v '^ *+' conftest.er1 >conftest.err
16558 rm -f conftest.er1
16559 cat conftest.err >&5
16560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16561 (exit $ac_status); } &&
16562 { ac_try='test -z "$ac_c_werror_flag"
16563 || test ! -s conftest.err'
16564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16565 (eval $ac_try) 2>&5
16566 ac_status=$?
16567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16568 (exit $ac_status); }; } &&
16569 { ac_try='test -s conftest.$ac_objext'
16570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16571 (eval $ac_try) 2>&5
16572 ac_status=$?
16573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16574 (exit $ac_status); }; }; then
16575 ac_header_compiler=yes
16576 else
16577 echo "$as_me: failed program was:" >&5
16578 sed 's/^/| /' conftest.$ac_ext >&5
16580 ac_header_compiler=no
16582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16583 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16584 echo "${ECHO_T}$ac_header_compiler" >&6
16586 # Is the header present?
16587 echo "$as_me:$LINENO: checking $ac_header presence" >&5
16588 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
16589 cat >conftest.$ac_ext <<_ACEOF
16590 /* confdefs.h. */
16591 _ACEOF
16592 cat confdefs.h >>conftest.$ac_ext
16593 cat >>conftest.$ac_ext <<_ACEOF
16594 /* end confdefs.h. */
16595 #include <$ac_header>
16596 _ACEOF
16597 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
16598 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
16599 ac_status=$?
16600 grep -v '^ *+' conftest.er1 >conftest.err
16601 rm -f conftest.er1
16602 cat conftest.err >&5
16603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16604 (exit $ac_status); } >/dev/null; then
16605 if test -s conftest.err; then
16606 ac_cpp_err=$ac_c_preproc_warn_flag
16607 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
16608 else
16609 ac_cpp_err=
16611 else
16612 ac_cpp_err=yes
16614 if test -z "$ac_cpp_err"; then
16615 ac_header_preproc=yes
16616 else
16617 echo "$as_me: failed program was:" >&5
16618 sed 's/^/| /' conftest.$ac_ext >&5
16620 ac_header_preproc=no
16622 rm -f conftest.err conftest.$ac_ext
16623 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16624 echo "${ECHO_T}$ac_header_preproc" >&6
16626 # So? What about this header?
16627 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16628 yes:no: )
16629 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16630 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16631 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16632 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16633 ac_header_preproc=yes
16635 no:yes:* )
16636 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16637 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16638 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16639 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16640 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16641 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16642 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16643 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16644 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16645 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16646 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16647 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16649 cat <<\_ASBOX
16650 ## ----------------------------------------- ##
16651 ## Report this to the package-unused lists. ##
16652 ## ----------------------------------------- ##
16653 _ASBOX
16655 sed "s/^/$as_me: WARNING: /" >&2
16657 esac
16658 echo "$as_me:$LINENO: checking for $ac_header" >&5
16659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
16660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
16661 echo $ECHO_N "(cached) $ECHO_C" >&6
16662 else
16663 eval "$as_ac_Header=\$ac_header_preproc"
16665 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
16666 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
16669 if test `eval echo '${'$as_ac_Header'}'` = yes; then
16670 cat >>confdefs.h <<_ACEOF
16671 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
16672 _ACEOF
16673 ac_has_wctype_h=yes
16674 else
16675 ac_has_wctype_h=no
16678 done
16681 if test x"$enable_wchar_t" = x"yes"; then
16685 ac_ext=cc
16686 ac_cpp='$CXXCPP $CPPFLAGS'
16687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16692 if test x"$ac_has_wchar_h" = xyes &&
16693 test x"$ac_has_wctype_h" = xyes; then
16694 cat >conftest.$ac_ext <<_ACEOF
16695 /* confdefs.h. */
16696 _ACEOF
16697 cat confdefs.h >>conftest.$ac_ext
16698 cat >>conftest.$ac_ext <<_ACEOF
16699 /* end confdefs.h. */
16700 #include <wchar.h>
16701 #include <stddef.h>
16702 wint_t i;
16703 long l = WEOF;
16704 long j = WCHAR_MIN;
16705 long k = WCHAR_MAX;
16706 namespace test
16708 using ::btowc;
16709 using ::fgetwc;
16710 using ::fgetws;
16711 using ::fputwc;
16712 using ::fputws;
16713 using ::fwide;
16714 using ::fwprintf;
16715 using ::fwscanf;
16716 using ::getwc;
16717 using ::getwchar;
16718 using ::mbrlen;
16719 using ::mbrtowc;
16720 using ::mbsinit;
16721 using ::mbsrtowcs;
16722 using ::putwc;
16723 using ::putwchar;
16724 using ::swprintf;
16725 using ::swscanf;
16726 using ::ungetwc;
16727 using ::vfwprintf;
16728 using ::vswprintf;
16729 using ::vwprintf;
16730 using ::wcrtomb;
16731 using ::wcscat;
16732 using ::wcschr;
16733 using ::wcscmp;
16734 using ::wcscoll;
16735 using ::wcscpy;
16736 using ::wcscspn;
16737 using ::wcsftime;
16738 using ::wcslen;
16739 using ::wcsncat;
16740 using ::wcsncmp;
16741 using ::wcsncpy;
16742 using ::wcspbrk;
16743 using ::wcsrchr;
16744 using ::wcsrtombs;
16745 using ::wcsspn;
16746 using ::wcsstr;
16747 using ::wcstod;
16748 using ::wcstok;
16749 using ::wcstol;
16750 using ::wcstoul;
16751 using ::wcsxfrm;
16752 using ::wctob;
16753 using ::wmemchr;
16754 using ::wmemcmp;
16755 using ::wmemcpy;
16756 using ::wmemmove;
16757 using ::wmemset;
16758 using ::wprintf;
16759 using ::wscanf;
16763 main ()
16767 return 0;
16769 _ACEOF
16770 rm -f conftest.$ac_objext
16771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16772 (eval $ac_compile) 2>conftest.er1
16773 ac_status=$?
16774 grep -v '^ *+' conftest.er1 >conftest.err
16775 rm -f conftest.er1
16776 cat conftest.err >&5
16777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16778 (exit $ac_status); } &&
16779 { ac_try='test -z "$ac_cxx_werror_flag"
16780 || test ! -s conftest.err'
16781 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16782 (eval $ac_try) 2>&5
16783 ac_status=$?
16784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16785 (exit $ac_status); }; } &&
16786 { ac_try='test -s conftest.$ac_objext'
16787 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16788 (eval $ac_try) 2>&5
16789 ac_status=$?
16790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16791 (exit $ac_status); }; }; then
16793 else
16794 echo "$as_me: failed program was:" >&5
16795 sed 's/^/| /' conftest.$ac_ext >&5
16797 enable_wchar_t=no
16799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
16800 else
16801 enable_wchar_t=no
16804 ac_ext=c
16805 ac_cpp='$CPP $CPPFLAGS'
16806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16812 if test x"$enable_wchar_t" = x"yes"; then
16814 cat >>confdefs.h <<\_ACEOF
16815 #define _GLIBCXX_USE_WCHAR_T 1
16816 _ACEOF
16820 echo "$as_me:$LINENO: checking for enabled wchar_t specializations" >&5
16821 echo $ECHO_N "checking for enabled wchar_t specializations... $ECHO_C" >&6
16822 echo "$as_me:$LINENO: result: $enable_wchar_t" >&5
16823 echo "${ECHO_T}$enable_wchar_t" >&6
16827 # Check whether --enable-c99 or --disable-c99 was given.
16828 if test "${enable_c99+set}" = set; then
16829 enableval="$enable_c99"
16831 case "$enableval" in
16832 yes|no) ;;
16833 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable c99 must be yes or no" >&5
16834 echo "$as_me: error: Argument to enable/disable c99 must be yes or no" >&2;}
16835 { (exit 1); exit 1; }; } ;;
16836 esac
16838 else
16839 enable_c99=yes
16843 if test x"$enable_c99" = x"yes"; then
16847 ac_ext=cc
16848 ac_cpp='$CXXCPP $CPPFLAGS'
16849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16854 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16855 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16856 # spuriously enabled.
16857 # Long term, -std=c++0x could be even better, could manage to explicitely
16858 # request C99 facilities to the underlying C headers.
16859 ac_save_CXXFLAGS="$CXXFLAGS"
16860 CXXFLAGS="$CXXFLAGS -std=c++98"
16861 ac_save_LIBS="$LIBS"
16862 ac_save_gcc_no_link="$gcc_no_link"
16864 if test x$gcc_no_link != xyes; then
16865 # Use -fno-exceptions to that the C driver can link these tests without
16866 # hitting undefined references to personality routines.
16867 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16868 echo "$as_me:$LINENO: checking for sin in -lm" >&5
16869 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
16870 if test "${ac_cv_lib_m_sin+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 else
16873 ac_check_lib_save_LIBS=$LIBS
16874 LIBS="-lm $LIBS"
16875 if test x$gcc_no_link = xyes; then
16876 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
16877 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
16878 { (exit 1); exit 1; }; }
16880 cat >conftest.$ac_ext <<_ACEOF
16881 /* confdefs.h. */
16882 _ACEOF
16883 cat confdefs.h >>conftest.$ac_ext
16884 cat >>conftest.$ac_ext <<_ACEOF
16885 /* end confdefs.h. */
16887 /* Override any gcc2 internal prototype to avoid an error. */
16888 #ifdef __cplusplus
16889 extern "C"
16890 #endif
16891 /* We use char because int might match the return type of a gcc2
16892 builtin and then its argument prototype would still apply. */
16893 char sin ();
16895 main ()
16897 sin ();
16899 return 0;
16901 _ACEOF
16902 rm -f conftest.$ac_objext conftest$ac_exeext
16903 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
16904 (eval $ac_link) 2>conftest.er1
16905 ac_status=$?
16906 grep -v '^ *+' conftest.er1 >conftest.err
16907 rm -f conftest.er1
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } &&
16911 { ac_try='test -z "$ac_cxx_werror_flag"
16912 || test ! -s conftest.err'
16913 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16914 (eval $ac_try) 2>&5
16915 ac_status=$?
16916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16917 (exit $ac_status); }; } &&
16918 { ac_try='test -s conftest$ac_exeext'
16919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16920 (eval $ac_try) 2>&5
16921 ac_status=$?
16922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16923 (exit $ac_status); }; }; then
16924 ac_cv_lib_m_sin=yes
16925 else
16926 echo "$as_me: failed program was:" >&5
16927 sed 's/^/| /' conftest.$ac_ext >&5
16929 ac_cv_lib_m_sin=no
16931 rm -f conftest.err conftest.$ac_objext \
16932 conftest$ac_exeext conftest.$ac_ext
16933 LIBS=$ac_check_lib_save_LIBS
16935 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
16936 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
16937 if test $ac_cv_lib_m_sin = yes; then
16939 LIBS="$LIBS -lm"
16941 else
16943 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16944 gcc_no_link=yes
16950 # Check for the existence of <math.h> functions used if C99 is enabled.
16951 echo "$as_me:$LINENO: checking for ISO C99 support in <math.h>" >&5
16952 echo $ECHO_N "checking for ISO C99 support in <math.h>... $ECHO_C" >&6
16953 if test "${glibcxx_cv_c99_math+set}" = set; then
16954 echo $ECHO_N "(cached) $ECHO_C" >&6
16955 else
16957 if test x$gcc_no_link = xyes; then
16958 cat >conftest.$ac_ext <<_ACEOF
16959 /* confdefs.h. */
16960 _ACEOF
16961 cat confdefs.h >>conftest.$ac_ext
16962 cat >>conftest.$ac_ext <<_ACEOF
16963 /* end confdefs.h. */
16964 #include <math.h>
16965 volatile double d1, d2;
16966 volatile int i;
16968 main ()
16970 i = fpclassify(d1);
16971 i = isfinite(d1);
16972 i = isinf(d1);
16973 i = isnan(d1);
16974 i = isnormal(d1);
16975 i = signbit(d1);
16976 i = isgreater(d1, d2);
16977 i = isgreaterequal(d1, d2);
16978 i = isless(d1, d2);
16979 i = islessequal(d1, d2);
16980 i = islessgreater(d1, d2);
16981 i = islessgreater(d1, d2);
16982 i = isunordered(d1, d2);
16985 return 0;
16987 _ACEOF
16988 rm -f conftest.$ac_objext
16989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16990 (eval $ac_compile) 2>conftest.er1
16991 ac_status=$?
16992 grep -v '^ *+' conftest.er1 >conftest.err
16993 rm -f conftest.er1
16994 cat conftest.err >&5
16995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16996 (exit $ac_status); } &&
16997 { ac_try='test -z "$ac_cxx_werror_flag"
16998 || test ! -s conftest.err'
16999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17000 (eval $ac_try) 2>&5
17001 ac_status=$?
17002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17003 (exit $ac_status); }; } &&
17004 { ac_try='test -s conftest.$ac_objext'
17005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17006 (eval $ac_try) 2>&5
17007 ac_status=$?
17008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17009 (exit $ac_status); }; }; then
17010 glibcxx_cv_c99_math=yes
17011 else
17012 echo "$as_me: failed program was:" >&5
17013 sed 's/^/| /' conftest.$ac_ext >&5
17015 glibcxx_cv_c99_math=no
17017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17018 else
17019 if test x$gcc_no_link = xyes; then
17020 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17021 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17022 { (exit 1); exit 1; }; }
17024 cat >conftest.$ac_ext <<_ACEOF
17025 /* confdefs.h. */
17026 _ACEOF
17027 cat confdefs.h >>conftest.$ac_ext
17028 cat >>conftest.$ac_ext <<_ACEOF
17029 /* end confdefs.h. */
17030 #include <math.h>
17031 volatile double d1, d2;
17032 volatile int i;
17034 main ()
17036 i = fpclassify(d1);
17037 i = isfinite(d1);
17038 i = isinf(d1);
17039 i = isnan(d1);
17040 i = isnormal(d1);
17041 i = signbit(d1);
17042 i = isgreater(d1, d2);
17043 i = isgreaterequal(d1, d2);
17044 i = isless(d1, d2);
17045 i = islessequal(d1, d2);
17046 i = islessgreater(d1, d2);
17047 i = islessgreater(d1, d2);
17048 i = isunordered(d1, d2);
17051 return 0;
17053 _ACEOF
17054 rm -f conftest.$ac_objext conftest$ac_exeext
17055 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17056 (eval $ac_link) 2>conftest.er1
17057 ac_status=$?
17058 grep -v '^ *+' conftest.er1 >conftest.err
17059 rm -f conftest.er1
17060 cat conftest.err >&5
17061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17062 (exit $ac_status); } &&
17063 { ac_try='test -z "$ac_cxx_werror_flag"
17064 || test ! -s conftest.err'
17065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17066 (eval $ac_try) 2>&5
17067 ac_status=$?
17068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17069 (exit $ac_status); }; } &&
17070 { ac_try='test -s conftest$ac_exeext'
17071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17072 (eval $ac_try) 2>&5
17073 ac_status=$?
17074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17075 (exit $ac_status); }; }; then
17076 glibcxx_cv_c99_math=yes
17077 else
17078 echo "$as_me: failed program was:" >&5
17079 sed 's/^/| /' conftest.$ac_ext >&5
17081 glibcxx_cv_c99_math=no
17083 rm -f conftest.err conftest.$ac_objext \
17084 conftest$ac_exeext conftest.$ac_ext
17089 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math" >&5
17090 echo "${ECHO_T}$glibcxx_cv_c99_math" >&6
17091 if test x"$glibcxx_cv_c99_math" = x"yes"; then
17093 cat >>confdefs.h <<\_ACEOF
17094 #define _GLIBCXX_USE_C99_MATH 1
17095 _ACEOF
17099 # Check for the existence of <complex.h> complex math functions.
17100 # This is necessary even though libstdc++ uses the builtin versions
17101 # of these functions, because if the builtin cannot be used, a reference
17102 # to the library function is emitted.
17104 for ac_header in tgmath.h
17106 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17107 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17108 echo "$as_me:$LINENO: checking for $ac_header" >&5
17109 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17110 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17111 echo $ECHO_N "(cached) $ECHO_C" >&6
17113 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17114 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17115 else
17116 # Is the header compilable?
17117 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17119 cat >conftest.$ac_ext <<_ACEOF
17120 /* confdefs.h. */
17121 _ACEOF
17122 cat confdefs.h >>conftest.$ac_ext
17123 cat >>conftest.$ac_ext <<_ACEOF
17124 /* end confdefs.h. */
17125 $ac_includes_default
17126 #include <$ac_header>
17127 _ACEOF
17128 rm -f conftest.$ac_objext
17129 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17130 (eval $ac_compile) 2>conftest.er1
17131 ac_status=$?
17132 grep -v '^ *+' conftest.er1 >conftest.err
17133 rm -f conftest.er1
17134 cat conftest.err >&5
17135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17136 (exit $ac_status); } &&
17137 { ac_try='test -z "$ac_cxx_werror_flag"
17138 || test ! -s conftest.err'
17139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17140 (eval $ac_try) 2>&5
17141 ac_status=$?
17142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17143 (exit $ac_status); }; } &&
17144 { ac_try='test -s conftest.$ac_objext'
17145 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17146 (eval $ac_try) 2>&5
17147 ac_status=$?
17148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17149 (exit $ac_status); }; }; then
17150 ac_header_compiler=yes
17151 else
17152 echo "$as_me: failed program was:" >&5
17153 sed 's/^/| /' conftest.$ac_ext >&5
17155 ac_header_compiler=no
17157 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17158 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17159 echo "${ECHO_T}$ac_header_compiler" >&6
17161 # Is the header present?
17162 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17164 cat >conftest.$ac_ext <<_ACEOF
17165 /* confdefs.h. */
17166 _ACEOF
17167 cat confdefs.h >>conftest.$ac_ext
17168 cat >>conftest.$ac_ext <<_ACEOF
17169 /* end confdefs.h. */
17170 #include <$ac_header>
17171 _ACEOF
17172 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17173 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17174 ac_status=$?
17175 grep -v '^ *+' conftest.er1 >conftest.err
17176 rm -f conftest.er1
17177 cat conftest.err >&5
17178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17179 (exit $ac_status); } >/dev/null; then
17180 if test -s conftest.err; then
17181 ac_cpp_err=$ac_cxx_preproc_warn_flag
17182 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17183 else
17184 ac_cpp_err=
17186 else
17187 ac_cpp_err=yes
17189 if test -z "$ac_cpp_err"; then
17190 ac_header_preproc=yes
17191 else
17192 echo "$as_me: failed program was:" >&5
17193 sed 's/^/| /' conftest.$ac_ext >&5
17195 ac_header_preproc=no
17197 rm -f conftest.err conftest.$ac_ext
17198 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17199 echo "${ECHO_T}$ac_header_preproc" >&6
17201 # So? What about this header?
17202 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17203 yes:no: )
17204 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17205 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17206 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17207 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17208 ac_header_preproc=yes
17210 no:yes:* )
17211 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17212 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17213 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17214 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17215 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17216 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17217 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17218 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17219 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17220 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17221 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17222 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17224 cat <<\_ASBOX
17225 ## ----------------------------------------- ##
17226 ## Report this to the package-unused lists. ##
17227 ## ----------------------------------------- ##
17228 _ASBOX
17230 sed "s/^/$as_me: WARNING: /" >&2
17232 esac
17233 echo "$as_me:$LINENO: checking for $ac_header" >&5
17234 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17235 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17236 echo $ECHO_N "(cached) $ECHO_C" >&6
17237 else
17238 eval "$as_ac_Header=\$ac_header_preproc"
17240 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17241 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17244 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17245 cat >>confdefs.h <<_ACEOF
17246 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17247 _ACEOF
17248 ac_has_tgmath_h=yes
17249 else
17250 ac_has_tgmath_h=no
17253 done
17256 for ac_header in complex.h
17258 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17259 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17260 echo "$as_me:$LINENO: checking for $ac_header" >&5
17261 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17262 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17263 echo $ECHO_N "(cached) $ECHO_C" >&6
17265 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17266 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17267 else
17268 # Is the header compilable?
17269 echo "$as_me:$LINENO: checking $ac_header usability" >&5
17270 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
17271 cat >conftest.$ac_ext <<_ACEOF
17272 /* confdefs.h. */
17273 _ACEOF
17274 cat confdefs.h >>conftest.$ac_ext
17275 cat >>conftest.$ac_ext <<_ACEOF
17276 /* end confdefs.h. */
17277 $ac_includes_default
17278 #include <$ac_header>
17279 _ACEOF
17280 rm -f conftest.$ac_objext
17281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17282 (eval $ac_compile) 2>conftest.er1
17283 ac_status=$?
17284 grep -v '^ *+' conftest.er1 >conftest.err
17285 rm -f conftest.er1
17286 cat conftest.err >&5
17287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17288 (exit $ac_status); } &&
17289 { ac_try='test -z "$ac_cxx_werror_flag"
17290 || test ! -s conftest.err'
17291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17292 (eval $ac_try) 2>&5
17293 ac_status=$?
17294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17295 (exit $ac_status); }; } &&
17296 { ac_try='test -s conftest.$ac_objext'
17297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17298 (eval $ac_try) 2>&5
17299 ac_status=$?
17300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17301 (exit $ac_status); }; }; then
17302 ac_header_compiler=yes
17303 else
17304 echo "$as_me: failed program was:" >&5
17305 sed 's/^/| /' conftest.$ac_ext >&5
17307 ac_header_compiler=no
17309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17310 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
17311 echo "${ECHO_T}$ac_header_compiler" >&6
17313 # Is the header present?
17314 echo "$as_me:$LINENO: checking $ac_header presence" >&5
17315 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
17316 cat >conftest.$ac_ext <<_ACEOF
17317 /* confdefs.h. */
17318 _ACEOF
17319 cat confdefs.h >>conftest.$ac_ext
17320 cat >>conftest.$ac_ext <<_ACEOF
17321 /* end confdefs.h. */
17322 #include <$ac_header>
17323 _ACEOF
17324 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
17325 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
17326 ac_status=$?
17327 grep -v '^ *+' conftest.er1 >conftest.err
17328 rm -f conftest.er1
17329 cat conftest.err >&5
17330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17331 (exit $ac_status); } >/dev/null; then
17332 if test -s conftest.err; then
17333 ac_cpp_err=$ac_cxx_preproc_warn_flag
17334 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
17335 else
17336 ac_cpp_err=
17338 else
17339 ac_cpp_err=yes
17341 if test -z "$ac_cpp_err"; then
17342 ac_header_preproc=yes
17343 else
17344 echo "$as_me: failed program was:" >&5
17345 sed 's/^/| /' conftest.$ac_ext >&5
17347 ac_header_preproc=no
17349 rm -f conftest.err conftest.$ac_ext
17350 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
17351 echo "${ECHO_T}$ac_header_preproc" >&6
17353 # So? What about this header?
17354 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
17355 yes:no: )
17356 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
17357 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
17358 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
17359 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
17360 ac_header_preproc=yes
17362 no:yes:* )
17363 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
17364 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
17365 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
17366 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
17367 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
17368 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
17369 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
17370 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
17371 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
17372 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
17373 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
17374 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
17376 cat <<\_ASBOX
17377 ## ----------------------------------------- ##
17378 ## Report this to the package-unused lists. ##
17379 ## ----------------------------------------- ##
17380 _ASBOX
17382 sed "s/^/$as_me: WARNING: /" >&2
17384 esac
17385 echo "$as_me:$LINENO: checking for $ac_header" >&5
17386 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
17387 if eval "test \"\${$as_ac_Header+set}\" = set"; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 else
17390 eval "$as_ac_Header=\$ac_header_preproc"
17392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
17393 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
17396 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17397 cat >>confdefs.h <<_ACEOF
17398 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17399 _ACEOF
17400 ac_has_complex_h=yes
17401 else
17402 ac_has_complex_h=no
17405 done
17407 glibcxx_cv_c99_complex=no;
17408 if test x"$ac_has_complex_h" = x"yes"; then
17409 echo "$as_me:$LINENO: checking for ISO C99 support in <complex.h>" >&5
17410 echo $ECHO_N "checking for ISO C99 support in <complex.h>... $ECHO_C" >&6
17411 if test x$gcc_no_link = xyes; then
17412 cat >conftest.$ac_ext <<_ACEOF
17413 /* confdefs.h. */
17414 _ACEOF
17415 cat confdefs.h >>conftest.$ac_ext
17416 cat >>conftest.$ac_ext <<_ACEOF
17417 /* end confdefs.h. */
17418 #include <complex.h>
17419 typedef __complex__ float float_type;
17420 typedef __complex__ double double_type;
17421 typedef __complex__ long double ld_type;
17422 volatile float_type tmpf;
17423 volatile double_type tmpd;
17424 volatile ld_type tmpld;
17425 volatile float f;
17426 volatile double d;
17427 volatile long double ld;
17429 main ()
17431 f = cabsf(tmpf);
17432 f = cargf(tmpf);
17433 tmpf = ccosf(tmpf);
17434 tmpf = ccoshf(tmpf);
17435 tmpf = cexpf(tmpf);
17436 tmpf = clogf(tmpf);
17437 tmpf = csinf(tmpf);
17438 tmpf = csinhf(tmpf);
17439 tmpf = csqrtf(tmpf);
17440 tmpf = ctanf(tmpf);
17441 tmpf = ctanhf(tmpf);
17442 tmpf = cpowf(tmpf, tmpf);
17443 tmpf = cprojf(tmpf);
17444 d = cabs(tmpd);
17445 d = carg(tmpd);
17446 tmpd = ccos(tmpd);
17447 tmpd = ccosh(tmpd);
17448 tmpd = cexp(tmpd);
17449 tmpd = clog(tmpd);
17450 tmpd = csin(tmpd);
17451 tmpd = csinh(tmpd);
17452 tmpd = csqrt(tmpd);
17453 tmpd = ctan(tmpd);
17454 tmpd = ctanh(tmpd);
17455 tmpd = cpow(tmpd, tmpd);
17456 tmpd = cproj(tmpd);
17457 ld = cabsl(tmpld);
17458 ld = cargl(tmpld);
17459 tmpld = ccosl(tmpld);
17460 tmpld = ccoshl(tmpld);
17461 tmpld = cexpl(tmpld);
17462 tmpld = clogl(tmpld);
17463 tmpld = csinl(tmpld);
17464 tmpld = csinhl(tmpld);
17465 tmpld = csqrtl(tmpld);
17466 tmpld = ctanl(tmpld);
17467 tmpld = ctanhl(tmpld);
17468 tmpld = cpowl(tmpld, tmpld);
17469 tmpld = cprojl(tmpld);
17472 return 0;
17474 _ACEOF
17475 rm -f conftest.$ac_objext
17476 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17477 (eval $ac_compile) 2>conftest.er1
17478 ac_status=$?
17479 grep -v '^ *+' conftest.er1 >conftest.err
17480 rm -f conftest.er1
17481 cat conftest.err >&5
17482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17483 (exit $ac_status); } &&
17484 { ac_try='test -z "$ac_cxx_werror_flag"
17485 || test ! -s conftest.err'
17486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17487 (eval $ac_try) 2>&5
17488 ac_status=$?
17489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490 (exit $ac_status); }; } &&
17491 { ac_try='test -s conftest.$ac_objext'
17492 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493 (eval $ac_try) 2>&5
17494 ac_status=$?
17495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17496 (exit $ac_status); }; }; then
17497 glibcxx_cv_c99_complex=yes
17498 else
17499 echo "$as_me: failed program was:" >&5
17500 sed 's/^/| /' conftest.$ac_ext >&5
17502 glibcxx_cv_c99_complex=no
17504 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17505 else
17506 if test x$gcc_no_link = xyes; then
17507 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17508 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17509 { (exit 1); exit 1; }; }
17511 cat >conftest.$ac_ext <<_ACEOF
17512 /* confdefs.h. */
17513 _ACEOF
17514 cat confdefs.h >>conftest.$ac_ext
17515 cat >>conftest.$ac_ext <<_ACEOF
17516 /* end confdefs.h. */
17517 #include <complex.h>
17518 typedef __complex__ float float_type;
17519 typedef __complex__ double double_type;
17520 typedef __complex__ long double ld_type;
17521 volatile float_type tmpf;
17522 volatile double_type tmpd;
17523 volatile ld_type tmpld;
17524 volatile float f;
17525 volatile double d;
17526 volatile long double ld;
17528 main ()
17530 f = cabsf(tmpf);
17531 f = cargf(tmpf);
17532 tmpf = ccosf(tmpf);
17533 tmpf = ccoshf(tmpf);
17534 tmpf = cexpf(tmpf);
17535 tmpf = clogf(tmpf);
17536 tmpf = csinf(tmpf);
17537 tmpf = csinhf(tmpf);
17538 tmpf = csqrtf(tmpf);
17539 tmpf = ctanf(tmpf);
17540 tmpf = ctanhf(tmpf);
17541 tmpf = cpowf(tmpf, tmpf);
17542 tmpf = cprojf(tmpf);
17543 d = cabs(tmpd);
17544 d = carg(tmpd);
17545 tmpd = ccos(tmpd);
17546 tmpd = ccosh(tmpd);
17547 tmpd = cexp(tmpd);
17548 tmpd = clog(tmpd);
17549 tmpd = csin(tmpd);
17550 tmpd = csinh(tmpd);
17551 tmpd = csqrt(tmpd);
17552 tmpd = ctan(tmpd);
17553 tmpd = ctanh(tmpd);
17554 tmpd = cpow(tmpd, tmpd);
17555 tmpd = cproj(tmpd);
17556 ld = cabsl(tmpld);
17557 ld = cargl(tmpld);
17558 tmpld = ccosl(tmpld);
17559 tmpld = ccoshl(tmpld);
17560 tmpld = cexpl(tmpld);
17561 tmpld = clogl(tmpld);
17562 tmpld = csinl(tmpld);
17563 tmpld = csinhl(tmpld);
17564 tmpld = csqrtl(tmpld);
17565 tmpld = ctanl(tmpld);
17566 tmpld = ctanhl(tmpld);
17567 tmpld = cpowl(tmpld, tmpld);
17568 tmpld = cprojl(tmpld);
17571 return 0;
17573 _ACEOF
17574 rm -f conftest.$ac_objext conftest$ac_exeext
17575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17576 (eval $ac_link) 2>conftest.er1
17577 ac_status=$?
17578 grep -v '^ *+' conftest.er1 >conftest.err
17579 rm -f conftest.er1
17580 cat conftest.err >&5
17581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17582 (exit $ac_status); } &&
17583 { ac_try='test -z "$ac_cxx_werror_flag"
17584 || test ! -s conftest.err'
17585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586 (eval $ac_try) 2>&5
17587 ac_status=$?
17588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17589 (exit $ac_status); }; } &&
17590 { ac_try='test -s conftest$ac_exeext'
17591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17592 (eval $ac_try) 2>&5
17593 ac_status=$?
17594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17595 (exit $ac_status); }; }; then
17596 glibcxx_cv_c99_complex=yes
17597 else
17598 echo "$as_me: failed program was:" >&5
17599 sed 's/^/| /' conftest.$ac_ext >&5
17601 glibcxx_cv_c99_complex=no
17603 rm -f conftest.err conftest.$ac_objext \
17604 conftest$ac_exeext conftest.$ac_ext
17607 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_complex" >&5
17608 echo "${ECHO_T}$glibcxx_cv_c99_complex" >&6
17609 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
17611 cat >>confdefs.h <<\_ACEOF
17612 #define _GLIBCXX_USE_C99_COMPLEX 1
17613 _ACEOF
17617 # Check for the existence in <stdio.h> of vscanf, et. al.
17618 echo "$as_me:$LINENO: checking for ISO C99 support in <stdio.h>" >&5
17619 echo $ECHO_N "checking for ISO C99 support in <stdio.h>... $ECHO_C" >&6
17620 if test "${glibcxx_cv_c99_stdio+set}" = set; then
17621 echo $ECHO_N "(cached) $ECHO_C" >&6
17622 else
17624 if test x$gcc_no_link = xyes; then
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 <stdio.h>
17632 #include <stdarg.h>
17633 void foo(char* fmt, ...)
17635 va_list args; va_start(args, fmt);
17636 vfscanf(stderr, "%i", args);
17637 vscanf("%i", args);
17638 vsnprintf(fmt, 0, "%i", args);
17639 vsscanf(fmt, "%i", args);
17642 main ()
17644 snprintf("12", 0, "%i");
17646 return 0;
17648 _ACEOF
17649 rm -f conftest.$ac_objext
17650 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17651 (eval $ac_compile) 2>conftest.er1
17652 ac_status=$?
17653 grep -v '^ *+' conftest.er1 >conftest.err
17654 rm -f conftest.er1
17655 cat conftest.err >&5
17656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17657 (exit $ac_status); } &&
17658 { ac_try='test -z "$ac_cxx_werror_flag"
17659 || test ! -s conftest.err'
17660 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17661 (eval $ac_try) 2>&5
17662 ac_status=$?
17663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17664 (exit $ac_status); }; } &&
17665 { ac_try='test -s conftest.$ac_objext'
17666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17667 (eval $ac_try) 2>&5
17668 ac_status=$?
17669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17670 (exit $ac_status); }; }; then
17671 glibcxx_cv_c99_stdio=yes
17672 else
17673 echo "$as_me: failed program was:" >&5
17674 sed 's/^/| /' conftest.$ac_ext >&5
17676 glibcxx_cv_c99_stdio=no
17678 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17679 else
17680 if test x$gcc_no_link = xyes; then
17681 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17682 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17683 { (exit 1); exit 1; }; }
17685 cat >conftest.$ac_ext <<_ACEOF
17686 /* confdefs.h. */
17687 _ACEOF
17688 cat confdefs.h >>conftest.$ac_ext
17689 cat >>conftest.$ac_ext <<_ACEOF
17690 /* end confdefs.h. */
17691 #include <stdio.h>
17692 #include <stdarg.h>
17693 void foo(char* fmt, ...)
17695 va_list args; va_start(args, fmt);
17696 vfscanf(stderr, "%i", args);
17697 vscanf("%i", args);
17698 vsnprintf(fmt, 0, "%i", args);
17699 vsscanf(fmt, "%i", args);
17702 main ()
17704 snprintf("12", 0, "%i");
17706 return 0;
17708 _ACEOF
17709 rm -f conftest.$ac_objext conftest$ac_exeext
17710 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17711 (eval $ac_link) 2>conftest.er1
17712 ac_status=$?
17713 grep -v '^ *+' conftest.er1 >conftest.err
17714 rm -f conftest.er1
17715 cat conftest.err >&5
17716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } &&
17718 { ac_try='test -z "$ac_cxx_werror_flag"
17719 || test ! -s conftest.err'
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); }; } &&
17725 { ac_try='test -s conftest$ac_exeext'
17726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17727 (eval $ac_try) 2>&5
17728 ac_status=$?
17729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17730 (exit $ac_status); }; }; then
17731 glibcxx_cv_c99_stdio=yes
17732 else
17733 echo "$as_me: failed program was:" >&5
17734 sed 's/^/| /' conftest.$ac_ext >&5
17736 glibcxx_cv_c99_stdio=no
17738 rm -f conftest.err conftest.$ac_objext \
17739 conftest$ac_exeext conftest.$ac_ext
17744 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdio" >&5
17745 echo "${ECHO_T}$glibcxx_cv_c99_stdio" >&6
17747 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17748 echo "$as_me:$LINENO: checking for ISO C99 support in <stdlib.h>" >&5
17749 echo $ECHO_N "checking for ISO C99 support in <stdlib.h>... $ECHO_C" >&6
17750 if test "${glibcxx_cv_c99_stdlib+set}" = set; then
17751 echo $ECHO_N "(cached) $ECHO_C" >&6
17752 else
17754 if test x$gcc_no_link = xyes; then
17755 cat >conftest.$ac_ext <<_ACEOF
17756 /* confdefs.h. */
17757 _ACEOF
17758 cat confdefs.h >>conftest.$ac_ext
17759 cat >>conftest.$ac_ext <<_ACEOF
17760 /* end confdefs.h. */
17761 #include <stdlib.h>
17762 volatile float f;
17763 volatile long double ld;
17764 volatile unsigned long long ll;
17765 lldiv_t mydivt;
17767 main ()
17769 char* tmp;
17770 f = strtof("gnu", &tmp);
17771 ld = strtold("gnu", &tmp);
17772 ll = strtoll("gnu", &tmp, 10);
17773 ll = strtoull("gnu", &tmp, 10);
17774 ll = llabs(10);
17775 mydivt = lldiv(10,1);
17776 ll = mydivt.quot;
17777 ll = mydivt.rem;
17778 ll = atoll("10");
17779 _Exit(0);
17782 return 0;
17784 _ACEOF
17785 rm -f conftest.$ac_objext
17786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17787 (eval $ac_compile) 2>conftest.er1
17788 ac_status=$?
17789 grep -v '^ *+' conftest.er1 >conftest.err
17790 rm -f conftest.er1
17791 cat conftest.err >&5
17792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17793 (exit $ac_status); } &&
17794 { ac_try='test -z "$ac_cxx_werror_flag"
17795 || test ! -s conftest.err'
17796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17797 (eval $ac_try) 2>&5
17798 ac_status=$?
17799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17800 (exit $ac_status); }; } &&
17801 { ac_try='test -s conftest.$ac_objext'
17802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17803 (eval $ac_try) 2>&5
17804 ac_status=$?
17805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17806 (exit $ac_status); }; }; then
17807 glibcxx_cv_c99_stdlib=yes
17808 else
17809 echo "$as_me: failed program was:" >&5
17810 sed 's/^/| /' conftest.$ac_ext >&5
17812 glibcxx_cv_c99_stdlib=no
17814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17815 else
17816 if test x$gcc_no_link = xyes; then
17817 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
17818 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
17819 { (exit 1); exit 1; }; }
17821 cat >conftest.$ac_ext <<_ACEOF
17822 /* confdefs.h. */
17823 _ACEOF
17824 cat confdefs.h >>conftest.$ac_ext
17825 cat >>conftest.$ac_ext <<_ACEOF
17826 /* end confdefs.h. */
17827 #include <stdlib.h>
17828 volatile float f;
17829 volatile long double ld;
17830 volatile unsigned long long ll;
17831 lldiv_t mydivt;
17833 main ()
17835 char* tmp;
17836 f = strtof("gnu", &tmp);
17837 ld = strtold("gnu", &tmp);
17838 ll = strtoll("gnu", &tmp, 10);
17839 ll = strtoull("gnu", &tmp, 10);
17840 ll = llabs(10);
17841 mydivt = lldiv(10,1);
17842 ll = mydivt.quot;
17843 ll = mydivt.rem;
17844 ll = atoll("10");
17845 _Exit(0);
17848 return 0;
17850 _ACEOF
17851 rm -f conftest.$ac_objext conftest$ac_exeext
17852 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
17853 (eval $ac_link) 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } &&
17860 { ac_try='test -z "$ac_cxx_werror_flag"
17861 || test ! -s conftest.err'
17862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17863 (eval $ac_try) 2>&5
17864 ac_status=$?
17865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17866 (exit $ac_status); }; } &&
17867 { ac_try='test -s conftest$ac_exeext'
17868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17869 (eval $ac_try) 2>&5
17870 ac_status=$?
17871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17872 (exit $ac_status); }; }; then
17873 glibcxx_cv_c99_stdlib=yes
17874 else
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17878 glibcxx_cv_c99_stdlib=no
17880 rm -f conftest.err conftest.$ac_objext \
17881 conftest$ac_exeext conftest.$ac_ext
17886 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdlib" >&5
17887 echo "${ECHO_T}$glibcxx_cv_c99_stdlib" >&6
17889 # Check for the existence in <wchar.h> of wcstold, etc.
17890 glibcxx_cv_c99_wchar=no;
17891 if test x"$ac_has_wchar_h" = xyes &&
17892 test x"$ac_has_wctype_h" = xyes; then
17893 echo "$as_me:$LINENO: checking for ISO C99 support in <wchar.h>" >&5
17894 echo $ECHO_N "checking for ISO C99 support in <wchar.h>... $ECHO_C" >&6
17895 cat >conftest.$ac_ext <<_ACEOF
17896 /* confdefs.h. */
17897 _ACEOF
17898 cat confdefs.h >>conftest.$ac_ext
17899 cat >>conftest.$ac_ext <<_ACEOF
17900 /* end confdefs.h. */
17901 #include <wchar.h>
17902 namespace test
17904 using ::wcstold;
17905 using ::wcstoll;
17906 using ::wcstoull;
17910 main ()
17914 return 0;
17916 _ACEOF
17917 rm -f conftest.$ac_objext
17918 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17919 (eval $ac_compile) 2>conftest.er1
17920 ac_status=$?
17921 grep -v '^ *+' conftest.er1 >conftest.err
17922 rm -f conftest.er1
17923 cat conftest.err >&5
17924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17925 (exit $ac_status); } &&
17926 { ac_try='test -z "$ac_cxx_werror_flag"
17927 || test ! -s conftest.err'
17928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17929 (eval $ac_try) 2>&5
17930 ac_status=$?
17931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17932 (exit $ac_status); }; } &&
17933 { ac_try='test -s conftest.$ac_objext'
17934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17935 (eval $ac_try) 2>&5
17936 ac_status=$?
17937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17938 (exit $ac_status); }; }; then
17939 glibcxx_cv_c99_wchar=yes
17940 else
17941 echo "$as_me: failed program was:" >&5
17942 sed 's/^/| /' conftest.$ac_ext >&5
17944 glibcxx_cv_c99_wchar=no
17946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
17948 # Checks for wide character functions that may not be present.
17949 # Injection of these is wrapped with guard macros.
17950 # NB: only put functions here, instead of immediately above, if
17951 # absolutely necessary.
17952 cat >conftest.$ac_ext <<_ACEOF
17953 /* confdefs.h. */
17954 _ACEOF
17955 cat confdefs.h >>conftest.$ac_ext
17956 cat >>conftest.$ac_ext <<_ACEOF
17957 /* end confdefs.h. */
17958 #include <wchar.h>
17959 namespace test { using ::vfwscanf; }
17961 main ()
17965 return 0;
17967 _ACEOF
17968 rm -f conftest.$ac_objext
17969 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
17970 (eval $ac_compile) 2>conftest.er1
17971 ac_status=$?
17972 grep -v '^ *+' conftest.er1 >conftest.err
17973 rm -f conftest.er1
17974 cat conftest.err >&5
17975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17976 (exit $ac_status); } &&
17977 { ac_try='test -z "$ac_cxx_werror_flag"
17978 || test ! -s conftest.err'
17979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17980 (eval $ac_try) 2>&5
17981 ac_status=$?
17982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17983 (exit $ac_status); }; } &&
17984 { ac_try='test -s conftest.$ac_objext'
17985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17986 (eval $ac_try) 2>&5
17987 ac_status=$?
17988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17989 (exit $ac_status); }; }; then
17991 cat >>confdefs.h <<\_ACEOF
17992 #define HAVE_VFWSCANF 1
17993 _ACEOF
17995 else
17996 echo "$as_me: failed program was:" >&5
17997 sed 's/^/| /' conftest.$ac_ext >&5
18000 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18002 cat >conftest.$ac_ext <<_ACEOF
18003 /* confdefs.h. */
18004 _ACEOF
18005 cat confdefs.h >>conftest.$ac_ext
18006 cat >>conftest.$ac_ext <<_ACEOF
18007 /* end confdefs.h. */
18008 #include <wchar.h>
18009 namespace test { using ::vswscanf; }
18011 main ()
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_cxx_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
18041 cat >>confdefs.h <<\_ACEOF
18042 #define HAVE_VSWSCANF 1
18043 _ACEOF
18045 else
18046 echo "$as_me: failed program was:" >&5
18047 sed 's/^/| /' conftest.$ac_ext >&5
18050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18052 cat >conftest.$ac_ext <<_ACEOF
18053 /* confdefs.h. */
18054 _ACEOF
18055 cat confdefs.h >>conftest.$ac_ext
18056 cat >>conftest.$ac_ext <<_ACEOF
18057 /* end confdefs.h. */
18058 #include <wchar.h>
18059 namespace test { using ::vwscanf; }
18061 main ()
18065 return 0;
18067 _ACEOF
18068 rm -f conftest.$ac_objext
18069 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18070 (eval $ac_compile) 2>conftest.er1
18071 ac_status=$?
18072 grep -v '^ *+' conftest.er1 >conftest.err
18073 rm -f conftest.er1
18074 cat conftest.err >&5
18075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18076 (exit $ac_status); } &&
18077 { ac_try='test -z "$ac_cxx_werror_flag"
18078 || test ! -s conftest.err'
18079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18080 (eval $ac_try) 2>&5
18081 ac_status=$?
18082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18083 (exit $ac_status); }; } &&
18084 { ac_try='test -s conftest.$ac_objext'
18085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18086 (eval $ac_try) 2>&5
18087 ac_status=$?
18088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18089 (exit $ac_status); }; }; then
18091 cat >>confdefs.h <<\_ACEOF
18092 #define HAVE_VWSCANF 1
18093 _ACEOF
18095 else
18096 echo "$as_me: failed program was:" >&5
18097 sed 's/^/| /' conftest.$ac_ext >&5
18100 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18102 cat >conftest.$ac_ext <<_ACEOF
18103 /* confdefs.h. */
18104 _ACEOF
18105 cat confdefs.h >>conftest.$ac_ext
18106 cat >>conftest.$ac_ext <<_ACEOF
18107 /* end confdefs.h. */
18108 #include <wchar.h>
18109 namespace test { using ::wcstof; }
18111 main ()
18115 return 0;
18117 _ACEOF
18118 rm -f conftest.$ac_objext
18119 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18120 (eval $ac_compile) 2>conftest.er1
18121 ac_status=$?
18122 grep -v '^ *+' conftest.er1 >conftest.err
18123 rm -f conftest.er1
18124 cat conftest.err >&5
18125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18126 (exit $ac_status); } &&
18127 { ac_try='test -z "$ac_cxx_werror_flag"
18128 || test ! -s conftest.err'
18129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18130 (eval $ac_try) 2>&5
18131 ac_status=$?
18132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18133 (exit $ac_status); }; } &&
18134 { ac_try='test -s conftest.$ac_objext'
18135 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18136 (eval $ac_try) 2>&5
18137 ac_status=$?
18138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18139 (exit $ac_status); }; }; then
18141 cat >>confdefs.h <<\_ACEOF
18142 #define HAVE_WCSTOF 1
18143 _ACEOF
18145 else
18146 echo "$as_me: failed program was:" >&5
18147 sed 's/^/| /' conftest.$ac_ext >&5
18150 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18152 cat >conftest.$ac_ext <<_ACEOF
18153 /* confdefs.h. */
18154 _ACEOF
18155 cat confdefs.h >>conftest.$ac_ext
18156 cat >>conftest.$ac_ext <<_ACEOF
18157 /* end confdefs.h. */
18158 #include <wctype.h>
18160 main ()
18162 wint_t t; int i = iswblank(t);
18164 return 0;
18166 _ACEOF
18167 rm -f conftest.$ac_objext
18168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18169 (eval $ac_compile) 2>conftest.er1
18170 ac_status=$?
18171 grep -v '^ *+' conftest.er1 >conftest.err
18172 rm -f conftest.er1
18173 cat conftest.err >&5
18174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18175 (exit $ac_status); } &&
18176 { ac_try='test -z "$ac_cxx_werror_flag"
18177 || test ! -s conftest.err'
18178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18179 (eval $ac_try) 2>&5
18180 ac_status=$?
18181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18182 (exit $ac_status); }; } &&
18183 { ac_try='test -s conftest.$ac_objext'
18184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18185 (eval $ac_try) 2>&5
18186 ac_status=$?
18187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18188 (exit $ac_status); }; }; then
18190 cat >>confdefs.h <<\_ACEOF
18191 #define HAVE_ISWBLANK 1
18192 _ACEOF
18194 else
18195 echo "$as_me: failed program was:" >&5
18196 sed 's/^/| /' conftest.$ac_ext >&5
18199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18201 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_wchar" >&5
18202 echo "${ECHO_T}$glibcxx_cv_c99_wchar" >&6
18205 # Option parsed, now set things appropriately.
18206 if test x"$glibcxx_cv_c99_math" = x"no" ||
18207 test x"$glibcxx_cv_c99_complex" = x"no" ||
18208 test x"$glibcxx_cv_c99_stdio" = x"no" ||
18209 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
18210 test x"$glibcxx_cv_c99_wchar" = x"no"; then
18211 enable_c99=no;
18212 else
18214 cat >>confdefs.h <<\_ACEOF
18215 #define _GLIBCXX_USE_C99 1
18216 _ACEOF
18220 gcc_no_link="$ac_save_gcc_no_link"
18221 LIBS="$ac_save_LIBS"
18222 CXXFLAGS="$ac_save_CXXFLAGS"
18223 ac_ext=c
18224 ac_cpp='$CPP $CPPFLAGS'
18225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18231 echo "$as_me:$LINENO: checking for fully enabled ISO C99 support" >&5
18232 echo $ECHO_N "checking for fully enabled ISO C99 support... $ECHO_C" >&6
18233 echo "$as_me:$LINENO: result: $enable_c99" >&5
18234 echo "${ECHO_T}$enable_c99" >&6
18237 # Check whether --enable-concept-checks or --disable-concept-checks was given.
18238 if test "${enable_concept_checks+set}" = set; then
18239 enableval="$enable_concept_checks"
18241 case "$enableval" in
18242 yes|no) ;;
18243 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable concept-checks must be yes or no" >&5
18244 echo "$as_me: error: Argument to enable/disable concept-checks must be yes or no" >&2;}
18245 { (exit 1); exit 1; }; } ;;
18246 esac
18248 else
18249 enable_concept_checks=no
18252 if test $enable_concept_checks = yes; then
18254 cat >>confdefs.h <<\_ACEOF
18255 #define _GLIBCXX_CONCEPT_CHECKS 1
18256 _ACEOF
18261 # Check whether --enable-libstdcxx-debug-flags or --disable-libstdcxx-debug-flags was given.
18262 if test "${enable_libstdcxx_debug_flags+set}" = set; then
18263 enableval="$enable_libstdcxx_debug_flags"
18264 case "x$enable_libstdcxx_debug_flags" in
18265 xno | x) enable_libstdcxx_debug_flags= ;;
18266 x-*) ;;
18267 *) { { echo "$as_me:$LINENO: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&5
18268 echo "$as_me: error: --enable-libstdcxx-debug-flags needs compiler flags as arguments" >&2;}
18269 { (exit 1); exit 1; }; } ;;
18270 esac
18271 else
18272 enable_libstdcxx_debug_flags="-g3 -O0"
18276 # Option parsed, now set things appropriately
18277 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18280 { echo "$as_me:$LINENO: Debug build flags set to $DEBUG_FLAGS" >&5
18281 echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18284 echo "$as_me:$LINENO: checking for additional debug build" >&5
18285 echo $ECHO_N "checking for additional debug build... $ECHO_C" >&6
18286 # Check whether --enable-libstdcxx-debug or --disable-libstdcxx-debug was given.
18287 if test "${enable_libstdcxx_debug+set}" = set; then
18288 enableval="$enable_libstdcxx_debug"
18290 case "$enableval" in
18291 yes|no) ;;
18292 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&5
18293 echo "$as_me: error: Argument to enable/disable libstdcxx-debug must be yes or no" >&2;}
18294 { (exit 1); exit 1; }; } ;;
18295 esac
18297 else
18298 enable_libstdcxx_debug=no
18301 echo "$as_me:$LINENO: result: $enable_libstdcxx_debug" >&5
18302 echo "${ECHO_T}$enable_libstdcxx_debug" >&6
18307 enable_parallel=no;
18309 # See if configured libgomp/omp.h exists. (libgomp may be in
18310 # noconfigdirs but not explicitly disabled.)
18311 if test -f $glibcxx_builddir/../libgomp/omp.h; then
18312 enable_parallel=yes;
18313 else
18314 { echo "$as_me:$LINENO: $glibcxx_builddir/../libgomp/omp.h not found" >&5
18315 echo "$as_me: $glibcxx_builddir/../libgomp/omp.h not found" >&6;}
18318 echo "$as_me:$LINENO: checking for parallel mode support" >&5
18319 echo $ECHO_N "checking for parallel mode support... $ECHO_C" >&6
18320 echo "$as_me:$LINENO: result: $enable_parallel" >&5
18321 echo "${ECHO_T}$enable_parallel" >&6
18324 echo "$as_me:$LINENO: checking for extra compiler flags for building" >&5
18325 echo $ECHO_N "checking for extra compiler flags for building... $ECHO_C" >&6
18326 # Check whether --enable-cxx-flags or --disable-cxx-flags was given.
18327 if test "${enable_cxx_flags+set}" = set; then
18328 enableval="$enable_cxx_flags"
18329 case "x$enable_cxx_flags" in
18330 xno | x) enable_cxx_flags= ;;
18331 x-*) ;;
18332 *) { { echo "$as_me:$LINENO: error: --enable-cxx-flags needs compiler flags as arguments" >&5
18333 echo "$as_me: error: --enable-cxx-flags needs compiler flags as arguments" >&2;}
18334 { (exit 1); exit 1; }; } ;;
18335 esac
18336 else
18337 enable_cxx_flags=
18341 # Run through flags (either default or command-line) and set anything
18342 # extra (e.g., #defines) that must accompany particular g++ options.
18343 if test -n "$enable_cxx_flags"; then
18344 for f in $enable_cxx_flags; do
18345 case "$f" in
18346 -fhonor-std) ;;
18347 -*) ;;
18348 *) # and we're trying to pass /what/ exactly?
18349 { { echo "$as_me:$LINENO: error: compiler flags start with a -" >&5
18350 echo "$as_me: error: compiler flags start with a -" >&2;}
18351 { (exit 1); exit 1; }; } ;;
18352 esac
18353 done
18356 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18357 echo "$as_me:$LINENO: result: $EXTRA_CXX_FLAGS" >&5
18358 echo "${ECHO_T}$EXTRA_CXX_FLAGS" >&6
18362 # Check whether --enable-fully-dynamic-string or --disable-fully-dynamic-string was given.
18363 if test "${enable_fully_dynamic_string+set}" = set; then
18364 enableval="$enable_fully_dynamic_string"
18366 case "$enableval" in
18367 yes|no) ;;
18368 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&5
18369 echo "$as_me: error: Argument to enable/disable fully-dynamic-string must be yes or no" >&2;}
18370 { (exit 1); exit 1; }; } ;;
18371 esac
18373 else
18374 enable_fully_dynamic_string=no
18377 if test $enable_fully_dynamic_string = yes; then
18379 cat >>confdefs.h <<\_ACEOF
18380 #define _GLIBCXX_FULLY_DYNAMIC_STRING 1
18381 _ACEOF
18386 # Checks for operating systems support that doesn't require linking.
18389 echo "$as_me:$LINENO: checking for EOWNERDEAD" >&5
18390 echo $ECHO_N "checking for EOWNERDEAD... $ECHO_C" >&6
18391 if test "${glibcxx_cv_system_error1+set}" = set; then
18392 echo $ECHO_N "(cached) $ECHO_C" >&6
18393 else
18395 cat >conftest.$ac_ext <<_ACEOF
18396 /* confdefs.h. */
18397 _ACEOF
18398 cat confdefs.h >>conftest.$ac_ext
18399 cat >>conftest.$ac_ext <<_ACEOF
18400 /* end confdefs.h. */
18401 #include <errno.h>
18403 main ()
18405 int i = EOWNERDEAD;
18407 return 0;
18409 _ACEOF
18410 rm -f conftest.$ac_objext
18411 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18412 (eval $ac_compile) 2>conftest.er1
18413 ac_status=$?
18414 grep -v '^ *+' conftest.er1 >conftest.err
18415 rm -f conftest.er1
18416 cat conftest.err >&5
18417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18418 (exit $ac_status); } &&
18419 { ac_try='test -z "$ac_c_werror_flag"
18420 || test ! -s conftest.err'
18421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18422 (eval $ac_try) 2>&5
18423 ac_status=$?
18424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18425 (exit $ac_status); }; } &&
18426 { ac_try='test -s conftest.$ac_objext'
18427 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18428 (eval $ac_try) 2>&5
18429 ac_status=$?
18430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18431 (exit $ac_status); }; }; then
18432 glibcxx_cv_system_error1=yes
18433 else
18434 echo "$as_me: failed program was:" >&5
18435 sed 's/^/| /' conftest.$ac_ext >&5
18437 glibcxx_cv_system_error1=no
18439 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18443 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error1" >&5
18444 echo "${ECHO_T}$glibcxx_cv_system_error1" >&6
18445 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18447 cat >>confdefs.h <<\_ACEOF
18448 #define HAVE_EOWNERDEAD 1
18449 _ACEOF
18452 echo "$as_me:$LINENO: checking for ENOTRECOVERABLE" >&5
18453 echo $ECHO_N "checking for ENOTRECOVERABLE... $ECHO_C" >&6
18454 if test "${glibcxx_cv_system_error2+set}" = set; then
18455 echo $ECHO_N "(cached) $ECHO_C" >&6
18456 else
18458 cat >conftest.$ac_ext <<_ACEOF
18459 /* confdefs.h. */
18460 _ACEOF
18461 cat confdefs.h >>conftest.$ac_ext
18462 cat >>conftest.$ac_ext <<_ACEOF
18463 /* end confdefs.h. */
18464 #include <errno.h>
18466 main ()
18468 int i = ENOTRECOVERABLE;
18470 return 0;
18472 _ACEOF
18473 rm -f conftest.$ac_objext
18474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18475 (eval $ac_compile) 2>conftest.er1
18476 ac_status=$?
18477 grep -v '^ *+' conftest.er1 >conftest.err
18478 rm -f conftest.er1
18479 cat conftest.err >&5
18480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18481 (exit $ac_status); } &&
18482 { ac_try='test -z "$ac_c_werror_flag"
18483 || test ! -s conftest.err'
18484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18485 (eval $ac_try) 2>&5
18486 ac_status=$?
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); }; } &&
18489 { ac_try='test -s conftest.$ac_objext'
18490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18491 (eval $ac_try) 2>&5
18492 ac_status=$?
18493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18494 (exit $ac_status); }; }; then
18495 glibcxx_cv_system_error2=yes
18496 else
18497 echo "$as_me: failed program was:" >&5
18498 sed 's/^/| /' conftest.$ac_ext >&5
18500 glibcxx_cv_system_error2=no
18502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18506 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error2" >&5
18507 echo "${ECHO_T}$glibcxx_cv_system_error2" >&6
18508 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18510 cat >>confdefs.h <<\_ACEOF
18511 #define HAVE_ENOTRECOVERABLE 1
18512 _ACEOF
18515 echo "$as_me:$LINENO: checking for ENOLINK" >&5
18516 echo $ECHO_N "checking for ENOLINK... $ECHO_C" >&6
18517 if test "${glibcxx_cv_system_error3+set}" = set; then
18518 echo $ECHO_N "(cached) $ECHO_C" >&6
18519 else
18521 cat >conftest.$ac_ext <<_ACEOF
18522 /* confdefs.h. */
18523 _ACEOF
18524 cat confdefs.h >>conftest.$ac_ext
18525 cat >>conftest.$ac_ext <<_ACEOF
18526 /* end confdefs.h. */
18527 #include <errno.h>
18529 main ()
18531 int i = ENOLINK;
18533 return 0;
18535 _ACEOF
18536 rm -f conftest.$ac_objext
18537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18538 (eval $ac_compile) 2>conftest.er1
18539 ac_status=$?
18540 grep -v '^ *+' conftest.er1 >conftest.err
18541 rm -f conftest.er1
18542 cat conftest.err >&5
18543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18544 (exit $ac_status); } &&
18545 { ac_try='test -z "$ac_c_werror_flag"
18546 || test ! -s conftest.err'
18547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18548 (eval $ac_try) 2>&5
18549 ac_status=$?
18550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18551 (exit $ac_status); }; } &&
18552 { ac_try='test -s conftest.$ac_objext'
18553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18554 (eval $ac_try) 2>&5
18555 ac_status=$?
18556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18557 (exit $ac_status); }; }; then
18558 glibcxx_cv_system_error3=yes
18559 else
18560 echo "$as_me: failed program was:" >&5
18561 sed 's/^/| /' conftest.$ac_ext >&5
18563 glibcxx_cv_system_error3=no
18565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18569 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error3" >&5
18570 echo "${ECHO_T}$glibcxx_cv_system_error3" >&6
18571 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18573 cat >>confdefs.h <<\_ACEOF
18574 #define HAVE_ENOLINK 1
18575 _ACEOF
18578 echo "$as_me:$LINENO: checking for EPROTO" >&5
18579 echo $ECHO_N "checking for EPROTO... $ECHO_C" >&6
18580 if test "${glibcxx_cv_system_error4+set}" = set; then
18581 echo $ECHO_N "(cached) $ECHO_C" >&6
18582 else
18584 cat >conftest.$ac_ext <<_ACEOF
18585 /* confdefs.h. */
18586 _ACEOF
18587 cat confdefs.h >>conftest.$ac_ext
18588 cat >>conftest.$ac_ext <<_ACEOF
18589 /* end confdefs.h. */
18590 #include <errno.h>
18592 main ()
18594 int i = EPROTO;
18596 return 0;
18598 _ACEOF
18599 rm -f conftest.$ac_objext
18600 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18601 (eval $ac_compile) 2>conftest.er1
18602 ac_status=$?
18603 grep -v '^ *+' conftest.er1 >conftest.err
18604 rm -f conftest.er1
18605 cat conftest.err >&5
18606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18607 (exit $ac_status); } &&
18608 { ac_try='test -z "$ac_c_werror_flag"
18609 || test ! -s conftest.err'
18610 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18611 (eval $ac_try) 2>&5
18612 ac_status=$?
18613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18614 (exit $ac_status); }; } &&
18615 { ac_try='test -s conftest.$ac_objext'
18616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18617 (eval $ac_try) 2>&5
18618 ac_status=$?
18619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18620 (exit $ac_status); }; }; then
18621 glibcxx_cv_system_error4=yes
18622 else
18623 echo "$as_me: failed program was:" >&5
18624 sed 's/^/| /' conftest.$ac_ext >&5
18626 glibcxx_cv_system_error4=no
18628 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18632 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error4" >&5
18633 echo "${ECHO_T}$glibcxx_cv_system_error4" >&6
18634 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18636 cat >>confdefs.h <<\_ACEOF
18637 #define HAVE_EPROTO 1
18638 _ACEOF
18641 echo "$as_me:$LINENO: checking for ENODATA" >&5
18642 echo $ECHO_N "checking for ENODATA... $ECHO_C" >&6
18643 if test "${glibcxx_cv_system_error5+set}" = set; then
18644 echo $ECHO_N "(cached) $ECHO_C" >&6
18645 else
18647 cat >conftest.$ac_ext <<_ACEOF
18648 /* confdefs.h. */
18649 _ACEOF
18650 cat confdefs.h >>conftest.$ac_ext
18651 cat >>conftest.$ac_ext <<_ACEOF
18652 /* end confdefs.h. */
18653 #include <errno.h>
18655 main ()
18657 int i = ENODATA;
18659 return 0;
18661 _ACEOF
18662 rm -f conftest.$ac_objext
18663 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18664 (eval $ac_compile) 2>conftest.er1
18665 ac_status=$?
18666 grep -v '^ *+' conftest.er1 >conftest.err
18667 rm -f conftest.er1
18668 cat conftest.err >&5
18669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18670 (exit $ac_status); } &&
18671 { ac_try='test -z "$ac_c_werror_flag"
18672 || test ! -s conftest.err'
18673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18674 (eval $ac_try) 2>&5
18675 ac_status=$?
18676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18677 (exit $ac_status); }; } &&
18678 { ac_try='test -s conftest.$ac_objext'
18679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18680 (eval $ac_try) 2>&5
18681 ac_status=$?
18682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18683 (exit $ac_status); }; }; then
18684 glibcxx_cv_system_error5=yes
18685 else
18686 echo "$as_me: failed program was:" >&5
18687 sed 's/^/| /' conftest.$ac_ext >&5
18689 glibcxx_cv_system_error5=no
18691 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18695 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error5" >&5
18696 echo "${ECHO_T}$glibcxx_cv_system_error5" >&6
18697 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18699 cat >>confdefs.h <<\_ACEOF
18700 #define HAVE_ENODATA 1
18701 _ACEOF
18704 echo "$as_me:$LINENO: checking for ENOSR" >&5
18705 echo $ECHO_N "checking for ENOSR... $ECHO_C" >&6
18706 if test "${glibcxx_cv_system_error6+set}" = set; then
18707 echo $ECHO_N "(cached) $ECHO_C" >&6
18708 else
18710 cat >conftest.$ac_ext <<_ACEOF
18711 /* confdefs.h. */
18712 _ACEOF
18713 cat confdefs.h >>conftest.$ac_ext
18714 cat >>conftest.$ac_ext <<_ACEOF
18715 /* end confdefs.h. */
18716 #include <errno.h>
18718 main ()
18720 int i = ENOSR;
18722 return 0;
18724 _ACEOF
18725 rm -f conftest.$ac_objext
18726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18727 (eval $ac_compile) 2>conftest.er1
18728 ac_status=$?
18729 grep -v '^ *+' conftest.er1 >conftest.err
18730 rm -f conftest.er1
18731 cat conftest.err >&5
18732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18733 (exit $ac_status); } &&
18734 { ac_try='test -z "$ac_c_werror_flag"
18735 || test ! -s conftest.err'
18736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18737 (eval $ac_try) 2>&5
18738 ac_status=$?
18739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18740 (exit $ac_status); }; } &&
18741 { ac_try='test -s conftest.$ac_objext'
18742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18743 (eval $ac_try) 2>&5
18744 ac_status=$?
18745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18746 (exit $ac_status); }; }; then
18747 glibcxx_cv_system_error6=yes
18748 else
18749 echo "$as_me: failed program was:" >&5
18750 sed 's/^/| /' conftest.$ac_ext >&5
18752 glibcxx_cv_system_error6=no
18754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18758 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error6" >&5
18759 echo "${ECHO_T}$glibcxx_cv_system_error6" >&6
18760 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18762 cat >>confdefs.h <<\_ACEOF
18763 #define HAVE_ENOSR 1
18764 _ACEOF
18767 echo "$as_me:$LINENO: checking for ENOSTR" >&5
18768 echo $ECHO_N "checking for ENOSTR... $ECHO_C" >&6
18769 if test "${glibcxx_cv_system_error7+set}" = set; then
18770 echo $ECHO_N "(cached) $ECHO_C" >&6
18771 else
18773 cat >conftest.$ac_ext <<_ACEOF
18774 /* confdefs.h. */
18775 _ACEOF
18776 cat confdefs.h >>conftest.$ac_ext
18777 cat >>conftest.$ac_ext <<_ACEOF
18778 /* end confdefs.h. */
18779 #include <errno.h>
18781 main ()
18783 int i = ENOSTR;
18785 return 0;
18787 _ACEOF
18788 rm -f conftest.$ac_objext
18789 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18790 (eval $ac_compile) 2>conftest.er1
18791 ac_status=$?
18792 grep -v '^ *+' conftest.er1 >conftest.err
18793 rm -f conftest.er1
18794 cat conftest.err >&5
18795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18796 (exit $ac_status); } &&
18797 { ac_try='test -z "$ac_c_werror_flag"
18798 || test ! -s conftest.err'
18799 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18800 (eval $ac_try) 2>&5
18801 ac_status=$?
18802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18803 (exit $ac_status); }; } &&
18804 { ac_try='test -s conftest.$ac_objext'
18805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18806 (eval $ac_try) 2>&5
18807 ac_status=$?
18808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18809 (exit $ac_status); }; }; then
18810 glibcxx_cv_system_error7=yes
18811 else
18812 echo "$as_me: failed program was:" >&5
18813 sed 's/^/| /' conftest.$ac_ext >&5
18815 glibcxx_cv_system_error7=no
18817 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18821 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error7" >&5
18822 echo "${ECHO_T}$glibcxx_cv_system_error7" >&6
18823 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18825 cat >>confdefs.h <<\_ACEOF
18826 #define HAVE_ENOSTR 1
18827 _ACEOF
18830 echo "$as_me:$LINENO: checking for ETIME" >&5
18831 echo $ECHO_N "checking for ETIME... $ECHO_C" >&6
18832 if test "${glibcxx_cv_system_error8+set}" = set; then
18833 echo $ECHO_N "(cached) $ECHO_C" >&6
18834 else
18836 cat >conftest.$ac_ext <<_ACEOF
18837 /* confdefs.h. */
18838 _ACEOF
18839 cat confdefs.h >>conftest.$ac_ext
18840 cat >>conftest.$ac_ext <<_ACEOF
18841 /* end confdefs.h. */
18842 #include <errno.h>
18844 main ()
18846 int i = ETIME;
18848 return 0;
18850 _ACEOF
18851 rm -f conftest.$ac_objext
18852 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18853 (eval $ac_compile) 2>conftest.er1
18854 ac_status=$?
18855 grep -v '^ *+' conftest.er1 >conftest.err
18856 rm -f conftest.er1
18857 cat conftest.err >&5
18858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18859 (exit $ac_status); } &&
18860 { ac_try='test -z "$ac_c_werror_flag"
18861 || test ! -s conftest.err'
18862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18863 (eval $ac_try) 2>&5
18864 ac_status=$?
18865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18866 (exit $ac_status); }; } &&
18867 { ac_try='test -s conftest.$ac_objext'
18868 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18869 (eval $ac_try) 2>&5
18870 ac_status=$?
18871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18872 (exit $ac_status); }; }; then
18873 glibcxx_cv_system_error8=yes
18874 else
18875 echo "$as_me: failed program was:" >&5
18876 sed 's/^/| /' conftest.$ac_ext >&5
18878 glibcxx_cv_system_error8=no
18880 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18884 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error8" >&5
18885 echo "${ECHO_T}$glibcxx_cv_system_error8" >&6
18886 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18888 cat >>confdefs.h <<\_ACEOF
18889 #define HAVE_ETIME 1
18890 _ACEOF
18893 echo "$as_me:$LINENO: checking for EBADMSG" >&5
18894 echo $ECHO_N "checking for EBADMSG... $ECHO_C" >&6
18895 if test "${glibcxx_cv_system_error9+set}" = set; then
18896 echo $ECHO_N "(cached) $ECHO_C" >&6
18897 else
18899 cat >conftest.$ac_ext <<_ACEOF
18900 /* confdefs.h. */
18901 _ACEOF
18902 cat confdefs.h >>conftest.$ac_ext
18903 cat >>conftest.$ac_ext <<_ACEOF
18904 /* end confdefs.h. */
18905 #include <errno.h>
18907 main ()
18909 int i = EBADMSG;
18911 return 0;
18913 _ACEOF
18914 rm -f conftest.$ac_objext
18915 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18916 (eval $ac_compile) 2>conftest.er1
18917 ac_status=$?
18918 grep -v '^ *+' conftest.er1 >conftest.err
18919 rm -f conftest.er1
18920 cat conftest.err >&5
18921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18922 (exit $ac_status); } &&
18923 { ac_try='test -z "$ac_c_werror_flag"
18924 || test ! -s conftest.err'
18925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18926 (eval $ac_try) 2>&5
18927 ac_status=$?
18928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18929 (exit $ac_status); }; } &&
18930 { ac_try='test -s conftest.$ac_objext'
18931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18932 (eval $ac_try) 2>&5
18933 ac_status=$?
18934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18935 (exit $ac_status); }; }; then
18936 glibcxx_cv_system_error9=yes
18937 else
18938 echo "$as_me: failed program was:" >&5
18939 sed 's/^/| /' conftest.$ac_ext >&5
18941 glibcxx_cv_system_error9=no
18943 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
18947 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error9" >&5
18948 echo "${ECHO_T}$glibcxx_cv_system_error9" >&6
18949 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18951 cat >>confdefs.h <<\_ACEOF
18952 #define HAVE_EBADMSG 1
18953 _ACEOF
18956 echo "$as_me:$LINENO: checking for ECANCELED" >&5
18957 echo $ECHO_N "checking for ECANCELED... $ECHO_C" >&6
18958 if test "${glibcxx_cv_system_error10+set}" = set; then
18959 echo $ECHO_N "(cached) $ECHO_C" >&6
18960 else
18962 cat >conftest.$ac_ext <<_ACEOF
18963 /* confdefs.h. */
18964 _ACEOF
18965 cat confdefs.h >>conftest.$ac_ext
18966 cat >>conftest.$ac_ext <<_ACEOF
18967 /* end confdefs.h. */
18968 #include <errno.h>
18970 main ()
18972 int i = ECANCELED;
18974 return 0;
18976 _ACEOF
18977 rm -f conftest.$ac_objext
18978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18979 (eval $ac_compile) 2>conftest.er1
18980 ac_status=$?
18981 grep -v '^ *+' conftest.er1 >conftest.err
18982 rm -f conftest.er1
18983 cat conftest.err >&5
18984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18985 (exit $ac_status); } &&
18986 { ac_try='test -z "$ac_c_werror_flag"
18987 || test ! -s conftest.err'
18988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18989 (eval $ac_try) 2>&5
18990 ac_status=$?
18991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18992 (exit $ac_status); }; } &&
18993 { ac_try='test -s conftest.$ac_objext'
18994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
18995 (eval $ac_try) 2>&5
18996 ac_status=$?
18997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18998 (exit $ac_status); }; }; then
18999 glibcxx_cv_system_error10=yes
19000 else
19001 echo "$as_me: failed program was:" >&5
19002 sed 's/^/| /' conftest.$ac_ext >&5
19004 glibcxx_cv_system_error10=no
19006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19010 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error10" >&5
19011 echo "${ECHO_T}$glibcxx_cv_system_error10" >&6
19012 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19014 cat >>confdefs.h <<\_ACEOF
19015 #define HAVE_ECANCELED 1
19016 _ACEOF
19019 echo "$as_me:$LINENO: checking for EOVERFLOW" >&5
19020 echo $ECHO_N "checking for EOVERFLOW... $ECHO_C" >&6
19021 if test "${glibcxx_cv_system_error11+set}" = set; then
19022 echo $ECHO_N "(cached) $ECHO_C" >&6
19023 else
19025 cat >conftest.$ac_ext <<_ACEOF
19026 /* confdefs.h. */
19027 _ACEOF
19028 cat confdefs.h >>conftest.$ac_ext
19029 cat >>conftest.$ac_ext <<_ACEOF
19030 /* end confdefs.h. */
19031 #include <errno.h>
19033 main ()
19035 int i = EOVERFLOW;
19037 return 0;
19039 _ACEOF
19040 rm -f conftest.$ac_objext
19041 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19042 (eval $ac_compile) 2>conftest.er1
19043 ac_status=$?
19044 grep -v '^ *+' conftest.er1 >conftest.err
19045 rm -f conftest.er1
19046 cat conftest.err >&5
19047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19048 (exit $ac_status); } &&
19049 { ac_try='test -z "$ac_c_werror_flag"
19050 || test ! -s conftest.err'
19051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19052 (eval $ac_try) 2>&5
19053 ac_status=$?
19054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19055 (exit $ac_status); }; } &&
19056 { ac_try='test -s conftest.$ac_objext'
19057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19058 (eval $ac_try) 2>&5
19059 ac_status=$?
19060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19061 (exit $ac_status); }; }; then
19062 glibcxx_cv_system_error11=yes
19063 else
19064 echo "$as_me: failed program was:" >&5
19065 sed 's/^/| /' conftest.$ac_ext >&5
19067 glibcxx_cv_system_error11=no
19069 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19073 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error11" >&5
19074 echo "${ECHO_T}$glibcxx_cv_system_error11" >&6
19075 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19077 cat >>confdefs.h <<\_ACEOF
19078 #define HAVE_EOVERFLOW 1
19079 _ACEOF
19082 echo "$as_me:$LINENO: checking for ENOTSUP" >&5
19083 echo $ECHO_N "checking for ENOTSUP... $ECHO_C" >&6
19084 if test "${glibcxx_cv_system_error12+set}" = set; then
19085 echo $ECHO_N "(cached) $ECHO_C" >&6
19086 else
19088 cat >conftest.$ac_ext <<_ACEOF
19089 /* confdefs.h. */
19090 _ACEOF
19091 cat confdefs.h >>conftest.$ac_ext
19092 cat >>conftest.$ac_ext <<_ACEOF
19093 /* end confdefs.h. */
19094 #include <errno.h>
19096 main ()
19098 int i = ENOTSUP;
19100 return 0;
19102 _ACEOF
19103 rm -f conftest.$ac_objext
19104 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19105 (eval $ac_compile) 2>conftest.er1
19106 ac_status=$?
19107 grep -v '^ *+' conftest.er1 >conftest.err
19108 rm -f conftest.er1
19109 cat conftest.err >&5
19110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19111 (exit $ac_status); } &&
19112 { ac_try='test -z "$ac_c_werror_flag"
19113 || test ! -s conftest.err'
19114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19115 (eval $ac_try) 2>&5
19116 ac_status=$?
19117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19118 (exit $ac_status); }; } &&
19119 { ac_try='test -s conftest.$ac_objext'
19120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19121 (eval $ac_try) 2>&5
19122 ac_status=$?
19123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19124 (exit $ac_status); }; }; then
19125 glibcxx_cv_system_error12=yes
19126 else
19127 echo "$as_me: failed program was:" >&5
19128 sed 's/^/| /' conftest.$ac_ext >&5
19130 glibcxx_cv_system_error12=no
19132 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19136 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error12" >&5
19137 echo "${ECHO_T}$glibcxx_cv_system_error12" >&6
19138 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19140 cat >>confdefs.h <<\_ACEOF
19141 #define HAVE_ENOTSUP 1
19142 _ACEOF
19145 echo "$as_me:$LINENO: checking for EIDRM" >&5
19146 echo $ECHO_N "checking for EIDRM... $ECHO_C" >&6
19147 if test "${glibcxx_cv_system_error13+set}" = set; then
19148 echo $ECHO_N "(cached) $ECHO_C" >&6
19149 else
19151 cat >conftest.$ac_ext <<_ACEOF
19152 /* confdefs.h. */
19153 _ACEOF
19154 cat confdefs.h >>conftest.$ac_ext
19155 cat >>conftest.$ac_ext <<_ACEOF
19156 /* end confdefs.h. */
19157 #include <errno.h>
19159 main ()
19161 int i = EIDRM;
19163 return 0;
19165 _ACEOF
19166 rm -f conftest.$ac_objext
19167 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19168 (eval $ac_compile) 2>conftest.er1
19169 ac_status=$?
19170 grep -v '^ *+' conftest.er1 >conftest.err
19171 rm -f conftest.er1
19172 cat conftest.err >&5
19173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19174 (exit $ac_status); } &&
19175 { ac_try='test -z "$ac_c_werror_flag"
19176 || test ! -s conftest.err'
19177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19178 (eval $ac_try) 2>&5
19179 ac_status=$?
19180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19181 (exit $ac_status); }; } &&
19182 { ac_try='test -s conftest.$ac_objext'
19183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19184 (eval $ac_try) 2>&5
19185 ac_status=$?
19186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19187 (exit $ac_status); }; }; then
19188 glibcxx_cv_system_error13=yes
19189 else
19190 echo "$as_me: failed program was:" >&5
19191 sed 's/^/| /' conftest.$ac_ext >&5
19193 glibcxx_cv_system_error13=no
19195 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19199 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error13" >&5
19200 echo "${ECHO_T}$glibcxx_cv_system_error13" >&6
19201 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19203 cat >>confdefs.h <<\_ACEOF
19204 #define HAVE_EIDRM 1
19205 _ACEOF
19208 echo "$as_me:$LINENO: checking for ETXTBSY" >&5
19209 echo $ECHO_N "checking for ETXTBSY... $ECHO_C" >&6
19210 if test "${glibcxx_cv_system_error14+set}" = set; then
19211 echo $ECHO_N "(cached) $ECHO_C" >&6
19212 else
19214 cat >conftest.$ac_ext <<_ACEOF
19215 /* confdefs.h. */
19216 _ACEOF
19217 cat confdefs.h >>conftest.$ac_ext
19218 cat >>conftest.$ac_ext <<_ACEOF
19219 /* end confdefs.h. */
19220 #include <errno.h>
19222 main ()
19224 int i = ETXTBSY;
19226 return 0;
19228 _ACEOF
19229 rm -f conftest.$ac_objext
19230 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19231 (eval $ac_compile) 2>conftest.er1
19232 ac_status=$?
19233 grep -v '^ *+' conftest.er1 >conftest.err
19234 rm -f conftest.er1
19235 cat conftest.err >&5
19236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19237 (exit $ac_status); } &&
19238 { ac_try='test -z "$ac_c_werror_flag"
19239 || test ! -s conftest.err'
19240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19241 (eval $ac_try) 2>&5
19242 ac_status=$?
19243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19244 (exit $ac_status); }; } &&
19245 { ac_try='test -s conftest.$ac_objext'
19246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19247 (eval $ac_try) 2>&5
19248 ac_status=$?
19249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19250 (exit $ac_status); }; }; then
19251 glibcxx_cv_system_error14=yes
19252 else
19253 echo "$as_me: failed program was:" >&5
19254 sed 's/^/| /' conftest.$ac_ext >&5
19256 glibcxx_cv_system_error14=no
19258 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19262 echo "$as_me:$LINENO: result: $glibcxx_cv_system_error14" >&5
19263 echo "${ECHO_T}$glibcxx_cv_system_error14" >&6
19264 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19266 cat >>confdefs.h <<\_ACEOF
19267 #define HAVE_ETXTBSY 1
19268 _ACEOF
19274 # For the streamoff typedef.
19279 ac_ext=cc
19280 ac_cpp='$CXXCPP $CPPFLAGS'
19281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19286 echo "$as_me:$LINENO: checking for int64_t" >&5
19287 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
19288 if test "${glibcxx_cv_INT64_T+set}" = set; then
19289 echo $ECHO_N "(cached) $ECHO_C" >&6
19290 else
19292 cat >conftest.$ac_ext <<_ACEOF
19293 /* confdefs.h. */
19294 _ACEOF
19295 cat confdefs.h >>conftest.$ac_ext
19296 cat >>conftest.$ac_ext <<_ACEOF
19297 /* end confdefs.h. */
19298 #include <stdint.h>
19300 main ()
19302 int64_t var;
19304 return 0;
19306 _ACEOF
19307 rm -f conftest.$ac_objext
19308 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19309 (eval $ac_compile) 2>conftest.er1
19310 ac_status=$?
19311 grep -v '^ *+' conftest.er1 >conftest.err
19312 rm -f conftest.er1
19313 cat conftest.err >&5
19314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19315 (exit $ac_status); } &&
19316 { ac_try='test -z "$ac_cxx_werror_flag"
19317 || test ! -s conftest.err'
19318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19319 (eval $ac_try) 2>&5
19320 ac_status=$?
19321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19322 (exit $ac_status); }; } &&
19323 { ac_try='test -s conftest.$ac_objext'
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); }; }; then
19329 glibcxx_cv_INT64_T=yes
19330 else
19331 echo "$as_me: failed program was:" >&5
19332 sed 's/^/| /' conftest.$ac_ext >&5
19334 glibcxx_cv_INT64_T=no
19336 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19341 if test $glibcxx_cv_INT64_T = yes; then
19343 cat >>confdefs.h <<\_ACEOF
19344 #define HAVE_INT64_T 1
19345 _ACEOF
19347 echo "$as_me:$LINENO: result: $glibcxx_cv_INT64_T" >&5
19348 echo "${ECHO_T}$glibcxx_cv_INT64_T" >&6
19350 echo "$as_me:$LINENO: checking for int64_t as long" >&5
19351 echo $ECHO_N "checking for int64_t as long... $ECHO_C" >&6
19352 if test "${glibcxx_cv_int64_t_long+set}" = set; then
19353 echo $ECHO_N "(cached) $ECHO_C" >&6
19354 else
19356 cat >conftest.$ac_ext <<_ACEOF
19357 /* confdefs.h. */
19358 _ACEOF
19359 cat confdefs.h >>conftest.$ac_ext
19360 cat >>conftest.$ac_ext <<_ACEOF
19361 /* end confdefs.h. */
19362 #include <stdint.h>
19363 template<typename, typename> struct same { enum { value = -1 }; };
19364 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19365 int array[same<int64_t, long>::value];
19367 main ()
19371 return 0;
19373 _ACEOF
19374 rm -f conftest.$ac_objext
19375 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19376 (eval $ac_compile) 2>conftest.er1
19377 ac_status=$?
19378 grep -v '^ *+' conftest.er1 >conftest.err
19379 rm -f conftest.er1
19380 cat conftest.err >&5
19381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19382 (exit $ac_status); } &&
19383 { ac_try='test -z "$ac_cxx_werror_flag"
19384 || test ! -s conftest.err'
19385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19386 (eval $ac_try) 2>&5
19387 ac_status=$?
19388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19389 (exit $ac_status); }; } &&
19390 { ac_try='test -s conftest.$ac_objext'
19391 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19392 (eval $ac_try) 2>&5
19393 ac_status=$?
19394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19395 (exit $ac_status); }; }; then
19396 glibcxx_cv_int64_t_long=yes
19397 else
19398 echo "$as_me: failed program was:" >&5
19399 sed 's/^/| /' conftest.$ac_ext >&5
19401 glibcxx_cv_int64_t_long=no
19403 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19408 if test $glibcxx_cv_int64_t_long = yes; then
19410 cat >>confdefs.h <<\_ACEOF
19411 #define HAVE_INT64_T_LONG 1
19412 _ACEOF
19414 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long" >&5
19415 echo "${ECHO_T}$glibcxx_cv_int64_t_long" >&6
19418 echo "$as_me:$LINENO: checking for int64_t as long long" >&5
19419 echo $ECHO_N "checking for int64_t as long long... $ECHO_C" >&6
19420 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then
19421 echo $ECHO_N "(cached) $ECHO_C" >&6
19422 else
19424 cat >conftest.$ac_ext <<_ACEOF
19425 /* confdefs.h. */
19426 _ACEOF
19427 cat confdefs.h >>conftest.$ac_ext
19428 cat >>conftest.$ac_ext <<_ACEOF
19429 /* end confdefs.h. */
19430 #include <stdint.h>
19431 template<typename, typename> struct same { enum { value = -1 }; };
19432 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19433 int array[same<int64_t, long long>::value];
19435 main ()
19439 return 0;
19441 _ACEOF
19442 rm -f conftest.$ac_objext
19443 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19444 (eval $ac_compile) 2>conftest.er1
19445 ac_status=$?
19446 grep -v '^ *+' conftest.er1 >conftest.err
19447 rm -f conftest.er1
19448 cat conftest.err >&5
19449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19450 (exit $ac_status); } &&
19451 { ac_try='test -z "$ac_cxx_werror_flag"
19452 || test ! -s conftest.err'
19453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19454 (eval $ac_try) 2>&5
19455 ac_status=$?
19456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19457 (exit $ac_status); }; } &&
19458 { ac_try='test -s conftest.$ac_objext'
19459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19460 (eval $ac_try) 2>&5
19461 ac_status=$?
19462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19463 (exit $ac_status); }; }; then
19464 glibcxx_cv_int64_t_long_long=yes
19465 else
19466 echo "$as_me: failed program was:" >&5
19467 sed 's/^/| /' conftest.$ac_ext >&5
19469 glibcxx_cv_int64_t_long_long=no
19471 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19476 if test $glibcxx_cv_int64_t_long_long = yes; then
19478 cat >>confdefs.h <<\_ACEOF
19479 #define HAVE_INT64_T_LONG_LONG 1
19480 _ACEOF
19482 echo "$as_me:$LINENO: result: $glibcxx_cv_int64_t_long_long" >&5
19483 echo "${ECHO_T}$glibcxx_cv_int64_t_long_long" >&6
19487 ac_ext=c
19488 ac_cpp='$CPP $CPPFLAGS'
19489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19495 # For LFS support.
19499 ac_ext=cc
19500 ac_cpp='$CXXCPP $CPPFLAGS'
19501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19505 ac_save_CXXFLAGS="$CXXFLAGS"
19506 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19507 echo "$as_me:$LINENO: checking for LFS support" >&5
19508 echo $ECHO_N "checking for LFS support... $ECHO_C" >&6
19509 if test "${glibcxx_cv_LFS+set}" = set; then
19510 echo $ECHO_N "(cached) $ECHO_C" >&6
19511 else
19513 if test x$gcc_no_link = xyes; then
19514 cat >conftest.$ac_ext <<_ACEOF
19515 /* confdefs.h. */
19516 _ACEOF
19517 cat confdefs.h >>conftest.$ac_ext
19518 cat >>conftest.$ac_ext <<_ACEOF
19519 /* end confdefs.h. */
19520 #include <unistd.h>
19521 #include <stdio.h>
19522 #include <sys/stat.h>
19525 main ()
19527 FILE* fp;
19528 fopen64("t", "w");
19529 fseeko64(fp, 0, SEEK_CUR);
19530 ftello64(fp);
19531 lseek64(1, 0, SEEK_CUR);
19532 struct stat64 buf;
19533 fstat64(1, &buf);
19535 return 0;
19537 _ACEOF
19538 rm -f conftest.$ac_objext
19539 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19540 (eval $ac_compile) 2>conftest.er1
19541 ac_status=$?
19542 grep -v '^ *+' conftest.er1 >conftest.err
19543 rm -f conftest.er1
19544 cat conftest.err >&5
19545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19546 (exit $ac_status); } &&
19547 { ac_try='test -z "$ac_cxx_werror_flag"
19548 || test ! -s conftest.err'
19549 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19550 (eval $ac_try) 2>&5
19551 ac_status=$?
19552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19553 (exit $ac_status); }; } &&
19554 { ac_try='test -s conftest.$ac_objext'
19555 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19556 (eval $ac_try) 2>&5
19557 ac_status=$?
19558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19559 (exit $ac_status); }; }; then
19560 glibcxx_cv_LFS=yes
19561 else
19562 echo "$as_me: failed program was:" >&5
19563 sed 's/^/| /' conftest.$ac_ext >&5
19565 glibcxx_cv_LFS=no
19567 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19568 else
19569 if test x$gcc_no_link = xyes; then
19570 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19571 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19572 { (exit 1); exit 1; }; }
19574 cat >conftest.$ac_ext <<_ACEOF
19575 /* confdefs.h. */
19576 _ACEOF
19577 cat confdefs.h >>conftest.$ac_ext
19578 cat >>conftest.$ac_ext <<_ACEOF
19579 /* end confdefs.h. */
19580 #include <unistd.h>
19581 #include <stdio.h>
19582 #include <sys/stat.h>
19585 main ()
19587 FILE* fp;
19588 fopen64("t", "w");
19589 fseeko64(fp, 0, SEEK_CUR);
19590 ftello64(fp);
19591 lseek64(1, 0, SEEK_CUR);
19592 struct stat64 buf;
19593 fstat64(1, &buf);
19595 return 0;
19597 _ACEOF
19598 rm -f conftest.$ac_objext conftest$ac_exeext
19599 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19600 (eval $ac_link) 2>conftest.er1
19601 ac_status=$?
19602 grep -v '^ *+' conftest.er1 >conftest.err
19603 rm -f conftest.er1
19604 cat conftest.err >&5
19605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19606 (exit $ac_status); } &&
19607 { ac_try='test -z "$ac_cxx_werror_flag"
19608 || test ! -s conftest.err'
19609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19610 (eval $ac_try) 2>&5
19611 ac_status=$?
19612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19613 (exit $ac_status); }; } &&
19614 { ac_try='test -s conftest$ac_exeext'
19615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19616 (eval $ac_try) 2>&5
19617 ac_status=$?
19618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19619 (exit $ac_status); }; }; then
19620 glibcxx_cv_LFS=yes
19621 else
19622 echo "$as_me: failed program was:" >&5
19623 sed 's/^/| /' conftest.$ac_ext >&5
19625 glibcxx_cv_LFS=no
19627 rm -f conftest.err conftest.$ac_objext \
19628 conftest$ac_exeext conftest.$ac_ext
19633 if test $glibcxx_cv_LFS = yes; then
19635 cat >>confdefs.h <<\_ACEOF
19636 #define _GLIBCXX_USE_LFS 1
19637 _ACEOF
19640 echo "$as_me:$LINENO: result: $glibcxx_cv_LFS" >&5
19641 echo "${ECHO_T}$glibcxx_cv_LFS" >&6
19642 CXXFLAGS="$ac_save_CXXFLAGS"
19643 ac_ext=c
19644 ac_cpp='$CPP $CPPFLAGS'
19645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19651 # For showmanyc_helper().
19654 for ac_header in sys/ioctl.h sys/filio.h
19656 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
19657 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19658 echo "$as_me:$LINENO: checking for $ac_header" >&5
19659 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19660 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19661 echo $ECHO_N "(cached) $ECHO_C" >&6
19663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19664 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19665 else
19666 # Is the header compilable?
19667 echo "$as_me:$LINENO: checking $ac_header usability" >&5
19668 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
19669 cat >conftest.$ac_ext <<_ACEOF
19670 /* confdefs.h. */
19671 _ACEOF
19672 cat confdefs.h >>conftest.$ac_ext
19673 cat >>conftest.$ac_ext <<_ACEOF
19674 /* end confdefs.h. */
19675 $ac_includes_default
19676 #include <$ac_header>
19677 _ACEOF
19678 rm -f conftest.$ac_objext
19679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19680 (eval $ac_compile) 2>conftest.er1
19681 ac_status=$?
19682 grep -v '^ *+' conftest.er1 >conftest.err
19683 rm -f conftest.er1
19684 cat conftest.err >&5
19685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19686 (exit $ac_status); } &&
19687 { ac_try='test -z "$ac_c_werror_flag"
19688 || test ! -s conftest.err'
19689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19690 (eval $ac_try) 2>&5
19691 ac_status=$?
19692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19693 (exit $ac_status); }; } &&
19694 { ac_try='test -s conftest.$ac_objext'
19695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19696 (eval $ac_try) 2>&5
19697 ac_status=$?
19698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19699 (exit $ac_status); }; }; then
19700 ac_header_compiler=yes
19701 else
19702 echo "$as_me: failed program was:" >&5
19703 sed 's/^/| /' conftest.$ac_ext >&5
19705 ac_header_compiler=no
19707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19708 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
19709 echo "${ECHO_T}$ac_header_compiler" >&6
19711 # Is the header present?
19712 echo "$as_me:$LINENO: checking $ac_header presence" >&5
19713 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
19714 cat >conftest.$ac_ext <<_ACEOF
19715 /* confdefs.h. */
19716 _ACEOF
19717 cat confdefs.h >>conftest.$ac_ext
19718 cat >>conftest.$ac_ext <<_ACEOF
19719 /* end confdefs.h. */
19720 #include <$ac_header>
19721 _ACEOF
19722 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
19723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
19724 ac_status=$?
19725 grep -v '^ *+' conftest.er1 >conftest.err
19726 rm -f conftest.er1
19727 cat conftest.err >&5
19728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19729 (exit $ac_status); } >/dev/null; then
19730 if test -s conftest.err; then
19731 ac_cpp_err=$ac_c_preproc_warn_flag
19732 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
19733 else
19734 ac_cpp_err=
19736 else
19737 ac_cpp_err=yes
19739 if test -z "$ac_cpp_err"; then
19740 ac_header_preproc=yes
19741 else
19742 echo "$as_me: failed program was:" >&5
19743 sed 's/^/| /' conftest.$ac_ext >&5
19745 ac_header_preproc=no
19747 rm -f conftest.err conftest.$ac_ext
19748 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
19749 echo "${ECHO_T}$ac_header_preproc" >&6
19751 # So? What about this header?
19752 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
19753 yes:no: )
19754 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
19755 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
19756 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
19757 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
19758 ac_header_preproc=yes
19760 no:yes:* )
19761 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
19762 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
19763 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
19764 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
19765 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
19766 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
19767 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
19768 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
19769 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
19770 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
19771 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
19772 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
19774 cat <<\_ASBOX
19775 ## ----------------------------------------- ##
19776 ## Report this to the package-unused lists. ##
19777 ## ----------------------------------------- ##
19778 _ASBOX
19780 sed "s/^/$as_me: WARNING: /" >&2
19782 esac
19783 echo "$as_me:$LINENO: checking for $ac_header" >&5
19784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
19785 if eval "test \"\${$as_ac_Header+set}\" = set"; then
19786 echo $ECHO_N "(cached) $ECHO_C" >&6
19787 else
19788 eval "$as_ac_Header=\$ac_header_preproc"
19790 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
19791 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
19794 if test `eval echo '${'$as_ac_Header'}'` = yes; then
19795 cat >>confdefs.h <<_ACEOF
19796 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
19797 _ACEOF
19801 done
19807 ac_ext=cc
19808 ac_cpp='$CXXCPP $CPPFLAGS'
19809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19813 ac_save_CXXFLAGS="$CXXFLAGS"
19814 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19816 echo "$as_me:$LINENO: checking for poll" >&5
19817 echo $ECHO_N "checking for poll... $ECHO_C" >&6
19818 if test "${glibcxx_cv_POLL+set}" = set; then
19819 echo $ECHO_N "(cached) $ECHO_C" >&6
19820 else
19822 if test x$gcc_no_link = xyes; then
19823 cat >conftest.$ac_ext <<_ACEOF
19824 /* confdefs.h. */
19825 _ACEOF
19826 cat confdefs.h >>conftest.$ac_ext
19827 cat >>conftest.$ac_ext <<_ACEOF
19828 /* end confdefs.h. */
19829 #include <poll.h>
19831 main ()
19833 struct pollfd pfd[1];
19834 pfd[0].events = POLLIN;
19835 poll(pfd, 1, 0);
19837 return 0;
19839 _ACEOF
19840 rm -f conftest.$ac_objext
19841 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19842 (eval $ac_compile) 2>conftest.er1
19843 ac_status=$?
19844 grep -v '^ *+' conftest.er1 >conftest.err
19845 rm -f conftest.er1
19846 cat conftest.err >&5
19847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19848 (exit $ac_status); } &&
19849 { ac_try='test -z "$ac_cxx_werror_flag"
19850 || test ! -s conftest.err'
19851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19852 (eval $ac_try) 2>&5
19853 ac_status=$?
19854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19855 (exit $ac_status); }; } &&
19856 { ac_try='test -s conftest.$ac_objext'
19857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19858 (eval $ac_try) 2>&5
19859 ac_status=$?
19860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19861 (exit $ac_status); }; }; then
19862 glibcxx_cv_POLL=yes
19863 else
19864 echo "$as_me: failed program was:" >&5
19865 sed 's/^/| /' conftest.$ac_ext >&5
19867 glibcxx_cv_POLL=no
19869 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
19870 else
19871 if test x$gcc_no_link = xyes; then
19872 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
19873 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
19874 { (exit 1); exit 1; }; }
19876 cat >conftest.$ac_ext <<_ACEOF
19877 /* confdefs.h. */
19878 _ACEOF
19879 cat confdefs.h >>conftest.$ac_ext
19880 cat >>conftest.$ac_ext <<_ACEOF
19881 /* end confdefs.h. */
19882 #include <poll.h>
19884 main ()
19886 struct pollfd pfd[1];
19887 pfd[0].events = POLLIN;
19888 poll(pfd, 1, 0);
19890 return 0;
19892 _ACEOF
19893 rm -f conftest.$ac_objext conftest$ac_exeext
19894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
19895 (eval $ac_link) 2>conftest.er1
19896 ac_status=$?
19897 grep -v '^ *+' conftest.er1 >conftest.err
19898 rm -f conftest.er1
19899 cat conftest.err >&5
19900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19901 (exit $ac_status); } &&
19902 { ac_try='test -z "$ac_cxx_werror_flag"
19903 || test ! -s conftest.err'
19904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19905 (eval $ac_try) 2>&5
19906 ac_status=$?
19907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19908 (exit $ac_status); }; } &&
19909 { ac_try='test -s conftest$ac_exeext'
19910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19911 (eval $ac_try) 2>&5
19912 ac_status=$?
19913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19914 (exit $ac_status); }; }; then
19915 glibcxx_cv_POLL=yes
19916 else
19917 echo "$as_me: failed program was:" >&5
19918 sed 's/^/| /' conftest.$ac_ext >&5
19920 glibcxx_cv_POLL=no
19922 rm -f conftest.err conftest.$ac_objext \
19923 conftest$ac_exeext conftest.$ac_ext
19928 if test $glibcxx_cv_POLL = yes; then
19930 cat >>confdefs.h <<\_ACEOF
19931 #define HAVE_POLL 1
19932 _ACEOF
19935 echo "$as_me:$LINENO: result: $glibcxx_cv_POLL" >&5
19936 echo "${ECHO_T}$glibcxx_cv_POLL" >&6
19938 CXXFLAGS="$ac_save_CXXFLAGS"
19939 ac_ext=c
19940 ac_cpp='$CPP $CPPFLAGS'
19941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19950 ac_ext=cc
19951 ac_cpp='$CXXCPP $CPPFLAGS'
19952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19956 ac_save_CXXFLAGS="$CXXFLAGS"
19957 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19959 echo "$as_me:$LINENO: checking for S_ISREG or S_IFREG" >&5
19960 echo $ECHO_N "checking for S_ISREG or S_IFREG... $ECHO_C" >&6
19961 if test "${glibcxx_cv_S_ISREG+set}" = set; then
19962 echo $ECHO_N "(cached) $ECHO_C" >&6
19963 else
19965 if test x$gcc_no_link = xyes; then
19966 cat >conftest.$ac_ext <<_ACEOF
19967 /* confdefs.h. */
19968 _ACEOF
19969 cat confdefs.h >>conftest.$ac_ext
19970 cat >>conftest.$ac_ext <<_ACEOF
19971 /* end confdefs.h. */
19972 #include <sys/stat.h>
19974 main ()
19976 struct stat buffer;
19977 fstat(0, &buffer);
19978 S_ISREG(buffer.st_mode);
19980 return 0;
19982 _ACEOF
19983 rm -f conftest.$ac_objext
19984 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
19985 (eval $ac_compile) 2>conftest.er1
19986 ac_status=$?
19987 grep -v '^ *+' conftest.er1 >conftest.err
19988 rm -f conftest.er1
19989 cat conftest.err >&5
19990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19991 (exit $ac_status); } &&
19992 { ac_try='test -z "$ac_cxx_werror_flag"
19993 || test ! -s conftest.err'
19994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19995 (eval $ac_try) 2>&5
19996 ac_status=$?
19997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19998 (exit $ac_status); }; } &&
19999 { ac_try='test -s conftest.$ac_objext'
20000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20001 (eval $ac_try) 2>&5
20002 ac_status=$?
20003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20004 (exit $ac_status); }; }; then
20005 glibcxx_cv_S_ISREG=yes
20006 else
20007 echo "$as_me: failed program was:" >&5
20008 sed 's/^/| /' conftest.$ac_ext >&5
20010 glibcxx_cv_S_ISREG=no
20012 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20013 else
20014 if test x$gcc_no_link = xyes; then
20015 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20016 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20017 { (exit 1); exit 1; }; }
20019 cat >conftest.$ac_ext <<_ACEOF
20020 /* confdefs.h. */
20021 _ACEOF
20022 cat confdefs.h >>conftest.$ac_ext
20023 cat >>conftest.$ac_ext <<_ACEOF
20024 /* end confdefs.h. */
20025 #include <sys/stat.h>
20027 main ()
20029 struct stat buffer;
20030 fstat(0, &buffer);
20031 S_ISREG(buffer.st_mode);
20033 return 0;
20035 _ACEOF
20036 rm -f conftest.$ac_objext conftest$ac_exeext
20037 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20038 (eval $ac_link) 2>conftest.er1
20039 ac_status=$?
20040 grep -v '^ *+' conftest.er1 >conftest.err
20041 rm -f conftest.er1
20042 cat conftest.err >&5
20043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20044 (exit $ac_status); } &&
20045 { ac_try='test -z "$ac_cxx_werror_flag"
20046 || test ! -s conftest.err'
20047 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20048 (eval $ac_try) 2>&5
20049 ac_status=$?
20050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20051 (exit $ac_status); }; } &&
20052 { ac_try='test -s conftest$ac_exeext'
20053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20054 (eval $ac_try) 2>&5
20055 ac_status=$?
20056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20057 (exit $ac_status); }; }; then
20058 glibcxx_cv_S_ISREG=yes
20059 else
20060 echo "$as_me: failed program was:" >&5
20061 sed 's/^/| /' conftest.$ac_ext >&5
20063 glibcxx_cv_S_ISREG=no
20065 rm -f conftest.err conftest.$ac_objext \
20066 conftest$ac_exeext conftest.$ac_ext
20071 if test "${glibcxx_cv_S_IFREG+set}" = set; then
20072 echo $ECHO_N "(cached) $ECHO_C" >&6
20073 else
20075 if test x$gcc_no_link = xyes; then
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 #include <sys/stat.h>
20084 main ()
20086 struct stat buffer;
20087 fstat(0, &buffer);
20088 S_IFREG & buffer.st_mode;
20090 return 0;
20092 _ACEOF
20093 rm -f conftest.$ac_objext
20094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20095 (eval $ac_compile) 2>conftest.er1
20096 ac_status=$?
20097 grep -v '^ *+' conftest.er1 >conftest.err
20098 rm -f conftest.er1
20099 cat conftest.err >&5
20100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20101 (exit $ac_status); } &&
20102 { ac_try='test -z "$ac_cxx_werror_flag"
20103 || test ! -s conftest.err'
20104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20105 (eval $ac_try) 2>&5
20106 ac_status=$?
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); }; } &&
20109 { ac_try='test -s conftest.$ac_objext'
20110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20111 (eval $ac_try) 2>&5
20112 ac_status=$?
20113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20114 (exit $ac_status); }; }; then
20115 glibcxx_cv_S_IFREG=yes
20116 else
20117 echo "$as_me: failed program was:" >&5
20118 sed 's/^/| /' conftest.$ac_ext >&5
20120 glibcxx_cv_S_IFREG=no
20122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20123 else
20124 if test x$gcc_no_link = xyes; then
20125 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20126 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20127 { (exit 1); exit 1; }; }
20129 cat >conftest.$ac_ext <<_ACEOF
20130 /* confdefs.h. */
20131 _ACEOF
20132 cat confdefs.h >>conftest.$ac_ext
20133 cat >>conftest.$ac_ext <<_ACEOF
20134 /* end confdefs.h. */
20135 #include <sys/stat.h>
20137 main ()
20139 struct stat buffer;
20140 fstat(0, &buffer);
20141 S_IFREG & buffer.st_mode;
20143 return 0;
20145 _ACEOF
20146 rm -f conftest.$ac_objext conftest$ac_exeext
20147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20148 (eval $ac_link) 2>conftest.er1
20149 ac_status=$?
20150 grep -v '^ *+' conftest.er1 >conftest.err
20151 rm -f conftest.er1
20152 cat conftest.err >&5
20153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20154 (exit $ac_status); } &&
20155 { ac_try='test -z "$ac_cxx_werror_flag"
20156 || test ! -s conftest.err'
20157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20158 (eval $ac_try) 2>&5
20159 ac_status=$?
20160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20161 (exit $ac_status); }; } &&
20162 { ac_try='test -s conftest$ac_exeext'
20163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20164 (eval $ac_try) 2>&5
20165 ac_status=$?
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); }; }; then
20168 glibcxx_cv_S_IFREG=yes
20169 else
20170 echo "$as_me: failed program was:" >&5
20171 sed 's/^/| /' conftest.$ac_ext >&5
20173 glibcxx_cv_S_IFREG=no
20175 rm -f conftest.err conftest.$ac_objext \
20176 conftest$ac_exeext conftest.$ac_ext
20181 res=no
20182 if test $glibcxx_cv_S_ISREG = yes; then
20184 cat >>confdefs.h <<\_ACEOF
20185 #define HAVE_S_ISREG 1
20186 _ACEOF
20188 res=S_ISREG
20189 elif test $glibcxx_cv_S_IFREG = yes; then
20191 cat >>confdefs.h <<\_ACEOF
20192 #define HAVE_S_IFREG 1
20193 _ACEOF
20195 res=S_IFREG
20197 echo "$as_me:$LINENO: result: $res" >&5
20198 echo "${ECHO_T}$res" >&6
20200 CXXFLAGS="$ac_save_CXXFLAGS"
20201 ac_ext=c
20202 ac_cpp='$CPP $CPPFLAGS'
20203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20209 # For xsputn_2().
20211 for ac_header in sys/uio.h
20213 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20214 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20215 echo "$as_me:$LINENO: checking for $ac_header" >&5
20216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20217 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20218 echo $ECHO_N "(cached) $ECHO_C" >&6
20220 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20221 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20222 else
20223 # Is the header compilable?
20224 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20225 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20226 cat >conftest.$ac_ext <<_ACEOF
20227 /* confdefs.h. */
20228 _ACEOF
20229 cat confdefs.h >>conftest.$ac_ext
20230 cat >>conftest.$ac_ext <<_ACEOF
20231 /* end confdefs.h. */
20232 $ac_includes_default
20233 #include <$ac_header>
20234 _ACEOF
20235 rm -f conftest.$ac_objext
20236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20237 (eval $ac_compile) 2>conftest.er1
20238 ac_status=$?
20239 grep -v '^ *+' conftest.er1 >conftest.err
20240 rm -f conftest.er1
20241 cat conftest.err >&5
20242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20243 (exit $ac_status); } &&
20244 { ac_try='test -z "$ac_c_werror_flag"
20245 || test ! -s conftest.err'
20246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20247 (eval $ac_try) 2>&5
20248 ac_status=$?
20249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20250 (exit $ac_status); }; } &&
20251 { ac_try='test -s conftest.$ac_objext'
20252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20253 (eval $ac_try) 2>&5
20254 ac_status=$?
20255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20256 (exit $ac_status); }; }; then
20257 ac_header_compiler=yes
20258 else
20259 echo "$as_me: failed program was:" >&5
20260 sed 's/^/| /' conftest.$ac_ext >&5
20262 ac_header_compiler=no
20264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20265 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20266 echo "${ECHO_T}$ac_header_compiler" >&6
20268 # Is the header present?
20269 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20270 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20271 cat >conftest.$ac_ext <<_ACEOF
20272 /* confdefs.h. */
20273 _ACEOF
20274 cat confdefs.h >>conftest.$ac_ext
20275 cat >>conftest.$ac_ext <<_ACEOF
20276 /* end confdefs.h. */
20277 #include <$ac_header>
20278 _ACEOF
20279 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20280 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20281 ac_status=$?
20282 grep -v '^ *+' conftest.er1 >conftest.err
20283 rm -f conftest.er1
20284 cat conftest.err >&5
20285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20286 (exit $ac_status); } >/dev/null; then
20287 if test -s conftest.err; then
20288 ac_cpp_err=$ac_c_preproc_warn_flag
20289 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20290 else
20291 ac_cpp_err=
20293 else
20294 ac_cpp_err=yes
20296 if test -z "$ac_cpp_err"; then
20297 ac_header_preproc=yes
20298 else
20299 echo "$as_me: failed program was:" >&5
20300 sed 's/^/| /' conftest.$ac_ext >&5
20302 ac_header_preproc=no
20304 rm -f conftest.err conftest.$ac_ext
20305 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20306 echo "${ECHO_T}$ac_header_preproc" >&6
20308 # So? What about this header?
20309 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
20310 yes:no: )
20311 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20312 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20313 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20314 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20315 ac_header_preproc=yes
20317 no:yes:* )
20318 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20319 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20320 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20321 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20322 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20323 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20324 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20325 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20326 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20327 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20328 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20329 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20331 cat <<\_ASBOX
20332 ## ----------------------------------------- ##
20333 ## Report this to the package-unused lists. ##
20334 ## ----------------------------------------- ##
20335 _ASBOX
20337 sed "s/^/$as_me: WARNING: /" >&2
20339 esac
20340 echo "$as_me:$LINENO: checking for $ac_header" >&5
20341 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20342 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20343 echo $ECHO_N "(cached) $ECHO_C" >&6
20344 else
20345 eval "$as_ac_Header=\$ac_header_preproc"
20347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20348 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20351 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20352 cat >>confdefs.h <<_ACEOF
20353 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20354 _ACEOF
20358 done
20364 ac_ext=cc
20365 ac_cpp='$CXXCPP $CPPFLAGS'
20366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20370 ac_save_CXXFLAGS="$CXXFLAGS"
20371 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20373 echo "$as_me:$LINENO: checking for writev" >&5
20374 echo $ECHO_N "checking for writev... $ECHO_C" >&6
20375 if test "${glibcxx_cv_WRITEV+set}" = set; then
20376 echo $ECHO_N "(cached) $ECHO_C" >&6
20377 else
20379 if test x$gcc_no_link = xyes; then
20380 cat >conftest.$ac_ext <<_ACEOF
20381 /* confdefs.h. */
20382 _ACEOF
20383 cat confdefs.h >>conftest.$ac_ext
20384 cat >>conftest.$ac_ext <<_ACEOF
20385 /* end confdefs.h. */
20386 #include <sys/uio.h>
20388 main ()
20390 struct iovec iov[2];
20391 writev(0, iov, 0);
20393 return 0;
20395 _ACEOF
20396 rm -f conftest.$ac_objext
20397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20398 (eval $ac_compile) 2>conftest.er1
20399 ac_status=$?
20400 grep -v '^ *+' conftest.er1 >conftest.err
20401 rm -f conftest.er1
20402 cat conftest.err >&5
20403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20404 (exit $ac_status); } &&
20405 { ac_try='test -z "$ac_cxx_werror_flag"
20406 || test ! -s conftest.err'
20407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20408 (eval $ac_try) 2>&5
20409 ac_status=$?
20410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20411 (exit $ac_status); }; } &&
20412 { ac_try='test -s conftest.$ac_objext'
20413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20414 (eval $ac_try) 2>&5
20415 ac_status=$?
20416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20417 (exit $ac_status); }; }; then
20418 glibcxx_cv_WRITEV=yes
20419 else
20420 echo "$as_me: failed program was:" >&5
20421 sed 's/^/| /' conftest.$ac_ext >&5
20423 glibcxx_cv_WRITEV=no
20425 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20426 else
20427 if test x$gcc_no_link = xyes; then
20428 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
20429 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
20430 { (exit 1); exit 1; }; }
20432 cat >conftest.$ac_ext <<_ACEOF
20433 /* confdefs.h. */
20434 _ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 #include <sys/uio.h>
20440 main ()
20442 struct iovec iov[2];
20443 writev(0, iov, 0);
20445 return 0;
20447 _ACEOF
20448 rm -f conftest.$ac_objext conftest$ac_exeext
20449 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
20450 (eval $ac_link) 2>conftest.er1
20451 ac_status=$?
20452 grep -v '^ *+' conftest.er1 >conftest.err
20453 rm -f conftest.er1
20454 cat conftest.err >&5
20455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20456 (exit $ac_status); } &&
20457 { ac_try='test -z "$ac_cxx_werror_flag"
20458 || test ! -s conftest.err'
20459 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20460 (eval $ac_try) 2>&5
20461 ac_status=$?
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); }; } &&
20464 { ac_try='test -s conftest$ac_exeext'
20465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20466 (eval $ac_try) 2>&5
20467 ac_status=$?
20468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20469 (exit $ac_status); }; }; then
20470 glibcxx_cv_WRITEV=yes
20471 else
20472 echo "$as_me: failed program was:" >&5
20473 sed 's/^/| /' conftest.$ac_ext >&5
20475 glibcxx_cv_WRITEV=no
20477 rm -f conftest.err conftest.$ac_objext \
20478 conftest$ac_exeext conftest.$ac_ext
20483 if test $glibcxx_cv_WRITEV = yes; then
20485 cat >>confdefs.h <<\_ACEOF
20486 #define HAVE_WRITEV 1
20487 _ACEOF
20490 echo "$as_me:$LINENO: result: $glibcxx_cv_WRITEV" >&5
20491 echo "${ECHO_T}$glibcxx_cv_WRITEV" >&6
20493 CXXFLAGS="$ac_save_CXXFLAGS"
20494 ac_ext=c
20495 ac_cpp='$CPP $CPPFLAGS'
20496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20502 # For C99 support to TR1.
20507 ac_ext=cc
20508 ac_cpp='$CXXCPP $CPPFLAGS'
20509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20514 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20515 # undefined and fake C99 facilities may be spuriously enabled.
20516 ac_save_CXXFLAGS="$CXXFLAGS"
20517 CXXFLAGS="$CXXFLAGS -std=c++98"
20519 # Check for the existence of <complex.h> complex math functions used
20520 # by tr1/complex.
20522 for ac_header in complex.h
20524 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20525 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20526 echo "$as_me:$LINENO: checking for $ac_header" >&5
20527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20528 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20529 echo $ECHO_N "(cached) $ECHO_C" >&6
20531 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20532 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20533 else
20534 # Is the header compilable?
20535 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20536 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20537 cat >conftest.$ac_ext <<_ACEOF
20538 /* confdefs.h. */
20539 _ACEOF
20540 cat confdefs.h >>conftest.$ac_ext
20541 cat >>conftest.$ac_ext <<_ACEOF
20542 /* end confdefs.h. */
20543 $ac_includes_default
20544 #include <$ac_header>
20545 _ACEOF
20546 rm -f conftest.$ac_objext
20547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20548 (eval $ac_compile) 2>conftest.er1
20549 ac_status=$?
20550 grep -v '^ *+' conftest.er1 >conftest.err
20551 rm -f conftest.er1
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } &&
20555 { ac_try='test -z "$ac_cxx_werror_flag"
20556 || test ! -s conftest.err'
20557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20558 (eval $ac_try) 2>&5
20559 ac_status=$?
20560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20561 (exit $ac_status); }; } &&
20562 { ac_try='test -s conftest.$ac_objext'
20563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20564 (eval $ac_try) 2>&5
20565 ac_status=$?
20566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20567 (exit $ac_status); }; }; then
20568 ac_header_compiler=yes
20569 else
20570 echo "$as_me: failed program was:" >&5
20571 sed 's/^/| /' conftest.$ac_ext >&5
20573 ac_header_compiler=no
20575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20576 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20577 echo "${ECHO_T}$ac_header_compiler" >&6
20579 # Is the header present?
20580 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20581 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20582 cat >conftest.$ac_ext <<_ACEOF
20583 /* confdefs.h. */
20584 _ACEOF
20585 cat confdefs.h >>conftest.$ac_ext
20586 cat >>conftest.$ac_ext <<_ACEOF
20587 /* end confdefs.h. */
20588 #include <$ac_header>
20589 _ACEOF
20590 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20591 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20592 ac_status=$?
20593 grep -v '^ *+' conftest.er1 >conftest.err
20594 rm -f conftest.er1
20595 cat conftest.err >&5
20596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597 (exit $ac_status); } >/dev/null; then
20598 if test -s conftest.err; then
20599 ac_cpp_err=$ac_cxx_preproc_warn_flag
20600 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20601 else
20602 ac_cpp_err=
20604 else
20605 ac_cpp_err=yes
20607 if test -z "$ac_cpp_err"; then
20608 ac_header_preproc=yes
20609 else
20610 echo "$as_me: failed program was:" >&5
20611 sed 's/^/| /' conftest.$ac_ext >&5
20613 ac_header_preproc=no
20615 rm -f conftest.err conftest.$ac_ext
20616 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20617 echo "${ECHO_T}$ac_header_preproc" >&6
20619 # So? What about this header?
20620 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20621 yes:no: )
20622 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20623 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20624 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20625 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20626 ac_header_preproc=yes
20628 no:yes:* )
20629 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20630 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20631 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20632 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20633 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20634 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20635 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20636 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20637 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20638 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20639 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20640 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20642 cat <<\_ASBOX
20643 ## ----------------------------------------- ##
20644 ## Report this to the package-unused lists. ##
20645 ## ----------------------------------------- ##
20646 _ASBOX
20648 sed "s/^/$as_me: WARNING: /" >&2
20650 esac
20651 echo "$as_me:$LINENO: checking for $ac_header" >&5
20652 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20653 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20654 echo $ECHO_N "(cached) $ECHO_C" >&6
20655 else
20656 eval "$as_ac_Header=\$ac_header_preproc"
20658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20659 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20663 cat >>confdefs.h <<_ACEOF
20664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20665 _ACEOF
20666 ac_has_complex_h=yes
20667 else
20668 ac_has_complex_h=no
20671 done
20673 ac_c99_complex_tr1=no;
20674 if test x"$ac_has_complex_h" = x"yes"; then
20675 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <complex.h>" >&5
20676 echo $ECHO_N "checking for ISO C99 support to TR1 in <complex.h>... $ECHO_C" >&6
20677 cat >conftest.$ac_ext <<_ACEOF
20678 /* confdefs.h. */
20679 _ACEOF
20680 cat confdefs.h >>conftest.$ac_ext
20681 cat >>conftest.$ac_ext <<_ACEOF
20682 /* end confdefs.h. */
20683 #include <complex.h>
20685 main ()
20687 typedef __complex__ float float_type; float_type tmpf;
20688 cacosf(tmpf);
20689 casinf(tmpf);
20690 catanf(tmpf);
20691 cacoshf(tmpf);
20692 casinhf(tmpf);
20693 catanhf(tmpf);
20694 typedef __complex__ double double_type; double_type tmpd;
20695 cacos(tmpd);
20696 casin(tmpd);
20697 catan(tmpd);
20698 cacosh(tmpd);
20699 casinh(tmpd);
20700 catanh(tmpd);
20701 typedef __complex__ long double ld_type; ld_type tmpld;
20702 cacosl(tmpld);
20703 casinl(tmpld);
20704 catanl(tmpld);
20705 cacoshl(tmpld);
20706 casinhl(tmpld);
20707 catanhl(tmpld);
20710 return 0;
20712 _ACEOF
20713 rm -f conftest.$ac_objext
20714 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20715 (eval $ac_compile) 2>conftest.er1
20716 ac_status=$?
20717 grep -v '^ *+' conftest.er1 >conftest.err
20718 rm -f conftest.er1
20719 cat conftest.err >&5
20720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20721 (exit $ac_status); } &&
20722 { ac_try='test -z "$ac_cxx_werror_flag"
20723 || test ! -s conftest.err'
20724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20725 (eval $ac_try) 2>&5
20726 ac_status=$?
20727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20728 (exit $ac_status); }; } &&
20729 { ac_try='test -s conftest.$ac_objext'
20730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20731 (eval $ac_try) 2>&5
20732 ac_status=$?
20733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20734 (exit $ac_status); }; }; then
20735 ac_c99_complex_tr1=yes
20736 else
20737 echo "$as_me: failed program was:" >&5
20738 sed 's/^/| /' conftest.$ac_ext >&5
20740 ac_c99_complex_tr1=no
20742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20744 echo "$as_me:$LINENO: result: $ac_c99_complex_tr1" >&5
20745 echo "${ECHO_T}$ac_c99_complex_tr1" >&6
20746 if test x"$ac_c99_complex_tr1" = x"yes"; then
20748 cat >>confdefs.h <<\_ACEOF
20749 #define _GLIBCXX_USE_C99_COMPLEX_TR1 1
20750 _ACEOF
20754 # Check for the existence of <ctype.h> functions.
20755 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20756 echo $ECHO_N "checking for ISO C99 support to TR1 in <ctype.h>... $ECHO_C" >&6
20757 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then
20758 echo $ECHO_N "(cached) $ECHO_C" >&6
20759 else
20761 cat >conftest.$ac_ext <<_ACEOF
20762 /* confdefs.h. */
20763 _ACEOF
20764 cat confdefs.h >>conftest.$ac_ext
20765 cat >>conftest.$ac_ext <<_ACEOF
20766 /* end confdefs.h. */
20767 #include <ctype.h>
20769 main ()
20771 int ch;
20772 int ret;
20773 ret = isblank(ch);
20776 return 0;
20778 _ACEOF
20779 rm -f conftest.$ac_objext
20780 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20781 (eval $ac_compile) 2>conftest.er1
20782 ac_status=$?
20783 grep -v '^ *+' conftest.er1 >conftest.err
20784 rm -f conftest.er1
20785 cat conftest.err >&5
20786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20787 (exit $ac_status); } &&
20788 { ac_try='test -z "$ac_cxx_werror_flag"
20789 || test ! -s conftest.err'
20790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20791 (eval $ac_try) 2>&5
20792 ac_status=$?
20793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20794 (exit $ac_status); }; } &&
20795 { ac_try='test -s conftest.$ac_objext'
20796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20797 (eval $ac_try) 2>&5
20798 ac_status=$?
20799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20800 (exit $ac_status); }; }; then
20801 glibcxx_cv_c99_ctype_tr1=yes
20802 else
20803 echo "$as_me: failed program was:" >&5
20804 sed 's/^/| /' conftest.$ac_ext >&5
20806 glibcxx_cv_c99_ctype_tr1=no
20808 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20812 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_ctype_tr1" >&5
20813 echo "${ECHO_T}$glibcxx_cv_c99_ctype_tr1" >&6
20814 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20816 cat >>confdefs.h <<\_ACEOF
20817 #define _GLIBCXX_USE_C99_CTYPE_TR1 1
20818 _ACEOF
20822 # Check for the existence of <fenv.h> functions.
20824 for ac_header in fenv.h
20826 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
20827 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20828 echo "$as_me:$LINENO: checking for $ac_header" >&5
20829 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20830 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20831 echo $ECHO_N "(cached) $ECHO_C" >&6
20833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20834 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20835 else
20836 # Is the header compilable?
20837 echo "$as_me:$LINENO: checking $ac_header usability" >&5
20838 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
20839 cat >conftest.$ac_ext <<_ACEOF
20840 /* confdefs.h. */
20841 _ACEOF
20842 cat confdefs.h >>conftest.$ac_ext
20843 cat >>conftest.$ac_ext <<_ACEOF
20844 /* end confdefs.h. */
20845 $ac_includes_default
20846 #include <$ac_header>
20847 _ACEOF
20848 rm -f conftest.$ac_objext
20849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
20850 (eval $ac_compile) 2>conftest.er1
20851 ac_status=$?
20852 grep -v '^ *+' conftest.er1 >conftest.err
20853 rm -f conftest.er1
20854 cat conftest.err >&5
20855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20856 (exit $ac_status); } &&
20857 { ac_try='test -z "$ac_cxx_werror_flag"
20858 || test ! -s conftest.err'
20859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20860 (eval $ac_try) 2>&5
20861 ac_status=$?
20862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20863 (exit $ac_status); }; } &&
20864 { ac_try='test -s conftest.$ac_objext'
20865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
20866 (eval $ac_try) 2>&5
20867 ac_status=$?
20868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20869 (exit $ac_status); }; }; then
20870 ac_header_compiler=yes
20871 else
20872 echo "$as_me: failed program was:" >&5
20873 sed 's/^/| /' conftest.$ac_ext >&5
20875 ac_header_compiler=no
20877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
20878 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
20879 echo "${ECHO_T}$ac_header_compiler" >&6
20881 # Is the header present?
20882 echo "$as_me:$LINENO: checking $ac_header presence" >&5
20883 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
20884 cat >conftest.$ac_ext <<_ACEOF
20885 /* confdefs.h. */
20886 _ACEOF
20887 cat confdefs.h >>conftest.$ac_ext
20888 cat >>conftest.$ac_ext <<_ACEOF
20889 /* end confdefs.h. */
20890 #include <$ac_header>
20891 _ACEOF
20892 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
20893 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
20894 ac_status=$?
20895 grep -v '^ *+' conftest.er1 >conftest.err
20896 rm -f conftest.er1
20897 cat conftest.err >&5
20898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20899 (exit $ac_status); } >/dev/null; then
20900 if test -s conftest.err; then
20901 ac_cpp_err=$ac_cxx_preproc_warn_flag
20902 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
20903 else
20904 ac_cpp_err=
20906 else
20907 ac_cpp_err=yes
20909 if test -z "$ac_cpp_err"; then
20910 ac_header_preproc=yes
20911 else
20912 echo "$as_me: failed program was:" >&5
20913 sed 's/^/| /' conftest.$ac_ext >&5
20915 ac_header_preproc=no
20917 rm -f conftest.err conftest.$ac_ext
20918 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
20919 echo "${ECHO_T}$ac_header_preproc" >&6
20921 # So? What about this header?
20922 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
20923 yes:no: )
20924 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
20925 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
20926 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
20927 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
20928 ac_header_preproc=yes
20930 no:yes:* )
20931 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
20932 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
20933 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
20934 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
20935 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
20936 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
20937 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
20938 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
20939 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
20940 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
20941 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
20942 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
20944 cat <<\_ASBOX
20945 ## ----------------------------------------- ##
20946 ## Report this to the package-unused lists. ##
20947 ## ----------------------------------------- ##
20948 _ASBOX
20950 sed "s/^/$as_me: WARNING: /" >&2
20952 esac
20953 echo "$as_me:$LINENO: checking for $ac_header" >&5
20954 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
20955 if eval "test \"\${$as_ac_Header+set}\" = set"; then
20956 echo $ECHO_N "(cached) $ECHO_C" >&6
20957 else
20958 eval "$as_ac_Header=\$ac_header_preproc"
20960 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
20961 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
20964 if test `eval echo '${'$as_ac_Header'}'` = yes; then
20965 cat >>confdefs.h <<_ACEOF
20966 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
20967 _ACEOF
20968 ac_has_fenv_h=yes
20969 else
20970 ac_has_fenv_h=no
20973 done
20975 ac_c99_fenv_tr1=no;
20976 if test x"$ac_has_fenv_h" = x"yes"; then
20977 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20978 echo $ECHO_N "checking for ISO C99 support to TR1 in <fenv.h>... $ECHO_C" >&6
20979 cat >conftest.$ac_ext <<_ACEOF
20980 /* confdefs.h. */
20981 _ACEOF
20982 cat confdefs.h >>conftest.$ac_ext
20983 cat >>conftest.$ac_ext <<_ACEOF
20984 /* end confdefs.h. */
20985 #include <fenv.h>
20987 main ()
20989 int except, mode;
20990 fexcept_t* pflag;
20991 fenv_t* penv;
20992 int ret;
20993 ret = feclearexcept(except);
20994 ret = fegetexceptflag(pflag, except);
20995 ret = feraiseexcept(except);
20996 ret = fesetexceptflag(pflag, except);
20997 ret = fetestexcept(except);
20998 ret = fegetround();
20999 ret = fesetround(mode);
21000 ret = fegetenv(penv);
21001 ret = feholdexcept(penv);
21002 ret = fesetenv(penv);
21003 ret = feupdateenv(penv);
21006 return 0;
21008 _ACEOF
21009 rm -f conftest.$ac_objext
21010 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21011 (eval $ac_compile) 2>conftest.er1
21012 ac_status=$?
21013 grep -v '^ *+' conftest.er1 >conftest.err
21014 rm -f conftest.er1
21015 cat conftest.err >&5
21016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21017 (exit $ac_status); } &&
21018 { ac_try='test -z "$ac_cxx_werror_flag"
21019 || test ! -s conftest.err'
21020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21021 (eval $ac_try) 2>&5
21022 ac_status=$?
21023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21024 (exit $ac_status); }; } &&
21025 { ac_try='test -s conftest.$ac_objext'
21026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21027 (eval $ac_try) 2>&5
21028 ac_status=$?
21029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21030 (exit $ac_status); }; }; then
21031 ac_c99_fenv_tr1=yes
21032 else
21033 echo "$as_me: failed program was:" >&5
21034 sed 's/^/| /' conftest.$ac_ext >&5
21036 ac_c99_fenv_tr1=no
21038 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21040 echo "$as_me:$LINENO: result: $ac_c99_fenv_tr1" >&5
21041 echo "${ECHO_T}$ac_c99_fenv_tr1" >&6
21042 if test x"$ac_c99_fenv_tr1" = x"yes"; then
21044 cat >>confdefs.h <<\_ACEOF
21045 #define _GLIBCXX_USE_C99_FENV_TR1 1
21046 _ACEOF
21050 # Check for the existence of <stdint.h> types.
21051 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <stdint.h>" >&5
21052 echo $ECHO_N "checking for ISO C99 support to TR1 in <stdint.h>... $ECHO_C" >&6
21053 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then
21054 echo $ECHO_N "(cached) $ECHO_C" >&6
21055 else
21057 cat >conftest.$ac_ext <<_ACEOF
21058 /* confdefs.h. */
21059 _ACEOF
21060 cat confdefs.h >>conftest.$ac_ext
21061 cat >>conftest.$ac_ext <<_ACEOF
21062 /* end confdefs.h. */
21063 #define __STDC_LIMIT_MACROS
21064 #define __STDC_CONSTANT_MACROS
21065 #include <stdint.h>
21067 main ()
21069 typedef int8_t my_int8_t;
21070 my_int8_t i8 = INT8_MIN;
21071 i8 = INT8_MAX;
21072 typedef int16_t my_int16_t;
21073 my_int16_t i16 = INT16_MIN;
21074 i16 = INT16_MAX;
21075 typedef int32_t my_int32_t;
21076 my_int32_t i32 = INT32_MIN;
21077 i32 = INT32_MAX;
21078 typedef int64_t my_int64_t;
21079 my_int64_t i64 = INT64_MIN;
21080 i64 = INT64_MAX;
21081 typedef int_fast8_t my_int_fast8_t;
21082 my_int_fast8_t if8 = INT_FAST8_MIN;
21083 if8 = INT_FAST8_MAX;
21084 typedef int_fast16_t my_int_fast16_t;
21085 my_int_fast16_t if16 = INT_FAST16_MIN;
21086 if16 = INT_FAST16_MAX;
21087 typedef int_fast32_t my_int_fast32_t;
21088 my_int_fast32_t if32 = INT_FAST32_MIN;
21089 if32 = INT_FAST32_MAX;
21090 typedef int_fast64_t my_int_fast64_t;
21091 my_int_fast64_t if64 = INT_FAST64_MIN;
21092 if64 = INT_FAST64_MAX;
21093 typedef int_least8_t my_int_least8_t;
21094 my_int_least8_t il8 = INT_LEAST8_MIN;
21095 il8 = INT_LEAST8_MAX;
21096 typedef int_least16_t my_int_least16_t;
21097 my_int_least16_t il16 = INT_LEAST16_MIN;
21098 il16 = INT_LEAST16_MAX;
21099 typedef int_least32_t my_int_least32_t;
21100 my_int_least32_t il32 = INT_LEAST32_MIN;
21101 il32 = INT_LEAST32_MAX;
21102 typedef int_least64_t my_int_least64_t;
21103 my_int_least64_t il64 = INT_LEAST64_MIN;
21104 il64 = INT_LEAST64_MAX;
21105 typedef intmax_t my_intmax_t;
21106 my_intmax_t im = INTMAX_MAX;
21107 im = INTMAX_MIN;
21108 typedef intptr_t my_intptr_t;
21109 my_intptr_t ip = INTPTR_MAX;
21110 ip = INTPTR_MIN;
21111 typedef uint8_t my_uint8_t;
21112 my_uint8_t ui8 = UINT8_MAX;
21113 ui8 = UINT8_MAX;
21114 typedef uint16_t my_uint16_t;
21115 my_uint16_t ui16 = UINT16_MAX;
21116 ui16 = UINT16_MAX;
21117 typedef uint32_t my_uint32_t;
21118 my_uint32_t ui32 = UINT32_MAX;
21119 ui32 = UINT32_MAX;
21120 typedef uint64_t my_uint64_t;
21121 my_uint64_t ui64 = UINT64_MAX;
21122 ui64 = UINT64_MAX;
21123 typedef uint_fast8_t my_uint_fast8_t;
21124 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
21125 uif8 = UINT_FAST8_MAX;
21126 typedef uint_fast16_t my_uint_fast16_t;
21127 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
21128 uif16 = UINT_FAST16_MAX;
21129 typedef uint_fast32_t my_uint_fast32_t;
21130 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
21131 uif32 = UINT_FAST32_MAX;
21132 typedef uint_fast64_t my_uint_fast64_t;
21133 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
21134 uif64 = UINT_FAST64_MAX;
21135 typedef uint_least8_t my_uint_least8_t;
21136 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
21137 uil8 = UINT_LEAST8_MAX;
21138 typedef uint_least16_t my_uint_least16_t;
21139 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
21140 uil16 = UINT_LEAST16_MAX;
21141 typedef uint_least32_t my_uint_least32_t;
21142 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
21143 uil32 = UINT_LEAST32_MAX;
21144 typedef uint_least64_t my_uint_least64_t;
21145 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
21146 uil64 = UINT_LEAST64_MAX;
21147 typedef uintmax_t my_uintmax_t;
21148 my_uintmax_t uim = UINTMAX_MAX;
21149 uim = UINTMAX_MAX;
21150 typedef uintptr_t my_uintptr_t;
21151 my_uintptr_t uip = UINTPTR_MAX;
21152 uip = UINTPTR_MAX;
21155 return 0;
21157 _ACEOF
21158 rm -f conftest.$ac_objext
21159 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21160 (eval $ac_compile) 2>conftest.er1
21161 ac_status=$?
21162 grep -v '^ *+' conftest.er1 >conftest.err
21163 rm -f conftest.er1
21164 cat conftest.err >&5
21165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21166 (exit $ac_status); } &&
21167 { ac_try='test -z "$ac_cxx_werror_flag"
21168 || test ! -s conftest.err'
21169 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21170 (eval $ac_try) 2>&5
21171 ac_status=$?
21172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21173 (exit $ac_status); }; } &&
21174 { ac_try='test -s conftest.$ac_objext'
21175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21176 (eval $ac_try) 2>&5
21177 ac_status=$?
21178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21179 (exit $ac_status); }; }; then
21180 glibcxx_cv_c99_stdint_tr1=yes
21181 else
21182 echo "$as_me: failed program was:" >&5
21183 sed 's/^/| /' conftest.$ac_ext >&5
21185 glibcxx_cv_c99_stdint_tr1=no
21187 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21191 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_stdint_tr1" >&5
21192 echo "${ECHO_T}$glibcxx_cv_c99_stdint_tr1" >&6
21193 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21195 cat >>confdefs.h <<\_ACEOF
21196 #define _GLIBCXX_USE_C99_STDINT_TR1 1
21197 _ACEOF
21201 # Check for the existence of <math.h> functions.
21202 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <math.h>" >&5
21203 echo $ECHO_N "checking for ISO C99 support to TR1 in <math.h>... $ECHO_C" >&6
21204 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then
21205 echo $ECHO_N "(cached) $ECHO_C" >&6
21206 else
21208 cat >conftest.$ac_ext <<_ACEOF
21209 /* confdefs.h. */
21210 _ACEOF
21211 cat confdefs.h >>conftest.$ac_ext
21212 cat >>conftest.$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 #include <math.h>
21216 main ()
21218 typedef double_t my_double_t;
21219 typedef float_t my_float_t;
21220 acosh(0.0);
21221 acoshf(0.0f);
21222 acoshl(0.0l);
21223 asinh(0.0);
21224 asinhf(0.0f);
21225 asinhl(0.0l);
21226 atanh(0.0);
21227 atanhf(0.0f);
21228 atanhl(0.0l);
21229 cbrt(0.0);
21230 cbrtf(0.0f);
21231 cbrtl(0.0l);
21232 copysign(0.0, 0.0);
21233 copysignf(0.0f, 0.0f);
21234 copysignl(0.0l, 0.0l);
21235 erf(0.0);
21236 erff(0.0f);
21237 erfl(0.0l);
21238 erfc(0.0);
21239 erfcf(0.0f);
21240 erfcl(0.0l);
21241 exp2(0.0);
21242 exp2f(0.0f);
21243 exp2l(0.0l);
21244 expm1(0.0);
21245 expm1f(0.0f);
21246 expm1l(0.0l);
21247 fdim(0.0, 0.0);
21248 fdimf(0.0f, 0.0f);
21249 fdiml(0.0l, 0.0l);
21250 fma(0.0, 0.0, 0.0);
21251 fmaf(0.0f, 0.0f, 0.0f);
21252 fmal(0.0l, 0.0l, 0.0l);
21253 fmax(0.0, 0.0);
21254 fmaxf(0.0f, 0.0f);
21255 fmaxl(0.0l, 0.0l);
21256 fmin(0.0, 0.0);
21257 fminf(0.0f, 0.0f);
21258 fminl(0.0l, 0.0l);
21259 hypot(0.0, 0.0);
21260 hypotf(0.0f, 0.0f);
21261 hypotl(0.0l, 0.0l);
21262 ilogb(0.0);
21263 ilogbf(0.0f);
21264 ilogbl(0.0l);
21265 lgamma(0.0);
21266 lgammaf(0.0f);
21267 lgammal(0.0l);
21268 llrint(0.0);
21269 llrintf(0.0f);
21270 llrintl(0.0l);
21271 llround(0.0);
21272 llroundf(0.0f);
21273 llroundl(0.0l);
21274 log1p(0.0);
21275 log1pf(0.0f);
21276 log1pl(0.0l);
21277 log2(0.0);
21278 log2f(0.0f);
21279 log2l(0.0l);
21280 logb(0.0);
21281 logbf(0.0f);
21282 logbl(0.0l);
21283 lrint(0.0);
21284 lrintf(0.0f);
21285 lrintl(0.0l);
21286 lround(0.0);
21287 lroundf(0.0f);
21288 lroundl(0.0l);
21289 nan(0);
21290 nanf(0);
21291 nanl(0);
21292 nearbyint(0.0);
21293 nearbyintf(0.0f);
21294 nearbyintl(0.0l);
21295 nextafter(0.0, 0.0);
21296 nextafterf(0.0f, 0.0f);
21297 nextafterl(0.0l, 0.0l);
21298 nexttoward(0.0, 0.0);
21299 nexttowardf(0.0f, 0.0f);
21300 nexttowardl(0.0l, 0.0l);
21301 remainder(0.0, 0.0);
21302 remainderf(0.0f, 0.0f);
21303 remainderl(0.0l, 0.0l);
21304 remquo(0.0, 0.0, 0);
21305 remquof(0.0f, 0.0f, 0);
21306 remquol(0.0l, 0.0l, 0);
21307 rint(0.0);
21308 rintf(0.0f);
21309 rintl(0.0l);
21310 round(0.0);
21311 roundf(0.0f);
21312 roundl(0.0l);
21313 scalbln(0.0, 0l);
21314 scalblnf(0.0f, 0l);
21315 scalblnl(0.0l, 0l);
21316 scalbn(0.0, 0);
21317 scalbnf(0.0f, 0);
21318 scalbnl(0.0l, 0);
21319 tgamma(0.0);
21320 tgammaf(0.0f);
21321 tgammal(0.0l);
21322 trunc(0.0);
21323 truncf(0.0f);
21324 truncl(0.0l);
21327 return 0;
21329 _ACEOF
21330 rm -f conftest.$ac_objext
21331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21332 (eval $ac_compile) 2>conftest.er1
21333 ac_status=$?
21334 grep -v '^ *+' conftest.er1 >conftest.err
21335 rm -f conftest.er1
21336 cat conftest.err >&5
21337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21338 (exit $ac_status); } &&
21339 { ac_try='test -z "$ac_cxx_werror_flag"
21340 || test ! -s conftest.err'
21341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21342 (eval $ac_try) 2>&5
21343 ac_status=$?
21344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21345 (exit $ac_status); }; } &&
21346 { ac_try='test -s conftest.$ac_objext'
21347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21348 (eval $ac_try) 2>&5
21349 ac_status=$?
21350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21351 (exit $ac_status); }; }; then
21352 glibcxx_cv_c99_math_tr1=yes
21353 else
21354 echo "$as_me: failed program was:" >&5
21355 sed 's/^/| /' conftest.$ac_ext >&5
21357 glibcxx_cv_c99_math_tr1=no
21359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21363 echo "$as_me:$LINENO: result: $glibcxx_cv_c99_math_tr1" >&5
21364 echo "${ECHO_T}$glibcxx_cv_c99_math_tr1" >&6
21365 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
21367 cat >>confdefs.h <<\_ACEOF
21368 #define _GLIBCXX_USE_C99_MATH_TR1 1
21369 _ACEOF
21373 # Check for the existence of <inttypes.h> functions (NB: doesn't make
21374 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21375 ac_c99_inttypes_tr1=no;
21376 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21377 echo "$as_me:$LINENO: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
21378 echo $ECHO_N "checking for ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21379 cat >conftest.$ac_ext <<_ACEOF
21380 /* confdefs.h. */
21381 _ACEOF
21382 cat confdefs.h >>conftest.$ac_ext
21383 cat >>conftest.$ac_ext <<_ACEOF
21384 /* end confdefs.h. */
21385 #include <inttypes.h>
21387 main ()
21389 intmax_t i, numer, denom, base;
21390 const char* s;
21391 char** endptr;
21392 intmax_t ret = imaxabs(i);
21393 imaxdiv_t dret = imaxdiv(numer, denom);
21394 ret = strtoimax(s, endptr, base);
21395 uintmax_t uret = strtoumax(s, endptr, base);
21398 return 0;
21400 _ACEOF
21401 rm -f conftest.$ac_objext
21402 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21403 (eval $ac_compile) 2>conftest.er1
21404 ac_status=$?
21405 grep -v '^ *+' conftest.er1 >conftest.err
21406 rm -f conftest.er1
21407 cat conftest.err >&5
21408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21409 (exit $ac_status); } &&
21410 { ac_try='test -z "$ac_cxx_werror_flag"
21411 || test ! -s conftest.err'
21412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21413 (eval $ac_try) 2>&5
21414 ac_status=$?
21415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21416 (exit $ac_status); }; } &&
21417 { ac_try='test -s conftest.$ac_objext'
21418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21419 (eval $ac_try) 2>&5
21420 ac_status=$?
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); }; }; then
21423 ac_c99_inttypes_tr1=yes
21424 else
21425 echo "$as_me: failed program was:" >&5
21426 sed 's/^/| /' conftest.$ac_ext >&5
21428 ac_c99_inttypes_tr1=no
21430 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21432 echo "$as_me:$LINENO: result: $ac_c99_inttypes_tr1" >&5
21433 echo "${ECHO_T}$ac_c99_inttypes_tr1" >&6
21434 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
21436 cat >>confdefs.h <<\_ACEOF
21437 #define _GLIBCXX_USE_C99_INTTYPES_TR1 1
21438 _ACEOF
21442 # Check for the existence of whcar_t <inttypes.h> functions (NB: doesn't
21443 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
21444 ac_c99_inttypes_wchar_t_tr1=no;
21445 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
21446 echo "$as_me:$LINENO: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
21447 echo $ECHO_N "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... $ECHO_C" >&6
21448 cat >conftest.$ac_ext <<_ACEOF
21449 /* confdefs.h. */
21450 _ACEOF
21451 cat confdefs.h >>conftest.$ac_ext
21452 cat >>conftest.$ac_ext <<_ACEOF
21453 /* end confdefs.h. */
21454 #include <inttypes.h>
21456 main ()
21458 intmax_t base;
21459 const wchar_t* s;
21460 wchar_t** endptr;
21461 intmax_t ret = wcstoimax(s, endptr, base);
21462 uintmax_t uret = wcstoumax(s, endptr, base);
21465 return 0;
21467 _ACEOF
21468 rm -f conftest.$ac_objext
21469 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21470 (eval $ac_compile) 2>conftest.er1
21471 ac_status=$?
21472 grep -v '^ *+' conftest.er1 >conftest.err
21473 rm -f conftest.er1
21474 cat conftest.err >&5
21475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21476 (exit $ac_status); } &&
21477 { ac_try='test -z "$ac_cxx_werror_flag"
21478 || test ! -s conftest.err'
21479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21480 (eval $ac_try) 2>&5
21481 ac_status=$?
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); }; } &&
21484 { ac_try='test -s conftest.$ac_objext'
21485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21486 (eval $ac_try) 2>&5
21487 ac_status=$?
21488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21489 (exit $ac_status); }; }; then
21490 ac_c99_inttypes_wchar_t_tr1=yes
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21495 ac_c99_inttypes_wchar_t_tr1=no
21497 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21499 echo "$as_me:$LINENO: result: $ac_c99_inttypes_wchar_t_tr1" >&5
21500 echo "${ECHO_T}$ac_c99_inttypes_wchar_t_tr1" >&6
21501 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
21503 cat >>confdefs.h <<\_ACEOF
21504 #define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1
21505 _ACEOF
21509 # Check for the existence of the <stdbool.h> header.
21511 for ac_header in stdbool.h
21513 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21514 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21515 echo "$as_me:$LINENO: checking for $ac_header" >&5
21516 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21517 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21518 echo $ECHO_N "(cached) $ECHO_C" >&6
21520 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21521 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21522 else
21523 # Is the header compilable?
21524 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21525 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21526 cat >conftest.$ac_ext <<_ACEOF
21527 /* confdefs.h. */
21528 _ACEOF
21529 cat confdefs.h >>conftest.$ac_ext
21530 cat >>conftest.$ac_ext <<_ACEOF
21531 /* end confdefs.h. */
21532 $ac_includes_default
21533 #include <$ac_header>
21534 _ACEOF
21535 rm -f conftest.$ac_objext
21536 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21537 (eval $ac_compile) 2>conftest.er1
21538 ac_status=$?
21539 grep -v '^ *+' conftest.er1 >conftest.err
21540 rm -f conftest.er1
21541 cat conftest.err >&5
21542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21543 (exit $ac_status); } &&
21544 { ac_try='test -z "$ac_cxx_werror_flag"
21545 || test ! -s conftest.err'
21546 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21547 (eval $ac_try) 2>&5
21548 ac_status=$?
21549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21550 (exit $ac_status); }; } &&
21551 { ac_try='test -s conftest.$ac_objext'
21552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21553 (eval $ac_try) 2>&5
21554 ac_status=$?
21555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21556 (exit $ac_status); }; }; then
21557 ac_header_compiler=yes
21558 else
21559 echo "$as_me: failed program was:" >&5
21560 sed 's/^/| /' conftest.$ac_ext >&5
21562 ac_header_compiler=no
21564 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21565 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21566 echo "${ECHO_T}$ac_header_compiler" >&6
21568 # Is the header present?
21569 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21570 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21571 cat >conftest.$ac_ext <<_ACEOF
21572 /* confdefs.h. */
21573 _ACEOF
21574 cat confdefs.h >>conftest.$ac_ext
21575 cat >>conftest.$ac_ext <<_ACEOF
21576 /* end confdefs.h. */
21577 #include <$ac_header>
21578 _ACEOF
21579 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21580 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21581 ac_status=$?
21582 grep -v '^ *+' conftest.er1 >conftest.err
21583 rm -f conftest.er1
21584 cat conftest.err >&5
21585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21586 (exit $ac_status); } >/dev/null; then
21587 if test -s conftest.err; then
21588 ac_cpp_err=$ac_cxx_preproc_warn_flag
21589 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21590 else
21591 ac_cpp_err=
21593 else
21594 ac_cpp_err=yes
21596 if test -z "$ac_cpp_err"; then
21597 ac_header_preproc=yes
21598 else
21599 echo "$as_me: failed program was:" >&5
21600 sed 's/^/| /' conftest.$ac_ext >&5
21602 ac_header_preproc=no
21604 rm -f conftest.err conftest.$ac_ext
21605 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21606 echo "${ECHO_T}$ac_header_preproc" >&6
21608 # So? What about this header?
21609 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21610 yes:no: )
21611 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21612 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21613 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21614 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21615 ac_header_preproc=yes
21617 no:yes:* )
21618 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21619 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21620 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21621 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21622 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21623 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21624 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21625 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21626 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21627 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21628 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21629 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21631 cat <<\_ASBOX
21632 ## ----------------------------------------- ##
21633 ## Report this to the package-unused lists. ##
21634 ## ----------------------------------------- ##
21635 _ASBOX
21637 sed "s/^/$as_me: WARNING: /" >&2
21639 esac
21640 echo "$as_me:$LINENO: checking for $ac_header" >&5
21641 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21642 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21643 echo $ECHO_N "(cached) $ECHO_C" >&6
21644 else
21645 eval "$as_ac_Header=\$ac_header_preproc"
21647 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21648 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21651 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21652 cat >>confdefs.h <<_ACEOF
21653 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21654 _ACEOF
21658 done
21661 CXXFLAGS="$ac_save_CXXFLAGS"
21662 ac_ext=c
21663 ac_cpp='$CPP $CPPFLAGS'
21664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21670 # For common values of EOF, SEEK_CUR, SEEK_END.
21673 echo "$as_me:$LINENO: checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2" >&5
21674 echo $ECHO_N "checking for EOF == -1, SEEK_CUR == 1, SEEK_END == 2... $ECHO_C" >&6
21675 if test "${glibcxx_cv_stdio_macros+set}" = set; then
21676 echo $ECHO_N "(cached) $ECHO_C" >&6
21677 else
21679 cat >conftest.$ac_ext <<_ACEOF
21680 /* confdefs.h. */
21681 _ACEOF
21682 cat confdefs.h >>conftest.$ac_ext
21683 cat >>conftest.$ac_ext <<_ACEOF
21684 /* end confdefs.h. */
21685 #include <stdio.h>
21687 main ()
21689 #if ((EOF != -1) || (SEEK_CUR != 1) || (SEEK_END != 2))
21690 unusual values...
21691 #endif
21694 return 0;
21696 _ACEOF
21697 rm -f conftest.$ac_objext
21698 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21699 (eval $ac_compile) 2>conftest.er1
21700 ac_status=$?
21701 grep -v '^ *+' conftest.er1 >conftest.err
21702 rm -f conftest.er1
21703 cat conftest.err >&5
21704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21705 (exit $ac_status); } &&
21706 { ac_try='test -z "$ac_c_werror_flag"
21707 || test ! -s conftest.err'
21708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21709 (eval $ac_try) 2>&5
21710 ac_status=$?
21711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21712 (exit $ac_status); }; } &&
21713 { ac_try='test -s conftest.$ac_objext'
21714 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21715 (eval $ac_try) 2>&5
21716 ac_status=$?
21717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21718 (exit $ac_status); }; }; then
21719 glibcxx_cv_stdio_macros=yes
21720 else
21721 echo "$as_me: failed program was:" >&5
21722 sed 's/^/| /' conftest.$ac_ext >&5
21724 glibcxx_cv_stdio_macros=no
21726 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21730 echo "$as_me:$LINENO: result: $glibcxx_cv_stdio_macros" >&5
21731 echo "${ECHO_T}$glibcxx_cv_stdio_macros" >&6
21732 if test x"$glibcxx_cv_stdio_macros" = x"yes"; then
21734 cat >>confdefs.h <<\_ACEOF
21735 #define _GLIBCXX_STDIO_MACROS 1
21736 _ACEOF
21742 # For gettimeofday support.
21745 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21746 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21750 ac_ext=cc
21751 ac_cpp='$CXXCPP $CPPFLAGS'
21752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21756 ac_save_CXXFLAGS="$CXXFLAGS"
21757 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21759 ac_has_gettimeofday=no;
21761 for ac_header in sys/time.h
21763 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
21764 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21765 echo "$as_me:$LINENO: checking for $ac_header" >&5
21766 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21767 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21768 echo $ECHO_N "(cached) $ECHO_C" >&6
21770 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21771 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21772 else
21773 # Is the header compilable?
21774 echo "$as_me:$LINENO: checking $ac_header usability" >&5
21775 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
21776 cat >conftest.$ac_ext <<_ACEOF
21777 /* confdefs.h. */
21778 _ACEOF
21779 cat confdefs.h >>conftest.$ac_ext
21780 cat >>conftest.$ac_ext <<_ACEOF
21781 /* end confdefs.h. */
21782 $ac_includes_default
21783 #include <$ac_header>
21784 _ACEOF
21785 rm -f conftest.$ac_objext
21786 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21787 (eval $ac_compile) 2>conftest.er1
21788 ac_status=$?
21789 grep -v '^ *+' conftest.er1 >conftest.err
21790 rm -f conftest.er1
21791 cat conftest.err >&5
21792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21793 (exit $ac_status); } &&
21794 { ac_try='test -z "$ac_cxx_werror_flag"
21795 || test ! -s conftest.err'
21796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21797 (eval $ac_try) 2>&5
21798 ac_status=$?
21799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21800 (exit $ac_status); }; } &&
21801 { ac_try='test -s conftest.$ac_objext'
21802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21803 (eval $ac_try) 2>&5
21804 ac_status=$?
21805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21806 (exit $ac_status); }; }; then
21807 ac_header_compiler=yes
21808 else
21809 echo "$as_me: failed program was:" >&5
21810 sed 's/^/| /' conftest.$ac_ext >&5
21812 ac_header_compiler=no
21814 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21815 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
21816 echo "${ECHO_T}$ac_header_compiler" >&6
21818 # Is the header present?
21819 echo "$as_me:$LINENO: checking $ac_header presence" >&5
21820 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
21821 cat >conftest.$ac_ext <<_ACEOF
21822 /* confdefs.h. */
21823 _ACEOF
21824 cat confdefs.h >>conftest.$ac_ext
21825 cat >>conftest.$ac_ext <<_ACEOF
21826 /* end confdefs.h. */
21827 #include <$ac_header>
21828 _ACEOF
21829 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
21830 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
21831 ac_status=$?
21832 grep -v '^ *+' conftest.er1 >conftest.err
21833 rm -f conftest.er1
21834 cat conftest.err >&5
21835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21836 (exit $ac_status); } >/dev/null; then
21837 if test -s conftest.err; then
21838 ac_cpp_err=$ac_cxx_preproc_warn_flag
21839 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
21840 else
21841 ac_cpp_err=
21843 else
21844 ac_cpp_err=yes
21846 if test -z "$ac_cpp_err"; then
21847 ac_header_preproc=yes
21848 else
21849 echo "$as_me: failed program was:" >&5
21850 sed 's/^/| /' conftest.$ac_ext >&5
21852 ac_header_preproc=no
21854 rm -f conftest.err conftest.$ac_ext
21855 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
21856 echo "${ECHO_T}$ac_header_preproc" >&6
21858 # So? What about this header?
21859 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
21860 yes:no: )
21861 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
21862 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
21863 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
21864 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
21865 ac_header_preproc=yes
21867 no:yes:* )
21868 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
21869 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
21870 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
21871 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
21872 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
21873 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
21874 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
21875 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
21876 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
21877 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
21878 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
21879 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
21881 cat <<\_ASBOX
21882 ## ----------------------------------------- ##
21883 ## Report this to the package-unused lists. ##
21884 ## ----------------------------------------- ##
21885 _ASBOX
21887 sed "s/^/$as_me: WARNING: /" >&2
21889 esac
21890 echo "$as_me:$LINENO: checking for $ac_header" >&5
21891 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
21892 if eval "test \"\${$as_ac_Header+set}\" = set"; then
21893 echo $ECHO_N "(cached) $ECHO_C" >&6
21894 else
21895 eval "$as_ac_Header=\$ac_header_preproc"
21897 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
21898 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
21901 if test `eval echo '${'$as_ac_Header'}'` = yes; then
21902 cat >>confdefs.h <<_ACEOF
21903 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
21904 _ACEOF
21905 ac_has_sys_time_h=yes
21906 else
21907 ac_has_sys_time_h=no
21910 done
21912 if test x"$ac_has_sys_time_h" = x"yes"; then
21913 echo "$as_me:$LINENO: checking for gettimeofday" >&5
21914 echo $ECHO_N "checking for gettimeofday... $ECHO_C" >&6
21915 if test x$gcc_no_link = xyes; then
21916 cat >conftest.$ac_ext <<_ACEOF
21917 /* confdefs.h. */
21918 _ACEOF
21919 cat confdefs.h >>conftest.$ac_ext
21920 cat >>conftest.$ac_ext <<_ACEOF
21921 /* end confdefs.h. */
21922 #include <sys/time.h>
21924 main ()
21926 timeval tv; gettimeofday(&tv, 0);
21928 return 0;
21930 _ACEOF
21931 rm -f conftest.$ac_objext
21932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
21933 (eval $ac_compile) 2>conftest.er1
21934 ac_status=$?
21935 grep -v '^ *+' conftest.er1 >conftest.err
21936 rm -f conftest.er1
21937 cat conftest.err >&5
21938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21939 (exit $ac_status); } &&
21940 { ac_try='test -z "$ac_cxx_werror_flag"
21941 || test ! -s conftest.err'
21942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21943 (eval $ac_try) 2>&5
21944 ac_status=$?
21945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21946 (exit $ac_status); }; } &&
21947 { ac_try='test -s conftest.$ac_objext'
21948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21949 (eval $ac_try) 2>&5
21950 ac_status=$?
21951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21952 (exit $ac_status); }; }; then
21953 ac_has_gettimeofday=yes
21954 else
21955 echo "$as_me: failed program was:" >&5
21956 sed 's/^/| /' conftest.$ac_ext >&5
21958 ac_has_gettimeofday=no
21960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
21961 else
21962 if test x$gcc_no_link = xyes; then
21963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
21964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
21965 { (exit 1); exit 1; }; }
21967 cat >conftest.$ac_ext <<_ACEOF
21968 /* confdefs.h. */
21969 _ACEOF
21970 cat confdefs.h >>conftest.$ac_ext
21971 cat >>conftest.$ac_ext <<_ACEOF
21972 /* end confdefs.h. */
21973 #include <sys/time.h>
21975 main ()
21977 timeval tv; gettimeofday(&tv, 0);
21979 return 0;
21981 _ACEOF
21982 rm -f conftest.$ac_objext conftest$ac_exeext
21983 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
21984 (eval $ac_link) 2>conftest.er1
21985 ac_status=$?
21986 grep -v '^ *+' conftest.er1 >conftest.err
21987 rm -f conftest.er1
21988 cat conftest.err >&5
21989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21990 (exit $ac_status); } &&
21991 { ac_try='test -z "$ac_cxx_werror_flag"
21992 || test ! -s conftest.err'
21993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
21994 (eval $ac_try) 2>&5
21995 ac_status=$?
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); }; } &&
21998 { ac_try='test -s conftest$ac_exeext'
21999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22000 (eval $ac_try) 2>&5
22001 ac_status=$?
22002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22003 (exit $ac_status); }; }; then
22004 ac_has_gettimeofday=yes
22005 else
22006 echo "$as_me: failed program was:" >&5
22007 sed 's/^/| /' conftest.$ac_ext >&5
22009 ac_has_gettimeofday=no
22011 rm -f conftest.err conftest.$ac_objext \
22012 conftest$ac_exeext conftest.$ac_ext
22015 echo "$as_me:$LINENO: result: $ac_has_gettimeofday" >&5
22016 echo "${ECHO_T}$ac_has_gettimeofday" >&6
22019 if test x"$ac_has_gettimeofday" = x"yes"; then
22021 cat >>confdefs.h <<\_ACEOF
22022 #define _GLIBCXX_USE_GETTIMEOFDAY 1
22023 _ACEOF
22027 CXXFLAGS="$ac_save_CXXFLAGS"
22028 ac_ext=c
22029 ac_cpp='$CPP $CPPFLAGS'
22030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22036 # For clock_gettime, nanosleep and sched_yield support.
22037 # NB: The default is [no], because otherwise it requires linking.
22040 echo "$as_me:$LINENO: checking for clock_gettime, nanosleep and sched_yield" >&5
22041 echo $ECHO_N "checking for clock_gettime, nanosleep and sched_yield... $ECHO_C" >&6
22042 # Check whether --enable-libstdcxx-time or --disable-libstdcxx-time was given.
22043 if test "${enable_libstdcxx_time+set}" = set; then
22044 enableval="$enable_libstdcxx_time"
22046 case "$enableval" in
22047 yes|no|rt) ;;
22048 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable libstdcxx-time" >&5
22049 echo "$as_me: error: Unknown argument to enable/disable libstdcxx-time" >&2;}
22050 { (exit 1); exit 1; }; } ;;
22051 esac
22053 else
22054 enable_libstdcxx_time=no
22060 ac_ext=cc
22061 ac_cpp='$CXXCPP $CPPFLAGS'
22062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22066 ac_save_CXXFLAGS="$CXXFLAGS"
22067 CXXFLAGS="$CXXFLAGS -fno-exceptions"
22068 ac_save_LIBS="$LIBS"
22070 ac_has_clock_monotonic=no;
22071 ac_has_clock_realtime=no;
22073 if test x"$enable_libstdcxx_time" != x"no"; then
22075 if test x"$enable_libstdcxx_time" = x"rt"; then
22076 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
22077 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
22078 if test "${ac_cv_search_clock_gettime+set}" = set; then
22079 echo $ECHO_N "(cached) $ECHO_C" >&6
22080 else
22081 ac_func_search_save_LIBS=$LIBS
22082 ac_cv_search_clock_gettime=no
22083 if test x$gcc_no_link = xyes; then
22084 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22085 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22086 { (exit 1); exit 1; }; }
22088 cat >conftest.$ac_ext <<_ACEOF
22089 /* confdefs.h. */
22090 _ACEOF
22091 cat confdefs.h >>conftest.$ac_ext
22092 cat >>conftest.$ac_ext <<_ACEOF
22093 /* end confdefs.h. */
22095 /* Override any gcc2 internal prototype to avoid an error. */
22096 #ifdef __cplusplus
22097 extern "C"
22098 #endif
22099 /* We use char because int might match the return type of a gcc2
22100 builtin and then its argument prototype would still apply. */
22101 char clock_gettime ();
22103 main ()
22105 clock_gettime ();
22107 return 0;
22109 _ACEOF
22110 rm -f conftest.$ac_objext conftest$ac_exeext
22111 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22112 (eval $ac_link) 2>conftest.er1
22113 ac_status=$?
22114 grep -v '^ *+' conftest.er1 >conftest.err
22115 rm -f conftest.er1
22116 cat conftest.err >&5
22117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22118 (exit $ac_status); } &&
22119 { ac_try='test -z "$ac_cxx_werror_flag"
22120 || test ! -s conftest.err'
22121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22122 (eval $ac_try) 2>&5
22123 ac_status=$?
22124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22125 (exit $ac_status); }; } &&
22126 { ac_try='test -s conftest$ac_exeext'
22127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22128 (eval $ac_try) 2>&5
22129 ac_status=$?
22130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22131 (exit $ac_status); }; }; then
22132 ac_cv_search_clock_gettime="none required"
22133 else
22134 echo "$as_me: failed program was:" >&5
22135 sed 's/^/| /' conftest.$ac_ext >&5
22138 rm -f conftest.err conftest.$ac_objext \
22139 conftest$ac_exeext conftest.$ac_ext
22140 if test "$ac_cv_search_clock_gettime" = no; then
22141 for ac_lib in rt posix4; do
22142 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22143 if test x$gcc_no_link = xyes; then
22144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22146 { (exit 1); exit 1; }; }
22148 cat >conftest.$ac_ext <<_ACEOF
22149 /* confdefs.h. */
22150 _ACEOF
22151 cat confdefs.h >>conftest.$ac_ext
22152 cat >>conftest.$ac_ext <<_ACEOF
22153 /* end confdefs.h. */
22155 /* Override any gcc2 internal prototype to avoid an error. */
22156 #ifdef __cplusplus
22157 extern "C"
22158 #endif
22159 /* We use char because int might match the return type of a gcc2
22160 builtin and then its argument prototype would still apply. */
22161 char clock_gettime ();
22163 main ()
22165 clock_gettime ();
22167 return 0;
22169 _ACEOF
22170 rm -f conftest.$ac_objext conftest$ac_exeext
22171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22172 (eval $ac_link) 2>conftest.er1
22173 ac_status=$?
22174 grep -v '^ *+' conftest.er1 >conftest.err
22175 rm -f conftest.er1
22176 cat conftest.err >&5
22177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22178 (exit $ac_status); } &&
22179 { ac_try='test -z "$ac_cxx_werror_flag"
22180 || test ! -s conftest.err'
22181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22182 (eval $ac_try) 2>&5
22183 ac_status=$?
22184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22185 (exit $ac_status); }; } &&
22186 { ac_try='test -s conftest$ac_exeext'
22187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22188 (eval $ac_try) 2>&5
22189 ac_status=$?
22190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22191 (exit $ac_status); }; }; then
22192 ac_cv_search_clock_gettime="-l$ac_lib"
22193 break
22194 else
22195 echo "$as_me: failed program was:" >&5
22196 sed 's/^/| /' conftest.$ac_ext >&5
22199 rm -f conftest.err conftest.$ac_objext \
22200 conftest$ac_exeext conftest.$ac_ext
22201 done
22203 LIBS=$ac_func_search_save_LIBS
22205 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22206 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22207 if test "$ac_cv_search_clock_gettime" != no; then
22208 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22212 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
22213 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
22214 if test "${ac_cv_search_nanosleep+set}" = set; then
22215 echo $ECHO_N "(cached) $ECHO_C" >&6
22216 else
22217 ac_func_search_save_LIBS=$LIBS
22218 ac_cv_search_nanosleep=no
22219 if test x$gcc_no_link = xyes; then
22220 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22221 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22222 { (exit 1); exit 1; }; }
22224 cat >conftest.$ac_ext <<_ACEOF
22225 /* confdefs.h. */
22226 _ACEOF
22227 cat confdefs.h >>conftest.$ac_ext
22228 cat >>conftest.$ac_ext <<_ACEOF
22229 /* end confdefs.h. */
22231 /* Override any gcc2 internal prototype to avoid an error. */
22232 #ifdef __cplusplus
22233 extern "C"
22234 #endif
22235 /* We use char because int might match the return type of a gcc2
22236 builtin and then its argument prototype would still apply. */
22237 char nanosleep ();
22239 main ()
22241 nanosleep ();
22243 return 0;
22245 _ACEOF
22246 rm -f conftest.$ac_objext conftest$ac_exeext
22247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22248 (eval $ac_link) 2>conftest.er1
22249 ac_status=$?
22250 grep -v '^ *+' conftest.er1 >conftest.err
22251 rm -f conftest.er1
22252 cat conftest.err >&5
22253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22254 (exit $ac_status); } &&
22255 { ac_try='test -z "$ac_cxx_werror_flag"
22256 || test ! -s conftest.err'
22257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22258 (eval $ac_try) 2>&5
22259 ac_status=$?
22260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22261 (exit $ac_status); }; } &&
22262 { ac_try='test -s conftest$ac_exeext'
22263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22264 (eval $ac_try) 2>&5
22265 ac_status=$?
22266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22267 (exit $ac_status); }; }; then
22268 ac_cv_search_nanosleep="none required"
22269 else
22270 echo "$as_me: failed program was:" >&5
22271 sed 's/^/| /' conftest.$ac_ext >&5
22274 rm -f conftest.err conftest.$ac_objext \
22275 conftest$ac_exeext conftest.$ac_ext
22276 if test "$ac_cv_search_nanosleep" = no; then
22277 for ac_lib in rt posix4; do
22278 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22279 if test x$gcc_no_link = xyes; then
22280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22282 { (exit 1); exit 1; }; }
22284 cat >conftest.$ac_ext <<_ACEOF
22285 /* confdefs.h. */
22286 _ACEOF
22287 cat confdefs.h >>conftest.$ac_ext
22288 cat >>conftest.$ac_ext <<_ACEOF
22289 /* end confdefs.h. */
22291 /* Override any gcc2 internal prototype to avoid an error. */
22292 #ifdef __cplusplus
22293 extern "C"
22294 #endif
22295 /* We use char because int might match the return type of a gcc2
22296 builtin and then its argument prototype would still apply. */
22297 char nanosleep ();
22299 main ()
22301 nanosleep ();
22303 return 0;
22305 _ACEOF
22306 rm -f conftest.$ac_objext conftest$ac_exeext
22307 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22308 (eval $ac_link) 2>conftest.er1
22309 ac_status=$?
22310 grep -v '^ *+' conftest.er1 >conftest.err
22311 rm -f conftest.er1
22312 cat conftest.err >&5
22313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22314 (exit $ac_status); } &&
22315 { ac_try='test -z "$ac_cxx_werror_flag"
22316 || test ! -s conftest.err'
22317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22318 (eval $ac_try) 2>&5
22319 ac_status=$?
22320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22321 (exit $ac_status); }; } &&
22322 { ac_try='test -s conftest$ac_exeext'
22323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22324 (eval $ac_try) 2>&5
22325 ac_status=$?
22326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22327 (exit $ac_status); }; }; then
22328 ac_cv_search_nanosleep="-l$ac_lib"
22329 break
22330 else
22331 echo "$as_me: failed program was:" >&5
22332 sed 's/^/| /' conftest.$ac_ext >&5
22335 rm -f conftest.err conftest.$ac_objext \
22336 conftest$ac_exeext conftest.$ac_ext
22337 done
22339 LIBS=$ac_func_search_save_LIBS
22341 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22342 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22343 if test "$ac_cv_search_nanosleep" != no; then
22344 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
22348 else
22349 echo "$as_me:$LINENO: checking for library containing clock_gettime" >&5
22350 echo $ECHO_N "checking for library containing clock_gettime... $ECHO_C" >&6
22351 if test "${ac_cv_search_clock_gettime+set}" = set; then
22352 echo $ECHO_N "(cached) $ECHO_C" >&6
22353 else
22354 ac_func_search_save_LIBS=$LIBS
22355 ac_cv_search_clock_gettime=no
22356 if test x$gcc_no_link = xyes; then
22357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22359 { (exit 1); exit 1; }; }
22361 cat >conftest.$ac_ext <<_ACEOF
22362 /* confdefs.h. */
22363 _ACEOF
22364 cat confdefs.h >>conftest.$ac_ext
22365 cat >>conftest.$ac_ext <<_ACEOF
22366 /* end confdefs.h. */
22368 /* Override any gcc2 internal prototype to avoid an error. */
22369 #ifdef __cplusplus
22370 extern "C"
22371 #endif
22372 /* We use char because int might match the return type of a gcc2
22373 builtin and then its argument prototype would still apply. */
22374 char clock_gettime ();
22376 main ()
22378 clock_gettime ();
22380 return 0;
22382 _ACEOF
22383 rm -f conftest.$ac_objext conftest$ac_exeext
22384 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22385 (eval $ac_link) 2>conftest.er1
22386 ac_status=$?
22387 grep -v '^ *+' conftest.er1 >conftest.err
22388 rm -f conftest.er1
22389 cat conftest.err >&5
22390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22391 (exit $ac_status); } &&
22392 { ac_try='test -z "$ac_cxx_werror_flag"
22393 || test ! -s conftest.err'
22394 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22395 (eval $ac_try) 2>&5
22396 ac_status=$?
22397 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22398 (exit $ac_status); }; } &&
22399 { ac_try='test -s conftest$ac_exeext'
22400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22401 (eval $ac_try) 2>&5
22402 ac_status=$?
22403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22404 (exit $ac_status); }; }; then
22405 ac_cv_search_clock_gettime="none required"
22406 else
22407 echo "$as_me: failed program was:" >&5
22408 sed 's/^/| /' conftest.$ac_ext >&5
22411 rm -f conftest.err conftest.$ac_objext \
22412 conftest$ac_exeext conftest.$ac_ext
22413 if test "$ac_cv_search_clock_gettime" = no; then
22414 for ac_lib in posix4; do
22415 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22416 if test x$gcc_no_link = xyes; then
22417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22419 { (exit 1); exit 1; }; }
22421 cat >conftest.$ac_ext <<_ACEOF
22422 /* confdefs.h. */
22423 _ACEOF
22424 cat confdefs.h >>conftest.$ac_ext
22425 cat >>conftest.$ac_ext <<_ACEOF
22426 /* end confdefs.h. */
22428 /* Override any gcc2 internal prototype to avoid an error. */
22429 #ifdef __cplusplus
22430 extern "C"
22431 #endif
22432 /* We use char because int might match the return type of a gcc2
22433 builtin and then its argument prototype would still apply. */
22434 char clock_gettime ();
22436 main ()
22438 clock_gettime ();
22440 return 0;
22442 _ACEOF
22443 rm -f conftest.$ac_objext conftest$ac_exeext
22444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22445 (eval $ac_link) 2>conftest.er1
22446 ac_status=$?
22447 grep -v '^ *+' conftest.er1 >conftest.err
22448 rm -f conftest.er1
22449 cat conftest.err >&5
22450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22451 (exit $ac_status); } &&
22452 { ac_try='test -z "$ac_cxx_werror_flag"
22453 || test ! -s conftest.err'
22454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22455 (eval $ac_try) 2>&5
22456 ac_status=$?
22457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22458 (exit $ac_status); }; } &&
22459 { ac_try='test -s conftest$ac_exeext'
22460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22461 (eval $ac_try) 2>&5
22462 ac_status=$?
22463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22464 (exit $ac_status); }; }; then
22465 ac_cv_search_clock_gettime="-l$ac_lib"
22466 break
22467 else
22468 echo "$as_me: failed program was:" >&5
22469 sed 's/^/| /' conftest.$ac_ext >&5
22472 rm -f conftest.err conftest.$ac_objext \
22473 conftest$ac_exeext conftest.$ac_ext
22474 done
22476 LIBS=$ac_func_search_save_LIBS
22478 echo "$as_me:$LINENO: result: $ac_cv_search_clock_gettime" >&5
22479 echo "${ECHO_T}$ac_cv_search_clock_gettime" >&6
22480 if test "$ac_cv_search_clock_gettime" != no; then
22481 test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$ac_cv_search_clock_gettime $LIBS"
22485 echo "$as_me:$LINENO: checking for library containing nanosleep" >&5
22486 echo $ECHO_N "checking for library containing nanosleep... $ECHO_C" >&6
22487 if test "${ac_cv_search_nanosleep+set}" = set; then
22488 echo $ECHO_N "(cached) $ECHO_C" >&6
22489 else
22490 ac_func_search_save_LIBS=$LIBS
22491 ac_cv_search_nanosleep=no
22492 if test x$gcc_no_link = xyes; then
22493 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22494 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22495 { (exit 1); exit 1; }; }
22497 cat >conftest.$ac_ext <<_ACEOF
22498 /* confdefs.h. */
22499 _ACEOF
22500 cat confdefs.h >>conftest.$ac_ext
22501 cat >>conftest.$ac_ext <<_ACEOF
22502 /* end confdefs.h. */
22504 /* Override any gcc2 internal prototype to avoid an error. */
22505 #ifdef __cplusplus
22506 extern "C"
22507 #endif
22508 /* We use char because int might match the return type of a gcc2
22509 builtin and then its argument prototype would still apply. */
22510 char nanosleep ();
22512 main ()
22514 nanosleep ();
22516 return 0;
22518 _ACEOF
22519 rm -f conftest.$ac_objext conftest$ac_exeext
22520 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22521 (eval $ac_link) 2>conftest.er1
22522 ac_status=$?
22523 grep -v '^ *+' conftest.er1 >conftest.err
22524 rm -f conftest.er1
22525 cat conftest.err >&5
22526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22527 (exit $ac_status); } &&
22528 { ac_try='test -z "$ac_cxx_werror_flag"
22529 || test ! -s conftest.err'
22530 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22531 (eval $ac_try) 2>&5
22532 ac_status=$?
22533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22534 (exit $ac_status); }; } &&
22535 { ac_try='test -s conftest$ac_exeext'
22536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22537 (eval $ac_try) 2>&5
22538 ac_status=$?
22539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22540 (exit $ac_status); }; }; then
22541 ac_cv_search_nanosleep="none required"
22542 else
22543 echo "$as_me: failed program was:" >&5
22544 sed 's/^/| /' conftest.$ac_ext >&5
22547 rm -f conftest.err conftest.$ac_objext \
22548 conftest$ac_exeext conftest.$ac_ext
22549 if test "$ac_cv_search_nanosleep" = no; then
22550 for ac_lib in posix4; do
22551 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22552 if test x$gcc_no_link = xyes; then
22553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22555 { (exit 1); exit 1; }; }
22557 cat >conftest.$ac_ext <<_ACEOF
22558 /* confdefs.h. */
22559 _ACEOF
22560 cat confdefs.h >>conftest.$ac_ext
22561 cat >>conftest.$ac_ext <<_ACEOF
22562 /* end confdefs.h. */
22564 /* Override any gcc2 internal prototype to avoid an error. */
22565 #ifdef __cplusplus
22566 extern "C"
22567 #endif
22568 /* We use char because int might match the return type of a gcc2
22569 builtin and then its argument prototype would still apply. */
22570 char nanosleep ();
22572 main ()
22574 nanosleep ();
22576 return 0;
22578 _ACEOF
22579 rm -f conftest.$ac_objext conftest$ac_exeext
22580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22581 (eval $ac_link) 2>conftest.er1
22582 ac_status=$?
22583 grep -v '^ *+' conftest.er1 >conftest.err
22584 rm -f conftest.er1
22585 cat conftest.err >&5
22586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22587 (exit $ac_status); } &&
22588 { ac_try='test -z "$ac_cxx_werror_flag"
22589 || test ! -s conftest.err'
22590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22591 (eval $ac_try) 2>&5
22592 ac_status=$?
22593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22594 (exit $ac_status); }; } &&
22595 { ac_try='test -s conftest$ac_exeext'
22596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22597 (eval $ac_try) 2>&5
22598 ac_status=$?
22599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22600 (exit $ac_status); }; }; then
22601 ac_cv_search_nanosleep="-l$ac_lib"
22602 break
22603 else
22604 echo "$as_me: failed program was:" >&5
22605 sed 's/^/| /' conftest.$ac_ext >&5
22608 rm -f conftest.err conftest.$ac_objext \
22609 conftest$ac_exeext conftest.$ac_ext
22610 done
22612 LIBS=$ac_func_search_save_LIBS
22614 echo "$as_me:$LINENO: result: $ac_cv_search_nanosleep" >&5
22615 echo "${ECHO_T}$ac_cv_search_nanosleep" >&6
22616 if test "$ac_cv_search_nanosleep" != no; then
22617 test "$ac_cv_search_nanosleep" = "none required" || LIBS="$ac_cv_search_nanosleep $LIBS"
22623 case "$ac_cv_search_clock_gettime" in
22624 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
22626 esac
22627 case "$ac_cv_search_nanosleep" in
22628 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
22630 esac
22632 echo "$as_me:$LINENO: checking for library containing sched_yield" >&5
22633 echo $ECHO_N "checking for library containing sched_yield... $ECHO_C" >&6
22634 if test "${ac_cv_search_sched_yield+set}" = set; then
22635 echo $ECHO_N "(cached) $ECHO_C" >&6
22636 else
22637 ac_func_search_save_LIBS=$LIBS
22638 ac_cv_search_sched_yield=no
22639 if test x$gcc_no_link = xyes; then
22640 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22641 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22642 { (exit 1); exit 1; }; }
22644 cat >conftest.$ac_ext <<_ACEOF
22645 /* confdefs.h. */
22646 _ACEOF
22647 cat confdefs.h >>conftest.$ac_ext
22648 cat >>conftest.$ac_ext <<_ACEOF
22649 /* end confdefs.h. */
22651 /* Override any gcc2 internal prototype to avoid an error. */
22652 #ifdef __cplusplus
22653 extern "C"
22654 #endif
22655 /* We use char because int might match the return type of a gcc2
22656 builtin and then its argument prototype would still apply. */
22657 char sched_yield ();
22659 main ()
22661 sched_yield ();
22663 return 0;
22665 _ACEOF
22666 rm -f conftest.$ac_objext conftest$ac_exeext
22667 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22668 (eval $ac_link) 2>conftest.er1
22669 ac_status=$?
22670 grep -v '^ *+' conftest.er1 >conftest.err
22671 rm -f conftest.er1
22672 cat conftest.err >&5
22673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22674 (exit $ac_status); } &&
22675 { ac_try='test -z "$ac_cxx_werror_flag"
22676 || test ! -s conftest.err'
22677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22678 (eval $ac_try) 2>&5
22679 ac_status=$?
22680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22681 (exit $ac_status); }; } &&
22682 { ac_try='test -s conftest$ac_exeext'
22683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22684 (eval $ac_try) 2>&5
22685 ac_status=$?
22686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22687 (exit $ac_status); }; }; then
22688 ac_cv_search_sched_yield="none required"
22689 else
22690 echo "$as_me: failed program was:" >&5
22691 sed 's/^/| /' conftest.$ac_ext >&5
22694 rm -f conftest.err conftest.$ac_objext \
22695 conftest$ac_exeext conftest.$ac_ext
22696 if test "$ac_cv_search_sched_yield" = no; then
22697 for ac_lib in rt posix4; do
22698 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
22699 if test x$gcc_no_link = xyes; then
22700 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22701 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22702 { (exit 1); exit 1; }; }
22704 cat >conftest.$ac_ext <<_ACEOF
22705 /* confdefs.h. */
22706 _ACEOF
22707 cat confdefs.h >>conftest.$ac_ext
22708 cat >>conftest.$ac_ext <<_ACEOF
22709 /* end confdefs.h. */
22711 /* Override any gcc2 internal prototype to avoid an error. */
22712 #ifdef __cplusplus
22713 extern "C"
22714 #endif
22715 /* We use char because int might match the return type of a gcc2
22716 builtin and then its argument prototype would still apply. */
22717 char sched_yield ();
22719 main ()
22721 sched_yield ();
22723 return 0;
22725 _ACEOF
22726 rm -f conftest.$ac_objext conftest$ac_exeext
22727 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22728 (eval $ac_link) 2>conftest.er1
22729 ac_status=$?
22730 grep -v '^ *+' conftest.er1 >conftest.err
22731 rm -f conftest.er1
22732 cat conftest.err >&5
22733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22734 (exit $ac_status); } &&
22735 { ac_try='test -z "$ac_cxx_werror_flag"
22736 || test ! -s conftest.err'
22737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22738 (eval $ac_try) 2>&5
22739 ac_status=$?
22740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22741 (exit $ac_status); }; } &&
22742 { ac_try='test -s conftest$ac_exeext'
22743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22744 (eval $ac_try) 2>&5
22745 ac_status=$?
22746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22747 (exit $ac_status); }; }; then
22748 ac_cv_search_sched_yield="-l$ac_lib"
22749 break
22750 else
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22755 rm -f conftest.err conftest.$ac_objext \
22756 conftest$ac_exeext conftest.$ac_ext
22757 done
22759 LIBS=$ac_func_search_save_LIBS
22761 echo "$as_me:$LINENO: result: $ac_cv_search_sched_yield" >&5
22762 echo "${ECHO_T}$ac_cv_search_sched_yield" >&6
22763 if test "$ac_cv_search_sched_yield" != no; then
22764 test "$ac_cv_search_sched_yield" = "none required" || LIBS="$ac_cv_search_sched_yield $LIBS"
22769 case "$ac_cv_search_sched_yield" in
22770 -lposix4*)
22771 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
22773 cat >>confdefs.h <<\_ACEOF
22774 #define _GLIBCXX_USE_SCHED_YIELD 1
22775 _ACEOF
22778 -lrt*)
22779 if test x"$enable_libstdcxx_time" = x"rt"; then
22780 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
22782 cat >>confdefs.h <<\_ACEOF
22783 #define _GLIBCXX_USE_SCHED_YIELD 1
22784 _ACEOF
22790 cat >>confdefs.h <<\_ACEOF
22791 #define _GLIBCXX_USE_SCHED_YIELD 1
22792 _ACEOF
22795 esac
22798 for ac_header in unistd.h
22800 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
22801 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22802 echo "$as_me:$LINENO: checking for $ac_header" >&5
22803 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22804 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22805 echo $ECHO_N "(cached) $ECHO_C" >&6
22807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22808 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22809 else
22810 # Is the header compilable?
22811 echo "$as_me:$LINENO: checking $ac_header usability" >&5
22812 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
22813 cat >conftest.$ac_ext <<_ACEOF
22814 /* confdefs.h. */
22815 _ACEOF
22816 cat confdefs.h >>conftest.$ac_ext
22817 cat >>conftest.$ac_ext <<_ACEOF
22818 /* end confdefs.h. */
22819 $ac_includes_default
22820 #include <$ac_header>
22821 _ACEOF
22822 rm -f conftest.$ac_objext
22823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
22824 (eval $ac_compile) 2>conftest.er1
22825 ac_status=$?
22826 grep -v '^ *+' conftest.er1 >conftest.err
22827 rm -f conftest.er1
22828 cat conftest.err >&5
22829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22830 (exit $ac_status); } &&
22831 { ac_try='test -z "$ac_cxx_werror_flag"
22832 || test ! -s conftest.err'
22833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22834 (eval $ac_try) 2>&5
22835 ac_status=$?
22836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22837 (exit $ac_status); }; } &&
22838 { ac_try='test -s conftest.$ac_objext'
22839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22840 (eval $ac_try) 2>&5
22841 ac_status=$?
22842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22843 (exit $ac_status); }; }; then
22844 ac_header_compiler=yes
22845 else
22846 echo "$as_me: failed program was:" >&5
22847 sed 's/^/| /' conftest.$ac_ext >&5
22849 ac_header_compiler=no
22851 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
22852 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
22853 echo "${ECHO_T}$ac_header_compiler" >&6
22855 # Is the header present?
22856 echo "$as_me:$LINENO: checking $ac_header presence" >&5
22857 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
22858 cat >conftest.$ac_ext <<_ACEOF
22859 /* confdefs.h. */
22860 _ACEOF
22861 cat confdefs.h >>conftest.$ac_ext
22862 cat >>conftest.$ac_ext <<_ACEOF
22863 /* end confdefs.h. */
22864 #include <$ac_header>
22865 _ACEOF
22866 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
22867 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
22868 ac_status=$?
22869 grep -v '^ *+' conftest.er1 >conftest.err
22870 rm -f conftest.er1
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } >/dev/null; then
22874 if test -s conftest.err; then
22875 ac_cpp_err=$ac_cxx_preproc_warn_flag
22876 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
22877 else
22878 ac_cpp_err=
22880 else
22881 ac_cpp_err=yes
22883 if test -z "$ac_cpp_err"; then
22884 ac_header_preproc=yes
22885 else
22886 echo "$as_me: failed program was:" >&5
22887 sed 's/^/| /' conftest.$ac_ext >&5
22889 ac_header_preproc=no
22891 rm -f conftest.err conftest.$ac_ext
22892 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
22893 echo "${ECHO_T}$ac_header_preproc" >&6
22895 # So? What about this header?
22896 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
22897 yes:no: )
22898 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
22899 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
22900 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
22901 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
22902 ac_header_preproc=yes
22904 no:yes:* )
22905 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
22906 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
22907 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
22908 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
22909 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
22910 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
22911 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
22912 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
22913 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
22914 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
22915 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
22916 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
22918 cat <<\_ASBOX
22919 ## ----------------------------------------- ##
22920 ## Report this to the package-unused lists. ##
22921 ## ----------------------------------------- ##
22922 _ASBOX
22924 sed "s/^/$as_me: WARNING: /" >&2
22926 esac
22927 echo "$as_me:$LINENO: checking for $ac_header" >&5
22928 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
22929 if eval "test \"\${$as_ac_Header+set}\" = set"; then
22930 echo $ECHO_N "(cached) $ECHO_C" >&6
22931 else
22932 eval "$as_ac_Header=\$ac_header_preproc"
22934 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
22935 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
22938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
22939 cat >>confdefs.h <<_ACEOF
22940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
22941 _ACEOF
22942 ac_has_unistd_h=yes
22943 else
22944 ac_has_unistd_h=no
22947 done
22950 if test x"$ac_has_unistd_h" = x"yes"; then
22951 echo "$as_me:$LINENO: checking for monotonic clock" >&5
22952 echo $ECHO_N "checking for monotonic clock... $ECHO_C" >&6
22953 if test x$gcc_no_link = xyes; then
22954 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
22955 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
22956 { (exit 1); exit 1; }; }
22958 cat >conftest.$ac_ext <<_ACEOF
22959 /* confdefs.h. */
22960 _ACEOF
22961 cat confdefs.h >>conftest.$ac_ext
22962 cat >>conftest.$ac_ext <<_ACEOF
22963 /* end confdefs.h. */
22964 #include <unistd.h>
22965 #include <time.h>
22968 main ()
22970 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
22971 timespec tp;
22972 #endif
22973 clock_gettime(CLOCK_MONOTONIC, &tp);
22976 return 0;
22978 _ACEOF
22979 rm -f conftest.$ac_objext conftest$ac_exeext
22980 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
22981 (eval $ac_link) 2>conftest.er1
22982 ac_status=$?
22983 grep -v '^ *+' conftest.er1 >conftest.err
22984 rm -f conftest.er1
22985 cat conftest.err >&5
22986 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22987 (exit $ac_status); } &&
22988 { ac_try='test -z "$ac_cxx_werror_flag"
22989 || test ! -s conftest.err'
22990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22991 (eval $ac_try) 2>&5
22992 ac_status=$?
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); }; } &&
22995 { ac_try='test -s conftest$ac_exeext'
22996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
22997 (eval $ac_try) 2>&5
22998 ac_status=$?
22999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23000 (exit $ac_status); }; }; then
23001 ac_has_clock_monotonic=yes
23002 else
23003 echo "$as_me: failed program was:" >&5
23004 sed 's/^/| /' conftest.$ac_ext >&5
23006 ac_has_clock_monotonic=no
23008 rm -f conftest.err conftest.$ac_objext \
23009 conftest$ac_exeext conftest.$ac_ext
23011 echo "$as_me:$LINENO: result: $ac_has_clock_monotonic" >&5
23012 echo "${ECHO_T}$ac_has_clock_monotonic" >&6
23014 echo "$as_me:$LINENO: checking for realtime clock" >&5
23015 echo $ECHO_N "checking for realtime clock... $ECHO_C" >&6
23016 if test x$gcc_no_link = xyes; then
23017 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23018 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23019 { (exit 1); exit 1; }; }
23021 cat >conftest.$ac_ext <<_ACEOF
23022 /* confdefs.h. */
23023 _ACEOF
23024 cat confdefs.h >>conftest.$ac_ext
23025 cat >>conftest.$ac_ext <<_ACEOF
23026 /* end confdefs.h. */
23027 #include <unistd.h>
23028 #include <time.h>
23031 main ()
23033 #if _POSIX_TIMERS > 0
23034 timespec tp;
23035 #endif
23036 clock_gettime(CLOCK_REALTIME, &tp);
23039 return 0;
23041 _ACEOF
23042 rm -f conftest.$ac_objext conftest$ac_exeext
23043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23044 (eval $ac_link) 2>conftest.er1
23045 ac_status=$?
23046 grep -v '^ *+' conftest.er1 >conftest.err
23047 rm -f conftest.er1
23048 cat conftest.err >&5
23049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23050 (exit $ac_status); } &&
23051 { ac_try='test -z "$ac_cxx_werror_flag"
23052 || test ! -s conftest.err'
23053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23054 (eval $ac_try) 2>&5
23055 ac_status=$?
23056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23057 (exit $ac_status); }; } &&
23058 { ac_try='test -s conftest$ac_exeext'
23059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23060 (eval $ac_try) 2>&5
23061 ac_status=$?
23062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23063 (exit $ac_status); }; }; then
23064 ac_has_clock_realtime=yes
23065 else
23066 echo "$as_me: failed program was:" >&5
23067 sed 's/^/| /' conftest.$ac_ext >&5
23069 ac_has_clock_realtime=no
23071 rm -f conftest.err conftest.$ac_objext \
23072 conftest$ac_exeext conftest.$ac_ext
23074 echo "$as_me:$LINENO: result: $ac_has_clock_realtime" >&5
23075 echo "${ECHO_T}$ac_has_clock_realtime" >&6
23077 echo "$as_me:$LINENO: checking for nanosleep" >&5
23078 echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6
23079 if test x$gcc_no_link = xyes; then
23080 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23081 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23082 { (exit 1); exit 1; }; }
23084 cat >conftest.$ac_ext <<_ACEOF
23085 /* confdefs.h. */
23086 _ACEOF
23087 cat confdefs.h >>conftest.$ac_ext
23088 cat >>conftest.$ac_ext <<_ACEOF
23089 /* end confdefs.h. */
23090 #include <unistd.h>
23091 #include <time.h>
23094 main ()
23096 #if _POSIX_TIMERS > 0
23097 timespec tp;
23098 #endif
23099 nanosleep(&tp, 0);
23102 return 0;
23104 _ACEOF
23105 rm -f conftest.$ac_objext conftest$ac_exeext
23106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23107 (eval $ac_link) 2>conftest.er1
23108 ac_status=$?
23109 grep -v '^ *+' conftest.er1 >conftest.err
23110 rm -f conftest.er1
23111 cat conftest.err >&5
23112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23113 (exit $ac_status); } &&
23114 { ac_try='test -z "$ac_cxx_werror_flag"
23115 || test ! -s conftest.err'
23116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23117 (eval $ac_try) 2>&5
23118 ac_status=$?
23119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23120 (exit $ac_status); }; } &&
23121 { ac_try='test -s conftest$ac_exeext'
23122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23123 (eval $ac_try) 2>&5
23124 ac_status=$?
23125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23126 (exit $ac_status); }; }; then
23127 ac_has_nanosleep=yes
23128 else
23129 echo "$as_me: failed program was:" >&5
23130 sed 's/^/| /' conftest.$ac_ext >&5
23132 ac_has_nanosleep=no
23134 rm -f conftest.err conftest.$ac_objext \
23135 conftest$ac_exeext conftest.$ac_ext
23137 echo "$as_me:$LINENO: result: $ac_has_nanosleep" >&5
23138 echo "${ECHO_T}$ac_has_nanosleep" >&6
23142 if test x"$ac_has_clock_monotonic" = x"yes"; then
23144 cat >>confdefs.h <<\_ACEOF
23145 #define _GLIBCXX_USE_CLOCK_MONOTONIC 1
23146 _ACEOF
23150 if test x"$ac_has_clock_realtime" = x"yes"; then
23152 cat >>confdefs.h <<\_ACEOF
23153 #define _GLIBCXX_USE_CLOCK_REALTIME 1
23154 _ACEOF
23158 if test x"$ac_has_nanosleep" = x"yes"; then
23160 cat >>confdefs.h <<\_ACEOF
23161 #define _GLIBCXX_USE_NANOSLEEP 1
23162 _ACEOF
23168 CXXFLAGS="$ac_save_CXXFLAGS"
23169 LIBS="$ac_save_LIBS"
23170 ac_ext=c
23171 ac_cpp='$CPP $CPPFLAGS'
23172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23178 # For gthread support
23182 ac_ext=cc
23183 ac_cpp='$CXXCPP $CPPFLAGS'
23184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23189 ac_save_CXXFLAGS="$CXXFLAGS"
23190 CXXFLAGS="$CXXFLAGS -fno-exceptions -I${toplevel_srcdir}/gcc"
23192 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
23193 case $target_thread_file in
23194 posix)
23195 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
23196 esac
23198 echo "$as_me:$LINENO: checking for gthreads library" >&5
23199 echo $ECHO_N "checking for gthreads library... $ECHO_C" >&6
23201 cat >conftest.$ac_ext <<_ACEOF
23202 /* confdefs.h. */
23203 _ACEOF
23204 cat confdefs.h >>conftest.$ac_ext
23205 cat >>conftest.$ac_ext <<_ACEOF
23206 /* end confdefs.h. */
23207 #include "gthr.h"
23209 main ()
23212 #ifndef __GTHREADS_CXX0X
23213 #error
23214 #endif
23216 // In case of POSIX threads check _POSIX_TIMEOUTS too.
23217 #if (defined(_PTHREADS) \
23218 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
23219 #error
23220 #endif
23223 return 0;
23225 _ACEOF
23226 rm -f conftest.$ac_objext
23227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23228 (eval $ac_compile) 2>conftest.er1
23229 ac_status=$?
23230 grep -v '^ *+' conftest.er1 >conftest.err
23231 rm -f conftest.er1
23232 cat conftest.err >&5
23233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23234 (exit $ac_status); } &&
23235 { ac_try='test -z "$ac_cxx_werror_flag"
23236 || test ! -s conftest.err'
23237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23238 (eval $ac_try) 2>&5
23239 ac_status=$?
23240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23241 (exit $ac_status); }; } &&
23242 { ac_try='test -s conftest.$ac_objext'
23243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23244 (eval $ac_try) 2>&5
23245 ac_status=$?
23246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23247 (exit $ac_status); }; }; then
23248 ac_has_gthreads=yes
23249 else
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23253 ac_has_gthreads=no
23255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23257 echo "$as_me:$LINENO: result: $ac_has_gthreads" >&5
23258 echo "${ECHO_T}$ac_has_gthreads" >&6
23260 if test x"$ac_has_gthreads" = x"yes"; then
23262 cat >>confdefs.h <<\_ACEOF
23263 #define _GLIBCXX_HAS_GTHREADS 1
23264 _ACEOF
23268 CXXFLAGS="$ac_save_CXXFLAGS"
23269 ac_ext=c
23270 ac_cpp='$CPP $CPPFLAGS'
23271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23278 if test "${ac_cv_header_locale_h+set}" = set; then
23279 echo "$as_me:$LINENO: checking for locale.h" >&5
23280 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
23281 if test "${ac_cv_header_locale_h+set}" = set; then
23282 echo $ECHO_N "(cached) $ECHO_C" >&6
23284 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
23285 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
23286 else
23287 # Is the header compilable?
23288 echo "$as_me:$LINENO: checking locale.h usability" >&5
23289 echo $ECHO_N "checking locale.h usability... $ECHO_C" >&6
23290 cat >conftest.$ac_ext <<_ACEOF
23291 /* confdefs.h. */
23292 _ACEOF
23293 cat confdefs.h >>conftest.$ac_ext
23294 cat >>conftest.$ac_ext <<_ACEOF
23295 /* end confdefs.h. */
23296 $ac_includes_default
23297 #include <locale.h>
23298 _ACEOF
23299 rm -f conftest.$ac_objext
23300 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23301 (eval $ac_compile) 2>conftest.er1
23302 ac_status=$?
23303 grep -v '^ *+' conftest.er1 >conftest.err
23304 rm -f conftest.er1
23305 cat conftest.err >&5
23306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23307 (exit $ac_status); } &&
23308 { ac_try='test -z "$ac_c_werror_flag"
23309 || test ! -s conftest.err'
23310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23311 (eval $ac_try) 2>&5
23312 ac_status=$?
23313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23314 (exit $ac_status); }; } &&
23315 { ac_try='test -s conftest.$ac_objext'
23316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23317 (eval $ac_try) 2>&5
23318 ac_status=$?
23319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23320 (exit $ac_status); }; }; then
23321 ac_header_compiler=yes
23322 else
23323 echo "$as_me: failed program was:" >&5
23324 sed 's/^/| /' conftest.$ac_ext >&5
23326 ac_header_compiler=no
23328 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23329 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23330 echo "${ECHO_T}$ac_header_compiler" >&6
23332 # Is the header present?
23333 echo "$as_me:$LINENO: checking locale.h presence" >&5
23334 echo $ECHO_N "checking locale.h presence... $ECHO_C" >&6
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 <locale.h>
23342 _ACEOF
23343 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23344 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23345 ac_status=$?
23346 grep -v '^ *+' conftest.er1 >conftest.err
23347 rm -f conftest.er1
23348 cat conftest.err >&5
23349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23350 (exit $ac_status); } >/dev/null; then
23351 if test -s conftest.err; then
23352 ac_cpp_err=$ac_c_preproc_warn_flag
23353 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23354 else
23355 ac_cpp_err=
23357 else
23358 ac_cpp_err=yes
23360 if test -z "$ac_cpp_err"; then
23361 ac_header_preproc=yes
23362 else
23363 echo "$as_me: failed program was:" >&5
23364 sed 's/^/| /' conftest.$ac_ext >&5
23366 ac_header_preproc=no
23368 rm -f conftest.err conftest.$ac_ext
23369 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23370 echo "${ECHO_T}$ac_header_preproc" >&6
23372 # So? What about this header?
23373 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23374 yes:no: )
23375 { echo "$as_me:$LINENO: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&5
23376 echo "$as_me: WARNING: locale.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
23377 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the compiler's result" >&5
23378 echo "$as_me: WARNING: locale.h: proceeding with the compiler's result" >&2;}
23379 ac_header_preproc=yes
23381 no:yes:* )
23382 { echo "$as_me:$LINENO: WARNING: locale.h: present but cannot be compiled" >&5
23383 echo "$as_me: WARNING: locale.h: present but cannot be compiled" >&2;}
23384 { echo "$as_me:$LINENO: WARNING: locale.h: check for missing prerequisite headers?" >&5
23385 echo "$as_me: WARNING: locale.h: check for missing prerequisite headers?" >&2;}
23386 { echo "$as_me:$LINENO: WARNING: locale.h: see the Autoconf documentation" >&5
23387 echo "$as_me: WARNING: locale.h: see the Autoconf documentation" >&2;}
23388 { echo "$as_me:$LINENO: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&5
23389 echo "$as_me: WARNING: locale.h: section \"Present But Cannot Be Compiled\"" >&2;}
23390 { echo "$as_me:$LINENO: WARNING: locale.h: proceeding with the preprocessor's result" >&5
23391 echo "$as_me: WARNING: locale.h: proceeding with the preprocessor's result" >&2;}
23392 { echo "$as_me:$LINENO: WARNING: locale.h: in the future, the compiler will take precedence" >&5
23393 echo "$as_me: WARNING: locale.h: in the future, the compiler will take precedence" >&2;}
23395 cat <<\_ASBOX
23396 ## ----------------------------------------- ##
23397 ## Report this to the package-unused lists. ##
23398 ## ----------------------------------------- ##
23399 _ASBOX
23401 sed "s/^/$as_me: WARNING: /" >&2
23403 esac
23404 echo "$as_me:$LINENO: checking for locale.h" >&5
23405 echo $ECHO_N "checking for locale.h... $ECHO_C" >&6
23406 if test "${ac_cv_header_locale_h+set}" = set; then
23407 echo $ECHO_N "(cached) $ECHO_C" >&6
23408 else
23409 ac_cv_header_locale_h=$ac_header_preproc
23411 echo "$as_me:$LINENO: result: $ac_cv_header_locale_h" >&5
23412 echo "${ECHO_T}$ac_cv_header_locale_h" >&6
23415 if test $ac_cv_header_locale_h = yes; then
23417 echo "$as_me:$LINENO: checking for LC_MESSAGES" >&5
23418 echo $ECHO_N "checking for LC_MESSAGES... $ECHO_C" >&6
23419 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then
23420 echo $ECHO_N "(cached) $ECHO_C" >&6
23421 else
23422 cat >conftest.$ac_ext <<_ACEOF
23423 /* confdefs.h. */
23424 _ACEOF
23425 cat confdefs.h >>conftest.$ac_ext
23426 cat >>conftest.$ac_ext <<_ACEOF
23427 /* end confdefs.h. */
23428 #include <locale.h>
23430 main ()
23432 return LC_MESSAGES
23434 return 0;
23436 _ACEOF
23437 rm -f conftest.$ac_objext
23438 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23439 (eval $ac_compile) 2>conftest.er1
23440 ac_status=$?
23441 grep -v '^ *+' conftest.er1 >conftest.err
23442 rm -f conftest.er1
23443 cat conftest.err >&5
23444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23445 (exit $ac_status); } &&
23446 { ac_try='test -z "$ac_c_werror_flag"
23447 || test ! -s conftest.err'
23448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23449 (eval $ac_try) 2>&5
23450 ac_status=$?
23451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23452 (exit $ac_status); }; } &&
23453 { ac_try='test -s conftest.$ac_objext'
23454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23455 (eval $ac_try) 2>&5
23456 ac_status=$?
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); }; }; then
23459 ac_cv_val_LC_MESSAGES=yes
23460 else
23461 echo "$as_me: failed program was:" >&5
23462 sed 's/^/| /' conftest.$ac_ext >&5
23464 ac_cv_val_LC_MESSAGES=no
23466 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23468 echo "$as_me:$LINENO: result: $ac_cv_val_LC_MESSAGES" >&5
23469 echo "${ECHO_T}$ac_cv_val_LC_MESSAGES" >&6
23470 if test $ac_cv_val_LC_MESSAGES = yes; then
23472 cat >>confdefs.h <<\_ACEOF
23473 #define HAVE_LC_MESSAGES 1
23474 _ACEOF
23483 # Check for available headers.
23509 for ac_header in endian.h float.h fp.h ieeefp.h inttypes.h locale.h \
23510 machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
23511 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
23512 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
23513 wchar.h wctype.h
23515 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23516 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23517 echo "$as_me:$LINENO: checking for $ac_header" >&5
23518 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23519 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23520 echo $ECHO_N "(cached) $ECHO_C" >&6
23522 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23523 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23524 else
23525 # Is the header compilable?
23526 echo "$as_me:$LINENO: checking $ac_header usability" >&5
23527 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
23528 cat >conftest.$ac_ext <<_ACEOF
23529 /* confdefs.h. */
23530 _ACEOF
23531 cat confdefs.h >>conftest.$ac_ext
23532 cat >>conftest.$ac_ext <<_ACEOF
23533 /* end confdefs.h. */
23534 $ac_includes_default
23535 #include <$ac_header>
23536 _ACEOF
23537 rm -f conftest.$ac_objext
23538 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
23539 (eval $ac_compile) 2>conftest.er1
23540 ac_status=$?
23541 grep -v '^ *+' conftest.er1 >conftest.err
23542 rm -f conftest.er1
23543 cat conftest.err >&5
23544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23545 (exit $ac_status); } &&
23546 { ac_try='test -z "$ac_c_werror_flag"
23547 || test ! -s conftest.err'
23548 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23549 (eval $ac_try) 2>&5
23550 ac_status=$?
23551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23552 (exit $ac_status); }; } &&
23553 { ac_try='test -s conftest.$ac_objext'
23554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23555 (eval $ac_try) 2>&5
23556 ac_status=$?
23557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23558 (exit $ac_status); }; }; then
23559 ac_header_compiler=yes
23560 else
23561 echo "$as_me: failed program was:" >&5
23562 sed 's/^/| /' conftest.$ac_ext >&5
23564 ac_header_compiler=no
23566 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
23567 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
23568 echo "${ECHO_T}$ac_header_compiler" >&6
23570 # Is the header present?
23571 echo "$as_me:$LINENO: checking $ac_header presence" >&5
23572 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
23573 cat >conftest.$ac_ext <<_ACEOF
23574 /* confdefs.h. */
23575 _ACEOF
23576 cat confdefs.h >>conftest.$ac_ext
23577 cat >>conftest.$ac_ext <<_ACEOF
23578 /* end confdefs.h. */
23579 #include <$ac_header>
23580 _ACEOF
23581 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
23582 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
23583 ac_status=$?
23584 grep -v '^ *+' conftest.er1 >conftest.err
23585 rm -f conftest.er1
23586 cat conftest.err >&5
23587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23588 (exit $ac_status); } >/dev/null; then
23589 if test -s conftest.err; then
23590 ac_cpp_err=$ac_c_preproc_warn_flag
23591 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
23592 else
23593 ac_cpp_err=
23595 else
23596 ac_cpp_err=yes
23598 if test -z "$ac_cpp_err"; then
23599 ac_header_preproc=yes
23600 else
23601 echo "$as_me: failed program was:" >&5
23602 sed 's/^/| /' conftest.$ac_ext >&5
23604 ac_header_preproc=no
23606 rm -f conftest.err conftest.$ac_ext
23607 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
23608 echo "${ECHO_T}$ac_header_preproc" >&6
23610 # So? What about this header?
23611 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
23612 yes:no: )
23613 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
23614 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
23615 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
23616 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
23617 ac_header_preproc=yes
23619 no:yes:* )
23620 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
23621 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
23622 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
23623 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
23624 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
23625 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
23626 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
23627 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
23628 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
23629 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
23630 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
23631 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
23633 cat <<\_ASBOX
23634 ## ----------------------------------------- ##
23635 ## Report this to the package-unused lists. ##
23636 ## ----------------------------------------- ##
23637 _ASBOX
23639 sed "s/^/$as_me: WARNING: /" >&2
23641 esac
23642 echo "$as_me:$LINENO: checking for $ac_header" >&5
23643 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
23644 if eval "test \"\${$as_ac_Header+set}\" = set"; then
23645 echo $ECHO_N "(cached) $ECHO_C" >&6
23646 else
23647 eval "$as_ac_Header=\$ac_header_preproc"
23649 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
23650 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
23653 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23654 cat >>confdefs.h <<_ACEOF
23655 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23656 _ACEOF
23660 done
23663 # Only do link tests if native. Else, hardcode.
23664 if $GLIBCXX_IS_NATIVE; then
23666 # We can do more elaborate tests that assume a working linker.
23667 CANADIAN=no
23671 # Check whether --with-gnu-ld or --without-gnu-ld was given.
23672 if test "${with_gnu_ld+set}" = set; then
23673 withval="$with_gnu_ld"
23674 test "$withval" = no || with_gnu_ld=yes
23675 else
23676 with_gnu_ld=no
23678 ac_prog=ld
23679 if test "$GCC" = yes; then
23680 # Check if gcc -print-prog-name=ld gives a path.
23681 echo "$as_me:$LINENO: checking for ld used by $CC" >&5
23682 echo $ECHO_N "checking for ld used by $CC... $ECHO_C" >&6
23683 case $host in
23684 *-*-mingw*)
23685 # gcc leaves a trailing carriage return which upsets mingw
23686 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
23688 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
23689 esac
23690 case $ac_prog in
23691 # Accept absolute paths.
23692 [\\/]* | ?:[\\/]*)
23693 re_direlt='/[^/][^/]*/\.\./'
23694 # Canonicalize the pathname of ld
23695 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
23696 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
23697 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
23698 done
23699 test -z "$LD" && LD="$ac_prog"
23702 # If it fails, then pretend we aren't using GCC.
23703 ac_prog=ld
23706 # If it is relative, then search for the first ld in PATH.
23707 with_gnu_ld=unknown
23709 esac
23710 elif test "$with_gnu_ld" = yes; then
23711 echo "$as_me:$LINENO: checking for GNU ld" >&5
23712 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
23713 else
23714 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
23715 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
23717 if test "${lt_cv_path_LD+set}" = set; then
23718 echo $ECHO_N "(cached) $ECHO_C" >&6
23719 else
23720 if test -z "$LD"; then
23721 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
23722 for ac_dir in $PATH; do
23723 IFS="$lt_save_ifs"
23724 test -z "$ac_dir" && ac_dir=.
23725 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
23726 lt_cv_path_LD="$ac_dir/$ac_prog"
23727 # Check to see if the program is GNU ld. I'd rather use --version,
23728 # but apparently some variants of GNU ld only accept -v.
23729 # Break only if it was the GNU/non-GNU ld that we prefer.
23730 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
23731 *GNU* | *'with BFD'*)
23732 test "$with_gnu_ld" != no && break
23735 test "$with_gnu_ld" != yes && break
23737 esac
23739 done
23740 IFS="$lt_save_ifs"
23741 else
23742 lt_cv_path_LD="$LD" # Let the user override the test with a path.
23746 LD="$lt_cv_path_LD"
23747 if test -n "$LD"; then
23748 echo "$as_me:$LINENO: result: $LD" >&5
23749 echo "${ECHO_T}$LD" >&6
23750 else
23751 echo "$as_me:$LINENO: result: no" >&5
23752 echo "${ECHO_T}no" >&6
23754 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
23755 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
23756 { (exit 1); exit 1; }; }
23757 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
23758 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
23759 if test "${lt_cv_prog_gnu_ld+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 else
23762 # I'd rather use --version here, but apparently some GNU lds only accept -v.
23763 case `$LD -v 2>&1 </dev/null` in
23764 *GNU* | *'with BFD'*)
23765 lt_cv_prog_gnu_ld=yes
23768 lt_cv_prog_gnu_ld=no
23770 esac
23772 echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
23773 echo "${ECHO_T}$lt_cv_prog_gnu_ld" >&6
23774 with_gnu_ld=$lt_cv_prog_gnu_ld
23782 # If we're not using GNU ld, then there's no point in even trying these
23783 # tests. Check for that first. We should have already tested for gld
23784 # by now (in libtool), but require it now just to be safe...
23785 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
23786 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
23790 # The name set by libtool depends on the version of libtool. Shame on us
23791 # for depending on an impl detail, but c'est la vie. Older versions used
23792 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
23793 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
23794 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
23795 # set (hence we're using an older libtool), then set it.
23796 if test x${with_gnu_ld+set} != xset; then
23797 if test x${ac_cv_prog_gnu_ld+set} != xset; then
23798 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
23799 with_gnu_ld=no
23800 else
23801 with_gnu_ld=$ac_cv_prog_gnu_ld
23805 # Start by getting the version number. I think the libtool test already
23806 # does some of this, but throws away the result.
23807 glibcxx_ld_is_gold=no
23808 if test x"$with_gnu_ld" = x"yes"; then
23809 echo "$as_me:$LINENO: checking for ld version" >&5
23810 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
23812 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
23813 glibcxx_ld_is_gold=yes
23815 ldver=`$LD --version 2>/dev/null | head -1 | \
23816 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
23818 glibcxx_gnu_ld_version=`echo $ldver | \
23819 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
23820 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
23821 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
23824 # Set --gc-sections.
23825 glibcxx_have_gc_sections=no
23826 if test "$glibcxx_ld_is_gold" = "yes"; then
23827 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
23828 glibcxx_have_gc_sections=yes
23830 else
23831 glibcxx_gcsections_min_ld=21602
23832 if test x"$with_gnu_ld" = x"yes" &&
23833 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
23834 glibcxx_have_gc_sections=yes
23837 if test "$glibcxx_have_gc_sections" = "yes"; then
23838 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
23839 # NB: This flag only works reliably after 2.16.1. Configure tests
23840 # for this are difficult, so hard wire a value that should work.
23842 ac_test_CFLAGS="${CFLAGS+set}"
23843 ac_save_CFLAGS="$CFLAGS"
23844 CFLAGS='-Wl,--gc-sections'
23846 # Check for -Wl,--gc-sections
23847 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
23848 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
23849 if test x$gcc_no_link = xyes; then
23850 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23851 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23852 { (exit 1); exit 1; }; }
23854 cat >conftest.$ac_ext <<_ACEOF
23855 /* confdefs.h. */
23856 _ACEOF
23857 cat confdefs.h >>conftest.$ac_ext
23858 cat >>conftest.$ac_ext <<_ACEOF
23859 /* end confdefs.h. */
23860 int one(void) { return 1; }
23861 int two(void) { return 2; }
23864 main ()
23866 two();
23868 return 0;
23870 _ACEOF
23871 rm -f conftest.$ac_objext conftest$ac_exeext
23872 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23873 (eval $ac_link) 2>conftest.er1
23874 ac_status=$?
23875 grep -v '^ *+' conftest.er1 >conftest.err
23876 rm -f conftest.er1
23877 cat conftest.err >&5
23878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23879 (exit $ac_status); } &&
23880 { ac_try='test -z "$ac_c_werror_flag"
23881 || test ! -s conftest.err'
23882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23883 (eval $ac_try) 2>&5
23884 ac_status=$?
23885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23886 (exit $ac_status); }; } &&
23887 { ac_try='test -s conftest$ac_exeext'
23888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
23889 (eval $ac_try) 2>&5
23890 ac_status=$?
23891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23892 (exit $ac_status); }; }; then
23893 ac_gcsections=yes
23894 else
23895 echo "$as_me: failed program was:" >&5
23896 sed 's/^/| /' conftest.$ac_ext >&5
23898 ac_gcsections=no
23900 rm -f conftest.err conftest.$ac_objext \
23901 conftest$ac_exeext conftest.$ac_ext
23902 if test "$ac_gcsections" = "yes"; then
23903 rm -f conftest.c
23904 touch conftest.c
23905 if $CC -c conftest.c; then
23906 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
23907 grep "Warning: gc-sections option ignored" > /dev/null; then
23908 ac_gcsections=no
23911 rm -f conftest.c conftest.o conftest
23913 if test "$ac_gcsections" = "yes"; then
23914 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
23916 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
23917 echo "${ECHO_T}$ac_gcsections" >&6
23919 if test "$ac_test_CFLAGS" = set; then
23920 CFLAGS="$ac_save_CFLAGS"
23921 else
23922 # this is the suspicious part
23923 CFLAGS=''
23927 # Set -z,relro.
23928 # Note this is only for shared objects.
23929 ac_ld_relro=no
23930 if test x"$with_gnu_ld" = x"yes"; then
23931 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
23932 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
23933 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
23934 if test -n "$cxx_z_relo"; then
23935 OPT_LDFLAGS="-Wl,-z,relro"
23936 ac_ld_relro=yes
23938 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
23939 echo "${ECHO_T}$ac_ld_relro" >&6
23942 # Set linker optimization flags.
23943 if test x"$with_gnu_ld" = x"yes"; then
23944 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
23951 ac_test_CXXFLAGS="${CXXFLAGS+set}"
23952 ac_save_CXXFLAGS="$CXXFLAGS"
23953 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
23955 echo "$as_me:$LINENO: checking for sin in -lm" >&5
23956 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
23957 if test "${ac_cv_lib_m_sin+set}" = set; then
23958 echo $ECHO_N "(cached) $ECHO_C" >&6
23959 else
23960 ac_check_lib_save_LIBS=$LIBS
23961 LIBS="-lm $LIBS"
23962 if test x$gcc_no_link = xyes; then
23963 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
23964 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
23965 { (exit 1); exit 1; }; }
23967 cat >conftest.$ac_ext <<_ACEOF
23968 /* confdefs.h. */
23969 _ACEOF
23970 cat confdefs.h >>conftest.$ac_ext
23971 cat >>conftest.$ac_ext <<_ACEOF
23972 /* end confdefs.h. */
23974 /* Override any gcc2 internal prototype to avoid an error. */
23975 #ifdef __cplusplus
23976 extern "C"
23977 #endif
23978 /* We use char because int might match the return type of a gcc2
23979 builtin and then its argument prototype would still apply. */
23980 char sin ();
23982 main ()
23984 sin ();
23986 return 0;
23988 _ACEOF
23989 rm -f conftest.$ac_objext conftest$ac_exeext
23990 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
23991 (eval $ac_link) 2>conftest.er1
23992 ac_status=$?
23993 grep -v '^ *+' conftest.er1 >conftest.err
23994 rm -f conftest.er1
23995 cat conftest.err >&5
23996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23997 (exit $ac_status); } &&
23998 { ac_try='test -z "$ac_c_werror_flag"
23999 || test ! -s conftest.err'
24000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24001 (eval $ac_try) 2>&5
24002 ac_status=$?
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); }; } &&
24005 { ac_try='test -s conftest$ac_exeext'
24006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24007 (eval $ac_try) 2>&5
24008 ac_status=$?
24009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24010 (exit $ac_status); }; }; then
24011 ac_cv_lib_m_sin=yes
24012 else
24013 echo "$as_me: failed program was:" >&5
24014 sed 's/^/| /' conftest.$ac_ext >&5
24016 ac_cv_lib_m_sin=no
24018 rm -f conftest.err conftest.$ac_objext \
24019 conftest$ac_exeext conftest.$ac_ext
24020 LIBS=$ac_check_lib_save_LIBS
24022 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
24023 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
24024 if test $ac_cv_lib_m_sin = yes; then
24025 libm="-lm"
24028 ac_save_LIBS="$LIBS"
24029 LIBS="$LIBS $libm"
24033 echo "$as_me:$LINENO: checking for isinf declaration" >&5
24034 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
24035 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
24036 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
24037 echo $ECHO_N "(cached) $ECHO_C" >&6
24038 else
24042 ac_ext=cc
24043 ac_cpp='$CXXCPP $CPPFLAGS'
24044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24048 cat >conftest.$ac_ext <<_ACEOF
24049 /* confdefs.h. */
24050 _ACEOF
24051 cat confdefs.h >>conftest.$ac_ext
24052 cat >>conftest.$ac_ext <<_ACEOF
24053 /* end confdefs.h. */
24054 #include <math.h>
24055 #ifdef HAVE_IEEEFP_H
24056 #include <ieeefp.h>
24057 #endif
24060 main ()
24062 isinf(0);
24064 return 0;
24066 _ACEOF
24067 rm -f conftest.$ac_objext
24068 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24069 (eval $ac_compile) 2>conftest.er1
24070 ac_status=$?
24071 grep -v '^ *+' conftest.er1 >conftest.err
24072 rm -f conftest.er1
24073 cat conftest.err >&5
24074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24075 (exit $ac_status); } &&
24076 { ac_try='test -z "$ac_cxx_werror_flag"
24077 || test ! -s conftest.err'
24078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24079 (eval $ac_try) 2>&5
24080 ac_status=$?
24081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24082 (exit $ac_status); }; } &&
24083 { ac_try='test -s conftest.$ac_objext'
24084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24085 (eval $ac_try) 2>&5
24086 ac_status=$?
24087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24088 (exit $ac_status); }; }; then
24089 glibcxx_cv_func_isinf_use=yes
24090 else
24091 echo "$as_me: failed program was:" >&5
24092 sed 's/^/| /' conftest.$ac_ext >&5
24094 glibcxx_cv_func_isinf_use=no
24096 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24097 ac_ext=c
24098 ac_cpp='$CPP $CPPFLAGS'
24099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24107 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
24108 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
24110 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
24112 for ac_func in isinf
24114 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24115 echo "$as_me:$LINENO: checking for $ac_func" >&5
24116 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24117 if eval "test \"\${$as_ac_var+set}\" = set"; then
24118 echo $ECHO_N "(cached) $ECHO_C" >&6
24119 else
24120 if test x$gcc_no_link = xyes; then
24121 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24122 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24123 { (exit 1); exit 1; }; }
24125 cat >conftest.$ac_ext <<_ACEOF
24126 /* confdefs.h. */
24127 _ACEOF
24128 cat confdefs.h >>conftest.$ac_ext
24129 cat >>conftest.$ac_ext <<_ACEOF
24130 /* end confdefs.h. */
24131 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24132 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24133 #define $ac_func innocuous_$ac_func
24135 /* System header to define __stub macros and hopefully few prototypes,
24136 which can conflict with char $ac_func (); below.
24137 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24138 <limits.h> exists even on freestanding compilers. */
24140 #ifdef __STDC__
24141 # include <limits.h>
24142 #else
24143 # include <assert.h>
24144 #endif
24146 #undef $ac_func
24148 /* Override any gcc2 internal prototype to avoid an error. */
24149 #ifdef __cplusplus
24150 extern "C"
24152 #endif
24153 /* We use char because int might match the return type of a gcc2
24154 builtin and then its argument prototype would still apply. */
24155 char $ac_func ();
24156 /* The GNU C library defines this for functions which it implements
24157 to always fail with ENOSYS. Some functions are actually named
24158 something starting with __ and the normal name is an alias. */
24159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24160 choke me
24161 #else
24162 char (*f) () = $ac_func;
24163 #endif
24164 #ifdef __cplusplus
24166 #endif
24169 main ()
24171 return f != $ac_func;
24173 return 0;
24175 _ACEOF
24176 rm -f conftest.$ac_objext conftest$ac_exeext
24177 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24178 (eval $ac_link) 2>conftest.er1
24179 ac_status=$?
24180 grep -v '^ *+' conftest.er1 >conftest.err
24181 rm -f conftest.er1
24182 cat conftest.err >&5
24183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24184 (exit $ac_status); } &&
24185 { ac_try='test -z "$ac_c_werror_flag"
24186 || test ! -s conftest.err'
24187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24188 (eval $ac_try) 2>&5
24189 ac_status=$?
24190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24191 (exit $ac_status); }; } &&
24192 { ac_try='test -s conftest$ac_exeext'
24193 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24194 (eval $ac_try) 2>&5
24195 ac_status=$?
24196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24197 (exit $ac_status); }; }; then
24198 eval "$as_ac_var=yes"
24199 else
24200 echo "$as_me: failed program was:" >&5
24201 sed 's/^/| /' conftest.$ac_ext >&5
24203 eval "$as_ac_var=no"
24205 rm -f conftest.err conftest.$ac_objext \
24206 conftest$ac_exeext conftest.$ac_ext
24208 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24209 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24210 if test `eval echo '${'$as_ac_var'}'` = yes; then
24211 cat >>confdefs.h <<_ACEOF
24212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24213 _ACEOF
24216 done
24218 else
24220 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
24221 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
24222 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
24223 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
24224 echo $ECHO_N "(cached) $ECHO_C" >&6
24225 else
24229 ac_ext=cc
24230 ac_cpp='$CXXCPP $CPPFLAGS'
24231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24235 cat >conftest.$ac_ext <<_ACEOF
24236 /* confdefs.h. */
24237 _ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24241 #include <math.h>
24242 #ifdef HAVE_IEEEFP_H
24243 #include <ieeefp.h>
24244 #endif
24247 main ()
24249 _isinf(0);
24251 return 0;
24253 _ACEOF
24254 rm -f conftest.$ac_objext
24255 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24256 (eval $ac_compile) 2>conftest.er1
24257 ac_status=$?
24258 grep -v '^ *+' conftest.er1 >conftest.err
24259 rm -f conftest.er1
24260 cat conftest.err >&5
24261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24262 (exit $ac_status); } &&
24263 { ac_try='test -z "$ac_cxx_werror_flag"
24264 || test ! -s conftest.err'
24265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24266 (eval $ac_try) 2>&5
24267 ac_status=$?
24268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24269 (exit $ac_status); }; } &&
24270 { ac_try='test -s conftest.$ac_objext'
24271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24272 (eval $ac_try) 2>&5
24273 ac_status=$?
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); }; }; then
24276 glibcxx_cv_func__isinf_use=yes
24277 else
24278 echo "$as_me: failed program was:" >&5
24279 sed 's/^/| /' conftest.$ac_ext >&5
24281 glibcxx_cv_func__isinf_use=no
24283 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24284 ac_ext=c
24285 ac_cpp='$CPP $CPPFLAGS'
24286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24294 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
24295 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
24297 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
24299 for ac_func in _isinf
24301 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24302 echo "$as_me:$LINENO: checking for $ac_func" >&5
24303 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24304 if eval "test \"\${$as_ac_var+set}\" = set"; then
24305 echo $ECHO_N "(cached) $ECHO_C" >&6
24306 else
24307 if test x$gcc_no_link = xyes; then
24308 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24309 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24310 { (exit 1); exit 1; }; }
24312 cat >conftest.$ac_ext <<_ACEOF
24313 /* confdefs.h. */
24314 _ACEOF
24315 cat confdefs.h >>conftest.$ac_ext
24316 cat >>conftest.$ac_ext <<_ACEOF
24317 /* end confdefs.h. */
24318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24320 #define $ac_func innocuous_$ac_func
24322 /* System header to define __stub macros and hopefully few prototypes,
24323 which can conflict with char $ac_func (); below.
24324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24325 <limits.h> exists even on freestanding compilers. */
24327 #ifdef __STDC__
24328 # include <limits.h>
24329 #else
24330 # include <assert.h>
24331 #endif
24333 #undef $ac_func
24335 /* Override any gcc2 internal prototype to avoid an error. */
24336 #ifdef __cplusplus
24337 extern "C"
24339 #endif
24340 /* We use char because int might match the return type of a gcc2
24341 builtin and then its argument prototype would still apply. */
24342 char $ac_func ();
24343 /* The GNU C library defines this for functions which it implements
24344 to always fail with ENOSYS. Some functions are actually named
24345 something starting with __ and the normal name is an alias. */
24346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24347 choke me
24348 #else
24349 char (*f) () = $ac_func;
24350 #endif
24351 #ifdef __cplusplus
24353 #endif
24356 main ()
24358 return f != $ac_func;
24360 return 0;
24362 _ACEOF
24363 rm -f conftest.$ac_objext conftest$ac_exeext
24364 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24365 (eval $ac_link) 2>conftest.er1
24366 ac_status=$?
24367 grep -v '^ *+' conftest.er1 >conftest.err
24368 rm -f conftest.er1
24369 cat conftest.err >&5
24370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24371 (exit $ac_status); } &&
24372 { ac_try='test -z "$ac_c_werror_flag"
24373 || test ! -s conftest.err'
24374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24375 (eval $ac_try) 2>&5
24376 ac_status=$?
24377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24378 (exit $ac_status); }; } &&
24379 { ac_try='test -s conftest$ac_exeext'
24380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24381 (eval $ac_try) 2>&5
24382 ac_status=$?
24383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24384 (exit $ac_status); }; }; then
24385 eval "$as_ac_var=yes"
24386 else
24387 echo "$as_me: failed program was:" >&5
24388 sed 's/^/| /' conftest.$ac_ext >&5
24390 eval "$as_ac_var=no"
24392 rm -f conftest.err conftest.$ac_objext \
24393 conftest$ac_exeext conftest.$ac_ext
24395 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24396 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24397 if test `eval echo '${'$as_ac_var'}'` = yes; then
24398 cat >>confdefs.h <<_ACEOF
24399 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24400 _ACEOF
24403 done
24413 echo "$as_me:$LINENO: checking for isnan declaration" >&5
24414 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
24415 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
24416 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
24417 echo $ECHO_N "(cached) $ECHO_C" >&6
24418 else
24422 ac_ext=cc
24423 ac_cpp='$CXXCPP $CPPFLAGS'
24424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24428 cat >conftest.$ac_ext <<_ACEOF
24429 /* confdefs.h. */
24430 _ACEOF
24431 cat confdefs.h >>conftest.$ac_ext
24432 cat >>conftest.$ac_ext <<_ACEOF
24433 /* end confdefs.h. */
24434 #include <math.h>
24435 #ifdef HAVE_IEEEFP_H
24436 #include <ieeefp.h>
24437 #endif
24440 main ()
24442 isnan(0);
24444 return 0;
24446 _ACEOF
24447 rm -f conftest.$ac_objext
24448 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24449 (eval $ac_compile) 2>conftest.er1
24450 ac_status=$?
24451 grep -v '^ *+' conftest.er1 >conftest.err
24452 rm -f conftest.er1
24453 cat conftest.err >&5
24454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24455 (exit $ac_status); } &&
24456 { ac_try='test -z "$ac_cxx_werror_flag"
24457 || test ! -s conftest.err'
24458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24459 (eval $ac_try) 2>&5
24460 ac_status=$?
24461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24462 (exit $ac_status); }; } &&
24463 { ac_try='test -s conftest.$ac_objext'
24464 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24465 (eval $ac_try) 2>&5
24466 ac_status=$?
24467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24468 (exit $ac_status); }; }; then
24469 glibcxx_cv_func_isnan_use=yes
24470 else
24471 echo "$as_me: failed program was:" >&5
24472 sed 's/^/| /' conftest.$ac_ext >&5
24474 glibcxx_cv_func_isnan_use=no
24476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24477 ac_ext=c
24478 ac_cpp='$CPP $CPPFLAGS'
24479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24487 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
24488 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
24490 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
24492 for ac_func in isnan
24494 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24495 echo "$as_me:$LINENO: checking for $ac_func" >&5
24496 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24497 if eval "test \"\${$as_ac_var+set}\" = set"; then
24498 echo $ECHO_N "(cached) $ECHO_C" >&6
24499 else
24500 if test x$gcc_no_link = xyes; then
24501 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24502 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24503 { (exit 1); exit 1; }; }
24505 cat >conftest.$ac_ext <<_ACEOF
24506 /* confdefs.h. */
24507 _ACEOF
24508 cat confdefs.h >>conftest.$ac_ext
24509 cat >>conftest.$ac_ext <<_ACEOF
24510 /* end confdefs.h. */
24511 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24512 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24513 #define $ac_func innocuous_$ac_func
24515 /* System header to define __stub macros and hopefully few prototypes,
24516 which can conflict with char $ac_func (); below.
24517 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24518 <limits.h> exists even on freestanding compilers. */
24520 #ifdef __STDC__
24521 # include <limits.h>
24522 #else
24523 # include <assert.h>
24524 #endif
24526 #undef $ac_func
24528 /* Override any gcc2 internal prototype to avoid an error. */
24529 #ifdef __cplusplus
24530 extern "C"
24532 #endif
24533 /* We use char because int might match the return type of a gcc2
24534 builtin and then its argument prototype would still apply. */
24535 char $ac_func ();
24536 /* The GNU C library defines this for functions which it implements
24537 to always fail with ENOSYS. Some functions are actually named
24538 something starting with __ and the normal name is an alias. */
24539 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24540 choke me
24541 #else
24542 char (*f) () = $ac_func;
24543 #endif
24544 #ifdef __cplusplus
24546 #endif
24549 main ()
24551 return f != $ac_func;
24553 return 0;
24555 _ACEOF
24556 rm -f conftest.$ac_objext conftest$ac_exeext
24557 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24558 (eval $ac_link) 2>conftest.er1
24559 ac_status=$?
24560 grep -v '^ *+' conftest.er1 >conftest.err
24561 rm -f conftest.er1
24562 cat conftest.err >&5
24563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24564 (exit $ac_status); } &&
24565 { ac_try='test -z "$ac_c_werror_flag"
24566 || test ! -s conftest.err'
24567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24568 (eval $ac_try) 2>&5
24569 ac_status=$?
24570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24571 (exit $ac_status); }; } &&
24572 { ac_try='test -s conftest$ac_exeext'
24573 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24574 (eval $ac_try) 2>&5
24575 ac_status=$?
24576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24577 (exit $ac_status); }; }; then
24578 eval "$as_ac_var=yes"
24579 else
24580 echo "$as_me: failed program was:" >&5
24581 sed 's/^/| /' conftest.$ac_ext >&5
24583 eval "$as_ac_var=no"
24585 rm -f conftest.err conftest.$ac_objext \
24586 conftest$ac_exeext conftest.$ac_ext
24588 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24589 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24590 if test `eval echo '${'$as_ac_var'}'` = yes; then
24591 cat >>confdefs.h <<_ACEOF
24592 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24593 _ACEOF
24596 done
24598 else
24600 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
24601 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
24602 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
24603 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
24604 echo $ECHO_N "(cached) $ECHO_C" >&6
24605 else
24609 ac_ext=cc
24610 ac_cpp='$CXXCPP $CPPFLAGS'
24611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24615 cat >conftest.$ac_ext <<_ACEOF
24616 /* confdefs.h. */
24617 _ACEOF
24618 cat confdefs.h >>conftest.$ac_ext
24619 cat >>conftest.$ac_ext <<_ACEOF
24620 /* end confdefs.h. */
24621 #include <math.h>
24622 #ifdef HAVE_IEEEFP_H
24623 #include <ieeefp.h>
24624 #endif
24627 main ()
24629 _isnan(0);
24631 return 0;
24633 _ACEOF
24634 rm -f conftest.$ac_objext
24635 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24636 (eval $ac_compile) 2>conftest.er1
24637 ac_status=$?
24638 grep -v '^ *+' conftest.er1 >conftest.err
24639 rm -f conftest.er1
24640 cat conftest.err >&5
24641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24642 (exit $ac_status); } &&
24643 { ac_try='test -z "$ac_cxx_werror_flag"
24644 || test ! -s conftest.err'
24645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24646 (eval $ac_try) 2>&5
24647 ac_status=$?
24648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24649 (exit $ac_status); }; } &&
24650 { ac_try='test -s conftest.$ac_objext'
24651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24652 (eval $ac_try) 2>&5
24653 ac_status=$?
24654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24655 (exit $ac_status); }; }; then
24656 glibcxx_cv_func__isnan_use=yes
24657 else
24658 echo "$as_me: failed program was:" >&5
24659 sed 's/^/| /' conftest.$ac_ext >&5
24661 glibcxx_cv_func__isnan_use=no
24663 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24664 ac_ext=c
24665 ac_cpp='$CPP $CPPFLAGS'
24666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24674 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
24675 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
24677 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
24679 for ac_func in _isnan
24681 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24682 echo "$as_me:$LINENO: checking for $ac_func" >&5
24683 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24684 if eval "test \"\${$as_ac_var+set}\" = set"; then
24685 echo $ECHO_N "(cached) $ECHO_C" >&6
24686 else
24687 if test x$gcc_no_link = xyes; then
24688 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24689 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24690 { (exit 1); exit 1; }; }
24692 cat >conftest.$ac_ext <<_ACEOF
24693 /* confdefs.h. */
24694 _ACEOF
24695 cat confdefs.h >>conftest.$ac_ext
24696 cat >>conftest.$ac_ext <<_ACEOF
24697 /* end confdefs.h. */
24698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24700 #define $ac_func innocuous_$ac_func
24702 /* System header to define __stub macros and hopefully few prototypes,
24703 which can conflict with char $ac_func (); below.
24704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24705 <limits.h> exists even on freestanding compilers. */
24707 #ifdef __STDC__
24708 # include <limits.h>
24709 #else
24710 # include <assert.h>
24711 #endif
24713 #undef $ac_func
24715 /* Override any gcc2 internal prototype to avoid an error. */
24716 #ifdef __cplusplus
24717 extern "C"
24719 #endif
24720 /* We use char because int might match the return type of a gcc2
24721 builtin and then its argument prototype would still apply. */
24722 char $ac_func ();
24723 /* The GNU C library defines this for functions which it implements
24724 to always fail with ENOSYS. Some functions are actually named
24725 something starting with __ and the normal name is an alias. */
24726 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24727 choke me
24728 #else
24729 char (*f) () = $ac_func;
24730 #endif
24731 #ifdef __cplusplus
24733 #endif
24736 main ()
24738 return f != $ac_func;
24740 return 0;
24742 _ACEOF
24743 rm -f conftest.$ac_objext conftest$ac_exeext
24744 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24745 (eval $ac_link) 2>conftest.er1
24746 ac_status=$?
24747 grep -v '^ *+' conftest.er1 >conftest.err
24748 rm -f conftest.er1
24749 cat conftest.err >&5
24750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24751 (exit $ac_status); } &&
24752 { ac_try='test -z "$ac_c_werror_flag"
24753 || test ! -s conftest.err'
24754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24755 (eval $ac_try) 2>&5
24756 ac_status=$?
24757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24758 (exit $ac_status); }; } &&
24759 { ac_try='test -s conftest$ac_exeext'
24760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24761 (eval $ac_try) 2>&5
24762 ac_status=$?
24763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24764 (exit $ac_status); }; }; then
24765 eval "$as_ac_var=yes"
24766 else
24767 echo "$as_me: failed program was:" >&5
24768 sed 's/^/| /' conftest.$ac_ext >&5
24770 eval "$as_ac_var=no"
24772 rm -f conftest.err conftest.$ac_objext \
24773 conftest$ac_exeext conftest.$ac_ext
24775 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24776 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24777 if test `eval echo '${'$as_ac_var'}'` = yes; then
24778 cat >>confdefs.h <<_ACEOF
24779 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24780 _ACEOF
24783 done
24793 echo "$as_me:$LINENO: checking for finite declaration" >&5
24794 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
24795 if test x${glibcxx_cv_func_finite_use+set} != xset; then
24796 if test "${glibcxx_cv_func_finite_use+set}" = set; then
24797 echo $ECHO_N "(cached) $ECHO_C" >&6
24798 else
24802 ac_ext=cc
24803 ac_cpp='$CXXCPP $CPPFLAGS'
24804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24808 cat >conftest.$ac_ext <<_ACEOF
24809 /* confdefs.h. */
24810 _ACEOF
24811 cat confdefs.h >>conftest.$ac_ext
24812 cat >>conftest.$ac_ext <<_ACEOF
24813 /* end confdefs.h. */
24814 #include <math.h>
24815 #ifdef HAVE_IEEEFP_H
24816 #include <ieeefp.h>
24817 #endif
24820 main ()
24822 finite(0);
24824 return 0;
24826 _ACEOF
24827 rm -f conftest.$ac_objext
24828 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
24829 (eval $ac_compile) 2>conftest.er1
24830 ac_status=$?
24831 grep -v '^ *+' conftest.er1 >conftest.err
24832 rm -f conftest.er1
24833 cat conftest.err >&5
24834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24835 (exit $ac_status); } &&
24836 { ac_try='test -z "$ac_cxx_werror_flag"
24837 || test ! -s conftest.err'
24838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24839 (eval $ac_try) 2>&5
24840 ac_status=$?
24841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24842 (exit $ac_status); }; } &&
24843 { ac_try='test -s conftest.$ac_objext'
24844 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24845 (eval $ac_try) 2>&5
24846 ac_status=$?
24847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24848 (exit $ac_status); }; }; then
24849 glibcxx_cv_func_finite_use=yes
24850 else
24851 echo "$as_me: failed program was:" >&5
24852 sed 's/^/| /' conftest.$ac_ext >&5
24854 glibcxx_cv_func_finite_use=no
24856 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
24857 ac_ext=c
24858 ac_cpp='$CPP $CPPFLAGS'
24859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24867 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
24868 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
24870 if test x$glibcxx_cv_func_finite_use = x"yes"; then
24872 for ac_func in finite
24874 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24875 echo "$as_me:$LINENO: checking for $ac_func" >&5
24876 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
24877 if eval "test \"\${$as_ac_var+set}\" = set"; then
24878 echo $ECHO_N "(cached) $ECHO_C" >&6
24879 else
24880 if test x$gcc_no_link = xyes; then
24881 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
24882 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
24883 { (exit 1); exit 1; }; }
24885 cat >conftest.$ac_ext <<_ACEOF
24886 /* confdefs.h. */
24887 _ACEOF
24888 cat confdefs.h >>conftest.$ac_ext
24889 cat >>conftest.$ac_ext <<_ACEOF
24890 /* end confdefs.h. */
24891 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24892 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24893 #define $ac_func innocuous_$ac_func
24895 /* System header to define __stub macros and hopefully few prototypes,
24896 which can conflict with char $ac_func (); below.
24897 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24898 <limits.h> exists even on freestanding compilers. */
24900 #ifdef __STDC__
24901 # include <limits.h>
24902 #else
24903 # include <assert.h>
24904 #endif
24906 #undef $ac_func
24908 /* Override any gcc2 internal prototype to avoid an error. */
24909 #ifdef __cplusplus
24910 extern "C"
24912 #endif
24913 /* We use char because int might match the return type of a gcc2
24914 builtin and then its argument prototype would still apply. */
24915 char $ac_func ();
24916 /* The GNU C library defines this for functions which it implements
24917 to always fail with ENOSYS. Some functions are actually named
24918 something starting with __ and the normal name is an alias. */
24919 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
24920 choke me
24921 #else
24922 char (*f) () = $ac_func;
24923 #endif
24924 #ifdef __cplusplus
24926 #endif
24929 main ()
24931 return f != $ac_func;
24933 return 0;
24935 _ACEOF
24936 rm -f conftest.$ac_objext conftest$ac_exeext
24937 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
24938 (eval $ac_link) 2>conftest.er1
24939 ac_status=$?
24940 grep -v '^ *+' conftest.er1 >conftest.err
24941 rm -f conftest.er1
24942 cat conftest.err >&5
24943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24944 (exit $ac_status); } &&
24945 { ac_try='test -z "$ac_c_werror_flag"
24946 || test ! -s conftest.err'
24947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24948 (eval $ac_try) 2>&5
24949 ac_status=$?
24950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24951 (exit $ac_status); }; } &&
24952 { ac_try='test -s conftest$ac_exeext'
24953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
24954 (eval $ac_try) 2>&5
24955 ac_status=$?
24956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24957 (exit $ac_status); }; }; then
24958 eval "$as_ac_var=yes"
24959 else
24960 echo "$as_me: failed program was:" >&5
24961 sed 's/^/| /' conftest.$ac_ext >&5
24963 eval "$as_ac_var=no"
24965 rm -f conftest.err conftest.$ac_objext \
24966 conftest$ac_exeext conftest.$ac_ext
24968 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
24969 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
24970 if test `eval echo '${'$as_ac_var'}'` = yes; then
24971 cat >>confdefs.h <<_ACEOF
24972 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24973 _ACEOF
24976 done
24978 else
24980 echo "$as_me:$LINENO: checking for _finite declaration" >&5
24981 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
24982 if test x${glibcxx_cv_func__finite_use+set} != xset; then
24983 if test "${glibcxx_cv_func__finite_use+set}" = set; then
24984 echo $ECHO_N "(cached) $ECHO_C" >&6
24985 else
24989 ac_ext=cc
24990 ac_cpp='$CXXCPP $CPPFLAGS'
24991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24995 cat >conftest.$ac_ext <<_ACEOF
24996 /* confdefs.h. */
24997 _ACEOF
24998 cat confdefs.h >>conftest.$ac_ext
24999 cat >>conftest.$ac_ext <<_ACEOF
25000 /* end confdefs.h. */
25001 #include <math.h>
25002 #ifdef HAVE_IEEEFP_H
25003 #include <ieeefp.h>
25004 #endif
25007 main ()
25009 _finite(0);
25011 return 0;
25013 _ACEOF
25014 rm -f conftest.$ac_objext
25015 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25016 (eval $ac_compile) 2>conftest.er1
25017 ac_status=$?
25018 grep -v '^ *+' conftest.er1 >conftest.err
25019 rm -f conftest.er1
25020 cat conftest.err >&5
25021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25022 (exit $ac_status); } &&
25023 { ac_try='test -z "$ac_cxx_werror_flag"
25024 || test ! -s conftest.err'
25025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25026 (eval $ac_try) 2>&5
25027 ac_status=$?
25028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25029 (exit $ac_status); }; } &&
25030 { ac_try='test -s conftest.$ac_objext'
25031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25032 (eval $ac_try) 2>&5
25033 ac_status=$?
25034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25035 (exit $ac_status); }; }; then
25036 glibcxx_cv_func__finite_use=yes
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25041 glibcxx_cv_func__finite_use=no
25043 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25044 ac_ext=c
25045 ac_cpp='$CPP $CPPFLAGS'
25046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25054 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
25055 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
25057 if test x$glibcxx_cv_func__finite_use = x"yes"; then
25059 for ac_func in _finite
25061 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25062 echo "$as_me:$LINENO: checking for $ac_func" >&5
25063 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25064 if eval "test \"\${$as_ac_var+set}\" = set"; then
25065 echo $ECHO_N "(cached) $ECHO_C" >&6
25066 else
25067 if test x$gcc_no_link = xyes; then
25068 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25069 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25070 { (exit 1); exit 1; }; }
25072 cat >conftest.$ac_ext <<_ACEOF
25073 /* confdefs.h. */
25074 _ACEOF
25075 cat confdefs.h >>conftest.$ac_ext
25076 cat >>conftest.$ac_ext <<_ACEOF
25077 /* end confdefs.h. */
25078 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25079 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25080 #define $ac_func innocuous_$ac_func
25082 /* System header to define __stub macros and hopefully few prototypes,
25083 which can conflict with char $ac_func (); below.
25084 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25085 <limits.h> exists even on freestanding compilers. */
25087 #ifdef __STDC__
25088 # include <limits.h>
25089 #else
25090 # include <assert.h>
25091 #endif
25093 #undef $ac_func
25095 /* Override any gcc2 internal prototype to avoid an error. */
25096 #ifdef __cplusplus
25097 extern "C"
25099 #endif
25100 /* We use char because int might match the return type of a gcc2
25101 builtin and then its argument prototype would still apply. */
25102 char $ac_func ();
25103 /* The GNU C library defines this for functions which it implements
25104 to always fail with ENOSYS. Some functions are actually named
25105 something starting with __ and the normal name is an alias. */
25106 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25107 choke me
25108 #else
25109 char (*f) () = $ac_func;
25110 #endif
25111 #ifdef __cplusplus
25113 #endif
25116 main ()
25118 return f != $ac_func;
25120 return 0;
25122 _ACEOF
25123 rm -f conftest.$ac_objext conftest$ac_exeext
25124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25125 (eval $ac_link) 2>conftest.er1
25126 ac_status=$?
25127 grep -v '^ *+' conftest.er1 >conftest.err
25128 rm -f conftest.er1
25129 cat conftest.err >&5
25130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25131 (exit $ac_status); } &&
25132 { ac_try='test -z "$ac_c_werror_flag"
25133 || test ! -s conftest.err'
25134 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25135 (eval $ac_try) 2>&5
25136 ac_status=$?
25137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25138 (exit $ac_status); }; } &&
25139 { ac_try='test -s conftest$ac_exeext'
25140 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25141 (eval $ac_try) 2>&5
25142 ac_status=$?
25143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25144 (exit $ac_status); }; }; then
25145 eval "$as_ac_var=yes"
25146 else
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25150 eval "$as_ac_var=no"
25152 rm -f conftest.err conftest.$ac_objext \
25153 conftest$ac_exeext conftest.$ac_ext
25155 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25156 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25157 if test `eval echo '${'$as_ac_var'}'` = yes; then
25158 cat >>confdefs.h <<_ACEOF
25159 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25160 _ACEOF
25163 done
25173 echo "$as_me:$LINENO: checking for sincos declaration" >&5
25174 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
25175 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
25176 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
25177 echo $ECHO_N "(cached) $ECHO_C" >&6
25178 else
25182 ac_ext=cc
25183 ac_cpp='$CXXCPP $CPPFLAGS'
25184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25188 cat >conftest.$ac_ext <<_ACEOF
25189 /* confdefs.h. */
25190 _ACEOF
25191 cat confdefs.h >>conftest.$ac_ext
25192 cat >>conftest.$ac_ext <<_ACEOF
25193 /* end confdefs.h. */
25194 #include <math.h>
25196 main ()
25198 sincos(0, 0, 0);
25200 return 0;
25202 _ACEOF
25203 rm -f conftest.$ac_objext
25204 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25205 (eval $ac_compile) 2>conftest.er1
25206 ac_status=$?
25207 grep -v '^ *+' conftest.er1 >conftest.err
25208 rm -f conftest.er1
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } &&
25212 { ac_try='test -z "$ac_cxx_werror_flag"
25213 || test ! -s conftest.err'
25214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25215 (eval $ac_try) 2>&5
25216 ac_status=$?
25217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25218 (exit $ac_status); }; } &&
25219 { ac_try='test -s conftest.$ac_objext'
25220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25221 (eval $ac_try) 2>&5
25222 ac_status=$?
25223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25224 (exit $ac_status); }; }; then
25225 glibcxx_cv_func_sincos_use=yes
25226 else
25227 echo "$as_me: failed program was:" >&5
25228 sed 's/^/| /' conftest.$ac_ext >&5
25230 glibcxx_cv_func_sincos_use=no
25232 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25233 ac_ext=c
25234 ac_cpp='$CPP $CPPFLAGS'
25235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25243 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
25244 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
25246 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
25248 for ac_func in sincos
25250 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25251 echo "$as_me:$LINENO: checking for $ac_func" >&5
25252 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25253 if eval "test \"\${$as_ac_var+set}\" = set"; then
25254 echo $ECHO_N "(cached) $ECHO_C" >&6
25255 else
25256 if test x$gcc_no_link = xyes; then
25257 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25258 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25259 { (exit 1); exit 1; }; }
25261 cat >conftest.$ac_ext <<_ACEOF
25262 /* confdefs.h. */
25263 _ACEOF
25264 cat confdefs.h >>conftest.$ac_ext
25265 cat >>conftest.$ac_ext <<_ACEOF
25266 /* end confdefs.h. */
25267 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25268 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25269 #define $ac_func innocuous_$ac_func
25271 /* System header to define __stub macros and hopefully few prototypes,
25272 which can conflict with char $ac_func (); below.
25273 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25274 <limits.h> exists even on freestanding compilers. */
25276 #ifdef __STDC__
25277 # include <limits.h>
25278 #else
25279 # include <assert.h>
25280 #endif
25282 #undef $ac_func
25284 /* Override any gcc2 internal prototype to avoid an error. */
25285 #ifdef __cplusplus
25286 extern "C"
25288 #endif
25289 /* We use char because int might match the return type of a gcc2
25290 builtin and then its argument prototype would still apply. */
25291 char $ac_func ();
25292 /* The GNU C library defines this for functions which it implements
25293 to always fail with ENOSYS. Some functions are actually named
25294 something starting with __ and the normal name is an alias. */
25295 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25296 choke me
25297 #else
25298 char (*f) () = $ac_func;
25299 #endif
25300 #ifdef __cplusplus
25302 #endif
25305 main ()
25307 return f != $ac_func;
25309 return 0;
25311 _ACEOF
25312 rm -f conftest.$ac_objext conftest$ac_exeext
25313 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25314 (eval $ac_link) 2>conftest.er1
25315 ac_status=$?
25316 grep -v '^ *+' conftest.er1 >conftest.err
25317 rm -f conftest.er1
25318 cat conftest.err >&5
25319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25320 (exit $ac_status); } &&
25321 { ac_try='test -z "$ac_c_werror_flag"
25322 || test ! -s conftest.err'
25323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25324 (eval $ac_try) 2>&5
25325 ac_status=$?
25326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25327 (exit $ac_status); }; } &&
25328 { ac_try='test -s conftest$ac_exeext'
25329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25330 (eval $ac_try) 2>&5
25331 ac_status=$?
25332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25333 (exit $ac_status); }; }; then
25334 eval "$as_ac_var=yes"
25335 else
25336 echo "$as_me: failed program was:" >&5
25337 sed 's/^/| /' conftest.$ac_ext >&5
25339 eval "$as_ac_var=no"
25341 rm -f conftest.err conftest.$ac_objext \
25342 conftest$ac_exeext conftest.$ac_ext
25344 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25345 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25346 if test `eval echo '${'$as_ac_var'}'` = yes; then
25347 cat >>confdefs.h <<_ACEOF
25348 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25349 _ACEOF
25352 done
25354 else
25356 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
25357 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
25358 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
25359 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
25360 echo $ECHO_N "(cached) $ECHO_C" >&6
25361 else
25365 ac_ext=cc
25366 ac_cpp='$CXXCPP $CPPFLAGS'
25367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25371 cat >conftest.$ac_ext <<_ACEOF
25372 /* confdefs.h. */
25373 _ACEOF
25374 cat confdefs.h >>conftest.$ac_ext
25375 cat >>conftest.$ac_ext <<_ACEOF
25376 /* end confdefs.h. */
25377 #include <math.h>
25379 main ()
25381 _sincos(0, 0, 0);
25383 return 0;
25385 _ACEOF
25386 rm -f conftest.$ac_objext
25387 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25388 (eval $ac_compile) 2>conftest.er1
25389 ac_status=$?
25390 grep -v '^ *+' conftest.er1 >conftest.err
25391 rm -f conftest.er1
25392 cat conftest.err >&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } &&
25395 { ac_try='test -z "$ac_cxx_werror_flag"
25396 || test ! -s conftest.err'
25397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25398 (eval $ac_try) 2>&5
25399 ac_status=$?
25400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25401 (exit $ac_status); }; } &&
25402 { ac_try='test -s conftest.$ac_objext'
25403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25404 (eval $ac_try) 2>&5
25405 ac_status=$?
25406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25407 (exit $ac_status); }; }; then
25408 glibcxx_cv_func__sincos_use=yes
25409 else
25410 echo "$as_me: failed program was:" >&5
25411 sed 's/^/| /' conftest.$ac_ext >&5
25413 glibcxx_cv_func__sincos_use=no
25415 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25416 ac_ext=c
25417 ac_cpp='$CPP $CPPFLAGS'
25418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25426 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
25427 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
25429 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
25431 for ac_func in _sincos
25433 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25434 echo "$as_me:$LINENO: checking for $ac_func" >&5
25435 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25436 if eval "test \"\${$as_ac_var+set}\" = set"; then
25437 echo $ECHO_N "(cached) $ECHO_C" >&6
25438 else
25439 if test x$gcc_no_link = xyes; then
25440 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25441 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25442 { (exit 1); exit 1; }; }
25444 cat >conftest.$ac_ext <<_ACEOF
25445 /* confdefs.h. */
25446 _ACEOF
25447 cat confdefs.h >>conftest.$ac_ext
25448 cat >>conftest.$ac_ext <<_ACEOF
25449 /* end confdefs.h. */
25450 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25451 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25452 #define $ac_func innocuous_$ac_func
25454 /* System header to define __stub macros and hopefully few prototypes,
25455 which can conflict with char $ac_func (); below.
25456 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25457 <limits.h> exists even on freestanding compilers. */
25459 #ifdef __STDC__
25460 # include <limits.h>
25461 #else
25462 # include <assert.h>
25463 #endif
25465 #undef $ac_func
25467 /* Override any gcc2 internal prototype to avoid an error. */
25468 #ifdef __cplusplus
25469 extern "C"
25471 #endif
25472 /* We use char because int might match the return type of a gcc2
25473 builtin and then its argument prototype would still apply. */
25474 char $ac_func ();
25475 /* The GNU C library defines this for functions which it implements
25476 to always fail with ENOSYS. Some functions are actually named
25477 something starting with __ and the normal name is an alias. */
25478 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25479 choke me
25480 #else
25481 char (*f) () = $ac_func;
25482 #endif
25483 #ifdef __cplusplus
25485 #endif
25488 main ()
25490 return f != $ac_func;
25492 return 0;
25494 _ACEOF
25495 rm -f conftest.$ac_objext conftest$ac_exeext
25496 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25497 (eval $ac_link) 2>conftest.er1
25498 ac_status=$?
25499 grep -v '^ *+' conftest.er1 >conftest.err
25500 rm -f conftest.er1
25501 cat conftest.err >&5
25502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25503 (exit $ac_status); } &&
25504 { ac_try='test -z "$ac_c_werror_flag"
25505 || test ! -s conftest.err'
25506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25507 (eval $ac_try) 2>&5
25508 ac_status=$?
25509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25510 (exit $ac_status); }; } &&
25511 { ac_try='test -s conftest$ac_exeext'
25512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25513 (eval $ac_try) 2>&5
25514 ac_status=$?
25515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25516 (exit $ac_status); }; }; then
25517 eval "$as_ac_var=yes"
25518 else
25519 echo "$as_me: failed program was:" >&5
25520 sed 's/^/| /' conftest.$ac_ext >&5
25522 eval "$as_ac_var=no"
25524 rm -f conftest.err conftest.$ac_objext \
25525 conftest$ac_exeext conftest.$ac_ext
25527 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25528 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25529 if test `eval echo '${'$as_ac_var'}'` = yes; then
25530 cat >>confdefs.h <<_ACEOF
25531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25532 _ACEOF
25535 done
25545 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
25546 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
25547 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
25548 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
25549 echo $ECHO_N "(cached) $ECHO_C" >&6
25550 else
25554 ac_ext=cc
25555 ac_cpp='$CXXCPP $CPPFLAGS'
25556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25560 cat >conftest.$ac_ext <<_ACEOF
25561 /* confdefs.h. */
25562 _ACEOF
25563 cat confdefs.h >>conftest.$ac_ext
25564 cat >>conftest.$ac_ext <<_ACEOF
25565 /* end confdefs.h. */
25566 #include <math.h>
25567 #ifdef HAVE_IEEEFP_H
25568 #include <ieeefp.h>
25569 #endif
25572 main ()
25574 fpclass(0);
25576 return 0;
25578 _ACEOF
25579 rm -f conftest.$ac_objext
25580 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25581 (eval $ac_compile) 2>conftest.er1
25582 ac_status=$?
25583 grep -v '^ *+' conftest.er1 >conftest.err
25584 rm -f conftest.er1
25585 cat conftest.err >&5
25586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25587 (exit $ac_status); } &&
25588 { ac_try='test -z "$ac_cxx_werror_flag"
25589 || test ! -s conftest.err'
25590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25591 (eval $ac_try) 2>&5
25592 ac_status=$?
25593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25594 (exit $ac_status); }; } &&
25595 { ac_try='test -s conftest.$ac_objext'
25596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25597 (eval $ac_try) 2>&5
25598 ac_status=$?
25599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25600 (exit $ac_status); }; }; then
25601 glibcxx_cv_func_fpclass_use=yes
25602 else
25603 echo "$as_me: failed program was:" >&5
25604 sed 's/^/| /' conftest.$ac_ext >&5
25606 glibcxx_cv_func_fpclass_use=no
25608 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25609 ac_ext=c
25610 ac_cpp='$CPP $CPPFLAGS'
25611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25619 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
25620 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
25622 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
25624 for ac_func in fpclass
25626 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25627 echo "$as_me:$LINENO: checking for $ac_func" >&5
25628 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25629 if eval "test \"\${$as_ac_var+set}\" = set"; then
25630 echo $ECHO_N "(cached) $ECHO_C" >&6
25631 else
25632 if test x$gcc_no_link = xyes; then
25633 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25634 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25635 { (exit 1); exit 1; }; }
25637 cat >conftest.$ac_ext <<_ACEOF
25638 /* confdefs.h. */
25639 _ACEOF
25640 cat confdefs.h >>conftest.$ac_ext
25641 cat >>conftest.$ac_ext <<_ACEOF
25642 /* end confdefs.h. */
25643 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25644 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25645 #define $ac_func innocuous_$ac_func
25647 /* System header to define __stub macros and hopefully few prototypes,
25648 which can conflict with char $ac_func (); below.
25649 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25650 <limits.h> exists even on freestanding compilers. */
25652 #ifdef __STDC__
25653 # include <limits.h>
25654 #else
25655 # include <assert.h>
25656 #endif
25658 #undef $ac_func
25660 /* Override any gcc2 internal prototype to avoid an error. */
25661 #ifdef __cplusplus
25662 extern "C"
25664 #endif
25665 /* We use char because int might match the return type of a gcc2
25666 builtin and then its argument prototype would still apply. */
25667 char $ac_func ();
25668 /* The GNU C library defines this for functions which it implements
25669 to always fail with ENOSYS. Some functions are actually named
25670 something starting with __ and the normal name is an alias. */
25671 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25672 choke me
25673 #else
25674 char (*f) () = $ac_func;
25675 #endif
25676 #ifdef __cplusplus
25678 #endif
25681 main ()
25683 return f != $ac_func;
25685 return 0;
25687 _ACEOF
25688 rm -f conftest.$ac_objext conftest$ac_exeext
25689 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25690 (eval $ac_link) 2>conftest.er1
25691 ac_status=$?
25692 grep -v '^ *+' conftest.er1 >conftest.err
25693 rm -f conftest.er1
25694 cat conftest.err >&5
25695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25696 (exit $ac_status); } &&
25697 { ac_try='test -z "$ac_c_werror_flag"
25698 || test ! -s conftest.err'
25699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25700 (eval $ac_try) 2>&5
25701 ac_status=$?
25702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25703 (exit $ac_status); }; } &&
25704 { ac_try='test -s conftest$ac_exeext'
25705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25706 (eval $ac_try) 2>&5
25707 ac_status=$?
25708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25709 (exit $ac_status); }; }; then
25710 eval "$as_ac_var=yes"
25711 else
25712 echo "$as_me: failed program was:" >&5
25713 sed 's/^/| /' conftest.$ac_ext >&5
25715 eval "$as_ac_var=no"
25717 rm -f conftest.err conftest.$ac_objext \
25718 conftest$ac_exeext conftest.$ac_ext
25720 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25721 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25722 if test `eval echo '${'$as_ac_var'}'` = yes; then
25723 cat >>confdefs.h <<_ACEOF
25724 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25725 _ACEOF
25728 done
25730 else
25732 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
25733 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
25734 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
25735 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
25736 echo $ECHO_N "(cached) $ECHO_C" >&6
25737 else
25741 ac_ext=cc
25742 ac_cpp='$CXXCPP $CPPFLAGS'
25743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25747 cat >conftest.$ac_ext <<_ACEOF
25748 /* confdefs.h. */
25749 _ACEOF
25750 cat confdefs.h >>conftest.$ac_ext
25751 cat >>conftest.$ac_ext <<_ACEOF
25752 /* end confdefs.h. */
25753 #include <math.h>
25754 #ifdef HAVE_IEEEFP_H
25755 #include <ieeefp.h>
25756 #endif
25759 main ()
25761 _fpclass(0);
25763 return 0;
25765 _ACEOF
25766 rm -f conftest.$ac_objext
25767 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25768 (eval $ac_compile) 2>conftest.er1
25769 ac_status=$?
25770 grep -v '^ *+' conftest.er1 >conftest.err
25771 rm -f conftest.er1
25772 cat conftest.err >&5
25773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25774 (exit $ac_status); } &&
25775 { ac_try='test -z "$ac_cxx_werror_flag"
25776 || test ! -s conftest.err'
25777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25778 (eval $ac_try) 2>&5
25779 ac_status=$?
25780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25781 (exit $ac_status); }; } &&
25782 { ac_try='test -s conftest.$ac_objext'
25783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25784 (eval $ac_try) 2>&5
25785 ac_status=$?
25786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25787 (exit $ac_status); }; }; then
25788 glibcxx_cv_func__fpclass_use=yes
25789 else
25790 echo "$as_me: failed program was:" >&5
25791 sed 's/^/| /' conftest.$ac_ext >&5
25793 glibcxx_cv_func__fpclass_use=no
25795 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25796 ac_ext=c
25797 ac_cpp='$CPP $CPPFLAGS'
25798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25806 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
25807 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
25809 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
25811 for ac_func in _fpclass
25813 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25814 echo "$as_me:$LINENO: checking for $ac_func" >&5
25815 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
25816 if eval "test \"\${$as_ac_var+set}\" = set"; then
25817 echo $ECHO_N "(cached) $ECHO_C" >&6
25818 else
25819 if test x$gcc_no_link = xyes; then
25820 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
25821 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
25822 { (exit 1); exit 1; }; }
25824 cat >conftest.$ac_ext <<_ACEOF
25825 /* confdefs.h. */
25826 _ACEOF
25827 cat confdefs.h >>conftest.$ac_ext
25828 cat >>conftest.$ac_ext <<_ACEOF
25829 /* end confdefs.h. */
25830 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25831 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25832 #define $ac_func innocuous_$ac_func
25834 /* System header to define __stub macros and hopefully few prototypes,
25835 which can conflict with char $ac_func (); below.
25836 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25837 <limits.h> exists even on freestanding compilers. */
25839 #ifdef __STDC__
25840 # include <limits.h>
25841 #else
25842 # include <assert.h>
25843 #endif
25845 #undef $ac_func
25847 /* Override any gcc2 internal prototype to avoid an error. */
25848 #ifdef __cplusplus
25849 extern "C"
25851 #endif
25852 /* We use char because int might match the return type of a gcc2
25853 builtin and then its argument prototype would still apply. */
25854 char $ac_func ();
25855 /* The GNU C library defines this for functions which it implements
25856 to always fail with ENOSYS. Some functions are actually named
25857 something starting with __ and the normal name is an alias. */
25858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
25859 choke me
25860 #else
25861 char (*f) () = $ac_func;
25862 #endif
25863 #ifdef __cplusplus
25865 #endif
25868 main ()
25870 return f != $ac_func;
25872 return 0;
25874 _ACEOF
25875 rm -f conftest.$ac_objext conftest$ac_exeext
25876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
25877 (eval $ac_link) 2>conftest.er1
25878 ac_status=$?
25879 grep -v '^ *+' conftest.er1 >conftest.err
25880 rm -f conftest.er1
25881 cat conftest.err >&5
25882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25883 (exit $ac_status); } &&
25884 { ac_try='test -z "$ac_c_werror_flag"
25885 || test ! -s conftest.err'
25886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25887 (eval $ac_try) 2>&5
25888 ac_status=$?
25889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25890 (exit $ac_status); }; } &&
25891 { ac_try='test -s conftest$ac_exeext'
25892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25893 (eval $ac_try) 2>&5
25894 ac_status=$?
25895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25896 (exit $ac_status); }; }; then
25897 eval "$as_ac_var=yes"
25898 else
25899 echo "$as_me: failed program was:" >&5
25900 sed 's/^/| /' conftest.$ac_ext >&5
25902 eval "$as_ac_var=no"
25904 rm -f conftest.err conftest.$ac_objext \
25905 conftest$ac_exeext conftest.$ac_ext
25907 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
25908 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
25909 if test `eval echo '${'$as_ac_var'}'` = yes; then
25910 cat >>confdefs.h <<_ACEOF
25911 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25912 _ACEOF
25915 done
25925 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
25926 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
25927 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
25928 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
25929 echo $ECHO_N "(cached) $ECHO_C" >&6
25930 else
25934 ac_ext=cc
25935 ac_cpp='$CXXCPP $CPPFLAGS'
25936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25940 cat >conftest.$ac_ext <<_ACEOF
25941 /* confdefs.h. */
25942 _ACEOF
25943 cat confdefs.h >>conftest.$ac_ext
25944 cat >>conftest.$ac_ext <<_ACEOF
25945 /* end confdefs.h. */
25946 #include <math.h>
25947 #ifdef HAVE_IEEEFP_H
25948 #include <ieeefp.h>
25949 #endif
25952 main ()
25954 qfpclass(0);
25956 return 0;
25958 _ACEOF
25959 rm -f conftest.$ac_objext
25960 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
25961 (eval $ac_compile) 2>conftest.er1
25962 ac_status=$?
25963 grep -v '^ *+' conftest.er1 >conftest.err
25964 rm -f conftest.er1
25965 cat conftest.err >&5
25966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25967 (exit $ac_status); } &&
25968 { ac_try='test -z "$ac_cxx_werror_flag"
25969 || test ! -s conftest.err'
25970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25971 (eval $ac_try) 2>&5
25972 ac_status=$?
25973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25974 (exit $ac_status); }; } &&
25975 { ac_try='test -s conftest.$ac_objext'
25976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
25977 (eval $ac_try) 2>&5
25978 ac_status=$?
25979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25980 (exit $ac_status); }; }; then
25981 glibcxx_cv_func_qfpclass_use=yes
25982 else
25983 echo "$as_me: failed program was:" >&5
25984 sed 's/^/| /' conftest.$ac_ext >&5
25986 glibcxx_cv_func_qfpclass_use=no
25988 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
25989 ac_ext=c
25990 ac_cpp='$CPP $CPPFLAGS'
25991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25999 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
26000 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
26002 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
26004 for ac_func in qfpclass
26006 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26007 echo "$as_me:$LINENO: checking for $ac_func" >&5
26008 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26009 if eval "test \"\${$as_ac_var+set}\" = set"; then
26010 echo $ECHO_N "(cached) $ECHO_C" >&6
26011 else
26012 if test x$gcc_no_link = xyes; then
26013 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26014 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26015 { (exit 1); exit 1; }; }
26017 cat >conftest.$ac_ext <<_ACEOF
26018 /* confdefs.h. */
26019 _ACEOF
26020 cat confdefs.h >>conftest.$ac_ext
26021 cat >>conftest.$ac_ext <<_ACEOF
26022 /* end confdefs.h. */
26023 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26024 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26025 #define $ac_func innocuous_$ac_func
26027 /* System header to define __stub macros and hopefully few prototypes,
26028 which can conflict with char $ac_func (); below.
26029 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26030 <limits.h> exists even on freestanding compilers. */
26032 #ifdef __STDC__
26033 # include <limits.h>
26034 #else
26035 # include <assert.h>
26036 #endif
26038 #undef $ac_func
26040 /* Override any gcc2 internal prototype to avoid an error. */
26041 #ifdef __cplusplus
26042 extern "C"
26044 #endif
26045 /* We use char because int might match the return type of a gcc2
26046 builtin and then its argument prototype would still apply. */
26047 char $ac_func ();
26048 /* The GNU C library defines this for functions which it implements
26049 to always fail with ENOSYS. Some functions are actually named
26050 something starting with __ and the normal name is an alias. */
26051 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26052 choke me
26053 #else
26054 char (*f) () = $ac_func;
26055 #endif
26056 #ifdef __cplusplus
26058 #endif
26061 main ()
26063 return f != $ac_func;
26065 return 0;
26067 _ACEOF
26068 rm -f conftest.$ac_objext conftest$ac_exeext
26069 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26070 (eval $ac_link) 2>conftest.er1
26071 ac_status=$?
26072 grep -v '^ *+' conftest.er1 >conftest.err
26073 rm -f conftest.er1
26074 cat conftest.err >&5
26075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26076 (exit $ac_status); } &&
26077 { ac_try='test -z "$ac_c_werror_flag"
26078 || test ! -s conftest.err'
26079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26080 (eval $ac_try) 2>&5
26081 ac_status=$?
26082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26083 (exit $ac_status); }; } &&
26084 { ac_try='test -s conftest$ac_exeext'
26085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26086 (eval $ac_try) 2>&5
26087 ac_status=$?
26088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26089 (exit $ac_status); }; }; then
26090 eval "$as_ac_var=yes"
26091 else
26092 echo "$as_me: failed program was:" >&5
26093 sed 's/^/| /' conftest.$ac_ext >&5
26095 eval "$as_ac_var=no"
26097 rm -f conftest.err conftest.$ac_objext \
26098 conftest$ac_exeext conftest.$ac_ext
26100 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26101 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26102 if test `eval echo '${'$as_ac_var'}'` = yes; then
26103 cat >>confdefs.h <<_ACEOF
26104 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26105 _ACEOF
26108 done
26110 else
26112 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
26113 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
26114 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
26115 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
26116 echo $ECHO_N "(cached) $ECHO_C" >&6
26117 else
26121 ac_ext=cc
26122 ac_cpp='$CXXCPP $CPPFLAGS'
26123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127 cat >conftest.$ac_ext <<_ACEOF
26128 /* confdefs.h. */
26129 _ACEOF
26130 cat confdefs.h >>conftest.$ac_ext
26131 cat >>conftest.$ac_ext <<_ACEOF
26132 /* end confdefs.h. */
26133 #include <math.h>
26134 #ifdef HAVE_IEEEFP_H
26135 #include <ieeefp.h>
26136 #endif
26139 main ()
26141 _qfpclass(0);
26143 return 0;
26145 _ACEOF
26146 rm -f conftest.$ac_objext
26147 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26148 (eval $ac_compile) 2>conftest.er1
26149 ac_status=$?
26150 grep -v '^ *+' conftest.er1 >conftest.err
26151 rm -f conftest.er1
26152 cat conftest.err >&5
26153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26154 (exit $ac_status); } &&
26155 { ac_try='test -z "$ac_cxx_werror_flag"
26156 || test ! -s conftest.err'
26157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26158 (eval $ac_try) 2>&5
26159 ac_status=$?
26160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26161 (exit $ac_status); }; } &&
26162 { ac_try='test -s conftest.$ac_objext'
26163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26164 (eval $ac_try) 2>&5
26165 ac_status=$?
26166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26167 (exit $ac_status); }; }; then
26168 glibcxx_cv_func__qfpclass_use=yes
26169 else
26170 echo "$as_me: failed program was:" >&5
26171 sed 's/^/| /' conftest.$ac_ext >&5
26173 glibcxx_cv_func__qfpclass_use=no
26175 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26176 ac_ext=c
26177 ac_cpp='$CPP $CPPFLAGS'
26178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26186 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
26187 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
26189 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
26191 for ac_func in _qfpclass
26193 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26194 echo "$as_me:$LINENO: checking for $ac_func" >&5
26195 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26196 if eval "test \"\${$as_ac_var+set}\" = set"; then
26197 echo $ECHO_N "(cached) $ECHO_C" >&6
26198 else
26199 if test x$gcc_no_link = xyes; then
26200 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26201 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26202 { (exit 1); exit 1; }; }
26204 cat >conftest.$ac_ext <<_ACEOF
26205 /* confdefs.h. */
26206 _ACEOF
26207 cat confdefs.h >>conftest.$ac_ext
26208 cat >>conftest.$ac_ext <<_ACEOF
26209 /* end confdefs.h. */
26210 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26211 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26212 #define $ac_func innocuous_$ac_func
26214 /* System header to define __stub macros and hopefully few prototypes,
26215 which can conflict with char $ac_func (); below.
26216 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26217 <limits.h> exists even on freestanding compilers. */
26219 #ifdef __STDC__
26220 # include <limits.h>
26221 #else
26222 # include <assert.h>
26223 #endif
26225 #undef $ac_func
26227 /* Override any gcc2 internal prototype to avoid an error. */
26228 #ifdef __cplusplus
26229 extern "C"
26231 #endif
26232 /* We use char because int might match the return type of a gcc2
26233 builtin and then its argument prototype would still apply. */
26234 char $ac_func ();
26235 /* The GNU C library defines this for functions which it implements
26236 to always fail with ENOSYS. Some functions are actually named
26237 something starting with __ and the normal name is an alias. */
26238 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26239 choke me
26240 #else
26241 char (*f) () = $ac_func;
26242 #endif
26243 #ifdef __cplusplus
26245 #endif
26248 main ()
26250 return f != $ac_func;
26252 return 0;
26254 _ACEOF
26255 rm -f conftest.$ac_objext conftest$ac_exeext
26256 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26257 (eval $ac_link) 2>conftest.er1
26258 ac_status=$?
26259 grep -v '^ *+' conftest.er1 >conftest.err
26260 rm -f conftest.er1
26261 cat conftest.err >&5
26262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26263 (exit $ac_status); } &&
26264 { ac_try='test -z "$ac_c_werror_flag"
26265 || test ! -s conftest.err'
26266 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26267 (eval $ac_try) 2>&5
26268 ac_status=$?
26269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26270 (exit $ac_status); }; } &&
26271 { ac_try='test -s conftest$ac_exeext'
26272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26273 (eval $ac_try) 2>&5
26274 ac_status=$?
26275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26276 (exit $ac_status); }; }; then
26277 eval "$as_ac_var=yes"
26278 else
26279 echo "$as_me: failed program was:" >&5
26280 sed 's/^/| /' conftest.$ac_ext >&5
26282 eval "$as_ac_var=no"
26284 rm -f conftest.err conftest.$ac_objext \
26285 conftest$ac_exeext conftest.$ac_ext
26287 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26288 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26289 if test `eval echo '${'$as_ac_var'}'` = yes; then
26290 cat >>confdefs.h <<_ACEOF
26291 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26292 _ACEOF
26295 done
26305 echo "$as_me:$LINENO: checking for hypot declaration" >&5
26306 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
26307 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
26308 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
26309 echo $ECHO_N "(cached) $ECHO_C" >&6
26310 else
26314 ac_ext=cc
26315 ac_cpp='$CXXCPP $CPPFLAGS'
26316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26320 cat >conftest.$ac_ext <<_ACEOF
26321 /* confdefs.h. */
26322 _ACEOF
26323 cat confdefs.h >>conftest.$ac_ext
26324 cat >>conftest.$ac_ext <<_ACEOF
26325 /* end confdefs.h. */
26326 #include <math.h>
26328 main ()
26330 hypot(0, 0);
26332 return 0;
26334 _ACEOF
26335 rm -f conftest.$ac_objext
26336 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26337 (eval $ac_compile) 2>conftest.er1
26338 ac_status=$?
26339 grep -v '^ *+' conftest.er1 >conftest.err
26340 rm -f conftest.er1
26341 cat conftest.err >&5
26342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26343 (exit $ac_status); } &&
26344 { ac_try='test -z "$ac_cxx_werror_flag"
26345 || test ! -s conftest.err'
26346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26347 (eval $ac_try) 2>&5
26348 ac_status=$?
26349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26350 (exit $ac_status); }; } &&
26351 { ac_try='test -s conftest.$ac_objext'
26352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26353 (eval $ac_try) 2>&5
26354 ac_status=$?
26355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26356 (exit $ac_status); }; }; then
26357 glibcxx_cv_func_hypot_use=yes
26358 else
26359 echo "$as_me: failed program was:" >&5
26360 sed 's/^/| /' conftest.$ac_ext >&5
26362 glibcxx_cv_func_hypot_use=no
26364 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26365 ac_ext=c
26366 ac_cpp='$CPP $CPPFLAGS'
26367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26375 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
26376 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
26378 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
26380 for ac_func in hypot
26382 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26383 echo "$as_me:$LINENO: checking for $ac_func" >&5
26384 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26385 if eval "test \"\${$as_ac_var+set}\" = set"; then
26386 echo $ECHO_N "(cached) $ECHO_C" >&6
26387 else
26388 if test x$gcc_no_link = xyes; then
26389 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26390 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26391 { (exit 1); exit 1; }; }
26393 cat >conftest.$ac_ext <<_ACEOF
26394 /* confdefs.h. */
26395 _ACEOF
26396 cat confdefs.h >>conftest.$ac_ext
26397 cat >>conftest.$ac_ext <<_ACEOF
26398 /* end confdefs.h. */
26399 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26400 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26401 #define $ac_func innocuous_$ac_func
26403 /* System header to define __stub macros and hopefully few prototypes,
26404 which can conflict with char $ac_func (); below.
26405 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26406 <limits.h> exists even on freestanding compilers. */
26408 #ifdef __STDC__
26409 # include <limits.h>
26410 #else
26411 # include <assert.h>
26412 #endif
26414 #undef $ac_func
26416 /* Override any gcc2 internal prototype to avoid an error. */
26417 #ifdef __cplusplus
26418 extern "C"
26420 #endif
26421 /* We use char because int might match the return type of a gcc2
26422 builtin and then its argument prototype would still apply. */
26423 char $ac_func ();
26424 /* The GNU C library defines this for functions which it implements
26425 to always fail with ENOSYS. Some functions are actually named
26426 something starting with __ and the normal name is an alias. */
26427 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26428 choke me
26429 #else
26430 char (*f) () = $ac_func;
26431 #endif
26432 #ifdef __cplusplus
26434 #endif
26437 main ()
26439 return f != $ac_func;
26441 return 0;
26443 _ACEOF
26444 rm -f conftest.$ac_objext conftest$ac_exeext
26445 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26446 (eval $ac_link) 2>conftest.er1
26447 ac_status=$?
26448 grep -v '^ *+' conftest.er1 >conftest.err
26449 rm -f conftest.er1
26450 cat conftest.err >&5
26451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26452 (exit $ac_status); } &&
26453 { ac_try='test -z "$ac_c_werror_flag"
26454 || test ! -s conftest.err'
26455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26456 (eval $ac_try) 2>&5
26457 ac_status=$?
26458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26459 (exit $ac_status); }; } &&
26460 { ac_try='test -s conftest$ac_exeext'
26461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26462 (eval $ac_try) 2>&5
26463 ac_status=$?
26464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26465 (exit $ac_status); }; }; then
26466 eval "$as_ac_var=yes"
26467 else
26468 echo "$as_me: failed program was:" >&5
26469 sed 's/^/| /' conftest.$ac_ext >&5
26471 eval "$as_ac_var=no"
26473 rm -f conftest.err conftest.$ac_objext \
26474 conftest$ac_exeext conftest.$ac_ext
26476 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26477 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26478 if test `eval echo '${'$as_ac_var'}'` = yes; then
26479 cat >>confdefs.h <<_ACEOF
26480 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26481 _ACEOF
26484 done
26486 else
26488 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
26489 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
26490 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
26491 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
26492 echo $ECHO_N "(cached) $ECHO_C" >&6
26493 else
26497 ac_ext=cc
26498 ac_cpp='$CXXCPP $CPPFLAGS'
26499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503 cat >conftest.$ac_ext <<_ACEOF
26504 /* confdefs.h. */
26505 _ACEOF
26506 cat confdefs.h >>conftest.$ac_ext
26507 cat >>conftest.$ac_ext <<_ACEOF
26508 /* end confdefs.h. */
26509 #include <math.h>
26511 main ()
26513 _hypot(0, 0);
26515 return 0;
26517 _ACEOF
26518 rm -f conftest.$ac_objext
26519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26520 (eval $ac_compile) 2>conftest.er1
26521 ac_status=$?
26522 grep -v '^ *+' conftest.er1 >conftest.err
26523 rm -f conftest.er1
26524 cat conftest.err >&5
26525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26526 (exit $ac_status); } &&
26527 { ac_try='test -z "$ac_cxx_werror_flag"
26528 || test ! -s conftest.err'
26529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26530 (eval $ac_try) 2>&5
26531 ac_status=$?
26532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26533 (exit $ac_status); }; } &&
26534 { ac_try='test -s conftest.$ac_objext'
26535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26536 (eval $ac_try) 2>&5
26537 ac_status=$?
26538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26539 (exit $ac_status); }; }; then
26540 glibcxx_cv_func__hypot_use=yes
26541 else
26542 echo "$as_me: failed program was:" >&5
26543 sed 's/^/| /' conftest.$ac_ext >&5
26545 glibcxx_cv_func__hypot_use=no
26547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26548 ac_ext=c
26549 ac_cpp='$CPP $CPPFLAGS'
26550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26558 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
26559 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
26561 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
26563 for ac_func in _hypot
26565 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26566 echo "$as_me:$LINENO: checking for $ac_func" >&5
26567 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26568 if eval "test \"\${$as_ac_var+set}\" = set"; then
26569 echo $ECHO_N "(cached) $ECHO_C" >&6
26570 else
26571 if test x$gcc_no_link = xyes; then
26572 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26573 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26574 { (exit 1); exit 1; }; }
26576 cat >conftest.$ac_ext <<_ACEOF
26577 /* confdefs.h. */
26578 _ACEOF
26579 cat confdefs.h >>conftest.$ac_ext
26580 cat >>conftest.$ac_ext <<_ACEOF
26581 /* end confdefs.h. */
26582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26584 #define $ac_func innocuous_$ac_func
26586 /* System header to define __stub macros and hopefully few prototypes,
26587 which can conflict with char $ac_func (); below.
26588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26589 <limits.h> exists even on freestanding compilers. */
26591 #ifdef __STDC__
26592 # include <limits.h>
26593 #else
26594 # include <assert.h>
26595 #endif
26597 #undef $ac_func
26599 /* Override any gcc2 internal prototype to avoid an error. */
26600 #ifdef __cplusplus
26601 extern "C"
26603 #endif
26604 /* We use char because int might match the return type of a gcc2
26605 builtin and then its argument prototype would still apply. */
26606 char $ac_func ();
26607 /* The GNU C library defines this for functions which it implements
26608 to always fail with ENOSYS. Some functions are actually named
26609 something starting with __ and the normal name is an alias. */
26610 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26611 choke me
26612 #else
26613 char (*f) () = $ac_func;
26614 #endif
26615 #ifdef __cplusplus
26617 #endif
26620 main ()
26622 return f != $ac_func;
26624 return 0;
26626 _ACEOF
26627 rm -f conftest.$ac_objext conftest$ac_exeext
26628 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26629 (eval $ac_link) 2>conftest.er1
26630 ac_status=$?
26631 grep -v '^ *+' conftest.er1 >conftest.err
26632 rm -f conftest.er1
26633 cat conftest.err >&5
26634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26635 (exit $ac_status); } &&
26636 { ac_try='test -z "$ac_c_werror_flag"
26637 || test ! -s conftest.err'
26638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26639 (eval $ac_try) 2>&5
26640 ac_status=$?
26641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26642 (exit $ac_status); }; } &&
26643 { ac_try='test -s conftest$ac_exeext'
26644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26645 (eval $ac_try) 2>&5
26646 ac_status=$?
26647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26648 (exit $ac_status); }; }; then
26649 eval "$as_ac_var=yes"
26650 else
26651 echo "$as_me: failed program was:" >&5
26652 sed 's/^/| /' conftest.$ac_ext >&5
26654 eval "$as_ac_var=no"
26656 rm -f conftest.err conftest.$ac_objext \
26657 conftest$ac_exeext conftest.$ac_ext
26659 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26660 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26661 if test `eval echo '${'$as_ac_var'}'` = yes; then
26662 cat >>confdefs.h <<_ACEOF
26663 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26664 _ACEOF
26667 done
26677 echo "$as_me:$LINENO: checking for float trig functions" >&5
26678 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
26679 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
26680 echo $ECHO_N "(cached) $ECHO_C" >&6
26681 else
26685 ac_ext=cc
26686 ac_cpp='$CXXCPP $CPPFLAGS'
26687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691 cat >conftest.$ac_ext <<_ACEOF
26692 /* confdefs.h. */
26693 _ACEOF
26694 cat confdefs.h >>conftest.$ac_ext
26695 cat >>conftest.$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26697 #include <math.h>
26699 main ()
26701 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
26703 return 0;
26705 _ACEOF
26706 rm -f conftest.$ac_objext
26707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26708 (eval $ac_compile) 2>conftest.er1
26709 ac_status=$?
26710 grep -v '^ *+' conftest.er1 >conftest.err
26711 rm -f conftest.er1
26712 cat conftest.err >&5
26713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26714 (exit $ac_status); } &&
26715 { ac_try='test -z "$ac_cxx_werror_flag"
26716 || test ! -s conftest.err'
26717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26718 (eval $ac_try) 2>&5
26719 ac_status=$?
26720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26721 (exit $ac_status); }; } &&
26722 { ac_try='test -s conftest.$ac_objext'
26723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26724 (eval $ac_try) 2>&5
26725 ac_status=$?
26726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26727 (exit $ac_status); }; }; then
26728 glibcxx_cv_func_float_trig_use=yes
26729 else
26730 echo "$as_me: failed program was:" >&5
26731 sed 's/^/| /' conftest.$ac_ext >&5
26733 glibcxx_cv_func_float_trig_use=no
26735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26736 ac_ext=c
26737 ac_cpp='$CPP $CPPFLAGS'
26738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26744 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
26745 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
26746 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
26756 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
26758 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26759 echo "$as_me:$LINENO: checking for $ac_func" >&5
26760 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26761 if eval "test \"\${$as_ac_var+set}\" = set"; then
26762 echo $ECHO_N "(cached) $ECHO_C" >&6
26763 else
26764 if test x$gcc_no_link = xyes; then
26765 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26766 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26767 { (exit 1); exit 1; }; }
26769 cat >conftest.$ac_ext <<_ACEOF
26770 /* confdefs.h. */
26771 _ACEOF
26772 cat confdefs.h >>conftest.$ac_ext
26773 cat >>conftest.$ac_ext <<_ACEOF
26774 /* end confdefs.h. */
26775 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26777 #define $ac_func innocuous_$ac_func
26779 /* System header to define __stub macros and hopefully few prototypes,
26780 which can conflict with char $ac_func (); below.
26781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26782 <limits.h> exists even on freestanding compilers. */
26784 #ifdef __STDC__
26785 # include <limits.h>
26786 #else
26787 # include <assert.h>
26788 #endif
26790 #undef $ac_func
26792 /* Override any gcc2 internal prototype to avoid an error. */
26793 #ifdef __cplusplus
26794 extern "C"
26796 #endif
26797 /* We use char because int might match the return type of a gcc2
26798 builtin and then its argument prototype would still apply. */
26799 char $ac_func ();
26800 /* The GNU C library defines this for functions which it implements
26801 to always fail with ENOSYS. Some functions are actually named
26802 something starting with __ and the normal name is an alias. */
26803 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26804 choke me
26805 #else
26806 char (*f) () = $ac_func;
26807 #endif
26808 #ifdef __cplusplus
26810 #endif
26813 main ()
26815 return f != $ac_func;
26817 return 0;
26819 _ACEOF
26820 rm -f conftest.$ac_objext conftest$ac_exeext
26821 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
26822 (eval $ac_link) 2>conftest.er1
26823 ac_status=$?
26824 grep -v '^ *+' conftest.er1 >conftest.err
26825 rm -f conftest.er1
26826 cat conftest.err >&5
26827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26828 (exit $ac_status); } &&
26829 { ac_try='test -z "$ac_c_werror_flag"
26830 || test ! -s conftest.err'
26831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26832 (eval $ac_try) 2>&5
26833 ac_status=$?
26834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26835 (exit $ac_status); }; } &&
26836 { ac_try='test -s conftest$ac_exeext'
26837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26838 (eval $ac_try) 2>&5
26839 ac_status=$?
26840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26841 (exit $ac_status); }; }; then
26842 eval "$as_ac_var=yes"
26843 else
26844 echo "$as_me: failed program was:" >&5
26845 sed 's/^/| /' conftest.$ac_ext >&5
26847 eval "$as_ac_var=no"
26849 rm -f conftest.err conftest.$ac_objext \
26850 conftest$ac_exeext conftest.$ac_ext
26852 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
26853 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
26854 if test `eval echo '${'$as_ac_var'}'` = yes; then
26855 cat >>confdefs.h <<_ACEOF
26856 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26857 _ACEOF
26860 done
26862 else
26863 echo "$as_me:$LINENO: checking for _float trig functions" >&5
26864 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
26865 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
26866 echo $ECHO_N "(cached) $ECHO_C" >&6
26867 else
26871 ac_ext=cc
26872 ac_cpp='$CXXCPP $CPPFLAGS'
26873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26877 cat >conftest.$ac_ext <<_ACEOF
26878 /* confdefs.h. */
26879 _ACEOF
26880 cat confdefs.h >>conftest.$ac_ext
26881 cat >>conftest.$ac_ext <<_ACEOF
26882 /* end confdefs.h. */
26883 #include <math.h>
26885 main ()
26887 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
26889 return 0;
26891 _ACEOF
26892 rm -f conftest.$ac_objext
26893 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
26894 (eval $ac_compile) 2>conftest.er1
26895 ac_status=$?
26896 grep -v '^ *+' conftest.er1 >conftest.err
26897 rm -f conftest.er1
26898 cat conftest.err >&5
26899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26900 (exit $ac_status); } &&
26901 { ac_try='test -z "$ac_cxx_werror_flag"
26902 || test ! -s conftest.err'
26903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26904 (eval $ac_try) 2>&5
26905 ac_status=$?
26906 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26907 (exit $ac_status); }; } &&
26908 { ac_try='test -s conftest.$ac_objext'
26909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
26910 (eval $ac_try) 2>&5
26911 ac_status=$?
26912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26913 (exit $ac_status); }; }; then
26914 glibcxx_cv_func__float_trig_use=yes
26915 else
26916 echo "$as_me: failed program was:" >&5
26917 sed 's/^/| /' conftest.$ac_ext >&5
26919 glibcxx_cv_func__float_trig_use=no
26921 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
26922 ac_ext=c
26923 ac_cpp='$CPP $CPPFLAGS'
26924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26930 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
26931 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
26932 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
26942 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
26944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26945 echo "$as_me:$LINENO: checking for $ac_func" >&5
26946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
26947 if eval "test \"\${$as_ac_var+set}\" = set"; then
26948 echo $ECHO_N "(cached) $ECHO_C" >&6
26949 else
26950 if test x$gcc_no_link = xyes; then
26951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
26952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
26953 { (exit 1); exit 1; }; }
26955 cat >conftest.$ac_ext <<_ACEOF
26956 /* confdefs.h. */
26957 _ACEOF
26958 cat confdefs.h >>conftest.$ac_ext
26959 cat >>conftest.$ac_ext <<_ACEOF
26960 /* end confdefs.h. */
26961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26963 #define $ac_func innocuous_$ac_func
26965 /* System header to define __stub macros and hopefully few prototypes,
26966 which can conflict with char $ac_func (); below.
26967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26968 <limits.h> exists even on freestanding compilers. */
26970 #ifdef __STDC__
26971 # include <limits.h>
26972 #else
26973 # include <assert.h>
26974 #endif
26976 #undef $ac_func
26978 /* Override any gcc2 internal prototype to avoid an error. */
26979 #ifdef __cplusplus
26980 extern "C"
26982 #endif
26983 /* We use char because int might match the return type of a gcc2
26984 builtin and then its argument prototype would still apply. */
26985 char $ac_func ();
26986 /* The GNU C library defines this for functions which it implements
26987 to always fail with ENOSYS. Some functions are actually named
26988 something starting with __ and the normal name is an alias. */
26989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
26990 choke me
26991 #else
26992 char (*f) () = $ac_func;
26993 #endif
26994 #ifdef __cplusplus
26996 #endif
26999 main ()
27001 return f != $ac_func;
27003 return 0;
27005 _ACEOF
27006 rm -f conftest.$ac_objext conftest$ac_exeext
27007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27008 (eval $ac_link) 2>conftest.er1
27009 ac_status=$?
27010 grep -v '^ *+' conftest.er1 >conftest.err
27011 rm -f conftest.er1
27012 cat conftest.err >&5
27013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27014 (exit $ac_status); } &&
27015 { ac_try='test -z "$ac_c_werror_flag"
27016 || test ! -s conftest.err'
27017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27018 (eval $ac_try) 2>&5
27019 ac_status=$?
27020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27021 (exit $ac_status); }; } &&
27022 { ac_try='test -s conftest$ac_exeext'
27023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27024 (eval $ac_try) 2>&5
27025 ac_status=$?
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); }; }; then
27028 eval "$as_ac_var=yes"
27029 else
27030 echo "$as_me: failed program was:" >&5
27031 sed 's/^/| /' conftest.$ac_ext >&5
27033 eval "$as_ac_var=no"
27035 rm -f conftest.err conftest.$ac_objext \
27036 conftest$ac_exeext conftest.$ac_ext
27038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27040 if test `eval echo '${'$as_ac_var'}'` = yes; then
27041 cat >>confdefs.h <<_ACEOF
27042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27043 _ACEOF
27046 done
27064 echo "$as_me:$LINENO: checking for float round functions" >&5
27065 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
27066 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
27067 echo $ECHO_N "(cached) $ECHO_C" >&6
27068 else
27072 ac_ext=cc
27073 ac_cpp='$CXXCPP $CPPFLAGS'
27074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27078 cat >conftest.$ac_ext <<_ACEOF
27079 /* confdefs.h. */
27080 _ACEOF
27081 cat confdefs.h >>conftest.$ac_ext
27082 cat >>conftest.$ac_ext <<_ACEOF
27083 /* end confdefs.h. */
27084 #include <math.h>
27086 main ()
27088 ceilf (0); floorf (0);
27090 return 0;
27092 _ACEOF
27093 rm -f conftest.$ac_objext
27094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27095 (eval $ac_compile) 2>conftest.er1
27096 ac_status=$?
27097 grep -v '^ *+' conftest.er1 >conftest.err
27098 rm -f conftest.er1
27099 cat conftest.err >&5
27100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27101 (exit $ac_status); } &&
27102 { ac_try='test -z "$ac_cxx_werror_flag"
27103 || test ! -s conftest.err'
27104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27105 (eval $ac_try) 2>&5
27106 ac_status=$?
27107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27108 (exit $ac_status); }; } &&
27109 { ac_try='test -s conftest.$ac_objext'
27110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27111 (eval $ac_try) 2>&5
27112 ac_status=$?
27113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27114 (exit $ac_status); }; }; then
27115 glibcxx_cv_func_float_round_use=yes
27116 else
27117 echo "$as_me: failed program was:" >&5
27118 sed 's/^/| /' conftest.$ac_ext >&5
27120 glibcxx_cv_func_float_round_use=no
27122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27123 ac_ext=c
27124 ac_cpp='$CPP $CPPFLAGS'
27125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27131 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
27132 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
27133 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
27136 for ac_func in ceilf floorf
27138 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27139 echo "$as_me:$LINENO: checking for $ac_func" >&5
27140 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27141 if eval "test \"\${$as_ac_var+set}\" = set"; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27143 else
27144 if test x$gcc_no_link = xyes; then
27145 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27146 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27147 { (exit 1); exit 1; }; }
27149 cat >conftest.$ac_ext <<_ACEOF
27150 /* confdefs.h. */
27151 _ACEOF
27152 cat confdefs.h >>conftest.$ac_ext
27153 cat >>conftest.$ac_ext <<_ACEOF
27154 /* end confdefs.h. */
27155 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27156 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27157 #define $ac_func innocuous_$ac_func
27159 /* System header to define __stub macros and hopefully few prototypes,
27160 which can conflict with char $ac_func (); below.
27161 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27162 <limits.h> exists even on freestanding compilers. */
27164 #ifdef __STDC__
27165 # include <limits.h>
27166 #else
27167 # include <assert.h>
27168 #endif
27170 #undef $ac_func
27172 /* Override any gcc2 internal prototype to avoid an error. */
27173 #ifdef __cplusplus
27174 extern "C"
27176 #endif
27177 /* We use char because int might match the return type of a gcc2
27178 builtin and then its argument prototype would still apply. */
27179 char $ac_func ();
27180 /* The GNU C library defines this for functions which it implements
27181 to always fail with ENOSYS. Some functions are actually named
27182 something starting with __ and the normal name is an alias. */
27183 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27184 choke me
27185 #else
27186 char (*f) () = $ac_func;
27187 #endif
27188 #ifdef __cplusplus
27190 #endif
27193 main ()
27195 return f != $ac_func;
27197 return 0;
27199 _ACEOF
27200 rm -f conftest.$ac_objext conftest$ac_exeext
27201 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27202 (eval $ac_link) 2>conftest.er1
27203 ac_status=$?
27204 grep -v '^ *+' conftest.er1 >conftest.err
27205 rm -f conftest.er1
27206 cat conftest.err >&5
27207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27208 (exit $ac_status); } &&
27209 { ac_try='test -z "$ac_c_werror_flag"
27210 || test ! -s conftest.err'
27211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27212 (eval $ac_try) 2>&5
27213 ac_status=$?
27214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27215 (exit $ac_status); }; } &&
27216 { ac_try='test -s conftest$ac_exeext'
27217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27218 (eval $ac_try) 2>&5
27219 ac_status=$?
27220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27221 (exit $ac_status); }; }; then
27222 eval "$as_ac_var=yes"
27223 else
27224 echo "$as_me: failed program was:" >&5
27225 sed 's/^/| /' conftest.$ac_ext >&5
27227 eval "$as_ac_var=no"
27229 rm -f conftest.err conftest.$ac_objext \
27230 conftest$ac_exeext conftest.$ac_ext
27232 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27233 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27234 if test `eval echo '${'$as_ac_var'}'` = yes; then
27235 cat >>confdefs.h <<_ACEOF
27236 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27237 _ACEOF
27240 done
27242 else
27243 echo "$as_me:$LINENO: checking for _float round functions" >&5
27244 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
27245 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
27246 echo $ECHO_N "(cached) $ECHO_C" >&6
27247 else
27251 ac_ext=cc
27252 ac_cpp='$CXXCPP $CPPFLAGS'
27253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27257 cat >conftest.$ac_ext <<_ACEOF
27258 /* confdefs.h. */
27259 _ACEOF
27260 cat confdefs.h >>conftest.$ac_ext
27261 cat >>conftest.$ac_ext <<_ACEOF
27262 /* end confdefs.h. */
27263 #include <math.h>
27265 main ()
27267 _ceilf (0); _floorf (0);
27269 return 0;
27271 _ACEOF
27272 rm -f conftest.$ac_objext
27273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27274 (eval $ac_compile) 2>conftest.er1
27275 ac_status=$?
27276 grep -v '^ *+' conftest.er1 >conftest.err
27277 rm -f conftest.er1
27278 cat conftest.err >&5
27279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27280 (exit $ac_status); } &&
27281 { ac_try='test -z "$ac_cxx_werror_flag"
27282 || test ! -s conftest.err'
27283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27284 (eval $ac_try) 2>&5
27285 ac_status=$?
27286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27287 (exit $ac_status); }; } &&
27288 { ac_try='test -s conftest.$ac_objext'
27289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27290 (eval $ac_try) 2>&5
27291 ac_status=$?
27292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27293 (exit $ac_status); }; }; then
27294 glibcxx_cv_func__float_round_use=yes
27295 else
27296 echo "$as_me: failed program was:" >&5
27297 sed 's/^/| /' conftest.$ac_ext >&5
27299 glibcxx_cv_func__float_round_use=no
27301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27302 ac_ext=c
27303 ac_cpp='$CPP $CPPFLAGS'
27304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27310 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
27311 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
27312 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
27315 for ac_func in _ceilf _floorf
27317 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27318 echo "$as_me:$LINENO: checking for $ac_func" >&5
27319 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27320 if eval "test \"\${$as_ac_var+set}\" = set"; then
27321 echo $ECHO_N "(cached) $ECHO_C" >&6
27322 else
27323 if test x$gcc_no_link = xyes; then
27324 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27325 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27326 { (exit 1); exit 1; }; }
27328 cat >conftest.$ac_ext <<_ACEOF
27329 /* confdefs.h. */
27330 _ACEOF
27331 cat confdefs.h >>conftest.$ac_ext
27332 cat >>conftest.$ac_ext <<_ACEOF
27333 /* end confdefs.h. */
27334 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27335 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27336 #define $ac_func innocuous_$ac_func
27338 /* System header to define __stub macros and hopefully few prototypes,
27339 which can conflict with char $ac_func (); below.
27340 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27341 <limits.h> exists even on freestanding compilers. */
27343 #ifdef __STDC__
27344 # include <limits.h>
27345 #else
27346 # include <assert.h>
27347 #endif
27349 #undef $ac_func
27351 /* Override any gcc2 internal prototype to avoid an error. */
27352 #ifdef __cplusplus
27353 extern "C"
27355 #endif
27356 /* We use char because int might match the return type of a gcc2
27357 builtin and then its argument prototype would still apply. */
27358 char $ac_func ();
27359 /* The GNU C library defines this for functions which it implements
27360 to always fail with ENOSYS. Some functions are actually named
27361 something starting with __ and the normal name is an alias. */
27362 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27363 choke me
27364 #else
27365 char (*f) () = $ac_func;
27366 #endif
27367 #ifdef __cplusplus
27369 #endif
27372 main ()
27374 return f != $ac_func;
27376 return 0;
27378 _ACEOF
27379 rm -f conftest.$ac_objext conftest$ac_exeext
27380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27381 (eval $ac_link) 2>conftest.er1
27382 ac_status=$?
27383 grep -v '^ *+' conftest.er1 >conftest.err
27384 rm -f conftest.er1
27385 cat conftest.err >&5
27386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27387 (exit $ac_status); } &&
27388 { ac_try='test -z "$ac_c_werror_flag"
27389 || test ! -s conftest.err'
27390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27391 (eval $ac_try) 2>&5
27392 ac_status=$?
27393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27394 (exit $ac_status); }; } &&
27395 { ac_try='test -s conftest$ac_exeext'
27396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27397 (eval $ac_try) 2>&5
27398 ac_status=$?
27399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27400 (exit $ac_status); }; }; then
27401 eval "$as_ac_var=yes"
27402 else
27403 echo "$as_me: failed program was:" >&5
27404 sed 's/^/| /' conftest.$ac_ext >&5
27406 eval "$as_ac_var=no"
27408 rm -f conftest.err conftest.$ac_objext \
27409 conftest$ac_exeext conftest.$ac_ext
27411 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27412 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27413 if test `eval echo '${'$as_ac_var'}'` = yes; then
27414 cat >>confdefs.h <<_ACEOF
27415 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27416 _ACEOF
27419 done
27431 echo "$as_me:$LINENO: checking for expf declaration" >&5
27432 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
27433 if test x${glibcxx_cv_func_expf_use+set} != xset; then
27434 if test "${glibcxx_cv_func_expf_use+set}" = set; then
27435 echo $ECHO_N "(cached) $ECHO_C" >&6
27436 else
27440 ac_ext=cc
27441 ac_cpp='$CXXCPP $CPPFLAGS'
27442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27446 cat >conftest.$ac_ext <<_ACEOF
27447 /* confdefs.h. */
27448 _ACEOF
27449 cat confdefs.h >>conftest.$ac_ext
27450 cat >>conftest.$ac_ext <<_ACEOF
27451 /* end confdefs.h. */
27452 #include <math.h>
27453 #ifdef HAVE_IEEEFP_H
27454 #include <ieeefp.h>
27455 #endif
27458 main ()
27460 expf(0);
27462 return 0;
27464 _ACEOF
27465 rm -f conftest.$ac_objext
27466 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27467 (eval $ac_compile) 2>conftest.er1
27468 ac_status=$?
27469 grep -v '^ *+' conftest.er1 >conftest.err
27470 rm -f conftest.er1
27471 cat conftest.err >&5
27472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27473 (exit $ac_status); } &&
27474 { ac_try='test -z "$ac_cxx_werror_flag"
27475 || test ! -s conftest.err'
27476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27477 (eval $ac_try) 2>&5
27478 ac_status=$?
27479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27480 (exit $ac_status); }; } &&
27481 { ac_try='test -s conftest.$ac_objext'
27482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27483 (eval $ac_try) 2>&5
27484 ac_status=$?
27485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27486 (exit $ac_status); }; }; then
27487 glibcxx_cv_func_expf_use=yes
27488 else
27489 echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27492 glibcxx_cv_func_expf_use=no
27494 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27495 ac_ext=c
27496 ac_cpp='$CPP $CPPFLAGS'
27497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27505 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
27506 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
27508 if test x$glibcxx_cv_func_expf_use = x"yes"; then
27510 for ac_func in expf
27512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27513 echo "$as_me:$LINENO: checking for $ac_func" >&5
27514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27515 if eval "test \"\${$as_ac_var+set}\" = set"; then
27516 echo $ECHO_N "(cached) $ECHO_C" >&6
27517 else
27518 if test x$gcc_no_link = xyes; then
27519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27521 { (exit 1); exit 1; }; }
27523 cat >conftest.$ac_ext <<_ACEOF
27524 /* confdefs.h. */
27525 _ACEOF
27526 cat confdefs.h >>conftest.$ac_ext
27527 cat >>conftest.$ac_ext <<_ACEOF
27528 /* end confdefs.h. */
27529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27531 #define $ac_func innocuous_$ac_func
27533 /* System header to define __stub macros and hopefully few prototypes,
27534 which can conflict with char $ac_func (); below.
27535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27536 <limits.h> exists even on freestanding compilers. */
27538 #ifdef __STDC__
27539 # include <limits.h>
27540 #else
27541 # include <assert.h>
27542 #endif
27544 #undef $ac_func
27546 /* Override any gcc2 internal prototype to avoid an error. */
27547 #ifdef __cplusplus
27548 extern "C"
27550 #endif
27551 /* We use char because int might match the return type of a gcc2
27552 builtin and then its argument prototype would still apply. */
27553 char $ac_func ();
27554 /* The GNU C library defines this for functions which it implements
27555 to always fail with ENOSYS. Some functions are actually named
27556 something starting with __ and the normal name is an alias. */
27557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27558 choke me
27559 #else
27560 char (*f) () = $ac_func;
27561 #endif
27562 #ifdef __cplusplus
27564 #endif
27567 main ()
27569 return f != $ac_func;
27571 return 0;
27573 _ACEOF
27574 rm -f conftest.$ac_objext conftest$ac_exeext
27575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27576 (eval $ac_link) 2>conftest.er1
27577 ac_status=$?
27578 grep -v '^ *+' conftest.er1 >conftest.err
27579 rm -f conftest.er1
27580 cat conftest.err >&5
27581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27582 (exit $ac_status); } &&
27583 { ac_try='test -z "$ac_c_werror_flag"
27584 || test ! -s conftest.err'
27585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27586 (eval $ac_try) 2>&5
27587 ac_status=$?
27588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27589 (exit $ac_status); }; } &&
27590 { ac_try='test -s conftest$ac_exeext'
27591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27592 (eval $ac_try) 2>&5
27593 ac_status=$?
27594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27595 (exit $ac_status); }; }; then
27596 eval "$as_ac_var=yes"
27597 else
27598 echo "$as_me: failed program was:" >&5
27599 sed 's/^/| /' conftest.$ac_ext >&5
27601 eval "$as_ac_var=no"
27603 rm -f conftest.err conftest.$ac_objext \
27604 conftest$ac_exeext conftest.$ac_ext
27606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27608 if test `eval echo '${'$as_ac_var'}'` = yes; then
27609 cat >>confdefs.h <<_ACEOF
27610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27611 _ACEOF
27614 done
27616 else
27618 echo "$as_me:$LINENO: checking for _expf declaration" >&5
27619 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
27620 if test x${glibcxx_cv_func__expf_use+set} != xset; then
27621 if test "${glibcxx_cv_func__expf_use+set}" = set; then
27622 echo $ECHO_N "(cached) $ECHO_C" >&6
27623 else
27627 ac_ext=cc
27628 ac_cpp='$CXXCPP $CPPFLAGS'
27629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27633 cat >conftest.$ac_ext <<_ACEOF
27634 /* confdefs.h. */
27635 _ACEOF
27636 cat confdefs.h >>conftest.$ac_ext
27637 cat >>conftest.$ac_ext <<_ACEOF
27638 /* end confdefs.h. */
27639 #include <math.h>
27640 #ifdef HAVE_IEEEFP_H
27641 #include <ieeefp.h>
27642 #endif
27645 main ()
27647 _expf(0);
27649 return 0;
27651 _ACEOF
27652 rm -f conftest.$ac_objext
27653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27654 (eval $ac_compile) 2>conftest.er1
27655 ac_status=$?
27656 grep -v '^ *+' conftest.er1 >conftest.err
27657 rm -f conftest.er1
27658 cat conftest.err >&5
27659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27660 (exit $ac_status); } &&
27661 { ac_try='test -z "$ac_cxx_werror_flag"
27662 || test ! -s conftest.err'
27663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27664 (eval $ac_try) 2>&5
27665 ac_status=$?
27666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27667 (exit $ac_status); }; } &&
27668 { ac_try='test -s conftest.$ac_objext'
27669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27670 (eval $ac_try) 2>&5
27671 ac_status=$?
27672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27673 (exit $ac_status); }; }; then
27674 glibcxx_cv_func__expf_use=yes
27675 else
27676 echo "$as_me: failed program was:" >&5
27677 sed 's/^/| /' conftest.$ac_ext >&5
27679 glibcxx_cv_func__expf_use=no
27681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27682 ac_ext=c
27683 ac_cpp='$CPP $CPPFLAGS'
27684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
27693 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
27695 if test x$glibcxx_cv_func__expf_use = x"yes"; then
27697 for ac_func in _expf
27699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27700 echo "$as_me:$LINENO: checking for $ac_func" >&5
27701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27702 if eval "test \"\${$as_ac_var+set}\" = set"; then
27703 echo $ECHO_N "(cached) $ECHO_C" >&6
27704 else
27705 if test x$gcc_no_link = xyes; then
27706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27708 { (exit 1); exit 1; }; }
27710 cat >conftest.$ac_ext <<_ACEOF
27711 /* confdefs.h. */
27712 _ACEOF
27713 cat confdefs.h >>conftest.$ac_ext
27714 cat >>conftest.$ac_ext <<_ACEOF
27715 /* end confdefs.h. */
27716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27718 #define $ac_func innocuous_$ac_func
27720 /* System header to define __stub macros and hopefully few prototypes,
27721 which can conflict with char $ac_func (); below.
27722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27723 <limits.h> exists even on freestanding compilers. */
27725 #ifdef __STDC__
27726 # include <limits.h>
27727 #else
27728 # include <assert.h>
27729 #endif
27731 #undef $ac_func
27733 /* Override any gcc2 internal prototype to avoid an error. */
27734 #ifdef __cplusplus
27735 extern "C"
27737 #endif
27738 /* We use char because int might match the return type of a gcc2
27739 builtin and then its argument prototype would still apply. */
27740 char $ac_func ();
27741 /* The GNU C library defines this for functions which it implements
27742 to always fail with ENOSYS. Some functions are actually named
27743 something starting with __ and the normal name is an alias. */
27744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27745 choke me
27746 #else
27747 char (*f) () = $ac_func;
27748 #endif
27749 #ifdef __cplusplus
27751 #endif
27754 main ()
27756 return f != $ac_func;
27758 return 0;
27760 _ACEOF
27761 rm -f conftest.$ac_objext conftest$ac_exeext
27762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27763 (eval $ac_link) 2>conftest.er1
27764 ac_status=$?
27765 grep -v '^ *+' conftest.er1 >conftest.err
27766 rm -f conftest.er1
27767 cat conftest.err >&5
27768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27769 (exit $ac_status); } &&
27770 { ac_try='test -z "$ac_c_werror_flag"
27771 || test ! -s conftest.err'
27772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27773 (eval $ac_try) 2>&5
27774 ac_status=$?
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); }; } &&
27777 { ac_try='test -s conftest$ac_exeext'
27778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27779 (eval $ac_try) 2>&5
27780 ac_status=$?
27781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27782 (exit $ac_status); }; }; then
27783 eval "$as_ac_var=yes"
27784 else
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.$ac_ext >&5
27788 eval "$as_ac_var=no"
27790 rm -f conftest.err conftest.$ac_objext \
27791 conftest$ac_exeext conftest.$ac_ext
27793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27795 if test `eval echo '${'$as_ac_var'}'` = yes; then
27796 cat >>confdefs.h <<_ACEOF
27797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27798 _ACEOF
27801 done
27811 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
27812 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
27813 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
27814 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
27815 echo $ECHO_N "(cached) $ECHO_C" >&6
27816 else
27820 ac_ext=cc
27821 ac_cpp='$CXXCPP $CPPFLAGS'
27822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27826 cat >conftest.$ac_ext <<_ACEOF
27827 /* confdefs.h. */
27828 _ACEOF
27829 cat confdefs.h >>conftest.$ac_ext
27830 cat >>conftest.$ac_ext <<_ACEOF
27831 /* end confdefs.h. */
27832 #include <math.h>
27833 #ifdef HAVE_IEEEFP_H
27834 #include <ieeefp.h>
27835 #endif
27838 main ()
27840 isnanf(0);
27842 return 0;
27844 _ACEOF
27845 rm -f conftest.$ac_objext
27846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
27847 (eval $ac_compile) 2>conftest.er1
27848 ac_status=$?
27849 grep -v '^ *+' conftest.er1 >conftest.err
27850 rm -f conftest.er1
27851 cat conftest.err >&5
27852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27853 (exit $ac_status); } &&
27854 { ac_try='test -z "$ac_cxx_werror_flag"
27855 || test ! -s conftest.err'
27856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27857 (eval $ac_try) 2>&5
27858 ac_status=$?
27859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27860 (exit $ac_status); }; } &&
27861 { ac_try='test -s conftest.$ac_objext'
27862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27863 (eval $ac_try) 2>&5
27864 ac_status=$?
27865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27866 (exit $ac_status); }; }; then
27867 glibcxx_cv_func_isnanf_use=yes
27868 else
27869 echo "$as_me: failed program was:" >&5
27870 sed 's/^/| /' conftest.$ac_ext >&5
27872 glibcxx_cv_func_isnanf_use=no
27874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
27875 ac_ext=c
27876 ac_cpp='$CPP $CPPFLAGS'
27877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
27886 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
27888 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
27890 for ac_func in isnanf
27892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
27893 echo "$as_me:$LINENO: checking for $ac_func" >&5
27894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
27895 if eval "test \"\${$as_ac_var+set}\" = set"; then
27896 echo $ECHO_N "(cached) $ECHO_C" >&6
27897 else
27898 if test x$gcc_no_link = xyes; then
27899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
27900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
27901 { (exit 1); exit 1; }; }
27903 cat >conftest.$ac_ext <<_ACEOF
27904 /* confdefs.h. */
27905 _ACEOF
27906 cat confdefs.h >>conftest.$ac_ext
27907 cat >>conftest.$ac_ext <<_ACEOF
27908 /* end confdefs.h. */
27909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
27910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
27911 #define $ac_func innocuous_$ac_func
27913 /* System header to define __stub macros and hopefully few prototypes,
27914 which can conflict with char $ac_func (); below.
27915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
27916 <limits.h> exists even on freestanding compilers. */
27918 #ifdef __STDC__
27919 # include <limits.h>
27920 #else
27921 # include <assert.h>
27922 #endif
27924 #undef $ac_func
27926 /* Override any gcc2 internal prototype to avoid an error. */
27927 #ifdef __cplusplus
27928 extern "C"
27930 #endif
27931 /* We use char because int might match the return type of a gcc2
27932 builtin and then its argument prototype would still apply. */
27933 char $ac_func ();
27934 /* The GNU C library defines this for functions which it implements
27935 to always fail with ENOSYS. Some functions are actually named
27936 something starting with __ and the normal name is an alias. */
27937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
27938 choke me
27939 #else
27940 char (*f) () = $ac_func;
27941 #endif
27942 #ifdef __cplusplus
27944 #endif
27947 main ()
27949 return f != $ac_func;
27951 return 0;
27953 _ACEOF
27954 rm -f conftest.$ac_objext conftest$ac_exeext
27955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
27956 (eval $ac_link) 2>conftest.er1
27957 ac_status=$?
27958 grep -v '^ *+' conftest.er1 >conftest.err
27959 rm -f conftest.er1
27960 cat conftest.err >&5
27961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27962 (exit $ac_status); } &&
27963 { ac_try='test -z "$ac_c_werror_flag"
27964 || test ! -s conftest.err'
27965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27966 (eval $ac_try) 2>&5
27967 ac_status=$?
27968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27969 (exit $ac_status); }; } &&
27970 { ac_try='test -s conftest$ac_exeext'
27971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
27972 (eval $ac_try) 2>&5
27973 ac_status=$?
27974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27975 (exit $ac_status); }; }; then
27976 eval "$as_ac_var=yes"
27977 else
27978 echo "$as_me: failed program was:" >&5
27979 sed 's/^/| /' conftest.$ac_ext >&5
27981 eval "$as_ac_var=no"
27983 rm -f conftest.err conftest.$ac_objext \
27984 conftest$ac_exeext conftest.$ac_ext
27986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
27987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
27988 if test `eval echo '${'$as_ac_var'}'` = yes; then
27989 cat >>confdefs.h <<_ACEOF
27990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
27991 _ACEOF
27994 done
27996 else
27998 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
27999 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
28000 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
28001 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
28002 echo $ECHO_N "(cached) $ECHO_C" >&6
28003 else
28007 ac_ext=cc
28008 ac_cpp='$CXXCPP $CPPFLAGS'
28009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28013 cat >conftest.$ac_ext <<_ACEOF
28014 /* confdefs.h. */
28015 _ACEOF
28016 cat confdefs.h >>conftest.$ac_ext
28017 cat >>conftest.$ac_ext <<_ACEOF
28018 /* end confdefs.h. */
28019 #include <math.h>
28020 #ifdef HAVE_IEEEFP_H
28021 #include <ieeefp.h>
28022 #endif
28025 main ()
28027 _isnanf(0);
28029 return 0;
28031 _ACEOF
28032 rm -f conftest.$ac_objext
28033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28034 (eval $ac_compile) 2>conftest.er1
28035 ac_status=$?
28036 grep -v '^ *+' conftest.er1 >conftest.err
28037 rm -f conftest.er1
28038 cat conftest.err >&5
28039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28040 (exit $ac_status); } &&
28041 { ac_try='test -z "$ac_cxx_werror_flag"
28042 || test ! -s conftest.err'
28043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28044 (eval $ac_try) 2>&5
28045 ac_status=$?
28046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28047 (exit $ac_status); }; } &&
28048 { ac_try='test -s conftest.$ac_objext'
28049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28050 (eval $ac_try) 2>&5
28051 ac_status=$?
28052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28053 (exit $ac_status); }; }; then
28054 glibcxx_cv_func__isnanf_use=yes
28055 else
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28059 glibcxx_cv_func__isnanf_use=no
28061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28062 ac_ext=c
28063 ac_cpp='$CPP $CPPFLAGS'
28064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
28073 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
28075 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
28077 for ac_func in _isnanf
28079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28080 echo "$as_me:$LINENO: checking for $ac_func" >&5
28081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28082 if eval "test \"\${$as_ac_var+set}\" = set"; then
28083 echo $ECHO_N "(cached) $ECHO_C" >&6
28084 else
28085 if test x$gcc_no_link = xyes; then
28086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28088 { (exit 1); exit 1; }; }
28090 cat >conftest.$ac_ext <<_ACEOF
28091 /* confdefs.h. */
28092 _ACEOF
28093 cat confdefs.h >>conftest.$ac_ext
28094 cat >>conftest.$ac_ext <<_ACEOF
28095 /* end confdefs.h. */
28096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28098 #define $ac_func innocuous_$ac_func
28100 /* System header to define __stub macros and hopefully few prototypes,
28101 which can conflict with char $ac_func (); below.
28102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28103 <limits.h> exists even on freestanding compilers. */
28105 #ifdef __STDC__
28106 # include <limits.h>
28107 #else
28108 # include <assert.h>
28109 #endif
28111 #undef $ac_func
28113 /* Override any gcc2 internal prototype to avoid an error. */
28114 #ifdef __cplusplus
28115 extern "C"
28117 #endif
28118 /* We use char because int might match the return type of a gcc2
28119 builtin and then its argument prototype would still apply. */
28120 char $ac_func ();
28121 /* The GNU C library defines this for functions which it implements
28122 to always fail with ENOSYS. Some functions are actually named
28123 something starting with __ and the normal name is an alias. */
28124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28125 choke me
28126 #else
28127 char (*f) () = $ac_func;
28128 #endif
28129 #ifdef __cplusplus
28131 #endif
28134 main ()
28136 return f != $ac_func;
28138 return 0;
28140 _ACEOF
28141 rm -f conftest.$ac_objext conftest$ac_exeext
28142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28143 (eval $ac_link) 2>conftest.er1
28144 ac_status=$?
28145 grep -v '^ *+' conftest.er1 >conftest.err
28146 rm -f conftest.er1
28147 cat conftest.err >&5
28148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28149 (exit $ac_status); } &&
28150 { ac_try='test -z "$ac_c_werror_flag"
28151 || test ! -s conftest.err'
28152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28153 (eval $ac_try) 2>&5
28154 ac_status=$?
28155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28156 (exit $ac_status); }; } &&
28157 { ac_try='test -s conftest$ac_exeext'
28158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28159 (eval $ac_try) 2>&5
28160 ac_status=$?
28161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28162 (exit $ac_status); }; }; then
28163 eval "$as_ac_var=yes"
28164 else
28165 echo "$as_me: failed program was:" >&5
28166 sed 's/^/| /' conftest.$ac_ext >&5
28168 eval "$as_ac_var=no"
28170 rm -f conftest.err conftest.$ac_objext \
28171 conftest$ac_exeext conftest.$ac_ext
28173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28175 if test `eval echo '${'$as_ac_var'}'` = yes; then
28176 cat >>confdefs.h <<_ACEOF
28177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28178 _ACEOF
28181 done
28191 echo "$as_me:$LINENO: checking for isinff declaration" >&5
28192 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
28193 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
28194 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
28195 echo $ECHO_N "(cached) $ECHO_C" >&6
28196 else
28200 ac_ext=cc
28201 ac_cpp='$CXXCPP $CPPFLAGS'
28202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28206 cat >conftest.$ac_ext <<_ACEOF
28207 /* confdefs.h. */
28208 _ACEOF
28209 cat confdefs.h >>conftest.$ac_ext
28210 cat >>conftest.$ac_ext <<_ACEOF
28211 /* end confdefs.h. */
28212 #include <math.h>
28213 #ifdef HAVE_IEEEFP_H
28214 #include <ieeefp.h>
28215 #endif
28218 main ()
28220 isinff(0);
28222 return 0;
28224 _ACEOF
28225 rm -f conftest.$ac_objext
28226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28227 (eval $ac_compile) 2>conftest.er1
28228 ac_status=$?
28229 grep -v '^ *+' conftest.er1 >conftest.err
28230 rm -f conftest.er1
28231 cat conftest.err >&5
28232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28233 (exit $ac_status); } &&
28234 { ac_try='test -z "$ac_cxx_werror_flag"
28235 || test ! -s conftest.err'
28236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28237 (eval $ac_try) 2>&5
28238 ac_status=$?
28239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28240 (exit $ac_status); }; } &&
28241 { ac_try='test -s conftest.$ac_objext'
28242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28243 (eval $ac_try) 2>&5
28244 ac_status=$?
28245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28246 (exit $ac_status); }; }; then
28247 glibcxx_cv_func_isinff_use=yes
28248 else
28249 echo "$as_me: failed program was:" >&5
28250 sed 's/^/| /' conftest.$ac_ext >&5
28252 glibcxx_cv_func_isinff_use=no
28254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28255 ac_ext=c
28256 ac_cpp='$CPP $CPPFLAGS'
28257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
28266 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
28268 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
28270 for ac_func in isinff
28272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28273 echo "$as_me:$LINENO: checking for $ac_func" >&5
28274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28275 if eval "test \"\${$as_ac_var+set}\" = set"; then
28276 echo $ECHO_N "(cached) $ECHO_C" >&6
28277 else
28278 if test x$gcc_no_link = xyes; then
28279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28281 { (exit 1); exit 1; }; }
28283 cat >conftest.$ac_ext <<_ACEOF
28284 /* confdefs.h. */
28285 _ACEOF
28286 cat confdefs.h >>conftest.$ac_ext
28287 cat >>conftest.$ac_ext <<_ACEOF
28288 /* end confdefs.h. */
28289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28291 #define $ac_func innocuous_$ac_func
28293 /* System header to define __stub macros and hopefully few prototypes,
28294 which can conflict with char $ac_func (); below.
28295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28296 <limits.h> exists even on freestanding compilers. */
28298 #ifdef __STDC__
28299 # include <limits.h>
28300 #else
28301 # include <assert.h>
28302 #endif
28304 #undef $ac_func
28306 /* Override any gcc2 internal prototype to avoid an error. */
28307 #ifdef __cplusplus
28308 extern "C"
28310 #endif
28311 /* We use char because int might match the return type of a gcc2
28312 builtin and then its argument prototype would still apply. */
28313 char $ac_func ();
28314 /* The GNU C library defines this for functions which it implements
28315 to always fail with ENOSYS. Some functions are actually named
28316 something starting with __ and the normal name is an alias. */
28317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28318 choke me
28319 #else
28320 char (*f) () = $ac_func;
28321 #endif
28322 #ifdef __cplusplus
28324 #endif
28327 main ()
28329 return f != $ac_func;
28331 return 0;
28333 _ACEOF
28334 rm -f conftest.$ac_objext conftest$ac_exeext
28335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28336 (eval $ac_link) 2>conftest.er1
28337 ac_status=$?
28338 grep -v '^ *+' conftest.er1 >conftest.err
28339 rm -f conftest.er1
28340 cat conftest.err >&5
28341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28342 (exit $ac_status); } &&
28343 { ac_try='test -z "$ac_c_werror_flag"
28344 || test ! -s conftest.err'
28345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28346 (eval $ac_try) 2>&5
28347 ac_status=$?
28348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28349 (exit $ac_status); }; } &&
28350 { ac_try='test -s conftest$ac_exeext'
28351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28352 (eval $ac_try) 2>&5
28353 ac_status=$?
28354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28355 (exit $ac_status); }; }; then
28356 eval "$as_ac_var=yes"
28357 else
28358 echo "$as_me: failed program was:" >&5
28359 sed 's/^/| /' conftest.$ac_ext >&5
28361 eval "$as_ac_var=no"
28363 rm -f conftest.err conftest.$ac_objext \
28364 conftest$ac_exeext conftest.$ac_ext
28366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28368 if test `eval echo '${'$as_ac_var'}'` = yes; then
28369 cat >>confdefs.h <<_ACEOF
28370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28371 _ACEOF
28374 done
28376 else
28378 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
28379 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
28380 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
28381 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
28382 echo $ECHO_N "(cached) $ECHO_C" >&6
28383 else
28387 ac_ext=cc
28388 ac_cpp='$CXXCPP $CPPFLAGS'
28389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28393 cat >conftest.$ac_ext <<_ACEOF
28394 /* confdefs.h. */
28395 _ACEOF
28396 cat confdefs.h >>conftest.$ac_ext
28397 cat >>conftest.$ac_ext <<_ACEOF
28398 /* end confdefs.h. */
28399 #include <math.h>
28400 #ifdef HAVE_IEEEFP_H
28401 #include <ieeefp.h>
28402 #endif
28405 main ()
28407 _isinff(0);
28409 return 0;
28411 _ACEOF
28412 rm -f conftest.$ac_objext
28413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28414 (eval $ac_compile) 2>conftest.er1
28415 ac_status=$?
28416 grep -v '^ *+' conftest.er1 >conftest.err
28417 rm -f conftest.er1
28418 cat conftest.err >&5
28419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28420 (exit $ac_status); } &&
28421 { ac_try='test -z "$ac_cxx_werror_flag"
28422 || test ! -s conftest.err'
28423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28424 (eval $ac_try) 2>&5
28425 ac_status=$?
28426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28427 (exit $ac_status); }; } &&
28428 { ac_try='test -s conftest.$ac_objext'
28429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28430 (eval $ac_try) 2>&5
28431 ac_status=$?
28432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28433 (exit $ac_status); }; }; then
28434 glibcxx_cv_func__isinff_use=yes
28435 else
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28439 glibcxx_cv_func__isinff_use=no
28441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28442 ac_ext=c
28443 ac_cpp='$CPP $CPPFLAGS'
28444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
28453 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
28455 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
28457 for ac_func in _isinff
28459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28460 echo "$as_me:$LINENO: checking for $ac_func" >&5
28461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28462 if eval "test \"\${$as_ac_var+set}\" = set"; then
28463 echo $ECHO_N "(cached) $ECHO_C" >&6
28464 else
28465 if test x$gcc_no_link = xyes; then
28466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28468 { (exit 1); exit 1; }; }
28470 cat >conftest.$ac_ext <<_ACEOF
28471 /* confdefs.h. */
28472 _ACEOF
28473 cat confdefs.h >>conftest.$ac_ext
28474 cat >>conftest.$ac_ext <<_ACEOF
28475 /* end confdefs.h. */
28476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28478 #define $ac_func innocuous_$ac_func
28480 /* System header to define __stub macros and hopefully few prototypes,
28481 which can conflict with char $ac_func (); below.
28482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28483 <limits.h> exists even on freestanding compilers. */
28485 #ifdef __STDC__
28486 # include <limits.h>
28487 #else
28488 # include <assert.h>
28489 #endif
28491 #undef $ac_func
28493 /* Override any gcc2 internal prototype to avoid an error. */
28494 #ifdef __cplusplus
28495 extern "C"
28497 #endif
28498 /* We use char because int might match the return type of a gcc2
28499 builtin and then its argument prototype would still apply. */
28500 char $ac_func ();
28501 /* The GNU C library defines this for functions which it implements
28502 to always fail with ENOSYS. Some functions are actually named
28503 something starting with __ and the normal name is an alias. */
28504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28505 choke me
28506 #else
28507 char (*f) () = $ac_func;
28508 #endif
28509 #ifdef __cplusplus
28511 #endif
28514 main ()
28516 return f != $ac_func;
28518 return 0;
28520 _ACEOF
28521 rm -f conftest.$ac_objext conftest$ac_exeext
28522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28523 (eval $ac_link) 2>conftest.er1
28524 ac_status=$?
28525 grep -v '^ *+' conftest.er1 >conftest.err
28526 rm -f conftest.er1
28527 cat conftest.err >&5
28528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28529 (exit $ac_status); } &&
28530 { ac_try='test -z "$ac_c_werror_flag"
28531 || test ! -s conftest.err'
28532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28533 (eval $ac_try) 2>&5
28534 ac_status=$?
28535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28536 (exit $ac_status); }; } &&
28537 { ac_try='test -s conftest$ac_exeext'
28538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28539 (eval $ac_try) 2>&5
28540 ac_status=$?
28541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28542 (exit $ac_status); }; }; then
28543 eval "$as_ac_var=yes"
28544 else
28545 echo "$as_me: failed program was:" >&5
28546 sed 's/^/| /' conftest.$ac_ext >&5
28548 eval "$as_ac_var=no"
28550 rm -f conftest.err conftest.$ac_objext \
28551 conftest$ac_exeext conftest.$ac_ext
28553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28555 if test `eval echo '${'$as_ac_var'}'` = yes; then
28556 cat >>confdefs.h <<_ACEOF
28557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28558 _ACEOF
28561 done
28571 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
28572 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
28573 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
28574 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
28575 echo $ECHO_N "(cached) $ECHO_C" >&6
28576 else
28580 ac_ext=cc
28581 ac_cpp='$CXXCPP $CPPFLAGS'
28582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28586 cat >conftest.$ac_ext <<_ACEOF
28587 /* confdefs.h. */
28588 _ACEOF
28589 cat confdefs.h >>conftest.$ac_ext
28590 cat >>conftest.$ac_ext <<_ACEOF
28591 /* end confdefs.h. */
28592 #include <math.h>
28594 main ()
28596 atan2f(0, 0);
28598 return 0;
28600 _ACEOF
28601 rm -f conftest.$ac_objext
28602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28603 (eval $ac_compile) 2>conftest.er1
28604 ac_status=$?
28605 grep -v '^ *+' conftest.er1 >conftest.err
28606 rm -f conftest.er1
28607 cat conftest.err >&5
28608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28609 (exit $ac_status); } &&
28610 { ac_try='test -z "$ac_cxx_werror_flag"
28611 || test ! -s conftest.err'
28612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28613 (eval $ac_try) 2>&5
28614 ac_status=$?
28615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28616 (exit $ac_status); }; } &&
28617 { ac_try='test -s conftest.$ac_objext'
28618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28619 (eval $ac_try) 2>&5
28620 ac_status=$?
28621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28622 (exit $ac_status); }; }; then
28623 glibcxx_cv_func_atan2f_use=yes
28624 else
28625 echo "$as_me: failed program was:" >&5
28626 sed 's/^/| /' conftest.$ac_ext >&5
28628 glibcxx_cv_func_atan2f_use=no
28630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28631 ac_ext=c
28632 ac_cpp='$CPP $CPPFLAGS'
28633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
28642 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
28644 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
28646 for ac_func in atan2f
28648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28649 echo "$as_me:$LINENO: checking for $ac_func" >&5
28650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28651 if eval "test \"\${$as_ac_var+set}\" = set"; then
28652 echo $ECHO_N "(cached) $ECHO_C" >&6
28653 else
28654 if test x$gcc_no_link = xyes; then
28655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28657 { (exit 1); exit 1; }; }
28659 cat >conftest.$ac_ext <<_ACEOF
28660 /* confdefs.h. */
28661 _ACEOF
28662 cat confdefs.h >>conftest.$ac_ext
28663 cat >>conftest.$ac_ext <<_ACEOF
28664 /* end confdefs.h. */
28665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28667 #define $ac_func innocuous_$ac_func
28669 /* System header to define __stub macros and hopefully few prototypes,
28670 which can conflict with char $ac_func (); below.
28671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28672 <limits.h> exists even on freestanding compilers. */
28674 #ifdef __STDC__
28675 # include <limits.h>
28676 #else
28677 # include <assert.h>
28678 #endif
28680 #undef $ac_func
28682 /* Override any gcc2 internal prototype to avoid an error. */
28683 #ifdef __cplusplus
28684 extern "C"
28686 #endif
28687 /* We use char because int might match the return type of a gcc2
28688 builtin and then its argument prototype would still apply. */
28689 char $ac_func ();
28690 /* The GNU C library defines this for functions which it implements
28691 to always fail with ENOSYS. Some functions are actually named
28692 something starting with __ and the normal name is an alias. */
28693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28694 choke me
28695 #else
28696 char (*f) () = $ac_func;
28697 #endif
28698 #ifdef __cplusplus
28700 #endif
28703 main ()
28705 return f != $ac_func;
28707 return 0;
28709 _ACEOF
28710 rm -f conftest.$ac_objext conftest$ac_exeext
28711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28712 (eval $ac_link) 2>conftest.er1
28713 ac_status=$?
28714 grep -v '^ *+' conftest.er1 >conftest.err
28715 rm -f conftest.er1
28716 cat conftest.err >&5
28717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28718 (exit $ac_status); } &&
28719 { ac_try='test -z "$ac_c_werror_flag"
28720 || test ! -s conftest.err'
28721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28722 (eval $ac_try) 2>&5
28723 ac_status=$?
28724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28725 (exit $ac_status); }; } &&
28726 { ac_try='test -s conftest$ac_exeext'
28727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28728 (eval $ac_try) 2>&5
28729 ac_status=$?
28730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28731 (exit $ac_status); }; }; then
28732 eval "$as_ac_var=yes"
28733 else
28734 echo "$as_me: failed program was:" >&5
28735 sed 's/^/| /' conftest.$ac_ext >&5
28737 eval "$as_ac_var=no"
28739 rm -f conftest.err conftest.$ac_objext \
28740 conftest$ac_exeext conftest.$ac_ext
28742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28744 if test `eval echo '${'$as_ac_var'}'` = yes; then
28745 cat >>confdefs.h <<_ACEOF
28746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28747 _ACEOF
28750 done
28752 else
28754 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
28755 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
28756 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
28757 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
28758 echo $ECHO_N "(cached) $ECHO_C" >&6
28759 else
28763 ac_ext=cc
28764 ac_cpp='$CXXCPP $CPPFLAGS'
28765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28769 cat >conftest.$ac_ext <<_ACEOF
28770 /* confdefs.h. */
28771 _ACEOF
28772 cat confdefs.h >>conftest.$ac_ext
28773 cat >>conftest.$ac_ext <<_ACEOF
28774 /* end confdefs.h. */
28775 #include <math.h>
28777 main ()
28779 _atan2f(0, 0);
28781 return 0;
28783 _ACEOF
28784 rm -f conftest.$ac_objext
28785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
28786 (eval $ac_compile) 2>conftest.er1
28787 ac_status=$?
28788 grep -v '^ *+' conftest.er1 >conftest.err
28789 rm -f conftest.er1
28790 cat conftest.err >&5
28791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28792 (exit $ac_status); } &&
28793 { ac_try='test -z "$ac_cxx_werror_flag"
28794 || test ! -s conftest.err'
28795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28796 (eval $ac_try) 2>&5
28797 ac_status=$?
28798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28799 (exit $ac_status); }; } &&
28800 { ac_try='test -s conftest.$ac_objext'
28801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28802 (eval $ac_try) 2>&5
28803 ac_status=$?
28804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28805 (exit $ac_status); }; }; then
28806 glibcxx_cv_func__atan2f_use=yes
28807 else
28808 echo "$as_me: failed program was:" >&5
28809 sed 's/^/| /' conftest.$ac_ext >&5
28811 glibcxx_cv_func__atan2f_use=no
28813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
28814 ac_ext=c
28815 ac_cpp='$CPP $CPPFLAGS'
28816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
28825 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
28827 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
28829 for ac_func in _atan2f
28831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28832 echo "$as_me:$LINENO: checking for $ac_func" >&5
28833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
28834 if eval "test \"\${$as_ac_var+set}\" = set"; then
28835 echo $ECHO_N "(cached) $ECHO_C" >&6
28836 else
28837 if test x$gcc_no_link = xyes; then
28838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
28839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
28840 { (exit 1); exit 1; }; }
28842 cat >conftest.$ac_ext <<_ACEOF
28843 /* confdefs.h. */
28844 _ACEOF
28845 cat confdefs.h >>conftest.$ac_ext
28846 cat >>conftest.$ac_ext <<_ACEOF
28847 /* end confdefs.h. */
28848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28850 #define $ac_func innocuous_$ac_func
28852 /* System header to define __stub macros and hopefully few prototypes,
28853 which can conflict with char $ac_func (); below.
28854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28855 <limits.h> exists even on freestanding compilers. */
28857 #ifdef __STDC__
28858 # include <limits.h>
28859 #else
28860 # include <assert.h>
28861 #endif
28863 #undef $ac_func
28865 /* Override any gcc2 internal prototype to avoid an error. */
28866 #ifdef __cplusplus
28867 extern "C"
28869 #endif
28870 /* We use char because int might match the return type of a gcc2
28871 builtin and then its argument prototype would still apply. */
28872 char $ac_func ();
28873 /* The GNU C library defines this for functions which it implements
28874 to always fail with ENOSYS. Some functions are actually named
28875 something starting with __ and the normal name is an alias. */
28876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
28877 choke me
28878 #else
28879 char (*f) () = $ac_func;
28880 #endif
28881 #ifdef __cplusplus
28883 #endif
28886 main ()
28888 return f != $ac_func;
28890 return 0;
28892 _ACEOF
28893 rm -f conftest.$ac_objext conftest$ac_exeext
28894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
28895 (eval $ac_link) 2>conftest.er1
28896 ac_status=$?
28897 grep -v '^ *+' conftest.er1 >conftest.err
28898 rm -f conftest.er1
28899 cat conftest.err >&5
28900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28901 (exit $ac_status); } &&
28902 { ac_try='test -z "$ac_c_werror_flag"
28903 || test ! -s conftest.err'
28904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28905 (eval $ac_try) 2>&5
28906 ac_status=$?
28907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28908 (exit $ac_status); }; } &&
28909 { ac_try='test -s conftest$ac_exeext'
28910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
28911 (eval $ac_try) 2>&5
28912 ac_status=$?
28913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28914 (exit $ac_status); }; }; then
28915 eval "$as_ac_var=yes"
28916 else
28917 echo "$as_me: failed program was:" >&5
28918 sed 's/^/| /' conftest.$ac_ext >&5
28920 eval "$as_ac_var=no"
28922 rm -f conftest.err conftest.$ac_objext \
28923 conftest$ac_exeext conftest.$ac_ext
28925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
28926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
28927 if test `eval echo '${'$as_ac_var'}'` = yes; then
28928 cat >>confdefs.h <<_ACEOF
28929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28930 _ACEOF
28933 done
28943 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
28944 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
28945 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
28946 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
28947 echo $ECHO_N "(cached) $ECHO_C" >&6
28948 else
28952 ac_ext=cc
28953 ac_cpp='$CXXCPP $CPPFLAGS'
28954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28958 cat >conftest.$ac_ext <<_ACEOF
28959 /* confdefs.h. */
28960 _ACEOF
28961 cat confdefs.h >>conftest.$ac_ext
28962 cat >>conftest.$ac_ext <<_ACEOF
28963 /* end confdefs.h. */
28964 #include <math.h>
28965 #ifdef HAVE_IEEEFP_H
28966 #include <ieeefp.h>
28967 #endif
28970 main ()
28972 fabsf(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_fabsf_use=yes
29000 else
29001 echo "$as_me: failed program was:" >&5
29002 sed 's/^/| /' conftest.$ac_ext >&5
29004 glibcxx_cv_func_fabsf_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
29017 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
29018 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
29020 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29022 for ac_func in fabsf
29024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29025 echo "$as_me:$LINENO: checking for $ac_func" >&5
29026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29027 if eval "test \"\${$as_ac_var+set}\" = set"; then
29028 echo $ECHO_N "(cached) $ECHO_C" >&6
29029 else
29030 if test x$gcc_no_link = xyes; then
29031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29033 { (exit 1); exit 1; }; }
29035 cat >conftest.$ac_ext <<_ACEOF
29036 /* confdefs.h. */
29037 _ACEOF
29038 cat confdefs.h >>conftest.$ac_ext
29039 cat >>conftest.$ac_ext <<_ACEOF
29040 /* end confdefs.h. */
29041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29043 #define $ac_func innocuous_$ac_func
29045 /* System header to define __stub macros and hopefully few prototypes,
29046 which can conflict with char $ac_func (); below.
29047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29048 <limits.h> exists even on freestanding compilers. */
29050 #ifdef __STDC__
29051 # include <limits.h>
29052 #else
29053 # include <assert.h>
29054 #endif
29056 #undef $ac_func
29058 /* Override any gcc2 internal prototype to avoid an error. */
29059 #ifdef __cplusplus
29060 extern "C"
29062 #endif
29063 /* We use char because int might match the return type of a gcc2
29064 builtin and then its argument prototype would still apply. */
29065 char $ac_func ();
29066 /* The GNU C library defines this for functions which it implements
29067 to always fail with ENOSYS. Some functions are actually named
29068 something starting with __ and the normal name is an alias. */
29069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29070 choke me
29071 #else
29072 char (*f) () = $ac_func;
29073 #endif
29074 #ifdef __cplusplus
29076 #endif
29079 main ()
29081 return f != $ac_func;
29083 return 0;
29085 _ACEOF
29086 rm -f conftest.$ac_objext conftest$ac_exeext
29087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29088 (eval $ac_link) 2>conftest.er1
29089 ac_status=$?
29090 grep -v '^ *+' conftest.er1 >conftest.err
29091 rm -f conftest.er1
29092 cat conftest.err >&5
29093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29094 (exit $ac_status); } &&
29095 { ac_try='test -z "$ac_c_werror_flag"
29096 || test ! -s conftest.err'
29097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29098 (eval $ac_try) 2>&5
29099 ac_status=$?
29100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29101 (exit $ac_status); }; } &&
29102 { ac_try='test -s conftest$ac_exeext'
29103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29104 (eval $ac_try) 2>&5
29105 ac_status=$?
29106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29107 (exit $ac_status); }; }; then
29108 eval "$as_ac_var=yes"
29109 else
29110 echo "$as_me: failed program was:" >&5
29111 sed 's/^/| /' conftest.$ac_ext >&5
29113 eval "$as_ac_var=no"
29115 rm -f conftest.err conftest.$ac_objext \
29116 conftest$ac_exeext conftest.$ac_ext
29118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29120 if test `eval echo '${'$as_ac_var'}'` = yes; then
29121 cat >>confdefs.h <<_ACEOF
29122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29123 _ACEOF
29126 done
29128 else
29130 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
29131 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
29132 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29133 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
29134 echo $ECHO_N "(cached) $ECHO_C" >&6
29135 else
29139 ac_ext=cc
29140 ac_cpp='$CXXCPP $CPPFLAGS'
29141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29145 cat >conftest.$ac_ext <<_ACEOF
29146 /* confdefs.h. */
29147 _ACEOF
29148 cat confdefs.h >>conftest.$ac_ext
29149 cat >>conftest.$ac_ext <<_ACEOF
29150 /* end confdefs.h. */
29151 #include <math.h>
29152 #ifdef HAVE_IEEEFP_H
29153 #include <ieeefp.h>
29154 #endif
29157 main ()
29159 _fabsf(0);
29161 return 0;
29163 _ACEOF
29164 rm -f conftest.$ac_objext
29165 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29166 (eval $ac_compile) 2>conftest.er1
29167 ac_status=$?
29168 grep -v '^ *+' conftest.er1 >conftest.err
29169 rm -f conftest.er1
29170 cat conftest.err >&5
29171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29172 (exit $ac_status); } &&
29173 { ac_try='test -z "$ac_cxx_werror_flag"
29174 || test ! -s conftest.err'
29175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29176 (eval $ac_try) 2>&5
29177 ac_status=$?
29178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29179 (exit $ac_status); }; } &&
29180 { ac_try='test -s conftest.$ac_objext'
29181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29182 (eval $ac_try) 2>&5
29183 ac_status=$?
29184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29185 (exit $ac_status); }; }; then
29186 glibcxx_cv_func__fabsf_use=yes
29187 else
29188 echo "$as_me: failed program was:" >&5
29189 sed 's/^/| /' conftest.$ac_ext >&5
29191 glibcxx_cv_func__fabsf_use=no
29193 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29194 ac_ext=c
29195 ac_cpp='$CPP $CPPFLAGS'
29196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29204 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
29205 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
29207 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29209 for ac_func in _fabsf
29211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29212 echo "$as_me:$LINENO: checking for $ac_func" >&5
29213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29214 if eval "test \"\${$as_ac_var+set}\" = set"; then
29215 echo $ECHO_N "(cached) $ECHO_C" >&6
29216 else
29217 if test x$gcc_no_link = xyes; then
29218 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29219 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29220 { (exit 1); exit 1; }; }
29222 cat >conftest.$ac_ext <<_ACEOF
29223 /* confdefs.h. */
29224 _ACEOF
29225 cat confdefs.h >>conftest.$ac_ext
29226 cat >>conftest.$ac_ext <<_ACEOF
29227 /* end confdefs.h. */
29228 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29229 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29230 #define $ac_func innocuous_$ac_func
29232 /* System header to define __stub macros and hopefully few prototypes,
29233 which can conflict with char $ac_func (); below.
29234 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29235 <limits.h> exists even on freestanding compilers. */
29237 #ifdef __STDC__
29238 # include <limits.h>
29239 #else
29240 # include <assert.h>
29241 #endif
29243 #undef $ac_func
29245 /* Override any gcc2 internal prototype to avoid an error. */
29246 #ifdef __cplusplus
29247 extern "C"
29249 #endif
29250 /* We use char because int might match the return type of a gcc2
29251 builtin and then its argument prototype would still apply. */
29252 char $ac_func ();
29253 /* The GNU C library defines this for functions which it implements
29254 to always fail with ENOSYS. Some functions are actually named
29255 something starting with __ and the normal name is an alias. */
29256 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29257 choke me
29258 #else
29259 char (*f) () = $ac_func;
29260 #endif
29261 #ifdef __cplusplus
29263 #endif
29266 main ()
29268 return f != $ac_func;
29270 return 0;
29272 _ACEOF
29273 rm -f conftest.$ac_objext conftest$ac_exeext
29274 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29275 (eval $ac_link) 2>conftest.er1
29276 ac_status=$?
29277 grep -v '^ *+' conftest.er1 >conftest.err
29278 rm -f conftest.er1
29279 cat conftest.err >&5
29280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29281 (exit $ac_status); } &&
29282 { ac_try='test -z "$ac_c_werror_flag"
29283 || test ! -s conftest.err'
29284 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29285 (eval $ac_try) 2>&5
29286 ac_status=$?
29287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29288 (exit $ac_status); }; } &&
29289 { ac_try='test -s conftest$ac_exeext'
29290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29291 (eval $ac_try) 2>&5
29292 ac_status=$?
29293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29294 (exit $ac_status); }; }; then
29295 eval "$as_ac_var=yes"
29296 else
29297 echo "$as_me: failed program was:" >&5
29298 sed 's/^/| /' conftest.$ac_ext >&5
29300 eval "$as_ac_var=no"
29302 rm -f conftest.err conftest.$ac_objext \
29303 conftest$ac_exeext conftest.$ac_ext
29305 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29306 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29307 if test `eval echo '${'$as_ac_var'}'` = yes; then
29308 cat >>confdefs.h <<_ACEOF
29309 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29310 _ACEOF
29313 done
29323 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
29324 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
29325 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29326 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
29327 echo $ECHO_N "(cached) $ECHO_C" >&6
29328 else
29332 ac_ext=cc
29333 ac_cpp='$CXXCPP $CPPFLAGS'
29334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29338 cat >conftest.$ac_ext <<_ACEOF
29339 /* confdefs.h. */
29340 _ACEOF
29341 cat confdefs.h >>conftest.$ac_ext
29342 cat >>conftest.$ac_ext <<_ACEOF
29343 /* end confdefs.h. */
29344 #include <math.h>
29346 main ()
29348 fmodf(0, 0);
29350 return 0;
29352 _ACEOF
29353 rm -f conftest.$ac_objext
29354 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29355 (eval $ac_compile) 2>conftest.er1
29356 ac_status=$?
29357 grep -v '^ *+' conftest.er1 >conftest.err
29358 rm -f conftest.er1
29359 cat conftest.err >&5
29360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29361 (exit $ac_status); } &&
29362 { ac_try='test -z "$ac_cxx_werror_flag"
29363 || test ! -s conftest.err'
29364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29365 (eval $ac_try) 2>&5
29366 ac_status=$?
29367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29368 (exit $ac_status); }; } &&
29369 { ac_try='test -s conftest.$ac_objext'
29370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29371 (eval $ac_try) 2>&5
29372 ac_status=$?
29373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29374 (exit $ac_status); }; }; then
29375 glibcxx_cv_func_fmodf_use=yes
29376 else
29377 echo "$as_me: failed program was:" >&5
29378 sed 's/^/| /' conftest.$ac_ext >&5
29380 glibcxx_cv_func_fmodf_use=no
29382 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29383 ac_ext=c
29384 ac_cpp='$CPP $CPPFLAGS'
29385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29393 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
29394 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
29396 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29398 for ac_func in fmodf
29400 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29401 echo "$as_me:$LINENO: checking for $ac_func" >&5
29402 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29403 if eval "test \"\${$as_ac_var+set}\" = set"; then
29404 echo $ECHO_N "(cached) $ECHO_C" >&6
29405 else
29406 if test x$gcc_no_link = xyes; then
29407 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29408 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29409 { (exit 1); exit 1; }; }
29411 cat >conftest.$ac_ext <<_ACEOF
29412 /* confdefs.h. */
29413 _ACEOF
29414 cat confdefs.h >>conftest.$ac_ext
29415 cat >>conftest.$ac_ext <<_ACEOF
29416 /* end confdefs.h. */
29417 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29418 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29419 #define $ac_func innocuous_$ac_func
29421 /* System header to define __stub macros and hopefully few prototypes,
29422 which can conflict with char $ac_func (); below.
29423 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29424 <limits.h> exists even on freestanding compilers. */
29426 #ifdef __STDC__
29427 # include <limits.h>
29428 #else
29429 # include <assert.h>
29430 #endif
29432 #undef $ac_func
29434 /* Override any gcc2 internal prototype to avoid an error. */
29435 #ifdef __cplusplus
29436 extern "C"
29438 #endif
29439 /* We use char because int might match the return type of a gcc2
29440 builtin and then its argument prototype would still apply. */
29441 char $ac_func ();
29442 /* The GNU C library defines this for functions which it implements
29443 to always fail with ENOSYS. Some functions are actually named
29444 something starting with __ and the normal name is an alias. */
29445 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29446 choke me
29447 #else
29448 char (*f) () = $ac_func;
29449 #endif
29450 #ifdef __cplusplus
29452 #endif
29455 main ()
29457 return f != $ac_func;
29459 return 0;
29461 _ACEOF
29462 rm -f conftest.$ac_objext conftest$ac_exeext
29463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29464 (eval $ac_link) 2>conftest.er1
29465 ac_status=$?
29466 grep -v '^ *+' conftest.er1 >conftest.err
29467 rm -f conftest.er1
29468 cat conftest.err >&5
29469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29470 (exit $ac_status); } &&
29471 { ac_try='test -z "$ac_c_werror_flag"
29472 || test ! -s conftest.err'
29473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29474 (eval $ac_try) 2>&5
29475 ac_status=$?
29476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29477 (exit $ac_status); }; } &&
29478 { ac_try='test -s conftest$ac_exeext'
29479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29480 (eval $ac_try) 2>&5
29481 ac_status=$?
29482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29483 (exit $ac_status); }; }; then
29484 eval "$as_ac_var=yes"
29485 else
29486 echo "$as_me: failed program was:" >&5
29487 sed 's/^/| /' conftest.$ac_ext >&5
29489 eval "$as_ac_var=no"
29491 rm -f conftest.err conftest.$ac_objext \
29492 conftest$ac_exeext conftest.$ac_ext
29494 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29495 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29496 if test `eval echo '${'$as_ac_var'}'` = yes; then
29497 cat >>confdefs.h <<_ACEOF
29498 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29499 _ACEOF
29502 done
29504 else
29506 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
29507 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
29508 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29509 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
29510 echo $ECHO_N "(cached) $ECHO_C" >&6
29511 else
29515 ac_ext=cc
29516 ac_cpp='$CXXCPP $CPPFLAGS'
29517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29521 cat >conftest.$ac_ext <<_ACEOF
29522 /* confdefs.h. */
29523 _ACEOF
29524 cat confdefs.h >>conftest.$ac_ext
29525 cat >>conftest.$ac_ext <<_ACEOF
29526 /* end confdefs.h. */
29527 #include <math.h>
29529 main ()
29531 _fmodf(0, 0);
29533 return 0;
29535 _ACEOF
29536 rm -f conftest.$ac_objext
29537 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29538 (eval $ac_compile) 2>conftest.er1
29539 ac_status=$?
29540 grep -v '^ *+' conftest.er1 >conftest.err
29541 rm -f conftest.er1
29542 cat conftest.err >&5
29543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29544 (exit $ac_status); } &&
29545 { ac_try='test -z "$ac_cxx_werror_flag"
29546 || test ! -s conftest.err'
29547 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29548 (eval $ac_try) 2>&5
29549 ac_status=$?
29550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29551 (exit $ac_status); }; } &&
29552 { ac_try='test -s conftest.$ac_objext'
29553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29554 (eval $ac_try) 2>&5
29555 ac_status=$?
29556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29557 (exit $ac_status); }; }; then
29558 glibcxx_cv_func__fmodf_use=yes
29559 else
29560 echo "$as_me: failed program was:" >&5
29561 sed 's/^/| /' conftest.$ac_ext >&5
29563 glibcxx_cv_func__fmodf_use=no
29565 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29566 ac_ext=c
29567 ac_cpp='$CPP $CPPFLAGS'
29568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29576 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
29577 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
29579 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29581 for ac_func in _fmodf
29583 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29584 echo "$as_me:$LINENO: checking for $ac_func" >&5
29585 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29586 if eval "test \"\${$as_ac_var+set}\" = set"; then
29587 echo $ECHO_N "(cached) $ECHO_C" >&6
29588 else
29589 if test x$gcc_no_link = xyes; then
29590 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29591 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29592 { (exit 1); exit 1; }; }
29594 cat >conftest.$ac_ext <<_ACEOF
29595 /* confdefs.h. */
29596 _ACEOF
29597 cat confdefs.h >>conftest.$ac_ext
29598 cat >>conftest.$ac_ext <<_ACEOF
29599 /* end confdefs.h. */
29600 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29601 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29602 #define $ac_func innocuous_$ac_func
29604 /* System header to define __stub macros and hopefully few prototypes,
29605 which can conflict with char $ac_func (); below.
29606 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29607 <limits.h> exists even on freestanding compilers. */
29609 #ifdef __STDC__
29610 # include <limits.h>
29611 #else
29612 # include <assert.h>
29613 #endif
29615 #undef $ac_func
29617 /* Override any gcc2 internal prototype to avoid an error. */
29618 #ifdef __cplusplus
29619 extern "C"
29621 #endif
29622 /* We use char because int might match the return type of a gcc2
29623 builtin and then its argument prototype would still apply. */
29624 char $ac_func ();
29625 /* The GNU C library defines this for functions which it implements
29626 to always fail with ENOSYS. Some functions are actually named
29627 something starting with __ and the normal name is an alias. */
29628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29629 choke me
29630 #else
29631 char (*f) () = $ac_func;
29632 #endif
29633 #ifdef __cplusplus
29635 #endif
29638 main ()
29640 return f != $ac_func;
29642 return 0;
29644 _ACEOF
29645 rm -f conftest.$ac_objext conftest$ac_exeext
29646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29647 (eval $ac_link) 2>conftest.er1
29648 ac_status=$?
29649 grep -v '^ *+' conftest.er1 >conftest.err
29650 rm -f conftest.er1
29651 cat conftest.err >&5
29652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29653 (exit $ac_status); } &&
29654 { ac_try='test -z "$ac_c_werror_flag"
29655 || test ! -s conftest.err'
29656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29657 (eval $ac_try) 2>&5
29658 ac_status=$?
29659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29660 (exit $ac_status); }; } &&
29661 { ac_try='test -s conftest$ac_exeext'
29662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29663 (eval $ac_try) 2>&5
29664 ac_status=$?
29665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29666 (exit $ac_status); }; }; then
29667 eval "$as_ac_var=yes"
29668 else
29669 echo "$as_me: failed program was:" >&5
29670 sed 's/^/| /' conftest.$ac_ext >&5
29672 eval "$as_ac_var=no"
29674 rm -f conftest.err conftest.$ac_objext \
29675 conftest$ac_exeext conftest.$ac_ext
29677 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29678 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29679 if test `eval echo '${'$as_ac_var'}'` = yes; then
29680 cat >>confdefs.h <<_ACEOF
29681 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29682 _ACEOF
29685 done
29695 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
29696 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
29697 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29698 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
29699 echo $ECHO_N "(cached) $ECHO_C" >&6
29700 else
29704 ac_ext=cc
29705 ac_cpp='$CXXCPP $CPPFLAGS'
29706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29710 cat >conftest.$ac_ext <<_ACEOF
29711 /* confdefs.h. */
29712 _ACEOF
29713 cat confdefs.h >>conftest.$ac_ext
29714 cat >>conftest.$ac_ext <<_ACEOF
29715 /* end confdefs.h. */
29716 #include <math.h>
29718 main ()
29720 frexpf(0, 0);
29722 return 0;
29724 _ACEOF
29725 rm -f conftest.$ac_objext
29726 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29727 (eval $ac_compile) 2>conftest.er1
29728 ac_status=$?
29729 grep -v '^ *+' conftest.er1 >conftest.err
29730 rm -f conftest.er1
29731 cat conftest.err >&5
29732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29733 (exit $ac_status); } &&
29734 { ac_try='test -z "$ac_cxx_werror_flag"
29735 || test ! -s conftest.err'
29736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29737 (eval $ac_try) 2>&5
29738 ac_status=$?
29739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29740 (exit $ac_status); }; } &&
29741 { ac_try='test -s conftest.$ac_objext'
29742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29743 (eval $ac_try) 2>&5
29744 ac_status=$?
29745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29746 (exit $ac_status); }; }; then
29747 glibcxx_cv_func_frexpf_use=yes
29748 else
29749 echo "$as_me: failed program was:" >&5
29750 sed 's/^/| /' conftest.$ac_ext >&5
29752 glibcxx_cv_func_frexpf_use=no
29754 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29755 ac_ext=c
29756 ac_cpp='$CPP $CPPFLAGS'
29757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29765 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
29766 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
29768 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
29770 for ac_func in frexpf
29772 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29773 echo "$as_me:$LINENO: checking for $ac_func" >&5
29774 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29775 if eval "test \"\${$as_ac_var+set}\" = set"; then
29776 echo $ECHO_N "(cached) $ECHO_C" >&6
29777 else
29778 if test x$gcc_no_link = xyes; then
29779 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29780 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29781 { (exit 1); exit 1; }; }
29783 cat >conftest.$ac_ext <<_ACEOF
29784 /* confdefs.h. */
29785 _ACEOF
29786 cat confdefs.h >>conftest.$ac_ext
29787 cat >>conftest.$ac_ext <<_ACEOF
29788 /* end confdefs.h. */
29789 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29790 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29791 #define $ac_func innocuous_$ac_func
29793 /* System header to define __stub macros and hopefully few prototypes,
29794 which can conflict with char $ac_func (); below.
29795 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29796 <limits.h> exists even on freestanding compilers. */
29798 #ifdef __STDC__
29799 # include <limits.h>
29800 #else
29801 # include <assert.h>
29802 #endif
29804 #undef $ac_func
29806 /* Override any gcc2 internal prototype to avoid an error. */
29807 #ifdef __cplusplus
29808 extern "C"
29810 #endif
29811 /* We use char because int might match the return type of a gcc2
29812 builtin and then its argument prototype would still apply. */
29813 char $ac_func ();
29814 /* The GNU C library defines this for functions which it implements
29815 to always fail with ENOSYS. Some functions are actually named
29816 something starting with __ and the normal name is an alias. */
29817 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
29818 choke me
29819 #else
29820 char (*f) () = $ac_func;
29821 #endif
29822 #ifdef __cplusplus
29824 #endif
29827 main ()
29829 return f != $ac_func;
29831 return 0;
29833 _ACEOF
29834 rm -f conftest.$ac_objext conftest$ac_exeext
29835 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
29836 (eval $ac_link) 2>conftest.er1
29837 ac_status=$?
29838 grep -v '^ *+' conftest.er1 >conftest.err
29839 rm -f conftest.er1
29840 cat conftest.err >&5
29841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29842 (exit $ac_status); } &&
29843 { ac_try='test -z "$ac_c_werror_flag"
29844 || test ! -s conftest.err'
29845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29846 (eval $ac_try) 2>&5
29847 ac_status=$?
29848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29849 (exit $ac_status); }; } &&
29850 { ac_try='test -s conftest$ac_exeext'
29851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29852 (eval $ac_try) 2>&5
29853 ac_status=$?
29854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29855 (exit $ac_status); }; }; then
29856 eval "$as_ac_var=yes"
29857 else
29858 echo "$as_me: failed program was:" >&5
29859 sed 's/^/| /' conftest.$ac_ext >&5
29861 eval "$as_ac_var=no"
29863 rm -f conftest.err conftest.$ac_objext \
29864 conftest$ac_exeext conftest.$ac_ext
29866 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
29867 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
29868 if test `eval echo '${'$as_ac_var'}'` = yes; then
29869 cat >>confdefs.h <<_ACEOF
29870 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29871 _ACEOF
29874 done
29876 else
29878 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
29879 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
29880 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
29881 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
29882 echo $ECHO_N "(cached) $ECHO_C" >&6
29883 else
29887 ac_ext=cc
29888 ac_cpp='$CXXCPP $CPPFLAGS'
29889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29893 cat >conftest.$ac_ext <<_ACEOF
29894 /* confdefs.h. */
29895 _ACEOF
29896 cat confdefs.h >>conftest.$ac_ext
29897 cat >>conftest.$ac_ext <<_ACEOF
29898 /* end confdefs.h. */
29899 #include <math.h>
29901 main ()
29903 _frexpf(0, 0);
29905 return 0;
29907 _ACEOF
29908 rm -f conftest.$ac_objext
29909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
29910 (eval $ac_compile) 2>conftest.er1
29911 ac_status=$?
29912 grep -v '^ *+' conftest.er1 >conftest.err
29913 rm -f conftest.er1
29914 cat conftest.err >&5
29915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29916 (exit $ac_status); } &&
29917 { ac_try='test -z "$ac_cxx_werror_flag"
29918 || test ! -s conftest.err'
29919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29920 (eval $ac_try) 2>&5
29921 ac_status=$?
29922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29923 (exit $ac_status); }; } &&
29924 { ac_try='test -s conftest.$ac_objext'
29925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
29926 (eval $ac_try) 2>&5
29927 ac_status=$?
29928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29929 (exit $ac_status); }; }; then
29930 glibcxx_cv_func__frexpf_use=yes
29931 else
29932 echo "$as_me: failed program was:" >&5
29933 sed 's/^/| /' conftest.$ac_ext >&5
29935 glibcxx_cv_func__frexpf_use=no
29937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
29938 ac_ext=c
29939 ac_cpp='$CPP $CPPFLAGS'
29940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
29949 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
29951 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
29953 for ac_func in _frexpf
29955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29956 echo "$as_me:$LINENO: checking for $ac_func" >&5
29957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
29958 if eval "test \"\${$as_ac_var+set}\" = set"; then
29959 echo $ECHO_N "(cached) $ECHO_C" >&6
29960 else
29961 if test x$gcc_no_link = xyes; then
29962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
29963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
29964 { (exit 1); exit 1; }; }
29966 cat >conftest.$ac_ext <<_ACEOF
29967 /* confdefs.h. */
29968 _ACEOF
29969 cat confdefs.h >>conftest.$ac_ext
29970 cat >>conftest.$ac_ext <<_ACEOF
29971 /* end confdefs.h. */
29972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29974 #define $ac_func innocuous_$ac_func
29976 /* System header to define __stub macros and hopefully few prototypes,
29977 which can conflict with char $ac_func (); below.
29978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29979 <limits.h> exists even on freestanding compilers. */
29981 #ifdef __STDC__
29982 # include <limits.h>
29983 #else
29984 # include <assert.h>
29985 #endif
29987 #undef $ac_func
29989 /* Override any gcc2 internal prototype to avoid an error. */
29990 #ifdef __cplusplus
29991 extern "C"
29993 #endif
29994 /* We use char because int might match the return type of a gcc2
29995 builtin and then its argument prototype would still apply. */
29996 char $ac_func ();
29997 /* The GNU C library defines this for functions which it implements
29998 to always fail with ENOSYS. Some functions are actually named
29999 something starting with __ and the normal name is an alias. */
30000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30001 choke me
30002 #else
30003 char (*f) () = $ac_func;
30004 #endif
30005 #ifdef __cplusplus
30007 #endif
30010 main ()
30012 return f != $ac_func;
30014 return 0;
30016 _ACEOF
30017 rm -f conftest.$ac_objext conftest$ac_exeext
30018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30019 (eval $ac_link) 2>conftest.er1
30020 ac_status=$?
30021 grep -v '^ *+' conftest.er1 >conftest.err
30022 rm -f conftest.er1
30023 cat conftest.err >&5
30024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30025 (exit $ac_status); } &&
30026 { ac_try='test -z "$ac_c_werror_flag"
30027 || test ! -s conftest.err'
30028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30029 (eval $ac_try) 2>&5
30030 ac_status=$?
30031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30032 (exit $ac_status); }; } &&
30033 { ac_try='test -s conftest$ac_exeext'
30034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30035 (eval $ac_try) 2>&5
30036 ac_status=$?
30037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30038 (exit $ac_status); }; }; then
30039 eval "$as_ac_var=yes"
30040 else
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30044 eval "$as_ac_var=no"
30046 rm -f conftest.err conftest.$ac_objext \
30047 conftest$ac_exeext conftest.$ac_ext
30049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30051 if test `eval echo '${'$as_ac_var'}'` = yes; then
30052 cat >>confdefs.h <<_ACEOF
30053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30054 _ACEOF
30057 done
30067 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
30068 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
30069 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30070 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
30071 echo $ECHO_N "(cached) $ECHO_C" >&6
30072 else
30076 ac_ext=cc
30077 ac_cpp='$CXXCPP $CPPFLAGS'
30078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30082 cat >conftest.$ac_ext <<_ACEOF
30083 /* confdefs.h. */
30084 _ACEOF
30085 cat confdefs.h >>conftest.$ac_ext
30086 cat >>conftest.$ac_ext <<_ACEOF
30087 /* end confdefs.h. */
30088 #include <math.h>
30090 main ()
30092 hypotf(0, 0);
30094 return 0;
30096 _ACEOF
30097 rm -f conftest.$ac_objext
30098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30099 (eval $ac_compile) 2>conftest.er1
30100 ac_status=$?
30101 grep -v '^ *+' conftest.er1 >conftest.err
30102 rm -f conftest.er1
30103 cat conftest.err >&5
30104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30105 (exit $ac_status); } &&
30106 { ac_try='test -z "$ac_cxx_werror_flag"
30107 || test ! -s conftest.err'
30108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30109 (eval $ac_try) 2>&5
30110 ac_status=$?
30111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30112 (exit $ac_status); }; } &&
30113 { ac_try='test -s conftest.$ac_objext'
30114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30115 (eval $ac_try) 2>&5
30116 ac_status=$?
30117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30118 (exit $ac_status); }; }; then
30119 glibcxx_cv_func_hypotf_use=yes
30120 else
30121 echo "$as_me: failed program was:" >&5
30122 sed 's/^/| /' conftest.$ac_ext >&5
30124 glibcxx_cv_func_hypotf_use=no
30126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30127 ac_ext=c
30128 ac_cpp='$CPP $CPPFLAGS'
30129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
30138 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
30140 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30142 for ac_func in hypotf
30144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30145 echo "$as_me:$LINENO: checking for $ac_func" >&5
30146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30147 if eval "test \"\${$as_ac_var+set}\" = set"; then
30148 echo $ECHO_N "(cached) $ECHO_C" >&6
30149 else
30150 if test x$gcc_no_link = xyes; then
30151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30153 { (exit 1); exit 1; }; }
30155 cat >conftest.$ac_ext <<_ACEOF
30156 /* confdefs.h. */
30157 _ACEOF
30158 cat confdefs.h >>conftest.$ac_ext
30159 cat >>conftest.$ac_ext <<_ACEOF
30160 /* end confdefs.h. */
30161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30163 #define $ac_func innocuous_$ac_func
30165 /* System header to define __stub macros and hopefully few prototypes,
30166 which can conflict with char $ac_func (); below.
30167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30168 <limits.h> exists even on freestanding compilers. */
30170 #ifdef __STDC__
30171 # include <limits.h>
30172 #else
30173 # include <assert.h>
30174 #endif
30176 #undef $ac_func
30178 /* Override any gcc2 internal prototype to avoid an error. */
30179 #ifdef __cplusplus
30180 extern "C"
30182 #endif
30183 /* We use char because int might match the return type of a gcc2
30184 builtin and then its argument prototype would still apply. */
30185 char $ac_func ();
30186 /* The GNU C library defines this for functions which it implements
30187 to always fail with ENOSYS. Some functions are actually named
30188 something starting with __ and the normal name is an alias. */
30189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30190 choke me
30191 #else
30192 char (*f) () = $ac_func;
30193 #endif
30194 #ifdef __cplusplus
30196 #endif
30199 main ()
30201 return f != $ac_func;
30203 return 0;
30205 _ACEOF
30206 rm -f conftest.$ac_objext conftest$ac_exeext
30207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30208 (eval $ac_link) 2>conftest.er1
30209 ac_status=$?
30210 grep -v '^ *+' conftest.er1 >conftest.err
30211 rm -f conftest.er1
30212 cat conftest.err >&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } &&
30215 { ac_try='test -z "$ac_c_werror_flag"
30216 || test ! -s conftest.err'
30217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30218 (eval $ac_try) 2>&5
30219 ac_status=$?
30220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30221 (exit $ac_status); }; } &&
30222 { ac_try='test -s conftest$ac_exeext'
30223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30224 (eval $ac_try) 2>&5
30225 ac_status=$?
30226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30227 (exit $ac_status); }; }; then
30228 eval "$as_ac_var=yes"
30229 else
30230 echo "$as_me: failed program was:" >&5
30231 sed 's/^/| /' conftest.$ac_ext >&5
30233 eval "$as_ac_var=no"
30235 rm -f conftest.err conftest.$ac_objext \
30236 conftest$ac_exeext conftest.$ac_ext
30238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30240 if test `eval echo '${'$as_ac_var'}'` = yes; then
30241 cat >>confdefs.h <<_ACEOF
30242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30243 _ACEOF
30246 done
30248 else
30250 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
30251 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
30252 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30253 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
30254 echo $ECHO_N "(cached) $ECHO_C" >&6
30255 else
30259 ac_ext=cc
30260 ac_cpp='$CXXCPP $CPPFLAGS'
30261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30265 cat >conftest.$ac_ext <<_ACEOF
30266 /* confdefs.h. */
30267 _ACEOF
30268 cat confdefs.h >>conftest.$ac_ext
30269 cat >>conftest.$ac_ext <<_ACEOF
30270 /* end confdefs.h. */
30271 #include <math.h>
30273 main ()
30275 _hypotf(0, 0);
30277 return 0;
30279 _ACEOF
30280 rm -f conftest.$ac_objext
30281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30282 (eval $ac_compile) 2>conftest.er1
30283 ac_status=$?
30284 grep -v '^ *+' conftest.er1 >conftest.err
30285 rm -f conftest.er1
30286 cat conftest.err >&5
30287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30288 (exit $ac_status); } &&
30289 { ac_try='test -z "$ac_cxx_werror_flag"
30290 || test ! -s conftest.err'
30291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30292 (eval $ac_try) 2>&5
30293 ac_status=$?
30294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30295 (exit $ac_status); }; } &&
30296 { ac_try='test -s conftest.$ac_objext'
30297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30298 (eval $ac_try) 2>&5
30299 ac_status=$?
30300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30301 (exit $ac_status); }; }; then
30302 glibcxx_cv_func__hypotf_use=yes
30303 else
30304 echo "$as_me: failed program was:" >&5
30305 sed 's/^/| /' conftest.$ac_ext >&5
30307 glibcxx_cv_func__hypotf_use=no
30309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30310 ac_ext=c
30311 ac_cpp='$CPP $CPPFLAGS'
30312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
30321 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
30323 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30325 for ac_func in _hypotf
30327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30328 echo "$as_me:$LINENO: checking for $ac_func" >&5
30329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30330 if eval "test \"\${$as_ac_var+set}\" = set"; then
30331 echo $ECHO_N "(cached) $ECHO_C" >&6
30332 else
30333 if test x$gcc_no_link = xyes; then
30334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30336 { (exit 1); exit 1; }; }
30338 cat >conftest.$ac_ext <<_ACEOF
30339 /* confdefs.h. */
30340 _ACEOF
30341 cat confdefs.h >>conftest.$ac_ext
30342 cat >>conftest.$ac_ext <<_ACEOF
30343 /* end confdefs.h. */
30344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30346 #define $ac_func innocuous_$ac_func
30348 /* System header to define __stub macros and hopefully few prototypes,
30349 which can conflict with char $ac_func (); below.
30350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30351 <limits.h> exists even on freestanding compilers. */
30353 #ifdef __STDC__
30354 # include <limits.h>
30355 #else
30356 # include <assert.h>
30357 #endif
30359 #undef $ac_func
30361 /* Override any gcc2 internal prototype to avoid an error. */
30362 #ifdef __cplusplus
30363 extern "C"
30365 #endif
30366 /* We use char because int might match the return type of a gcc2
30367 builtin and then its argument prototype would still apply. */
30368 char $ac_func ();
30369 /* The GNU C library defines this for functions which it implements
30370 to always fail with ENOSYS. Some functions are actually named
30371 something starting with __ and the normal name is an alias. */
30372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30373 choke me
30374 #else
30375 char (*f) () = $ac_func;
30376 #endif
30377 #ifdef __cplusplus
30379 #endif
30382 main ()
30384 return f != $ac_func;
30386 return 0;
30388 _ACEOF
30389 rm -f conftest.$ac_objext conftest$ac_exeext
30390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30391 (eval $ac_link) 2>conftest.er1
30392 ac_status=$?
30393 grep -v '^ *+' conftest.er1 >conftest.err
30394 rm -f conftest.er1
30395 cat conftest.err >&5
30396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30397 (exit $ac_status); } &&
30398 { ac_try='test -z "$ac_c_werror_flag"
30399 || test ! -s conftest.err'
30400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30401 (eval $ac_try) 2>&5
30402 ac_status=$?
30403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30404 (exit $ac_status); }; } &&
30405 { ac_try='test -s conftest$ac_exeext'
30406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30407 (eval $ac_try) 2>&5
30408 ac_status=$?
30409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30410 (exit $ac_status); }; }; then
30411 eval "$as_ac_var=yes"
30412 else
30413 echo "$as_me: failed program was:" >&5
30414 sed 's/^/| /' conftest.$ac_ext >&5
30416 eval "$as_ac_var=no"
30418 rm -f conftest.err conftest.$ac_objext \
30419 conftest$ac_exeext conftest.$ac_ext
30421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30423 if test `eval echo '${'$as_ac_var'}'` = yes; then
30424 cat >>confdefs.h <<_ACEOF
30425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30426 _ACEOF
30429 done
30439 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
30440 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
30441 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30442 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
30443 echo $ECHO_N "(cached) $ECHO_C" >&6
30444 else
30448 ac_ext=cc
30449 ac_cpp='$CXXCPP $CPPFLAGS'
30450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30454 cat >conftest.$ac_ext <<_ACEOF
30455 /* confdefs.h. */
30456 _ACEOF
30457 cat confdefs.h >>conftest.$ac_ext
30458 cat >>conftest.$ac_ext <<_ACEOF
30459 /* end confdefs.h. */
30460 #include <math.h>
30462 main ()
30464 ldexpf(0, 0);
30466 return 0;
30468 _ACEOF
30469 rm -f conftest.$ac_objext
30470 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30471 (eval $ac_compile) 2>conftest.er1
30472 ac_status=$?
30473 grep -v '^ *+' conftest.er1 >conftest.err
30474 rm -f conftest.er1
30475 cat conftest.err >&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } &&
30478 { ac_try='test -z "$ac_cxx_werror_flag"
30479 || test ! -s conftest.err'
30480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30481 (eval $ac_try) 2>&5
30482 ac_status=$?
30483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30484 (exit $ac_status); }; } &&
30485 { ac_try='test -s conftest.$ac_objext'
30486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30487 (eval $ac_try) 2>&5
30488 ac_status=$?
30489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30490 (exit $ac_status); }; }; then
30491 glibcxx_cv_func_ldexpf_use=yes
30492 else
30493 echo "$as_me: failed program was:" >&5
30494 sed 's/^/| /' conftest.$ac_ext >&5
30496 glibcxx_cv_func_ldexpf_use=no
30498 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30499 ac_ext=c
30500 ac_cpp='$CPP $CPPFLAGS'
30501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30509 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
30510 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
30512 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30514 for ac_func in ldexpf
30516 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30517 echo "$as_me:$LINENO: checking for $ac_func" >&5
30518 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30519 if eval "test \"\${$as_ac_var+set}\" = set"; then
30520 echo $ECHO_N "(cached) $ECHO_C" >&6
30521 else
30522 if test x$gcc_no_link = xyes; then
30523 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30524 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30525 { (exit 1); exit 1; }; }
30527 cat >conftest.$ac_ext <<_ACEOF
30528 /* confdefs.h. */
30529 _ACEOF
30530 cat confdefs.h >>conftest.$ac_ext
30531 cat >>conftest.$ac_ext <<_ACEOF
30532 /* end confdefs.h. */
30533 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30534 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30535 #define $ac_func innocuous_$ac_func
30537 /* System header to define __stub macros and hopefully few prototypes,
30538 which can conflict with char $ac_func (); below.
30539 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30540 <limits.h> exists even on freestanding compilers. */
30542 #ifdef __STDC__
30543 # include <limits.h>
30544 #else
30545 # include <assert.h>
30546 #endif
30548 #undef $ac_func
30550 /* Override any gcc2 internal prototype to avoid an error. */
30551 #ifdef __cplusplus
30552 extern "C"
30554 #endif
30555 /* We use char because int might match the return type of a gcc2
30556 builtin and then its argument prototype would still apply. */
30557 char $ac_func ();
30558 /* The GNU C library defines this for functions which it implements
30559 to always fail with ENOSYS. Some functions are actually named
30560 something starting with __ and the normal name is an alias. */
30561 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30562 choke me
30563 #else
30564 char (*f) () = $ac_func;
30565 #endif
30566 #ifdef __cplusplus
30568 #endif
30571 main ()
30573 return f != $ac_func;
30575 return 0;
30577 _ACEOF
30578 rm -f conftest.$ac_objext conftest$ac_exeext
30579 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30580 (eval $ac_link) 2>conftest.er1
30581 ac_status=$?
30582 grep -v '^ *+' conftest.er1 >conftest.err
30583 rm -f conftest.er1
30584 cat conftest.err >&5
30585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30586 (exit $ac_status); } &&
30587 { ac_try='test -z "$ac_c_werror_flag"
30588 || test ! -s conftest.err'
30589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30590 (eval $ac_try) 2>&5
30591 ac_status=$?
30592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30593 (exit $ac_status); }; } &&
30594 { ac_try='test -s conftest$ac_exeext'
30595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30596 (eval $ac_try) 2>&5
30597 ac_status=$?
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); }; }; then
30600 eval "$as_ac_var=yes"
30601 else
30602 echo "$as_me: failed program was:" >&5
30603 sed 's/^/| /' conftest.$ac_ext >&5
30605 eval "$as_ac_var=no"
30607 rm -f conftest.err conftest.$ac_objext \
30608 conftest$ac_exeext conftest.$ac_ext
30610 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30611 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30612 if test `eval echo '${'$as_ac_var'}'` = yes; then
30613 cat >>confdefs.h <<_ACEOF
30614 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30615 _ACEOF
30618 done
30620 else
30622 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
30623 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
30624 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30625 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
30626 echo $ECHO_N "(cached) $ECHO_C" >&6
30627 else
30631 ac_ext=cc
30632 ac_cpp='$CXXCPP $CPPFLAGS'
30633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30637 cat >conftest.$ac_ext <<_ACEOF
30638 /* confdefs.h. */
30639 _ACEOF
30640 cat confdefs.h >>conftest.$ac_ext
30641 cat >>conftest.$ac_ext <<_ACEOF
30642 /* end confdefs.h. */
30643 #include <math.h>
30645 main ()
30647 _ldexpf(0, 0);
30649 return 0;
30651 _ACEOF
30652 rm -f conftest.$ac_objext
30653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30654 (eval $ac_compile) 2>conftest.er1
30655 ac_status=$?
30656 grep -v '^ *+' conftest.er1 >conftest.err
30657 rm -f conftest.er1
30658 cat conftest.err >&5
30659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30660 (exit $ac_status); } &&
30661 { ac_try='test -z "$ac_cxx_werror_flag"
30662 || test ! -s conftest.err'
30663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30664 (eval $ac_try) 2>&5
30665 ac_status=$?
30666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30667 (exit $ac_status); }; } &&
30668 { ac_try='test -s conftest.$ac_objext'
30669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30670 (eval $ac_try) 2>&5
30671 ac_status=$?
30672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30673 (exit $ac_status); }; }; then
30674 glibcxx_cv_func__ldexpf_use=yes
30675 else
30676 echo "$as_me: failed program was:" >&5
30677 sed 's/^/| /' conftest.$ac_ext >&5
30679 glibcxx_cv_func__ldexpf_use=no
30681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30682 ac_ext=c
30683 ac_cpp='$CPP $CPPFLAGS'
30684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30692 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
30693 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
30695 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30697 for ac_func in _ldexpf
30699 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30700 echo "$as_me:$LINENO: checking for $ac_func" >&5
30701 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30702 if eval "test \"\${$as_ac_var+set}\" = set"; then
30703 echo $ECHO_N "(cached) $ECHO_C" >&6
30704 else
30705 if test x$gcc_no_link = xyes; then
30706 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30707 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30708 { (exit 1); exit 1; }; }
30710 cat >conftest.$ac_ext <<_ACEOF
30711 /* confdefs.h. */
30712 _ACEOF
30713 cat confdefs.h >>conftest.$ac_ext
30714 cat >>conftest.$ac_ext <<_ACEOF
30715 /* end confdefs.h. */
30716 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30717 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30718 #define $ac_func innocuous_$ac_func
30720 /* System header to define __stub macros and hopefully few prototypes,
30721 which can conflict with char $ac_func (); below.
30722 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30723 <limits.h> exists even on freestanding compilers. */
30725 #ifdef __STDC__
30726 # include <limits.h>
30727 #else
30728 # include <assert.h>
30729 #endif
30731 #undef $ac_func
30733 /* Override any gcc2 internal prototype to avoid an error. */
30734 #ifdef __cplusplus
30735 extern "C"
30737 #endif
30738 /* We use char because int might match the return type of a gcc2
30739 builtin and then its argument prototype would still apply. */
30740 char $ac_func ();
30741 /* The GNU C library defines this for functions which it implements
30742 to always fail with ENOSYS. Some functions are actually named
30743 something starting with __ and the normal name is an alias. */
30744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30745 choke me
30746 #else
30747 char (*f) () = $ac_func;
30748 #endif
30749 #ifdef __cplusplus
30751 #endif
30754 main ()
30756 return f != $ac_func;
30758 return 0;
30760 _ACEOF
30761 rm -f conftest.$ac_objext conftest$ac_exeext
30762 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30763 (eval $ac_link) 2>conftest.er1
30764 ac_status=$?
30765 grep -v '^ *+' conftest.er1 >conftest.err
30766 rm -f conftest.er1
30767 cat conftest.err >&5
30768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30769 (exit $ac_status); } &&
30770 { ac_try='test -z "$ac_c_werror_flag"
30771 || test ! -s conftest.err'
30772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30773 (eval $ac_try) 2>&5
30774 ac_status=$?
30775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30776 (exit $ac_status); }; } &&
30777 { ac_try='test -s conftest$ac_exeext'
30778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30779 (eval $ac_try) 2>&5
30780 ac_status=$?
30781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30782 (exit $ac_status); }; }; then
30783 eval "$as_ac_var=yes"
30784 else
30785 echo "$as_me: failed program was:" >&5
30786 sed 's/^/| /' conftest.$ac_ext >&5
30788 eval "$as_ac_var=no"
30790 rm -f conftest.err conftest.$ac_objext \
30791 conftest$ac_exeext conftest.$ac_ext
30793 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30794 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30795 if test `eval echo '${'$as_ac_var'}'` = yes; then
30796 cat >>confdefs.h <<_ACEOF
30797 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30798 _ACEOF
30801 done
30811 echo "$as_me:$LINENO: checking for logf declaration" >&5
30812 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
30813 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30814 if test "${glibcxx_cv_func_logf_use+set}" = set; then
30815 echo $ECHO_N "(cached) $ECHO_C" >&6
30816 else
30820 ac_ext=cc
30821 ac_cpp='$CXXCPP $CPPFLAGS'
30822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30826 cat >conftest.$ac_ext <<_ACEOF
30827 /* confdefs.h. */
30828 _ACEOF
30829 cat confdefs.h >>conftest.$ac_ext
30830 cat >>conftest.$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30832 #include <math.h>
30833 #ifdef HAVE_IEEEFP_H
30834 #include <ieeefp.h>
30835 #endif
30838 main ()
30840 logf(0);
30842 return 0;
30844 _ACEOF
30845 rm -f conftest.$ac_objext
30846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
30847 (eval $ac_compile) 2>conftest.er1
30848 ac_status=$?
30849 grep -v '^ *+' conftest.er1 >conftest.err
30850 rm -f conftest.er1
30851 cat conftest.err >&5
30852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30853 (exit $ac_status); } &&
30854 { ac_try='test -z "$ac_cxx_werror_flag"
30855 || test ! -s conftest.err'
30856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30857 (eval $ac_try) 2>&5
30858 ac_status=$?
30859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30860 (exit $ac_status); }; } &&
30861 { ac_try='test -s conftest.$ac_objext'
30862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30863 (eval $ac_try) 2>&5
30864 ac_status=$?
30865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30866 (exit $ac_status); }; }; then
30867 glibcxx_cv_func_logf_use=yes
30868 else
30869 echo "$as_me: failed program was:" >&5
30870 sed 's/^/| /' conftest.$ac_ext >&5
30872 glibcxx_cv_func_logf_use=no
30874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
30875 ac_ext=c
30876 ac_cpp='$CPP $CPPFLAGS'
30877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30885 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
30886 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
30888 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30890 for ac_func in logf
30892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30893 echo "$as_me:$LINENO: checking for $ac_func" >&5
30894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
30895 if eval "test \"\${$as_ac_var+set}\" = set"; then
30896 echo $ECHO_N "(cached) $ECHO_C" >&6
30897 else
30898 if test x$gcc_no_link = xyes; then
30899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
30900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
30901 { (exit 1); exit 1; }; }
30903 cat >conftest.$ac_ext <<_ACEOF
30904 /* confdefs.h. */
30905 _ACEOF
30906 cat confdefs.h >>conftest.$ac_ext
30907 cat >>conftest.$ac_ext <<_ACEOF
30908 /* end confdefs.h. */
30909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30911 #define $ac_func innocuous_$ac_func
30913 /* System header to define __stub macros and hopefully few prototypes,
30914 which can conflict with char $ac_func (); below.
30915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30916 <limits.h> exists even on freestanding compilers. */
30918 #ifdef __STDC__
30919 # include <limits.h>
30920 #else
30921 # include <assert.h>
30922 #endif
30924 #undef $ac_func
30926 /* Override any gcc2 internal prototype to avoid an error. */
30927 #ifdef __cplusplus
30928 extern "C"
30930 #endif
30931 /* We use char because int might match the return type of a gcc2
30932 builtin and then its argument prototype would still apply. */
30933 char $ac_func ();
30934 /* The GNU C library defines this for functions which it implements
30935 to always fail with ENOSYS. Some functions are actually named
30936 something starting with __ and the normal name is an alias. */
30937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
30938 choke me
30939 #else
30940 char (*f) () = $ac_func;
30941 #endif
30942 #ifdef __cplusplus
30944 #endif
30947 main ()
30949 return f != $ac_func;
30951 return 0;
30953 _ACEOF
30954 rm -f conftest.$ac_objext conftest$ac_exeext
30955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
30956 (eval $ac_link) 2>conftest.er1
30957 ac_status=$?
30958 grep -v '^ *+' conftest.er1 >conftest.err
30959 rm -f conftest.er1
30960 cat conftest.err >&5
30961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30962 (exit $ac_status); } &&
30963 { ac_try='test -z "$ac_c_werror_flag"
30964 || test ! -s conftest.err'
30965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30966 (eval $ac_try) 2>&5
30967 ac_status=$?
30968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30969 (exit $ac_status); }; } &&
30970 { ac_try='test -s conftest$ac_exeext'
30971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
30972 (eval $ac_try) 2>&5
30973 ac_status=$?
30974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30975 (exit $ac_status); }; }; then
30976 eval "$as_ac_var=yes"
30977 else
30978 echo "$as_me: failed program was:" >&5
30979 sed 's/^/| /' conftest.$ac_ext >&5
30981 eval "$as_ac_var=no"
30983 rm -f conftest.err conftest.$ac_objext \
30984 conftest$ac_exeext conftest.$ac_ext
30986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
30987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
30988 if test `eval echo '${'$as_ac_var'}'` = yes; then
30989 cat >>confdefs.h <<_ACEOF
30990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30991 _ACEOF
30994 done
30996 else
30998 echo "$as_me:$LINENO: checking for _logf declaration" >&5
30999 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
31000 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31001 if test "${glibcxx_cv_func__logf_use+set}" = set; then
31002 echo $ECHO_N "(cached) $ECHO_C" >&6
31003 else
31007 ac_ext=cc
31008 ac_cpp='$CXXCPP $CPPFLAGS'
31009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31013 cat >conftest.$ac_ext <<_ACEOF
31014 /* confdefs.h. */
31015 _ACEOF
31016 cat confdefs.h >>conftest.$ac_ext
31017 cat >>conftest.$ac_ext <<_ACEOF
31018 /* end confdefs.h. */
31019 #include <math.h>
31020 #ifdef HAVE_IEEEFP_H
31021 #include <ieeefp.h>
31022 #endif
31025 main ()
31027 _logf(0);
31029 return 0;
31031 _ACEOF
31032 rm -f conftest.$ac_objext
31033 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31034 (eval $ac_compile) 2>conftest.er1
31035 ac_status=$?
31036 grep -v '^ *+' conftest.er1 >conftest.err
31037 rm -f conftest.er1
31038 cat conftest.err >&5
31039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31040 (exit $ac_status); } &&
31041 { ac_try='test -z "$ac_cxx_werror_flag"
31042 || test ! -s conftest.err'
31043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31044 (eval $ac_try) 2>&5
31045 ac_status=$?
31046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31047 (exit $ac_status); }; } &&
31048 { ac_try='test -s conftest.$ac_objext'
31049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31050 (eval $ac_try) 2>&5
31051 ac_status=$?
31052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31053 (exit $ac_status); }; }; then
31054 glibcxx_cv_func__logf_use=yes
31055 else
31056 echo "$as_me: failed program was:" >&5
31057 sed 's/^/| /' conftest.$ac_ext >&5
31059 glibcxx_cv_func__logf_use=no
31061 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31062 ac_ext=c
31063 ac_cpp='$CPP $CPPFLAGS'
31064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
31073 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
31075 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31077 for ac_func in _logf
31079 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31080 echo "$as_me:$LINENO: checking for $ac_func" >&5
31081 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31082 if eval "test \"\${$as_ac_var+set}\" = set"; then
31083 echo $ECHO_N "(cached) $ECHO_C" >&6
31084 else
31085 if test x$gcc_no_link = xyes; then
31086 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31087 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31088 { (exit 1); exit 1; }; }
31090 cat >conftest.$ac_ext <<_ACEOF
31091 /* confdefs.h. */
31092 _ACEOF
31093 cat confdefs.h >>conftest.$ac_ext
31094 cat >>conftest.$ac_ext <<_ACEOF
31095 /* end confdefs.h. */
31096 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31097 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31098 #define $ac_func innocuous_$ac_func
31100 /* System header to define __stub macros and hopefully few prototypes,
31101 which can conflict with char $ac_func (); below.
31102 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31103 <limits.h> exists even on freestanding compilers. */
31105 #ifdef __STDC__
31106 # include <limits.h>
31107 #else
31108 # include <assert.h>
31109 #endif
31111 #undef $ac_func
31113 /* Override any gcc2 internal prototype to avoid an error. */
31114 #ifdef __cplusplus
31115 extern "C"
31117 #endif
31118 /* We use char because int might match the return type of a gcc2
31119 builtin and then its argument prototype would still apply. */
31120 char $ac_func ();
31121 /* The GNU C library defines this for functions which it implements
31122 to always fail with ENOSYS. Some functions are actually named
31123 something starting with __ and the normal name is an alias. */
31124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31125 choke me
31126 #else
31127 char (*f) () = $ac_func;
31128 #endif
31129 #ifdef __cplusplus
31131 #endif
31134 main ()
31136 return f != $ac_func;
31138 return 0;
31140 _ACEOF
31141 rm -f conftest.$ac_objext conftest$ac_exeext
31142 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31143 (eval $ac_link) 2>conftest.er1
31144 ac_status=$?
31145 grep -v '^ *+' conftest.er1 >conftest.err
31146 rm -f conftest.er1
31147 cat conftest.err >&5
31148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31149 (exit $ac_status); } &&
31150 { ac_try='test -z "$ac_c_werror_flag"
31151 || test ! -s conftest.err'
31152 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31153 (eval $ac_try) 2>&5
31154 ac_status=$?
31155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31156 (exit $ac_status); }; } &&
31157 { ac_try='test -s conftest$ac_exeext'
31158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31159 (eval $ac_try) 2>&5
31160 ac_status=$?
31161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31162 (exit $ac_status); }; }; then
31163 eval "$as_ac_var=yes"
31164 else
31165 echo "$as_me: failed program was:" >&5
31166 sed 's/^/| /' conftest.$ac_ext >&5
31168 eval "$as_ac_var=no"
31170 rm -f conftest.err conftest.$ac_objext \
31171 conftest$ac_exeext conftest.$ac_ext
31173 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31174 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31175 if test `eval echo '${'$as_ac_var'}'` = yes; then
31176 cat >>confdefs.h <<_ACEOF
31177 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31178 _ACEOF
31181 done
31191 echo "$as_me:$LINENO: checking for log10f declaration" >&5
31192 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
31193 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31194 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
31195 echo $ECHO_N "(cached) $ECHO_C" >&6
31196 else
31200 ac_ext=cc
31201 ac_cpp='$CXXCPP $CPPFLAGS'
31202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31206 cat >conftest.$ac_ext <<_ACEOF
31207 /* confdefs.h. */
31208 _ACEOF
31209 cat confdefs.h >>conftest.$ac_ext
31210 cat >>conftest.$ac_ext <<_ACEOF
31211 /* end confdefs.h. */
31212 #include <math.h>
31213 #ifdef HAVE_IEEEFP_H
31214 #include <ieeefp.h>
31215 #endif
31218 main ()
31220 log10f(0);
31222 return 0;
31224 _ACEOF
31225 rm -f conftest.$ac_objext
31226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31227 (eval $ac_compile) 2>conftest.er1
31228 ac_status=$?
31229 grep -v '^ *+' conftest.er1 >conftest.err
31230 rm -f conftest.er1
31231 cat conftest.err >&5
31232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31233 (exit $ac_status); } &&
31234 { ac_try='test -z "$ac_cxx_werror_flag"
31235 || test ! -s conftest.err'
31236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31237 (eval $ac_try) 2>&5
31238 ac_status=$?
31239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31240 (exit $ac_status); }; } &&
31241 { ac_try='test -s conftest.$ac_objext'
31242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31243 (eval $ac_try) 2>&5
31244 ac_status=$?
31245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31246 (exit $ac_status); }; }; then
31247 glibcxx_cv_func_log10f_use=yes
31248 else
31249 echo "$as_me: failed program was:" >&5
31250 sed 's/^/| /' conftest.$ac_ext >&5
31252 glibcxx_cv_func_log10f_use=no
31254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31255 ac_ext=c
31256 ac_cpp='$CPP $CPPFLAGS'
31257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31265 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
31266 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
31268 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31270 for ac_func in log10f
31272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31273 echo "$as_me:$LINENO: checking for $ac_func" >&5
31274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31275 if eval "test \"\${$as_ac_var+set}\" = set"; then
31276 echo $ECHO_N "(cached) $ECHO_C" >&6
31277 else
31278 if test x$gcc_no_link = xyes; then
31279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31281 { (exit 1); exit 1; }; }
31283 cat >conftest.$ac_ext <<_ACEOF
31284 /* confdefs.h. */
31285 _ACEOF
31286 cat confdefs.h >>conftest.$ac_ext
31287 cat >>conftest.$ac_ext <<_ACEOF
31288 /* end confdefs.h. */
31289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31291 #define $ac_func innocuous_$ac_func
31293 /* System header to define __stub macros and hopefully few prototypes,
31294 which can conflict with char $ac_func (); below.
31295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31296 <limits.h> exists even on freestanding compilers. */
31298 #ifdef __STDC__
31299 # include <limits.h>
31300 #else
31301 # include <assert.h>
31302 #endif
31304 #undef $ac_func
31306 /* Override any gcc2 internal prototype to avoid an error. */
31307 #ifdef __cplusplus
31308 extern "C"
31310 #endif
31311 /* We use char because int might match the return type of a gcc2
31312 builtin and then its argument prototype would still apply. */
31313 char $ac_func ();
31314 /* The GNU C library defines this for functions which it implements
31315 to always fail with ENOSYS. Some functions are actually named
31316 something starting with __ and the normal name is an alias. */
31317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31318 choke me
31319 #else
31320 char (*f) () = $ac_func;
31321 #endif
31322 #ifdef __cplusplus
31324 #endif
31327 main ()
31329 return f != $ac_func;
31331 return 0;
31333 _ACEOF
31334 rm -f conftest.$ac_objext conftest$ac_exeext
31335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31336 (eval $ac_link) 2>conftest.er1
31337 ac_status=$?
31338 grep -v '^ *+' conftest.er1 >conftest.err
31339 rm -f conftest.er1
31340 cat conftest.err >&5
31341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31342 (exit $ac_status); } &&
31343 { ac_try='test -z "$ac_c_werror_flag"
31344 || test ! -s conftest.err'
31345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31346 (eval $ac_try) 2>&5
31347 ac_status=$?
31348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31349 (exit $ac_status); }; } &&
31350 { ac_try='test -s conftest$ac_exeext'
31351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31352 (eval $ac_try) 2>&5
31353 ac_status=$?
31354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31355 (exit $ac_status); }; }; then
31356 eval "$as_ac_var=yes"
31357 else
31358 echo "$as_me: failed program was:" >&5
31359 sed 's/^/| /' conftest.$ac_ext >&5
31361 eval "$as_ac_var=no"
31363 rm -f conftest.err conftest.$ac_objext \
31364 conftest$ac_exeext conftest.$ac_ext
31366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31368 if test `eval echo '${'$as_ac_var'}'` = yes; then
31369 cat >>confdefs.h <<_ACEOF
31370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31371 _ACEOF
31374 done
31376 else
31378 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
31379 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
31380 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31381 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
31382 echo $ECHO_N "(cached) $ECHO_C" >&6
31383 else
31387 ac_ext=cc
31388 ac_cpp='$CXXCPP $CPPFLAGS'
31389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31393 cat >conftest.$ac_ext <<_ACEOF
31394 /* confdefs.h. */
31395 _ACEOF
31396 cat confdefs.h >>conftest.$ac_ext
31397 cat >>conftest.$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31399 #include <math.h>
31400 #ifdef HAVE_IEEEFP_H
31401 #include <ieeefp.h>
31402 #endif
31405 main ()
31407 _log10f(0);
31409 return 0;
31411 _ACEOF
31412 rm -f conftest.$ac_objext
31413 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31414 (eval $ac_compile) 2>conftest.er1
31415 ac_status=$?
31416 grep -v '^ *+' conftest.er1 >conftest.err
31417 rm -f conftest.er1
31418 cat conftest.err >&5
31419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31420 (exit $ac_status); } &&
31421 { ac_try='test -z "$ac_cxx_werror_flag"
31422 || test ! -s conftest.err'
31423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31424 (eval $ac_try) 2>&5
31425 ac_status=$?
31426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31427 (exit $ac_status); }; } &&
31428 { ac_try='test -s conftest.$ac_objext'
31429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31430 (eval $ac_try) 2>&5
31431 ac_status=$?
31432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31433 (exit $ac_status); }; }; then
31434 glibcxx_cv_func__log10f_use=yes
31435 else
31436 echo "$as_me: failed program was:" >&5
31437 sed 's/^/| /' conftest.$ac_ext >&5
31439 glibcxx_cv_func__log10f_use=no
31441 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31442 ac_ext=c
31443 ac_cpp='$CPP $CPPFLAGS'
31444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
31453 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
31455 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31457 for ac_func in _log10f
31459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31460 echo "$as_me:$LINENO: checking for $ac_func" >&5
31461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31462 if eval "test \"\${$as_ac_var+set}\" = set"; then
31463 echo $ECHO_N "(cached) $ECHO_C" >&6
31464 else
31465 if test x$gcc_no_link = xyes; then
31466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31468 { (exit 1); exit 1; }; }
31470 cat >conftest.$ac_ext <<_ACEOF
31471 /* confdefs.h. */
31472 _ACEOF
31473 cat confdefs.h >>conftest.$ac_ext
31474 cat >>conftest.$ac_ext <<_ACEOF
31475 /* end confdefs.h. */
31476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31478 #define $ac_func innocuous_$ac_func
31480 /* System header to define __stub macros and hopefully few prototypes,
31481 which can conflict with char $ac_func (); below.
31482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31483 <limits.h> exists even on freestanding compilers. */
31485 #ifdef __STDC__
31486 # include <limits.h>
31487 #else
31488 # include <assert.h>
31489 #endif
31491 #undef $ac_func
31493 /* Override any gcc2 internal prototype to avoid an error. */
31494 #ifdef __cplusplus
31495 extern "C"
31497 #endif
31498 /* We use char because int might match the return type of a gcc2
31499 builtin and then its argument prototype would still apply. */
31500 char $ac_func ();
31501 /* The GNU C library defines this for functions which it implements
31502 to always fail with ENOSYS. Some functions are actually named
31503 something starting with __ and the normal name is an alias. */
31504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31505 choke me
31506 #else
31507 char (*f) () = $ac_func;
31508 #endif
31509 #ifdef __cplusplus
31511 #endif
31514 main ()
31516 return f != $ac_func;
31518 return 0;
31520 _ACEOF
31521 rm -f conftest.$ac_objext conftest$ac_exeext
31522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31523 (eval $ac_link) 2>conftest.er1
31524 ac_status=$?
31525 grep -v '^ *+' conftest.er1 >conftest.err
31526 rm -f conftest.er1
31527 cat conftest.err >&5
31528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31529 (exit $ac_status); } &&
31530 { ac_try='test -z "$ac_c_werror_flag"
31531 || test ! -s conftest.err'
31532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31533 (eval $ac_try) 2>&5
31534 ac_status=$?
31535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31536 (exit $ac_status); }; } &&
31537 { ac_try='test -s conftest$ac_exeext'
31538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31539 (eval $ac_try) 2>&5
31540 ac_status=$?
31541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31542 (exit $ac_status); }; }; then
31543 eval "$as_ac_var=yes"
31544 else
31545 echo "$as_me: failed program was:" >&5
31546 sed 's/^/| /' conftest.$ac_ext >&5
31548 eval "$as_ac_var=no"
31550 rm -f conftest.err conftest.$ac_objext \
31551 conftest$ac_exeext conftest.$ac_ext
31553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31555 if test `eval echo '${'$as_ac_var'}'` = yes; then
31556 cat >>confdefs.h <<_ACEOF
31557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31558 _ACEOF
31561 done
31571 echo "$as_me:$LINENO: checking for modff declaration" >&5
31572 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
31573 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31574 if test "${glibcxx_cv_func_modff_use+set}" = set; then
31575 echo $ECHO_N "(cached) $ECHO_C" >&6
31576 else
31580 ac_ext=cc
31581 ac_cpp='$CXXCPP $CPPFLAGS'
31582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31586 cat >conftest.$ac_ext <<_ACEOF
31587 /* confdefs.h. */
31588 _ACEOF
31589 cat confdefs.h >>conftest.$ac_ext
31590 cat >>conftest.$ac_ext <<_ACEOF
31591 /* end confdefs.h. */
31592 #include <math.h>
31594 main ()
31596 modff(0, 0);
31598 return 0;
31600 _ACEOF
31601 rm -f conftest.$ac_objext
31602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31603 (eval $ac_compile) 2>conftest.er1
31604 ac_status=$?
31605 grep -v '^ *+' conftest.er1 >conftest.err
31606 rm -f conftest.er1
31607 cat conftest.err >&5
31608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31609 (exit $ac_status); } &&
31610 { ac_try='test -z "$ac_cxx_werror_flag"
31611 || test ! -s conftest.err'
31612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31613 (eval $ac_try) 2>&5
31614 ac_status=$?
31615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31616 (exit $ac_status); }; } &&
31617 { ac_try='test -s conftest.$ac_objext'
31618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31619 (eval $ac_try) 2>&5
31620 ac_status=$?
31621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31622 (exit $ac_status); }; }; then
31623 glibcxx_cv_func_modff_use=yes
31624 else
31625 echo "$as_me: failed program was:" >&5
31626 sed 's/^/| /' conftest.$ac_ext >&5
31628 glibcxx_cv_func_modff_use=no
31630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31631 ac_ext=c
31632 ac_cpp='$CPP $CPPFLAGS'
31633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31641 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
31642 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
31644 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31646 for ac_func in modff
31648 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31649 echo "$as_me:$LINENO: checking for $ac_func" >&5
31650 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31651 if eval "test \"\${$as_ac_var+set}\" = set"; then
31652 echo $ECHO_N "(cached) $ECHO_C" >&6
31653 else
31654 if test x$gcc_no_link = xyes; then
31655 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31656 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31657 { (exit 1); exit 1; }; }
31659 cat >conftest.$ac_ext <<_ACEOF
31660 /* confdefs.h. */
31661 _ACEOF
31662 cat confdefs.h >>conftest.$ac_ext
31663 cat >>conftest.$ac_ext <<_ACEOF
31664 /* end confdefs.h. */
31665 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31666 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31667 #define $ac_func innocuous_$ac_func
31669 /* System header to define __stub macros and hopefully few prototypes,
31670 which can conflict with char $ac_func (); below.
31671 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31672 <limits.h> exists even on freestanding compilers. */
31674 #ifdef __STDC__
31675 # include <limits.h>
31676 #else
31677 # include <assert.h>
31678 #endif
31680 #undef $ac_func
31682 /* Override any gcc2 internal prototype to avoid an error. */
31683 #ifdef __cplusplus
31684 extern "C"
31686 #endif
31687 /* We use char because int might match the return type of a gcc2
31688 builtin and then its argument prototype would still apply. */
31689 char $ac_func ();
31690 /* The GNU C library defines this for functions which it implements
31691 to always fail with ENOSYS. Some functions are actually named
31692 something starting with __ and the normal name is an alias. */
31693 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31694 choke me
31695 #else
31696 char (*f) () = $ac_func;
31697 #endif
31698 #ifdef __cplusplus
31700 #endif
31703 main ()
31705 return f != $ac_func;
31707 return 0;
31709 _ACEOF
31710 rm -f conftest.$ac_objext conftest$ac_exeext
31711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31712 (eval $ac_link) 2>conftest.er1
31713 ac_status=$?
31714 grep -v '^ *+' conftest.er1 >conftest.err
31715 rm -f conftest.er1
31716 cat conftest.err >&5
31717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31718 (exit $ac_status); } &&
31719 { ac_try='test -z "$ac_c_werror_flag"
31720 || test ! -s conftest.err'
31721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31722 (eval $ac_try) 2>&5
31723 ac_status=$?
31724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31725 (exit $ac_status); }; } &&
31726 { ac_try='test -s conftest$ac_exeext'
31727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31728 (eval $ac_try) 2>&5
31729 ac_status=$?
31730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31731 (exit $ac_status); }; }; then
31732 eval "$as_ac_var=yes"
31733 else
31734 echo "$as_me: failed program was:" >&5
31735 sed 's/^/| /' conftest.$ac_ext >&5
31737 eval "$as_ac_var=no"
31739 rm -f conftest.err conftest.$ac_objext \
31740 conftest$ac_exeext conftest.$ac_ext
31742 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31743 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31744 if test `eval echo '${'$as_ac_var'}'` = yes; then
31745 cat >>confdefs.h <<_ACEOF
31746 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31747 _ACEOF
31750 done
31752 else
31754 echo "$as_me:$LINENO: checking for _modff declaration" >&5
31755 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
31756 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31757 if test "${glibcxx_cv_func__modff_use+set}" = set; then
31758 echo $ECHO_N "(cached) $ECHO_C" >&6
31759 else
31763 ac_ext=cc
31764 ac_cpp='$CXXCPP $CPPFLAGS'
31765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31769 cat >conftest.$ac_ext <<_ACEOF
31770 /* confdefs.h. */
31771 _ACEOF
31772 cat confdefs.h >>conftest.$ac_ext
31773 cat >>conftest.$ac_ext <<_ACEOF
31774 /* end confdefs.h. */
31775 #include <math.h>
31777 main ()
31779 _modff(0, 0);
31781 return 0;
31783 _ACEOF
31784 rm -f conftest.$ac_objext
31785 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31786 (eval $ac_compile) 2>conftest.er1
31787 ac_status=$?
31788 grep -v '^ *+' conftest.er1 >conftest.err
31789 rm -f conftest.er1
31790 cat conftest.err >&5
31791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31792 (exit $ac_status); } &&
31793 { ac_try='test -z "$ac_cxx_werror_flag"
31794 || test ! -s conftest.err'
31795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31796 (eval $ac_try) 2>&5
31797 ac_status=$?
31798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31799 (exit $ac_status); }; } &&
31800 { ac_try='test -s conftest.$ac_objext'
31801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31802 (eval $ac_try) 2>&5
31803 ac_status=$?
31804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31805 (exit $ac_status); }; }; then
31806 glibcxx_cv_func__modff_use=yes
31807 else
31808 echo "$as_me: failed program was:" >&5
31809 sed 's/^/| /' conftest.$ac_ext >&5
31811 glibcxx_cv_func__modff_use=no
31813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
31814 ac_ext=c
31815 ac_cpp='$CPP $CPPFLAGS'
31816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31824 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
31825 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
31827 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31829 for ac_func in _modff
31831 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31832 echo "$as_me:$LINENO: checking for $ac_func" >&5
31833 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
31834 if eval "test \"\${$as_ac_var+set}\" = set"; then
31835 echo $ECHO_N "(cached) $ECHO_C" >&6
31836 else
31837 if test x$gcc_no_link = xyes; then
31838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
31839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
31840 { (exit 1); exit 1; }; }
31842 cat >conftest.$ac_ext <<_ACEOF
31843 /* confdefs.h. */
31844 _ACEOF
31845 cat confdefs.h >>conftest.$ac_ext
31846 cat >>conftest.$ac_ext <<_ACEOF
31847 /* end confdefs.h. */
31848 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31849 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31850 #define $ac_func innocuous_$ac_func
31852 /* System header to define __stub macros and hopefully few prototypes,
31853 which can conflict with char $ac_func (); below.
31854 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31855 <limits.h> exists even on freestanding compilers. */
31857 #ifdef __STDC__
31858 # include <limits.h>
31859 #else
31860 # include <assert.h>
31861 #endif
31863 #undef $ac_func
31865 /* Override any gcc2 internal prototype to avoid an error. */
31866 #ifdef __cplusplus
31867 extern "C"
31869 #endif
31870 /* We use char because int might match the return type of a gcc2
31871 builtin and then its argument prototype would still apply. */
31872 char $ac_func ();
31873 /* The GNU C library defines this for functions which it implements
31874 to always fail with ENOSYS. Some functions are actually named
31875 something starting with __ and the normal name is an alias. */
31876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
31877 choke me
31878 #else
31879 char (*f) () = $ac_func;
31880 #endif
31881 #ifdef __cplusplus
31883 #endif
31886 main ()
31888 return f != $ac_func;
31890 return 0;
31892 _ACEOF
31893 rm -f conftest.$ac_objext conftest$ac_exeext
31894 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
31895 (eval $ac_link) 2>conftest.er1
31896 ac_status=$?
31897 grep -v '^ *+' conftest.er1 >conftest.err
31898 rm -f conftest.er1
31899 cat conftest.err >&5
31900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31901 (exit $ac_status); } &&
31902 { ac_try='test -z "$ac_c_werror_flag"
31903 || test ! -s conftest.err'
31904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31905 (eval $ac_try) 2>&5
31906 ac_status=$?
31907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31908 (exit $ac_status); }; } &&
31909 { ac_try='test -s conftest$ac_exeext'
31910 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31911 (eval $ac_try) 2>&5
31912 ac_status=$?
31913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31914 (exit $ac_status); }; }; then
31915 eval "$as_ac_var=yes"
31916 else
31917 echo "$as_me: failed program was:" >&5
31918 sed 's/^/| /' conftest.$ac_ext >&5
31920 eval "$as_ac_var=no"
31922 rm -f conftest.err conftest.$ac_objext \
31923 conftest$ac_exeext conftest.$ac_ext
31925 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
31926 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
31927 if test `eval echo '${'$as_ac_var'}'` = yes; then
31928 cat >>confdefs.h <<_ACEOF
31929 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31930 _ACEOF
31933 done
31943 echo "$as_me:$LINENO: checking for modf declaration" >&5
31944 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
31945 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31946 if test "${glibcxx_cv_func_modf_use+set}" = set; then
31947 echo $ECHO_N "(cached) $ECHO_C" >&6
31948 else
31952 ac_ext=cc
31953 ac_cpp='$CXXCPP $CPPFLAGS'
31954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31958 cat >conftest.$ac_ext <<_ACEOF
31959 /* confdefs.h. */
31960 _ACEOF
31961 cat confdefs.h >>conftest.$ac_ext
31962 cat >>conftest.$ac_ext <<_ACEOF
31963 /* end confdefs.h. */
31964 #include <math.h>
31966 main ()
31968 modf(0, 0);
31970 return 0;
31972 _ACEOF
31973 rm -f conftest.$ac_objext
31974 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
31975 (eval $ac_compile) 2>conftest.er1
31976 ac_status=$?
31977 grep -v '^ *+' conftest.er1 >conftest.err
31978 rm -f conftest.er1
31979 cat conftest.err >&5
31980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31981 (exit $ac_status); } &&
31982 { ac_try='test -z "$ac_cxx_werror_flag"
31983 || test ! -s conftest.err'
31984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31985 (eval $ac_try) 2>&5
31986 ac_status=$?
31987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31988 (exit $ac_status); }; } &&
31989 { ac_try='test -s conftest.$ac_objext'
31990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
31991 (eval $ac_try) 2>&5
31992 ac_status=$?
31993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31994 (exit $ac_status); }; }; then
31995 glibcxx_cv_func_modf_use=yes
31996 else
31997 echo "$as_me: failed program was:" >&5
31998 sed 's/^/| /' conftest.$ac_ext >&5
32000 glibcxx_cv_func_modf_use=no
32002 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32003 ac_ext=c
32004 ac_cpp='$CPP $CPPFLAGS'
32005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32013 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
32014 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
32016 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32018 for ac_func in modf
32020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32021 echo "$as_me:$LINENO: checking for $ac_func" >&5
32022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32023 if eval "test \"\${$as_ac_var+set}\" = set"; then
32024 echo $ECHO_N "(cached) $ECHO_C" >&6
32025 else
32026 if test x$gcc_no_link = xyes; then
32027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32029 { (exit 1); exit 1; }; }
32031 cat >conftest.$ac_ext <<_ACEOF
32032 /* confdefs.h. */
32033 _ACEOF
32034 cat confdefs.h >>conftest.$ac_ext
32035 cat >>conftest.$ac_ext <<_ACEOF
32036 /* end confdefs.h. */
32037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32039 #define $ac_func innocuous_$ac_func
32041 /* System header to define __stub macros and hopefully few prototypes,
32042 which can conflict with char $ac_func (); below.
32043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32044 <limits.h> exists even on freestanding compilers. */
32046 #ifdef __STDC__
32047 # include <limits.h>
32048 #else
32049 # include <assert.h>
32050 #endif
32052 #undef $ac_func
32054 /* Override any gcc2 internal prototype to avoid an error. */
32055 #ifdef __cplusplus
32056 extern "C"
32058 #endif
32059 /* We use char because int might match the return type of a gcc2
32060 builtin and then its argument prototype would still apply. */
32061 char $ac_func ();
32062 /* The GNU C library defines this for functions which it implements
32063 to always fail with ENOSYS. Some functions are actually named
32064 something starting with __ and the normal name is an alias. */
32065 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32066 choke me
32067 #else
32068 char (*f) () = $ac_func;
32069 #endif
32070 #ifdef __cplusplus
32072 #endif
32075 main ()
32077 return f != $ac_func;
32079 return 0;
32081 _ACEOF
32082 rm -f conftest.$ac_objext conftest$ac_exeext
32083 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32084 (eval $ac_link) 2>conftest.er1
32085 ac_status=$?
32086 grep -v '^ *+' conftest.er1 >conftest.err
32087 rm -f conftest.er1
32088 cat conftest.err >&5
32089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32090 (exit $ac_status); } &&
32091 { ac_try='test -z "$ac_c_werror_flag"
32092 || test ! -s conftest.err'
32093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32094 (eval $ac_try) 2>&5
32095 ac_status=$?
32096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32097 (exit $ac_status); }; } &&
32098 { ac_try='test -s conftest$ac_exeext'
32099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32100 (eval $ac_try) 2>&5
32101 ac_status=$?
32102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32103 (exit $ac_status); }; }; then
32104 eval "$as_ac_var=yes"
32105 else
32106 echo "$as_me: failed program was:" >&5
32107 sed 's/^/| /' conftest.$ac_ext >&5
32109 eval "$as_ac_var=no"
32111 rm -f conftest.err conftest.$ac_objext \
32112 conftest$ac_exeext conftest.$ac_ext
32114 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32115 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32116 if test `eval echo '${'$as_ac_var'}'` = yes; then
32117 cat >>confdefs.h <<_ACEOF
32118 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32119 _ACEOF
32122 done
32124 else
32126 echo "$as_me:$LINENO: checking for _modf declaration" >&5
32127 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
32128 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32129 if test "${glibcxx_cv_func__modf_use+set}" = set; then
32130 echo $ECHO_N "(cached) $ECHO_C" >&6
32131 else
32135 ac_ext=cc
32136 ac_cpp='$CXXCPP $CPPFLAGS'
32137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32141 cat >conftest.$ac_ext <<_ACEOF
32142 /* confdefs.h. */
32143 _ACEOF
32144 cat confdefs.h >>conftest.$ac_ext
32145 cat >>conftest.$ac_ext <<_ACEOF
32146 /* end confdefs.h. */
32147 #include <math.h>
32149 main ()
32151 _modf(0, 0);
32153 return 0;
32155 _ACEOF
32156 rm -f conftest.$ac_objext
32157 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32158 (eval $ac_compile) 2>conftest.er1
32159 ac_status=$?
32160 grep -v '^ *+' conftest.er1 >conftest.err
32161 rm -f conftest.er1
32162 cat conftest.err >&5
32163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32164 (exit $ac_status); } &&
32165 { ac_try='test -z "$ac_cxx_werror_flag"
32166 || test ! -s conftest.err'
32167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32168 (eval $ac_try) 2>&5
32169 ac_status=$?
32170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32171 (exit $ac_status); }; } &&
32172 { ac_try='test -s conftest.$ac_objext'
32173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32174 (eval $ac_try) 2>&5
32175 ac_status=$?
32176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32177 (exit $ac_status); }; }; then
32178 glibcxx_cv_func__modf_use=yes
32179 else
32180 echo "$as_me: failed program was:" >&5
32181 sed 's/^/| /' conftest.$ac_ext >&5
32183 glibcxx_cv_func__modf_use=no
32185 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32186 ac_ext=c
32187 ac_cpp='$CPP $CPPFLAGS'
32188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32196 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
32197 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
32199 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32201 for ac_func in _modf
32203 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32204 echo "$as_me:$LINENO: checking for $ac_func" >&5
32205 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32206 if eval "test \"\${$as_ac_var+set}\" = set"; then
32207 echo $ECHO_N "(cached) $ECHO_C" >&6
32208 else
32209 if test x$gcc_no_link = xyes; then
32210 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32211 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32212 { (exit 1); exit 1; }; }
32214 cat >conftest.$ac_ext <<_ACEOF
32215 /* confdefs.h. */
32216 _ACEOF
32217 cat confdefs.h >>conftest.$ac_ext
32218 cat >>conftest.$ac_ext <<_ACEOF
32219 /* end confdefs.h. */
32220 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32221 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32222 #define $ac_func innocuous_$ac_func
32224 /* System header to define __stub macros and hopefully few prototypes,
32225 which can conflict with char $ac_func (); below.
32226 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32227 <limits.h> exists even on freestanding compilers. */
32229 #ifdef __STDC__
32230 # include <limits.h>
32231 #else
32232 # include <assert.h>
32233 #endif
32235 #undef $ac_func
32237 /* Override any gcc2 internal prototype to avoid an error. */
32238 #ifdef __cplusplus
32239 extern "C"
32241 #endif
32242 /* We use char because int might match the return type of a gcc2
32243 builtin and then its argument prototype would still apply. */
32244 char $ac_func ();
32245 /* The GNU C library defines this for functions which it implements
32246 to always fail with ENOSYS. Some functions are actually named
32247 something starting with __ and the normal name is an alias. */
32248 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32249 choke me
32250 #else
32251 char (*f) () = $ac_func;
32252 #endif
32253 #ifdef __cplusplus
32255 #endif
32258 main ()
32260 return f != $ac_func;
32262 return 0;
32264 _ACEOF
32265 rm -f conftest.$ac_objext conftest$ac_exeext
32266 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32267 (eval $ac_link) 2>conftest.er1
32268 ac_status=$?
32269 grep -v '^ *+' conftest.er1 >conftest.err
32270 rm -f conftest.er1
32271 cat conftest.err >&5
32272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32273 (exit $ac_status); } &&
32274 { ac_try='test -z "$ac_c_werror_flag"
32275 || test ! -s conftest.err'
32276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32277 (eval $ac_try) 2>&5
32278 ac_status=$?
32279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32280 (exit $ac_status); }; } &&
32281 { ac_try='test -s conftest$ac_exeext'
32282 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32283 (eval $ac_try) 2>&5
32284 ac_status=$?
32285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32286 (exit $ac_status); }; }; then
32287 eval "$as_ac_var=yes"
32288 else
32289 echo "$as_me: failed program was:" >&5
32290 sed 's/^/| /' conftest.$ac_ext >&5
32292 eval "$as_ac_var=no"
32294 rm -f conftest.err conftest.$ac_objext \
32295 conftest$ac_exeext conftest.$ac_ext
32297 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32298 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32299 if test `eval echo '${'$as_ac_var'}'` = yes; then
32300 cat >>confdefs.h <<_ACEOF
32301 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32302 _ACEOF
32305 done
32315 echo "$as_me:$LINENO: checking for powf declaration" >&5
32316 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
32317 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32318 if test "${glibcxx_cv_func_powf_use+set}" = set; then
32319 echo $ECHO_N "(cached) $ECHO_C" >&6
32320 else
32324 ac_ext=cc
32325 ac_cpp='$CXXCPP $CPPFLAGS'
32326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32330 cat >conftest.$ac_ext <<_ACEOF
32331 /* confdefs.h. */
32332 _ACEOF
32333 cat confdefs.h >>conftest.$ac_ext
32334 cat >>conftest.$ac_ext <<_ACEOF
32335 /* end confdefs.h. */
32336 #include <math.h>
32338 main ()
32340 powf(0, 0);
32342 return 0;
32344 _ACEOF
32345 rm -f conftest.$ac_objext
32346 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32347 (eval $ac_compile) 2>conftest.er1
32348 ac_status=$?
32349 grep -v '^ *+' conftest.er1 >conftest.err
32350 rm -f conftest.er1
32351 cat conftest.err >&5
32352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32353 (exit $ac_status); } &&
32354 { ac_try='test -z "$ac_cxx_werror_flag"
32355 || test ! -s conftest.err'
32356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32357 (eval $ac_try) 2>&5
32358 ac_status=$?
32359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32360 (exit $ac_status); }; } &&
32361 { ac_try='test -s conftest.$ac_objext'
32362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32363 (eval $ac_try) 2>&5
32364 ac_status=$?
32365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32366 (exit $ac_status); }; }; then
32367 glibcxx_cv_func_powf_use=yes
32368 else
32369 echo "$as_me: failed program was:" >&5
32370 sed 's/^/| /' conftest.$ac_ext >&5
32372 glibcxx_cv_func_powf_use=no
32374 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32375 ac_ext=c
32376 ac_cpp='$CPP $CPPFLAGS'
32377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32385 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
32386 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
32388 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32390 for ac_func in powf
32392 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32393 echo "$as_me:$LINENO: checking for $ac_func" >&5
32394 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32395 if eval "test \"\${$as_ac_var+set}\" = set"; then
32396 echo $ECHO_N "(cached) $ECHO_C" >&6
32397 else
32398 if test x$gcc_no_link = xyes; then
32399 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32400 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32401 { (exit 1); exit 1; }; }
32403 cat >conftest.$ac_ext <<_ACEOF
32404 /* confdefs.h. */
32405 _ACEOF
32406 cat confdefs.h >>conftest.$ac_ext
32407 cat >>conftest.$ac_ext <<_ACEOF
32408 /* end confdefs.h. */
32409 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32410 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32411 #define $ac_func innocuous_$ac_func
32413 /* System header to define __stub macros and hopefully few prototypes,
32414 which can conflict with char $ac_func (); below.
32415 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32416 <limits.h> exists even on freestanding compilers. */
32418 #ifdef __STDC__
32419 # include <limits.h>
32420 #else
32421 # include <assert.h>
32422 #endif
32424 #undef $ac_func
32426 /* Override any gcc2 internal prototype to avoid an error. */
32427 #ifdef __cplusplus
32428 extern "C"
32430 #endif
32431 /* We use char because int might match the return type of a gcc2
32432 builtin and then its argument prototype would still apply. */
32433 char $ac_func ();
32434 /* The GNU C library defines this for functions which it implements
32435 to always fail with ENOSYS. Some functions are actually named
32436 something starting with __ and the normal name is an alias. */
32437 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32438 choke me
32439 #else
32440 char (*f) () = $ac_func;
32441 #endif
32442 #ifdef __cplusplus
32444 #endif
32447 main ()
32449 return f != $ac_func;
32451 return 0;
32453 _ACEOF
32454 rm -f conftest.$ac_objext conftest$ac_exeext
32455 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32456 (eval $ac_link) 2>conftest.er1
32457 ac_status=$?
32458 grep -v '^ *+' conftest.er1 >conftest.err
32459 rm -f conftest.er1
32460 cat conftest.err >&5
32461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32462 (exit $ac_status); } &&
32463 { ac_try='test -z "$ac_c_werror_flag"
32464 || test ! -s conftest.err'
32465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32466 (eval $ac_try) 2>&5
32467 ac_status=$?
32468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32469 (exit $ac_status); }; } &&
32470 { ac_try='test -s conftest$ac_exeext'
32471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32472 (eval $ac_try) 2>&5
32473 ac_status=$?
32474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32475 (exit $ac_status); }; }; then
32476 eval "$as_ac_var=yes"
32477 else
32478 echo "$as_me: failed program was:" >&5
32479 sed 's/^/| /' conftest.$ac_ext >&5
32481 eval "$as_ac_var=no"
32483 rm -f conftest.err conftest.$ac_objext \
32484 conftest$ac_exeext conftest.$ac_ext
32486 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32487 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32488 if test `eval echo '${'$as_ac_var'}'` = yes; then
32489 cat >>confdefs.h <<_ACEOF
32490 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32491 _ACEOF
32494 done
32496 else
32498 echo "$as_me:$LINENO: checking for _powf declaration" >&5
32499 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
32500 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32501 if test "${glibcxx_cv_func__powf_use+set}" = set; then
32502 echo $ECHO_N "(cached) $ECHO_C" >&6
32503 else
32507 ac_ext=cc
32508 ac_cpp='$CXXCPP $CPPFLAGS'
32509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32513 cat >conftest.$ac_ext <<_ACEOF
32514 /* confdefs.h. */
32515 _ACEOF
32516 cat confdefs.h >>conftest.$ac_ext
32517 cat >>conftest.$ac_ext <<_ACEOF
32518 /* end confdefs.h. */
32519 #include <math.h>
32521 main ()
32523 _powf(0, 0);
32525 return 0;
32527 _ACEOF
32528 rm -f conftest.$ac_objext
32529 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32530 (eval $ac_compile) 2>conftest.er1
32531 ac_status=$?
32532 grep -v '^ *+' conftest.er1 >conftest.err
32533 rm -f conftest.er1
32534 cat conftest.err >&5
32535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32536 (exit $ac_status); } &&
32537 { ac_try='test -z "$ac_cxx_werror_flag"
32538 || test ! -s conftest.err'
32539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32540 (eval $ac_try) 2>&5
32541 ac_status=$?
32542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32543 (exit $ac_status); }; } &&
32544 { ac_try='test -s conftest.$ac_objext'
32545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32546 (eval $ac_try) 2>&5
32547 ac_status=$?
32548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32549 (exit $ac_status); }; }; then
32550 glibcxx_cv_func__powf_use=yes
32551 else
32552 echo "$as_me: failed program was:" >&5
32553 sed 's/^/| /' conftest.$ac_ext >&5
32555 glibcxx_cv_func__powf_use=no
32557 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32558 ac_ext=c
32559 ac_cpp='$CPP $CPPFLAGS'
32560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32568 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
32569 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
32571 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32573 for ac_func in _powf
32575 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32576 echo "$as_me:$LINENO: checking for $ac_func" >&5
32577 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32578 if eval "test \"\${$as_ac_var+set}\" = set"; then
32579 echo $ECHO_N "(cached) $ECHO_C" >&6
32580 else
32581 if test x$gcc_no_link = xyes; then
32582 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32583 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32584 { (exit 1); exit 1; }; }
32586 cat >conftest.$ac_ext <<_ACEOF
32587 /* confdefs.h. */
32588 _ACEOF
32589 cat confdefs.h >>conftest.$ac_ext
32590 cat >>conftest.$ac_ext <<_ACEOF
32591 /* end confdefs.h. */
32592 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32593 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32594 #define $ac_func innocuous_$ac_func
32596 /* System header to define __stub macros and hopefully few prototypes,
32597 which can conflict with char $ac_func (); below.
32598 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32599 <limits.h> exists even on freestanding compilers. */
32601 #ifdef __STDC__
32602 # include <limits.h>
32603 #else
32604 # include <assert.h>
32605 #endif
32607 #undef $ac_func
32609 /* Override any gcc2 internal prototype to avoid an error. */
32610 #ifdef __cplusplus
32611 extern "C"
32613 #endif
32614 /* We use char because int might match the return type of a gcc2
32615 builtin and then its argument prototype would still apply. */
32616 char $ac_func ();
32617 /* The GNU C library defines this for functions which it implements
32618 to always fail with ENOSYS. Some functions are actually named
32619 something starting with __ and the normal name is an alias. */
32620 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32621 choke me
32622 #else
32623 char (*f) () = $ac_func;
32624 #endif
32625 #ifdef __cplusplus
32627 #endif
32630 main ()
32632 return f != $ac_func;
32634 return 0;
32636 _ACEOF
32637 rm -f conftest.$ac_objext conftest$ac_exeext
32638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32639 (eval $ac_link) 2>conftest.er1
32640 ac_status=$?
32641 grep -v '^ *+' conftest.er1 >conftest.err
32642 rm -f conftest.er1
32643 cat conftest.err >&5
32644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32645 (exit $ac_status); } &&
32646 { ac_try='test -z "$ac_c_werror_flag"
32647 || test ! -s conftest.err'
32648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32649 (eval $ac_try) 2>&5
32650 ac_status=$?
32651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32652 (exit $ac_status); }; } &&
32653 { ac_try='test -s conftest$ac_exeext'
32654 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32655 (eval $ac_try) 2>&5
32656 ac_status=$?
32657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32658 (exit $ac_status); }; }; then
32659 eval "$as_ac_var=yes"
32660 else
32661 echo "$as_me: failed program was:" >&5
32662 sed 's/^/| /' conftest.$ac_ext >&5
32664 eval "$as_ac_var=no"
32666 rm -f conftest.err conftest.$ac_objext \
32667 conftest$ac_exeext conftest.$ac_ext
32669 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32670 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32671 if test `eval echo '${'$as_ac_var'}'` = yes; then
32672 cat >>confdefs.h <<_ACEOF
32673 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32674 _ACEOF
32677 done
32687 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
32688 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
32689 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32690 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
32691 echo $ECHO_N "(cached) $ECHO_C" >&6
32692 else
32696 ac_ext=cc
32697 ac_cpp='$CXXCPP $CPPFLAGS'
32698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32702 cat >conftest.$ac_ext <<_ACEOF
32703 /* confdefs.h. */
32704 _ACEOF
32705 cat confdefs.h >>conftest.$ac_ext
32706 cat >>conftest.$ac_ext <<_ACEOF
32707 /* end confdefs.h. */
32708 #include <math.h>
32709 #ifdef HAVE_IEEEFP_H
32710 #include <ieeefp.h>
32711 #endif
32714 main ()
32716 sqrtf(0);
32718 return 0;
32720 _ACEOF
32721 rm -f conftest.$ac_objext
32722 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32723 (eval $ac_compile) 2>conftest.er1
32724 ac_status=$?
32725 grep -v '^ *+' conftest.er1 >conftest.err
32726 rm -f conftest.er1
32727 cat conftest.err >&5
32728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32729 (exit $ac_status); } &&
32730 { ac_try='test -z "$ac_cxx_werror_flag"
32731 || test ! -s conftest.err'
32732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32733 (eval $ac_try) 2>&5
32734 ac_status=$?
32735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32736 (exit $ac_status); }; } &&
32737 { ac_try='test -s conftest.$ac_objext'
32738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32739 (eval $ac_try) 2>&5
32740 ac_status=$?
32741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32742 (exit $ac_status); }; }; then
32743 glibcxx_cv_func_sqrtf_use=yes
32744 else
32745 echo "$as_me: failed program was:" >&5
32746 sed 's/^/| /' conftest.$ac_ext >&5
32748 glibcxx_cv_func_sqrtf_use=no
32750 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32751 ac_ext=c
32752 ac_cpp='$CPP $CPPFLAGS'
32753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32761 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
32762 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
32764 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32766 for ac_func in sqrtf
32768 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32769 echo "$as_me:$LINENO: checking for $ac_func" >&5
32770 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32771 if eval "test \"\${$as_ac_var+set}\" = set"; then
32772 echo $ECHO_N "(cached) $ECHO_C" >&6
32773 else
32774 if test x$gcc_no_link = xyes; then
32775 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32776 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32777 { (exit 1); exit 1; }; }
32779 cat >conftest.$ac_ext <<_ACEOF
32780 /* confdefs.h. */
32781 _ACEOF
32782 cat confdefs.h >>conftest.$ac_ext
32783 cat >>conftest.$ac_ext <<_ACEOF
32784 /* end confdefs.h. */
32785 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32786 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32787 #define $ac_func innocuous_$ac_func
32789 /* System header to define __stub macros and hopefully few prototypes,
32790 which can conflict with char $ac_func (); below.
32791 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32792 <limits.h> exists even on freestanding compilers. */
32794 #ifdef __STDC__
32795 # include <limits.h>
32796 #else
32797 # include <assert.h>
32798 #endif
32800 #undef $ac_func
32802 /* Override any gcc2 internal prototype to avoid an error. */
32803 #ifdef __cplusplus
32804 extern "C"
32806 #endif
32807 /* We use char because int might match the return type of a gcc2
32808 builtin and then its argument prototype would still apply. */
32809 char $ac_func ();
32810 /* The GNU C library defines this for functions which it implements
32811 to always fail with ENOSYS. Some functions are actually named
32812 something starting with __ and the normal name is an alias. */
32813 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
32814 choke me
32815 #else
32816 char (*f) () = $ac_func;
32817 #endif
32818 #ifdef __cplusplus
32820 #endif
32823 main ()
32825 return f != $ac_func;
32827 return 0;
32829 _ACEOF
32830 rm -f conftest.$ac_objext conftest$ac_exeext
32831 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
32832 (eval $ac_link) 2>conftest.er1
32833 ac_status=$?
32834 grep -v '^ *+' conftest.er1 >conftest.err
32835 rm -f conftest.er1
32836 cat conftest.err >&5
32837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32838 (exit $ac_status); } &&
32839 { ac_try='test -z "$ac_c_werror_flag"
32840 || test ! -s conftest.err'
32841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32842 (eval $ac_try) 2>&5
32843 ac_status=$?
32844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32845 (exit $ac_status); }; } &&
32846 { ac_try='test -s conftest$ac_exeext'
32847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32848 (eval $ac_try) 2>&5
32849 ac_status=$?
32850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32851 (exit $ac_status); }; }; then
32852 eval "$as_ac_var=yes"
32853 else
32854 echo "$as_me: failed program was:" >&5
32855 sed 's/^/| /' conftest.$ac_ext >&5
32857 eval "$as_ac_var=no"
32859 rm -f conftest.err conftest.$ac_objext \
32860 conftest$ac_exeext conftest.$ac_ext
32862 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
32863 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
32864 if test `eval echo '${'$as_ac_var'}'` = yes; then
32865 cat >>confdefs.h <<_ACEOF
32866 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
32867 _ACEOF
32870 done
32872 else
32874 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
32875 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
32876 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32877 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
32878 echo $ECHO_N "(cached) $ECHO_C" >&6
32879 else
32883 ac_ext=cc
32884 ac_cpp='$CXXCPP $CPPFLAGS'
32885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32889 cat >conftest.$ac_ext <<_ACEOF
32890 /* confdefs.h. */
32891 _ACEOF
32892 cat confdefs.h >>conftest.$ac_ext
32893 cat >>conftest.$ac_ext <<_ACEOF
32894 /* end confdefs.h. */
32895 #include <math.h>
32896 #ifdef HAVE_IEEEFP_H
32897 #include <ieeefp.h>
32898 #endif
32901 main ()
32903 _sqrtf(0);
32905 return 0;
32907 _ACEOF
32908 rm -f conftest.$ac_objext
32909 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
32910 (eval $ac_compile) 2>conftest.er1
32911 ac_status=$?
32912 grep -v '^ *+' conftest.er1 >conftest.err
32913 rm -f conftest.er1
32914 cat conftest.err >&5
32915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32916 (exit $ac_status); } &&
32917 { ac_try='test -z "$ac_cxx_werror_flag"
32918 || test ! -s conftest.err'
32919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32920 (eval $ac_try) 2>&5
32921 ac_status=$?
32922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32923 (exit $ac_status); }; } &&
32924 { ac_try='test -s conftest.$ac_objext'
32925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32926 (eval $ac_try) 2>&5
32927 ac_status=$?
32928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32929 (exit $ac_status); }; }; then
32930 glibcxx_cv_func__sqrtf_use=yes
32931 else
32932 echo "$as_me: failed program was:" >&5
32933 sed 's/^/| /' conftest.$ac_ext >&5
32935 glibcxx_cv_func__sqrtf_use=no
32937 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
32938 ac_ext=c
32939 ac_cpp='$CPP $CPPFLAGS'
32940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32948 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
32949 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
32951 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32953 for ac_func in _sqrtf
32955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
32956 echo "$as_me:$LINENO: checking for $ac_func" >&5
32957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
32958 if eval "test \"\${$as_ac_var+set}\" = set"; then
32959 echo $ECHO_N "(cached) $ECHO_C" >&6
32960 else
32961 if test x$gcc_no_link = xyes; then
32962 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
32963 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
32964 { (exit 1); exit 1; }; }
32966 cat >conftest.$ac_ext <<_ACEOF
32967 /* confdefs.h. */
32968 _ACEOF
32969 cat confdefs.h >>conftest.$ac_ext
32970 cat >>conftest.$ac_ext <<_ACEOF
32971 /* end confdefs.h. */
32972 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
32973 For example, HP-UX 11i <limits.h> declares gettimeofday. */
32974 #define $ac_func innocuous_$ac_func
32976 /* System header to define __stub macros and hopefully few prototypes,
32977 which can conflict with char $ac_func (); below.
32978 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
32979 <limits.h> exists even on freestanding compilers. */
32981 #ifdef __STDC__
32982 # include <limits.h>
32983 #else
32984 # include <assert.h>
32985 #endif
32987 #undef $ac_func
32989 /* Override any gcc2 internal prototype to avoid an error. */
32990 #ifdef __cplusplus
32991 extern "C"
32993 #endif
32994 /* We use char because int might match the return type of a gcc2
32995 builtin and then its argument prototype would still apply. */
32996 char $ac_func ();
32997 /* The GNU C library defines this for functions which it implements
32998 to always fail with ENOSYS. Some functions are actually named
32999 something starting with __ and the normal name is an alias. */
33000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33001 choke me
33002 #else
33003 char (*f) () = $ac_func;
33004 #endif
33005 #ifdef __cplusplus
33007 #endif
33010 main ()
33012 return f != $ac_func;
33014 return 0;
33016 _ACEOF
33017 rm -f conftest.$ac_objext conftest$ac_exeext
33018 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33019 (eval $ac_link) 2>conftest.er1
33020 ac_status=$?
33021 grep -v '^ *+' conftest.er1 >conftest.err
33022 rm -f conftest.er1
33023 cat conftest.err >&5
33024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33025 (exit $ac_status); } &&
33026 { ac_try='test -z "$ac_c_werror_flag"
33027 || test ! -s conftest.err'
33028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33029 (eval $ac_try) 2>&5
33030 ac_status=$?
33031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33032 (exit $ac_status); }; } &&
33033 { ac_try='test -s conftest$ac_exeext'
33034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33035 (eval $ac_try) 2>&5
33036 ac_status=$?
33037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33038 (exit $ac_status); }; }; then
33039 eval "$as_ac_var=yes"
33040 else
33041 echo "$as_me: failed program was:" >&5
33042 sed 's/^/| /' conftest.$ac_ext >&5
33044 eval "$as_ac_var=no"
33046 rm -f conftest.err conftest.$ac_objext \
33047 conftest$ac_exeext conftest.$ac_ext
33049 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33050 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33051 if test `eval echo '${'$as_ac_var'}'` = yes; then
33052 cat >>confdefs.h <<_ACEOF
33053 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33054 _ACEOF
33057 done
33067 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
33068 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
33069 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
33070 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
33071 echo $ECHO_N "(cached) $ECHO_C" >&6
33072 else
33076 ac_ext=cc
33077 ac_cpp='$CXXCPP $CPPFLAGS'
33078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33082 cat >conftest.$ac_ext <<_ACEOF
33083 /* confdefs.h. */
33084 _ACEOF
33085 cat confdefs.h >>conftest.$ac_ext
33086 cat >>conftest.$ac_ext <<_ACEOF
33087 /* end confdefs.h. */
33088 #include <math.h>
33090 main ()
33092 sincosf(0, 0, 0);
33094 return 0;
33096 _ACEOF
33097 rm -f conftest.$ac_objext
33098 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33099 (eval $ac_compile) 2>conftest.er1
33100 ac_status=$?
33101 grep -v '^ *+' conftest.er1 >conftest.err
33102 rm -f conftest.er1
33103 cat conftest.err >&5
33104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33105 (exit $ac_status); } &&
33106 { ac_try='test -z "$ac_cxx_werror_flag"
33107 || test ! -s conftest.err'
33108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33109 (eval $ac_try) 2>&5
33110 ac_status=$?
33111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33112 (exit $ac_status); }; } &&
33113 { ac_try='test -s conftest.$ac_objext'
33114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33115 (eval $ac_try) 2>&5
33116 ac_status=$?
33117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33118 (exit $ac_status); }; }; then
33119 glibcxx_cv_func_sincosf_use=yes
33120 else
33121 echo "$as_me: failed program was:" >&5
33122 sed 's/^/| /' conftest.$ac_ext >&5
33124 glibcxx_cv_func_sincosf_use=no
33126 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33127 ac_ext=c
33128 ac_cpp='$CPP $CPPFLAGS'
33129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33137 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
33138 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
33140 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
33142 for ac_func in sincosf
33144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33145 echo "$as_me:$LINENO: checking for $ac_func" >&5
33146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33147 if eval "test \"\${$as_ac_var+set}\" = set"; then
33148 echo $ECHO_N "(cached) $ECHO_C" >&6
33149 else
33150 if test x$gcc_no_link = xyes; then
33151 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33152 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33153 { (exit 1); exit 1; }; }
33155 cat >conftest.$ac_ext <<_ACEOF
33156 /* confdefs.h. */
33157 _ACEOF
33158 cat confdefs.h >>conftest.$ac_ext
33159 cat >>conftest.$ac_ext <<_ACEOF
33160 /* end confdefs.h. */
33161 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33162 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33163 #define $ac_func innocuous_$ac_func
33165 /* System header to define __stub macros and hopefully few prototypes,
33166 which can conflict with char $ac_func (); below.
33167 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33168 <limits.h> exists even on freestanding compilers. */
33170 #ifdef __STDC__
33171 # include <limits.h>
33172 #else
33173 # include <assert.h>
33174 #endif
33176 #undef $ac_func
33178 /* Override any gcc2 internal prototype to avoid an error. */
33179 #ifdef __cplusplus
33180 extern "C"
33182 #endif
33183 /* We use char because int might match the return type of a gcc2
33184 builtin and then its argument prototype would still apply. */
33185 char $ac_func ();
33186 /* The GNU C library defines this for functions which it implements
33187 to always fail with ENOSYS. Some functions are actually named
33188 something starting with __ and the normal name is an alias. */
33189 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33190 choke me
33191 #else
33192 char (*f) () = $ac_func;
33193 #endif
33194 #ifdef __cplusplus
33196 #endif
33199 main ()
33201 return f != $ac_func;
33203 return 0;
33205 _ACEOF
33206 rm -f conftest.$ac_objext conftest$ac_exeext
33207 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33208 (eval $ac_link) 2>conftest.er1
33209 ac_status=$?
33210 grep -v '^ *+' conftest.er1 >conftest.err
33211 rm -f conftest.er1
33212 cat conftest.err >&5
33213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33214 (exit $ac_status); } &&
33215 { ac_try='test -z "$ac_c_werror_flag"
33216 || test ! -s conftest.err'
33217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33218 (eval $ac_try) 2>&5
33219 ac_status=$?
33220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33221 (exit $ac_status); }; } &&
33222 { ac_try='test -s conftest$ac_exeext'
33223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33224 (eval $ac_try) 2>&5
33225 ac_status=$?
33226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33227 (exit $ac_status); }; }; then
33228 eval "$as_ac_var=yes"
33229 else
33230 echo "$as_me: failed program was:" >&5
33231 sed 's/^/| /' conftest.$ac_ext >&5
33233 eval "$as_ac_var=no"
33235 rm -f conftest.err conftest.$ac_objext \
33236 conftest$ac_exeext conftest.$ac_ext
33238 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33239 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33240 if test `eval echo '${'$as_ac_var'}'` = yes; then
33241 cat >>confdefs.h <<_ACEOF
33242 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33243 _ACEOF
33246 done
33248 else
33250 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
33251 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
33252 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
33253 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
33254 echo $ECHO_N "(cached) $ECHO_C" >&6
33255 else
33259 ac_ext=cc
33260 ac_cpp='$CXXCPP $CPPFLAGS'
33261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33265 cat >conftest.$ac_ext <<_ACEOF
33266 /* confdefs.h. */
33267 _ACEOF
33268 cat confdefs.h >>conftest.$ac_ext
33269 cat >>conftest.$ac_ext <<_ACEOF
33270 /* end confdefs.h. */
33271 #include <math.h>
33273 main ()
33275 _sincosf(0, 0, 0);
33277 return 0;
33279 _ACEOF
33280 rm -f conftest.$ac_objext
33281 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33282 (eval $ac_compile) 2>conftest.er1
33283 ac_status=$?
33284 grep -v '^ *+' conftest.er1 >conftest.err
33285 rm -f conftest.er1
33286 cat conftest.err >&5
33287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33288 (exit $ac_status); } &&
33289 { ac_try='test -z "$ac_cxx_werror_flag"
33290 || test ! -s conftest.err'
33291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33292 (eval $ac_try) 2>&5
33293 ac_status=$?
33294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33295 (exit $ac_status); }; } &&
33296 { ac_try='test -s conftest.$ac_objext'
33297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33298 (eval $ac_try) 2>&5
33299 ac_status=$?
33300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33301 (exit $ac_status); }; }; then
33302 glibcxx_cv_func__sincosf_use=yes
33303 else
33304 echo "$as_me: failed program was:" >&5
33305 sed 's/^/| /' conftest.$ac_ext >&5
33307 glibcxx_cv_func__sincosf_use=no
33309 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33310 ac_ext=c
33311 ac_cpp='$CPP $CPPFLAGS'
33312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33320 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
33321 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
33323 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
33325 for ac_func in _sincosf
33327 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33328 echo "$as_me:$LINENO: checking for $ac_func" >&5
33329 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33330 if eval "test \"\${$as_ac_var+set}\" = set"; then
33331 echo $ECHO_N "(cached) $ECHO_C" >&6
33332 else
33333 if test x$gcc_no_link = xyes; then
33334 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33335 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33336 { (exit 1); exit 1; }; }
33338 cat >conftest.$ac_ext <<_ACEOF
33339 /* confdefs.h. */
33340 _ACEOF
33341 cat confdefs.h >>conftest.$ac_ext
33342 cat >>conftest.$ac_ext <<_ACEOF
33343 /* end confdefs.h. */
33344 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33346 #define $ac_func innocuous_$ac_func
33348 /* System header to define __stub macros and hopefully few prototypes,
33349 which can conflict with char $ac_func (); below.
33350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33351 <limits.h> exists even on freestanding compilers. */
33353 #ifdef __STDC__
33354 # include <limits.h>
33355 #else
33356 # include <assert.h>
33357 #endif
33359 #undef $ac_func
33361 /* Override any gcc2 internal prototype to avoid an error. */
33362 #ifdef __cplusplus
33363 extern "C"
33365 #endif
33366 /* We use char because int might match the return type of a gcc2
33367 builtin and then its argument prototype would still apply. */
33368 char $ac_func ();
33369 /* The GNU C library defines this for functions which it implements
33370 to always fail with ENOSYS. Some functions are actually named
33371 something starting with __ and the normal name is an alias. */
33372 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33373 choke me
33374 #else
33375 char (*f) () = $ac_func;
33376 #endif
33377 #ifdef __cplusplus
33379 #endif
33382 main ()
33384 return f != $ac_func;
33386 return 0;
33388 _ACEOF
33389 rm -f conftest.$ac_objext conftest$ac_exeext
33390 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33391 (eval $ac_link) 2>conftest.er1
33392 ac_status=$?
33393 grep -v '^ *+' conftest.er1 >conftest.err
33394 rm -f conftest.er1
33395 cat conftest.err >&5
33396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33397 (exit $ac_status); } &&
33398 { ac_try='test -z "$ac_c_werror_flag"
33399 || test ! -s conftest.err'
33400 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33401 (eval $ac_try) 2>&5
33402 ac_status=$?
33403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33404 (exit $ac_status); }; } &&
33405 { ac_try='test -s conftest$ac_exeext'
33406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33407 (eval $ac_try) 2>&5
33408 ac_status=$?
33409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33410 (exit $ac_status); }; }; then
33411 eval "$as_ac_var=yes"
33412 else
33413 echo "$as_me: failed program was:" >&5
33414 sed 's/^/| /' conftest.$ac_ext >&5
33416 eval "$as_ac_var=no"
33418 rm -f conftest.err conftest.$ac_objext \
33419 conftest$ac_exeext conftest.$ac_ext
33421 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33422 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33423 if test `eval echo '${'$as_ac_var'}'` = yes; then
33424 cat >>confdefs.h <<_ACEOF
33425 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33426 _ACEOF
33429 done
33439 echo "$as_me:$LINENO: checking for finitef declaration" >&5
33440 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
33441 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
33442 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
33443 echo $ECHO_N "(cached) $ECHO_C" >&6
33444 else
33448 ac_ext=cc
33449 ac_cpp='$CXXCPP $CPPFLAGS'
33450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33454 cat >conftest.$ac_ext <<_ACEOF
33455 /* confdefs.h. */
33456 _ACEOF
33457 cat confdefs.h >>conftest.$ac_ext
33458 cat >>conftest.$ac_ext <<_ACEOF
33459 /* end confdefs.h. */
33460 #include <math.h>
33461 #ifdef HAVE_IEEEFP_H
33462 #include <ieeefp.h>
33463 #endif
33466 main ()
33468 finitef(0);
33470 return 0;
33472 _ACEOF
33473 rm -f conftest.$ac_objext
33474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33475 (eval $ac_compile) 2>conftest.er1
33476 ac_status=$?
33477 grep -v '^ *+' conftest.er1 >conftest.err
33478 rm -f conftest.er1
33479 cat conftest.err >&5
33480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33481 (exit $ac_status); } &&
33482 { ac_try='test -z "$ac_cxx_werror_flag"
33483 || test ! -s conftest.err'
33484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33485 (eval $ac_try) 2>&5
33486 ac_status=$?
33487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33488 (exit $ac_status); }; } &&
33489 { ac_try='test -s conftest.$ac_objext'
33490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33491 (eval $ac_try) 2>&5
33492 ac_status=$?
33493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33494 (exit $ac_status); }; }; then
33495 glibcxx_cv_func_finitef_use=yes
33496 else
33497 echo "$as_me: failed program was:" >&5
33498 sed 's/^/| /' conftest.$ac_ext >&5
33500 glibcxx_cv_func_finitef_use=no
33502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33503 ac_ext=c
33504 ac_cpp='$CPP $CPPFLAGS'
33505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33513 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
33514 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
33516 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
33518 for ac_func in finitef
33520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33521 echo "$as_me:$LINENO: checking for $ac_func" >&5
33522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33523 if eval "test \"\${$as_ac_var+set}\" = set"; then
33524 echo $ECHO_N "(cached) $ECHO_C" >&6
33525 else
33526 if test x$gcc_no_link = xyes; then
33527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33529 { (exit 1); exit 1; }; }
33531 cat >conftest.$ac_ext <<_ACEOF
33532 /* confdefs.h. */
33533 _ACEOF
33534 cat confdefs.h >>conftest.$ac_ext
33535 cat >>conftest.$ac_ext <<_ACEOF
33536 /* end confdefs.h. */
33537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33539 #define $ac_func innocuous_$ac_func
33541 /* System header to define __stub macros and hopefully few prototypes,
33542 which can conflict with char $ac_func (); below.
33543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33544 <limits.h> exists even on freestanding compilers. */
33546 #ifdef __STDC__
33547 # include <limits.h>
33548 #else
33549 # include <assert.h>
33550 #endif
33552 #undef $ac_func
33554 /* Override any gcc2 internal prototype to avoid an error. */
33555 #ifdef __cplusplus
33556 extern "C"
33558 #endif
33559 /* We use char because int might match the return type of a gcc2
33560 builtin and then its argument prototype would still apply. */
33561 char $ac_func ();
33562 /* The GNU C library defines this for functions which it implements
33563 to always fail with ENOSYS. Some functions are actually named
33564 something starting with __ and the normal name is an alias. */
33565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33566 choke me
33567 #else
33568 char (*f) () = $ac_func;
33569 #endif
33570 #ifdef __cplusplus
33572 #endif
33575 main ()
33577 return f != $ac_func;
33579 return 0;
33581 _ACEOF
33582 rm -f conftest.$ac_objext conftest$ac_exeext
33583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33584 (eval $ac_link) 2>conftest.er1
33585 ac_status=$?
33586 grep -v '^ *+' conftest.er1 >conftest.err
33587 rm -f conftest.er1
33588 cat conftest.err >&5
33589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33590 (exit $ac_status); } &&
33591 { ac_try='test -z "$ac_c_werror_flag"
33592 || test ! -s conftest.err'
33593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33594 (eval $ac_try) 2>&5
33595 ac_status=$?
33596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33597 (exit $ac_status); }; } &&
33598 { ac_try='test -s conftest$ac_exeext'
33599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33600 (eval $ac_try) 2>&5
33601 ac_status=$?
33602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33603 (exit $ac_status); }; }; then
33604 eval "$as_ac_var=yes"
33605 else
33606 echo "$as_me: failed program was:" >&5
33607 sed 's/^/| /' conftest.$ac_ext >&5
33609 eval "$as_ac_var=no"
33611 rm -f conftest.err conftest.$ac_objext \
33612 conftest$ac_exeext conftest.$ac_ext
33614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33616 if test `eval echo '${'$as_ac_var'}'` = yes; then
33617 cat >>confdefs.h <<_ACEOF
33618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33619 _ACEOF
33622 done
33624 else
33626 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
33627 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
33628 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
33629 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
33630 echo $ECHO_N "(cached) $ECHO_C" >&6
33631 else
33635 ac_ext=cc
33636 ac_cpp='$CXXCPP $CPPFLAGS'
33637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33641 cat >conftest.$ac_ext <<_ACEOF
33642 /* confdefs.h. */
33643 _ACEOF
33644 cat confdefs.h >>conftest.$ac_ext
33645 cat >>conftest.$ac_ext <<_ACEOF
33646 /* end confdefs.h. */
33647 #include <math.h>
33648 #ifdef HAVE_IEEEFP_H
33649 #include <ieeefp.h>
33650 #endif
33653 main ()
33655 _finitef(0);
33657 return 0;
33659 _ACEOF
33660 rm -f conftest.$ac_objext
33661 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33662 (eval $ac_compile) 2>conftest.er1
33663 ac_status=$?
33664 grep -v '^ *+' conftest.er1 >conftest.err
33665 rm -f conftest.er1
33666 cat conftest.err >&5
33667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33668 (exit $ac_status); } &&
33669 { ac_try='test -z "$ac_cxx_werror_flag"
33670 || test ! -s conftest.err'
33671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33672 (eval $ac_try) 2>&5
33673 ac_status=$?
33674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33675 (exit $ac_status); }; } &&
33676 { ac_try='test -s conftest.$ac_objext'
33677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33678 (eval $ac_try) 2>&5
33679 ac_status=$?
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); }; }; then
33682 glibcxx_cv_func__finitef_use=yes
33683 else
33684 echo "$as_me: failed program was:" >&5
33685 sed 's/^/| /' conftest.$ac_ext >&5
33687 glibcxx_cv_func__finitef_use=no
33689 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33690 ac_ext=c
33691 ac_cpp='$CPP $CPPFLAGS'
33692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33700 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
33701 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
33703 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
33705 for ac_func in _finitef
33707 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33708 echo "$as_me:$LINENO: checking for $ac_func" >&5
33709 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33710 if eval "test \"\${$as_ac_var+set}\" = set"; then
33711 echo $ECHO_N "(cached) $ECHO_C" >&6
33712 else
33713 if test x$gcc_no_link = xyes; then
33714 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33715 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33716 { (exit 1); exit 1; }; }
33718 cat >conftest.$ac_ext <<_ACEOF
33719 /* confdefs.h. */
33720 _ACEOF
33721 cat confdefs.h >>conftest.$ac_ext
33722 cat >>conftest.$ac_ext <<_ACEOF
33723 /* end confdefs.h. */
33724 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33726 #define $ac_func innocuous_$ac_func
33728 /* System header to define __stub macros and hopefully few prototypes,
33729 which can conflict with char $ac_func (); below.
33730 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33731 <limits.h> exists even on freestanding compilers. */
33733 #ifdef __STDC__
33734 # include <limits.h>
33735 #else
33736 # include <assert.h>
33737 #endif
33739 #undef $ac_func
33741 /* Override any gcc2 internal prototype to avoid an error. */
33742 #ifdef __cplusplus
33743 extern "C"
33745 #endif
33746 /* We use char because int might match the return type of a gcc2
33747 builtin and then its argument prototype would still apply. */
33748 char $ac_func ();
33749 /* The GNU C library defines this for functions which it implements
33750 to always fail with ENOSYS. Some functions are actually named
33751 something starting with __ and the normal name is an alias. */
33752 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33753 choke me
33754 #else
33755 char (*f) () = $ac_func;
33756 #endif
33757 #ifdef __cplusplus
33759 #endif
33762 main ()
33764 return f != $ac_func;
33766 return 0;
33768 _ACEOF
33769 rm -f conftest.$ac_objext conftest$ac_exeext
33770 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33771 (eval $ac_link) 2>conftest.er1
33772 ac_status=$?
33773 grep -v '^ *+' conftest.er1 >conftest.err
33774 rm -f conftest.er1
33775 cat conftest.err >&5
33776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33777 (exit $ac_status); } &&
33778 { ac_try='test -z "$ac_c_werror_flag"
33779 || test ! -s conftest.err'
33780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33781 (eval $ac_try) 2>&5
33782 ac_status=$?
33783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33784 (exit $ac_status); }; } &&
33785 { ac_try='test -s conftest$ac_exeext'
33786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33787 (eval $ac_try) 2>&5
33788 ac_status=$?
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); }; }; then
33791 eval "$as_ac_var=yes"
33792 else
33793 echo "$as_me: failed program was:" >&5
33794 sed 's/^/| /' conftest.$ac_ext >&5
33796 eval "$as_ac_var=no"
33798 rm -f conftest.err conftest.$ac_objext \
33799 conftest$ac_exeext conftest.$ac_ext
33801 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33802 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33803 if test `eval echo '${'$as_ac_var'}'` = yes; then
33804 cat >>confdefs.h <<_ACEOF
33805 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33806 _ACEOF
33809 done
33819 echo "$as_me:$LINENO: checking for long double trig functions" >&5
33820 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
33821 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
33822 echo $ECHO_N "(cached) $ECHO_C" >&6
33823 else
33827 ac_ext=cc
33828 ac_cpp='$CXXCPP $CPPFLAGS'
33829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33833 cat >conftest.$ac_ext <<_ACEOF
33834 /* confdefs.h. */
33835 _ACEOF
33836 cat confdefs.h >>conftest.$ac_ext
33837 cat >>conftest.$ac_ext <<_ACEOF
33838 /* end confdefs.h. */
33839 #include <math.h>
33841 main ()
33843 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
33845 return 0;
33847 _ACEOF
33848 rm -f conftest.$ac_objext
33849 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
33850 (eval $ac_compile) 2>conftest.er1
33851 ac_status=$?
33852 grep -v '^ *+' conftest.er1 >conftest.err
33853 rm -f conftest.er1
33854 cat conftest.err >&5
33855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33856 (exit $ac_status); } &&
33857 { ac_try='test -z "$ac_cxx_werror_flag"
33858 || test ! -s conftest.err'
33859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33860 (eval $ac_try) 2>&5
33861 ac_status=$?
33862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33863 (exit $ac_status); }; } &&
33864 { ac_try='test -s conftest.$ac_objext'
33865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33866 (eval $ac_try) 2>&5
33867 ac_status=$?
33868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33869 (exit $ac_status); }; }; then
33870 glibcxx_cv_func_long_double_trig_use=yes
33871 else
33872 echo "$as_me: failed program was:" >&5
33873 sed 's/^/| /' conftest.$ac_ext >&5
33875 glibcxx_cv_func_long_double_trig_use=no
33877 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
33878 ac_ext=c
33879 ac_cpp='$CPP $CPPFLAGS'
33880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33886 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
33887 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
33888 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
33898 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
33900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33901 echo "$as_me:$LINENO: checking for $ac_func" >&5
33902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
33903 if eval "test \"\${$as_ac_var+set}\" = set"; then
33904 echo $ECHO_N "(cached) $ECHO_C" >&6
33905 else
33906 if test x$gcc_no_link = xyes; then
33907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
33908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
33909 { (exit 1); exit 1; }; }
33911 cat >conftest.$ac_ext <<_ACEOF
33912 /* confdefs.h. */
33913 _ACEOF
33914 cat confdefs.h >>conftest.$ac_ext
33915 cat >>conftest.$ac_ext <<_ACEOF
33916 /* end confdefs.h. */
33917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33919 #define $ac_func innocuous_$ac_func
33921 /* System header to define __stub macros and hopefully few prototypes,
33922 which can conflict with char $ac_func (); below.
33923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33924 <limits.h> exists even on freestanding compilers. */
33926 #ifdef __STDC__
33927 # include <limits.h>
33928 #else
33929 # include <assert.h>
33930 #endif
33932 #undef $ac_func
33934 /* Override any gcc2 internal prototype to avoid an error. */
33935 #ifdef __cplusplus
33936 extern "C"
33938 #endif
33939 /* We use char because int might match the return type of a gcc2
33940 builtin and then its argument prototype would still apply. */
33941 char $ac_func ();
33942 /* The GNU C library defines this for functions which it implements
33943 to always fail with ENOSYS. Some functions are actually named
33944 something starting with __ and the normal name is an alias. */
33945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
33946 choke me
33947 #else
33948 char (*f) () = $ac_func;
33949 #endif
33950 #ifdef __cplusplus
33952 #endif
33955 main ()
33957 return f != $ac_func;
33959 return 0;
33961 _ACEOF
33962 rm -f conftest.$ac_objext conftest$ac_exeext
33963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
33964 (eval $ac_link) 2>conftest.er1
33965 ac_status=$?
33966 grep -v '^ *+' conftest.er1 >conftest.err
33967 rm -f conftest.er1
33968 cat conftest.err >&5
33969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33970 (exit $ac_status); } &&
33971 { ac_try='test -z "$ac_c_werror_flag"
33972 || test ! -s conftest.err'
33973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33974 (eval $ac_try) 2>&5
33975 ac_status=$?
33976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33977 (exit $ac_status); }; } &&
33978 { ac_try='test -s conftest$ac_exeext'
33979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33980 (eval $ac_try) 2>&5
33981 ac_status=$?
33982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33983 (exit $ac_status); }; }; then
33984 eval "$as_ac_var=yes"
33985 else
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.$ac_ext >&5
33989 eval "$as_ac_var=no"
33991 rm -f conftest.err conftest.$ac_objext \
33992 conftest$ac_exeext conftest.$ac_ext
33994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
33995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
33996 if test `eval echo '${'$as_ac_var'}'` = yes; then
33997 cat >>confdefs.h <<_ACEOF
33998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33999 _ACEOF
34002 done
34004 else
34005 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
34006 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
34007 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
34008 echo $ECHO_N "(cached) $ECHO_C" >&6
34009 else
34013 ac_ext=cc
34014 ac_cpp='$CXXCPP $CPPFLAGS'
34015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34019 cat >conftest.$ac_ext <<_ACEOF
34020 /* confdefs.h. */
34021 _ACEOF
34022 cat confdefs.h >>conftest.$ac_ext
34023 cat >>conftest.$ac_ext <<_ACEOF
34024 /* end confdefs.h. */
34025 #include <math.h>
34027 main ()
34029 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
34031 return 0;
34033 _ACEOF
34034 rm -f conftest.$ac_objext
34035 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34036 (eval $ac_compile) 2>conftest.er1
34037 ac_status=$?
34038 grep -v '^ *+' conftest.er1 >conftest.err
34039 rm -f conftest.er1
34040 cat conftest.err >&5
34041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34042 (exit $ac_status); } &&
34043 { ac_try='test -z "$ac_cxx_werror_flag"
34044 || test ! -s conftest.err'
34045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34046 (eval $ac_try) 2>&5
34047 ac_status=$?
34048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34049 (exit $ac_status); }; } &&
34050 { ac_try='test -s conftest.$ac_objext'
34051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34052 (eval $ac_try) 2>&5
34053 ac_status=$?
34054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34055 (exit $ac_status); }; }; then
34056 glibcxx_cv_func__long_double_trig_use=yes
34057 else
34058 echo "$as_me: failed program was:" >&5
34059 sed 's/^/| /' conftest.$ac_ext >&5
34061 glibcxx_cv_func__long_double_trig_use=no
34063 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34064 ac_ext=c
34065 ac_cpp='$CPP $CPPFLAGS'
34066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34072 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
34073 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
34074 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
34084 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
34086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34087 echo "$as_me:$LINENO: checking for $ac_func" >&5
34088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34089 if eval "test \"\${$as_ac_var+set}\" = set"; then
34090 echo $ECHO_N "(cached) $ECHO_C" >&6
34091 else
34092 if test x$gcc_no_link = xyes; then
34093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34095 { (exit 1); exit 1; }; }
34097 cat >conftest.$ac_ext <<_ACEOF
34098 /* confdefs.h. */
34099 _ACEOF
34100 cat confdefs.h >>conftest.$ac_ext
34101 cat >>conftest.$ac_ext <<_ACEOF
34102 /* end confdefs.h. */
34103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34105 #define $ac_func innocuous_$ac_func
34107 /* System header to define __stub macros and hopefully few prototypes,
34108 which can conflict with char $ac_func (); below.
34109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34110 <limits.h> exists even on freestanding compilers. */
34112 #ifdef __STDC__
34113 # include <limits.h>
34114 #else
34115 # include <assert.h>
34116 #endif
34118 #undef $ac_func
34120 /* Override any gcc2 internal prototype to avoid an error. */
34121 #ifdef __cplusplus
34122 extern "C"
34124 #endif
34125 /* We use char because int might match the return type of a gcc2
34126 builtin and then its argument prototype would still apply. */
34127 char $ac_func ();
34128 /* The GNU C library defines this for functions which it implements
34129 to always fail with ENOSYS. Some functions are actually named
34130 something starting with __ and the normal name is an alias. */
34131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34132 choke me
34133 #else
34134 char (*f) () = $ac_func;
34135 #endif
34136 #ifdef __cplusplus
34138 #endif
34141 main ()
34143 return f != $ac_func;
34145 return 0;
34147 _ACEOF
34148 rm -f conftest.$ac_objext conftest$ac_exeext
34149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34150 (eval $ac_link) 2>conftest.er1
34151 ac_status=$?
34152 grep -v '^ *+' conftest.er1 >conftest.err
34153 rm -f conftest.er1
34154 cat conftest.err >&5
34155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34156 (exit $ac_status); } &&
34157 { ac_try='test -z "$ac_c_werror_flag"
34158 || test ! -s conftest.err'
34159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34160 (eval $ac_try) 2>&5
34161 ac_status=$?
34162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34163 (exit $ac_status); }; } &&
34164 { ac_try='test -s conftest$ac_exeext'
34165 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34166 (eval $ac_try) 2>&5
34167 ac_status=$?
34168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34169 (exit $ac_status); }; }; then
34170 eval "$as_ac_var=yes"
34171 else
34172 echo "$as_me: failed program was:" >&5
34173 sed 's/^/| /' conftest.$ac_ext >&5
34175 eval "$as_ac_var=no"
34177 rm -f conftest.err conftest.$ac_objext \
34178 conftest$ac_exeext conftest.$ac_ext
34180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34182 if test `eval echo '${'$as_ac_var'}'` = yes; then
34183 cat >>confdefs.h <<_ACEOF
34184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34185 _ACEOF
34188 done
34206 echo "$as_me:$LINENO: checking for long double round functions" >&5
34207 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
34208 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
34209 echo $ECHO_N "(cached) $ECHO_C" >&6
34210 else
34214 ac_ext=cc
34215 ac_cpp='$CXXCPP $CPPFLAGS'
34216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34220 cat >conftest.$ac_ext <<_ACEOF
34221 /* confdefs.h. */
34222 _ACEOF
34223 cat confdefs.h >>conftest.$ac_ext
34224 cat >>conftest.$ac_ext <<_ACEOF
34225 /* end confdefs.h. */
34226 #include <math.h>
34228 main ()
34230 ceill (0); floorl (0);
34232 return 0;
34234 _ACEOF
34235 rm -f conftest.$ac_objext
34236 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34237 (eval $ac_compile) 2>conftest.er1
34238 ac_status=$?
34239 grep -v '^ *+' conftest.er1 >conftest.err
34240 rm -f conftest.er1
34241 cat conftest.err >&5
34242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34243 (exit $ac_status); } &&
34244 { ac_try='test -z "$ac_cxx_werror_flag"
34245 || test ! -s conftest.err'
34246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34247 (eval $ac_try) 2>&5
34248 ac_status=$?
34249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34250 (exit $ac_status); }; } &&
34251 { ac_try='test -s conftest.$ac_objext'
34252 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34253 (eval $ac_try) 2>&5
34254 ac_status=$?
34255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34256 (exit $ac_status); }; }; then
34257 glibcxx_cv_func_long_double_round_use=yes
34258 else
34259 echo "$as_me: failed program was:" >&5
34260 sed 's/^/| /' conftest.$ac_ext >&5
34262 glibcxx_cv_func_long_double_round_use=no
34264 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34265 ac_ext=c
34266 ac_cpp='$CPP $CPPFLAGS'
34267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34273 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
34274 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
34275 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
34278 for ac_func in ceill floorl
34280 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34281 echo "$as_me:$LINENO: checking for $ac_func" >&5
34282 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34283 if eval "test \"\${$as_ac_var+set}\" = set"; then
34284 echo $ECHO_N "(cached) $ECHO_C" >&6
34285 else
34286 if test x$gcc_no_link = xyes; then
34287 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34288 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34289 { (exit 1); exit 1; }; }
34291 cat >conftest.$ac_ext <<_ACEOF
34292 /* confdefs.h. */
34293 _ACEOF
34294 cat confdefs.h >>conftest.$ac_ext
34295 cat >>conftest.$ac_ext <<_ACEOF
34296 /* end confdefs.h. */
34297 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34299 #define $ac_func innocuous_$ac_func
34301 /* System header to define __stub macros and hopefully few prototypes,
34302 which can conflict with char $ac_func (); below.
34303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34304 <limits.h> exists even on freestanding compilers. */
34306 #ifdef __STDC__
34307 # include <limits.h>
34308 #else
34309 # include <assert.h>
34310 #endif
34312 #undef $ac_func
34314 /* Override any gcc2 internal prototype to avoid an error. */
34315 #ifdef __cplusplus
34316 extern "C"
34318 #endif
34319 /* We use char because int might match the return type of a gcc2
34320 builtin and then its argument prototype would still apply. */
34321 char $ac_func ();
34322 /* The GNU C library defines this for functions which it implements
34323 to always fail with ENOSYS. Some functions are actually named
34324 something starting with __ and the normal name is an alias. */
34325 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34326 choke me
34327 #else
34328 char (*f) () = $ac_func;
34329 #endif
34330 #ifdef __cplusplus
34332 #endif
34335 main ()
34337 return f != $ac_func;
34339 return 0;
34341 _ACEOF
34342 rm -f conftest.$ac_objext conftest$ac_exeext
34343 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34344 (eval $ac_link) 2>conftest.er1
34345 ac_status=$?
34346 grep -v '^ *+' conftest.er1 >conftest.err
34347 rm -f conftest.er1
34348 cat conftest.err >&5
34349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34350 (exit $ac_status); } &&
34351 { ac_try='test -z "$ac_c_werror_flag"
34352 || test ! -s conftest.err'
34353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34354 (eval $ac_try) 2>&5
34355 ac_status=$?
34356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34357 (exit $ac_status); }; } &&
34358 { ac_try='test -s conftest$ac_exeext'
34359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34360 (eval $ac_try) 2>&5
34361 ac_status=$?
34362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34363 (exit $ac_status); }; }; then
34364 eval "$as_ac_var=yes"
34365 else
34366 echo "$as_me: failed program was:" >&5
34367 sed 's/^/| /' conftest.$ac_ext >&5
34369 eval "$as_ac_var=no"
34371 rm -f conftest.err conftest.$ac_objext \
34372 conftest$ac_exeext conftest.$ac_ext
34374 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34375 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34376 if test `eval echo '${'$as_ac_var'}'` = yes; then
34377 cat >>confdefs.h <<_ACEOF
34378 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34379 _ACEOF
34382 done
34384 else
34385 echo "$as_me:$LINENO: checking for _long double round functions" >&5
34386 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
34387 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
34388 echo $ECHO_N "(cached) $ECHO_C" >&6
34389 else
34393 ac_ext=cc
34394 ac_cpp='$CXXCPP $CPPFLAGS'
34395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34399 cat >conftest.$ac_ext <<_ACEOF
34400 /* confdefs.h. */
34401 _ACEOF
34402 cat confdefs.h >>conftest.$ac_ext
34403 cat >>conftest.$ac_ext <<_ACEOF
34404 /* end confdefs.h. */
34405 #include <math.h>
34407 main ()
34409 _ceill (0); _floorl (0);
34411 return 0;
34413 _ACEOF
34414 rm -f conftest.$ac_objext
34415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34416 (eval $ac_compile) 2>conftest.er1
34417 ac_status=$?
34418 grep -v '^ *+' conftest.er1 >conftest.err
34419 rm -f conftest.er1
34420 cat conftest.err >&5
34421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34422 (exit $ac_status); } &&
34423 { ac_try='test -z "$ac_cxx_werror_flag"
34424 || test ! -s conftest.err'
34425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34426 (eval $ac_try) 2>&5
34427 ac_status=$?
34428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34429 (exit $ac_status); }; } &&
34430 { ac_try='test -s conftest.$ac_objext'
34431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34432 (eval $ac_try) 2>&5
34433 ac_status=$?
34434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34435 (exit $ac_status); }; }; then
34436 glibcxx_cv_func__long_double_round_use=yes
34437 else
34438 echo "$as_me: failed program was:" >&5
34439 sed 's/^/| /' conftest.$ac_ext >&5
34441 glibcxx_cv_func__long_double_round_use=no
34443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34444 ac_ext=c
34445 ac_cpp='$CPP $CPPFLAGS'
34446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34452 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
34453 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
34454 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
34457 for ac_func in _ceill _floorl
34459 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34460 echo "$as_me:$LINENO: checking for $ac_func" >&5
34461 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34462 if eval "test \"\${$as_ac_var+set}\" = set"; then
34463 echo $ECHO_N "(cached) $ECHO_C" >&6
34464 else
34465 if test x$gcc_no_link = xyes; then
34466 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34467 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34468 { (exit 1); exit 1; }; }
34470 cat >conftest.$ac_ext <<_ACEOF
34471 /* confdefs.h. */
34472 _ACEOF
34473 cat confdefs.h >>conftest.$ac_ext
34474 cat >>conftest.$ac_ext <<_ACEOF
34475 /* end confdefs.h. */
34476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34478 #define $ac_func innocuous_$ac_func
34480 /* System header to define __stub macros and hopefully few prototypes,
34481 which can conflict with char $ac_func (); below.
34482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34483 <limits.h> exists even on freestanding compilers. */
34485 #ifdef __STDC__
34486 # include <limits.h>
34487 #else
34488 # include <assert.h>
34489 #endif
34491 #undef $ac_func
34493 /* Override any gcc2 internal prototype to avoid an error. */
34494 #ifdef __cplusplus
34495 extern "C"
34497 #endif
34498 /* We use char because int might match the return type of a gcc2
34499 builtin and then its argument prototype would still apply. */
34500 char $ac_func ();
34501 /* The GNU C library defines this for functions which it implements
34502 to always fail with ENOSYS. Some functions are actually named
34503 something starting with __ and the normal name is an alias. */
34504 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34505 choke me
34506 #else
34507 char (*f) () = $ac_func;
34508 #endif
34509 #ifdef __cplusplus
34511 #endif
34514 main ()
34516 return f != $ac_func;
34518 return 0;
34520 _ACEOF
34521 rm -f conftest.$ac_objext conftest$ac_exeext
34522 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34523 (eval $ac_link) 2>conftest.er1
34524 ac_status=$?
34525 grep -v '^ *+' conftest.er1 >conftest.err
34526 rm -f conftest.er1
34527 cat conftest.err >&5
34528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34529 (exit $ac_status); } &&
34530 { ac_try='test -z "$ac_c_werror_flag"
34531 || test ! -s conftest.err'
34532 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34533 (eval $ac_try) 2>&5
34534 ac_status=$?
34535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34536 (exit $ac_status); }; } &&
34537 { ac_try='test -s conftest$ac_exeext'
34538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34539 (eval $ac_try) 2>&5
34540 ac_status=$?
34541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34542 (exit $ac_status); }; }; then
34543 eval "$as_ac_var=yes"
34544 else
34545 echo "$as_me: failed program was:" >&5
34546 sed 's/^/| /' conftest.$ac_ext >&5
34548 eval "$as_ac_var=no"
34550 rm -f conftest.err conftest.$ac_objext \
34551 conftest$ac_exeext conftest.$ac_ext
34553 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34554 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34555 if test `eval echo '${'$as_ac_var'}'` = yes; then
34556 cat >>confdefs.h <<_ACEOF
34557 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34558 _ACEOF
34561 done
34573 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
34574 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
34575 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
34576 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 else
34582 ac_ext=cc
34583 ac_cpp='$CXXCPP $CPPFLAGS'
34584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34588 cat >conftest.$ac_ext <<_ACEOF
34589 /* confdefs.h. */
34590 _ACEOF
34591 cat confdefs.h >>conftest.$ac_ext
34592 cat >>conftest.$ac_ext <<_ACEOF
34593 /* end confdefs.h. */
34594 #include <math.h>
34595 #ifdef HAVE_IEEEFP_H
34596 #include <ieeefp.h>
34597 #endif
34600 main ()
34602 isnanl(0);
34604 return 0;
34606 _ACEOF
34607 rm -f conftest.$ac_objext
34608 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34609 (eval $ac_compile) 2>conftest.er1
34610 ac_status=$?
34611 grep -v '^ *+' conftest.er1 >conftest.err
34612 rm -f conftest.er1
34613 cat conftest.err >&5
34614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34615 (exit $ac_status); } &&
34616 { ac_try='test -z "$ac_cxx_werror_flag"
34617 || test ! -s conftest.err'
34618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34619 (eval $ac_try) 2>&5
34620 ac_status=$?
34621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34622 (exit $ac_status); }; } &&
34623 { ac_try='test -s conftest.$ac_objext'
34624 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34625 (eval $ac_try) 2>&5
34626 ac_status=$?
34627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34628 (exit $ac_status); }; }; then
34629 glibcxx_cv_func_isnanl_use=yes
34630 else
34631 echo "$as_me: failed program was:" >&5
34632 sed 's/^/| /' conftest.$ac_ext >&5
34634 glibcxx_cv_func_isnanl_use=no
34636 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34637 ac_ext=c
34638 ac_cpp='$CPP $CPPFLAGS'
34639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34647 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
34648 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
34650 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
34652 for ac_func in isnanl
34654 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34655 echo "$as_me:$LINENO: checking for $ac_func" >&5
34656 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34657 if eval "test \"\${$as_ac_var+set}\" = set"; then
34658 echo $ECHO_N "(cached) $ECHO_C" >&6
34659 else
34660 if test x$gcc_no_link = xyes; then
34661 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34662 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34663 { (exit 1); exit 1; }; }
34665 cat >conftest.$ac_ext <<_ACEOF
34666 /* confdefs.h. */
34667 _ACEOF
34668 cat confdefs.h >>conftest.$ac_ext
34669 cat >>conftest.$ac_ext <<_ACEOF
34670 /* end confdefs.h. */
34671 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34673 #define $ac_func innocuous_$ac_func
34675 /* System header to define __stub macros and hopefully few prototypes,
34676 which can conflict with char $ac_func (); below.
34677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34678 <limits.h> exists even on freestanding compilers. */
34680 #ifdef __STDC__
34681 # include <limits.h>
34682 #else
34683 # include <assert.h>
34684 #endif
34686 #undef $ac_func
34688 /* Override any gcc2 internal prototype to avoid an error. */
34689 #ifdef __cplusplus
34690 extern "C"
34692 #endif
34693 /* We use char because int might match the return type of a gcc2
34694 builtin and then its argument prototype would still apply. */
34695 char $ac_func ();
34696 /* The GNU C library defines this for functions which it implements
34697 to always fail with ENOSYS. Some functions are actually named
34698 something starting with __ and the normal name is an alias. */
34699 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34700 choke me
34701 #else
34702 char (*f) () = $ac_func;
34703 #endif
34704 #ifdef __cplusplus
34706 #endif
34709 main ()
34711 return f != $ac_func;
34713 return 0;
34715 _ACEOF
34716 rm -f conftest.$ac_objext conftest$ac_exeext
34717 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34718 (eval $ac_link) 2>conftest.er1
34719 ac_status=$?
34720 grep -v '^ *+' conftest.er1 >conftest.err
34721 rm -f conftest.er1
34722 cat conftest.err >&5
34723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34724 (exit $ac_status); } &&
34725 { ac_try='test -z "$ac_c_werror_flag"
34726 || test ! -s conftest.err'
34727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34728 (eval $ac_try) 2>&5
34729 ac_status=$?
34730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34731 (exit $ac_status); }; } &&
34732 { ac_try='test -s conftest$ac_exeext'
34733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34734 (eval $ac_try) 2>&5
34735 ac_status=$?
34736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34737 (exit $ac_status); }; }; then
34738 eval "$as_ac_var=yes"
34739 else
34740 echo "$as_me: failed program was:" >&5
34741 sed 's/^/| /' conftest.$ac_ext >&5
34743 eval "$as_ac_var=no"
34745 rm -f conftest.err conftest.$ac_objext \
34746 conftest$ac_exeext conftest.$ac_ext
34748 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34749 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34750 if test `eval echo '${'$as_ac_var'}'` = yes; then
34751 cat >>confdefs.h <<_ACEOF
34752 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34753 _ACEOF
34756 done
34758 else
34760 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
34761 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
34762 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
34763 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
34764 echo $ECHO_N "(cached) $ECHO_C" >&6
34765 else
34769 ac_ext=cc
34770 ac_cpp='$CXXCPP $CPPFLAGS'
34771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34775 cat >conftest.$ac_ext <<_ACEOF
34776 /* confdefs.h. */
34777 _ACEOF
34778 cat confdefs.h >>conftest.$ac_ext
34779 cat >>conftest.$ac_ext <<_ACEOF
34780 /* end confdefs.h. */
34781 #include <math.h>
34782 #ifdef HAVE_IEEEFP_H
34783 #include <ieeefp.h>
34784 #endif
34787 main ()
34789 _isnanl(0);
34791 return 0;
34793 _ACEOF
34794 rm -f conftest.$ac_objext
34795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34796 (eval $ac_compile) 2>conftest.er1
34797 ac_status=$?
34798 grep -v '^ *+' conftest.er1 >conftest.err
34799 rm -f conftest.er1
34800 cat conftest.err >&5
34801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34802 (exit $ac_status); } &&
34803 { ac_try='test -z "$ac_cxx_werror_flag"
34804 || test ! -s conftest.err'
34805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34806 (eval $ac_try) 2>&5
34807 ac_status=$?
34808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34809 (exit $ac_status); }; } &&
34810 { ac_try='test -s conftest.$ac_objext'
34811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34812 (eval $ac_try) 2>&5
34813 ac_status=$?
34814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34815 (exit $ac_status); }; }; then
34816 glibcxx_cv_func__isnanl_use=yes
34817 else
34818 echo "$as_me: failed program was:" >&5
34819 sed 's/^/| /' conftest.$ac_ext >&5
34821 glibcxx_cv_func__isnanl_use=no
34823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
34824 ac_ext=c
34825 ac_cpp='$CPP $CPPFLAGS'
34826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
34835 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
34837 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
34839 for ac_func in _isnanl
34841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34842 echo "$as_me:$LINENO: checking for $ac_func" >&5
34843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
34844 if eval "test \"\${$as_ac_var+set}\" = set"; then
34845 echo $ECHO_N "(cached) $ECHO_C" >&6
34846 else
34847 if test x$gcc_no_link = xyes; then
34848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
34849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
34850 { (exit 1); exit 1; }; }
34852 cat >conftest.$ac_ext <<_ACEOF
34853 /* confdefs.h. */
34854 _ACEOF
34855 cat confdefs.h >>conftest.$ac_ext
34856 cat >>conftest.$ac_ext <<_ACEOF
34857 /* end confdefs.h. */
34858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34860 #define $ac_func innocuous_$ac_func
34862 /* System header to define __stub macros and hopefully few prototypes,
34863 which can conflict with char $ac_func (); below.
34864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34865 <limits.h> exists even on freestanding compilers. */
34867 #ifdef __STDC__
34868 # include <limits.h>
34869 #else
34870 # include <assert.h>
34871 #endif
34873 #undef $ac_func
34875 /* Override any gcc2 internal prototype to avoid an error. */
34876 #ifdef __cplusplus
34877 extern "C"
34879 #endif
34880 /* We use char because int might match the return type of a gcc2
34881 builtin and then its argument prototype would still apply. */
34882 char $ac_func ();
34883 /* The GNU C library defines this for functions which it implements
34884 to always fail with ENOSYS. Some functions are actually named
34885 something starting with __ and the normal name is an alias. */
34886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
34887 choke me
34888 #else
34889 char (*f) () = $ac_func;
34890 #endif
34891 #ifdef __cplusplus
34893 #endif
34896 main ()
34898 return f != $ac_func;
34900 return 0;
34902 _ACEOF
34903 rm -f conftest.$ac_objext conftest$ac_exeext
34904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
34905 (eval $ac_link) 2>conftest.er1
34906 ac_status=$?
34907 grep -v '^ *+' conftest.er1 >conftest.err
34908 rm -f conftest.er1
34909 cat conftest.err >&5
34910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34911 (exit $ac_status); } &&
34912 { ac_try='test -z "$ac_c_werror_flag"
34913 || test ! -s conftest.err'
34914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34915 (eval $ac_try) 2>&5
34916 ac_status=$?
34917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34918 (exit $ac_status); }; } &&
34919 { ac_try='test -s conftest$ac_exeext'
34920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34921 (eval $ac_try) 2>&5
34922 ac_status=$?
34923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34924 (exit $ac_status); }; }; then
34925 eval "$as_ac_var=yes"
34926 else
34927 echo "$as_me: failed program was:" >&5
34928 sed 's/^/| /' conftest.$ac_ext >&5
34930 eval "$as_ac_var=no"
34932 rm -f conftest.err conftest.$ac_objext \
34933 conftest$ac_exeext conftest.$ac_ext
34935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
34936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
34937 if test `eval echo '${'$as_ac_var'}'` = yes; then
34938 cat >>confdefs.h <<_ACEOF
34939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34940 _ACEOF
34943 done
34953 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
34954 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
34955 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
34956 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
34957 echo $ECHO_N "(cached) $ECHO_C" >&6
34958 else
34962 ac_ext=cc
34963 ac_cpp='$CXXCPP $CPPFLAGS'
34964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34968 cat >conftest.$ac_ext <<_ACEOF
34969 /* confdefs.h. */
34970 _ACEOF
34971 cat confdefs.h >>conftest.$ac_ext
34972 cat >>conftest.$ac_ext <<_ACEOF
34973 /* end confdefs.h. */
34974 #include <math.h>
34975 #ifdef HAVE_IEEEFP_H
34976 #include <ieeefp.h>
34977 #endif
34980 main ()
34982 isinfl(0);
34984 return 0;
34986 _ACEOF
34987 rm -f conftest.$ac_objext
34988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
34989 (eval $ac_compile) 2>conftest.er1
34990 ac_status=$?
34991 grep -v '^ *+' conftest.er1 >conftest.err
34992 rm -f conftest.er1
34993 cat conftest.err >&5
34994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34995 (exit $ac_status); } &&
34996 { ac_try='test -z "$ac_cxx_werror_flag"
34997 || test ! -s conftest.err'
34998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
34999 (eval $ac_try) 2>&5
35000 ac_status=$?
35001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35002 (exit $ac_status); }; } &&
35003 { ac_try='test -s conftest.$ac_objext'
35004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35005 (eval $ac_try) 2>&5
35006 ac_status=$?
35007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35008 (exit $ac_status); }; }; then
35009 glibcxx_cv_func_isinfl_use=yes
35010 else
35011 echo "$as_me: failed program was:" >&5
35012 sed 's/^/| /' conftest.$ac_ext >&5
35014 glibcxx_cv_func_isinfl_use=no
35016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35017 ac_ext=c
35018 ac_cpp='$CPP $CPPFLAGS'
35019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
35028 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
35030 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
35032 for ac_func in isinfl
35034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35035 echo "$as_me:$LINENO: checking for $ac_func" >&5
35036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35037 if eval "test \"\${$as_ac_var+set}\" = set"; then
35038 echo $ECHO_N "(cached) $ECHO_C" >&6
35039 else
35040 if test x$gcc_no_link = xyes; then
35041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35043 { (exit 1); exit 1; }; }
35045 cat >conftest.$ac_ext <<_ACEOF
35046 /* confdefs.h. */
35047 _ACEOF
35048 cat confdefs.h >>conftest.$ac_ext
35049 cat >>conftest.$ac_ext <<_ACEOF
35050 /* end confdefs.h. */
35051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35053 #define $ac_func innocuous_$ac_func
35055 /* System header to define __stub macros and hopefully few prototypes,
35056 which can conflict with char $ac_func (); below.
35057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35058 <limits.h> exists even on freestanding compilers. */
35060 #ifdef __STDC__
35061 # include <limits.h>
35062 #else
35063 # include <assert.h>
35064 #endif
35066 #undef $ac_func
35068 /* Override any gcc2 internal prototype to avoid an error. */
35069 #ifdef __cplusplus
35070 extern "C"
35072 #endif
35073 /* We use char because int might match the return type of a gcc2
35074 builtin and then its argument prototype would still apply. */
35075 char $ac_func ();
35076 /* The GNU C library defines this for functions which it implements
35077 to always fail with ENOSYS. Some functions are actually named
35078 something starting with __ and the normal name is an alias. */
35079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35080 choke me
35081 #else
35082 char (*f) () = $ac_func;
35083 #endif
35084 #ifdef __cplusplus
35086 #endif
35089 main ()
35091 return f != $ac_func;
35093 return 0;
35095 _ACEOF
35096 rm -f conftest.$ac_objext conftest$ac_exeext
35097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35098 (eval $ac_link) 2>conftest.er1
35099 ac_status=$?
35100 grep -v '^ *+' conftest.er1 >conftest.err
35101 rm -f conftest.er1
35102 cat conftest.err >&5
35103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35104 (exit $ac_status); } &&
35105 { ac_try='test -z "$ac_c_werror_flag"
35106 || test ! -s conftest.err'
35107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35108 (eval $ac_try) 2>&5
35109 ac_status=$?
35110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35111 (exit $ac_status); }; } &&
35112 { ac_try='test -s conftest$ac_exeext'
35113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35114 (eval $ac_try) 2>&5
35115 ac_status=$?
35116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35117 (exit $ac_status); }; }; then
35118 eval "$as_ac_var=yes"
35119 else
35120 echo "$as_me: failed program was:" >&5
35121 sed 's/^/| /' conftest.$ac_ext >&5
35123 eval "$as_ac_var=no"
35125 rm -f conftest.err conftest.$ac_objext \
35126 conftest$ac_exeext conftest.$ac_ext
35128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35130 if test `eval echo '${'$as_ac_var'}'` = yes; then
35131 cat >>confdefs.h <<_ACEOF
35132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35133 _ACEOF
35136 done
35138 else
35140 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
35141 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
35142 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
35143 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
35144 echo $ECHO_N "(cached) $ECHO_C" >&6
35145 else
35149 ac_ext=cc
35150 ac_cpp='$CXXCPP $CPPFLAGS'
35151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35155 cat >conftest.$ac_ext <<_ACEOF
35156 /* confdefs.h. */
35157 _ACEOF
35158 cat confdefs.h >>conftest.$ac_ext
35159 cat >>conftest.$ac_ext <<_ACEOF
35160 /* end confdefs.h. */
35161 #include <math.h>
35162 #ifdef HAVE_IEEEFP_H
35163 #include <ieeefp.h>
35164 #endif
35167 main ()
35169 _isinfl(0);
35171 return 0;
35173 _ACEOF
35174 rm -f conftest.$ac_objext
35175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35176 (eval $ac_compile) 2>conftest.er1
35177 ac_status=$?
35178 grep -v '^ *+' conftest.er1 >conftest.err
35179 rm -f conftest.er1
35180 cat conftest.err >&5
35181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35182 (exit $ac_status); } &&
35183 { ac_try='test -z "$ac_cxx_werror_flag"
35184 || test ! -s conftest.err'
35185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35186 (eval $ac_try) 2>&5
35187 ac_status=$?
35188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35189 (exit $ac_status); }; } &&
35190 { ac_try='test -s conftest.$ac_objext'
35191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35192 (eval $ac_try) 2>&5
35193 ac_status=$?
35194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35195 (exit $ac_status); }; }; then
35196 glibcxx_cv_func__isinfl_use=yes
35197 else
35198 echo "$as_me: failed program was:" >&5
35199 sed 's/^/| /' conftest.$ac_ext >&5
35201 glibcxx_cv_func__isinfl_use=no
35203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35204 ac_ext=c
35205 ac_cpp='$CPP $CPPFLAGS'
35206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
35215 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
35217 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
35219 for ac_func in _isinfl
35221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35222 echo "$as_me:$LINENO: checking for $ac_func" >&5
35223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35224 if eval "test \"\${$as_ac_var+set}\" = set"; then
35225 echo $ECHO_N "(cached) $ECHO_C" >&6
35226 else
35227 if test x$gcc_no_link = xyes; then
35228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35230 { (exit 1); exit 1; }; }
35232 cat >conftest.$ac_ext <<_ACEOF
35233 /* confdefs.h. */
35234 _ACEOF
35235 cat confdefs.h >>conftest.$ac_ext
35236 cat >>conftest.$ac_ext <<_ACEOF
35237 /* end confdefs.h. */
35238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35240 #define $ac_func innocuous_$ac_func
35242 /* System header to define __stub macros and hopefully few prototypes,
35243 which can conflict with char $ac_func (); below.
35244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35245 <limits.h> exists even on freestanding compilers. */
35247 #ifdef __STDC__
35248 # include <limits.h>
35249 #else
35250 # include <assert.h>
35251 #endif
35253 #undef $ac_func
35255 /* Override any gcc2 internal prototype to avoid an error. */
35256 #ifdef __cplusplus
35257 extern "C"
35259 #endif
35260 /* We use char because int might match the return type of a gcc2
35261 builtin and then its argument prototype would still apply. */
35262 char $ac_func ();
35263 /* The GNU C library defines this for functions which it implements
35264 to always fail with ENOSYS. Some functions are actually named
35265 something starting with __ and the normal name is an alias. */
35266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35267 choke me
35268 #else
35269 char (*f) () = $ac_func;
35270 #endif
35271 #ifdef __cplusplus
35273 #endif
35276 main ()
35278 return f != $ac_func;
35280 return 0;
35282 _ACEOF
35283 rm -f conftest.$ac_objext conftest$ac_exeext
35284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35285 (eval $ac_link) 2>conftest.er1
35286 ac_status=$?
35287 grep -v '^ *+' conftest.er1 >conftest.err
35288 rm -f conftest.er1
35289 cat conftest.err >&5
35290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35291 (exit $ac_status); } &&
35292 { ac_try='test -z "$ac_c_werror_flag"
35293 || test ! -s conftest.err'
35294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35295 (eval $ac_try) 2>&5
35296 ac_status=$?
35297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35298 (exit $ac_status); }; } &&
35299 { ac_try='test -s conftest$ac_exeext'
35300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35301 (eval $ac_try) 2>&5
35302 ac_status=$?
35303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35304 (exit $ac_status); }; }; then
35305 eval "$as_ac_var=yes"
35306 else
35307 echo "$as_me: failed program was:" >&5
35308 sed 's/^/| /' conftest.$ac_ext >&5
35310 eval "$as_ac_var=no"
35312 rm -f conftest.err conftest.$ac_objext \
35313 conftest$ac_exeext conftest.$ac_ext
35315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35317 if test `eval echo '${'$as_ac_var'}'` = yes; then
35318 cat >>confdefs.h <<_ACEOF
35319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35320 _ACEOF
35323 done
35333 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
35334 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
35335 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
35336 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
35337 echo $ECHO_N "(cached) $ECHO_C" >&6
35338 else
35342 ac_ext=cc
35343 ac_cpp='$CXXCPP $CPPFLAGS'
35344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35348 cat >conftest.$ac_ext <<_ACEOF
35349 /* confdefs.h. */
35350 _ACEOF
35351 cat confdefs.h >>conftest.$ac_ext
35352 cat >>conftest.$ac_ext <<_ACEOF
35353 /* end confdefs.h. */
35354 #include <math.h>
35356 main ()
35358 atan2l(0, 0);
35360 return 0;
35362 _ACEOF
35363 rm -f conftest.$ac_objext
35364 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35365 (eval $ac_compile) 2>conftest.er1
35366 ac_status=$?
35367 grep -v '^ *+' conftest.er1 >conftest.err
35368 rm -f conftest.er1
35369 cat conftest.err >&5
35370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35371 (exit $ac_status); } &&
35372 { ac_try='test -z "$ac_cxx_werror_flag"
35373 || test ! -s conftest.err'
35374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35375 (eval $ac_try) 2>&5
35376 ac_status=$?
35377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35378 (exit $ac_status); }; } &&
35379 { ac_try='test -s conftest.$ac_objext'
35380 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35381 (eval $ac_try) 2>&5
35382 ac_status=$?
35383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35384 (exit $ac_status); }; }; then
35385 glibcxx_cv_func_atan2l_use=yes
35386 else
35387 echo "$as_me: failed program was:" >&5
35388 sed 's/^/| /' conftest.$ac_ext >&5
35390 glibcxx_cv_func_atan2l_use=no
35392 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35393 ac_ext=c
35394 ac_cpp='$CPP $CPPFLAGS'
35395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35403 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
35404 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
35406 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
35408 for ac_func in atan2l
35410 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35411 echo "$as_me:$LINENO: checking for $ac_func" >&5
35412 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35413 if eval "test \"\${$as_ac_var+set}\" = set"; then
35414 echo $ECHO_N "(cached) $ECHO_C" >&6
35415 else
35416 if test x$gcc_no_link = xyes; then
35417 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35418 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35419 { (exit 1); exit 1; }; }
35421 cat >conftest.$ac_ext <<_ACEOF
35422 /* confdefs.h. */
35423 _ACEOF
35424 cat confdefs.h >>conftest.$ac_ext
35425 cat >>conftest.$ac_ext <<_ACEOF
35426 /* end confdefs.h. */
35427 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35428 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35429 #define $ac_func innocuous_$ac_func
35431 /* System header to define __stub macros and hopefully few prototypes,
35432 which can conflict with char $ac_func (); below.
35433 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35434 <limits.h> exists even on freestanding compilers. */
35436 #ifdef __STDC__
35437 # include <limits.h>
35438 #else
35439 # include <assert.h>
35440 #endif
35442 #undef $ac_func
35444 /* Override any gcc2 internal prototype to avoid an error. */
35445 #ifdef __cplusplus
35446 extern "C"
35448 #endif
35449 /* We use char because int might match the return type of a gcc2
35450 builtin and then its argument prototype would still apply. */
35451 char $ac_func ();
35452 /* The GNU C library defines this for functions which it implements
35453 to always fail with ENOSYS. Some functions are actually named
35454 something starting with __ and the normal name is an alias. */
35455 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35456 choke me
35457 #else
35458 char (*f) () = $ac_func;
35459 #endif
35460 #ifdef __cplusplus
35462 #endif
35465 main ()
35467 return f != $ac_func;
35469 return 0;
35471 _ACEOF
35472 rm -f conftest.$ac_objext conftest$ac_exeext
35473 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35474 (eval $ac_link) 2>conftest.er1
35475 ac_status=$?
35476 grep -v '^ *+' conftest.er1 >conftest.err
35477 rm -f conftest.er1
35478 cat conftest.err >&5
35479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35480 (exit $ac_status); } &&
35481 { ac_try='test -z "$ac_c_werror_flag"
35482 || test ! -s conftest.err'
35483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35484 (eval $ac_try) 2>&5
35485 ac_status=$?
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); }; } &&
35488 { ac_try='test -s conftest$ac_exeext'
35489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35490 (eval $ac_try) 2>&5
35491 ac_status=$?
35492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35493 (exit $ac_status); }; }; then
35494 eval "$as_ac_var=yes"
35495 else
35496 echo "$as_me: failed program was:" >&5
35497 sed 's/^/| /' conftest.$ac_ext >&5
35499 eval "$as_ac_var=no"
35501 rm -f conftest.err conftest.$ac_objext \
35502 conftest$ac_exeext conftest.$ac_ext
35504 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35505 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35506 if test `eval echo '${'$as_ac_var'}'` = yes; then
35507 cat >>confdefs.h <<_ACEOF
35508 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35509 _ACEOF
35512 done
35514 else
35516 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
35517 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
35518 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
35519 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
35520 echo $ECHO_N "(cached) $ECHO_C" >&6
35521 else
35525 ac_ext=cc
35526 ac_cpp='$CXXCPP $CPPFLAGS'
35527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35531 cat >conftest.$ac_ext <<_ACEOF
35532 /* confdefs.h. */
35533 _ACEOF
35534 cat confdefs.h >>conftest.$ac_ext
35535 cat >>conftest.$ac_ext <<_ACEOF
35536 /* end confdefs.h. */
35537 #include <math.h>
35539 main ()
35541 _atan2l(0, 0);
35543 return 0;
35545 _ACEOF
35546 rm -f conftest.$ac_objext
35547 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35548 (eval $ac_compile) 2>conftest.er1
35549 ac_status=$?
35550 grep -v '^ *+' conftest.er1 >conftest.err
35551 rm -f conftest.er1
35552 cat conftest.err >&5
35553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35554 (exit $ac_status); } &&
35555 { ac_try='test -z "$ac_cxx_werror_flag"
35556 || test ! -s conftest.err'
35557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35558 (eval $ac_try) 2>&5
35559 ac_status=$?
35560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35561 (exit $ac_status); }; } &&
35562 { ac_try='test -s conftest.$ac_objext'
35563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35564 (eval $ac_try) 2>&5
35565 ac_status=$?
35566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35567 (exit $ac_status); }; }; then
35568 glibcxx_cv_func__atan2l_use=yes
35569 else
35570 echo "$as_me: failed program was:" >&5
35571 sed 's/^/| /' conftest.$ac_ext >&5
35573 glibcxx_cv_func__atan2l_use=no
35575 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35576 ac_ext=c
35577 ac_cpp='$CPP $CPPFLAGS'
35578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35586 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
35587 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
35589 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
35591 for ac_func in _atan2l
35593 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35594 echo "$as_me:$LINENO: checking for $ac_func" >&5
35595 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35596 if eval "test \"\${$as_ac_var+set}\" = set"; then
35597 echo $ECHO_N "(cached) $ECHO_C" >&6
35598 else
35599 if test x$gcc_no_link = xyes; then
35600 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35601 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35602 { (exit 1); exit 1; }; }
35604 cat >conftest.$ac_ext <<_ACEOF
35605 /* confdefs.h. */
35606 _ACEOF
35607 cat confdefs.h >>conftest.$ac_ext
35608 cat >>conftest.$ac_ext <<_ACEOF
35609 /* end confdefs.h. */
35610 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35611 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35612 #define $ac_func innocuous_$ac_func
35614 /* System header to define __stub macros and hopefully few prototypes,
35615 which can conflict with char $ac_func (); below.
35616 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35617 <limits.h> exists even on freestanding compilers. */
35619 #ifdef __STDC__
35620 # include <limits.h>
35621 #else
35622 # include <assert.h>
35623 #endif
35625 #undef $ac_func
35627 /* Override any gcc2 internal prototype to avoid an error. */
35628 #ifdef __cplusplus
35629 extern "C"
35631 #endif
35632 /* We use char because int might match the return type of a gcc2
35633 builtin and then its argument prototype would still apply. */
35634 char $ac_func ();
35635 /* The GNU C library defines this for functions which it implements
35636 to always fail with ENOSYS. Some functions are actually named
35637 something starting with __ and the normal name is an alias. */
35638 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35639 choke me
35640 #else
35641 char (*f) () = $ac_func;
35642 #endif
35643 #ifdef __cplusplus
35645 #endif
35648 main ()
35650 return f != $ac_func;
35652 return 0;
35654 _ACEOF
35655 rm -f conftest.$ac_objext conftest$ac_exeext
35656 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35657 (eval $ac_link) 2>conftest.er1
35658 ac_status=$?
35659 grep -v '^ *+' conftest.er1 >conftest.err
35660 rm -f conftest.er1
35661 cat conftest.err >&5
35662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35663 (exit $ac_status); } &&
35664 { ac_try='test -z "$ac_c_werror_flag"
35665 || test ! -s conftest.err'
35666 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35667 (eval $ac_try) 2>&5
35668 ac_status=$?
35669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35670 (exit $ac_status); }; } &&
35671 { ac_try='test -s conftest$ac_exeext'
35672 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35673 (eval $ac_try) 2>&5
35674 ac_status=$?
35675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35676 (exit $ac_status); }; }; then
35677 eval "$as_ac_var=yes"
35678 else
35679 echo "$as_me: failed program was:" >&5
35680 sed 's/^/| /' conftest.$ac_ext >&5
35682 eval "$as_ac_var=no"
35684 rm -f conftest.err conftest.$ac_objext \
35685 conftest$ac_exeext conftest.$ac_ext
35687 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35688 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35689 if test `eval echo '${'$as_ac_var'}'` = yes; then
35690 cat >>confdefs.h <<_ACEOF
35691 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35692 _ACEOF
35695 done
35705 echo "$as_me:$LINENO: checking for expl declaration" >&5
35706 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
35707 if test x${glibcxx_cv_func_expl_use+set} != xset; then
35708 if test "${glibcxx_cv_func_expl_use+set}" = set; then
35709 echo $ECHO_N "(cached) $ECHO_C" >&6
35710 else
35714 ac_ext=cc
35715 ac_cpp='$CXXCPP $CPPFLAGS'
35716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35720 cat >conftest.$ac_ext <<_ACEOF
35721 /* confdefs.h. */
35722 _ACEOF
35723 cat confdefs.h >>conftest.$ac_ext
35724 cat >>conftest.$ac_ext <<_ACEOF
35725 /* end confdefs.h. */
35726 #include <math.h>
35727 #ifdef HAVE_IEEEFP_H
35728 #include <ieeefp.h>
35729 #endif
35732 main ()
35734 expl(0);
35736 return 0;
35738 _ACEOF
35739 rm -f conftest.$ac_objext
35740 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35741 (eval $ac_compile) 2>conftest.er1
35742 ac_status=$?
35743 grep -v '^ *+' conftest.er1 >conftest.err
35744 rm -f conftest.er1
35745 cat conftest.err >&5
35746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35747 (exit $ac_status); } &&
35748 { ac_try='test -z "$ac_cxx_werror_flag"
35749 || test ! -s conftest.err'
35750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35751 (eval $ac_try) 2>&5
35752 ac_status=$?
35753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35754 (exit $ac_status); }; } &&
35755 { ac_try='test -s conftest.$ac_objext'
35756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35757 (eval $ac_try) 2>&5
35758 ac_status=$?
35759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35760 (exit $ac_status); }; }; then
35761 glibcxx_cv_func_expl_use=yes
35762 else
35763 echo "$as_me: failed program was:" >&5
35764 sed 's/^/| /' conftest.$ac_ext >&5
35766 glibcxx_cv_func_expl_use=no
35768 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35769 ac_ext=c
35770 ac_cpp='$CPP $CPPFLAGS'
35771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
35780 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
35782 if test x$glibcxx_cv_func_expl_use = x"yes"; then
35784 for ac_func in expl
35786 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35787 echo "$as_me:$LINENO: checking for $ac_func" >&5
35788 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35789 if eval "test \"\${$as_ac_var+set}\" = set"; then
35790 echo $ECHO_N "(cached) $ECHO_C" >&6
35791 else
35792 if test x$gcc_no_link = xyes; then
35793 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35794 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35795 { (exit 1); exit 1; }; }
35797 cat >conftest.$ac_ext <<_ACEOF
35798 /* confdefs.h. */
35799 _ACEOF
35800 cat confdefs.h >>conftest.$ac_ext
35801 cat >>conftest.$ac_ext <<_ACEOF
35802 /* end confdefs.h. */
35803 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35804 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35805 #define $ac_func innocuous_$ac_func
35807 /* System header to define __stub macros and hopefully few prototypes,
35808 which can conflict with char $ac_func (); below.
35809 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35810 <limits.h> exists even on freestanding compilers. */
35812 #ifdef __STDC__
35813 # include <limits.h>
35814 #else
35815 # include <assert.h>
35816 #endif
35818 #undef $ac_func
35820 /* Override any gcc2 internal prototype to avoid an error. */
35821 #ifdef __cplusplus
35822 extern "C"
35824 #endif
35825 /* We use char because int might match the return type of a gcc2
35826 builtin and then its argument prototype would still apply. */
35827 char $ac_func ();
35828 /* The GNU C library defines this for functions which it implements
35829 to always fail with ENOSYS. Some functions are actually named
35830 something starting with __ and the normal name is an alias. */
35831 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
35832 choke me
35833 #else
35834 char (*f) () = $ac_func;
35835 #endif
35836 #ifdef __cplusplus
35838 #endif
35841 main ()
35843 return f != $ac_func;
35845 return 0;
35847 _ACEOF
35848 rm -f conftest.$ac_objext conftest$ac_exeext
35849 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
35850 (eval $ac_link) 2>conftest.er1
35851 ac_status=$?
35852 grep -v '^ *+' conftest.er1 >conftest.err
35853 rm -f conftest.er1
35854 cat conftest.err >&5
35855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35856 (exit $ac_status); } &&
35857 { ac_try='test -z "$ac_c_werror_flag"
35858 || test ! -s conftest.err'
35859 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35860 (eval $ac_try) 2>&5
35861 ac_status=$?
35862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35863 (exit $ac_status); }; } &&
35864 { ac_try='test -s conftest$ac_exeext'
35865 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35866 (eval $ac_try) 2>&5
35867 ac_status=$?
35868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869 (exit $ac_status); }; }; then
35870 eval "$as_ac_var=yes"
35871 else
35872 echo "$as_me: failed program was:" >&5
35873 sed 's/^/| /' conftest.$ac_ext >&5
35875 eval "$as_ac_var=no"
35877 rm -f conftest.err conftest.$ac_objext \
35878 conftest$ac_exeext conftest.$ac_ext
35880 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
35881 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
35882 if test `eval echo '${'$as_ac_var'}'` = yes; then
35883 cat >>confdefs.h <<_ACEOF
35884 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35885 _ACEOF
35888 done
35890 else
35892 echo "$as_me:$LINENO: checking for _expl declaration" >&5
35893 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
35894 if test x${glibcxx_cv_func__expl_use+set} != xset; then
35895 if test "${glibcxx_cv_func__expl_use+set}" = set; then
35896 echo $ECHO_N "(cached) $ECHO_C" >&6
35897 else
35901 ac_ext=cc
35902 ac_cpp='$CXXCPP $CPPFLAGS'
35903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35907 cat >conftest.$ac_ext <<_ACEOF
35908 /* confdefs.h. */
35909 _ACEOF
35910 cat confdefs.h >>conftest.$ac_ext
35911 cat >>conftest.$ac_ext <<_ACEOF
35912 /* end confdefs.h. */
35913 #include <math.h>
35914 #ifdef HAVE_IEEEFP_H
35915 #include <ieeefp.h>
35916 #endif
35919 main ()
35921 _expl(0);
35923 return 0;
35925 _ACEOF
35926 rm -f conftest.$ac_objext
35927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
35928 (eval $ac_compile) 2>conftest.er1
35929 ac_status=$?
35930 grep -v '^ *+' conftest.er1 >conftest.err
35931 rm -f conftest.er1
35932 cat conftest.err >&5
35933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35934 (exit $ac_status); } &&
35935 { ac_try='test -z "$ac_cxx_werror_flag"
35936 || test ! -s conftest.err'
35937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35938 (eval $ac_try) 2>&5
35939 ac_status=$?
35940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35941 (exit $ac_status); }; } &&
35942 { ac_try='test -s conftest.$ac_objext'
35943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
35944 (eval $ac_try) 2>&5
35945 ac_status=$?
35946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35947 (exit $ac_status); }; }; then
35948 glibcxx_cv_func__expl_use=yes
35949 else
35950 echo "$as_me: failed program was:" >&5
35951 sed 's/^/| /' conftest.$ac_ext >&5
35953 glibcxx_cv_func__expl_use=no
35955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
35956 ac_ext=c
35957 ac_cpp='$CPP $CPPFLAGS'
35958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
35967 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
35969 if test x$glibcxx_cv_func__expl_use = x"yes"; then
35971 for ac_func in _expl
35973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35974 echo "$as_me:$LINENO: checking for $ac_func" >&5
35975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
35976 if eval "test \"\${$as_ac_var+set}\" = set"; then
35977 echo $ECHO_N "(cached) $ECHO_C" >&6
35978 else
35979 if test x$gcc_no_link = xyes; then
35980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
35981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
35982 { (exit 1); exit 1; }; }
35984 cat >conftest.$ac_ext <<_ACEOF
35985 /* confdefs.h. */
35986 _ACEOF
35987 cat confdefs.h >>conftest.$ac_ext
35988 cat >>conftest.$ac_ext <<_ACEOF
35989 /* end confdefs.h. */
35990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35992 #define $ac_func innocuous_$ac_func
35994 /* System header to define __stub macros and hopefully few prototypes,
35995 which can conflict with char $ac_func (); below.
35996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35997 <limits.h> exists even on freestanding compilers. */
35999 #ifdef __STDC__
36000 # include <limits.h>
36001 #else
36002 # include <assert.h>
36003 #endif
36005 #undef $ac_func
36007 /* Override any gcc2 internal prototype to avoid an error. */
36008 #ifdef __cplusplus
36009 extern "C"
36011 #endif
36012 /* We use char because int might match the return type of a gcc2
36013 builtin and then its argument prototype would still apply. */
36014 char $ac_func ();
36015 /* The GNU C library defines this for functions which it implements
36016 to always fail with ENOSYS. Some functions are actually named
36017 something starting with __ and the normal name is an alias. */
36018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36019 choke me
36020 #else
36021 char (*f) () = $ac_func;
36022 #endif
36023 #ifdef __cplusplus
36025 #endif
36028 main ()
36030 return f != $ac_func;
36032 return 0;
36034 _ACEOF
36035 rm -f conftest.$ac_objext conftest$ac_exeext
36036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36037 (eval $ac_link) 2>conftest.er1
36038 ac_status=$?
36039 grep -v '^ *+' conftest.er1 >conftest.err
36040 rm -f conftest.er1
36041 cat conftest.err >&5
36042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36043 (exit $ac_status); } &&
36044 { ac_try='test -z "$ac_c_werror_flag"
36045 || test ! -s conftest.err'
36046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36047 (eval $ac_try) 2>&5
36048 ac_status=$?
36049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36050 (exit $ac_status); }; } &&
36051 { ac_try='test -s conftest$ac_exeext'
36052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36053 (eval $ac_try) 2>&5
36054 ac_status=$?
36055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36056 (exit $ac_status); }; }; then
36057 eval "$as_ac_var=yes"
36058 else
36059 echo "$as_me: failed program was:" >&5
36060 sed 's/^/| /' conftest.$ac_ext >&5
36062 eval "$as_ac_var=no"
36064 rm -f conftest.err conftest.$ac_objext \
36065 conftest$ac_exeext conftest.$ac_ext
36067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36069 if test `eval echo '${'$as_ac_var'}'` = yes; then
36070 cat >>confdefs.h <<_ACEOF
36071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36072 _ACEOF
36075 done
36085 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
36086 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
36087 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
36088 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
36089 echo $ECHO_N "(cached) $ECHO_C" >&6
36090 else
36094 ac_ext=cc
36095 ac_cpp='$CXXCPP $CPPFLAGS'
36096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36100 cat >conftest.$ac_ext <<_ACEOF
36101 /* confdefs.h. */
36102 _ACEOF
36103 cat confdefs.h >>conftest.$ac_ext
36104 cat >>conftest.$ac_ext <<_ACEOF
36105 /* end confdefs.h. */
36106 #include <math.h>
36107 #ifdef HAVE_IEEEFP_H
36108 #include <ieeefp.h>
36109 #endif
36112 main ()
36114 fabsl(0);
36116 return 0;
36118 _ACEOF
36119 rm -f conftest.$ac_objext
36120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36121 (eval $ac_compile) 2>conftest.er1
36122 ac_status=$?
36123 grep -v '^ *+' conftest.er1 >conftest.err
36124 rm -f conftest.er1
36125 cat conftest.err >&5
36126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36127 (exit $ac_status); } &&
36128 { ac_try='test -z "$ac_cxx_werror_flag"
36129 || test ! -s conftest.err'
36130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36131 (eval $ac_try) 2>&5
36132 ac_status=$?
36133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36134 (exit $ac_status); }; } &&
36135 { ac_try='test -s conftest.$ac_objext'
36136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36137 (eval $ac_try) 2>&5
36138 ac_status=$?
36139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36140 (exit $ac_status); }; }; then
36141 glibcxx_cv_func_fabsl_use=yes
36142 else
36143 echo "$as_me: failed program was:" >&5
36144 sed 's/^/| /' conftest.$ac_ext >&5
36146 glibcxx_cv_func_fabsl_use=no
36148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36149 ac_ext=c
36150 ac_cpp='$CPP $CPPFLAGS'
36151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36159 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
36160 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
36162 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
36164 for ac_func in fabsl
36166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36167 echo "$as_me:$LINENO: checking for $ac_func" >&5
36168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36169 if eval "test \"\${$as_ac_var+set}\" = set"; then
36170 echo $ECHO_N "(cached) $ECHO_C" >&6
36171 else
36172 if test x$gcc_no_link = xyes; then
36173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36175 { (exit 1); exit 1; }; }
36177 cat >conftest.$ac_ext <<_ACEOF
36178 /* confdefs.h. */
36179 _ACEOF
36180 cat confdefs.h >>conftest.$ac_ext
36181 cat >>conftest.$ac_ext <<_ACEOF
36182 /* end confdefs.h. */
36183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36185 #define $ac_func innocuous_$ac_func
36187 /* System header to define __stub macros and hopefully few prototypes,
36188 which can conflict with char $ac_func (); below.
36189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36190 <limits.h> exists even on freestanding compilers. */
36192 #ifdef __STDC__
36193 # include <limits.h>
36194 #else
36195 # include <assert.h>
36196 #endif
36198 #undef $ac_func
36200 /* Override any gcc2 internal prototype to avoid an error. */
36201 #ifdef __cplusplus
36202 extern "C"
36204 #endif
36205 /* We use char because int might match the return type of a gcc2
36206 builtin and then its argument prototype would still apply. */
36207 char $ac_func ();
36208 /* The GNU C library defines this for functions which it implements
36209 to always fail with ENOSYS. Some functions are actually named
36210 something starting with __ and the normal name is an alias. */
36211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36212 choke me
36213 #else
36214 char (*f) () = $ac_func;
36215 #endif
36216 #ifdef __cplusplus
36218 #endif
36221 main ()
36223 return f != $ac_func;
36225 return 0;
36227 _ACEOF
36228 rm -f conftest.$ac_objext conftest$ac_exeext
36229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36230 (eval $ac_link) 2>conftest.er1
36231 ac_status=$?
36232 grep -v '^ *+' conftest.er1 >conftest.err
36233 rm -f conftest.er1
36234 cat conftest.err >&5
36235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36236 (exit $ac_status); } &&
36237 { ac_try='test -z "$ac_c_werror_flag"
36238 || test ! -s conftest.err'
36239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36240 (eval $ac_try) 2>&5
36241 ac_status=$?
36242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36243 (exit $ac_status); }; } &&
36244 { ac_try='test -s conftest$ac_exeext'
36245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36246 (eval $ac_try) 2>&5
36247 ac_status=$?
36248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36249 (exit $ac_status); }; }; then
36250 eval "$as_ac_var=yes"
36251 else
36252 echo "$as_me: failed program was:" >&5
36253 sed 's/^/| /' conftest.$ac_ext >&5
36255 eval "$as_ac_var=no"
36257 rm -f conftest.err conftest.$ac_objext \
36258 conftest$ac_exeext conftest.$ac_ext
36260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36262 if test `eval echo '${'$as_ac_var'}'` = yes; then
36263 cat >>confdefs.h <<_ACEOF
36264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36265 _ACEOF
36268 done
36270 else
36272 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
36273 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
36274 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
36275 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
36276 echo $ECHO_N "(cached) $ECHO_C" >&6
36277 else
36281 ac_ext=cc
36282 ac_cpp='$CXXCPP $CPPFLAGS'
36283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36287 cat >conftest.$ac_ext <<_ACEOF
36288 /* confdefs.h. */
36289 _ACEOF
36290 cat confdefs.h >>conftest.$ac_ext
36291 cat >>conftest.$ac_ext <<_ACEOF
36292 /* end confdefs.h. */
36293 #include <math.h>
36294 #ifdef HAVE_IEEEFP_H
36295 #include <ieeefp.h>
36296 #endif
36299 main ()
36301 _fabsl(0);
36303 return 0;
36305 _ACEOF
36306 rm -f conftest.$ac_objext
36307 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36308 (eval $ac_compile) 2>conftest.er1
36309 ac_status=$?
36310 grep -v '^ *+' conftest.er1 >conftest.err
36311 rm -f conftest.er1
36312 cat conftest.err >&5
36313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36314 (exit $ac_status); } &&
36315 { ac_try='test -z "$ac_cxx_werror_flag"
36316 || test ! -s conftest.err'
36317 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36318 (eval $ac_try) 2>&5
36319 ac_status=$?
36320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36321 (exit $ac_status); }; } &&
36322 { ac_try='test -s conftest.$ac_objext'
36323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36324 (eval $ac_try) 2>&5
36325 ac_status=$?
36326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36327 (exit $ac_status); }; }; then
36328 glibcxx_cv_func__fabsl_use=yes
36329 else
36330 echo "$as_me: failed program was:" >&5
36331 sed 's/^/| /' conftest.$ac_ext >&5
36333 glibcxx_cv_func__fabsl_use=no
36335 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36336 ac_ext=c
36337 ac_cpp='$CPP $CPPFLAGS'
36338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36346 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
36347 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
36349 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
36351 for ac_func in _fabsl
36353 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36354 echo "$as_me:$LINENO: checking for $ac_func" >&5
36355 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36356 if eval "test \"\${$as_ac_var+set}\" = set"; then
36357 echo $ECHO_N "(cached) $ECHO_C" >&6
36358 else
36359 if test x$gcc_no_link = xyes; then
36360 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36361 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36362 { (exit 1); exit 1; }; }
36364 cat >conftest.$ac_ext <<_ACEOF
36365 /* confdefs.h. */
36366 _ACEOF
36367 cat confdefs.h >>conftest.$ac_ext
36368 cat >>conftest.$ac_ext <<_ACEOF
36369 /* end confdefs.h. */
36370 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36371 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36372 #define $ac_func innocuous_$ac_func
36374 /* System header to define __stub macros and hopefully few prototypes,
36375 which can conflict with char $ac_func (); below.
36376 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36377 <limits.h> exists even on freestanding compilers. */
36379 #ifdef __STDC__
36380 # include <limits.h>
36381 #else
36382 # include <assert.h>
36383 #endif
36385 #undef $ac_func
36387 /* Override any gcc2 internal prototype to avoid an error. */
36388 #ifdef __cplusplus
36389 extern "C"
36391 #endif
36392 /* We use char because int might match the return type of a gcc2
36393 builtin and then its argument prototype would still apply. */
36394 char $ac_func ();
36395 /* The GNU C library defines this for functions which it implements
36396 to always fail with ENOSYS. Some functions are actually named
36397 something starting with __ and the normal name is an alias. */
36398 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36399 choke me
36400 #else
36401 char (*f) () = $ac_func;
36402 #endif
36403 #ifdef __cplusplus
36405 #endif
36408 main ()
36410 return f != $ac_func;
36412 return 0;
36414 _ACEOF
36415 rm -f conftest.$ac_objext conftest$ac_exeext
36416 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36417 (eval $ac_link) 2>conftest.er1
36418 ac_status=$?
36419 grep -v '^ *+' conftest.er1 >conftest.err
36420 rm -f conftest.er1
36421 cat conftest.err >&5
36422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36423 (exit $ac_status); } &&
36424 { ac_try='test -z "$ac_c_werror_flag"
36425 || test ! -s conftest.err'
36426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36427 (eval $ac_try) 2>&5
36428 ac_status=$?
36429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36430 (exit $ac_status); }; } &&
36431 { ac_try='test -s conftest$ac_exeext'
36432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36433 (eval $ac_try) 2>&5
36434 ac_status=$?
36435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36436 (exit $ac_status); }; }; then
36437 eval "$as_ac_var=yes"
36438 else
36439 echo "$as_me: failed program was:" >&5
36440 sed 's/^/| /' conftest.$ac_ext >&5
36442 eval "$as_ac_var=no"
36444 rm -f conftest.err conftest.$ac_objext \
36445 conftest$ac_exeext conftest.$ac_ext
36447 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36448 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36449 if test `eval echo '${'$as_ac_var'}'` = yes; then
36450 cat >>confdefs.h <<_ACEOF
36451 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36452 _ACEOF
36455 done
36465 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
36466 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
36467 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
36468 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
36469 echo $ECHO_N "(cached) $ECHO_C" >&6
36470 else
36474 ac_ext=cc
36475 ac_cpp='$CXXCPP $CPPFLAGS'
36476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36480 cat >conftest.$ac_ext <<_ACEOF
36481 /* confdefs.h. */
36482 _ACEOF
36483 cat confdefs.h >>conftest.$ac_ext
36484 cat >>conftest.$ac_ext <<_ACEOF
36485 /* end confdefs.h. */
36486 #include <math.h>
36488 main ()
36490 fmodl(0, 0);
36492 return 0;
36494 _ACEOF
36495 rm -f conftest.$ac_objext
36496 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36497 (eval $ac_compile) 2>conftest.er1
36498 ac_status=$?
36499 grep -v '^ *+' conftest.er1 >conftest.err
36500 rm -f conftest.er1
36501 cat conftest.err >&5
36502 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36503 (exit $ac_status); } &&
36504 { ac_try='test -z "$ac_cxx_werror_flag"
36505 || test ! -s conftest.err'
36506 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36507 (eval $ac_try) 2>&5
36508 ac_status=$?
36509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36510 (exit $ac_status); }; } &&
36511 { ac_try='test -s conftest.$ac_objext'
36512 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36513 (eval $ac_try) 2>&5
36514 ac_status=$?
36515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36516 (exit $ac_status); }; }; then
36517 glibcxx_cv_func_fmodl_use=yes
36518 else
36519 echo "$as_me: failed program was:" >&5
36520 sed 's/^/| /' conftest.$ac_ext >&5
36522 glibcxx_cv_func_fmodl_use=no
36524 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36525 ac_ext=c
36526 ac_cpp='$CPP $CPPFLAGS'
36527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36535 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
36536 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
36538 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
36540 for ac_func in fmodl
36542 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36543 echo "$as_me:$LINENO: checking for $ac_func" >&5
36544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36545 if eval "test \"\${$as_ac_var+set}\" = set"; then
36546 echo $ECHO_N "(cached) $ECHO_C" >&6
36547 else
36548 if test x$gcc_no_link = xyes; then
36549 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36550 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36551 { (exit 1); exit 1; }; }
36553 cat >conftest.$ac_ext <<_ACEOF
36554 /* confdefs.h. */
36555 _ACEOF
36556 cat confdefs.h >>conftest.$ac_ext
36557 cat >>conftest.$ac_ext <<_ACEOF
36558 /* end confdefs.h. */
36559 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36560 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36561 #define $ac_func innocuous_$ac_func
36563 /* System header to define __stub macros and hopefully few prototypes,
36564 which can conflict with char $ac_func (); below.
36565 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36566 <limits.h> exists even on freestanding compilers. */
36568 #ifdef __STDC__
36569 # include <limits.h>
36570 #else
36571 # include <assert.h>
36572 #endif
36574 #undef $ac_func
36576 /* Override any gcc2 internal prototype to avoid an error. */
36577 #ifdef __cplusplus
36578 extern "C"
36580 #endif
36581 /* We use char because int might match the return type of a gcc2
36582 builtin and then its argument prototype would still apply. */
36583 char $ac_func ();
36584 /* The GNU C library defines this for functions which it implements
36585 to always fail with ENOSYS. Some functions are actually named
36586 something starting with __ and the normal name is an alias. */
36587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36588 choke me
36589 #else
36590 char (*f) () = $ac_func;
36591 #endif
36592 #ifdef __cplusplus
36594 #endif
36597 main ()
36599 return f != $ac_func;
36601 return 0;
36603 _ACEOF
36604 rm -f conftest.$ac_objext conftest$ac_exeext
36605 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36606 (eval $ac_link) 2>conftest.er1
36607 ac_status=$?
36608 grep -v '^ *+' conftest.er1 >conftest.err
36609 rm -f conftest.er1
36610 cat conftest.err >&5
36611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36612 (exit $ac_status); } &&
36613 { ac_try='test -z "$ac_c_werror_flag"
36614 || test ! -s conftest.err'
36615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36616 (eval $ac_try) 2>&5
36617 ac_status=$?
36618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36619 (exit $ac_status); }; } &&
36620 { ac_try='test -s conftest$ac_exeext'
36621 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36622 (eval $ac_try) 2>&5
36623 ac_status=$?
36624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36625 (exit $ac_status); }; }; then
36626 eval "$as_ac_var=yes"
36627 else
36628 echo "$as_me: failed program was:" >&5
36629 sed 's/^/| /' conftest.$ac_ext >&5
36631 eval "$as_ac_var=no"
36633 rm -f conftest.err conftest.$ac_objext \
36634 conftest$ac_exeext conftest.$ac_ext
36636 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36637 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36638 if test `eval echo '${'$as_ac_var'}'` = yes; then
36639 cat >>confdefs.h <<_ACEOF
36640 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36641 _ACEOF
36644 done
36646 else
36648 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
36649 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
36650 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
36651 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
36652 echo $ECHO_N "(cached) $ECHO_C" >&6
36653 else
36657 ac_ext=cc
36658 ac_cpp='$CXXCPP $CPPFLAGS'
36659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36663 cat >conftest.$ac_ext <<_ACEOF
36664 /* confdefs.h. */
36665 _ACEOF
36666 cat confdefs.h >>conftest.$ac_ext
36667 cat >>conftest.$ac_ext <<_ACEOF
36668 /* end confdefs.h. */
36669 #include <math.h>
36671 main ()
36673 _fmodl(0, 0);
36675 return 0;
36677 _ACEOF
36678 rm -f conftest.$ac_objext
36679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36680 (eval $ac_compile) 2>conftest.er1
36681 ac_status=$?
36682 grep -v '^ *+' conftest.er1 >conftest.err
36683 rm -f conftest.er1
36684 cat conftest.err >&5
36685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36686 (exit $ac_status); } &&
36687 { ac_try='test -z "$ac_cxx_werror_flag"
36688 || test ! -s conftest.err'
36689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36690 (eval $ac_try) 2>&5
36691 ac_status=$?
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); }; } &&
36694 { ac_try='test -s conftest.$ac_objext'
36695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36696 (eval $ac_try) 2>&5
36697 ac_status=$?
36698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36699 (exit $ac_status); }; }; then
36700 glibcxx_cv_func__fmodl_use=yes
36701 else
36702 echo "$as_me: failed program was:" >&5
36703 sed 's/^/| /' conftest.$ac_ext >&5
36705 glibcxx_cv_func__fmodl_use=no
36707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36708 ac_ext=c
36709 ac_cpp='$CPP $CPPFLAGS'
36710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
36719 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
36721 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
36723 for ac_func in _fmodl
36725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36726 echo "$as_me:$LINENO: checking for $ac_func" >&5
36727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36728 if eval "test \"\${$as_ac_var+set}\" = set"; then
36729 echo $ECHO_N "(cached) $ECHO_C" >&6
36730 else
36731 if test x$gcc_no_link = xyes; then
36732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
36733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
36734 { (exit 1); exit 1; }; }
36736 cat >conftest.$ac_ext <<_ACEOF
36737 /* confdefs.h. */
36738 _ACEOF
36739 cat confdefs.h >>conftest.$ac_ext
36740 cat >>conftest.$ac_ext <<_ACEOF
36741 /* end confdefs.h. */
36742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36744 #define $ac_func innocuous_$ac_func
36746 /* System header to define __stub macros and hopefully few prototypes,
36747 which can conflict with char $ac_func (); below.
36748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36749 <limits.h> exists even on freestanding compilers. */
36751 #ifdef __STDC__
36752 # include <limits.h>
36753 #else
36754 # include <assert.h>
36755 #endif
36757 #undef $ac_func
36759 /* Override any gcc2 internal prototype to avoid an error. */
36760 #ifdef __cplusplus
36761 extern "C"
36763 #endif
36764 /* We use char because int might match the return type of a gcc2
36765 builtin and then its argument prototype would still apply. */
36766 char $ac_func ();
36767 /* The GNU C library defines this for functions which it implements
36768 to always fail with ENOSYS. Some functions are actually named
36769 something starting with __ and the normal name is an alias. */
36770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36771 choke me
36772 #else
36773 char (*f) () = $ac_func;
36774 #endif
36775 #ifdef __cplusplus
36777 #endif
36780 main ()
36782 return f != $ac_func;
36784 return 0;
36786 _ACEOF
36787 rm -f conftest.$ac_objext conftest$ac_exeext
36788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36789 (eval $ac_link) 2>conftest.er1
36790 ac_status=$?
36791 grep -v '^ *+' conftest.er1 >conftest.err
36792 rm -f conftest.er1
36793 cat conftest.err >&5
36794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36795 (exit $ac_status); } &&
36796 { ac_try='test -z "$ac_c_werror_flag"
36797 || test ! -s conftest.err'
36798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36799 (eval $ac_try) 2>&5
36800 ac_status=$?
36801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36802 (exit $ac_status); }; } &&
36803 { ac_try='test -s conftest$ac_exeext'
36804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36805 (eval $ac_try) 2>&5
36806 ac_status=$?
36807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36808 (exit $ac_status); }; }; then
36809 eval "$as_ac_var=yes"
36810 else
36811 echo "$as_me: failed program was:" >&5
36812 sed 's/^/| /' conftest.$ac_ext >&5
36814 eval "$as_ac_var=no"
36816 rm -f conftest.err conftest.$ac_objext \
36817 conftest$ac_exeext conftest.$ac_ext
36819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
36820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
36821 if test `eval echo '${'$as_ac_var'}'` = yes; then
36822 cat >>confdefs.h <<_ACEOF
36823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36824 _ACEOF
36827 done
36837 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
36838 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
36839 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
36840 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
36841 echo $ECHO_N "(cached) $ECHO_C" >&6
36842 else
36846 ac_ext=cc
36847 ac_cpp='$CXXCPP $CPPFLAGS'
36848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36852 cat >conftest.$ac_ext <<_ACEOF
36853 /* confdefs.h. */
36854 _ACEOF
36855 cat confdefs.h >>conftest.$ac_ext
36856 cat >>conftest.$ac_ext <<_ACEOF
36857 /* end confdefs.h. */
36858 #include <math.h>
36860 main ()
36862 frexpl(0, 0);
36864 return 0;
36866 _ACEOF
36867 rm -f conftest.$ac_objext
36868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
36869 (eval $ac_compile) 2>conftest.er1
36870 ac_status=$?
36871 grep -v '^ *+' conftest.er1 >conftest.err
36872 rm -f conftest.er1
36873 cat conftest.err >&5
36874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36875 (exit $ac_status); } &&
36876 { ac_try='test -z "$ac_cxx_werror_flag"
36877 || test ! -s conftest.err'
36878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36879 (eval $ac_try) 2>&5
36880 ac_status=$?
36881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36882 (exit $ac_status); }; } &&
36883 { ac_try='test -s conftest.$ac_objext'
36884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36885 (eval $ac_try) 2>&5
36886 ac_status=$?
36887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36888 (exit $ac_status); }; }; then
36889 glibcxx_cv_func_frexpl_use=yes
36890 else
36891 echo "$as_me: failed program was:" >&5
36892 sed 's/^/| /' conftest.$ac_ext >&5
36894 glibcxx_cv_func_frexpl_use=no
36896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
36897 ac_ext=c
36898 ac_cpp='$CPP $CPPFLAGS'
36899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
36908 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
36910 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
36912 for ac_func in frexpl
36914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36915 echo "$as_me:$LINENO: checking for $ac_func" >&5
36916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
36917 if eval "test \"\${$as_ac_var+set}\" = set"; then
36918 echo $ECHO_N "(cached) $ECHO_C" >&6
36919 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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36933 #define $ac_func innocuous_$ac_func
36935 /* System header to define __stub macros and hopefully few prototypes,
36936 which can conflict with char $ac_func (); below.
36937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36938 <limits.h> exists even on freestanding compilers. */
36940 #ifdef __STDC__
36941 # include <limits.h>
36942 #else
36943 # include <assert.h>
36944 #endif
36946 #undef $ac_func
36948 /* Override any gcc2 internal prototype to avoid an error. */
36949 #ifdef __cplusplus
36950 extern "C"
36952 #endif
36953 /* We use char because int might match the return type of a gcc2
36954 builtin and then its argument prototype would still apply. */
36955 char $ac_func ();
36956 /* The GNU C library defines this for functions which it implements
36957 to always fail with ENOSYS. Some functions are actually named
36958 something starting with __ and the normal name is an alias. */
36959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
36960 choke me
36961 #else
36962 char (*f) () = $ac_func;
36963 #endif
36964 #ifdef __cplusplus
36966 #endif
36969 main ()
36971 return f != $ac_func;
36973 return 0;
36975 _ACEOF
36976 rm -f conftest.$ac_objext conftest$ac_exeext
36977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
36978 (eval $ac_link) 2>conftest.er1
36979 ac_status=$?
36980 grep -v '^ *+' conftest.er1 >conftest.err
36981 rm -f conftest.er1
36982 cat conftest.err >&5
36983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36984 (exit $ac_status); } &&
36985 { ac_try='test -z "$ac_c_werror_flag"
36986 || test ! -s conftest.err'
36987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36988 (eval $ac_try) 2>&5
36989 ac_status=$?
36990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36991 (exit $ac_status); }; } &&
36992 { ac_try='test -s conftest$ac_exeext'
36993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
36994 (eval $ac_try) 2>&5
36995 ac_status=$?
36996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36997 (exit $ac_status); }; }; then
36998 eval "$as_ac_var=yes"
36999 else
37000 echo "$as_me: failed program was:" >&5
37001 sed 's/^/| /' conftest.$ac_ext >&5
37003 eval "$as_ac_var=no"
37005 rm -f conftest.err conftest.$ac_objext \
37006 conftest$ac_exeext conftest.$ac_ext
37008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37010 if test `eval echo '${'$as_ac_var'}'` = yes; then
37011 cat >>confdefs.h <<_ACEOF
37012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37013 _ACEOF
37016 done
37018 else
37020 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
37021 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
37022 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
37023 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
37024 echo $ECHO_N "(cached) $ECHO_C" >&6
37025 else
37029 ac_ext=cc
37030 ac_cpp='$CXXCPP $CPPFLAGS'
37031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035 cat >conftest.$ac_ext <<_ACEOF
37036 /* confdefs.h. */
37037 _ACEOF
37038 cat confdefs.h >>conftest.$ac_ext
37039 cat >>conftest.$ac_ext <<_ACEOF
37040 /* end confdefs.h. */
37041 #include <math.h>
37043 main ()
37045 _frexpl(0, 0);
37047 return 0;
37049 _ACEOF
37050 rm -f conftest.$ac_objext
37051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37052 (eval $ac_compile) 2>conftest.er1
37053 ac_status=$?
37054 grep -v '^ *+' conftest.er1 >conftest.err
37055 rm -f conftest.er1
37056 cat conftest.err >&5
37057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37058 (exit $ac_status); } &&
37059 { ac_try='test -z "$ac_cxx_werror_flag"
37060 || test ! -s conftest.err'
37061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37062 (eval $ac_try) 2>&5
37063 ac_status=$?
37064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37065 (exit $ac_status); }; } &&
37066 { ac_try='test -s conftest.$ac_objext'
37067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37068 (eval $ac_try) 2>&5
37069 ac_status=$?
37070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37071 (exit $ac_status); }; }; then
37072 glibcxx_cv_func__frexpl_use=yes
37073 else
37074 echo "$as_me: failed program was:" >&5
37075 sed 's/^/| /' conftest.$ac_ext >&5
37077 glibcxx_cv_func__frexpl_use=no
37079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37080 ac_ext=c
37081 ac_cpp='$CPP $CPPFLAGS'
37082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
37091 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
37093 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
37095 for ac_func in _frexpl
37097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37098 echo "$as_me:$LINENO: checking for $ac_func" >&5
37099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37100 if eval "test \"\${$as_ac_var+set}\" = set"; then
37101 echo $ECHO_N "(cached) $ECHO_C" >&6
37102 else
37103 if test x$gcc_no_link = xyes; then
37104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37106 { (exit 1); exit 1; }; }
37108 cat >conftest.$ac_ext <<_ACEOF
37109 /* confdefs.h. */
37110 _ACEOF
37111 cat confdefs.h >>conftest.$ac_ext
37112 cat >>conftest.$ac_ext <<_ACEOF
37113 /* end confdefs.h. */
37114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37116 #define $ac_func innocuous_$ac_func
37118 /* System header to define __stub macros and hopefully few prototypes,
37119 which can conflict with char $ac_func (); below.
37120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37121 <limits.h> exists even on freestanding compilers. */
37123 #ifdef __STDC__
37124 # include <limits.h>
37125 #else
37126 # include <assert.h>
37127 #endif
37129 #undef $ac_func
37131 /* Override any gcc2 internal prototype to avoid an error. */
37132 #ifdef __cplusplus
37133 extern "C"
37135 #endif
37136 /* We use char because int might match the return type of a gcc2
37137 builtin and then its argument prototype would still apply. */
37138 char $ac_func ();
37139 /* The GNU C library defines this for functions which it implements
37140 to always fail with ENOSYS. Some functions are actually named
37141 something starting with __ and the normal name is an alias. */
37142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37143 choke me
37144 #else
37145 char (*f) () = $ac_func;
37146 #endif
37147 #ifdef __cplusplus
37149 #endif
37152 main ()
37154 return f != $ac_func;
37156 return 0;
37158 _ACEOF
37159 rm -f conftest.$ac_objext conftest$ac_exeext
37160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37161 (eval $ac_link) 2>conftest.er1
37162 ac_status=$?
37163 grep -v '^ *+' conftest.er1 >conftest.err
37164 rm -f conftest.er1
37165 cat conftest.err >&5
37166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37167 (exit $ac_status); } &&
37168 { ac_try='test -z "$ac_c_werror_flag"
37169 || test ! -s conftest.err'
37170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37171 (eval $ac_try) 2>&5
37172 ac_status=$?
37173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37174 (exit $ac_status); }; } &&
37175 { ac_try='test -s conftest$ac_exeext'
37176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37177 (eval $ac_try) 2>&5
37178 ac_status=$?
37179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37180 (exit $ac_status); }; }; then
37181 eval "$as_ac_var=yes"
37182 else
37183 echo "$as_me: failed program was:" >&5
37184 sed 's/^/| /' conftest.$ac_ext >&5
37186 eval "$as_ac_var=no"
37188 rm -f conftest.err conftest.$ac_objext \
37189 conftest$ac_exeext conftest.$ac_ext
37191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37193 if test `eval echo '${'$as_ac_var'}'` = yes; then
37194 cat >>confdefs.h <<_ACEOF
37195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37196 _ACEOF
37199 done
37209 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
37210 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
37211 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
37212 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
37213 echo $ECHO_N "(cached) $ECHO_C" >&6
37214 else
37218 ac_ext=cc
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224 cat >conftest.$ac_ext <<_ACEOF
37225 /* confdefs.h. */
37226 _ACEOF
37227 cat confdefs.h >>conftest.$ac_ext
37228 cat >>conftest.$ac_ext <<_ACEOF
37229 /* end confdefs.h. */
37230 #include <math.h>
37232 main ()
37234 hypotl(0, 0);
37236 return 0;
37238 _ACEOF
37239 rm -f conftest.$ac_objext
37240 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37241 (eval $ac_compile) 2>conftest.er1
37242 ac_status=$?
37243 grep -v '^ *+' conftest.er1 >conftest.err
37244 rm -f conftest.er1
37245 cat conftest.err >&5
37246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37247 (exit $ac_status); } &&
37248 { ac_try='test -z "$ac_cxx_werror_flag"
37249 || test ! -s conftest.err'
37250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37251 (eval $ac_try) 2>&5
37252 ac_status=$?
37253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37254 (exit $ac_status); }; } &&
37255 { ac_try='test -s conftest.$ac_objext'
37256 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37257 (eval $ac_try) 2>&5
37258 ac_status=$?
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); }; }; then
37261 glibcxx_cv_func_hypotl_use=yes
37262 else
37263 echo "$as_me: failed program was:" >&5
37264 sed 's/^/| /' conftest.$ac_ext >&5
37266 glibcxx_cv_func_hypotl_use=no
37268 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37269 ac_ext=c
37270 ac_cpp='$CPP $CPPFLAGS'
37271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37279 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
37280 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
37282 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
37284 for ac_func in hypotl
37286 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37287 echo "$as_me:$LINENO: checking for $ac_func" >&5
37288 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37289 if eval "test \"\${$as_ac_var+set}\" = set"; then
37290 echo $ECHO_N "(cached) $ECHO_C" >&6
37291 else
37292 if test x$gcc_no_link = xyes; then
37293 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37294 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37295 { (exit 1); exit 1; }; }
37297 cat >conftest.$ac_ext <<_ACEOF
37298 /* confdefs.h. */
37299 _ACEOF
37300 cat confdefs.h >>conftest.$ac_ext
37301 cat >>conftest.$ac_ext <<_ACEOF
37302 /* end confdefs.h. */
37303 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37304 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37305 #define $ac_func innocuous_$ac_func
37307 /* System header to define __stub macros and hopefully few prototypes,
37308 which can conflict with char $ac_func (); below.
37309 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37310 <limits.h> exists even on freestanding compilers. */
37312 #ifdef __STDC__
37313 # include <limits.h>
37314 #else
37315 # include <assert.h>
37316 #endif
37318 #undef $ac_func
37320 /* Override any gcc2 internal prototype to avoid an error. */
37321 #ifdef __cplusplus
37322 extern "C"
37324 #endif
37325 /* We use char because int might match the return type of a gcc2
37326 builtin and then its argument prototype would still apply. */
37327 char $ac_func ();
37328 /* The GNU C library defines this for functions which it implements
37329 to always fail with ENOSYS. Some functions are actually named
37330 something starting with __ and the normal name is an alias. */
37331 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37332 choke me
37333 #else
37334 char (*f) () = $ac_func;
37335 #endif
37336 #ifdef __cplusplus
37338 #endif
37341 main ()
37343 return f != $ac_func;
37345 return 0;
37347 _ACEOF
37348 rm -f conftest.$ac_objext conftest$ac_exeext
37349 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37350 (eval $ac_link) 2>conftest.er1
37351 ac_status=$?
37352 grep -v '^ *+' conftest.er1 >conftest.err
37353 rm -f conftest.er1
37354 cat conftest.err >&5
37355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37356 (exit $ac_status); } &&
37357 { ac_try='test -z "$ac_c_werror_flag"
37358 || test ! -s conftest.err'
37359 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37360 (eval $ac_try) 2>&5
37361 ac_status=$?
37362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37363 (exit $ac_status); }; } &&
37364 { ac_try='test -s conftest$ac_exeext'
37365 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37366 (eval $ac_try) 2>&5
37367 ac_status=$?
37368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37369 (exit $ac_status); }; }; then
37370 eval "$as_ac_var=yes"
37371 else
37372 echo "$as_me: failed program was:" >&5
37373 sed 's/^/| /' conftest.$ac_ext >&5
37375 eval "$as_ac_var=no"
37377 rm -f conftest.err conftest.$ac_objext \
37378 conftest$ac_exeext conftest.$ac_ext
37380 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37381 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37382 if test `eval echo '${'$as_ac_var'}'` = yes; then
37383 cat >>confdefs.h <<_ACEOF
37384 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37385 _ACEOF
37388 done
37390 else
37392 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
37393 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
37394 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
37395 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
37396 echo $ECHO_N "(cached) $ECHO_C" >&6
37397 else
37401 ac_ext=cc
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407 cat >conftest.$ac_ext <<_ACEOF
37408 /* confdefs.h. */
37409 _ACEOF
37410 cat confdefs.h >>conftest.$ac_ext
37411 cat >>conftest.$ac_ext <<_ACEOF
37412 /* end confdefs.h. */
37413 #include <math.h>
37415 main ()
37417 _hypotl(0, 0);
37419 return 0;
37421 _ACEOF
37422 rm -f conftest.$ac_objext
37423 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37424 (eval $ac_compile) 2>conftest.er1
37425 ac_status=$?
37426 grep -v '^ *+' conftest.er1 >conftest.err
37427 rm -f conftest.er1
37428 cat conftest.err >&5
37429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37430 (exit $ac_status); } &&
37431 { ac_try='test -z "$ac_cxx_werror_flag"
37432 || test ! -s conftest.err'
37433 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37434 (eval $ac_try) 2>&5
37435 ac_status=$?
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); }; } &&
37438 { ac_try='test -s conftest.$ac_objext'
37439 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37440 (eval $ac_try) 2>&5
37441 ac_status=$?
37442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37443 (exit $ac_status); }; }; then
37444 glibcxx_cv_func__hypotl_use=yes
37445 else
37446 echo "$as_me: failed program was:" >&5
37447 sed 's/^/| /' conftest.$ac_ext >&5
37449 glibcxx_cv_func__hypotl_use=no
37451 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37452 ac_ext=c
37453 ac_cpp='$CPP $CPPFLAGS'
37454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37462 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
37463 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
37465 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
37467 for ac_func in _hypotl
37469 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37470 echo "$as_me:$LINENO: checking for $ac_func" >&5
37471 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37472 if eval "test \"\${$as_ac_var+set}\" = set"; then
37473 echo $ECHO_N "(cached) $ECHO_C" >&6
37474 else
37475 if test x$gcc_no_link = xyes; then
37476 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37477 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37478 { (exit 1); exit 1; }; }
37480 cat >conftest.$ac_ext <<_ACEOF
37481 /* confdefs.h. */
37482 _ACEOF
37483 cat confdefs.h >>conftest.$ac_ext
37484 cat >>conftest.$ac_ext <<_ACEOF
37485 /* end confdefs.h. */
37486 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37488 #define $ac_func innocuous_$ac_func
37490 /* System header to define __stub macros and hopefully few prototypes,
37491 which can conflict with char $ac_func (); below.
37492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37493 <limits.h> exists even on freestanding compilers. */
37495 #ifdef __STDC__
37496 # include <limits.h>
37497 #else
37498 # include <assert.h>
37499 #endif
37501 #undef $ac_func
37503 /* Override any gcc2 internal prototype to avoid an error. */
37504 #ifdef __cplusplus
37505 extern "C"
37507 #endif
37508 /* We use char because int might match the return type of a gcc2
37509 builtin and then its argument prototype would still apply. */
37510 char $ac_func ();
37511 /* The GNU C library defines this for functions which it implements
37512 to always fail with ENOSYS. Some functions are actually named
37513 something starting with __ and the normal name is an alias. */
37514 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37515 choke me
37516 #else
37517 char (*f) () = $ac_func;
37518 #endif
37519 #ifdef __cplusplus
37521 #endif
37524 main ()
37526 return f != $ac_func;
37528 return 0;
37530 _ACEOF
37531 rm -f conftest.$ac_objext conftest$ac_exeext
37532 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37533 (eval $ac_link) 2>conftest.er1
37534 ac_status=$?
37535 grep -v '^ *+' conftest.er1 >conftest.err
37536 rm -f conftest.er1
37537 cat conftest.err >&5
37538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37539 (exit $ac_status); } &&
37540 { ac_try='test -z "$ac_c_werror_flag"
37541 || test ! -s conftest.err'
37542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37543 (eval $ac_try) 2>&5
37544 ac_status=$?
37545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37546 (exit $ac_status); }; } &&
37547 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
37553 eval "$as_ac_var=yes"
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37558 eval "$as_ac_var=no"
37560 rm -f conftest.err conftest.$ac_objext \
37561 conftest$ac_exeext conftest.$ac_ext
37563 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37564 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37565 if test `eval echo '${'$as_ac_var'}'` = yes; then
37566 cat >>confdefs.h <<_ACEOF
37567 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37568 _ACEOF
37571 done
37581 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
37582 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
37583 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
37584 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
37585 echo $ECHO_N "(cached) $ECHO_C" >&6
37586 else
37590 ac_ext=cc
37591 ac_cpp='$CXXCPP $CPPFLAGS'
37592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37596 cat >conftest.$ac_ext <<_ACEOF
37597 /* confdefs.h. */
37598 _ACEOF
37599 cat confdefs.h >>conftest.$ac_ext
37600 cat >>conftest.$ac_ext <<_ACEOF
37601 /* end confdefs.h. */
37602 #include <math.h>
37604 main ()
37606 ldexpl(0, 0);
37608 return 0;
37610 _ACEOF
37611 rm -f conftest.$ac_objext
37612 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37613 (eval $ac_compile) 2>conftest.er1
37614 ac_status=$?
37615 grep -v '^ *+' conftest.er1 >conftest.err
37616 rm -f conftest.er1
37617 cat conftest.err >&5
37618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37619 (exit $ac_status); } &&
37620 { ac_try='test -z "$ac_cxx_werror_flag"
37621 || test ! -s conftest.err'
37622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37623 (eval $ac_try) 2>&5
37624 ac_status=$?
37625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37626 (exit $ac_status); }; } &&
37627 { ac_try='test -s conftest.$ac_objext'
37628 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37629 (eval $ac_try) 2>&5
37630 ac_status=$?
37631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37632 (exit $ac_status); }; }; then
37633 glibcxx_cv_func_ldexpl_use=yes
37634 else
37635 echo "$as_me: failed program was:" >&5
37636 sed 's/^/| /' conftest.$ac_ext >&5
37638 glibcxx_cv_func_ldexpl_use=no
37640 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37641 ac_ext=c
37642 ac_cpp='$CPP $CPPFLAGS'
37643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37651 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
37652 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
37654 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
37656 for ac_func in ldexpl
37658 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37659 echo "$as_me:$LINENO: checking for $ac_func" >&5
37660 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37661 if eval "test \"\${$as_ac_var+set}\" = set"; then
37662 echo $ECHO_N "(cached) $ECHO_C" >&6
37663 else
37664 if test x$gcc_no_link = xyes; then
37665 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37666 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37667 { (exit 1); exit 1; }; }
37669 cat >conftest.$ac_ext <<_ACEOF
37670 /* confdefs.h. */
37671 _ACEOF
37672 cat confdefs.h >>conftest.$ac_ext
37673 cat >>conftest.$ac_ext <<_ACEOF
37674 /* end confdefs.h. */
37675 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37676 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37677 #define $ac_func innocuous_$ac_func
37679 /* System header to define __stub macros and hopefully few prototypes,
37680 which can conflict with char $ac_func (); below.
37681 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37682 <limits.h> exists even on freestanding compilers. */
37684 #ifdef __STDC__
37685 # include <limits.h>
37686 #else
37687 # include <assert.h>
37688 #endif
37690 #undef $ac_func
37692 /* Override any gcc2 internal prototype to avoid an error. */
37693 #ifdef __cplusplus
37694 extern "C"
37696 #endif
37697 /* We use char because int might match the return type of a gcc2
37698 builtin and then its argument prototype would still apply. */
37699 char $ac_func ();
37700 /* The GNU C library defines this for functions which it implements
37701 to always fail with ENOSYS. Some functions are actually named
37702 something starting with __ and the normal name is an alias. */
37703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37704 choke me
37705 #else
37706 char (*f) () = $ac_func;
37707 #endif
37708 #ifdef __cplusplus
37710 #endif
37713 main ()
37715 return f != $ac_func;
37717 return 0;
37719 _ACEOF
37720 rm -f conftest.$ac_objext conftest$ac_exeext
37721 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37722 (eval $ac_link) 2>conftest.er1
37723 ac_status=$?
37724 grep -v '^ *+' conftest.er1 >conftest.err
37725 rm -f conftest.er1
37726 cat conftest.err >&5
37727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37728 (exit $ac_status); } &&
37729 { ac_try='test -z "$ac_c_werror_flag"
37730 || test ! -s conftest.err'
37731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37732 (eval $ac_try) 2>&5
37733 ac_status=$?
37734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37735 (exit $ac_status); }; } &&
37736 { ac_try='test -s conftest$ac_exeext'
37737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37738 (eval $ac_try) 2>&5
37739 ac_status=$?
37740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37741 (exit $ac_status); }; }; then
37742 eval "$as_ac_var=yes"
37743 else
37744 echo "$as_me: failed program was:" >&5
37745 sed 's/^/| /' conftest.$ac_ext >&5
37747 eval "$as_ac_var=no"
37749 rm -f conftest.err conftest.$ac_objext \
37750 conftest$ac_exeext conftest.$ac_ext
37752 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37753 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37754 if test `eval echo '${'$as_ac_var'}'` = yes; then
37755 cat >>confdefs.h <<_ACEOF
37756 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37757 _ACEOF
37760 done
37762 else
37764 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
37765 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
37766 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
37767 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
37768 echo $ECHO_N "(cached) $ECHO_C" >&6
37769 else
37773 ac_ext=cc
37774 ac_cpp='$CXXCPP $CPPFLAGS'
37775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37779 cat >conftest.$ac_ext <<_ACEOF
37780 /* confdefs.h. */
37781 _ACEOF
37782 cat confdefs.h >>conftest.$ac_ext
37783 cat >>conftest.$ac_ext <<_ACEOF
37784 /* end confdefs.h. */
37785 #include <math.h>
37787 main ()
37789 _ldexpl(0, 0);
37791 return 0;
37793 _ACEOF
37794 rm -f conftest.$ac_objext
37795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37796 (eval $ac_compile) 2>conftest.er1
37797 ac_status=$?
37798 grep -v '^ *+' conftest.er1 >conftest.err
37799 rm -f conftest.er1
37800 cat conftest.err >&5
37801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37802 (exit $ac_status); } &&
37803 { ac_try='test -z "$ac_cxx_werror_flag"
37804 || test ! -s conftest.err'
37805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37806 (eval $ac_try) 2>&5
37807 ac_status=$?
37808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37809 (exit $ac_status); }; } &&
37810 { ac_try='test -s conftest.$ac_objext'
37811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37812 (eval $ac_try) 2>&5
37813 ac_status=$?
37814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37815 (exit $ac_status); }; }; then
37816 glibcxx_cv_func__ldexpl_use=yes
37817 else
37818 echo "$as_me: failed program was:" >&5
37819 sed 's/^/| /' conftest.$ac_ext >&5
37821 glibcxx_cv_func__ldexpl_use=no
37823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
37824 ac_ext=c
37825 ac_cpp='$CPP $CPPFLAGS'
37826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37834 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
37835 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
37837 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
37839 for ac_func in _ldexpl
37841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37842 echo "$as_me:$LINENO: checking for $ac_func" >&5
37843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
37844 if eval "test \"\${$as_ac_var+set}\" = set"; then
37845 echo $ECHO_N "(cached) $ECHO_C" >&6
37846 else
37847 if test x$gcc_no_link = xyes; then
37848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
37849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
37850 { (exit 1); exit 1; }; }
37852 cat >conftest.$ac_ext <<_ACEOF
37853 /* confdefs.h. */
37854 _ACEOF
37855 cat confdefs.h >>conftest.$ac_ext
37856 cat >>conftest.$ac_ext <<_ACEOF
37857 /* end confdefs.h. */
37858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37860 #define $ac_func innocuous_$ac_func
37862 /* System header to define __stub macros and hopefully few prototypes,
37863 which can conflict with char $ac_func (); below.
37864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37865 <limits.h> exists even on freestanding compilers. */
37867 #ifdef __STDC__
37868 # include <limits.h>
37869 #else
37870 # include <assert.h>
37871 #endif
37873 #undef $ac_func
37875 /* Override any gcc2 internal prototype to avoid an error. */
37876 #ifdef __cplusplus
37877 extern "C"
37879 #endif
37880 /* We use char because int might match the return type of a gcc2
37881 builtin and then its argument prototype would still apply. */
37882 char $ac_func ();
37883 /* The GNU C library defines this for functions which it implements
37884 to always fail with ENOSYS. Some functions are actually named
37885 something starting with __ and the normal name is an alias. */
37886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
37887 choke me
37888 #else
37889 char (*f) () = $ac_func;
37890 #endif
37891 #ifdef __cplusplus
37893 #endif
37896 main ()
37898 return f != $ac_func;
37900 return 0;
37902 _ACEOF
37903 rm -f conftest.$ac_objext conftest$ac_exeext
37904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
37905 (eval $ac_link) 2>conftest.er1
37906 ac_status=$?
37907 grep -v '^ *+' conftest.er1 >conftest.err
37908 rm -f conftest.er1
37909 cat conftest.err >&5
37910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37911 (exit $ac_status); } &&
37912 { ac_try='test -z "$ac_c_werror_flag"
37913 || test ! -s conftest.err'
37914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37915 (eval $ac_try) 2>&5
37916 ac_status=$?
37917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37918 (exit $ac_status); }; } &&
37919 { ac_try='test -s conftest$ac_exeext'
37920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37921 (eval $ac_try) 2>&5
37922 ac_status=$?
37923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37924 (exit $ac_status); }; }; then
37925 eval "$as_ac_var=yes"
37926 else
37927 echo "$as_me: failed program was:" >&5
37928 sed 's/^/| /' conftest.$ac_ext >&5
37930 eval "$as_ac_var=no"
37932 rm -f conftest.err conftest.$ac_objext \
37933 conftest$ac_exeext conftest.$ac_ext
37935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
37936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
37937 if test `eval echo '${'$as_ac_var'}'` = yes; then
37938 cat >>confdefs.h <<_ACEOF
37939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37940 _ACEOF
37943 done
37953 echo "$as_me:$LINENO: checking for logl declaration" >&5
37954 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
37955 if test x${glibcxx_cv_func_logl_use+set} != xset; then
37956 if test "${glibcxx_cv_func_logl_use+set}" = set; then
37957 echo $ECHO_N "(cached) $ECHO_C" >&6
37958 else
37962 ac_ext=cc
37963 ac_cpp='$CXXCPP $CPPFLAGS'
37964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37968 cat >conftest.$ac_ext <<_ACEOF
37969 /* confdefs.h. */
37970 _ACEOF
37971 cat confdefs.h >>conftest.$ac_ext
37972 cat >>conftest.$ac_ext <<_ACEOF
37973 /* end confdefs.h. */
37974 #include <math.h>
37975 #ifdef HAVE_IEEEFP_H
37976 #include <ieeefp.h>
37977 #endif
37980 main ()
37982 logl(0);
37984 return 0;
37986 _ACEOF
37987 rm -f conftest.$ac_objext
37988 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
37989 (eval $ac_compile) 2>conftest.er1
37990 ac_status=$?
37991 grep -v '^ *+' conftest.er1 >conftest.err
37992 rm -f conftest.er1
37993 cat conftest.err >&5
37994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37995 (exit $ac_status); } &&
37996 { ac_try='test -z "$ac_cxx_werror_flag"
37997 || test ! -s conftest.err'
37998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
37999 (eval $ac_try) 2>&5
38000 ac_status=$?
38001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38002 (exit $ac_status); }; } &&
38003 { ac_try='test -s conftest.$ac_objext'
38004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38005 (eval $ac_try) 2>&5
38006 ac_status=$?
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); }; }; then
38009 glibcxx_cv_func_logl_use=yes
38010 else
38011 echo "$as_me: failed program was:" >&5
38012 sed 's/^/| /' conftest.$ac_ext >&5
38014 glibcxx_cv_func_logl_use=no
38016 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38017 ac_ext=c
38018 ac_cpp='$CPP $CPPFLAGS'
38019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38027 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
38028 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
38030 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38032 for ac_func in logl
38034 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38035 echo "$as_me:$LINENO: checking for $ac_func" >&5
38036 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38037 if eval "test \"\${$as_ac_var+set}\" = set"; then
38038 echo $ECHO_N "(cached) $ECHO_C" >&6
38039 else
38040 if test x$gcc_no_link = xyes; then
38041 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38042 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38043 { (exit 1); exit 1; }; }
38045 cat >conftest.$ac_ext <<_ACEOF
38046 /* confdefs.h. */
38047 _ACEOF
38048 cat confdefs.h >>conftest.$ac_ext
38049 cat >>conftest.$ac_ext <<_ACEOF
38050 /* end confdefs.h. */
38051 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38052 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38053 #define $ac_func innocuous_$ac_func
38055 /* System header to define __stub macros and hopefully few prototypes,
38056 which can conflict with char $ac_func (); below.
38057 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38058 <limits.h> exists even on freestanding compilers. */
38060 #ifdef __STDC__
38061 # include <limits.h>
38062 #else
38063 # include <assert.h>
38064 #endif
38066 #undef $ac_func
38068 /* Override any gcc2 internal prototype to avoid an error. */
38069 #ifdef __cplusplus
38070 extern "C"
38072 #endif
38073 /* We use char because int might match the return type of a gcc2
38074 builtin and then its argument prototype would still apply. */
38075 char $ac_func ();
38076 /* The GNU C library defines this for functions which it implements
38077 to always fail with ENOSYS. Some functions are actually named
38078 something starting with __ and the normal name is an alias. */
38079 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38080 choke me
38081 #else
38082 char (*f) () = $ac_func;
38083 #endif
38084 #ifdef __cplusplus
38086 #endif
38089 main ()
38091 return f != $ac_func;
38093 return 0;
38095 _ACEOF
38096 rm -f conftest.$ac_objext conftest$ac_exeext
38097 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38098 (eval $ac_link) 2>conftest.er1
38099 ac_status=$?
38100 grep -v '^ *+' conftest.er1 >conftest.err
38101 rm -f conftest.er1
38102 cat conftest.err >&5
38103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38104 (exit $ac_status); } &&
38105 { ac_try='test -z "$ac_c_werror_flag"
38106 || test ! -s conftest.err'
38107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38108 (eval $ac_try) 2>&5
38109 ac_status=$?
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); }; } &&
38112 { ac_try='test -s conftest$ac_exeext'
38113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38114 (eval $ac_try) 2>&5
38115 ac_status=$?
38116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38117 (exit $ac_status); }; }; then
38118 eval "$as_ac_var=yes"
38119 else
38120 echo "$as_me: failed program was:" >&5
38121 sed 's/^/| /' conftest.$ac_ext >&5
38123 eval "$as_ac_var=no"
38125 rm -f conftest.err conftest.$ac_objext \
38126 conftest$ac_exeext conftest.$ac_ext
38128 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38129 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38130 if test `eval echo '${'$as_ac_var'}'` = yes; then
38131 cat >>confdefs.h <<_ACEOF
38132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38133 _ACEOF
38136 done
38138 else
38140 echo "$as_me:$LINENO: checking for _logl declaration" >&5
38141 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
38142 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38143 if test "${glibcxx_cv_func__logl_use+set}" = set; then
38144 echo $ECHO_N "(cached) $ECHO_C" >&6
38145 else
38149 ac_ext=cc
38150 ac_cpp='$CXXCPP $CPPFLAGS'
38151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38155 cat >conftest.$ac_ext <<_ACEOF
38156 /* confdefs.h. */
38157 _ACEOF
38158 cat confdefs.h >>conftest.$ac_ext
38159 cat >>conftest.$ac_ext <<_ACEOF
38160 /* end confdefs.h. */
38161 #include <math.h>
38162 #ifdef HAVE_IEEEFP_H
38163 #include <ieeefp.h>
38164 #endif
38167 main ()
38169 _logl(0);
38171 return 0;
38173 _ACEOF
38174 rm -f conftest.$ac_objext
38175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38176 (eval $ac_compile) 2>conftest.er1
38177 ac_status=$?
38178 grep -v '^ *+' conftest.er1 >conftest.err
38179 rm -f conftest.er1
38180 cat conftest.err >&5
38181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38182 (exit $ac_status); } &&
38183 { ac_try='test -z "$ac_cxx_werror_flag"
38184 || test ! -s conftest.err'
38185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38186 (eval $ac_try) 2>&5
38187 ac_status=$?
38188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38189 (exit $ac_status); }; } &&
38190 { ac_try='test -s conftest.$ac_objext'
38191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38192 (eval $ac_try) 2>&5
38193 ac_status=$?
38194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38195 (exit $ac_status); }; }; then
38196 glibcxx_cv_func__logl_use=yes
38197 else
38198 echo "$as_me: failed program was:" >&5
38199 sed 's/^/| /' conftest.$ac_ext >&5
38201 glibcxx_cv_func__logl_use=no
38203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38204 ac_ext=c
38205 ac_cpp='$CPP $CPPFLAGS'
38206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38214 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
38215 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
38217 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38219 for ac_func in _logl
38221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38222 echo "$as_me:$LINENO: checking for $ac_func" >&5
38223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38224 if eval "test \"\${$as_ac_var+set}\" = set"; then
38225 echo $ECHO_N "(cached) $ECHO_C" >&6
38226 else
38227 if test x$gcc_no_link = xyes; then
38228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38230 { (exit 1); exit 1; }; }
38232 cat >conftest.$ac_ext <<_ACEOF
38233 /* confdefs.h. */
38234 _ACEOF
38235 cat confdefs.h >>conftest.$ac_ext
38236 cat >>conftest.$ac_ext <<_ACEOF
38237 /* end confdefs.h. */
38238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38240 #define $ac_func innocuous_$ac_func
38242 /* System header to define __stub macros and hopefully few prototypes,
38243 which can conflict with char $ac_func (); below.
38244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38245 <limits.h> exists even on freestanding compilers. */
38247 #ifdef __STDC__
38248 # include <limits.h>
38249 #else
38250 # include <assert.h>
38251 #endif
38253 #undef $ac_func
38255 /* Override any gcc2 internal prototype to avoid an error. */
38256 #ifdef __cplusplus
38257 extern "C"
38259 #endif
38260 /* We use char because int might match the return type of a gcc2
38261 builtin and then its argument prototype would still apply. */
38262 char $ac_func ();
38263 /* The GNU C library defines this for functions which it implements
38264 to always fail with ENOSYS. Some functions are actually named
38265 something starting with __ and the normal name is an alias. */
38266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38267 choke me
38268 #else
38269 char (*f) () = $ac_func;
38270 #endif
38271 #ifdef __cplusplus
38273 #endif
38276 main ()
38278 return f != $ac_func;
38280 return 0;
38282 _ACEOF
38283 rm -f conftest.$ac_objext conftest$ac_exeext
38284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38285 (eval $ac_link) 2>conftest.er1
38286 ac_status=$?
38287 grep -v '^ *+' conftest.er1 >conftest.err
38288 rm -f conftest.er1
38289 cat conftest.err >&5
38290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38291 (exit $ac_status); } &&
38292 { ac_try='test -z "$ac_c_werror_flag"
38293 || test ! -s conftest.err'
38294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38295 (eval $ac_try) 2>&5
38296 ac_status=$?
38297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38298 (exit $ac_status); }; } &&
38299 { ac_try='test -s conftest$ac_exeext'
38300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38301 (eval $ac_try) 2>&5
38302 ac_status=$?
38303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38304 (exit $ac_status); }; }; then
38305 eval "$as_ac_var=yes"
38306 else
38307 echo "$as_me: failed program was:" >&5
38308 sed 's/^/| /' conftest.$ac_ext >&5
38310 eval "$as_ac_var=no"
38312 rm -f conftest.err conftest.$ac_objext \
38313 conftest$ac_exeext conftest.$ac_ext
38315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38317 if test `eval echo '${'$as_ac_var'}'` = yes; then
38318 cat >>confdefs.h <<_ACEOF
38319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38320 _ACEOF
38323 done
38333 echo "$as_me:$LINENO: checking for log10l declaration" >&5
38334 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
38335 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38336 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
38337 echo $ECHO_N "(cached) $ECHO_C" >&6
38338 else
38342 ac_ext=cc
38343 ac_cpp='$CXXCPP $CPPFLAGS'
38344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38348 cat >conftest.$ac_ext <<_ACEOF
38349 /* confdefs.h. */
38350 _ACEOF
38351 cat confdefs.h >>conftest.$ac_ext
38352 cat >>conftest.$ac_ext <<_ACEOF
38353 /* end confdefs.h. */
38354 #include <math.h>
38355 #ifdef HAVE_IEEEFP_H
38356 #include <ieeefp.h>
38357 #endif
38360 main ()
38362 log10l(0);
38364 return 0;
38366 _ACEOF
38367 rm -f conftest.$ac_objext
38368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38369 (eval $ac_compile) 2>conftest.er1
38370 ac_status=$?
38371 grep -v '^ *+' conftest.er1 >conftest.err
38372 rm -f conftest.er1
38373 cat conftest.err >&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } &&
38376 { ac_try='test -z "$ac_cxx_werror_flag"
38377 || test ! -s conftest.err'
38378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38379 (eval $ac_try) 2>&5
38380 ac_status=$?
38381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38382 (exit $ac_status); }; } &&
38383 { ac_try='test -s conftest.$ac_objext'
38384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38385 (eval $ac_try) 2>&5
38386 ac_status=$?
38387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38388 (exit $ac_status); }; }; then
38389 glibcxx_cv_func_log10l_use=yes
38390 else
38391 echo "$as_me: failed program was:" >&5
38392 sed 's/^/| /' conftest.$ac_ext >&5
38394 glibcxx_cv_func_log10l_use=no
38396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38397 ac_ext=c
38398 ac_cpp='$CPP $CPPFLAGS'
38399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38407 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
38408 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
38410 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38412 for ac_func in log10l
38414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38415 echo "$as_me:$LINENO: checking for $ac_func" >&5
38416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38417 if eval "test \"\${$as_ac_var+set}\" = set"; then
38418 echo $ECHO_N "(cached) $ECHO_C" >&6
38419 else
38420 if test x$gcc_no_link = xyes; then
38421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38423 { (exit 1); exit 1; }; }
38425 cat >conftest.$ac_ext <<_ACEOF
38426 /* confdefs.h. */
38427 _ACEOF
38428 cat confdefs.h >>conftest.$ac_ext
38429 cat >>conftest.$ac_ext <<_ACEOF
38430 /* end confdefs.h. */
38431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38433 #define $ac_func innocuous_$ac_func
38435 /* System header to define __stub macros and hopefully few prototypes,
38436 which can conflict with char $ac_func (); below.
38437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38438 <limits.h> exists even on freestanding compilers. */
38440 #ifdef __STDC__
38441 # include <limits.h>
38442 #else
38443 # include <assert.h>
38444 #endif
38446 #undef $ac_func
38448 /* Override any gcc2 internal prototype to avoid an error. */
38449 #ifdef __cplusplus
38450 extern "C"
38452 #endif
38453 /* We use char because int might match the return type of a gcc2
38454 builtin and then its argument prototype would still apply. */
38455 char $ac_func ();
38456 /* The GNU C library defines this for functions which it implements
38457 to always fail with ENOSYS. Some functions are actually named
38458 something starting with __ and the normal name is an alias. */
38459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38460 choke me
38461 #else
38462 char (*f) () = $ac_func;
38463 #endif
38464 #ifdef __cplusplus
38466 #endif
38469 main ()
38471 return f != $ac_func;
38473 return 0;
38475 _ACEOF
38476 rm -f conftest.$ac_objext conftest$ac_exeext
38477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38478 (eval $ac_link) 2>conftest.er1
38479 ac_status=$?
38480 grep -v '^ *+' conftest.er1 >conftest.err
38481 rm -f conftest.er1
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } &&
38485 { ac_try='test -z "$ac_c_werror_flag"
38486 || test ! -s conftest.err'
38487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38488 (eval $ac_try) 2>&5
38489 ac_status=$?
38490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38491 (exit $ac_status); }; } &&
38492 { ac_try='test -s conftest$ac_exeext'
38493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38494 (eval $ac_try) 2>&5
38495 ac_status=$?
38496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38497 (exit $ac_status); }; }; then
38498 eval "$as_ac_var=yes"
38499 else
38500 echo "$as_me: failed program was:" >&5
38501 sed 's/^/| /' conftest.$ac_ext >&5
38503 eval "$as_ac_var=no"
38505 rm -f conftest.err conftest.$ac_objext \
38506 conftest$ac_exeext conftest.$ac_ext
38508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38510 if test `eval echo '${'$as_ac_var'}'` = yes; then
38511 cat >>confdefs.h <<_ACEOF
38512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38513 _ACEOF
38516 done
38518 else
38520 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
38521 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
38522 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38523 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
38524 echo $ECHO_N "(cached) $ECHO_C" >&6
38525 else
38529 ac_ext=cc
38530 ac_cpp='$CXXCPP $CPPFLAGS'
38531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38535 cat >conftest.$ac_ext <<_ACEOF
38536 /* confdefs.h. */
38537 _ACEOF
38538 cat confdefs.h >>conftest.$ac_ext
38539 cat >>conftest.$ac_ext <<_ACEOF
38540 /* end confdefs.h. */
38541 #include <math.h>
38542 #ifdef HAVE_IEEEFP_H
38543 #include <ieeefp.h>
38544 #endif
38547 main ()
38549 _log10l(0);
38551 return 0;
38553 _ACEOF
38554 rm -f conftest.$ac_objext
38555 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38556 (eval $ac_compile) 2>conftest.er1
38557 ac_status=$?
38558 grep -v '^ *+' conftest.er1 >conftest.err
38559 rm -f conftest.er1
38560 cat conftest.err >&5
38561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38562 (exit $ac_status); } &&
38563 { ac_try='test -z "$ac_cxx_werror_flag"
38564 || test ! -s conftest.err'
38565 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38566 (eval $ac_try) 2>&5
38567 ac_status=$?
38568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38569 (exit $ac_status); }; } &&
38570 { ac_try='test -s conftest.$ac_objext'
38571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38572 (eval $ac_try) 2>&5
38573 ac_status=$?
38574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38575 (exit $ac_status); }; }; then
38576 glibcxx_cv_func__log10l_use=yes
38577 else
38578 echo "$as_me: failed program was:" >&5
38579 sed 's/^/| /' conftest.$ac_ext >&5
38581 glibcxx_cv_func__log10l_use=no
38583 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38584 ac_ext=c
38585 ac_cpp='$CPP $CPPFLAGS'
38586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38594 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
38595 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
38597 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38599 for ac_func in _log10l
38601 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38602 echo "$as_me:$LINENO: checking for $ac_func" >&5
38603 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38604 if eval "test \"\${$as_ac_var+set}\" = set"; then
38605 echo $ECHO_N "(cached) $ECHO_C" >&6
38606 else
38607 if test x$gcc_no_link = xyes; then
38608 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38609 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38610 { (exit 1); exit 1; }; }
38612 cat >conftest.$ac_ext <<_ACEOF
38613 /* confdefs.h. */
38614 _ACEOF
38615 cat confdefs.h >>conftest.$ac_ext
38616 cat >>conftest.$ac_ext <<_ACEOF
38617 /* end confdefs.h. */
38618 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38619 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38620 #define $ac_func innocuous_$ac_func
38622 /* System header to define __stub macros and hopefully few prototypes,
38623 which can conflict with char $ac_func (); below.
38624 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38625 <limits.h> exists even on freestanding compilers. */
38627 #ifdef __STDC__
38628 # include <limits.h>
38629 #else
38630 # include <assert.h>
38631 #endif
38633 #undef $ac_func
38635 /* Override any gcc2 internal prototype to avoid an error. */
38636 #ifdef __cplusplus
38637 extern "C"
38639 #endif
38640 /* We use char because int might match the return type of a gcc2
38641 builtin and then its argument prototype would still apply. */
38642 char $ac_func ();
38643 /* The GNU C library defines this for functions which it implements
38644 to always fail with ENOSYS. Some functions are actually named
38645 something starting with __ and the normal name is an alias. */
38646 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38647 choke me
38648 #else
38649 char (*f) () = $ac_func;
38650 #endif
38651 #ifdef __cplusplus
38653 #endif
38656 main ()
38658 return f != $ac_func;
38660 return 0;
38662 _ACEOF
38663 rm -f conftest.$ac_objext conftest$ac_exeext
38664 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38665 (eval $ac_link) 2>conftest.er1
38666 ac_status=$?
38667 grep -v '^ *+' conftest.er1 >conftest.err
38668 rm -f conftest.er1
38669 cat conftest.err >&5
38670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38671 (exit $ac_status); } &&
38672 { ac_try='test -z "$ac_c_werror_flag"
38673 || test ! -s conftest.err'
38674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38675 (eval $ac_try) 2>&5
38676 ac_status=$?
38677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38678 (exit $ac_status); }; } &&
38679 { ac_try='test -s conftest$ac_exeext'
38680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38681 (eval $ac_try) 2>&5
38682 ac_status=$?
38683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38684 (exit $ac_status); }; }; then
38685 eval "$as_ac_var=yes"
38686 else
38687 echo "$as_me: failed program was:" >&5
38688 sed 's/^/| /' conftest.$ac_ext >&5
38690 eval "$as_ac_var=no"
38692 rm -f conftest.err conftest.$ac_objext \
38693 conftest$ac_exeext conftest.$ac_ext
38695 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38696 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38697 if test `eval echo '${'$as_ac_var'}'` = yes; then
38698 cat >>confdefs.h <<_ACEOF
38699 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38700 _ACEOF
38703 done
38713 echo "$as_me:$LINENO: checking for modfl declaration" >&5
38714 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
38715 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38716 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
38717 echo $ECHO_N "(cached) $ECHO_C" >&6
38718 else
38722 ac_ext=cc
38723 ac_cpp='$CXXCPP $CPPFLAGS'
38724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38728 cat >conftest.$ac_ext <<_ACEOF
38729 /* confdefs.h. */
38730 _ACEOF
38731 cat confdefs.h >>conftest.$ac_ext
38732 cat >>conftest.$ac_ext <<_ACEOF
38733 /* end confdefs.h. */
38734 #include <math.h>
38736 main ()
38738 modfl(0, 0);
38740 return 0;
38742 _ACEOF
38743 rm -f conftest.$ac_objext
38744 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38745 (eval $ac_compile) 2>conftest.er1
38746 ac_status=$?
38747 grep -v '^ *+' conftest.er1 >conftest.err
38748 rm -f conftest.er1
38749 cat conftest.err >&5
38750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38751 (exit $ac_status); } &&
38752 { ac_try='test -z "$ac_cxx_werror_flag"
38753 || test ! -s conftest.err'
38754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38755 (eval $ac_try) 2>&5
38756 ac_status=$?
38757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38758 (exit $ac_status); }; } &&
38759 { ac_try='test -s conftest.$ac_objext'
38760 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38761 (eval $ac_try) 2>&5
38762 ac_status=$?
38763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38764 (exit $ac_status); }; }; then
38765 glibcxx_cv_func_modfl_use=yes
38766 else
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38770 glibcxx_cv_func_modfl_use=no
38772 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38773 ac_ext=c
38774 ac_cpp='$CPP $CPPFLAGS'
38775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38783 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
38784 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
38786 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
38788 for ac_func in modfl
38790 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38791 echo "$as_me:$LINENO: checking for $ac_func" >&5
38792 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
38793 if eval "test \"\${$as_ac_var+set}\" = set"; then
38794 echo $ECHO_N "(cached) $ECHO_C" >&6
38795 else
38796 if test x$gcc_no_link = xyes; then
38797 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
38798 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
38799 { (exit 1); exit 1; }; }
38801 cat >conftest.$ac_ext <<_ACEOF
38802 /* confdefs.h. */
38803 _ACEOF
38804 cat confdefs.h >>conftest.$ac_ext
38805 cat >>conftest.$ac_ext <<_ACEOF
38806 /* end confdefs.h. */
38807 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38808 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38809 #define $ac_func innocuous_$ac_func
38811 /* System header to define __stub macros and hopefully few prototypes,
38812 which can conflict with char $ac_func (); below.
38813 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38814 <limits.h> exists even on freestanding compilers. */
38816 #ifdef __STDC__
38817 # include <limits.h>
38818 #else
38819 # include <assert.h>
38820 #endif
38822 #undef $ac_func
38824 /* Override any gcc2 internal prototype to avoid an error. */
38825 #ifdef __cplusplus
38826 extern "C"
38828 #endif
38829 /* We use char because int might match the return type of a gcc2
38830 builtin and then its argument prototype would still apply. */
38831 char $ac_func ();
38832 /* The GNU C library defines this for functions which it implements
38833 to always fail with ENOSYS. Some functions are actually named
38834 something starting with __ and the normal name is an alias. */
38835 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
38836 choke me
38837 #else
38838 char (*f) () = $ac_func;
38839 #endif
38840 #ifdef __cplusplus
38842 #endif
38845 main ()
38847 return f != $ac_func;
38849 return 0;
38851 _ACEOF
38852 rm -f conftest.$ac_objext conftest$ac_exeext
38853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
38854 (eval $ac_link) 2>conftest.er1
38855 ac_status=$?
38856 grep -v '^ *+' conftest.er1 >conftest.err
38857 rm -f conftest.er1
38858 cat conftest.err >&5
38859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38860 (exit $ac_status); } &&
38861 { ac_try='test -z "$ac_c_werror_flag"
38862 || test ! -s conftest.err'
38863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38864 (eval $ac_try) 2>&5
38865 ac_status=$?
38866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38867 (exit $ac_status); }; } &&
38868 { ac_try='test -s conftest$ac_exeext'
38869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38870 (eval $ac_try) 2>&5
38871 ac_status=$?
38872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38873 (exit $ac_status); }; }; then
38874 eval "$as_ac_var=yes"
38875 else
38876 echo "$as_me: failed program was:" >&5
38877 sed 's/^/| /' conftest.$ac_ext >&5
38879 eval "$as_ac_var=no"
38881 rm -f conftest.err conftest.$ac_objext \
38882 conftest$ac_exeext conftest.$ac_ext
38884 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
38885 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
38886 if test `eval echo '${'$as_ac_var'}'` = yes; then
38887 cat >>confdefs.h <<_ACEOF
38888 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38889 _ACEOF
38892 done
38894 else
38896 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
38897 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
38898 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
38899 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
38900 echo $ECHO_N "(cached) $ECHO_C" >&6
38901 else
38905 ac_ext=cc
38906 ac_cpp='$CXXCPP $CPPFLAGS'
38907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38911 cat >conftest.$ac_ext <<_ACEOF
38912 /* confdefs.h. */
38913 _ACEOF
38914 cat confdefs.h >>conftest.$ac_ext
38915 cat >>conftest.$ac_ext <<_ACEOF
38916 /* end confdefs.h. */
38917 #include <math.h>
38919 main ()
38921 _modfl(0, 0);
38923 return 0;
38925 _ACEOF
38926 rm -f conftest.$ac_objext
38927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
38928 (eval $ac_compile) 2>conftest.er1
38929 ac_status=$?
38930 grep -v '^ *+' conftest.er1 >conftest.err
38931 rm -f conftest.er1
38932 cat conftest.err >&5
38933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38934 (exit $ac_status); } &&
38935 { ac_try='test -z "$ac_cxx_werror_flag"
38936 || test ! -s conftest.err'
38937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38938 (eval $ac_try) 2>&5
38939 ac_status=$?
38940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38941 (exit $ac_status); }; } &&
38942 { ac_try='test -s conftest.$ac_objext'
38943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
38944 (eval $ac_try) 2>&5
38945 ac_status=$?
38946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38947 (exit $ac_status); }; }; then
38948 glibcxx_cv_func__modfl_use=yes
38949 else
38950 echo "$as_me: failed program was:" >&5
38951 sed 's/^/| /' conftest.$ac_ext >&5
38953 glibcxx_cv_func__modfl_use=no
38955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
38956 ac_ext=c
38957 ac_cpp='$CPP $CPPFLAGS'
38958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38966 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
38967 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
38969 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
38971 for ac_func in _modfl
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
39085 echo "$as_me:$LINENO: checking for powl declaration" >&5
39086 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
39087 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39088 if test "${glibcxx_cv_func_powl_use+set}" = set; then
39089 echo $ECHO_N "(cached) $ECHO_C" >&6
39090 else
39094 ac_ext=cc
39095 ac_cpp='$CXXCPP $CPPFLAGS'
39096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39100 cat >conftest.$ac_ext <<_ACEOF
39101 /* confdefs.h. */
39102 _ACEOF
39103 cat confdefs.h >>conftest.$ac_ext
39104 cat >>conftest.$ac_ext <<_ACEOF
39105 /* end confdefs.h. */
39106 #include <math.h>
39108 main ()
39110 powl(0, 0);
39112 return 0;
39114 _ACEOF
39115 rm -f conftest.$ac_objext
39116 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39117 (eval $ac_compile) 2>conftest.er1
39118 ac_status=$?
39119 grep -v '^ *+' conftest.er1 >conftest.err
39120 rm -f conftest.er1
39121 cat conftest.err >&5
39122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39123 (exit $ac_status); } &&
39124 { ac_try='test -z "$ac_cxx_werror_flag"
39125 || test ! -s conftest.err'
39126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39127 (eval $ac_try) 2>&5
39128 ac_status=$?
39129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39130 (exit $ac_status); }; } &&
39131 { ac_try='test -s conftest.$ac_objext'
39132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39133 (eval $ac_try) 2>&5
39134 ac_status=$?
39135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39136 (exit $ac_status); }; }; then
39137 glibcxx_cv_func_powl_use=yes
39138 else
39139 echo "$as_me: failed program was:" >&5
39140 sed 's/^/| /' conftest.$ac_ext >&5
39142 glibcxx_cv_func_powl_use=no
39144 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39145 ac_ext=c
39146 ac_cpp='$CPP $CPPFLAGS'
39147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39155 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
39156 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
39158 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39160 for ac_func in powl
39162 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39163 echo "$as_me:$LINENO: checking for $ac_func" >&5
39164 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39165 if eval "test \"\${$as_ac_var+set}\" = set"; then
39166 echo $ECHO_N "(cached) $ECHO_C" >&6
39167 else
39168 if test x$gcc_no_link = xyes; then
39169 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39170 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39171 { (exit 1); exit 1; }; }
39173 cat >conftest.$ac_ext <<_ACEOF
39174 /* confdefs.h. */
39175 _ACEOF
39176 cat confdefs.h >>conftest.$ac_ext
39177 cat >>conftest.$ac_ext <<_ACEOF
39178 /* end confdefs.h. */
39179 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39180 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39181 #define $ac_func innocuous_$ac_func
39183 /* System header to define __stub macros and hopefully few prototypes,
39184 which can conflict with char $ac_func (); below.
39185 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39186 <limits.h> exists even on freestanding compilers. */
39188 #ifdef __STDC__
39189 # include <limits.h>
39190 #else
39191 # include <assert.h>
39192 #endif
39194 #undef $ac_func
39196 /* Override any gcc2 internal prototype to avoid an error. */
39197 #ifdef __cplusplus
39198 extern "C"
39200 #endif
39201 /* We use char because int might match the return type of a gcc2
39202 builtin and then its argument prototype would still apply. */
39203 char $ac_func ();
39204 /* The GNU C library defines this for functions which it implements
39205 to always fail with ENOSYS. Some functions are actually named
39206 something starting with __ and the normal name is an alias. */
39207 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39208 choke me
39209 #else
39210 char (*f) () = $ac_func;
39211 #endif
39212 #ifdef __cplusplus
39214 #endif
39217 main ()
39219 return f != $ac_func;
39221 return 0;
39223 _ACEOF
39224 rm -f conftest.$ac_objext conftest$ac_exeext
39225 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39226 (eval $ac_link) 2>conftest.er1
39227 ac_status=$?
39228 grep -v '^ *+' conftest.er1 >conftest.err
39229 rm -f conftest.er1
39230 cat conftest.err >&5
39231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39232 (exit $ac_status); } &&
39233 { ac_try='test -z "$ac_c_werror_flag"
39234 || test ! -s conftest.err'
39235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39236 (eval $ac_try) 2>&5
39237 ac_status=$?
39238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39239 (exit $ac_status); }; } &&
39240 { ac_try='test -s conftest$ac_exeext'
39241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39242 (eval $ac_try) 2>&5
39243 ac_status=$?
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); }; }; then
39246 eval "$as_ac_var=yes"
39247 else
39248 echo "$as_me: failed program was:" >&5
39249 sed 's/^/| /' conftest.$ac_ext >&5
39251 eval "$as_ac_var=no"
39253 rm -f conftest.err conftest.$ac_objext \
39254 conftest$ac_exeext conftest.$ac_ext
39256 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39257 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39258 if test `eval echo '${'$as_ac_var'}'` = yes; then
39259 cat >>confdefs.h <<_ACEOF
39260 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39261 _ACEOF
39264 done
39266 else
39268 echo "$as_me:$LINENO: checking for _powl declaration" >&5
39269 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
39270 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39271 if test "${glibcxx_cv_func__powl_use+set}" = set; then
39272 echo $ECHO_N "(cached) $ECHO_C" >&6
39273 else
39277 ac_ext=cc
39278 ac_cpp='$CXXCPP $CPPFLAGS'
39279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39283 cat >conftest.$ac_ext <<_ACEOF
39284 /* confdefs.h. */
39285 _ACEOF
39286 cat confdefs.h >>conftest.$ac_ext
39287 cat >>conftest.$ac_ext <<_ACEOF
39288 /* end confdefs.h. */
39289 #include <math.h>
39291 main ()
39293 _powl(0, 0);
39295 return 0;
39297 _ACEOF
39298 rm -f conftest.$ac_objext
39299 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39300 (eval $ac_compile) 2>conftest.er1
39301 ac_status=$?
39302 grep -v '^ *+' conftest.er1 >conftest.err
39303 rm -f conftest.er1
39304 cat conftest.err >&5
39305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39306 (exit $ac_status); } &&
39307 { ac_try='test -z "$ac_cxx_werror_flag"
39308 || test ! -s conftest.err'
39309 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39310 (eval $ac_try) 2>&5
39311 ac_status=$?
39312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39313 (exit $ac_status); }; } &&
39314 { ac_try='test -s conftest.$ac_objext'
39315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39316 (eval $ac_try) 2>&5
39317 ac_status=$?
39318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39319 (exit $ac_status); }; }; then
39320 glibcxx_cv_func__powl_use=yes
39321 else
39322 echo "$as_me: failed program was:" >&5
39323 sed 's/^/| /' conftest.$ac_ext >&5
39325 glibcxx_cv_func__powl_use=no
39327 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39328 ac_ext=c
39329 ac_cpp='$CPP $CPPFLAGS'
39330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39338 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
39339 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
39341 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39343 for ac_func in _powl
39345 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39346 echo "$as_me:$LINENO: checking for $ac_func" >&5
39347 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39348 if eval "test \"\${$as_ac_var+set}\" = set"; then
39349 echo $ECHO_N "(cached) $ECHO_C" >&6
39350 else
39351 if test x$gcc_no_link = xyes; then
39352 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39353 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39354 { (exit 1); exit 1; }; }
39356 cat >conftest.$ac_ext <<_ACEOF
39357 /* confdefs.h. */
39358 _ACEOF
39359 cat confdefs.h >>conftest.$ac_ext
39360 cat >>conftest.$ac_ext <<_ACEOF
39361 /* end confdefs.h. */
39362 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39363 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39364 #define $ac_func innocuous_$ac_func
39366 /* System header to define __stub macros and hopefully few prototypes,
39367 which can conflict with char $ac_func (); below.
39368 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39369 <limits.h> exists even on freestanding compilers. */
39371 #ifdef __STDC__
39372 # include <limits.h>
39373 #else
39374 # include <assert.h>
39375 #endif
39377 #undef $ac_func
39379 /* Override any gcc2 internal prototype to avoid an error. */
39380 #ifdef __cplusplus
39381 extern "C"
39383 #endif
39384 /* We use char because int might match the return type of a gcc2
39385 builtin and then its argument prototype would still apply. */
39386 char $ac_func ();
39387 /* The GNU C library defines this for functions which it implements
39388 to always fail with ENOSYS. Some functions are actually named
39389 something starting with __ and the normal name is an alias. */
39390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39391 choke me
39392 #else
39393 char (*f) () = $ac_func;
39394 #endif
39395 #ifdef __cplusplus
39397 #endif
39400 main ()
39402 return f != $ac_func;
39404 return 0;
39406 _ACEOF
39407 rm -f conftest.$ac_objext conftest$ac_exeext
39408 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39409 (eval $ac_link) 2>conftest.er1
39410 ac_status=$?
39411 grep -v '^ *+' conftest.er1 >conftest.err
39412 rm -f conftest.er1
39413 cat conftest.err >&5
39414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39415 (exit $ac_status); } &&
39416 { ac_try='test -z "$ac_c_werror_flag"
39417 || test ! -s conftest.err'
39418 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39419 (eval $ac_try) 2>&5
39420 ac_status=$?
39421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39422 (exit $ac_status); }; } &&
39423 { ac_try='test -s conftest$ac_exeext'
39424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39425 (eval $ac_try) 2>&5
39426 ac_status=$?
39427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39428 (exit $ac_status); }; }; then
39429 eval "$as_ac_var=yes"
39430 else
39431 echo "$as_me: failed program was:" >&5
39432 sed 's/^/| /' conftest.$ac_ext >&5
39434 eval "$as_ac_var=no"
39436 rm -f conftest.err conftest.$ac_objext \
39437 conftest$ac_exeext conftest.$ac_ext
39439 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39440 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39441 if test `eval echo '${'$as_ac_var'}'` = yes; then
39442 cat >>confdefs.h <<_ACEOF
39443 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39444 _ACEOF
39447 done
39457 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
39458 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
39459 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39460 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
39461 echo $ECHO_N "(cached) $ECHO_C" >&6
39462 else
39466 ac_ext=cc
39467 ac_cpp='$CXXCPP $CPPFLAGS'
39468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39472 cat >conftest.$ac_ext <<_ACEOF
39473 /* confdefs.h. */
39474 _ACEOF
39475 cat confdefs.h >>conftest.$ac_ext
39476 cat >>conftest.$ac_ext <<_ACEOF
39477 /* end confdefs.h. */
39478 #include <math.h>
39479 #ifdef HAVE_IEEEFP_H
39480 #include <ieeefp.h>
39481 #endif
39484 main ()
39486 sqrtl(0);
39488 return 0;
39490 _ACEOF
39491 rm -f conftest.$ac_objext
39492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39493 (eval $ac_compile) 2>conftest.er1
39494 ac_status=$?
39495 grep -v '^ *+' conftest.er1 >conftest.err
39496 rm -f conftest.er1
39497 cat conftest.err >&5
39498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39499 (exit $ac_status); } &&
39500 { ac_try='test -z "$ac_cxx_werror_flag"
39501 || test ! -s conftest.err'
39502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39503 (eval $ac_try) 2>&5
39504 ac_status=$?
39505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39506 (exit $ac_status); }; } &&
39507 { ac_try='test -s conftest.$ac_objext'
39508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39509 (eval $ac_try) 2>&5
39510 ac_status=$?
39511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39512 (exit $ac_status); }; }; then
39513 glibcxx_cv_func_sqrtl_use=yes
39514 else
39515 echo "$as_me: failed program was:" >&5
39516 sed 's/^/| /' conftest.$ac_ext >&5
39518 glibcxx_cv_func_sqrtl_use=no
39520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39521 ac_ext=c
39522 ac_cpp='$CPP $CPPFLAGS'
39523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39531 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
39532 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
39534 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39536 for ac_func in sqrtl
39538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39539 echo "$as_me:$LINENO: checking for $ac_func" >&5
39540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39541 if eval "test \"\${$as_ac_var+set}\" = set"; then
39542 echo $ECHO_N "(cached) $ECHO_C" >&6
39543 else
39544 if test x$gcc_no_link = xyes; then
39545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39547 { (exit 1); exit 1; }; }
39549 cat >conftest.$ac_ext <<_ACEOF
39550 /* confdefs.h. */
39551 _ACEOF
39552 cat confdefs.h >>conftest.$ac_ext
39553 cat >>conftest.$ac_ext <<_ACEOF
39554 /* end confdefs.h. */
39555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39557 #define $ac_func innocuous_$ac_func
39559 /* System header to define __stub macros and hopefully few prototypes,
39560 which can conflict with char $ac_func (); below.
39561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39562 <limits.h> exists even on freestanding compilers. */
39564 #ifdef __STDC__
39565 # include <limits.h>
39566 #else
39567 # include <assert.h>
39568 #endif
39570 #undef $ac_func
39572 /* Override any gcc2 internal prototype to avoid an error. */
39573 #ifdef __cplusplus
39574 extern "C"
39576 #endif
39577 /* We use char because int might match the return type of a gcc2
39578 builtin and then its argument prototype would still apply. */
39579 char $ac_func ();
39580 /* The GNU C library defines this for functions which it implements
39581 to always fail with ENOSYS. Some functions are actually named
39582 something starting with __ and the normal name is an alias. */
39583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39584 choke me
39585 #else
39586 char (*f) () = $ac_func;
39587 #endif
39588 #ifdef __cplusplus
39590 #endif
39593 main ()
39595 return f != $ac_func;
39597 return 0;
39599 _ACEOF
39600 rm -f conftest.$ac_objext conftest$ac_exeext
39601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39602 (eval $ac_link) 2>conftest.er1
39603 ac_status=$?
39604 grep -v '^ *+' conftest.er1 >conftest.err
39605 rm -f conftest.er1
39606 cat conftest.err >&5
39607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39608 (exit $ac_status); } &&
39609 { ac_try='test -z "$ac_c_werror_flag"
39610 || test ! -s conftest.err'
39611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39612 (eval $ac_try) 2>&5
39613 ac_status=$?
39614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39615 (exit $ac_status); }; } &&
39616 { ac_try='test -s conftest$ac_exeext'
39617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39618 (eval $ac_try) 2>&5
39619 ac_status=$?
39620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39621 (exit $ac_status); }; }; then
39622 eval "$as_ac_var=yes"
39623 else
39624 echo "$as_me: failed program was:" >&5
39625 sed 's/^/| /' conftest.$ac_ext >&5
39627 eval "$as_ac_var=no"
39629 rm -f conftest.err conftest.$ac_objext \
39630 conftest$ac_exeext conftest.$ac_ext
39632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39634 if test `eval echo '${'$as_ac_var'}'` = yes; then
39635 cat >>confdefs.h <<_ACEOF
39636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39637 _ACEOF
39640 done
39642 else
39644 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
39645 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
39646 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39647 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
39648 echo $ECHO_N "(cached) $ECHO_C" >&6
39649 else
39653 ac_ext=cc
39654 ac_cpp='$CXXCPP $CPPFLAGS'
39655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39659 cat >conftest.$ac_ext <<_ACEOF
39660 /* confdefs.h. */
39661 _ACEOF
39662 cat confdefs.h >>conftest.$ac_ext
39663 cat >>conftest.$ac_ext <<_ACEOF
39664 /* end confdefs.h. */
39665 #include <math.h>
39666 #ifdef HAVE_IEEEFP_H
39667 #include <ieeefp.h>
39668 #endif
39671 main ()
39673 _sqrtl(0);
39675 return 0;
39677 _ACEOF
39678 rm -f conftest.$ac_objext
39679 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39680 (eval $ac_compile) 2>conftest.er1
39681 ac_status=$?
39682 grep -v '^ *+' conftest.er1 >conftest.err
39683 rm -f conftest.er1
39684 cat conftest.err >&5
39685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39686 (exit $ac_status); } &&
39687 { ac_try='test -z "$ac_cxx_werror_flag"
39688 || test ! -s conftest.err'
39689 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39690 (eval $ac_try) 2>&5
39691 ac_status=$?
39692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39693 (exit $ac_status); }; } &&
39694 { ac_try='test -s conftest.$ac_objext'
39695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39696 (eval $ac_try) 2>&5
39697 ac_status=$?
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); }; }; then
39700 glibcxx_cv_func__sqrtl_use=yes
39701 else
39702 echo "$as_me: failed program was:" >&5
39703 sed 's/^/| /' conftest.$ac_ext >&5
39705 glibcxx_cv_func__sqrtl_use=no
39707 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39708 ac_ext=c
39709 ac_cpp='$CPP $CPPFLAGS'
39710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39718 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
39719 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
39721 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39723 for ac_func in _sqrtl
39725 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39726 echo "$as_me:$LINENO: checking for $ac_func" >&5
39727 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39728 if eval "test \"\${$as_ac_var+set}\" = set"; then
39729 echo $ECHO_N "(cached) $ECHO_C" >&6
39730 else
39731 if test x$gcc_no_link = xyes; then
39732 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39733 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39734 { (exit 1); exit 1; }; }
39736 cat >conftest.$ac_ext <<_ACEOF
39737 /* confdefs.h. */
39738 _ACEOF
39739 cat confdefs.h >>conftest.$ac_ext
39740 cat >>conftest.$ac_ext <<_ACEOF
39741 /* end confdefs.h. */
39742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39744 #define $ac_func innocuous_$ac_func
39746 /* System header to define __stub macros and hopefully few prototypes,
39747 which can conflict with char $ac_func (); below.
39748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39749 <limits.h> exists even on freestanding compilers. */
39751 #ifdef __STDC__
39752 # include <limits.h>
39753 #else
39754 # include <assert.h>
39755 #endif
39757 #undef $ac_func
39759 /* Override any gcc2 internal prototype to avoid an error. */
39760 #ifdef __cplusplus
39761 extern "C"
39763 #endif
39764 /* We use char because int might match the return type of a gcc2
39765 builtin and then its argument prototype would still apply. */
39766 char $ac_func ();
39767 /* The GNU C library defines this for functions which it implements
39768 to always fail with ENOSYS. Some functions are actually named
39769 something starting with __ and the normal name is an alias. */
39770 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39771 choke me
39772 #else
39773 char (*f) () = $ac_func;
39774 #endif
39775 #ifdef __cplusplus
39777 #endif
39780 main ()
39782 return f != $ac_func;
39784 return 0;
39786 _ACEOF
39787 rm -f conftest.$ac_objext conftest$ac_exeext
39788 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39789 (eval $ac_link) 2>conftest.er1
39790 ac_status=$?
39791 grep -v '^ *+' conftest.er1 >conftest.err
39792 rm -f conftest.er1
39793 cat conftest.err >&5
39794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39795 (exit $ac_status); } &&
39796 { ac_try='test -z "$ac_c_werror_flag"
39797 || test ! -s conftest.err'
39798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39799 (eval $ac_try) 2>&5
39800 ac_status=$?
39801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39802 (exit $ac_status); }; } &&
39803 { ac_try='test -s conftest$ac_exeext'
39804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39805 (eval $ac_try) 2>&5
39806 ac_status=$?
39807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39808 (exit $ac_status); }; }; then
39809 eval "$as_ac_var=yes"
39810 else
39811 echo "$as_me: failed program was:" >&5
39812 sed 's/^/| /' conftest.$ac_ext >&5
39814 eval "$as_ac_var=no"
39816 rm -f conftest.err conftest.$ac_objext \
39817 conftest$ac_exeext conftest.$ac_ext
39819 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
39820 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
39821 if test `eval echo '${'$as_ac_var'}'` = yes; then
39822 cat >>confdefs.h <<_ACEOF
39823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39824 _ACEOF
39827 done
39837 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
39838 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
39839 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39840 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
39841 echo $ECHO_N "(cached) $ECHO_C" >&6
39842 else
39846 ac_ext=cc
39847 ac_cpp='$CXXCPP $CPPFLAGS'
39848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39852 cat >conftest.$ac_ext <<_ACEOF
39853 /* confdefs.h. */
39854 _ACEOF
39855 cat confdefs.h >>conftest.$ac_ext
39856 cat >>conftest.$ac_ext <<_ACEOF
39857 /* end confdefs.h. */
39858 #include <math.h>
39860 main ()
39862 sincosl(0, 0, 0);
39864 return 0;
39866 _ACEOF
39867 rm -f conftest.$ac_objext
39868 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
39869 (eval $ac_compile) 2>conftest.er1
39870 ac_status=$?
39871 grep -v '^ *+' conftest.er1 >conftest.err
39872 rm -f conftest.er1
39873 cat conftest.err >&5
39874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39875 (exit $ac_status); } &&
39876 { ac_try='test -z "$ac_cxx_werror_flag"
39877 || test ! -s conftest.err'
39878 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39879 (eval $ac_try) 2>&5
39880 ac_status=$?
39881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39882 (exit $ac_status); }; } &&
39883 { ac_try='test -s conftest.$ac_objext'
39884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39885 (eval $ac_try) 2>&5
39886 ac_status=$?
39887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39888 (exit $ac_status); }; }; then
39889 glibcxx_cv_func_sincosl_use=yes
39890 else
39891 echo "$as_me: failed program was:" >&5
39892 sed 's/^/| /' conftest.$ac_ext >&5
39894 glibcxx_cv_func_sincosl_use=no
39896 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
39897 ac_ext=c
39898 ac_cpp='$CPP $CPPFLAGS'
39899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39907 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
39908 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
39910 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39912 for ac_func in sincosl
39914 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39915 echo "$as_me:$LINENO: checking for $ac_func" >&5
39916 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
39917 if eval "test \"\${$as_ac_var+set}\" = set"; then
39918 echo $ECHO_N "(cached) $ECHO_C" >&6
39919 else
39920 if test x$gcc_no_link = xyes; then
39921 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
39922 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
39923 { (exit 1); exit 1; }; }
39925 cat >conftest.$ac_ext <<_ACEOF
39926 /* confdefs.h. */
39927 _ACEOF
39928 cat confdefs.h >>conftest.$ac_ext
39929 cat >>conftest.$ac_ext <<_ACEOF
39930 /* end confdefs.h. */
39931 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39932 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39933 #define $ac_func innocuous_$ac_func
39935 /* System header to define __stub macros and hopefully few prototypes,
39936 which can conflict with char $ac_func (); below.
39937 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39938 <limits.h> exists even on freestanding compilers. */
39940 #ifdef __STDC__
39941 # include <limits.h>
39942 #else
39943 # include <assert.h>
39944 #endif
39946 #undef $ac_func
39948 /* Override any gcc2 internal prototype to avoid an error. */
39949 #ifdef __cplusplus
39950 extern "C"
39952 #endif
39953 /* We use char because int might match the return type of a gcc2
39954 builtin and then its argument prototype would still apply. */
39955 char $ac_func ();
39956 /* The GNU C library defines this for functions which it implements
39957 to always fail with ENOSYS. Some functions are actually named
39958 something starting with __ and the normal name is an alias. */
39959 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
39960 choke me
39961 #else
39962 char (*f) () = $ac_func;
39963 #endif
39964 #ifdef __cplusplus
39966 #endif
39969 main ()
39971 return f != $ac_func;
39973 return 0;
39975 _ACEOF
39976 rm -f conftest.$ac_objext conftest$ac_exeext
39977 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
39978 (eval $ac_link) 2>conftest.er1
39979 ac_status=$?
39980 grep -v '^ *+' conftest.er1 >conftest.err
39981 rm -f conftest.er1
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } &&
39985 { ac_try='test -z "$ac_c_werror_flag"
39986 || test ! -s conftest.err'
39987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39988 (eval $ac_try) 2>&5
39989 ac_status=$?
39990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39991 (exit $ac_status); }; } &&
39992 { ac_try='test -s conftest$ac_exeext'
39993 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
39994 (eval $ac_try) 2>&5
39995 ac_status=$?
39996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39997 (exit $ac_status); }; }; then
39998 eval "$as_ac_var=yes"
39999 else
40000 echo "$as_me: failed program was:" >&5
40001 sed 's/^/| /' conftest.$ac_ext >&5
40003 eval "$as_ac_var=no"
40005 rm -f conftest.err conftest.$ac_objext \
40006 conftest$ac_exeext conftest.$ac_ext
40008 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40009 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40010 if test `eval echo '${'$as_ac_var'}'` = yes; then
40011 cat >>confdefs.h <<_ACEOF
40012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40013 _ACEOF
40016 done
40018 else
40020 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
40021 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
40022 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40023 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
40024 echo $ECHO_N "(cached) $ECHO_C" >&6
40025 else
40029 ac_ext=cc
40030 ac_cpp='$CXXCPP $CPPFLAGS'
40031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40035 cat >conftest.$ac_ext <<_ACEOF
40036 /* confdefs.h. */
40037 _ACEOF
40038 cat confdefs.h >>conftest.$ac_ext
40039 cat >>conftest.$ac_ext <<_ACEOF
40040 /* end confdefs.h. */
40041 #include <math.h>
40043 main ()
40045 _sincosl(0, 0, 0);
40047 return 0;
40049 _ACEOF
40050 rm -f conftest.$ac_objext
40051 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40052 (eval $ac_compile) 2>conftest.er1
40053 ac_status=$?
40054 grep -v '^ *+' conftest.er1 >conftest.err
40055 rm -f conftest.er1
40056 cat conftest.err >&5
40057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40058 (exit $ac_status); } &&
40059 { ac_try='test -z "$ac_cxx_werror_flag"
40060 || test ! -s conftest.err'
40061 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40062 (eval $ac_try) 2>&5
40063 ac_status=$?
40064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40065 (exit $ac_status); }; } &&
40066 { ac_try='test -s conftest.$ac_objext'
40067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40068 (eval $ac_try) 2>&5
40069 ac_status=$?
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); }; }; then
40072 glibcxx_cv_func__sincosl_use=yes
40073 else
40074 echo "$as_me: failed program was:" >&5
40075 sed 's/^/| /' conftest.$ac_ext >&5
40077 glibcxx_cv_func__sincosl_use=no
40079 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40080 ac_ext=c
40081 ac_cpp='$CPP $CPPFLAGS'
40082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40090 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
40091 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
40093 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40095 for ac_func in _sincosl
40097 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40098 echo "$as_me:$LINENO: checking for $ac_func" >&5
40099 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40100 if eval "test \"\${$as_ac_var+set}\" = set"; then
40101 echo $ECHO_N "(cached) $ECHO_C" >&6
40102 else
40103 if test x$gcc_no_link = xyes; then
40104 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40105 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40106 { (exit 1); exit 1; }; }
40108 cat >conftest.$ac_ext <<_ACEOF
40109 /* confdefs.h. */
40110 _ACEOF
40111 cat confdefs.h >>conftest.$ac_ext
40112 cat >>conftest.$ac_ext <<_ACEOF
40113 /* end confdefs.h. */
40114 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40115 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40116 #define $ac_func innocuous_$ac_func
40118 /* System header to define __stub macros and hopefully few prototypes,
40119 which can conflict with char $ac_func (); below.
40120 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40121 <limits.h> exists even on freestanding compilers. */
40123 #ifdef __STDC__
40124 # include <limits.h>
40125 #else
40126 # include <assert.h>
40127 #endif
40129 #undef $ac_func
40131 /* Override any gcc2 internal prototype to avoid an error. */
40132 #ifdef __cplusplus
40133 extern "C"
40135 #endif
40136 /* We use char because int might match the return type of a gcc2
40137 builtin and then its argument prototype would still apply. */
40138 char $ac_func ();
40139 /* The GNU C library defines this for functions which it implements
40140 to always fail with ENOSYS. Some functions are actually named
40141 something starting with __ and the normal name is an alias. */
40142 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40143 choke me
40144 #else
40145 char (*f) () = $ac_func;
40146 #endif
40147 #ifdef __cplusplus
40149 #endif
40152 main ()
40154 return f != $ac_func;
40156 return 0;
40158 _ACEOF
40159 rm -f conftest.$ac_objext conftest$ac_exeext
40160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40161 (eval $ac_link) 2>conftest.er1
40162 ac_status=$?
40163 grep -v '^ *+' conftest.er1 >conftest.err
40164 rm -f conftest.er1
40165 cat conftest.err >&5
40166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40167 (exit $ac_status); } &&
40168 { ac_try='test -z "$ac_c_werror_flag"
40169 || test ! -s conftest.err'
40170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40171 (eval $ac_try) 2>&5
40172 ac_status=$?
40173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40174 (exit $ac_status); }; } &&
40175 { ac_try='test -s conftest$ac_exeext'
40176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40177 (eval $ac_try) 2>&5
40178 ac_status=$?
40179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40180 (exit $ac_status); }; }; then
40181 eval "$as_ac_var=yes"
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40186 eval "$as_ac_var=no"
40188 rm -f conftest.err conftest.$ac_objext \
40189 conftest$ac_exeext conftest.$ac_ext
40191 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40192 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40193 if test `eval echo '${'$as_ac_var'}'` = yes; then
40194 cat >>confdefs.h <<_ACEOF
40195 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40196 _ACEOF
40199 done
40209 echo "$as_me:$LINENO: checking for finitel declaration" >&5
40210 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
40211 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40212 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
40213 echo $ECHO_N "(cached) $ECHO_C" >&6
40214 else
40218 ac_ext=cc
40219 ac_cpp='$CXXCPP $CPPFLAGS'
40220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40224 cat >conftest.$ac_ext <<_ACEOF
40225 /* confdefs.h. */
40226 _ACEOF
40227 cat confdefs.h >>conftest.$ac_ext
40228 cat >>conftest.$ac_ext <<_ACEOF
40229 /* end confdefs.h. */
40230 #include <math.h>
40231 #ifdef HAVE_IEEEFP_H
40232 #include <ieeefp.h>
40233 #endif
40236 main ()
40238 finitel(0);
40240 return 0;
40242 _ACEOF
40243 rm -f conftest.$ac_objext
40244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40245 (eval $ac_compile) 2>conftest.er1
40246 ac_status=$?
40247 grep -v '^ *+' conftest.er1 >conftest.err
40248 rm -f conftest.er1
40249 cat conftest.err >&5
40250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40251 (exit $ac_status); } &&
40252 { ac_try='test -z "$ac_cxx_werror_flag"
40253 || test ! -s conftest.err'
40254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40255 (eval $ac_try) 2>&5
40256 ac_status=$?
40257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40258 (exit $ac_status); }; } &&
40259 { ac_try='test -s conftest.$ac_objext'
40260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40261 (eval $ac_try) 2>&5
40262 ac_status=$?
40263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40264 (exit $ac_status); }; }; then
40265 glibcxx_cv_func_finitel_use=yes
40266 else
40267 echo "$as_me: failed program was:" >&5
40268 sed 's/^/| /' conftest.$ac_ext >&5
40270 glibcxx_cv_func_finitel_use=no
40272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40273 ac_ext=c
40274 ac_cpp='$CPP $CPPFLAGS'
40275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40283 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
40284 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
40286 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40288 for ac_func in finitel
40290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40291 echo "$as_me:$LINENO: checking for $ac_func" >&5
40292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40293 if eval "test \"\${$as_ac_var+set}\" = set"; then
40294 echo $ECHO_N "(cached) $ECHO_C" >&6
40295 else
40296 if test x$gcc_no_link = xyes; then
40297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40299 { (exit 1); exit 1; }; }
40301 cat >conftest.$ac_ext <<_ACEOF
40302 /* confdefs.h. */
40303 _ACEOF
40304 cat confdefs.h >>conftest.$ac_ext
40305 cat >>conftest.$ac_ext <<_ACEOF
40306 /* end confdefs.h. */
40307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40309 #define $ac_func innocuous_$ac_func
40311 /* System header to define __stub macros and hopefully few prototypes,
40312 which can conflict with char $ac_func (); below.
40313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40314 <limits.h> exists even on freestanding compilers. */
40316 #ifdef __STDC__
40317 # include <limits.h>
40318 #else
40319 # include <assert.h>
40320 #endif
40322 #undef $ac_func
40324 /* Override any gcc2 internal prototype to avoid an error. */
40325 #ifdef __cplusplus
40326 extern "C"
40328 #endif
40329 /* We use char because int might match the return type of a gcc2
40330 builtin and then its argument prototype would still apply. */
40331 char $ac_func ();
40332 /* The GNU C library defines this for functions which it implements
40333 to always fail with ENOSYS. Some functions are actually named
40334 something starting with __ and the normal name is an alias. */
40335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40336 choke me
40337 #else
40338 char (*f) () = $ac_func;
40339 #endif
40340 #ifdef __cplusplus
40342 #endif
40345 main ()
40347 return f != $ac_func;
40349 return 0;
40351 _ACEOF
40352 rm -f conftest.$ac_objext conftest$ac_exeext
40353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40354 (eval $ac_link) 2>conftest.er1
40355 ac_status=$?
40356 grep -v '^ *+' conftest.er1 >conftest.err
40357 rm -f conftest.er1
40358 cat conftest.err >&5
40359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40360 (exit $ac_status); } &&
40361 { ac_try='test -z "$ac_c_werror_flag"
40362 || test ! -s conftest.err'
40363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40364 (eval $ac_try) 2>&5
40365 ac_status=$?
40366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40367 (exit $ac_status); }; } &&
40368 { ac_try='test -s conftest$ac_exeext'
40369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40370 (eval $ac_try) 2>&5
40371 ac_status=$?
40372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40373 (exit $ac_status); }; }; then
40374 eval "$as_ac_var=yes"
40375 else
40376 echo "$as_me: failed program was:" >&5
40377 sed 's/^/| /' conftest.$ac_ext >&5
40379 eval "$as_ac_var=no"
40381 rm -f conftest.err conftest.$ac_objext \
40382 conftest$ac_exeext conftest.$ac_ext
40384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40386 if test `eval echo '${'$as_ac_var'}'` = yes; then
40387 cat >>confdefs.h <<_ACEOF
40388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40389 _ACEOF
40392 done
40394 else
40396 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
40397 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
40398 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40399 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
40400 echo $ECHO_N "(cached) $ECHO_C" >&6
40401 else
40405 ac_ext=cc
40406 ac_cpp='$CXXCPP $CPPFLAGS'
40407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40411 cat >conftest.$ac_ext <<_ACEOF
40412 /* confdefs.h. */
40413 _ACEOF
40414 cat confdefs.h >>conftest.$ac_ext
40415 cat >>conftest.$ac_ext <<_ACEOF
40416 /* end confdefs.h. */
40417 #include <math.h>
40418 #ifdef HAVE_IEEEFP_H
40419 #include <ieeefp.h>
40420 #endif
40423 main ()
40425 _finitel(0);
40427 return 0;
40429 _ACEOF
40430 rm -f conftest.$ac_objext
40431 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40432 (eval $ac_compile) 2>conftest.er1
40433 ac_status=$?
40434 grep -v '^ *+' conftest.er1 >conftest.err
40435 rm -f conftest.er1
40436 cat conftest.err >&5
40437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40438 (exit $ac_status); } &&
40439 { ac_try='test -z "$ac_cxx_werror_flag"
40440 || test ! -s conftest.err'
40441 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40442 (eval $ac_try) 2>&5
40443 ac_status=$?
40444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40445 (exit $ac_status); }; } &&
40446 { ac_try='test -s conftest.$ac_objext'
40447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40448 (eval $ac_try) 2>&5
40449 ac_status=$?
40450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40451 (exit $ac_status); }; }; then
40452 glibcxx_cv_func__finitel_use=yes
40453 else
40454 echo "$as_me: failed program was:" >&5
40455 sed 's/^/| /' conftest.$ac_ext >&5
40457 glibcxx_cv_func__finitel_use=no
40459 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40460 ac_ext=c
40461 ac_cpp='$CPP $CPPFLAGS'
40462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40470 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
40471 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
40473 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40475 for ac_func in _finitel
40477 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40478 echo "$as_me:$LINENO: checking for $ac_func" >&5
40479 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40480 if eval "test \"\${$as_ac_var+set}\" = set"; then
40481 echo $ECHO_N "(cached) $ECHO_C" >&6
40482 else
40483 if test x$gcc_no_link = xyes; then
40484 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40485 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40486 { (exit 1); exit 1; }; }
40488 cat >conftest.$ac_ext <<_ACEOF
40489 /* confdefs.h. */
40490 _ACEOF
40491 cat confdefs.h >>conftest.$ac_ext
40492 cat >>conftest.$ac_ext <<_ACEOF
40493 /* end confdefs.h. */
40494 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40496 #define $ac_func innocuous_$ac_func
40498 /* System header to define __stub macros and hopefully few prototypes,
40499 which can conflict with char $ac_func (); below.
40500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40501 <limits.h> exists even on freestanding compilers. */
40503 #ifdef __STDC__
40504 # include <limits.h>
40505 #else
40506 # include <assert.h>
40507 #endif
40509 #undef $ac_func
40511 /* Override any gcc2 internal prototype to avoid an error. */
40512 #ifdef __cplusplus
40513 extern "C"
40515 #endif
40516 /* We use char because int might match the return type of a gcc2
40517 builtin and then its argument prototype would still apply. */
40518 char $ac_func ();
40519 /* The GNU C library defines this for functions which it implements
40520 to always fail with ENOSYS. Some functions are actually named
40521 something starting with __ and the normal name is an alias. */
40522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40523 choke me
40524 #else
40525 char (*f) () = $ac_func;
40526 #endif
40527 #ifdef __cplusplus
40529 #endif
40532 main ()
40534 return f != $ac_func;
40536 return 0;
40538 _ACEOF
40539 rm -f conftest.$ac_objext conftest$ac_exeext
40540 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40541 (eval $ac_link) 2>conftest.er1
40542 ac_status=$?
40543 grep -v '^ *+' conftest.er1 >conftest.err
40544 rm -f conftest.er1
40545 cat conftest.err >&5
40546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40547 (exit $ac_status); } &&
40548 { ac_try='test -z "$ac_c_werror_flag"
40549 || test ! -s conftest.err'
40550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40551 (eval $ac_try) 2>&5
40552 ac_status=$?
40553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40554 (exit $ac_status); }; } &&
40555 { ac_try='test -s conftest$ac_exeext'
40556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40557 (eval $ac_try) 2>&5
40558 ac_status=$?
40559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40560 (exit $ac_status); }; }; then
40561 eval "$as_ac_var=yes"
40562 else
40563 echo "$as_me: failed program was:" >&5
40564 sed 's/^/| /' conftest.$ac_ext >&5
40566 eval "$as_ac_var=no"
40568 rm -f conftest.err conftest.$ac_objext \
40569 conftest$ac_exeext conftest.$ac_ext
40571 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40572 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40573 if test `eval echo '${'$as_ac_var'}'` = yes; then
40574 cat >>confdefs.h <<_ACEOF
40575 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40576 _ACEOF
40579 done
40588 LIBS="$ac_save_LIBS"
40589 CXXFLAGS="$ac_save_CXXFLAGS"
40592 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40593 ac_save_CXXFLAGS="$CXXFLAGS"
40594 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40597 echo "$as_me:$LINENO: checking for strtold declaration" >&5
40598 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
40599 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40600 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
40601 echo $ECHO_N "(cached) $ECHO_C" >&6
40602 else
40606 ac_ext=cc
40607 ac_cpp='$CXXCPP $CPPFLAGS'
40608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40612 cat >conftest.$ac_ext <<_ACEOF
40613 /* confdefs.h. */
40614 _ACEOF
40615 cat confdefs.h >>conftest.$ac_ext
40616 cat >>conftest.$ac_ext <<_ACEOF
40617 /* end confdefs.h. */
40618 #include <stdlib.h>
40620 main ()
40622 strtold(0, 0);
40624 return 0;
40626 _ACEOF
40627 rm -f conftest.$ac_objext
40628 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40629 (eval $ac_compile) 2>conftest.er1
40630 ac_status=$?
40631 grep -v '^ *+' conftest.er1 >conftest.err
40632 rm -f conftest.er1
40633 cat conftest.err >&5
40634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40635 (exit $ac_status); } &&
40636 { ac_try='test -z "$ac_cxx_werror_flag"
40637 || test ! -s conftest.err'
40638 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40639 (eval $ac_try) 2>&5
40640 ac_status=$?
40641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40642 (exit $ac_status); }; } &&
40643 { ac_try='test -s conftest.$ac_objext'
40644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40645 (eval $ac_try) 2>&5
40646 ac_status=$?
40647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40648 (exit $ac_status); }; }; then
40649 glibcxx_cv_func_strtold_use=yes
40650 else
40651 echo "$as_me: failed program was:" >&5
40652 sed 's/^/| /' conftest.$ac_ext >&5
40654 glibcxx_cv_func_strtold_use=no
40656 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40657 ac_ext=c
40658 ac_cpp='$CPP $CPPFLAGS'
40659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40667 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
40668 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
40669 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40671 for ac_func in strtold
40673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40674 echo "$as_me:$LINENO: checking for $ac_func" >&5
40675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40676 if eval "test \"\${$as_ac_var+set}\" = set"; then
40677 echo $ECHO_N "(cached) $ECHO_C" >&6
40678 else
40679 if test x$gcc_no_link = xyes; then
40680 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40681 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40682 { (exit 1); exit 1; }; }
40684 cat >conftest.$ac_ext <<_ACEOF
40685 /* confdefs.h. */
40686 _ACEOF
40687 cat confdefs.h >>conftest.$ac_ext
40688 cat >>conftest.$ac_ext <<_ACEOF
40689 /* end confdefs.h. */
40690 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40691 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40692 #define $ac_func innocuous_$ac_func
40694 /* System header to define __stub macros and hopefully few prototypes,
40695 which can conflict with char $ac_func (); below.
40696 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40697 <limits.h> exists even on freestanding compilers. */
40699 #ifdef __STDC__
40700 # include <limits.h>
40701 #else
40702 # include <assert.h>
40703 #endif
40705 #undef $ac_func
40707 /* Override any gcc2 internal prototype to avoid an error. */
40708 #ifdef __cplusplus
40709 extern "C"
40711 #endif
40712 /* We use char because int might match the return type of a gcc2
40713 builtin and then its argument prototype would still apply. */
40714 char $ac_func ();
40715 /* The GNU C library defines this for functions which it implements
40716 to always fail with ENOSYS. Some functions are actually named
40717 something starting with __ and the normal name is an alias. */
40718 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40719 choke me
40720 #else
40721 char (*f) () = $ac_func;
40722 #endif
40723 #ifdef __cplusplus
40725 #endif
40728 main ()
40730 return f != $ac_func;
40732 return 0;
40734 _ACEOF
40735 rm -f conftest.$ac_objext conftest$ac_exeext
40736 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40737 (eval $ac_link) 2>conftest.er1
40738 ac_status=$?
40739 grep -v '^ *+' conftest.er1 >conftest.err
40740 rm -f conftest.er1
40741 cat conftest.err >&5
40742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40743 (exit $ac_status); } &&
40744 { ac_try='test -z "$ac_c_werror_flag"
40745 || test ! -s conftest.err'
40746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40747 (eval $ac_try) 2>&5
40748 ac_status=$?
40749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40750 (exit $ac_status); }; } &&
40751 { ac_try='test -s conftest$ac_exeext'
40752 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40753 (eval $ac_try) 2>&5
40754 ac_status=$?
40755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40756 (exit $ac_status); }; }; then
40757 eval "$as_ac_var=yes"
40758 else
40759 echo "$as_me: failed program was:" >&5
40760 sed 's/^/| /' conftest.$ac_ext >&5
40762 eval "$as_ac_var=no"
40764 rm -f conftest.err conftest.$ac_objext \
40765 conftest$ac_exeext conftest.$ac_ext
40767 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40768 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40769 if test `eval echo '${'$as_ac_var'}'` = yes; then
40770 cat >>confdefs.h <<_ACEOF
40771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40772 _ACEOF
40775 done
40783 echo "$as_me:$LINENO: checking for strtof declaration" >&5
40784 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
40785 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40786 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
40787 echo $ECHO_N "(cached) $ECHO_C" >&6
40788 else
40792 ac_ext=cc
40793 ac_cpp='$CXXCPP $CPPFLAGS'
40794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40798 cat >conftest.$ac_ext <<_ACEOF
40799 /* confdefs.h. */
40800 _ACEOF
40801 cat confdefs.h >>conftest.$ac_ext
40802 cat >>conftest.$ac_ext <<_ACEOF
40803 /* end confdefs.h. */
40804 #include <stdlib.h>
40806 main ()
40808 strtof(0, 0);
40810 return 0;
40812 _ACEOF
40813 rm -f conftest.$ac_objext
40814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
40815 (eval $ac_compile) 2>conftest.er1
40816 ac_status=$?
40817 grep -v '^ *+' conftest.er1 >conftest.err
40818 rm -f conftest.er1
40819 cat conftest.err >&5
40820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40821 (exit $ac_status); } &&
40822 { ac_try='test -z "$ac_cxx_werror_flag"
40823 || test ! -s conftest.err'
40824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40825 (eval $ac_try) 2>&5
40826 ac_status=$?
40827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40828 (exit $ac_status); }; } &&
40829 { ac_try='test -s conftest.$ac_objext'
40830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40831 (eval $ac_try) 2>&5
40832 ac_status=$?
40833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40834 (exit $ac_status); }; }; then
40835 glibcxx_cv_func_strtof_use=yes
40836 else
40837 echo "$as_me: failed program was:" >&5
40838 sed 's/^/| /' conftest.$ac_ext >&5
40840 glibcxx_cv_func_strtof_use=no
40842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
40843 ac_ext=c
40844 ac_cpp='$CPP $CPPFLAGS'
40845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40853 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
40854 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
40855 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40857 for ac_func in strtof
40859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40860 echo "$as_me:$LINENO: checking for $ac_func" >&5
40861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
40862 if eval "test \"\${$as_ac_var+set}\" = set"; then
40863 echo $ECHO_N "(cached) $ECHO_C" >&6
40864 else
40865 if test x$gcc_no_link = xyes; then
40866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
40867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
40868 { (exit 1); exit 1; }; }
40870 cat >conftest.$ac_ext <<_ACEOF
40871 /* confdefs.h. */
40872 _ACEOF
40873 cat confdefs.h >>conftest.$ac_ext
40874 cat >>conftest.$ac_ext <<_ACEOF
40875 /* end confdefs.h. */
40876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40878 #define $ac_func innocuous_$ac_func
40880 /* System header to define __stub macros and hopefully few prototypes,
40881 which can conflict with char $ac_func (); below.
40882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40883 <limits.h> exists even on freestanding compilers. */
40885 #ifdef __STDC__
40886 # include <limits.h>
40887 #else
40888 # include <assert.h>
40889 #endif
40891 #undef $ac_func
40893 /* Override any gcc2 internal prototype to avoid an error. */
40894 #ifdef __cplusplus
40895 extern "C"
40897 #endif
40898 /* We use char because int might match the return type of a gcc2
40899 builtin and then its argument prototype would still apply. */
40900 char $ac_func ();
40901 /* The GNU C library defines this for functions which it implements
40902 to always fail with ENOSYS. Some functions are actually named
40903 something starting with __ and the normal name is an alias. */
40904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
40905 choke me
40906 #else
40907 char (*f) () = $ac_func;
40908 #endif
40909 #ifdef __cplusplus
40911 #endif
40914 main ()
40916 return f != $ac_func;
40918 return 0;
40920 _ACEOF
40921 rm -f conftest.$ac_objext conftest$ac_exeext
40922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
40923 (eval $ac_link) 2>conftest.er1
40924 ac_status=$?
40925 grep -v '^ *+' conftest.er1 >conftest.err
40926 rm -f conftest.er1
40927 cat conftest.err >&5
40928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40929 (exit $ac_status); } &&
40930 { ac_try='test -z "$ac_c_werror_flag"
40931 || test ! -s conftest.err'
40932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40933 (eval $ac_try) 2>&5
40934 ac_status=$?
40935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40936 (exit $ac_status); }; } &&
40937 { ac_try='test -s conftest$ac_exeext'
40938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
40939 (eval $ac_try) 2>&5
40940 ac_status=$?
40941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40942 (exit $ac_status); }; }; then
40943 eval "$as_ac_var=yes"
40944 else
40945 echo "$as_me: failed program was:" >&5
40946 sed 's/^/| /' conftest.$ac_ext >&5
40948 eval "$as_ac_var=no"
40950 rm -f conftest.err conftest.$ac_objext \
40951 conftest$ac_exeext conftest.$ac_ext
40953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
40954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
40955 if test `eval echo '${'$as_ac_var'}'` = yes; then
40956 cat >>confdefs.h <<_ACEOF
40957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40958 _ACEOF
40961 done
40969 CXXFLAGS="$ac_save_CXXFLAGS"
40972 # For /dev/random and /dev/urandom for TR1.
40975 echo "$as_me:$LINENO: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
40976 echo $ECHO_N "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... $ECHO_C" >&6
40977 if test "${glibcxx_cv_random_tr1+set}" = set; then
40978 echo $ECHO_N "(cached) $ECHO_C" >&6
40979 else
40981 if test -r /dev/random && test -r /dev/urandom; then
40982 glibcxx_cv_random_tr1=yes;
40983 else
40984 glibcxx_cv_random_tr1=no;
40989 echo "$as_me:$LINENO: result: $glibcxx_cv_random_tr1" >&5
40990 echo "${ECHO_T}$glibcxx_cv_random_tr1" >&6
40992 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
40994 cat >>confdefs.h <<\_ACEOF
40995 #define _GLIBCXX_USE_RANDOM_TR1 1
40996 _ACEOF
41002 # For TLS support.
41004 # Check whether --enable-tls or --disable-tls was given.
41005 if test "${enable_tls+set}" = set; then
41006 enableval="$enable_tls"
41008 case "$enableval" in
41009 yes|no) ;;
41010 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
41011 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
41012 { (exit 1); exit 1; }; } ;;
41013 esac
41015 else
41016 enable_tls=yes
41019 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
41020 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
41021 if test "${gcc_cv_have_tls+set}" = set; then
41022 echo $ECHO_N "(cached) $ECHO_C" >&6
41023 else
41025 if test "$cross_compiling" = yes; then
41026 if test x$gcc_no_link = xyes; then
41027 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41028 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41029 { (exit 1); exit 1; }; }
41031 cat >conftest.$ac_ext <<_ACEOF
41032 __thread int a; int b; int main() { return a = b; }
41033 _ACEOF
41034 rm -f conftest.$ac_objext conftest$ac_exeext
41035 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41036 (eval $ac_link) 2>conftest.er1
41037 ac_status=$?
41038 grep -v '^ *+' conftest.er1 >conftest.err
41039 rm -f conftest.er1
41040 cat conftest.err >&5
41041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41042 (exit $ac_status); } &&
41043 { ac_try='test -z "$ac_c_werror_flag"
41044 || test ! -s conftest.err'
41045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41046 (eval $ac_try) 2>&5
41047 ac_status=$?
41048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41049 (exit $ac_status); }; } &&
41050 { ac_try='test -s conftest$ac_exeext'
41051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41052 (eval $ac_try) 2>&5
41053 ac_status=$?
41054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41055 (exit $ac_status); }; }; then
41056 gcc_cv_have_tls=yes
41057 else
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41061 gcc_cv_have_tls=no
41063 rm -f conftest.err conftest.$ac_objext \
41064 conftest$ac_exeext conftest.$ac_ext
41067 else
41068 cat >conftest.$ac_ext <<_ACEOF
41069 __thread int a; int b; int main() { return a = b; }
41070 _ACEOF
41071 rm -f conftest$ac_exeext
41072 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41073 (eval $ac_link) 2>&5
41074 ac_status=$?
41075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41076 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41078 (eval $ac_try) 2>&5
41079 ac_status=$?
41080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41081 (exit $ac_status); }; }; then
41082 chktls_save_LDFLAGS="$LDFLAGS"
41083 LDFLAGS="-static $LDFLAGS"
41084 if test x$gcc_no_link = xyes; then
41085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41087 { (exit 1); exit 1; }; }
41089 cat >conftest.$ac_ext <<_ACEOF
41090 int main() { return 0; }
41091 _ACEOF
41092 rm -f conftest.$ac_objext conftest$ac_exeext
41093 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41094 (eval $ac_link) 2>conftest.er1
41095 ac_status=$?
41096 grep -v '^ *+' conftest.er1 >conftest.err
41097 rm -f conftest.er1
41098 cat conftest.err >&5
41099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41100 (exit $ac_status); } &&
41101 { ac_try='test -z "$ac_c_werror_flag"
41102 || test ! -s conftest.err'
41103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41104 (eval $ac_try) 2>&5
41105 ac_status=$?
41106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41107 (exit $ac_status); }; } &&
41108 { ac_try='test -s conftest$ac_exeext'
41109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41110 (eval $ac_try) 2>&5
41111 ac_status=$?
41112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41113 (exit $ac_status); }; }; then
41114 if test "$cross_compiling" = yes; then
41115 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41116 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41117 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41118 See \`config.log' for more details." >&5
41119 echo "$as_me: error: cannot run test program while cross compiling
41120 See \`config.log' for more details." >&2;}
41121 { (exit 1); exit 1; }; }; }
41122 else
41123 cat >conftest.$ac_ext <<_ACEOF
41124 __thread int a; int b; int main() { return a = b; }
41125 _ACEOF
41126 rm -f conftest$ac_exeext
41127 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41128 (eval $ac_link) 2>&5
41129 ac_status=$?
41130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41131 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41132 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41133 (eval $ac_try) 2>&5
41134 ac_status=$?
41135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41136 (exit $ac_status); }; }; then
41137 gcc_cv_have_tls=yes
41138 else
41139 echo "$as_me: program exited with status $ac_status" >&5
41140 echo "$as_me: failed program was:" >&5
41141 sed 's/^/| /' conftest.$ac_ext >&5
41143 ( exit $ac_status )
41144 gcc_cv_have_tls=no
41146 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41148 else
41149 echo "$as_me: failed program was:" >&5
41150 sed 's/^/| /' conftest.$ac_ext >&5
41152 gcc_cv_have_tls=yes
41154 rm -f conftest.err conftest.$ac_objext \
41155 conftest$ac_exeext conftest.$ac_ext
41156 LDFLAGS="$chktls_save_LDFLAGS"
41157 if test $gcc_cv_have_tls = yes; then
41158 chktls_save_CFLAGS="$CFLAGS"
41159 thread_CFLAGS=failed
41160 for flag in '' '-pthread' '-lpthread'; do
41161 CFLAGS="$flag $chktls_save_CFLAGS"
41162 if test x$gcc_no_link = xyes; then
41163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41165 { (exit 1); exit 1; }; }
41167 cat >conftest.$ac_ext <<_ACEOF
41168 /* confdefs.h. */
41169 _ACEOF
41170 cat confdefs.h >>conftest.$ac_ext
41171 cat >>conftest.$ac_ext <<_ACEOF
41172 /* end confdefs.h. */
41173 #include <pthread.h>
41174 void *g(void *d) { return NULL; }
41176 main ()
41178 pthread_t t; pthread_create(&t,NULL,g,NULL);
41180 return 0;
41182 _ACEOF
41183 rm -f conftest.$ac_objext conftest$ac_exeext
41184 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41185 (eval $ac_link) 2>conftest.er1
41186 ac_status=$?
41187 grep -v '^ *+' conftest.er1 >conftest.err
41188 rm -f conftest.er1
41189 cat conftest.err >&5
41190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41191 (exit $ac_status); } &&
41192 { ac_try='test -z "$ac_c_werror_flag"
41193 || test ! -s conftest.err'
41194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41195 (eval $ac_try) 2>&5
41196 ac_status=$?
41197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41198 (exit $ac_status); }; } &&
41199 { ac_try='test -s conftest$ac_exeext'
41200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41201 (eval $ac_try) 2>&5
41202 ac_status=$?
41203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41204 (exit $ac_status); }; }; then
41205 thread_CFLAGS="$flag"
41206 else
41207 echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.$ac_ext >&5
41211 rm -f conftest.err conftest.$ac_objext \
41212 conftest$ac_exeext conftest.$ac_ext
41213 if test "X$thread_CFLAGS" != Xfailed; then
41214 break
41216 done
41217 CFLAGS="$chktls_save_CFLAGS"
41218 if test "X$thread_CFLAGS" != Xfailed; then
41219 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
41220 if test "$cross_compiling" = yes; then
41221 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
41222 echo "$as_me: error: in \`$ac_pwd':" >&2;}
41223 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
41224 See \`config.log' for more details." >&5
41225 echo "$as_me: error: cannot run test program while cross compiling
41226 See \`config.log' for more details." >&2;}
41227 { (exit 1); exit 1; }; }; }
41228 else
41229 cat >conftest.$ac_ext <<_ACEOF
41230 /* confdefs.h. */
41231 _ACEOF
41232 cat confdefs.h >>conftest.$ac_ext
41233 cat >>conftest.$ac_ext <<_ACEOF
41234 /* end confdefs.h. */
41235 #include <pthread.h>
41236 __thread int a;
41237 static int *a_in_other_thread;
41238 static void *
41239 thread_func (void *arg)
41241 a_in_other_thread = &a;
41242 return (void *)0;
41245 main ()
41247 pthread_t thread;
41248 void *thread_retval;
41249 int *a_in_main_thread;
41250 if (pthread_create (&thread, (pthread_attr_t *)0,
41251 thread_func, (void *)0))
41252 return 0;
41253 a_in_main_thread = &a;
41254 if (pthread_join (thread, &thread_retval))
41255 return 0;
41256 return (a_in_other_thread == a_in_main_thread);
41258 return 0;
41260 _ACEOF
41261 rm -f conftest$ac_exeext
41262 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41263 (eval $ac_link) 2>&5
41264 ac_status=$?
41265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41266 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41267 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41268 (eval $ac_try) 2>&5
41269 ac_status=$?
41270 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41271 (exit $ac_status); }; }; then
41272 gcc_cv_have_tls=yes
41273 else
41274 echo "$as_me: program exited with status $ac_status" >&5
41275 echo "$as_me: failed program was:" >&5
41276 sed 's/^/| /' conftest.$ac_ext >&5
41278 ( exit $ac_status )
41279 gcc_cv_have_tls=no
41281 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41283 CFLAGS="$chktls_save_CFLAGS"
41286 else
41287 echo "$as_me: program exited with status $ac_status" >&5
41288 echo "$as_me: failed program was:" >&5
41289 sed 's/^/| /' conftest.$ac_ext >&5
41291 ( exit $ac_status )
41292 gcc_cv_have_tls=no
41294 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41297 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
41298 echo "${ECHO_T}$gcc_cv_have_tls" >&6
41299 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
41301 cat >>confdefs.h <<\_ACEOF
41302 #define HAVE_TLS 1
41303 _ACEOF
41307 # For iconv support.
41309 if test "X$prefix" = "XNONE"; then
41310 acl_final_prefix="$ac_default_prefix"
41311 else
41312 acl_final_prefix="$prefix"
41314 if test "X$exec_prefix" = "XNONE"; then
41315 acl_final_exec_prefix='${prefix}'
41316 else
41317 acl_final_exec_prefix="$exec_prefix"
41319 acl_save_prefix="$prefix"
41320 prefix="$acl_final_prefix"
41321 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
41322 prefix="$acl_save_prefix"
41325 # Check whether --with-gnu-ld or --without-gnu-ld was given.
41326 if test "${with_gnu_ld+set}" = set; then
41327 withval="$with_gnu_ld"
41328 test "$withval" = no || with_gnu_ld=yes
41329 else
41330 with_gnu_ld=no
41332 # Prepare PATH_SEPARATOR.
41333 # The user is always right.
41334 if test "${PATH_SEPARATOR+set}" != set; then
41335 echo "#! /bin/sh" >conf$$.sh
41336 echo "exit 0" >>conf$$.sh
41337 chmod +x conf$$.sh
41338 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
41339 PATH_SEPARATOR=';'
41340 else
41341 PATH_SEPARATOR=:
41343 rm -f conf$$.sh
41345 ac_prog=ld
41346 if test "$GCC" = yes; then
41347 # Check if gcc -print-prog-name=ld gives a path.
41348 echo "$as_me:$LINENO: checking for ld used by GCC" >&5
41349 echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
41350 case $host in
41351 *-*-mingw*)
41352 # gcc leaves a trailing carriage return which upsets mingw
41353 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
41355 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
41356 esac
41357 case $ac_prog in
41358 # Accept absolute paths.
41359 [\\/]* | [A-Za-z]:[\\/]*)
41360 re_direlt='/[^/][^/]*/\.\./'
41361 # Canonicalize the path of ld
41362 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
41363 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
41364 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
41365 done
41366 test -z "$LD" && LD="$ac_prog"
41369 # If it fails, then pretend we aren't using GCC.
41370 ac_prog=ld
41373 # If it is relative, then search for the first ld in PATH.
41374 with_gnu_ld=unknown
41376 esac
41377 elif test "$with_gnu_ld" = yes; then
41378 echo "$as_me:$LINENO: checking for GNU ld" >&5
41379 echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
41380 else
41381 echo "$as_me:$LINENO: checking for non-GNU ld" >&5
41382 echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
41384 if test "${acl_cv_path_LD+set}" = set; then
41385 echo $ECHO_N "(cached) $ECHO_C" >&6
41386 else
41387 if test -z "$LD"; then
41388 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
41389 for ac_dir in $PATH; do
41390 test -z "$ac_dir" && ac_dir=.
41391 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
41392 acl_cv_path_LD="$ac_dir/$ac_prog"
41393 # Check to see if the program is GNU ld. I'd rather use --version,
41394 # but apparently some GNU ld's only accept -v.
41395 # Break only if it was the GNU/non-GNU ld that we prefer.
41396 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
41397 test "$with_gnu_ld" != no && break
41398 else
41399 test "$with_gnu_ld" != yes && break
41402 done
41403 IFS="$ac_save_ifs"
41404 else
41405 acl_cv_path_LD="$LD" # Let the user override the test with a path.
41409 LD="$acl_cv_path_LD"
41410 if test -n "$LD"; then
41411 echo "$as_me:$LINENO: result: $LD" >&5
41412 echo "${ECHO_T}$LD" >&6
41413 else
41414 echo "$as_me:$LINENO: result: no" >&5
41415 echo "${ECHO_T}no" >&6
41417 test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
41418 echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
41419 { (exit 1); exit 1; }; }
41420 echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
41421 echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
41422 if test "${acl_cv_prog_gnu_ld+set}" = set; then
41423 echo $ECHO_N "(cached) $ECHO_C" >&6
41424 else
41425 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
41426 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
41427 acl_cv_prog_gnu_ld=yes
41428 else
41429 acl_cv_prog_gnu_ld=no
41432 echo "$as_me:$LINENO: result: $acl_cv_prog_gnu_ld" >&5
41433 echo "${ECHO_T}$acl_cv_prog_gnu_ld" >&6
41434 with_gnu_ld=$acl_cv_prog_gnu_ld
41438 echo "$as_me:$LINENO: checking for shared library run path origin" >&5
41439 echo $ECHO_N "checking for shared library run path origin... $ECHO_C" >&6
41440 if test "${acl_cv_rpath+set}" = set; then
41441 echo $ECHO_N "(cached) $ECHO_C" >&6
41442 else
41444 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
41445 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
41446 . ./conftest.sh
41447 rm -f ./conftest.sh
41448 acl_cv_rpath=done
41451 echo "$as_me:$LINENO: result: $acl_cv_rpath" >&5
41452 echo "${ECHO_T}$acl_cv_rpath" >&6
41453 wl="$acl_cv_wl"
41454 libext="$acl_cv_libext"
41455 shlibext="$acl_cv_shlibext"
41456 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
41457 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
41458 hardcode_direct="$acl_cv_hardcode_direct"
41459 hardcode_minus_L="$acl_cv_hardcode_minus_L"
41460 # Check whether --enable-rpath or --disable-rpath was given.
41461 if test "${enable_rpath+set}" = set; then
41462 enableval="$enable_rpath"
41464 else
41465 enable_rpath=yes
41474 use_additional=yes
41476 acl_save_prefix="$prefix"
41477 prefix="$acl_final_prefix"
41478 acl_save_exec_prefix="$exec_prefix"
41479 exec_prefix="$acl_final_exec_prefix"
41481 eval additional_includedir=\"$includedir\"
41482 eval additional_libdir=\"$libdir\"
41484 exec_prefix="$acl_save_exec_prefix"
41485 prefix="$acl_save_prefix"
41488 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
41489 if test "${with_libiconv_prefix+set}" = set; then
41490 withval="$with_libiconv_prefix"
41492 if test "X$withval" = "Xno"; then
41493 use_additional=no
41494 else
41495 if test "X$withval" = "X"; then
41497 acl_save_prefix="$prefix"
41498 prefix="$acl_final_prefix"
41499 acl_save_exec_prefix="$exec_prefix"
41500 exec_prefix="$acl_final_exec_prefix"
41502 eval additional_includedir=\"$includedir\"
41503 eval additional_libdir=\"$libdir\"
41505 exec_prefix="$acl_save_exec_prefix"
41506 prefix="$acl_save_prefix"
41508 else
41509 additional_includedir="$withval/include"
41510 additional_libdir="$withval/lib"
41515 LIBICONV=
41516 LTLIBICONV=
41517 INCICONV=
41518 rpathdirs=
41519 ltrpathdirs=
41520 names_already_handled=
41521 names_next_round='iconv '
41522 while test -n "$names_next_round"; do
41523 names_this_round="$names_next_round"
41524 names_next_round=
41525 for name in $names_this_round; do
41526 already_handled=
41527 for n in $names_already_handled; do
41528 if test "$n" = "$name"; then
41529 already_handled=yes
41530 break
41532 done
41533 if test -z "$already_handled"; then
41534 names_already_handled="$names_already_handled $name"
41535 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
41536 eval value=\"\$HAVE_LIB$uppername\"
41537 if test -n "$value"; then
41538 if test "$value" = yes; then
41539 eval value=\"\$LIB$uppername\"
41540 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
41541 eval value=\"\$LTLIB$uppername\"
41542 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
41543 else
41546 else
41547 found_dir=
41548 found_la=
41549 found_so=
41550 found_a=
41551 if test $use_additional = yes; then
41552 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
41553 found_dir="$additional_libdir"
41554 found_so="$additional_libdir/lib$name.$shlibext"
41555 if test -f "$additional_libdir/lib$name.la"; then
41556 found_la="$additional_libdir/lib$name.la"
41558 else
41559 if test -f "$additional_libdir/lib$name.$libext"; then
41560 found_dir="$additional_libdir"
41561 found_a="$additional_libdir/lib$name.$libext"
41562 if test -f "$additional_libdir/lib$name.la"; then
41563 found_la="$additional_libdir/lib$name.la"
41568 if test "X$found_dir" = "X"; then
41569 for x in $LDFLAGS $LTLIBICONV; do
41571 acl_save_prefix="$prefix"
41572 prefix="$acl_final_prefix"
41573 acl_save_exec_prefix="$exec_prefix"
41574 exec_prefix="$acl_final_exec_prefix"
41575 eval x=\"$x\"
41576 exec_prefix="$acl_save_exec_prefix"
41577 prefix="$acl_save_prefix"
41579 case "$x" in
41580 -L*)
41581 dir=`echo "X$x" | sed -e 's/^X-L//'`
41582 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
41583 found_dir="$dir"
41584 found_so="$dir/lib$name.$shlibext"
41585 if test -f "$dir/lib$name.la"; then
41586 found_la="$dir/lib$name.la"
41588 else
41589 if test -f "$dir/lib$name.$libext"; then
41590 found_dir="$dir"
41591 found_a="$dir/lib$name.$libext"
41592 if test -f "$dir/lib$name.la"; then
41593 found_la="$dir/lib$name.la"
41598 esac
41599 if test "X$found_dir" != "X"; then
41600 break
41602 done
41604 if test "X$found_dir" != "X"; then
41605 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
41606 if test "X$found_so" != "X"; then
41607 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
41608 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41609 else
41610 haveit=
41611 for x in $ltrpathdirs; do
41612 if test "X$x" = "X$found_dir"; then
41613 haveit=yes
41614 break
41616 done
41617 if test -z "$haveit"; then
41618 ltrpathdirs="$ltrpathdirs $found_dir"
41620 if test "$hardcode_direct" = yes; then
41621 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41622 else
41623 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
41624 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41625 haveit=
41626 for x in $rpathdirs; do
41627 if test "X$x" = "X$found_dir"; then
41628 haveit=yes
41629 break
41631 done
41632 if test -z "$haveit"; then
41633 rpathdirs="$rpathdirs $found_dir"
41635 else
41636 haveit=
41637 for x in $LDFLAGS $LIBICONV; do
41639 acl_save_prefix="$prefix"
41640 prefix="$acl_final_prefix"
41641 acl_save_exec_prefix="$exec_prefix"
41642 exec_prefix="$acl_final_exec_prefix"
41643 eval x=\"$x\"
41644 exec_prefix="$acl_save_exec_prefix"
41645 prefix="$acl_save_prefix"
41647 if test "X$x" = "X-L$found_dir"; then
41648 haveit=yes
41649 break
41651 done
41652 if test -z "$haveit"; then
41653 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
41655 if test "$hardcode_minus_L" != no; then
41656 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
41657 else
41658 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41663 else
41664 if test "X$found_a" != "X"; then
41665 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
41666 else
41667 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
41670 additional_includedir=
41671 case "$found_dir" in
41672 */lib | */lib/)
41673 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
41674 additional_includedir="$basedir/include"
41676 esac
41677 if test "X$additional_includedir" != "X"; then
41678 if test "X$additional_includedir" != "X/usr/include"; then
41679 haveit=
41680 if test "X$additional_includedir" = "X/usr/local/include"; then
41681 if test -n "$GCC"; then
41682 case $host_os in
41683 linux*) haveit=yes;;
41684 esac
41687 if test -z "$haveit"; then
41688 for x in $CPPFLAGS $INCICONV; do
41690 acl_save_prefix="$prefix"
41691 prefix="$acl_final_prefix"
41692 acl_save_exec_prefix="$exec_prefix"
41693 exec_prefix="$acl_final_exec_prefix"
41694 eval x=\"$x\"
41695 exec_prefix="$acl_save_exec_prefix"
41696 prefix="$acl_save_prefix"
41698 if test "X$x" = "X-I$additional_includedir"; then
41699 haveit=yes
41700 break
41702 done
41703 if test -z "$haveit"; then
41704 if test -d "$additional_includedir"; then
41705 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
41711 if test -n "$found_la"; then
41712 save_libdir="$libdir"
41713 case "$found_la" in
41714 */* | *\\*) . "$found_la" ;;
41715 *) . "./$found_la" ;;
41716 esac
41717 libdir="$save_libdir"
41718 for dep in $dependency_libs; do
41719 case "$dep" in
41720 -L*)
41721 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
41722 if test "X$additional_libdir" != "X/usr/lib"; then
41723 haveit=
41724 if test "X$additional_libdir" = "X/usr/local/lib"; then
41725 if test -n "$GCC"; then
41726 case $host_os in
41727 linux*) haveit=yes;;
41728 esac
41731 if test -z "$haveit"; then
41732 haveit=
41733 for x in $LDFLAGS $LIBICONV; do
41735 acl_save_prefix="$prefix"
41736 prefix="$acl_final_prefix"
41737 acl_save_exec_prefix="$exec_prefix"
41738 exec_prefix="$acl_final_exec_prefix"
41739 eval x=\"$x\"
41740 exec_prefix="$acl_save_exec_prefix"
41741 prefix="$acl_save_prefix"
41743 if test "X$x" = "X-L$additional_libdir"; then
41744 haveit=yes
41745 break
41747 done
41748 if test -z "$haveit"; then
41749 if test -d "$additional_libdir"; then
41750 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
41753 haveit=
41754 for x in $LDFLAGS $LTLIBICONV; do
41756 acl_save_prefix="$prefix"
41757 prefix="$acl_final_prefix"
41758 acl_save_exec_prefix="$exec_prefix"
41759 exec_prefix="$acl_final_exec_prefix"
41760 eval x=\"$x\"
41761 exec_prefix="$acl_save_exec_prefix"
41762 prefix="$acl_save_prefix"
41764 if test "X$x" = "X-L$additional_libdir"; then
41765 haveit=yes
41766 break
41768 done
41769 if test -z "$haveit"; then
41770 if test -d "$additional_libdir"; then
41771 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
41777 -R*)
41778 dir=`echo "X$dep" | sed -e 's/^X-R//'`
41779 if test "$enable_rpath" != no; then
41780 haveit=
41781 for x in $rpathdirs; do
41782 if test "X$x" = "X$dir"; then
41783 haveit=yes
41784 break
41786 done
41787 if test -z "$haveit"; then
41788 rpathdirs="$rpathdirs $dir"
41790 haveit=
41791 for x in $ltrpathdirs; do
41792 if test "X$x" = "X$dir"; then
41793 haveit=yes
41794 break
41796 done
41797 if test -z "$haveit"; then
41798 ltrpathdirs="$ltrpathdirs $dir"
41802 -l*)
41803 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
41805 *.la)
41806 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
41809 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
41810 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
41812 esac
41813 done
41815 else
41816 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
41817 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
41821 done
41822 done
41823 if test "X$rpathdirs" != "X"; then
41824 if test -n "$hardcode_libdir_separator"; then
41825 alldirs=
41826 for found_dir in $rpathdirs; do
41827 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
41828 done
41829 acl_save_libdir="$libdir"
41830 libdir="$alldirs"
41831 eval flag=\"$hardcode_libdir_flag_spec\"
41832 libdir="$acl_save_libdir"
41833 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41834 else
41835 for found_dir in $rpathdirs; do
41836 acl_save_libdir="$libdir"
41837 libdir="$found_dir"
41838 eval flag=\"$hardcode_libdir_flag_spec\"
41839 libdir="$acl_save_libdir"
41840 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
41841 done
41844 if test "X$ltrpathdirs" != "X"; then
41845 for found_dir in $ltrpathdirs; do
41846 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
41847 done
41856 am_save_CPPFLAGS="$CPPFLAGS"
41858 for element in $INCICONV; do
41859 haveit=
41860 for x in $CPPFLAGS; do
41862 acl_save_prefix="$prefix"
41863 prefix="$acl_final_prefix"
41864 acl_save_exec_prefix="$exec_prefix"
41865 exec_prefix="$acl_final_exec_prefix"
41866 eval x=\"$x\"
41867 exec_prefix="$acl_save_exec_prefix"
41868 prefix="$acl_save_prefix"
41870 if test "X$x" = "X$element"; then
41871 haveit=yes
41872 break
41874 done
41875 if test -z "$haveit"; then
41876 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41878 done
41881 echo "$as_me:$LINENO: checking for iconv" >&5
41882 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
41883 if test "${am_cv_func_iconv+set}" = set; then
41884 echo $ECHO_N "(cached) $ECHO_C" >&6
41885 else
41887 am_cv_func_iconv="no, consider installing GNU libiconv"
41888 am_cv_lib_iconv=no
41889 if test x$gcc_no_link = xyes; then
41890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41892 { (exit 1); exit 1; }; }
41894 cat >conftest.$ac_ext <<_ACEOF
41895 /* confdefs.h. */
41896 _ACEOF
41897 cat confdefs.h >>conftest.$ac_ext
41898 cat >>conftest.$ac_ext <<_ACEOF
41899 /* end confdefs.h. */
41900 #include <stdlib.h>
41901 #include <iconv.h>
41903 main ()
41905 iconv_t cd = iconv_open("","");
41906 iconv(cd,NULL,NULL,NULL,NULL);
41907 iconv_close(cd);
41909 return 0;
41911 _ACEOF
41912 rm -f conftest.$ac_objext conftest$ac_exeext
41913 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41914 (eval $ac_link) 2>conftest.er1
41915 ac_status=$?
41916 grep -v '^ *+' conftest.er1 >conftest.err
41917 rm -f conftest.er1
41918 cat conftest.err >&5
41919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41920 (exit $ac_status); } &&
41921 { ac_try='test -z "$ac_c_werror_flag"
41922 || test ! -s conftest.err'
41923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41924 (eval $ac_try) 2>&5
41925 ac_status=$?
41926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41927 (exit $ac_status); }; } &&
41928 { ac_try='test -s conftest$ac_exeext'
41929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41930 (eval $ac_try) 2>&5
41931 ac_status=$?
41932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41933 (exit $ac_status); }; }; then
41934 am_cv_func_iconv=yes
41935 else
41936 echo "$as_me: failed program was:" >&5
41937 sed 's/^/| /' conftest.$ac_ext >&5
41940 rm -f conftest.err conftest.$ac_objext \
41941 conftest$ac_exeext conftest.$ac_ext
41942 if test "$am_cv_func_iconv" != yes; then
41943 am_save_LIBS="$LIBS"
41944 LIBS="$LIBS $LIBICONV"
41945 if test x$gcc_no_link = xyes; then
41946 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
41947 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
41948 { (exit 1); exit 1; }; }
41950 cat >conftest.$ac_ext <<_ACEOF
41951 /* confdefs.h. */
41952 _ACEOF
41953 cat confdefs.h >>conftest.$ac_ext
41954 cat >>conftest.$ac_ext <<_ACEOF
41955 /* end confdefs.h. */
41956 #include <stdlib.h>
41957 #include <iconv.h>
41959 main ()
41961 iconv_t cd = iconv_open("","");
41962 iconv(cd,NULL,NULL,NULL,NULL);
41963 iconv_close(cd);
41965 return 0;
41967 _ACEOF
41968 rm -f conftest.$ac_objext conftest$ac_exeext
41969 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
41970 (eval $ac_link) 2>conftest.er1
41971 ac_status=$?
41972 grep -v '^ *+' conftest.er1 >conftest.err
41973 rm -f conftest.er1
41974 cat conftest.err >&5
41975 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41976 (exit $ac_status); } &&
41977 { ac_try='test -z "$ac_c_werror_flag"
41978 || test ! -s conftest.err'
41979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41980 (eval $ac_try) 2>&5
41981 ac_status=$?
41982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41983 (exit $ac_status); }; } &&
41984 { ac_try='test -s conftest$ac_exeext'
41985 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
41986 (eval $ac_try) 2>&5
41987 ac_status=$?
41988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41989 (exit $ac_status); }; }; then
41990 am_cv_lib_iconv=yes
41991 am_cv_func_iconv=yes
41992 else
41993 echo "$as_me: failed program was:" >&5
41994 sed 's/^/| /' conftest.$ac_ext >&5
41997 rm -f conftest.err conftest.$ac_objext \
41998 conftest$ac_exeext conftest.$ac_ext
41999 LIBS="$am_save_LIBS"
42003 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
42004 echo "${ECHO_T}$am_cv_func_iconv" >&6
42005 if test "$am_cv_func_iconv" = yes; then
42007 cat >>confdefs.h <<\_ACEOF
42008 #define HAVE_ICONV 1
42009 _ACEOF
42012 if test "$am_cv_lib_iconv" = yes; then
42013 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
42014 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
42015 echo "$as_me:$LINENO: result: $LIBICONV" >&5
42016 echo "${ECHO_T}$LIBICONV" >&6
42017 else
42018 CPPFLAGS="$am_save_CPPFLAGS"
42019 LIBICONV=
42020 LTLIBICONV=
42025 if test "$am_cv_func_iconv" = yes; then
42026 echo "$as_me:$LINENO: checking for iconv declaration" >&5
42027 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
42028 if test "${am_cv_proto_iconv+set}" = set; then
42029 echo $ECHO_N "(cached) $ECHO_C" >&6
42030 else
42032 cat >conftest.$ac_ext <<_ACEOF
42033 /* confdefs.h. */
42034 _ACEOF
42035 cat confdefs.h >>conftest.$ac_ext
42036 cat >>conftest.$ac_ext <<_ACEOF
42037 /* end confdefs.h. */
42039 #include <stdlib.h>
42040 #include <iconv.h>
42041 extern
42042 #ifdef __cplusplus
42044 #endif
42045 #if defined(__STDC__) || defined(__cplusplus)
42046 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
42047 #else
42048 size_t iconv();
42049 #endif
42052 main ()
42056 return 0;
42058 _ACEOF
42059 rm -f conftest.$ac_objext
42060 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42061 (eval $ac_compile) 2>conftest.er1
42062 ac_status=$?
42063 grep -v '^ *+' conftest.er1 >conftest.err
42064 rm -f conftest.er1
42065 cat conftest.err >&5
42066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42067 (exit $ac_status); } &&
42068 { ac_try='test -z "$ac_c_werror_flag"
42069 || test ! -s conftest.err'
42070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42071 (eval $ac_try) 2>&5
42072 ac_status=$?
42073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42074 (exit $ac_status); }; } &&
42075 { ac_try='test -s conftest.$ac_objext'
42076 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42077 (eval $ac_try) 2>&5
42078 ac_status=$?
42079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42080 (exit $ac_status); }; }; then
42081 am_cv_proto_iconv_arg1=""
42082 else
42083 echo "$as_me: failed program was:" >&5
42084 sed 's/^/| /' conftest.$ac_ext >&5
42086 am_cv_proto_iconv_arg1="const"
42088 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42089 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);"
42092 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
42093 echo "$as_me:$LINENO: result: ${ac_t:-
42094 }$am_cv_proto_iconv" >&5
42095 echo "${ECHO_T}${ac_t:-
42096 }$am_cv_proto_iconv" >&6
42098 cat >>confdefs.h <<_ACEOF
42099 #define ICONV_CONST $am_cv_proto_iconv_arg1
42100 _ACEOF
42105 else
42107 # This lets us hard-code the functionality we know we'll have in the cross
42108 # target environment. "Let" is a sugar-coated word placed on an especially
42109 # dull and tedious hack, actually.
42111 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
42112 # that involve linking, can't be used:
42113 # "cannot open sim-crt0.o"
42114 # "cannot open crt0.o"
42115 # etc. All this is because there currently exists no unified, consistent
42116 # way for top level CC information to be passed down to target directories:
42117 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
42118 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
42119 # crosses can be removed.
42121 # If Canadian cross, then don't pick up tools from the build directory.
42122 # Used only in GLIBCXX_EXPORT_INCLUDES.
42123 if test -n "$with_cross_host" &&
42124 test x"$build_alias" != x"$with_cross_host" &&
42125 test x"$build" != x"$target";
42126 then
42127 CANADIAN=yes
42128 else
42129 CANADIAN=no
42132 # Construct crosses by hand, eliminating bits that need ld...
42133 # GLIBCXX_CHECK_MATH_SUPPORT
42135 # First, test for "known" system libraries. We may be using newlib even
42136 # on a hosted environment.
42137 if test "x${with_newlib}" = "xyes"; then
42138 os_include_dir="os/newlib"
42139 cat >>confdefs.h <<\_ACEOF
42140 #define HAVE_HYPOT 1
42141 _ACEOF
42144 # GLIBCXX_CHECK_STDLIB_SUPPORT
42145 cat >>confdefs.h <<\_ACEOF
42146 #define HAVE_STRTOF 1
42147 _ACEOF
42150 cat >>confdefs.h <<\_ACEOF
42151 #define HAVE_ACOSF 1
42152 _ACEOF
42154 cat >>confdefs.h <<\_ACEOF
42155 #define HAVE_ASINF 1
42156 _ACEOF
42158 cat >>confdefs.h <<\_ACEOF
42159 #define HAVE_ATAN2F 1
42160 _ACEOF
42162 cat >>confdefs.h <<\_ACEOF
42163 #define HAVE_ATANF 1
42164 _ACEOF
42166 cat >>confdefs.h <<\_ACEOF
42167 #define HAVE_CEILF 1
42168 _ACEOF
42170 cat >>confdefs.h <<\_ACEOF
42171 #define HAVE_COSF 1
42172 _ACEOF
42174 cat >>confdefs.h <<\_ACEOF
42175 #define HAVE_COSHF 1
42176 _ACEOF
42178 cat >>confdefs.h <<\_ACEOF
42179 #define HAVE_EXPF 1
42180 _ACEOF
42182 cat >>confdefs.h <<\_ACEOF
42183 #define HAVE_FABSF 1
42184 _ACEOF
42186 cat >>confdefs.h <<\_ACEOF
42187 #define HAVE_FLOORF 1
42188 _ACEOF
42190 cat >>confdefs.h <<\_ACEOF
42191 #define HAVE_FMODF 1
42192 _ACEOF
42194 cat >>confdefs.h <<\_ACEOF
42195 #define HAVE_FREXPF 1
42196 _ACEOF
42198 cat >>confdefs.h <<\_ACEOF
42199 #define HAVE_LDEXPF 1
42200 _ACEOF
42202 cat >>confdefs.h <<\_ACEOF
42203 #define HAVE_LOG10F 1
42204 _ACEOF
42206 cat >>confdefs.h <<\_ACEOF
42207 #define HAVE_LOGF 1
42208 _ACEOF
42210 cat >>confdefs.h <<\_ACEOF
42211 #define HAVE_MODFF 1
42212 _ACEOF
42214 cat >>confdefs.h <<\_ACEOF
42215 #define HAVE_POWF 1
42216 _ACEOF
42218 cat >>confdefs.h <<\_ACEOF
42219 #define HAVE_SINF 1
42220 _ACEOF
42222 cat >>confdefs.h <<\_ACEOF
42223 #define HAVE_SINHF 1
42224 _ACEOF
42226 cat >>confdefs.h <<\_ACEOF
42227 #define HAVE_SQRTF 1
42228 _ACEOF
42230 cat >>confdefs.h <<\_ACEOF
42231 #define HAVE_TANF 1
42232 _ACEOF
42234 cat >>confdefs.h <<\_ACEOF
42235 #define HAVE_TANHF 1
42236 _ACEOF
42239 cat >>confdefs.h <<\_ACEOF
42240 #define HAVE_ICONV 1
42241 _ACEOF
42243 else
42245 # Base decisions on target environment.
42246 case "${host}" in
42247 arm*-*-symbianelf*)
42248 # This is a freestanding configuration; there is nothing to do here.
42251 mips*-sde-elf*)
42252 # These definitions are for the SDE C library rather than newlib.
42253 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42256 # All these tests are for C++; save the language and the compiler flags.
42257 # The CXXFLAGS thing is suspicious, but based on similar bits previously
42258 # found in GLIBCXX_CONFIGURE.
42261 ac_ext=cc
42262 ac_cpp='$CXXCPP $CPPFLAGS'
42263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42267 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42268 ac_save_CXXFLAGS="$CXXFLAGS"
42270 # Check for maintainer-mode bits.
42271 if test x"$USE_MAINTAINER_MODE" = xno; then
42272 WERROR=''
42273 else
42274 WERROR='-Werror'
42277 # Check for -ffunction-sections -fdata-sections
42278 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
42279 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
42280 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
42281 cat >conftest.$ac_ext <<_ACEOF
42282 /* confdefs.h. */
42283 _ACEOF
42284 cat confdefs.h >>conftest.$ac_ext
42285 cat >>conftest.$ac_ext <<_ACEOF
42286 /* end confdefs.h. */
42287 int foo; void bar() { };
42289 main ()
42293 return 0;
42295 _ACEOF
42296 rm -f conftest.$ac_objext
42297 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42298 (eval $ac_compile) 2>conftest.er1
42299 ac_status=$?
42300 grep -v '^ *+' conftest.er1 >conftest.err
42301 rm -f conftest.er1
42302 cat conftest.err >&5
42303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42304 (exit $ac_status); } &&
42305 { ac_try='test -z "$ac_cxx_werror_flag"
42306 || test ! -s conftest.err'
42307 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42308 (eval $ac_try) 2>&5
42309 ac_status=$?
42310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42311 (exit $ac_status); }; } &&
42312 { ac_try='test -s conftest.$ac_objext'
42313 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42314 (eval $ac_try) 2>&5
42315 ac_status=$?
42316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42317 (exit $ac_status); }; }; then
42318 ac_fdsections=yes
42319 else
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42323 ac_fdsections=no
42325 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42326 if test "$ac_test_CXXFLAGS" = set; then
42327 CXXFLAGS="$ac_save_CXXFLAGS"
42328 else
42329 # this is the suspicious part
42330 CXXFLAGS=''
42332 if test x"$ac_fdsections" = x"yes"; then
42333 SECTION_FLAGS='-ffunction-sections -fdata-sections'
42335 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
42336 echo "${ECHO_T}$ac_fdsections" >&6
42338 ac_ext=c
42339 ac_cpp='$CPP $CPPFLAGS'
42340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42348 # If we're not using GNU ld, then there's no point in even trying these
42349 # tests. Check for that first. We should have already tested for gld
42350 # by now (in libtool), but require it now just to be safe...
42351 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
42352 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
42356 # The name set by libtool depends on the version of libtool. Shame on us
42357 # for depending on an impl detail, but c'est la vie. Older versions used
42358 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
42359 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
42360 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
42361 # set (hence we're using an older libtool), then set it.
42362 if test x${with_gnu_ld+set} != xset; then
42363 if test x${ac_cv_prog_gnu_ld+set} != xset; then
42364 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
42365 with_gnu_ld=no
42366 else
42367 with_gnu_ld=$ac_cv_prog_gnu_ld
42371 # Start by getting the version number. I think the libtool test already
42372 # does some of this, but throws away the result.
42373 glibcxx_ld_is_gold=no
42374 if test x"$with_gnu_ld" = x"yes"; then
42375 echo "$as_me:$LINENO: checking for ld version" >&5
42376 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
42378 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
42379 glibcxx_ld_is_gold=yes
42381 ldver=`$LD --version 2>/dev/null | head -1 | \
42382 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
42384 glibcxx_gnu_ld_version=`echo $ldver | \
42385 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
42386 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
42387 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
42390 # Set --gc-sections.
42391 glibcxx_have_gc_sections=no
42392 if test "$glibcxx_ld_is_gold" = "yes"; then
42393 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
42394 glibcxx_have_gc_sections=yes
42396 else
42397 glibcxx_gcsections_min_ld=21602
42398 if test x"$with_gnu_ld" = x"yes" &&
42399 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
42400 glibcxx_have_gc_sections=yes
42403 if test "$glibcxx_have_gc_sections" = "yes"; then
42404 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
42405 # NB: This flag only works reliably after 2.16.1. Configure tests
42406 # for this are difficult, so hard wire a value that should work.
42408 ac_test_CFLAGS="${CFLAGS+set}"
42409 ac_save_CFLAGS="$CFLAGS"
42410 CFLAGS='-Wl,--gc-sections'
42412 # Check for -Wl,--gc-sections
42413 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
42414 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
42415 if test x$gcc_no_link = xyes; then
42416 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42417 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42418 { (exit 1); exit 1; }; }
42420 cat >conftest.$ac_ext <<_ACEOF
42421 /* confdefs.h. */
42422 _ACEOF
42423 cat confdefs.h >>conftest.$ac_ext
42424 cat >>conftest.$ac_ext <<_ACEOF
42425 /* end confdefs.h. */
42426 int one(void) { return 1; }
42427 int two(void) { return 2; }
42430 main ()
42432 two();
42434 return 0;
42436 _ACEOF
42437 rm -f conftest.$ac_objext conftest$ac_exeext
42438 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42439 (eval $ac_link) 2>conftest.er1
42440 ac_status=$?
42441 grep -v '^ *+' conftest.er1 >conftest.err
42442 rm -f conftest.er1
42443 cat conftest.err >&5
42444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42445 (exit $ac_status); } &&
42446 { ac_try='test -z "$ac_c_werror_flag"
42447 || test ! -s conftest.err'
42448 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42449 (eval $ac_try) 2>&5
42450 ac_status=$?
42451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42452 (exit $ac_status); }; } &&
42453 { ac_try='test -s conftest$ac_exeext'
42454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42455 (eval $ac_try) 2>&5
42456 ac_status=$?
42457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42458 (exit $ac_status); }; }; then
42459 ac_gcsections=yes
42460 else
42461 echo "$as_me: failed program was:" >&5
42462 sed 's/^/| /' conftest.$ac_ext >&5
42464 ac_gcsections=no
42466 rm -f conftest.err conftest.$ac_objext \
42467 conftest$ac_exeext conftest.$ac_ext
42468 if test "$ac_gcsections" = "yes"; then
42469 rm -f conftest.c
42470 touch conftest.c
42471 if $CC -c conftest.c; then
42472 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
42473 grep "Warning: gc-sections option ignored" > /dev/null; then
42474 ac_gcsections=no
42477 rm -f conftest.c conftest.o conftest
42479 if test "$ac_gcsections" = "yes"; then
42480 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
42482 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
42483 echo "${ECHO_T}$ac_gcsections" >&6
42485 if test "$ac_test_CFLAGS" = set; then
42486 CFLAGS="$ac_save_CFLAGS"
42487 else
42488 # this is the suspicious part
42489 CFLAGS=''
42493 # Set -z,relro.
42494 # Note this is only for shared objects.
42495 ac_ld_relro=no
42496 if test x"$with_gnu_ld" = x"yes"; then
42497 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
42498 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
42499 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
42500 if test -n "$cxx_z_relo"; then
42501 OPT_LDFLAGS="-Wl,-z,relro"
42502 ac_ld_relro=yes
42504 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
42505 echo "${ECHO_T}$ac_ld_relro" >&6
42508 # Set linker optimization flags.
42509 if test x"$with_gnu_ld" = x"yes"; then
42510 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
42517 ac_test_CXXFLAGS="${CXXFLAGS+set}"
42518 ac_save_CXXFLAGS="$CXXFLAGS"
42519 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
42521 echo "$as_me:$LINENO: checking for sin in -lm" >&5
42522 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
42523 if test "${ac_cv_lib_m_sin+set}" = set; then
42524 echo $ECHO_N "(cached) $ECHO_C" >&6
42525 else
42526 ac_check_lib_save_LIBS=$LIBS
42527 LIBS="-lm $LIBS"
42528 if test x$gcc_no_link = xyes; then
42529 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42530 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42531 { (exit 1); exit 1; }; }
42533 cat >conftest.$ac_ext <<_ACEOF
42534 /* confdefs.h. */
42535 _ACEOF
42536 cat confdefs.h >>conftest.$ac_ext
42537 cat >>conftest.$ac_ext <<_ACEOF
42538 /* end confdefs.h. */
42540 /* Override any gcc2 internal prototype to avoid an error. */
42541 #ifdef __cplusplus
42542 extern "C"
42543 #endif
42544 /* We use char because int might match the return type of a gcc2
42545 builtin and then its argument prototype would still apply. */
42546 char sin ();
42548 main ()
42550 sin ();
42552 return 0;
42554 _ACEOF
42555 rm -f conftest.$ac_objext conftest$ac_exeext
42556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42557 (eval $ac_link) 2>conftest.er1
42558 ac_status=$?
42559 grep -v '^ *+' conftest.er1 >conftest.err
42560 rm -f conftest.er1
42561 cat conftest.err >&5
42562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42563 (exit $ac_status); } &&
42564 { ac_try='test -z "$ac_c_werror_flag"
42565 || test ! -s conftest.err'
42566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42567 (eval $ac_try) 2>&5
42568 ac_status=$?
42569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42570 (exit $ac_status); }; } &&
42571 { ac_try='test -s conftest$ac_exeext'
42572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42573 (eval $ac_try) 2>&5
42574 ac_status=$?
42575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42576 (exit $ac_status); }; }; then
42577 ac_cv_lib_m_sin=yes
42578 else
42579 echo "$as_me: failed program was:" >&5
42580 sed 's/^/| /' conftest.$ac_ext >&5
42582 ac_cv_lib_m_sin=no
42584 rm -f conftest.err conftest.$ac_objext \
42585 conftest$ac_exeext conftest.$ac_ext
42586 LIBS=$ac_check_lib_save_LIBS
42588 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
42589 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
42590 if test $ac_cv_lib_m_sin = yes; then
42591 libm="-lm"
42594 ac_save_LIBS="$LIBS"
42595 LIBS="$LIBS $libm"
42599 echo "$as_me:$LINENO: checking for isinf declaration" >&5
42600 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
42601 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
42602 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
42603 echo $ECHO_N "(cached) $ECHO_C" >&6
42604 else
42608 ac_ext=cc
42609 ac_cpp='$CXXCPP $CPPFLAGS'
42610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42614 cat >conftest.$ac_ext <<_ACEOF
42615 /* confdefs.h. */
42616 _ACEOF
42617 cat confdefs.h >>conftest.$ac_ext
42618 cat >>conftest.$ac_ext <<_ACEOF
42619 /* end confdefs.h. */
42620 #include <math.h>
42621 #ifdef HAVE_IEEEFP_H
42622 #include <ieeefp.h>
42623 #endif
42626 main ()
42628 isinf(0);
42630 return 0;
42632 _ACEOF
42633 rm -f conftest.$ac_objext
42634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42635 (eval $ac_compile) 2>conftest.er1
42636 ac_status=$?
42637 grep -v '^ *+' conftest.er1 >conftest.err
42638 rm -f conftest.er1
42639 cat conftest.err >&5
42640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42641 (exit $ac_status); } &&
42642 { ac_try='test -z "$ac_cxx_werror_flag"
42643 || test ! -s conftest.err'
42644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42645 (eval $ac_try) 2>&5
42646 ac_status=$?
42647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42648 (exit $ac_status); }; } &&
42649 { ac_try='test -s conftest.$ac_objext'
42650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42651 (eval $ac_try) 2>&5
42652 ac_status=$?
42653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42654 (exit $ac_status); }; }; then
42655 glibcxx_cv_func_isinf_use=yes
42656 else
42657 echo "$as_me: failed program was:" >&5
42658 sed 's/^/| /' conftest.$ac_ext >&5
42660 glibcxx_cv_func_isinf_use=no
42662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42663 ac_ext=c
42664 ac_cpp='$CPP $CPPFLAGS'
42665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42673 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
42674 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
42676 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
42678 for ac_func in isinf
42680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42681 echo "$as_me:$LINENO: checking for $ac_func" >&5
42682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42683 if eval "test \"\${$as_ac_var+set}\" = set"; then
42684 echo $ECHO_N "(cached) $ECHO_C" >&6
42685 else
42686 if test x$gcc_no_link = xyes; then
42687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42689 { (exit 1); exit 1; }; }
42691 cat >conftest.$ac_ext <<_ACEOF
42692 /* confdefs.h. */
42693 _ACEOF
42694 cat confdefs.h >>conftest.$ac_ext
42695 cat >>conftest.$ac_ext <<_ACEOF
42696 /* end confdefs.h. */
42697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42699 #define $ac_func innocuous_$ac_func
42701 /* System header to define __stub macros and hopefully few prototypes,
42702 which can conflict with char $ac_func (); below.
42703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42704 <limits.h> exists even on freestanding compilers. */
42706 #ifdef __STDC__
42707 # include <limits.h>
42708 #else
42709 # include <assert.h>
42710 #endif
42712 #undef $ac_func
42714 /* Override any gcc2 internal prototype to avoid an error. */
42715 #ifdef __cplusplus
42716 extern "C"
42718 #endif
42719 /* We use char because int might match the return type of a gcc2
42720 builtin and then its argument prototype would still apply. */
42721 char $ac_func ();
42722 /* The GNU C library defines this for functions which it implements
42723 to always fail with ENOSYS. Some functions are actually named
42724 something starting with __ and the normal name is an alias. */
42725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42726 choke me
42727 #else
42728 char (*f) () = $ac_func;
42729 #endif
42730 #ifdef __cplusplus
42732 #endif
42735 main ()
42737 return f != $ac_func;
42739 return 0;
42741 _ACEOF
42742 rm -f conftest.$ac_objext conftest$ac_exeext
42743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42744 (eval $ac_link) 2>conftest.er1
42745 ac_status=$?
42746 grep -v '^ *+' conftest.er1 >conftest.err
42747 rm -f conftest.er1
42748 cat conftest.err >&5
42749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42750 (exit $ac_status); } &&
42751 { ac_try='test -z "$ac_c_werror_flag"
42752 || test ! -s conftest.err'
42753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42754 (eval $ac_try) 2>&5
42755 ac_status=$?
42756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42757 (exit $ac_status); }; } &&
42758 { ac_try='test -s conftest$ac_exeext'
42759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42760 (eval $ac_try) 2>&5
42761 ac_status=$?
42762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42763 (exit $ac_status); }; }; then
42764 eval "$as_ac_var=yes"
42765 else
42766 echo "$as_me: failed program was:" >&5
42767 sed 's/^/| /' conftest.$ac_ext >&5
42769 eval "$as_ac_var=no"
42771 rm -f conftest.err conftest.$ac_objext \
42772 conftest$ac_exeext conftest.$ac_ext
42774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42776 if test `eval echo '${'$as_ac_var'}'` = yes; then
42777 cat >>confdefs.h <<_ACEOF
42778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42779 _ACEOF
42782 done
42784 else
42786 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
42787 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
42788 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
42789 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
42790 echo $ECHO_N "(cached) $ECHO_C" >&6
42791 else
42795 ac_ext=cc
42796 ac_cpp='$CXXCPP $CPPFLAGS'
42797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42801 cat >conftest.$ac_ext <<_ACEOF
42802 /* confdefs.h. */
42803 _ACEOF
42804 cat confdefs.h >>conftest.$ac_ext
42805 cat >>conftest.$ac_ext <<_ACEOF
42806 /* end confdefs.h. */
42807 #include <math.h>
42808 #ifdef HAVE_IEEEFP_H
42809 #include <ieeefp.h>
42810 #endif
42813 main ()
42815 _isinf(0);
42817 return 0;
42819 _ACEOF
42820 rm -f conftest.$ac_objext
42821 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
42822 (eval $ac_compile) 2>conftest.er1
42823 ac_status=$?
42824 grep -v '^ *+' conftest.er1 >conftest.err
42825 rm -f conftest.er1
42826 cat conftest.err >&5
42827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42828 (exit $ac_status); } &&
42829 { ac_try='test -z "$ac_cxx_werror_flag"
42830 || test ! -s conftest.err'
42831 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42832 (eval $ac_try) 2>&5
42833 ac_status=$?
42834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42835 (exit $ac_status); }; } &&
42836 { ac_try='test -s conftest.$ac_objext'
42837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42838 (eval $ac_try) 2>&5
42839 ac_status=$?
42840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42841 (exit $ac_status); }; }; then
42842 glibcxx_cv_func__isinf_use=yes
42843 else
42844 echo "$as_me: failed program was:" >&5
42845 sed 's/^/| /' conftest.$ac_ext >&5
42847 glibcxx_cv_func__isinf_use=no
42849 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
42850 ac_ext=c
42851 ac_cpp='$CPP $CPPFLAGS'
42852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42860 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
42861 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
42863 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
42865 for ac_func in _isinf
42867 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42868 echo "$as_me:$LINENO: checking for $ac_func" >&5
42869 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
42870 if eval "test \"\${$as_ac_var+set}\" = set"; then
42871 echo $ECHO_N "(cached) $ECHO_C" >&6
42872 else
42873 if test x$gcc_no_link = xyes; then
42874 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
42875 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
42876 { (exit 1); exit 1; }; }
42878 cat >conftest.$ac_ext <<_ACEOF
42879 /* confdefs.h. */
42880 _ACEOF
42881 cat confdefs.h >>conftest.$ac_ext
42882 cat >>conftest.$ac_ext <<_ACEOF
42883 /* end confdefs.h. */
42884 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42885 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42886 #define $ac_func innocuous_$ac_func
42888 /* System header to define __stub macros and hopefully few prototypes,
42889 which can conflict with char $ac_func (); below.
42890 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42891 <limits.h> exists even on freestanding compilers. */
42893 #ifdef __STDC__
42894 # include <limits.h>
42895 #else
42896 # include <assert.h>
42897 #endif
42899 #undef $ac_func
42901 /* Override any gcc2 internal prototype to avoid an error. */
42902 #ifdef __cplusplus
42903 extern "C"
42905 #endif
42906 /* We use char because int might match the return type of a gcc2
42907 builtin and then its argument prototype would still apply. */
42908 char $ac_func ();
42909 /* The GNU C library defines this for functions which it implements
42910 to always fail with ENOSYS. Some functions are actually named
42911 something starting with __ and the normal name is an alias. */
42912 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
42913 choke me
42914 #else
42915 char (*f) () = $ac_func;
42916 #endif
42917 #ifdef __cplusplus
42919 #endif
42922 main ()
42924 return f != $ac_func;
42926 return 0;
42928 _ACEOF
42929 rm -f conftest.$ac_objext conftest$ac_exeext
42930 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
42931 (eval $ac_link) 2>conftest.er1
42932 ac_status=$?
42933 grep -v '^ *+' conftest.er1 >conftest.err
42934 rm -f conftest.er1
42935 cat conftest.err >&5
42936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42937 (exit $ac_status); } &&
42938 { ac_try='test -z "$ac_c_werror_flag"
42939 || test ! -s conftest.err'
42940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42941 (eval $ac_try) 2>&5
42942 ac_status=$?
42943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42944 (exit $ac_status); }; } &&
42945 { ac_try='test -s conftest$ac_exeext'
42946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
42947 (eval $ac_try) 2>&5
42948 ac_status=$?
42949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42950 (exit $ac_status); }; }; then
42951 eval "$as_ac_var=yes"
42952 else
42953 echo "$as_me: failed program was:" >&5
42954 sed 's/^/| /' conftest.$ac_ext >&5
42956 eval "$as_ac_var=no"
42958 rm -f conftest.err conftest.$ac_objext \
42959 conftest$ac_exeext conftest.$ac_ext
42961 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
42962 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
42963 if test `eval echo '${'$as_ac_var'}'` = yes; then
42964 cat >>confdefs.h <<_ACEOF
42965 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42966 _ACEOF
42969 done
42979 echo "$as_me:$LINENO: checking for isnan declaration" >&5
42980 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
42981 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
42982 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
42983 echo $ECHO_N "(cached) $ECHO_C" >&6
42984 else
42988 ac_ext=cc
42989 ac_cpp='$CXXCPP $CPPFLAGS'
42990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42994 cat >conftest.$ac_ext <<_ACEOF
42995 /* confdefs.h. */
42996 _ACEOF
42997 cat confdefs.h >>conftest.$ac_ext
42998 cat >>conftest.$ac_ext <<_ACEOF
42999 /* end confdefs.h. */
43000 #include <math.h>
43001 #ifdef HAVE_IEEEFP_H
43002 #include <ieeefp.h>
43003 #endif
43006 main ()
43008 isnan(0);
43010 return 0;
43012 _ACEOF
43013 rm -f conftest.$ac_objext
43014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43015 (eval $ac_compile) 2>conftest.er1
43016 ac_status=$?
43017 grep -v '^ *+' conftest.er1 >conftest.err
43018 rm -f conftest.er1
43019 cat conftest.err >&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } &&
43022 { ac_try='test -z "$ac_cxx_werror_flag"
43023 || test ! -s conftest.err'
43024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43025 (eval $ac_try) 2>&5
43026 ac_status=$?
43027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43028 (exit $ac_status); }; } &&
43029 { ac_try='test -s conftest.$ac_objext'
43030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43031 (eval $ac_try) 2>&5
43032 ac_status=$?
43033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43034 (exit $ac_status); }; }; then
43035 glibcxx_cv_func_isnan_use=yes
43036 else
43037 echo "$as_me: failed program was:" >&5
43038 sed 's/^/| /' conftest.$ac_ext >&5
43040 glibcxx_cv_func_isnan_use=no
43042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43043 ac_ext=c
43044 ac_cpp='$CPP $CPPFLAGS'
43045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43053 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
43054 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
43056 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
43058 for ac_func in isnan
43060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43061 echo "$as_me:$LINENO: checking for $ac_func" >&5
43062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43063 if eval "test \"\${$as_ac_var+set}\" = set"; then
43064 echo $ECHO_N "(cached) $ECHO_C" >&6
43065 else
43066 if test x$gcc_no_link = xyes; then
43067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43069 { (exit 1); exit 1; }; }
43071 cat >conftest.$ac_ext <<_ACEOF
43072 /* confdefs.h. */
43073 _ACEOF
43074 cat confdefs.h >>conftest.$ac_ext
43075 cat >>conftest.$ac_ext <<_ACEOF
43076 /* end confdefs.h. */
43077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43079 #define $ac_func innocuous_$ac_func
43081 /* System header to define __stub macros and hopefully few prototypes,
43082 which can conflict with char $ac_func (); below.
43083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43084 <limits.h> exists even on freestanding compilers. */
43086 #ifdef __STDC__
43087 # include <limits.h>
43088 #else
43089 # include <assert.h>
43090 #endif
43092 #undef $ac_func
43094 /* Override any gcc2 internal prototype to avoid an error. */
43095 #ifdef __cplusplus
43096 extern "C"
43098 #endif
43099 /* We use char because int might match the return type of a gcc2
43100 builtin and then its argument prototype would still apply. */
43101 char $ac_func ();
43102 /* The GNU C library defines this for functions which it implements
43103 to always fail with ENOSYS. Some functions are actually named
43104 something starting with __ and the normal name is an alias. */
43105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43106 choke me
43107 #else
43108 char (*f) () = $ac_func;
43109 #endif
43110 #ifdef __cplusplus
43112 #endif
43115 main ()
43117 return f != $ac_func;
43119 return 0;
43121 _ACEOF
43122 rm -f conftest.$ac_objext conftest$ac_exeext
43123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43124 (eval $ac_link) 2>conftest.er1
43125 ac_status=$?
43126 grep -v '^ *+' conftest.er1 >conftest.err
43127 rm -f conftest.er1
43128 cat conftest.err >&5
43129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43130 (exit $ac_status); } &&
43131 { ac_try='test -z "$ac_c_werror_flag"
43132 || test ! -s conftest.err'
43133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43134 (eval $ac_try) 2>&5
43135 ac_status=$?
43136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43137 (exit $ac_status); }; } &&
43138 { ac_try='test -s conftest$ac_exeext'
43139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43140 (eval $ac_try) 2>&5
43141 ac_status=$?
43142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43143 (exit $ac_status); }; }; then
43144 eval "$as_ac_var=yes"
43145 else
43146 echo "$as_me: failed program was:" >&5
43147 sed 's/^/| /' conftest.$ac_ext >&5
43149 eval "$as_ac_var=no"
43151 rm -f conftest.err conftest.$ac_objext \
43152 conftest$ac_exeext conftest.$ac_ext
43154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43156 if test `eval echo '${'$as_ac_var'}'` = yes; then
43157 cat >>confdefs.h <<_ACEOF
43158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43159 _ACEOF
43162 done
43164 else
43166 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
43167 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
43168 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
43169 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
43170 echo $ECHO_N "(cached) $ECHO_C" >&6
43171 else
43175 ac_ext=cc
43176 ac_cpp='$CXXCPP $CPPFLAGS'
43177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43181 cat >conftest.$ac_ext <<_ACEOF
43182 /* confdefs.h. */
43183 _ACEOF
43184 cat confdefs.h >>conftest.$ac_ext
43185 cat >>conftest.$ac_ext <<_ACEOF
43186 /* end confdefs.h. */
43187 #include <math.h>
43188 #ifdef HAVE_IEEEFP_H
43189 #include <ieeefp.h>
43190 #endif
43193 main ()
43195 _isnan(0);
43197 return 0;
43199 _ACEOF
43200 rm -f conftest.$ac_objext
43201 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43202 (eval $ac_compile) 2>conftest.er1
43203 ac_status=$?
43204 grep -v '^ *+' conftest.er1 >conftest.err
43205 rm -f conftest.er1
43206 cat conftest.err >&5
43207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43208 (exit $ac_status); } &&
43209 { ac_try='test -z "$ac_cxx_werror_flag"
43210 || test ! -s conftest.err'
43211 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43212 (eval $ac_try) 2>&5
43213 ac_status=$?
43214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43215 (exit $ac_status); }; } &&
43216 { ac_try='test -s conftest.$ac_objext'
43217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43218 (eval $ac_try) 2>&5
43219 ac_status=$?
43220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43221 (exit $ac_status); }; }; then
43222 glibcxx_cv_func__isnan_use=yes
43223 else
43224 echo "$as_me: failed program was:" >&5
43225 sed 's/^/| /' conftest.$ac_ext >&5
43227 glibcxx_cv_func__isnan_use=no
43229 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43230 ac_ext=c
43231 ac_cpp='$CPP $CPPFLAGS'
43232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43240 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
43241 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
43243 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
43245 for ac_func in _isnan
43247 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43248 echo "$as_me:$LINENO: checking for $ac_func" >&5
43249 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43250 if eval "test \"\${$as_ac_var+set}\" = set"; then
43251 echo $ECHO_N "(cached) $ECHO_C" >&6
43252 else
43253 if test x$gcc_no_link = xyes; then
43254 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43255 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43256 { (exit 1); exit 1; }; }
43258 cat >conftest.$ac_ext <<_ACEOF
43259 /* confdefs.h. */
43260 _ACEOF
43261 cat confdefs.h >>conftest.$ac_ext
43262 cat >>conftest.$ac_ext <<_ACEOF
43263 /* end confdefs.h. */
43264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43266 #define $ac_func innocuous_$ac_func
43268 /* System header to define __stub macros and hopefully few prototypes,
43269 which can conflict with char $ac_func (); below.
43270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43271 <limits.h> exists even on freestanding compilers. */
43273 #ifdef __STDC__
43274 # include <limits.h>
43275 #else
43276 # include <assert.h>
43277 #endif
43279 #undef $ac_func
43281 /* Override any gcc2 internal prototype to avoid an error. */
43282 #ifdef __cplusplus
43283 extern "C"
43285 #endif
43286 /* We use char because int might match the return type of a gcc2
43287 builtin and then its argument prototype would still apply. */
43288 char $ac_func ();
43289 /* The GNU C library defines this for functions which it implements
43290 to always fail with ENOSYS. Some functions are actually named
43291 something starting with __ and the normal name is an alias. */
43292 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43293 choke me
43294 #else
43295 char (*f) () = $ac_func;
43296 #endif
43297 #ifdef __cplusplus
43299 #endif
43302 main ()
43304 return f != $ac_func;
43306 return 0;
43308 _ACEOF
43309 rm -f conftest.$ac_objext conftest$ac_exeext
43310 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43311 (eval $ac_link) 2>conftest.er1
43312 ac_status=$?
43313 grep -v '^ *+' conftest.er1 >conftest.err
43314 rm -f conftest.er1
43315 cat conftest.err >&5
43316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43317 (exit $ac_status); } &&
43318 { ac_try='test -z "$ac_c_werror_flag"
43319 || test ! -s conftest.err'
43320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43321 (eval $ac_try) 2>&5
43322 ac_status=$?
43323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43324 (exit $ac_status); }; } &&
43325 { ac_try='test -s conftest$ac_exeext'
43326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43327 (eval $ac_try) 2>&5
43328 ac_status=$?
43329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43330 (exit $ac_status); }; }; then
43331 eval "$as_ac_var=yes"
43332 else
43333 echo "$as_me: failed program was:" >&5
43334 sed 's/^/| /' conftest.$ac_ext >&5
43336 eval "$as_ac_var=no"
43338 rm -f conftest.err conftest.$ac_objext \
43339 conftest$ac_exeext conftest.$ac_ext
43341 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43342 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43343 if test `eval echo '${'$as_ac_var'}'` = yes; then
43344 cat >>confdefs.h <<_ACEOF
43345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43346 _ACEOF
43349 done
43359 echo "$as_me:$LINENO: checking for finite declaration" >&5
43360 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
43361 if test x${glibcxx_cv_func_finite_use+set} != xset; then
43362 if test "${glibcxx_cv_func_finite_use+set}" = set; then
43363 echo $ECHO_N "(cached) $ECHO_C" >&6
43364 else
43368 ac_ext=cc
43369 ac_cpp='$CXXCPP $CPPFLAGS'
43370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43374 cat >conftest.$ac_ext <<_ACEOF
43375 /* confdefs.h. */
43376 _ACEOF
43377 cat confdefs.h >>conftest.$ac_ext
43378 cat >>conftest.$ac_ext <<_ACEOF
43379 /* end confdefs.h. */
43380 #include <math.h>
43381 #ifdef HAVE_IEEEFP_H
43382 #include <ieeefp.h>
43383 #endif
43386 main ()
43388 finite(0);
43390 return 0;
43392 _ACEOF
43393 rm -f conftest.$ac_objext
43394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43395 (eval $ac_compile) 2>conftest.er1
43396 ac_status=$?
43397 grep -v '^ *+' conftest.er1 >conftest.err
43398 rm -f conftest.er1
43399 cat conftest.err >&5
43400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43401 (exit $ac_status); } &&
43402 { ac_try='test -z "$ac_cxx_werror_flag"
43403 || test ! -s conftest.err'
43404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43405 (eval $ac_try) 2>&5
43406 ac_status=$?
43407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43408 (exit $ac_status); }; } &&
43409 { ac_try='test -s conftest.$ac_objext'
43410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43411 (eval $ac_try) 2>&5
43412 ac_status=$?
43413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43414 (exit $ac_status); }; }; then
43415 glibcxx_cv_func_finite_use=yes
43416 else
43417 echo "$as_me: failed program was:" >&5
43418 sed 's/^/| /' conftest.$ac_ext >&5
43420 glibcxx_cv_func_finite_use=no
43422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43423 ac_ext=c
43424 ac_cpp='$CPP $CPPFLAGS'
43425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43433 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
43434 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
43436 if test x$glibcxx_cv_func_finite_use = x"yes"; then
43438 for ac_func in finite
43440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43441 echo "$as_me:$LINENO: checking for $ac_func" >&5
43442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43443 if eval "test \"\${$as_ac_var+set}\" = set"; then
43444 echo $ECHO_N "(cached) $ECHO_C" >&6
43445 else
43446 if test x$gcc_no_link = xyes; then
43447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43449 { (exit 1); exit 1; }; }
43451 cat >conftest.$ac_ext <<_ACEOF
43452 /* confdefs.h. */
43453 _ACEOF
43454 cat confdefs.h >>conftest.$ac_ext
43455 cat >>conftest.$ac_ext <<_ACEOF
43456 /* end confdefs.h. */
43457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43459 #define $ac_func innocuous_$ac_func
43461 /* System header to define __stub macros and hopefully few prototypes,
43462 which can conflict with char $ac_func (); below.
43463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43464 <limits.h> exists even on freestanding compilers. */
43466 #ifdef __STDC__
43467 # include <limits.h>
43468 #else
43469 # include <assert.h>
43470 #endif
43472 #undef $ac_func
43474 /* Override any gcc2 internal prototype to avoid an error. */
43475 #ifdef __cplusplus
43476 extern "C"
43478 #endif
43479 /* We use char because int might match the return type of a gcc2
43480 builtin and then its argument prototype would still apply. */
43481 char $ac_func ();
43482 /* The GNU C library defines this for functions which it implements
43483 to always fail with ENOSYS. Some functions are actually named
43484 something starting with __ and the normal name is an alias. */
43485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43486 choke me
43487 #else
43488 char (*f) () = $ac_func;
43489 #endif
43490 #ifdef __cplusplus
43492 #endif
43495 main ()
43497 return f != $ac_func;
43499 return 0;
43501 _ACEOF
43502 rm -f conftest.$ac_objext conftest$ac_exeext
43503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43504 (eval $ac_link) 2>conftest.er1
43505 ac_status=$?
43506 grep -v '^ *+' conftest.er1 >conftest.err
43507 rm -f conftest.er1
43508 cat conftest.err >&5
43509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43510 (exit $ac_status); } &&
43511 { ac_try='test -z "$ac_c_werror_flag"
43512 || test ! -s conftest.err'
43513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43514 (eval $ac_try) 2>&5
43515 ac_status=$?
43516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43517 (exit $ac_status); }; } &&
43518 { ac_try='test -s conftest$ac_exeext'
43519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43520 (eval $ac_try) 2>&5
43521 ac_status=$?
43522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43523 (exit $ac_status); }; }; then
43524 eval "$as_ac_var=yes"
43525 else
43526 echo "$as_me: failed program was:" >&5
43527 sed 's/^/| /' conftest.$ac_ext >&5
43529 eval "$as_ac_var=no"
43531 rm -f conftest.err conftest.$ac_objext \
43532 conftest$ac_exeext conftest.$ac_ext
43534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43536 if test `eval echo '${'$as_ac_var'}'` = yes; then
43537 cat >>confdefs.h <<_ACEOF
43538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43539 _ACEOF
43542 done
43544 else
43546 echo "$as_me:$LINENO: checking for _finite declaration" >&5
43547 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
43548 if test x${glibcxx_cv_func__finite_use+set} != xset; then
43549 if test "${glibcxx_cv_func__finite_use+set}" = set; then
43550 echo $ECHO_N "(cached) $ECHO_C" >&6
43551 else
43555 ac_ext=cc
43556 ac_cpp='$CXXCPP $CPPFLAGS'
43557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43561 cat >conftest.$ac_ext <<_ACEOF
43562 /* confdefs.h. */
43563 _ACEOF
43564 cat confdefs.h >>conftest.$ac_ext
43565 cat >>conftest.$ac_ext <<_ACEOF
43566 /* end confdefs.h. */
43567 #include <math.h>
43568 #ifdef HAVE_IEEEFP_H
43569 #include <ieeefp.h>
43570 #endif
43573 main ()
43575 _finite(0);
43577 return 0;
43579 _ACEOF
43580 rm -f conftest.$ac_objext
43581 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43582 (eval $ac_compile) 2>conftest.er1
43583 ac_status=$?
43584 grep -v '^ *+' conftest.er1 >conftest.err
43585 rm -f conftest.er1
43586 cat conftest.err >&5
43587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43588 (exit $ac_status); } &&
43589 { ac_try='test -z "$ac_cxx_werror_flag"
43590 || test ! -s conftest.err'
43591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43592 (eval $ac_try) 2>&5
43593 ac_status=$?
43594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43595 (exit $ac_status); }; } &&
43596 { ac_try='test -s conftest.$ac_objext'
43597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43598 (eval $ac_try) 2>&5
43599 ac_status=$?
43600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43601 (exit $ac_status); }; }; then
43602 glibcxx_cv_func__finite_use=yes
43603 else
43604 echo "$as_me: failed program was:" >&5
43605 sed 's/^/| /' conftest.$ac_ext >&5
43607 glibcxx_cv_func__finite_use=no
43609 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43610 ac_ext=c
43611 ac_cpp='$CPP $CPPFLAGS'
43612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43620 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
43621 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
43623 if test x$glibcxx_cv_func__finite_use = x"yes"; then
43625 for ac_func in _finite
43627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43628 echo "$as_me:$LINENO: checking for $ac_func" >&5
43629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43630 if eval "test \"\${$as_ac_var+set}\" = set"; then
43631 echo $ECHO_N "(cached) $ECHO_C" >&6
43632 else
43633 if test x$gcc_no_link = xyes; then
43634 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43635 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43636 { (exit 1); exit 1; }; }
43638 cat >conftest.$ac_ext <<_ACEOF
43639 /* confdefs.h. */
43640 _ACEOF
43641 cat confdefs.h >>conftest.$ac_ext
43642 cat >>conftest.$ac_ext <<_ACEOF
43643 /* end confdefs.h. */
43644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43646 #define $ac_func innocuous_$ac_func
43648 /* System header to define __stub macros and hopefully few prototypes,
43649 which can conflict with char $ac_func (); below.
43650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43651 <limits.h> exists even on freestanding compilers. */
43653 #ifdef __STDC__
43654 # include <limits.h>
43655 #else
43656 # include <assert.h>
43657 #endif
43659 #undef $ac_func
43661 /* Override any gcc2 internal prototype to avoid an error. */
43662 #ifdef __cplusplus
43663 extern "C"
43665 #endif
43666 /* We use char because int might match the return type of a gcc2
43667 builtin and then its argument prototype would still apply. */
43668 char $ac_func ();
43669 /* The GNU C library defines this for functions which it implements
43670 to always fail with ENOSYS. Some functions are actually named
43671 something starting with __ and the normal name is an alias. */
43672 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43673 choke me
43674 #else
43675 char (*f) () = $ac_func;
43676 #endif
43677 #ifdef __cplusplus
43679 #endif
43682 main ()
43684 return f != $ac_func;
43686 return 0;
43688 _ACEOF
43689 rm -f conftest.$ac_objext conftest$ac_exeext
43690 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43691 (eval $ac_link) 2>conftest.er1
43692 ac_status=$?
43693 grep -v '^ *+' conftest.er1 >conftest.err
43694 rm -f conftest.er1
43695 cat conftest.err >&5
43696 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43697 (exit $ac_status); } &&
43698 { ac_try='test -z "$ac_c_werror_flag"
43699 || test ! -s conftest.err'
43700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43701 (eval $ac_try) 2>&5
43702 ac_status=$?
43703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43704 (exit $ac_status); }; } &&
43705 { ac_try='test -s conftest$ac_exeext'
43706 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43707 (eval $ac_try) 2>&5
43708 ac_status=$?
43709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43710 (exit $ac_status); }; }; then
43711 eval "$as_ac_var=yes"
43712 else
43713 echo "$as_me: failed program was:" >&5
43714 sed 's/^/| /' conftest.$ac_ext >&5
43716 eval "$as_ac_var=no"
43718 rm -f conftest.err conftest.$ac_objext \
43719 conftest$ac_exeext conftest.$ac_ext
43721 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43722 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43723 if test `eval echo '${'$as_ac_var'}'` = yes; then
43724 cat >>confdefs.h <<_ACEOF
43725 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43726 _ACEOF
43729 done
43739 echo "$as_me:$LINENO: checking for sincos declaration" >&5
43740 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
43741 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
43742 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
43743 echo $ECHO_N "(cached) $ECHO_C" >&6
43744 else
43748 ac_ext=cc
43749 ac_cpp='$CXXCPP $CPPFLAGS'
43750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754 cat >conftest.$ac_ext <<_ACEOF
43755 /* confdefs.h. */
43756 _ACEOF
43757 cat confdefs.h >>conftest.$ac_ext
43758 cat >>conftest.$ac_ext <<_ACEOF
43759 /* end confdefs.h. */
43760 #include <math.h>
43762 main ()
43764 sincos(0, 0, 0);
43766 return 0;
43768 _ACEOF
43769 rm -f conftest.$ac_objext
43770 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43771 (eval $ac_compile) 2>conftest.er1
43772 ac_status=$?
43773 grep -v '^ *+' conftest.er1 >conftest.err
43774 rm -f conftest.er1
43775 cat conftest.err >&5
43776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43777 (exit $ac_status); } &&
43778 { ac_try='test -z "$ac_cxx_werror_flag"
43779 || test ! -s conftest.err'
43780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43781 (eval $ac_try) 2>&5
43782 ac_status=$?
43783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43784 (exit $ac_status); }; } &&
43785 { ac_try='test -s conftest.$ac_objext'
43786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43787 (eval $ac_try) 2>&5
43788 ac_status=$?
43789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43790 (exit $ac_status); }; }; then
43791 glibcxx_cv_func_sincos_use=yes
43792 else
43793 echo "$as_me: failed program was:" >&5
43794 sed 's/^/| /' conftest.$ac_ext >&5
43796 glibcxx_cv_func_sincos_use=no
43798 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43799 ac_ext=c
43800 ac_cpp='$CPP $CPPFLAGS'
43801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43809 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
43810 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
43812 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
43814 for ac_func in sincos
43816 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43817 echo "$as_me:$LINENO: checking for $ac_func" >&5
43818 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
43819 if eval "test \"\${$as_ac_var+set}\" = set"; then
43820 echo $ECHO_N "(cached) $ECHO_C" >&6
43821 else
43822 if test x$gcc_no_link = xyes; then
43823 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
43824 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
43825 { (exit 1); exit 1; }; }
43827 cat >conftest.$ac_ext <<_ACEOF
43828 /* confdefs.h. */
43829 _ACEOF
43830 cat confdefs.h >>conftest.$ac_ext
43831 cat >>conftest.$ac_ext <<_ACEOF
43832 /* end confdefs.h. */
43833 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43834 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43835 #define $ac_func innocuous_$ac_func
43837 /* System header to define __stub macros and hopefully few prototypes,
43838 which can conflict with char $ac_func (); below.
43839 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43840 <limits.h> exists even on freestanding compilers. */
43842 #ifdef __STDC__
43843 # include <limits.h>
43844 #else
43845 # include <assert.h>
43846 #endif
43848 #undef $ac_func
43850 /* Override any gcc2 internal prototype to avoid an error. */
43851 #ifdef __cplusplus
43852 extern "C"
43854 #endif
43855 /* We use char because int might match the return type of a gcc2
43856 builtin and then its argument prototype would still apply. */
43857 char $ac_func ();
43858 /* The GNU C library defines this for functions which it implements
43859 to always fail with ENOSYS. Some functions are actually named
43860 something starting with __ and the normal name is an alias. */
43861 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
43862 choke me
43863 #else
43864 char (*f) () = $ac_func;
43865 #endif
43866 #ifdef __cplusplus
43868 #endif
43871 main ()
43873 return f != $ac_func;
43875 return 0;
43877 _ACEOF
43878 rm -f conftest.$ac_objext conftest$ac_exeext
43879 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
43880 (eval $ac_link) 2>conftest.er1
43881 ac_status=$?
43882 grep -v '^ *+' conftest.er1 >conftest.err
43883 rm -f conftest.er1
43884 cat conftest.err >&5
43885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43886 (exit $ac_status); } &&
43887 { ac_try='test -z "$ac_c_werror_flag"
43888 || test ! -s conftest.err'
43889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43890 (eval $ac_try) 2>&5
43891 ac_status=$?
43892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43893 (exit $ac_status); }; } &&
43894 { ac_try='test -s conftest$ac_exeext'
43895 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43896 (eval $ac_try) 2>&5
43897 ac_status=$?
43898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43899 (exit $ac_status); }; }; then
43900 eval "$as_ac_var=yes"
43901 else
43902 echo "$as_me: failed program was:" >&5
43903 sed 's/^/| /' conftest.$ac_ext >&5
43905 eval "$as_ac_var=no"
43907 rm -f conftest.err conftest.$ac_objext \
43908 conftest$ac_exeext conftest.$ac_ext
43910 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
43911 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
43912 if test `eval echo '${'$as_ac_var'}'` = yes; then
43913 cat >>confdefs.h <<_ACEOF
43914 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43915 _ACEOF
43918 done
43920 else
43922 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
43923 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
43924 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
43925 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
43926 echo $ECHO_N "(cached) $ECHO_C" >&6
43927 else
43931 ac_ext=cc
43932 ac_cpp='$CXXCPP $CPPFLAGS'
43933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43937 cat >conftest.$ac_ext <<_ACEOF
43938 /* confdefs.h. */
43939 _ACEOF
43940 cat confdefs.h >>conftest.$ac_ext
43941 cat >>conftest.$ac_ext <<_ACEOF
43942 /* end confdefs.h. */
43943 #include <math.h>
43945 main ()
43947 _sincos(0, 0, 0);
43949 return 0;
43951 _ACEOF
43952 rm -f conftest.$ac_objext
43953 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
43954 (eval $ac_compile) 2>conftest.er1
43955 ac_status=$?
43956 grep -v '^ *+' conftest.er1 >conftest.err
43957 rm -f conftest.er1
43958 cat conftest.err >&5
43959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43960 (exit $ac_status); } &&
43961 { ac_try='test -z "$ac_cxx_werror_flag"
43962 || test ! -s conftest.err'
43963 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43964 (eval $ac_try) 2>&5
43965 ac_status=$?
43966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43967 (exit $ac_status); }; } &&
43968 { ac_try='test -s conftest.$ac_objext'
43969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
43970 (eval $ac_try) 2>&5
43971 ac_status=$?
43972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43973 (exit $ac_status); }; }; then
43974 glibcxx_cv_func__sincos_use=yes
43975 else
43976 echo "$as_me: failed program was:" >&5
43977 sed 's/^/| /' conftest.$ac_ext >&5
43979 glibcxx_cv_func__sincos_use=no
43981 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
43982 ac_ext=c
43983 ac_cpp='$CPP $CPPFLAGS'
43984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43992 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
43993 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
43995 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
43997 for ac_func in _sincos
43999 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44000 echo "$as_me:$LINENO: checking for $ac_func" >&5
44001 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44002 if eval "test \"\${$as_ac_var+set}\" = set"; then
44003 echo $ECHO_N "(cached) $ECHO_C" >&6
44004 else
44005 if test x$gcc_no_link = xyes; then
44006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44008 { (exit 1); exit 1; }; }
44010 cat >conftest.$ac_ext <<_ACEOF
44011 /* confdefs.h. */
44012 _ACEOF
44013 cat confdefs.h >>conftest.$ac_ext
44014 cat >>conftest.$ac_ext <<_ACEOF
44015 /* end confdefs.h. */
44016 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44018 #define $ac_func innocuous_$ac_func
44020 /* System header to define __stub macros and hopefully few prototypes,
44021 which can conflict with char $ac_func (); below.
44022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44023 <limits.h> exists even on freestanding compilers. */
44025 #ifdef __STDC__
44026 # include <limits.h>
44027 #else
44028 # include <assert.h>
44029 #endif
44031 #undef $ac_func
44033 /* Override any gcc2 internal prototype to avoid an error. */
44034 #ifdef __cplusplus
44035 extern "C"
44037 #endif
44038 /* We use char because int might match the return type of a gcc2
44039 builtin and then its argument prototype would still apply. */
44040 char $ac_func ();
44041 /* The GNU C library defines this for functions which it implements
44042 to always fail with ENOSYS. Some functions are actually named
44043 something starting with __ and the normal name is an alias. */
44044 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44045 choke me
44046 #else
44047 char (*f) () = $ac_func;
44048 #endif
44049 #ifdef __cplusplus
44051 #endif
44054 main ()
44056 return f != $ac_func;
44058 return 0;
44060 _ACEOF
44061 rm -f conftest.$ac_objext conftest$ac_exeext
44062 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44063 (eval $ac_link) 2>conftest.er1
44064 ac_status=$?
44065 grep -v '^ *+' conftest.er1 >conftest.err
44066 rm -f conftest.er1
44067 cat conftest.err >&5
44068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44069 (exit $ac_status); } &&
44070 { ac_try='test -z "$ac_c_werror_flag"
44071 || test ! -s conftest.err'
44072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44073 (eval $ac_try) 2>&5
44074 ac_status=$?
44075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44076 (exit $ac_status); }; } &&
44077 { ac_try='test -s conftest$ac_exeext'
44078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44079 (eval $ac_try) 2>&5
44080 ac_status=$?
44081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44082 (exit $ac_status); }; }; then
44083 eval "$as_ac_var=yes"
44084 else
44085 echo "$as_me: failed program was:" >&5
44086 sed 's/^/| /' conftest.$ac_ext >&5
44088 eval "$as_ac_var=no"
44090 rm -f conftest.err conftest.$ac_objext \
44091 conftest$ac_exeext conftest.$ac_ext
44093 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44094 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44095 if test `eval echo '${'$as_ac_var'}'` = yes; then
44096 cat >>confdefs.h <<_ACEOF
44097 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44098 _ACEOF
44101 done
44111 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
44112 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
44113 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
44114 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
44115 echo $ECHO_N "(cached) $ECHO_C" >&6
44116 else
44120 ac_ext=cc
44121 ac_cpp='$CXXCPP $CPPFLAGS'
44122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44126 cat >conftest.$ac_ext <<_ACEOF
44127 /* confdefs.h. */
44128 _ACEOF
44129 cat confdefs.h >>conftest.$ac_ext
44130 cat >>conftest.$ac_ext <<_ACEOF
44131 /* end confdefs.h. */
44132 #include <math.h>
44133 #ifdef HAVE_IEEEFP_H
44134 #include <ieeefp.h>
44135 #endif
44138 main ()
44140 fpclass(0);
44142 return 0;
44144 _ACEOF
44145 rm -f conftest.$ac_objext
44146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44147 (eval $ac_compile) 2>conftest.er1
44148 ac_status=$?
44149 grep -v '^ *+' conftest.er1 >conftest.err
44150 rm -f conftest.er1
44151 cat conftest.err >&5
44152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44153 (exit $ac_status); } &&
44154 { ac_try='test -z "$ac_cxx_werror_flag"
44155 || test ! -s conftest.err'
44156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44157 (eval $ac_try) 2>&5
44158 ac_status=$?
44159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44160 (exit $ac_status); }; } &&
44161 { ac_try='test -s conftest.$ac_objext'
44162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44163 (eval $ac_try) 2>&5
44164 ac_status=$?
44165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44166 (exit $ac_status); }; }; then
44167 glibcxx_cv_func_fpclass_use=yes
44168 else
44169 echo "$as_me: failed program was:" >&5
44170 sed 's/^/| /' conftest.$ac_ext >&5
44172 glibcxx_cv_func_fpclass_use=no
44174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44175 ac_ext=c
44176 ac_cpp='$CPP $CPPFLAGS'
44177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44185 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
44186 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
44188 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
44190 for ac_func in fpclass
44192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44193 echo "$as_me:$LINENO: checking for $ac_func" >&5
44194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44195 if eval "test \"\${$as_ac_var+set}\" = set"; then
44196 echo $ECHO_N "(cached) $ECHO_C" >&6
44197 else
44198 if test x$gcc_no_link = xyes; then
44199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44201 { (exit 1); exit 1; }; }
44203 cat >conftest.$ac_ext <<_ACEOF
44204 /* confdefs.h. */
44205 _ACEOF
44206 cat confdefs.h >>conftest.$ac_ext
44207 cat >>conftest.$ac_ext <<_ACEOF
44208 /* end confdefs.h. */
44209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44211 #define $ac_func innocuous_$ac_func
44213 /* System header to define __stub macros and hopefully few prototypes,
44214 which can conflict with char $ac_func (); below.
44215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44216 <limits.h> exists even on freestanding compilers. */
44218 #ifdef __STDC__
44219 # include <limits.h>
44220 #else
44221 # include <assert.h>
44222 #endif
44224 #undef $ac_func
44226 /* Override any gcc2 internal prototype to avoid an error. */
44227 #ifdef __cplusplus
44228 extern "C"
44230 #endif
44231 /* We use char because int might match the return type of a gcc2
44232 builtin and then its argument prototype would still apply. */
44233 char $ac_func ();
44234 /* The GNU C library defines this for functions which it implements
44235 to always fail with ENOSYS. Some functions are actually named
44236 something starting with __ and the normal name is an alias. */
44237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44238 choke me
44239 #else
44240 char (*f) () = $ac_func;
44241 #endif
44242 #ifdef __cplusplus
44244 #endif
44247 main ()
44249 return f != $ac_func;
44251 return 0;
44253 _ACEOF
44254 rm -f conftest.$ac_objext conftest$ac_exeext
44255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44256 (eval $ac_link) 2>conftest.er1
44257 ac_status=$?
44258 grep -v '^ *+' conftest.er1 >conftest.err
44259 rm -f conftest.er1
44260 cat conftest.err >&5
44261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44262 (exit $ac_status); } &&
44263 { ac_try='test -z "$ac_c_werror_flag"
44264 || test ! -s conftest.err'
44265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44266 (eval $ac_try) 2>&5
44267 ac_status=$?
44268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44269 (exit $ac_status); }; } &&
44270 { ac_try='test -s conftest$ac_exeext'
44271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44272 (eval $ac_try) 2>&5
44273 ac_status=$?
44274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44275 (exit $ac_status); }; }; then
44276 eval "$as_ac_var=yes"
44277 else
44278 echo "$as_me: failed program was:" >&5
44279 sed 's/^/| /' conftest.$ac_ext >&5
44281 eval "$as_ac_var=no"
44283 rm -f conftest.err conftest.$ac_objext \
44284 conftest$ac_exeext conftest.$ac_ext
44286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44288 if test `eval echo '${'$as_ac_var'}'` = yes; then
44289 cat >>confdefs.h <<_ACEOF
44290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44291 _ACEOF
44294 done
44296 else
44298 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
44299 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
44300 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
44301 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
44302 echo $ECHO_N "(cached) $ECHO_C" >&6
44303 else
44307 ac_ext=cc
44308 ac_cpp='$CXXCPP $CPPFLAGS'
44309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44313 cat >conftest.$ac_ext <<_ACEOF
44314 /* confdefs.h. */
44315 _ACEOF
44316 cat confdefs.h >>conftest.$ac_ext
44317 cat >>conftest.$ac_ext <<_ACEOF
44318 /* end confdefs.h. */
44319 #include <math.h>
44320 #ifdef HAVE_IEEEFP_H
44321 #include <ieeefp.h>
44322 #endif
44325 main ()
44327 _fpclass(0);
44329 return 0;
44331 _ACEOF
44332 rm -f conftest.$ac_objext
44333 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44334 (eval $ac_compile) 2>conftest.er1
44335 ac_status=$?
44336 grep -v '^ *+' conftest.er1 >conftest.err
44337 rm -f conftest.er1
44338 cat conftest.err >&5
44339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44340 (exit $ac_status); } &&
44341 { ac_try='test -z "$ac_cxx_werror_flag"
44342 || test ! -s conftest.err'
44343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44344 (eval $ac_try) 2>&5
44345 ac_status=$?
44346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44347 (exit $ac_status); }; } &&
44348 { ac_try='test -s conftest.$ac_objext'
44349 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44350 (eval $ac_try) 2>&5
44351 ac_status=$?
44352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44353 (exit $ac_status); }; }; then
44354 glibcxx_cv_func__fpclass_use=yes
44355 else
44356 echo "$as_me: failed program was:" >&5
44357 sed 's/^/| /' conftest.$ac_ext >&5
44359 glibcxx_cv_func__fpclass_use=no
44361 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44362 ac_ext=c
44363 ac_cpp='$CPP $CPPFLAGS'
44364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44372 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
44373 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
44375 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
44377 for ac_func in _fpclass
44379 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44380 echo "$as_me:$LINENO: checking for $ac_func" >&5
44381 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44382 if eval "test \"\${$as_ac_var+set}\" = set"; then
44383 echo $ECHO_N "(cached) $ECHO_C" >&6
44384 else
44385 if test x$gcc_no_link = xyes; then
44386 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44387 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44388 { (exit 1); exit 1; }; }
44390 cat >conftest.$ac_ext <<_ACEOF
44391 /* confdefs.h. */
44392 _ACEOF
44393 cat confdefs.h >>conftest.$ac_ext
44394 cat >>conftest.$ac_ext <<_ACEOF
44395 /* end confdefs.h. */
44396 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44397 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44398 #define $ac_func innocuous_$ac_func
44400 /* System header to define __stub macros and hopefully few prototypes,
44401 which can conflict with char $ac_func (); below.
44402 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44403 <limits.h> exists even on freestanding compilers. */
44405 #ifdef __STDC__
44406 # include <limits.h>
44407 #else
44408 # include <assert.h>
44409 #endif
44411 #undef $ac_func
44413 /* Override any gcc2 internal prototype to avoid an error. */
44414 #ifdef __cplusplus
44415 extern "C"
44417 #endif
44418 /* We use char because int might match the return type of a gcc2
44419 builtin and then its argument prototype would still apply. */
44420 char $ac_func ();
44421 /* The GNU C library defines this for functions which it implements
44422 to always fail with ENOSYS. Some functions are actually named
44423 something starting with __ and the normal name is an alias. */
44424 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44425 choke me
44426 #else
44427 char (*f) () = $ac_func;
44428 #endif
44429 #ifdef __cplusplus
44431 #endif
44434 main ()
44436 return f != $ac_func;
44438 return 0;
44440 _ACEOF
44441 rm -f conftest.$ac_objext conftest$ac_exeext
44442 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44443 (eval $ac_link) 2>conftest.er1
44444 ac_status=$?
44445 grep -v '^ *+' conftest.er1 >conftest.err
44446 rm -f conftest.er1
44447 cat conftest.err >&5
44448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44449 (exit $ac_status); } &&
44450 { ac_try='test -z "$ac_c_werror_flag"
44451 || test ! -s conftest.err'
44452 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44453 (eval $ac_try) 2>&5
44454 ac_status=$?
44455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44456 (exit $ac_status); }; } &&
44457 { ac_try='test -s conftest$ac_exeext'
44458 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44459 (eval $ac_try) 2>&5
44460 ac_status=$?
44461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44462 (exit $ac_status); }; }; then
44463 eval "$as_ac_var=yes"
44464 else
44465 echo "$as_me: failed program was:" >&5
44466 sed 's/^/| /' conftest.$ac_ext >&5
44468 eval "$as_ac_var=no"
44470 rm -f conftest.err conftest.$ac_objext \
44471 conftest$ac_exeext conftest.$ac_ext
44473 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44474 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44475 if test `eval echo '${'$as_ac_var'}'` = yes; then
44476 cat >>confdefs.h <<_ACEOF
44477 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44478 _ACEOF
44481 done
44491 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
44492 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
44493 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
44494 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
44495 echo $ECHO_N "(cached) $ECHO_C" >&6
44496 else
44500 ac_ext=cc
44501 ac_cpp='$CXXCPP $CPPFLAGS'
44502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44506 cat >conftest.$ac_ext <<_ACEOF
44507 /* confdefs.h. */
44508 _ACEOF
44509 cat confdefs.h >>conftest.$ac_ext
44510 cat >>conftest.$ac_ext <<_ACEOF
44511 /* end confdefs.h. */
44512 #include <math.h>
44513 #ifdef HAVE_IEEEFP_H
44514 #include <ieeefp.h>
44515 #endif
44518 main ()
44520 qfpclass(0);
44522 return 0;
44524 _ACEOF
44525 rm -f conftest.$ac_objext
44526 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44527 (eval $ac_compile) 2>conftest.er1
44528 ac_status=$?
44529 grep -v '^ *+' conftest.er1 >conftest.err
44530 rm -f conftest.er1
44531 cat conftest.err >&5
44532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44533 (exit $ac_status); } &&
44534 { ac_try='test -z "$ac_cxx_werror_flag"
44535 || test ! -s conftest.err'
44536 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44537 (eval $ac_try) 2>&5
44538 ac_status=$?
44539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44540 (exit $ac_status); }; } &&
44541 { ac_try='test -s conftest.$ac_objext'
44542 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44543 (eval $ac_try) 2>&5
44544 ac_status=$?
44545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44546 (exit $ac_status); }; }; then
44547 glibcxx_cv_func_qfpclass_use=yes
44548 else
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44552 glibcxx_cv_func_qfpclass_use=no
44554 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44555 ac_ext=c
44556 ac_cpp='$CPP $CPPFLAGS'
44557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44565 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
44566 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
44568 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
44570 for ac_func in qfpclass
44572 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44573 echo "$as_me:$LINENO: checking for $ac_func" >&5
44574 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44575 if eval "test \"\${$as_ac_var+set}\" = set"; then
44576 echo $ECHO_N "(cached) $ECHO_C" >&6
44577 else
44578 if test x$gcc_no_link = xyes; then
44579 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44580 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44581 { (exit 1); exit 1; }; }
44583 cat >conftest.$ac_ext <<_ACEOF
44584 /* confdefs.h. */
44585 _ACEOF
44586 cat confdefs.h >>conftest.$ac_ext
44587 cat >>conftest.$ac_ext <<_ACEOF
44588 /* end confdefs.h. */
44589 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44590 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44591 #define $ac_func innocuous_$ac_func
44593 /* System header to define __stub macros and hopefully few prototypes,
44594 which can conflict with char $ac_func (); below.
44595 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44596 <limits.h> exists even on freestanding compilers. */
44598 #ifdef __STDC__
44599 # include <limits.h>
44600 #else
44601 # include <assert.h>
44602 #endif
44604 #undef $ac_func
44606 /* Override any gcc2 internal prototype to avoid an error. */
44607 #ifdef __cplusplus
44608 extern "C"
44610 #endif
44611 /* We use char because int might match the return type of a gcc2
44612 builtin and then its argument prototype would still apply. */
44613 char $ac_func ();
44614 /* The GNU C library defines this for functions which it implements
44615 to always fail with ENOSYS. Some functions are actually named
44616 something starting with __ and the normal name is an alias. */
44617 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44618 choke me
44619 #else
44620 char (*f) () = $ac_func;
44621 #endif
44622 #ifdef __cplusplus
44624 #endif
44627 main ()
44629 return f != $ac_func;
44631 return 0;
44633 _ACEOF
44634 rm -f conftest.$ac_objext conftest$ac_exeext
44635 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44636 (eval $ac_link) 2>conftest.er1
44637 ac_status=$?
44638 grep -v '^ *+' conftest.er1 >conftest.err
44639 rm -f conftest.er1
44640 cat conftest.err >&5
44641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44642 (exit $ac_status); } &&
44643 { ac_try='test -z "$ac_c_werror_flag"
44644 || test ! -s conftest.err'
44645 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44646 (eval $ac_try) 2>&5
44647 ac_status=$?
44648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44649 (exit $ac_status); }; } &&
44650 { ac_try='test -s conftest$ac_exeext'
44651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44652 (eval $ac_try) 2>&5
44653 ac_status=$?
44654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44655 (exit $ac_status); }; }; then
44656 eval "$as_ac_var=yes"
44657 else
44658 echo "$as_me: failed program was:" >&5
44659 sed 's/^/| /' conftest.$ac_ext >&5
44661 eval "$as_ac_var=no"
44663 rm -f conftest.err conftest.$ac_objext \
44664 conftest$ac_exeext conftest.$ac_ext
44666 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44667 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44668 if test `eval echo '${'$as_ac_var'}'` = yes; then
44669 cat >>confdefs.h <<_ACEOF
44670 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44671 _ACEOF
44674 done
44676 else
44678 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
44679 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
44680 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
44681 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
44682 echo $ECHO_N "(cached) $ECHO_C" >&6
44683 else
44687 ac_ext=cc
44688 ac_cpp='$CXXCPP $CPPFLAGS'
44689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44693 cat >conftest.$ac_ext <<_ACEOF
44694 /* confdefs.h. */
44695 _ACEOF
44696 cat confdefs.h >>conftest.$ac_ext
44697 cat >>conftest.$ac_ext <<_ACEOF
44698 /* end confdefs.h. */
44699 #include <math.h>
44700 #ifdef HAVE_IEEEFP_H
44701 #include <ieeefp.h>
44702 #endif
44705 main ()
44707 _qfpclass(0);
44709 return 0;
44711 _ACEOF
44712 rm -f conftest.$ac_objext
44713 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44714 (eval $ac_compile) 2>conftest.er1
44715 ac_status=$?
44716 grep -v '^ *+' conftest.er1 >conftest.err
44717 rm -f conftest.er1
44718 cat conftest.err >&5
44719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44720 (exit $ac_status); } &&
44721 { ac_try='test -z "$ac_cxx_werror_flag"
44722 || test ! -s conftest.err'
44723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44724 (eval $ac_try) 2>&5
44725 ac_status=$?
44726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44727 (exit $ac_status); }; } &&
44728 { ac_try='test -s conftest.$ac_objext'
44729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44730 (eval $ac_try) 2>&5
44731 ac_status=$?
44732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44733 (exit $ac_status); }; }; then
44734 glibcxx_cv_func__qfpclass_use=yes
44735 else
44736 echo "$as_me: failed program was:" >&5
44737 sed 's/^/| /' conftest.$ac_ext >&5
44739 glibcxx_cv_func__qfpclass_use=no
44741 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44742 ac_ext=c
44743 ac_cpp='$CPP $CPPFLAGS'
44744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44752 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
44753 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
44755 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
44757 for ac_func in _qfpclass
44759 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44760 echo "$as_me:$LINENO: checking for $ac_func" >&5
44761 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44762 if eval "test \"\${$as_ac_var+set}\" = set"; then
44763 echo $ECHO_N "(cached) $ECHO_C" >&6
44764 else
44765 if test x$gcc_no_link = xyes; then
44766 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44767 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44768 { (exit 1); exit 1; }; }
44770 cat >conftest.$ac_ext <<_ACEOF
44771 /* confdefs.h. */
44772 _ACEOF
44773 cat confdefs.h >>conftest.$ac_ext
44774 cat >>conftest.$ac_ext <<_ACEOF
44775 /* end confdefs.h. */
44776 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44778 #define $ac_func innocuous_$ac_func
44780 /* System header to define __stub macros and hopefully few prototypes,
44781 which can conflict with char $ac_func (); below.
44782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44783 <limits.h> exists even on freestanding compilers. */
44785 #ifdef __STDC__
44786 # include <limits.h>
44787 #else
44788 # include <assert.h>
44789 #endif
44791 #undef $ac_func
44793 /* Override any gcc2 internal prototype to avoid an error. */
44794 #ifdef __cplusplus
44795 extern "C"
44797 #endif
44798 /* We use char because int might match the return type of a gcc2
44799 builtin and then its argument prototype would still apply. */
44800 char $ac_func ();
44801 /* The GNU C library defines this for functions which it implements
44802 to always fail with ENOSYS. Some functions are actually named
44803 something starting with __ and the normal name is an alias. */
44804 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44805 choke me
44806 #else
44807 char (*f) () = $ac_func;
44808 #endif
44809 #ifdef __cplusplus
44811 #endif
44814 main ()
44816 return f != $ac_func;
44818 return 0;
44820 _ACEOF
44821 rm -f conftest.$ac_objext conftest$ac_exeext
44822 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
44823 (eval $ac_link) 2>conftest.er1
44824 ac_status=$?
44825 grep -v '^ *+' conftest.er1 >conftest.err
44826 rm -f conftest.er1
44827 cat conftest.err >&5
44828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44829 (exit $ac_status); } &&
44830 { ac_try='test -z "$ac_c_werror_flag"
44831 || test ! -s conftest.err'
44832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44833 (eval $ac_try) 2>&5
44834 ac_status=$?
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); }; } &&
44837 { ac_try='test -s conftest$ac_exeext'
44838 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44839 (eval $ac_try) 2>&5
44840 ac_status=$?
44841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44842 (exit $ac_status); }; }; then
44843 eval "$as_ac_var=yes"
44844 else
44845 echo "$as_me: failed program was:" >&5
44846 sed 's/^/| /' conftest.$ac_ext >&5
44848 eval "$as_ac_var=no"
44850 rm -f conftest.err conftest.$ac_objext \
44851 conftest$ac_exeext conftest.$ac_ext
44853 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
44854 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
44855 if test `eval echo '${'$as_ac_var'}'` = yes; then
44856 cat >>confdefs.h <<_ACEOF
44857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44858 _ACEOF
44861 done
44871 echo "$as_me:$LINENO: checking for hypot declaration" >&5
44872 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
44873 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
44874 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
44875 echo $ECHO_N "(cached) $ECHO_C" >&6
44876 else
44880 ac_ext=cc
44881 ac_cpp='$CXXCPP $CPPFLAGS'
44882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44886 cat >conftest.$ac_ext <<_ACEOF
44887 /* confdefs.h. */
44888 _ACEOF
44889 cat confdefs.h >>conftest.$ac_ext
44890 cat >>conftest.$ac_ext <<_ACEOF
44891 /* end confdefs.h. */
44892 #include <math.h>
44894 main ()
44896 hypot(0, 0);
44898 return 0;
44900 _ACEOF
44901 rm -f conftest.$ac_objext
44902 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
44903 (eval $ac_compile) 2>conftest.er1
44904 ac_status=$?
44905 grep -v '^ *+' conftest.er1 >conftest.err
44906 rm -f conftest.er1
44907 cat conftest.err >&5
44908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44909 (exit $ac_status); } &&
44910 { ac_try='test -z "$ac_cxx_werror_flag"
44911 || test ! -s conftest.err'
44912 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44913 (eval $ac_try) 2>&5
44914 ac_status=$?
44915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44916 (exit $ac_status); }; } &&
44917 { ac_try='test -s conftest.$ac_objext'
44918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
44919 (eval $ac_try) 2>&5
44920 ac_status=$?
44921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44922 (exit $ac_status); }; }; then
44923 glibcxx_cv_func_hypot_use=yes
44924 else
44925 echo "$as_me: failed program was:" >&5
44926 sed 's/^/| /' conftest.$ac_ext >&5
44928 glibcxx_cv_func_hypot_use=no
44930 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
44931 ac_ext=c
44932 ac_cpp='$CPP $CPPFLAGS'
44933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44941 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
44942 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
44944 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
44946 for ac_func in hypot
44948 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
44949 echo "$as_me:$LINENO: checking for $ac_func" >&5
44950 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
44951 if eval "test \"\${$as_ac_var+set}\" = set"; then
44952 echo $ECHO_N "(cached) $ECHO_C" >&6
44953 else
44954 if test x$gcc_no_link = xyes; then
44955 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
44956 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
44957 { (exit 1); exit 1; }; }
44959 cat >conftest.$ac_ext <<_ACEOF
44960 /* confdefs.h. */
44961 _ACEOF
44962 cat confdefs.h >>conftest.$ac_ext
44963 cat >>conftest.$ac_ext <<_ACEOF
44964 /* end confdefs.h. */
44965 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44966 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44967 #define $ac_func innocuous_$ac_func
44969 /* System header to define __stub macros and hopefully few prototypes,
44970 which can conflict with char $ac_func (); below.
44971 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44972 <limits.h> exists even on freestanding compilers. */
44974 #ifdef __STDC__
44975 # include <limits.h>
44976 #else
44977 # include <assert.h>
44978 #endif
44980 #undef $ac_func
44982 /* Override any gcc2 internal prototype to avoid an error. */
44983 #ifdef __cplusplus
44984 extern "C"
44986 #endif
44987 /* We use char because int might match the return type of a gcc2
44988 builtin and then its argument prototype would still apply. */
44989 char $ac_func ();
44990 /* The GNU C library defines this for functions which it implements
44991 to always fail with ENOSYS. Some functions are actually named
44992 something starting with __ and the normal name is an alias. */
44993 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
44994 choke me
44995 #else
44996 char (*f) () = $ac_func;
44997 #endif
44998 #ifdef __cplusplus
45000 #endif
45003 main ()
45005 return f != $ac_func;
45007 return 0;
45009 _ACEOF
45010 rm -f conftest.$ac_objext conftest$ac_exeext
45011 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45012 (eval $ac_link) 2>conftest.er1
45013 ac_status=$?
45014 grep -v '^ *+' conftest.er1 >conftest.err
45015 rm -f conftest.er1
45016 cat conftest.err >&5
45017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45018 (exit $ac_status); } &&
45019 { ac_try='test -z "$ac_c_werror_flag"
45020 || test ! -s conftest.err'
45021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45022 (eval $ac_try) 2>&5
45023 ac_status=$?
45024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45025 (exit $ac_status); }; } &&
45026 { ac_try='test -s conftest$ac_exeext'
45027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45028 (eval $ac_try) 2>&5
45029 ac_status=$?
45030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45031 (exit $ac_status); }; }; then
45032 eval "$as_ac_var=yes"
45033 else
45034 echo "$as_me: failed program was:" >&5
45035 sed 's/^/| /' conftest.$ac_ext >&5
45037 eval "$as_ac_var=no"
45039 rm -f conftest.err conftest.$ac_objext \
45040 conftest$ac_exeext conftest.$ac_ext
45042 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45043 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45044 if test `eval echo '${'$as_ac_var'}'` = yes; then
45045 cat >>confdefs.h <<_ACEOF
45046 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45047 _ACEOF
45050 done
45052 else
45054 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
45055 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
45056 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
45057 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
45058 echo $ECHO_N "(cached) $ECHO_C" >&6
45059 else
45063 ac_ext=cc
45064 ac_cpp='$CXXCPP $CPPFLAGS'
45065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45069 cat >conftest.$ac_ext <<_ACEOF
45070 /* confdefs.h. */
45071 _ACEOF
45072 cat confdefs.h >>conftest.$ac_ext
45073 cat >>conftest.$ac_ext <<_ACEOF
45074 /* end confdefs.h. */
45075 #include <math.h>
45077 main ()
45079 _hypot(0, 0);
45081 return 0;
45083 _ACEOF
45084 rm -f conftest.$ac_objext
45085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45086 (eval $ac_compile) 2>conftest.er1
45087 ac_status=$?
45088 grep -v '^ *+' conftest.er1 >conftest.err
45089 rm -f conftest.er1
45090 cat conftest.err >&5
45091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45092 (exit $ac_status); } &&
45093 { ac_try='test -z "$ac_cxx_werror_flag"
45094 || test ! -s conftest.err'
45095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45096 (eval $ac_try) 2>&5
45097 ac_status=$?
45098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45099 (exit $ac_status); }; } &&
45100 { ac_try='test -s conftest.$ac_objext'
45101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45102 (eval $ac_try) 2>&5
45103 ac_status=$?
45104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45105 (exit $ac_status); }; }; then
45106 glibcxx_cv_func__hypot_use=yes
45107 else
45108 echo "$as_me: failed program was:" >&5
45109 sed 's/^/| /' conftest.$ac_ext >&5
45111 glibcxx_cv_func__hypot_use=no
45113 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45114 ac_ext=c
45115 ac_cpp='$CPP $CPPFLAGS'
45116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45124 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
45125 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
45127 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
45129 for ac_func in _hypot
45131 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45132 echo "$as_me:$LINENO: checking for $ac_func" >&5
45133 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45134 if eval "test \"\${$as_ac_var+set}\" = set"; then
45135 echo $ECHO_N "(cached) $ECHO_C" >&6
45136 else
45137 if test x$gcc_no_link = xyes; then
45138 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45139 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45140 { (exit 1); exit 1; }; }
45142 cat >conftest.$ac_ext <<_ACEOF
45143 /* confdefs.h. */
45144 _ACEOF
45145 cat confdefs.h >>conftest.$ac_ext
45146 cat >>conftest.$ac_ext <<_ACEOF
45147 /* end confdefs.h. */
45148 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45150 #define $ac_func innocuous_$ac_func
45152 /* System header to define __stub macros and hopefully few prototypes,
45153 which can conflict with char $ac_func (); below.
45154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45155 <limits.h> exists even on freestanding compilers. */
45157 #ifdef __STDC__
45158 # include <limits.h>
45159 #else
45160 # include <assert.h>
45161 #endif
45163 #undef $ac_func
45165 /* Override any gcc2 internal prototype to avoid an error. */
45166 #ifdef __cplusplus
45167 extern "C"
45169 #endif
45170 /* We use char because int might match the return type of a gcc2
45171 builtin and then its argument prototype would still apply. */
45172 char $ac_func ();
45173 /* The GNU C library defines this for functions which it implements
45174 to always fail with ENOSYS. Some functions are actually named
45175 something starting with __ and the normal name is an alias. */
45176 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45177 choke me
45178 #else
45179 char (*f) () = $ac_func;
45180 #endif
45181 #ifdef __cplusplus
45183 #endif
45186 main ()
45188 return f != $ac_func;
45190 return 0;
45192 _ACEOF
45193 rm -f conftest.$ac_objext conftest$ac_exeext
45194 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45195 (eval $ac_link) 2>conftest.er1
45196 ac_status=$?
45197 grep -v '^ *+' conftest.er1 >conftest.err
45198 rm -f conftest.er1
45199 cat conftest.err >&5
45200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45201 (exit $ac_status); } &&
45202 { ac_try='test -z "$ac_c_werror_flag"
45203 || test ! -s conftest.err'
45204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45205 (eval $ac_try) 2>&5
45206 ac_status=$?
45207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45208 (exit $ac_status); }; } &&
45209 { ac_try='test -s conftest$ac_exeext'
45210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45211 (eval $ac_try) 2>&5
45212 ac_status=$?
45213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45214 (exit $ac_status); }; }; then
45215 eval "$as_ac_var=yes"
45216 else
45217 echo "$as_me: failed program was:" >&5
45218 sed 's/^/| /' conftest.$ac_ext >&5
45220 eval "$as_ac_var=no"
45222 rm -f conftest.err conftest.$ac_objext \
45223 conftest$ac_exeext conftest.$ac_ext
45225 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45226 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45227 if test `eval echo '${'$as_ac_var'}'` = yes; then
45228 cat >>confdefs.h <<_ACEOF
45229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45230 _ACEOF
45233 done
45243 echo "$as_me:$LINENO: checking for float trig functions" >&5
45244 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
45245 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
45246 echo $ECHO_N "(cached) $ECHO_C" >&6
45247 else
45251 ac_ext=cc
45252 ac_cpp='$CXXCPP $CPPFLAGS'
45253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45257 cat >conftest.$ac_ext <<_ACEOF
45258 /* confdefs.h. */
45259 _ACEOF
45260 cat confdefs.h >>conftest.$ac_ext
45261 cat >>conftest.$ac_ext <<_ACEOF
45262 /* end confdefs.h. */
45263 #include <math.h>
45265 main ()
45267 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
45269 return 0;
45271 _ACEOF
45272 rm -f conftest.$ac_objext
45273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45274 (eval $ac_compile) 2>conftest.er1
45275 ac_status=$?
45276 grep -v '^ *+' conftest.er1 >conftest.err
45277 rm -f conftest.er1
45278 cat conftest.err >&5
45279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45280 (exit $ac_status); } &&
45281 { ac_try='test -z "$ac_cxx_werror_flag"
45282 || test ! -s conftest.err'
45283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45284 (eval $ac_try) 2>&5
45285 ac_status=$?
45286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45287 (exit $ac_status); }; } &&
45288 { ac_try='test -s conftest.$ac_objext'
45289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45290 (eval $ac_try) 2>&5
45291 ac_status=$?
45292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45293 (exit $ac_status); }; }; then
45294 glibcxx_cv_func_float_trig_use=yes
45295 else
45296 echo "$as_me: failed program was:" >&5
45297 sed 's/^/| /' conftest.$ac_ext >&5
45299 glibcxx_cv_func_float_trig_use=no
45301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45302 ac_ext=c
45303 ac_cpp='$CPP $CPPFLAGS'
45304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45310 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
45311 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
45312 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
45322 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
45324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45325 echo "$as_me:$LINENO: checking for $ac_func" >&5
45326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45327 if eval "test \"\${$as_ac_var+set}\" = set"; then
45328 echo $ECHO_N "(cached) $ECHO_C" >&6
45329 else
45330 if test x$gcc_no_link = xyes; then
45331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45333 { (exit 1); exit 1; }; }
45335 cat >conftest.$ac_ext <<_ACEOF
45336 /* confdefs.h. */
45337 _ACEOF
45338 cat confdefs.h >>conftest.$ac_ext
45339 cat >>conftest.$ac_ext <<_ACEOF
45340 /* end confdefs.h. */
45341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45343 #define $ac_func innocuous_$ac_func
45345 /* System header to define __stub macros and hopefully few prototypes,
45346 which can conflict with char $ac_func (); below.
45347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45348 <limits.h> exists even on freestanding compilers. */
45350 #ifdef __STDC__
45351 # include <limits.h>
45352 #else
45353 # include <assert.h>
45354 #endif
45356 #undef $ac_func
45358 /* Override any gcc2 internal prototype to avoid an error. */
45359 #ifdef __cplusplus
45360 extern "C"
45362 #endif
45363 /* We use char because int might match the return type of a gcc2
45364 builtin and then its argument prototype would still apply. */
45365 char $ac_func ();
45366 /* The GNU C library defines this for functions which it implements
45367 to always fail with ENOSYS. Some functions are actually named
45368 something starting with __ and the normal name is an alias. */
45369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45370 choke me
45371 #else
45372 char (*f) () = $ac_func;
45373 #endif
45374 #ifdef __cplusplus
45376 #endif
45379 main ()
45381 return f != $ac_func;
45383 return 0;
45385 _ACEOF
45386 rm -f conftest.$ac_objext conftest$ac_exeext
45387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45388 (eval $ac_link) 2>conftest.er1
45389 ac_status=$?
45390 grep -v '^ *+' conftest.er1 >conftest.err
45391 rm -f conftest.er1
45392 cat conftest.err >&5
45393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45394 (exit $ac_status); } &&
45395 { ac_try='test -z "$ac_c_werror_flag"
45396 || test ! -s conftest.err'
45397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45398 (eval $ac_try) 2>&5
45399 ac_status=$?
45400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45401 (exit $ac_status); }; } &&
45402 { ac_try='test -s conftest$ac_exeext'
45403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45404 (eval $ac_try) 2>&5
45405 ac_status=$?
45406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45407 (exit $ac_status); }; }; then
45408 eval "$as_ac_var=yes"
45409 else
45410 echo "$as_me: failed program was:" >&5
45411 sed 's/^/| /' conftest.$ac_ext >&5
45413 eval "$as_ac_var=no"
45415 rm -f conftest.err conftest.$ac_objext \
45416 conftest$ac_exeext conftest.$ac_ext
45418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45420 if test `eval echo '${'$as_ac_var'}'` = yes; then
45421 cat >>confdefs.h <<_ACEOF
45422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45423 _ACEOF
45426 done
45428 else
45429 echo "$as_me:$LINENO: checking for _float trig functions" >&5
45430 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
45431 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
45432 echo $ECHO_N "(cached) $ECHO_C" >&6
45433 else
45437 ac_ext=cc
45438 ac_cpp='$CXXCPP $CPPFLAGS'
45439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45443 cat >conftest.$ac_ext <<_ACEOF
45444 /* confdefs.h. */
45445 _ACEOF
45446 cat confdefs.h >>conftest.$ac_ext
45447 cat >>conftest.$ac_ext <<_ACEOF
45448 /* end confdefs.h. */
45449 #include <math.h>
45451 main ()
45453 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
45455 return 0;
45457 _ACEOF
45458 rm -f conftest.$ac_objext
45459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45460 (eval $ac_compile) 2>conftest.er1
45461 ac_status=$?
45462 grep -v '^ *+' conftest.er1 >conftest.err
45463 rm -f conftest.er1
45464 cat conftest.err >&5
45465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45466 (exit $ac_status); } &&
45467 { ac_try='test -z "$ac_cxx_werror_flag"
45468 || test ! -s conftest.err'
45469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45470 (eval $ac_try) 2>&5
45471 ac_status=$?
45472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45473 (exit $ac_status); }; } &&
45474 { ac_try='test -s conftest.$ac_objext'
45475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45476 (eval $ac_try) 2>&5
45477 ac_status=$?
45478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45479 (exit $ac_status); }; }; then
45480 glibcxx_cv_func__float_trig_use=yes
45481 else
45482 echo "$as_me: failed program was:" >&5
45483 sed 's/^/| /' conftest.$ac_ext >&5
45485 glibcxx_cv_func__float_trig_use=no
45487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45488 ac_ext=c
45489 ac_cpp='$CPP $CPPFLAGS'
45490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45496 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
45497 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
45498 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
45508 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
45510 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45511 echo "$as_me:$LINENO: checking for $ac_func" >&5
45512 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45513 if eval "test \"\${$as_ac_var+set}\" = set"; then
45514 echo $ECHO_N "(cached) $ECHO_C" >&6
45515 else
45516 if test x$gcc_no_link = xyes; then
45517 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45518 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45519 { (exit 1); exit 1; }; }
45521 cat >conftest.$ac_ext <<_ACEOF
45522 /* confdefs.h. */
45523 _ACEOF
45524 cat confdefs.h >>conftest.$ac_ext
45525 cat >>conftest.$ac_ext <<_ACEOF
45526 /* end confdefs.h. */
45527 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45528 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45529 #define $ac_func innocuous_$ac_func
45531 /* System header to define __stub macros and hopefully few prototypes,
45532 which can conflict with char $ac_func (); below.
45533 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45534 <limits.h> exists even on freestanding compilers. */
45536 #ifdef __STDC__
45537 # include <limits.h>
45538 #else
45539 # include <assert.h>
45540 #endif
45542 #undef $ac_func
45544 /* Override any gcc2 internal prototype to avoid an error. */
45545 #ifdef __cplusplus
45546 extern "C"
45548 #endif
45549 /* We use char because int might match the return type of a gcc2
45550 builtin and then its argument prototype would still apply. */
45551 char $ac_func ();
45552 /* The GNU C library defines this for functions which it implements
45553 to always fail with ENOSYS. Some functions are actually named
45554 something starting with __ and the normal name is an alias. */
45555 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45556 choke me
45557 #else
45558 char (*f) () = $ac_func;
45559 #endif
45560 #ifdef __cplusplus
45562 #endif
45565 main ()
45567 return f != $ac_func;
45569 return 0;
45571 _ACEOF
45572 rm -f conftest.$ac_objext conftest$ac_exeext
45573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45574 (eval $ac_link) 2>conftest.er1
45575 ac_status=$?
45576 grep -v '^ *+' conftest.er1 >conftest.err
45577 rm -f conftest.er1
45578 cat conftest.err >&5
45579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45580 (exit $ac_status); } &&
45581 { ac_try='test -z "$ac_c_werror_flag"
45582 || test ! -s conftest.err'
45583 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45584 (eval $ac_try) 2>&5
45585 ac_status=$?
45586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45587 (exit $ac_status); }; } &&
45588 { ac_try='test -s conftest$ac_exeext'
45589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45590 (eval $ac_try) 2>&5
45591 ac_status=$?
45592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45593 (exit $ac_status); }; }; then
45594 eval "$as_ac_var=yes"
45595 else
45596 echo "$as_me: failed program was:" >&5
45597 sed 's/^/| /' conftest.$ac_ext >&5
45599 eval "$as_ac_var=no"
45601 rm -f conftest.err conftest.$ac_objext \
45602 conftest$ac_exeext conftest.$ac_ext
45604 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45605 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45606 if test `eval echo '${'$as_ac_var'}'` = yes; then
45607 cat >>confdefs.h <<_ACEOF
45608 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45609 _ACEOF
45612 done
45630 echo "$as_me:$LINENO: checking for float round functions" >&5
45631 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
45632 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
45633 echo $ECHO_N "(cached) $ECHO_C" >&6
45634 else
45638 ac_ext=cc
45639 ac_cpp='$CXXCPP $CPPFLAGS'
45640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45644 cat >conftest.$ac_ext <<_ACEOF
45645 /* confdefs.h. */
45646 _ACEOF
45647 cat confdefs.h >>conftest.$ac_ext
45648 cat >>conftest.$ac_ext <<_ACEOF
45649 /* end confdefs.h. */
45650 #include <math.h>
45652 main ()
45654 ceilf (0); floorf (0);
45656 return 0;
45658 _ACEOF
45659 rm -f conftest.$ac_objext
45660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45661 (eval $ac_compile) 2>conftest.er1
45662 ac_status=$?
45663 grep -v '^ *+' conftest.er1 >conftest.err
45664 rm -f conftest.er1
45665 cat conftest.err >&5
45666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45667 (exit $ac_status); } &&
45668 { ac_try='test -z "$ac_cxx_werror_flag"
45669 || test ! -s conftest.err'
45670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45671 (eval $ac_try) 2>&5
45672 ac_status=$?
45673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45674 (exit $ac_status); }; } &&
45675 { ac_try='test -s conftest.$ac_objext'
45676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45677 (eval $ac_try) 2>&5
45678 ac_status=$?
45679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45680 (exit $ac_status); }; }; then
45681 glibcxx_cv_func_float_round_use=yes
45682 else
45683 echo "$as_me: failed program was:" >&5
45684 sed 's/^/| /' conftest.$ac_ext >&5
45686 glibcxx_cv_func_float_round_use=no
45688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45689 ac_ext=c
45690 ac_cpp='$CPP $CPPFLAGS'
45691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45697 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
45698 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
45699 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
45702 for ac_func in ceilf floorf
45704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45705 echo "$as_me:$LINENO: checking for $ac_func" >&5
45706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45707 if eval "test \"\${$as_ac_var+set}\" = set"; then
45708 echo $ECHO_N "(cached) $ECHO_C" >&6
45709 else
45710 if test x$gcc_no_link = xyes; then
45711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45713 { (exit 1); exit 1; }; }
45715 cat >conftest.$ac_ext <<_ACEOF
45716 /* confdefs.h. */
45717 _ACEOF
45718 cat confdefs.h >>conftest.$ac_ext
45719 cat >>conftest.$ac_ext <<_ACEOF
45720 /* end confdefs.h. */
45721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45723 #define $ac_func innocuous_$ac_func
45725 /* System header to define __stub macros and hopefully few prototypes,
45726 which can conflict with char $ac_func (); below.
45727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45728 <limits.h> exists even on freestanding compilers. */
45730 #ifdef __STDC__
45731 # include <limits.h>
45732 #else
45733 # include <assert.h>
45734 #endif
45736 #undef $ac_func
45738 /* Override any gcc2 internal prototype to avoid an error. */
45739 #ifdef __cplusplus
45740 extern "C"
45742 #endif
45743 /* We use char because int might match the return type of a gcc2
45744 builtin and then its argument prototype would still apply. */
45745 char $ac_func ();
45746 /* The GNU C library defines this for functions which it implements
45747 to always fail with ENOSYS. Some functions are actually named
45748 something starting with __ and the normal name is an alias. */
45749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45750 choke me
45751 #else
45752 char (*f) () = $ac_func;
45753 #endif
45754 #ifdef __cplusplus
45756 #endif
45759 main ()
45761 return f != $ac_func;
45763 return 0;
45765 _ACEOF
45766 rm -f conftest.$ac_objext conftest$ac_exeext
45767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45768 (eval $ac_link) 2>conftest.er1
45769 ac_status=$?
45770 grep -v '^ *+' conftest.er1 >conftest.err
45771 rm -f conftest.er1
45772 cat conftest.err >&5
45773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45774 (exit $ac_status); } &&
45775 { ac_try='test -z "$ac_c_werror_flag"
45776 || test ! -s conftest.err'
45777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45778 (eval $ac_try) 2>&5
45779 ac_status=$?
45780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45781 (exit $ac_status); }; } &&
45782 { ac_try='test -s conftest$ac_exeext'
45783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45784 (eval $ac_try) 2>&5
45785 ac_status=$?
45786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45787 (exit $ac_status); }; }; then
45788 eval "$as_ac_var=yes"
45789 else
45790 echo "$as_me: failed program was:" >&5
45791 sed 's/^/| /' conftest.$ac_ext >&5
45793 eval "$as_ac_var=no"
45795 rm -f conftest.err conftest.$ac_objext \
45796 conftest$ac_exeext conftest.$ac_ext
45798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45800 if test `eval echo '${'$as_ac_var'}'` = yes; then
45801 cat >>confdefs.h <<_ACEOF
45802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45803 _ACEOF
45806 done
45808 else
45809 echo "$as_me:$LINENO: checking for _float round functions" >&5
45810 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
45811 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
45812 echo $ECHO_N "(cached) $ECHO_C" >&6
45813 else
45817 ac_ext=cc
45818 ac_cpp='$CXXCPP $CPPFLAGS'
45819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45823 cat >conftest.$ac_ext <<_ACEOF
45824 /* confdefs.h. */
45825 _ACEOF
45826 cat confdefs.h >>conftest.$ac_ext
45827 cat >>conftest.$ac_ext <<_ACEOF
45828 /* end confdefs.h. */
45829 #include <math.h>
45831 main ()
45833 _ceilf (0); _floorf (0);
45835 return 0;
45837 _ACEOF
45838 rm -f conftest.$ac_objext
45839 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
45840 (eval $ac_compile) 2>conftest.er1
45841 ac_status=$?
45842 grep -v '^ *+' conftest.er1 >conftest.err
45843 rm -f conftest.er1
45844 cat conftest.err >&5
45845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45846 (exit $ac_status); } &&
45847 { ac_try='test -z "$ac_cxx_werror_flag"
45848 || test ! -s conftest.err'
45849 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45850 (eval $ac_try) 2>&5
45851 ac_status=$?
45852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45853 (exit $ac_status); }; } &&
45854 { ac_try='test -s conftest.$ac_objext'
45855 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45856 (eval $ac_try) 2>&5
45857 ac_status=$?
45858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45859 (exit $ac_status); }; }; then
45860 glibcxx_cv_func__float_round_use=yes
45861 else
45862 echo "$as_me: failed program was:" >&5
45863 sed 's/^/| /' conftest.$ac_ext >&5
45865 glibcxx_cv_func__float_round_use=no
45867 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
45868 ac_ext=c
45869 ac_cpp='$CPP $CPPFLAGS'
45870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45876 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
45877 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
45878 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
45881 for ac_func in _ceilf _floorf
45883 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
45884 echo "$as_me:$LINENO: checking for $ac_func" >&5
45885 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
45886 if eval "test \"\${$as_ac_var+set}\" = set"; then
45887 echo $ECHO_N "(cached) $ECHO_C" >&6
45888 else
45889 if test x$gcc_no_link = xyes; then
45890 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
45891 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
45892 { (exit 1); exit 1; }; }
45894 cat >conftest.$ac_ext <<_ACEOF
45895 /* confdefs.h. */
45896 _ACEOF
45897 cat confdefs.h >>conftest.$ac_ext
45898 cat >>conftest.$ac_ext <<_ACEOF
45899 /* end confdefs.h. */
45900 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
45901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
45902 #define $ac_func innocuous_$ac_func
45904 /* System header to define __stub macros and hopefully few prototypes,
45905 which can conflict with char $ac_func (); below.
45906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
45907 <limits.h> exists even on freestanding compilers. */
45909 #ifdef __STDC__
45910 # include <limits.h>
45911 #else
45912 # include <assert.h>
45913 #endif
45915 #undef $ac_func
45917 /* Override any gcc2 internal prototype to avoid an error. */
45918 #ifdef __cplusplus
45919 extern "C"
45921 #endif
45922 /* We use char because int might match the return type of a gcc2
45923 builtin and then its argument prototype would still apply. */
45924 char $ac_func ();
45925 /* The GNU C library defines this for functions which it implements
45926 to always fail with ENOSYS. Some functions are actually named
45927 something starting with __ and the normal name is an alias. */
45928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
45929 choke me
45930 #else
45931 char (*f) () = $ac_func;
45932 #endif
45933 #ifdef __cplusplus
45935 #endif
45938 main ()
45940 return f != $ac_func;
45942 return 0;
45944 _ACEOF
45945 rm -f conftest.$ac_objext conftest$ac_exeext
45946 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
45947 (eval $ac_link) 2>conftest.er1
45948 ac_status=$?
45949 grep -v '^ *+' conftest.er1 >conftest.err
45950 rm -f conftest.er1
45951 cat conftest.err >&5
45952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45953 (exit $ac_status); } &&
45954 { ac_try='test -z "$ac_c_werror_flag"
45955 || test ! -s conftest.err'
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); }; } &&
45961 { ac_try='test -s conftest$ac_exeext'
45962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
45963 (eval $ac_try) 2>&5
45964 ac_status=$?
45965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45966 (exit $ac_status); }; }; then
45967 eval "$as_ac_var=yes"
45968 else
45969 echo "$as_me: failed program was:" >&5
45970 sed 's/^/| /' conftest.$ac_ext >&5
45972 eval "$as_ac_var=no"
45974 rm -f conftest.err conftest.$ac_objext \
45975 conftest$ac_exeext conftest.$ac_ext
45977 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
45978 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
45979 if test `eval echo '${'$as_ac_var'}'` = yes; then
45980 cat >>confdefs.h <<_ACEOF
45981 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
45982 _ACEOF
45985 done
45997 echo "$as_me:$LINENO: checking for expf declaration" >&5
45998 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
45999 if test x${glibcxx_cv_func_expf_use+set} != xset; then
46000 if test "${glibcxx_cv_func_expf_use+set}" = set; then
46001 echo $ECHO_N "(cached) $ECHO_C" >&6
46002 else
46006 ac_ext=cc
46007 ac_cpp='$CXXCPP $CPPFLAGS'
46008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46012 cat >conftest.$ac_ext <<_ACEOF
46013 /* confdefs.h. */
46014 _ACEOF
46015 cat confdefs.h >>conftest.$ac_ext
46016 cat >>conftest.$ac_ext <<_ACEOF
46017 /* end confdefs.h. */
46018 #include <math.h>
46019 #ifdef HAVE_IEEEFP_H
46020 #include <ieeefp.h>
46021 #endif
46024 main ()
46026 expf(0);
46028 return 0;
46030 _ACEOF
46031 rm -f conftest.$ac_objext
46032 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46033 (eval $ac_compile) 2>conftest.er1
46034 ac_status=$?
46035 grep -v '^ *+' conftest.er1 >conftest.err
46036 rm -f conftest.er1
46037 cat conftest.err >&5
46038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46039 (exit $ac_status); } &&
46040 { ac_try='test -z "$ac_cxx_werror_flag"
46041 || test ! -s conftest.err'
46042 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46043 (eval $ac_try) 2>&5
46044 ac_status=$?
46045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46046 (exit $ac_status); }; } &&
46047 { ac_try='test -s conftest.$ac_objext'
46048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46049 (eval $ac_try) 2>&5
46050 ac_status=$?
46051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46052 (exit $ac_status); }; }; then
46053 glibcxx_cv_func_expf_use=yes
46054 else
46055 echo "$as_me: failed program was:" >&5
46056 sed 's/^/| /' conftest.$ac_ext >&5
46058 glibcxx_cv_func_expf_use=no
46060 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46061 ac_ext=c
46062 ac_cpp='$CPP $CPPFLAGS'
46063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46071 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
46072 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
46074 if test x$glibcxx_cv_func_expf_use = x"yes"; then
46076 for ac_func in expf
46078 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46079 echo "$as_me:$LINENO: checking for $ac_func" >&5
46080 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46081 if eval "test \"\${$as_ac_var+set}\" = set"; then
46082 echo $ECHO_N "(cached) $ECHO_C" >&6
46083 else
46084 if test x$gcc_no_link = xyes; then
46085 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46086 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46087 { (exit 1); exit 1; }; }
46089 cat >conftest.$ac_ext <<_ACEOF
46090 /* confdefs.h. */
46091 _ACEOF
46092 cat confdefs.h >>conftest.$ac_ext
46093 cat >>conftest.$ac_ext <<_ACEOF
46094 /* end confdefs.h. */
46095 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46096 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46097 #define $ac_func innocuous_$ac_func
46099 /* System header to define __stub macros and hopefully few prototypes,
46100 which can conflict with char $ac_func (); below.
46101 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46102 <limits.h> exists even on freestanding compilers. */
46104 #ifdef __STDC__
46105 # include <limits.h>
46106 #else
46107 # include <assert.h>
46108 #endif
46110 #undef $ac_func
46112 /* Override any gcc2 internal prototype to avoid an error. */
46113 #ifdef __cplusplus
46114 extern "C"
46116 #endif
46117 /* We use char because int might match the return type of a gcc2
46118 builtin and then its argument prototype would still apply. */
46119 char $ac_func ();
46120 /* The GNU C library defines this for functions which it implements
46121 to always fail with ENOSYS. Some functions are actually named
46122 something starting with __ and the normal name is an alias. */
46123 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46124 choke me
46125 #else
46126 char (*f) () = $ac_func;
46127 #endif
46128 #ifdef __cplusplus
46130 #endif
46133 main ()
46135 return f != $ac_func;
46137 return 0;
46139 _ACEOF
46140 rm -f conftest.$ac_objext conftest$ac_exeext
46141 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46142 (eval $ac_link) 2>conftest.er1
46143 ac_status=$?
46144 grep -v '^ *+' conftest.er1 >conftest.err
46145 rm -f conftest.er1
46146 cat conftest.err >&5
46147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46148 (exit $ac_status); } &&
46149 { ac_try='test -z "$ac_c_werror_flag"
46150 || test ! -s conftest.err'
46151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46152 (eval $ac_try) 2>&5
46153 ac_status=$?
46154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46155 (exit $ac_status); }; } &&
46156 { ac_try='test -s conftest$ac_exeext'
46157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46158 (eval $ac_try) 2>&5
46159 ac_status=$?
46160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46161 (exit $ac_status); }; }; then
46162 eval "$as_ac_var=yes"
46163 else
46164 echo "$as_me: failed program was:" >&5
46165 sed 's/^/| /' conftest.$ac_ext >&5
46167 eval "$as_ac_var=no"
46169 rm -f conftest.err conftest.$ac_objext \
46170 conftest$ac_exeext conftest.$ac_ext
46172 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46173 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46174 if test `eval echo '${'$as_ac_var'}'` = yes; then
46175 cat >>confdefs.h <<_ACEOF
46176 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46177 _ACEOF
46180 done
46182 else
46184 echo "$as_me:$LINENO: checking for _expf declaration" >&5
46185 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
46186 if test x${glibcxx_cv_func__expf_use+set} != xset; then
46187 if test "${glibcxx_cv_func__expf_use+set}" = set; then
46188 echo $ECHO_N "(cached) $ECHO_C" >&6
46189 else
46193 ac_ext=cc
46194 ac_cpp='$CXXCPP $CPPFLAGS'
46195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46199 cat >conftest.$ac_ext <<_ACEOF
46200 /* confdefs.h. */
46201 _ACEOF
46202 cat confdefs.h >>conftest.$ac_ext
46203 cat >>conftest.$ac_ext <<_ACEOF
46204 /* end confdefs.h. */
46205 #include <math.h>
46206 #ifdef HAVE_IEEEFP_H
46207 #include <ieeefp.h>
46208 #endif
46211 main ()
46213 _expf(0);
46215 return 0;
46217 _ACEOF
46218 rm -f conftest.$ac_objext
46219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46220 (eval $ac_compile) 2>conftest.er1
46221 ac_status=$?
46222 grep -v '^ *+' conftest.er1 >conftest.err
46223 rm -f conftest.er1
46224 cat conftest.err >&5
46225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46226 (exit $ac_status); } &&
46227 { ac_try='test -z "$ac_cxx_werror_flag"
46228 || test ! -s conftest.err'
46229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46230 (eval $ac_try) 2>&5
46231 ac_status=$?
46232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46233 (exit $ac_status); }; } &&
46234 { ac_try='test -s conftest.$ac_objext'
46235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46236 (eval $ac_try) 2>&5
46237 ac_status=$?
46238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46239 (exit $ac_status); }; }; then
46240 glibcxx_cv_func__expf_use=yes
46241 else
46242 echo "$as_me: failed program was:" >&5
46243 sed 's/^/| /' conftest.$ac_ext >&5
46245 glibcxx_cv_func__expf_use=no
46247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46248 ac_ext=c
46249 ac_cpp='$CPP $CPPFLAGS'
46250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
46259 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
46261 if test x$glibcxx_cv_func__expf_use = x"yes"; then
46263 for ac_func in _expf
46265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46266 echo "$as_me:$LINENO: checking for $ac_func" >&5
46267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46268 if eval "test \"\${$as_ac_var+set}\" = set"; then
46269 echo $ECHO_N "(cached) $ECHO_C" >&6
46270 else
46271 if test x$gcc_no_link = xyes; then
46272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46274 { (exit 1); exit 1; }; }
46276 cat >conftest.$ac_ext <<_ACEOF
46277 /* confdefs.h. */
46278 _ACEOF
46279 cat confdefs.h >>conftest.$ac_ext
46280 cat >>conftest.$ac_ext <<_ACEOF
46281 /* end confdefs.h. */
46282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46284 #define $ac_func innocuous_$ac_func
46286 /* System header to define __stub macros and hopefully few prototypes,
46287 which can conflict with char $ac_func (); below.
46288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46289 <limits.h> exists even on freestanding compilers. */
46291 #ifdef __STDC__
46292 # include <limits.h>
46293 #else
46294 # include <assert.h>
46295 #endif
46297 #undef $ac_func
46299 /* Override any gcc2 internal prototype to avoid an error. */
46300 #ifdef __cplusplus
46301 extern "C"
46303 #endif
46304 /* We use char because int might match the return type of a gcc2
46305 builtin and then its argument prototype would still apply. */
46306 char $ac_func ();
46307 /* The GNU C library defines this for functions which it implements
46308 to always fail with ENOSYS. Some functions are actually named
46309 something starting with __ and the normal name is an alias. */
46310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46311 choke me
46312 #else
46313 char (*f) () = $ac_func;
46314 #endif
46315 #ifdef __cplusplus
46317 #endif
46320 main ()
46322 return f != $ac_func;
46324 return 0;
46326 _ACEOF
46327 rm -f conftest.$ac_objext conftest$ac_exeext
46328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46329 (eval $ac_link) 2>conftest.er1
46330 ac_status=$?
46331 grep -v '^ *+' conftest.er1 >conftest.err
46332 rm -f conftest.er1
46333 cat conftest.err >&5
46334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46335 (exit $ac_status); } &&
46336 { ac_try='test -z "$ac_c_werror_flag"
46337 || test ! -s conftest.err'
46338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46339 (eval $ac_try) 2>&5
46340 ac_status=$?
46341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46342 (exit $ac_status); }; } &&
46343 { ac_try='test -s conftest$ac_exeext'
46344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46345 (eval $ac_try) 2>&5
46346 ac_status=$?
46347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46348 (exit $ac_status); }; }; then
46349 eval "$as_ac_var=yes"
46350 else
46351 echo "$as_me: failed program was:" >&5
46352 sed 's/^/| /' conftest.$ac_ext >&5
46354 eval "$as_ac_var=no"
46356 rm -f conftest.err conftest.$ac_objext \
46357 conftest$ac_exeext conftest.$ac_ext
46359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46361 if test `eval echo '${'$as_ac_var'}'` = yes; then
46362 cat >>confdefs.h <<_ACEOF
46363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46364 _ACEOF
46367 done
46377 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
46378 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
46379 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
46380 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
46381 echo $ECHO_N "(cached) $ECHO_C" >&6
46382 else
46386 ac_ext=cc
46387 ac_cpp='$CXXCPP $CPPFLAGS'
46388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46392 cat >conftest.$ac_ext <<_ACEOF
46393 /* confdefs.h. */
46394 _ACEOF
46395 cat confdefs.h >>conftest.$ac_ext
46396 cat >>conftest.$ac_ext <<_ACEOF
46397 /* end confdefs.h. */
46398 #include <math.h>
46399 #ifdef HAVE_IEEEFP_H
46400 #include <ieeefp.h>
46401 #endif
46404 main ()
46406 isnanf(0);
46408 return 0;
46410 _ACEOF
46411 rm -f conftest.$ac_objext
46412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46413 (eval $ac_compile) 2>conftest.er1
46414 ac_status=$?
46415 grep -v '^ *+' conftest.er1 >conftest.err
46416 rm -f conftest.er1
46417 cat conftest.err >&5
46418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46419 (exit $ac_status); } &&
46420 { ac_try='test -z "$ac_cxx_werror_flag"
46421 || test ! -s conftest.err'
46422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46423 (eval $ac_try) 2>&5
46424 ac_status=$?
46425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46426 (exit $ac_status); }; } &&
46427 { ac_try='test -s conftest.$ac_objext'
46428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46429 (eval $ac_try) 2>&5
46430 ac_status=$?
46431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46432 (exit $ac_status); }; }; then
46433 glibcxx_cv_func_isnanf_use=yes
46434 else
46435 echo "$as_me: failed program was:" >&5
46436 sed 's/^/| /' conftest.$ac_ext >&5
46438 glibcxx_cv_func_isnanf_use=no
46440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46441 ac_ext=c
46442 ac_cpp='$CPP $CPPFLAGS'
46443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
46452 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
46454 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
46456 for ac_func in isnanf
46458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46459 echo "$as_me:$LINENO: checking for $ac_func" >&5
46460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46461 if eval "test \"\${$as_ac_var+set}\" = set"; then
46462 echo $ECHO_N "(cached) $ECHO_C" >&6
46463 else
46464 if test x$gcc_no_link = xyes; then
46465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46467 { (exit 1); exit 1; }; }
46469 cat >conftest.$ac_ext <<_ACEOF
46470 /* confdefs.h. */
46471 _ACEOF
46472 cat confdefs.h >>conftest.$ac_ext
46473 cat >>conftest.$ac_ext <<_ACEOF
46474 /* end confdefs.h. */
46475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46477 #define $ac_func innocuous_$ac_func
46479 /* System header to define __stub macros and hopefully few prototypes,
46480 which can conflict with char $ac_func (); below.
46481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46482 <limits.h> exists even on freestanding compilers. */
46484 #ifdef __STDC__
46485 # include <limits.h>
46486 #else
46487 # include <assert.h>
46488 #endif
46490 #undef $ac_func
46492 /* Override any gcc2 internal prototype to avoid an error. */
46493 #ifdef __cplusplus
46494 extern "C"
46496 #endif
46497 /* We use char because int might match the return type of a gcc2
46498 builtin and then its argument prototype would still apply. */
46499 char $ac_func ();
46500 /* The GNU C library defines this for functions which it implements
46501 to always fail with ENOSYS. Some functions are actually named
46502 something starting with __ and the normal name is an alias. */
46503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46504 choke me
46505 #else
46506 char (*f) () = $ac_func;
46507 #endif
46508 #ifdef __cplusplus
46510 #endif
46513 main ()
46515 return f != $ac_func;
46517 return 0;
46519 _ACEOF
46520 rm -f conftest.$ac_objext conftest$ac_exeext
46521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46522 (eval $ac_link) 2>conftest.er1
46523 ac_status=$?
46524 grep -v '^ *+' conftest.er1 >conftest.err
46525 rm -f conftest.er1
46526 cat conftest.err >&5
46527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46528 (exit $ac_status); } &&
46529 { ac_try='test -z "$ac_c_werror_flag"
46530 || test ! -s conftest.err'
46531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46532 (eval $ac_try) 2>&5
46533 ac_status=$?
46534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46535 (exit $ac_status); }; } &&
46536 { ac_try='test -s conftest$ac_exeext'
46537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46538 (eval $ac_try) 2>&5
46539 ac_status=$?
46540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46541 (exit $ac_status); }; }; then
46542 eval "$as_ac_var=yes"
46543 else
46544 echo "$as_me: failed program was:" >&5
46545 sed 's/^/| /' conftest.$ac_ext >&5
46547 eval "$as_ac_var=no"
46549 rm -f conftest.err conftest.$ac_objext \
46550 conftest$ac_exeext conftest.$ac_ext
46552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46554 if test `eval echo '${'$as_ac_var'}'` = yes; then
46555 cat >>confdefs.h <<_ACEOF
46556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46557 _ACEOF
46560 done
46562 else
46564 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
46565 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
46566 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
46567 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
46568 echo $ECHO_N "(cached) $ECHO_C" >&6
46569 else
46573 ac_ext=cc
46574 ac_cpp='$CXXCPP $CPPFLAGS'
46575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46579 cat >conftest.$ac_ext <<_ACEOF
46580 /* confdefs.h. */
46581 _ACEOF
46582 cat confdefs.h >>conftest.$ac_ext
46583 cat >>conftest.$ac_ext <<_ACEOF
46584 /* end confdefs.h. */
46585 #include <math.h>
46586 #ifdef HAVE_IEEEFP_H
46587 #include <ieeefp.h>
46588 #endif
46591 main ()
46593 _isnanf(0);
46595 return 0;
46597 _ACEOF
46598 rm -f conftest.$ac_objext
46599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46600 (eval $ac_compile) 2>conftest.er1
46601 ac_status=$?
46602 grep -v '^ *+' conftest.er1 >conftest.err
46603 rm -f conftest.er1
46604 cat conftest.err >&5
46605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46606 (exit $ac_status); } &&
46607 { ac_try='test -z "$ac_cxx_werror_flag"
46608 || test ! -s conftest.err'
46609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46610 (eval $ac_try) 2>&5
46611 ac_status=$?
46612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46613 (exit $ac_status); }; } &&
46614 { ac_try='test -s conftest.$ac_objext'
46615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46616 (eval $ac_try) 2>&5
46617 ac_status=$?
46618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46619 (exit $ac_status); }; }; then
46620 glibcxx_cv_func__isnanf_use=yes
46621 else
46622 echo "$as_me: failed program was:" >&5
46623 sed 's/^/| /' conftest.$ac_ext >&5
46625 glibcxx_cv_func__isnanf_use=no
46627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46628 ac_ext=c
46629 ac_cpp='$CPP $CPPFLAGS'
46630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
46639 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
46641 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
46643 for ac_func in _isnanf
46645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46646 echo "$as_me:$LINENO: checking for $ac_func" >&5
46647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46648 if eval "test \"\${$as_ac_var+set}\" = set"; then
46649 echo $ECHO_N "(cached) $ECHO_C" >&6
46650 else
46651 if test x$gcc_no_link = xyes; then
46652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46654 { (exit 1); exit 1; }; }
46656 cat >conftest.$ac_ext <<_ACEOF
46657 /* confdefs.h. */
46658 _ACEOF
46659 cat confdefs.h >>conftest.$ac_ext
46660 cat >>conftest.$ac_ext <<_ACEOF
46661 /* end confdefs.h. */
46662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46664 #define $ac_func innocuous_$ac_func
46666 /* System header to define __stub macros and hopefully few prototypes,
46667 which can conflict with char $ac_func (); below.
46668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46669 <limits.h> exists even on freestanding compilers. */
46671 #ifdef __STDC__
46672 # include <limits.h>
46673 #else
46674 # include <assert.h>
46675 #endif
46677 #undef $ac_func
46679 /* Override any gcc2 internal prototype to avoid an error. */
46680 #ifdef __cplusplus
46681 extern "C"
46683 #endif
46684 /* We use char because int might match the return type of a gcc2
46685 builtin and then its argument prototype would still apply. */
46686 char $ac_func ();
46687 /* The GNU C library defines this for functions which it implements
46688 to always fail with ENOSYS. Some functions are actually named
46689 something starting with __ and the normal name is an alias. */
46690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46691 choke me
46692 #else
46693 char (*f) () = $ac_func;
46694 #endif
46695 #ifdef __cplusplus
46697 #endif
46700 main ()
46702 return f != $ac_func;
46704 return 0;
46706 _ACEOF
46707 rm -f conftest.$ac_objext conftest$ac_exeext
46708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46709 (eval $ac_link) 2>conftest.er1
46710 ac_status=$?
46711 grep -v '^ *+' conftest.er1 >conftest.err
46712 rm -f conftest.er1
46713 cat conftest.err >&5
46714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46715 (exit $ac_status); } &&
46716 { ac_try='test -z "$ac_c_werror_flag"
46717 || test ! -s conftest.err'
46718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46719 (eval $ac_try) 2>&5
46720 ac_status=$?
46721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46722 (exit $ac_status); }; } &&
46723 { ac_try='test -s conftest$ac_exeext'
46724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46725 (eval $ac_try) 2>&5
46726 ac_status=$?
46727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46728 (exit $ac_status); }; }; then
46729 eval "$as_ac_var=yes"
46730 else
46731 echo "$as_me: failed program was:" >&5
46732 sed 's/^/| /' conftest.$ac_ext >&5
46734 eval "$as_ac_var=no"
46736 rm -f conftest.err conftest.$ac_objext \
46737 conftest$ac_exeext conftest.$ac_ext
46739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46741 if test `eval echo '${'$as_ac_var'}'` = yes; then
46742 cat >>confdefs.h <<_ACEOF
46743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46744 _ACEOF
46747 done
46757 echo "$as_me:$LINENO: checking for isinff declaration" >&5
46758 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
46759 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
46760 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
46761 echo $ECHO_N "(cached) $ECHO_C" >&6
46762 else
46766 ac_ext=cc
46767 ac_cpp='$CXXCPP $CPPFLAGS'
46768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46772 cat >conftest.$ac_ext <<_ACEOF
46773 /* confdefs.h. */
46774 _ACEOF
46775 cat confdefs.h >>conftest.$ac_ext
46776 cat >>conftest.$ac_ext <<_ACEOF
46777 /* end confdefs.h. */
46778 #include <math.h>
46779 #ifdef HAVE_IEEEFP_H
46780 #include <ieeefp.h>
46781 #endif
46784 main ()
46786 isinff(0);
46788 return 0;
46790 _ACEOF
46791 rm -f conftest.$ac_objext
46792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46793 (eval $ac_compile) 2>conftest.er1
46794 ac_status=$?
46795 grep -v '^ *+' conftest.er1 >conftest.err
46796 rm -f conftest.er1
46797 cat conftest.err >&5
46798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46799 (exit $ac_status); } &&
46800 { ac_try='test -z "$ac_cxx_werror_flag"
46801 || test ! -s conftest.err'
46802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46803 (eval $ac_try) 2>&5
46804 ac_status=$?
46805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46806 (exit $ac_status); }; } &&
46807 { ac_try='test -s conftest.$ac_objext'
46808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46809 (eval $ac_try) 2>&5
46810 ac_status=$?
46811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46812 (exit $ac_status); }; }; then
46813 glibcxx_cv_func_isinff_use=yes
46814 else
46815 echo "$as_me: failed program was:" >&5
46816 sed 's/^/| /' conftest.$ac_ext >&5
46818 glibcxx_cv_func_isinff_use=no
46820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
46821 ac_ext=c
46822 ac_cpp='$CPP $CPPFLAGS'
46823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
46832 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
46834 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
46836 for ac_func in isinff
46838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
46839 echo "$as_me:$LINENO: checking for $ac_func" >&5
46840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
46841 if eval "test \"\${$as_ac_var+set}\" = set"; then
46842 echo $ECHO_N "(cached) $ECHO_C" >&6
46843 else
46844 if test x$gcc_no_link = xyes; then
46845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
46846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
46847 { (exit 1); exit 1; }; }
46849 cat >conftest.$ac_ext <<_ACEOF
46850 /* confdefs.h. */
46851 _ACEOF
46852 cat confdefs.h >>conftest.$ac_ext
46853 cat >>conftest.$ac_ext <<_ACEOF
46854 /* end confdefs.h. */
46855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
46856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
46857 #define $ac_func innocuous_$ac_func
46859 /* System header to define __stub macros and hopefully few prototypes,
46860 which can conflict with char $ac_func (); below.
46861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
46862 <limits.h> exists even on freestanding compilers. */
46864 #ifdef __STDC__
46865 # include <limits.h>
46866 #else
46867 # include <assert.h>
46868 #endif
46870 #undef $ac_func
46872 /* Override any gcc2 internal prototype to avoid an error. */
46873 #ifdef __cplusplus
46874 extern "C"
46876 #endif
46877 /* We use char because int might match the return type of a gcc2
46878 builtin and then its argument prototype would still apply. */
46879 char $ac_func ();
46880 /* The GNU C library defines this for functions which it implements
46881 to always fail with ENOSYS. Some functions are actually named
46882 something starting with __ and the normal name is an alias. */
46883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
46884 choke me
46885 #else
46886 char (*f) () = $ac_func;
46887 #endif
46888 #ifdef __cplusplus
46890 #endif
46893 main ()
46895 return f != $ac_func;
46897 return 0;
46899 _ACEOF
46900 rm -f conftest.$ac_objext conftest$ac_exeext
46901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
46902 (eval $ac_link) 2>conftest.er1
46903 ac_status=$?
46904 grep -v '^ *+' conftest.er1 >conftest.err
46905 rm -f conftest.er1
46906 cat conftest.err >&5
46907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46908 (exit $ac_status); } &&
46909 { ac_try='test -z "$ac_c_werror_flag"
46910 || test ! -s conftest.err'
46911 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46912 (eval $ac_try) 2>&5
46913 ac_status=$?
46914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46915 (exit $ac_status); }; } &&
46916 { ac_try='test -s conftest$ac_exeext'
46917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46918 (eval $ac_try) 2>&5
46919 ac_status=$?
46920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46921 (exit $ac_status); }; }; then
46922 eval "$as_ac_var=yes"
46923 else
46924 echo "$as_me: failed program was:" >&5
46925 sed 's/^/| /' conftest.$ac_ext >&5
46927 eval "$as_ac_var=no"
46929 rm -f conftest.err conftest.$ac_objext \
46930 conftest$ac_exeext conftest.$ac_ext
46932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
46933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
46934 if test `eval echo '${'$as_ac_var'}'` = yes; then
46935 cat >>confdefs.h <<_ACEOF
46936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
46937 _ACEOF
46940 done
46942 else
46944 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
46945 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
46946 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
46947 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
46948 echo $ECHO_N "(cached) $ECHO_C" >&6
46949 else
46953 ac_ext=cc
46954 ac_cpp='$CXXCPP $CPPFLAGS'
46955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46959 cat >conftest.$ac_ext <<_ACEOF
46960 /* confdefs.h. */
46961 _ACEOF
46962 cat confdefs.h >>conftest.$ac_ext
46963 cat >>conftest.$ac_ext <<_ACEOF
46964 /* end confdefs.h. */
46965 #include <math.h>
46966 #ifdef HAVE_IEEEFP_H
46967 #include <ieeefp.h>
46968 #endif
46971 main ()
46973 _isinff(0);
46975 return 0;
46977 _ACEOF
46978 rm -f conftest.$ac_objext
46979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
46980 (eval $ac_compile) 2>conftest.er1
46981 ac_status=$?
46982 grep -v '^ *+' conftest.er1 >conftest.err
46983 rm -f conftest.er1
46984 cat conftest.err >&5
46985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46986 (exit $ac_status); } &&
46987 { ac_try='test -z "$ac_cxx_werror_flag"
46988 || test ! -s conftest.err'
46989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46990 (eval $ac_try) 2>&5
46991 ac_status=$?
46992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46993 (exit $ac_status); }; } &&
46994 { ac_try='test -s conftest.$ac_objext'
46995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
46996 (eval $ac_try) 2>&5
46997 ac_status=$?
46998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46999 (exit $ac_status); }; }; then
47000 glibcxx_cv_func__isinff_use=yes
47001 else
47002 echo "$as_me: failed program was:" >&5
47003 sed 's/^/| /' conftest.$ac_ext >&5
47005 glibcxx_cv_func__isinff_use=no
47007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47008 ac_ext=c
47009 ac_cpp='$CPP $CPPFLAGS'
47010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
47019 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
47021 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47023 for ac_func in _isinff
47025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47026 echo "$as_me:$LINENO: checking for $ac_func" >&5
47027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47028 if eval "test \"\${$as_ac_var+set}\" = set"; then
47029 echo $ECHO_N "(cached) $ECHO_C" >&6
47030 else
47031 if test x$gcc_no_link = xyes; then
47032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47034 { (exit 1); exit 1; }; }
47036 cat >conftest.$ac_ext <<_ACEOF
47037 /* confdefs.h. */
47038 _ACEOF
47039 cat confdefs.h >>conftest.$ac_ext
47040 cat >>conftest.$ac_ext <<_ACEOF
47041 /* end confdefs.h. */
47042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47044 #define $ac_func innocuous_$ac_func
47046 /* System header to define __stub macros and hopefully few prototypes,
47047 which can conflict with char $ac_func (); below.
47048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47049 <limits.h> exists even on freestanding compilers. */
47051 #ifdef __STDC__
47052 # include <limits.h>
47053 #else
47054 # include <assert.h>
47055 #endif
47057 #undef $ac_func
47059 /* Override any gcc2 internal prototype to avoid an error. */
47060 #ifdef __cplusplus
47061 extern "C"
47063 #endif
47064 /* We use char because int might match the return type of a gcc2
47065 builtin and then its argument prototype would still apply. */
47066 char $ac_func ();
47067 /* The GNU C library defines this for functions which it implements
47068 to always fail with ENOSYS. Some functions are actually named
47069 something starting with __ and the normal name is an alias. */
47070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47071 choke me
47072 #else
47073 char (*f) () = $ac_func;
47074 #endif
47075 #ifdef __cplusplus
47077 #endif
47080 main ()
47082 return f != $ac_func;
47084 return 0;
47086 _ACEOF
47087 rm -f conftest.$ac_objext conftest$ac_exeext
47088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47089 (eval $ac_link) 2>conftest.er1
47090 ac_status=$?
47091 grep -v '^ *+' conftest.er1 >conftest.err
47092 rm -f conftest.er1
47093 cat conftest.err >&5
47094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47095 (exit $ac_status); } &&
47096 { ac_try='test -z "$ac_c_werror_flag"
47097 || test ! -s conftest.err'
47098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47099 (eval $ac_try) 2>&5
47100 ac_status=$?
47101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47102 (exit $ac_status); }; } &&
47103 { ac_try='test -s conftest$ac_exeext'
47104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47105 (eval $ac_try) 2>&5
47106 ac_status=$?
47107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47108 (exit $ac_status); }; }; then
47109 eval "$as_ac_var=yes"
47110 else
47111 echo "$as_me: failed program was:" >&5
47112 sed 's/^/| /' conftest.$ac_ext >&5
47114 eval "$as_ac_var=no"
47116 rm -f conftest.err conftest.$ac_objext \
47117 conftest$ac_exeext conftest.$ac_ext
47119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47121 if test `eval echo '${'$as_ac_var'}'` = yes; then
47122 cat >>confdefs.h <<_ACEOF
47123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47124 _ACEOF
47127 done
47137 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
47138 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
47139 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47140 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
47141 echo $ECHO_N "(cached) $ECHO_C" >&6
47142 else
47146 ac_ext=cc
47147 ac_cpp='$CXXCPP $CPPFLAGS'
47148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47152 cat >conftest.$ac_ext <<_ACEOF
47153 /* confdefs.h. */
47154 _ACEOF
47155 cat confdefs.h >>conftest.$ac_ext
47156 cat >>conftest.$ac_ext <<_ACEOF
47157 /* end confdefs.h. */
47158 #include <math.h>
47160 main ()
47162 atan2f(0, 0);
47164 return 0;
47166 _ACEOF
47167 rm -f conftest.$ac_objext
47168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47169 (eval $ac_compile) 2>conftest.er1
47170 ac_status=$?
47171 grep -v '^ *+' conftest.er1 >conftest.err
47172 rm -f conftest.er1
47173 cat conftest.err >&5
47174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47175 (exit $ac_status); } &&
47176 { ac_try='test -z "$ac_cxx_werror_flag"
47177 || test ! -s conftest.err'
47178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47179 (eval $ac_try) 2>&5
47180 ac_status=$?
47181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47182 (exit $ac_status); }; } &&
47183 { ac_try='test -s conftest.$ac_objext'
47184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47185 (eval $ac_try) 2>&5
47186 ac_status=$?
47187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47188 (exit $ac_status); }; }; then
47189 glibcxx_cv_func_atan2f_use=yes
47190 else
47191 echo "$as_me: failed program was:" >&5
47192 sed 's/^/| /' conftest.$ac_ext >&5
47194 glibcxx_cv_func_atan2f_use=no
47196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47197 ac_ext=c
47198 ac_cpp='$CPP $CPPFLAGS'
47199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
47208 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
47210 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47212 for ac_func in atan2f
47214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47215 echo "$as_me:$LINENO: checking for $ac_func" >&5
47216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47217 if eval "test \"\${$as_ac_var+set}\" = set"; then
47218 echo $ECHO_N "(cached) $ECHO_C" >&6
47219 else
47220 if test x$gcc_no_link = xyes; then
47221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47223 { (exit 1); exit 1; }; }
47225 cat >conftest.$ac_ext <<_ACEOF
47226 /* confdefs.h. */
47227 _ACEOF
47228 cat confdefs.h >>conftest.$ac_ext
47229 cat >>conftest.$ac_ext <<_ACEOF
47230 /* end confdefs.h. */
47231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47233 #define $ac_func innocuous_$ac_func
47235 /* System header to define __stub macros and hopefully few prototypes,
47236 which can conflict with char $ac_func (); below.
47237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47238 <limits.h> exists even on freestanding compilers. */
47240 #ifdef __STDC__
47241 # include <limits.h>
47242 #else
47243 # include <assert.h>
47244 #endif
47246 #undef $ac_func
47248 /* Override any gcc2 internal prototype to avoid an error. */
47249 #ifdef __cplusplus
47250 extern "C"
47252 #endif
47253 /* We use char because int might match the return type of a gcc2
47254 builtin and then its argument prototype would still apply. */
47255 char $ac_func ();
47256 /* The GNU C library defines this for functions which it implements
47257 to always fail with ENOSYS. Some functions are actually named
47258 something starting with __ and the normal name is an alias. */
47259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47260 choke me
47261 #else
47262 char (*f) () = $ac_func;
47263 #endif
47264 #ifdef __cplusplus
47266 #endif
47269 main ()
47271 return f != $ac_func;
47273 return 0;
47275 _ACEOF
47276 rm -f conftest.$ac_objext conftest$ac_exeext
47277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47278 (eval $ac_link) 2>conftest.er1
47279 ac_status=$?
47280 grep -v '^ *+' conftest.er1 >conftest.err
47281 rm -f conftest.er1
47282 cat conftest.err >&5
47283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47284 (exit $ac_status); } &&
47285 { ac_try='test -z "$ac_c_werror_flag"
47286 || test ! -s conftest.err'
47287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47288 (eval $ac_try) 2>&5
47289 ac_status=$?
47290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47291 (exit $ac_status); }; } &&
47292 { ac_try='test -s conftest$ac_exeext'
47293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47294 (eval $ac_try) 2>&5
47295 ac_status=$?
47296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47297 (exit $ac_status); }; }; then
47298 eval "$as_ac_var=yes"
47299 else
47300 echo "$as_me: failed program was:" >&5
47301 sed 's/^/| /' conftest.$ac_ext >&5
47303 eval "$as_ac_var=no"
47305 rm -f conftest.err conftest.$ac_objext \
47306 conftest$ac_exeext conftest.$ac_ext
47308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47310 if test `eval echo '${'$as_ac_var'}'` = yes; then
47311 cat >>confdefs.h <<_ACEOF
47312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47313 _ACEOF
47316 done
47318 else
47320 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
47321 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
47322 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47323 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
47324 echo $ECHO_N "(cached) $ECHO_C" >&6
47325 else
47329 ac_ext=cc
47330 ac_cpp='$CXXCPP $CPPFLAGS'
47331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47335 cat >conftest.$ac_ext <<_ACEOF
47336 /* confdefs.h. */
47337 _ACEOF
47338 cat confdefs.h >>conftest.$ac_ext
47339 cat >>conftest.$ac_ext <<_ACEOF
47340 /* end confdefs.h. */
47341 #include <math.h>
47343 main ()
47345 _atan2f(0, 0);
47347 return 0;
47349 _ACEOF
47350 rm -f conftest.$ac_objext
47351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47352 (eval $ac_compile) 2>conftest.er1
47353 ac_status=$?
47354 grep -v '^ *+' conftest.er1 >conftest.err
47355 rm -f conftest.er1
47356 cat conftest.err >&5
47357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47358 (exit $ac_status); } &&
47359 { ac_try='test -z "$ac_cxx_werror_flag"
47360 || test ! -s conftest.err'
47361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47362 (eval $ac_try) 2>&5
47363 ac_status=$?
47364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47365 (exit $ac_status); }; } &&
47366 { ac_try='test -s conftest.$ac_objext'
47367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47368 (eval $ac_try) 2>&5
47369 ac_status=$?
47370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47371 (exit $ac_status); }; }; then
47372 glibcxx_cv_func__atan2f_use=yes
47373 else
47374 echo "$as_me: failed program was:" >&5
47375 sed 's/^/| /' conftest.$ac_ext >&5
47377 glibcxx_cv_func__atan2f_use=no
47379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47380 ac_ext=c
47381 ac_cpp='$CPP $CPPFLAGS'
47382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
47391 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
47393 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47395 for ac_func in _atan2f
47397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47398 echo "$as_me:$LINENO: checking for $ac_func" >&5
47399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47400 if eval "test \"\${$as_ac_var+set}\" = set"; then
47401 echo $ECHO_N "(cached) $ECHO_C" >&6
47402 else
47403 if test x$gcc_no_link = xyes; then
47404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47406 { (exit 1); exit 1; }; }
47408 cat >conftest.$ac_ext <<_ACEOF
47409 /* confdefs.h. */
47410 _ACEOF
47411 cat confdefs.h >>conftest.$ac_ext
47412 cat >>conftest.$ac_ext <<_ACEOF
47413 /* end confdefs.h. */
47414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47416 #define $ac_func innocuous_$ac_func
47418 /* System header to define __stub macros and hopefully few prototypes,
47419 which can conflict with char $ac_func (); below.
47420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47421 <limits.h> exists even on freestanding compilers. */
47423 #ifdef __STDC__
47424 # include <limits.h>
47425 #else
47426 # include <assert.h>
47427 #endif
47429 #undef $ac_func
47431 /* Override any gcc2 internal prototype to avoid an error. */
47432 #ifdef __cplusplus
47433 extern "C"
47435 #endif
47436 /* We use char because int might match the return type of a gcc2
47437 builtin and then its argument prototype would still apply. */
47438 char $ac_func ();
47439 /* The GNU C library defines this for functions which it implements
47440 to always fail with ENOSYS. Some functions are actually named
47441 something starting with __ and the normal name is an alias. */
47442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47443 choke me
47444 #else
47445 char (*f) () = $ac_func;
47446 #endif
47447 #ifdef __cplusplus
47449 #endif
47452 main ()
47454 return f != $ac_func;
47456 return 0;
47458 _ACEOF
47459 rm -f conftest.$ac_objext conftest$ac_exeext
47460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47461 (eval $ac_link) 2>conftest.er1
47462 ac_status=$?
47463 grep -v '^ *+' conftest.er1 >conftest.err
47464 rm -f conftest.er1
47465 cat conftest.err >&5
47466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47467 (exit $ac_status); } &&
47468 { ac_try='test -z "$ac_c_werror_flag"
47469 || test ! -s conftest.err'
47470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47471 (eval $ac_try) 2>&5
47472 ac_status=$?
47473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47474 (exit $ac_status); }; } &&
47475 { ac_try='test -s conftest$ac_exeext'
47476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47477 (eval $ac_try) 2>&5
47478 ac_status=$?
47479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47480 (exit $ac_status); }; }; then
47481 eval "$as_ac_var=yes"
47482 else
47483 echo "$as_me: failed program was:" >&5
47484 sed 's/^/| /' conftest.$ac_ext >&5
47486 eval "$as_ac_var=no"
47488 rm -f conftest.err conftest.$ac_objext \
47489 conftest$ac_exeext conftest.$ac_ext
47491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47493 if test `eval echo '${'$as_ac_var'}'` = yes; then
47494 cat >>confdefs.h <<_ACEOF
47495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47496 _ACEOF
47499 done
47509 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
47510 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
47511 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47512 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
47513 echo $ECHO_N "(cached) $ECHO_C" >&6
47514 else
47518 ac_ext=cc
47519 ac_cpp='$CXXCPP $CPPFLAGS'
47520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47524 cat >conftest.$ac_ext <<_ACEOF
47525 /* confdefs.h. */
47526 _ACEOF
47527 cat confdefs.h >>conftest.$ac_ext
47528 cat >>conftest.$ac_ext <<_ACEOF
47529 /* end confdefs.h. */
47530 #include <math.h>
47531 #ifdef HAVE_IEEEFP_H
47532 #include <ieeefp.h>
47533 #endif
47536 main ()
47538 fabsf(0);
47540 return 0;
47542 _ACEOF
47543 rm -f conftest.$ac_objext
47544 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47545 (eval $ac_compile) 2>conftest.er1
47546 ac_status=$?
47547 grep -v '^ *+' conftest.er1 >conftest.err
47548 rm -f conftest.er1
47549 cat conftest.err >&5
47550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47551 (exit $ac_status); } &&
47552 { ac_try='test -z "$ac_cxx_werror_flag"
47553 || test ! -s conftest.err'
47554 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47555 (eval $ac_try) 2>&5
47556 ac_status=$?
47557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47558 (exit $ac_status); }; } &&
47559 { ac_try='test -s conftest.$ac_objext'
47560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47561 (eval $ac_try) 2>&5
47562 ac_status=$?
47563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47564 (exit $ac_status); }; }; then
47565 glibcxx_cv_func_fabsf_use=yes
47566 else
47567 echo "$as_me: failed program was:" >&5
47568 sed 's/^/| /' conftest.$ac_ext >&5
47570 glibcxx_cv_func_fabsf_use=no
47572 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47573 ac_ext=c
47574 ac_cpp='$CPP $CPPFLAGS'
47575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
47584 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
47586 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47588 for ac_func in fabsf
47590 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47591 echo "$as_me:$LINENO: checking for $ac_func" >&5
47592 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47593 if eval "test \"\${$as_ac_var+set}\" = set"; then
47594 echo $ECHO_N "(cached) $ECHO_C" >&6
47595 else
47596 if test x$gcc_no_link = xyes; then
47597 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47598 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47599 { (exit 1); exit 1; }; }
47601 cat >conftest.$ac_ext <<_ACEOF
47602 /* confdefs.h. */
47603 _ACEOF
47604 cat confdefs.h >>conftest.$ac_ext
47605 cat >>conftest.$ac_ext <<_ACEOF
47606 /* end confdefs.h. */
47607 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47608 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47609 #define $ac_func innocuous_$ac_func
47611 /* System header to define __stub macros and hopefully few prototypes,
47612 which can conflict with char $ac_func (); below.
47613 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47614 <limits.h> exists even on freestanding compilers. */
47616 #ifdef __STDC__
47617 # include <limits.h>
47618 #else
47619 # include <assert.h>
47620 #endif
47622 #undef $ac_func
47624 /* Override any gcc2 internal prototype to avoid an error. */
47625 #ifdef __cplusplus
47626 extern "C"
47628 #endif
47629 /* We use char because int might match the return type of a gcc2
47630 builtin and then its argument prototype would still apply. */
47631 char $ac_func ();
47632 /* The GNU C library defines this for functions which it implements
47633 to always fail with ENOSYS. Some functions are actually named
47634 something starting with __ and the normal name is an alias. */
47635 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47636 choke me
47637 #else
47638 char (*f) () = $ac_func;
47639 #endif
47640 #ifdef __cplusplus
47642 #endif
47645 main ()
47647 return f != $ac_func;
47649 return 0;
47651 _ACEOF
47652 rm -f conftest.$ac_objext conftest$ac_exeext
47653 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47654 (eval $ac_link) 2>conftest.er1
47655 ac_status=$?
47656 grep -v '^ *+' conftest.er1 >conftest.err
47657 rm -f conftest.er1
47658 cat conftest.err >&5
47659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47660 (exit $ac_status); } &&
47661 { ac_try='test -z "$ac_c_werror_flag"
47662 || test ! -s conftest.err'
47663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47664 (eval $ac_try) 2>&5
47665 ac_status=$?
47666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47667 (exit $ac_status); }; } &&
47668 { ac_try='test -s conftest$ac_exeext'
47669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47670 (eval $ac_try) 2>&5
47671 ac_status=$?
47672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47673 (exit $ac_status); }; }; then
47674 eval "$as_ac_var=yes"
47675 else
47676 echo "$as_me: failed program was:" >&5
47677 sed 's/^/| /' conftest.$ac_ext >&5
47679 eval "$as_ac_var=no"
47681 rm -f conftest.err conftest.$ac_objext \
47682 conftest$ac_exeext conftest.$ac_ext
47684 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47685 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47686 if test `eval echo '${'$as_ac_var'}'` = yes; then
47687 cat >>confdefs.h <<_ACEOF
47688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47689 _ACEOF
47692 done
47694 else
47696 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
47697 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
47698 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47699 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
47700 echo $ECHO_N "(cached) $ECHO_C" >&6
47701 else
47705 ac_ext=cc
47706 ac_cpp='$CXXCPP $CPPFLAGS'
47707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47711 cat >conftest.$ac_ext <<_ACEOF
47712 /* confdefs.h. */
47713 _ACEOF
47714 cat confdefs.h >>conftest.$ac_ext
47715 cat >>conftest.$ac_ext <<_ACEOF
47716 /* end confdefs.h. */
47717 #include <math.h>
47718 #ifdef HAVE_IEEEFP_H
47719 #include <ieeefp.h>
47720 #endif
47723 main ()
47725 _fabsf(0);
47727 return 0;
47729 _ACEOF
47730 rm -f conftest.$ac_objext
47731 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47732 (eval $ac_compile) 2>conftest.er1
47733 ac_status=$?
47734 grep -v '^ *+' conftest.er1 >conftest.err
47735 rm -f conftest.er1
47736 cat conftest.err >&5
47737 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47738 (exit $ac_status); } &&
47739 { ac_try='test -z "$ac_cxx_werror_flag"
47740 || test ! -s conftest.err'
47741 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47742 (eval $ac_try) 2>&5
47743 ac_status=$?
47744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47745 (exit $ac_status); }; } &&
47746 { ac_try='test -s conftest.$ac_objext'
47747 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47748 (eval $ac_try) 2>&5
47749 ac_status=$?
47750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47751 (exit $ac_status); }; }; then
47752 glibcxx_cv_func__fabsf_use=yes
47753 else
47754 echo "$as_me: failed program was:" >&5
47755 sed 's/^/| /' conftest.$ac_ext >&5
47757 glibcxx_cv_func__fabsf_use=no
47759 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47760 ac_ext=c
47761 ac_cpp='$CPP $CPPFLAGS'
47762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47770 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
47771 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
47773 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47775 for ac_func in _fabsf
47777 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47778 echo "$as_me:$LINENO: checking for $ac_func" >&5
47779 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47780 if eval "test \"\${$as_ac_var+set}\" = set"; then
47781 echo $ECHO_N "(cached) $ECHO_C" >&6
47782 else
47783 if test x$gcc_no_link = xyes; then
47784 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47785 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47786 { (exit 1); exit 1; }; }
47788 cat >conftest.$ac_ext <<_ACEOF
47789 /* confdefs.h. */
47790 _ACEOF
47791 cat confdefs.h >>conftest.$ac_ext
47792 cat >>conftest.$ac_ext <<_ACEOF
47793 /* end confdefs.h. */
47794 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47795 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47796 #define $ac_func innocuous_$ac_func
47798 /* System header to define __stub macros and hopefully few prototypes,
47799 which can conflict with char $ac_func (); below.
47800 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47801 <limits.h> exists even on freestanding compilers. */
47803 #ifdef __STDC__
47804 # include <limits.h>
47805 #else
47806 # include <assert.h>
47807 #endif
47809 #undef $ac_func
47811 /* Override any gcc2 internal prototype to avoid an error. */
47812 #ifdef __cplusplus
47813 extern "C"
47815 #endif
47816 /* We use char because int might match the return type of a gcc2
47817 builtin and then its argument prototype would still apply. */
47818 char $ac_func ();
47819 /* The GNU C library defines this for functions which it implements
47820 to always fail with ENOSYS. Some functions are actually named
47821 something starting with __ and the normal name is an alias. */
47822 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
47823 choke me
47824 #else
47825 char (*f) () = $ac_func;
47826 #endif
47827 #ifdef __cplusplus
47829 #endif
47832 main ()
47834 return f != $ac_func;
47836 return 0;
47838 _ACEOF
47839 rm -f conftest.$ac_objext conftest$ac_exeext
47840 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
47841 (eval $ac_link) 2>conftest.er1
47842 ac_status=$?
47843 grep -v '^ *+' conftest.er1 >conftest.err
47844 rm -f conftest.er1
47845 cat conftest.err >&5
47846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47847 (exit $ac_status); } &&
47848 { ac_try='test -z "$ac_c_werror_flag"
47849 || test ! -s conftest.err'
47850 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47851 (eval $ac_try) 2>&5
47852 ac_status=$?
47853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47854 (exit $ac_status); }; } &&
47855 { ac_try='test -s conftest$ac_exeext'
47856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47857 (eval $ac_try) 2>&5
47858 ac_status=$?
47859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47860 (exit $ac_status); }; }; then
47861 eval "$as_ac_var=yes"
47862 else
47863 echo "$as_me: failed program was:" >&5
47864 sed 's/^/| /' conftest.$ac_ext >&5
47866 eval "$as_ac_var=no"
47868 rm -f conftest.err conftest.$ac_objext \
47869 conftest$ac_exeext conftest.$ac_ext
47871 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
47872 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
47873 if test `eval echo '${'$as_ac_var'}'` = yes; then
47874 cat >>confdefs.h <<_ACEOF
47875 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
47876 _ACEOF
47879 done
47889 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
47890 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
47891 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47892 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
47893 echo $ECHO_N "(cached) $ECHO_C" >&6
47894 else
47898 ac_ext=cc
47899 ac_cpp='$CXXCPP $CPPFLAGS'
47900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47904 cat >conftest.$ac_ext <<_ACEOF
47905 /* confdefs.h. */
47906 _ACEOF
47907 cat confdefs.h >>conftest.$ac_ext
47908 cat >>conftest.$ac_ext <<_ACEOF
47909 /* end confdefs.h. */
47910 #include <math.h>
47912 main ()
47914 fmodf(0, 0);
47916 return 0;
47918 _ACEOF
47919 rm -f conftest.$ac_objext
47920 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
47921 (eval $ac_compile) 2>conftest.er1
47922 ac_status=$?
47923 grep -v '^ *+' conftest.er1 >conftest.err
47924 rm -f conftest.er1
47925 cat conftest.err >&5
47926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47927 (exit $ac_status); } &&
47928 { ac_try='test -z "$ac_cxx_werror_flag"
47929 || test ! -s conftest.err'
47930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47931 (eval $ac_try) 2>&5
47932 ac_status=$?
47933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47934 (exit $ac_status); }; } &&
47935 { ac_try='test -s conftest.$ac_objext'
47936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
47937 (eval $ac_try) 2>&5
47938 ac_status=$?
47939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47940 (exit $ac_status); }; }; then
47941 glibcxx_cv_func_fmodf_use=yes
47942 else
47943 echo "$as_me: failed program was:" >&5
47944 sed 's/^/| /' conftest.$ac_ext >&5
47946 glibcxx_cv_func_fmodf_use=no
47948 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
47949 ac_ext=c
47950 ac_cpp='$CPP $CPPFLAGS'
47951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47959 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
47960 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
47962 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47964 for ac_func in fmodf
47966 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
47967 echo "$as_me:$LINENO: checking for $ac_func" >&5
47968 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
47969 if eval "test \"\${$as_ac_var+set}\" = set"; then
47970 echo $ECHO_N "(cached) $ECHO_C" >&6
47971 else
47972 if test x$gcc_no_link = xyes; then
47973 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
47974 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
47975 { (exit 1); exit 1; }; }
47977 cat >conftest.$ac_ext <<_ACEOF
47978 /* confdefs.h. */
47979 _ACEOF
47980 cat confdefs.h >>conftest.$ac_ext
47981 cat >>conftest.$ac_ext <<_ACEOF
47982 /* end confdefs.h. */
47983 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
47984 For example, HP-UX 11i <limits.h> declares gettimeofday. */
47985 #define $ac_func innocuous_$ac_func
47987 /* System header to define __stub macros and hopefully few prototypes,
47988 which can conflict with char $ac_func (); below.
47989 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
47990 <limits.h> exists even on freestanding compilers. */
47992 #ifdef __STDC__
47993 # include <limits.h>
47994 #else
47995 # include <assert.h>
47996 #endif
47998 #undef $ac_func
48000 /* Override any gcc2 internal prototype to avoid an error. */
48001 #ifdef __cplusplus
48002 extern "C"
48004 #endif
48005 /* We use char because int might match the return type of a gcc2
48006 builtin and then its argument prototype would still apply. */
48007 char $ac_func ();
48008 /* The GNU C library defines this for functions which it implements
48009 to always fail with ENOSYS. Some functions are actually named
48010 something starting with __ and the normal name is an alias. */
48011 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48012 choke me
48013 #else
48014 char (*f) () = $ac_func;
48015 #endif
48016 #ifdef __cplusplus
48018 #endif
48021 main ()
48023 return f != $ac_func;
48025 return 0;
48027 _ACEOF
48028 rm -f conftest.$ac_objext conftest$ac_exeext
48029 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48030 (eval $ac_link) 2>conftest.er1
48031 ac_status=$?
48032 grep -v '^ *+' conftest.er1 >conftest.err
48033 rm -f conftest.er1
48034 cat conftest.err >&5
48035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48036 (exit $ac_status); } &&
48037 { ac_try='test -z "$ac_c_werror_flag"
48038 || test ! -s conftest.err'
48039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48040 (eval $ac_try) 2>&5
48041 ac_status=$?
48042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48043 (exit $ac_status); }; } &&
48044 { ac_try='test -s conftest$ac_exeext'
48045 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48046 (eval $ac_try) 2>&5
48047 ac_status=$?
48048 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48049 (exit $ac_status); }; }; then
48050 eval "$as_ac_var=yes"
48051 else
48052 echo "$as_me: failed program was:" >&5
48053 sed 's/^/| /' conftest.$ac_ext >&5
48055 eval "$as_ac_var=no"
48057 rm -f conftest.err conftest.$ac_objext \
48058 conftest$ac_exeext conftest.$ac_ext
48060 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48061 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48062 if test `eval echo '${'$as_ac_var'}'` = yes; then
48063 cat >>confdefs.h <<_ACEOF
48064 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48065 _ACEOF
48068 done
48070 else
48072 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
48073 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
48074 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
48075 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
48076 echo $ECHO_N "(cached) $ECHO_C" >&6
48077 else
48081 ac_ext=cc
48082 ac_cpp='$CXXCPP $CPPFLAGS'
48083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48087 cat >conftest.$ac_ext <<_ACEOF
48088 /* confdefs.h. */
48089 _ACEOF
48090 cat confdefs.h >>conftest.$ac_ext
48091 cat >>conftest.$ac_ext <<_ACEOF
48092 /* end confdefs.h. */
48093 #include <math.h>
48095 main ()
48097 _fmodf(0, 0);
48099 return 0;
48101 _ACEOF
48102 rm -f conftest.$ac_objext
48103 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48104 (eval $ac_compile) 2>conftest.er1
48105 ac_status=$?
48106 grep -v '^ *+' conftest.er1 >conftest.err
48107 rm -f conftest.er1
48108 cat conftest.err >&5
48109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48110 (exit $ac_status); } &&
48111 { ac_try='test -z "$ac_cxx_werror_flag"
48112 || test ! -s conftest.err'
48113 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48114 (eval $ac_try) 2>&5
48115 ac_status=$?
48116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48117 (exit $ac_status); }; } &&
48118 { ac_try='test -s conftest.$ac_objext'
48119 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48120 (eval $ac_try) 2>&5
48121 ac_status=$?
48122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48123 (exit $ac_status); }; }; then
48124 glibcxx_cv_func__fmodf_use=yes
48125 else
48126 echo "$as_me: failed program was:" >&5
48127 sed 's/^/| /' conftest.$ac_ext >&5
48129 glibcxx_cv_func__fmodf_use=no
48131 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48132 ac_ext=c
48133 ac_cpp='$CPP $CPPFLAGS'
48134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48142 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
48143 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
48145 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
48147 for ac_func in _fmodf
48149 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48150 echo "$as_me:$LINENO: checking for $ac_func" >&5
48151 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48152 if eval "test \"\${$as_ac_var+set}\" = set"; then
48153 echo $ECHO_N "(cached) $ECHO_C" >&6
48154 else
48155 if test x$gcc_no_link = xyes; then
48156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48158 { (exit 1); exit 1; }; }
48160 cat >conftest.$ac_ext <<_ACEOF
48161 /* confdefs.h. */
48162 _ACEOF
48163 cat confdefs.h >>conftest.$ac_ext
48164 cat >>conftest.$ac_ext <<_ACEOF
48165 /* end confdefs.h. */
48166 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48167 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48168 #define $ac_func innocuous_$ac_func
48170 /* System header to define __stub macros and hopefully few prototypes,
48171 which can conflict with char $ac_func (); below.
48172 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48173 <limits.h> exists even on freestanding compilers. */
48175 #ifdef __STDC__
48176 # include <limits.h>
48177 #else
48178 # include <assert.h>
48179 #endif
48181 #undef $ac_func
48183 /* Override any gcc2 internal prototype to avoid an error. */
48184 #ifdef __cplusplus
48185 extern "C"
48187 #endif
48188 /* We use char because int might match the return type of a gcc2
48189 builtin and then its argument prototype would still apply. */
48190 char $ac_func ();
48191 /* The GNU C library defines this for functions which it implements
48192 to always fail with ENOSYS. Some functions are actually named
48193 something starting with __ and the normal name is an alias. */
48194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48195 choke me
48196 #else
48197 char (*f) () = $ac_func;
48198 #endif
48199 #ifdef __cplusplus
48201 #endif
48204 main ()
48206 return f != $ac_func;
48208 return 0;
48210 _ACEOF
48211 rm -f conftest.$ac_objext conftest$ac_exeext
48212 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48213 (eval $ac_link) 2>conftest.er1
48214 ac_status=$?
48215 grep -v '^ *+' conftest.er1 >conftest.err
48216 rm -f conftest.er1
48217 cat conftest.err >&5
48218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48219 (exit $ac_status); } &&
48220 { ac_try='test -z "$ac_c_werror_flag"
48221 || test ! -s conftest.err'
48222 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48223 (eval $ac_try) 2>&5
48224 ac_status=$?
48225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48226 (exit $ac_status); }; } &&
48227 { ac_try='test -s conftest$ac_exeext'
48228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48229 (eval $ac_try) 2>&5
48230 ac_status=$?
48231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48232 (exit $ac_status); }; }; then
48233 eval "$as_ac_var=yes"
48234 else
48235 echo "$as_me: failed program was:" >&5
48236 sed 's/^/| /' conftest.$ac_ext >&5
48238 eval "$as_ac_var=no"
48240 rm -f conftest.err conftest.$ac_objext \
48241 conftest$ac_exeext conftest.$ac_ext
48243 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48244 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48245 if test `eval echo '${'$as_ac_var'}'` = yes; then
48246 cat >>confdefs.h <<_ACEOF
48247 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48248 _ACEOF
48251 done
48261 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
48262 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
48263 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48264 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
48265 echo $ECHO_N "(cached) $ECHO_C" >&6
48266 else
48270 ac_ext=cc
48271 ac_cpp='$CXXCPP $CPPFLAGS'
48272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48276 cat >conftest.$ac_ext <<_ACEOF
48277 /* confdefs.h. */
48278 _ACEOF
48279 cat confdefs.h >>conftest.$ac_ext
48280 cat >>conftest.$ac_ext <<_ACEOF
48281 /* end confdefs.h. */
48282 #include <math.h>
48284 main ()
48286 frexpf(0, 0);
48288 return 0;
48290 _ACEOF
48291 rm -f conftest.$ac_objext
48292 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48293 (eval $ac_compile) 2>conftest.er1
48294 ac_status=$?
48295 grep -v '^ *+' conftest.er1 >conftest.err
48296 rm -f conftest.er1
48297 cat conftest.err >&5
48298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48299 (exit $ac_status); } &&
48300 { ac_try='test -z "$ac_cxx_werror_flag"
48301 || test ! -s conftest.err'
48302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48303 (eval $ac_try) 2>&5
48304 ac_status=$?
48305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48306 (exit $ac_status); }; } &&
48307 { ac_try='test -s conftest.$ac_objext'
48308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48309 (eval $ac_try) 2>&5
48310 ac_status=$?
48311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48312 (exit $ac_status); }; }; then
48313 glibcxx_cv_func_frexpf_use=yes
48314 else
48315 echo "$as_me: failed program was:" >&5
48316 sed 's/^/| /' conftest.$ac_ext >&5
48318 glibcxx_cv_func_frexpf_use=no
48320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48321 ac_ext=c
48322 ac_cpp='$CPP $CPPFLAGS'
48323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48331 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
48332 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
48334 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48336 for ac_func in frexpf
48338 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48339 echo "$as_me:$LINENO: checking for $ac_func" >&5
48340 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48341 if eval "test \"\${$as_ac_var+set}\" = set"; then
48342 echo $ECHO_N "(cached) $ECHO_C" >&6
48343 else
48344 if test x$gcc_no_link = xyes; then
48345 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48346 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48347 { (exit 1); exit 1; }; }
48349 cat >conftest.$ac_ext <<_ACEOF
48350 /* confdefs.h. */
48351 _ACEOF
48352 cat confdefs.h >>conftest.$ac_ext
48353 cat >>conftest.$ac_ext <<_ACEOF
48354 /* end confdefs.h. */
48355 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48356 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48357 #define $ac_func innocuous_$ac_func
48359 /* System header to define __stub macros and hopefully few prototypes,
48360 which can conflict with char $ac_func (); below.
48361 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48362 <limits.h> exists even on freestanding compilers. */
48364 #ifdef __STDC__
48365 # include <limits.h>
48366 #else
48367 # include <assert.h>
48368 #endif
48370 #undef $ac_func
48372 /* Override any gcc2 internal prototype to avoid an error. */
48373 #ifdef __cplusplus
48374 extern "C"
48376 #endif
48377 /* We use char because int might match the return type of a gcc2
48378 builtin and then its argument prototype would still apply. */
48379 char $ac_func ();
48380 /* The GNU C library defines this for functions which it implements
48381 to always fail with ENOSYS. Some functions are actually named
48382 something starting with __ and the normal name is an alias. */
48383 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48384 choke me
48385 #else
48386 char (*f) () = $ac_func;
48387 #endif
48388 #ifdef __cplusplus
48390 #endif
48393 main ()
48395 return f != $ac_func;
48397 return 0;
48399 _ACEOF
48400 rm -f conftest.$ac_objext conftest$ac_exeext
48401 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48402 (eval $ac_link) 2>conftest.er1
48403 ac_status=$?
48404 grep -v '^ *+' conftest.er1 >conftest.err
48405 rm -f conftest.er1
48406 cat conftest.err >&5
48407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48408 (exit $ac_status); } &&
48409 { ac_try='test -z "$ac_c_werror_flag"
48410 || test ! -s conftest.err'
48411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48412 (eval $ac_try) 2>&5
48413 ac_status=$?
48414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48415 (exit $ac_status); }; } &&
48416 { ac_try='test -s conftest$ac_exeext'
48417 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48418 (eval $ac_try) 2>&5
48419 ac_status=$?
48420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48421 (exit $ac_status); }; }; then
48422 eval "$as_ac_var=yes"
48423 else
48424 echo "$as_me: failed program was:" >&5
48425 sed 's/^/| /' conftest.$ac_ext >&5
48427 eval "$as_ac_var=no"
48429 rm -f conftest.err conftest.$ac_objext \
48430 conftest$ac_exeext conftest.$ac_ext
48432 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48433 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48434 if test `eval echo '${'$as_ac_var'}'` = yes; then
48435 cat >>confdefs.h <<_ACEOF
48436 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48437 _ACEOF
48440 done
48442 else
48444 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
48445 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
48446 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48447 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
48448 echo $ECHO_N "(cached) $ECHO_C" >&6
48449 else
48453 ac_ext=cc
48454 ac_cpp='$CXXCPP $CPPFLAGS'
48455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48459 cat >conftest.$ac_ext <<_ACEOF
48460 /* confdefs.h. */
48461 _ACEOF
48462 cat confdefs.h >>conftest.$ac_ext
48463 cat >>conftest.$ac_ext <<_ACEOF
48464 /* end confdefs.h. */
48465 #include <math.h>
48467 main ()
48469 _frexpf(0, 0);
48471 return 0;
48473 _ACEOF
48474 rm -f conftest.$ac_objext
48475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48476 (eval $ac_compile) 2>conftest.er1
48477 ac_status=$?
48478 grep -v '^ *+' conftest.er1 >conftest.err
48479 rm -f conftest.er1
48480 cat conftest.err >&5
48481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48482 (exit $ac_status); } &&
48483 { ac_try='test -z "$ac_cxx_werror_flag"
48484 || test ! -s conftest.err'
48485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48486 (eval $ac_try) 2>&5
48487 ac_status=$?
48488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48489 (exit $ac_status); }; } &&
48490 { ac_try='test -s conftest.$ac_objext'
48491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48492 (eval $ac_try) 2>&5
48493 ac_status=$?
48494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48495 (exit $ac_status); }; }; then
48496 glibcxx_cv_func__frexpf_use=yes
48497 else
48498 echo "$as_me: failed program was:" >&5
48499 sed 's/^/| /' conftest.$ac_ext >&5
48501 glibcxx_cv_func__frexpf_use=no
48503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48504 ac_ext=c
48505 ac_cpp='$CPP $CPPFLAGS'
48506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
48515 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
48517 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48519 for ac_func in _frexpf
48521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48522 echo "$as_me:$LINENO: checking for $ac_func" >&5
48523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48524 if eval "test \"\${$as_ac_var+set}\" = set"; then
48525 echo $ECHO_N "(cached) $ECHO_C" >&6
48526 else
48527 if test x$gcc_no_link = xyes; then
48528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48530 { (exit 1); exit 1; }; }
48532 cat >conftest.$ac_ext <<_ACEOF
48533 /* confdefs.h. */
48534 _ACEOF
48535 cat confdefs.h >>conftest.$ac_ext
48536 cat >>conftest.$ac_ext <<_ACEOF
48537 /* end confdefs.h. */
48538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48540 #define $ac_func innocuous_$ac_func
48542 /* System header to define __stub macros and hopefully few prototypes,
48543 which can conflict with char $ac_func (); below.
48544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48545 <limits.h> exists even on freestanding compilers. */
48547 #ifdef __STDC__
48548 # include <limits.h>
48549 #else
48550 # include <assert.h>
48551 #endif
48553 #undef $ac_func
48555 /* Override any gcc2 internal prototype to avoid an error. */
48556 #ifdef __cplusplus
48557 extern "C"
48559 #endif
48560 /* We use char because int might match the return type of a gcc2
48561 builtin and then its argument prototype would still apply. */
48562 char $ac_func ();
48563 /* The GNU C library defines this for functions which it implements
48564 to always fail with ENOSYS. Some functions are actually named
48565 something starting with __ and the normal name is an alias. */
48566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48567 choke me
48568 #else
48569 char (*f) () = $ac_func;
48570 #endif
48571 #ifdef __cplusplus
48573 #endif
48576 main ()
48578 return f != $ac_func;
48580 return 0;
48582 _ACEOF
48583 rm -f conftest.$ac_objext conftest$ac_exeext
48584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48585 (eval $ac_link) 2>conftest.er1
48586 ac_status=$?
48587 grep -v '^ *+' conftest.er1 >conftest.err
48588 rm -f conftest.er1
48589 cat conftest.err >&5
48590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48591 (exit $ac_status); } &&
48592 { ac_try='test -z "$ac_c_werror_flag"
48593 || test ! -s conftest.err'
48594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48595 (eval $ac_try) 2>&5
48596 ac_status=$?
48597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48598 (exit $ac_status); }; } &&
48599 { ac_try='test -s conftest$ac_exeext'
48600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48601 (eval $ac_try) 2>&5
48602 ac_status=$?
48603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48604 (exit $ac_status); }; }; then
48605 eval "$as_ac_var=yes"
48606 else
48607 echo "$as_me: failed program was:" >&5
48608 sed 's/^/| /' conftest.$ac_ext >&5
48610 eval "$as_ac_var=no"
48612 rm -f conftest.err conftest.$ac_objext \
48613 conftest$ac_exeext conftest.$ac_ext
48615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48617 if test `eval echo '${'$as_ac_var'}'` = yes; then
48618 cat >>confdefs.h <<_ACEOF
48619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48620 _ACEOF
48623 done
48633 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
48634 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
48635 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48636 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
48637 echo $ECHO_N "(cached) $ECHO_C" >&6
48638 else
48642 ac_ext=cc
48643 ac_cpp='$CXXCPP $CPPFLAGS'
48644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48648 cat >conftest.$ac_ext <<_ACEOF
48649 /* confdefs.h. */
48650 _ACEOF
48651 cat confdefs.h >>conftest.$ac_ext
48652 cat >>conftest.$ac_ext <<_ACEOF
48653 /* end confdefs.h. */
48654 #include <math.h>
48656 main ()
48658 hypotf(0, 0);
48660 return 0;
48662 _ACEOF
48663 rm -f conftest.$ac_objext
48664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48665 (eval $ac_compile) 2>conftest.er1
48666 ac_status=$?
48667 grep -v '^ *+' conftest.er1 >conftest.err
48668 rm -f conftest.er1
48669 cat conftest.err >&5
48670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48671 (exit $ac_status); } &&
48672 { ac_try='test -z "$ac_cxx_werror_flag"
48673 || test ! -s conftest.err'
48674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48675 (eval $ac_try) 2>&5
48676 ac_status=$?
48677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48678 (exit $ac_status); }; } &&
48679 { ac_try='test -s conftest.$ac_objext'
48680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48681 (eval $ac_try) 2>&5
48682 ac_status=$?
48683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48684 (exit $ac_status); }; }; then
48685 glibcxx_cv_func_hypotf_use=yes
48686 else
48687 echo "$as_me: failed program was:" >&5
48688 sed 's/^/| /' conftest.$ac_ext >&5
48690 glibcxx_cv_func_hypotf_use=no
48692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48693 ac_ext=c
48694 ac_cpp='$CPP $CPPFLAGS'
48695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
48704 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
48706 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48708 for ac_func in hypotf
48710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48711 echo "$as_me:$LINENO: checking for $ac_func" >&5
48712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48713 if eval "test \"\${$as_ac_var+set}\" = set"; then
48714 echo $ECHO_N "(cached) $ECHO_C" >&6
48715 else
48716 if test x$gcc_no_link = xyes; then
48717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48719 { (exit 1); exit 1; }; }
48721 cat >conftest.$ac_ext <<_ACEOF
48722 /* confdefs.h. */
48723 _ACEOF
48724 cat confdefs.h >>conftest.$ac_ext
48725 cat >>conftest.$ac_ext <<_ACEOF
48726 /* end confdefs.h. */
48727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48729 #define $ac_func innocuous_$ac_func
48731 /* System header to define __stub macros and hopefully few prototypes,
48732 which can conflict with char $ac_func (); below.
48733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48734 <limits.h> exists even on freestanding compilers. */
48736 #ifdef __STDC__
48737 # include <limits.h>
48738 #else
48739 # include <assert.h>
48740 #endif
48742 #undef $ac_func
48744 /* Override any gcc2 internal prototype to avoid an error. */
48745 #ifdef __cplusplus
48746 extern "C"
48748 #endif
48749 /* We use char because int might match the return type of a gcc2
48750 builtin and then its argument prototype would still apply. */
48751 char $ac_func ();
48752 /* The GNU C library defines this for functions which it implements
48753 to always fail with ENOSYS. Some functions are actually named
48754 something starting with __ and the normal name is an alias. */
48755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48756 choke me
48757 #else
48758 char (*f) () = $ac_func;
48759 #endif
48760 #ifdef __cplusplus
48762 #endif
48765 main ()
48767 return f != $ac_func;
48769 return 0;
48771 _ACEOF
48772 rm -f conftest.$ac_objext conftest$ac_exeext
48773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48774 (eval $ac_link) 2>conftest.er1
48775 ac_status=$?
48776 grep -v '^ *+' conftest.er1 >conftest.err
48777 rm -f conftest.er1
48778 cat conftest.err >&5
48779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48780 (exit $ac_status); } &&
48781 { ac_try='test -z "$ac_c_werror_flag"
48782 || test ! -s conftest.err'
48783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48784 (eval $ac_try) 2>&5
48785 ac_status=$?
48786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48787 (exit $ac_status); }; } &&
48788 { ac_try='test -s conftest$ac_exeext'
48789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48790 (eval $ac_try) 2>&5
48791 ac_status=$?
48792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48793 (exit $ac_status); }; }; then
48794 eval "$as_ac_var=yes"
48795 else
48796 echo "$as_me: failed program was:" >&5
48797 sed 's/^/| /' conftest.$ac_ext >&5
48799 eval "$as_ac_var=no"
48801 rm -f conftest.err conftest.$ac_objext \
48802 conftest$ac_exeext conftest.$ac_ext
48804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48806 if test `eval echo '${'$as_ac_var'}'` = yes; then
48807 cat >>confdefs.h <<_ACEOF
48808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48809 _ACEOF
48812 done
48814 else
48816 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
48817 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
48818 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48819 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
48820 echo $ECHO_N "(cached) $ECHO_C" >&6
48821 else
48825 ac_ext=cc
48826 ac_cpp='$CXXCPP $CPPFLAGS'
48827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48831 cat >conftest.$ac_ext <<_ACEOF
48832 /* confdefs.h. */
48833 _ACEOF
48834 cat confdefs.h >>conftest.$ac_ext
48835 cat >>conftest.$ac_ext <<_ACEOF
48836 /* end confdefs.h. */
48837 #include <math.h>
48839 main ()
48841 _hypotf(0, 0);
48843 return 0;
48845 _ACEOF
48846 rm -f conftest.$ac_objext
48847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
48848 (eval $ac_compile) 2>conftest.er1
48849 ac_status=$?
48850 grep -v '^ *+' conftest.er1 >conftest.err
48851 rm -f conftest.er1
48852 cat conftest.err >&5
48853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48854 (exit $ac_status); } &&
48855 { ac_try='test -z "$ac_cxx_werror_flag"
48856 || test ! -s conftest.err'
48857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48858 (eval $ac_try) 2>&5
48859 ac_status=$?
48860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48861 (exit $ac_status); }; } &&
48862 { ac_try='test -s conftest.$ac_objext'
48863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48864 (eval $ac_try) 2>&5
48865 ac_status=$?
48866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48867 (exit $ac_status); }; }; then
48868 glibcxx_cv_func__hypotf_use=yes
48869 else
48870 echo "$as_me: failed program was:" >&5
48871 sed 's/^/| /' conftest.$ac_ext >&5
48873 glibcxx_cv_func__hypotf_use=no
48875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
48876 ac_ext=c
48877 ac_cpp='$CPP $CPPFLAGS'
48878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
48887 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
48889 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48891 for ac_func in _hypotf
48893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
48894 echo "$as_me:$LINENO: checking for $ac_func" >&5
48895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
48896 if eval "test \"\${$as_ac_var+set}\" = set"; then
48897 echo $ECHO_N "(cached) $ECHO_C" >&6
48898 else
48899 if test x$gcc_no_link = xyes; then
48900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
48901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
48902 { (exit 1); exit 1; }; }
48904 cat >conftest.$ac_ext <<_ACEOF
48905 /* confdefs.h. */
48906 _ACEOF
48907 cat confdefs.h >>conftest.$ac_ext
48908 cat >>conftest.$ac_ext <<_ACEOF
48909 /* end confdefs.h. */
48910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
48911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
48912 #define $ac_func innocuous_$ac_func
48914 /* System header to define __stub macros and hopefully few prototypes,
48915 which can conflict with char $ac_func (); below.
48916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
48917 <limits.h> exists even on freestanding compilers. */
48919 #ifdef __STDC__
48920 # include <limits.h>
48921 #else
48922 # include <assert.h>
48923 #endif
48925 #undef $ac_func
48927 /* Override any gcc2 internal prototype to avoid an error. */
48928 #ifdef __cplusplus
48929 extern "C"
48931 #endif
48932 /* We use char because int might match the return type of a gcc2
48933 builtin and then its argument prototype would still apply. */
48934 char $ac_func ();
48935 /* The GNU C library defines this for functions which it implements
48936 to always fail with ENOSYS. Some functions are actually named
48937 something starting with __ and the normal name is an alias. */
48938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
48939 choke me
48940 #else
48941 char (*f) () = $ac_func;
48942 #endif
48943 #ifdef __cplusplus
48945 #endif
48948 main ()
48950 return f != $ac_func;
48952 return 0;
48954 _ACEOF
48955 rm -f conftest.$ac_objext conftest$ac_exeext
48956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
48957 (eval $ac_link) 2>conftest.er1
48958 ac_status=$?
48959 grep -v '^ *+' conftest.er1 >conftest.err
48960 rm -f conftest.er1
48961 cat conftest.err >&5
48962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48963 (exit $ac_status); } &&
48964 { ac_try='test -z "$ac_c_werror_flag"
48965 || test ! -s conftest.err'
48966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
48967 (eval $ac_try) 2>&5
48968 ac_status=$?
48969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48970 (exit $ac_status); }; } &&
48971 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
48977 eval "$as_ac_var=yes"
48978 else
48979 echo "$as_me: failed program was:" >&5
48980 sed 's/^/| /' conftest.$ac_ext >&5
48982 eval "$as_ac_var=no"
48984 rm -f conftest.err conftest.$ac_objext \
48985 conftest$ac_exeext conftest.$ac_ext
48987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
48988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
48989 if test `eval echo '${'$as_ac_var'}'` = yes; then
48990 cat >>confdefs.h <<_ACEOF
48991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
48992 _ACEOF
48995 done
49005 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
49006 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
49007 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49008 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
49009 echo $ECHO_N "(cached) $ECHO_C" >&6
49010 else
49014 ac_ext=cc
49015 ac_cpp='$CXXCPP $CPPFLAGS'
49016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49020 cat >conftest.$ac_ext <<_ACEOF
49021 /* confdefs.h. */
49022 _ACEOF
49023 cat confdefs.h >>conftest.$ac_ext
49024 cat >>conftest.$ac_ext <<_ACEOF
49025 /* end confdefs.h. */
49026 #include <math.h>
49028 main ()
49030 ldexpf(0, 0);
49032 return 0;
49034 _ACEOF
49035 rm -f conftest.$ac_objext
49036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49037 (eval $ac_compile) 2>conftest.er1
49038 ac_status=$?
49039 grep -v '^ *+' conftest.er1 >conftest.err
49040 rm -f conftest.er1
49041 cat conftest.err >&5
49042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49043 (exit $ac_status); } &&
49044 { ac_try='test -z "$ac_cxx_werror_flag"
49045 || test ! -s conftest.err'
49046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49047 (eval $ac_try) 2>&5
49048 ac_status=$?
49049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49050 (exit $ac_status); }; } &&
49051 { ac_try='test -s conftest.$ac_objext'
49052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49053 (eval $ac_try) 2>&5
49054 ac_status=$?
49055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49056 (exit $ac_status); }; }; then
49057 glibcxx_cv_func_ldexpf_use=yes
49058 else
49059 echo "$as_me: failed program was:" >&5
49060 sed 's/^/| /' conftest.$ac_ext >&5
49062 glibcxx_cv_func_ldexpf_use=no
49064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49065 ac_ext=c
49066 ac_cpp='$CPP $CPPFLAGS'
49067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49075 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
49076 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
49078 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49080 for ac_func in ldexpf
49082 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49083 echo "$as_me:$LINENO: checking for $ac_func" >&5
49084 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49085 if eval "test \"\${$as_ac_var+set}\" = set"; then
49086 echo $ECHO_N "(cached) $ECHO_C" >&6
49087 else
49088 if test x$gcc_no_link = xyes; then
49089 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49090 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49091 { (exit 1); exit 1; }; }
49093 cat >conftest.$ac_ext <<_ACEOF
49094 /* confdefs.h. */
49095 _ACEOF
49096 cat confdefs.h >>conftest.$ac_ext
49097 cat >>conftest.$ac_ext <<_ACEOF
49098 /* end confdefs.h. */
49099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49101 #define $ac_func innocuous_$ac_func
49103 /* System header to define __stub macros and hopefully few prototypes,
49104 which can conflict with char $ac_func (); below.
49105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49106 <limits.h> exists even on freestanding compilers. */
49108 #ifdef __STDC__
49109 # include <limits.h>
49110 #else
49111 # include <assert.h>
49112 #endif
49114 #undef $ac_func
49116 /* Override any gcc2 internal prototype to avoid an error. */
49117 #ifdef __cplusplus
49118 extern "C"
49120 #endif
49121 /* We use char because int might match the return type of a gcc2
49122 builtin and then its argument prototype would still apply. */
49123 char $ac_func ();
49124 /* The GNU C library defines this for functions which it implements
49125 to always fail with ENOSYS. Some functions are actually named
49126 something starting with __ and the normal name is an alias. */
49127 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49128 choke me
49129 #else
49130 char (*f) () = $ac_func;
49131 #endif
49132 #ifdef __cplusplus
49134 #endif
49137 main ()
49139 return f != $ac_func;
49141 return 0;
49143 _ACEOF
49144 rm -f conftest.$ac_objext conftest$ac_exeext
49145 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49146 (eval $ac_link) 2>conftest.er1
49147 ac_status=$?
49148 grep -v '^ *+' conftest.er1 >conftest.err
49149 rm -f conftest.er1
49150 cat conftest.err >&5
49151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49152 (exit $ac_status); } &&
49153 { ac_try='test -z "$ac_c_werror_flag"
49154 || test ! -s conftest.err'
49155 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49156 (eval $ac_try) 2>&5
49157 ac_status=$?
49158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49159 (exit $ac_status); }; } &&
49160 { ac_try='test -s conftest$ac_exeext'
49161 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49162 (eval $ac_try) 2>&5
49163 ac_status=$?
49164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49165 (exit $ac_status); }; }; then
49166 eval "$as_ac_var=yes"
49167 else
49168 echo "$as_me: failed program was:" >&5
49169 sed 's/^/| /' conftest.$ac_ext >&5
49171 eval "$as_ac_var=no"
49173 rm -f conftest.err conftest.$ac_objext \
49174 conftest$ac_exeext conftest.$ac_ext
49176 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49177 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49178 if test `eval echo '${'$as_ac_var'}'` = yes; then
49179 cat >>confdefs.h <<_ACEOF
49180 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49181 _ACEOF
49184 done
49186 else
49188 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
49189 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
49190 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49191 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
49192 echo $ECHO_N "(cached) $ECHO_C" >&6
49193 else
49197 ac_ext=cc
49198 ac_cpp='$CXXCPP $CPPFLAGS'
49199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49203 cat >conftest.$ac_ext <<_ACEOF
49204 /* confdefs.h. */
49205 _ACEOF
49206 cat confdefs.h >>conftest.$ac_ext
49207 cat >>conftest.$ac_ext <<_ACEOF
49208 /* end confdefs.h. */
49209 #include <math.h>
49211 main ()
49213 _ldexpf(0, 0);
49215 return 0;
49217 _ACEOF
49218 rm -f conftest.$ac_objext
49219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49220 (eval $ac_compile) 2>conftest.er1
49221 ac_status=$?
49222 grep -v '^ *+' conftest.er1 >conftest.err
49223 rm -f conftest.er1
49224 cat conftest.err >&5
49225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49226 (exit $ac_status); } &&
49227 { ac_try='test -z "$ac_cxx_werror_flag"
49228 || test ! -s conftest.err'
49229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49230 (eval $ac_try) 2>&5
49231 ac_status=$?
49232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49233 (exit $ac_status); }; } &&
49234 { ac_try='test -s conftest.$ac_objext'
49235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49236 (eval $ac_try) 2>&5
49237 ac_status=$?
49238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49239 (exit $ac_status); }; }; then
49240 glibcxx_cv_func__ldexpf_use=yes
49241 else
49242 echo "$as_me: failed program was:" >&5
49243 sed 's/^/| /' conftest.$ac_ext >&5
49245 glibcxx_cv_func__ldexpf_use=no
49247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49248 ac_ext=c
49249 ac_cpp='$CPP $CPPFLAGS'
49250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49258 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
49259 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
49261 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49263 for ac_func in _ldexpf
49265 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49266 echo "$as_me:$LINENO: checking for $ac_func" >&5
49267 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49268 if eval "test \"\${$as_ac_var+set}\" = set"; then
49269 echo $ECHO_N "(cached) $ECHO_C" >&6
49270 else
49271 if test x$gcc_no_link = xyes; then
49272 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49273 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49274 { (exit 1); exit 1; }; }
49276 cat >conftest.$ac_ext <<_ACEOF
49277 /* confdefs.h. */
49278 _ACEOF
49279 cat confdefs.h >>conftest.$ac_ext
49280 cat >>conftest.$ac_ext <<_ACEOF
49281 /* end confdefs.h. */
49282 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49283 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49284 #define $ac_func innocuous_$ac_func
49286 /* System header to define __stub macros and hopefully few prototypes,
49287 which can conflict with char $ac_func (); below.
49288 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49289 <limits.h> exists even on freestanding compilers. */
49291 #ifdef __STDC__
49292 # include <limits.h>
49293 #else
49294 # include <assert.h>
49295 #endif
49297 #undef $ac_func
49299 /* Override any gcc2 internal prototype to avoid an error. */
49300 #ifdef __cplusplus
49301 extern "C"
49303 #endif
49304 /* We use char because int might match the return type of a gcc2
49305 builtin and then its argument prototype would still apply. */
49306 char $ac_func ();
49307 /* The GNU C library defines this for functions which it implements
49308 to always fail with ENOSYS. Some functions are actually named
49309 something starting with __ and the normal name is an alias. */
49310 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49311 choke me
49312 #else
49313 char (*f) () = $ac_func;
49314 #endif
49315 #ifdef __cplusplus
49317 #endif
49320 main ()
49322 return f != $ac_func;
49324 return 0;
49326 _ACEOF
49327 rm -f conftest.$ac_objext conftest$ac_exeext
49328 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49329 (eval $ac_link) 2>conftest.er1
49330 ac_status=$?
49331 grep -v '^ *+' conftest.er1 >conftest.err
49332 rm -f conftest.er1
49333 cat conftest.err >&5
49334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49335 (exit $ac_status); } &&
49336 { ac_try='test -z "$ac_c_werror_flag"
49337 || test ! -s conftest.err'
49338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49339 (eval $ac_try) 2>&5
49340 ac_status=$?
49341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49342 (exit $ac_status); }; } &&
49343 { ac_try='test -s conftest$ac_exeext'
49344 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49345 (eval $ac_try) 2>&5
49346 ac_status=$?
49347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49348 (exit $ac_status); }; }; then
49349 eval "$as_ac_var=yes"
49350 else
49351 echo "$as_me: failed program was:" >&5
49352 sed 's/^/| /' conftest.$ac_ext >&5
49354 eval "$as_ac_var=no"
49356 rm -f conftest.err conftest.$ac_objext \
49357 conftest$ac_exeext conftest.$ac_ext
49359 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49360 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49361 if test `eval echo '${'$as_ac_var'}'` = yes; then
49362 cat >>confdefs.h <<_ACEOF
49363 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49364 _ACEOF
49367 done
49377 echo "$as_me:$LINENO: checking for logf declaration" >&5
49378 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
49379 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49380 if test "${glibcxx_cv_func_logf_use+set}" = set; then
49381 echo $ECHO_N "(cached) $ECHO_C" >&6
49382 else
49386 ac_ext=cc
49387 ac_cpp='$CXXCPP $CPPFLAGS'
49388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392 cat >conftest.$ac_ext <<_ACEOF
49393 /* confdefs.h. */
49394 _ACEOF
49395 cat confdefs.h >>conftest.$ac_ext
49396 cat >>conftest.$ac_ext <<_ACEOF
49397 /* end confdefs.h. */
49398 #include <math.h>
49399 #ifdef HAVE_IEEEFP_H
49400 #include <ieeefp.h>
49401 #endif
49404 main ()
49406 logf(0);
49408 return 0;
49410 _ACEOF
49411 rm -f conftest.$ac_objext
49412 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49413 (eval $ac_compile) 2>conftest.er1
49414 ac_status=$?
49415 grep -v '^ *+' conftest.er1 >conftest.err
49416 rm -f conftest.er1
49417 cat conftest.err >&5
49418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49419 (exit $ac_status); } &&
49420 { ac_try='test -z "$ac_cxx_werror_flag"
49421 || test ! -s conftest.err'
49422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49423 (eval $ac_try) 2>&5
49424 ac_status=$?
49425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49426 (exit $ac_status); }; } &&
49427 { ac_try='test -s conftest.$ac_objext'
49428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49429 (eval $ac_try) 2>&5
49430 ac_status=$?
49431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49432 (exit $ac_status); }; }; then
49433 glibcxx_cv_func_logf_use=yes
49434 else
49435 echo "$as_me: failed program was:" >&5
49436 sed 's/^/| /' conftest.$ac_ext >&5
49438 glibcxx_cv_func_logf_use=no
49440 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49441 ac_ext=c
49442 ac_cpp='$CPP $CPPFLAGS'
49443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49451 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
49452 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
49454 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49456 for ac_func in logf
49458 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49459 echo "$as_me:$LINENO: checking for $ac_func" >&5
49460 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49461 if eval "test \"\${$as_ac_var+set}\" = set"; then
49462 echo $ECHO_N "(cached) $ECHO_C" >&6
49463 else
49464 if test x$gcc_no_link = xyes; then
49465 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49466 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49467 { (exit 1); exit 1; }; }
49469 cat >conftest.$ac_ext <<_ACEOF
49470 /* confdefs.h. */
49471 _ACEOF
49472 cat confdefs.h >>conftest.$ac_ext
49473 cat >>conftest.$ac_ext <<_ACEOF
49474 /* end confdefs.h. */
49475 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49476 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49477 #define $ac_func innocuous_$ac_func
49479 /* System header to define __stub macros and hopefully few prototypes,
49480 which can conflict with char $ac_func (); below.
49481 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49482 <limits.h> exists even on freestanding compilers. */
49484 #ifdef __STDC__
49485 # include <limits.h>
49486 #else
49487 # include <assert.h>
49488 #endif
49490 #undef $ac_func
49492 /* Override any gcc2 internal prototype to avoid an error. */
49493 #ifdef __cplusplus
49494 extern "C"
49496 #endif
49497 /* We use char because int might match the return type of a gcc2
49498 builtin and then its argument prototype would still apply. */
49499 char $ac_func ();
49500 /* The GNU C library defines this for functions which it implements
49501 to always fail with ENOSYS. Some functions are actually named
49502 something starting with __ and the normal name is an alias. */
49503 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49504 choke me
49505 #else
49506 char (*f) () = $ac_func;
49507 #endif
49508 #ifdef __cplusplus
49510 #endif
49513 main ()
49515 return f != $ac_func;
49517 return 0;
49519 _ACEOF
49520 rm -f conftest.$ac_objext conftest$ac_exeext
49521 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49522 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
49543 else
49544 echo "$as_me: failed program was:" >&5
49545 sed 's/^/| /' conftest.$ac_ext >&5
49547 eval "$as_ac_var=no"
49549 rm -f conftest.err conftest.$ac_objext \
49550 conftest$ac_exeext conftest.$ac_ext
49552 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49553 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49554 if test `eval echo '${'$as_ac_var'}'` = yes; then
49555 cat >>confdefs.h <<_ACEOF
49556 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49557 _ACEOF
49560 done
49562 else
49564 echo "$as_me:$LINENO: checking for _logf declaration" >&5
49565 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
49566 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49567 if test "${glibcxx_cv_func__logf_use+set}" = set; then
49568 echo $ECHO_N "(cached) $ECHO_C" >&6
49569 else
49573 ac_ext=cc
49574 ac_cpp='$CXXCPP $CPPFLAGS'
49575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49579 cat >conftest.$ac_ext <<_ACEOF
49580 /* confdefs.h. */
49581 _ACEOF
49582 cat confdefs.h >>conftest.$ac_ext
49583 cat >>conftest.$ac_ext <<_ACEOF
49584 /* end confdefs.h. */
49585 #include <math.h>
49586 #ifdef HAVE_IEEEFP_H
49587 #include <ieeefp.h>
49588 #endif
49591 main ()
49593 _logf(0);
49595 return 0;
49597 _ACEOF
49598 rm -f conftest.$ac_objext
49599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49600 (eval $ac_compile) 2>conftest.er1
49601 ac_status=$?
49602 grep -v '^ *+' conftest.er1 >conftest.err
49603 rm -f conftest.er1
49604 cat conftest.err >&5
49605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49606 (exit $ac_status); } &&
49607 { ac_try='test -z "$ac_cxx_werror_flag"
49608 || test ! -s conftest.err'
49609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49610 (eval $ac_try) 2>&5
49611 ac_status=$?
49612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49613 (exit $ac_status); }; } &&
49614 { ac_try='test -s conftest.$ac_objext'
49615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49616 (eval $ac_try) 2>&5
49617 ac_status=$?
49618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49619 (exit $ac_status); }; }; then
49620 glibcxx_cv_func__logf_use=yes
49621 else
49622 echo "$as_me: failed program was:" >&5
49623 sed 's/^/| /' conftest.$ac_ext >&5
49625 glibcxx_cv_func__logf_use=no
49627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49628 ac_ext=c
49629 ac_cpp='$CPP $CPPFLAGS'
49630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
49639 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
49641 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49643 for ac_func in _logf
49645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49646 echo "$as_me:$LINENO: checking for $ac_func" >&5
49647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49648 if eval "test \"\${$as_ac_var+set}\" = set"; then
49649 echo $ECHO_N "(cached) $ECHO_C" >&6
49650 else
49651 if test x$gcc_no_link = xyes; then
49652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49654 { (exit 1); exit 1; }; }
49656 cat >conftest.$ac_ext <<_ACEOF
49657 /* confdefs.h. */
49658 _ACEOF
49659 cat confdefs.h >>conftest.$ac_ext
49660 cat >>conftest.$ac_ext <<_ACEOF
49661 /* end confdefs.h. */
49662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49664 #define $ac_func innocuous_$ac_func
49666 /* System header to define __stub macros and hopefully few prototypes,
49667 which can conflict with char $ac_func (); below.
49668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49669 <limits.h> exists even on freestanding compilers. */
49671 #ifdef __STDC__
49672 # include <limits.h>
49673 #else
49674 # include <assert.h>
49675 #endif
49677 #undef $ac_func
49679 /* Override any gcc2 internal prototype to avoid an error. */
49680 #ifdef __cplusplus
49681 extern "C"
49683 #endif
49684 /* We use char because int might match the return type of a gcc2
49685 builtin and then its argument prototype would still apply. */
49686 char $ac_func ();
49687 /* The GNU C library defines this for functions which it implements
49688 to always fail with ENOSYS. Some functions are actually named
49689 something starting with __ and the normal name is an alias. */
49690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49691 choke me
49692 #else
49693 char (*f) () = $ac_func;
49694 #endif
49695 #ifdef __cplusplus
49697 #endif
49700 main ()
49702 return f != $ac_func;
49704 return 0;
49706 _ACEOF
49707 rm -f conftest.$ac_objext conftest$ac_exeext
49708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49709 (eval $ac_link) 2>conftest.er1
49710 ac_status=$?
49711 grep -v '^ *+' conftest.er1 >conftest.err
49712 rm -f conftest.er1
49713 cat conftest.err >&5
49714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49715 (exit $ac_status); } &&
49716 { ac_try='test -z "$ac_c_werror_flag"
49717 || test ! -s conftest.err'
49718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49719 (eval $ac_try) 2>&5
49720 ac_status=$?
49721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49722 (exit $ac_status); }; } &&
49723 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
49729 eval "$as_ac_var=yes"
49730 else
49731 echo "$as_me: failed program was:" >&5
49732 sed 's/^/| /' conftest.$ac_ext >&5
49734 eval "$as_ac_var=no"
49736 rm -f conftest.err conftest.$ac_objext \
49737 conftest$ac_exeext conftest.$ac_ext
49739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49741 if test `eval echo '${'$as_ac_var'}'` = yes; then
49742 cat >>confdefs.h <<_ACEOF
49743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49744 _ACEOF
49747 done
49757 echo "$as_me:$LINENO: checking for log10f declaration" >&5
49758 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
49759 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49760 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
49761 echo $ECHO_N "(cached) $ECHO_C" >&6
49762 else
49766 ac_ext=cc
49767 ac_cpp='$CXXCPP $CPPFLAGS'
49768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49772 cat >conftest.$ac_ext <<_ACEOF
49773 /* confdefs.h. */
49774 _ACEOF
49775 cat confdefs.h >>conftest.$ac_ext
49776 cat >>conftest.$ac_ext <<_ACEOF
49777 /* end confdefs.h. */
49778 #include <math.h>
49779 #ifdef HAVE_IEEEFP_H
49780 #include <ieeefp.h>
49781 #endif
49784 main ()
49786 log10f(0);
49788 return 0;
49790 _ACEOF
49791 rm -f conftest.$ac_objext
49792 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49793 (eval $ac_compile) 2>conftest.er1
49794 ac_status=$?
49795 grep -v '^ *+' conftest.er1 >conftest.err
49796 rm -f conftest.er1
49797 cat conftest.err >&5
49798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49799 (exit $ac_status); } &&
49800 { ac_try='test -z "$ac_cxx_werror_flag"
49801 || test ! -s conftest.err'
49802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49803 (eval $ac_try) 2>&5
49804 ac_status=$?
49805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49806 (exit $ac_status); }; } &&
49807 { ac_try='test -s conftest.$ac_objext'
49808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49809 (eval $ac_try) 2>&5
49810 ac_status=$?
49811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49812 (exit $ac_status); }; }; then
49813 glibcxx_cv_func_log10f_use=yes
49814 else
49815 echo "$as_me: failed program was:" >&5
49816 sed 's/^/| /' conftest.$ac_ext >&5
49818 glibcxx_cv_func_log10f_use=no
49820 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
49821 ac_ext=c
49822 ac_cpp='$CPP $CPPFLAGS'
49823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49831 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
49832 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
49834 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49836 for ac_func in log10f
49838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
49839 echo "$as_me:$LINENO: checking for $ac_func" >&5
49840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
49841 if eval "test \"\${$as_ac_var+set}\" = set"; then
49842 echo $ECHO_N "(cached) $ECHO_C" >&6
49843 else
49844 if test x$gcc_no_link = xyes; then
49845 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
49846 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
49847 { (exit 1); exit 1; }; }
49849 cat >conftest.$ac_ext <<_ACEOF
49850 /* confdefs.h. */
49851 _ACEOF
49852 cat confdefs.h >>conftest.$ac_ext
49853 cat >>conftest.$ac_ext <<_ACEOF
49854 /* end confdefs.h. */
49855 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
49856 For example, HP-UX 11i <limits.h> declares gettimeofday. */
49857 #define $ac_func innocuous_$ac_func
49859 /* System header to define __stub macros and hopefully few prototypes,
49860 which can conflict with char $ac_func (); below.
49861 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
49862 <limits.h> exists even on freestanding compilers. */
49864 #ifdef __STDC__
49865 # include <limits.h>
49866 #else
49867 # include <assert.h>
49868 #endif
49870 #undef $ac_func
49872 /* Override any gcc2 internal prototype to avoid an error. */
49873 #ifdef __cplusplus
49874 extern "C"
49876 #endif
49877 /* We use char because int might match the return type of a gcc2
49878 builtin and then its argument prototype would still apply. */
49879 char $ac_func ();
49880 /* The GNU C library defines this for functions which it implements
49881 to always fail with ENOSYS. Some functions are actually named
49882 something starting with __ and the normal name is an alias. */
49883 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
49884 choke me
49885 #else
49886 char (*f) () = $ac_func;
49887 #endif
49888 #ifdef __cplusplus
49890 #endif
49893 main ()
49895 return f != $ac_func;
49897 return 0;
49899 _ACEOF
49900 rm -f conftest.$ac_objext conftest$ac_exeext
49901 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
49902 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
49923 else
49924 echo "$as_me: failed program was:" >&5
49925 sed 's/^/| /' conftest.$ac_ext >&5
49927 eval "$as_ac_var=no"
49929 rm -f conftest.err conftest.$ac_objext \
49930 conftest$ac_exeext conftest.$ac_ext
49932 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
49933 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
49934 if test `eval echo '${'$as_ac_var'}'` = yes; then
49935 cat >>confdefs.h <<_ACEOF
49936 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
49937 _ACEOF
49940 done
49942 else
49944 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
49945 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
49946 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49947 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
49948 echo $ECHO_N "(cached) $ECHO_C" >&6
49949 else
49953 ac_ext=cc
49954 ac_cpp='$CXXCPP $CPPFLAGS'
49955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49959 cat >conftest.$ac_ext <<_ACEOF
49960 /* confdefs.h. */
49961 _ACEOF
49962 cat confdefs.h >>conftest.$ac_ext
49963 cat >>conftest.$ac_ext <<_ACEOF
49964 /* end confdefs.h. */
49965 #include <math.h>
49966 #ifdef HAVE_IEEEFP_H
49967 #include <ieeefp.h>
49968 #endif
49971 main ()
49973 _log10f(0);
49975 return 0;
49977 _ACEOF
49978 rm -f conftest.$ac_objext
49979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
49980 (eval $ac_compile) 2>conftest.er1
49981 ac_status=$?
49982 grep -v '^ *+' conftest.er1 >conftest.err
49983 rm -f conftest.er1
49984 cat conftest.err >&5
49985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49986 (exit $ac_status); } &&
49987 { ac_try='test -z "$ac_cxx_werror_flag"
49988 || test ! -s conftest.err'
49989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49990 (eval $ac_try) 2>&5
49991 ac_status=$?
49992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49993 (exit $ac_status); }; } &&
49994 { ac_try='test -s conftest.$ac_objext'
49995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
49996 (eval $ac_try) 2>&5
49997 ac_status=$?
49998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49999 (exit $ac_status); }; }; then
50000 glibcxx_cv_func__log10f_use=yes
50001 else
50002 echo "$as_me: failed program was:" >&5
50003 sed 's/^/| /' conftest.$ac_ext >&5
50005 glibcxx_cv_func__log10f_use=no
50007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50008 ac_ext=c
50009 ac_cpp='$CPP $CPPFLAGS'
50010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
50019 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
50021 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50023 for ac_func in _log10f
50025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50026 echo "$as_me:$LINENO: checking for $ac_func" >&5
50027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50028 if eval "test \"\${$as_ac_var+set}\" = set"; then
50029 echo $ECHO_N "(cached) $ECHO_C" >&6
50030 else
50031 if test x$gcc_no_link = xyes; then
50032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50034 { (exit 1); exit 1; }; }
50036 cat >conftest.$ac_ext <<_ACEOF
50037 /* confdefs.h. */
50038 _ACEOF
50039 cat confdefs.h >>conftest.$ac_ext
50040 cat >>conftest.$ac_ext <<_ACEOF
50041 /* end confdefs.h. */
50042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50044 #define $ac_func innocuous_$ac_func
50046 /* System header to define __stub macros and hopefully few prototypes,
50047 which can conflict with char $ac_func (); below.
50048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50049 <limits.h> exists even on freestanding compilers. */
50051 #ifdef __STDC__
50052 # include <limits.h>
50053 #else
50054 # include <assert.h>
50055 #endif
50057 #undef $ac_func
50059 /* Override any gcc2 internal prototype to avoid an error. */
50060 #ifdef __cplusplus
50061 extern "C"
50063 #endif
50064 /* We use char because int might match the return type of a gcc2
50065 builtin and then its argument prototype would still apply. */
50066 char $ac_func ();
50067 /* The GNU C library defines this for functions which it implements
50068 to always fail with ENOSYS. Some functions are actually named
50069 something starting with __ and the normal name is an alias. */
50070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50071 choke me
50072 #else
50073 char (*f) () = $ac_func;
50074 #endif
50075 #ifdef __cplusplus
50077 #endif
50080 main ()
50082 return f != $ac_func;
50084 return 0;
50086 _ACEOF
50087 rm -f conftest.$ac_objext conftest$ac_exeext
50088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50089 (eval $ac_link) 2>conftest.er1
50090 ac_status=$?
50091 grep -v '^ *+' conftest.er1 >conftest.err
50092 rm -f conftest.er1
50093 cat conftest.err >&5
50094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50095 (exit $ac_status); } &&
50096 { ac_try='test -z "$ac_c_werror_flag"
50097 || test ! -s conftest.err'
50098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50099 (eval $ac_try) 2>&5
50100 ac_status=$?
50101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50102 (exit $ac_status); }; } &&
50103 { ac_try='test -s conftest$ac_exeext'
50104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50105 (eval $ac_try) 2>&5
50106 ac_status=$?
50107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50108 (exit $ac_status); }; }; then
50109 eval "$as_ac_var=yes"
50110 else
50111 echo "$as_me: failed program was:" >&5
50112 sed 's/^/| /' conftest.$ac_ext >&5
50114 eval "$as_ac_var=no"
50116 rm -f conftest.err conftest.$ac_objext \
50117 conftest$ac_exeext conftest.$ac_ext
50119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50121 if test `eval echo '${'$as_ac_var'}'` = yes; then
50122 cat >>confdefs.h <<_ACEOF
50123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50124 _ACEOF
50127 done
50137 echo "$as_me:$LINENO: checking for modff declaration" >&5
50138 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
50139 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50140 if test "${glibcxx_cv_func_modff_use+set}" = set; then
50141 echo $ECHO_N "(cached) $ECHO_C" >&6
50142 else
50146 ac_ext=cc
50147 ac_cpp='$CXXCPP $CPPFLAGS'
50148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50152 cat >conftest.$ac_ext <<_ACEOF
50153 /* confdefs.h. */
50154 _ACEOF
50155 cat confdefs.h >>conftest.$ac_ext
50156 cat >>conftest.$ac_ext <<_ACEOF
50157 /* end confdefs.h. */
50158 #include <math.h>
50160 main ()
50162 modff(0, 0);
50164 return 0;
50166 _ACEOF
50167 rm -f conftest.$ac_objext
50168 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50169 (eval $ac_compile) 2>conftest.er1
50170 ac_status=$?
50171 grep -v '^ *+' conftest.er1 >conftest.err
50172 rm -f conftest.er1
50173 cat conftest.err >&5
50174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50175 (exit $ac_status); } &&
50176 { ac_try='test -z "$ac_cxx_werror_flag"
50177 || test ! -s conftest.err'
50178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50179 (eval $ac_try) 2>&5
50180 ac_status=$?
50181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50182 (exit $ac_status); }; } &&
50183 { ac_try='test -s conftest.$ac_objext'
50184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50185 (eval $ac_try) 2>&5
50186 ac_status=$?
50187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50188 (exit $ac_status); }; }; then
50189 glibcxx_cv_func_modff_use=yes
50190 else
50191 echo "$as_me: failed program was:" >&5
50192 sed 's/^/| /' conftest.$ac_ext >&5
50194 glibcxx_cv_func_modff_use=no
50196 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50197 ac_ext=c
50198 ac_cpp='$CPP $CPPFLAGS'
50199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50207 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
50208 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
50210 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50212 for ac_func in modff
50214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50215 echo "$as_me:$LINENO: checking for $ac_func" >&5
50216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50217 if eval "test \"\${$as_ac_var+set}\" = set"; then
50218 echo $ECHO_N "(cached) $ECHO_C" >&6
50219 else
50220 if test x$gcc_no_link = xyes; then
50221 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50222 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50223 { (exit 1); exit 1; }; }
50225 cat >conftest.$ac_ext <<_ACEOF
50226 /* confdefs.h. */
50227 _ACEOF
50228 cat confdefs.h >>conftest.$ac_ext
50229 cat >>conftest.$ac_ext <<_ACEOF
50230 /* end confdefs.h. */
50231 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50232 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50233 #define $ac_func innocuous_$ac_func
50235 /* System header to define __stub macros and hopefully few prototypes,
50236 which can conflict with char $ac_func (); below.
50237 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50238 <limits.h> exists even on freestanding compilers. */
50240 #ifdef __STDC__
50241 # include <limits.h>
50242 #else
50243 # include <assert.h>
50244 #endif
50246 #undef $ac_func
50248 /* Override any gcc2 internal prototype to avoid an error. */
50249 #ifdef __cplusplus
50250 extern "C"
50252 #endif
50253 /* We use char because int might match the return type of a gcc2
50254 builtin and then its argument prototype would still apply. */
50255 char $ac_func ();
50256 /* The GNU C library defines this for functions which it implements
50257 to always fail with ENOSYS. Some functions are actually named
50258 something starting with __ and the normal name is an alias. */
50259 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50260 choke me
50261 #else
50262 char (*f) () = $ac_func;
50263 #endif
50264 #ifdef __cplusplus
50266 #endif
50269 main ()
50271 return f != $ac_func;
50273 return 0;
50275 _ACEOF
50276 rm -f conftest.$ac_objext conftest$ac_exeext
50277 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50278 (eval $ac_link) 2>conftest.er1
50279 ac_status=$?
50280 grep -v '^ *+' conftest.er1 >conftest.err
50281 rm -f conftest.er1
50282 cat conftest.err >&5
50283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50284 (exit $ac_status); } &&
50285 { ac_try='test -z "$ac_c_werror_flag"
50286 || test ! -s conftest.err'
50287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50288 (eval $ac_try) 2>&5
50289 ac_status=$?
50290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50291 (exit $ac_status); }; } &&
50292 { ac_try='test -s conftest$ac_exeext'
50293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50294 (eval $ac_try) 2>&5
50295 ac_status=$?
50296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50297 (exit $ac_status); }; }; then
50298 eval "$as_ac_var=yes"
50299 else
50300 echo "$as_me: failed program was:" >&5
50301 sed 's/^/| /' conftest.$ac_ext >&5
50303 eval "$as_ac_var=no"
50305 rm -f conftest.err conftest.$ac_objext \
50306 conftest$ac_exeext conftest.$ac_ext
50308 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50309 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50310 if test `eval echo '${'$as_ac_var'}'` = yes; then
50311 cat >>confdefs.h <<_ACEOF
50312 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50313 _ACEOF
50316 done
50318 else
50320 echo "$as_me:$LINENO: checking for _modff declaration" >&5
50321 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
50322 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50323 if test "${glibcxx_cv_func__modff_use+set}" = set; then
50324 echo $ECHO_N "(cached) $ECHO_C" >&6
50325 else
50329 ac_ext=cc
50330 ac_cpp='$CXXCPP $CPPFLAGS'
50331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50335 cat >conftest.$ac_ext <<_ACEOF
50336 /* confdefs.h. */
50337 _ACEOF
50338 cat confdefs.h >>conftest.$ac_ext
50339 cat >>conftest.$ac_ext <<_ACEOF
50340 /* end confdefs.h. */
50341 #include <math.h>
50343 main ()
50345 _modff(0, 0);
50347 return 0;
50349 _ACEOF
50350 rm -f conftest.$ac_objext
50351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50352 (eval $ac_compile) 2>conftest.er1
50353 ac_status=$?
50354 grep -v '^ *+' conftest.er1 >conftest.err
50355 rm -f conftest.er1
50356 cat conftest.err >&5
50357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50358 (exit $ac_status); } &&
50359 { ac_try='test -z "$ac_cxx_werror_flag"
50360 || test ! -s conftest.err'
50361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50362 (eval $ac_try) 2>&5
50363 ac_status=$?
50364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50365 (exit $ac_status); }; } &&
50366 { ac_try='test -s conftest.$ac_objext'
50367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50368 (eval $ac_try) 2>&5
50369 ac_status=$?
50370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50371 (exit $ac_status); }; }; then
50372 glibcxx_cv_func__modff_use=yes
50373 else
50374 echo "$as_me: failed program was:" >&5
50375 sed 's/^/| /' conftest.$ac_ext >&5
50377 glibcxx_cv_func__modff_use=no
50379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50380 ac_ext=c
50381 ac_cpp='$CPP $CPPFLAGS'
50382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50390 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
50391 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
50393 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50395 for ac_func in _modff
50397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50398 echo "$as_me:$LINENO: checking for $ac_func" >&5
50399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50400 if eval "test \"\${$as_ac_var+set}\" = set"; then
50401 echo $ECHO_N "(cached) $ECHO_C" >&6
50402 else
50403 if test x$gcc_no_link = xyes; then
50404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50406 { (exit 1); exit 1; }; }
50408 cat >conftest.$ac_ext <<_ACEOF
50409 /* confdefs.h. */
50410 _ACEOF
50411 cat confdefs.h >>conftest.$ac_ext
50412 cat >>conftest.$ac_ext <<_ACEOF
50413 /* end confdefs.h. */
50414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50416 #define $ac_func innocuous_$ac_func
50418 /* System header to define __stub macros and hopefully few prototypes,
50419 which can conflict with char $ac_func (); below.
50420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50421 <limits.h> exists even on freestanding compilers. */
50423 #ifdef __STDC__
50424 # include <limits.h>
50425 #else
50426 # include <assert.h>
50427 #endif
50429 #undef $ac_func
50431 /* Override any gcc2 internal prototype to avoid an error. */
50432 #ifdef __cplusplus
50433 extern "C"
50435 #endif
50436 /* We use char because int might match the return type of a gcc2
50437 builtin and then its argument prototype would still apply. */
50438 char $ac_func ();
50439 /* The GNU C library defines this for functions which it implements
50440 to always fail with ENOSYS. Some functions are actually named
50441 something starting with __ and the normal name is an alias. */
50442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50443 choke me
50444 #else
50445 char (*f) () = $ac_func;
50446 #endif
50447 #ifdef __cplusplus
50449 #endif
50452 main ()
50454 return f != $ac_func;
50456 return 0;
50458 _ACEOF
50459 rm -f conftest.$ac_objext conftest$ac_exeext
50460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50461 (eval $ac_link) 2>conftest.er1
50462 ac_status=$?
50463 grep -v '^ *+' conftest.er1 >conftest.err
50464 rm -f conftest.er1
50465 cat conftest.err >&5
50466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50467 (exit $ac_status); } &&
50468 { ac_try='test -z "$ac_c_werror_flag"
50469 || test ! -s conftest.err'
50470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50471 (eval $ac_try) 2>&5
50472 ac_status=$?
50473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50474 (exit $ac_status); }; } &&
50475 { ac_try='test -s conftest$ac_exeext'
50476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50477 (eval $ac_try) 2>&5
50478 ac_status=$?
50479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50480 (exit $ac_status); }; }; then
50481 eval "$as_ac_var=yes"
50482 else
50483 echo "$as_me: failed program was:" >&5
50484 sed 's/^/| /' conftest.$ac_ext >&5
50486 eval "$as_ac_var=no"
50488 rm -f conftest.err conftest.$ac_objext \
50489 conftest$ac_exeext conftest.$ac_ext
50491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50493 if test `eval echo '${'$as_ac_var'}'` = yes; then
50494 cat >>confdefs.h <<_ACEOF
50495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50496 _ACEOF
50499 done
50509 echo "$as_me:$LINENO: checking for modf declaration" >&5
50510 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
50511 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50512 if test "${glibcxx_cv_func_modf_use+set}" = set; then
50513 echo $ECHO_N "(cached) $ECHO_C" >&6
50514 else
50518 ac_ext=cc
50519 ac_cpp='$CXXCPP $CPPFLAGS'
50520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50524 cat >conftest.$ac_ext <<_ACEOF
50525 /* confdefs.h. */
50526 _ACEOF
50527 cat confdefs.h >>conftest.$ac_ext
50528 cat >>conftest.$ac_ext <<_ACEOF
50529 /* end confdefs.h. */
50530 #include <math.h>
50532 main ()
50534 modf(0, 0);
50536 return 0;
50538 _ACEOF
50539 rm -f conftest.$ac_objext
50540 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50541 (eval $ac_compile) 2>conftest.er1
50542 ac_status=$?
50543 grep -v '^ *+' conftest.er1 >conftest.err
50544 rm -f conftest.er1
50545 cat conftest.err >&5
50546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50547 (exit $ac_status); } &&
50548 { ac_try='test -z "$ac_cxx_werror_flag"
50549 || test ! -s conftest.err'
50550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50551 (eval $ac_try) 2>&5
50552 ac_status=$?
50553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50554 (exit $ac_status); }; } &&
50555 { ac_try='test -s conftest.$ac_objext'
50556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50557 (eval $ac_try) 2>&5
50558 ac_status=$?
50559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50560 (exit $ac_status); }; }; then
50561 glibcxx_cv_func_modf_use=yes
50562 else
50563 echo "$as_me: failed program was:" >&5
50564 sed 's/^/| /' conftest.$ac_ext >&5
50566 glibcxx_cv_func_modf_use=no
50568 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50569 ac_ext=c
50570 ac_cpp='$CPP $CPPFLAGS'
50571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50579 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
50580 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
50582 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50584 for ac_func in modf
50586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50587 echo "$as_me:$LINENO: checking for $ac_func" >&5
50588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50589 if eval "test \"\${$as_ac_var+set}\" = set"; then
50590 echo $ECHO_N "(cached) $ECHO_C" >&6
50591 else
50592 if test x$gcc_no_link = xyes; then
50593 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50594 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50595 { (exit 1); exit 1; }; }
50597 cat >conftest.$ac_ext <<_ACEOF
50598 /* confdefs.h. */
50599 _ACEOF
50600 cat confdefs.h >>conftest.$ac_ext
50601 cat >>conftest.$ac_ext <<_ACEOF
50602 /* end confdefs.h. */
50603 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50604 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50605 #define $ac_func innocuous_$ac_func
50607 /* System header to define __stub macros and hopefully few prototypes,
50608 which can conflict with char $ac_func (); below.
50609 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50610 <limits.h> exists even on freestanding compilers. */
50612 #ifdef __STDC__
50613 # include <limits.h>
50614 #else
50615 # include <assert.h>
50616 #endif
50618 #undef $ac_func
50620 /* Override any gcc2 internal prototype to avoid an error. */
50621 #ifdef __cplusplus
50622 extern "C"
50624 #endif
50625 /* We use char because int might match the return type of a gcc2
50626 builtin and then its argument prototype would still apply. */
50627 char $ac_func ();
50628 /* The GNU C library defines this for functions which it implements
50629 to always fail with ENOSYS. Some functions are actually named
50630 something starting with __ and the normal name is an alias. */
50631 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50632 choke me
50633 #else
50634 char (*f) () = $ac_func;
50635 #endif
50636 #ifdef __cplusplus
50638 #endif
50641 main ()
50643 return f != $ac_func;
50645 return 0;
50647 _ACEOF
50648 rm -f conftest.$ac_objext conftest$ac_exeext
50649 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50650 (eval $ac_link) 2>conftest.er1
50651 ac_status=$?
50652 grep -v '^ *+' conftest.er1 >conftest.err
50653 rm -f conftest.er1
50654 cat conftest.err >&5
50655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50656 (exit $ac_status); } &&
50657 { ac_try='test -z "$ac_c_werror_flag"
50658 || test ! -s conftest.err'
50659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50660 (eval $ac_try) 2>&5
50661 ac_status=$?
50662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50663 (exit $ac_status); }; } &&
50664 { ac_try='test -s conftest$ac_exeext'
50665 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50666 (eval $ac_try) 2>&5
50667 ac_status=$?
50668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50669 (exit $ac_status); }; }; then
50670 eval "$as_ac_var=yes"
50671 else
50672 echo "$as_me: failed program was:" >&5
50673 sed 's/^/| /' conftest.$ac_ext >&5
50675 eval "$as_ac_var=no"
50677 rm -f conftest.err conftest.$ac_objext \
50678 conftest$ac_exeext conftest.$ac_ext
50680 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50681 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50682 if test `eval echo '${'$as_ac_var'}'` = yes; then
50683 cat >>confdefs.h <<_ACEOF
50684 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50685 _ACEOF
50688 done
50690 else
50692 echo "$as_me:$LINENO: checking for _modf declaration" >&5
50693 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
50694 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50695 if test "${glibcxx_cv_func__modf_use+set}" = set; then
50696 echo $ECHO_N "(cached) $ECHO_C" >&6
50697 else
50701 ac_ext=cc
50702 ac_cpp='$CXXCPP $CPPFLAGS'
50703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50707 cat >conftest.$ac_ext <<_ACEOF
50708 /* confdefs.h. */
50709 _ACEOF
50710 cat confdefs.h >>conftest.$ac_ext
50711 cat >>conftest.$ac_ext <<_ACEOF
50712 /* end confdefs.h. */
50713 #include <math.h>
50715 main ()
50717 _modf(0, 0);
50719 return 0;
50721 _ACEOF
50722 rm -f conftest.$ac_objext
50723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50724 (eval $ac_compile) 2>conftest.er1
50725 ac_status=$?
50726 grep -v '^ *+' conftest.er1 >conftest.err
50727 rm -f conftest.er1
50728 cat conftest.err >&5
50729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50730 (exit $ac_status); } &&
50731 { ac_try='test -z "$ac_cxx_werror_flag"
50732 || test ! -s conftest.err'
50733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50734 (eval $ac_try) 2>&5
50735 ac_status=$?
50736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50737 (exit $ac_status); }; } &&
50738 { ac_try='test -s conftest.$ac_objext'
50739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50740 (eval $ac_try) 2>&5
50741 ac_status=$?
50742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50743 (exit $ac_status); }; }; then
50744 glibcxx_cv_func__modf_use=yes
50745 else
50746 echo "$as_me: failed program was:" >&5
50747 sed 's/^/| /' conftest.$ac_ext >&5
50749 glibcxx_cv_func__modf_use=no
50751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50752 ac_ext=c
50753 ac_cpp='$CPP $CPPFLAGS'
50754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50762 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
50763 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
50765 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50767 for ac_func in _modf
50769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50770 echo "$as_me:$LINENO: checking for $ac_func" >&5
50771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50772 if eval "test \"\${$as_ac_var+set}\" = set"; then
50773 echo $ECHO_N "(cached) $ECHO_C" >&6
50774 else
50775 if test x$gcc_no_link = xyes; then
50776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50778 { (exit 1); exit 1; }; }
50780 cat >conftest.$ac_ext <<_ACEOF
50781 /* confdefs.h. */
50782 _ACEOF
50783 cat confdefs.h >>conftest.$ac_ext
50784 cat >>conftest.$ac_ext <<_ACEOF
50785 /* end confdefs.h. */
50786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50788 #define $ac_func innocuous_$ac_func
50790 /* System header to define __stub macros and hopefully few prototypes,
50791 which can conflict with char $ac_func (); below.
50792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50793 <limits.h> exists even on freestanding compilers. */
50795 #ifdef __STDC__
50796 # include <limits.h>
50797 #else
50798 # include <assert.h>
50799 #endif
50801 #undef $ac_func
50803 /* Override any gcc2 internal prototype to avoid an error. */
50804 #ifdef __cplusplus
50805 extern "C"
50807 #endif
50808 /* We use char because int might match the return type of a gcc2
50809 builtin and then its argument prototype would still apply. */
50810 char $ac_func ();
50811 /* The GNU C library defines this for functions which it implements
50812 to always fail with ENOSYS. Some functions are actually named
50813 something starting with __ and the normal name is an alias. */
50814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
50815 choke me
50816 #else
50817 char (*f) () = $ac_func;
50818 #endif
50819 #ifdef __cplusplus
50821 #endif
50824 main ()
50826 return f != $ac_func;
50828 return 0;
50830 _ACEOF
50831 rm -f conftest.$ac_objext conftest$ac_exeext
50832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
50833 (eval $ac_link) 2>conftest.er1
50834 ac_status=$?
50835 grep -v '^ *+' conftest.er1 >conftest.err
50836 rm -f conftest.er1
50837 cat conftest.err >&5
50838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50839 (exit $ac_status); } &&
50840 { ac_try='test -z "$ac_c_werror_flag"
50841 || test ! -s conftest.err'
50842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50843 (eval $ac_try) 2>&5
50844 ac_status=$?
50845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50846 (exit $ac_status); }; } &&
50847 { ac_try='test -s conftest$ac_exeext'
50848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50849 (eval $ac_try) 2>&5
50850 ac_status=$?
50851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50852 (exit $ac_status); }; }; then
50853 eval "$as_ac_var=yes"
50854 else
50855 echo "$as_me: failed program was:" >&5
50856 sed 's/^/| /' conftest.$ac_ext >&5
50858 eval "$as_ac_var=no"
50860 rm -f conftest.err conftest.$ac_objext \
50861 conftest$ac_exeext conftest.$ac_ext
50863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
50864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
50865 if test `eval echo '${'$as_ac_var'}'` = yes; then
50866 cat >>confdefs.h <<_ACEOF
50867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
50868 _ACEOF
50871 done
50881 echo "$as_me:$LINENO: checking for powf declaration" >&5
50882 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
50883 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50884 if test "${glibcxx_cv_func_powf_use+set}" = set; then
50885 echo $ECHO_N "(cached) $ECHO_C" >&6
50886 else
50890 ac_ext=cc
50891 ac_cpp='$CXXCPP $CPPFLAGS'
50892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50896 cat >conftest.$ac_ext <<_ACEOF
50897 /* confdefs.h. */
50898 _ACEOF
50899 cat confdefs.h >>conftest.$ac_ext
50900 cat >>conftest.$ac_ext <<_ACEOF
50901 /* end confdefs.h. */
50902 #include <math.h>
50904 main ()
50906 powf(0, 0);
50908 return 0;
50910 _ACEOF
50911 rm -f conftest.$ac_objext
50912 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
50913 (eval $ac_compile) 2>conftest.er1
50914 ac_status=$?
50915 grep -v '^ *+' conftest.er1 >conftest.err
50916 rm -f conftest.er1
50917 cat conftest.err >&5
50918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50919 (exit $ac_status); } &&
50920 { ac_try='test -z "$ac_cxx_werror_flag"
50921 || test ! -s conftest.err'
50922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50923 (eval $ac_try) 2>&5
50924 ac_status=$?
50925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50926 (exit $ac_status); }; } &&
50927 { ac_try='test -s conftest.$ac_objext'
50928 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
50929 (eval $ac_try) 2>&5
50930 ac_status=$?
50931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
50932 (exit $ac_status); }; }; then
50933 glibcxx_cv_func_powf_use=yes
50934 else
50935 echo "$as_me: failed program was:" >&5
50936 sed 's/^/| /' conftest.$ac_ext >&5
50938 glibcxx_cv_func_powf_use=no
50940 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
50941 ac_ext=c
50942 ac_cpp='$CPP $CPPFLAGS'
50943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50951 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
50952 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
50954 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50956 for ac_func in powf
50958 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
50959 echo "$as_me:$LINENO: checking for $ac_func" >&5
50960 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
50961 if eval "test \"\${$as_ac_var+set}\" = set"; then
50962 echo $ECHO_N "(cached) $ECHO_C" >&6
50963 else
50964 if test x$gcc_no_link = xyes; then
50965 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
50966 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
50967 { (exit 1); exit 1; }; }
50969 cat >conftest.$ac_ext <<_ACEOF
50970 /* confdefs.h. */
50971 _ACEOF
50972 cat confdefs.h >>conftest.$ac_ext
50973 cat >>conftest.$ac_ext <<_ACEOF
50974 /* end confdefs.h. */
50975 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
50976 For example, HP-UX 11i <limits.h> declares gettimeofday. */
50977 #define $ac_func innocuous_$ac_func
50979 /* System header to define __stub macros and hopefully few prototypes,
50980 which can conflict with char $ac_func (); below.
50981 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
50982 <limits.h> exists even on freestanding compilers. */
50984 #ifdef __STDC__
50985 # include <limits.h>
50986 #else
50987 # include <assert.h>
50988 #endif
50990 #undef $ac_func
50992 /* Override any gcc2 internal prototype to avoid an error. */
50993 #ifdef __cplusplus
50994 extern "C"
50996 #endif
50997 /* We use char because int might match the return type of a gcc2
50998 builtin and then its argument prototype would still apply. */
50999 char $ac_func ();
51000 /* The GNU C library defines this for functions which it implements
51001 to always fail with ENOSYS. Some functions are actually named
51002 something starting with __ and the normal name is an alias. */
51003 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51004 choke me
51005 #else
51006 char (*f) () = $ac_func;
51007 #endif
51008 #ifdef __cplusplus
51010 #endif
51013 main ()
51015 return f != $ac_func;
51017 return 0;
51019 _ACEOF
51020 rm -f conftest.$ac_objext conftest$ac_exeext
51021 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51022 (eval $ac_link) 2>conftest.er1
51023 ac_status=$?
51024 grep -v '^ *+' conftest.er1 >conftest.err
51025 rm -f conftest.er1
51026 cat conftest.err >&5
51027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51028 (exit $ac_status); } &&
51029 { ac_try='test -z "$ac_c_werror_flag"
51030 || test ! -s conftest.err'
51031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51032 (eval $ac_try) 2>&5
51033 ac_status=$?
51034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51035 (exit $ac_status); }; } &&
51036 { ac_try='test -s conftest$ac_exeext'
51037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51038 (eval $ac_try) 2>&5
51039 ac_status=$?
51040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51041 (exit $ac_status); }; }; then
51042 eval "$as_ac_var=yes"
51043 else
51044 echo "$as_me: failed program was:" >&5
51045 sed 's/^/| /' conftest.$ac_ext >&5
51047 eval "$as_ac_var=no"
51049 rm -f conftest.err conftest.$ac_objext \
51050 conftest$ac_exeext conftest.$ac_ext
51052 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51053 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51054 if test `eval echo '${'$as_ac_var'}'` = yes; then
51055 cat >>confdefs.h <<_ACEOF
51056 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51057 _ACEOF
51060 done
51062 else
51064 echo "$as_me:$LINENO: checking for _powf declaration" >&5
51065 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
51066 if test x${glibcxx_cv_func__powf_use+set} != xset; then
51067 if test "${glibcxx_cv_func__powf_use+set}" = set; then
51068 echo $ECHO_N "(cached) $ECHO_C" >&6
51069 else
51073 ac_ext=cc
51074 ac_cpp='$CXXCPP $CPPFLAGS'
51075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51079 cat >conftest.$ac_ext <<_ACEOF
51080 /* confdefs.h. */
51081 _ACEOF
51082 cat confdefs.h >>conftest.$ac_ext
51083 cat >>conftest.$ac_ext <<_ACEOF
51084 /* end confdefs.h. */
51085 #include <math.h>
51087 main ()
51089 _powf(0, 0);
51091 return 0;
51093 _ACEOF
51094 rm -f conftest.$ac_objext
51095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51096 (eval $ac_compile) 2>conftest.er1
51097 ac_status=$?
51098 grep -v '^ *+' conftest.er1 >conftest.err
51099 rm -f conftest.er1
51100 cat conftest.err >&5
51101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51102 (exit $ac_status); } &&
51103 { ac_try='test -z "$ac_cxx_werror_flag"
51104 || test ! -s conftest.err'
51105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51106 (eval $ac_try) 2>&5
51107 ac_status=$?
51108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51109 (exit $ac_status); }; } &&
51110 { ac_try='test -s conftest.$ac_objext'
51111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51112 (eval $ac_try) 2>&5
51113 ac_status=$?
51114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51115 (exit $ac_status); }; }; then
51116 glibcxx_cv_func__powf_use=yes
51117 else
51118 echo "$as_me: failed program was:" >&5
51119 sed 's/^/| /' conftest.$ac_ext >&5
51121 glibcxx_cv_func__powf_use=no
51123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51124 ac_ext=c
51125 ac_cpp='$CPP $CPPFLAGS'
51126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51134 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
51135 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
51137 if test x$glibcxx_cv_func__powf_use = x"yes"; then
51139 for ac_func in _powf
51141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51142 echo "$as_me:$LINENO: checking for $ac_func" >&5
51143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51144 if eval "test \"\${$as_ac_var+set}\" = set"; then
51145 echo $ECHO_N "(cached) $ECHO_C" >&6
51146 else
51147 if test x$gcc_no_link = xyes; then
51148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51150 { (exit 1); exit 1; }; }
51152 cat >conftest.$ac_ext <<_ACEOF
51153 /* confdefs.h. */
51154 _ACEOF
51155 cat confdefs.h >>conftest.$ac_ext
51156 cat >>conftest.$ac_ext <<_ACEOF
51157 /* end confdefs.h. */
51158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51160 #define $ac_func innocuous_$ac_func
51162 /* System header to define __stub macros and hopefully few prototypes,
51163 which can conflict with char $ac_func (); below.
51164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51165 <limits.h> exists even on freestanding compilers. */
51167 #ifdef __STDC__
51168 # include <limits.h>
51169 #else
51170 # include <assert.h>
51171 #endif
51173 #undef $ac_func
51175 /* Override any gcc2 internal prototype to avoid an error. */
51176 #ifdef __cplusplus
51177 extern "C"
51179 #endif
51180 /* We use char because int might match the return type of a gcc2
51181 builtin and then its argument prototype would still apply. */
51182 char $ac_func ();
51183 /* The GNU C library defines this for functions which it implements
51184 to always fail with ENOSYS. Some functions are actually named
51185 something starting with __ and the normal name is an alias. */
51186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51187 choke me
51188 #else
51189 char (*f) () = $ac_func;
51190 #endif
51191 #ifdef __cplusplus
51193 #endif
51196 main ()
51198 return f != $ac_func;
51200 return 0;
51202 _ACEOF
51203 rm -f conftest.$ac_objext conftest$ac_exeext
51204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51205 (eval $ac_link) 2>conftest.er1
51206 ac_status=$?
51207 grep -v '^ *+' conftest.er1 >conftest.err
51208 rm -f conftest.er1
51209 cat conftest.err >&5
51210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51211 (exit $ac_status); } &&
51212 { ac_try='test -z "$ac_c_werror_flag"
51213 || test ! -s conftest.err'
51214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51215 (eval $ac_try) 2>&5
51216 ac_status=$?
51217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51218 (exit $ac_status); }; } &&
51219 { ac_try='test -s conftest$ac_exeext'
51220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51221 (eval $ac_try) 2>&5
51222 ac_status=$?
51223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51224 (exit $ac_status); }; }; then
51225 eval "$as_ac_var=yes"
51226 else
51227 echo "$as_me: failed program was:" >&5
51228 sed 's/^/| /' conftest.$ac_ext >&5
51230 eval "$as_ac_var=no"
51232 rm -f conftest.err conftest.$ac_objext \
51233 conftest$ac_exeext conftest.$ac_ext
51235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51237 if test `eval echo '${'$as_ac_var'}'` = yes; then
51238 cat >>confdefs.h <<_ACEOF
51239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51240 _ACEOF
51243 done
51253 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
51254 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
51255 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
51256 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
51257 echo $ECHO_N "(cached) $ECHO_C" >&6
51258 else
51262 ac_ext=cc
51263 ac_cpp='$CXXCPP $CPPFLAGS'
51264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51268 cat >conftest.$ac_ext <<_ACEOF
51269 /* confdefs.h. */
51270 _ACEOF
51271 cat confdefs.h >>conftest.$ac_ext
51272 cat >>conftest.$ac_ext <<_ACEOF
51273 /* end confdefs.h. */
51274 #include <math.h>
51275 #ifdef HAVE_IEEEFP_H
51276 #include <ieeefp.h>
51277 #endif
51280 main ()
51282 sqrtf(0);
51284 return 0;
51286 _ACEOF
51287 rm -f conftest.$ac_objext
51288 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51289 (eval $ac_compile) 2>conftest.er1
51290 ac_status=$?
51291 grep -v '^ *+' conftest.er1 >conftest.err
51292 rm -f conftest.er1
51293 cat conftest.err >&5
51294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51295 (exit $ac_status); } &&
51296 { ac_try='test -z "$ac_cxx_werror_flag"
51297 || test ! -s conftest.err'
51298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51299 (eval $ac_try) 2>&5
51300 ac_status=$?
51301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51302 (exit $ac_status); }; } &&
51303 { ac_try='test -s conftest.$ac_objext'
51304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51305 (eval $ac_try) 2>&5
51306 ac_status=$?
51307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51308 (exit $ac_status); }; }; then
51309 glibcxx_cv_func_sqrtf_use=yes
51310 else
51311 echo "$as_me: failed program was:" >&5
51312 sed 's/^/| /' conftest.$ac_ext >&5
51314 glibcxx_cv_func_sqrtf_use=no
51316 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51317 ac_ext=c
51318 ac_cpp='$CPP $CPPFLAGS'
51319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51327 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
51328 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
51330 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
51332 for ac_func in sqrtf
51334 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51335 echo "$as_me:$LINENO: checking for $ac_func" >&5
51336 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51337 if eval "test \"\${$as_ac_var+set}\" = set"; then
51338 echo $ECHO_N "(cached) $ECHO_C" >&6
51339 else
51340 if test x$gcc_no_link = xyes; then
51341 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51342 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51343 { (exit 1); exit 1; }; }
51345 cat >conftest.$ac_ext <<_ACEOF
51346 /* confdefs.h. */
51347 _ACEOF
51348 cat confdefs.h >>conftest.$ac_ext
51349 cat >>conftest.$ac_ext <<_ACEOF
51350 /* end confdefs.h. */
51351 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51352 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51353 #define $ac_func innocuous_$ac_func
51355 /* System header to define __stub macros and hopefully few prototypes,
51356 which can conflict with char $ac_func (); below.
51357 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51358 <limits.h> exists even on freestanding compilers. */
51360 #ifdef __STDC__
51361 # include <limits.h>
51362 #else
51363 # include <assert.h>
51364 #endif
51366 #undef $ac_func
51368 /* Override any gcc2 internal prototype to avoid an error. */
51369 #ifdef __cplusplus
51370 extern "C"
51372 #endif
51373 /* We use char because int might match the return type of a gcc2
51374 builtin and then its argument prototype would still apply. */
51375 char $ac_func ();
51376 /* The GNU C library defines this for functions which it implements
51377 to always fail with ENOSYS. Some functions are actually named
51378 something starting with __ and the normal name is an alias. */
51379 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51380 choke me
51381 #else
51382 char (*f) () = $ac_func;
51383 #endif
51384 #ifdef __cplusplus
51386 #endif
51389 main ()
51391 return f != $ac_func;
51393 return 0;
51395 _ACEOF
51396 rm -f conftest.$ac_objext conftest$ac_exeext
51397 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51398 (eval $ac_link) 2>conftest.er1
51399 ac_status=$?
51400 grep -v '^ *+' conftest.er1 >conftest.err
51401 rm -f conftest.er1
51402 cat conftest.err >&5
51403 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51404 (exit $ac_status); } &&
51405 { ac_try='test -z "$ac_c_werror_flag"
51406 || test ! -s conftest.err'
51407 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51408 (eval $ac_try) 2>&5
51409 ac_status=$?
51410 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51411 (exit $ac_status); }; } &&
51412 { ac_try='test -s conftest$ac_exeext'
51413 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51414 (eval $ac_try) 2>&5
51415 ac_status=$?
51416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51417 (exit $ac_status); }; }; then
51418 eval "$as_ac_var=yes"
51419 else
51420 echo "$as_me: failed program was:" >&5
51421 sed 's/^/| /' conftest.$ac_ext >&5
51423 eval "$as_ac_var=no"
51425 rm -f conftest.err conftest.$ac_objext \
51426 conftest$ac_exeext conftest.$ac_ext
51428 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51429 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51430 if test `eval echo '${'$as_ac_var'}'` = yes; then
51431 cat >>confdefs.h <<_ACEOF
51432 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51433 _ACEOF
51436 done
51438 else
51440 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
51441 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
51442 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51443 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
51444 echo $ECHO_N "(cached) $ECHO_C" >&6
51445 else
51449 ac_ext=cc
51450 ac_cpp='$CXXCPP $CPPFLAGS'
51451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51455 cat >conftest.$ac_ext <<_ACEOF
51456 /* confdefs.h. */
51457 _ACEOF
51458 cat confdefs.h >>conftest.$ac_ext
51459 cat >>conftest.$ac_ext <<_ACEOF
51460 /* end confdefs.h. */
51461 #include <math.h>
51462 #ifdef HAVE_IEEEFP_H
51463 #include <ieeefp.h>
51464 #endif
51467 main ()
51469 _sqrtf(0);
51471 return 0;
51473 _ACEOF
51474 rm -f conftest.$ac_objext
51475 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51476 (eval $ac_compile) 2>conftest.er1
51477 ac_status=$?
51478 grep -v '^ *+' conftest.er1 >conftest.err
51479 rm -f conftest.er1
51480 cat conftest.err >&5
51481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51482 (exit $ac_status); } &&
51483 { ac_try='test -z "$ac_cxx_werror_flag"
51484 || test ! -s conftest.err'
51485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51486 (eval $ac_try) 2>&5
51487 ac_status=$?
51488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51489 (exit $ac_status); }; } &&
51490 { ac_try='test -s conftest.$ac_objext'
51491 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51492 (eval $ac_try) 2>&5
51493 ac_status=$?
51494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51495 (exit $ac_status); }; }; then
51496 glibcxx_cv_func__sqrtf_use=yes
51497 else
51498 echo "$as_me: failed program was:" >&5
51499 sed 's/^/| /' conftest.$ac_ext >&5
51501 glibcxx_cv_func__sqrtf_use=no
51503 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51504 ac_ext=c
51505 ac_cpp='$CPP $CPPFLAGS'
51506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51514 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
51515 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
51517 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51519 for ac_func in _sqrtf
51521 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51522 echo "$as_me:$LINENO: checking for $ac_func" >&5
51523 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51524 if eval "test \"\${$as_ac_var+set}\" = set"; then
51525 echo $ECHO_N "(cached) $ECHO_C" >&6
51526 else
51527 if test x$gcc_no_link = xyes; then
51528 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51529 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51530 { (exit 1); exit 1; }; }
51532 cat >conftest.$ac_ext <<_ACEOF
51533 /* confdefs.h. */
51534 _ACEOF
51535 cat confdefs.h >>conftest.$ac_ext
51536 cat >>conftest.$ac_ext <<_ACEOF
51537 /* end confdefs.h. */
51538 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51539 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51540 #define $ac_func innocuous_$ac_func
51542 /* System header to define __stub macros and hopefully few prototypes,
51543 which can conflict with char $ac_func (); below.
51544 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51545 <limits.h> exists even on freestanding compilers. */
51547 #ifdef __STDC__
51548 # include <limits.h>
51549 #else
51550 # include <assert.h>
51551 #endif
51553 #undef $ac_func
51555 /* Override any gcc2 internal prototype to avoid an error. */
51556 #ifdef __cplusplus
51557 extern "C"
51559 #endif
51560 /* We use char because int might match the return type of a gcc2
51561 builtin and then its argument prototype would still apply. */
51562 char $ac_func ();
51563 /* The GNU C library defines this for functions which it implements
51564 to always fail with ENOSYS. Some functions are actually named
51565 something starting with __ and the normal name is an alias. */
51566 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51567 choke me
51568 #else
51569 char (*f) () = $ac_func;
51570 #endif
51571 #ifdef __cplusplus
51573 #endif
51576 main ()
51578 return f != $ac_func;
51580 return 0;
51582 _ACEOF
51583 rm -f conftest.$ac_objext conftest$ac_exeext
51584 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51585 (eval $ac_link) 2>conftest.er1
51586 ac_status=$?
51587 grep -v '^ *+' conftest.er1 >conftest.err
51588 rm -f conftest.er1
51589 cat conftest.err >&5
51590 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51591 (exit $ac_status); } &&
51592 { ac_try='test -z "$ac_c_werror_flag"
51593 || test ! -s conftest.err'
51594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51595 (eval $ac_try) 2>&5
51596 ac_status=$?
51597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51598 (exit $ac_status); }; } &&
51599 { ac_try='test -s conftest$ac_exeext'
51600 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51601 (eval $ac_try) 2>&5
51602 ac_status=$?
51603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51604 (exit $ac_status); }; }; then
51605 eval "$as_ac_var=yes"
51606 else
51607 echo "$as_me: failed program was:" >&5
51608 sed 's/^/| /' conftest.$ac_ext >&5
51610 eval "$as_ac_var=no"
51612 rm -f conftest.err conftest.$ac_objext \
51613 conftest$ac_exeext conftest.$ac_ext
51615 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51616 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51617 if test `eval echo '${'$as_ac_var'}'` = yes; then
51618 cat >>confdefs.h <<_ACEOF
51619 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51620 _ACEOF
51623 done
51633 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
51634 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
51635 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51636 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
51637 echo $ECHO_N "(cached) $ECHO_C" >&6
51638 else
51642 ac_ext=cc
51643 ac_cpp='$CXXCPP $CPPFLAGS'
51644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51648 cat >conftest.$ac_ext <<_ACEOF
51649 /* confdefs.h. */
51650 _ACEOF
51651 cat confdefs.h >>conftest.$ac_ext
51652 cat >>conftest.$ac_ext <<_ACEOF
51653 /* end confdefs.h. */
51654 #include <math.h>
51656 main ()
51658 sincosf(0, 0, 0);
51660 return 0;
51662 _ACEOF
51663 rm -f conftest.$ac_objext
51664 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51665 (eval $ac_compile) 2>conftest.er1
51666 ac_status=$?
51667 grep -v '^ *+' conftest.er1 >conftest.err
51668 rm -f conftest.er1
51669 cat conftest.err >&5
51670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51671 (exit $ac_status); } &&
51672 { ac_try='test -z "$ac_cxx_werror_flag"
51673 || test ! -s conftest.err'
51674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51675 (eval $ac_try) 2>&5
51676 ac_status=$?
51677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51678 (exit $ac_status); }; } &&
51679 { ac_try='test -s conftest.$ac_objext'
51680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51681 (eval $ac_try) 2>&5
51682 ac_status=$?
51683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51684 (exit $ac_status); }; }; then
51685 glibcxx_cv_func_sincosf_use=yes
51686 else
51687 echo "$as_me: failed program was:" >&5
51688 sed 's/^/| /' conftest.$ac_ext >&5
51690 glibcxx_cv_func_sincosf_use=no
51692 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51693 ac_ext=c
51694 ac_cpp='$CPP $CPPFLAGS'
51695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51703 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
51704 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
51706 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51708 for ac_func in sincosf
51710 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51711 echo "$as_me:$LINENO: checking for $ac_func" >&5
51712 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51713 if eval "test \"\${$as_ac_var+set}\" = set"; then
51714 echo $ECHO_N "(cached) $ECHO_C" >&6
51715 else
51716 if test x$gcc_no_link = xyes; then
51717 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51718 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51719 { (exit 1); exit 1; }; }
51721 cat >conftest.$ac_ext <<_ACEOF
51722 /* confdefs.h. */
51723 _ACEOF
51724 cat confdefs.h >>conftest.$ac_ext
51725 cat >>conftest.$ac_ext <<_ACEOF
51726 /* end confdefs.h. */
51727 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51729 #define $ac_func innocuous_$ac_func
51731 /* System header to define __stub macros and hopefully few prototypes,
51732 which can conflict with char $ac_func (); below.
51733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51734 <limits.h> exists even on freestanding compilers. */
51736 #ifdef __STDC__
51737 # include <limits.h>
51738 #else
51739 # include <assert.h>
51740 #endif
51742 #undef $ac_func
51744 /* Override any gcc2 internal prototype to avoid an error. */
51745 #ifdef __cplusplus
51746 extern "C"
51748 #endif
51749 /* We use char because int might match the return type of a gcc2
51750 builtin and then its argument prototype would still apply. */
51751 char $ac_func ();
51752 /* The GNU C library defines this for functions which it implements
51753 to always fail with ENOSYS. Some functions are actually named
51754 something starting with __ and the normal name is an alias. */
51755 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51756 choke me
51757 #else
51758 char (*f) () = $ac_func;
51759 #endif
51760 #ifdef __cplusplus
51762 #endif
51765 main ()
51767 return f != $ac_func;
51769 return 0;
51771 _ACEOF
51772 rm -f conftest.$ac_objext conftest$ac_exeext
51773 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51774 (eval $ac_link) 2>conftest.er1
51775 ac_status=$?
51776 grep -v '^ *+' conftest.er1 >conftest.err
51777 rm -f conftest.er1
51778 cat conftest.err >&5
51779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51780 (exit $ac_status); } &&
51781 { ac_try='test -z "$ac_c_werror_flag"
51782 || test ! -s conftest.err'
51783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51784 (eval $ac_try) 2>&5
51785 ac_status=$?
51786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51787 (exit $ac_status); }; } &&
51788 { ac_try='test -s conftest$ac_exeext'
51789 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51790 (eval $ac_try) 2>&5
51791 ac_status=$?
51792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51793 (exit $ac_status); }; }; then
51794 eval "$as_ac_var=yes"
51795 else
51796 echo "$as_me: failed program was:" >&5
51797 sed 's/^/| /' conftest.$ac_ext >&5
51799 eval "$as_ac_var=no"
51801 rm -f conftest.err conftest.$ac_objext \
51802 conftest$ac_exeext conftest.$ac_ext
51804 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51805 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51806 if test `eval echo '${'$as_ac_var'}'` = yes; then
51807 cat >>confdefs.h <<_ACEOF
51808 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51809 _ACEOF
51812 done
51814 else
51816 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
51817 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
51818 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51819 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
51820 echo $ECHO_N "(cached) $ECHO_C" >&6
51821 else
51825 ac_ext=cc
51826 ac_cpp='$CXXCPP $CPPFLAGS'
51827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51831 cat >conftest.$ac_ext <<_ACEOF
51832 /* confdefs.h. */
51833 _ACEOF
51834 cat confdefs.h >>conftest.$ac_ext
51835 cat >>conftest.$ac_ext <<_ACEOF
51836 /* end confdefs.h. */
51837 #include <math.h>
51839 main ()
51841 _sincosf(0, 0, 0);
51843 return 0;
51845 _ACEOF
51846 rm -f conftest.$ac_objext
51847 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
51848 (eval $ac_compile) 2>conftest.er1
51849 ac_status=$?
51850 grep -v '^ *+' conftest.er1 >conftest.err
51851 rm -f conftest.er1
51852 cat conftest.err >&5
51853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51854 (exit $ac_status); } &&
51855 { ac_try='test -z "$ac_cxx_werror_flag"
51856 || test ! -s conftest.err'
51857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51858 (eval $ac_try) 2>&5
51859 ac_status=$?
51860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51861 (exit $ac_status); }; } &&
51862 { ac_try='test -s conftest.$ac_objext'
51863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51864 (eval $ac_try) 2>&5
51865 ac_status=$?
51866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51867 (exit $ac_status); }; }; then
51868 glibcxx_cv_func__sincosf_use=yes
51869 else
51870 echo "$as_me: failed program was:" >&5
51871 sed 's/^/| /' conftest.$ac_ext >&5
51873 glibcxx_cv_func__sincosf_use=no
51875 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
51876 ac_ext=c
51877 ac_cpp='$CPP $CPPFLAGS'
51878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51886 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
51887 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
51889 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51891 for ac_func in _sincosf
51893 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
51894 echo "$as_me:$LINENO: checking for $ac_func" >&5
51895 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
51896 if eval "test \"\${$as_ac_var+set}\" = set"; then
51897 echo $ECHO_N "(cached) $ECHO_C" >&6
51898 else
51899 if test x$gcc_no_link = xyes; then
51900 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
51901 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
51902 { (exit 1); exit 1; }; }
51904 cat >conftest.$ac_ext <<_ACEOF
51905 /* confdefs.h. */
51906 _ACEOF
51907 cat confdefs.h >>conftest.$ac_ext
51908 cat >>conftest.$ac_ext <<_ACEOF
51909 /* end confdefs.h. */
51910 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
51911 For example, HP-UX 11i <limits.h> declares gettimeofday. */
51912 #define $ac_func innocuous_$ac_func
51914 /* System header to define __stub macros and hopefully few prototypes,
51915 which can conflict with char $ac_func (); below.
51916 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
51917 <limits.h> exists even on freestanding compilers. */
51919 #ifdef __STDC__
51920 # include <limits.h>
51921 #else
51922 # include <assert.h>
51923 #endif
51925 #undef $ac_func
51927 /* Override any gcc2 internal prototype to avoid an error. */
51928 #ifdef __cplusplus
51929 extern "C"
51931 #endif
51932 /* We use char because int might match the return type of a gcc2
51933 builtin and then its argument prototype would still apply. */
51934 char $ac_func ();
51935 /* The GNU C library defines this for functions which it implements
51936 to always fail with ENOSYS. Some functions are actually named
51937 something starting with __ and the normal name is an alias. */
51938 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
51939 choke me
51940 #else
51941 char (*f) () = $ac_func;
51942 #endif
51943 #ifdef __cplusplus
51945 #endif
51948 main ()
51950 return f != $ac_func;
51952 return 0;
51954 _ACEOF
51955 rm -f conftest.$ac_objext conftest$ac_exeext
51956 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
51957 (eval $ac_link) 2>conftest.er1
51958 ac_status=$?
51959 grep -v '^ *+' conftest.er1 >conftest.err
51960 rm -f conftest.er1
51961 cat conftest.err >&5
51962 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51963 (exit $ac_status); } &&
51964 { ac_try='test -z "$ac_c_werror_flag"
51965 || test ! -s conftest.err'
51966 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
51967 (eval $ac_try) 2>&5
51968 ac_status=$?
51969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
51970 (exit $ac_status); }; } &&
51971 { ac_try='test -s conftest$ac_exeext'
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); }; }; then
51977 eval "$as_ac_var=yes"
51978 else
51979 echo "$as_me: failed program was:" >&5
51980 sed 's/^/| /' conftest.$ac_ext >&5
51982 eval "$as_ac_var=no"
51984 rm -f conftest.err conftest.$ac_objext \
51985 conftest$ac_exeext conftest.$ac_ext
51987 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
51988 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
51989 if test `eval echo '${'$as_ac_var'}'` = yes; then
51990 cat >>confdefs.h <<_ACEOF
51991 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
51992 _ACEOF
51995 done
52005 echo "$as_me:$LINENO: checking for finitef declaration" >&5
52006 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
52007 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
52008 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
52009 echo $ECHO_N "(cached) $ECHO_C" >&6
52010 else
52014 ac_ext=cc
52015 ac_cpp='$CXXCPP $CPPFLAGS'
52016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52020 cat >conftest.$ac_ext <<_ACEOF
52021 /* confdefs.h. */
52022 _ACEOF
52023 cat confdefs.h >>conftest.$ac_ext
52024 cat >>conftest.$ac_ext <<_ACEOF
52025 /* end confdefs.h. */
52026 #include <math.h>
52027 #ifdef HAVE_IEEEFP_H
52028 #include <ieeefp.h>
52029 #endif
52032 main ()
52034 finitef(0);
52036 return 0;
52038 _ACEOF
52039 rm -f conftest.$ac_objext
52040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52041 (eval $ac_compile) 2>conftest.er1
52042 ac_status=$?
52043 grep -v '^ *+' conftest.er1 >conftest.err
52044 rm -f conftest.er1
52045 cat conftest.err >&5
52046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52047 (exit $ac_status); } &&
52048 { ac_try='test -z "$ac_cxx_werror_flag"
52049 || test ! -s conftest.err'
52050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52051 (eval $ac_try) 2>&5
52052 ac_status=$?
52053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52054 (exit $ac_status); }; } &&
52055 { ac_try='test -s conftest.$ac_objext'
52056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52057 (eval $ac_try) 2>&5
52058 ac_status=$?
52059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52060 (exit $ac_status); }; }; then
52061 glibcxx_cv_func_finitef_use=yes
52062 else
52063 echo "$as_me: failed program was:" >&5
52064 sed 's/^/| /' conftest.$ac_ext >&5
52066 glibcxx_cv_func_finitef_use=no
52068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52069 ac_ext=c
52070 ac_cpp='$CPP $CPPFLAGS'
52071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52079 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
52080 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
52082 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
52084 for ac_func in finitef
52086 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52087 echo "$as_me:$LINENO: checking for $ac_func" >&5
52088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52089 if eval "test \"\${$as_ac_var+set}\" = set"; then
52090 echo $ECHO_N "(cached) $ECHO_C" >&6
52091 else
52092 if test x$gcc_no_link = xyes; then
52093 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52094 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52095 { (exit 1); exit 1; }; }
52097 cat >conftest.$ac_ext <<_ACEOF
52098 /* confdefs.h. */
52099 _ACEOF
52100 cat confdefs.h >>conftest.$ac_ext
52101 cat >>conftest.$ac_ext <<_ACEOF
52102 /* end confdefs.h. */
52103 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52104 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52105 #define $ac_func innocuous_$ac_func
52107 /* System header to define __stub macros and hopefully few prototypes,
52108 which can conflict with char $ac_func (); below.
52109 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52110 <limits.h> exists even on freestanding compilers. */
52112 #ifdef __STDC__
52113 # include <limits.h>
52114 #else
52115 # include <assert.h>
52116 #endif
52118 #undef $ac_func
52120 /* Override any gcc2 internal prototype to avoid an error. */
52121 #ifdef __cplusplus
52122 extern "C"
52124 #endif
52125 /* We use char because int might match the return type of a gcc2
52126 builtin and then its argument prototype would still apply. */
52127 char $ac_func ();
52128 /* The GNU C library defines this for functions which it implements
52129 to always fail with ENOSYS. Some functions are actually named
52130 something starting with __ and the normal name is an alias. */
52131 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52132 choke me
52133 #else
52134 char (*f) () = $ac_func;
52135 #endif
52136 #ifdef __cplusplus
52138 #endif
52141 main ()
52143 return f != $ac_func;
52145 return 0;
52147 _ACEOF
52148 rm -f conftest.$ac_objext conftest$ac_exeext
52149 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52150 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
52171 else
52172 echo "$as_me: failed program was:" >&5
52173 sed 's/^/| /' conftest.$ac_ext >&5
52175 eval "$as_ac_var=no"
52177 rm -f conftest.err conftest.$ac_objext \
52178 conftest$ac_exeext conftest.$ac_ext
52180 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52181 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52182 if test `eval echo '${'$as_ac_var'}'` = yes; then
52183 cat >>confdefs.h <<_ACEOF
52184 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52185 _ACEOF
52188 done
52190 else
52192 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
52193 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
52194 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
52195 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
52196 echo $ECHO_N "(cached) $ECHO_C" >&6
52197 else
52201 ac_ext=cc
52202 ac_cpp='$CXXCPP $CPPFLAGS'
52203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52207 cat >conftest.$ac_ext <<_ACEOF
52208 /* confdefs.h. */
52209 _ACEOF
52210 cat confdefs.h >>conftest.$ac_ext
52211 cat >>conftest.$ac_ext <<_ACEOF
52212 /* end confdefs.h. */
52213 #include <math.h>
52214 #ifdef HAVE_IEEEFP_H
52215 #include <ieeefp.h>
52216 #endif
52219 main ()
52221 _finitef(0);
52223 return 0;
52225 _ACEOF
52226 rm -f conftest.$ac_objext
52227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52228 (eval $ac_compile) 2>conftest.er1
52229 ac_status=$?
52230 grep -v '^ *+' conftest.er1 >conftest.err
52231 rm -f conftest.er1
52232 cat conftest.err >&5
52233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52234 (exit $ac_status); } &&
52235 { ac_try='test -z "$ac_cxx_werror_flag"
52236 || test ! -s conftest.err'
52237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52238 (eval $ac_try) 2>&5
52239 ac_status=$?
52240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52241 (exit $ac_status); }; } &&
52242 { ac_try='test -s conftest.$ac_objext'
52243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52244 (eval $ac_try) 2>&5
52245 ac_status=$?
52246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52247 (exit $ac_status); }; }; then
52248 glibcxx_cv_func__finitef_use=yes
52249 else
52250 echo "$as_me: failed program was:" >&5
52251 sed 's/^/| /' conftest.$ac_ext >&5
52253 glibcxx_cv_func__finitef_use=no
52255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52256 ac_ext=c
52257 ac_cpp='$CPP $CPPFLAGS'
52258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52266 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
52267 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
52269 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
52271 for ac_func in _finitef
52273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52274 echo "$as_me:$LINENO: checking for $ac_func" >&5
52275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52276 if eval "test \"\${$as_ac_var+set}\" = set"; then
52277 echo $ECHO_N "(cached) $ECHO_C" >&6
52278 else
52279 if test x$gcc_no_link = xyes; then
52280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52282 { (exit 1); exit 1; }; }
52284 cat >conftest.$ac_ext <<_ACEOF
52285 /* confdefs.h. */
52286 _ACEOF
52287 cat confdefs.h >>conftest.$ac_ext
52288 cat >>conftest.$ac_ext <<_ACEOF
52289 /* end confdefs.h. */
52290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52292 #define $ac_func innocuous_$ac_func
52294 /* System header to define __stub macros and hopefully few prototypes,
52295 which can conflict with char $ac_func (); below.
52296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52297 <limits.h> exists even on freestanding compilers. */
52299 #ifdef __STDC__
52300 # include <limits.h>
52301 #else
52302 # include <assert.h>
52303 #endif
52305 #undef $ac_func
52307 /* Override any gcc2 internal prototype to avoid an error. */
52308 #ifdef __cplusplus
52309 extern "C"
52311 #endif
52312 /* We use char because int might match the return type of a gcc2
52313 builtin and then its argument prototype would still apply. */
52314 char $ac_func ();
52315 /* The GNU C library defines this for functions which it implements
52316 to always fail with ENOSYS. Some functions are actually named
52317 something starting with __ and the normal name is an alias. */
52318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52319 choke me
52320 #else
52321 char (*f) () = $ac_func;
52322 #endif
52323 #ifdef __cplusplus
52325 #endif
52328 main ()
52330 return f != $ac_func;
52332 return 0;
52334 _ACEOF
52335 rm -f conftest.$ac_objext conftest$ac_exeext
52336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52337 (eval $ac_link) 2>conftest.er1
52338 ac_status=$?
52339 grep -v '^ *+' conftest.er1 >conftest.err
52340 rm -f conftest.er1
52341 cat conftest.err >&5
52342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52343 (exit $ac_status); } &&
52344 { ac_try='test -z "$ac_c_werror_flag"
52345 || test ! -s conftest.err'
52346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52347 (eval $ac_try) 2>&5
52348 ac_status=$?
52349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52350 (exit $ac_status); }; } &&
52351 { ac_try='test -s conftest$ac_exeext'
52352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52353 (eval $ac_try) 2>&5
52354 ac_status=$?
52355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52356 (exit $ac_status); }; }; then
52357 eval "$as_ac_var=yes"
52358 else
52359 echo "$as_me: failed program was:" >&5
52360 sed 's/^/| /' conftest.$ac_ext >&5
52362 eval "$as_ac_var=no"
52364 rm -f conftest.err conftest.$ac_objext \
52365 conftest$ac_exeext conftest.$ac_ext
52367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52369 if test `eval echo '${'$as_ac_var'}'` = yes; then
52370 cat >>confdefs.h <<_ACEOF
52371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52372 _ACEOF
52375 done
52385 echo "$as_me:$LINENO: checking for long double trig functions" >&5
52386 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
52387 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
52388 echo $ECHO_N "(cached) $ECHO_C" >&6
52389 else
52393 ac_ext=cc
52394 ac_cpp='$CXXCPP $CPPFLAGS'
52395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52399 cat >conftest.$ac_ext <<_ACEOF
52400 /* confdefs.h. */
52401 _ACEOF
52402 cat confdefs.h >>conftest.$ac_ext
52403 cat >>conftest.$ac_ext <<_ACEOF
52404 /* end confdefs.h. */
52405 #include <math.h>
52407 main ()
52409 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
52411 return 0;
52413 _ACEOF
52414 rm -f conftest.$ac_objext
52415 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52416 (eval $ac_compile) 2>conftest.er1
52417 ac_status=$?
52418 grep -v '^ *+' conftest.er1 >conftest.err
52419 rm -f conftest.er1
52420 cat conftest.err >&5
52421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52422 (exit $ac_status); } &&
52423 { ac_try='test -z "$ac_cxx_werror_flag"
52424 || test ! -s conftest.err'
52425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52426 (eval $ac_try) 2>&5
52427 ac_status=$?
52428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52429 (exit $ac_status); }; } &&
52430 { ac_try='test -s conftest.$ac_objext'
52431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52432 (eval $ac_try) 2>&5
52433 ac_status=$?
52434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52435 (exit $ac_status); }; }; then
52436 glibcxx_cv_func_long_double_trig_use=yes
52437 else
52438 echo "$as_me: failed program was:" >&5
52439 sed 's/^/| /' conftest.$ac_ext >&5
52441 glibcxx_cv_func_long_double_trig_use=no
52443 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52444 ac_ext=c
52445 ac_cpp='$CPP $CPPFLAGS'
52446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52452 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
52453 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
52454 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
52464 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
52466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52467 echo "$as_me:$LINENO: checking for $ac_func" >&5
52468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52469 if eval "test \"\${$as_ac_var+set}\" = set"; then
52470 echo $ECHO_N "(cached) $ECHO_C" >&6
52471 else
52472 if test x$gcc_no_link = xyes; then
52473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52475 { (exit 1); exit 1; }; }
52477 cat >conftest.$ac_ext <<_ACEOF
52478 /* confdefs.h. */
52479 _ACEOF
52480 cat confdefs.h >>conftest.$ac_ext
52481 cat >>conftest.$ac_ext <<_ACEOF
52482 /* end confdefs.h. */
52483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52485 #define $ac_func innocuous_$ac_func
52487 /* System header to define __stub macros and hopefully few prototypes,
52488 which can conflict with char $ac_func (); below.
52489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52490 <limits.h> exists even on freestanding compilers. */
52492 #ifdef __STDC__
52493 # include <limits.h>
52494 #else
52495 # include <assert.h>
52496 #endif
52498 #undef $ac_func
52500 /* Override any gcc2 internal prototype to avoid an error. */
52501 #ifdef __cplusplus
52502 extern "C"
52504 #endif
52505 /* We use char because int might match the return type of a gcc2
52506 builtin and then its argument prototype would still apply. */
52507 char $ac_func ();
52508 /* The GNU C library defines this for functions which it implements
52509 to always fail with ENOSYS. Some functions are actually named
52510 something starting with __ and the normal name is an alias. */
52511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52512 choke me
52513 #else
52514 char (*f) () = $ac_func;
52515 #endif
52516 #ifdef __cplusplus
52518 #endif
52521 main ()
52523 return f != $ac_func;
52525 return 0;
52527 _ACEOF
52528 rm -f conftest.$ac_objext conftest$ac_exeext
52529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52530 (eval $ac_link) 2>conftest.er1
52531 ac_status=$?
52532 grep -v '^ *+' conftest.er1 >conftest.err
52533 rm -f conftest.er1
52534 cat conftest.err >&5
52535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52536 (exit $ac_status); } &&
52537 { ac_try='test -z "$ac_c_werror_flag"
52538 || test ! -s conftest.err'
52539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52540 (eval $ac_try) 2>&5
52541 ac_status=$?
52542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52543 (exit $ac_status); }; } &&
52544 { ac_try='test -s conftest$ac_exeext'
52545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52546 (eval $ac_try) 2>&5
52547 ac_status=$?
52548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52549 (exit $ac_status); }; }; then
52550 eval "$as_ac_var=yes"
52551 else
52552 echo "$as_me: failed program was:" >&5
52553 sed 's/^/| /' conftest.$ac_ext >&5
52555 eval "$as_ac_var=no"
52557 rm -f conftest.err conftest.$ac_objext \
52558 conftest$ac_exeext conftest.$ac_ext
52560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52562 if test `eval echo '${'$as_ac_var'}'` = yes; then
52563 cat >>confdefs.h <<_ACEOF
52564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52565 _ACEOF
52568 done
52570 else
52571 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
52572 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
52573 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
52574 echo $ECHO_N "(cached) $ECHO_C" >&6
52575 else
52579 ac_ext=cc
52580 ac_cpp='$CXXCPP $CPPFLAGS'
52581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52585 cat >conftest.$ac_ext <<_ACEOF
52586 /* confdefs.h. */
52587 _ACEOF
52588 cat confdefs.h >>conftest.$ac_ext
52589 cat >>conftest.$ac_ext <<_ACEOF
52590 /* end confdefs.h. */
52591 #include <math.h>
52593 main ()
52595 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
52597 return 0;
52599 _ACEOF
52600 rm -f conftest.$ac_objext
52601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52602 (eval $ac_compile) 2>conftest.er1
52603 ac_status=$?
52604 grep -v '^ *+' conftest.er1 >conftest.err
52605 rm -f conftest.er1
52606 cat conftest.err >&5
52607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52608 (exit $ac_status); } &&
52609 { ac_try='test -z "$ac_cxx_werror_flag"
52610 || test ! -s conftest.err'
52611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52612 (eval $ac_try) 2>&5
52613 ac_status=$?
52614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52615 (exit $ac_status); }; } &&
52616 { ac_try='test -s conftest.$ac_objext'
52617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52618 (eval $ac_try) 2>&5
52619 ac_status=$?
52620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52621 (exit $ac_status); }; }; then
52622 glibcxx_cv_func__long_double_trig_use=yes
52623 else
52624 echo "$as_me: failed program was:" >&5
52625 sed 's/^/| /' conftest.$ac_ext >&5
52627 glibcxx_cv_func__long_double_trig_use=no
52629 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52630 ac_ext=c
52631 ac_cpp='$CPP $CPPFLAGS'
52632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52638 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
52639 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
52640 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
52650 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
52652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52653 echo "$as_me:$LINENO: checking for $ac_func" >&5
52654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52655 if eval "test \"\${$as_ac_var+set}\" = set"; then
52656 echo $ECHO_N "(cached) $ECHO_C" >&6
52657 else
52658 if test x$gcc_no_link = xyes; then
52659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52661 { (exit 1); exit 1; }; }
52663 cat >conftest.$ac_ext <<_ACEOF
52664 /* confdefs.h. */
52665 _ACEOF
52666 cat confdefs.h >>conftest.$ac_ext
52667 cat >>conftest.$ac_ext <<_ACEOF
52668 /* end confdefs.h. */
52669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52671 #define $ac_func innocuous_$ac_func
52673 /* System header to define __stub macros and hopefully few prototypes,
52674 which can conflict with char $ac_func (); below.
52675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52676 <limits.h> exists even on freestanding compilers. */
52678 #ifdef __STDC__
52679 # include <limits.h>
52680 #else
52681 # include <assert.h>
52682 #endif
52684 #undef $ac_func
52686 /* Override any gcc2 internal prototype to avoid an error. */
52687 #ifdef __cplusplus
52688 extern "C"
52690 #endif
52691 /* We use char because int might match the return type of a gcc2
52692 builtin and then its argument prototype would still apply. */
52693 char $ac_func ();
52694 /* The GNU C library defines this for functions which it implements
52695 to always fail with ENOSYS. Some functions are actually named
52696 something starting with __ and the normal name is an alias. */
52697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52698 choke me
52699 #else
52700 char (*f) () = $ac_func;
52701 #endif
52702 #ifdef __cplusplus
52704 #endif
52707 main ()
52709 return f != $ac_func;
52711 return 0;
52713 _ACEOF
52714 rm -f conftest.$ac_objext conftest$ac_exeext
52715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52716 (eval $ac_link) 2>conftest.er1
52717 ac_status=$?
52718 grep -v '^ *+' conftest.er1 >conftest.err
52719 rm -f conftest.er1
52720 cat conftest.err >&5
52721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52722 (exit $ac_status); } &&
52723 { ac_try='test -z "$ac_c_werror_flag"
52724 || test ! -s conftest.err'
52725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52726 (eval $ac_try) 2>&5
52727 ac_status=$?
52728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52729 (exit $ac_status); }; } &&
52730 { ac_try='test -s conftest$ac_exeext'
52731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52732 (eval $ac_try) 2>&5
52733 ac_status=$?
52734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52735 (exit $ac_status); }; }; then
52736 eval "$as_ac_var=yes"
52737 else
52738 echo "$as_me: failed program was:" >&5
52739 sed 's/^/| /' conftest.$ac_ext >&5
52741 eval "$as_ac_var=no"
52743 rm -f conftest.err conftest.$ac_objext \
52744 conftest$ac_exeext conftest.$ac_ext
52746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52748 if test `eval echo '${'$as_ac_var'}'` = yes; then
52749 cat >>confdefs.h <<_ACEOF
52750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52751 _ACEOF
52754 done
52772 echo "$as_me:$LINENO: checking for long double round functions" >&5
52773 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
52774 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
52775 echo $ECHO_N "(cached) $ECHO_C" >&6
52776 else
52780 ac_ext=cc
52781 ac_cpp='$CXXCPP $CPPFLAGS'
52782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52786 cat >conftest.$ac_ext <<_ACEOF
52787 /* confdefs.h. */
52788 _ACEOF
52789 cat confdefs.h >>conftest.$ac_ext
52790 cat >>conftest.$ac_ext <<_ACEOF
52791 /* end confdefs.h. */
52792 #include <math.h>
52794 main ()
52796 ceill (0); floorl (0);
52798 return 0;
52800 _ACEOF
52801 rm -f conftest.$ac_objext
52802 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52803 (eval $ac_compile) 2>conftest.er1
52804 ac_status=$?
52805 grep -v '^ *+' conftest.er1 >conftest.err
52806 rm -f conftest.er1
52807 cat conftest.err >&5
52808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52809 (exit $ac_status); } &&
52810 { ac_try='test -z "$ac_cxx_werror_flag"
52811 || test ! -s conftest.err'
52812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52813 (eval $ac_try) 2>&5
52814 ac_status=$?
52815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52816 (exit $ac_status); }; } &&
52817 { ac_try='test -s conftest.$ac_objext'
52818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52819 (eval $ac_try) 2>&5
52820 ac_status=$?
52821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52822 (exit $ac_status); }; }; then
52823 glibcxx_cv_func_long_double_round_use=yes
52824 else
52825 echo "$as_me: failed program was:" >&5
52826 sed 's/^/| /' conftest.$ac_ext >&5
52828 glibcxx_cv_func_long_double_round_use=no
52830 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
52831 ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52839 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
52840 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
52841 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
52844 for ac_func in ceill floorl
52846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
52847 echo "$as_me:$LINENO: checking for $ac_func" >&5
52848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
52849 if eval "test \"\${$as_ac_var+set}\" = set"; then
52850 echo $ECHO_N "(cached) $ECHO_C" >&6
52851 else
52852 if test x$gcc_no_link = xyes; then
52853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
52854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
52855 { (exit 1); exit 1; }; }
52857 cat >conftest.$ac_ext <<_ACEOF
52858 /* confdefs.h. */
52859 _ACEOF
52860 cat confdefs.h >>conftest.$ac_ext
52861 cat >>conftest.$ac_ext <<_ACEOF
52862 /* end confdefs.h. */
52863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
52864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
52865 #define $ac_func innocuous_$ac_func
52867 /* System header to define __stub macros and hopefully few prototypes,
52868 which can conflict with char $ac_func (); below.
52869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
52870 <limits.h> exists even on freestanding compilers. */
52872 #ifdef __STDC__
52873 # include <limits.h>
52874 #else
52875 # include <assert.h>
52876 #endif
52878 #undef $ac_func
52880 /* Override any gcc2 internal prototype to avoid an error. */
52881 #ifdef __cplusplus
52882 extern "C"
52884 #endif
52885 /* We use char because int might match the return type of a gcc2
52886 builtin and then its argument prototype would still apply. */
52887 char $ac_func ();
52888 /* The GNU C library defines this for functions which it implements
52889 to always fail with ENOSYS. Some functions are actually named
52890 something starting with __ and the normal name is an alias. */
52891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
52892 choke me
52893 #else
52894 char (*f) () = $ac_func;
52895 #endif
52896 #ifdef __cplusplus
52898 #endif
52901 main ()
52903 return f != $ac_func;
52905 return 0;
52907 _ACEOF
52908 rm -f conftest.$ac_objext conftest$ac_exeext
52909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
52910 (eval $ac_link) 2>conftest.er1
52911 ac_status=$?
52912 grep -v '^ *+' conftest.er1 >conftest.err
52913 rm -f conftest.er1
52914 cat conftest.err >&5
52915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52916 (exit $ac_status); } &&
52917 { ac_try='test -z "$ac_c_werror_flag"
52918 || test ! -s conftest.err'
52919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52920 (eval $ac_try) 2>&5
52921 ac_status=$?
52922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52923 (exit $ac_status); }; } &&
52924 { ac_try='test -s conftest$ac_exeext'
52925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52926 (eval $ac_try) 2>&5
52927 ac_status=$?
52928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52929 (exit $ac_status); }; }; then
52930 eval "$as_ac_var=yes"
52931 else
52932 echo "$as_me: failed program was:" >&5
52933 sed 's/^/| /' conftest.$ac_ext >&5
52935 eval "$as_ac_var=no"
52937 rm -f conftest.err conftest.$ac_objext \
52938 conftest$ac_exeext conftest.$ac_ext
52940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
52941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
52942 if test `eval echo '${'$as_ac_var'}'` = yes; then
52943 cat >>confdefs.h <<_ACEOF
52944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
52945 _ACEOF
52948 done
52950 else
52951 echo "$as_me:$LINENO: checking for _long double round functions" >&5
52952 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
52953 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
52954 echo $ECHO_N "(cached) $ECHO_C" >&6
52955 else
52959 ac_ext=cc
52960 ac_cpp='$CXXCPP $CPPFLAGS'
52961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52965 cat >conftest.$ac_ext <<_ACEOF
52966 /* confdefs.h. */
52967 _ACEOF
52968 cat confdefs.h >>conftest.$ac_ext
52969 cat >>conftest.$ac_ext <<_ACEOF
52970 /* end confdefs.h. */
52971 #include <math.h>
52973 main ()
52975 _ceill (0); _floorl (0);
52977 return 0;
52979 _ACEOF
52980 rm -f conftest.$ac_objext
52981 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
52982 (eval $ac_compile) 2>conftest.er1
52983 ac_status=$?
52984 grep -v '^ *+' conftest.er1 >conftest.err
52985 rm -f conftest.er1
52986 cat conftest.err >&5
52987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52988 (exit $ac_status); } &&
52989 { ac_try='test -z "$ac_cxx_werror_flag"
52990 || test ! -s conftest.err'
52991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52992 (eval $ac_try) 2>&5
52993 ac_status=$?
52994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
52995 (exit $ac_status); }; } &&
52996 { ac_try='test -s conftest.$ac_objext'
52997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
52998 (eval $ac_try) 2>&5
52999 ac_status=$?
53000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53001 (exit $ac_status); }; }; then
53002 glibcxx_cv_func__long_double_round_use=yes
53003 else
53004 echo "$as_me: failed program was:" >&5
53005 sed 's/^/| /' conftest.$ac_ext >&5
53007 glibcxx_cv_func__long_double_round_use=no
53009 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53010 ac_ext=c
53011 ac_cpp='$CPP $CPPFLAGS'
53012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53018 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
53019 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
53020 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
53023 for ac_func in _ceill _floorl
53025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53026 echo "$as_me:$LINENO: checking for $ac_func" >&5
53027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53028 if eval "test \"\${$as_ac_var+set}\" = set"; then
53029 echo $ECHO_N "(cached) $ECHO_C" >&6
53030 else
53031 if test x$gcc_no_link = xyes; then
53032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53034 { (exit 1); exit 1; }; }
53036 cat >conftest.$ac_ext <<_ACEOF
53037 /* confdefs.h. */
53038 _ACEOF
53039 cat confdefs.h >>conftest.$ac_ext
53040 cat >>conftest.$ac_ext <<_ACEOF
53041 /* end confdefs.h. */
53042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53044 #define $ac_func innocuous_$ac_func
53046 /* System header to define __stub macros and hopefully few prototypes,
53047 which can conflict with char $ac_func (); below.
53048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53049 <limits.h> exists even on freestanding compilers. */
53051 #ifdef __STDC__
53052 # include <limits.h>
53053 #else
53054 # include <assert.h>
53055 #endif
53057 #undef $ac_func
53059 /* Override any gcc2 internal prototype to avoid an error. */
53060 #ifdef __cplusplus
53061 extern "C"
53063 #endif
53064 /* We use char because int might match the return type of a gcc2
53065 builtin and then its argument prototype would still apply. */
53066 char $ac_func ();
53067 /* The GNU C library defines this for functions which it implements
53068 to always fail with ENOSYS. Some functions are actually named
53069 something starting with __ and the normal name is an alias. */
53070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53071 choke me
53072 #else
53073 char (*f) () = $ac_func;
53074 #endif
53075 #ifdef __cplusplus
53077 #endif
53080 main ()
53082 return f != $ac_func;
53084 return 0;
53086 _ACEOF
53087 rm -f conftest.$ac_objext conftest$ac_exeext
53088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53089 (eval $ac_link) 2>conftest.er1
53090 ac_status=$?
53091 grep -v '^ *+' conftest.er1 >conftest.err
53092 rm -f conftest.er1
53093 cat conftest.err >&5
53094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53095 (exit $ac_status); } &&
53096 { ac_try='test -z "$ac_c_werror_flag"
53097 || test ! -s conftest.err'
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); }; } &&
53103 { ac_try='test -s conftest$ac_exeext'
53104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53105 (eval $ac_try) 2>&5
53106 ac_status=$?
53107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53108 (exit $ac_status); }; }; then
53109 eval "$as_ac_var=yes"
53110 else
53111 echo "$as_me: failed program was:" >&5
53112 sed 's/^/| /' conftest.$ac_ext >&5
53114 eval "$as_ac_var=no"
53116 rm -f conftest.err conftest.$ac_objext \
53117 conftest$ac_exeext conftest.$ac_ext
53119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53121 if test `eval echo '${'$as_ac_var'}'` = yes; then
53122 cat >>confdefs.h <<_ACEOF
53123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53124 _ACEOF
53127 done
53139 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
53140 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
53141 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
53142 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
53143 echo $ECHO_N "(cached) $ECHO_C" >&6
53144 else
53148 ac_ext=cc
53149 ac_cpp='$CXXCPP $CPPFLAGS'
53150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53154 cat >conftest.$ac_ext <<_ACEOF
53155 /* confdefs.h. */
53156 _ACEOF
53157 cat confdefs.h >>conftest.$ac_ext
53158 cat >>conftest.$ac_ext <<_ACEOF
53159 /* end confdefs.h. */
53160 #include <math.h>
53161 #ifdef HAVE_IEEEFP_H
53162 #include <ieeefp.h>
53163 #endif
53166 main ()
53168 isnanl(0);
53170 return 0;
53172 _ACEOF
53173 rm -f conftest.$ac_objext
53174 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53175 (eval $ac_compile) 2>conftest.er1
53176 ac_status=$?
53177 grep -v '^ *+' conftest.er1 >conftest.err
53178 rm -f conftest.er1
53179 cat conftest.err >&5
53180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53181 (exit $ac_status); } &&
53182 { ac_try='test -z "$ac_cxx_werror_flag"
53183 || test ! -s conftest.err'
53184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53185 (eval $ac_try) 2>&5
53186 ac_status=$?
53187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53188 (exit $ac_status); }; } &&
53189 { ac_try='test -s conftest.$ac_objext'
53190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53191 (eval $ac_try) 2>&5
53192 ac_status=$?
53193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53194 (exit $ac_status); }; }; then
53195 glibcxx_cv_func_isnanl_use=yes
53196 else
53197 echo "$as_me: failed program was:" >&5
53198 sed 's/^/| /' conftest.$ac_ext >&5
53200 glibcxx_cv_func_isnanl_use=no
53202 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53203 ac_ext=c
53204 ac_cpp='$CPP $CPPFLAGS'
53205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53213 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
53214 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
53216 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
53218 for ac_func in isnanl
53220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53221 echo "$as_me:$LINENO: checking for $ac_func" >&5
53222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53223 if eval "test \"\${$as_ac_var+set}\" = set"; then
53224 echo $ECHO_N "(cached) $ECHO_C" >&6
53225 else
53226 if test x$gcc_no_link = xyes; then
53227 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53228 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53229 { (exit 1); exit 1; }; }
53231 cat >conftest.$ac_ext <<_ACEOF
53232 /* confdefs.h. */
53233 _ACEOF
53234 cat confdefs.h >>conftest.$ac_ext
53235 cat >>conftest.$ac_ext <<_ACEOF
53236 /* end confdefs.h. */
53237 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53238 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53239 #define $ac_func innocuous_$ac_func
53241 /* System header to define __stub macros and hopefully few prototypes,
53242 which can conflict with char $ac_func (); below.
53243 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53244 <limits.h> exists even on freestanding compilers. */
53246 #ifdef __STDC__
53247 # include <limits.h>
53248 #else
53249 # include <assert.h>
53250 #endif
53252 #undef $ac_func
53254 /* Override any gcc2 internal prototype to avoid an error. */
53255 #ifdef __cplusplus
53256 extern "C"
53258 #endif
53259 /* We use char because int might match the return type of a gcc2
53260 builtin and then its argument prototype would still apply. */
53261 char $ac_func ();
53262 /* The GNU C library defines this for functions which it implements
53263 to always fail with ENOSYS. Some functions are actually named
53264 something starting with __ and the normal name is an alias. */
53265 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53266 choke me
53267 #else
53268 char (*f) () = $ac_func;
53269 #endif
53270 #ifdef __cplusplus
53272 #endif
53275 main ()
53277 return f != $ac_func;
53279 return 0;
53281 _ACEOF
53282 rm -f conftest.$ac_objext conftest$ac_exeext
53283 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53284 (eval $ac_link) 2>conftest.er1
53285 ac_status=$?
53286 grep -v '^ *+' conftest.er1 >conftest.err
53287 rm -f conftest.er1
53288 cat conftest.err >&5
53289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53290 (exit $ac_status); } &&
53291 { ac_try='test -z "$ac_c_werror_flag"
53292 || test ! -s conftest.err'
53293 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53294 (eval $ac_try) 2>&5
53295 ac_status=$?
53296 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53297 (exit $ac_status); }; } &&
53298 { ac_try='test -s conftest$ac_exeext'
53299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53300 (eval $ac_try) 2>&5
53301 ac_status=$?
53302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53303 (exit $ac_status); }; }; then
53304 eval "$as_ac_var=yes"
53305 else
53306 echo "$as_me: failed program was:" >&5
53307 sed 's/^/| /' conftest.$ac_ext >&5
53309 eval "$as_ac_var=no"
53311 rm -f conftest.err conftest.$ac_objext \
53312 conftest$ac_exeext conftest.$ac_ext
53314 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53315 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53316 if test `eval echo '${'$as_ac_var'}'` = yes; then
53317 cat >>confdefs.h <<_ACEOF
53318 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53319 _ACEOF
53322 done
53324 else
53326 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
53327 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
53328 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
53329 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
53330 echo $ECHO_N "(cached) $ECHO_C" >&6
53331 else
53335 ac_ext=cc
53336 ac_cpp='$CXXCPP $CPPFLAGS'
53337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53341 cat >conftest.$ac_ext <<_ACEOF
53342 /* confdefs.h. */
53343 _ACEOF
53344 cat confdefs.h >>conftest.$ac_ext
53345 cat >>conftest.$ac_ext <<_ACEOF
53346 /* end confdefs.h. */
53347 #include <math.h>
53348 #ifdef HAVE_IEEEFP_H
53349 #include <ieeefp.h>
53350 #endif
53353 main ()
53355 _isnanl(0);
53357 return 0;
53359 _ACEOF
53360 rm -f conftest.$ac_objext
53361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53362 (eval $ac_compile) 2>conftest.er1
53363 ac_status=$?
53364 grep -v '^ *+' conftest.er1 >conftest.err
53365 rm -f conftest.er1
53366 cat conftest.err >&5
53367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53368 (exit $ac_status); } &&
53369 { ac_try='test -z "$ac_cxx_werror_flag"
53370 || test ! -s conftest.err'
53371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53372 (eval $ac_try) 2>&5
53373 ac_status=$?
53374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53375 (exit $ac_status); }; } &&
53376 { ac_try='test -s conftest.$ac_objext'
53377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53378 (eval $ac_try) 2>&5
53379 ac_status=$?
53380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53381 (exit $ac_status); }; }; then
53382 glibcxx_cv_func__isnanl_use=yes
53383 else
53384 echo "$as_me: failed program was:" >&5
53385 sed 's/^/| /' conftest.$ac_ext >&5
53387 glibcxx_cv_func__isnanl_use=no
53389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53390 ac_ext=c
53391 ac_cpp='$CPP $CPPFLAGS'
53392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
53401 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
53403 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
53405 for ac_func in _isnanl
53407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53408 echo "$as_me:$LINENO: checking for $ac_func" >&5
53409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53410 if eval "test \"\${$as_ac_var+set}\" = set"; then
53411 echo $ECHO_N "(cached) $ECHO_C" >&6
53412 else
53413 if test x$gcc_no_link = xyes; then
53414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53416 { (exit 1); exit 1; }; }
53418 cat >conftest.$ac_ext <<_ACEOF
53419 /* confdefs.h. */
53420 _ACEOF
53421 cat confdefs.h >>conftest.$ac_ext
53422 cat >>conftest.$ac_ext <<_ACEOF
53423 /* end confdefs.h. */
53424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53426 #define $ac_func innocuous_$ac_func
53428 /* System header to define __stub macros and hopefully few prototypes,
53429 which can conflict with char $ac_func (); below.
53430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53431 <limits.h> exists even on freestanding compilers. */
53433 #ifdef __STDC__
53434 # include <limits.h>
53435 #else
53436 # include <assert.h>
53437 #endif
53439 #undef $ac_func
53441 /* Override any gcc2 internal prototype to avoid an error. */
53442 #ifdef __cplusplus
53443 extern "C"
53445 #endif
53446 /* We use char because int might match the return type of a gcc2
53447 builtin and then its argument prototype would still apply. */
53448 char $ac_func ();
53449 /* The GNU C library defines this for functions which it implements
53450 to always fail with ENOSYS. Some functions are actually named
53451 something starting with __ and the normal name is an alias. */
53452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53453 choke me
53454 #else
53455 char (*f) () = $ac_func;
53456 #endif
53457 #ifdef __cplusplus
53459 #endif
53462 main ()
53464 return f != $ac_func;
53466 return 0;
53468 _ACEOF
53469 rm -f conftest.$ac_objext conftest$ac_exeext
53470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53471 (eval $ac_link) 2>conftest.er1
53472 ac_status=$?
53473 grep -v '^ *+' conftest.er1 >conftest.err
53474 rm -f conftest.er1
53475 cat conftest.err >&5
53476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53477 (exit $ac_status); } &&
53478 { ac_try='test -z "$ac_c_werror_flag"
53479 || test ! -s conftest.err'
53480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53481 (eval $ac_try) 2>&5
53482 ac_status=$?
53483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53484 (exit $ac_status); }; } &&
53485 { ac_try='test -s conftest$ac_exeext'
53486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53487 (eval $ac_try) 2>&5
53488 ac_status=$?
53489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53490 (exit $ac_status); }; }; then
53491 eval "$as_ac_var=yes"
53492 else
53493 echo "$as_me: failed program was:" >&5
53494 sed 's/^/| /' conftest.$ac_ext >&5
53496 eval "$as_ac_var=no"
53498 rm -f conftest.err conftest.$ac_objext \
53499 conftest$ac_exeext conftest.$ac_ext
53501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53503 if test `eval echo '${'$as_ac_var'}'` = yes; then
53504 cat >>confdefs.h <<_ACEOF
53505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53506 _ACEOF
53509 done
53519 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
53520 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
53521 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
53522 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
53523 echo $ECHO_N "(cached) $ECHO_C" >&6
53524 else
53528 ac_ext=cc
53529 ac_cpp='$CXXCPP $CPPFLAGS'
53530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53534 cat >conftest.$ac_ext <<_ACEOF
53535 /* confdefs.h. */
53536 _ACEOF
53537 cat confdefs.h >>conftest.$ac_ext
53538 cat >>conftest.$ac_ext <<_ACEOF
53539 /* end confdefs.h. */
53540 #include <math.h>
53541 #ifdef HAVE_IEEEFP_H
53542 #include <ieeefp.h>
53543 #endif
53546 main ()
53548 isinfl(0);
53550 return 0;
53552 _ACEOF
53553 rm -f conftest.$ac_objext
53554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53555 (eval $ac_compile) 2>conftest.er1
53556 ac_status=$?
53557 grep -v '^ *+' conftest.er1 >conftest.err
53558 rm -f conftest.er1
53559 cat conftest.err >&5
53560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53561 (exit $ac_status); } &&
53562 { ac_try='test -z "$ac_cxx_werror_flag"
53563 || test ! -s conftest.err'
53564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53565 (eval $ac_try) 2>&5
53566 ac_status=$?
53567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53568 (exit $ac_status); }; } &&
53569 { ac_try='test -s conftest.$ac_objext'
53570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53571 (eval $ac_try) 2>&5
53572 ac_status=$?
53573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53574 (exit $ac_status); }; }; then
53575 glibcxx_cv_func_isinfl_use=yes
53576 else
53577 echo "$as_me: failed program was:" >&5
53578 sed 's/^/| /' conftest.$ac_ext >&5
53580 glibcxx_cv_func_isinfl_use=no
53582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53583 ac_ext=c
53584 ac_cpp='$CPP $CPPFLAGS'
53585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
53594 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
53596 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
53598 for ac_func in isinfl
53600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53601 echo "$as_me:$LINENO: checking for $ac_func" >&5
53602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53603 if eval "test \"\${$as_ac_var+set}\" = set"; then
53604 echo $ECHO_N "(cached) $ECHO_C" >&6
53605 else
53606 if test x$gcc_no_link = xyes; then
53607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53609 { (exit 1); exit 1; }; }
53611 cat >conftest.$ac_ext <<_ACEOF
53612 /* confdefs.h. */
53613 _ACEOF
53614 cat confdefs.h >>conftest.$ac_ext
53615 cat >>conftest.$ac_ext <<_ACEOF
53616 /* end confdefs.h. */
53617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53619 #define $ac_func innocuous_$ac_func
53621 /* System header to define __stub macros and hopefully few prototypes,
53622 which can conflict with char $ac_func (); below.
53623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53624 <limits.h> exists even on freestanding compilers. */
53626 #ifdef __STDC__
53627 # include <limits.h>
53628 #else
53629 # include <assert.h>
53630 #endif
53632 #undef $ac_func
53634 /* Override any gcc2 internal prototype to avoid an error. */
53635 #ifdef __cplusplus
53636 extern "C"
53638 #endif
53639 /* We use char because int might match the return type of a gcc2
53640 builtin and then its argument prototype would still apply. */
53641 char $ac_func ();
53642 /* The GNU C library defines this for functions which it implements
53643 to always fail with ENOSYS. Some functions are actually named
53644 something starting with __ and the normal name is an alias. */
53645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53646 choke me
53647 #else
53648 char (*f) () = $ac_func;
53649 #endif
53650 #ifdef __cplusplus
53652 #endif
53655 main ()
53657 return f != $ac_func;
53659 return 0;
53661 _ACEOF
53662 rm -f conftest.$ac_objext conftest$ac_exeext
53663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53664 (eval $ac_link) 2>conftest.er1
53665 ac_status=$?
53666 grep -v '^ *+' conftest.er1 >conftest.err
53667 rm -f conftest.er1
53668 cat conftest.err >&5
53669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53670 (exit $ac_status); } &&
53671 { ac_try='test -z "$ac_c_werror_flag"
53672 || test ! -s conftest.err'
53673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53674 (eval $ac_try) 2>&5
53675 ac_status=$?
53676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53677 (exit $ac_status); }; } &&
53678 { ac_try='test -s conftest$ac_exeext'
53679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53680 (eval $ac_try) 2>&5
53681 ac_status=$?
53682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53683 (exit $ac_status); }; }; then
53684 eval "$as_ac_var=yes"
53685 else
53686 echo "$as_me: failed program was:" >&5
53687 sed 's/^/| /' conftest.$ac_ext >&5
53689 eval "$as_ac_var=no"
53691 rm -f conftest.err conftest.$ac_objext \
53692 conftest$ac_exeext conftest.$ac_ext
53694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53696 if test `eval echo '${'$as_ac_var'}'` = yes; then
53697 cat >>confdefs.h <<_ACEOF
53698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53699 _ACEOF
53702 done
53704 else
53706 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
53707 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
53708 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
53709 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
53710 echo $ECHO_N "(cached) $ECHO_C" >&6
53711 else
53715 ac_ext=cc
53716 ac_cpp='$CXXCPP $CPPFLAGS'
53717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53721 cat >conftest.$ac_ext <<_ACEOF
53722 /* confdefs.h. */
53723 _ACEOF
53724 cat confdefs.h >>conftest.$ac_ext
53725 cat >>conftest.$ac_ext <<_ACEOF
53726 /* end confdefs.h. */
53727 #include <math.h>
53728 #ifdef HAVE_IEEEFP_H
53729 #include <ieeefp.h>
53730 #endif
53733 main ()
53735 _isinfl(0);
53737 return 0;
53739 _ACEOF
53740 rm -f conftest.$ac_objext
53741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53742 (eval $ac_compile) 2>conftest.er1
53743 ac_status=$?
53744 grep -v '^ *+' conftest.er1 >conftest.err
53745 rm -f conftest.er1
53746 cat conftest.err >&5
53747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53748 (exit $ac_status); } &&
53749 { ac_try='test -z "$ac_cxx_werror_flag"
53750 || test ! -s conftest.err'
53751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53752 (eval $ac_try) 2>&5
53753 ac_status=$?
53754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53755 (exit $ac_status); }; } &&
53756 { ac_try='test -s conftest.$ac_objext'
53757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53758 (eval $ac_try) 2>&5
53759 ac_status=$?
53760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53761 (exit $ac_status); }; }; then
53762 glibcxx_cv_func__isinfl_use=yes
53763 else
53764 echo "$as_me: failed program was:" >&5
53765 sed 's/^/| /' conftest.$ac_ext >&5
53767 glibcxx_cv_func__isinfl_use=no
53769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53770 ac_ext=c
53771 ac_cpp='$CPP $CPPFLAGS'
53772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
53781 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
53783 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
53785 for ac_func in _isinfl
53787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53788 echo "$as_me:$LINENO: checking for $ac_func" >&5
53789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53790 if eval "test \"\${$as_ac_var+set}\" = set"; then
53791 echo $ECHO_N "(cached) $ECHO_C" >&6
53792 else
53793 if test x$gcc_no_link = xyes; then
53794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53796 { (exit 1); exit 1; }; }
53798 cat >conftest.$ac_ext <<_ACEOF
53799 /* confdefs.h. */
53800 _ACEOF
53801 cat confdefs.h >>conftest.$ac_ext
53802 cat >>conftest.$ac_ext <<_ACEOF
53803 /* end confdefs.h. */
53804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53806 #define $ac_func innocuous_$ac_func
53808 /* System header to define __stub macros and hopefully few prototypes,
53809 which can conflict with char $ac_func (); below.
53810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
53811 <limits.h> exists even on freestanding compilers. */
53813 #ifdef __STDC__
53814 # include <limits.h>
53815 #else
53816 # include <assert.h>
53817 #endif
53819 #undef $ac_func
53821 /* Override any gcc2 internal prototype to avoid an error. */
53822 #ifdef __cplusplus
53823 extern "C"
53825 #endif
53826 /* We use char because int might match the return type of a gcc2
53827 builtin and then its argument prototype would still apply. */
53828 char $ac_func ();
53829 /* The GNU C library defines this for functions which it implements
53830 to always fail with ENOSYS. Some functions are actually named
53831 something starting with __ and the normal name is an alias. */
53832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
53833 choke me
53834 #else
53835 char (*f) () = $ac_func;
53836 #endif
53837 #ifdef __cplusplus
53839 #endif
53842 main ()
53844 return f != $ac_func;
53846 return 0;
53848 _ACEOF
53849 rm -f conftest.$ac_objext conftest$ac_exeext
53850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
53851 (eval $ac_link) 2>conftest.er1
53852 ac_status=$?
53853 grep -v '^ *+' conftest.er1 >conftest.err
53854 rm -f conftest.er1
53855 cat conftest.err >&5
53856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53857 (exit $ac_status); } &&
53858 { ac_try='test -z "$ac_c_werror_flag"
53859 || test ! -s conftest.err'
53860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53861 (eval $ac_try) 2>&5
53862 ac_status=$?
53863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53864 (exit $ac_status); }; } &&
53865 { ac_try='test -s conftest$ac_exeext'
53866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53867 (eval $ac_try) 2>&5
53868 ac_status=$?
53869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53870 (exit $ac_status); }; }; then
53871 eval "$as_ac_var=yes"
53872 else
53873 echo "$as_me: failed program was:" >&5
53874 sed 's/^/| /' conftest.$ac_ext >&5
53876 eval "$as_ac_var=no"
53878 rm -f conftest.err conftest.$ac_objext \
53879 conftest$ac_exeext conftest.$ac_ext
53881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
53882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
53883 if test `eval echo '${'$as_ac_var'}'` = yes; then
53884 cat >>confdefs.h <<_ACEOF
53885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
53886 _ACEOF
53889 done
53899 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
53900 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
53901 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
53902 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
53903 echo $ECHO_N "(cached) $ECHO_C" >&6
53904 else
53908 ac_ext=cc
53909 ac_cpp='$CXXCPP $CPPFLAGS'
53910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53914 cat >conftest.$ac_ext <<_ACEOF
53915 /* confdefs.h. */
53916 _ACEOF
53917 cat confdefs.h >>conftest.$ac_ext
53918 cat >>conftest.$ac_ext <<_ACEOF
53919 /* end confdefs.h. */
53920 #include <math.h>
53922 main ()
53924 atan2l(0, 0);
53926 return 0;
53928 _ACEOF
53929 rm -f conftest.$ac_objext
53930 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
53931 (eval $ac_compile) 2>conftest.er1
53932 ac_status=$?
53933 grep -v '^ *+' conftest.er1 >conftest.err
53934 rm -f conftest.er1
53935 cat conftest.err >&5
53936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53937 (exit $ac_status); } &&
53938 { ac_try='test -z "$ac_cxx_werror_flag"
53939 || test ! -s conftest.err'
53940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53941 (eval $ac_try) 2>&5
53942 ac_status=$?
53943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53944 (exit $ac_status); }; } &&
53945 { ac_try='test -s conftest.$ac_objext'
53946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
53947 (eval $ac_try) 2>&5
53948 ac_status=$?
53949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
53950 (exit $ac_status); }; }; then
53951 glibcxx_cv_func_atan2l_use=yes
53952 else
53953 echo "$as_me: failed program was:" >&5
53954 sed 's/^/| /' conftest.$ac_ext >&5
53956 glibcxx_cv_func_atan2l_use=no
53958 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
53959 ac_ext=c
53960 ac_cpp='$CPP $CPPFLAGS'
53961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53969 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
53970 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
53972 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
53974 for ac_func in atan2l
53976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
53977 echo "$as_me:$LINENO: checking for $ac_func" >&5
53978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
53979 if eval "test \"\${$as_ac_var+set}\" = set"; then
53980 echo $ECHO_N "(cached) $ECHO_C" >&6
53981 else
53982 if test x$gcc_no_link = xyes; then
53983 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
53984 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
53985 { (exit 1); exit 1; }; }
53987 cat >conftest.$ac_ext <<_ACEOF
53988 /* confdefs.h. */
53989 _ACEOF
53990 cat confdefs.h >>conftest.$ac_ext
53991 cat >>conftest.$ac_ext <<_ACEOF
53992 /* end confdefs.h. */
53993 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
53994 For example, HP-UX 11i <limits.h> declares gettimeofday. */
53995 #define $ac_func innocuous_$ac_func
53997 /* System header to define __stub macros and hopefully few prototypes,
53998 which can conflict with char $ac_func (); below.
53999 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54000 <limits.h> exists even on freestanding compilers. */
54002 #ifdef __STDC__
54003 # include <limits.h>
54004 #else
54005 # include <assert.h>
54006 #endif
54008 #undef $ac_func
54010 /* Override any gcc2 internal prototype to avoid an error. */
54011 #ifdef __cplusplus
54012 extern "C"
54014 #endif
54015 /* We use char because int might match the return type of a gcc2
54016 builtin and then its argument prototype would still apply. */
54017 char $ac_func ();
54018 /* The GNU C library defines this for functions which it implements
54019 to always fail with ENOSYS. Some functions are actually named
54020 something starting with __ and the normal name is an alias. */
54021 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54022 choke me
54023 #else
54024 char (*f) () = $ac_func;
54025 #endif
54026 #ifdef __cplusplus
54028 #endif
54031 main ()
54033 return f != $ac_func;
54035 return 0;
54037 _ACEOF
54038 rm -f conftest.$ac_objext conftest$ac_exeext
54039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54040 (eval $ac_link) 2>conftest.er1
54041 ac_status=$?
54042 grep -v '^ *+' conftest.er1 >conftest.err
54043 rm -f conftest.er1
54044 cat conftest.err >&5
54045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54046 (exit $ac_status); } &&
54047 { ac_try='test -z "$ac_c_werror_flag"
54048 || test ! -s conftest.err'
54049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54050 (eval $ac_try) 2>&5
54051 ac_status=$?
54052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54053 (exit $ac_status); }; } &&
54054 { ac_try='test -s conftest$ac_exeext'
54055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54056 (eval $ac_try) 2>&5
54057 ac_status=$?
54058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54059 (exit $ac_status); }; }; then
54060 eval "$as_ac_var=yes"
54061 else
54062 echo "$as_me: failed program was:" >&5
54063 sed 's/^/| /' conftest.$ac_ext >&5
54065 eval "$as_ac_var=no"
54067 rm -f conftest.err conftest.$ac_objext \
54068 conftest$ac_exeext conftest.$ac_ext
54070 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54071 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54072 if test `eval echo '${'$as_ac_var'}'` = yes; then
54073 cat >>confdefs.h <<_ACEOF
54074 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54075 _ACEOF
54078 done
54080 else
54082 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
54083 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
54084 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
54085 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
54086 echo $ECHO_N "(cached) $ECHO_C" >&6
54087 else
54091 ac_ext=cc
54092 ac_cpp='$CXXCPP $CPPFLAGS'
54093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54097 cat >conftest.$ac_ext <<_ACEOF
54098 /* confdefs.h. */
54099 _ACEOF
54100 cat confdefs.h >>conftest.$ac_ext
54101 cat >>conftest.$ac_ext <<_ACEOF
54102 /* end confdefs.h. */
54103 #include <math.h>
54105 main ()
54107 _atan2l(0, 0);
54109 return 0;
54111 _ACEOF
54112 rm -f conftest.$ac_objext
54113 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54114 (eval $ac_compile) 2>conftest.er1
54115 ac_status=$?
54116 grep -v '^ *+' conftest.er1 >conftest.err
54117 rm -f conftest.er1
54118 cat conftest.err >&5
54119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54120 (exit $ac_status); } &&
54121 { ac_try='test -z "$ac_cxx_werror_flag"
54122 || test ! -s conftest.err'
54123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54124 (eval $ac_try) 2>&5
54125 ac_status=$?
54126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54127 (exit $ac_status); }; } &&
54128 { ac_try='test -s conftest.$ac_objext'
54129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54130 (eval $ac_try) 2>&5
54131 ac_status=$?
54132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54133 (exit $ac_status); }; }; then
54134 glibcxx_cv_func__atan2l_use=yes
54135 else
54136 echo "$as_me: failed program was:" >&5
54137 sed 's/^/| /' conftest.$ac_ext >&5
54139 glibcxx_cv_func__atan2l_use=no
54141 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54142 ac_ext=c
54143 ac_cpp='$CPP $CPPFLAGS'
54144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54152 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
54153 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
54155 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
54157 for ac_func in _atan2l
54159 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54160 echo "$as_me:$LINENO: checking for $ac_func" >&5
54161 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54162 if eval "test \"\${$as_ac_var+set}\" = set"; then
54163 echo $ECHO_N "(cached) $ECHO_C" >&6
54164 else
54165 if test x$gcc_no_link = xyes; then
54166 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54167 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54168 { (exit 1); exit 1; }; }
54170 cat >conftest.$ac_ext <<_ACEOF
54171 /* confdefs.h. */
54172 _ACEOF
54173 cat confdefs.h >>conftest.$ac_ext
54174 cat >>conftest.$ac_ext <<_ACEOF
54175 /* end confdefs.h. */
54176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54178 #define $ac_func innocuous_$ac_func
54180 /* System header to define __stub macros and hopefully few prototypes,
54181 which can conflict with char $ac_func (); below.
54182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54183 <limits.h> exists even on freestanding compilers. */
54185 #ifdef __STDC__
54186 # include <limits.h>
54187 #else
54188 # include <assert.h>
54189 #endif
54191 #undef $ac_func
54193 /* Override any gcc2 internal prototype to avoid an error. */
54194 #ifdef __cplusplus
54195 extern "C"
54197 #endif
54198 /* We use char because int might match the return type of a gcc2
54199 builtin and then its argument prototype would still apply. */
54200 char $ac_func ();
54201 /* The GNU C library defines this for functions which it implements
54202 to always fail with ENOSYS. Some functions are actually named
54203 something starting with __ and the normal name is an alias. */
54204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54205 choke me
54206 #else
54207 char (*f) () = $ac_func;
54208 #endif
54209 #ifdef __cplusplus
54211 #endif
54214 main ()
54216 return f != $ac_func;
54218 return 0;
54220 _ACEOF
54221 rm -f conftest.$ac_objext conftest$ac_exeext
54222 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54223 (eval $ac_link) 2>conftest.er1
54224 ac_status=$?
54225 grep -v '^ *+' conftest.er1 >conftest.err
54226 rm -f conftest.er1
54227 cat conftest.err >&5
54228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54229 (exit $ac_status); } &&
54230 { ac_try='test -z "$ac_c_werror_flag"
54231 || test ! -s conftest.err'
54232 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54233 (eval $ac_try) 2>&5
54234 ac_status=$?
54235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54236 (exit $ac_status); }; } &&
54237 { ac_try='test -s conftest$ac_exeext'
54238 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54239 (eval $ac_try) 2>&5
54240 ac_status=$?
54241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54242 (exit $ac_status); }; }; then
54243 eval "$as_ac_var=yes"
54244 else
54245 echo "$as_me: failed program was:" >&5
54246 sed 's/^/| /' conftest.$ac_ext >&5
54248 eval "$as_ac_var=no"
54250 rm -f conftest.err conftest.$ac_objext \
54251 conftest$ac_exeext conftest.$ac_ext
54253 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54254 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54255 if test `eval echo '${'$as_ac_var'}'` = yes; then
54256 cat >>confdefs.h <<_ACEOF
54257 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54258 _ACEOF
54261 done
54271 echo "$as_me:$LINENO: checking for expl declaration" >&5
54272 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
54273 if test x${glibcxx_cv_func_expl_use+set} != xset; then
54274 if test "${glibcxx_cv_func_expl_use+set}" = set; then
54275 echo $ECHO_N "(cached) $ECHO_C" >&6
54276 else
54280 ac_ext=cc
54281 ac_cpp='$CXXCPP $CPPFLAGS'
54282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54286 cat >conftest.$ac_ext <<_ACEOF
54287 /* confdefs.h. */
54288 _ACEOF
54289 cat confdefs.h >>conftest.$ac_ext
54290 cat >>conftest.$ac_ext <<_ACEOF
54291 /* end confdefs.h. */
54292 #include <math.h>
54293 #ifdef HAVE_IEEEFP_H
54294 #include <ieeefp.h>
54295 #endif
54298 main ()
54300 expl(0);
54302 return 0;
54304 _ACEOF
54305 rm -f conftest.$ac_objext
54306 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54307 (eval $ac_compile) 2>conftest.er1
54308 ac_status=$?
54309 grep -v '^ *+' conftest.er1 >conftest.err
54310 rm -f conftest.er1
54311 cat conftest.err >&5
54312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54313 (exit $ac_status); } &&
54314 { ac_try='test -z "$ac_cxx_werror_flag"
54315 || test ! -s conftest.err'
54316 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54317 (eval $ac_try) 2>&5
54318 ac_status=$?
54319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54320 (exit $ac_status); }; } &&
54321 { ac_try='test -s conftest.$ac_objext'
54322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54323 (eval $ac_try) 2>&5
54324 ac_status=$?
54325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54326 (exit $ac_status); }; }; then
54327 glibcxx_cv_func_expl_use=yes
54328 else
54329 echo "$as_me: failed program was:" >&5
54330 sed 's/^/| /' conftest.$ac_ext >&5
54332 glibcxx_cv_func_expl_use=no
54334 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54335 ac_ext=c
54336 ac_cpp='$CPP $CPPFLAGS'
54337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54345 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
54346 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
54348 if test x$glibcxx_cv_func_expl_use = x"yes"; then
54350 for ac_func in expl
54352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54353 echo "$as_me:$LINENO: checking for $ac_func" >&5
54354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54355 if eval "test \"\${$as_ac_var+set}\" = set"; then
54356 echo $ECHO_N "(cached) $ECHO_C" >&6
54357 else
54358 if test x$gcc_no_link = xyes; then
54359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54361 { (exit 1); exit 1; }; }
54363 cat >conftest.$ac_ext <<_ACEOF
54364 /* confdefs.h. */
54365 _ACEOF
54366 cat confdefs.h >>conftest.$ac_ext
54367 cat >>conftest.$ac_ext <<_ACEOF
54368 /* end confdefs.h. */
54369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54371 #define $ac_func innocuous_$ac_func
54373 /* System header to define __stub macros and hopefully few prototypes,
54374 which can conflict with char $ac_func (); below.
54375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54376 <limits.h> exists even on freestanding compilers. */
54378 #ifdef __STDC__
54379 # include <limits.h>
54380 #else
54381 # include <assert.h>
54382 #endif
54384 #undef $ac_func
54386 /* Override any gcc2 internal prototype to avoid an error. */
54387 #ifdef __cplusplus
54388 extern "C"
54390 #endif
54391 /* We use char because int might match the return type of a gcc2
54392 builtin and then its argument prototype would still apply. */
54393 char $ac_func ();
54394 /* The GNU C library defines this for functions which it implements
54395 to always fail with ENOSYS. Some functions are actually named
54396 something starting with __ and the normal name is an alias. */
54397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54398 choke me
54399 #else
54400 char (*f) () = $ac_func;
54401 #endif
54402 #ifdef __cplusplus
54404 #endif
54407 main ()
54409 return f != $ac_func;
54411 return 0;
54413 _ACEOF
54414 rm -f conftest.$ac_objext conftest$ac_exeext
54415 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54416 (eval $ac_link) 2>conftest.er1
54417 ac_status=$?
54418 grep -v '^ *+' conftest.er1 >conftest.err
54419 rm -f conftest.er1
54420 cat conftest.err >&5
54421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54422 (exit $ac_status); } &&
54423 { ac_try='test -z "$ac_c_werror_flag"
54424 || test ! -s conftest.err'
54425 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54426 (eval $ac_try) 2>&5
54427 ac_status=$?
54428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54429 (exit $ac_status); }; } &&
54430 { ac_try='test -s conftest$ac_exeext'
54431 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54432 (eval $ac_try) 2>&5
54433 ac_status=$?
54434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54435 (exit $ac_status); }; }; then
54436 eval "$as_ac_var=yes"
54437 else
54438 echo "$as_me: failed program was:" >&5
54439 sed 's/^/| /' conftest.$ac_ext >&5
54441 eval "$as_ac_var=no"
54443 rm -f conftest.err conftest.$ac_objext \
54444 conftest$ac_exeext conftest.$ac_ext
54446 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54447 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54448 if test `eval echo '${'$as_ac_var'}'` = yes; then
54449 cat >>confdefs.h <<_ACEOF
54450 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54451 _ACEOF
54454 done
54456 else
54458 echo "$as_me:$LINENO: checking for _expl declaration" >&5
54459 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
54460 if test x${glibcxx_cv_func__expl_use+set} != xset; then
54461 if test "${glibcxx_cv_func__expl_use+set}" = set; then
54462 echo $ECHO_N "(cached) $ECHO_C" >&6
54463 else
54467 ac_ext=cc
54468 ac_cpp='$CXXCPP $CPPFLAGS'
54469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54473 cat >conftest.$ac_ext <<_ACEOF
54474 /* confdefs.h. */
54475 _ACEOF
54476 cat confdefs.h >>conftest.$ac_ext
54477 cat >>conftest.$ac_ext <<_ACEOF
54478 /* end confdefs.h. */
54479 #include <math.h>
54480 #ifdef HAVE_IEEEFP_H
54481 #include <ieeefp.h>
54482 #endif
54485 main ()
54487 _expl(0);
54489 return 0;
54491 _ACEOF
54492 rm -f conftest.$ac_objext
54493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54494 (eval $ac_compile) 2>conftest.er1
54495 ac_status=$?
54496 grep -v '^ *+' conftest.er1 >conftest.err
54497 rm -f conftest.er1
54498 cat conftest.err >&5
54499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54500 (exit $ac_status); } &&
54501 { ac_try='test -z "$ac_cxx_werror_flag"
54502 || test ! -s conftest.err'
54503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54504 (eval $ac_try) 2>&5
54505 ac_status=$?
54506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54507 (exit $ac_status); }; } &&
54508 { ac_try='test -s conftest.$ac_objext'
54509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54510 (eval $ac_try) 2>&5
54511 ac_status=$?
54512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54513 (exit $ac_status); }; }; then
54514 glibcxx_cv_func__expl_use=yes
54515 else
54516 echo "$as_me: failed program was:" >&5
54517 sed 's/^/| /' conftest.$ac_ext >&5
54519 glibcxx_cv_func__expl_use=no
54521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54522 ac_ext=c
54523 ac_cpp='$CPP $CPPFLAGS'
54524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
54533 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
54535 if test x$glibcxx_cv_func__expl_use = x"yes"; then
54537 for ac_func in _expl
54539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54540 echo "$as_me:$LINENO: checking for $ac_func" >&5
54541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54542 if eval "test \"\${$as_ac_var+set}\" = set"; then
54543 echo $ECHO_N "(cached) $ECHO_C" >&6
54544 else
54545 if test x$gcc_no_link = xyes; then
54546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54548 { (exit 1); exit 1; }; }
54550 cat >conftest.$ac_ext <<_ACEOF
54551 /* confdefs.h. */
54552 _ACEOF
54553 cat confdefs.h >>conftest.$ac_ext
54554 cat >>conftest.$ac_ext <<_ACEOF
54555 /* end confdefs.h. */
54556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54558 #define $ac_func innocuous_$ac_func
54560 /* System header to define __stub macros and hopefully few prototypes,
54561 which can conflict with char $ac_func (); below.
54562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54563 <limits.h> exists even on freestanding compilers. */
54565 #ifdef __STDC__
54566 # include <limits.h>
54567 #else
54568 # include <assert.h>
54569 #endif
54571 #undef $ac_func
54573 /* Override any gcc2 internal prototype to avoid an error. */
54574 #ifdef __cplusplus
54575 extern "C"
54577 #endif
54578 /* We use char because int might match the return type of a gcc2
54579 builtin and then its argument prototype would still apply. */
54580 char $ac_func ();
54581 /* The GNU C library defines this for functions which it implements
54582 to always fail with ENOSYS. Some functions are actually named
54583 something starting with __ and the normal name is an alias. */
54584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54585 choke me
54586 #else
54587 char (*f) () = $ac_func;
54588 #endif
54589 #ifdef __cplusplus
54591 #endif
54594 main ()
54596 return f != $ac_func;
54598 return 0;
54600 _ACEOF
54601 rm -f conftest.$ac_objext conftest$ac_exeext
54602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54603 (eval $ac_link) 2>conftest.er1
54604 ac_status=$?
54605 grep -v '^ *+' conftest.er1 >conftest.err
54606 rm -f conftest.er1
54607 cat conftest.err >&5
54608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54609 (exit $ac_status); } &&
54610 { ac_try='test -z "$ac_c_werror_flag"
54611 || test ! -s conftest.err'
54612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54613 (eval $ac_try) 2>&5
54614 ac_status=$?
54615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54616 (exit $ac_status); }; } &&
54617 { ac_try='test -s conftest$ac_exeext'
54618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54619 (eval $ac_try) 2>&5
54620 ac_status=$?
54621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54622 (exit $ac_status); }; }; then
54623 eval "$as_ac_var=yes"
54624 else
54625 echo "$as_me: failed program was:" >&5
54626 sed 's/^/| /' conftest.$ac_ext >&5
54628 eval "$as_ac_var=no"
54630 rm -f conftest.err conftest.$ac_objext \
54631 conftest$ac_exeext conftest.$ac_ext
54633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54635 if test `eval echo '${'$as_ac_var'}'` = yes; then
54636 cat >>confdefs.h <<_ACEOF
54637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54638 _ACEOF
54641 done
54651 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
54652 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
54653 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
54654 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
54655 echo $ECHO_N "(cached) $ECHO_C" >&6
54656 else
54660 ac_ext=cc
54661 ac_cpp='$CXXCPP $CPPFLAGS'
54662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54666 cat >conftest.$ac_ext <<_ACEOF
54667 /* confdefs.h. */
54668 _ACEOF
54669 cat confdefs.h >>conftest.$ac_ext
54670 cat >>conftest.$ac_ext <<_ACEOF
54671 /* end confdefs.h. */
54672 #include <math.h>
54673 #ifdef HAVE_IEEEFP_H
54674 #include <ieeefp.h>
54675 #endif
54678 main ()
54680 fabsl(0);
54682 return 0;
54684 _ACEOF
54685 rm -f conftest.$ac_objext
54686 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54687 (eval $ac_compile) 2>conftest.er1
54688 ac_status=$?
54689 grep -v '^ *+' conftest.er1 >conftest.err
54690 rm -f conftest.er1
54691 cat conftest.err >&5
54692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54693 (exit $ac_status); } &&
54694 { ac_try='test -z "$ac_cxx_werror_flag"
54695 || test ! -s conftest.err'
54696 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54697 (eval $ac_try) 2>&5
54698 ac_status=$?
54699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54700 (exit $ac_status); }; } &&
54701 { ac_try='test -s conftest.$ac_objext'
54702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54703 (eval $ac_try) 2>&5
54704 ac_status=$?
54705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54706 (exit $ac_status); }; }; then
54707 glibcxx_cv_func_fabsl_use=yes
54708 else
54709 echo "$as_me: failed program was:" >&5
54710 sed 's/^/| /' conftest.$ac_ext >&5
54712 glibcxx_cv_func_fabsl_use=no
54714 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
54726 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
54728 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
54730 for ac_func in fabsl
54732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54733 echo "$as_me:$LINENO: checking for $ac_func" >&5
54734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54735 if eval "test \"\${$as_ac_var+set}\" = set"; then
54736 echo $ECHO_N "(cached) $ECHO_C" >&6
54737 else
54738 if test x$gcc_no_link = xyes; then
54739 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54740 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54741 { (exit 1); exit 1; }; }
54743 cat >conftest.$ac_ext <<_ACEOF
54744 /* confdefs.h. */
54745 _ACEOF
54746 cat confdefs.h >>conftest.$ac_ext
54747 cat >>conftest.$ac_ext <<_ACEOF
54748 /* end confdefs.h. */
54749 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54750 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54751 #define $ac_func innocuous_$ac_func
54753 /* System header to define __stub macros and hopefully few prototypes,
54754 which can conflict with char $ac_func (); below.
54755 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54756 <limits.h> exists even on freestanding compilers. */
54758 #ifdef __STDC__
54759 # include <limits.h>
54760 #else
54761 # include <assert.h>
54762 #endif
54764 #undef $ac_func
54766 /* Override any gcc2 internal prototype to avoid an error. */
54767 #ifdef __cplusplus
54768 extern "C"
54770 #endif
54771 /* We use char because int might match the return type of a gcc2
54772 builtin and then its argument prototype would still apply. */
54773 char $ac_func ();
54774 /* The GNU C library defines this for functions which it implements
54775 to always fail with ENOSYS. Some functions are actually named
54776 something starting with __ and the normal name is an alias. */
54777 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54778 choke me
54779 #else
54780 char (*f) () = $ac_func;
54781 #endif
54782 #ifdef __cplusplus
54784 #endif
54787 main ()
54789 return f != $ac_func;
54791 return 0;
54793 _ACEOF
54794 rm -f conftest.$ac_objext conftest$ac_exeext
54795 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54796 (eval $ac_link) 2>conftest.er1
54797 ac_status=$?
54798 grep -v '^ *+' conftest.er1 >conftest.err
54799 rm -f conftest.er1
54800 cat conftest.err >&5
54801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54802 (exit $ac_status); } &&
54803 { ac_try='test -z "$ac_c_werror_flag"
54804 || test ! -s conftest.err'
54805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54806 (eval $ac_try) 2>&5
54807 ac_status=$?
54808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54809 (exit $ac_status); }; } &&
54810 { ac_try='test -s conftest$ac_exeext'
54811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54812 (eval $ac_try) 2>&5
54813 ac_status=$?
54814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54815 (exit $ac_status); }; }; then
54816 eval "$as_ac_var=yes"
54817 else
54818 echo "$as_me: failed program was:" >&5
54819 sed 's/^/| /' conftest.$ac_ext >&5
54821 eval "$as_ac_var=no"
54823 rm -f conftest.err conftest.$ac_objext \
54824 conftest$ac_exeext conftest.$ac_ext
54826 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
54827 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
54828 if test `eval echo '${'$as_ac_var'}'` = yes; then
54829 cat >>confdefs.h <<_ACEOF
54830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
54831 _ACEOF
54834 done
54836 else
54838 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
54839 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
54840 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
54841 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
54842 echo $ECHO_N "(cached) $ECHO_C" >&6
54843 else
54847 ac_ext=cc
54848 ac_cpp='$CXXCPP $CPPFLAGS'
54849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54853 cat >conftest.$ac_ext <<_ACEOF
54854 /* confdefs.h. */
54855 _ACEOF
54856 cat confdefs.h >>conftest.$ac_ext
54857 cat >>conftest.$ac_ext <<_ACEOF
54858 /* end confdefs.h. */
54859 #include <math.h>
54860 #ifdef HAVE_IEEEFP_H
54861 #include <ieeefp.h>
54862 #endif
54865 main ()
54867 _fabsl(0);
54869 return 0;
54871 _ACEOF
54872 rm -f conftest.$ac_objext
54873 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
54874 (eval $ac_compile) 2>conftest.er1
54875 ac_status=$?
54876 grep -v '^ *+' conftest.er1 >conftest.err
54877 rm -f conftest.er1
54878 cat conftest.err >&5
54879 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54880 (exit $ac_status); } &&
54881 { ac_try='test -z "$ac_cxx_werror_flag"
54882 || test ! -s conftest.err'
54883 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54884 (eval $ac_try) 2>&5
54885 ac_status=$?
54886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54887 (exit $ac_status); }; } &&
54888 { ac_try='test -s conftest.$ac_objext'
54889 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54890 (eval $ac_try) 2>&5
54891 ac_status=$?
54892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54893 (exit $ac_status); }; }; then
54894 glibcxx_cv_func__fabsl_use=yes
54895 else
54896 echo "$as_me: failed program was:" >&5
54897 sed 's/^/| /' conftest.$ac_ext >&5
54899 glibcxx_cv_func__fabsl_use=no
54901 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
54902 ac_ext=c
54903 ac_cpp='$CPP $CPPFLAGS'
54904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54912 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
54913 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
54915 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
54917 for ac_func in _fabsl
54919 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
54920 echo "$as_me:$LINENO: checking for $ac_func" >&5
54921 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
54922 if eval "test \"\${$as_ac_var+set}\" = set"; then
54923 echo $ECHO_N "(cached) $ECHO_C" >&6
54924 else
54925 if test x$gcc_no_link = xyes; then
54926 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
54927 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
54928 { (exit 1); exit 1; }; }
54930 cat >conftest.$ac_ext <<_ACEOF
54931 /* confdefs.h. */
54932 _ACEOF
54933 cat confdefs.h >>conftest.$ac_ext
54934 cat >>conftest.$ac_ext <<_ACEOF
54935 /* end confdefs.h. */
54936 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
54937 For example, HP-UX 11i <limits.h> declares gettimeofday. */
54938 #define $ac_func innocuous_$ac_func
54940 /* System header to define __stub macros and hopefully few prototypes,
54941 which can conflict with char $ac_func (); below.
54942 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
54943 <limits.h> exists even on freestanding compilers. */
54945 #ifdef __STDC__
54946 # include <limits.h>
54947 #else
54948 # include <assert.h>
54949 #endif
54951 #undef $ac_func
54953 /* Override any gcc2 internal prototype to avoid an error. */
54954 #ifdef __cplusplus
54955 extern "C"
54957 #endif
54958 /* We use char because int might match the return type of a gcc2
54959 builtin and then its argument prototype would still apply. */
54960 char $ac_func ();
54961 /* The GNU C library defines this for functions which it implements
54962 to always fail with ENOSYS. Some functions are actually named
54963 something starting with __ and the normal name is an alias. */
54964 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
54965 choke me
54966 #else
54967 char (*f) () = $ac_func;
54968 #endif
54969 #ifdef __cplusplus
54971 #endif
54974 main ()
54976 return f != $ac_func;
54978 return 0;
54980 _ACEOF
54981 rm -f conftest.$ac_objext conftest$ac_exeext
54982 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
54983 (eval $ac_link) 2>conftest.er1
54984 ac_status=$?
54985 grep -v '^ *+' conftest.er1 >conftest.err
54986 rm -f conftest.er1
54987 cat conftest.err >&5
54988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54989 (exit $ac_status); } &&
54990 { ac_try='test -z "$ac_c_werror_flag"
54991 || test ! -s conftest.err'
54992 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54993 (eval $ac_try) 2>&5
54994 ac_status=$?
54995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
54996 (exit $ac_status); }; } &&
54997 { ac_try='test -s conftest$ac_exeext'
54998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
54999 (eval $ac_try) 2>&5
55000 ac_status=$?
55001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55002 (exit $ac_status); }; }; then
55003 eval "$as_ac_var=yes"
55004 else
55005 echo "$as_me: failed program was:" >&5
55006 sed 's/^/| /' conftest.$ac_ext >&5
55008 eval "$as_ac_var=no"
55010 rm -f conftest.err conftest.$ac_objext \
55011 conftest$ac_exeext conftest.$ac_ext
55013 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55014 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55015 if test `eval echo '${'$as_ac_var'}'` = yes; then
55016 cat >>confdefs.h <<_ACEOF
55017 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55018 _ACEOF
55021 done
55031 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
55032 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
55033 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
55034 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
55035 echo $ECHO_N "(cached) $ECHO_C" >&6
55036 else
55040 ac_ext=cc
55041 ac_cpp='$CXXCPP $CPPFLAGS'
55042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55046 cat >conftest.$ac_ext <<_ACEOF
55047 /* confdefs.h. */
55048 _ACEOF
55049 cat confdefs.h >>conftest.$ac_ext
55050 cat >>conftest.$ac_ext <<_ACEOF
55051 /* end confdefs.h. */
55052 #include <math.h>
55054 main ()
55056 fmodl(0, 0);
55058 return 0;
55060 _ACEOF
55061 rm -f conftest.$ac_objext
55062 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55063 (eval $ac_compile) 2>conftest.er1
55064 ac_status=$?
55065 grep -v '^ *+' conftest.er1 >conftest.err
55066 rm -f conftest.er1
55067 cat conftest.err >&5
55068 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55069 (exit $ac_status); } &&
55070 { ac_try='test -z "$ac_cxx_werror_flag"
55071 || test ! -s conftest.err'
55072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55073 (eval $ac_try) 2>&5
55074 ac_status=$?
55075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55076 (exit $ac_status); }; } &&
55077 { ac_try='test -s conftest.$ac_objext'
55078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55079 (eval $ac_try) 2>&5
55080 ac_status=$?
55081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55082 (exit $ac_status); }; }; then
55083 glibcxx_cv_func_fmodl_use=yes
55084 else
55085 echo "$as_me: failed program was:" >&5
55086 sed 's/^/| /' conftest.$ac_ext >&5
55088 glibcxx_cv_func_fmodl_use=no
55090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55091 ac_ext=c
55092 ac_cpp='$CPP $CPPFLAGS'
55093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55101 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
55102 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
55104 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
55106 for ac_func in fmodl
55108 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55109 echo "$as_me:$LINENO: checking for $ac_func" >&5
55110 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55111 if eval "test \"\${$as_ac_var+set}\" = set"; then
55112 echo $ECHO_N "(cached) $ECHO_C" >&6
55113 else
55114 if test x$gcc_no_link = xyes; then
55115 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55116 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55117 { (exit 1); exit 1; }; }
55119 cat >conftest.$ac_ext <<_ACEOF
55120 /* confdefs.h. */
55121 _ACEOF
55122 cat confdefs.h >>conftest.$ac_ext
55123 cat >>conftest.$ac_ext <<_ACEOF
55124 /* end confdefs.h. */
55125 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55126 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55127 #define $ac_func innocuous_$ac_func
55129 /* System header to define __stub macros and hopefully few prototypes,
55130 which can conflict with char $ac_func (); below.
55131 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55132 <limits.h> exists even on freestanding compilers. */
55134 #ifdef __STDC__
55135 # include <limits.h>
55136 #else
55137 # include <assert.h>
55138 #endif
55140 #undef $ac_func
55142 /* Override any gcc2 internal prototype to avoid an error. */
55143 #ifdef __cplusplus
55144 extern "C"
55146 #endif
55147 /* We use char because int might match the return type of a gcc2
55148 builtin and then its argument prototype would still apply. */
55149 char $ac_func ();
55150 /* The GNU C library defines this for functions which it implements
55151 to always fail with ENOSYS. Some functions are actually named
55152 something starting with __ and the normal name is an alias. */
55153 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55154 choke me
55155 #else
55156 char (*f) () = $ac_func;
55157 #endif
55158 #ifdef __cplusplus
55160 #endif
55163 main ()
55165 return f != $ac_func;
55167 return 0;
55169 _ACEOF
55170 rm -f conftest.$ac_objext conftest$ac_exeext
55171 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55172 (eval $ac_link) 2>conftest.er1
55173 ac_status=$?
55174 grep -v '^ *+' conftest.er1 >conftest.err
55175 rm -f conftest.er1
55176 cat conftest.err >&5
55177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55178 (exit $ac_status); } &&
55179 { ac_try='test -z "$ac_c_werror_flag"
55180 || test ! -s conftest.err'
55181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55182 (eval $ac_try) 2>&5
55183 ac_status=$?
55184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55185 (exit $ac_status); }; } &&
55186 { ac_try='test -s conftest$ac_exeext'
55187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55188 (eval $ac_try) 2>&5
55189 ac_status=$?
55190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55191 (exit $ac_status); }; }; then
55192 eval "$as_ac_var=yes"
55193 else
55194 echo "$as_me: failed program was:" >&5
55195 sed 's/^/| /' conftest.$ac_ext >&5
55197 eval "$as_ac_var=no"
55199 rm -f conftest.err conftest.$ac_objext \
55200 conftest$ac_exeext conftest.$ac_ext
55202 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55203 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55204 if test `eval echo '${'$as_ac_var'}'` = yes; then
55205 cat >>confdefs.h <<_ACEOF
55206 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55207 _ACEOF
55210 done
55212 else
55214 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
55215 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
55216 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
55217 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
55218 echo $ECHO_N "(cached) $ECHO_C" >&6
55219 else
55223 ac_ext=cc
55224 ac_cpp='$CXXCPP $CPPFLAGS'
55225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55229 cat >conftest.$ac_ext <<_ACEOF
55230 /* confdefs.h. */
55231 _ACEOF
55232 cat confdefs.h >>conftest.$ac_ext
55233 cat >>conftest.$ac_ext <<_ACEOF
55234 /* end confdefs.h. */
55235 #include <math.h>
55237 main ()
55239 _fmodl(0, 0);
55241 return 0;
55243 _ACEOF
55244 rm -f conftest.$ac_objext
55245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55246 (eval $ac_compile) 2>conftest.er1
55247 ac_status=$?
55248 grep -v '^ *+' conftest.er1 >conftest.err
55249 rm -f conftest.er1
55250 cat conftest.err >&5
55251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55252 (exit $ac_status); } &&
55253 { ac_try='test -z "$ac_cxx_werror_flag"
55254 || test ! -s conftest.err'
55255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55256 (eval $ac_try) 2>&5
55257 ac_status=$?
55258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55259 (exit $ac_status); }; } &&
55260 { ac_try='test -s conftest.$ac_objext'
55261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55262 (eval $ac_try) 2>&5
55263 ac_status=$?
55264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55265 (exit $ac_status); }; }; then
55266 glibcxx_cv_func__fmodl_use=yes
55267 else
55268 echo "$as_me: failed program was:" >&5
55269 sed 's/^/| /' conftest.$ac_ext >&5
55271 glibcxx_cv_func__fmodl_use=no
55273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55274 ac_ext=c
55275 ac_cpp='$CPP $CPPFLAGS'
55276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
55285 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
55287 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
55289 for ac_func in _fmodl
55291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55292 echo "$as_me:$LINENO: checking for $ac_func" >&5
55293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55294 if eval "test \"\${$as_ac_var+set}\" = set"; then
55295 echo $ECHO_N "(cached) $ECHO_C" >&6
55296 else
55297 if test x$gcc_no_link = xyes; then
55298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55300 { (exit 1); exit 1; }; }
55302 cat >conftest.$ac_ext <<_ACEOF
55303 /* confdefs.h. */
55304 _ACEOF
55305 cat confdefs.h >>conftest.$ac_ext
55306 cat >>conftest.$ac_ext <<_ACEOF
55307 /* end confdefs.h. */
55308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55310 #define $ac_func innocuous_$ac_func
55312 /* System header to define __stub macros and hopefully few prototypes,
55313 which can conflict with char $ac_func (); below.
55314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55315 <limits.h> exists even on freestanding compilers. */
55317 #ifdef __STDC__
55318 # include <limits.h>
55319 #else
55320 # include <assert.h>
55321 #endif
55323 #undef $ac_func
55325 /* Override any gcc2 internal prototype to avoid an error. */
55326 #ifdef __cplusplus
55327 extern "C"
55329 #endif
55330 /* We use char because int might match the return type of a gcc2
55331 builtin and then its argument prototype would still apply. */
55332 char $ac_func ();
55333 /* The GNU C library defines this for functions which it implements
55334 to always fail with ENOSYS. Some functions are actually named
55335 something starting with __ and the normal name is an alias. */
55336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55337 choke me
55338 #else
55339 char (*f) () = $ac_func;
55340 #endif
55341 #ifdef __cplusplus
55343 #endif
55346 main ()
55348 return f != $ac_func;
55350 return 0;
55352 _ACEOF
55353 rm -f conftest.$ac_objext conftest$ac_exeext
55354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55355 (eval $ac_link) 2>conftest.er1
55356 ac_status=$?
55357 grep -v '^ *+' conftest.er1 >conftest.err
55358 rm -f conftest.er1
55359 cat conftest.err >&5
55360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55361 (exit $ac_status); } &&
55362 { ac_try='test -z "$ac_c_werror_flag"
55363 || test ! -s conftest.err'
55364 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55365 (eval $ac_try) 2>&5
55366 ac_status=$?
55367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55368 (exit $ac_status); }; } &&
55369 { ac_try='test -s conftest$ac_exeext'
55370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55371 (eval $ac_try) 2>&5
55372 ac_status=$?
55373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55374 (exit $ac_status); }; }; then
55375 eval "$as_ac_var=yes"
55376 else
55377 echo "$as_me: failed program was:" >&5
55378 sed 's/^/| /' conftest.$ac_ext >&5
55380 eval "$as_ac_var=no"
55382 rm -f conftest.err conftest.$ac_objext \
55383 conftest$ac_exeext conftest.$ac_ext
55385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55387 if test `eval echo '${'$as_ac_var'}'` = yes; then
55388 cat >>confdefs.h <<_ACEOF
55389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55390 _ACEOF
55393 done
55403 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
55404 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
55405 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
55406 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
55407 echo $ECHO_N "(cached) $ECHO_C" >&6
55408 else
55412 ac_ext=cc
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55418 cat >conftest.$ac_ext <<_ACEOF
55419 /* confdefs.h. */
55420 _ACEOF
55421 cat confdefs.h >>conftest.$ac_ext
55422 cat >>conftest.$ac_ext <<_ACEOF
55423 /* end confdefs.h. */
55424 #include <math.h>
55426 main ()
55428 frexpl(0, 0);
55430 return 0;
55432 _ACEOF
55433 rm -f conftest.$ac_objext
55434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55435 (eval $ac_compile) 2>conftest.er1
55436 ac_status=$?
55437 grep -v '^ *+' conftest.er1 >conftest.err
55438 rm -f conftest.er1
55439 cat conftest.err >&5
55440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55441 (exit $ac_status); } &&
55442 { ac_try='test -z "$ac_cxx_werror_flag"
55443 || test ! -s conftest.err'
55444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55445 (eval $ac_try) 2>&5
55446 ac_status=$?
55447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55448 (exit $ac_status); }; } &&
55449 { ac_try='test -s conftest.$ac_objext'
55450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55451 (eval $ac_try) 2>&5
55452 ac_status=$?
55453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55454 (exit $ac_status); }; }; then
55455 glibcxx_cv_func_frexpl_use=yes
55456 else
55457 echo "$as_me: failed program was:" >&5
55458 sed 's/^/| /' conftest.$ac_ext >&5
55460 glibcxx_cv_func_frexpl_use=no
55462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55463 ac_ext=c
55464 ac_cpp='$CPP $CPPFLAGS'
55465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
55474 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
55476 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
55478 for ac_func in frexpl
55480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55481 echo "$as_me:$LINENO: checking for $ac_func" >&5
55482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55483 if eval "test \"\${$as_ac_var+set}\" = set"; then
55484 echo $ECHO_N "(cached) $ECHO_C" >&6
55485 else
55486 if test x$gcc_no_link = xyes; then
55487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55489 { (exit 1); exit 1; }; }
55491 cat >conftest.$ac_ext <<_ACEOF
55492 /* confdefs.h. */
55493 _ACEOF
55494 cat confdefs.h >>conftest.$ac_ext
55495 cat >>conftest.$ac_ext <<_ACEOF
55496 /* end confdefs.h. */
55497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55499 #define $ac_func innocuous_$ac_func
55501 /* System header to define __stub macros and hopefully few prototypes,
55502 which can conflict with char $ac_func (); below.
55503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55504 <limits.h> exists even on freestanding compilers. */
55506 #ifdef __STDC__
55507 # include <limits.h>
55508 #else
55509 # include <assert.h>
55510 #endif
55512 #undef $ac_func
55514 /* Override any gcc2 internal prototype to avoid an error. */
55515 #ifdef __cplusplus
55516 extern "C"
55518 #endif
55519 /* We use char because int might match the return type of a gcc2
55520 builtin and then its argument prototype would still apply. */
55521 char $ac_func ();
55522 /* The GNU C library defines this for functions which it implements
55523 to always fail with ENOSYS. Some functions are actually named
55524 something starting with __ and the normal name is an alias. */
55525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55526 choke me
55527 #else
55528 char (*f) () = $ac_func;
55529 #endif
55530 #ifdef __cplusplus
55532 #endif
55535 main ()
55537 return f != $ac_func;
55539 return 0;
55541 _ACEOF
55542 rm -f conftest.$ac_objext conftest$ac_exeext
55543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55544 (eval $ac_link) 2>conftest.er1
55545 ac_status=$?
55546 grep -v '^ *+' conftest.er1 >conftest.err
55547 rm -f conftest.er1
55548 cat conftest.err >&5
55549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55550 (exit $ac_status); } &&
55551 { ac_try='test -z "$ac_c_werror_flag"
55552 || test ! -s conftest.err'
55553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55554 (eval $ac_try) 2>&5
55555 ac_status=$?
55556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55557 (exit $ac_status); }; } &&
55558 { ac_try='test -s conftest$ac_exeext'
55559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55560 (eval $ac_try) 2>&5
55561 ac_status=$?
55562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55563 (exit $ac_status); }; }; then
55564 eval "$as_ac_var=yes"
55565 else
55566 echo "$as_me: failed program was:" >&5
55567 sed 's/^/| /' conftest.$ac_ext >&5
55569 eval "$as_ac_var=no"
55571 rm -f conftest.err conftest.$ac_objext \
55572 conftest$ac_exeext conftest.$ac_ext
55574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55576 if test `eval echo '${'$as_ac_var'}'` = yes; then
55577 cat >>confdefs.h <<_ACEOF
55578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55579 _ACEOF
55582 done
55584 else
55586 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
55587 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
55588 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
55589 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
55590 echo $ECHO_N "(cached) $ECHO_C" >&6
55591 else
55595 ac_ext=cc
55596 ac_cpp='$CXXCPP $CPPFLAGS'
55597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55601 cat >conftest.$ac_ext <<_ACEOF
55602 /* confdefs.h. */
55603 _ACEOF
55604 cat confdefs.h >>conftest.$ac_ext
55605 cat >>conftest.$ac_ext <<_ACEOF
55606 /* end confdefs.h. */
55607 #include <math.h>
55609 main ()
55611 _frexpl(0, 0);
55613 return 0;
55615 _ACEOF
55616 rm -f conftest.$ac_objext
55617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55618 (eval $ac_compile) 2>conftest.er1
55619 ac_status=$?
55620 grep -v '^ *+' conftest.er1 >conftest.err
55621 rm -f conftest.er1
55622 cat conftest.err >&5
55623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55624 (exit $ac_status); } &&
55625 { ac_try='test -z "$ac_cxx_werror_flag"
55626 || test ! -s conftest.err'
55627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55628 (eval $ac_try) 2>&5
55629 ac_status=$?
55630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55631 (exit $ac_status); }; } &&
55632 { ac_try='test -s conftest.$ac_objext'
55633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55634 (eval $ac_try) 2>&5
55635 ac_status=$?
55636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55637 (exit $ac_status); }; }; then
55638 glibcxx_cv_func__frexpl_use=yes
55639 else
55640 echo "$as_me: failed program was:" >&5
55641 sed 's/^/| /' conftest.$ac_ext >&5
55643 glibcxx_cv_func__frexpl_use=no
55645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55646 ac_ext=c
55647 ac_cpp='$CPP $CPPFLAGS'
55648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
55657 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
55659 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
55661 for ac_func in _frexpl
55663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55664 echo "$as_me:$LINENO: checking for $ac_func" >&5
55665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55666 if eval "test \"\${$as_ac_var+set}\" = set"; then
55667 echo $ECHO_N "(cached) $ECHO_C" >&6
55668 else
55669 if test x$gcc_no_link = xyes; then
55670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55672 { (exit 1); exit 1; }; }
55674 cat >conftest.$ac_ext <<_ACEOF
55675 /* confdefs.h. */
55676 _ACEOF
55677 cat confdefs.h >>conftest.$ac_ext
55678 cat >>conftest.$ac_ext <<_ACEOF
55679 /* end confdefs.h. */
55680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55682 #define $ac_func innocuous_$ac_func
55684 /* System header to define __stub macros and hopefully few prototypes,
55685 which can conflict with char $ac_func (); below.
55686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55687 <limits.h> exists even on freestanding compilers. */
55689 #ifdef __STDC__
55690 # include <limits.h>
55691 #else
55692 # include <assert.h>
55693 #endif
55695 #undef $ac_func
55697 /* Override any gcc2 internal prototype to avoid an error. */
55698 #ifdef __cplusplus
55699 extern "C"
55701 #endif
55702 /* We use char because int might match the return type of a gcc2
55703 builtin and then its argument prototype would still apply. */
55704 char $ac_func ();
55705 /* The GNU C library defines this for functions which it implements
55706 to always fail with ENOSYS. Some functions are actually named
55707 something starting with __ and the normal name is an alias. */
55708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55709 choke me
55710 #else
55711 char (*f) () = $ac_func;
55712 #endif
55713 #ifdef __cplusplus
55715 #endif
55718 main ()
55720 return f != $ac_func;
55722 return 0;
55724 _ACEOF
55725 rm -f conftest.$ac_objext conftest$ac_exeext
55726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55727 (eval $ac_link) 2>conftest.er1
55728 ac_status=$?
55729 grep -v '^ *+' conftest.er1 >conftest.err
55730 rm -f conftest.er1
55731 cat conftest.err >&5
55732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55733 (exit $ac_status); } &&
55734 { ac_try='test -z "$ac_c_werror_flag"
55735 || test ! -s conftest.err'
55736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55737 (eval $ac_try) 2>&5
55738 ac_status=$?
55739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55740 (exit $ac_status); }; } &&
55741 { ac_try='test -s conftest$ac_exeext'
55742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55743 (eval $ac_try) 2>&5
55744 ac_status=$?
55745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55746 (exit $ac_status); }; }; then
55747 eval "$as_ac_var=yes"
55748 else
55749 echo "$as_me: failed program was:" >&5
55750 sed 's/^/| /' conftest.$ac_ext >&5
55752 eval "$as_ac_var=no"
55754 rm -f conftest.err conftest.$ac_objext \
55755 conftest$ac_exeext conftest.$ac_ext
55757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55759 if test `eval echo '${'$as_ac_var'}'` = yes; then
55760 cat >>confdefs.h <<_ACEOF
55761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55762 _ACEOF
55765 done
55775 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
55776 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
55777 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
55778 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
55779 echo $ECHO_N "(cached) $ECHO_C" >&6
55780 else
55784 ac_ext=cc
55785 ac_cpp='$CXXCPP $CPPFLAGS'
55786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55790 cat >conftest.$ac_ext <<_ACEOF
55791 /* confdefs.h. */
55792 _ACEOF
55793 cat confdefs.h >>conftest.$ac_ext
55794 cat >>conftest.$ac_ext <<_ACEOF
55795 /* end confdefs.h. */
55796 #include <math.h>
55798 main ()
55800 hypotl(0, 0);
55802 return 0;
55804 _ACEOF
55805 rm -f conftest.$ac_objext
55806 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55807 (eval $ac_compile) 2>conftest.er1
55808 ac_status=$?
55809 grep -v '^ *+' conftest.er1 >conftest.err
55810 rm -f conftest.er1
55811 cat conftest.err >&5
55812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55813 (exit $ac_status); } &&
55814 { ac_try='test -z "$ac_cxx_werror_flag"
55815 || test ! -s conftest.err'
55816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55817 (eval $ac_try) 2>&5
55818 ac_status=$?
55819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55820 (exit $ac_status); }; } &&
55821 { ac_try='test -s conftest.$ac_objext'
55822 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55823 (eval $ac_try) 2>&5
55824 ac_status=$?
55825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55826 (exit $ac_status); }; }; then
55827 glibcxx_cv_func_hypotl_use=yes
55828 else
55829 echo "$as_me: failed program was:" >&5
55830 sed 's/^/| /' conftest.$ac_ext >&5
55832 glibcxx_cv_func_hypotl_use=no
55834 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
55835 ac_ext=c
55836 ac_cpp='$CPP $CPPFLAGS'
55837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55845 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
55846 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
55848 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
55850 for ac_func in hypotl
55852 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
55853 echo "$as_me:$LINENO: checking for $ac_func" >&5
55854 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
55855 if eval "test \"\${$as_ac_var+set}\" = set"; then
55856 echo $ECHO_N "(cached) $ECHO_C" >&6
55857 else
55858 if test x$gcc_no_link = xyes; then
55859 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
55860 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
55861 { (exit 1); exit 1; }; }
55863 cat >conftest.$ac_ext <<_ACEOF
55864 /* confdefs.h. */
55865 _ACEOF
55866 cat confdefs.h >>conftest.$ac_ext
55867 cat >>conftest.$ac_ext <<_ACEOF
55868 /* end confdefs.h. */
55869 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
55870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
55871 #define $ac_func innocuous_$ac_func
55873 /* System header to define __stub macros and hopefully few prototypes,
55874 which can conflict with char $ac_func (); below.
55875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
55876 <limits.h> exists even on freestanding compilers. */
55878 #ifdef __STDC__
55879 # include <limits.h>
55880 #else
55881 # include <assert.h>
55882 #endif
55884 #undef $ac_func
55886 /* Override any gcc2 internal prototype to avoid an error. */
55887 #ifdef __cplusplus
55888 extern "C"
55890 #endif
55891 /* We use char because int might match the return type of a gcc2
55892 builtin and then its argument prototype would still apply. */
55893 char $ac_func ();
55894 /* The GNU C library defines this for functions which it implements
55895 to always fail with ENOSYS. Some functions are actually named
55896 something starting with __ and the normal name is an alias. */
55897 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
55898 choke me
55899 #else
55900 char (*f) () = $ac_func;
55901 #endif
55902 #ifdef __cplusplus
55904 #endif
55907 main ()
55909 return f != $ac_func;
55911 return 0;
55913 _ACEOF
55914 rm -f conftest.$ac_objext conftest$ac_exeext
55915 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
55916 (eval $ac_link) 2>conftest.er1
55917 ac_status=$?
55918 grep -v '^ *+' conftest.er1 >conftest.err
55919 rm -f conftest.er1
55920 cat conftest.err >&5
55921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55922 (exit $ac_status); } &&
55923 { ac_try='test -z "$ac_c_werror_flag"
55924 || test ! -s conftest.err'
55925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55926 (eval $ac_try) 2>&5
55927 ac_status=$?
55928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55929 (exit $ac_status); }; } &&
55930 { ac_try='test -s conftest$ac_exeext'
55931 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
55932 (eval $ac_try) 2>&5
55933 ac_status=$?
55934 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55935 (exit $ac_status); }; }; then
55936 eval "$as_ac_var=yes"
55937 else
55938 echo "$as_me: failed program was:" >&5
55939 sed 's/^/| /' conftest.$ac_ext >&5
55941 eval "$as_ac_var=no"
55943 rm -f conftest.err conftest.$ac_objext \
55944 conftest$ac_exeext conftest.$ac_ext
55946 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
55947 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
55948 if test `eval echo '${'$as_ac_var'}'` = yes; then
55949 cat >>confdefs.h <<_ACEOF
55950 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
55951 _ACEOF
55954 done
55956 else
55958 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
55959 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
55960 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
55961 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
55962 echo $ECHO_N "(cached) $ECHO_C" >&6
55963 else
55967 ac_ext=cc
55968 ac_cpp='$CXXCPP $CPPFLAGS'
55969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55973 cat >conftest.$ac_ext <<_ACEOF
55974 /* confdefs.h. */
55975 _ACEOF
55976 cat confdefs.h >>conftest.$ac_ext
55977 cat >>conftest.$ac_ext <<_ACEOF
55978 /* end confdefs.h. */
55979 #include <math.h>
55981 main ()
55983 _hypotl(0, 0);
55985 return 0;
55987 _ACEOF
55988 rm -f conftest.$ac_objext
55989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
55990 (eval $ac_compile) 2>conftest.er1
55991 ac_status=$?
55992 grep -v '^ *+' conftest.er1 >conftest.err
55993 rm -f conftest.er1
55994 cat conftest.err >&5
55995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
55996 (exit $ac_status); } &&
55997 { ac_try='test -z "$ac_cxx_werror_flag"
55998 || test ! -s conftest.err'
55999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56000 (eval $ac_try) 2>&5
56001 ac_status=$?
56002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56003 (exit $ac_status); }; } &&
56004 { ac_try='test -s conftest.$ac_objext'
56005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56006 (eval $ac_try) 2>&5
56007 ac_status=$?
56008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56009 (exit $ac_status); }; }; then
56010 glibcxx_cv_func__hypotl_use=yes
56011 else
56012 echo "$as_me: failed program was:" >&5
56013 sed 's/^/| /' conftest.$ac_ext >&5
56015 glibcxx_cv_func__hypotl_use=no
56017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56018 ac_ext=c
56019 ac_cpp='$CPP $CPPFLAGS'
56020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56028 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
56029 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
56031 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
56033 for ac_func in _hypotl
56035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56036 echo "$as_me:$LINENO: checking for $ac_func" >&5
56037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56038 if eval "test \"\${$as_ac_var+set}\" = set"; then
56039 echo $ECHO_N "(cached) $ECHO_C" >&6
56040 else
56041 if test x$gcc_no_link = xyes; then
56042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56044 { (exit 1); exit 1; }; }
56046 cat >conftest.$ac_ext <<_ACEOF
56047 /* confdefs.h. */
56048 _ACEOF
56049 cat confdefs.h >>conftest.$ac_ext
56050 cat >>conftest.$ac_ext <<_ACEOF
56051 /* end confdefs.h. */
56052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56054 #define $ac_func innocuous_$ac_func
56056 /* System header to define __stub macros and hopefully few prototypes,
56057 which can conflict with char $ac_func (); below.
56058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56059 <limits.h> exists even on freestanding compilers. */
56061 #ifdef __STDC__
56062 # include <limits.h>
56063 #else
56064 # include <assert.h>
56065 #endif
56067 #undef $ac_func
56069 /* Override any gcc2 internal prototype to avoid an error. */
56070 #ifdef __cplusplus
56071 extern "C"
56073 #endif
56074 /* We use char because int might match the return type of a gcc2
56075 builtin and then its argument prototype would still apply. */
56076 char $ac_func ();
56077 /* The GNU C library defines this for functions which it implements
56078 to always fail with ENOSYS. Some functions are actually named
56079 something starting with __ and the normal name is an alias. */
56080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56081 choke me
56082 #else
56083 char (*f) () = $ac_func;
56084 #endif
56085 #ifdef __cplusplus
56087 #endif
56090 main ()
56092 return f != $ac_func;
56094 return 0;
56096 _ACEOF
56097 rm -f conftest.$ac_objext conftest$ac_exeext
56098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56099 (eval $ac_link) 2>conftest.er1
56100 ac_status=$?
56101 grep -v '^ *+' conftest.er1 >conftest.err
56102 rm -f conftest.er1
56103 cat conftest.err >&5
56104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56105 (exit $ac_status); } &&
56106 { ac_try='test -z "$ac_c_werror_flag"
56107 || test ! -s conftest.err'
56108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56109 (eval $ac_try) 2>&5
56110 ac_status=$?
56111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56112 (exit $ac_status); }; } &&
56113 { ac_try='test -s conftest$ac_exeext'
56114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56115 (eval $ac_try) 2>&5
56116 ac_status=$?
56117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56118 (exit $ac_status); }; }; then
56119 eval "$as_ac_var=yes"
56120 else
56121 echo "$as_me: failed program was:" >&5
56122 sed 's/^/| /' conftest.$ac_ext >&5
56124 eval "$as_ac_var=no"
56126 rm -f conftest.err conftest.$ac_objext \
56127 conftest$ac_exeext conftest.$ac_ext
56129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56131 if test `eval echo '${'$as_ac_var'}'` = yes; then
56132 cat >>confdefs.h <<_ACEOF
56133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56134 _ACEOF
56137 done
56147 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
56148 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
56149 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
56150 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
56151 echo $ECHO_N "(cached) $ECHO_C" >&6
56152 else
56156 ac_ext=cc
56157 ac_cpp='$CXXCPP $CPPFLAGS'
56158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56162 cat >conftest.$ac_ext <<_ACEOF
56163 /* confdefs.h. */
56164 _ACEOF
56165 cat confdefs.h >>conftest.$ac_ext
56166 cat >>conftest.$ac_ext <<_ACEOF
56167 /* end confdefs.h. */
56168 #include <math.h>
56170 main ()
56172 ldexpl(0, 0);
56174 return 0;
56176 _ACEOF
56177 rm -f conftest.$ac_objext
56178 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56179 (eval $ac_compile) 2>conftest.er1
56180 ac_status=$?
56181 grep -v '^ *+' conftest.er1 >conftest.err
56182 rm -f conftest.er1
56183 cat conftest.err >&5
56184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56185 (exit $ac_status); } &&
56186 { ac_try='test -z "$ac_cxx_werror_flag"
56187 || test ! -s conftest.err'
56188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56189 (eval $ac_try) 2>&5
56190 ac_status=$?
56191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56192 (exit $ac_status); }; } &&
56193 { ac_try='test -s conftest.$ac_objext'
56194 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56195 (eval $ac_try) 2>&5
56196 ac_status=$?
56197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56198 (exit $ac_status); }; }; then
56199 glibcxx_cv_func_ldexpl_use=yes
56200 else
56201 echo "$as_me: failed program was:" >&5
56202 sed 's/^/| /' conftest.$ac_ext >&5
56204 glibcxx_cv_func_ldexpl_use=no
56206 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56207 ac_ext=c
56208 ac_cpp='$CPP $CPPFLAGS'
56209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56217 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
56218 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
56220 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
56222 for ac_func in ldexpl
56224 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56225 echo "$as_me:$LINENO: checking for $ac_func" >&5
56226 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56227 if eval "test \"\${$as_ac_var+set}\" = set"; then
56228 echo $ECHO_N "(cached) $ECHO_C" >&6
56229 else
56230 if test x$gcc_no_link = xyes; then
56231 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56232 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56233 { (exit 1); exit 1; }; }
56235 cat >conftest.$ac_ext <<_ACEOF
56236 /* confdefs.h. */
56237 _ACEOF
56238 cat confdefs.h >>conftest.$ac_ext
56239 cat >>conftest.$ac_ext <<_ACEOF
56240 /* end confdefs.h. */
56241 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56242 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56243 #define $ac_func innocuous_$ac_func
56245 /* System header to define __stub macros and hopefully few prototypes,
56246 which can conflict with char $ac_func (); below.
56247 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56248 <limits.h> exists even on freestanding compilers. */
56250 #ifdef __STDC__
56251 # include <limits.h>
56252 #else
56253 # include <assert.h>
56254 #endif
56256 #undef $ac_func
56258 /* Override any gcc2 internal prototype to avoid an error. */
56259 #ifdef __cplusplus
56260 extern "C"
56262 #endif
56263 /* We use char because int might match the return type of a gcc2
56264 builtin and then its argument prototype would still apply. */
56265 char $ac_func ();
56266 /* The GNU C library defines this for functions which it implements
56267 to always fail with ENOSYS. Some functions are actually named
56268 something starting with __ and the normal name is an alias. */
56269 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56270 choke me
56271 #else
56272 char (*f) () = $ac_func;
56273 #endif
56274 #ifdef __cplusplus
56276 #endif
56279 main ()
56281 return f != $ac_func;
56283 return 0;
56285 _ACEOF
56286 rm -f conftest.$ac_objext conftest$ac_exeext
56287 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56288 (eval $ac_link) 2>conftest.er1
56289 ac_status=$?
56290 grep -v '^ *+' conftest.er1 >conftest.err
56291 rm -f conftest.er1
56292 cat conftest.err >&5
56293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56294 (exit $ac_status); } &&
56295 { ac_try='test -z "$ac_c_werror_flag"
56296 || test ! -s conftest.err'
56297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56298 (eval $ac_try) 2>&5
56299 ac_status=$?
56300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56301 (exit $ac_status); }; } &&
56302 { ac_try='test -s conftest$ac_exeext'
56303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56304 (eval $ac_try) 2>&5
56305 ac_status=$?
56306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56307 (exit $ac_status); }; }; then
56308 eval "$as_ac_var=yes"
56309 else
56310 echo "$as_me: failed program was:" >&5
56311 sed 's/^/| /' conftest.$ac_ext >&5
56313 eval "$as_ac_var=no"
56315 rm -f conftest.err conftest.$ac_objext \
56316 conftest$ac_exeext conftest.$ac_ext
56318 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56319 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56320 if test `eval echo '${'$as_ac_var'}'` = yes; then
56321 cat >>confdefs.h <<_ACEOF
56322 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56323 _ACEOF
56326 done
56328 else
56330 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
56331 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
56332 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
56333 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
56334 echo $ECHO_N "(cached) $ECHO_C" >&6
56335 else
56339 ac_ext=cc
56340 ac_cpp='$CXXCPP $CPPFLAGS'
56341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56345 cat >conftest.$ac_ext <<_ACEOF
56346 /* confdefs.h. */
56347 _ACEOF
56348 cat confdefs.h >>conftest.$ac_ext
56349 cat >>conftest.$ac_ext <<_ACEOF
56350 /* end confdefs.h. */
56351 #include <math.h>
56353 main ()
56355 _ldexpl(0, 0);
56357 return 0;
56359 _ACEOF
56360 rm -f conftest.$ac_objext
56361 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56362 (eval $ac_compile) 2>conftest.er1
56363 ac_status=$?
56364 grep -v '^ *+' conftest.er1 >conftest.err
56365 rm -f conftest.er1
56366 cat conftest.err >&5
56367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56368 (exit $ac_status); } &&
56369 { ac_try='test -z "$ac_cxx_werror_flag"
56370 || test ! -s conftest.err'
56371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56372 (eval $ac_try) 2>&5
56373 ac_status=$?
56374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56375 (exit $ac_status); }; } &&
56376 { ac_try='test -s conftest.$ac_objext'
56377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56378 (eval $ac_try) 2>&5
56379 ac_status=$?
56380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56381 (exit $ac_status); }; }; then
56382 glibcxx_cv_func__ldexpl_use=yes
56383 else
56384 echo "$as_me: failed program was:" >&5
56385 sed 's/^/| /' conftest.$ac_ext >&5
56387 glibcxx_cv_func__ldexpl_use=no
56389 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56390 ac_ext=c
56391 ac_cpp='$CPP $CPPFLAGS'
56392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56400 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
56401 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
56403 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
56405 for ac_func in _ldexpl
56407 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56408 echo "$as_me:$LINENO: checking for $ac_func" >&5
56409 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56410 if eval "test \"\${$as_ac_var+set}\" = set"; then
56411 echo $ECHO_N "(cached) $ECHO_C" >&6
56412 else
56413 if test x$gcc_no_link = xyes; then
56414 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56415 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56416 { (exit 1); exit 1; }; }
56418 cat >conftest.$ac_ext <<_ACEOF
56419 /* confdefs.h. */
56420 _ACEOF
56421 cat confdefs.h >>conftest.$ac_ext
56422 cat >>conftest.$ac_ext <<_ACEOF
56423 /* end confdefs.h. */
56424 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56425 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56426 #define $ac_func innocuous_$ac_func
56428 /* System header to define __stub macros and hopefully few prototypes,
56429 which can conflict with char $ac_func (); below.
56430 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56431 <limits.h> exists even on freestanding compilers. */
56433 #ifdef __STDC__
56434 # include <limits.h>
56435 #else
56436 # include <assert.h>
56437 #endif
56439 #undef $ac_func
56441 /* Override any gcc2 internal prototype to avoid an error. */
56442 #ifdef __cplusplus
56443 extern "C"
56445 #endif
56446 /* We use char because int might match the return type of a gcc2
56447 builtin and then its argument prototype would still apply. */
56448 char $ac_func ();
56449 /* The GNU C library defines this for functions which it implements
56450 to always fail with ENOSYS. Some functions are actually named
56451 something starting with __ and the normal name is an alias. */
56452 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56453 choke me
56454 #else
56455 char (*f) () = $ac_func;
56456 #endif
56457 #ifdef __cplusplus
56459 #endif
56462 main ()
56464 return f != $ac_func;
56466 return 0;
56468 _ACEOF
56469 rm -f conftest.$ac_objext conftest$ac_exeext
56470 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56471 (eval $ac_link) 2>conftest.er1
56472 ac_status=$?
56473 grep -v '^ *+' conftest.er1 >conftest.err
56474 rm -f conftest.er1
56475 cat conftest.err >&5
56476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56477 (exit $ac_status); } &&
56478 { ac_try='test -z "$ac_c_werror_flag"
56479 || test ! -s conftest.err'
56480 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56481 (eval $ac_try) 2>&5
56482 ac_status=$?
56483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56484 (exit $ac_status); }; } &&
56485 { ac_try='test -s conftest$ac_exeext'
56486 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56487 (eval $ac_try) 2>&5
56488 ac_status=$?
56489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56490 (exit $ac_status); }; }; then
56491 eval "$as_ac_var=yes"
56492 else
56493 echo "$as_me: failed program was:" >&5
56494 sed 's/^/| /' conftest.$ac_ext >&5
56496 eval "$as_ac_var=no"
56498 rm -f conftest.err conftest.$ac_objext \
56499 conftest$ac_exeext conftest.$ac_ext
56501 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56502 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56503 if test `eval echo '${'$as_ac_var'}'` = yes; then
56504 cat >>confdefs.h <<_ACEOF
56505 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56506 _ACEOF
56509 done
56519 echo "$as_me:$LINENO: checking for logl declaration" >&5
56520 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
56521 if test x${glibcxx_cv_func_logl_use+set} != xset; then
56522 if test "${glibcxx_cv_func_logl_use+set}" = set; then
56523 echo $ECHO_N "(cached) $ECHO_C" >&6
56524 else
56528 ac_ext=cc
56529 ac_cpp='$CXXCPP $CPPFLAGS'
56530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56534 cat >conftest.$ac_ext <<_ACEOF
56535 /* confdefs.h. */
56536 _ACEOF
56537 cat confdefs.h >>conftest.$ac_ext
56538 cat >>conftest.$ac_ext <<_ACEOF
56539 /* end confdefs.h. */
56540 #include <math.h>
56541 #ifdef HAVE_IEEEFP_H
56542 #include <ieeefp.h>
56543 #endif
56546 main ()
56548 logl(0);
56550 return 0;
56552 _ACEOF
56553 rm -f conftest.$ac_objext
56554 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56555 (eval $ac_compile) 2>conftest.er1
56556 ac_status=$?
56557 grep -v '^ *+' conftest.er1 >conftest.err
56558 rm -f conftest.er1
56559 cat conftest.err >&5
56560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56561 (exit $ac_status); } &&
56562 { ac_try='test -z "$ac_cxx_werror_flag"
56563 || test ! -s conftest.err'
56564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56565 (eval $ac_try) 2>&5
56566 ac_status=$?
56567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56568 (exit $ac_status); }; } &&
56569 { ac_try='test -s conftest.$ac_objext'
56570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56571 (eval $ac_try) 2>&5
56572 ac_status=$?
56573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56574 (exit $ac_status); }; }; then
56575 glibcxx_cv_func_logl_use=yes
56576 else
56577 echo "$as_me: failed program was:" >&5
56578 sed 's/^/| /' conftest.$ac_ext >&5
56580 glibcxx_cv_func_logl_use=no
56582 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56583 ac_ext=c
56584 ac_cpp='$CPP $CPPFLAGS'
56585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56593 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
56594 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
56596 if test x$glibcxx_cv_func_logl_use = x"yes"; then
56598 for ac_func in logl
56600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56601 echo "$as_me:$LINENO: checking for $ac_func" >&5
56602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56603 if eval "test \"\${$as_ac_var+set}\" = set"; then
56604 echo $ECHO_N "(cached) $ECHO_C" >&6
56605 else
56606 if test x$gcc_no_link = xyes; then
56607 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56608 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56609 { (exit 1); exit 1; }; }
56611 cat >conftest.$ac_ext <<_ACEOF
56612 /* confdefs.h. */
56613 _ACEOF
56614 cat confdefs.h >>conftest.$ac_ext
56615 cat >>conftest.$ac_ext <<_ACEOF
56616 /* end confdefs.h. */
56617 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56618 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56619 #define $ac_func innocuous_$ac_func
56621 /* System header to define __stub macros and hopefully few prototypes,
56622 which can conflict with char $ac_func (); below.
56623 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56624 <limits.h> exists even on freestanding compilers. */
56626 #ifdef __STDC__
56627 # include <limits.h>
56628 #else
56629 # include <assert.h>
56630 #endif
56632 #undef $ac_func
56634 /* Override any gcc2 internal prototype to avoid an error. */
56635 #ifdef __cplusplus
56636 extern "C"
56638 #endif
56639 /* We use char because int might match the return type of a gcc2
56640 builtin and then its argument prototype would still apply. */
56641 char $ac_func ();
56642 /* The GNU C library defines this for functions which it implements
56643 to always fail with ENOSYS. Some functions are actually named
56644 something starting with __ and the normal name is an alias. */
56645 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56646 choke me
56647 #else
56648 char (*f) () = $ac_func;
56649 #endif
56650 #ifdef __cplusplus
56652 #endif
56655 main ()
56657 return f != $ac_func;
56659 return 0;
56661 _ACEOF
56662 rm -f conftest.$ac_objext conftest$ac_exeext
56663 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56664 (eval $ac_link) 2>conftest.er1
56665 ac_status=$?
56666 grep -v '^ *+' conftest.er1 >conftest.err
56667 rm -f conftest.er1
56668 cat conftest.err >&5
56669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56670 (exit $ac_status); } &&
56671 { ac_try='test -z "$ac_c_werror_flag"
56672 || test ! -s conftest.err'
56673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56674 (eval $ac_try) 2>&5
56675 ac_status=$?
56676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56677 (exit $ac_status); }; } &&
56678 { ac_try='test -s conftest$ac_exeext'
56679 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56680 (eval $ac_try) 2>&5
56681 ac_status=$?
56682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56683 (exit $ac_status); }; }; then
56684 eval "$as_ac_var=yes"
56685 else
56686 echo "$as_me: failed program was:" >&5
56687 sed 's/^/| /' conftest.$ac_ext >&5
56689 eval "$as_ac_var=no"
56691 rm -f conftest.err conftest.$ac_objext \
56692 conftest$ac_exeext conftest.$ac_ext
56694 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56695 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56696 if test `eval echo '${'$as_ac_var'}'` = yes; then
56697 cat >>confdefs.h <<_ACEOF
56698 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56699 _ACEOF
56702 done
56704 else
56706 echo "$as_me:$LINENO: checking for _logl declaration" >&5
56707 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
56708 if test x${glibcxx_cv_func__logl_use+set} != xset; then
56709 if test "${glibcxx_cv_func__logl_use+set}" = set; then
56710 echo $ECHO_N "(cached) $ECHO_C" >&6
56711 else
56715 ac_ext=cc
56716 ac_cpp='$CXXCPP $CPPFLAGS'
56717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56721 cat >conftest.$ac_ext <<_ACEOF
56722 /* confdefs.h. */
56723 _ACEOF
56724 cat confdefs.h >>conftest.$ac_ext
56725 cat >>conftest.$ac_ext <<_ACEOF
56726 /* end confdefs.h. */
56727 #include <math.h>
56728 #ifdef HAVE_IEEEFP_H
56729 #include <ieeefp.h>
56730 #endif
56733 main ()
56735 _logl(0);
56737 return 0;
56739 _ACEOF
56740 rm -f conftest.$ac_objext
56741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56742 (eval $ac_compile) 2>conftest.er1
56743 ac_status=$?
56744 grep -v '^ *+' conftest.er1 >conftest.err
56745 rm -f conftest.er1
56746 cat conftest.err >&5
56747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56748 (exit $ac_status); } &&
56749 { ac_try='test -z "$ac_cxx_werror_flag"
56750 || test ! -s conftest.err'
56751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56752 (eval $ac_try) 2>&5
56753 ac_status=$?
56754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56755 (exit $ac_status); }; } &&
56756 { ac_try='test -s conftest.$ac_objext'
56757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56758 (eval $ac_try) 2>&5
56759 ac_status=$?
56760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56761 (exit $ac_status); }; }; then
56762 glibcxx_cv_func__logl_use=yes
56763 else
56764 echo "$as_me: failed program was:" >&5
56765 sed 's/^/| /' conftest.$ac_ext >&5
56767 glibcxx_cv_func__logl_use=no
56769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56770 ac_ext=c
56771 ac_cpp='$CPP $CPPFLAGS'
56772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56780 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
56781 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
56783 if test x$glibcxx_cv_func__logl_use = x"yes"; then
56785 for ac_func in _logl
56787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56788 echo "$as_me:$LINENO: checking for $ac_func" >&5
56789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56790 if eval "test \"\${$as_ac_var+set}\" = set"; then
56791 echo $ECHO_N "(cached) $ECHO_C" >&6
56792 else
56793 if test x$gcc_no_link = xyes; then
56794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56796 { (exit 1); exit 1; }; }
56798 cat >conftest.$ac_ext <<_ACEOF
56799 /* confdefs.h. */
56800 _ACEOF
56801 cat confdefs.h >>conftest.$ac_ext
56802 cat >>conftest.$ac_ext <<_ACEOF
56803 /* end confdefs.h. */
56804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56806 #define $ac_func innocuous_$ac_func
56808 /* System header to define __stub macros and hopefully few prototypes,
56809 which can conflict with char $ac_func (); below.
56810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
56811 <limits.h> exists even on freestanding compilers. */
56813 #ifdef __STDC__
56814 # include <limits.h>
56815 #else
56816 # include <assert.h>
56817 #endif
56819 #undef $ac_func
56821 /* Override any gcc2 internal prototype to avoid an error. */
56822 #ifdef __cplusplus
56823 extern "C"
56825 #endif
56826 /* We use char because int might match the return type of a gcc2
56827 builtin and then its argument prototype would still apply. */
56828 char $ac_func ();
56829 /* The GNU C library defines this for functions which it implements
56830 to always fail with ENOSYS. Some functions are actually named
56831 something starting with __ and the normal name is an alias. */
56832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
56833 choke me
56834 #else
56835 char (*f) () = $ac_func;
56836 #endif
56837 #ifdef __cplusplus
56839 #endif
56842 main ()
56844 return f != $ac_func;
56846 return 0;
56848 _ACEOF
56849 rm -f conftest.$ac_objext conftest$ac_exeext
56850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
56851 (eval $ac_link) 2>conftest.er1
56852 ac_status=$?
56853 grep -v '^ *+' conftest.er1 >conftest.err
56854 rm -f conftest.er1
56855 cat conftest.err >&5
56856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56857 (exit $ac_status); } &&
56858 { ac_try='test -z "$ac_c_werror_flag"
56859 || test ! -s conftest.err'
56860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56861 (eval $ac_try) 2>&5
56862 ac_status=$?
56863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56864 (exit $ac_status); }; } &&
56865 { ac_try='test -s conftest$ac_exeext'
56866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56867 (eval $ac_try) 2>&5
56868 ac_status=$?
56869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56870 (exit $ac_status); }; }; then
56871 eval "$as_ac_var=yes"
56872 else
56873 echo "$as_me: failed program was:" >&5
56874 sed 's/^/| /' conftest.$ac_ext >&5
56876 eval "$as_ac_var=no"
56878 rm -f conftest.err conftest.$ac_objext \
56879 conftest$ac_exeext conftest.$ac_ext
56881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
56882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
56883 if test `eval echo '${'$as_ac_var'}'` = yes; then
56884 cat >>confdefs.h <<_ACEOF
56885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
56886 _ACEOF
56889 done
56899 echo "$as_me:$LINENO: checking for log10l declaration" >&5
56900 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
56901 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
56902 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
56903 echo $ECHO_N "(cached) $ECHO_C" >&6
56904 else
56908 ac_ext=cc
56909 ac_cpp='$CXXCPP $CPPFLAGS'
56910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56914 cat >conftest.$ac_ext <<_ACEOF
56915 /* confdefs.h. */
56916 _ACEOF
56917 cat confdefs.h >>conftest.$ac_ext
56918 cat >>conftest.$ac_ext <<_ACEOF
56919 /* end confdefs.h. */
56920 #include <math.h>
56921 #ifdef HAVE_IEEEFP_H
56922 #include <ieeefp.h>
56923 #endif
56926 main ()
56928 log10l(0);
56930 return 0;
56932 _ACEOF
56933 rm -f conftest.$ac_objext
56934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
56935 (eval $ac_compile) 2>conftest.er1
56936 ac_status=$?
56937 grep -v '^ *+' conftest.er1 >conftest.err
56938 rm -f conftest.er1
56939 cat conftest.err >&5
56940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56941 (exit $ac_status); } &&
56942 { ac_try='test -z "$ac_cxx_werror_flag"
56943 || test ! -s conftest.err'
56944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56945 (eval $ac_try) 2>&5
56946 ac_status=$?
56947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56948 (exit $ac_status); }; } &&
56949 { ac_try='test -s conftest.$ac_objext'
56950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
56951 (eval $ac_try) 2>&5
56952 ac_status=$?
56953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
56954 (exit $ac_status); }; }; then
56955 glibcxx_cv_func_log10l_use=yes
56956 else
56957 echo "$as_me: failed program was:" >&5
56958 sed 's/^/| /' conftest.$ac_ext >&5
56960 glibcxx_cv_func_log10l_use=no
56962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
56963 ac_ext=c
56964 ac_cpp='$CPP $CPPFLAGS'
56965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56973 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
56974 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
56976 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
56978 for ac_func in log10l
56980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
56981 echo "$as_me:$LINENO: checking for $ac_func" >&5
56982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
56983 if eval "test \"\${$as_ac_var+set}\" = set"; then
56984 echo $ECHO_N "(cached) $ECHO_C" >&6
56985 else
56986 if test x$gcc_no_link = xyes; then
56987 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
56988 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
56989 { (exit 1); exit 1; }; }
56991 cat >conftest.$ac_ext <<_ACEOF
56992 /* confdefs.h. */
56993 _ACEOF
56994 cat confdefs.h >>conftest.$ac_ext
56995 cat >>conftest.$ac_ext <<_ACEOF
56996 /* end confdefs.h. */
56997 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
56998 For example, HP-UX 11i <limits.h> declares gettimeofday. */
56999 #define $ac_func innocuous_$ac_func
57001 /* System header to define __stub macros and hopefully few prototypes,
57002 which can conflict with char $ac_func (); below.
57003 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57004 <limits.h> exists even on freestanding compilers. */
57006 #ifdef __STDC__
57007 # include <limits.h>
57008 #else
57009 # include <assert.h>
57010 #endif
57012 #undef $ac_func
57014 /* Override any gcc2 internal prototype to avoid an error. */
57015 #ifdef __cplusplus
57016 extern "C"
57018 #endif
57019 /* We use char because int might match the return type of a gcc2
57020 builtin and then its argument prototype would still apply. */
57021 char $ac_func ();
57022 /* The GNU C library defines this for functions which it implements
57023 to always fail with ENOSYS. Some functions are actually named
57024 something starting with __ and the normal name is an alias. */
57025 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57026 choke me
57027 #else
57028 char (*f) () = $ac_func;
57029 #endif
57030 #ifdef __cplusplus
57032 #endif
57035 main ()
57037 return f != $ac_func;
57039 return 0;
57041 _ACEOF
57042 rm -f conftest.$ac_objext conftest$ac_exeext
57043 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57044 (eval $ac_link) 2>conftest.er1
57045 ac_status=$?
57046 grep -v '^ *+' conftest.er1 >conftest.err
57047 rm -f conftest.er1
57048 cat conftest.err >&5
57049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57050 (exit $ac_status); } &&
57051 { ac_try='test -z "$ac_c_werror_flag"
57052 || test ! -s conftest.err'
57053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57054 (eval $ac_try) 2>&5
57055 ac_status=$?
57056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57057 (exit $ac_status); }; } &&
57058 { ac_try='test -s conftest$ac_exeext'
57059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57060 (eval $ac_try) 2>&5
57061 ac_status=$?
57062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57063 (exit $ac_status); }; }; then
57064 eval "$as_ac_var=yes"
57065 else
57066 echo "$as_me: failed program was:" >&5
57067 sed 's/^/| /' conftest.$ac_ext >&5
57069 eval "$as_ac_var=no"
57071 rm -f conftest.err conftest.$ac_objext \
57072 conftest$ac_exeext conftest.$ac_ext
57074 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57075 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57076 if test `eval echo '${'$as_ac_var'}'` = yes; then
57077 cat >>confdefs.h <<_ACEOF
57078 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57079 _ACEOF
57082 done
57084 else
57086 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
57087 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
57088 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57089 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
57090 echo $ECHO_N "(cached) $ECHO_C" >&6
57091 else
57095 ac_ext=cc
57096 ac_cpp='$CXXCPP $CPPFLAGS'
57097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57101 cat >conftest.$ac_ext <<_ACEOF
57102 /* confdefs.h. */
57103 _ACEOF
57104 cat confdefs.h >>conftest.$ac_ext
57105 cat >>conftest.$ac_ext <<_ACEOF
57106 /* end confdefs.h. */
57107 #include <math.h>
57108 #ifdef HAVE_IEEEFP_H
57109 #include <ieeefp.h>
57110 #endif
57113 main ()
57115 _log10l(0);
57117 return 0;
57119 _ACEOF
57120 rm -f conftest.$ac_objext
57121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57122 (eval $ac_compile) 2>conftest.er1
57123 ac_status=$?
57124 grep -v '^ *+' conftest.er1 >conftest.err
57125 rm -f conftest.er1
57126 cat conftest.err >&5
57127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57128 (exit $ac_status); } &&
57129 { ac_try='test -z "$ac_cxx_werror_flag"
57130 || test ! -s conftest.err'
57131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57132 (eval $ac_try) 2>&5
57133 ac_status=$?
57134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57135 (exit $ac_status); }; } &&
57136 { ac_try='test -s conftest.$ac_objext'
57137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57138 (eval $ac_try) 2>&5
57139 ac_status=$?
57140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57141 (exit $ac_status); }; }; then
57142 glibcxx_cv_func__log10l_use=yes
57143 else
57144 echo "$as_me: failed program was:" >&5
57145 sed 's/^/| /' conftest.$ac_ext >&5
57147 glibcxx_cv_func__log10l_use=no
57149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57150 ac_ext=c
57151 ac_cpp='$CPP $CPPFLAGS'
57152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57160 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
57161 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
57163 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57165 for ac_func in _log10l
57167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57168 echo "$as_me:$LINENO: checking for $ac_func" >&5
57169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57170 if eval "test \"\${$as_ac_var+set}\" = set"; then
57171 echo $ECHO_N "(cached) $ECHO_C" >&6
57172 else
57173 if test x$gcc_no_link = xyes; then
57174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57176 { (exit 1); exit 1; }; }
57178 cat >conftest.$ac_ext <<_ACEOF
57179 /* confdefs.h. */
57180 _ACEOF
57181 cat confdefs.h >>conftest.$ac_ext
57182 cat >>conftest.$ac_ext <<_ACEOF
57183 /* end confdefs.h. */
57184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57186 #define $ac_func innocuous_$ac_func
57188 /* System header to define __stub macros and hopefully few prototypes,
57189 which can conflict with char $ac_func (); below.
57190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57191 <limits.h> exists even on freestanding compilers. */
57193 #ifdef __STDC__
57194 # include <limits.h>
57195 #else
57196 # include <assert.h>
57197 #endif
57199 #undef $ac_func
57201 /* Override any gcc2 internal prototype to avoid an error. */
57202 #ifdef __cplusplus
57203 extern "C"
57205 #endif
57206 /* We use char because int might match the return type of a gcc2
57207 builtin and then its argument prototype would still apply. */
57208 char $ac_func ();
57209 /* The GNU C library defines this for functions which it implements
57210 to always fail with ENOSYS. Some functions are actually named
57211 something starting with __ and the normal name is an alias. */
57212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57213 choke me
57214 #else
57215 char (*f) () = $ac_func;
57216 #endif
57217 #ifdef __cplusplus
57219 #endif
57222 main ()
57224 return f != $ac_func;
57226 return 0;
57228 _ACEOF
57229 rm -f conftest.$ac_objext conftest$ac_exeext
57230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57231 (eval $ac_link) 2>conftest.er1
57232 ac_status=$?
57233 grep -v '^ *+' conftest.er1 >conftest.err
57234 rm -f conftest.er1
57235 cat conftest.err >&5
57236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57237 (exit $ac_status); } &&
57238 { ac_try='test -z "$ac_c_werror_flag"
57239 || test ! -s conftest.err'
57240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57241 (eval $ac_try) 2>&5
57242 ac_status=$?
57243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57244 (exit $ac_status); }; } &&
57245 { ac_try='test -s conftest$ac_exeext'
57246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57247 (eval $ac_try) 2>&5
57248 ac_status=$?
57249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57250 (exit $ac_status); }; }; then
57251 eval "$as_ac_var=yes"
57252 else
57253 echo "$as_me: failed program was:" >&5
57254 sed 's/^/| /' conftest.$ac_ext >&5
57256 eval "$as_ac_var=no"
57258 rm -f conftest.err conftest.$ac_objext \
57259 conftest$ac_exeext conftest.$ac_ext
57261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57263 if test `eval echo '${'$as_ac_var'}'` = yes; then
57264 cat >>confdefs.h <<_ACEOF
57265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57266 _ACEOF
57269 done
57279 echo "$as_me:$LINENO: checking for modfl declaration" >&5
57280 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
57281 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57282 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
57283 echo $ECHO_N "(cached) $ECHO_C" >&6
57284 else
57288 ac_ext=cc
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57294 cat >conftest.$ac_ext <<_ACEOF
57295 /* confdefs.h. */
57296 _ACEOF
57297 cat confdefs.h >>conftest.$ac_ext
57298 cat >>conftest.$ac_ext <<_ACEOF
57299 /* end confdefs.h. */
57300 #include <math.h>
57302 main ()
57304 modfl(0, 0);
57306 return 0;
57308 _ACEOF
57309 rm -f conftest.$ac_objext
57310 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57311 (eval $ac_compile) 2>conftest.er1
57312 ac_status=$?
57313 grep -v '^ *+' conftest.er1 >conftest.err
57314 rm -f conftest.er1
57315 cat conftest.err >&5
57316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57317 (exit $ac_status); } &&
57318 { ac_try='test -z "$ac_cxx_werror_flag"
57319 || test ! -s conftest.err'
57320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57321 (eval $ac_try) 2>&5
57322 ac_status=$?
57323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57324 (exit $ac_status); }; } &&
57325 { ac_try='test -s conftest.$ac_objext'
57326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57327 (eval $ac_try) 2>&5
57328 ac_status=$?
57329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57330 (exit $ac_status); }; }; then
57331 glibcxx_cv_func_modfl_use=yes
57332 else
57333 echo "$as_me: failed program was:" >&5
57334 sed 's/^/| /' conftest.$ac_ext >&5
57336 glibcxx_cv_func_modfl_use=no
57338 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57339 ac_ext=c
57340 ac_cpp='$CPP $CPPFLAGS'
57341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57349 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
57350 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
57352 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57354 for ac_func in modfl
57356 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57357 echo "$as_me:$LINENO: checking for $ac_func" >&5
57358 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57359 if eval "test \"\${$as_ac_var+set}\" = set"; then
57360 echo $ECHO_N "(cached) $ECHO_C" >&6
57361 else
57362 if test x$gcc_no_link = xyes; then
57363 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57364 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57365 { (exit 1); exit 1; }; }
57367 cat >conftest.$ac_ext <<_ACEOF
57368 /* confdefs.h. */
57369 _ACEOF
57370 cat confdefs.h >>conftest.$ac_ext
57371 cat >>conftest.$ac_ext <<_ACEOF
57372 /* end confdefs.h. */
57373 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57374 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57375 #define $ac_func innocuous_$ac_func
57377 /* System header to define __stub macros and hopefully few prototypes,
57378 which can conflict with char $ac_func (); below.
57379 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57380 <limits.h> exists even on freestanding compilers. */
57382 #ifdef __STDC__
57383 # include <limits.h>
57384 #else
57385 # include <assert.h>
57386 #endif
57388 #undef $ac_func
57390 /* Override any gcc2 internal prototype to avoid an error. */
57391 #ifdef __cplusplus
57392 extern "C"
57394 #endif
57395 /* We use char because int might match the return type of a gcc2
57396 builtin and then its argument prototype would still apply. */
57397 char $ac_func ();
57398 /* The GNU C library defines this for functions which it implements
57399 to always fail with ENOSYS. Some functions are actually named
57400 something starting with __ and the normal name is an alias. */
57401 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57402 choke me
57403 #else
57404 char (*f) () = $ac_func;
57405 #endif
57406 #ifdef __cplusplus
57408 #endif
57411 main ()
57413 return f != $ac_func;
57415 return 0;
57417 _ACEOF
57418 rm -f conftest.$ac_objext conftest$ac_exeext
57419 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57420 (eval $ac_link) 2>conftest.er1
57421 ac_status=$?
57422 grep -v '^ *+' conftest.er1 >conftest.err
57423 rm -f conftest.er1
57424 cat conftest.err >&5
57425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57426 (exit $ac_status); } &&
57427 { ac_try='test -z "$ac_c_werror_flag"
57428 || test ! -s conftest.err'
57429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57430 (eval $ac_try) 2>&5
57431 ac_status=$?
57432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57433 (exit $ac_status); }; } &&
57434 { ac_try='test -s conftest$ac_exeext'
57435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57436 (eval $ac_try) 2>&5
57437 ac_status=$?
57438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57439 (exit $ac_status); }; }; then
57440 eval "$as_ac_var=yes"
57441 else
57442 echo "$as_me: failed program was:" >&5
57443 sed 's/^/| /' conftest.$ac_ext >&5
57445 eval "$as_ac_var=no"
57447 rm -f conftest.err conftest.$ac_objext \
57448 conftest$ac_exeext conftest.$ac_ext
57450 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57451 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57452 if test `eval echo '${'$as_ac_var'}'` = yes; then
57453 cat >>confdefs.h <<_ACEOF
57454 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57455 _ACEOF
57458 done
57460 else
57462 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
57463 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
57464 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57465 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
57466 echo $ECHO_N "(cached) $ECHO_C" >&6
57467 else
57471 ac_ext=cc
57472 ac_cpp='$CXXCPP $CPPFLAGS'
57473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57477 cat >conftest.$ac_ext <<_ACEOF
57478 /* confdefs.h. */
57479 _ACEOF
57480 cat confdefs.h >>conftest.$ac_ext
57481 cat >>conftest.$ac_ext <<_ACEOF
57482 /* end confdefs.h. */
57483 #include <math.h>
57485 main ()
57487 _modfl(0, 0);
57489 return 0;
57491 _ACEOF
57492 rm -f conftest.$ac_objext
57493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57494 (eval $ac_compile) 2>conftest.er1
57495 ac_status=$?
57496 grep -v '^ *+' conftest.er1 >conftest.err
57497 rm -f conftest.er1
57498 cat conftest.err >&5
57499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57500 (exit $ac_status); } &&
57501 { ac_try='test -z "$ac_cxx_werror_flag"
57502 || test ! -s conftest.err'
57503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57504 (eval $ac_try) 2>&5
57505 ac_status=$?
57506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57507 (exit $ac_status); }; } &&
57508 { ac_try='test -s conftest.$ac_objext'
57509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57510 (eval $ac_try) 2>&5
57511 ac_status=$?
57512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57513 (exit $ac_status); }; }; then
57514 glibcxx_cv_func__modfl_use=yes
57515 else
57516 echo "$as_me: failed program was:" >&5
57517 sed 's/^/| /' conftest.$ac_ext >&5
57519 glibcxx_cv_func__modfl_use=no
57521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57522 ac_ext=c
57523 ac_cpp='$CPP $CPPFLAGS'
57524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57532 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
57533 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
57535 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57537 for ac_func in _modfl
57539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57540 echo "$as_me:$LINENO: checking for $ac_func" >&5
57541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57542 if eval "test \"\${$as_ac_var+set}\" = set"; then
57543 echo $ECHO_N "(cached) $ECHO_C" >&6
57544 else
57545 if test x$gcc_no_link = xyes; then
57546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57548 { (exit 1); exit 1; }; }
57550 cat >conftest.$ac_ext <<_ACEOF
57551 /* confdefs.h. */
57552 _ACEOF
57553 cat confdefs.h >>conftest.$ac_ext
57554 cat >>conftest.$ac_ext <<_ACEOF
57555 /* end confdefs.h. */
57556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57558 #define $ac_func innocuous_$ac_func
57560 /* System header to define __stub macros and hopefully few prototypes,
57561 which can conflict with char $ac_func (); below.
57562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57563 <limits.h> exists even on freestanding compilers. */
57565 #ifdef __STDC__
57566 # include <limits.h>
57567 #else
57568 # include <assert.h>
57569 #endif
57571 #undef $ac_func
57573 /* Override any gcc2 internal prototype to avoid an error. */
57574 #ifdef __cplusplus
57575 extern "C"
57577 #endif
57578 /* We use char because int might match the return type of a gcc2
57579 builtin and then its argument prototype would still apply. */
57580 char $ac_func ();
57581 /* The GNU C library defines this for functions which it implements
57582 to always fail with ENOSYS. Some functions are actually named
57583 something starting with __ and the normal name is an alias. */
57584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57585 choke me
57586 #else
57587 char (*f) () = $ac_func;
57588 #endif
57589 #ifdef __cplusplus
57591 #endif
57594 main ()
57596 return f != $ac_func;
57598 return 0;
57600 _ACEOF
57601 rm -f conftest.$ac_objext conftest$ac_exeext
57602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57603 (eval $ac_link) 2>conftest.er1
57604 ac_status=$?
57605 grep -v '^ *+' conftest.er1 >conftest.err
57606 rm -f conftest.er1
57607 cat conftest.err >&5
57608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57609 (exit $ac_status); } &&
57610 { ac_try='test -z "$ac_c_werror_flag"
57611 || test ! -s conftest.err'
57612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57613 (eval $ac_try) 2>&5
57614 ac_status=$?
57615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57616 (exit $ac_status); }; } &&
57617 { ac_try='test -s conftest$ac_exeext'
57618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57619 (eval $ac_try) 2>&5
57620 ac_status=$?
57621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57622 (exit $ac_status); }; }; then
57623 eval "$as_ac_var=yes"
57624 else
57625 echo "$as_me: failed program was:" >&5
57626 sed 's/^/| /' conftest.$ac_ext >&5
57628 eval "$as_ac_var=no"
57630 rm -f conftest.err conftest.$ac_objext \
57631 conftest$ac_exeext conftest.$ac_ext
57633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57635 if test `eval echo '${'$as_ac_var'}'` = yes; then
57636 cat >>confdefs.h <<_ACEOF
57637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57638 _ACEOF
57641 done
57651 echo "$as_me:$LINENO: checking for powl declaration" >&5
57652 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
57653 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57654 if test "${glibcxx_cv_func_powl_use+set}" = set; then
57655 echo $ECHO_N "(cached) $ECHO_C" >&6
57656 else
57660 ac_ext=cc
57661 ac_cpp='$CXXCPP $CPPFLAGS'
57662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57666 cat >conftest.$ac_ext <<_ACEOF
57667 /* confdefs.h. */
57668 _ACEOF
57669 cat confdefs.h >>conftest.$ac_ext
57670 cat >>conftest.$ac_ext <<_ACEOF
57671 /* end confdefs.h. */
57672 #include <math.h>
57674 main ()
57676 powl(0, 0);
57678 return 0;
57680 _ACEOF
57681 rm -f conftest.$ac_objext
57682 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57683 (eval $ac_compile) 2>conftest.er1
57684 ac_status=$?
57685 grep -v '^ *+' conftest.er1 >conftest.err
57686 rm -f conftest.er1
57687 cat conftest.err >&5
57688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57689 (exit $ac_status); } &&
57690 { ac_try='test -z "$ac_cxx_werror_flag"
57691 || test ! -s conftest.err'
57692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57693 (eval $ac_try) 2>&5
57694 ac_status=$?
57695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57696 (exit $ac_status); }; } &&
57697 { ac_try='test -s conftest.$ac_objext'
57698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57699 (eval $ac_try) 2>&5
57700 ac_status=$?
57701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57702 (exit $ac_status); }; }; then
57703 glibcxx_cv_func_powl_use=yes
57704 else
57705 echo "$as_me: failed program was:" >&5
57706 sed 's/^/| /' conftest.$ac_ext >&5
57708 glibcxx_cv_func_powl_use=no
57710 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57711 ac_ext=c
57712 ac_cpp='$CPP $CPPFLAGS'
57713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57721 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
57722 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
57724 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57726 for ac_func in powl
57728 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57729 echo "$as_me:$LINENO: checking for $ac_func" >&5
57730 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57731 if eval "test \"\${$as_ac_var+set}\" = set"; then
57732 echo $ECHO_N "(cached) $ECHO_C" >&6
57733 else
57734 if test x$gcc_no_link = xyes; then
57735 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57736 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57737 { (exit 1); exit 1; }; }
57739 cat >conftest.$ac_ext <<_ACEOF
57740 /* confdefs.h. */
57741 _ACEOF
57742 cat confdefs.h >>conftest.$ac_ext
57743 cat >>conftest.$ac_ext <<_ACEOF
57744 /* end confdefs.h. */
57745 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57746 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57747 #define $ac_func innocuous_$ac_func
57749 /* System header to define __stub macros and hopefully few prototypes,
57750 which can conflict with char $ac_func (); below.
57751 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57752 <limits.h> exists even on freestanding compilers. */
57754 #ifdef __STDC__
57755 # include <limits.h>
57756 #else
57757 # include <assert.h>
57758 #endif
57760 #undef $ac_func
57762 /* Override any gcc2 internal prototype to avoid an error. */
57763 #ifdef __cplusplus
57764 extern "C"
57766 #endif
57767 /* We use char because int might match the return type of a gcc2
57768 builtin and then its argument prototype would still apply. */
57769 char $ac_func ();
57770 /* The GNU C library defines this for functions which it implements
57771 to always fail with ENOSYS. Some functions are actually named
57772 something starting with __ and the normal name is an alias. */
57773 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57774 choke me
57775 #else
57776 char (*f) () = $ac_func;
57777 #endif
57778 #ifdef __cplusplus
57780 #endif
57783 main ()
57785 return f != $ac_func;
57787 return 0;
57789 _ACEOF
57790 rm -f conftest.$ac_objext conftest$ac_exeext
57791 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57792 (eval $ac_link) 2>conftest.er1
57793 ac_status=$?
57794 grep -v '^ *+' conftest.er1 >conftest.err
57795 rm -f conftest.er1
57796 cat conftest.err >&5
57797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57798 (exit $ac_status); } &&
57799 { ac_try='test -z "$ac_c_werror_flag"
57800 || test ! -s conftest.err'
57801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57802 (eval $ac_try) 2>&5
57803 ac_status=$?
57804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57805 (exit $ac_status); }; } &&
57806 { ac_try='test -s conftest$ac_exeext'
57807 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57808 (eval $ac_try) 2>&5
57809 ac_status=$?
57810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57811 (exit $ac_status); }; }; then
57812 eval "$as_ac_var=yes"
57813 else
57814 echo "$as_me: failed program was:" >&5
57815 sed 's/^/| /' conftest.$ac_ext >&5
57817 eval "$as_ac_var=no"
57819 rm -f conftest.err conftest.$ac_objext \
57820 conftest$ac_exeext conftest.$ac_ext
57822 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
57823 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
57824 if test `eval echo '${'$as_ac_var'}'` = yes; then
57825 cat >>confdefs.h <<_ACEOF
57826 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
57827 _ACEOF
57830 done
57832 else
57834 echo "$as_me:$LINENO: checking for _powl declaration" >&5
57835 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
57836 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57837 if test "${glibcxx_cv_func__powl_use+set}" = set; then
57838 echo $ECHO_N "(cached) $ECHO_C" >&6
57839 else
57843 ac_ext=cc
57844 ac_cpp='$CXXCPP $CPPFLAGS'
57845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57849 cat >conftest.$ac_ext <<_ACEOF
57850 /* confdefs.h. */
57851 _ACEOF
57852 cat confdefs.h >>conftest.$ac_ext
57853 cat >>conftest.$ac_ext <<_ACEOF
57854 /* end confdefs.h. */
57855 #include <math.h>
57857 main ()
57859 _powl(0, 0);
57861 return 0;
57863 _ACEOF
57864 rm -f conftest.$ac_objext
57865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
57866 (eval $ac_compile) 2>conftest.er1
57867 ac_status=$?
57868 grep -v '^ *+' conftest.er1 >conftest.err
57869 rm -f conftest.er1
57870 cat conftest.err >&5
57871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57872 (exit $ac_status); } &&
57873 { ac_try='test -z "$ac_cxx_werror_flag"
57874 || test ! -s conftest.err'
57875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57876 (eval $ac_try) 2>&5
57877 ac_status=$?
57878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57879 (exit $ac_status); }; } &&
57880 { ac_try='test -s conftest.$ac_objext'
57881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57882 (eval $ac_try) 2>&5
57883 ac_status=$?
57884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57885 (exit $ac_status); }; }; then
57886 glibcxx_cv_func__powl_use=yes
57887 else
57888 echo "$as_me: failed program was:" >&5
57889 sed 's/^/| /' conftest.$ac_ext >&5
57891 glibcxx_cv_func__powl_use=no
57893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
57894 ac_ext=c
57895 ac_cpp='$CPP $CPPFLAGS'
57896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57904 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
57905 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
57907 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57909 for ac_func in _powl
57911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
57912 echo "$as_me:$LINENO: checking for $ac_func" >&5
57913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
57914 if eval "test \"\${$as_ac_var+set}\" = set"; then
57915 echo $ECHO_N "(cached) $ECHO_C" >&6
57916 else
57917 if test x$gcc_no_link = xyes; then
57918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
57919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
57920 { (exit 1); exit 1; }; }
57922 cat >conftest.$ac_ext <<_ACEOF
57923 /* confdefs.h. */
57924 _ACEOF
57925 cat confdefs.h >>conftest.$ac_ext
57926 cat >>conftest.$ac_ext <<_ACEOF
57927 /* end confdefs.h. */
57928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
57929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
57930 #define $ac_func innocuous_$ac_func
57932 /* System header to define __stub macros and hopefully few prototypes,
57933 which can conflict with char $ac_func (); below.
57934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
57935 <limits.h> exists even on freestanding compilers. */
57937 #ifdef __STDC__
57938 # include <limits.h>
57939 #else
57940 # include <assert.h>
57941 #endif
57943 #undef $ac_func
57945 /* Override any gcc2 internal prototype to avoid an error. */
57946 #ifdef __cplusplus
57947 extern "C"
57949 #endif
57950 /* We use char because int might match the return type of a gcc2
57951 builtin and then its argument prototype would still apply. */
57952 char $ac_func ();
57953 /* The GNU C library defines this for functions which it implements
57954 to always fail with ENOSYS. Some functions are actually named
57955 something starting with __ and the normal name is an alias. */
57956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
57957 choke me
57958 #else
57959 char (*f) () = $ac_func;
57960 #endif
57961 #ifdef __cplusplus
57963 #endif
57966 main ()
57968 return f != $ac_func;
57970 return 0;
57972 _ACEOF
57973 rm -f conftest.$ac_objext conftest$ac_exeext
57974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
57975 (eval $ac_link) 2>conftest.er1
57976 ac_status=$?
57977 grep -v '^ *+' conftest.er1 >conftest.err
57978 rm -f conftest.er1
57979 cat conftest.err >&5
57980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57981 (exit $ac_status); } &&
57982 { ac_try='test -z "$ac_c_werror_flag"
57983 || test ! -s conftest.err'
57984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57985 (eval $ac_try) 2>&5
57986 ac_status=$?
57987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57988 (exit $ac_status); }; } &&
57989 { ac_try='test -s conftest$ac_exeext'
57990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
57991 (eval $ac_try) 2>&5
57992 ac_status=$?
57993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
57994 (exit $ac_status); }; }; then
57995 eval "$as_ac_var=yes"
57996 else
57997 echo "$as_me: failed program was:" >&5
57998 sed 's/^/| /' conftest.$ac_ext >&5
58000 eval "$as_ac_var=no"
58002 rm -f conftest.err conftest.$ac_objext \
58003 conftest$ac_exeext conftest.$ac_ext
58005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58007 if test `eval echo '${'$as_ac_var'}'` = yes; then
58008 cat >>confdefs.h <<_ACEOF
58009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58010 _ACEOF
58013 done
58023 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
58024 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
58025 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58026 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
58027 echo $ECHO_N "(cached) $ECHO_C" >&6
58028 else
58032 ac_ext=cc
58033 ac_cpp='$CXXCPP $CPPFLAGS'
58034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58038 cat >conftest.$ac_ext <<_ACEOF
58039 /* confdefs.h. */
58040 _ACEOF
58041 cat confdefs.h >>conftest.$ac_ext
58042 cat >>conftest.$ac_ext <<_ACEOF
58043 /* end confdefs.h. */
58044 #include <math.h>
58045 #ifdef HAVE_IEEEFP_H
58046 #include <ieeefp.h>
58047 #endif
58050 main ()
58052 sqrtl(0);
58054 return 0;
58056 _ACEOF
58057 rm -f conftest.$ac_objext
58058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58059 (eval $ac_compile) 2>conftest.er1
58060 ac_status=$?
58061 grep -v '^ *+' conftest.er1 >conftest.err
58062 rm -f conftest.er1
58063 cat conftest.err >&5
58064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58065 (exit $ac_status); } &&
58066 { ac_try='test -z "$ac_cxx_werror_flag"
58067 || test ! -s conftest.err'
58068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58069 (eval $ac_try) 2>&5
58070 ac_status=$?
58071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58072 (exit $ac_status); }; } &&
58073 { ac_try='test -s conftest.$ac_objext'
58074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58075 (eval $ac_try) 2>&5
58076 ac_status=$?
58077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58078 (exit $ac_status); }; }; then
58079 glibcxx_cv_func_sqrtl_use=yes
58080 else
58081 echo "$as_me: failed program was:" >&5
58082 sed 's/^/| /' conftest.$ac_ext >&5
58084 glibcxx_cv_func_sqrtl_use=no
58086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58087 ac_ext=c
58088 ac_cpp='$CPP $CPPFLAGS'
58089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58097 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
58098 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
58100 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58102 for ac_func in sqrtl
58104 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58105 echo "$as_me:$LINENO: checking for $ac_func" >&5
58106 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58107 if eval "test \"\${$as_ac_var+set}\" = set"; then
58108 echo $ECHO_N "(cached) $ECHO_C" >&6
58109 else
58110 if test x$gcc_no_link = xyes; then
58111 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58112 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58113 { (exit 1); exit 1; }; }
58115 cat >conftest.$ac_ext <<_ACEOF
58116 /* confdefs.h. */
58117 _ACEOF
58118 cat confdefs.h >>conftest.$ac_ext
58119 cat >>conftest.$ac_ext <<_ACEOF
58120 /* end confdefs.h. */
58121 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58122 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58123 #define $ac_func innocuous_$ac_func
58125 /* System header to define __stub macros and hopefully few prototypes,
58126 which can conflict with char $ac_func (); below.
58127 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58128 <limits.h> exists even on freestanding compilers. */
58130 #ifdef __STDC__
58131 # include <limits.h>
58132 #else
58133 # include <assert.h>
58134 #endif
58136 #undef $ac_func
58138 /* Override any gcc2 internal prototype to avoid an error. */
58139 #ifdef __cplusplus
58140 extern "C"
58142 #endif
58143 /* We use char because int might match the return type of a gcc2
58144 builtin and then its argument prototype would still apply. */
58145 char $ac_func ();
58146 /* The GNU C library defines this for functions which it implements
58147 to always fail with ENOSYS. Some functions are actually named
58148 something starting with __ and the normal name is an alias. */
58149 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58150 choke me
58151 #else
58152 char (*f) () = $ac_func;
58153 #endif
58154 #ifdef __cplusplus
58156 #endif
58159 main ()
58161 return f != $ac_func;
58163 return 0;
58165 _ACEOF
58166 rm -f conftest.$ac_objext conftest$ac_exeext
58167 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58168 (eval $ac_link) 2>conftest.er1
58169 ac_status=$?
58170 grep -v '^ *+' conftest.er1 >conftest.err
58171 rm -f conftest.er1
58172 cat conftest.err >&5
58173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58174 (exit $ac_status); } &&
58175 { ac_try='test -z "$ac_c_werror_flag"
58176 || test ! -s conftest.err'
58177 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58178 (eval $ac_try) 2>&5
58179 ac_status=$?
58180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58181 (exit $ac_status); }; } &&
58182 { ac_try='test -s conftest$ac_exeext'
58183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58184 (eval $ac_try) 2>&5
58185 ac_status=$?
58186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58187 (exit $ac_status); }; }; then
58188 eval "$as_ac_var=yes"
58189 else
58190 echo "$as_me: failed program was:" >&5
58191 sed 's/^/| /' conftest.$ac_ext >&5
58193 eval "$as_ac_var=no"
58195 rm -f conftest.err conftest.$ac_objext \
58196 conftest$ac_exeext conftest.$ac_ext
58198 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58199 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58200 if test `eval echo '${'$as_ac_var'}'` = yes; then
58201 cat >>confdefs.h <<_ACEOF
58202 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58203 _ACEOF
58206 done
58208 else
58210 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
58211 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
58212 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58213 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
58214 echo $ECHO_N "(cached) $ECHO_C" >&6
58215 else
58219 ac_ext=cc
58220 ac_cpp='$CXXCPP $CPPFLAGS'
58221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58225 cat >conftest.$ac_ext <<_ACEOF
58226 /* confdefs.h. */
58227 _ACEOF
58228 cat confdefs.h >>conftest.$ac_ext
58229 cat >>conftest.$ac_ext <<_ACEOF
58230 /* end confdefs.h. */
58231 #include <math.h>
58232 #ifdef HAVE_IEEEFP_H
58233 #include <ieeefp.h>
58234 #endif
58237 main ()
58239 _sqrtl(0);
58241 return 0;
58243 _ACEOF
58244 rm -f conftest.$ac_objext
58245 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58246 (eval $ac_compile) 2>conftest.er1
58247 ac_status=$?
58248 grep -v '^ *+' conftest.er1 >conftest.err
58249 rm -f conftest.er1
58250 cat conftest.err >&5
58251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58252 (exit $ac_status); } &&
58253 { ac_try='test -z "$ac_cxx_werror_flag"
58254 || test ! -s conftest.err'
58255 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58256 (eval $ac_try) 2>&5
58257 ac_status=$?
58258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58259 (exit $ac_status); }; } &&
58260 { ac_try='test -s conftest.$ac_objext'
58261 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58262 (eval $ac_try) 2>&5
58263 ac_status=$?
58264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58265 (exit $ac_status); }; }; then
58266 glibcxx_cv_func__sqrtl_use=yes
58267 else
58268 echo "$as_me: failed program was:" >&5
58269 sed 's/^/| /' conftest.$ac_ext >&5
58271 glibcxx_cv_func__sqrtl_use=no
58273 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58274 ac_ext=c
58275 ac_cpp='$CPP $CPPFLAGS'
58276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58284 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
58285 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
58287 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
58289 for ac_func in _sqrtl
58291 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58292 echo "$as_me:$LINENO: checking for $ac_func" >&5
58293 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58294 if eval "test \"\${$as_ac_var+set}\" = set"; then
58295 echo $ECHO_N "(cached) $ECHO_C" >&6
58296 else
58297 if test x$gcc_no_link = xyes; then
58298 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58299 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58300 { (exit 1); exit 1; }; }
58302 cat >conftest.$ac_ext <<_ACEOF
58303 /* confdefs.h. */
58304 _ACEOF
58305 cat confdefs.h >>conftest.$ac_ext
58306 cat >>conftest.$ac_ext <<_ACEOF
58307 /* end confdefs.h. */
58308 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58309 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58310 #define $ac_func innocuous_$ac_func
58312 /* System header to define __stub macros and hopefully few prototypes,
58313 which can conflict with char $ac_func (); below.
58314 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58315 <limits.h> exists even on freestanding compilers. */
58317 #ifdef __STDC__
58318 # include <limits.h>
58319 #else
58320 # include <assert.h>
58321 #endif
58323 #undef $ac_func
58325 /* Override any gcc2 internal prototype to avoid an error. */
58326 #ifdef __cplusplus
58327 extern "C"
58329 #endif
58330 /* We use char because int might match the return type of a gcc2
58331 builtin and then its argument prototype would still apply. */
58332 char $ac_func ();
58333 /* The GNU C library defines this for functions which it implements
58334 to always fail with ENOSYS. Some functions are actually named
58335 something starting with __ and the normal name is an alias. */
58336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58337 choke me
58338 #else
58339 char (*f) () = $ac_func;
58340 #endif
58341 #ifdef __cplusplus
58343 #endif
58346 main ()
58348 return f != $ac_func;
58350 return 0;
58352 _ACEOF
58353 rm -f conftest.$ac_objext conftest$ac_exeext
58354 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58355 (eval $ac_link) 2>conftest.er1
58356 ac_status=$?
58357 grep -v '^ *+' conftest.er1 >conftest.err
58358 rm -f conftest.er1
58359 cat conftest.err >&5
58360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58361 (exit $ac_status); } &&
58362 { ac_try='test -z "$ac_c_werror_flag"
58363 || test ! -s conftest.err'
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); }; } &&
58369 { ac_try='test -s conftest$ac_exeext'
58370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58371 (eval $ac_try) 2>&5
58372 ac_status=$?
58373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58374 (exit $ac_status); }; }; then
58375 eval "$as_ac_var=yes"
58376 else
58377 echo "$as_me: failed program was:" >&5
58378 sed 's/^/| /' conftest.$ac_ext >&5
58380 eval "$as_ac_var=no"
58382 rm -f conftest.err conftest.$ac_objext \
58383 conftest$ac_exeext conftest.$ac_ext
58385 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58386 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58387 if test `eval echo '${'$as_ac_var'}'` = yes; then
58388 cat >>confdefs.h <<_ACEOF
58389 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58390 _ACEOF
58393 done
58403 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
58404 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
58405 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
58406 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
58407 echo $ECHO_N "(cached) $ECHO_C" >&6
58408 else
58412 ac_ext=cc
58413 ac_cpp='$CXXCPP $CPPFLAGS'
58414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58418 cat >conftest.$ac_ext <<_ACEOF
58419 /* confdefs.h. */
58420 _ACEOF
58421 cat confdefs.h >>conftest.$ac_ext
58422 cat >>conftest.$ac_ext <<_ACEOF
58423 /* end confdefs.h. */
58424 #include <math.h>
58426 main ()
58428 sincosl(0, 0, 0);
58430 return 0;
58432 _ACEOF
58433 rm -f conftest.$ac_objext
58434 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58435 (eval $ac_compile) 2>conftest.er1
58436 ac_status=$?
58437 grep -v '^ *+' conftest.er1 >conftest.err
58438 rm -f conftest.er1
58439 cat conftest.err >&5
58440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58441 (exit $ac_status); } &&
58442 { ac_try='test -z "$ac_cxx_werror_flag"
58443 || test ! -s conftest.err'
58444 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58445 (eval $ac_try) 2>&5
58446 ac_status=$?
58447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58448 (exit $ac_status); }; } &&
58449 { ac_try='test -s conftest.$ac_objext'
58450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58451 (eval $ac_try) 2>&5
58452 ac_status=$?
58453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58454 (exit $ac_status); }; }; then
58455 glibcxx_cv_func_sincosl_use=yes
58456 else
58457 echo "$as_me: failed program was:" >&5
58458 sed 's/^/| /' conftest.$ac_ext >&5
58460 glibcxx_cv_func_sincosl_use=no
58462 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58463 ac_ext=c
58464 ac_cpp='$CPP $CPPFLAGS'
58465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58473 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
58474 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
58476 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58478 for ac_func in sincosl
58480 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58481 echo "$as_me:$LINENO: checking for $ac_func" >&5
58482 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58483 if eval "test \"\${$as_ac_var+set}\" = set"; then
58484 echo $ECHO_N "(cached) $ECHO_C" >&6
58485 else
58486 if test x$gcc_no_link = xyes; then
58487 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58488 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58489 { (exit 1); exit 1; }; }
58491 cat >conftest.$ac_ext <<_ACEOF
58492 /* confdefs.h. */
58493 _ACEOF
58494 cat confdefs.h >>conftest.$ac_ext
58495 cat >>conftest.$ac_ext <<_ACEOF
58496 /* end confdefs.h. */
58497 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58498 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58499 #define $ac_func innocuous_$ac_func
58501 /* System header to define __stub macros and hopefully few prototypes,
58502 which can conflict with char $ac_func (); below.
58503 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58504 <limits.h> exists even on freestanding compilers. */
58506 #ifdef __STDC__
58507 # include <limits.h>
58508 #else
58509 # include <assert.h>
58510 #endif
58512 #undef $ac_func
58514 /* Override any gcc2 internal prototype to avoid an error. */
58515 #ifdef __cplusplus
58516 extern "C"
58518 #endif
58519 /* We use char because int might match the return type of a gcc2
58520 builtin and then its argument prototype would still apply. */
58521 char $ac_func ();
58522 /* The GNU C library defines this for functions which it implements
58523 to always fail with ENOSYS. Some functions are actually named
58524 something starting with __ and the normal name is an alias. */
58525 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58526 choke me
58527 #else
58528 char (*f) () = $ac_func;
58529 #endif
58530 #ifdef __cplusplus
58532 #endif
58535 main ()
58537 return f != $ac_func;
58539 return 0;
58541 _ACEOF
58542 rm -f conftest.$ac_objext conftest$ac_exeext
58543 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58544 (eval $ac_link) 2>conftest.er1
58545 ac_status=$?
58546 grep -v '^ *+' conftest.er1 >conftest.err
58547 rm -f conftest.er1
58548 cat conftest.err >&5
58549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58550 (exit $ac_status); } &&
58551 { ac_try='test -z "$ac_c_werror_flag"
58552 || test ! -s conftest.err'
58553 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58554 (eval $ac_try) 2>&5
58555 ac_status=$?
58556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58557 (exit $ac_status); }; } &&
58558 { ac_try='test -s conftest$ac_exeext'
58559 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58560 (eval $ac_try) 2>&5
58561 ac_status=$?
58562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58563 (exit $ac_status); }; }; then
58564 eval "$as_ac_var=yes"
58565 else
58566 echo "$as_me: failed program was:" >&5
58567 sed 's/^/| /' conftest.$ac_ext >&5
58569 eval "$as_ac_var=no"
58571 rm -f conftest.err conftest.$ac_objext \
58572 conftest$ac_exeext conftest.$ac_ext
58574 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58575 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58576 if test `eval echo '${'$as_ac_var'}'` = yes; then
58577 cat >>confdefs.h <<_ACEOF
58578 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58579 _ACEOF
58582 done
58584 else
58586 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
58587 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
58588 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58589 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
58590 echo $ECHO_N "(cached) $ECHO_C" >&6
58591 else
58595 ac_ext=cc
58596 ac_cpp='$CXXCPP $CPPFLAGS'
58597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58601 cat >conftest.$ac_ext <<_ACEOF
58602 /* confdefs.h. */
58603 _ACEOF
58604 cat confdefs.h >>conftest.$ac_ext
58605 cat >>conftest.$ac_ext <<_ACEOF
58606 /* end confdefs.h. */
58607 #include <math.h>
58609 main ()
58611 _sincosl(0, 0, 0);
58613 return 0;
58615 _ACEOF
58616 rm -f conftest.$ac_objext
58617 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58618 (eval $ac_compile) 2>conftest.er1
58619 ac_status=$?
58620 grep -v '^ *+' conftest.er1 >conftest.err
58621 rm -f conftest.er1
58622 cat conftest.err >&5
58623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58624 (exit $ac_status); } &&
58625 { ac_try='test -z "$ac_cxx_werror_flag"
58626 || test ! -s conftest.err'
58627 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58628 (eval $ac_try) 2>&5
58629 ac_status=$?
58630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58631 (exit $ac_status); }; } &&
58632 { ac_try='test -s conftest.$ac_objext'
58633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58634 (eval $ac_try) 2>&5
58635 ac_status=$?
58636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58637 (exit $ac_status); }; }; then
58638 glibcxx_cv_func__sincosl_use=yes
58639 else
58640 echo "$as_me: failed program was:" >&5
58641 sed 's/^/| /' conftest.$ac_ext >&5
58643 glibcxx_cv_func__sincosl_use=no
58645 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58646 ac_ext=c
58647 ac_cpp='$CPP $CPPFLAGS'
58648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58656 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
58657 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
58659 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58661 for ac_func in _sincosl
58663 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58664 echo "$as_me:$LINENO: checking for $ac_func" >&5
58665 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58666 if eval "test \"\${$as_ac_var+set}\" = set"; then
58667 echo $ECHO_N "(cached) $ECHO_C" >&6
58668 else
58669 if test x$gcc_no_link = xyes; then
58670 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58671 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58672 { (exit 1); exit 1; }; }
58674 cat >conftest.$ac_ext <<_ACEOF
58675 /* confdefs.h. */
58676 _ACEOF
58677 cat confdefs.h >>conftest.$ac_ext
58678 cat >>conftest.$ac_ext <<_ACEOF
58679 /* end confdefs.h. */
58680 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58681 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58682 #define $ac_func innocuous_$ac_func
58684 /* System header to define __stub macros and hopefully few prototypes,
58685 which can conflict with char $ac_func (); below.
58686 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58687 <limits.h> exists even on freestanding compilers. */
58689 #ifdef __STDC__
58690 # include <limits.h>
58691 #else
58692 # include <assert.h>
58693 #endif
58695 #undef $ac_func
58697 /* Override any gcc2 internal prototype to avoid an error. */
58698 #ifdef __cplusplus
58699 extern "C"
58701 #endif
58702 /* We use char because int might match the return type of a gcc2
58703 builtin and then its argument prototype would still apply. */
58704 char $ac_func ();
58705 /* The GNU C library defines this for functions which it implements
58706 to always fail with ENOSYS. Some functions are actually named
58707 something starting with __ and the normal name is an alias. */
58708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58709 choke me
58710 #else
58711 char (*f) () = $ac_func;
58712 #endif
58713 #ifdef __cplusplus
58715 #endif
58718 main ()
58720 return f != $ac_func;
58722 return 0;
58724 _ACEOF
58725 rm -f conftest.$ac_objext conftest$ac_exeext
58726 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58727 (eval $ac_link) 2>conftest.er1
58728 ac_status=$?
58729 grep -v '^ *+' conftest.er1 >conftest.err
58730 rm -f conftest.er1
58731 cat conftest.err >&5
58732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58733 (exit $ac_status); } &&
58734 { ac_try='test -z "$ac_c_werror_flag"
58735 || test ! -s conftest.err'
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); }; } &&
58741 { ac_try='test -s conftest$ac_exeext'
58742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58743 (eval $ac_try) 2>&5
58744 ac_status=$?
58745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58746 (exit $ac_status); }; }; then
58747 eval "$as_ac_var=yes"
58748 else
58749 echo "$as_me: failed program was:" >&5
58750 sed 's/^/| /' conftest.$ac_ext >&5
58752 eval "$as_ac_var=no"
58754 rm -f conftest.err conftest.$ac_objext \
58755 conftest$ac_exeext conftest.$ac_ext
58757 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58758 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58759 if test `eval echo '${'$as_ac_var'}'` = yes; then
58760 cat >>confdefs.h <<_ACEOF
58761 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58762 _ACEOF
58765 done
58775 echo "$as_me:$LINENO: checking for finitel declaration" >&5
58776 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
58777 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58778 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
58779 echo $ECHO_N "(cached) $ECHO_C" >&6
58780 else
58784 ac_ext=cc
58785 ac_cpp='$CXXCPP $CPPFLAGS'
58786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58790 cat >conftest.$ac_ext <<_ACEOF
58791 /* confdefs.h. */
58792 _ACEOF
58793 cat confdefs.h >>conftest.$ac_ext
58794 cat >>conftest.$ac_ext <<_ACEOF
58795 /* end confdefs.h. */
58796 #include <math.h>
58797 #ifdef HAVE_IEEEFP_H
58798 #include <ieeefp.h>
58799 #endif
58802 main ()
58804 finitel(0);
58806 return 0;
58808 _ACEOF
58809 rm -f conftest.$ac_objext
58810 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58811 (eval $ac_compile) 2>conftest.er1
58812 ac_status=$?
58813 grep -v '^ *+' conftest.er1 >conftest.err
58814 rm -f conftest.er1
58815 cat conftest.err >&5
58816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58817 (exit $ac_status); } &&
58818 { ac_try='test -z "$ac_cxx_werror_flag"
58819 || test ! -s conftest.err'
58820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58821 (eval $ac_try) 2>&5
58822 ac_status=$?
58823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58824 (exit $ac_status); }; } &&
58825 { ac_try='test -s conftest.$ac_objext'
58826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58827 (eval $ac_try) 2>&5
58828 ac_status=$?
58829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58830 (exit $ac_status); }; }; then
58831 glibcxx_cv_func_finitel_use=yes
58832 else
58833 echo "$as_me: failed program was:" >&5
58834 sed 's/^/| /' conftest.$ac_ext >&5
58836 glibcxx_cv_func_finitel_use=no
58838 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
58839 ac_ext=c
58840 ac_cpp='$CPP $CPPFLAGS'
58841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58849 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
58850 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
58852 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58854 for ac_func in finitel
58856 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
58857 echo "$as_me:$LINENO: checking for $ac_func" >&5
58858 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
58859 if eval "test \"\${$as_ac_var+set}\" = set"; then
58860 echo $ECHO_N "(cached) $ECHO_C" >&6
58861 else
58862 if test x$gcc_no_link = xyes; then
58863 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
58864 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
58865 { (exit 1); exit 1; }; }
58867 cat >conftest.$ac_ext <<_ACEOF
58868 /* confdefs.h. */
58869 _ACEOF
58870 cat confdefs.h >>conftest.$ac_ext
58871 cat >>conftest.$ac_ext <<_ACEOF
58872 /* end confdefs.h. */
58873 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
58874 For example, HP-UX 11i <limits.h> declares gettimeofday. */
58875 #define $ac_func innocuous_$ac_func
58877 /* System header to define __stub macros and hopefully few prototypes,
58878 which can conflict with char $ac_func (); below.
58879 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
58880 <limits.h> exists even on freestanding compilers. */
58882 #ifdef __STDC__
58883 # include <limits.h>
58884 #else
58885 # include <assert.h>
58886 #endif
58888 #undef $ac_func
58890 /* Override any gcc2 internal prototype to avoid an error. */
58891 #ifdef __cplusplus
58892 extern "C"
58894 #endif
58895 /* We use char because int might match the return type of a gcc2
58896 builtin and then its argument prototype would still apply. */
58897 char $ac_func ();
58898 /* The GNU C library defines this for functions which it implements
58899 to always fail with ENOSYS. Some functions are actually named
58900 something starting with __ and the normal name is an alias. */
58901 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
58902 choke me
58903 #else
58904 char (*f) () = $ac_func;
58905 #endif
58906 #ifdef __cplusplus
58908 #endif
58911 main ()
58913 return f != $ac_func;
58915 return 0;
58917 _ACEOF
58918 rm -f conftest.$ac_objext conftest$ac_exeext
58919 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
58920 (eval $ac_link) 2>conftest.er1
58921 ac_status=$?
58922 grep -v '^ *+' conftest.er1 >conftest.err
58923 rm -f conftest.er1
58924 cat conftest.err >&5
58925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58926 (exit $ac_status); } &&
58927 { ac_try='test -z "$ac_c_werror_flag"
58928 || test ! -s conftest.err'
58929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58930 (eval $ac_try) 2>&5
58931 ac_status=$?
58932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58933 (exit $ac_status); }; } &&
58934 { ac_try='test -s conftest$ac_exeext'
58935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
58936 (eval $ac_try) 2>&5
58937 ac_status=$?
58938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
58939 (exit $ac_status); }; }; then
58940 eval "$as_ac_var=yes"
58941 else
58942 echo "$as_me: failed program was:" >&5
58943 sed 's/^/| /' conftest.$ac_ext >&5
58945 eval "$as_ac_var=no"
58947 rm -f conftest.err conftest.$ac_objext \
58948 conftest$ac_exeext conftest.$ac_ext
58950 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
58951 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
58952 if test `eval echo '${'$as_ac_var'}'` = yes; then
58953 cat >>confdefs.h <<_ACEOF
58954 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
58955 _ACEOF
58958 done
58960 else
58962 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
58963 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
58964 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58965 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
58966 echo $ECHO_N "(cached) $ECHO_C" >&6
58967 else
58971 ac_ext=cc
58972 ac_cpp='$CXXCPP $CPPFLAGS'
58973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58977 cat >conftest.$ac_ext <<_ACEOF
58978 /* confdefs.h. */
58979 _ACEOF
58980 cat confdefs.h >>conftest.$ac_ext
58981 cat >>conftest.$ac_ext <<_ACEOF
58982 /* end confdefs.h. */
58983 #include <math.h>
58984 #ifdef HAVE_IEEEFP_H
58985 #include <ieeefp.h>
58986 #endif
58989 main ()
58991 _finitel(0);
58993 return 0;
58995 _ACEOF
58996 rm -f conftest.$ac_objext
58997 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
58998 (eval $ac_compile) 2>conftest.er1
58999 ac_status=$?
59000 grep -v '^ *+' conftest.er1 >conftest.err
59001 rm -f conftest.er1
59002 cat conftest.err >&5
59003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59004 (exit $ac_status); } &&
59005 { ac_try='test -z "$ac_cxx_werror_flag"
59006 || test ! -s conftest.err'
59007 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59008 (eval $ac_try) 2>&5
59009 ac_status=$?
59010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59011 (exit $ac_status); }; } &&
59012 { ac_try='test -s conftest.$ac_objext'
59013 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59014 (eval $ac_try) 2>&5
59015 ac_status=$?
59016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59017 (exit $ac_status); }; }; then
59018 glibcxx_cv_func__finitel_use=yes
59019 else
59020 echo "$as_me: failed program was:" >&5
59021 sed 's/^/| /' conftest.$ac_ext >&5
59023 glibcxx_cv_func__finitel_use=no
59025 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59026 ac_ext=c
59027 ac_cpp='$CPP $CPPFLAGS'
59028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59036 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
59037 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
59039 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59041 for ac_func in _finitel
59043 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59044 echo "$as_me:$LINENO: checking for $ac_func" >&5
59045 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59046 if eval "test \"\${$as_ac_var+set}\" = set"; then
59047 echo $ECHO_N "(cached) $ECHO_C" >&6
59048 else
59049 if test x$gcc_no_link = xyes; then
59050 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59051 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59052 { (exit 1); exit 1; }; }
59054 cat >conftest.$ac_ext <<_ACEOF
59055 /* confdefs.h. */
59056 _ACEOF
59057 cat confdefs.h >>conftest.$ac_ext
59058 cat >>conftest.$ac_ext <<_ACEOF
59059 /* end confdefs.h. */
59060 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59061 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59062 #define $ac_func innocuous_$ac_func
59064 /* System header to define __stub macros and hopefully few prototypes,
59065 which can conflict with char $ac_func (); below.
59066 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59067 <limits.h> exists even on freestanding compilers. */
59069 #ifdef __STDC__
59070 # include <limits.h>
59071 #else
59072 # include <assert.h>
59073 #endif
59075 #undef $ac_func
59077 /* Override any gcc2 internal prototype to avoid an error. */
59078 #ifdef __cplusplus
59079 extern "C"
59081 #endif
59082 /* We use char because int might match the return type of a gcc2
59083 builtin and then its argument prototype would still apply. */
59084 char $ac_func ();
59085 /* The GNU C library defines this for functions which it implements
59086 to always fail with ENOSYS. Some functions are actually named
59087 something starting with __ and the normal name is an alias. */
59088 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59089 choke me
59090 #else
59091 char (*f) () = $ac_func;
59092 #endif
59093 #ifdef __cplusplus
59095 #endif
59098 main ()
59100 return f != $ac_func;
59102 return 0;
59104 _ACEOF
59105 rm -f conftest.$ac_objext conftest$ac_exeext
59106 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59107 (eval $ac_link) 2>conftest.er1
59108 ac_status=$?
59109 grep -v '^ *+' conftest.er1 >conftest.err
59110 rm -f conftest.er1
59111 cat conftest.err >&5
59112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59113 (exit $ac_status); } &&
59114 { ac_try='test -z "$ac_c_werror_flag"
59115 || test ! -s conftest.err'
59116 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59117 (eval $ac_try) 2>&5
59118 ac_status=$?
59119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59120 (exit $ac_status); }; } &&
59121 { ac_try='test -s conftest$ac_exeext'
59122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59123 (eval $ac_try) 2>&5
59124 ac_status=$?
59125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59126 (exit $ac_status); }; }; then
59127 eval "$as_ac_var=yes"
59128 else
59129 echo "$as_me: failed program was:" >&5
59130 sed 's/^/| /' conftest.$ac_ext >&5
59132 eval "$as_ac_var=no"
59134 rm -f conftest.err conftest.$ac_objext \
59135 conftest$ac_exeext conftest.$ac_ext
59137 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59138 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59139 if test `eval echo '${'$as_ac_var'}'` = yes; then
59140 cat >>confdefs.h <<_ACEOF
59141 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59142 _ACEOF
59145 done
59154 LIBS="$ac_save_LIBS"
59155 CXXFLAGS="$ac_save_CXXFLAGS"
59158 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59159 ac_save_CXXFLAGS="$CXXFLAGS"
59160 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59163 echo "$as_me:$LINENO: checking for strtold declaration" >&5
59164 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
59165 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59166 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
59167 echo $ECHO_N "(cached) $ECHO_C" >&6
59168 else
59172 ac_ext=cc
59173 ac_cpp='$CXXCPP $CPPFLAGS'
59174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59178 cat >conftest.$ac_ext <<_ACEOF
59179 /* confdefs.h. */
59180 _ACEOF
59181 cat confdefs.h >>conftest.$ac_ext
59182 cat >>conftest.$ac_ext <<_ACEOF
59183 /* end confdefs.h. */
59184 #include <stdlib.h>
59186 main ()
59188 strtold(0, 0);
59190 return 0;
59192 _ACEOF
59193 rm -f conftest.$ac_objext
59194 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59195 (eval $ac_compile) 2>conftest.er1
59196 ac_status=$?
59197 grep -v '^ *+' conftest.er1 >conftest.err
59198 rm -f conftest.er1
59199 cat conftest.err >&5
59200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59201 (exit $ac_status); } &&
59202 { ac_try='test -z "$ac_cxx_werror_flag"
59203 || test ! -s conftest.err'
59204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59205 (eval $ac_try) 2>&5
59206 ac_status=$?
59207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59208 (exit $ac_status); }; } &&
59209 { ac_try='test -s conftest.$ac_objext'
59210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59211 (eval $ac_try) 2>&5
59212 ac_status=$?
59213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59214 (exit $ac_status); }; }; then
59215 glibcxx_cv_func_strtold_use=yes
59216 else
59217 echo "$as_me: failed program was:" >&5
59218 sed 's/^/| /' conftest.$ac_ext >&5
59220 glibcxx_cv_func_strtold_use=no
59222 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59223 ac_ext=c
59224 ac_cpp='$CPP $CPPFLAGS'
59225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59233 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
59234 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
59235 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59237 for ac_func in strtold
59239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59240 echo "$as_me:$LINENO: checking for $ac_func" >&5
59241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59242 if eval "test \"\${$as_ac_var+set}\" = set"; then
59243 echo $ECHO_N "(cached) $ECHO_C" >&6
59244 else
59245 if test x$gcc_no_link = xyes; then
59246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59248 { (exit 1); exit 1; }; }
59250 cat >conftest.$ac_ext <<_ACEOF
59251 /* confdefs.h. */
59252 _ACEOF
59253 cat confdefs.h >>conftest.$ac_ext
59254 cat >>conftest.$ac_ext <<_ACEOF
59255 /* end confdefs.h. */
59256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59258 #define $ac_func innocuous_$ac_func
59260 /* System header to define __stub macros and hopefully few prototypes,
59261 which can conflict with char $ac_func (); below.
59262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59263 <limits.h> exists even on freestanding compilers. */
59265 #ifdef __STDC__
59266 # include <limits.h>
59267 #else
59268 # include <assert.h>
59269 #endif
59271 #undef $ac_func
59273 /* Override any gcc2 internal prototype to avoid an error. */
59274 #ifdef __cplusplus
59275 extern "C"
59277 #endif
59278 /* We use char because int might match the return type of a gcc2
59279 builtin and then its argument prototype would still apply. */
59280 char $ac_func ();
59281 /* The GNU C library defines this for functions which it implements
59282 to always fail with ENOSYS. Some functions are actually named
59283 something starting with __ and the normal name is an alias. */
59284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59285 choke me
59286 #else
59287 char (*f) () = $ac_func;
59288 #endif
59289 #ifdef __cplusplus
59291 #endif
59294 main ()
59296 return f != $ac_func;
59298 return 0;
59300 _ACEOF
59301 rm -f conftest.$ac_objext conftest$ac_exeext
59302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59303 (eval $ac_link) 2>conftest.er1
59304 ac_status=$?
59305 grep -v '^ *+' conftest.er1 >conftest.err
59306 rm -f conftest.er1
59307 cat conftest.err >&5
59308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59309 (exit $ac_status); } &&
59310 { ac_try='test -z "$ac_c_werror_flag"
59311 || test ! -s conftest.err'
59312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59313 (eval $ac_try) 2>&5
59314 ac_status=$?
59315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59316 (exit $ac_status); }; } &&
59317 { ac_try='test -s conftest$ac_exeext'
59318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59319 (eval $ac_try) 2>&5
59320 ac_status=$?
59321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59322 (exit $ac_status); }; }; then
59323 eval "$as_ac_var=yes"
59324 else
59325 echo "$as_me: failed program was:" >&5
59326 sed 's/^/| /' conftest.$ac_ext >&5
59328 eval "$as_ac_var=no"
59330 rm -f conftest.err conftest.$ac_objext \
59331 conftest$ac_exeext conftest.$ac_ext
59333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59335 if test `eval echo '${'$as_ac_var'}'` = yes; then
59336 cat >>confdefs.h <<_ACEOF
59337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59338 _ACEOF
59341 done
59349 echo "$as_me:$LINENO: checking for strtof declaration" >&5
59350 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
59351 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59352 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
59353 echo $ECHO_N "(cached) $ECHO_C" >&6
59354 else
59358 ac_ext=cc
59359 ac_cpp='$CXXCPP $CPPFLAGS'
59360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59364 cat >conftest.$ac_ext <<_ACEOF
59365 /* confdefs.h. */
59366 _ACEOF
59367 cat confdefs.h >>conftest.$ac_ext
59368 cat >>conftest.$ac_ext <<_ACEOF
59369 /* end confdefs.h. */
59370 #include <stdlib.h>
59372 main ()
59374 strtof(0, 0);
59376 return 0;
59378 _ACEOF
59379 rm -f conftest.$ac_objext
59380 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59381 (eval $ac_compile) 2>conftest.er1
59382 ac_status=$?
59383 grep -v '^ *+' conftest.er1 >conftest.err
59384 rm -f conftest.er1
59385 cat conftest.err >&5
59386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59387 (exit $ac_status); } &&
59388 { ac_try='test -z "$ac_cxx_werror_flag"
59389 || test ! -s conftest.err'
59390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59391 (eval $ac_try) 2>&5
59392 ac_status=$?
59393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59394 (exit $ac_status); }; } &&
59395 { ac_try='test -s conftest.$ac_objext'
59396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59397 (eval $ac_try) 2>&5
59398 ac_status=$?
59399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59400 (exit $ac_status); }; }; then
59401 glibcxx_cv_func_strtof_use=yes
59402 else
59403 echo "$as_me: failed program was:" >&5
59404 sed 's/^/| /' conftest.$ac_ext >&5
59406 glibcxx_cv_func_strtof_use=no
59408 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59409 ac_ext=c
59410 ac_cpp='$CPP $CPPFLAGS'
59411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59419 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
59420 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
59421 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59423 for ac_func in strtof
59425 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59426 echo "$as_me:$LINENO: checking for $ac_func" >&5
59427 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59428 if eval "test \"\${$as_ac_var+set}\" = set"; then
59429 echo $ECHO_N "(cached) $ECHO_C" >&6
59430 else
59431 if test x$gcc_no_link = xyes; then
59432 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59433 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59434 { (exit 1); exit 1; }; }
59436 cat >conftest.$ac_ext <<_ACEOF
59437 /* confdefs.h. */
59438 _ACEOF
59439 cat confdefs.h >>conftest.$ac_ext
59440 cat >>conftest.$ac_ext <<_ACEOF
59441 /* end confdefs.h. */
59442 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59443 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59444 #define $ac_func innocuous_$ac_func
59446 /* System header to define __stub macros and hopefully few prototypes,
59447 which can conflict with char $ac_func (); below.
59448 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59449 <limits.h> exists even on freestanding compilers. */
59451 #ifdef __STDC__
59452 # include <limits.h>
59453 #else
59454 # include <assert.h>
59455 #endif
59457 #undef $ac_func
59459 /* Override any gcc2 internal prototype to avoid an error. */
59460 #ifdef __cplusplus
59461 extern "C"
59463 #endif
59464 /* We use char because int might match the return type of a gcc2
59465 builtin and then its argument prototype would still apply. */
59466 char $ac_func ();
59467 /* The GNU C library defines this for functions which it implements
59468 to always fail with ENOSYS. Some functions are actually named
59469 something starting with __ and the normal name is an alias. */
59470 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59471 choke me
59472 #else
59473 char (*f) () = $ac_func;
59474 #endif
59475 #ifdef __cplusplus
59477 #endif
59480 main ()
59482 return f != $ac_func;
59484 return 0;
59486 _ACEOF
59487 rm -f conftest.$ac_objext conftest$ac_exeext
59488 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59489 (eval $ac_link) 2>conftest.er1
59490 ac_status=$?
59491 grep -v '^ *+' conftest.er1 >conftest.err
59492 rm -f conftest.er1
59493 cat conftest.err >&5
59494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59495 (exit $ac_status); } &&
59496 { ac_try='test -z "$ac_c_werror_flag"
59497 || test ! -s conftest.err'
59498 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59499 (eval $ac_try) 2>&5
59500 ac_status=$?
59501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59502 (exit $ac_status); }; } &&
59503 { ac_try='test -s conftest$ac_exeext'
59504 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59505 (eval $ac_try) 2>&5
59506 ac_status=$?
59507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59508 (exit $ac_status); }; }; then
59509 eval "$as_ac_var=yes"
59510 else
59511 echo "$as_me: failed program was:" >&5
59512 sed 's/^/| /' conftest.$ac_ext >&5
59514 eval "$as_ac_var=no"
59516 rm -f conftest.err conftest.$ac_objext \
59517 conftest$ac_exeext conftest.$ac_ext
59519 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59520 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59521 if test `eval echo '${'$as_ac_var'}'` = yes; then
59522 cat >>confdefs.h <<_ACEOF
59523 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59524 _ACEOF
59527 done
59535 CXXFLAGS="$ac_save_CXXFLAGS"
59538 cat >>confdefs.h <<\_ACEOF
59539 #define HAVE_FINITE 1
59540 _ACEOF
59542 cat >>confdefs.h <<\_ACEOF
59543 #define HAVE_HYPOT 1
59544 _ACEOF
59546 cat >>confdefs.h <<\_ACEOF
59547 #define HAVE_ISNAN 1
59548 _ACEOF
59550 cat >>confdefs.h <<\_ACEOF
59551 #define HAVE_ISINF 1
59552 _ACEOF
59555 cat >>confdefs.h <<\_ACEOF
59556 #define HAVE_LDEXPF 1
59557 _ACEOF
59559 cat >>confdefs.h <<\_ACEOF
59560 #define HAVE_MODF 1
59561 _ACEOF
59563 cat >>confdefs.h <<\_ACEOF
59564 #define HAVE_SQRTF 1
59565 _ACEOF
59569 *-darwin*)
59570 # Darwin versions vary, but the linker should work in a cross environment,
59571 # so we just check for all the features here.
59572 # Check for available headers.
59574 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
59576 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59577 ac_save_CXXFLAGS="$CXXFLAGS"
59578 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59580 echo "$as_me:$LINENO: checking for sin in -lm" >&5
59581 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
59582 if test "${ac_cv_lib_m_sin+set}" = set; then
59583 echo $ECHO_N "(cached) $ECHO_C" >&6
59584 else
59585 ac_check_lib_save_LIBS=$LIBS
59586 LIBS="-lm $LIBS"
59587 if test x$gcc_no_link = xyes; then
59588 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59589 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59590 { (exit 1); exit 1; }; }
59592 cat >conftest.$ac_ext <<_ACEOF
59593 /* confdefs.h. */
59594 _ACEOF
59595 cat confdefs.h >>conftest.$ac_ext
59596 cat >>conftest.$ac_ext <<_ACEOF
59597 /* end confdefs.h. */
59599 /* Override any gcc2 internal prototype to avoid an error. */
59600 #ifdef __cplusplus
59601 extern "C"
59602 #endif
59603 /* We use char because int might match the return type of a gcc2
59604 builtin and then its argument prototype would still apply. */
59605 char sin ();
59607 main ()
59609 sin ();
59611 return 0;
59613 _ACEOF
59614 rm -f conftest.$ac_objext conftest$ac_exeext
59615 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59616 (eval $ac_link) 2>conftest.er1
59617 ac_status=$?
59618 grep -v '^ *+' conftest.er1 >conftest.err
59619 rm -f conftest.er1
59620 cat conftest.err >&5
59621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59622 (exit $ac_status); } &&
59623 { ac_try='test -z "$ac_c_werror_flag"
59624 || test ! -s conftest.err'
59625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59626 (eval $ac_try) 2>&5
59627 ac_status=$?
59628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59629 (exit $ac_status); }; } &&
59630 { ac_try='test -s conftest$ac_exeext'
59631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59632 (eval $ac_try) 2>&5
59633 ac_status=$?
59634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59635 (exit $ac_status); }; }; then
59636 ac_cv_lib_m_sin=yes
59637 else
59638 echo "$as_me: failed program was:" >&5
59639 sed 's/^/| /' conftest.$ac_ext >&5
59641 ac_cv_lib_m_sin=no
59643 rm -f conftest.err conftest.$ac_objext \
59644 conftest$ac_exeext conftest.$ac_ext
59645 LIBS=$ac_check_lib_save_LIBS
59647 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
59648 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
59649 if test $ac_cv_lib_m_sin = yes; then
59650 libm="-lm"
59653 ac_save_LIBS="$LIBS"
59654 LIBS="$LIBS $libm"
59658 echo "$as_me:$LINENO: checking for isinf declaration" >&5
59659 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
59660 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59661 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
59662 echo $ECHO_N "(cached) $ECHO_C" >&6
59663 else
59667 ac_ext=cc
59668 ac_cpp='$CXXCPP $CPPFLAGS'
59669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59673 cat >conftest.$ac_ext <<_ACEOF
59674 /* confdefs.h. */
59675 _ACEOF
59676 cat confdefs.h >>conftest.$ac_ext
59677 cat >>conftest.$ac_ext <<_ACEOF
59678 /* end confdefs.h. */
59679 #include <math.h>
59680 #ifdef HAVE_IEEEFP_H
59681 #include <ieeefp.h>
59682 #endif
59685 main ()
59687 isinf(0);
59689 return 0;
59691 _ACEOF
59692 rm -f conftest.$ac_objext
59693 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59694 (eval $ac_compile) 2>conftest.er1
59695 ac_status=$?
59696 grep -v '^ *+' conftest.er1 >conftest.err
59697 rm -f conftest.er1
59698 cat conftest.err >&5
59699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59700 (exit $ac_status); } &&
59701 { ac_try='test -z "$ac_cxx_werror_flag"
59702 || test ! -s conftest.err'
59703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59704 (eval $ac_try) 2>&5
59705 ac_status=$?
59706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59707 (exit $ac_status); }; } &&
59708 { ac_try='test -s conftest.$ac_objext'
59709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59710 (eval $ac_try) 2>&5
59711 ac_status=$?
59712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59713 (exit $ac_status); }; }; then
59714 glibcxx_cv_func_isinf_use=yes
59715 else
59716 echo "$as_me: failed program was:" >&5
59717 sed 's/^/| /' conftest.$ac_ext >&5
59719 glibcxx_cv_func_isinf_use=no
59721 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59722 ac_ext=c
59723 ac_cpp='$CPP $CPPFLAGS'
59724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59732 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
59733 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
59735 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59737 for ac_func in isinf
59739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59740 echo "$as_me:$LINENO: checking for $ac_func" >&5
59741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59742 if eval "test \"\${$as_ac_var+set}\" = set"; then
59743 echo $ECHO_N "(cached) $ECHO_C" >&6
59744 else
59745 if test x$gcc_no_link = xyes; then
59746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59748 { (exit 1); exit 1; }; }
59750 cat >conftest.$ac_ext <<_ACEOF
59751 /* confdefs.h. */
59752 _ACEOF
59753 cat confdefs.h >>conftest.$ac_ext
59754 cat >>conftest.$ac_ext <<_ACEOF
59755 /* end confdefs.h. */
59756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59758 #define $ac_func innocuous_$ac_func
59760 /* System header to define __stub macros and hopefully few prototypes,
59761 which can conflict with char $ac_func (); below.
59762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59763 <limits.h> exists even on freestanding compilers. */
59765 #ifdef __STDC__
59766 # include <limits.h>
59767 #else
59768 # include <assert.h>
59769 #endif
59771 #undef $ac_func
59773 /* Override any gcc2 internal prototype to avoid an error. */
59774 #ifdef __cplusplus
59775 extern "C"
59777 #endif
59778 /* We use char because int might match the return type of a gcc2
59779 builtin and then its argument prototype would still apply. */
59780 char $ac_func ();
59781 /* The GNU C library defines this for functions which it implements
59782 to always fail with ENOSYS. Some functions are actually named
59783 something starting with __ and the normal name is an alias. */
59784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59785 choke me
59786 #else
59787 char (*f) () = $ac_func;
59788 #endif
59789 #ifdef __cplusplus
59791 #endif
59794 main ()
59796 return f != $ac_func;
59798 return 0;
59800 _ACEOF
59801 rm -f conftest.$ac_objext conftest$ac_exeext
59802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59803 (eval $ac_link) 2>conftest.er1
59804 ac_status=$?
59805 grep -v '^ *+' conftest.er1 >conftest.err
59806 rm -f conftest.er1
59807 cat conftest.err >&5
59808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59809 (exit $ac_status); } &&
59810 { ac_try='test -z "$ac_c_werror_flag"
59811 || test ! -s conftest.err'
59812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59813 (eval $ac_try) 2>&5
59814 ac_status=$?
59815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59816 (exit $ac_status); }; } &&
59817 { ac_try='test -s conftest$ac_exeext'
59818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59819 (eval $ac_try) 2>&5
59820 ac_status=$?
59821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59822 (exit $ac_status); }; }; then
59823 eval "$as_ac_var=yes"
59824 else
59825 echo "$as_me: failed program was:" >&5
59826 sed 's/^/| /' conftest.$ac_ext >&5
59828 eval "$as_ac_var=no"
59830 rm -f conftest.err conftest.$ac_objext \
59831 conftest$ac_exeext conftest.$ac_ext
59833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
59834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
59835 if test `eval echo '${'$as_ac_var'}'` = yes; then
59836 cat >>confdefs.h <<_ACEOF
59837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
59838 _ACEOF
59841 done
59843 else
59845 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
59846 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
59847 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59848 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
59849 echo $ECHO_N "(cached) $ECHO_C" >&6
59850 else
59854 ac_ext=cc
59855 ac_cpp='$CXXCPP $CPPFLAGS'
59856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59860 cat >conftest.$ac_ext <<_ACEOF
59861 /* confdefs.h. */
59862 _ACEOF
59863 cat confdefs.h >>conftest.$ac_ext
59864 cat >>conftest.$ac_ext <<_ACEOF
59865 /* end confdefs.h. */
59866 #include <math.h>
59867 #ifdef HAVE_IEEEFP_H
59868 #include <ieeefp.h>
59869 #endif
59872 main ()
59874 _isinf(0);
59876 return 0;
59878 _ACEOF
59879 rm -f conftest.$ac_objext
59880 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
59881 (eval $ac_compile) 2>conftest.er1
59882 ac_status=$?
59883 grep -v '^ *+' conftest.er1 >conftest.err
59884 rm -f conftest.er1
59885 cat conftest.err >&5
59886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59887 (exit $ac_status); } &&
59888 { ac_try='test -z "$ac_cxx_werror_flag"
59889 || test ! -s conftest.err'
59890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59891 (eval $ac_try) 2>&5
59892 ac_status=$?
59893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59894 (exit $ac_status); }; } &&
59895 { ac_try='test -s conftest.$ac_objext'
59896 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
59897 (eval $ac_try) 2>&5
59898 ac_status=$?
59899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59900 (exit $ac_status); }; }; then
59901 glibcxx_cv_func__isinf_use=yes
59902 else
59903 echo "$as_me: failed program was:" >&5
59904 sed 's/^/| /' conftest.$ac_ext >&5
59906 glibcxx_cv_func__isinf_use=no
59908 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
59909 ac_ext=c
59910 ac_cpp='$CPP $CPPFLAGS'
59911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59919 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
59920 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
59922 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59924 for ac_func in _isinf
59926 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
59927 echo "$as_me:$LINENO: checking for $ac_func" >&5
59928 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
59929 if eval "test \"\${$as_ac_var+set}\" = set"; then
59930 echo $ECHO_N "(cached) $ECHO_C" >&6
59931 else
59932 if test x$gcc_no_link = xyes; then
59933 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
59934 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
59935 { (exit 1); exit 1; }; }
59937 cat >conftest.$ac_ext <<_ACEOF
59938 /* confdefs.h. */
59939 _ACEOF
59940 cat confdefs.h >>conftest.$ac_ext
59941 cat >>conftest.$ac_ext <<_ACEOF
59942 /* end confdefs.h. */
59943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
59944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
59945 #define $ac_func innocuous_$ac_func
59947 /* System header to define __stub macros and hopefully few prototypes,
59948 which can conflict with char $ac_func (); below.
59949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
59950 <limits.h> exists even on freestanding compilers. */
59952 #ifdef __STDC__
59953 # include <limits.h>
59954 #else
59955 # include <assert.h>
59956 #endif
59958 #undef $ac_func
59960 /* Override any gcc2 internal prototype to avoid an error. */
59961 #ifdef __cplusplus
59962 extern "C"
59964 #endif
59965 /* We use char because int might match the return type of a gcc2
59966 builtin and then its argument prototype would still apply. */
59967 char $ac_func ();
59968 /* The GNU C library defines this for functions which it implements
59969 to always fail with ENOSYS. Some functions are actually named
59970 something starting with __ and the normal name is an alias. */
59971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
59972 choke me
59973 #else
59974 char (*f) () = $ac_func;
59975 #endif
59976 #ifdef __cplusplus
59978 #endif
59981 main ()
59983 return f != $ac_func;
59985 return 0;
59987 _ACEOF
59988 rm -f conftest.$ac_objext conftest$ac_exeext
59989 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
59990 (eval $ac_link) 2>conftest.er1
59991 ac_status=$?
59992 grep -v '^ *+' conftest.er1 >conftest.err
59993 rm -f conftest.er1
59994 cat conftest.err >&5
59995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
59996 (exit $ac_status); } &&
59997 { ac_try='test -z "$ac_c_werror_flag"
59998 || test ! -s conftest.err'
59999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60000 (eval $ac_try) 2>&5
60001 ac_status=$?
60002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60003 (exit $ac_status); }; } &&
60004 { ac_try='test -s conftest$ac_exeext'
60005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60006 (eval $ac_try) 2>&5
60007 ac_status=$?
60008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60009 (exit $ac_status); }; }; then
60010 eval "$as_ac_var=yes"
60011 else
60012 echo "$as_me: failed program was:" >&5
60013 sed 's/^/| /' conftest.$ac_ext >&5
60015 eval "$as_ac_var=no"
60017 rm -f conftest.err conftest.$ac_objext \
60018 conftest$ac_exeext conftest.$ac_ext
60020 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60021 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60022 if test `eval echo '${'$as_ac_var'}'` = yes; then
60023 cat >>confdefs.h <<_ACEOF
60024 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60025 _ACEOF
60028 done
60038 echo "$as_me:$LINENO: checking for isnan declaration" >&5
60039 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
60040 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60041 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
60042 echo $ECHO_N "(cached) $ECHO_C" >&6
60043 else
60047 ac_ext=cc
60048 ac_cpp='$CXXCPP $CPPFLAGS'
60049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60053 cat >conftest.$ac_ext <<_ACEOF
60054 /* confdefs.h. */
60055 _ACEOF
60056 cat confdefs.h >>conftest.$ac_ext
60057 cat >>conftest.$ac_ext <<_ACEOF
60058 /* end confdefs.h. */
60059 #include <math.h>
60060 #ifdef HAVE_IEEEFP_H
60061 #include <ieeefp.h>
60062 #endif
60065 main ()
60067 isnan(0);
60069 return 0;
60071 _ACEOF
60072 rm -f conftest.$ac_objext
60073 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60074 (eval $ac_compile) 2>conftest.er1
60075 ac_status=$?
60076 grep -v '^ *+' conftest.er1 >conftest.err
60077 rm -f conftest.er1
60078 cat conftest.err >&5
60079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60080 (exit $ac_status); } &&
60081 { ac_try='test -z "$ac_cxx_werror_flag"
60082 || test ! -s conftest.err'
60083 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60084 (eval $ac_try) 2>&5
60085 ac_status=$?
60086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60087 (exit $ac_status); }; } &&
60088 { ac_try='test -s conftest.$ac_objext'
60089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60090 (eval $ac_try) 2>&5
60091 ac_status=$?
60092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60093 (exit $ac_status); }; }; then
60094 glibcxx_cv_func_isnan_use=yes
60095 else
60096 echo "$as_me: failed program was:" >&5
60097 sed 's/^/| /' conftest.$ac_ext >&5
60099 glibcxx_cv_func_isnan_use=no
60101 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60102 ac_ext=c
60103 ac_cpp='$CPP $CPPFLAGS'
60104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
60113 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
60115 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60117 for ac_func in isnan
60119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60120 echo "$as_me:$LINENO: checking for $ac_func" >&5
60121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60122 if eval "test \"\${$as_ac_var+set}\" = set"; then
60123 echo $ECHO_N "(cached) $ECHO_C" >&6
60124 else
60125 if test x$gcc_no_link = xyes; then
60126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60128 { (exit 1); exit 1; }; }
60130 cat >conftest.$ac_ext <<_ACEOF
60131 /* confdefs.h. */
60132 _ACEOF
60133 cat confdefs.h >>conftest.$ac_ext
60134 cat >>conftest.$ac_ext <<_ACEOF
60135 /* end confdefs.h. */
60136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60138 #define $ac_func innocuous_$ac_func
60140 /* System header to define __stub macros and hopefully few prototypes,
60141 which can conflict with char $ac_func (); below.
60142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60143 <limits.h> exists even on freestanding compilers. */
60145 #ifdef __STDC__
60146 # include <limits.h>
60147 #else
60148 # include <assert.h>
60149 #endif
60151 #undef $ac_func
60153 /* Override any gcc2 internal prototype to avoid an error. */
60154 #ifdef __cplusplus
60155 extern "C"
60157 #endif
60158 /* We use char because int might match the return type of a gcc2
60159 builtin and then its argument prototype would still apply. */
60160 char $ac_func ();
60161 /* The GNU C library defines this for functions which it implements
60162 to always fail with ENOSYS. Some functions are actually named
60163 something starting with __ and the normal name is an alias. */
60164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60165 choke me
60166 #else
60167 char (*f) () = $ac_func;
60168 #endif
60169 #ifdef __cplusplus
60171 #endif
60174 main ()
60176 return f != $ac_func;
60178 return 0;
60180 _ACEOF
60181 rm -f conftest.$ac_objext conftest$ac_exeext
60182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60183 (eval $ac_link) 2>conftest.er1
60184 ac_status=$?
60185 grep -v '^ *+' conftest.er1 >conftest.err
60186 rm -f conftest.er1
60187 cat conftest.err >&5
60188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60189 (exit $ac_status); } &&
60190 { ac_try='test -z "$ac_c_werror_flag"
60191 || test ! -s conftest.err'
60192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60193 (eval $ac_try) 2>&5
60194 ac_status=$?
60195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60196 (exit $ac_status); }; } &&
60197 { ac_try='test -s conftest$ac_exeext'
60198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60199 (eval $ac_try) 2>&5
60200 ac_status=$?
60201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60202 (exit $ac_status); }; }; then
60203 eval "$as_ac_var=yes"
60204 else
60205 echo "$as_me: failed program was:" >&5
60206 sed 's/^/| /' conftest.$ac_ext >&5
60208 eval "$as_ac_var=no"
60210 rm -f conftest.err conftest.$ac_objext \
60211 conftest$ac_exeext conftest.$ac_ext
60213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60215 if test `eval echo '${'$as_ac_var'}'` = yes; then
60216 cat >>confdefs.h <<_ACEOF
60217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60218 _ACEOF
60221 done
60223 else
60225 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
60226 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
60227 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60228 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
60229 echo $ECHO_N "(cached) $ECHO_C" >&6
60230 else
60234 ac_ext=cc
60235 ac_cpp='$CXXCPP $CPPFLAGS'
60236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60240 cat >conftest.$ac_ext <<_ACEOF
60241 /* confdefs.h. */
60242 _ACEOF
60243 cat confdefs.h >>conftest.$ac_ext
60244 cat >>conftest.$ac_ext <<_ACEOF
60245 /* end confdefs.h. */
60246 #include <math.h>
60247 #ifdef HAVE_IEEEFP_H
60248 #include <ieeefp.h>
60249 #endif
60252 main ()
60254 _isnan(0);
60256 return 0;
60258 _ACEOF
60259 rm -f conftest.$ac_objext
60260 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60261 (eval $ac_compile) 2>conftest.er1
60262 ac_status=$?
60263 grep -v '^ *+' conftest.er1 >conftest.err
60264 rm -f conftest.er1
60265 cat conftest.err >&5
60266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60267 (exit $ac_status); } &&
60268 { ac_try='test -z "$ac_cxx_werror_flag"
60269 || test ! -s conftest.err'
60270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60271 (eval $ac_try) 2>&5
60272 ac_status=$?
60273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60274 (exit $ac_status); }; } &&
60275 { ac_try='test -s conftest.$ac_objext'
60276 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60277 (eval $ac_try) 2>&5
60278 ac_status=$?
60279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60280 (exit $ac_status); }; }; then
60281 glibcxx_cv_func__isnan_use=yes
60282 else
60283 echo "$as_me: failed program was:" >&5
60284 sed 's/^/| /' conftest.$ac_ext >&5
60286 glibcxx_cv_func__isnan_use=no
60288 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60289 ac_ext=c
60290 ac_cpp='$CPP $CPPFLAGS'
60291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60299 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
60300 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
60302 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60304 for ac_func in _isnan
60306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60307 echo "$as_me:$LINENO: checking for $ac_func" >&5
60308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60309 if eval "test \"\${$as_ac_var+set}\" = set"; then
60310 echo $ECHO_N "(cached) $ECHO_C" >&6
60311 else
60312 if test x$gcc_no_link = xyes; then
60313 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60314 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60315 { (exit 1); exit 1; }; }
60317 cat >conftest.$ac_ext <<_ACEOF
60318 /* confdefs.h. */
60319 _ACEOF
60320 cat confdefs.h >>conftest.$ac_ext
60321 cat >>conftest.$ac_ext <<_ACEOF
60322 /* end confdefs.h. */
60323 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60324 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60325 #define $ac_func innocuous_$ac_func
60327 /* System header to define __stub macros and hopefully few prototypes,
60328 which can conflict with char $ac_func (); below.
60329 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60330 <limits.h> exists even on freestanding compilers. */
60332 #ifdef __STDC__
60333 # include <limits.h>
60334 #else
60335 # include <assert.h>
60336 #endif
60338 #undef $ac_func
60340 /* Override any gcc2 internal prototype to avoid an error. */
60341 #ifdef __cplusplus
60342 extern "C"
60344 #endif
60345 /* We use char because int might match the return type of a gcc2
60346 builtin and then its argument prototype would still apply. */
60347 char $ac_func ();
60348 /* The GNU C library defines this for functions which it implements
60349 to always fail with ENOSYS. Some functions are actually named
60350 something starting with __ and the normal name is an alias. */
60351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60352 choke me
60353 #else
60354 char (*f) () = $ac_func;
60355 #endif
60356 #ifdef __cplusplus
60358 #endif
60361 main ()
60363 return f != $ac_func;
60365 return 0;
60367 _ACEOF
60368 rm -f conftest.$ac_objext conftest$ac_exeext
60369 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60370 (eval $ac_link) 2>conftest.er1
60371 ac_status=$?
60372 grep -v '^ *+' conftest.er1 >conftest.err
60373 rm -f conftest.er1
60374 cat conftest.err >&5
60375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60376 (exit $ac_status); } &&
60377 { ac_try='test -z "$ac_c_werror_flag"
60378 || test ! -s conftest.err'
60379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60380 (eval $ac_try) 2>&5
60381 ac_status=$?
60382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60383 (exit $ac_status); }; } &&
60384 { ac_try='test -s conftest$ac_exeext'
60385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60386 (eval $ac_try) 2>&5
60387 ac_status=$?
60388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60389 (exit $ac_status); }; }; then
60390 eval "$as_ac_var=yes"
60391 else
60392 echo "$as_me: failed program was:" >&5
60393 sed 's/^/| /' conftest.$ac_ext >&5
60395 eval "$as_ac_var=no"
60397 rm -f conftest.err conftest.$ac_objext \
60398 conftest$ac_exeext conftest.$ac_ext
60400 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60401 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60402 if test `eval echo '${'$as_ac_var'}'` = yes; then
60403 cat >>confdefs.h <<_ACEOF
60404 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60405 _ACEOF
60408 done
60418 echo "$as_me:$LINENO: checking for finite declaration" >&5
60419 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
60420 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60421 if test "${glibcxx_cv_func_finite_use+set}" = set; then
60422 echo $ECHO_N "(cached) $ECHO_C" >&6
60423 else
60427 ac_ext=cc
60428 ac_cpp='$CXXCPP $CPPFLAGS'
60429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60433 cat >conftest.$ac_ext <<_ACEOF
60434 /* confdefs.h. */
60435 _ACEOF
60436 cat confdefs.h >>conftest.$ac_ext
60437 cat >>conftest.$ac_ext <<_ACEOF
60438 /* end confdefs.h. */
60439 #include <math.h>
60440 #ifdef HAVE_IEEEFP_H
60441 #include <ieeefp.h>
60442 #endif
60445 main ()
60447 finite(0);
60449 return 0;
60451 _ACEOF
60452 rm -f conftest.$ac_objext
60453 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60454 (eval $ac_compile) 2>conftest.er1
60455 ac_status=$?
60456 grep -v '^ *+' conftest.er1 >conftest.err
60457 rm -f conftest.er1
60458 cat conftest.err >&5
60459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60460 (exit $ac_status); } &&
60461 { ac_try='test -z "$ac_cxx_werror_flag"
60462 || test ! -s conftest.err'
60463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60464 (eval $ac_try) 2>&5
60465 ac_status=$?
60466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60467 (exit $ac_status); }; } &&
60468 { ac_try='test -s conftest.$ac_objext'
60469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60470 (eval $ac_try) 2>&5
60471 ac_status=$?
60472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60473 (exit $ac_status); }; }; then
60474 glibcxx_cv_func_finite_use=yes
60475 else
60476 echo "$as_me: failed program was:" >&5
60477 sed 's/^/| /' conftest.$ac_ext >&5
60479 glibcxx_cv_func_finite_use=no
60481 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60482 ac_ext=c
60483 ac_cpp='$CPP $CPPFLAGS'
60484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60492 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
60493 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
60495 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60497 for ac_func in finite
60499 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60500 echo "$as_me:$LINENO: checking for $ac_func" >&5
60501 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60502 if eval "test \"\${$as_ac_var+set}\" = set"; then
60503 echo $ECHO_N "(cached) $ECHO_C" >&6
60504 else
60505 if test x$gcc_no_link = xyes; then
60506 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60507 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60508 { (exit 1); exit 1; }; }
60510 cat >conftest.$ac_ext <<_ACEOF
60511 /* confdefs.h. */
60512 _ACEOF
60513 cat confdefs.h >>conftest.$ac_ext
60514 cat >>conftest.$ac_ext <<_ACEOF
60515 /* end confdefs.h. */
60516 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60517 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60518 #define $ac_func innocuous_$ac_func
60520 /* System header to define __stub macros and hopefully few prototypes,
60521 which can conflict with char $ac_func (); below.
60522 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60523 <limits.h> exists even on freestanding compilers. */
60525 #ifdef __STDC__
60526 # include <limits.h>
60527 #else
60528 # include <assert.h>
60529 #endif
60531 #undef $ac_func
60533 /* Override any gcc2 internal prototype to avoid an error. */
60534 #ifdef __cplusplus
60535 extern "C"
60537 #endif
60538 /* We use char because int might match the return type of a gcc2
60539 builtin and then its argument prototype would still apply. */
60540 char $ac_func ();
60541 /* The GNU C library defines this for functions which it implements
60542 to always fail with ENOSYS. Some functions are actually named
60543 something starting with __ and the normal name is an alias. */
60544 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60545 choke me
60546 #else
60547 char (*f) () = $ac_func;
60548 #endif
60549 #ifdef __cplusplus
60551 #endif
60554 main ()
60556 return f != $ac_func;
60558 return 0;
60560 _ACEOF
60561 rm -f conftest.$ac_objext conftest$ac_exeext
60562 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60563 (eval $ac_link) 2>conftest.er1
60564 ac_status=$?
60565 grep -v '^ *+' conftest.er1 >conftest.err
60566 rm -f conftest.er1
60567 cat conftest.err >&5
60568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60569 (exit $ac_status); } &&
60570 { ac_try='test -z "$ac_c_werror_flag"
60571 || test ! -s conftest.err'
60572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60573 (eval $ac_try) 2>&5
60574 ac_status=$?
60575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60576 (exit $ac_status); }; } &&
60577 { ac_try='test -s conftest$ac_exeext'
60578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60579 (eval $ac_try) 2>&5
60580 ac_status=$?
60581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60582 (exit $ac_status); }; }; then
60583 eval "$as_ac_var=yes"
60584 else
60585 echo "$as_me: failed program was:" >&5
60586 sed 's/^/| /' conftest.$ac_ext >&5
60588 eval "$as_ac_var=no"
60590 rm -f conftest.err conftest.$ac_objext \
60591 conftest$ac_exeext conftest.$ac_ext
60593 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60594 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60595 if test `eval echo '${'$as_ac_var'}'` = yes; then
60596 cat >>confdefs.h <<_ACEOF
60597 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60598 _ACEOF
60601 done
60603 else
60605 echo "$as_me:$LINENO: checking for _finite declaration" >&5
60606 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
60607 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60608 if test "${glibcxx_cv_func__finite_use+set}" = set; then
60609 echo $ECHO_N "(cached) $ECHO_C" >&6
60610 else
60614 ac_ext=cc
60615 ac_cpp='$CXXCPP $CPPFLAGS'
60616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60620 cat >conftest.$ac_ext <<_ACEOF
60621 /* confdefs.h. */
60622 _ACEOF
60623 cat confdefs.h >>conftest.$ac_ext
60624 cat >>conftest.$ac_ext <<_ACEOF
60625 /* end confdefs.h. */
60626 #include <math.h>
60627 #ifdef HAVE_IEEEFP_H
60628 #include <ieeefp.h>
60629 #endif
60632 main ()
60634 _finite(0);
60636 return 0;
60638 _ACEOF
60639 rm -f conftest.$ac_objext
60640 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60641 (eval $ac_compile) 2>conftest.er1
60642 ac_status=$?
60643 grep -v '^ *+' conftest.er1 >conftest.err
60644 rm -f conftest.er1
60645 cat conftest.err >&5
60646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60647 (exit $ac_status); } &&
60648 { ac_try='test -z "$ac_cxx_werror_flag"
60649 || test ! -s conftest.err'
60650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60651 (eval $ac_try) 2>&5
60652 ac_status=$?
60653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60654 (exit $ac_status); }; } &&
60655 { ac_try='test -s conftest.$ac_objext'
60656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60657 (eval $ac_try) 2>&5
60658 ac_status=$?
60659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60660 (exit $ac_status); }; }; then
60661 glibcxx_cv_func__finite_use=yes
60662 else
60663 echo "$as_me: failed program was:" >&5
60664 sed 's/^/| /' conftest.$ac_ext >&5
60666 glibcxx_cv_func__finite_use=no
60668 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60669 ac_ext=c
60670 ac_cpp='$CPP $CPPFLAGS'
60671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60679 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
60680 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
60682 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60684 for ac_func in _finite
60686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60687 echo "$as_me:$LINENO: checking for $ac_func" >&5
60688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60689 if eval "test \"\${$as_ac_var+set}\" = set"; then
60690 echo $ECHO_N "(cached) $ECHO_C" >&6
60691 else
60692 if test x$gcc_no_link = xyes; then
60693 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60694 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60695 { (exit 1); exit 1; }; }
60697 cat >conftest.$ac_ext <<_ACEOF
60698 /* confdefs.h. */
60699 _ACEOF
60700 cat confdefs.h >>conftest.$ac_ext
60701 cat >>conftest.$ac_ext <<_ACEOF
60702 /* end confdefs.h. */
60703 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60704 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60705 #define $ac_func innocuous_$ac_func
60707 /* System header to define __stub macros and hopefully few prototypes,
60708 which can conflict with char $ac_func (); below.
60709 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60710 <limits.h> exists even on freestanding compilers. */
60712 #ifdef __STDC__
60713 # include <limits.h>
60714 #else
60715 # include <assert.h>
60716 #endif
60718 #undef $ac_func
60720 /* Override any gcc2 internal prototype to avoid an error. */
60721 #ifdef __cplusplus
60722 extern "C"
60724 #endif
60725 /* We use char because int might match the return type of a gcc2
60726 builtin and then its argument prototype would still apply. */
60727 char $ac_func ();
60728 /* The GNU C library defines this for functions which it implements
60729 to always fail with ENOSYS. Some functions are actually named
60730 something starting with __ and the normal name is an alias. */
60731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60732 choke me
60733 #else
60734 char (*f) () = $ac_func;
60735 #endif
60736 #ifdef __cplusplus
60738 #endif
60741 main ()
60743 return f != $ac_func;
60745 return 0;
60747 _ACEOF
60748 rm -f conftest.$ac_objext conftest$ac_exeext
60749 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60750 (eval $ac_link) 2>conftest.er1
60751 ac_status=$?
60752 grep -v '^ *+' conftest.er1 >conftest.err
60753 rm -f conftest.er1
60754 cat conftest.err >&5
60755 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60756 (exit $ac_status); } &&
60757 { ac_try='test -z "$ac_c_werror_flag"
60758 || test ! -s conftest.err'
60759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60760 (eval $ac_try) 2>&5
60761 ac_status=$?
60762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60763 (exit $ac_status); }; } &&
60764 { ac_try='test -s conftest$ac_exeext'
60765 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60766 (eval $ac_try) 2>&5
60767 ac_status=$?
60768 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60769 (exit $ac_status); }; }; then
60770 eval "$as_ac_var=yes"
60771 else
60772 echo "$as_me: failed program was:" >&5
60773 sed 's/^/| /' conftest.$ac_ext >&5
60775 eval "$as_ac_var=no"
60777 rm -f conftest.err conftest.$ac_objext \
60778 conftest$ac_exeext conftest.$ac_ext
60780 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60781 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60782 if test `eval echo '${'$as_ac_var'}'` = yes; then
60783 cat >>confdefs.h <<_ACEOF
60784 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60785 _ACEOF
60788 done
60798 echo "$as_me:$LINENO: checking for sincos declaration" >&5
60799 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
60800 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60801 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
60802 echo $ECHO_N "(cached) $ECHO_C" >&6
60803 else
60807 ac_ext=cc
60808 ac_cpp='$CXXCPP $CPPFLAGS'
60809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60813 cat >conftest.$ac_ext <<_ACEOF
60814 /* confdefs.h. */
60815 _ACEOF
60816 cat confdefs.h >>conftest.$ac_ext
60817 cat >>conftest.$ac_ext <<_ACEOF
60818 /* end confdefs.h. */
60819 #include <math.h>
60821 main ()
60823 sincos(0, 0, 0);
60825 return 0;
60827 _ACEOF
60828 rm -f conftest.$ac_objext
60829 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
60830 (eval $ac_compile) 2>conftest.er1
60831 ac_status=$?
60832 grep -v '^ *+' conftest.er1 >conftest.err
60833 rm -f conftest.er1
60834 cat conftest.err >&5
60835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60836 (exit $ac_status); } &&
60837 { ac_try='test -z "$ac_cxx_werror_flag"
60838 || test ! -s conftest.err'
60839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60840 (eval $ac_try) 2>&5
60841 ac_status=$?
60842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60843 (exit $ac_status); }; } &&
60844 { ac_try='test -s conftest.$ac_objext'
60845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60846 (eval $ac_try) 2>&5
60847 ac_status=$?
60848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60849 (exit $ac_status); }; }; then
60850 glibcxx_cv_func_sincos_use=yes
60851 else
60852 echo "$as_me: failed program was:" >&5
60853 sed 's/^/| /' conftest.$ac_ext >&5
60855 glibcxx_cv_func_sincos_use=no
60857 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
60858 ac_ext=c
60859 ac_cpp='$CPP $CPPFLAGS'
60860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60868 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
60869 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
60871 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60873 for ac_func in sincos
60875 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
60876 echo "$as_me:$LINENO: checking for $ac_func" >&5
60877 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
60878 if eval "test \"\${$as_ac_var+set}\" = set"; then
60879 echo $ECHO_N "(cached) $ECHO_C" >&6
60880 else
60881 if test x$gcc_no_link = xyes; then
60882 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
60883 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
60884 { (exit 1); exit 1; }; }
60886 cat >conftest.$ac_ext <<_ACEOF
60887 /* confdefs.h. */
60888 _ACEOF
60889 cat confdefs.h >>conftest.$ac_ext
60890 cat >>conftest.$ac_ext <<_ACEOF
60891 /* end confdefs.h. */
60892 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
60893 For example, HP-UX 11i <limits.h> declares gettimeofday. */
60894 #define $ac_func innocuous_$ac_func
60896 /* System header to define __stub macros and hopefully few prototypes,
60897 which can conflict with char $ac_func (); below.
60898 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
60899 <limits.h> exists even on freestanding compilers. */
60901 #ifdef __STDC__
60902 # include <limits.h>
60903 #else
60904 # include <assert.h>
60905 #endif
60907 #undef $ac_func
60909 /* Override any gcc2 internal prototype to avoid an error. */
60910 #ifdef __cplusplus
60911 extern "C"
60913 #endif
60914 /* We use char because int might match the return type of a gcc2
60915 builtin and then its argument prototype would still apply. */
60916 char $ac_func ();
60917 /* The GNU C library defines this for functions which it implements
60918 to always fail with ENOSYS. Some functions are actually named
60919 something starting with __ and the normal name is an alias. */
60920 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
60921 choke me
60922 #else
60923 char (*f) () = $ac_func;
60924 #endif
60925 #ifdef __cplusplus
60927 #endif
60930 main ()
60932 return f != $ac_func;
60934 return 0;
60936 _ACEOF
60937 rm -f conftest.$ac_objext conftest$ac_exeext
60938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
60939 (eval $ac_link) 2>conftest.er1
60940 ac_status=$?
60941 grep -v '^ *+' conftest.er1 >conftest.err
60942 rm -f conftest.er1
60943 cat conftest.err >&5
60944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60945 (exit $ac_status); } &&
60946 { ac_try='test -z "$ac_c_werror_flag"
60947 || test ! -s conftest.err'
60948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60949 (eval $ac_try) 2>&5
60950 ac_status=$?
60951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60952 (exit $ac_status); }; } &&
60953 { ac_try='test -s conftest$ac_exeext'
60954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
60955 (eval $ac_try) 2>&5
60956 ac_status=$?
60957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
60958 (exit $ac_status); }; }; then
60959 eval "$as_ac_var=yes"
60960 else
60961 echo "$as_me: failed program was:" >&5
60962 sed 's/^/| /' conftest.$ac_ext >&5
60964 eval "$as_ac_var=no"
60966 rm -f conftest.err conftest.$ac_objext \
60967 conftest$ac_exeext conftest.$ac_ext
60969 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
60970 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
60971 if test `eval echo '${'$as_ac_var'}'` = yes; then
60972 cat >>confdefs.h <<_ACEOF
60973 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
60974 _ACEOF
60977 done
60979 else
60981 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
60982 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
60983 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60984 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
60985 echo $ECHO_N "(cached) $ECHO_C" >&6
60986 else
60990 ac_ext=cc
60991 ac_cpp='$CXXCPP $CPPFLAGS'
60992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60996 cat >conftest.$ac_ext <<_ACEOF
60997 /* confdefs.h. */
60998 _ACEOF
60999 cat confdefs.h >>conftest.$ac_ext
61000 cat >>conftest.$ac_ext <<_ACEOF
61001 /* end confdefs.h. */
61002 #include <math.h>
61004 main ()
61006 _sincos(0, 0, 0);
61008 return 0;
61010 _ACEOF
61011 rm -f conftest.$ac_objext
61012 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61013 (eval $ac_compile) 2>conftest.er1
61014 ac_status=$?
61015 grep -v '^ *+' conftest.er1 >conftest.err
61016 rm -f conftest.er1
61017 cat conftest.err >&5
61018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61019 (exit $ac_status); } &&
61020 { ac_try='test -z "$ac_cxx_werror_flag"
61021 || test ! -s conftest.err'
61022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61023 (eval $ac_try) 2>&5
61024 ac_status=$?
61025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61026 (exit $ac_status); }; } &&
61027 { ac_try='test -s conftest.$ac_objext'
61028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61029 (eval $ac_try) 2>&5
61030 ac_status=$?
61031 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61032 (exit $ac_status); }; }; then
61033 glibcxx_cv_func__sincos_use=yes
61034 else
61035 echo "$as_me: failed program was:" >&5
61036 sed 's/^/| /' conftest.$ac_ext >&5
61038 glibcxx_cv_func__sincos_use=no
61040 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61041 ac_ext=c
61042 ac_cpp='$CPP $CPPFLAGS'
61043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61051 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
61052 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
61054 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61056 for ac_func in _sincos
61058 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61059 echo "$as_me:$LINENO: checking for $ac_func" >&5
61060 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61061 if eval "test \"\${$as_ac_var+set}\" = set"; then
61062 echo $ECHO_N "(cached) $ECHO_C" >&6
61063 else
61064 if test x$gcc_no_link = xyes; then
61065 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61066 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61067 { (exit 1); exit 1; }; }
61069 cat >conftest.$ac_ext <<_ACEOF
61070 /* confdefs.h. */
61071 _ACEOF
61072 cat confdefs.h >>conftest.$ac_ext
61073 cat >>conftest.$ac_ext <<_ACEOF
61074 /* end confdefs.h. */
61075 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61076 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61077 #define $ac_func innocuous_$ac_func
61079 /* System header to define __stub macros and hopefully few prototypes,
61080 which can conflict with char $ac_func (); below.
61081 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61082 <limits.h> exists even on freestanding compilers. */
61084 #ifdef __STDC__
61085 # include <limits.h>
61086 #else
61087 # include <assert.h>
61088 #endif
61090 #undef $ac_func
61092 /* Override any gcc2 internal prototype to avoid an error. */
61093 #ifdef __cplusplus
61094 extern "C"
61096 #endif
61097 /* We use char because int might match the return type of a gcc2
61098 builtin and then its argument prototype would still apply. */
61099 char $ac_func ();
61100 /* The GNU C library defines this for functions which it implements
61101 to always fail with ENOSYS. Some functions are actually named
61102 something starting with __ and the normal name is an alias. */
61103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61104 choke me
61105 #else
61106 char (*f) () = $ac_func;
61107 #endif
61108 #ifdef __cplusplus
61110 #endif
61113 main ()
61115 return f != $ac_func;
61117 return 0;
61119 _ACEOF
61120 rm -f conftest.$ac_objext conftest$ac_exeext
61121 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61122 (eval $ac_link) 2>conftest.er1
61123 ac_status=$?
61124 grep -v '^ *+' conftest.er1 >conftest.err
61125 rm -f conftest.er1
61126 cat conftest.err >&5
61127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61128 (exit $ac_status); } &&
61129 { ac_try='test -z "$ac_c_werror_flag"
61130 || test ! -s conftest.err'
61131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61132 (eval $ac_try) 2>&5
61133 ac_status=$?
61134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61135 (exit $ac_status); }; } &&
61136 { ac_try='test -s conftest$ac_exeext'
61137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61138 (eval $ac_try) 2>&5
61139 ac_status=$?
61140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61141 (exit $ac_status); }; }; then
61142 eval "$as_ac_var=yes"
61143 else
61144 echo "$as_me: failed program was:" >&5
61145 sed 's/^/| /' conftest.$ac_ext >&5
61147 eval "$as_ac_var=no"
61149 rm -f conftest.err conftest.$ac_objext \
61150 conftest$ac_exeext conftest.$ac_ext
61152 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61153 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61154 if test `eval echo '${'$as_ac_var'}'` = yes; then
61155 cat >>confdefs.h <<_ACEOF
61156 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61157 _ACEOF
61160 done
61170 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
61171 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
61172 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61173 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
61174 echo $ECHO_N "(cached) $ECHO_C" >&6
61175 else
61179 ac_ext=cc
61180 ac_cpp='$CXXCPP $CPPFLAGS'
61181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61185 cat >conftest.$ac_ext <<_ACEOF
61186 /* confdefs.h. */
61187 _ACEOF
61188 cat confdefs.h >>conftest.$ac_ext
61189 cat >>conftest.$ac_ext <<_ACEOF
61190 /* end confdefs.h. */
61191 #include <math.h>
61192 #ifdef HAVE_IEEEFP_H
61193 #include <ieeefp.h>
61194 #endif
61197 main ()
61199 fpclass(0);
61201 return 0;
61203 _ACEOF
61204 rm -f conftest.$ac_objext
61205 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61206 (eval $ac_compile) 2>conftest.er1
61207 ac_status=$?
61208 grep -v '^ *+' conftest.er1 >conftest.err
61209 rm -f conftest.er1
61210 cat conftest.err >&5
61211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61212 (exit $ac_status); } &&
61213 { ac_try='test -z "$ac_cxx_werror_flag"
61214 || test ! -s conftest.err'
61215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61216 (eval $ac_try) 2>&5
61217 ac_status=$?
61218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61219 (exit $ac_status); }; } &&
61220 { ac_try='test -s conftest.$ac_objext'
61221 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61222 (eval $ac_try) 2>&5
61223 ac_status=$?
61224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61225 (exit $ac_status); }; }; then
61226 glibcxx_cv_func_fpclass_use=yes
61227 else
61228 echo "$as_me: failed program was:" >&5
61229 sed 's/^/| /' conftest.$ac_ext >&5
61231 glibcxx_cv_func_fpclass_use=no
61233 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61234 ac_ext=c
61235 ac_cpp='$CPP $CPPFLAGS'
61236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61244 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
61245 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
61247 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61249 for ac_func in fpclass
61251 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61252 echo "$as_me:$LINENO: checking for $ac_func" >&5
61253 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61254 if eval "test \"\${$as_ac_var+set}\" = set"; then
61255 echo $ECHO_N "(cached) $ECHO_C" >&6
61256 else
61257 if test x$gcc_no_link = xyes; then
61258 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61259 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61260 { (exit 1); exit 1; }; }
61262 cat >conftest.$ac_ext <<_ACEOF
61263 /* confdefs.h. */
61264 _ACEOF
61265 cat confdefs.h >>conftest.$ac_ext
61266 cat >>conftest.$ac_ext <<_ACEOF
61267 /* end confdefs.h. */
61268 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61269 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61270 #define $ac_func innocuous_$ac_func
61272 /* System header to define __stub macros and hopefully few prototypes,
61273 which can conflict with char $ac_func (); below.
61274 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61275 <limits.h> exists even on freestanding compilers. */
61277 #ifdef __STDC__
61278 # include <limits.h>
61279 #else
61280 # include <assert.h>
61281 #endif
61283 #undef $ac_func
61285 /* Override any gcc2 internal prototype to avoid an error. */
61286 #ifdef __cplusplus
61287 extern "C"
61289 #endif
61290 /* We use char because int might match the return type of a gcc2
61291 builtin and then its argument prototype would still apply. */
61292 char $ac_func ();
61293 /* The GNU C library defines this for functions which it implements
61294 to always fail with ENOSYS. Some functions are actually named
61295 something starting with __ and the normal name is an alias. */
61296 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61297 choke me
61298 #else
61299 char (*f) () = $ac_func;
61300 #endif
61301 #ifdef __cplusplus
61303 #endif
61306 main ()
61308 return f != $ac_func;
61310 return 0;
61312 _ACEOF
61313 rm -f conftest.$ac_objext conftest$ac_exeext
61314 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61315 (eval $ac_link) 2>conftest.er1
61316 ac_status=$?
61317 grep -v '^ *+' conftest.er1 >conftest.err
61318 rm -f conftest.er1
61319 cat conftest.err >&5
61320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61321 (exit $ac_status); } &&
61322 { ac_try='test -z "$ac_c_werror_flag"
61323 || test ! -s conftest.err'
61324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61325 (eval $ac_try) 2>&5
61326 ac_status=$?
61327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61328 (exit $ac_status); }; } &&
61329 { ac_try='test -s conftest$ac_exeext'
61330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61331 (eval $ac_try) 2>&5
61332 ac_status=$?
61333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61334 (exit $ac_status); }; }; then
61335 eval "$as_ac_var=yes"
61336 else
61337 echo "$as_me: failed program was:" >&5
61338 sed 's/^/| /' conftest.$ac_ext >&5
61340 eval "$as_ac_var=no"
61342 rm -f conftest.err conftest.$ac_objext \
61343 conftest$ac_exeext conftest.$ac_ext
61345 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61346 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61347 if test `eval echo '${'$as_ac_var'}'` = yes; then
61348 cat >>confdefs.h <<_ACEOF
61349 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61350 _ACEOF
61353 done
61355 else
61357 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
61358 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
61359 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61360 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
61361 echo $ECHO_N "(cached) $ECHO_C" >&6
61362 else
61366 ac_ext=cc
61367 ac_cpp='$CXXCPP $CPPFLAGS'
61368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61372 cat >conftest.$ac_ext <<_ACEOF
61373 /* confdefs.h. */
61374 _ACEOF
61375 cat confdefs.h >>conftest.$ac_ext
61376 cat >>conftest.$ac_ext <<_ACEOF
61377 /* end confdefs.h. */
61378 #include <math.h>
61379 #ifdef HAVE_IEEEFP_H
61380 #include <ieeefp.h>
61381 #endif
61384 main ()
61386 _fpclass(0);
61388 return 0;
61390 _ACEOF
61391 rm -f conftest.$ac_objext
61392 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61393 (eval $ac_compile) 2>conftest.er1
61394 ac_status=$?
61395 grep -v '^ *+' conftest.er1 >conftest.err
61396 rm -f conftest.er1
61397 cat conftest.err >&5
61398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61399 (exit $ac_status); } &&
61400 { ac_try='test -z "$ac_cxx_werror_flag"
61401 || test ! -s conftest.err'
61402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61403 (eval $ac_try) 2>&5
61404 ac_status=$?
61405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61406 (exit $ac_status); }; } &&
61407 { ac_try='test -s conftest.$ac_objext'
61408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61409 (eval $ac_try) 2>&5
61410 ac_status=$?
61411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61412 (exit $ac_status); }; }; then
61413 glibcxx_cv_func__fpclass_use=yes
61414 else
61415 echo "$as_me: failed program was:" >&5
61416 sed 's/^/| /' conftest.$ac_ext >&5
61418 glibcxx_cv_func__fpclass_use=no
61420 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61421 ac_ext=c
61422 ac_cpp='$CPP $CPPFLAGS'
61423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61431 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
61432 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
61434 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61436 for ac_func in _fpclass
61438 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61439 echo "$as_me:$LINENO: checking for $ac_func" >&5
61440 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61441 if eval "test \"\${$as_ac_var+set}\" = set"; then
61442 echo $ECHO_N "(cached) $ECHO_C" >&6
61443 else
61444 if test x$gcc_no_link = xyes; then
61445 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61446 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61447 { (exit 1); exit 1; }; }
61449 cat >conftest.$ac_ext <<_ACEOF
61450 /* confdefs.h. */
61451 _ACEOF
61452 cat confdefs.h >>conftest.$ac_ext
61453 cat >>conftest.$ac_ext <<_ACEOF
61454 /* end confdefs.h. */
61455 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61456 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61457 #define $ac_func innocuous_$ac_func
61459 /* System header to define __stub macros and hopefully few prototypes,
61460 which can conflict with char $ac_func (); below.
61461 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61462 <limits.h> exists even on freestanding compilers. */
61464 #ifdef __STDC__
61465 # include <limits.h>
61466 #else
61467 # include <assert.h>
61468 #endif
61470 #undef $ac_func
61472 /* Override any gcc2 internal prototype to avoid an error. */
61473 #ifdef __cplusplus
61474 extern "C"
61476 #endif
61477 /* We use char because int might match the return type of a gcc2
61478 builtin and then its argument prototype would still apply. */
61479 char $ac_func ();
61480 /* The GNU C library defines this for functions which it implements
61481 to always fail with ENOSYS. Some functions are actually named
61482 something starting with __ and the normal name is an alias. */
61483 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61484 choke me
61485 #else
61486 char (*f) () = $ac_func;
61487 #endif
61488 #ifdef __cplusplus
61490 #endif
61493 main ()
61495 return f != $ac_func;
61497 return 0;
61499 _ACEOF
61500 rm -f conftest.$ac_objext conftest$ac_exeext
61501 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61502 (eval $ac_link) 2>conftest.er1
61503 ac_status=$?
61504 grep -v '^ *+' conftest.er1 >conftest.err
61505 rm -f conftest.er1
61506 cat conftest.err >&5
61507 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61508 (exit $ac_status); } &&
61509 { ac_try='test -z "$ac_c_werror_flag"
61510 || test ! -s conftest.err'
61511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61512 (eval $ac_try) 2>&5
61513 ac_status=$?
61514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61515 (exit $ac_status); }; } &&
61516 { ac_try='test -s conftest$ac_exeext'
61517 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61518 (eval $ac_try) 2>&5
61519 ac_status=$?
61520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61521 (exit $ac_status); }; }; then
61522 eval "$as_ac_var=yes"
61523 else
61524 echo "$as_me: failed program was:" >&5
61525 sed 's/^/| /' conftest.$ac_ext >&5
61527 eval "$as_ac_var=no"
61529 rm -f conftest.err conftest.$ac_objext \
61530 conftest$ac_exeext conftest.$ac_ext
61532 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61533 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61534 if test `eval echo '${'$as_ac_var'}'` = yes; then
61535 cat >>confdefs.h <<_ACEOF
61536 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61537 _ACEOF
61540 done
61550 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
61551 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
61552 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61553 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
61554 echo $ECHO_N "(cached) $ECHO_C" >&6
61555 else
61559 ac_ext=cc
61560 ac_cpp='$CXXCPP $CPPFLAGS'
61561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61565 cat >conftest.$ac_ext <<_ACEOF
61566 /* confdefs.h. */
61567 _ACEOF
61568 cat confdefs.h >>conftest.$ac_ext
61569 cat >>conftest.$ac_ext <<_ACEOF
61570 /* end confdefs.h. */
61571 #include <math.h>
61572 #ifdef HAVE_IEEEFP_H
61573 #include <ieeefp.h>
61574 #endif
61577 main ()
61579 qfpclass(0);
61581 return 0;
61583 _ACEOF
61584 rm -f conftest.$ac_objext
61585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61586 (eval $ac_compile) 2>conftest.er1
61587 ac_status=$?
61588 grep -v '^ *+' conftest.er1 >conftest.err
61589 rm -f conftest.er1
61590 cat conftest.err >&5
61591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61592 (exit $ac_status); } &&
61593 { ac_try='test -z "$ac_cxx_werror_flag"
61594 || test ! -s conftest.err'
61595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61596 (eval $ac_try) 2>&5
61597 ac_status=$?
61598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61599 (exit $ac_status); }; } &&
61600 { ac_try='test -s conftest.$ac_objext'
61601 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61602 (eval $ac_try) 2>&5
61603 ac_status=$?
61604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61605 (exit $ac_status); }; }; then
61606 glibcxx_cv_func_qfpclass_use=yes
61607 else
61608 echo "$as_me: failed program was:" >&5
61609 sed 's/^/| /' conftest.$ac_ext >&5
61611 glibcxx_cv_func_qfpclass_use=no
61613 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61614 ac_ext=c
61615 ac_cpp='$CPP $CPPFLAGS'
61616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61624 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
61625 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
61627 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61629 for ac_func in qfpclass
61631 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61632 echo "$as_me:$LINENO: checking for $ac_func" >&5
61633 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61634 if eval "test \"\${$as_ac_var+set}\" = set"; then
61635 echo $ECHO_N "(cached) $ECHO_C" >&6
61636 else
61637 if test x$gcc_no_link = xyes; then
61638 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61639 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61640 { (exit 1); exit 1; }; }
61642 cat >conftest.$ac_ext <<_ACEOF
61643 /* confdefs.h. */
61644 _ACEOF
61645 cat confdefs.h >>conftest.$ac_ext
61646 cat >>conftest.$ac_ext <<_ACEOF
61647 /* end confdefs.h. */
61648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61650 #define $ac_func innocuous_$ac_func
61652 /* System header to define __stub macros and hopefully few prototypes,
61653 which can conflict with char $ac_func (); below.
61654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61655 <limits.h> exists even on freestanding compilers. */
61657 #ifdef __STDC__
61658 # include <limits.h>
61659 #else
61660 # include <assert.h>
61661 #endif
61663 #undef $ac_func
61665 /* Override any gcc2 internal prototype to avoid an error. */
61666 #ifdef __cplusplus
61667 extern "C"
61669 #endif
61670 /* We use char because int might match the return type of a gcc2
61671 builtin and then its argument prototype would still apply. */
61672 char $ac_func ();
61673 /* The GNU C library defines this for functions which it implements
61674 to always fail with ENOSYS. Some functions are actually named
61675 something starting with __ and the normal name is an alias. */
61676 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61677 choke me
61678 #else
61679 char (*f) () = $ac_func;
61680 #endif
61681 #ifdef __cplusplus
61683 #endif
61686 main ()
61688 return f != $ac_func;
61690 return 0;
61692 _ACEOF
61693 rm -f conftest.$ac_objext conftest$ac_exeext
61694 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61695 (eval $ac_link) 2>conftest.er1
61696 ac_status=$?
61697 grep -v '^ *+' conftest.er1 >conftest.err
61698 rm -f conftest.er1
61699 cat conftest.err >&5
61700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61701 (exit $ac_status); } &&
61702 { ac_try='test -z "$ac_c_werror_flag"
61703 || test ! -s conftest.err'
61704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61705 (eval $ac_try) 2>&5
61706 ac_status=$?
61707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61708 (exit $ac_status); }; } &&
61709 { ac_try='test -s conftest$ac_exeext'
61710 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61711 (eval $ac_try) 2>&5
61712 ac_status=$?
61713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61714 (exit $ac_status); }; }; then
61715 eval "$as_ac_var=yes"
61716 else
61717 echo "$as_me: failed program was:" >&5
61718 sed 's/^/| /' conftest.$ac_ext >&5
61720 eval "$as_ac_var=no"
61722 rm -f conftest.err conftest.$ac_objext \
61723 conftest$ac_exeext conftest.$ac_ext
61725 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61726 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61727 if test `eval echo '${'$as_ac_var'}'` = yes; then
61728 cat >>confdefs.h <<_ACEOF
61729 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61730 _ACEOF
61733 done
61735 else
61737 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
61738 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
61739 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61740 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
61741 echo $ECHO_N "(cached) $ECHO_C" >&6
61742 else
61746 ac_ext=cc
61747 ac_cpp='$CXXCPP $CPPFLAGS'
61748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61752 cat >conftest.$ac_ext <<_ACEOF
61753 /* confdefs.h. */
61754 _ACEOF
61755 cat confdefs.h >>conftest.$ac_ext
61756 cat >>conftest.$ac_ext <<_ACEOF
61757 /* end confdefs.h. */
61758 #include <math.h>
61759 #ifdef HAVE_IEEEFP_H
61760 #include <ieeefp.h>
61761 #endif
61764 main ()
61766 _qfpclass(0);
61768 return 0;
61770 _ACEOF
61771 rm -f conftest.$ac_objext
61772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61773 (eval $ac_compile) 2>conftest.er1
61774 ac_status=$?
61775 grep -v '^ *+' conftest.er1 >conftest.err
61776 rm -f conftest.er1
61777 cat conftest.err >&5
61778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61779 (exit $ac_status); } &&
61780 { ac_try='test -z "$ac_cxx_werror_flag"
61781 || test ! -s conftest.err'
61782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61783 (eval $ac_try) 2>&5
61784 ac_status=$?
61785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61786 (exit $ac_status); }; } &&
61787 { ac_try='test -s conftest.$ac_objext'
61788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61789 (eval $ac_try) 2>&5
61790 ac_status=$?
61791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61792 (exit $ac_status); }; }; then
61793 glibcxx_cv_func__qfpclass_use=yes
61794 else
61795 echo "$as_me: failed program was:" >&5
61796 sed 's/^/| /' conftest.$ac_ext >&5
61798 glibcxx_cv_func__qfpclass_use=no
61800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61801 ac_ext=c
61802 ac_cpp='$CPP $CPPFLAGS'
61803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61811 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
61812 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
61814 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61816 for ac_func in _qfpclass
61818 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
61819 echo "$as_me:$LINENO: checking for $ac_func" >&5
61820 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
61821 if eval "test \"\${$as_ac_var+set}\" = set"; then
61822 echo $ECHO_N "(cached) $ECHO_C" >&6
61823 else
61824 if test x$gcc_no_link = xyes; then
61825 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
61826 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
61827 { (exit 1); exit 1; }; }
61829 cat >conftest.$ac_ext <<_ACEOF
61830 /* confdefs.h. */
61831 _ACEOF
61832 cat confdefs.h >>conftest.$ac_ext
61833 cat >>conftest.$ac_ext <<_ACEOF
61834 /* end confdefs.h. */
61835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
61836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
61837 #define $ac_func innocuous_$ac_func
61839 /* System header to define __stub macros and hopefully few prototypes,
61840 which can conflict with char $ac_func (); below.
61841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
61842 <limits.h> exists even on freestanding compilers. */
61844 #ifdef __STDC__
61845 # include <limits.h>
61846 #else
61847 # include <assert.h>
61848 #endif
61850 #undef $ac_func
61852 /* Override any gcc2 internal prototype to avoid an error. */
61853 #ifdef __cplusplus
61854 extern "C"
61856 #endif
61857 /* We use char because int might match the return type of a gcc2
61858 builtin and then its argument prototype would still apply. */
61859 char $ac_func ();
61860 /* The GNU C library defines this for functions which it implements
61861 to always fail with ENOSYS. Some functions are actually named
61862 something starting with __ and the normal name is an alias. */
61863 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
61864 choke me
61865 #else
61866 char (*f) () = $ac_func;
61867 #endif
61868 #ifdef __cplusplus
61870 #endif
61873 main ()
61875 return f != $ac_func;
61877 return 0;
61879 _ACEOF
61880 rm -f conftest.$ac_objext conftest$ac_exeext
61881 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
61882 (eval $ac_link) 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_c_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_exeext'
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 eval "$as_ac_var=yes"
61903 else
61904 echo "$as_me: failed program was:" >&5
61905 sed 's/^/| /' conftest.$ac_ext >&5
61907 eval "$as_ac_var=no"
61909 rm -f conftest.err conftest.$ac_objext \
61910 conftest$ac_exeext conftest.$ac_ext
61912 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
61913 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
61914 if test `eval echo '${'$as_ac_var'}'` = yes; then
61915 cat >>confdefs.h <<_ACEOF
61916 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
61917 _ACEOF
61920 done
61930 echo "$as_me:$LINENO: checking for hypot declaration" >&5
61931 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
61932 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61933 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
61934 echo $ECHO_N "(cached) $ECHO_C" >&6
61935 else
61939 ac_ext=cc
61940 ac_cpp='$CXXCPP $CPPFLAGS'
61941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61945 cat >conftest.$ac_ext <<_ACEOF
61946 /* confdefs.h. */
61947 _ACEOF
61948 cat confdefs.h >>conftest.$ac_ext
61949 cat >>conftest.$ac_ext <<_ACEOF
61950 /* end confdefs.h. */
61951 #include <math.h>
61953 main ()
61955 hypot(0, 0);
61957 return 0;
61959 _ACEOF
61960 rm -f conftest.$ac_objext
61961 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
61962 (eval $ac_compile) 2>conftest.er1
61963 ac_status=$?
61964 grep -v '^ *+' conftest.er1 >conftest.err
61965 rm -f conftest.er1
61966 cat conftest.err >&5
61967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61968 (exit $ac_status); } &&
61969 { ac_try='test -z "$ac_cxx_werror_flag"
61970 || test ! -s conftest.err'
61971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61972 (eval $ac_try) 2>&5
61973 ac_status=$?
61974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61975 (exit $ac_status); }; } &&
61976 { ac_try='test -s conftest.$ac_objext'
61977 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
61978 (eval $ac_try) 2>&5
61979 ac_status=$?
61980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
61981 (exit $ac_status); }; }; then
61982 glibcxx_cv_func_hypot_use=yes
61983 else
61984 echo "$as_me: failed program was:" >&5
61985 sed 's/^/| /' conftest.$ac_ext >&5
61987 glibcxx_cv_func_hypot_use=no
61989 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
61990 ac_ext=c
61991 ac_cpp='$CPP $CPPFLAGS'
61992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62000 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
62001 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
62003 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
62005 for ac_func in hypot
62007 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62008 echo "$as_me:$LINENO: checking for $ac_func" >&5
62009 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62010 if eval "test \"\${$as_ac_var+set}\" = set"; then
62011 echo $ECHO_N "(cached) $ECHO_C" >&6
62012 else
62013 if test x$gcc_no_link = xyes; then
62014 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62015 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62016 { (exit 1); exit 1; }; }
62018 cat >conftest.$ac_ext <<_ACEOF
62019 /* confdefs.h. */
62020 _ACEOF
62021 cat confdefs.h >>conftest.$ac_ext
62022 cat >>conftest.$ac_ext <<_ACEOF
62023 /* end confdefs.h. */
62024 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62025 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62026 #define $ac_func innocuous_$ac_func
62028 /* System header to define __stub macros and hopefully few prototypes,
62029 which can conflict with char $ac_func (); below.
62030 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62031 <limits.h> exists even on freestanding compilers. */
62033 #ifdef __STDC__
62034 # include <limits.h>
62035 #else
62036 # include <assert.h>
62037 #endif
62039 #undef $ac_func
62041 /* Override any gcc2 internal prototype to avoid an error. */
62042 #ifdef __cplusplus
62043 extern "C"
62045 #endif
62046 /* We use char because int might match the return type of a gcc2
62047 builtin and then its argument prototype would still apply. */
62048 char $ac_func ();
62049 /* The GNU C library defines this for functions which it implements
62050 to always fail with ENOSYS. Some functions are actually named
62051 something starting with __ and the normal name is an alias. */
62052 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62053 choke me
62054 #else
62055 char (*f) () = $ac_func;
62056 #endif
62057 #ifdef __cplusplus
62059 #endif
62062 main ()
62064 return f != $ac_func;
62066 return 0;
62068 _ACEOF
62069 rm -f conftest.$ac_objext conftest$ac_exeext
62070 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62071 (eval $ac_link) 2>conftest.er1
62072 ac_status=$?
62073 grep -v '^ *+' conftest.er1 >conftest.err
62074 rm -f conftest.er1
62075 cat conftest.err >&5
62076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62077 (exit $ac_status); } &&
62078 { ac_try='test -z "$ac_c_werror_flag"
62079 || test ! -s conftest.err'
62080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62081 (eval $ac_try) 2>&5
62082 ac_status=$?
62083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62084 (exit $ac_status); }; } &&
62085 { ac_try='test -s conftest$ac_exeext'
62086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62087 (eval $ac_try) 2>&5
62088 ac_status=$?
62089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62090 (exit $ac_status); }; }; then
62091 eval "$as_ac_var=yes"
62092 else
62093 echo "$as_me: failed program was:" >&5
62094 sed 's/^/| /' conftest.$ac_ext >&5
62096 eval "$as_ac_var=no"
62098 rm -f conftest.err conftest.$ac_objext \
62099 conftest$ac_exeext conftest.$ac_ext
62101 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62102 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62103 if test `eval echo '${'$as_ac_var'}'` = yes; then
62104 cat >>confdefs.h <<_ACEOF
62105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62106 _ACEOF
62109 done
62111 else
62113 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
62114 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
62115 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
62116 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
62117 echo $ECHO_N "(cached) $ECHO_C" >&6
62118 else
62122 ac_ext=cc
62123 ac_cpp='$CXXCPP $CPPFLAGS'
62124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62128 cat >conftest.$ac_ext <<_ACEOF
62129 /* confdefs.h. */
62130 _ACEOF
62131 cat confdefs.h >>conftest.$ac_ext
62132 cat >>conftest.$ac_ext <<_ACEOF
62133 /* end confdefs.h. */
62134 #include <math.h>
62136 main ()
62138 _hypot(0, 0);
62140 return 0;
62142 _ACEOF
62143 rm -f conftest.$ac_objext
62144 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62145 (eval $ac_compile) 2>conftest.er1
62146 ac_status=$?
62147 grep -v '^ *+' conftest.er1 >conftest.err
62148 rm -f conftest.er1
62149 cat conftest.err >&5
62150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62151 (exit $ac_status); } &&
62152 { ac_try='test -z "$ac_cxx_werror_flag"
62153 || test ! -s conftest.err'
62154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62155 (eval $ac_try) 2>&5
62156 ac_status=$?
62157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62158 (exit $ac_status); }; } &&
62159 { ac_try='test -s conftest.$ac_objext'
62160 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62161 (eval $ac_try) 2>&5
62162 ac_status=$?
62163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62164 (exit $ac_status); }; }; then
62165 glibcxx_cv_func__hypot_use=yes
62166 else
62167 echo "$as_me: failed program was:" >&5
62168 sed 's/^/| /' conftest.$ac_ext >&5
62170 glibcxx_cv_func__hypot_use=no
62172 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62173 ac_ext=c
62174 ac_cpp='$CPP $CPPFLAGS'
62175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62183 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
62184 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
62186 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
62188 for ac_func in _hypot
62190 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62191 echo "$as_me:$LINENO: checking for $ac_func" >&5
62192 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62193 if eval "test \"\${$as_ac_var+set}\" = set"; then
62194 echo $ECHO_N "(cached) $ECHO_C" >&6
62195 else
62196 if test x$gcc_no_link = xyes; then
62197 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62198 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62199 { (exit 1); exit 1; }; }
62201 cat >conftest.$ac_ext <<_ACEOF
62202 /* confdefs.h. */
62203 _ACEOF
62204 cat confdefs.h >>conftest.$ac_ext
62205 cat >>conftest.$ac_ext <<_ACEOF
62206 /* end confdefs.h. */
62207 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62208 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62209 #define $ac_func innocuous_$ac_func
62211 /* System header to define __stub macros and hopefully few prototypes,
62212 which can conflict with char $ac_func (); below.
62213 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62214 <limits.h> exists even on freestanding compilers. */
62216 #ifdef __STDC__
62217 # include <limits.h>
62218 #else
62219 # include <assert.h>
62220 #endif
62222 #undef $ac_func
62224 /* Override any gcc2 internal prototype to avoid an error. */
62225 #ifdef __cplusplus
62226 extern "C"
62228 #endif
62229 /* We use char because int might match the return type of a gcc2
62230 builtin and then its argument prototype would still apply. */
62231 char $ac_func ();
62232 /* The GNU C library defines this for functions which it implements
62233 to always fail with ENOSYS. Some functions are actually named
62234 something starting with __ and the normal name is an alias. */
62235 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62236 choke me
62237 #else
62238 char (*f) () = $ac_func;
62239 #endif
62240 #ifdef __cplusplus
62242 #endif
62245 main ()
62247 return f != $ac_func;
62249 return 0;
62251 _ACEOF
62252 rm -f conftest.$ac_objext conftest$ac_exeext
62253 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62254 (eval $ac_link) 2>conftest.er1
62255 ac_status=$?
62256 grep -v '^ *+' conftest.er1 >conftest.err
62257 rm -f conftest.er1
62258 cat conftest.err >&5
62259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62260 (exit $ac_status); } &&
62261 { ac_try='test -z "$ac_c_werror_flag"
62262 || test ! -s conftest.err'
62263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62264 (eval $ac_try) 2>&5
62265 ac_status=$?
62266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62267 (exit $ac_status); }; } &&
62268 { ac_try='test -s conftest$ac_exeext'
62269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62270 (eval $ac_try) 2>&5
62271 ac_status=$?
62272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62273 (exit $ac_status); }; }; then
62274 eval "$as_ac_var=yes"
62275 else
62276 echo "$as_me: failed program was:" >&5
62277 sed 's/^/| /' conftest.$ac_ext >&5
62279 eval "$as_ac_var=no"
62281 rm -f conftest.err conftest.$ac_objext \
62282 conftest$ac_exeext conftest.$ac_ext
62284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62285 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62286 if test `eval echo '${'$as_ac_var'}'` = yes; then
62287 cat >>confdefs.h <<_ACEOF
62288 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62289 _ACEOF
62292 done
62302 echo "$as_me:$LINENO: checking for float trig functions" >&5
62303 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
62304 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
62305 echo $ECHO_N "(cached) $ECHO_C" >&6
62306 else
62310 ac_ext=cc
62311 ac_cpp='$CXXCPP $CPPFLAGS'
62312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62316 cat >conftest.$ac_ext <<_ACEOF
62317 /* confdefs.h. */
62318 _ACEOF
62319 cat confdefs.h >>conftest.$ac_ext
62320 cat >>conftest.$ac_ext <<_ACEOF
62321 /* end confdefs.h. */
62322 #include <math.h>
62324 main ()
62326 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
62328 return 0;
62330 _ACEOF
62331 rm -f conftest.$ac_objext
62332 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62333 (eval $ac_compile) 2>conftest.er1
62334 ac_status=$?
62335 grep -v '^ *+' conftest.er1 >conftest.err
62336 rm -f conftest.er1
62337 cat conftest.err >&5
62338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62339 (exit $ac_status); } &&
62340 { ac_try='test -z "$ac_cxx_werror_flag"
62341 || test ! -s conftest.err'
62342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62343 (eval $ac_try) 2>&5
62344 ac_status=$?
62345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62346 (exit $ac_status); }; } &&
62347 { ac_try='test -s conftest.$ac_objext'
62348 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62349 (eval $ac_try) 2>&5
62350 ac_status=$?
62351 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62352 (exit $ac_status); }; }; then
62353 glibcxx_cv_func_float_trig_use=yes
62354 else
62355 echo "$as_me: failed program was:" >&5
62356 sed 's/^/| /' conftest.$ac_ext >&5
62358 glibcxx_cv_func_float_trig_use=no
62360 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62361 ac_ext=c
62362 ac_cpp='$CPP $CPPFLAGS'
62363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62369 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
62370 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
62371 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
62381 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
62383 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62384 echo "$as_me:$LINENO: checking for $ac_func" >&5
62385 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62386 if eval "test \"\${$as_ac_var+set}\" = set"; then
62387 echo $ECHO_N "(cached) $ECHO_C" >&6
62388 else
62389 if test x$gcc_no_link = xyes; then
62390 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62391 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62392 { (exit 1); exit 1; }; }
62394 cat >conftest.$ac_ext <<_ACEOF
62395 /* confdefs.h. */
62396 _ACEOF
62397 cat confdefs.h >>conftest.$ac_ext
62398 cat >>conftest.$ac_ext <<_ACEOF
62399 /* end confdefs.h. */
62400 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62401 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62402 #define $ac_func innocuous_$ac_func
62404 /* System header to define __stub macros and hopefully few prototypes,
62405 which can conflict with char $ac_func (); below.
62406 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62407 <limits.h> exists even on freestanding compilers. */
62409 #ifdef __STDC__
62410 # include <limits.h>
62411 #else
62412 # include <assert.h>
62413 #endif
62415 #undef $ac_func
62417 /* Override any gcc2 internal prototype to avoid an error. */
62418 #ifdef __cplusplus
62419 extern "C"
62421 #endif
62422 /* We use char because int might match the return type of a gcc2
62423 builtin and then its argument prototype would still apply. */
62424 char $ac_func ();
62425 /* The GNU C library defines this for functions which it implements
62426 to always fail with ENOSYS. Some functions are actually named
62427 something starting with __ and the normal name is an alias. */
62428 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62429 choke me
62430 #else
62431 char (*f) () = $ac_func;
62432 #endif
62433 #ifdef __cplusplus
62435 #endif
62438 main ()
62440 return f != $ac_func;
62442 return 0;
62444 _ACEOF
62445 rm -f conftest.$ac_objext conftest$ac_exeext
62446 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62447 (eval $ac_link) 2>conftest.er1
62448 ac_status=$?
62449 grep -v '^ *+' conftest.er1 >conftest.err
62450 rm -f conftest.er1
62451 cat conftest.err >&5
62452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62453 (exit $ac_status); } &&
62454 { ac_try='test -z "$ac_c_werror_flag"
62455 || test ! -s conftest.err'
62456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62457 (eval $ac_try) 2>&5
62458 ac_status=$?
62459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62460 (exit $ac_status); }; } &&
62461 { ac_try='test -s conftest$ac_exeext'
62462 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62463 (eval $ac_try) 2>&5
62464 ac_status=$?
62465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62466 (exit $ac_status); }; }; then
62467 eval "$as_ac_var=yes"
62468 else
62469 echo "$as_me: failed program was:" >&5
62470 sed 's/^/| /' conftest.$ac_ext >&5
62472 eval "$as_ac_var=no"
62474 rm -f conftest.err conftest.$ac_objext \
62475 conftest$ac_exeext conftest.$ac_ext
62477 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62478 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62479 if test `eval echo '${'$as_ac_var'}'` = yes; then
62480 cat >>confdefs.h <<_ACEOF
62481 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62482 _ACEOF
62485 done
62487 else
62488 echo "$as_me:$LINENO: checking for _float trig functions" >&5
62489 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
62490 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
62491 echo $ECHO_N "(cached) $ECHO_C" >&6
62492 else
62496 ac_ext=cc
62497 ac_cpp='$CXXCPP $CPPFLAGS'
62498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62502 cat >conftest.$ac_ext <<_ACEOF
62503 /* confdefs.h. */
62504 _ACEOF
62505 cat confdefs.h >>conftest.$ac_ext
62506 cat >>conftest.$ac_ext <<_ACEOF
62507 /* end confdefs.h. */
62508 #include <math.h>
62510 main ()
62512 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
62514 return 0;
62516 _ACEOF
62517 rm -f conftest.$ac_objext
62518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62519 (eval $ac_compile) 2>conftest.er1
62520 ac_status=$?
62521 grep -v '^ *+' conftest.er1 >conftest.err
62522 rm -f conftest.er1
62523 cat conftest.err >&5
62524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62525 (exit $ac_status); } &&
62526 { ac_try='test -z "$ac_cxx_werror_flag"
62527 || test ! -s conftest.err'
62528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62529 (eval $ac_try) 2>&5
62530 ac_status=$?
62531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62532 (exit $ac_status); }; } &&
62533 { ac_try='test -s conftest.$ac_objext'
62534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62535 (eval $ac_try) 2>&5
62536 ac_status=$?
62537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62538 (exit $ac_status); }; }; then
62539 glibcxx_cv_func__float_trig_use=yes
62540 else
62541 echo "$as_me: failed program was:" >&5
62542 sed 's/^/| /' conftest.$ac_ext >&5
62544 glibcxx_cv_func__float_trig_use=no
62546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_ext=c
62548 ac_cpp='$CPP $CPPFLAGS'
62549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62555 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
62556 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
62557 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
62567 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
62569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62570 echo "$as_me:$LINENO: checking for $ac_func" >&5
62571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62572 if eval "test \"\${$as_ac_var+set}\" = set"; then
62573 echo $ECHO_N "(cached) $ECHO_C" >&6
62574 else
62575 if test x$gcc_no_link = xyes; then
62576 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62577 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62578 { (exit 1); exit 1; }; }
62580 cat >conftest.$ac_ext <<_ACEOF
62581 /* confdefs.h. */
62582 _ACEOF
62583 cat confdefs.h >>conftest.$ac_ext
62584 cat >>conftest.$ac_ext <<_ACEOF
62585 /* end confdefs.h. */
62586 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62587 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62588 #define $ac_func innocuous_$ac_func
62590 /* System header to define __stub macros and hopefully few prototypes,
62591 which can conflict with char $ac_func (); below.
62592 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62593 <limits.h> exists even on freestanding compilers. */
62595 #ifdef __STDC__
62596 # include <limits.h>
62597 #else
62598 # include <assert.h>
62599 #endif
62601 #undef $ac_func
62603 /* Override any gcc2 internal prototype to avoid an error. */
62604 #ifdef __cplusplus
62605 extern "C"
62607 #endif
62608 /* We use char because int might match the return type of a gcc2
62609 builtin and then its argument prototype would still apply. */
62610 char $ac_func ();
62611 /* The GNU C library defines this for functions which it implements
62612 to always fail with ENOSYS. Some functions are actually named
62613 something starting with __ and the normal name is an alias. */
62614 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62615 choke me
62616 #else
62617 char (*f) () = $ac_func;
62618 #endif
62619 #ifdef __cplusplus
62621 #endif
62624 main ()
62626 return f != $ac_func;
62628 return 0;
62630 _ACEOF
62631 rm -f conftest.$ac_objext conftest$ac_exeext
62632 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62633 (eval $ac_link) 2>conftest.er1
62634 ac_status=$?
62635 grep -v '^ *+' conftest.er1 >conftest.err
62636 rm -f conftest.er1
62637 cat conftest.err >&5
62638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62639 (exit $ac_status); } &&
62640 { ac_try='test -z "$ac_c_werror_flag"
62641 || test ! -s conftest.err'
62642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62643 (eval $ac_try) 2>&5
62644 ac_status=$?
62645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62646 (exit $ac_status); }; } &&
62647 { ac_try='test -s conftest$ac_exeext'
62648 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62649 (eval $ac_try) 2>&5
62650 ac_status=$?
62651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62652 (exit $ac_status); }; }; then
62653 eval "$as_ac_var=yes"
62654 else
62655 echo "$as_me: failed program was:" >&5
62656 sed 's/^/| /' conftest.$ac_ext >&5
62658 eval "$as_ac_var=no"
62660 rm -f conftest.err conftest.$ac_objext \
62661 conftest$ac_exeext conftest.$ac_ext
62663 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62664 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62665 if test `eval echo '${'$as_ac_var'}'` = yes; then
62666 cat >>confdefs.h <<_ACEOF
62667 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62668 _ACEOF
62671 done
62689 echo "$as_me:$LINENO: checking for float round functions" >&5
62690 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
62691 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
62692 echo $ECHO_N "(cached) $ECHO_C" >&6
62693 else
62697 ac_ext=cc
62698 ac_cpp='$CXXCPP $CPPFLAGS'
62699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62703 cat >conftest.$ac_ext <<_ACEOF
62704 /* confdefs.h. */
62705 _ACEOF
62706 cat confdefs.h >>conftest.$ac_ext
62707 cat >>conftest.$ac_ext <<_ACEOF
62708 /* end confdefs.h. */
62709 #include <math.h>
62711 main ()
62713 ceilf (0); floorf (0);
62715 return 0;
62717 _ACEOF
62718 rm -f conftest.$ac_objext
62719 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62720 (eval $ac_compile) 2>conftest.er1
62721 ac_status=$?
62722 grep -v '^ *+' conftest.er1 >conftest.err
62723 rm -f conftest.er1
62724 cat conftest.err >&5
62725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62726 (exit $ac_status); } &&
62727 { ac_try='test -z "$ac_cxx_werror_flag"
62728 || test ! -s conftest.err'
62729 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62730 (eval $ac_try) 2>&5
62731 ac_status=$?
62732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62733 (exit $ac_status); }; } &&
62734 { ac_try='test -s conftest.$ac_objext'
62735 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62736 (eval $ac_try) 2>&5
62737 ac_status=$?
62738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62739 (exit $ac_status); }; }; then
62740 glibcxx_cv_func_float_round_use=yes
62741 else
62742 echo "$as_me: failed program was:" >&5
62743 sed 's/^/| /' conftest.$ac_ext >&5
62745 glibcxx_cv_func_float_round_use=no
62747 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62748 ac_ext=c
62749 ac_cpp='$CPP $CPPFLAGS'
62750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62756 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
62757 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
62758 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
62761 for ac_func in ceilf floorf
62763 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62764 echo "$as_me:$LINENO: checking for $ac_func" >&5
62765 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62766 if eval "test \"\${$as_ac_var+set}\" = set"; then
62767 echo $ECHO_N "(cached) $ECHO_C" >&6
62768 else
62769 if test x$gcc_no_link = xyes; then
62770 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62771 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62772 { (exit 1); exit 1; }; }
62774 cat >conftest.$ac_ext <<_ACEOF
62775 /* confdefs.h. */
62776 _ACEOF
62777 cat confdefs.h >>conftest.$ac_ext
62778 cat >>conftest.$ac_ext <<_ACEOF
62779 /* end confdefs.h. */
62780 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62781 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62782 #define $ac_func innocuous_$ac_func
62784 /* System header to define __stub macros and hopefully few prototypes,
62785 which can conflict with char $ac_func (); below.
62786 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62787 <limits.h> exists even on freestanding compilers. */
62789 #ifdef __STDC__
62790 # include <limits.h>
62791 #else
62792 # include <assert.h>
62793 #endif
62795 #undef $ac_func
62797 /* Override any gcc2 internal prototype to avoid an error. */
62798 #ifdef __cplusplus
62799 extern "C"
62801 #endif
62802 /* We use char because int might match the return type of a gcc2
62803 builtin and then its argument prototype would still apply. */
62804 char $ac_func ();
62805 /* The GNU C library defines this for functions which it implements
62806 to always fail with ENOSYS. Some functions are actually named
62807 something starting with __ and the normal name is an alias. */
62808 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62809 choke me
62810 #else
62811 char (*f) () = $ac_func;
62812 #endif
62813 #ifdef __cplusplus
62815 #endif
62818 main ()
62820 return f != $ac_func;
62822 return 0;
62824 _ACEOF
62825 rm -f conftest.$ac_objext conftest$ac_exeext
62826 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
62827 (eval $ac_link) 2>conftest.er1
62828 ac_status=$?
62829 grep -v '^ *+' conftest.er1 >conftest.err
62830 rm -f conftest.er1
62831 cat conftest.err >&5
62832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62833 (exit $ac_status); } &&
62834 { ac_try='test -z "$ac_c_werror_flag"
62835 || test ! -s conftest.err'
62836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62837 (eval $ac_try) 2>&5
62838 ac_status=$?
62839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62840 (exit $ac_status); }; } &&
62841 { ac_try='test -s conftest$ac_exeext'
62842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62843 (eval $ac_try) 2>&5
62844 ac_status=$?
62845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62846 (exit $ac_status); }; }; then
62847 eval "$as_ac_var=yes"
62848 else
62849 echo "$as_me: failed program was:" >&5
62850 sed 's/^/| /' conftest.$ac_ext >&5
62852 eval "$as_ac_var=no"
62854 rm -f conftest.err conftest.$ac_objext \
62855 conftest$ac_exeext conftest.$ac_ext
62857 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
62858 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
62859 if test `eval echo '${'$as_ac_var'}'` = yes; then
62860 cat >>confdefs.h <<_ACEOF
62861 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
62862 _ACEOF
62865 done
62867 else
62868 echo "$as_me:$LINENO: checking for _float round functions" >&5
62869 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
62870 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
62871 echo $ECHO_N "(cached) $ECHO_C" >&6
62872 else
62876 ac_ext=cc
62877 ac_cpp='$CXXCPP $CPPFLAGS'
62878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62882 cat >conftest.$ac_ext <<_ACEOF
62883 /* confdefs.h. */
62884 _ACEOF
62885 cat confdefs.h >>conftest.$ac_ext
62886 cat >>conftest.$ac_ext <<_ACEOF
62887 /* end confdefs.h. */
62888 #include <math.h>
62890 main ()
62892 _ceilf (0); _floorf (0);
62894 return 0;
62896 _ACEOF
62897 rm -f conftest.$ac_objext
62898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
62899 (eval $ac_compile) 2>conftest.er1
62900 ac_status=$?
62901 grep -v '^ *+' conftest.er1 >conftest.err
62902 rm -f conftest.er1
62903 cat conftest.err >&5
62904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62905 (exit $ac_status); } &&
62906 { ac_try='test -z "$ac_cxx_werror_flag"
62907 || test ! -s conftest.err'
62908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62909 (eval $ac_try) 2>&5
62910 ac_status=$?
62911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62912 (exit $ac_status); }; } &&
62913 { ac_try='test -s conftest.$ac_objext'
62914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
62915 (eval $ac_try) 2>&5
62916 ac_status=$?
62917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
62918 (exit $ac_status); }; }; then
62919 glibcxx_cv_func__float_round_use=yes
62920 else
62921 echo "$as_me: failed program was:" >&5
62922 sed 's/^/| /' conftest.$ac_ext >&5
62924 glibcxx_cv_func__float_round_use=no
62926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
62927 ac_ext=c
62928 ac_cpp='$CPP $CPPFLAGS'
62929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62935 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
62936 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
62937 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
62940 for ac_func in _ceilf _floorf
62942 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
62943 echo "$as_me:$LINENO: checking for $ac_func" >&5
62944 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
62945 if eval "test \"\${$as_ac_var+set}\" = set"; then
62946 echo $ECHO_N "(cached) $ECHO_C" >&6
62947 else
62948 if test x$gcc_no_link = xyes; then
62949 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
62950 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
62951 { (exit 1); exit 1; }; }
62953 cat >conftest.$ac_ext <<_ACEOF
62954 /* confdefs.h. */
62955 _ACEOF
62956 cat confdefs.h >>conftest.$ac_ext
62957 cat >>conftest.$ac_ext <<_ACEOF
62958 /* end confdefs.h. */
62959 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
62960 For example, HP-UX 11i <limits.h> declares gettimeofday. */
62961 #define $ac_func innocuous_$ac_func
62963 /* System header to define __stub macros and hopefully few prototypes,
62964 which can conflict with char $ac_func (); below.
62965 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
62966 <limits.h> exists even on freestanding compilers. */
62968 #ifdef __STDC__
62969 # include <limits.h>
62970 #else
62971 # include <assert.h>
62972 #endif
62974 #undef $ac_func
62976 /* Override any gcc2 internal prototype to avoid an error. */
62977 #ifdef __cplusplus
62978 extern "C"
62980 #endif
62981 /* We use char because int might match the return type of a gcc2
62982 builtin and then its argument prototype would still apply. */
62983 char $ac_func ();
62984 /* The GNU C library defines this for functions which it implements
62985 to always fail with ENOSYS. Some functions are actually named
62986 something starting with __ and the normal name is an alias. */
62987 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
62988 choke me
62989 #else
62990 char (*f) () = $ac_func;
62991 #endif
62992 #ifdef __cplusplus
62994 #endif
62997 main ()
62999 return f != $ac_func;
63001 return 0;
63003 _ACEOF
63004 rm -f conftest.$ac_objext conftest$ac_exeext
63005 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63006 (eval $ac_link) 2>conftest.er1
63007 ac_status=$?
63008 grep -v '^ *+' conftest.er1 >conftest.err
63009 rm -f conftest.er1
63010 cat conftest.err >&5
63011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63012 (exit $ac_status); } &&
63013 { ac_try='test -z "$ac_c_werror_flag"
63014 || test ! -s conftest.err'
63015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63016 (eval $ac_try) 2>&5
63017 ac_status=$?
63018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63019 (exit $ac_status); }; } &&
63020 { ac_try='test -s conftest$ac_exeext'
63021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63022 (eval $ac_try) 2>&5
63023 ac_status=$?
63024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63025 (exit $ac_status); }; }; then
63026 eval "$as_ac_var=yes"
63027 else
63028 echo "$as_me: failed program was:" >&5
63029 sed 's/^/| /' conftest.$ac_ext >&5
63031 eval "$as_ac_var=no"
63033 rm -f conftest.err conftest.$ac_objext \
63034 conftest$ac_exeext conftest.$ac_ext
63036 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63037 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63038 if test `eval echo '${'$as_ac_var'}'` = yes; then
63039 cat >>confdefs.h <<_ACEOF
63040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63041 _ACEOF
63044 done
63056 echo "$as_me:$LINENO: checking for expf declaration" >&5
63057 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
63058 if test x${glibcxx_cv_func_expf_use+set} != xset; then
63059 if test "${glibcxx_cv_func_expf_use+set}" = set; then
63060 echo $ECHO_N "(cached) $ECHO_C" >&6
63061 else
63065 ac_ext=cc
63066 ac_cpp='$CXXCPP $CPPFLAGS'
63067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63071 cat >conftest.$ac_ext <<_ACEOF
63072 /* confdefs.h. */
63073 _ACEOF
63074 cat confdefs.h >>conftest.$ac_ext
63075 cat >>conftest.$ac_ext <<_ACEOF
63076 /* end confdefs.h. */
63077 #include <math.h>
63078 #ifdef HAVE_IEEEFP_H
63079 #include <ieeefp.h>
63080 #endif
63083 main ()
63085 expf(0);
63087 return 0;
63089 _ACEOF
63090 rm -f conftest.$ac_objext
63091 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63092 (eval $ac_compile) 2>conftest.er1
63093 ac_status=$?
63094 grep -v '^ *+' conftest.er1 >conftest.err
63095 rm -f conftest.er1
63096 cat conftest.err >&5
63097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63098 (exit $ac_status); } &&
63099 { ac_try='test -z "$ac_cxx_werror_flag"
63100 || test ! -s conftest.err'
63101 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63102 (eval $ac_try) 2>&5
63103 ac_status=$?
63104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63105 (exit $ac_status); }; } &&
63106 { ac_try='test -s conftest.$ac_objext'
63107 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63108 (eval $ac_try) 2>&5
63109 ac_status=$?
63110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63111 (exit $ac_status); }; }; then
63112 glibcxx_cv_func_expf_use=yes
63113 else
63114 echo "$as_me: failed program was:" >&5
63115 sed 's/^/| /' conftest.$ac_ext >&5
63117 glibcxx_cv_func_expf_use=no
63119 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63120 ac_ext=c
63121 ac_cpp='$CPP $CPPFLAGS'
63122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63130 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
63131 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
63133 if test x$glibcxx_cv_func_expf_use = x"yes"; then
63135 for ac_func in expf
63137 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63138 echo "$as_me:$LINENO: checking for $ac_func" >&5
63139 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63140 if eval "test \"\${$as_ac_var+set}\" = set"; then
63141 echo $ECHO_N "(cached) $ECHO_C" >&6
63142 else
63143 if test x$gcc_no_link = xyes; then
63144 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63145 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63146 { (exit 1); exit 1; }; }
63148 cat >conftest.$ac_ext <<_ACEOF
63149 /* confdefs.h. */
63150 _ACEOF
63151 cat confdefs.h >>conftest.$ac_ext
63152 cat >>conftest.$ac_ext <<_ACEOF
63153 /* end confdefs.h. */
63154 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63155 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63156 #define $ac_func innocuous_$ac_func
63158 /* System header to define __stub macros and hopefully few prototypes,
63159 which can conflict with char $ac_func (); below.
63160 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63161 <limits.h> exists even on freestanding compilers. */
63163 #ifdef __STDC__
63164 # include <limits.h>
63165 #else
63166 # include <assert.h>
63167 #endif
63169 #undef $ac_func
63171 /* Override any gcc2 internal prototype to avoid an error. */
63172 #ifdef __cplusplus
63173 extern "C"
63175 #endif
63176 /* We use char because int might match the return type of a gcc2
63177 builtin and then its argument prototype would still apply. */
63178 char $ac_func ();
63179 /* The GNU C library defines this for functions which it implements
63180 to always fail with ENOSYS. Some functions are actually named
63181 something starting with __ and the normal name is an alias. */
63182 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63183 choke me
63184 #else
63185 char (*f) () = $ac_func;
63186 #endif
63187 #ifdef __cplusplus
63189 #endif
63192 main ()
63194 return f != $ac_func;
63196 return 0;
63198 _ACEOF
63199 rm -f conftest.$ac_objext conftest$ac_exeext
63200 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63201 (eval $ac_link) 2>conftest.er1
63202 ac_status=$?
63203 grep -v '^ *+' conftest.er1 >conftest.err
63204 rm -f conftest.er1
63205 cat conftest.err >&5
63206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63207 (exit $ac_status); } &&
63208 { ac_try='test -z "$ac_c_werror_flag"
63209 || test ! -s conftest.err'
63210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63211 (eval $ac_try) 2>&5
63212 ac_status=$?
63213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63214 (exit $ac_status); }; } &&
63215 { ac_try='test -s conftest$ac_exeext'
63216 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63217 (eval $ac_try) 2>&5
63218 ac_status=$?
63219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63220 (exit $ac_status); }; }; then
63221 eval "$as_ac_var=yes"
63222 else
63223 echo "$as_me: failed program was:" >&5
63224 sed 's/^/| /' conftest.$ac_ext >&5
63226 eval "$as_ac_var=no"
63228 rm -f conftest.err conftest.$ac_objext \
63229 conftest$ac_exeext conftest.$ac_ext
63231 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63232 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63233 if test `eval echo '${'$as_ac_var'}'` = yes; then
63234 cat >>confdefs.h <<_ACEOF
63235 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63236 _ACEOF
63239 done
63241 else
63243 echo "$as_me:$LINENO: checking for _expf declaration" >&5
63244 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
63245 if test x${glibcxx_cv_func__expf_use+set} != xset; then
63246 if test "${glibcxx_cv_func__expf_use+set}" = set; then
63247 echo $ECHO_N "(cached) $ECHO_C" >&6
63248 else
63252 ac_ext=cc
63253 ac_cpp='$CXXCPP $CPPFLAGS'
63254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63258 cat >conftest.$ac_ext <<_ACEOF
63259 /* confdefs.h. */
63260 _ACEOF
63261 cat confdefs.h >>conftest.$ac_ext
63262 cat >>conftest.$ac_ext <<_ACEOF
63263 /* end confdefs.h. */
63264 #include <math.h>
63265 #ifdef HAVE_IEEEFP_H
63266 #include <ieeefp.h>
63267 #endif
63270 main ()
63272 _expf(0);
63274 return 0;
63276 _ACEOF
63277 rm -f conftest.$ac_objext
63278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63279 (eval $ac_compile) 2>conftest.er1
63280 ac_status=$?
63281 grep -v '^ *+' conftest.er1 >conftest.err
63282 rm -f conftest.er1
63283 cat conftest.err >&5
63284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63285 (exit $ac_status); } &&
63286 { ac_try='test -z "$ac_cxx_werror_flag"
63287 || test ! -s conftest.err'
63288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63289 (eval $ac_try) 2>&5
63290 ac_status=$?
63291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63292 (exit $ac_status); }; } &&
63293 { ac_try='test -s conftest.$ac_objext'
63294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63295 (eval $ac_try) 2>&5
63296 ac_status=$?
63297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63298 (exit $ac_status); }; }; then
63299 glibcxx_cv_func__expf_use=yes
63300 else
63301 echo "$as_me: failed program was:" >&5
63302 sed 's/^/| /' conftest.$ac_ext >&5
63304 glibcxx_cv_func__expf_use=no
63306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63307 ac_ext=c
63308 ac_cpp='$CPP $CPPFLAGS'
63309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
63318 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
63320 if test x$glibcxx_cv_func__expf_use = x"yes"; then
63322 for ac_func in _expf
63324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63325 echo "$as_me:$LINENO: checking for $ac_func" >&5
63326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63327 if eval "test \"\${$as_ac_var+set}\" = set"; then
63328 echo $ECHO_N "(cached) $ECHO_C" >&6
63329 else
63330 if test x$gcc_no_link = xyes; then
63331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63333 { (exit 1); exit 1; }; }
63335 cat >conftest.$ac_ext <<_ACEOF
63336 /* confdefs.h. */
63337 _ACEOF
63338 cat confdefs.h >>conftest.$ac_ext
63339 cat >>conftest.$ac_ext <<_ACEOF
63340 /* end confdefs.h. */
63341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63343 #define $ac_func innocuous_$ac_func
63345 /* System header to define __stub macros and hopefully few prototypes,
63346 which can conflict with char $ac_func (); below.
63347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63348 <limits.h> exists even on freestanding compilers. */
63350 #ifdef __STDC__
63351 # include <limits.h>
63352 #else
63353 # include <assert.h>
63354 #endif
63356 #undef $ac_func
63358 /* Override any gcc2 internal prototype to avoid an error. */
63359 #ifdef __cplusplus
63360 extern "C"
63362 #endif
63363 /* We use char because int might match the return type of a gcc2
63364 builtin and then its argument prototype would still apply. */
63365 char $ac_func ();
63366 /* The GNU C library defines this for functions which it implements
63367 to always fail with ENOSYS. Some functions are actually named
63368 something starting with __ and the normal name is an alias. */
63369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63370 choke me
63371 #else
63372 char (*f) () = $ac_func;
63373 #endif
63374 #ifdef __cplusplus
63376 #endif
63379 main ()
63381 return f != $ac_func;
63383 return 0;
63385 _ACEOF
63386 rm -f conftest.$ac_objext conftest$ac_exeext
63387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63388 (eval $ac_link) 2>conftest.er1
63389 ac_status=$?
63390 grep -v '^ *+' conftest.er1 >conftest.err
63391 rm -f conftest.er1
63392 cat conftest.err >&5
63393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63394 (exit $ac_status); } &&
63395 { ac_try='test -z "$ac_c_werror_flag"
63396 || test ! -s conftest.err'
63397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63398 (eval $ac_try) 2>&5
63399 ac_status=$?
63400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63401 (exit $ac_status); }; } &&
63402 { ac_try='test -s conftest$ac_exeext'
63403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63404 (eval $ac_try) 2>&5
63405 ac_status=$?
63406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63407 (exit $ac_status); }; }; then
63408 eval "$as_ac_var=yes"
63409 else
63410 echo "$as_me: failed program was:" >&5
63411 sed 's/^/| /' conftest.$ac_ext >&5
63413 eval "$as_ac_var=no"
63415 rm -f conftest.err conftest.$ac_objext \
63416 conftest$ac_exeext conftest.$ac_ext
63418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63420 if test `eval echo '${'$as_ac_var'}'` = yes; then
63421 cat >>confdefs.h <<_ACEOF
63422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63423 _ACEOF
63426 done
63436 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
63437 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
63438 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
63439 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
63440 echo $ECHO_N "(cached) $ECHO_C" >&6
63441 else
63445 ac_ext=cc
63446 ac_cpp='$CXXCPP $CPPFLAGS'
63447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63451 cat >conftest.$ac_ext <<_ACEOF
63452 /* confdefs.h. */
63453 _ACEOF
63454 cat confdefs.h >>conftest.$ac_ext
63455 cat >>conftest.$ac_ext <<_ACEOF
63456 /* end confdefs.h. */
63457 #include <math.h>
63458 #ifdef HAVE_IEEEFP_H
63459 #include <ieeefp.h>
63460 #endif
63463 main ()
63465 isnanf(0);
63467 return 0;
63469 _ACEOF
63470 rm -f conftest.$ac_objext
63471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63472 (eval $ac_compile) 2>conftest.er1
63473 ac_status=$?
63474 grep -v '^ *+' conftest.er1 >conftest.err
63475 rm -f conftest.er1
63476 cat conftest.err >&5
63477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63478 (exit $ac_status); } &&
63479 { ac_try='test -z "$ac_cxx_werror_flag"
63480 || test ! -s conftest.err'
63481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63482 (eval $ac_try) 2>&5
63483 ac_status=$?
63484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63485 (exit $ac_status); }; } &&
63486 { ac_try='test -s conftest.$ac_objext'
63487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63488 (eval $ac_try) 2>&5
63489 ac_status=$?
63490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63491 (exit $ac_status); }; }; then
63492 glibcxx_cv_func_isnanf_use=yes
63493 else
63494 echo "$as_me: failed program was:" >&5
63495 sed 's/^/| /' conftest.$ac_ext >&5
63497 glibcxx_cv_func_isnanf_use=no
63499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63500 ac_ext=c
63501 ac_cpp='$CPP $CPPFLAGS'
63502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
63511 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
63513 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
63515 for ac_func in isnanf
63517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63518 echo "$as_me:$LINENO: checking for $ac_func" >&5
63519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63520 if eval "test \"\${$as_ac_var+set}\" = set"; then
63521 echo $ECHO_N "(cached) $ECHO_C" >&6
63522 else
63523 if test x$gcc_no_link = xyes; then
63524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63526 { (exit 1); exit 1; }; }
63528 cat >conftest.$ac_ext <<_ACEOF
63529 /* confdefs.h. */
63530 _ACEOF
63531 cat confdefs.h >>conftest.$ac_ext
63532 cat >>conftest.$ac_ext <<_ACEOF
63533 /* end confdefs.h. */
63534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63536 #define $ac_func innocuous_$ac_func
63538 /* System header to define __stub macros and hopefully few prototypes,
63539 which can conflict with char $ac_func (); below.
63540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63541 <limits.h> exists even on freestanding compilers. */
63543 #ifdef __STDC__
63544 # include <limits.h>
63545 #else
63546 # include <assert.h>
63547 #endif
63549 #undef $ac_func
63551 /* Override any gcc2 internal prototype to avoid an error. */
63552 #ifdef __cplusplus
63553 extern "C"
63555 #endif
63556 /* We use char because int might match the return type of a gcc2
63557 builtin and then its argument prototype would still apply. */
63558 char $ac_func ();
63559 /* The GNU C library defines this for functions which it implements
63560 to always fail with ENOSYS. Some functions are actually named
63561 something starting with __ and the normal name is an alias. */
63562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63563 choke me
63564 #else
63565 char (*f) () = $ac_func;
63566 #endif
63567 #ifdef __cplusplus
63569 #endif
63572 main ()
63574 return f != $ac_func;
63576 return 0;
63578 _ACEOF
63579 rm -f conftest.$ac_objext conftest$ac_exeext
63580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63581 (eval $ac_link) 2>conftest.er1
63582 ac_status=$?
63583 grep -v '^ *+' conftest.er1 >conftest.err
63584 rm -f conftest.er1
63585 cat conftest.err >&5
63586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63587 (exit $ac_status); } &&
63588 { ac_try='test -z "$ac_c_werror_flag"
63589 || test ! -s conftest.err'
63590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63591 (eval $ac_try) 2>&5
63592 ac_status=$?
63593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63594 (exit $ac_status); }; } &&
63595 { ac_try='test -s conftest$ac_exeext'
63596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63597 (eval $ac_try) 2>&5
63598 ac_status=$?
63599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63600 (exit $ac_status); }; }; then
63601 eval "$as_ac_var=yes"
63602 else
63603 echo "$as_me: failed program was:" >&5
63604 sed 's/^/| /' conftest.$ac_ext >&5
63606 eval "$as_ac_var=no"
63608 rm -f conftest.err conftest.$ac_objext \
63609 conftest$ac_exeext conftest.$ac_ext
63611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63613 if test `eval echo '${'$as_ac_var'}'` = yes; then
63614 cat >>confdefs.h <<_ACEOF
63615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63616 _ACEOF
63619 done
63621 else
63623 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
63624 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
63625 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
63626 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
63627 echo $ECHO_N "(cached) $ECHO_C" >&6
63628 else
63632 ac_ext=cc
63633 ac_cpp='$CXXCPP $CPPFLAGS'
63634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638 cat >conftest.$ac_ext <<_ACEOF
63639 /* confdefs.h. */
63640 _ACEOF
63641 cat confdefs.h >>conftest.$ac_ext
63642 cat >>conftest.$ac_ext <<_ACEOF
63643 /* end confdefs.h. */
63644 #include <math.h>
63645 #ifdef HAVE_IEEEFP_H
63646 #include <ieeefp.h>
63647 #endif
63650 main ()
63652 _isnanf(0);
63654 return 0;
63656 _ACEOF
63657 rm -f conftest.$ac_objext
63658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63659 (eval $ac_compile) 2>conftest.er1
63660 ac_status=$?
63661 grep -v '^ *+' conftest.er1 >conftest.err
63662 rm -f conftest.er1
63663 cat conftest.err >&5
63664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63665 (exit $ac_status); } &&
63666 { ac_try='test -z "$ac_cxx_werror_flag"
63667 || test ! -s conftest.err'
63668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63669 (eval $ac_try) 2>&5
63670 ac_status=$?
63671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63672 (exit $ac_status); }; } &&
63673 { ac_try='test -s conftest.$ac_objext'
63674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63675 (eval $ac_try) 2>&5
63676 ac_status=$?
63677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63678 (exit $ac_status); }; }; then
63679 glibcxx_cv_func__isnanf_use=yes
63680 else
63681 echo "$as_me: failed program was:" >&5
63682 sed 's/^/| /' conftest.$ac_ext >&5
63684 glibcxx_cv_func__isnanf_use=no
63686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63687 ac_ext=c
63688 ac_cpp='$CPP $CPPFLAGS'
63689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
63698 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
63700 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
63702 for ac_func in _isnanf
63704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63705 echo "$as_me:$LINENO: checking for $ac_func" >&5
63706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63707 if eval "test \"\${$as_ac_var+set}\" = set"; then
63708 echo $ECHO_N "(cached) $ECHO_C" >&6
63709 else
63710 if test x$gcc_no_link = xyes; then
63711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63713 { (exit 1); exit 1; }; }
63715 cat >conftest.$ac_ext <<_ACEOF
63716 /* confdefs.h. */
63717 _ACEOF
63718 cat confdefs.h >>conftest.$ac_ext
63719 cat >>conftest.$ac_ext <<_ACEOF
63720 /* end confdefs.h. */
63721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63723 #define $ac_func innocuous_$ac_func
63725 /* System header to define __stub macros and hopefully few prototypes,
63726 which can conflict with char $ac_func (); below.
63727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63728 <limits.h> exists even on freestanding compilers. */
63730 #ifdef __STDC__
63731 # include <limits.h>
63732 #else
63733 # include <assert.h>
63734 #endif
63736 #undef $ac_func
63738 /* Override any gcc2 internal prototype to avoid an error. */
63739 #ifdef __cplusplus
63740 extern "C"
63742 #endif
63743 /* We use char because int might match the return type of a gcc2
63744 builtin and then its argument prototype would still apply. */
63745 char $ac_func ();
63746 /* The GNU C library defines this for functions which it implements
63747 to always fail with ENOSYS. Some functions are actually named
63748 something starting with __ and the normal name is an alias. */
63749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63750 choke me
63751 #else
63752 char (*f) () = $ac_func;
63753 #endif
63754 #ifdef __cplusplus
63756 #endif
63759 main ()
63761 return f != $ac_func;
63763 return 0;
63765 _ACEOF
63766 rm -f conftest.$ac_objext conftest$ac_exeext
63767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63768 (eval $ac_link) 2>conftest.er1
63769 ac_status=$?
63770 grep -v '^ *+' conftest.er1 >conftest.err
63771 rm -f conftest.er1
63772 cat conftest.err >&5
63773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63774 (exit $ac_status); } &&
63775 { ac_try='test -z "$ac_c_werror_flag"
63776 || test ! -s conftest.err'
63777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63778 (eval $ac_try) 2>&5
63779 ac_status=$?
63780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63781 (exit $ac_status); }; } &&
63782 { ac_try='test -s conftest$ac_exeext'
63783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63784 (eval $ac_try) 2>&5
63785 ac_status=$?
63786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63787 (exit $ac_status); }; }; then
63788 eval "$as_ac_var=yes"
63789 else
63790 echo "$as_me: failed program was:" >&5
63791 sed 's/^/| /' conftest.$ac_ext >&5
63793 eval "$as_ac_var=no"
63795 rm -f conftest.err conftest.$ac_objext \
63796 conftest$ac_exeext conftest.$ac_ext
63798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63800 if test `eval echo '${'$as_ac_var'}'` = yes; then
63801 cat >>confdefs.h <<_ACEOF
63802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63803 _ACEOF
63806 done
63816 echo "$as_me:$LINENO: checking for isinff declaration" >&5
63817 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
63818 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
63819 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
63820 echo $ECHO_N "(cached) $ECHO_C" >&6
63821 else
63825 ac_ext=cc
63826 ac_cpp='$CXXCPP $CPPFLAGS'
63827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63831 cat >conftest.$ac_ext <<_ACEOF
63832 /* confdefs.h. */
63833 _ACEOF
63834 cat confdefs.h >>conftest.$ac_ext
63835 cat >>conftest.$ac_ext <<_ACEOF
63836 /* end confdefs.h. */
63837 #include <math.h>
63838 #ifdef HAVE_IEEEFP_H
63839 #include <ieeefp.h>
63840 #endif
63843 main ()
63845 isinff(0);
63847 return 0;
63849 _ACEOF
63850 rm -f conftest.$ac_objext
63851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
63852 (eval $ac_compile) 2>conftest.er1
63853 ac_status=$?
63854 grep -v '^ *+' conftest.er1 >conftest.err
63855 rm -f conftest.er1
63856 cat conftest.err >&5
63857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63858 (exit $ac_status); } &&
63859 { ac_try='test -z "$ac_cxx_werror_flag"
63860 || test ! -s conftest.err'
63861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63862 (eval $ac_try) 2>&5
63863 ac_status=$?
63864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63865 (exit $ac_status); }; } &&
63866 { ac_try='test -s conftest.$ac_objext'
63867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63868 (eval $ac_try) 2>&5
63869 ac_status=$?
63870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63871 (exit $ac_status); }; }; then
63872 glibcxx_cv_func_isinff_use=yes
63873 else
63874 echo "$as_me: failed program was:" >&5
63875 sed 's/^/| /' conftest.$ac_ext >&5
63877 glibcxx_cv_func_isinff_use=no
63879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
63880 ac_ext=c
63881 ac_cpp='$CPP $CPPFLAGS'
63882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
63891 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
63893 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
63895 for ac_func in isinff
63897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
63898 echo "$as_me:$LINENO: checking for $ac_func" >&5
63899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
63900 if eval "test \"\${$as_ac_var+set}\" = set"; then
63901 echo $ECHO_N "(cached) $ECHO_C" >&6
63902 else
63903 if test x$gcc_no_link = xyes; then
63904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
63905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
63906 { (exit 1); exit 1; }; }
63908 cat >conftest.$ac_ext <<_ACEOF
63909 /* confdefs.h. */
63910 _ACEOF
63911 cat confdefs.h >>conftest.$ac_ext
63912 cat >>conftest.$ac_ext <<_ACEOF
63913 /* end confdefs.h. */
63914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
63915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
63916 #define $ac_func innocuous_$ac_func
63918 /* System header to define __stub macros and hopefully few prototypes,
63919 which can conflict with char $ac_func (); below.
63920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
63921 <limits.h> exists even on freestanding compilers. */
63923 #ifdef __STDC__
63924 # include <limits.h>
63925 #else
63926 # include <assert.h>
63927 #endif
63929 #undef $ac_func
63931 /* Override any gcc2 internal prototype to avoid an error. */
63932 #ifdef __cplusplus
63933 extern "C"
63935 #endif
63936 /* We use char because int might match the return type of a gcc2
63937 builtin and then its argument prototype would still apply. */
63938 char $ac_func ();
63939 /* The GNU C library defines this for functions which it implements
63940 to always fail with ENOSYS. Some functions are actually named
63941 something starting with __ and the normal name is an alias. */
63942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
63943 choke me
63944 #else
63945 char (*f) () = $ac_func;
63946 #endif
63947 #ifdef __cplusplus
63949 #endif
63952 main ()
63954 return f != $ac_func;
63956 return 0;
63958 _ACEOF
63959 rm -f conftest.$ac_objext conftest$ac_exeext
63960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
63961 (eval $ac_link) 2>conftest.er1
63962 ac_status=$?
63963 grep -v '^ *+' conftest.er1 >conftest.err
63964 rm -f conftest.er1
63965 cat conftest.err >&5
63966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63967 (exit $ac_status); } &&
63968 { ac_try='test -z "$ac_c_werror_flag"
63969 || test ! -s conftest.err'
63970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63971 (eval $ac_try) 2>&5
63972 ac_status=$?
63973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63974 (exit $ac_status); }; } &&
63975 { ac_try='test -s conftest$ac_exeext'
63976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
63977 (eval $ac_try) 2>&5
63978 ac_status=$?
63979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
63980 (exit $ac_status); }; }; then
63981 eval "$as_ac_var=yes"
63982 else
63983 echo "$as_me: failed program was:" >&5
63984 sed 's/^/| /' conftest.$ac_ext >&5
63986 eval "$as_ac_var=no"
63988 rm -f conftest.err conftest.$ac_objext \
63989 conftest$ac_exeext conftest.$ac_ext
63991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
63992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
63993 if test `eval echo '${'$as_ac_var'}'` = yes; then
63994 cat >>confdefs.h <<_ACEOF
63995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
63996 _ACEOF
63999 done
64001 else
64003 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
64004 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
64005 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
64006 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
64007 echo $ECHO_N "(cached) $ECHO_C" >&6
64008 else
64012 ac_ext=cc
64013 ac_cpp='$CXXCPP $CPPFLAGS'
64014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64018 cat >conftest.$ac_ext <<_ACEOF
64019 /* confdefs.h. */
64020 _ACEOF
64021 cat confdefs.h >>conftest.$ac_ext
64022 cat >>conftest.$ac_ext <<_ACEOF
64023 /* end confdefs.h. */
64024 #include <math.h>
64025 #ifdef HAVE_IEEEFP_H
64026 #include <ieeefp.h>
64027 #endif
64030 main ()
64032 _isinff(0);
64034 return 0;
64036 _ACEOF
64037 rm -f conftest.$ac_objext
64038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64039 (eval $ac_compile) 2>conftest.er1
64040 ac_status=$?
64041 grep -v '^ *+' conftest.er1 >conftest.err
64042 rm -f conftest.er1
64043 cat conftest.err >&5
64044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64045 (exit $ac_status); } &&
64046 { ac_try='test -z "$ac_cxx_werror_flag"
64047 || test ! -s conftest.err'
64048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64049 (eval $ac_try) 2>&5
64050 ac_status=$?
64051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64052 (exit $ac_status); }; } &&
64053 { ac_try='test -s conftest.$ac_objext'
64054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64055 (eval $ac_try) 2>&5
64056 ac_status=$?
64057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64058 (exit $ac_status); }; }; then
64059 glibcxx_cv_func__isinff_use=yes
64060 else
64061 echo "$as_me: failed program was:" >&5
64062 sed 's/^/| /' conftest.$ac_ext >&5
64064 glibcxx_cv_func__isinff_use=no
64066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64067 ac_ext=c
64068 ac_cpp='$CPP $CPPFLAGS'
64069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
64078 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
64080 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
64082 for ac_func in _isinff
64084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64085 echo "$as_me:$LINENO: checking for $ac_func" >&5
64086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64087 if eval "test \"\${$as_ac_var+set}\" = set"; then
64088 echo $ECHO_N "(cached) $ECHO_C" >&6
64089 else
64090 if test x$gcc_no_link = xyes; then
64091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64093 { (exit 1); exit 1; }; }
64095 cat >conftest.$ac_ext <<_ACEOF
64096 /* confdefs.h. */
64097 _ACEOF
64098 cat confdefs.h >>conftest.$ac_ext
64099 cat >>conftest.$ac_ext <<_ACEOF
64100 /* end confdefs.h. */
64101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64103 #define $ac_func innocuous_$ac_func
64105 /* System header to define __stub macros and hopefully few prototypes,
64106 which can conflict with char $ac_func (); below.
64107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64108 <limits.h> exists even on freestanding compilers. */
64110 #ifdef __STDC__
64111 # include <limits.h>
64112 #else
64113 # include <assert.h>
64114 #endif
64116 #undef $ac_func
64118 /* Override any gcc2 internal prototype to avoid an error. */
64119 #ifdef __cplusplus
64120 extern "C"
64122 #endif
64123 /* We use char because int might match the return type of a gcc2
64124 builtin and then its argument prototype would still apply. */
64125 char $ac_func ();
64126 /* The GNU C library defines this for functions which it implements
64127 to always fail with ENOSYS. Some functions are actually named
64128 something starting with __ and the normal name is an alias. */
64129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64130 choke me
64131 #else
64132 char (*f) () = $ac_func;
64133 #endif
64134 #ifdef __cplusplus
64136 #endif
64139 main ()
64141 return f != $ac_func;
64143 return 0;
64145 _ACEOF
64146 rm -f conftest.$ac_objext conftest$ac_exeext
64147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64148 (eval $ac_link) 2>conftest.er1
64149 ac_status=$?
64150 grep -v '^ *+' conftest.er1 >conftest.err
64151 rm -f conftest.er1
64152 cat conftest.err >&5
64153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64154 (exit $ac_status); } &&
64155 { ac_try='test -z "$ac_c_werror_flag"
64156 || test ! -s conftest.err'
64157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64158 (eval $ac_try) 2>&5
64159 ac_status=$?
64160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64161 (exit $ac_status); }; } &&
64162 { ac_try='test -s conftest$ac_exeext'
64163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64164 (eval $ac_try) 2>&5
64165 ac_status=$?
64166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64167 (exit $ac_status); }; }; then
64168 eval "$as_ac_var=yes"
64169 else
64170 echo "$as_me: failed program was:" >&5
64171 sed 's/^/| /' conftest.$ac_ext >&5
64173 eval "$as_ac_var=no"
64175 rm -f conftest.err conftest.$ac_objext \
64176 conftest$ac_exeext conftest.$ac_ext
64178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64180 if test `eval echo '${'$as_ac_var'}'` = yes; then
64181 cat >>confdefs.h <<_ACEOF
64182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64183 _ACEOF
64186 done
64196 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
64197 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
64198 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
64199 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
64200 echo $ECHO_N "(cached) $ECHO_C" >&6
64201 else
64205 ac_ext=cc
64206 ac_cpp='$CXXCPP $CPPFLAGS'
64207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64211 cat >conftest.$ac_ext <<_ACEOF
64212 /* confdefs.h. */
64213 _ACEOF
64214 cat confdefs.h >>conftest.$ac_ext
64215 cat >>conftest.$ac_ext <<_ACEOF
64216 /* end confdefs.h. */
64217 #include <math.h>
64219 main ()
64221 atan2f(0, 0);
64223 return 0;
64225 _ACEOF
64226 rm -f conftest.$ac_objext
64227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64228 (eval $ac_compile) 2>conftest.er1
64229 ac_status=$?
64230 grep -v '^ *+' conftest.er1 >conftest.err
64231 rm -f conftest.er1
64232 cat conftest.err >&5
64233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64234 (exit $ac_status); } &&
64235 { ac_try='test -z "$ac_cxx_werror_flag"
64236 || test ! -s conftest.err'
64237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64238 (eval $ac_try) 2>&5
64239 ac_status=$?
64240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64241 (exit $ac_status); }; } &&
64242 { ac_try='test -s conftest.$ac_objext'
64243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64244 (eval $ac_try) 2>&5
64245 ac_status=$?
64246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64247 (exit $ac_status); }; }; then
64248 glibcxx_cv_func_atan2f_use=yes
64249 else
64250 echo "$as_me: failed program was:" >&5
64251 sed 's/^/| /' conftest.$ac_ext >&5
64253 glibcxx_cv_func_atan2f_use=no
64255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64256 ac_ext=c
64257 ac_cpp='$CPP $CPPFLAGS'
64258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
64267 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
64269 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
64271 for ac_func in atan2f
64273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64274 echo "$as_me:$LINENO: checking for $ac_func" >&5
64275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64276 if eval "test \"\${$as_ac_var+set}\" = set"; then
64277 echo $ECHO_N "(cached) $ECHO_C" >&6
64278 else
64279 if test x$gcc_no_link = xyes; then
64280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64282 { (exit 1); exit 1; }; }
64284 cat >conftest.$ac_ext <<_ACEOF
64285 /* confdefs.h. */
64286 _ACEOF
64287 cat confdefs.h >>conftest.$ac_ext
64288 cat >>conftest.$ac_ext <<_ACEOF
64289 /* end confdefs.h. */
64290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64292 #define $ac_func innocuous_$ac_func
64294 /* System header to define __stub macros and hopefully few prototypes,
64295 which can conflict with char $ac_func (); below.
64296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64297 <limits.h> exists even on freestanding compilers. */
64299 #ifdef __STDC__
64300 # include <limits.h>
64301 #else
64302 # include <assert.h>
64303 #endif
64305 #undef $ac_func
64307 /* Override any gcc2 internal prototype to avoid an error. */
64308 #ifdef __cplusplus
64309 extern "C"
64311 #endif
64312 /* We use char because int might match the return type of a gcc2
64313 builtin and then its argument prototype would still apply. */
64314 char $ac_func ();
64315 /* The GNU C library defines this for functions which it implements
64316 to always fail with ENOSYS. Some functions are actually named
64317 something starting with __ and the normal name is an alias. */
64318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64319 choke me
64320 #else
64321 char (*f) () = $ac_func;
64322 #endif
64323 #ifdef __cplusplus
64325 #endif
64328 main ()
64330 return f != $ac_func;
64332 return 0;
64334 _ACEOF
64335 rm -f conftest.$ac_objext conftest$ac_exeext
64336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64337 (eval $ac_link) 2>conftest.er1
64338 ac_status=$?
64339 grep -v '^ *+' conftest.er1 >conftest.err
64340 rm -f conftest.er1
64341 cat conftest.err >&5
64342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64343 (exit $ac_status); } &&
64344 { ac_try='test -z "$ac_c_werror_flag"
64345 || test ! -s conftest.err'
64346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64347 (eval $ac_try) 2>&5
64348 ac_status=$?
64349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64350 (exit $ac_status); }; } &&
64351 { ac_try='test -s conftest$ac_exeext'
64352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64353 (eval $ac_try) 2>&5
64354 ac_status=$?
64355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64356 (exit $ac_status); }; }; then
64357 eval "$as_ac_var=yes"
64358 else
64359 echo "$as_me: failed program was:" >&5
64360 sed 's/^/| /' conftest.$ac_ext >&5
64362 eval "$as_ac_var=no"
64364 rm -f conftest.err conftest.$ac_objext \
64365 conftest$ac_exeext conftest.$ac_ext
64367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64369 if test `eval echo '${'$as_ac_var'}'` = yes; then
64370 cat >>confdefs.h <<_ACEOF
64371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64372 _ACEOF
64375 done
64377 else
64379 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
64380 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
64381 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
64382 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
64383 echo $ECHO_N "(cached) $ECHO_C" >&6
64384 else
64388 ac_ext=cc
64389 ac_cpp='$CXXCPP $CPPFLAGS'
64390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64394 cat >conftest.$ac_ext <<_ACEOF
64395 /* confdefs.h. */
64396 _ACEOF
64397 cat confdefs.h >>conftest.$ac_ext
64398 cat >>conftest.$ac_ext <<_ACEOF
64399 /* end confdefs.h. */
64400 #include <math.h>
64402 main ()
64404 _atan2f(0, 0);
64406 return 0;
64408 _ACEOF
64409 rm -f conftest.$ac_objext
64410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64411 (eval $ac_compile) 2>conftest.er1
64412 ac_status=$?
64413 grep -v '^ *+' conftest.er1 >conftest.err
64414 rm -f conftest.er1
64415 cat conftest.err >&5
64416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64417 (exit $ac_status); } &&
64418 { ac_try='test -z "$ac_cxx_werror_flag"
64419 || test ! -s conftest.err'
64420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64421 (eval $ac_try) 2>&5
64422 ac_status=$?
64423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64424 (exit $ac_status); }; } &&
64425 { ac_try='test -s conftest.$ac_objext'
64426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64427 (eval $ac_try) 2>&5
64428 ac_status=$?
64429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64430 (exit $ac_status); }; }; then
64431 glibcxx_cv_func__atan2f_use=yes
64432 else
64433 echo "$as_me: failed program was:" >&5
64434 sed 's/^/| /' conftest.$ac_ext >&5
64436 glibcxx_cv_func__atan2f_use=no
64438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64439 ac_ext=c
64440 ac_cpp='$CPP $CPPFLAGS'
64441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
64450 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
64452 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
64454 for ac_func in _atan2f
64456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64457 echo "$as_me:$LINENO: checking for $ac_func" >&5
64458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64459 if eval "test \"\${$as_ac_var+set}\" = set"; then
64460 echo $ECHO_N "(cached) $ECHO_C" >&6
64461 else
64462 if test x$gcc_no_link = xyes; then
64463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64465 { (exit 1); exit 1; }; }
64467 cat >conftest.$ac_ext <<_ACEOF
64468 /* confdefs.h. */
64469 _ACEOF
64470 cat confdefs.h >>conftest.$ac_ext
64471 cat >>conftest.$ac_ext <<_ACEOF
64472 /* end confdefs.h. */
64473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64475 #define $ac_func innocuous_$ac_func
64477 /* System header to define __stub macros and hopefully few prototypes,
64478 which can conflict with char $ac_func (); below.
64479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64480 <limits.h> exists even on freestanding compilers. */
64482 #ifdef __STDC__
64483 # include <limits.h>
64484 #else
64485 # include <assert.h>
64486 #endif
64488 #undef $ac_func
64490 /* Override any gcc2 internal prototype to avoid an error. */
64491 #ifdef __cplusplus
64492 extern "C"
64494 #endif
64495 /* We use char because int might match the return type of a gcc2
64496 builtin and then its argument prototype would still apply. */
64497 char $ac_func ();
64498 /* The GNU C library defines this for functions which it implements
64499 to always fail with ENOSYS. Some functions are actually named
64500 something starting with __ and the normal name is an alias. */
64501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64502 choke me
64503 #else
64504 char (*f) () = $ac_func;
64505 #endif
64506 #ifdef __cplusplus
64508 #endif
64511 main ()
64513 return f != $ac_func;
64515 return 0;
64517 _ACEOF
64518 rm -f conftest.$ac_objext conftest$ac_exeext
64519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64520 (eval $ac_link) 2>conftest.er1
64521 ac_status=$?
64522 grep -v '^ *+' conftest.er1 >conftest.err
64523 rm -f conftest.er1
64524 cat conftest.err >&5
64525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64526 (exit $ac_status); } &&
64527 { ac_try='test -z "$ac_c_werror_flag"
64528 || test ! -s conftest.err'
64529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64530 (eval $ac_try) 2>&5
64531 ac_status=$?
64532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64533 (exit $ac_status); }; } &&
64534 { ac_try='test -s conftest$ac_exeext'
64535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64536 (eval $ac_try) 2>&5
64537 ac_status=$?
64538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64539 (exit $ac_status); }; }; then
64540 eval "$as_ac_var=yes"
64541 else
64542 echo "$as_me: failed program was:" >&5
64543 sed 's/^/| /' conftest.$ac_ext >&5
64545 eval "$as_ac_var=no"
64547 rm -f conftest.err conftest.$ac_objext \
64548 conftest$ac_exeext conftest.$ac_ext
64550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64552 if test `eval echo '${'$as_ac_var'}'` = yes; then
64553 cat >>confdefs.h <<_ACEOF
64554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64555 _ACEOF
64558 done
64568 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
64569 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
64570 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
64571 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
64572 echo $ECHO_N "(cached) $ECHO_C" >&6
64573 else
64577 ac_ext=cc
64578 ac_cpp='$CXXCPP $CPPFLAGS'
64579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64583 cat >conftest.$ac_ext <<_ACEOF
64584 /* confdefs.h. */
64585 _ACEOF
64586 cat confdefs.h >>conftest.$ac_ext
64587 cat >>conftest.$ac_ext <<_ACEOF
64588 /* end confdefs.h. */
64589 #include <math.h>
64590 #ifdef HAVE_IEEEFP_H
64591 #include <ieeefp.h>
64592 #endif
64595 main ()
64597 fabsf(0);
64599 return 0;
64601 _ACEOF
64602 rm -f conftest.$ac_objext
64603 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64604 (eval $ac_compile) 2>conftest.er1
64605 ac_status=$?
64606 grep -v '^ *+' conftest.er1 >conftest.err
64607 rm -f conftest.er1
64608 cat conftest.err >&5
64609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64610 (exit $ac_status); } &&
64611 { ac_try='test -z "$ac_cxx_werror_flag"
64612 || test ! -s conftest.err'
64613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64614 (eval $ac_try) 2>&5
64615 ac_status=$?
64616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64617 (exit $ac_status); }; } &&
64618 { ac_try='test -s conftest.$ac_objext'
64619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64620 (eval $ac_try) 2>&5
64621 ac_status=$?
64622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64623 (exit $ac_status); }; }; then
64624 glibcxx_cv_func_fabsf_use=yes
64625 else
64626 echo "$as_me: failed program was:" >&5
64627 sed 's/^/| /' conftest.$ac_ext >&5
64629 glibcxx_cv_func_fabsf_use=no
64631 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64632 ac_ext=c
64633 ac_cpp='$CPP $CPPFLAGS'
64634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64642 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
64643 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
64645 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
64647 for ac_func in fabsf
64649 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64650 echo "$as_me:$LINENO: checking for $ac_func" >&5
64651 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64652 if eval "test \"\${$as_ac_var+set}\" = set"; then
64653 echo $ECHO_N "(cached) $ECHO_C" >&6
64654 else
64655 if test x$gcc_no_link = xyes; then
64656 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64657 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64658 { (exit 1); exit 1; }; }
64660 cat >conftest.$ac_ext <<_ACEOF
64661 /* confdefs.h. */
64662 _ACEOF
64663 cat confdefs.h >>conftest.$ac_ext
64664 cat >>conftest.$ac_ext <<_ACEOF
64665 /* end confdefs.h. */
64666 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64667 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64668 #define $ac_func innocuous_$ac_func
64670 /* System header to define __stub macros and hopefully few prototypes,
64671 which can conflict with char $ac_func (); below.
64672 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64673 <limits.h> exists even on freestanding compilers. */
64675 #ifdef __STDC__
64676 # include <limits.h>
64677 #else
64678 # include <assert.h>
64679 #endif
64681 #undef $ac_func
64683 /* Override any gcc2 internal prototype to avoid an error. */
64684 #ifdef __cplusplus
64685 extern "C"
64687 #endif
64688 /* We use char because int might match the return type of a gcc2
64689 builtin and then its argument prototype would still apply. */
64690 char $ac_func ();
64691 /* The GNU C library defines this for functions which it implements
64692 to always fail with ENOSYS. Some functions are actually named
64693 something starting with __ and the normal name is an alias. */
64694 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64695 choke me
64696 #else
64697 char (*f) () = $ac_func;
64698 #endif
64699 #ifdef __cplusplus
64701 #endif
64704 main ()
64706 return f != $ac_func;
64708 return 0;
64710 _ACEOF
64711 rm -f conftest.$ac_objext conftest$ac_exeext
64712 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64713 (eval $ac_link) 2>conftest.er1
64714 ac_status=$?
64715 grep -v '^ *+' conftest.er1 >conftest.err
64716 rm -f conftest.er1
64717 cat conftest.err >&5
64718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64719 (exit $ac_status); } &&
64720 { ac_try='test -z "$ac_c_werror_flag"
64721 || test ! -s conftest.err'
64722 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64723 (eval $ac_try) 2>&5
64724 ac_status=$?
64725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64726 (exit $ac_status); }; } &&
64727 { ac_try='test -s conftest$ac_exeext'
64728 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64729 (eval $ac_try) 2>&5
64730 ac_status=$?
64731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64732 (exit $ac_status); }; }; then
64733 eval "$as_ac_var=yes"
64734 else
64735 echo "$as_me: failed program was:" >&5
64736 sed 's/^/| /' conftest.$ac_ext >&5
64738 eval "$as_ac_var=no"
64740 rm -f conftest.err conftest.$ac_objext \
64741 conftest$ac_exeext conftest.$ac_ext
64743 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64744 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64745 if test `eval echo '${'$as_ac_var'}'` = yes; then
64746 cat >>confdefs.h <<_ACEOF
64747 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64748 _ACEOF
64751 done
64753 else
64755 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
64756 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
64757 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
64758 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
64759 echo $ECHO_N "(cached) $ECHO_C" >&6
64760 else
64764 ac_ext=cc
64765 ac_cpp='$CXXCPP $CPPFLAGS'
64766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64770 cat >conftest.$ac_ext <<_ACEOF
64771 /* confdefs.h. */
64772 _ACEOF
64773 cat confdefs.h >>conftest.$ac_ext
64774 cat >>conftest.$ac_ext <<_ACEOF
64775 /* end confdefs.h. */
64776 #include <math.h>
64777 #ifdef HAVE_IEEEFP_H
64778 #include <ieeefp.h>
64779 #endif
64782 main ()
64784 _fabsf(0);
64786 return 0;
64788 _ACEOF
64789 rm -f conftest.$ac_objext
64790 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64791 (eval $ac_compile) 2>conftest.er1
64792 ac_status=$?
64793 grep -v '^ *+' conftest.er1 >conftest.err
64794 rm -f conftest.er1
64795 cat conftest.err >&5
64796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64797 (exit $ac_status); } &&
64798 { ac_try='test -z "$ac_cxx_werror_flag"
64799 || test ! -s conftest.err'
64800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64801 (eval $ac_try) 2>&5
64802 ac_status=$?
64803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64804 (exit $ac_status); }; } &&
64805 { ac_try='test -s conftest.$ac_objext'
64806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64807 (eval $ac_try) 2>&5
64808 ac_status=$?
64809 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64810 (exit $ac_status); }; }; then
64811 glibcxx_cv_func__fabsf_use=yes
64812 else
64813 echo "$as_me: failed program was:" >&5
64814 sed 's/^/| /' conftest.$ac_ext >&5
64816 glibcxx_cv_func__fabsf_use=no
64818 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
64819 ac_ext=c
64820 ac_cpp='$CPP $CPPFLAGS'
64821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64829 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
64830 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
64832 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
64834 for ac_func in _fabsf
64836 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
64837 echo "$as_me:$LINENO: checking for $ac_func" >&5
64838 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
64839 if eval "test \"\${$as_ac_var+set}\" = set"; then
64840 echo $ECHO_N "(cached) $ECHO_C" >&6
64841 else
64842 if test x$gcc_no_link = xyes; then
64843 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
64844 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
64845 { (exit 1); exit 1; }; }
64847 cat >conftest.$ac_ext <<_ACEOF
64848 /* confdefs.h. */
64849 _ACEOF
64850 cat confdefs.h >>conftest.$ac_ext
64851 cat >>conftest.$ac_ext <<_ACEOF
64852 /* end confdefs.h. */
64853 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
64854 For example, HP-UX 11i <limits.h> declares gettimeofday. */
64855 #define $ac_func innocuous_$ac_func
64857 /* System header to define __stub macros and hopefully few prototypes,
64858 which can conflict with char $ac_func (); below.
64859 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
64860 <limits.h> exists even on freestanding compilers. */
64862 #ifdef __STDC__
64863 # include <limits.h>
64864 #else
64865 # include <assert.h>
64866 #endif
64868 #undef $ac_func
64870 /* Override any gcc2 internal prototype to avoid an error. */
64871 #ifdef __cplusplus
64872 extern "C"
64874 #endif
64875 /* We use char because int might match the return type of a gcc2
64876 builtin and then its argument prototype would still apply. */
64877 char $ac_func ();
64878 /* The GNU C library defines this for functions which it implements
64879 to always fail with ENOSYS. Some functions are actually named
64880 something starting with __ and the normal name is an alias. */
64881 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
64882 choke me
64883 #else
64884 char (*f) () = $ac_func;
64885 #endif
64886 #ifdef __cplusplus
64888 #endif
64891 main ()
64893 return f != $ac_func;
64895 return 0;
64897 _ACEOF
64898 rm -f conftest.$ac_objext conftest$ac_exeext
64899 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
64900 (eval $ac_link) 2>conftest.er1
64901 ac_status=$?
64902 grep -v '^ *+' conftest.er1 >conftest.err
64903 rm -f conftest.er1
64904 cat conftest.err >&5
64905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64906 (exit $ac_status); } &&
64907 { ac_try='test -z "$ac_c_werror_flag"
64908 || test ! -s conftest.err'
64909 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64910 (eval $ac_try) 2>&5
64911 ac_status=$?
64912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64913 (exit $ac_status); }; } &&
64914 { ac_try='test -s conftest$ac_exeext'
64915 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64916 (eval $ac_try) 2>&5
64917 ac_status=$?
64918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64919 (exit $ac_status); }; }; then
64920 eval "$as_ac_var=yes"
64921 else
64922 echo "$as_me: failed program was:" >&5
64923 sed 's/^/| /' conftest.$ac_ext >&5
64925 eval "$as_ac_var=no"
64927 rm -f conftest.err conftest.$ac_objext \
64928 conftest$ac_exeext conftest.$ac_ext
64930 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
64931 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
64932 if test `eval echo '${'$as_ac_var'}'` = yes; then
64933 cat >>confdefs.h <<_ACEOF
64934 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
64935 _ACEOF
64938 done
64948 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
64949 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
64950 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
64951 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
64952 echo $ECHO_N "(cached) $ECHO_C" >&6
64953 else
64957 ac_ext=cc
64958 ac_cpp='$CXXCPP $CPPFLAGS'
64959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64963 cat >conftest.$ac_ext <<_ACEOF
64964 /* confdefs.h. */
64965 _ACEOF
64966 cat confdefs.h >>conftest.$ac_ext
64967 cat >>conftest.$ac_ext <<_ACEOF
64968 /* end confdefs.h. */
64969 #include <math.h>
64971 main ()
64973 fmodf(0, 0);
64975 return 0;
64977 _ACEOF
64978 rm -f conftest.$ac_objext
64979 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
64980 (eval $ac_compile) 2>conftest.er1
64981 ac_status=$?
64982 grep -v '^ *+' conftest.er1 >conftest.err
64983 rm -f conftest.er1
64984 cat conftest.err >&5
64985 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64986 (exit $ac_status); } &&
64987 { ac_try='test -z "$ac_cxx_werror_flag"
64988 || test ! -s conftest.err'
64989 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64990 (eval $ac_try) 2>&5
64991 ac_status=$?
64992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64993 (exit $ac_status); }; } &&
64994 { ac_try='test -s conftest.$ac_objext'
64995 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
64996 (eval $ac_try) 2>&5
64997 ac_status=$?
64998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
64999 (exit $ac_status); }; }; then
65000 glibcxx_cv_func_fmodf_use=yes
65001 else
65002 echo "$as_me: failed program was:" >&5
65003 sed 's/^/| /' conftest.$ac_ext >&5
65005 glibcxx_cv_func_fmodf_use=no
65007 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65008 ac_ext=c
65009 ac_cpp='$CPP $CPPFLAGS'
65010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65018 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
65019 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
65021 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
65023 for ac_func in fmodf
65025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65026 echo "$as_me:$LINENO: checking for $ac_func" >&5
65027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65028 if eval "test \"\${$as_ac_var+set}\" = set"; then
65029 echo $ECHO_N "(cached) $ECHO_C" >&6
65030 else
65031 if test x$gcc_no_link = xyes; then
65032 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65033 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65034 { (exit 1); exit 1; }; }
65036 cat >conftest.$ac_ext <<_ACEOF
65037 /* confdefs.h. */
65038 _ACEOF
65039 cat confdefs.h >>conftest.$ac_ext
65040 cat >>conftest.$ac_ext <<_ACEOF
65041 /* end confdefs.h. */
65042 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65043 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65044 #define $ac_func innocuous_$ac_func
65046 /* System header to define __stub macros and hopefully few prototypes,
65047 which can conflict with char $ac_func (); below.
65048 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65049 <limits.h> exists even on freestanding compilers. */
65051 #ifdef __STDC__
65052 # include <limits.h>
65053 #else
65054 # include <assert.h>
65055 #endif
65057 #undef $ac_func
65059 /* Override any gcc2 internal prototype to avoid an error. */
65060 #ifdef __cplusplus
65061 extern "C"
65063 #endif
65064 /* We use char because int might match the return type of a gcc2
65065 builtin and then its argument prototype would still apply. */
65066 char $ac_func ();
65067 /* The GNU C library defines this for functions which it implements
65068 to always fail with ENOSYS. Some functions are actually named
65069 something starting with __ and the normal name is an alias. */
65070 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65071 choke me
65072 #else
65073 char (*f) () = $ac_func;
65074 #endif
65075 #ifdef __cplusplus
65077 #endif
65080 main ()
65082 return f != $ac_func;
65084 return 0;
65086 _ACEOF
65087 rm -f conftest.$ac_objext conftest$ac_exeext
65088 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65089 (eval $ac_link) 2>conftest.er1
65090 ac_status=$?
65091 grep -v '^ *+' conftest.er1 >conftest.err
65092 rm -f conftest.er1
65093 cat conftest.err >&5
65094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65095 (exit $ac_status); } &&
65096 { ac_try='test -z "$ac_c_werror_flag"
65097 || test ! -s conftest.err'
65098 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65099 (eval $ac_try) 2>&5
65100 ac_status=$?
65101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65102 (exit $ac_status); }; } &&
65103 { ac_try='test -s conftest$ac_exeext'
65104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65105 (eval $ac_try) 2>&5
65106 ac_status=$?
65107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65108 (exit $ac_status); }; }; then
65109 eval "$as_ac_var=yes"
65110 else
65111 echo "$as_me: failed program was:" >&5
65112 sed 's/^/| /' conftest.$ac_ext >&5
65114 eval "$as_ac_var=no"
65116 rm -f conftest.err conftest.$ac_objext \
65117 conftest$ac_exeext conftest.$ac_ext
65119 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65120 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65121 if test `eval echo '${'$as_ac_var'}'` = yes; then
65122 cat >>confdefs.h <<_ACEOF
65123 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65124 _ACEOF
65127 done
65129 else
65131 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
65132 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
65133 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
65134 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
65135 echo $ECHO_N "(cached) $ECHO_C" >&6
65136 else
65140 ac_ext=cc
65141 ac_cpp='$CXXCPP $CPPFLAGS'
65142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65146 cat >conftest.$ac_ext <<_ACEOF
65147 /* confdefs.h. */
65148 _ACEOF
65149 cat confdefs.h >>conftest.$ac_ext
65150 cat >>conftest.$ac_ext <<_ACEOF
65151 /* end confdefs.h. */
65152 #include <math.h>
65154 main ()
65156 _fmodf(0, 0);
65158 return 0;
65160 _ACEOF
65161 rm -f conftest.$ac_objext
65162 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65163 (eval $ac_compile) 2>conftest.er1
65164 ac_status=$?
65165 grep -v '^ *+' conftest.er1 >conftest.err
65166 rm -f conftest.er1
65167 cat conftest.err >&5
65168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65169 (exit $ac_status); } &&
65170 { ac_try='test -z "$ac_cxx_werror_flag"
65171 || test ! -s conftest.err'
65172 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65173 (eval $ac_try) 2>&5
65174 ac_status=$?
65175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65176 (exit $ac_status); }; } &&
65177 { ac_try='test -s conftest.$ac_objext'
65178 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65179 (eval $ac_try) 2>&5
65180 ac_status=$?
65181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65182 (exit $ac_status); }; }; then
65183 glibcxx_cv_func__fmodf_use=yes
65184 else
65185 echo "$as_me: failed program was:" >&5
65186 sed 's/^/| /' conftest.$ac_ext >&5
65188 glibcxx_cv_func__fmodf_use=no
65190 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65191 ac_ext=c
65192 ac_cpp='$CPP $CPPFLAGS'
65193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65201 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
65202 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
65204 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
65206 for ac_func in _fmodf
65208 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65209 echo "$as_me:$LINENO: checking for $ac_func" >&5
65210 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65211 if eval "test \"\${$as_ac_var+set}\" = set"; then
65212 echo $ECHO_N "(cached) $ECHO_C" >&6
65213 else
65214 if test x$gcc_no_link = xyes; then
65215 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65216 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65217 { (exit 1); exit 1; }; }
65219 cat >conftest.$ac_ext <<_ACEOF
65220 /* confdefs.h. */
65221 _ACEOF
65222 cat confdefs.h >>conftest.$ac_ext
65223 cat >>conftest.$ac_ext <<_ACEOF
65224 /* end confdefs.h. */
65225 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65226 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65227 #define $ac_func innocuous_$ac_func
65229 /* System header to define __stub macros and hopefully few prototypes,
65230 which can conflict with char $ac_func (); below.
65231 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65232 <limits.h> exists even on freestanding compilers. */
65234 #ifdef __STDC__
65235 # include <limits.h>
65236 #else
65237 # include <assert.h>
65238 #endif
65240 #undef $ac_func
65242 /* Override any gcc2 internal prototype to avoid an error. */
65243 #ifdef __cplusplus
65244 extern "C"
65246 #endif
65247 /* We use char because int might match the return type of a gcc2
65248 builtin and then its argument prototype would still apply. */
65249 char $ac_func ();
65250 /* The GNU C library defines this for functions which it implements
65251 to always fail with ENOSYS. Some functions are actually named
65252 something starting with __ and the normal name is an alias. */
65253 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65254 choke me
65255 #else
65256 char (*f) () = $ac_func;
65257 #endif
65258 #ifdef __cplusplus
65260 #endif
65263 main ()
65265 return f != $ac_func;
65267 return 0;
65269 _ACEOF
65270 rm -f conftest.$ac_objext conftest$ac_exeext
65271 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65272 (eval $ac_link) 2>conftest.er1
65273 ac_status=$?
65274 grep -v '^ *+' conftest.er1 >conftest.err
65275 rm -f conftest.er1
65276 cat conftest.err >&5
65277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65278 (exit $ac_status); } &&
65279 { ac_try='test -z "$ac_c_werror_flag"
65280 || test ! -s conftest.err'
65281 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65282 (eval $ac_try) 2>&5
65283 ac_status=$?
65284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65285 (exit $ac_status); }; } &&
65286 { ac_try='test -s conftest$ac_exeext'
65287 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65288 (eval $ac_try) 2>&5
65289 ac_status=$?
65290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65291 (exit $ac_status); }; }; then
65292 eval "$as_ac_var=yes"
65293 else
65294 echo "$as_me: failed program was:" >&5
65295 sed 's/^/| /' conftest.$ac_ext >&5
65297 eval "$as_ac_var=no"
65299 rm -f conftest.err conftest.$ac_objext \
65300 conftest$ac_exeext conftest.$ac_ext
65302 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65303 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65304 if test `eval echo '${'$as_ac_var'}'` = yes; then
65305 cat >>confdefs.h <<_ACEOF
65306 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65307 _ACEOF
65310 done
65320 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
65321 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
65322 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
65323 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
65324 echo $ECHO_N "(cached) $ECHO_C" >&6
65325 else
65329 ac_ext=cc
65330 ac_cpp='$CXXCPP $CPPFLAGS'
65331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65335 cat >conftest.$ac_ext <<_ACEOF
65336 /* confdefs.h. */
65337 _ACEOF
65338 cat confdefs.h >>conftest.$ac_ext
65339 cat >>conftest.$ac_ext <<_ACEOF
65340 /* end confdefs.h. */
65341 #include <math.h>
65343 main ()
65345 frexpf(0, 0);
65347 return 0;
65349 _ACEOF
65350 rm -f conftest.$ac_objext
65351 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65352 (eval $ac_compile) 2>conftest.er1
65353 ac_status=$?
65354 grep -v '^ *+' conftest.er1 >conftest.err
65355 rm -f conftest.er1
65356 cat conftest.err >&5
65357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65358 (exit $ac_status); } &&
65359 { ac_try='test -z "$ac_cxx_werror_flag"
65360 || test ! -s conftest.err'
65361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65362 (eval $ac_try) 2>&5
65363 ac_status=$?
65364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65365 (exit $ac_status); }; } &&
65366 { ac_try='test -s conftest.$ac_objext'
65367 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65368 (eval $ac_try) 2>&5
65369 ac_status=$?
65370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65371 (exit $ac_status); }; }; then
65372 glibcxx_cv_func_frexpf_use=yes
65373 else
65374 echo "$as_me: failed program was:" >&5
65375 sed 's/^/| /' conftest.$ac_ext >&5
65377 glibcxx_cv_func_frexpf_use=no
65379 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65380 ac_ext=c
65381 ac_cpp='$CPP $CPPFLAGS'
65382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65390 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
65391 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
65393 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
65395 for ac_func in frexpf
65397 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65398 echo "$as_me:$LINENO: checking for $ac_func" >&5
65399 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65400 if eval "test \"\${$as_ac_var+set}\" = set"; then
65401 echo $ECHO_N "(cached) $ECHO_C" >&6
65402 else
65403 if test x$gcc_no_link = xyes; then
65404 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65405 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65406 { (exit 1); exit 1; }; }
65408 cat >conftest.$ac_ext <<_ACEOF
65409 /* confdefs.h. */
65410 _ACEOF
65411 cat confdefs.h >>conftest.$ac_ext
65412 cat >>conftest.$ac_ext <<_ACEOF
65413 /* end confdefs.h. */
65414 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65415 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65416 #define $ac_func innocuous_$ac_func
65418 /* System header to define __stub macros and hopefully few prototypes,
65419 which can conflict with char $ac_func (); below.
65420 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65421 <limits.h> exists even on freestanding compilers. */
65423 #ifdef __STDC__
65424 # include <limits.h>
65425 #else
65426 # include <assert.h>
65427 #endif
65429 #undef $ac_func
65431 /* Override any gcc2 internal prototype to avoid an error. */
65432 #ifdef __cplusplus
65433 extern "C"
65435 #endif
65436 /* We use char because int might match the return type of a gcc2
65437 builtin and then its argument prototype would still apply. */
65438 char $ac_func ();
65439 /* The GNU C library defines this for functions which it implements
65440 to always fail with ENOSYS. Some functions are actually named
65441 something starting with __ and the normal name is an alias. */
65442 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65443 choke me
65444 #else
65445 char (*f) () = $ac_func;
65446 #endif
65447 #ifdef __cplusplus
65449 #endif
65452 main ()
65454 return f != $ac_func;
65456 return 0;
65458 _ACEOF
65459 rm -f conftest.$ac_objext conftest$ac_exeext
65460 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65461 (eval $ac_link) 2>conftest.er1
65462 ac_status=$?
65463 grep -v '^ *+' conftest.er1 >conftest.err
65464 rm -f conftest.er1
65465 cat conftest.err >&5
65466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65467 (exit $ac_status); } &&
65468 { ac_try='test -z "$ac_c_werror_flag"
65469 || test ! -s conftest.err'
65470 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65471 (eval $ac_try) 2>&5
65472 ac_status=$?
65473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65474 (exit $ac_status); }; } &&
65475 { ac_try='test -s conftest$ac_exeext'
65476 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65477 (eval $ac_try) 2>&5
65478 ac_status=$?
65479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65480 (exit $ac_status); }; }; then
65481 eval "$as_ac_var=yes"
65482 else
65483 echo "$as_me: failed program was:" >&5
65484 sed 's/^/| /' conftest.$ac_ext >&5
65486 eval "$as_ac_var=no"
65488 rm -f conftest.err conftest.$ac_objext \
65489 conftest$ac_exeext conftest.$ac_ext
65491 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65492 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65493 if test `eval echo '${'$as_ac_var'}'` = yes; then
65494 cat >>confdefs.h <<_ACEOF
65495 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65496 _ACEOF
65499 done
65501 else
65503 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
65504 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
65505 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
65506 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
65507 echo $ECHO_N "(cached) $ECHO_C" >&6
65508 else
65512 ac_ext=cc
65513 ac_cpp='$CXXCPP $CPPFLAGS'
65514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65518 cat >conftest.$ac_ext <<_ACEOF
65519 /* confdefs.h. */
65520 _ACEOF
65521 cat confdefs.h >>conftest.$ac_ext
65522 cat >>conftest.$ac_ext <<_ACEOF
65523 /* end confdefs.h. */
65524 #include <math.h>
65526 main ()
65528 _frexpf(0, 0);
65530 return 0;
65532 _ACEOF
65533 rm -f conftest.$ac_objext
65534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65535 (eval $ac_compile) 2>conftest.er1
65536 ac_status=$?
65537 grep -v '^ *+' conftest.er1 >conftest.err
65538 rm -f conftest.er1
65539 cat conftest.err >&5
65540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65541 (exit $ac_status); } &&
65542 { ac_try='test -z "$ac_cxx_werror_flag"
65543 || test ! -s conftest.err'
65544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65545 (eval $ac_try) 2>&5
65546 ac_status=$?
65547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65548 (exit $ac_status); }; } &&
65549 { ac_try='test -s conftest.$ac_objext'
65550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65551 (eval $ac_try) 2>&5
65552 ac_status=$?
65553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65554 (exit $ac_status); }; }; then
65555 glibcxx_cv_func__frexpf_use=yes
65556 else
65557 echo "$as_me: failed program was:" >&5
65558 sed 's/^/| /' conftest.$ac_ext >&5
65560 glibcxx_cv_func__frexpf_use=no
65562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65563 ac_ext=c
65564 ac_cpp='$CPP $CPPFLAGS'
65565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
65574 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
65576 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
65578 for ac_func in _frexpf
65580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65581 echo "$as_me:$LINENO: checking for $ac_func" >&5
65582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65583 if eval "test \"\${$as_ac_var+set}\" = set"; then
65584 echo $ECHO_N "(cached) $ECHO_C" >&6
65585 else
65586 if test x$gcc_no_link = xyes; then
65587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65589 { (exit 1); exit 1; }; }
65591 cat >conftest.$ac_ext <<_ACEOF
65592 /* confdefs.h. */
65593 _ACEOF
65594 cat confdefs.h >>conftest.$ac_ext
65595 cat >>conftest.$ac_ext <<_ACEOF
65596 /* end confdefs.h. */
65597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65599 #define $ac_func innocuous_$ac_func
65601 /* System header to define __stub macros and hopefully few prototypes,
65602 which can conflict with char $ac_func (); below.
65603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65604 <limits.h> exists even on freestanding compilers. */
65606 #ifdef __STDC__
65607 # include <limits.h>
65608 #else
65609 # include <assert.h>
65610 #endif
65612 #undef $ac_func
65614 /* Override any gcc2 internal prototype to avoid an error. */
65615 #ifdef __cplusplus
65616 extern "C"
65618 #endif
65619 /* We use char because int might match the return type of a gcc2
65620 builtin and then its argument prototype would still apply. */
65621 char $ac_func ();
65622 /* The GNU C library defines this for functions which it implements
65623 to always fail with ENOSYS. Some functions are actually named
65624 something starting with __ and the normal name is an alias. */
65625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65626 choke me
65627 #else
65628 char (*f) () = $ac_func;
65629 #endif
65630 #ifdef __cplusplus
65632 #endif
65635 main ()
65637 return f != $ac_func;
65639 return 0;
65641 _ACEOF
65642 rm -f conftest.$ac_objext conftest$ac_exeext
65643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65644 (eval $ac_link) 2>conftest.er1
65645 ac_status=$?
65646 grep -v '^ *+' conftest.er1 >conftest.err
65647 rm -f conftest.er1
65648 cat conftest.err >&5
65649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65650 (exit $ac_status); } &&
65651 { ac_try='test -z "$ac_c_werror_flag"
65652 || test ! -s conftest.err'
65653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65654 (eval $ac_try) 2>&5
65655 ac_status=$?
65656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65657 (exit $ac_status); }; } &&
65658 { ac_try='test -s conftest$ac_exeext'
65659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65660 (eval $ac_try) 2>&5
65661 ac_status=$?
65662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65663 (exit $ac_status); }; }; then
65664 eval "$as_ac_var=yes"
65665 else
65666 echo "$as_me: failed program was:" >&5
65667 sed 's/^/| /' conftest.$ac_ext >&5
65669 eval "$as_ac_var=no"
65671 rm -f conftest.err conftest.$ac_objext \
65672 conftest$ac_exeext conftest.$ac_ext
65674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65676 if test `eval echo '${'$as_ac_var'}'` = yes; then
65677 cat >>confdefs.h <<_ACEOF
65678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65679 _ACEOF
65682 done
65692 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
65693 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
65694 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
65695 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
65696 echo $ECHO_N "(cached) $ECHO_C" >&6
65697 else
65701 ac_ext=cc
65702 ac_cpp='$CXXCPP $CPPFLAGS'
65703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65707 cat >conftest.$ac_ext <<_ACEOF
65708 /* confdefs.h. */
65709 _ACEOF
65710 cat confdefs.h >>conftest.$ac_ext
65711 cat >>conftest.$ac_ext <<_ACEOF
65712 /* end confdefs.h. */
65713 #include <math.h>
65715 main ()
65717 hypotf(0, 0);
65719 return 0;
65721 _ACEOF
65722 rm -f conftest.$ac_objext
65723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65724 (eval $ac_compile) 2>conftest.er1
65725 ac_status=$?
65726 grep -v '^ *+' conftest.er1 >conftest.err
65727 rm -f conftest.er1
65728 cat conftest.err >&5
65729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65730 (exit $ac_status); } &&
65731 { ac_try='test -z "$ac_cxx_werror_flag"
65732 || test ! -s conftest.err'
65733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65734 (eval $ac_try) 2>&5
65735 ac_status=$?
65736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65737 (exit $ac_status); }; } &&
65738 { ac_try='test -s conftest.$ac_objext'
65739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65740 (eval $ac_try) 2>&5
65741 ac_status=$?
65742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65743 (exit $ac_status); }; }; then
65744 glibcxx_cv_func_hypotf_use=yes
65745 else
65746 echo "$as_me: failed program was:" >&5
65747 sed 's/^/| /' conftest.$ac_ext >&5
65749 glibcxx_cv_func_hypotf_use=no
65751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65752 ac_ext=c
65753 ac_cpp='$CPP $CPPFLAGS'
65754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
65763 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
65765 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
65767 for ac_func in hypotf
65769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65770 echo "$as_me:$LINENO: checking for $ac_func" >&5
65771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65772 if eval "test \"\${$as_ac_var+set}\" = set"; then
65773 echo $ECHO_N "(cached) $ECHO_C" >&6
65774 else
65775 if test x$gcc_no_link = xyes; then
65776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65778 { (exit 1); exit 1; }; }
65780 cat >conftest.$ac_ext <<_ACEOF
65781 /* confdefs.h. */
65782 _ACEOF
65783 cat confdefs.h >>conftest.$ac_ext
65784 cat >>conftest.$ac_ext <<_ACEOF
65785 /* end confdefs.h. */
65786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65788 #define $ac_func innocuous_$ac_func
65790 /* System header to define __stub macros and hopefully few prototypes,
65791 which can conflict with char $ac_func (); below.
65792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65793 <limits.h> exists even on freestanding compilers. */
65795 #ifdef __STDC__
65796 # include <limits.h>
65797 #else
65798 # include <assert.h>
65799 #endif
65801 #undef $ac_func
65803 /* Override any gcc2 internal prototype to avoid an error. */
65804 #ifdef __cplusplus
65805 extern "C"
65807 #endif
65808 /* We use char because int might match the return type of a gcc2
65809 builtin and then its argument prototype would still apply. */
65810 char $ac_func ();
65811 /* The GNU C library defines this for functions which it implements
65812 to always fail with ENOSYS. Some functions are actually named
65813 something starting with __ and the normal name is an alias. */
65814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65815 choke me
65816 #else
65817 char (*f) () = $ac_func;
65818 #endif
65819 #ifdef __cplusplus
65821 #endif
65824 main ()
65826 return f != $ac_func;
65828 return 0;
65830 _ACEOF
65831 rm -f conftest.$ac_objext conftest$ac_exeext
65832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
65833 (eval $ac_link) 2>conftest.er1
65834 ac_status=$?
65835 grep -v '^ *+' conftest.er1 >conftest.err
65836 rm -f conftest.er1
65837 cat conftest.err >&5
65838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65839 (exit $ac_status); } &&
65840 { ac_try='test -z "$ac_c_werror_flag"
65841 || test ! -s conftest.err'
65842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65843 (eval $ac_try) 2>&5
65844 ac_status=$?
65845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65846 (exit $ac_status); }; } &&
65847 { ac_try='test -s conftest$ac_exeext'
65848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65849 (eval $ac_try) 2>&5
65850 ac_status=$?
65851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65852 (exit $ac_status); }; }; then
65853 eval "$as_ac_var=yes"
65854 else
65855 echo "$as_me: failed program was:" >&5
65856 sed 's/^/| /' conftest.$ac_ext >&5
65858 eval "$as_ac_var=no"
65860 rm -f conftest.err conftest.$ac_objext \
65861 conftest$ac_exeext conftest.$ac_ext
65863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
65864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
65865 if test `eval echo '${'$as_ac_var'}'` = yes; then
65866 cat >>confdefs.h <<_ACEOF
65867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
65868 _ACEOF
65871 done
65873 else
65875 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
65876 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
65877 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
65878 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
65879 echo $ECHO_N "(cached) $ECHO_C" >&6
65880 else
65884 ac_ext=cc
65885 ac_cpp='$CXXCPP $CPPFLAGS'
65886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65890 cat >conftest.$ac_ext <<_ACEOF
65891 /* confdefs.h. */
65892 _ACEOF
65893 cat confdefs.h >>conftest.$ac_ext
65894 cat >>conftest.$ac_ext <<_ACEOF
65895 /* end confdefs.h. */
65896 #include <math.h>
65898 main ()
65900 _hypotf(0, 0);
65902 return 0;
65904 _ACEOF
65905 rm -f conftest.$ac_objext
65906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
65907 (eval $ac_compile) 2>conftest.er1
65908 ac_status=$?
65909 grep -v '^ *+' conftest.er1 >conftest.err
65910 rm -f conftest.er1
65911 cat conftest.err >&5
65912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65913 (exit $ac_status); } &&
65914 { ac_try='test -z "$ac_cxx_werror_flag"
65915 || test ! -s conftest.err'
65916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65917 (eval $ac_try) 2>&5
65918 ac_status=$?
65919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65920 (exit $ac_status); }; } &&
65921 { ac_try='test -s conftest.$ac_objext'
65922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
65923 (eval $ac_try) 2>&5
65924 ac_status=$?
65925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
65926 (exit $ac_status); }; }; then
65927 glibcxx_cv_func__hypotf_use=yes
65928 else
65929 echo "$as_me: failed program was:" >&5
65930 sed 's/^/| /' conftest.$ac_ext >&5
65932 glibcxx_cv_func__hypotf_use=no
65934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
65935 ac_ext=c
65936 ac_cpp='$CPP $CPPFLAGS'
65937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
65946 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
65948 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
65950 for ac_func in _hypotf
65952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
65953 echo "$as_me:$LINENO: checking for $ac_func" >&5
65954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
65955 if eval "test \"\${$as_ac_var+set}\" = set"; then
65956 echo $ECHO_N "(cached) $ECHO_C" >&6
65957 else
65958 if test x$gcc_no_link = xyes; then
65959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
65960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
65961 { (exit 1); exit 1; }; }
65963 cat >conftest.$ac_ext <<_ACEOF
65964 /* confdefs.h. */
65965 _ACEOF
65966 cat confdefs.h >>conftest.$ac_ext
65967 cat >>conftest.$ac_ext <<_ACEOF
65968 /* end confdefs.h. */
65969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
65970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
65971 #define $ac_func innocuous_$ac_func
65973 /* System header to define __stub macros and hopefully few prototypes,
65974 which can conflict with char $ac_func (); below.
65975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
65976 <limits.h> exists even on freestanding compilers. */
65978 #ifdef __STDC__
65979 # include <limits.h>
65980 #else
65981 # include <assert.h>
65982 #endif
65984 #undef $ac_func
65986 /* Override any gcc2 internal prototype to avoid an error. */
65987 #ifdef __cplusplus
65988 extern "C"
65990 #endif
65991 /* We use char because int might match the return type of a gcc2
65992 builtin and then its argument prototype would still apply. */
65993 char $ac_func ();
65994 /* The GNU C library defines this for functions which it implements
65995 to always fail with ENOSYS. Some functions are actually named
65996 something starting with __ and the normal name is an alias. */
65997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
65998 choke me
65999 #else
66000 char (*f) () = $ac_func;
66001 #endif
66002 #ifdef __cplusplus
66004 #endif
66007 main ()
66009 return f != $ac_func;
66011 return 0;
66013 _ACEOF
66014 rm -f conftest.$ac_objext conftest$ac_exeext
66015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66016 (eval $ac_link) 2>conftest.er1
66017 ac_status=$?
66018 grep -v '^ *+' conftest.er1 >conftest.err
66019 rm -f conftest.er1
66020 cat conftest.err >&5
66021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66022 (exit $ac_status); } &&
66023 { ac_try='test -z "$ac_c_werror_flag"
66024 || test ! -s conftest.err'
66025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66026 (eval $ac_try) 2>&5
66027 ac_status=$?
66028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66029 (exit $ac_status); }; } &&
66030 { ac_try='test -s conftest$ac_exeext'
66031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66032 (eval $ac_try) 2>&5
66033 ac_status=$?
66034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66035 (exit $ac_status); }; }; then
66036 eval "$as_ac_var=yes"
66037 else
66038 echo "$as_me: failed program was:" >&5
66039 sed 's/^/| /' conftest.$ac_ext >&5
66041 eval "$as_ac_var=no"
66043 rm -f conftest.err conftest.$ac_objext \
66044 conftest$ac_exeext conftest.$ac_ext
66046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66048 if test `eval echo '${'$as_ac_var'}'` = yes; then
66049 cat >>confdefs.h <<_ACEOF
66050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66051 _ACEOF
66054 done
66064 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
66065 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
66066 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
66067 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
66068 echo $ECHO_N "(cached) $ECHO_C" >&6
66069 else
66073 ac_ext=cc
66074 ac_cpp='$CXXCPP $CPPFLAGS'
66075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66079 cat >conftest.$ac_ext <<_ACEOF
66080 /* confdefs.h. */
66081 _ACEOF
66082 cat confdefs.h >>conftest.$ac_ext
66083 cat >>conftest.$ac_ext <<_ACEOF
66084 /* end confdefs.h. */
66085 #include <math.h>
66087 main ()
66089 ldexpf(0, 0);
66091 return 0;
66093 _ACEOF
66094 rm -f conftest.$ac_objext
66095 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66096 (eval $ac_compile) 2>conftest.er1
66097 ac_status=$?
66098 grep -v '^ *+' conftest.er1 >conftest.err
66099 rm -f conftest.er1
66100 cat conftest.err >&5
66101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66102 (exit $ac_status); } &&
66103 { ac_try='test -z "$ac_cxx_werror_flag"
66104 || test ! -s conftest.err'
66105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66106 (eval $ac_try) 2>&5
66107 ac_status=$?
66108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66109 (exit $ac_status); }; } &&
66110 { ac_try='test -s conftest.$ac_objext'
66111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66112 (eval $ac_try) 2>&5
66113 ac_status=$?
66114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66115 (exit $ac_status); }; }; then
66116 glibcxx_cv_func_ldexpf_use=yes
66117 else
66118 echo "$as_me: failed program was:" >&5
66119 sed 's/^/| /' conftest.$ac_ext >&5
66121 glibcxx_cv_func_ldexpf_use=no
66123 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66124 ac_ext=c
66125 ac_cpp='$CPP $CPPFLAGS'
66126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66134 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
66135 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
66137 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
66139 for ac_func in ldexpf
66141 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66142 echo "$as_me:$LINENO: checking for $ac_func" >&5
66143 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66144 if eval "test \"\${$as_ac_var+set}\" = set"; then
66145 echo $ECHO_N "(cached) $ECHO_C" >&6
66146 else
66147 if test x$gcc_no_link = xyes; then
66148 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66149 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66150 { (exit 1); exit 1; }; }
66152 cat >conftest.$ac_ext <<_ACEOF
66153 /* confdefs.h. */
66154 _ACEOF
66155 cat confdefs.h >>conftest.$ac_ext
66156 cat >>conftest.$ac_ext <<_ACEOF
66157 /* end confdefs.h. */
66158 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66159 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66160 #define $ac_func innocuous_$ac_func
66162 /* System header to define __stub macros and hopefully few prototypes,
66163 which can conflict with char $ac_func (); below.
66164 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66165 <limits.h> exists even on freestanding compilers. */
66167 #ifdef __STDC__
66168 # include <limits.h>
66169 #else
66170 # include <assert.h>
66171 #endif
66173 #undef $ac_func
66175 /* Override any gcc2 internal prototype to avoid an error. */
66176 #ifdef __cplusplus
66177 extern "C"
66179 #endif
66180 /* We use char because int might match the return type of a gcc2
66181 builtin and then its argument prototype would still apply. */
66182 char $ac_func ();
66183 /* The GNU C library defines this for functions which it implements
66184 to always fail with ENOSYS. Some functions are actually named
66185 something starting with __ and the normal name is an alias. */
66186 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66187 choke me
66188 #else
66189 char (*f) () = $ac_func;
66190 #endif
66191 #ifdef __cplusplus
66193 #endif
66196 main ()
66198 return f != $ac_func;
66200 return 0;
66202 _ACEOF
66203 rm -f conftest.$ac_objext conftest$ac_exeext
66204 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66205 (eval $ac_link) 2>conftest.er1
66206 ac_status=$?
66207 grep -v '^ *+' conftest.er1 >conftest.err
66208 rm -f conftest.er1
66209 cat conftest.err >&5
66210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66211 (exit $ac_status); } &&
66212 { ac_try='test -z "$ac_c_werror_flag"
66213 || test ! -s conftest.err'
66214 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66215 (eval $ac_try) 2>&5
66216 ac_status=$?
66217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66218 (exit $ac_status); }; } &&
66219 { ac_try='test -s conftest$ac_exeext'
66220 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66221 (eval $ac_try) 2>&5
66222 ac_status=$?
66223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66224 (exit $ac_status); }; }; then
66225 eval "$as_ac_var=yes"
66226 else
66227 echo "$as_me: failed program was:" >&5
66228 sed 's/^/| /' conftest.$ac_ext >&5
66230 eval "$as_ac_var=no"
66232 rm -f conftest.err conftest.$ac_objext \
66233 conftest$ac_exeext conftest.$ac_ext
66235 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66236 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66237 if test `eval echo '${'$as_ac_var'}'` = yes; then
66238 cat >>confdefs.h <<_ACEOF
66239 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66240 _ACEOF
66243 done
66245 else
66247 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
66248 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
66249 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
66250 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
66251 echo $ECHO_N "(cached) $ECHO_C" >&6
66252 else
66256 ac_ext=cc
66257 ac_cpp='$CXXCPP $CPPFLAGS'
66258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66262 cat >conftest.$ac_ext <<_ACEOF
66263 /* confdefs.h. */
66264 _ACEOF
66265 cat confdefs.h >>conftest.$ac_ext
66266 cat >>conftest.$ac_ext <<_ACEOF
66267 /* end confdefs.h. */
66268 #include <math.h>
66270 main ()
66272 _ldexpf(0, 0);
66274 return 0;
66276 _ACEOF
66277 rm -f conftest.$ac_objext
66278 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66279 (eval $ac_compile) 2>conftest.er1
66280 ac_status=$?
66281 grep -v '^ *+' conftest.er1 >conftest.err
66282 rm -f conftest.er1
66283 cat conftest.err >&5
66284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66285 (exit $ac_status); } &&
66286 { ac_try='test -z "$ac_cxx_werror_flag"
66287 || test ! -s conftest.err'
66288 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66289 (eval $ac_try) 2>&5
66290 ac_status=$?
66291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66292 (exit $ac_status); }; } &&
66293 { ac_try='test -s conftest.$ac_objext'
66294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66295 (eval $ac_try) 2>&5
66296 ac_status=$?
66297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66298 (exit $ac_status); }; }; then
66299 glibcxx_cv_func__ldexpf_use=yes
66300 else
66301 echo "$as_me: failed program was:" >&5
66302 sed 's/^/| /' conftest.$ac_ext >&5
66304 glibcxx_cv_func__ldexpf_use=no
66306 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66307 ac_ext=c
66308 ac_cpp='$CPP $CPPFLAGS'
66309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66317 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
66318 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
66320 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
66322 for ac_func in _ldexpf
66324 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66325 echo "$as_me:$LINENO: checking for $ac_func" >&5
66326 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66327 if eval "test \"\${$as_ac_var+set}\" = set"; then
66328 echo $ECHO_N "(cached) $ECHO_C" >&6
66329 else
66330 if test x$gcc_no_link = xyes; then
66331 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66332 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66333 { (exit 1); exit 1; }; }
66335 cat >conftest.$ac_ext <<_ACEOF
66336 /* confdefs.h. */
66337 _ACEOF
66338 cat confdefs.h >>conftest.$ac_ext
66339 cat >>conftest.$ac_ext <<_ACEOF
66340 /* end confdefs.h. */
66341 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66342 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66343 #define $ac_func innocuous_$ac_func
66345 /* System header to define __stub macros and hopefully few prototypes,
66346 which can conflict with char $ac_func (); below.
66347 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66348 <limits.h> exists even on freestanding compilers. */
66350 #ifdef __STDC__
66351 # include <limits.h>
66352 #else
66353 # include <assert.h>
66354 #endif
66356 #undef $ac_func
66358 /* Override any gcc2 internal prototype to avoid an error. */
66359 #ifdef __cplusplus
66360 extern "C"
66362 #endif
66363 /* We use char because int might match the return type of a gcc2
66364 builtin and then its argument prototype would still apply. */
66365 char $ac_func ();
66366 /* The GNU C library defines this for functions which it implements
66367 to always fail with ENOSYS. Some functions are actually named
66368 something starting with __ and the normal name is an alias. */
66369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66370 choke me
66371 #else
66372 char (*f) () = $ac_func;
66373 #endif
66374 #ifdef __cplusplus
66376 #endif
66379 main ()
66381 return f != $ac_func;
66383 return 0;
66385 _ACEOF
66386 rm -f conftest.$ac_objext conftest$ac_exeext
66387 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66388 (eval $ac_link) 2>conftest.er1
66389 ac_status=$?
66390 grep -v '^ *+' conftest.er1 >conftest.err
66391 rm -f conftest.er1
66392 cat conftest.err >&5
66393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66394 (exit $ac_status); } &&
66395 { ac_try='test -z "$ac_c_werror_flag"
66396 || test ! -s conftest.err'
66397 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66398 (eval $ac_try) 2>&5
66399 ac_status=$?
66400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66401 (exit $ac_status); }; } &&
66402 { ac_try='test -s conftest$ac_exeext'
66403 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66404 (eval $ac_try) 2>&5
66405 ac_status=$?
66406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66407 (exit $ac_status); }; }; then
66408 eval "$as_ac_var=yes"
66409 else
66410 echo "$as_me: failed program was:" >&5
66411 sed 's/^/| /' conftest.$ac_ext >&5
66413 eval "$as_ac_var=no"
66415 rm -f conftest.err conftest.$ac_objext \
66416 conftest$ac_exeext conftest.$ac_ext
66418 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66419 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66420 if test `eval echo '${'$as_ac_var'}'` = yes; then
66421 cat >>confdefs.h <<_ACEOF
66422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66423 _ACEOF
66426 done
66436 echo "$as_me:$LINENO: checking for logf declaration" >&5
66437 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
66438 if test x${glibcxx_cv_func_logf_use+set} != xset; then
66439 if test "${glibcxx_cv_func_logf_use+set}" = set; then
66440 echo $ECHO_N "(cached) $ECHO_C" >&6
66441 else
66445 ac_ext=cc
66446 ac_cpp='$CXXCPP $CPPFLAGS'
66447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66451 cat >conftest.$ac_ext <<_ACEOF
66452 /* confdefs.h. */
66453 _ACEOF
66454 cat confdefs.h >>conftest.$ac_ext
66455 cat >>conftest.$ac_ext <<_ACEOF
66456 /* end confdefs.h. */
66457 #include <math.h>
66458 #ifdef HAVE_IEEEFP_H
66459 #include <ieeefp.h>
66460 #endif
66463 main ()
66465 logf(0);
66467 return 0;
66469 _ACEOF
66470 rm -f conftest.$ac_objext
66471 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66472 (eval $ac_compile) 2>conftest.er1
66473 ac_status=$?
66474 grep -v '^ *+' conftest.er1 >conftest.err
66475 rm -f conftest.er1
66476 cat conftest.err >&5
66477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66478 (exit $ac_status); } &&
66479 { ac_try='test -z "$ac_cxx_werror_flag"
66480 || test ! -s conftest.err'
66481 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66482 (eval $ac_try) 2>&5
66483 ac_status=$?
66484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66485 (exit $ac_status); }; } &&
66486 { ac_try='test -s conftest.$ac_objext'
66487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66488 (eval $ac_try) 2>&5
66489 ac_status=$?
66490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66491 (exit $ac_status); }; }; then
66492 glibcxx_cv_func_logf_use=yes
66493 else
66494 echo "$as_me: failed program was:" >&5
66495 sed 's/^/| /' conftest.$ac_ext >&5
66497 glibcxx_cv_func_logf_use=no
66499 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66500 ac_ext=c
66501 ac_cpp='$CPP $CPPFLAGS'
66502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66510 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
66511 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
66513 if test x$glibcxx_cv_func_logf_use = x"yes"; then
66515 for ac_func in logf
66517 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66518 echo "$as_me:$LINENO: checking for $ac_func" >&5
66519 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66520 if eval "test \"\${$as_ac_var+set}\" = set"; then
66521 echo $ECHO_N "(cached) $ECHO_C" >&6
66522 else
66523 if test x$gcc_no_link = xyes; then
66524 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66525 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66526 { (exit 1); exit 1; }; }
66528 cat >conftest.$ac_ext <<_ACEOF
66529 /* confdefs.h. */
66530 _ACEOF
66531 cat confdefs.h >>conftest.$ac_ext
66532 cat >>conftest.$ac_ext <<_ACEOF
66533 /* end confdefs.h. */
66534 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66535 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66536 #define $ac_func innocuous_$ac_func
66538 /* System header to define __stub macros and hopefully few prototypes,
66539 which can conflict with char $ac_func (); below.
66540 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66541 <limits.h> exists even on freestanding compilers. */
66543 #ifdef __STDC__
66544 # include <limits.h>
66545 #else
66546 # include <assert.h>
66547 #endif
66549 #undef $ac_func
66551 /* Override any gcc2 internal prototype to avoid an error. */
66552 #ifdef __cplusplus
66553 extern "C"
66555 #endif
66556 /* We use char because int might match the return type of a gcc2
66557 builtin and then its argument prototype would still apply. */
66558 char $ac_func ();
66559 /* The GNU C library defines this for functions which it implements
66560 to always fail with ENOSYS. Some functions are actually named
66561 something starting with __ and the normal name is an alias. */
66562 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66563 choke me
66564 #else
66565 char (*f) () = $ac_func;
66566 #endif
66567 #ifdef __cplusplus
66569 #endif
66572 main ()
66574 return f != $ac_func;
66576 return 0;
66578 _ACEOF
66579 rm -f conftest.$ac_objext conftest$ac_exeext
66580 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66581 (eval $ac_link) 2>conftest.er1
66582 ac_status=$?
66583 grep -v '^ *+' conftest.er1 >conftest.err
66584 rm -f conftest.er1
66585 cat conftest.err >&5
66586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66587 (exit $ac_status); } &&
66588 { ac_try='test -z "$ac_c_werror_flag"
66589 || test ! -s conftest.err'
66590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66591 (eval $ac_try) 2>&5
66592 ac_status=$?
66593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66594 (exit $ac_status); }; } &&
66595 { ac_try='test -s conftest$ac_exeext'
66596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66597 (eval $ac_try) 2>&5
66598 ac_status=$?
66599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66600 (exit $ac_status); }; }; then
66601 eval "$as_ac_var=yes"
66602 else
66603 echo "$as_me: failed program was:" >&5
66604 sed 's/^/| /' conftest.$ac_ext >&5
66606 eval "$as_ac_var=no"
66608 rm -f conftest.err conftest.$ac_objext \
66609 conftest$ac_exeext conftest.$ac_ext
66611 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66612 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66613 if test `eval echo '${'$as_ac_var'}'` = yes; then
66614 cat >>confdefs.h <<_ACEOF
66615 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66616 _ACEOF
66619 done
66621 else
66623 echo "$as_me:$LINENO: checking for _logf declaration" >&5
66624 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
66625 if test x${glibcxx_cv_func__logf_use+set} != xset; then
66626 if test "${glibcxx_cv_func__logf_use+set}" = set; then
66627 echo $ECHO_N "(cached) $ECHO_C" >&6
66628 else
66632 ac_ext=cc
66633 ac_cpp='$CXXCPP $CPPFLAGS'
66634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66638 cat >conftest.$ac_ext <<_ACEOF
66639 /* confdefs.h. */
66640 _ACEOF
66641 cat confdefs.h >>conftest.$ac_ext
66642 cat >>conftest.$ac_ext <<_ACEOF
66643 /* end confdefs.h. */
66644 #include <math.h>
66645 #ifdef HAVE_IEEEFP_H
66646 #include <ieeefp.h>
66647 #endif
66650 main ()
66652 _logf(0);
66654 return 0;
66656 _ACEOF
66657 rm -f conftest.$ac_objext
66658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66659 (eval $ac_compile) 2>conftest.er1
66660 ac_status=$?
66661 grep -v '^ *+' conftest.er1 >conftest.err
66662 rm -f conftest.er1
66663 cat conftest.err >&5
66664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66665 (exit $ac_status); } &&
66666 { ac_try='test -z "$ac_cxx_werror_flag"
66667 || test ! -s conftest.err'
66668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66669 (eval $ac_try) 2>&5
66670 ac_status=$?
66671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66672 (exit $ac_status); }; } &&
66673 { ac_try='test -s conftest.$ac_objext'
66674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66675 (eval $ac_try) 2>&5
66676 ac_status=$?
66677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66678 (exit $ac_status); }; }; then
66679 glibcxx_cv_func__logf_use=yes
66680 else
66681 echo "$as_me: failed program was:" >&5
66682 sed 's/^/| /' conftest.$ac_ext >&5
66684 glibcxx_cv_func__logf_use=no
66686 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66687 ac_ext=c
66688 ac_cpp='$CPP $CPPFLAGS'
66689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
66698 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
66700 if test x$glibcxx_cv_func__logf_use = x"yes"; then
66702 for ac_func in _logf
66704 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66705 echo "$as_me:$LINENO: checking for $ac_func" >&5
66706 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66707 if eval "test \"\${$as_ac_var+set}\" = set"; then
66708 echo $ECHO_N "(cached) $ECHO_C" >&6
66709 else
66710 if test x$gcc_no_link = xyes; then
66711 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66712 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66713 { (exit 1); exit 1; }; }
66715 cat >conftest.$ac_ext <<_ACEOF
66716 /* confdefs.h. */
66717 _ACEOF
66718 cat confdefs.h >>conftest.$ac_ext
66719 cat >>conftest.$ac_ext <<_ACEOF
66720 /* end confdefs.h. */
66721 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66722 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66723 #define $ac_func innocuous_$ac_func
66725 /* System header to define __stub macros and hopefully few prototypes,
66726 which can conflict with char $ac_func (); below.
66727 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66728 <limits.h> exists even on freestanding compilers. */
66730 #ifdef __STDC__
66731 # include <limits.h>
66732 #else
66733 # include <assert.h>
66734 #endif
66736 #undef $ac_func
66738 /* Override any gcc2 internal prototype to avoid an error. */
66739 #ifdef __cplusplus
66740 extern "C"
66742 #endif
66743 /* We use char because int might match the return type of a gcc2
66744 builtin and then its argument prototype would still apply. */
66745 char $ac_func ();
66746 /* The GNU C library defines this for functions which it implements
66747 to always fail with ENOSYS. Some functions are actually named
66748 something starting with __ and the normal name is an alias. */
66749 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66750 choke me
66751 #else
66752 char (*f) () = $ac_func;
66753 #endif
66754 #ifdef __cplusplus
66756 #endif
66759 main ()
66761 return f != $ac_func;
66763 return 0;
66765 _ACEOF
66766 rm -f conftest.$ac_objext conftest$ac_exeext
66767 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66768 (eval $ac_link) 2>conftest.er1
66769 ac_status=$?
66770 grep -v '^ *+' conftest.er1 >conftest.err
66771 rm -f conftest.er1
66772 cat conftest.err >&5
66773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66774 (exit $ac_status); } &&
66775 { ac_try='test -z "$ac_c_werror_flag"
66776 || test ! -s conftest.err'
66777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66778 (eval $ac_try) 2>&5
66779 ac_status=$?
66780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66781 (exit $ac_status); }; } &&
66782 { ac_try='test -s conftest$ac_exeext'
66783 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66784 (eval $ac_try) 2>&5
66785 ac_status=$?
66786 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66787 (exit $ac_status); }; }; then
66788 eval "$as_ac_var=yes"
66789 else
66790 echo "$as_me: failed program was:" >&5
66791 sed 's/^/| /' conftest.$ac_ext >&5
66793 eval "$as_ac_var=no"
66795 rm -f conftest.err conftest.$ac_objext \
66796 conftest$ac_exeext conftest.$ac_ext
66798 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66799 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66800 if test `eval echo '${'$as_ac_var'}'` = yes; then
66801 cat >>confdefs.h <<_ACEOF
66802 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66803 _ACEOF
66806 done
66816 echo "$as_me:$LINENO: checking for log10f declaration" >&5
66817 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
66818 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
66819 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
66820 echo $ECHO_N "(cached) $ECHO_C" >&6
66821 else
66825 ac_ext=cc
66826 ac_cpp='$CXXCPP $CPPFLAGS'
66827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66831 cat >conftest.$ac_ext <<_ACEOF
66832 /* confdefs.h. */
66833 _ACEOF
66834 cat confdefs.h >>conftest.$ac_ext
66835 cat >>conftest.$ac_ext <<_ACEOF
66836 /* end confdefs.h. */
66837 #include <math.h>
66838 #ifdef HAVE_IEEEFP_H
66839 #include <ieeefp.h>
66840 #endif
66843 main ()
66845 log10f(0);
66847 return 0;
66849 _ACEOF
66850 rm -f conftest.$ac_objext
66851 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
66852 (eval $ac_compile) 2>conftest.er1
66853 ac_status=$?
66854 grep -v '^ *+' conftest.er1 >conftest.err
66855 rm -f conftest.er1
66856 cat conftest.err >&5
66857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66858 (exit $ac_status); } &&
66859 { ac_try='test -z "$ac_cxx_werror_flag"
66860 || test ! -s conftest.err'
66861 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66862 (eval $ac_try) 2>&5
66863 ac_status=$?
66864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66865 (exit $ac_status); }; } &&
66866 { ac_try='test -s conftest.$ac_objext'
66867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66868 (eval $ac_try) 2>&5
66869 ac_status=$?
66870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66871 (exit $ac_status); }; }; then
66872 glibcxx_cv_func_log10f_use=yes
66873 else
66874 echo "$as_me: failed program was:" >&5
66875 sed 's/^/| /' conftest.$ac_ext >&5
66877 glibcxx_cv_func_log10f_use=no
66879 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
66880 ac_ext=c
66881 ac_cpp='$CPP $CPPFLAGS'
66882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66890 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
66891 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
66893 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
66895 for ac_func in log10f
66897 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
66898 echo "$as_me:$LINENO: checking for $ac_func" >&5
66899 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
66900 if eval "test \"\${$as_ac_var+set}\" = set"; then
66901 echo $ECHO_N "(cached) $ECHO_C" >&6
66902 else
66903 if test x$gcc_no_link = xyes; then
66904 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
66905 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
66906 { (exit 1); exit 1; }; }
66908 cat >conftest.$ac_ext <<_ACEOF
66909 /* confdefs.h. */
66910 _ACEOF
66911 cat confdefs.h >>conftest.$ac_ext
66912 cat >>conftest.$ac_ext <<_ACEOF
66913 /* end confdefs.h. */
66914 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
66915 For example, HP-UX 11i <limits.h> declares gettimeofday. */
66916 #define $ac_func innocuous_$ac_func
66918 /* System header to define __stub macros and hopefully few prototypes,
66919 which can conflict with char $ac_func (); below.
66920 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
66921 <limits.h> exists even on freestanding compilers. */
66923 #ifdef __STDC__
66924 # include <limits.h>
66925 #else
66926 # include <assert.h>
66927 #endif
66929 #undef $ac_func
66931 /* Override any gcc2 internal prototype to avoid an error. */
66932 #ifdef __cplusplus
66933 extern "C"
66935 #endif
66936 /* We use char because int might match the return type of a gcc2
66937 builtin and then its argument prototype would still apply. */
66938 char $ac_func ();
66939 /* The GNU C library defines this for functions which it implements
66940 to always fail with ENOSYS. Some functions are actually named
66941 something starting with __ and the normal name is an alias. */
66942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
66943 choke me
66944 #else
66945 char (*f) () = $ac_func;
66946 #endif
66947 #ifdef __cplusplus
66949 #endif
66952 main ()
66954 return f != $ac_func;
66956 return 0;
66958 _ACEOF
66959 rm -f conftest.$ac_objext conftest$ac_exeext
66960 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
66961 (eval $ac_link) 2>conftest.er1
66962 ac_status=$?
66963 grep -v '^ *+' conftest.er1 >conftest.err
66964 rm -f conftest.er1
66965 cat conftest.err >&5
66966 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66967 (exit $ac_status); } &&
66968 { ac_try='test -z "$ac_c_werror_flag"
66969 || test ! -s conftest.err'
66970 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66971 (eval $ac_try) 2>&5
66972 ac_status=$?
66973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66974 (exit $ac_status); }; } &&
66975 { ac_try='test -s conftest$ac_exeext'
66976 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
66977 (eval $ac_try) 2>&5
66978 ac_status=$?
66979 echo "$as_me:$LINENO: \$? = $ac_status" >&5
66980 (exit $ac_status); }; }; then
66981 eval "$as_ac_var=yes"
66982 else
66983 echo "$as_me: failed program was:" >&5
66984 sed 's/^/| /' conftest.$ac_ext >&5
66986 eval "$as_ac_var=no"
66988 rm -f conftest.err conftest.$ac_objext \
66989 conftest$ac_exeext conftest.$ac_ext
66991 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
66992 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
66993 if test `eval echo '${'$as_ac_var'}'` = yes; then
66994 cat >>confdefs.h <<_ACEOF
66995 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
66996 _ACEOF
66999 done
67001 else
67003 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
67004 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
67005 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67006 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
67007 echo $ECHO_N "(cached) $ECHO_C" >&6
67008 else
67012 ac_ext=cc
67013 ac_cpp='$CXXCPP $CPPFLAGS'
67014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67018 cat >conftest.$ac_ext <<_ACEOF
67019 /* confdefs.h. */
67020 _ACEOF
67021 cat confdefs.h >>conftest.$ac_ext
67022 cat >>conftest.$ac_ext <<_ACEOF
67023 /* end confdefs.h. */
67024 #include <math.h>
67025 #ifdef HAVE_IEEEFP_H
67026 #include <ieeefp.h>
67027 #endif
67030 main ()
67032 _log10f(0);
67034 return 0;
67036 _ACEOF
67037 rm -f conftest.$ac_objext
67038 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67039 (eval $ac_compile) 2>conftest.er1
67040 ac_status=$?
67041 grep -v '^ *+' conftest.er1 >conftest.err
67042 rm -f conftest.er1
67043 cat conftest.err >&5
67044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67045 (exit $ac_status); } &&
67046 { ac_try='test -z "$ac_cxx_werror_flag"
67047 || test ! -s conftest.err'
67048 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67049 (eval $ac_try) 2>&5
67050 ac_status=$?
67051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67052 (exit $ac_status); }; } &&
67053 { ac_try='test -s conftest.$ac_objext'
67054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67055 (eval $ac_try) 2>&5
67056 ac_status=$?
67057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67058 (exit $ac_status); }; }; then
67059 glibcxx_cv_func__log10f_use=yes
67060 else
67061 echo "$as_me: failed program was:" >&5
67062 sed 's/^/| /' conftest.$ac_ext >&5
67064 glibcxx_cv_func__log10f_use=no
67066 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67067 ac_ext=c
67068 ac_cpp='$CPP $CPPFLAGS'
67069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
67078 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
67080 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67082 for ac_func in _log10f
67084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67085 echo "$as_me:$LINENO: checking for $ac_func" >&5
67086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67087 if eval "test \"\${$as_ac_var+set}\" = set"; then
67088 echo $ECHO_N "(cached) $ECHO_C" >&6
67089 else
67090 if test x$gcc_no_link = xyes; then
67091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67093 { (exit 1); exit 1; }; }
67095 cat >conftest.$ac_ext <<_ACEOF
67096 /* confdefs.h. */
67097 _ACEOF
67098 cat confdefs.h >>conftest.$ac_ext
67099 cat >>conftest.$ac_ext <<_ACEOF
67100 /* end confdefs.h. */
67101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67103 #define $ac_func innocuous_$ac_func
67105 /* System header to define __stub macros and hopefully few prototypes,
67106 which can conflict with char $ac_func (); below.
67107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67108 <limits.h> exists even on freestanding compilers. */
67110 #ifdef __STDC__
67111 # include <limits.h>
67112 #else
67113 # include <assert.h>
67114 #endif
67116 #undef $ac_func
67118 /* Override any gcc2 internal prototype to avoid an error. */
67119 #ifdef __cplusplus
67120 extern "C"
67122 #endif
67123 /* We use char because int might match the return type of a gcc2
67124 builtin and then its argument prototype would still apply. */
67125 char $ac_func ();
67126 /* The GNU C library defines this for functions which it implements
67127 to always fail with ENOSYS. Some functions are actually named
67128 something starting with __ and the normal name is an alias. */
67129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67130 choke me
67131 #else
67132 char (*f) () = $ac_func;
67133 #endif
67134 #ifdef __cplusplus
67136 #endif
67139 main ()
67141 return f != $ac_func;
67143 return 0;
67145 _ACEOF
67146 rm -f conftest.$ac_objext conftest$ac_exeext
67147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67148 (eval $ac_link) 2>conftest.er1
67149 ac_status=$?
67150 grep -v '^ *+' conftest.er1 >conftest.err
67151 rm -f conftest.er1
67152 cat conftest.err >&5
67153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67154 (exit $ac_status); } &&
67155 { ac_try='test -z "$ac_c_werror_flag"
67156 || test ! -s conftest.err'
67157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67158 (eval $ac_try) 2>&5
67159 ac_status=$?
67160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67161 (exit $ac_status); }; } &&
67162 { ac_try='test -s conftest$ac_exeext'
67163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67164 (eval $ac_try) 2>&5
67165 ac_status=$?
67166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67167 (exit $ac_status); }; }; then
67168 eval "$as_ac_var=yes"
67169 else
67170 echo "$as_me: failed program was:" >&5
67171 sed 's/^/| /' conftest.$ac_ext >&5
67173 eval "$as_ac_var=no"
67175 rm -f conftest.err conftest.$ac_objext \
67176 conftest$ac_exeext conftest.$ac_ext
67178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67180 if test `eval echo '${'$as_ac_var'}'` = yes; then
67181 cat >>confdefs.h <<_ACEOF
67182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67183 _ACEOF
67186 done
67196 echo "$as_me:$LINENO: checking for modff declaration" >&5
67197 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
67198 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67199 if test "${glibcxx_cv_func_modff_use+set}" = set; then
67200 echo $ECHO_N "(cached) $ECHO_C" >&6
67201 else
67205 ac_ext=cc
67206 ac_cpp='$CXXCPP $CPPFLAGS'
67207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67211 cat >conftest.$ac_ext <<_ACEOF
67212 /* confdefs.h. */
67213 _ACEOF
67214 cat confdefs.h >>conftest.$ac_ext
67215 cat >>conftest.$ac_ext <<_ACEOF
67216 /* end confdefs.h. */
67217 #include <math.h>
67219 main ()
67221 modff(0, 0);
67223 return 0;
67225 _ACEOF
67226 rm -f conftest.$ac_objext
67227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67228 (eval $ac_compile) 2>conftest.er1
67229 ac_status=$?
67230 grep -v '^ *+' conftest.er1 >conftest.err
67231 rm -f conftest.er1
67232 cat conftest.err >&5
67233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67234 (exit $ac_status); } &&
67235 { ac_try='test -z "$ac_cxx_werror_flag"
67236 || test ! -s conftest.err'
67237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67238 (eval $ac_try) 2>&5
67239 ac_status=$?
67240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67241 (exit $ac_status); }; } &&
67242 { ac_try='test -s conftest.$ac_objext'
67243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67244 (eval $ac_try) 2>&5
67245 ac_status=$?
67246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67247 (exit $ac_status); }; }; then
67248 glibcxx_cv_func_modff_use=yes
67249 else
67250 echo "$as_me: failed program was:" >&5
67251 sed 's/^/| /' conftest.$ac_ext >&5
67253 glibcxx_cv_func_modff_use=no
67255 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67266 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
67267 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
67269 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67271 for ac_func in modff
67273 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67274 echo "$as_me:$LINENO: checking for $ac_func" >&5
67275 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67276 if eval "test \"\${$as_ac_var+set}\" = set"; then
67277 echo $ECHO_N "(cached) $ECHO_C" >&6
67278 else
67279 if test x$gcc_no_link = xyes; then
67280 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67281 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67282 { (exit 1); exit 1; }; }
67284 cat >conftest.$ac_ext <<_ACEOF
67285 /* confdefs.h. */
67286 _ACEOF
67287 cat confdefs.h >>conftest.$ac_ext
67288 cat >>conftest.$ac_ext <<_ACEOF
67289 /* end confdefs.h. */
67290 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67291 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67292 #define $ac_func innocuous_$ac_func
67294 /* System header to define __stub macros and hopefully few prototypes,
67295 which can conflict with char $ac_func (); below.
67296 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67297 <limits.h> exists even on freestanding compilers. */
67299 #ifdef __STDC__
67300 # include <limits.h>
67301 #else
67302 # include <assert.h>
67303 #endif
67305 #undef $ac_func
67307 /* Override any gcc2 internal prototype to avoid an error. */
67308 #ifdef __cplusplus
67309 extern "C"
67311 #endif
67312 /* We use char because int might match the return type of a gcc2
67313 builtin and then its argument prototype would still apply. */
67314 char $ac_func ();
67315 /* The GNU C library defines this for functions which it implements
67316 to always fail with ENOSYS. Some functions are actually named
67317 something starting with __ and the normal name is an alias. */
67318 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67319 choke me
67320 #else
67321 char (*f) () = $ac_func;
67322 #endif
67323 #ifdef __cplusplus
67325 #endif
67328 main ()
67330 return f != $ac_func;
67332 return 0;
67334 _ACEOF
67335 rm -f conftest.$ac_objext conftest$ac_exeext
67336 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67337 (eval $ac_link) 2>conftest.er1
67338 ac_status=$?
67339 grep -v '^ *+' conftest.er1 >conftest.err
67340 rm -f conftest.er1
67341 cat conftest.err >&5
67342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67343 (exit $ac_status); } &&
67344 { ac_try='test -z "$ac_c_werror_flag"
67345 || test ! -s conftest.err'
67346 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67347 (eval $ac_try) 2>&5
67348 ac_status=$?
67349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67350 (exit $ac_status); }; } &&
67351 { ac_try='test -s conftest$ac_exeext'
67352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67353 (eval $ac_try) 2>&5
67354 ac_status=$?
67355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67356 (exit $ac_status); }; }; then
67357 eval "$as_ac_var=yes"
67358 else
67359 echo "$as_me: failed program was:" >&5
67360 sed 's/^/| /' conftest.$ac_ext >&5
67362 eval "$as_ac_var=no"
67364 rm -f conftest.err conftest.$ac_objext \
67365 conftest$ac_exeext conftest.$ac_ext
67367 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67368 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67369 if test `eval echo '${'$as_ac_var'}'` = yes; then
67370 cat >>confdefs.h <<_ACEOF
67371 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67372 _ACEOF
67375 done
67377 else
67379 echo "$as_me:$LINENO: checking for _modff declaration" >&5
67380 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
67381 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67382 if test "${glibcxx_cv_func__modff_use+set}" = set; then
67383 echo $ECHO_N "(cached) $ECHO_C" >&6
67384 else
67388 ac_ext=cc
67389 ac_cpp='$CXXCPP $CPPFLAGS'
67390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67394 cat >conftest.$ac_ext <<_ACEOF
67395 /* confdefs.h. */
67396 _ACEOF
67397 cat confdefs.h >>conftest.$ac_ext
67398 cat >>conftest.$ac_ext <<_ACEOF
67399 /* end confdefs.h. */
67400 #include <math.h>
67402 main ()
67404 _modff(0, 0);
67406 return 0;
67408 _ACEOF
67409 rm -f conftest.$ac_objext
67410 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67411 (eval $ac_compile) 2>conftest.er1
67412 ac_status=$?
67413 grep -v '^ *+' conftest.er1 >conftest.err
67414 rm -f conftest.er1
67415 cat conftest.err >&5
67416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67417 (exit $ac_status); } &&
67418 { ac_try='test -z "$ac_cxx_werror_flag"
67419 || test ! -s conftest.err'
67420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67421 (eval $ac_try) 2>&5
67422 ac_status=$?
67423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67424 (exit $ac_status); }; } &&
67425 { ac_try='test -s conftest.$ac_objext'
67426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67427 (eval $ac_try) 2>&5
67428 ac_status=$?
67429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67430 (exit $ac_status); }; }; then
67431 glibcxx_cv_func__modff_use=yes
67432 else
67433 echo "$as_me: failed program was:" >&5
67434 sed 's/^/| /' conftest.$ac_ext >&5
67436 glibcxx_cv_func__modff_use=no
67438 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67439 ac_ext=c
67440 ac_cpp='$CPP $CPPFLAGS'
67441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67449 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
67450 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
67452 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67454 for ac_func in _modff
67456 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67457 echo "$as_me:$LINENO: checking for $ac_func" >&5
67458 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67459 if eval "test \"\${$as_ac_var+set}\" = set"; then
67460 echo $ECHO_N "(cached) $ECHO_C" >&6
67461 else
67462 if test x$gcc_no_link = xyes; then
67463 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67464 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67465 { (exit 1); exit 1; }; }
67467 cat >conftest.$ac_ext <<_ACEOF
67468 /* confdefs.h. */
67469 _ACEOF
67470 cat confdefs.h >>conftest.$ac_ext
67471 cat >>conftest.$ac_ext <<_ACEOF
67472 /* end confdefs.h. */
67473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67475 #define $ac_func innocuous_$ac_func
67477 /* System header to define __stub macros and hopefully few prototypes,
67478 which can conflict with char $ac_func (); below.
67479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67480 <limits.h> exists even on freestanding compilers. */
67482 #ifdef __STDC__
67483 # include <limits.h>
67484 #else
67485 # include <assert.h>
67486 #endif
67488 #undef $ac_func
67490 /* Override any gcc2 internal prototype to avoid an error. */
67491 #ifdef __cplusplus
67492 extern "C"
67494 #endif
67495 /* We use char because int might match the return type of a gcc2
67496 builtin and then its argument prototype would still apply. */
67497 char $ac_func ();
67498 /* The GNU C library defines this for functions which it implements
67499 to always fail with ENOSYS. Some functions are actually named
67500 something starting with __ and the normal name is an alias. */
67501 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67502 choke me
67503 #else
67504 char (*f) () = $ac_func;
67505 #endif
67506 #ifdef __cplusplus
67508 #endif
67511 main ()
67513 return f != $ac_func;
67515 return 0;
67517 _ACEOF
67518 rm -f conftest.$ac_objext conftest$ac_exeext
67519 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67520 (eval $ac_link) 2>conftest.er1
67521 ac_status=$?
67522 grep -v '^ *+' conftest.er1 >conftest.err
67523 rm -f conftest.er1
67524 cat conftest.err >&5
67525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67526 (exit $ac_status); } &&
67527 { ac_try='test -z "$ac_c_werror_flag"
67528 || test ! -s conftest.err'
67529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67530 (eval $ac_try) 2>&5
67531 ac_status=$?
67532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67533 (exit $ac_status); }; } &&
67534 { ac_try='test -s conftest$ac_exeext'
67535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67536 (eval $ac_try) 2>&5
67537 ac_status=$?
67538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67539 (exit $ac_status); }; }; then
67540 eval "$as_ac_var=yes"
67541 else
67542 echo "$as_me: failed program was:" >&5
67543 sed 's/^/| /' conftest.$ac_ext >&5
67545 eval "$as_ac_var=no"
67547 rm -f conftest.err conftest.$ac_objext \
67548 conftest$ac_exeext conftest.$ac_ext
67550 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67551 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67552 if test `eval echo '${'$as_ac_var'}'` = yes; then
67553 cat >>confdefs.h <<_ACEOF
67554 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67555 _ACEOF
67558 done
67568 echo "$as_me:$LINENO: checking for modf declaration" >&5
67569 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
67570 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67571 if test "${glibcxx_cv_func_modf_use+set}" = set; then
67572 echo $ECHO_N "(cached) $ECHO_C" >&6
67573 else
67577 ac_ext=cc
67578 ac_cpp='$CXXCPP $CPPFLAGS'
67579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67583 cat >conftest.$ac_ext <<_ACEOF
67584 /* confdefs.h. */
67585 _ACEOF
67586 cat confdefs.h >>conftest.$ac_ext
67587 cat >>conftest.$ac_ext <<_ACEOF
67588 /* end confdefs.h. */
67589 #include <math.h>
67591 main ()
67593 modf(0, 0);
67595 return 0;
67597 _ACEOF
67598 rm -f conftest.$ac_objext
67599 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67600 (eval $ac_compile) 2>conftest.er1
67601 ac_status=$?
67602 grep -v '^ *+' conftest.er1 >conftest.err
67603 rm -f conftest.er1
67604 cat conftest.err >&5
67605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67606 (exit $ac_status); } &&
67607 { ac_try='test -z "$ac_cxx_werror_flag"
67608 || test ! -s conftest.err'
67609 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67610 (eval $ac_try) 2>&5
67611 ac_status=$?
67612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67613 (exit $ac_status); }; } &&
67614 { ac_try='test -s conftest.$ac_objext'
67615 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67616 (eval $ac_try) 2>&5
67617 ac_status=$?
67618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67619 (exit $ac_status); }; }; then
67620 glibcxx_cv_func_modf_use=yes
67621 else
67622 echo "$as_me: failed program was:" >&5
67623 sed 's/^/| /' conftest.$ac_ext >&5
67625 glibcxx_cv_func_modf_use=no
67627 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67628 ac_ext=c
67629 ac_cpp='$CPP $CPPFLAGS'
67630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67638 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
67639 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
67641 if test x$glibcxx_cv_func_modf_use = x"yes"; then
67643 for ac_func in modf
67645 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67646 echo "$as_me:$LINENO: checking for $ac_func" >&5
67647 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67648 if eval "test \"\${$as_ac_var+set}\" = set"; then
67649 echo $ECHO_N "(cached) $ECHO_C" >&6
67650 else
67651 if test x$gcc_no_link = xyes; then
67652 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67653 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67654 { (exit 1); exit 1; }; }
67656 cat >conftest.$ac_ext <<_ACEOF
67657 /* confdefs.h. */
67658 _ACEOF
67659 cat confdefs.h >>conftest.$ac_ext
67660 cat >>conftest.$ac_ext <<_ACEOF
67661 /* end confdefs.h. */
67662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67664 #define $ac_func innocuous_$ac_func
67666 /* System header to define __stub macros and hopefully few prototypes,
67667 which can conflict with char $ac_func (); below.
67668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67669 <limits.h> exists even on freestanding compilers. */
67671 #ifdef __STDC__
67672 # include <limits.h>
67673 #else
67674 # include <assert.h>
67675 #endif
67677 #undef $ac_func
67679 /* Override any gcc2 internal prototype to avoid an error. */
67680 #ifdef __cplusplus
67681 extern "C"
67683 #endif
67684 /* We use char because int might match the return type of a gcc2
67685 builtin and then its argument prototype would still apply. */
67686 char $ac_func ();
67687 /* The GNU C library defines this for functions which it implements
67688 to always fail with ENOSYS. Some functions are actually named
67689 something starting with __ and the normal name is an alias. */
67690 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67691 choke me
67692 #else
67693 char (*f) () = $ac_func;
67694 #endif
67695 #ifdef __cplusplus
67697 #endif
67700 main ()
67702 return f != $ac_func;
67704 return 0;
67706 _ACEOF
67707 rm -f conftest.$ac_objext conftest$ac_exeext
67708 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67709 (eval $ac_link) 2>conftest.er1
67710 ac_status=$?
67711 grep -v '^ *+' conftest.er1 >conftest.err
67712 rm -f conftest.er1
67713 cat conftest.err >&5
67714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67715 (exit $ac_status); } &&
67716 { ac_try='test -z "$ac_c_werror_flag"
67717 || test ! -s conftest.err'
67718 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67719 (eval $ac_try) 2>&5
67720 ac_status=$?
67721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67722 (exit $ac_status); }; } &&
67723 { ac_try='test -s conftest$ac_exeext'
67724 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67725 (eval $ac_try) 2>&5
67726 ac_status=$?
67727 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67728 (exit $ac_status); }; }; then
67729 eval "$as_ac_var=yes"
67730 else
67731 echo "$as_me: failed program was:" >&5
67732 sed 's/^/| /' conftest.$ac_ext >&5
67734 eval "$as_ac_var=no"
67736 rm -f conftest.err conftest.$ac_objext \
67737 conftest$ac_exeext conftest.$ac_ext
67739 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67740 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67741 if test `eval echo '${'$as_ac_var'}'` = yes; then
67742 cat >>confdefs.h <<_ACEOF
67743 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67744 _ACEOF
67747 done
67749 else
67751 echo "$as_me:$LINENO: checking for _modf declaration" >&5
67752 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
67753 if test x${glibcxx_cv_func__modf_use+set} != xset; then
67754 if test "${glibcxx_cv_func__modf_use+set}" = set; then
67755 echo $ECHO_N "(cached) $ECHO_C" >&6
67756 else
67760 ac_ext=cc
67761 ac_cpp='$CXXCPP $CPPFLAGS'
67762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67766 cat >conftest.$ac_ext <<_ACEOF
67767 /* confdefs.h. */
67768 _ACEOF
67769 cat confdefs.h >>conftest.$ac_ext
67770 cat >>conftest.$ac_ext <<_ACEOF
67771 /* end confdefs.h. */
67772 #include <math.h>
67774 main ()
67776 _modf(0, 0);
67778 return 0;
67780 _ACEOF
67781 rm -f conftest.$ac_objext
67782 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67783 (eval $ac_compile) 2>conftest.er1
67784 ac_status=$?
67785 grep -v '^ *+' conftest.er1 >conftest.err
67786 rm -f conftest.er1
67787 cat conftest.err >&5
67788 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67789 (exit $ac_status); } &&
67790 { ac_try='test -z "$ac_cxx_werror_flag"
67791 || test ! -s conftest.err'
67792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67793 (eval $ac_try) 2>&5
67794 ac_status=$?
67795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67796 (exit $ac_status); }; } &&
67797 { ac_try='test -s conftest.$ac_objext'
67798 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67799 (eval $ac_try) 2>&5
67800 ac_status=$?
67801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67802 (exit $ac_status); }; }; then
67803 glibcxx_cv_func__modf_use=yes
67804 else
67805 echo "$as_me: failed program was:" >&5
67806 sed 's/^/| /' conftest.$ac_ext >&5
67808 glibcxx_cv_func__modf_use=no
67810 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
67811 ac_ext=c
67812 ac_cpp='$CPP $CPPFLAGS'
67813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67821 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
67822 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
67824 if test x$glibcxx_cv_func__modf_use = x"yes"; then
67826 for ac_func in _modf
67828 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
67829 echo "$as_me:$LINENO: checking for $ac_func" >&5
67830 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
67831 if eval "test \"\${$as_ac_var+set}\" = set"; then
67832 echo $ECHO_N "(cached) $ECHO_C" >&6
67833 else
67834 if test x$gcc_no_link = xyes; then
67835 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
67836 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
67837 { (exit 1); exit 1; }; }
67839 cat >conftest.$ac_ext <<_ACEOF
67840 /* confdefs.h. */
67841 _ACEOF
67842 cat confdefs.h >>conftest.$ac_ext
67843 cat >>conftest.$ac_ext <<_ACEOF
67844 /* end confdefs.h. */
67845 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
67846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
67847 #define $ac_func innocuous_$ac_func
67849 /* System header to define __stub macros and hopefully few prototypes,
67850 which can conflict with char $ac_func (); below.
67851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
67852 <limits.h> exists even on freestanding compilers. */
67854 #ifdef __STDC__
67855 # include <limits.h>
67856 #else
67857 # include <assert.h>
67858 #endif
67860 #undef $ac_func
67862 /* Override any gcc2 internal prototype to avoid an error. */
67863 #ifdef __cplusplus
67864 extern "C"
67866 #endif
67867 /* We use char because int might match the return type of a gcc2
67868 builtin and then its argument prototype would still apply. */
67869 char $ac_func ();
67870 /* The GNU C library defines this for functions which it implements
67871 to always fail with ENOSYS. Some functions are actually named
67872 something starting with __ and the normal name is an alias. */
67873 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
67874 choke me
67875 #else
67876 char (*f) () = $ac_func;
67877 #endif
67878 #ifdef __cplusplus
67880 #endif
67883 main ()
67885 return f != $ac_func;
67887 return 0;
67889 _ACEOF
67890 rm -f conftest.$ac_objext conftest$ac_exeext
67891 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
67892 (eval $ac_link) 2>conftest.er1
67893 ac_status=$?
67894 grep -v '^ *+' conftest.er1 >conftest.err
67895 rm -f conftest.er1
67896 cat conftest.err >&5
67897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67898 (exit $ac_status); } &&
67899 { ac_try='test -z "$ac_c_werror_flag"
67900 || test ! -s conftest.err'
67901 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67902 (eval $ac_try) 2>&5
67903 ac_status=$?
67904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67905 (exit $ac_status); }; } &&
67906 { ac_try='test -s conftest$ac_exeext'
67907 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67908 (eval $ac_try) 2>&5
67909 ac_status=$?
67910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67911 (exit $ac_status); }; }; then
67912 eval "$as_ac_var=yes"
67913 else
67914 echo "$as_me: failed program was:" >&5
67915 sed 's/^/| /' conftest.$ac_ext >&5
67917 eval "$as_ac_var=no"
67919 rm -f conftest.err conftest.$ac_objext \
67920 conftest$ac_exeext conftest.$ac_ext
67922 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
67923 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
67924 if test `eval echo '${'$as_ac_var'}'` = yes; then
67925 cat >>confdefs.h <<_ACEOF
67926 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
67927 _ACEOF
67930 done
67940 echo "$as_me:$LINENO: checking for powf declaration" >&5
67941 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
67942 if test x${glibcxx_cv_func_powf_use+set} != xset; then
67943 if test "${glibcxx_cv_func_powf_use+set}" = set; then
67944 echo $ECHO_N "(cached) $ECHO_C" >&6
67945 else
67949 ac_ext=cc
67950 ac_cpp='$CXXCPP $CPPFLAGS'
67951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67955 cat >conftest.$ac_ext <<_ACEOF
67956 /* confdefs.h. */
67957 _ACEOF
67958 cat confdefs.h >>conftest.$ac_ext
67959 cat >>conftest.$ac_ext <<_ACEOF
67960 /* end confdefs.h. */
67961 #include <math.h>
67963 main ()
67965 powf(0, 0);
67967 return 0;
67969 _ACEOF
67970 rm -f conftest.$ac_objext
67971 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
67972 (eval $ac_compile) 2>conftest.er1
67973 ac_status=$?
67974 grep -v '^ *+' conftest.er1 >conftest.err
67975 rm -f conftest.er1
67976 cat conftest.err >&5
67977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67978 (exit $ac_status); } &&
67979 { ac_try='test -z "$ac_cxx_werror_flag"
67980 || test ! -s conftest.err'
67981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67982 (eval $ac_try) 2>&5
67983 ac_status=$?
67984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67985 (exit $ac_status); }; } &&
67986 { ac_try='test -s conftest.$ac_objext'
67987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
67988 (eval $ac_try) 2>&5
67989 ac_status=$?
67990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
67991 (exit $ac_status); }; }; then
67992 glibcxx_cv_func_powf_use=yes
67993 else
67994 echo "$as_me: failed program was:" >&5
67995 sed 's/^/| /' conftest.$ac_ext >&5
67997 glibcxx_cv_func_powf_use=no
67999 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68000 ac_ext=c
68001 ac_cpp='$CPP $CPPFLAGS'
68002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68010 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
68011 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
68013 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68015 for ac_func in powf
68017 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68018 echo "$as_me:$LINENO: checking for $ac_func" >&5
68019 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68020 if eval "test \"\${$as_ac_var+set}\" = set"; then
68021 echo $ECHO_N "(cached) $ECHO_C" >&6
68022 else
68023 if test x$gcc_no_link = xyes; then
68024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68026 { (exit 1); exit 1; }; }
68028 cat >conftest.$ac_ext <<_ACEOF
68029 /* confdefs.h. */
68030 _ACEOF
68031 cat confdefs.h >>conftest.$ac_ext
68032 cat >>conftest.$ac_ext <<_ACEOF
68033 /* end confdefs.h. */
68034 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68035 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68036 #define $ac_func innocuous_$ac_func
68038 /* System header to define __stub macros and hopefully few prototypes,
68039 which can conflict with char $ac_func (); below.
68040 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68041 <limits.h> exists even on freestanding compilers. */
68043 #ifdef __STDC__
68044 # include <limits.h>
68045 #else
68046 # include <assert.h>
68047 #endif
68049 #undef $ac_func
68051 /* Override any gcc2 internal prototype to avoid an error. */
68052 #ifdef __cplusplus
68053 extern "C"
68055 #endif
68056 /* We use char because int might match the return type of a gcc2
68057 builtin and then its argument prototype would still apply. */
68058 char $ac_func ();
68059 /* The GNU C library defines this for functions which it implements
68060 to always fail with ENOSYS. Some functions are actually named
68061 something starting with __ and the normal name is an alias. */
68062 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68063 choke me
68064 #else
68065 char (*f) () = $ac_func;
68066 #endif
68067 #ifdef __cplusplus
68069 #endif
68072 main ()
68074 return f != $ac_func;
68076 return 0;
68078 _ACEOF
68079 rm -f conftest.$ac_objext conftest$ac_exeext
68080 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68081 (eval $ac_link) 2>conftest.er1
68082 ac_status=$?
68083 grep -v '^ *+' conftest.er1 >conftest.err
68084 rm -f conftest.er1
68085 cat conftest.err >&5
68086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68087 (exit $ac_status); } &&
68088 { ac_try='test -z "$ac_c_werror_flag"
68089 || test ! -s conftest.err'
68090 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68091 (eval $ac_try) 2>&5
68092 ac_status=$?
68093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68094 (exit $ac_status); }; } &&
68095 { ac_try='test -s conftest$ac_exeext'
68096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68097 (eval $ac_try) 2>&5
68098 ac_status=$?
68099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68100 (exit $ac_status); }; }; then
68101 eval "$as_ac_var=yes"
68102 else
68103 echo "$as_me: failed program was:" >&5
68104 sed 's/^/| /' conftest.$ac_ext >&5
68106 eval "$as_ac_var=no"
68108 rm -f conftest.err conftest.$ac_objext \
68109 conftest$ac_exeext conftest.$ac_ext
68111 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68112 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68113 if test `eval echo '${'$as_ac_var'}'` = yes; then
68114 cat >>confdefs.h <<_ACEOF
68115 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68116 _ACEOF
68119 done
68121 else
68123 echo "$as_me:$LINENO: checking for _powf declaration" >&5
68124 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
68125 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68126 if test "${glibcxx_cv_func__powf_use+set}" = set; then
68127 echo $ECHO_N "(cached) $ECHO_C" >&6
68128 else
68132 ac_ext=cc
68133 ac_cpp='$CXXCPP $CPPFLAGS'
68134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68138 cat >conftest.$ac_ext <<_ACEOF
68139 /* confdefs.h. */
68140 _ACEOF
68141 cat confdefs.h >>conftest.$ac_ext
68142 cat >>conftest.$ac_ext <<_ACEOF
68143 /* end confdefs.h. */
68144 #include <math.h>
68146 main ()
68148 _powf(0, 0);
68150 return 0;
68152 _ACEOF
68153 rm -f conftest.$ac_objext
68154 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68155 (eval $ac_compile) 2>conftest.er1
68156 ac_status=$?
68157 grep -v '^ *+' conftest.er1 >conftest.err
68158 rm -f conftest.er1
68159 cat conftest.err >&5
68160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68161 (exit $ac_status); } &&
68162 { ac_try='test -z "$ac_cxx_werror_flag"
68163 || test ! -s conftest.err'
68164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68165 (eval $ac_try) 2>&5
68166 ac_status=$?
68167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68168 (exit $ac_status); }; } &&
68169 { ac_try='test -s conftest.$ac_objext'
68170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68171 (eval $ac_try) 2>&5
68172 ac_status=$?
68173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68174 (exit $ac_status); }; }; then
68175 glibcxx_cv_func__powf_use=yes
68176 else
68177 echo "$as_me: failed program was:" >&5
68178 sed 's/^/| /' conftest.$ac_ext >&5
68180 glibcxx_cv_func__powf_use=no
68182 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68183 ac_ext=c
68184 ac_cpp='$CPP $CPPFLAGS'
68185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68193 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
68194 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
68196 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68198 for ac_func in _powf
68200 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68201 echo "$as_me:$LINENO: checking for $ac_func" >&5
68202 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68203 if eval "test \"\${$as_ac_var+set}\" = set"; then
68204 echo $ECHO_N "(cached) $ECHO_C" >&6
68205 else
68206 if test x$gcc_no_link = xyes; then
68207 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68208 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68209 { (exit 1); exit 1; }; }
68211 cat >conftest.$ac_ext <<_ACEOF
68212 /* confdefs.h. */
68213 _ACEOF
68214 cat confdefs.h >>conftest.$ac_ext
68215 cat >>conftest.$ac_ext <<_ACEOF
68216 /* end confdefs.h. */
68217 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68218 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68219 #define $ac_func innocuous_$ac_func
68221 /* System header to define __stub macros and hopefully few prototypes,
68222 which can conflict with char $ac_func (); below.
68223 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68224 <limits.h> exists even on freestanding compilers. */
68226 #ifdef __STDC__
68227 # include <limits.h>
68228 #else
68229 # include <assert.h>
68230 #endif
68232 #undef $ac_func
68234 /* Override any gcc2 internal prototype to avoid an error. */
68235 #ifdef __cplusplus
68236 extern "C"
68238 #endif
68239 /* We use char because int might match the return type of a gcc2
68240 builtin and then its argument prototype would still apply. */
68241 char $ac_func ();
68242 /* The GNU C library defines this for functions which it implements
68243 to always fail with ENOSYS. Some functions are actually named
68244 something starting with __ and the normal name is an alias. */
68245 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68246 choke me
68247 #else
68248 char (*f) () = $ac_func;
68249 #endif
68250 #ifdef __cplusplus
68252 #endif
68255 main ()
68257 return f != $ac_func;
68259 return 0;
68261 _ACEOF
68262 rm -f conftest.$ac_objext conftest$ac_exeext
68263 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68264 (eval $ac_link) 2>conftest.er1
68265 ac_status=$?
68266 grep -v '^ *+' conftest.er1 >conftest.err
68267 rm -f conftest.er1
68268 cat conftest.err >&5
68269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68270 (exit $ac_status); } &&
68271 { ac_try='test -z "$ac_c_werror_flag"
68272 || test ! -s conftest.err'
68273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68274 (eval $ac_try) 2>&5
68275 ac_status=$?
68276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68277 (exit $ac_status); }; } &&
68278 { ac_try='test -s conftest$ac_exeext'
68279 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68280 (eval $ac_try) 2>&5
68281 ac_status=$?
68282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68283 (exit $ac_status); }; }; then
68284 eval "$as_ac_var=yes"
68285 else
68286 echo "$as_me: failed program was:" >&5
68287 sed 's/^/| /' conftest.$ac_ext >&5
68289 eval "$as_ac_var=no"
68291 rm -f conftest.err conftest.$ac_objext \
68292 conftest$ac_exeext conftest.$ac_ext
68294 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68295 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68296 if test `eval echo '${'$as_ac_var'}'` = yes; then
68297 cat >>confdefs.h <<_ACEOF
68298 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68299 _ACEOF
68302 done
68312 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
68313 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
68314 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68315 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
68316 echo $ECHO_N "(cached) $ECHO_C" >&6
68317 else
68321 ac_ext=cc
68322 ac_cpp='$CXXCPP $CPPFLAGS'
68323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68327 cat >conftest.$ac_ext <<_ACEOF
68328 /* confdefs.h. */
68329 _ACEOF
68330 cat confdefs.h >>conftest.$ac_ext
68331 cat >>conftest.$ac_ext <<_ACEOF
68332 /* end confdefs.h. */
68333 #include <math.h>
68334 #ifdef HAVE_IEEEFP_H
68335 #include <ieeefp.h>
68336 #endif
68339 main ()
68341 sqrtf(0);
68343 return 0;
68345 _ACEOF
68346 rm -f conftest.$ac_objext
68347 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68348 (eval $ac_compile) 2>conftest.er1
68349 ac_status=$?
68350 grep -v '^ *+' conftest.er1 >conftest.err
68351 rm -f conftest.er1
68352 cat conftest.err >&5
68353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68354 (exit $ac_status); } &&
68355 { ac_try='test -z "$ac_cxx_werror_flag"
68356 || test ! -s conftest.err'
68357 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68358 (eval $ac_try) 2>&5
68359 ac_status=$?
68360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68361 (exit $ac_status); }; } &&
68362 { ac_try='test -s conftest.$ac_objext'
68363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68364 (eval $ac_try) 2>&5
68365 ac_status=$?
68366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68367 (exit $ac_status); }; }; then
68368 glibcxx_cv_func_sqrtf_use=yes
68369 else
68370 echo "$as_me: failed program was:" >&5
68371 sed 's/^/| /' conftest.$ac_ext >&5
68373 glibcxx_cv_func_sqrtf_use=no
68375 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68376 ac_ext=c
68377 ac_cpp='$CPP $CPPFLAGS'
68378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68386 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
68387 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
68389 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68391 for ac_func in sqrtf
68393 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68394 echo "$as_me:$LINENO: checking for $ac_func" >&5
68395 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68396 if eval "test \"\${$as_ac_var+set}\" = set"; then
68397 echo $ECHO_N "(cached) $ECHO_C" >&6
68398 else
68399 if test x$gcc_no_link = xyes; then
68400 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68401 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68402 { (exit 1); exit 1; }; }
68404 cat >conftest.$ac_ext <<_ACEOF
68405 /* confdefs.h. */
68406 _ACEOF
68407 cat confdefs.h >>conftest.$ac_ext
68408 cat >>conftest.$ac_ext <<_ACEOF
68409 /* end confdefs.h. */
68410 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68411 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68412 #define $ac_func innocuous_$ac_func
68414 /* System header to define __stub macros and hopefully few prototypes,
68415 which can conflict with char $ac_func (); below.
68416 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68417 <limits.h> exists even on freestanding compilers. */
68419 #ifdef __STDC__
68420 # include <limits.h>
68421 #else
68422 # include <assert.h>
68423 #endif
68425 #undef $ac_func
68427 /* Override any gcc2 internal prototype to avoid an error. */
68428 #ifdef __cplusplus
68429 extern "C"
68431 #endif
68432 /* We use char because int might match the return type of a gcc2
68433 builtin and then its argument prototype would still apply. */
68434 char $ac_func ();
68435 /* The GNU C library defines this for functions which it implements
68436 to always fail with ENOSYS. Some functions are actually named
68437 something starting with __ and the normal name is an alias. */
68438 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68439 choke me
68440 #else
68441 char (*f) () = $ac_func;
68442 #endif
68443 #ifdef __cplusplus
68445 #endif
68448 main ()
68450 return f != $ac_func;
68452 return 0;
68454 _ACEOF
68455 rm -f conftest.$ac_objext conftest$ac_exeext
68456 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68457 (eval $ac_link) 2>conftest.er1
68458 ac_status=$?
68459 grep -v '^ *+' conftest.er1 >conftest.err
68460 rm -f conftest.er1
68461 cat conftest.err >&5
68462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68463 (exit $ac_status); } &&
68464 { ac_try='test -z "$ac_c_werror_flag"
68465 || test ! -s conftest.err'
68466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68467 (eval $ac_try) 2>&5
68468 ac_status=$?
68469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68470 (exit $ac_status); }; } &&
68471 { ac_try='test -s conftest$ac_exeext'
68472 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68473 (eval $ac_try) 2>&5
68474 ac_status=$?
68475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68476 (exit $ac_status); }; }; then
68477 eval "$as_ac_var=yes"
68478 else
68479 echo "$as_me: failed program was:" >&5
68480 sed 's/^/| /' conftest.$ac_ext >&5
68482 eval "$as_ac_var=no"
68484 rm -f conftest.err conftest.$ac_objext \
68485 conftest$ac_exeext conftest.$ac_ext
68487 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68488 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68489 if test `eval echo '${'$as_ac_var'}'` = yes; then
68490 cat >>confdefs.h <<_ACEOF
68491 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68492 _ACEOF
68495 done
68497 else
68499 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
68500 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
68501 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68502 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
68503 echo $ECHO_N "(cached) $ECHO_C" >&6
68504 else
68508 ac_ext=cc
68509 ac_cpp='$CXXCPP $CPPFLAGS'
68510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68514 cat >conftest.$ac_ext <<_ACEOF
68515 /* confdefs.h. */
68516 _ACEOF
68517 cat confdefs.h >>conftest.$ac_ext
68518 cat >>conftest.$ac_ext <<_ACEOF
68519 /* end confdefs.h. */
68520 #include <math.h>
68521 #ifdef HAVE_IEEEFP_H
68522 #include <ieeefp.h>
68523 #endif
68526 main ()
68528 _sqrtf(0);
68530 return 0;
68532 _ACEOF
68533 rm -f conftest.$ac_objext
68534 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68535 (eval $ac_compile) 2>conftest.er1
68536 ac_status=$?
68537 grep -v '^ *+' conftest.er1 >conftest.err
68538 rm -f conftest.er1
68539 cat conftest.err >&5
68540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68541 (exit $ac_status); } &&
68542 { ac_try='test -z "$ac_cxx_werror_flag"
68543 || test ! -s conftest.err'
68544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68545 (eval $ac_try) 2>&5
68546 ac_status=$?
68547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68548 (exit $ac_status); }; } &&
68549 { ac_try='test -s conftest.$ac_objext'
68550 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68551 (eval $ac_try) 2>&5
68552 ac_status=$?
68553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68554 (exit $ac_status); }; }; then
68555 glibcxx_cv_func__sqrtf_use=yes
68556 else
68557 echo "$as_me: failed program was:" >&5
68558 sed 's/^/| /' conftest.$ac_ext >&5
68560 glibcxx_cv_func__sqrtf_use=no
68562 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68563 ac_ext=c
68564 ac_cpp='$CPP $CPPFLAGS'
68565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68573 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
68574 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
68576 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68578 for ac_func in _sqrtf
68580 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68581 echo "$as_me:$LINENO: checking for $ac_func" >&5
68582 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68583 if eval "test \"\${$as_ac_var+set}\" = set"; then
68584 echo $ECHO_N "(cached) $ECHO_C" >&6
68585 else
68586 if test x$gcc_no_link = xyes; then
68587 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68588 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68589 { (exit 1); exit 1; }; }
68591 cat >conftest.$ac_ext <<_ACEOF
68592 /* confdefs.h. */
68593 _ACEOF
68594 cat confdefs.h >>conftest.$ac_ext
68595 cat >>conftest.$ac_ext <<_ACEOF
68596 /* end confdefs.h. */
68597 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68598 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68599 #define $ac_func innocuous_$ac_func
68601 /* System header to define __stub macros and hopefully few prototypes,
68602 which can conflict with char $ac_func (); below.
68603 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68604 <limits.h> exists even on freestanding compilers. */
68606 #ifdef __STDC__
68607 # include <limits.h>
68608 #else
68609 # include <assert.h>
68610 #endif
68612 #undef $ac_func
68614 /* Override any gcc2 internal prototype to avoid an error. */
68615 #ifdef __cplusplus
68616 extern "C"
68618 #endif
68619 /* We use char because int might match the return type of a gcc2
68620 builtin and then its argument prototype would still apply. */
68621 char $ac_func ();
68622 /* The GNU C library defines this for functions which it implements
68623 to always fail with ENOSYS. Some functions are actually named
68624 something starting with __ and the normal name is an alias. */
68625 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68626 choke me
68627 #else
68628 char (*f) () = $ac_func;
68629 #endif
68630 #ifdef __cplusplus
68632 #endif
68635 main ()
68637 return f != $ac_func;
68639 return 0;
68641 _ACEOF
68642 rm -f conftest.$ac_objext conftest$ac_exeext
68643 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68644 (eval $ac_link) 2>conftest.er1
68645 ac_status=$?
68646 grep -v '^ *+' conftest.er1 >conftest.err
68647 rm -f conftest.er1
68648 cat conftest.err >&5
68649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68650 (exit $ac_status); } &&
68651 { ac_try='test -z "$ac_c_werror_flag"
68652 || test ! -s conftest.err'
68653 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68654 (eval $ac_try) 2>&5
68655 ac_status=$?
68656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68657 (exit $ac_status); }; } &&
68658 { ac_try='test -s conftest$ac_exeext'
68659 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68660 (eval $ac_try) 2>&5
68661 ac_status=$?
68662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68663 (exit $ac_status); }; }; then
68664 eval "$as_ac_var=yes"
68665 else
68666 echo "$as_me: failed program was:" >&5
68667 sed 's/^/| /' conftest.$ac_ext >&5
68669 eval "$as_ac_var=no"
68671 rm -f conftest.err conftest.$ac_objext \
68672 conftest$ac_exeext conftest.$ac_ext
68674 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68675 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68676 if test `eval echo '${'$as_ac_var'}'` = yes; then
68677 cat >>confdefs.h <<_ACEOF
68678 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68679 _ACEOF
68682 done
68692 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
68693 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
68694 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68695 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
68696 echo $ECHO_N "(cached) $ECHO_C" >&6
68697 else
68701 ac_ext=cc
68702 ac_cpp='$CXXCPP $CPPFLAGS'
68703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68707 cat >conftest.$ac_ext <<_ACEOF
68708 /* confdefs.h. */
68709 _ACEOF
68710 cat confdefs.h >>conftest.$ac_ext
68711 cat >>conftest.$ac_ext <<_ACEOF
68712 /* end confdefs.h. */
68713 #include <math.h>
68715 main ()
68717 sincosf(0, 0, 0);
68719 return 0;
68721 _ACEOF
68722 rm -f conftest.$ac_objext
68723 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68724 (eval $ac_compile) 2>conftest.er1
68725 ac_status=$?
68726 grep -v '^ *+' conftest.er1 >conftest.err
68727 rm -f conftest.er1
68728 cat conftest.err >&5
68729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68730 (exit $ac_status); } &&
68731 { ac_try='test -z "$ac_cxx_werror_flag"
68732 || test ! -s conftest.err'
68733 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68734 (eval $ac_try) 2>&5
68735 ac_status=$?
68736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68737 (exit $ac_status); }; } &&
68738 { ac_try='test -s conftest.$ac_objext'
68739 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68740 (eval $ac_try) 2>&5
68741 ac_status=$?
68742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68743 (exit $ac_status); }; }; then
68744 glibcxx_cv_func_sincosf_use=yes
68745 else
68746 echo "$as_me: failed program was:" >&5
68747 sed 's/^/| /' conftest.$ac_ext >&5
68749 glibcxx_cv_func_sincosf_use=no
68751 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68752 ac_ext=c
68753 ac_cpp='$CPP $CPPFLAGS'
68754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68762 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
68763 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
68765 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68767 for ac_func in sincosf
68769 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68770 echo "$as_me:$LINENO: checking for $ac_func" >&5
68771 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68772 if eval "test \"\${$as_ac_var+set}\" = set"; then
68773 echo $ECHO_N "(cached) $ECHO_C" >&6
68774 else
68775 if test x$gcc_no_link = xyes; then
68776 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68777 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68778 { (exit 1); exit 1; }; }
68780 cat >conftest.$ac_ext <<_ACEOF
68781 /* confdefs.h. */
68782 _ACEOF
68783 cat confdefs.h >>conftest.$ac_ext
68784 cat >>conftest.$ac_ext <<_ACEOF
68785 /* end confdefs.h. */
68786 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68787 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68788 #define $ac_func innocuous_$ac_func
68790 /* System header to define __stub macros and hopefully few prototypes,
68791 which can conflict with char $ac_func (); below.
68792 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68793 <limits.h> exists even on freestanding compilers. */
68795 #ifdef __STDC__
68796 # include <limits.h>
68797 #else
68798 # include <assert.h>
68799 #endif
68801 #undef $ac_func
68803 /* Override any gcc2 internal prototype to avoid an error. */
68804 #ifdef __cplusplus
68805 extern "C"
68807 #endif
68808 /* We use char because int might match the return type of a gcc2
68809 builtin and then its argument prototype would still apply. */
68810 char $ac_func ();
68811 /* The GNU C library defines this for functions which it implements
68812 to always fail with ENOSYS. Some functions are actually named
68813 something starting with __ and the normal name is an alias. */
68814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68815 choke me
68816 #else
68817 char (*f) () = $ac_func;
68818 #endif
68819 #ifdef __cplusplus
68821 #endif
68824 main ()
68826 return f != $ac_func;
68828 return 0;
68830 _ACEOF
68831 rm -f conftest.$ac_objext conftest$ac_exeext
68832 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
68833 (eval $ac_link) 2>conftest.er1
68834 ac_status=$?
68835 grep -v '^ *+' conftest.er1 >conftest.err
68836 rm -f conftest.er1
68837 cat conftest.err >&5
68838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68839 (exit $ac_status); } &&
68840 { ac_try='test -z "$ac_c_werror_flag"
68841 || test ! -s conftest.err'
68842 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68843 (eval $ac_try) 2>&5
68844 ac_status=$?
68845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68846 (exit $ac_status); }; } &&
68847 { ac_try='test -s conftest$ac_exeext'
68848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68849 (eval $ac_try) 2>&5
68850 ac_status=$?
68851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68852 (exit $ac_status); }; }; then
68853 eval "$as_ac_var=yes"
68854 else
68855 echo "$as_me: failed program was:" >&5
68856 sed 's/^/| /' conftest.$ac_ext >&5
68858 eval "$as_ac_var=no"
68860 rm -f conftest.err conftest.$ac_objext \
68861 conftest$ac_exeext conftest.$ac_ext
68863 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
68864 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
68865 if test `eval echo '${'$as_ac_var'}'` = yes; then
68866 cat >>confdefs.h <<_ACEOF
68867 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
68868 _ACEOF
68871 done
68873 else
68875 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
68876 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
68877 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68878 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
68879 echo $ECHO_N "(cached) $ECHO_C" >&6
68880 else
68884 ac_ext=cc
68885 ac_cpp='$CXXCPP $CPPFLAGS'
68886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68890 cat >conftest.$ac_ext <<_ACEOF
68891 /* confdefs.h. */
68892 _ACEOF
68893 cat confdefs.h >>conftest.$ac_ext
68894 cat >>conftest.$ac_ext <<_ACEOF
68895 /* end confdefs.h. */
68896 #include <math.h>
68898 main ()
68900 _sincosf(0, 0, 0);
68902 return 0;
68904 _ACEOF
68905 rm -f conftest.$ac_objext
68906 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
68907 (eval $ac_compile) 2>conftest.er1
68908 ac_status=$?
68909 grep -v '^ *+' conftest.er1 >conftest.err
68910 rm -f conftest.er1
68911 cat conftest.err >&5
68912 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68913 (exit $ac_status); } &&
68914 { ac_try='test -z "$ac_cxx_werror_flag"
68915 || test ! -s conftest.err'
68916 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68917 (eval $ac_try) 2>&5
68918 ac_status=$?
68919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68920 (exit $ac_status); }; } &&
68921 { ac_try='test -s conftest.$ac_objext'
68922 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
68923 (eval $ac_try) 2>&5
68924 ac_status=$?
68925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
68926 (exit $ac_status); }; }; then
68927 glibcxx_cv_func__sincosf_use=yes
68928 else
68929 echo "$as_me: failed program was:" >&5
68930 sed 's/^/| /' conftest.$ac_ext >&5
68932 glibcxx_cv_func__sincosf_use=no
68934 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
68935 ac_ext=c
68936 ac_cpp='$CPP $CPPFLAGS'
68937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68945 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
68946 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
68948 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68950 for ac_func in _sincosf
68952 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
68953 echo "$as_me:$LINENO: checking for $ac_func" >&5
68954 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
68955 if eval "test \"\${$as_ac_var+set}\" = set"; then
68956 echo $ECHO_N "(cached) $ECHO_C" >&6
68957 else
68958 if test x$gcc_no_link = xyes; then
68959 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
68960 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
68961 { (exit 1); exit 1; }; }
68963 cat >conftest.$ac_ext <<_ACEOF
68964 /* confdefs.h. */
68965 _ACEOF
68966 cat confdefs.h >>conftest.$ac_ext
68967 cat >>conftest.$ac_ext <<_ACEOF
68968 /* end confdefs.h. */
68969 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
68970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
68971 #define $ac_func innocuous_$ac_func
68973 /* System header to define __stub macros and hopefully few prototypes,
68974 which can conflict with char $ac_func (); below.
68975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
68976 <limits.h> exists even on freestanding compilers. */
68978 #ifdef __STDC__
68979 # include <limits.h>
68980 #else
68981 # include <assert.h>
68982 #endif
68984 #undef $ac_func
68986 /* Override any gcc2 internal prototype to avoid an error. */
68987 #ifdef __cplusplus
68988 extern "C"
68990 #endif
68991 /* We use char because int might match the return type of a gcc2
68992 builtin and then its argument prototype would still apply. */
68993 char $ac_func ();
68994 /* The GNU C library defines this for functions which it implements
68995 to always fail with ENOSYS. Some functions are actually named
68996 something starting with __ and the normal name is an alias. */
68997 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
68998 choke me
68999 #else
69000 char (*f) () = $ac_func;
69001 #endif
69002 #ifdef __cplusplus
69004 #endif
69007 main ()
69009 return f != $ac_func;
69011 return 0;
69013 _ACEOF
69014 rm -f conftest.$ac_objext conftest$ac_exeext
69015 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69016 (eval $ac_link) 2>conftest.er1
69017 ac_status=$?
69018 grep -v '^ *+' conftest.er1 >conftest.err
69019 rm -f conftest.er1
69020 cat conftest.err >&5
69021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69022 (exit $ac_status); } &&
69023 { ac_try='test -z "$ac_c_werror_flag"
69024 || test ! -s conftest.err'
69025 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69026 (eval $ac_try) 2>&5
69027 ac_status=$?
69028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69029 (exit $ac_status); }; } &&
69030 { ac_try='test -s conftest$ac_exeext'
69031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69032 (eval $ac_try) 2>&5
69033 ac_status=$?
69034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69035 (exit $ac_status); }; }; then
69036 eval "$as_ac_var=yes"
69037 else
69038 echo "$as_me: failed program was:" >&5
69039 sed 's/^/| /' conftest.$ac_ext >&5
69041 eval "$as_ac_var=no"
69043 rm -f conftest.err conftest.$ac_objext \
69044 conftest$ac_exeext conftest.$ac_ext
69046 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69047 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69048 if test `eval echo '${'$as_ac_var'}'` = yes; then
69049 cat >>confdefs.h <<_ACEOF
69050 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69051 _ACEOF
69054 done
69064 echo "$as_me:$LINENO: checking for finitef declaration" >&5
69065 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
69066 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69067 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
69068 echo $ECHO_N "(cached) $ECHO_C" >&6
69069 else
69073 ac_ext=cc
69074 ac_cpp='$CXXCPP $CPPFLAGS'
69075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69079 cat >conftest.$ac_ext <<_ACEOF
69080 /* confdefs.h. */
69081 _ACEOF
69082 cat confdefs.h >>conftest.$ac_ext
69083 cat >>conftest.$ac_ext <<_ACEOF
69084 /* end confdefs.h. */
69085 #include <math.h>
69086 #ifdef HAVE_IEEEFP_H
69087 #include <ieeefp.h>
69088 #endif
69091 main ()
69093 finitef(0);
69095 return 0;
69097 _ACEOF
69098 rm -f conftest.$ac_objext
69099 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69100 (eval $ac_compile) 2>conftest.er1
69101 ac_status=$?
69102 grep -v '^ *+' conftest.er1 >conftest.err
69103 rm -f conftest.er1
69104 cat conftest.err >&5
69105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69106 (exit $ac_status); } &&
69107 { ac_try='test -z "$ac_cxx_werror_flag"
69108 || test ! -s conftest.err'
69109 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69110 (eval $ac_try) 2>&5
69111 ac_status=$?
69112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69113 (exit $ac_status); }; } &&
69114 { ac_try='test -s conftest.$ac_objext'
69115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69116 (eval $ac_try) 2>&5
69117 ac_status=$?
69118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69119 (exit $ac_status); }; }; then
69120 glibcxx_cv_func_finitef_use=yes
69121 else
69122 echo "$as_me: failed program was:" >&5
69123 sed 's/^/| /' conftest.$ac_ext >&5
69125 glibcxx_cv_func_finitef_use=no
69127 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69128 ac_ext=c
69129 ac_cpp='$CPP $CPPFLAGS'
69130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69138 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
69139 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
69141 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69143 for ac_func in finitef
69145 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69146 echo "$as_me:$LINENO: checking for $ac_func" >&5
69147 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69148 if eval "test \"\${$as_ac_var+set}\" = set"; then
69149 echo $ECHO_N "(cached) $ECHO_C" >&6
69150 else
69151 if test x$gcc_no_link = xyes; then
69152 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69153 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69154 { (exit 1); exit 1; }; }
69156 cat >conftest.$ac_ext <<_ACEOF
69157 /* confdefs.h. */
69158 _ACEOF
69159 cat confdefs.h >>conftest.$ac_ext
69160 cat >>conftest.$ac_ext <<_ACEOF
69161 /* end confdefs.h. */
69162 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69163 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69164 #define $ac_func innocuous_$ac_func
69166 /* System header to define __stub macros and hopefully few prototypes,
69167 which can conflict with char $ac_func (); below.
69168 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69169 <limits.h> exists even on freestanding compilers. */
69171 #ifdef __STDC__
69172 # include <limits.h>
69173 #else
69174 # include <assert.h>
69175 #endif
69177 #undef $ac_func
69179 /* Override any gcc2 internal prototype to avoid an error. */
69180 #ifdef __cplusplus
69181 extern "C"
69183 #endif
69184 /* We use char because int might match the return type of a gcc2
69185 builtin and then its argument prototype would still apply. */
69186 char $ac_func ();
69187 /* The GNU C library defines this for functions which it implements
69188 to always fail with ENOSYS. Some functions are actually named
69189 something starting with __ and the normal name is an alias. */
69190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69191 choke me
69192 #else
69193 char (*f) () = $ac_func;
69194 #endif
69195 #ifdef __cplusplus
69197 #endif
69200 main ()
69202 return f != $ac_func;
69204 return 0;
69206 _ACEOF
69207 rm -f conftest.$ac_objext conftest$ac_exeext
69208 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69209 (eval $ac_link) 2>conftest.er1
69210 ac_status=$?
69211 grep -v '^ *+' conftest.er1 >conftest.err
69212 rm -f conftest.er1
69213 cat conftest.err >&5
69214 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69215 (exit $ac_status); } &&
69216 { ac_try='test -z "$ac_c_werror_flag"
69217 || test ! -s conftest.err'
69218 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69219 (eval $ac_try) 2>&5
69220 ac_status=$?
69221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69222 (exit $ac_status); }; } &&
69223 { ac_try='test -s conftest$ac_exeext'
69224 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69225 (eval $ac_try) 2>&5
69226 ac_status=$?
69227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69228 (exit $ac_status); }; }; then
69229 eval "$as_ac_var=yes"
69230 else
69231 echo "$as_me: failed program was:" >&5
69232 sed 's/^/| /' conftest.$ac_ext >&5
69234 eval "$as_ac_var=no"
69236 rm -f conftest.err conftest.$ac_objext \
69237 conftest$ac_exeext conftest.$ac_ext
69239 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69240 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69241 if test `eval echo '${'$as_ac_var'}'` = yes; then
69242 cat >>confdefs.h <<_ACEOF
69243 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69244 _ACEOF
69247 done
69249 else
69251 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
69252 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
69253 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69254 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
69255 echo $ECHO_N "(cached) $ECHO_C" >&6
69256 else
69260 ac_ext=cc
69261 ac_cpp='$CXXCPP $CPPFLAGS'
69262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69266 cat >conftest.$ac_ext <<_ACEOF
69267 /* confdefs.h. */
69268 _ACEOF
69269 cat confdefs.h >>conftest.$ac_ext
69270 cat >>conftest.$ac_ext <<_ACEOF
69271 /* end confdefs.h. */
69272 #include <math.h>
69273 #ifdef HAVE_IEEEFP_H
69274 #include <ieeefp.h>
69275 #endif
69278 main ()
69280 _finitef(0);
69282 return 0;
69284 _ACEOF
69285 rm -f conftest.$ac_objext
69286 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69287 (eval $ac_compile) 2>conftest.er1
69288 ac_status=$?
69289 grep -v '^ *+' conftest.er1 >conftest.err
69290 rm -f conftest.er1
69291 cat conftest.err >&5
69292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69293 (exit $ac_status); } &&
69294 { ac_try='test -z "$ac_cxx_werror_flag"
69295 || test ! -s conftest.err'
69296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69297 (eval $ac_try) 2>&5
69298 ac_status=$?
69299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69300 (exit $ac_status); }; } &&
69301 { ac_try='test -s conftest.$ac_objext'
69302 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69303 (eval $ac_try) 2>&5
69304 ac_status=$?
69305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69306 (exit $ac_status); }; }; then
69307 glibcxx_cv_func__finitef_use=yes
69308 else
69309 echo "$as_me: failed program was:" >&5
69310 sed 's/^/| /' conftest.$ac_ext >&5
69312 glibcxx_cv_func__finitef_use=no
69314 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69315 ac_ext=c
69316 ac_cpp='$CPP $CPPFLAGS'
69317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69325 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
69326 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
69328 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69330 for ac_func in _finitef
69332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69333 echo "$as_me:$LINENO: checking for $ac_func" >&5
69334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69335 if eval "test \"\${$as_ac_var+set}\" = set"; then
69336 echo $ECHO_N "(cached) $ECHO_C" >&6
69337 else
69338 if test x$gcc_no_link = xyes; then
69339 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69340 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69341 { (exit 1); exit 1; }; }
69343 cat >conftest.$ac_ext <<_ACEOF
69344 /* confdefs.h. */
69345 _ACEOF
69346 cat confdefs.h >>conftest.$ac_ext
69347 cat >>conftest.$ac_ext <<_ACEOF
69348 /* end confdefs.h. */
69349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69351 #define $ac_func innocuous_$ac_func
69353 /* System header to define __stub macros and hopefully few prototypes,
69354 which can conflict with char $ac_func (); below.
69355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69356 <limits.h> exists even on freestanding compilers. */
69358 #ifdef __STDC__
69359 # include <limits.h>
69360 #else
69361 # include <assert.h>
69362 #endif
69364 #undef $ac_func
69366 /* Override any gcc2 internal prototype to avoid an error. */
69367 #ifdef __cplusplus
69368 extern "C"
69370 #endif
69371 /* We use char because int might match the return type of a gcc2
69372 builtin and then its argument prototype would still apply. */
69373 char $ac_func ();
69374 /* The GNU C library defines this for functions which it implements
69375 to always fail with ENOSYS. Some functions are actually named
69376 something starting with __ and the normal name is an alias. */
69377 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69378 choke me
69379 #else
69380 char (*f) () = $ac_func;
69381 #endif
69382 #ifdef __cplusplus
69384 #endif
69387 main ()
69389 return f != $ac_func;
69391 return 0;
69393 _ACEOF
69394 rm -f conftest.$ac_objext conftest$ac_exeext
69395 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69396 (eval $ac_link) 2>conftest.er1
69397 ac_status=$?
69398 grep -v '^ *+' conftest.er1 >conftest.err
69399 rm -f conftest.er1
69400 cat conftest.err >&5
69401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69402 (exit $ac_status); } &&
69403 { ac_try='test -z "$ac_c_werror_flag"
69404 || test ! -s conftest.err'
69405 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69406 (eval $ac_try) 2>&5
69407 ac_status=$?
69408 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69409 (exit $ac_status); }; } &&
69410 { ac_try='test -s conftest$ac_exeext'
69411 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69412 (eval $ac_try) 2>&5
69413 ac_status=$?
69414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69415 (exit $ac_status); }; }; then
69416 eval "$as_ac_var=yes"
69417 else
69418 echo "$as_me: failed program was:" >&5
69419 sed 's/^/| /' conftest.$ac_ext >&5
69421 eval "$as_ac_var=no"
69423 rm -f conftest.err conftest.$ac_objext \
69424 conftest$ac_exeext conftest.$ac_ext
69426 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69427 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69428 if test `eval echo '${'$as_ac_var'}'` = yes; then
69429 cat >>confdefs.h <<_ACEOF
69430 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69431 _ACEOF
69434 done
69444 echo "$as_me:$LINENO: checking for long double trig functions" >&5
69445 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
69446 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
69447 echo $ECHO_N "(cached) $ECHO_C" >&6
69448 else
69452 ac_ext=cc
69453 ac_cpp='$CXXCPP $CPPFLAGS'
69454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69458 cat >conftest.$ac_ext <<_ACEOF
69459 /* confdefs.h. */
69460 _ACEOF
69461 cat confdefs.h >>conftest.$ac_ext
69462 cat >>conftest.$ac_ext <<_ACEOF
69463 /* end confdefs.h. */
69464 #include <math.h>
69466 main ()
69468 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69470 return 0;
69472 _ACEOF
69473 rm -f conftest.$ac_objext
69474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69475 (eval $ac_compile) 2>conftest.er1
69476 ac_status=$?
69477 grep -v '^ *+' conftest.er1 >conftest.err
69478 rm -f conftest.er1
69479 cat conftest.err >&5
69480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69481 (exit $ac_status); } &&
69482 { ac_try='test -z "$ac_cxx_werror_flag"
69483 || test ! -s conftest.err'
69484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69485 (eval $ac_try) 2>&5
69486 ac_status=$?
69487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69488 (exit $ac_status); }; } &&
69489 { ac_try='test -s conftest.$ac_objext'
69490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69491 (eval $ac_try) 2>&5
69492 ac_status=$?
69493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69494 (exit $ac_status); }; }; then
69495 glibcxx_cv_func_long_double_trig_use=yes
69496 else
69497 echo "$as_me: failed program was:" >&5
69498 sed 's/^/| /' conftest.$ac_ext >&5
69500 glibcxx_cv_func_long_double_trig_use=no
69502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69503 ac_ext=c
69504 ac_cpp='$CPP $CPPFLAGS'
69505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69511 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
69512 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
69513 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69523 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69525 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69526 echo "$as_me:$LINENO: checking for $ac_func" >&5
69527 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69528 if eval "test \"\${$as_ac_var+set}\" = set"; then
69529 echo $ECHO_N "(cached) $ECHO_C" >&6
69530 else
69531 if test x$gcc_no_link = xyes; then
69532 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69533 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69534 { (exit 1); exit 1; }; }
69536 cat >conftest.$ac_ext <<_ACEOF
69537 /* confdefs.h. */
69538 _ACEOF
69539 cat confdefs.h >>conftest.$ac_ext
69540 cat >>conftest.$ac_ext <<_ACEOF
69541 /* end confdefs.h. */
69542 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69544 #define $ac_func innocuous_$ac_func
69546 /* System header to define __stub macros and hopefully few prototypes,
69547 which can conflict with char $ac_func (); below.
69548 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69549 <limits.h> exists even on freestanding compilers. */
69551 #ifdef __STDC__
69552 # include <limits.h>
69553 #else
69554 # include <assert.h>
69555 #endif
69557 #undef $ac_func
69559 /* Override any gcc2 internal prototype to avoid an error. */
69560 #ifdef __cplusplus
69561 extern "C"
69563 #endif
69564 /* We use char because int might match the return type of a gcc2
69565 builtin and then its argument prototype would still apply. */
69566 char $ac_func ();
69567 /* The GNU C library defines this for functions which it implements
69568 to always fail with ENOSYS. Some functions are actually named
69569 something starting with __ and the normal name is an alias. */
69570 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69571 choke me
69572 #else
69573 char (*f) () = $ac_func;
69574 #endif
69575 #ifdef __cplusplus
69577 #endif
69580 main ()
69582 return f != $ac_func;
69584 return 0;
69586 _ACEOF
69587 rm -f conftest.$ac_objext conftest$ac_exeext
69588 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69589 (eval $ac_link) 2>conftest.er1
69590 ac_status=$?
69591 grep -v '^ *+' conftest.er1 >conftest.err
69592 rm -f conftest.er1
69593 cat conftest.err >&5
69594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69595 (exit $ac_status); } &&
69596 { ac_try='test -z "$ac_c_werror_flag"
69597 || test ! -s conftest.err'
69598 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69599 (eval $ac_try) 2>&5
69600 ac_status=$?
69601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69602 (exit $ac_status); }; } &&
69603 { ac_try='test -s conftest$ac_exeext'
69604 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69605 (eval $ac_try) 2>&5
69606 ac_status=$?
69607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69608 (exit $ac_status); }; }; then
69609 eval "$as_ac_var=yes"
69610 else
69611 echo "$as_me: failed program was:" >&5
69612 sed 's/^/| /' conftest.$ac_ext >&5
69614 eval "$as_ac_var=no"
69616 rm -f conftest.err conftest.$ac_objext \
69617 conftest$ac_exeext conftest.$ac_ext
69619 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69620 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69621 if test `eval echo '${'$as_ac_var'}'` = yes; then
69622 cat >>confdefs.h <<_ACEOF
69623 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69624 _ACEOF
69627 done
69629 else
69630 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
69631 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
69632 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
69633 echo $ECHO_N "(cached) $ECHO_C" >&6
69634 else
69638 ac_ext=cc
69639 ac_cpp='$CXXCPP $CPPFLAGS'
69640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69644 cat >conftest.$ac_ext <<_ACEOF
69645 /* confdefs.h. */
69646 _ACEOF
69647 cat confdefs.h >>conftest.$ac_ext
69648 cat >>conftest.$ac_ext <<_ACEOF
69649 /* end confdefs.h. */
69650 #include <math.h>
69652 main ()
69654 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69656 return 0;
69658 _ACEOF
69659 rm -f conftest.$ac_objext
69660 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69661 (eval $ac_compile) 2>conftest.er1
69662 ac_status=$?
69663 grep -v '^ *+' conftest.er1 >conftest.err
69664 rm -f conftest.er1
69665 cat conftest.err >&5
69666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69667 (exit $ac_status); } &&
69668 { ac_try='test -z "$ac_cxx_werror_flag"
69669 || test ! -s conftest.err'
69670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69671 (eval $ac_try) 2>&5
69672 ac_status=$?
69673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69674 (exit $ac_status); }; } &&
69675 { ac_try='test -s conftest.$ac_objext'
69676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69677 (eval $ac_try) 2>&5
69678 ac_status=$?
69679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69680 (exit $ac_status); }; }; then
69681 glibcxx_cv_func__long_double_trig_use=yes
69682 else
69683 echo "$as_me: failed program was:" >&5
69684 sed 's/^/| /' conftest.$ac_ext >&5
69686 glibcxx_cv_func__long_double_trig_use=no
69688 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69689 ac_ext=c
69690 ac_cpp='$CPP $CPPFLAGS'
69691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69697 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
69698 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
69699 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69709 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69711 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69712 echo "$as_me:$LINENO: checking for $ac_func" >&5
69713 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69714 if eval "test \"\${$as_ac_var+set}\" = set"; then
69715 echo $ECHO_N "(cached) $ECHO_C" >&6
69716 else
69717 if test x$gcc_no_link = xyes; then
69718 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69719 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69720 { (exit 1); exit 1; }; }
69722 cat >conftest.$ac_ext <<_ACEOF
69723 /* confdefs.h. */
69724 _ACEOF
69725 cat confdefs.h >>conftest.$ac_ext
69726 cat >>conftest.$ac_ext <<_ACEOF
69727 /* end confdefs.h. */
69728 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69729 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69730 #define $ac_func innocuous_$ac_func
69732 /* System header to define __stub macros and hopefully few prototypes,
69733 which can conflict with char $ac_func (); below.
69734 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69735 <limits.h> exists even on freestanding compilers. */
69737 #ifdef __STDC__
69738 # include <limits.h>
69739 #else
69740 # include <assert.h>
69741 #endif
69743 #undef $ac_func
69745 /* Override any gcc2 internal prototype to avoid an error. */
69746 #ifdef __cplusplus
69747 extern "C"
69749 #endif
69750 /* We use char because int might match the return type of a gcc2
69751 builtin and then its argument prototype would still apply. */
69752 char $ac_func ();
69753 /* The GNU C library defines this for functions which it implements
69754 to always fail with ENOSYS. Some functions are actually named
69755 something starting with __ and the normal name is an alias. */
69756 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69757 choke me
69758 #else
69759 char (*f) () = $ac_func;
69760 #endif
69761 #ifdef __cplusplus
69763 #endif
69766 main ()
69768 return f != $ac_func;
69770 return 0;
69772 _ACEOF
69773 rm -f conftest.$ac_objext conftest$ac_exeext
69774 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69775 (eval $ac_link) 2>conftest.er1
69776 ac_status=$?
69777 grep -v '^ *+' conftest.er1 >conftest.err
69778 rm -f conftest.er1
69779 cat conftest.err >&5
69780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69781 (exit $ac_status); } &&
69782 { ac_try='test -z "$ac_c_werror_flag"
69783 || test ! -s conftest.err'
69784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69785 (eval $ac_try) 2>&5
69786 ac_status=$?
69787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69788 (exit $ac_status); }; } &&
69789 { ac_try='test -s conftest$ac_exeext'
69790 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69791 (eval $ac_try) 2>&5
69792 ac_status=$?
69793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69794 (exit $ac_status); }; }; then
69795 eval "$as_ac_var=yes"
69796 else
69797 echo "$as_me: failed program was:" >&5
69798 sed 's/^/| /' conftest.$ac_ext >&5
69800 eval "$as_ac_var=no"
69802 rm -f conftest.err conftest.$ac_objext \
69803 conftest$ac_exeext conftest.$ac_ext
69805 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
69806 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
69807 if test `eval echo '${'$as_ac_var'}'` = yes; then
69808 cat >>confdefs.h <<_ACEOF
69809 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
69810 _ACEOF
69813 done
69831 echo "$as_me:$LINENO: checking for long double round functions" >&5
69832 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
69833 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
69834 echo $ECHO_N "(cached) $ECHO_C" >&6
69835 else
69839 ac_ext=cc
69840 ac_cpp='$CXXCPP $CPPFLAGS'
69841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69845 cat >conftest.$ac_ext <<_ACEOF
69846 /* confdefs.h. */
69847 _ACEOF
69848 cat confdefs.h >>conftest.$ac_ext
69849 cat >>conftest.$ac_ext <<_ACEOF
69850 /* end confdefs.h. */
69851 #include <math.h>
69853 main ()
69855 ceill (0); floorl (0);
69857 return 0;
69859 _ACEOF
69860 rm -f conftest.$ac_objext
69861 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
69862 (eval $ac_compile) 2>conftest.er1
69863 ac_status=$?
69864 grep -v '^ *+' conftest.er1 >conftest.err
69865 rm -f conftest.er1
69866 cat conftest.err >&5
69867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69868 (exit $ac_status); } &&
69869 { ac_try='test -z "$ac_cxx_werror_flag"
69870 || test ! -s conftest.err'
69871 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69872 (eval $ac_try) 2>&5
69873 ac_status=$?
69874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69875 (exit $ac_status); }; } &&
69876 { ac_try='test -s conftest.$ac_objext'
69877 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69878 (eval $ac_try) 2>&5
69879 ac_status=$?
69880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69881 (exit $ac_status); }; }; then
69882 glibcxx_cv_func_long_double_round_use=yes
69883 else
69884 echo "$as_me: failed program was:" >&5
69885 sed 's/^/| /' conftest.$ac_ext >&5
69887 glibcxx_cv_func_long_double_round_use=no
69889 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
69890 ac_ext=c
69891 ac_cpp='$CPP $CPPFLAGS'
69892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69898 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
69899 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
69900 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69903 for ac_func in ceill floorl
69905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
69906 echo "$as_me:$LINENO: checking for $ac_func" >&5
69907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
69908 if eval "test \"\${$as_ac_var+set}\" = set"; then
69909 echo $ECHO_N "(cached) $ECHO_C" >&6
69910 else
69911 if test x$gcc_no_link = xyes; then
69912 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
69913 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
69914 { (exit 1); exit 1; }; }
69916 cat >conftest.$ac_ext <<_ACEOF
69917 /* confdefs.h. */
69918 _ACEOF
69919 cat confdefs.h >>conftest.$ac_ext
69920 cat >>conftest.$ac_ext <<_ACEOF
69921 /* end confdefs.h. */
69922 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
69923 For example, HP-UX 11i <limits.h> declares gettimeofday. */
69924 #define $ac_func innocuous_$ac_func
69926 /* System header to define __stub macros and hopefully few prototypes,
69927 which can conflict with char $ac_func (); below.
69928 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
69929 <limits.h> exists even on freestanding compilers. */
69931 #ifdef __STDC__
69932 # include <limits.h>
69933 #else
69934 # include <assert.h>
69935 #endif
69937 #undef $ac_func
69939 /* Override any gcc2 internal prototype to avoid an error. */
69940 #ifdef __cplusplus
69941 extern "C"
69943 #endif
69944 /* We use char because int might match the return type of a gcc2
69945 builtin and then its argument prototype would still apply. */
69946 char $ac_func ();
69947 /* The GNU C library defines this for functions which it implements
69948 to always fail with ENOSYS. Some functions are actually named
69949 something starting with __ and the normal name is an alias. */
69950 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
69951 choke me
69952 #else
69953 char (*f) () = $ac_func;
69954 #endif
69955 #ifdef __cplusplus
69957 #endif
69960 main ()
69962 return f != $ac_func;
69964 return 0;
69966 _ACEOF
69967 rm -f conftest.$ac_objext conftest$ac_exeext
69968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
69969 (eval $ac_link) 2>conftest.er1
69970 ac_status=$?
69971 grep -v '^ *+' conftest.er1 >conftest.err
69972 rm -f conftest.er1
69973 cat conftest.err >&5
69974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69975 (exit $ac_status); } &&
69976 { ac_try='test -z "$ac_c_werror_flag"
69977 || test ! -s conftest.err'
69978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69979 (eval $ac_try) 2>&5
69980 ac_status=$?
69981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69982 (exit $ac_status); }; } &&
69983 { ac_try='test -s conftest$ac_exeext'
69984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
69985 (eval $ac_try) 2>&5
69986 ac_status=$?
69987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
69988 (exit $ac_status); }; }; then
69989 eval "$as_ac_var=yes"
69990 else
69991 echo "$as_me: failed program was:" >&5
69992 sed 's/^/| /' conftest.$ac_ext >&5
69994 eval "$as_ac_var=no"
69996 rm -f conftest.err conftest.$ac_objext \
69997 conftest$ac_exeext conftest.$ac_ext
69999 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70000 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70001 if test `eval echo '${'$as_ac_var'}'` = yes; then
70002 cat >>confdefs.h <<_ACEOF
70003 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70004 _ACEOF
70007 done
70009 else
70010 echo "$as_me:$LINENO: checking for _long double round functions" >&5
70011 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
70012 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
70013 echo $ECHO_N "(cached) $ECHO_C" >&6
70014 else
70018 ac_ext=cc
70019 ac_cpp='$CXXCPP $CPPFLAGS'
70020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70024 cat >conftest.$ac_ext <<_ACEOF
70025 /* confdefs.h. */
70026 _ACEOF
70027 cat confdefs.h >>conftest.$ac_ext
70028 cat >>conftest.$ac_ext <<_ACEOF
70029 /* end confdefs.h. */
70030 #include <math.h>
70032 main ()
70034 _ceill (0); _floorl (0);
70036 return 0;
70038 _ACEOF
70039 rm -f conftest.$ac_objext
70040 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70041 (eval $ac_compile) 2>conftest.er1
70042 ac_status=$?
70043 grep -v '^ *+' conftest.er1 >conftest.err
70044 rm -f conftest.er1
70045 cat conftest.err >&5
70046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70047 (exit $ac_status); } &&
70048 { ac_try='test -z "$ac_cxx_werror_flag"
70049 || test ! -s conftest.err'
70050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70051 (eval $ac_try) 2>&5
70052 ac_status=$?
70053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70054 (exit $ac_status); }; } &&
70055 { ac_try='test -s conftest.$ac_objext'
70056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70057 (eval $ac_try) 2>&5
70058 ac_status=$?
70059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70060 (exit $ac_status); }; }; then
70061 glibcxx_cv_func__long_double_round_use=yes
70062 else
70063 echo "$as_me: failed program was:" >&5
70064 sed 's/^/| /' conftest.$ac_ext >&5
70066 glibcxx_cv_func__long_double_round_use=no
70068 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70069 ac_ext=c
70070 ac_cpp='$CPP $CPPFLAGS'
70071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70077 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
70078 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
70079 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70082 for ac_func in _ceill _floorl
70084 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70085 echo "$as_me:$LINENO: checking for $ac_func" >&5
70086 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70087 if eval "test \"\${$as_ac_var+set}\" = set"; then
70088 echo $ECHO_N "(cached) $ECHO_C" >&6
70089 else
70090 if test x$gcc_no_link = xyes; then
70091 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70092 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70093 { (exit 1); exit 1; }; }
70095 cat >conftest.$ac_ext <<_ACEOF
70096 /* confdefs.h. */
70097 _ACEOF
70098 cat confdefs.h >>conftest.$ac_ext
70099 cat >>conftest.$ac_ext <<_ACEOF
70100 /* end confdefs.h. */
70101 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70102 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70103 #define $ac_func innocuous_$ac_func
70105 /* System header to define __stub macros and hopefully few prototypes,
70106 which can conflict with char $ac_func (); below.
70107 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70108 <limits.h> exists even on freestanding compilers. */
70110 #ifdef __STDC__
70111 # include <limits.h>
70112 #else
70113 # include <assert.h>
70114 #endif
70116 #undef $ac_func
70118 /* Override any gcc2 internal prototype to avoid an error. */
70119 #ifdef __cplusplus
70120 extern "C"
70122 #endif
70123 /* We use char because int might match the return type of a gcc2
70124 builtin and then its argument prototype would still apply. */
70125 char $ac_func ();
70126 /* The GNU C library defines this for functions which it implements
70127 to always fail with ENOSYS. Some functions are actually named
70128 something starting with __ and the normal name is an alias. */
70129 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70130 choke me
70131 #else
70132 char (*f) () = $ac_func;
70133 #endif
70134 #ifdef __cplusplus
70136 #endif
70139 main ()
70141 return f != $ac_func;
70143 return 0;
70145 _ACEOF
70146 rm -f conftest.$ac_objext conftest$ac_exeext
70147 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70148 (eval $ac_link) 2>conftest.er1
70149 ac_status=$?
70150 grep -v '^ *+' conftest.er1 >conftest.err
70151 rm -f conftest.er1
70152 cat conftest.err >&5
70153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70154 (exit $ac_status); } &&
70155 { ac_try='test -z "$ac_c_werror_flag"
70156 || test ! -s conftest.err'
70157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70158 (eval $ac_try) 2>&5
70159 ac_status=$?
70160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70161 (exit $ac_status); }; } &&
70162 { ac_try='test -s conftest$ac_exeext'
70163 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70164 (eval $ac_try) 2>&5
70165 ac_status=$?
70166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70167 (exit $ac_status); }; }; then
70168 eval "$as_ac_var=yes"
70169 else
70170 echo "$as_me: failed program was:" >&5
70171 sed 's/^/| /' conftest.$ac_ext >&5
70173 eval "$as_ac_var=no"
70175 rm -f conftest.err conftest.$ac_objext \
70176 conftest$ac_exeext conftest.$ac_ext
70178 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70179 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70180 if test `eval echo '${'$as_ac_var'}'` = yes; then
70181 cat >>confdefs.h <<_ACEOF
70182 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70183 _ACEOF
70186 done
70198 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
70199 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
70200 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70201 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
70202 echo $ECHO_N "(cached) $ECHO_C" >&6
70203 else
70207 ac_ext=cc
70208 ac_cpp='$CXXCPP $CPPFLAGS'
70209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70213 cat >conftest.$ac_ext <<_ACEOF
70214 /* confdefs.h. */
70215 _ACEOF
70216 cat confdefs.h >>conftest.$ac_ext
70217 cat >>conftest.$ac_ext <<_ACEOF
70218 /* end confdefs.h. */
70219 #include <math.h>
70220 #ifdef HAVE_IEEEFP_H
70221 #include <ieeefp.h>
70222 #endif
70225 main ()
70227 isnanl(0);
70229 return 0;
70231 _ACEOF
70232 rm -f conftest.$ac_objext
70233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70234 (eval $ac_compile) 2>conftest.er1
70235 ac_status=$?
70236 grep -v '^ *+' conftest.er1 >conftest.err
70237 rm -f conftest.er1
70238 cat conftest.err >&5
70239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70240 (exit $ac_status); } &&
70241 { ac_try='test -z "$ac_cxx_werror_flag"
70242 || test ! -s conftest.err'
70243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70244 (eval $ac_try) 2>&5
70245 ac_status=$?
70246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70247 (exit $ac_status); }; } &&
70248 { ac_try='test -s conftest.$ac_objext'
70249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70250 (eval $ac_try) 2>&5
70251 ac_status=$?
70252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70253 (exit $ac_status); }; }; then
70254 glibcxx_cv_func_isnanl_use=yes
70255 else
70256 echo "$as_me: failed program was:" >&5
70257 sed 's/^/| /' conftest.$ac_ext >&5
70259 glibcxx_cv_func_isnanl_use=no
70261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70262 ac_ext=c
70263 ac_cpp='$CPP $CPPFLAGS'
70264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70272 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
70273 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
70275 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70277 for ac_func in isnanl
70279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70280 echo "$as_me:$LINENO: checking for $ac_func" >&5
70281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70282 if eval "test \"\${$as_ac_var+set}\" = set"; then
70283 echo $ECHO_N "(cached) $ECHO_C" >&6
70284 else
70285 if test x$gcc_no_link = xyes; then
70286 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70287 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70288 { (exit 1); exit 1; }; }
70290 cat >conftest.$ac_ext <<_ACEOF
70291 /* confdefs.h. */
70292 _ACEOF
70293 cat confdefs.h >>conftest.$ac_ext
70294 cat >>conftest.$ac_ext <<_ACEOF
70295 /* end confdefs.h. */
70296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70298 #define $ac_func innocuous_$ac_func
70300 /* System header to define __stub macros and hopefully few prototypes,
70301 which can conflict with char $ac_func (); below.
70302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70303 <limits.h> exists even on freestanding compilers. */
70305 #ifdef __STDC__
70306 # include <limits.h>
70307 #else
70308 # include <assert.h>
70309 #endif
70311 #undef $ac_func
70313 /* Override any gcc2 internal prototype to avoid an error. */
70314 #ifdef __cplusplus
70315 extern "C"
70317 #endif
70318 /* We use char because int might match the return type of a gcc2
70319 builtin and then its argument prototype would still apply. */
70320 char $ac_func ();
70321 /* The GNU C library defines this for functions which it implements
70322 to always fail with ENOSYS. Some functions are actually named
70323 something starting with __ and the normal name is an alias. */
70324 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70325 choke me
70326 #else
70327 char (*f) () = $ac_func;
70328 #endif
70329 #ifdef __cplusplus
70331 #endif
70334 main ()
70336 return f != $ac_func;
70338 return 0;
70340 _ACEOF
70341 rm -f conftest.$ac_objext conftest$ac_exeext
70342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70343 (eval $ac_link) 2>conftest.er1
70344 ac_status=$?
70345 grep -v '^ *+' conftest.er1 >conftest.err
70346 rm -f conftest.er1
70347 cat conftest.err >&5
70348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70349 (exit $ac_status); } &&
70350 { ac_try='test -z "$ac_c_werror_flag"
70351 || test ! -s conftest.err'
70352 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70353 (eval $ac_try) 2>&5
70354 ac_status=$?
70355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70356 (exit $ac_status); }; } &&
70357 { ac_try='test -s conftest$ac_exeext'
70358 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70359 (eval $ac_try) 2>&5
70360 ac_status=$?
70361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70362 (exit $ac_status); }; }; then
70363 eval "$as_ac_var=yes"
70364 else
70365 echo "$as_me: failed program was:" >&5
70366 sed 's/^/| /' conftest.$ac_ext >&5
70368 eval "$as_ac_var=no"
70370 rm -f conftest.err conftest.$ac_objext \
70371 conftest$ac_exeext conftest.$ac_ext
70373 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70374 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70375 if test `eval echo '${'$as_ac_var'}'` = yes; then
70376 cat >>confdefs.h <<_ACEOF
70377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70378 _ACEOF
70381 done
70383 else
70385 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
70386 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
70387 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70388 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
70389 echo $ECHO_N "(cached) $ECHO_C" >&6
70390 else
70394 ac_ext=cc
70395 ac_cpp='$CXXCPP $CPPFLAGS'
70396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70400 cat >conftest.$ac_ext <<_ACEOF
70401 /* confdefs.h. */
70402 _ACEOF
70403 cat confdefs.h >>conftest.$ac_ext
70404 cat >>conftest.$ac_ext <<_ACEOF
70405 /* end confdefs.h. */
70406 #include <math.h>
70407 #ifdef HAVE_IEEEFP_H
70408 #include <ieeefp.h>
70409 #endif
70412 main ()
70414 _isnanl(0);
70416 return 0;
70418 _ACEOF
70419 rm -f conftest.$ac_objext
70420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70421 (eval $ac_compile) 2>conftest.er1
70422 ac_status=$?
70423 grep -v '^ *+' conftest.er1 >conftest.err
70424 rm -f conftest.er1
70425 cat conftest.err >&5
70426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70427 (exit $ac_status); } &&
70428 { ac_try='test -z "$ac_cxx_werror_flag"
70429 || test ! -s conftest.err'
70430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70431 (eval $ac_try) 2>&5
70432 ac_status=$?
70433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70434 (exit $ac_status); }; } &&
70435 { ac_try='test -s conftest.$ac_objext'
70436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70437 (eval $ac_try) 2>&5
70438 ac_status=$?
70439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70440 (exit $ac_status); }; }; then
70441 glibcxx_cv_func__isnanl_use=yes
70442 else
70443 echo "$as_me: failed program was:" >&5
70444 sed 's/^/| /' conftest.$ac_ext >&5
70446 glibcxx_cv_func__isnanl_use=no
70448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70449 ac_ext=c
70450 ac_cpp='$CPP $CPPFLAGS'
70451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
70460 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
70462 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70464 for ac_func in _isnanl
70466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70467 echo "$as_me:$LINENO: checking for $ac_func" >&5
70468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70469 if eval "test \"\${$as_ac_var+set}\" = set"; then
70470 echo $ECHO_N "(cached) $ECHO_C" >&6
70471 else
70472 if test x$gcc_no_link = xyes; then
70473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70475 { (exit 1); exit 1; }; }
70477 cat >conftest.$ac_ext <<_ACEOF
70478 /* confdefs.h. */
70479 _ACEOF
70480 cat confdefs.h >>conftest.$ac_ext
70481 cat >>conftest.$ac_ext <<_ACEOF
70482 /* end confdefs.h. */
70483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70485 #define $ac_func innocuous_$ac_func
70487 /* System header to define __stub macros and hopefully few prototypes,
70488 which can conflict with char $ac_func (); below.
70489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70490 <limits.h> exists even on freestanding compilers. */
70492 #ifdef __STDC__
70493 # include <limits.h>
70494 #else
70495 # include <assert.h>
70496 #endif
70498 #undef $ac_func
70500 /* Override any gcc2 internal prototype to avoid an error. */
70501 #ifdef __cplusplus
70502 extern "C"
70504 #endif
70505 /* We use char because int might match the return type of a gcc2
70506 builtin and then its argument prototype would still apply. */
70507 char $ac_func ();
70508 /* The GNU C library defines this for functions which it implements
70509 to always fail with ENOSYS. Some functions are actually named
70510 something starting with __ and the normal name is an alias. */
70511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70512 choke me
70513 #else
70514 char (*f) () = $ac_func;
70515 #endif
70516 #ifdef __cplusplus
70518 #endif
70521 main ()
70523 return f != $ac_func;
70525 return 0;
70527 _ACEOF
70528 rm -f conftest.$ac_objext conftest$ac_exeext
70529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70530 (eval $ac_link) 2>conftest.er1
70531 ac_status=$?
70532 grep -v '^ *+' conftest.er1 >conftest.err
70533 rm -f conftest.er1
70534 cat conftest.err >&5
70535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70536 (exit $ac_status); } &&
70537 { ac_try='test -z "$ac_c_werror_flag"
70538 || test ! -s conftest.err'
70539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70540 (eval $ac_try) 2>&5
70541 ac_status=$?
70542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70543 (exit $ac_status); }; } &&
70544 { ac_try='test -s conftest$ac_exeext'
70545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70546 (eval $ac_try) 2>&5
70547 ac_status=$?
70548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70549 (exit $ac_status); }; }; then
70550 eval "$as_ac_var=yes"
70551 else
70552 echo "$as_me: failed program was:" >&5
70553 sed 's/^/| /' conftest.$ac_ext >&5
70555 eval "$as_ac_var=no"
70557 rm -f conftest.err conftest.$ac_objext \
70558 conftest$ac_exeext conftest.$ac_ext
70560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70562 if test `eval echo '${'$as_ac_var'}'` = yes; then
70563 cat >>confdefs.h <<_ACEOF
70564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70565 _ACEOF
70568 done
70578 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
70579 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
70580 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70581 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
70582 echo $ECHO_N "(cached) $ECHO_C" >&6
70583 else
70587 ac_ext=cc
70588 ac_cpp='$CXXCPP $CPPFLAGS'
70589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70593 cat >conftest.$ac_ext <<_ACEOF
70594 /* confdefs.h. */
70595 _ACEOF
70596 cat confdefs.h >>conftest.$ac_ext
70597 cat >>conftest.$ac_ext <<_ACEOF
70598 /* end confdefs.h. */
70599 #include <math.h>
70600 #ifdef HAVE_IEEEFP_H
70601 #include <ieeefp.h>
70602 #endif
70605 main ()
70607 isinfl(0);
70609 return 0;
70611 _ACEOF
70612 rm -f conftest.$ac_objext
70613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70614 (eval $ac_compile) 2>conftest.er1
70615 ac_status=$?
70616 grep -v '^ *+' conftest.er1 >conftest.err
70617 rm -f conftest.er1
70618 cat conftest.err >&5
70619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70620 (exit $ac_status); } &&
70621 { ac_try='test -z "$ac_cxx_werror_flag"
70622 || test ! -s conftest.err'
70623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70624 (eval $ac_try) 2>&5
70625 ac_status=$?
70626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70627 (exit $ac_status); }; } &&
70628 { ac_try='test -s conftest.$ac_objext'
70629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70630 (eval $ac_try) 2>&5
70631 ac_status=$?
70632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70633 (exit $ac_status); }; }; then
70634 glibcxx_cv_func_isinfl_use=yes
70635 else
70636 echo "$as_me: failed program was:" >&5
70637 sed 's/^/| /' conftest.$ac_ext >&5
70639 glibcxx_cv_func_isinfl_use=no
70641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70642 ac_ext=c
70643 ac_cpp='$CPP $CPPFLAGS'
70644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
70653 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
70655 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70657 for ac_func in isinfl
70659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70660 echo "$as_me:$LINENO: checking for $ac_func" >&5
70661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70662 if eval "test \"\${$as_ac_var+set}\" = set"; then
70663 echo $ECHO_N "(cached) $ECHO_C" >&6
70664 else
70665 if test x$gcc_no_link = xyes; then
70666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70668 { (exit 1); exit 1; }; }
70670 cat >conftest.$ac_ext <<_ACEOF
70671 /* confdefs.h. */
70672 _ACEOF
70673 cat confdefs.h >>conftest.$ac_ext
70674 cat >>conftest.$ac_ext <<_ACEOF
70675 /* end confdefs.h. */
70676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70678 #define $ac_func innocuous_$ac_func
70680 /* System header to define __stub macros and hopefully few prototypes,
70681 which can conflict with char $ac_func (); below.
70682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70683 <limits.h> exists even on freestanding compilers. */
70685 #ifdef __STDC__
70686 # include <limits.h>
70687 #else
70688 # include <assert.h>
70689 #endif
70691 #undef $ac_func
70693 /* Override any gcc2 internal prototype to avoid an error. */
70694 #ifdef __cplusplus
70695 extern "C"
70697 #endif
70698 /* We use char because int might match the return type of a gcc2
70699 builtin and then its argument prototype would still apply. */
70700 char $ac_func ();
70701 /* The GNU C library defines this for functions which it implements
70702 to always fail with ENOSYS. Some functions are actually named
70703 something starting with __ and the normal name is an alias. */
70704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70705 choke me
70706 #else
70707 char (*f) () = $ac_func;
70708 #endif
70709 #ifdef __cplusplus
70711 #endif
70714 main ()
70716 return f != $ac_func;
70718 return 0;
70720 _ACEOF
70721 rm -f conftest.$ac_objext conftest$ac_exeext
70722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70723 (eval $ac_link) 2>conftest.er1
70724 ac_status=$?
70725 grep -v '^ *+' conftest.er1 >conftest.err
70726 rm -f conftest.er1
70727 cat conftest.err >&5
70728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70729 (exit $ac_status); } &&
70730 { ac_try='test -z "$ac_c_werror_flag"
70731 || test ! -s conftest.err'
70732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70733 (eval $ac_try) 2>&5
70734 ac_status=$?
70735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70736 (exit $ac_status); }; } &&
70737 { ac_try='test -s conftest$ac_exeext'
70738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70739 (eval $ac_try) 2>&5
70740 ac_status=$?
70741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70742 (exit $ac_status); }; }; then
70743 eval "$as_ac_var=yes"
70744 else
70745 echo "$as_me: failed program was:" >&5
70746 sed 's/^/| /' conftest.$ac_ext >&5
70748 eval "$as_ac_var=no"
70750 rm -f conftest.err conftest.$ac_objext \
70751 conftest$ac_exeext conftest.$ac_ext
70753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70755 if test `eval echo '${'$as_ac_var'}'` = yes; then
70756 cat >>confdefs.h <<_ACEOF
70757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70758 _ACEOF
70761 done
70763 else
70765 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
70766 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
70767 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70768 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
70769 echo $ECHO_N "(cached) $ECHO_C" >&6
70770 else
70774 ac_ext=cc
70775 ac_cpp='$CXXCPP $CPPFLAGS'
70776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70780 cat >conftest.$ac_ext <<_ACEOF
70781 /* confdefs.h. */
70782 _ACEOF
70783 cat confdefs.h >>conftest.$ac_ext
70784 cat >>conftest.$ac_ext <<_ACEOF
70785 /* end confdefs.h. */
70786 #include <math.h>
70787 #ifdef HAVE_IEEEFP_H
70788 #include <ieeefp.h>
70789 #endif
70792 main ()
70794 _isinfl(0);
70796 return 0;
70798 _ACEOF
70799 rm -f conftest.$ac_objext
70800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70801 (eval $ac_compile) 2>conftest.er1
70802 ac_status=$?
70803 grep -v '^ *+' conftest.er1 >conftest.err
70804 rm -f conftest.er1
70805 cat conftest.err >&5
70806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70807 (exit $ac_status); } &&
70808 { ac_try='test -z "$ac_cxx_werror_flag"
70809 || test ! -s conftest.err'
70810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70811 (eval $ac_try) 2>&5
70812 ac_status=$?
70813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70814 (exit $ac_status); }; } &&
70815 { ac_try='test -s conftest.$ac_objext'
70816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70817 (eval $ac_try) 2>&5
70818 ac_status=$?
70819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70820 (exit $ac_status); }; }; then
70821 glibcxx_cv_func__isinfl_use=yes
70822 else
70823 echo "$as_me: failed program was:" >&5
70824 sed 's/^/| /' conftest.$ac_ext >&5
70826 glibcxx_cv_func__isinfl_use=no
70828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
70829 ac_ext=c
70830 ac_cpp='$CPP $CPPFLAGS'
70831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
70840 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
70842 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70844 for ac_func in _isinfl
70846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
70847 echo "$as_me:$LINENO: checking for $ac_func" >&5
70848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
70849 if eval "test \"\${$as_ac_var+set}\" = set"; then
70850 echo $ECHO_N "(cached) $ECHO_C" >&6
70851 else
70852 if test x$gcc_no_link = xyes; then
70853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
70854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
70855 { (exit 1); exit 1; }; }
70857 cat >conftest.$ac_ext <<_ACEOF
70858 /* confdefs.h. */
70859 _ACEOF
70860 cat confdefs.h >>conftest.$ac_ext
70861 cat >>conftest.$ac_ext <<_ACEOF
70862 /* end confdefs.h. */
70863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
70864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
70865 #define $ac_func innocuous_$ac_func
70867 /* System header to define __stub macros and hopefully few prototypes,
70868 which can conflict with char $ac_func (); below.
70869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
70870 <limits.h> exists even on freestanding compilers. */
70872 #ifdef __STDC__
70873 # include <limits.h>
70874 #else
70875 # include <assert.h>
70876 #endif
70878 #undef $ac_func
70880 /* Override any gcc2 internal prototype to avoid an error. */
70881 #ifdef __cplusplus
70882 extern "C"
70884 #endif
70885 /* We use char because int might match the return type of a gcc2
70886 builtin and then its argument prototype would still apply. */
70887 char $ac_func ();
70888 /* The GNU C library defines this for functions which it implements
70889 to always fail with ENOSYS. Some functions are actually named
70890 something starting with __ and the normal name is an alias. */
70891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
70892 choke me
70893 #else
70894 char (*f) () = $ac_func;
70895 #endif
70896 #ifdef __cplusplus
70898 #endif
70901 main ()
70903 return f != $ac_func;
70905 return 0;
70907 _ACEOF
70908 rm -f conftest.$ac_objext conftest$ac_exeext
70909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
70910 (eval $ac_link) 2>conftest.er1
70911 ac_status=$?
70912 grep -v '^ *+' conftest.er1 >conftest.err
70913 rm -f conftest.er1
70914 cat conftest.err >&5
70915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70916 (exit $ac_status); } &&
70917 { ac_try='test -z "$ac_c_werror_flag"
70918 || test ! -s conftest.err'
70919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70920 (eval $ac_try) 2>&5
70921 ac_status=$?
70922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70923 (exit $ac_status); }; } &&
70924 { ac_try='test -s conftest$ac_exeext'
70925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
70926 (eval $ac_try) 2>&5
70927 ac_status=$?
70928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70929 (exit $ac_status); }; }; then
70930 eval "$as_ac_var=yes"
70931 else
70932 echo "$as_me: failed program was:" >&5
70933 sed 's/^/| /' conftest.$ac_ext >&5
70935 eval "$as_ac_var=no"
70937 rm -f conftest.err conftest.$ac_objext \
70938 conftest$ac_exeext conftest.$ac_ext
70940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
70941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
70942 if test `eval echo '${'$as_ac_var'}'` = yes; then
70943 cat >>confdefs.h <<_ACEOF
70944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
70945 _ACEOF
70948 done
70958 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
70959 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
70960 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70961 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
70962 echo $ECHO_N "(cached) $ECHO_C" >&6
70963 else
70967 ac_ext=cc
70968 ac_cpp='$CXXCPP $CPPFLAGS'
70969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70973 cat >conftest.$ac_ext <<_ACEOF
70974 /* confdefs.h. */
70975 _ACEOF
70976 cat confdefs.h >>conftest.$ac_ext
70977 cat >>conftest.$ac_ext <<_ACEOF
70978 /* end confdefs.h. */
70979 #include <math.h>
70981 main ()
70983 atan2l(0, 0);
70985 return 0;
70987 _ACEOF
70988 rm -f conftest.$ac_objext
70989 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
70990 (eval $ac_compile) 2>conftest.er1
70991 ac_status=$?
70992 grep -v '^ *+' conftest.er1 >conftest.err
70993 rm -f conftest.er1
70994 cat conftest.err >&5
70995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
70996 (exit $ac_status); } &&
70997 { ac_try='test -z "$ac_cxx_werror_flag"
70998 || test ! -s conftest.err'
70999 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71000 (eval $ac_try) 2>&5
71001 ac_status=$?
71002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71003 (exit $ac_status); }; } &&
71004 { ac_try='test -s conftest.$ac_objext'
71005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71006 (eval $ac_try) 2>&5
71007 ac_status=$?
71008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71009 (exit $ac_status); }; }; then
71010 glibcxx_cv_func_atan2l_use=yes
71011 else
71012 echo "$as_me: failed program was:" >&5
71013 sed 's/^/| /' conftest.$ac_ext >&5
71015 glibcxx_cv_func_atan2l_use=no
71017 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71018 ac_ext=c
71019 ac_cpp='$CPP $CPPFLAGS'
71020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71028 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
71029 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
71031 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
71033 for ac_func in atan2l
71035 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71036 echo "$as_me:$LINENO: checking for $ac_func" >&5
71037 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71038 if eval "test \"\${$as_ac_var+set}\" = set"; then
71039 echo $ECHO_N "(cached) $ECHO_C" >&6
71040 else
71041 if test x$gcc_no_link = xyes; then
71042 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71043 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71044 { (exit 1); exit 1; }; }
71046 cat >conftest.$ac_ext <<_ACEOF
71047 /* confdefs.h. */
71048 _ACEOF
71049 cat confdefs.h >>conftest.$ac_ext
71050 cat >>conftest.$ac_ext <<_ACEOF
71051 /* end confdefs.h. */
71052 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71053 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71054 #define $ac_func innocuous_$ac_func
71056 /* System header to define __stub macros and hopefully few prototypes,
71057 which can conflict with char $ac_func (); below.
71058 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71059 <limits.h> exists even on freestanding compilers. */
71061 #ifdef __STDC__
71062 # include <limits.h>
71063 #else
71064 # include <assert.h>
71065 #endif
71067 #undef $ac_func
71069 /* Override any gcc2 internal prototype to avoid an error. */
71070 #ifdef __cplusplus
71071 extern "C"
71073 #endif
71074 /* We use char because int might match the return type of a gcc2
71075 builtin and then its argument prototype would still apply. */
71076 char $ac_func ();
71077 /* The GNU C library defines this for functions which it implements
71078 to always fail with ENOSYS. Some functions are actually named
71079 something starting with __ and the normal name is an alias. */
71080 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71081 choke me
71082 #else
71083 char (*f) () = $ac_func;
71084 #endif
71085 #ifdef __cplusplus
71087 #endif
71090 main ()
71092 return f != $ac_func;
71094 return 0;
71096 _ACEOF
71097 rm -f conftest.$ac_objext conftest$ac_exeext
71098 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71099 (eval $ac_link) 2>conftest.er1
71100 ac_status=$?
71101 grep -v '^ *+' conftest.er1 >conftest.err
71102 rm -f conftest.er1
71103 cat conftest.err >&5
71104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71105 (exit $ac_status); } &&
71106 { ac_try='test -z "$ac_c_werror_flag"
71107 || test ! -s conftest.err'
71108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71109 (eval $ac_try) 2>&5
71110 ac_status=$?
71111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71112 (exit $ac_status); }; } &&
71113 { ac_try='test -s conftest$ac_exeext'
71114 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71115 (eval $ac_try) 2>&5
71116 ac_status=$?
71117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71118 (exit $ac_status); }; }; then
71119 eval "$as_ac_var=yes"
71120 else
71121 echo "$as_me: failed program was:" >&5
71122 sed 's/^/| /' conftest.$ac_ext >&5
71124 eval "$as_ac_var=no"
71126 rm -f conftest.err conftest.$ac_objext \
71127 conftest$ac_exeext conftest.$ac_ext
71129 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71130 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71131 if test `eval echo '${'$as_ac_var'}'` = yes; then
71132 cat >>confdefs.h <<_ACEOF
71133 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71134 _ACEOF
71137 done
71139 else
71141 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
71142 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
71143 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
71144 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
71145 echo $ECHO_N "(cached) $ECHO_C" >&6
71146 else
71150 ac_ext=cc
71151 ac_cpp='$CXXCPP $CPPFLAGS'
71152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71156 cat >conftest.$ac_ext <<_ACEOF
71157 /* confdefs.h. */
71158 _ACEOF
71159 cat confdefs.h >>conftest.$ac_ext
71160 cat >>conftest.$ac_ext <<_ACEOF
71161 /* end confdefs.h. */
71162 #include <math.h>
71164 main ()
71166 _atan2l(0, 0);
71168 return 0;
71170 _ACEOF
71171 rm -f conftest.$ac_objext
71172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71173 (eval $ac_compile) 2>conftest.er1
71174 ac_status=$?
71175 grep -v '^ *+' conftest.er1 >conftest.err
71176 rm -f conftest.er1
71177 cat conftest.err >&5
71178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71179 (exit $ac_status); } &&
71180 { ac_try='test -z "$ac_cxx_werror_flag"
71181 || test ! -s conftest.err'
71182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71183 (eval $ac_try) 2>&5
71184 ac_status=$?
71185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71186 (exit $ac_status); }; } &&
71187 { ac_try='test -s conftest.$ac_objext'
71188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71189 (eval $ac_try) 2>&5
71190 ac_status=$?
71191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71192 (exit $ac_status); }; }; then
71193 glibcxx_cv_func__atan2l_use=yes
71194 else
71195 echo "$as_me: failed program was:" >&5
71196 sed 's/^/| /' conftest.$ac_ext >&5
71198 glibcxx_cv_func__atan2l_use=no
71200 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71201 ac_ext=c
71202 ac_cpp='$CPP $CPPFLAGS'
71203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71211 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
71212 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
71214 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
71216 for ac_func in _atan2l
71218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71219 echo "$as_me:$LINENO: checking for $ac_func" >&5
71220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71221 if eval "test \"\${$as_ac_var+set}\" = set"; then
71222 echo $ECHO_N "(cached) $ECHO_C" >&6
71223 else
71224 if test x$gcc_no_link = xyes; then
71225 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71226 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71227 { (exit 1); exit 1; }; }
71229 cat >conftest.$ac_ext <<_ACEOF
71230 /* confdefs.h. */
71231 _ACEOF
71232 cat confdefs.h >>conftest.$ac_ext
71233 cat >>conftest.$ac_ext <<_ACEOF
71234 /* end confdefs.h. */
71235 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71236 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71237 #define $ac_func innocuous_$ac_func
71239 /* System header to define __stub macros and hopefully few prototypes,
71240 which can conflict with char $ac_func (); below.
71241 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71242 <limits.h> exists even on freestanding compilers. */
71244 #ifdef __STDC__
71245 # include <limits.h>
71246 #else
71247 # include <assert.h>
71248 #endif
71250 #undef $ac_func
71252 /* Override any gcc2 internal prototype to avoid an error. */
71253 #ifdef __cplusplus
71254 extern "C"
71256 #endif
71257 /* We use char because int might match the return type of a gcc2
71258 builtin and then its argument prototype would still apply. */
71259 char $ac_func ();
71260 /* The GNU C library defines this for functions which it implements
71261 to always fail with ENOSYS. Some functions are actually named
71262 something starting with __ and the normal name is an alias. */
71263 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71264 choke me
71265 #else
71266 char (*f) () = $ac_func;
71267 #endif
71268 #ifdef __cplusplus
71270 #endif
71273 main ()
71275 return f != $ac_func;
71277 return 0;
71279 _ACEOF
71280 rm -f conftest.$ac_objext conftest$ac_exeext
71281 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71282 (eval $ac_link) 2>conftest.er1
71283 ac_status=$?
71284 grep -v '^ *+' conftest.er1 >conftest.err
71285 rm -f conftest.er1
71286 cat conftest.err >&5
71287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71288 (exit $ac_status); } &&
71289 { ac_try='test -z "$ac_c_werror_flag"
71290 || test ! -s conftest.err'
71291 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71292 (eval $ac_try) 2>&5
71293 ac_status=$?
71294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71295 (exit $ac_status); }; } &&
71296 { ac_try='test -s conftest$ac_exeext'
71297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71298 (eval $ac_try) 2>&5
71299 ac_status=$?
71300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71301 (exit $ac_status); }; }; then
71302 eval "$as_ac_var=yes"
71303 else
71304 echo "$as_me: failed program was:" >&5
71305 sed 's/^/| /' conftest.$ac_ext >&5
71307 eval "$as_ac_var=no"
71309 rm -f conftest.err conftest.$ac_objext \
71310 conftest$ac_exeext conftest.$ac_ext
71312 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71313 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71314 if test `eval echo '${'$as_ac_var'}'` = yes; then
71315 cat >>confdefs.h <<_ACEOF
71316 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71317 _ACEOF
71320 done
71330 echo "$as_me:$LINENO: checking for expl declaration" >&5
71331 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
71332 if test x${glibcxx_cv_func_expl_use+set} != xset; then
71333 if test "${glibcxx_cv_func_expl_use+set}" = set; then
71334 echo $ECHO_N "(cached) $ECHO_C" >&6
71335 else
71339 ac_ext=cc
71340 ac_cpp='$CXXCPP $CPPFLAGS'
71341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71345 cat >conftest.$ac_ext <<_ACEOF
71346 /* confdefs.h. */
71347 _ACEOF
71348 cat confdefs.h >>conftest.$ac_ext
71349 cat >>conftest.$ac_ext <<_ACEOF
71350 /* end confdefs.h. */
71351 #include <math.h>
71352 #ifdef HAVE_IEEEFP_H
71353 #include <ieeefp.h>
71354 #endif
71357 main ()
71359 expl(0);
71361 return 0;
71363 _ACEOF
71364 rm -f conftest.$ac_objext
71365 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71366 (eval $ac_compile) 2>conftest.er1
71367 ac_status=$?
71368 grep -v '^ *+' conftest.er1 >conftest.err
71369 rm -f conftest.er1
71370 cat conftest.err >&5
71371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71372 (exit $ac_status); } &&
71373 { ac_try='test -z "$ac_cxx_werror_flag"
71374 || test ! -s conftest.err'
71375 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71376 (eval $ac_try) 2>&5
71377 ac_status=$?
71378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71379 (exit $ac_status); }; } &&
71380 { ac_try='test -s conftest.$ac_objext'
71381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71382 (eval $ac_try) 2>&5
71383 ac_status=$?
71384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71385 (exit $ac_status); }; }; then
71386 glibcxx_cv_func_expl_use=yes
71387 else
71388 echo "$as_me: failed program was:" >&5
71389 sed 's/^/| /' conftest.$ac_ext >&5
71391 glibcxx_cv_func_expl_use=no
71393 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71394 ac_ext=c
71395 ac_cpp='$CPP $CPPFLAGS'
71396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71404 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
71405 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
71407 if test x$glibcxx_cv_func_expl_use = x"yes"; then
71409 for ac_func in expl
71411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71412 echo "$as_me:$LINENO: checking for $ac_func" >&5
71413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71414 if eval "test \"\${$as_ac_var+set}\" = set"; then
71415 echo $ECHO_N "(cached) $ECHO_C" >&6
71416 else
71417 if test x$gcc_no_link = xyes; then
71418 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71419 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71420 { (exit 1); exit 1; }; }
71422 cat >conftest.$ac_ext <<_ACEOF
71423 /* confdefs.h. */
71424 _ACEOF
71425 cat confdefs.h >>conftest.$ac_ext
71426 cat >>conftest.$ac_ext <<_ACEOF
71427 /* end confdefs.h. */
71428 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71429 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71430 #define $ac_func innocuous_$ac_func
71432 /* System header to define __stub macros and hopefully few prototypes,
71433 which can conflict with char $ac_func (); below.
71434 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71435 <limits.h> exists even on freestanding compilers. */
71437 #ifdef __STDC__
71438 # include <limits.h>
71439 #else
71440 # include <assert.h>
71441 #endif
71443 #undef $ac_func
71445 /* Override any gcc2 internal prototype to avoid an error. */
71446 #ifdef __cplusplus
71447 extern "C"
71449 #endif
71450 /* We use char because int might match the return type of a gcc2
71451 builtin and then its argument prototype would still apply. */
71452 char $ac_func ();
71453 /* The GNU C library defines this for functions which it implements
71454 to always fail with ENOSYS. Some functions are actually named
71455 something starting with __ and the normal name is an alias. */
71456 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71457 choke me
71458 #else
71459 char (*f) () = $ac_func;
71460 #endif
71461 #ifdef __cplusplus
71463 #endif
71466 main ()
71468 return f != $ac_func;
71470 return 0;
71472 _ACEOF
71473 rm -f conftest.$ac_objext conftest$ac_exeext
71474 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71475 (eval $ac_link) 2>conftest.er1
71476 ac_status=$?
71477 grep -v '^ *+' conftest.er1 >conftest.err
71478 rm -f conftest.er1
71479 cat conftest.err >&5
71480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71481 (exit $ac_status); } &&
71482 { ac_try='test -z "$ac_c_werror_flag"
71483 || test ! -s conftest.err'
71484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71485 (eval $ac_try) 2>&5
71486 ac_status=$?
71487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71488 (exit $ac_status); }; } &&
71489 { ac_try='test -s conftest$ac_exeext'
71490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71491 (eval $ac_try) 2>&5
71492 ac_status=$?
71493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71494 (exit $ac_status); }; }; then
71495 eval "$as_ac_var=yes"
71496 else
71497 echo "$as_me: failed program was:" >&5
71498 sed 's/^/| /' conftest.$ac_ext >&5
71500 eval "$as_ac_var=no"
71502 rm -f conftest.err conftest.$ac_objext \
71503 conftest$ac_exeext conftest.$ac_ext
71505 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71506 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71507 if test `eval echo '${'$as_ac_var'}'` = yes; then
71508 cat >>confdefs.h <<_ACEOF
71509 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71510 _ACEOF
71513 done
71515 else
71517 echo "$as_me:$LINENO: checking for _expl declaration" >&5
71518 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
71519 if test x${glibcxx_cv_func__expl_use+set} != xset; then
71520 if test "${glibcxx_cv_func__expl_use+set}" = set; then
71521 echo $ECHO_N "(cached) $ECHO_C" >&6
71522 else
71526 ac_ext=cc
71527 ac_cpp='$CXXCPP $CPPFLAGS'
71528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71532 cat >conftest.$ac_ext <<_ACEOF
71533 /* confdefs.h. */
71534 _ACEOF
71535 cat confdefs.h >>conftest.$ac_ext
71536 cat >>conftest.$ac_ext <<_ACEOF
71537 /* end confdefs.h. */
71538 #include <math.h>
71539 #ifdef HAVE_IEEEFP_H
71540 #include <ieeefp.h>
71541 #endif
71544 main ()
71546 _expl(0);
71548 return 0;
71550 _ACEOF
71551 rm -f conftest.$ac_objext
71552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71553 (eval $ac_compile) 2>conftest.er1
71554 ac_status=$?
71555 grep -v '^ *+' conftest.er1 >conftest.err
71556 rm -f conftest.er1
71557 cat conftest.err >&5
71558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71559 (exit $ac_status); } &&
71560 { ac_try='test -z "$ac_cxx_werror_flag"
71561 || test ! -s conftest.err'
71562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71563 (eval $ac_try) 2>&5
71564 ac_status=$?
71565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71566 (exit $ac_status); }; } &&
71567 { ac_try='test -s conftest.$ac_objext'
71568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71569 (eval $ac_try) 2>&5
71570 ac_status=$?
71571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71572 (exit $ac_status); }; }; then
71573 glibcxx_cv_func__expl_use=yes
71574 else
71575 echo "$as_me: failed program was:" >&5
71576 sed 's/^/| /' conftest.$ac_ext >&5
71578 glibcxx_cv_func__expl_use=no
71580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71581 ac_ext=c
71582 ac_cpp='$CPP $CPPFLAGS'
71583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
71592 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
71594 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71596 for ac_func in _expl
71598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71599 echo "$as_me:$LINENO: checking for $ac_func" >&5
71600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71601 if eval "test \"\${$as_ac_var+set}\" = set"; then
71602 echo $ECHO_N "(cached) $ECHO_C" >&6
71603 else
71604 if test x$gcc_no_link = xyes; then
71605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71607 { (exit 1); exit 1; }; }
71609 cat >conftest.$ac_ext <<_ACEOF
71610 /* confdefs.h. */
71611 _ACEOF
71612 cat confdefs.h >>conftest.$ac_ext
71613 cat >>conftest.$ac_ext <<_ACEOF
71614 /* end confdefs.h. */
71615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71617 #define $ac_func innocuous_$ac_func
71619 /* System header to define __stub macros and hopefully few prototypes,
71620 which can conflict with char $ac_func (); below.
71621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71622 <limits.h> exists even on freestanding compilers. */
71624 #ifdef __STDC__
71625 # include <limits.h>
71626 #else
71627 # include <assert.h>
71628 #endif
71630 #undef $ac_func
71632 /* Override any gcc2 internal prototype to avoid an error. */
71633 #ifdef __cplusplus
71634 extern "C"
71636 #endif
71637 /* We use char because int might match the return type of a gcc2
71638 builtin and then its argument prototype would still apply. */
71639 char $ac_func ();
71640 /* The GNU C library defines this for functions which it implements
71641 to always fail with ENOSYS. Some functions are actually named
71642 something starting with __ and the normal name is an alias. */
71643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71644 choke me
71645 #else
71646 char (*f) () = $ac_func;
71647 #endif
71648 #ifdef __cplusplus
71650 #endif
71653 main ()
71655 return f != $ac_func;
71657 return 0;
71659 _ACEOF
71660 rm -f conftest.$ac_objext conftest$ac_exeext
71661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71662 (eval $ac_link) 2>conftest.er1
71663 ac_status=$?
71664 grep -v '^ *+' conftest.er1 >conftest.err
71665 rm -f conftest.er1
71666 cat conftest.err >&5
71667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71668 (exit $ac_status); } &&
71669 { ac_try='test -z "$ac_c_werror_flag"
71670 || test ! -s conftest.err'
71671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71672 (eval $ac_try) 2>&5
71673 ac_status=$?
71674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71675 (exit $ac_status); }; } &&
71676 { ac_try='test -s conftest$ac_exeext'
71677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71678 (eval $ac_try) 2>&5
71679 ac_status=$?
71680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71681 (exit $ac_status); }; }; then
71682 eval "$as_ac_var=yes"
71683 else
71684 echo "$as_me: failed program was:" >&5
71685 sed 's/^/| /' conftest.$ac_ext >&5
71687 eval "$as_ac_var=no"
71689 rm -f conftest.err conftest.$ac_objext \
71690 conftest$ac_exeext conftest.$ac_ext
71692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71694 if test `eval echo '${'$as_ac_var'}'` = yes; then
71695 cat >>confdefs.h <<_ACEOF
71696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71697 _ACEOF
71700 done
71710 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
71711 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
71712 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71713 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
71714 echo $ECHO_N "(cached) $ECHO_C" >&6
71715 else
71719 ac_ext=cc
71720 ac_cpp='$CXXCPP $CPPFLAGS'
71721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71725 cat >conftest.$ac_ext <<_ACEOF
71726 /* confdefs.h. */
71727 _ACEOF
71728 cat confdefs.h >>conftest.$ac_ext
71729 cat >>conftest.$ac_ext <<_ACEOF
71730 /* end confdefs.h. */
71731 #include <math.h>
71732 #ifdef HAVE_IEEEFP_H
71733 #include <ieeefp.h>
71734 #endif
71737 main ()
71739 fabsl(0);
71741 return 0;
71743 _ACEOF
71744 rm -f conftest.$ac_objext
71745 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71746 (eval $ac_compile) 2>conftest.er1
71747 ac_status=$?
71748 grep -v '^ *+' conftest.er1 >conftest.err
71749 rm -f conftest.er1
71750 cat conftest.err >&5
71751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71752 (exit $ac_status); } &&
71753 { ac_try='test -z "$ac_cxx_werror_flag"
71754 || test ! -s conftest.err'
71755 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71756 (eval $ac_try) 2>&5
71757 ac_status=$?
71758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71759 (exit $ac_status); }; } &&
71760 { ac_try='test -s conftest.$ac_objext'
71761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71762 (eval $ac_try) 2>&5
71763 ac_status=$?
71764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71765 (exit $ac_status); }; }; then
71766 glibcxx_cv_func_fabsl_use=yes
71767 else
71768 echo "$as_me: failed program was:" >&5
71769 sed 's/^/| /' conftest.$ac_ext >&5
71771 glibcxx_cv_func_fabsl_use=no
71773 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71774 ac_ext=c
71775 ac_cpp='$CPP $CPPFLAGS'
71776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71784 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
71785 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
71787 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71789 for ac_func in fabsl
71791 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71792 echo "$as_me:$LINENO: checking for $ac_func" >&5
71793 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71794 if eval "test \"\${$as_ac_var+set}\" = set"; then
71795 echo $ECHO_N "(cached) $ECHO_C" >&6
71796 else
71797 if test x$gcc_no_link = xyes; then
71798 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71799 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71800 { (exit 1); exit 1; }; }
71802 cat >conftest.$ac_ext <<_ACEOF
71803 /* confdefs.h. */
71804 _ACEOF
71805 cat confdefs.h >>conftest.$ac_ext
71806 cat >>conftest.$ac_ext <<_ACEOF
71807 /* end confdefs.h. */
71808 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71809 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71810 #define $ac_func innocuous_$ac_func
71812 /* System header to define __stub macros and hopefully few prototypes,
71813 which can conflict with char $ac_func (); below.
71814 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
71815 <limits.h> exists even on freestanding compilers. */
71817 #ifdef __STDC__
71818 # include <limits.h>
71819 #else
71820 # include <assert.h>
71821 #endif
71823 #undef $ac_func
71825 /* Override any gcc2 internal prototype to avoid an error. */
71826 #ifdef __cplusplus
71827 extern "C"
71829 #endif
71830 /* We use char because int might match the return type of a gcc2
71831 builtin and then its argument prototype would still apply. */
71832 char $ac_func ();
71833 /* The GNU C library defines this for functions which it implements
71834 to always fail with ENOSYS. Some functions are actually named
71835 something starting with __ and the normal name is an alias. */
71836 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
71837 choke me
71838 #else
71839 char (*f) () = $ac_func;
71840 #endif
71841 #ifdef __cplusplus
71843 #endif
71846 main ()
71848 return f != $ac_func;
71850 return 0;
71852 _ACEOF
71853 rm -f conftest.$ac_objext conftest$ac_exeext
71854 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
71855 (eval $ac_link) 2>conftest.er1
71856 ac_status=$?
71857 grep -v '^ *+' conftest.er1 >conftest.err
71858 rm -f conftest.er1
71859 cat conftest.err >&5
71860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71861 (exit $ac_status); } &&
71862 { ac_try='test -z "$ac_c_werror_flag"
71863 || test ! -s conftest.err'
71864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71865 (eval $ac_try) 2>&5
71866 ac_status=$?
71867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71868 (exit $ac_status); }; } &&
71869 { ac_try='test -s conftest$ac_exeext'
71870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71871 (eval $ac_try) 2>&5
71872 ac_status=$?
71873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71874 (exit $ac_status); }; }; then
71875 eval "$as_ac_var=yes"
71876 else
71877 echo "$as_me: failed program was:" >&5
71878 sed 's/^/| /' conftest.$ac_ext >&5
71880 eval "$as_ac_var=no"
71882 rm -f conftest.err conftest.$ac_objext \
71883 conftest$ac_exeext conftest.$ac_ext
71885 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
71886 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
71887 if test `eval echo '${'$as_ac_var'}'` = yes; then
71888 cat >>confdefs.h <<_ACEOF
71889 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
71890 _ACEOF
71893 done
71895 else
71897 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
71898 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
71899 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71900 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
71901 echo $ECHO_N "(cached) $ECHO_C" >&6
71902 else
71906 ac_ext=cc
71907 ac_cpp='$CXXCPP $CPPFLAGS'
71908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71912 cat >conftest.$ac_ext <<_ACEOF
71913 /* confdefs.h. */
71914 _ACEOF
71915 cat confdefs.h >>conftest.$ac_ext
71916 cat >>conftest.$ac_ext <<_ACEOF
71917 /* end confdefs.h. */
71918 #include <math.h>
71919 #ifdef HAVE_IEEEFP_H
71920 #include <ieeefp.h>
71921 #endif
71924 main ()
71926 _fabsl(0);
71928 return 0;
71930 _ACEOF
71931 rm -f conftest.$ac_objext
71932 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
71933 (eval $ac_compile) 2>conftest.er1
71934 ac_status=$?
71935 grep -v '^ *+' conftest.er1 >conftest.err
71936 rm -f conftest.er1
71937 cat conftest.err >&5
71938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71939 (exit $ac_status); } &&
71940 { ac_try='test -z "$ac_cxx_werror_flag"
71941 || test ! -s conftest.err'
71942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71943 (eval $ac_try) 2>&5
71944 ac_status=$?
71945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71946 (exit $ac_status); }; } &&
71947 { ac_try='test -s conftest.$ac_objext'
71948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
71949 (eval $ac_try) 2>&5
71950 ac_status=$?
71951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
71952 (exit $ac_status); }; }; then
71953 glibcxx_cv_func__fabsl_use=yes
71954 else
71955 echo "$as_me: failed program was:" >&5
71956 sed 's/^/| /' conftest.$ac_ext >&5
71958 glibcxx_cv_func__fabsl_use=no
71960 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
71961 ac_ext=c
71962 ac_cpp='$CPP $CPPFLAGS'
71963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71971 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
71972 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
71974 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71976 for ac_func in _fabsl
71978 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
71979 echo "$as_me:$LINENO: checking for $ac_func" >&5
71980 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
71981 if eval "test \"\${$as_ac_var+set}\" = set"; then
71982 echo $ECHO_N "(cached) $ECHO_C" >&6
71983 else
71984 if test x$gcc_no_link = xyes; then
71985 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
71986 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
71987 { (exit 1); exit 1; }; }
71989 cat >conftest.$ac_ext <<_ACEOF
71990 /* confdefs.h. */
71991 _ACEOF
71992 cat confdefs.h >>conftest.$ac_ext
71993 cat >>conftest.$ac_ext <<_ACEOF
71994 /* end confdefs.h. */
71995 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
71996 For example, HP-UX 11i <limits.h> declares gettimeofday. */
71997 #define $ac_func innocuous_$ac_func
71999 /* System header to define __stub macros and hopefully few prototypes,
72000 which can conflict with char $ac_func (); below.
72001 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72002 <limits.h> exists even on freestanding compilers. */
72004 #ifdef __STDC__
72005 # include <limits.h>
72006 #else
72007 # include <assert.h>
72008 #endif
72010 #undef $ac_func
72012 /* Override any gcc2 internal prototype to avoid an error. */
72013 #ifdef __cplusplus
72014 extern "C"
72016 #endif
72017 /* We use char because int might match the return type of a gcc2
72018 builtin and then its argument prototype would still apply. */
72019 char $ac_func ();
72020 /* The GNU C library defines this for functions which it implements
72021 to always fail with ENOSYS. Some functions are actually named
72022 something starting with __ and the normal name is an alias. */
72023 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72024 choke me
72025 #else
72026 char (*f) () = $ac_func;
72027 #endif
72028 #ifdef __cplusplus
72030 #endif
72033 main ()
72035 return f != $ac_func;
72037 return 0;
72039 _ACEOF
72040 rm -f conftest.$ac_objext conftest$ac_exeext
72041 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72042 (eval $ac_link) 2>conftest.er1
72043 ac_status=$?
72044 grep -v '^ *+' conftest.er1 >conftest.err
72045 rm -f conftest.er1
72046 cat conftest.err >&5
72047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72048 (exit $ac_status); } &&
72049 { ac_try='test -z "$ac_c_werror_flag"
72050 || test ! -s conftest.err'
72051 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72052 (eval $ac_try) 2>&5
72053 ac_status=$?
72054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72055 (exit $ac_status); }; } &&
72056 { ac_try='test -s conftest$ac_exeext'
72057 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72058 (eval $ac_try) 2>&5
72059 ac_status=$?
72060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72061 (exit $ac_status); }; }; then
72062 eval "$as_ac_var=yes"
72063 else
72064 echo "$as_me: failed program was:" >&5
72065 sed 's/^/| /' conftest.$ac_ext >&5
72067 eval "$as_ac_var=no"
72069 rm -f conftest.err conftest.$ac_objext \
72070 conftest$ac_exeext conftest.$ac_ext
72072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72073 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72074 if test `eval echo '${'$as_ac_var'}'` = yes; then
72075 cat >>confdefs.h <<_ACEOF
72076 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72077 _ACEOF
72080 done
72090 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
72091 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
72092 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
72093 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
72094 echo $ECHO_N "(cached) $ECHO_C" >&6
72095 else
72099 ac_ext=cc
72100 ac_cpp='$CXXCPP $CPPFLAGS'
72101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72105 cat >conftest.$ac_ext <<_ACEOF
72106 /* confdefs.h. */
72107 _ACEOF
72108 cat confdefs.h >>conftest.$ac_ext
72109 cat >>conftest.$ac_ext <<_ACEOF
72110 /* end confdefs.h. */
72111 #include <math.h>
72113 main ()
72115 fmodl(0, 0);
72117 return 0;
72119 _ACEOF
72120 rm -f conftest.$ac_objext
72121 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72122 (eval $ac_compile) 2>conftest.er1
72123 ac_status=$?
72124 grep -v '^ *+' conftest.er1 >conftest.err
72125 rm -f conftest.er1
72126 cat conftest.err >&5
72127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72128 (exit $ac_status); } &&
72129 { ac_try='test -z "$ac_cxx_werror_flag"
72130 || test ! -s conftest.err'
72131 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72132 (eval $ac_try) 2>&5
72133 ac_status=$?
72134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72135 (exit $ac_status); }; } &&
72136 { ac_try='test -s conftest.$ac_objext'
72137 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72138 (eval $ac_try) 2>&5
72139 ac_status=$?
72140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72141 (exit $ac_status); }; }; then
72142 glibcxx_cv_func_fmodl_use=yes
72143 else
72144 echo "$as_me: failed program was:" >&5
72145 sed 's/^/| /' conftest.$ac_ext >&5
72147 glibcxx_cv_func_fmodl_use=no
72149 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72150 ac_ext=c
72151 ac_cpp='$CPP $CPPFLAGS'
72152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72160 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
72161 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
72163 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
72165 for ac_func in fmodl
72167 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72168 echo "$as_me:$LINENO: checking for $ac_func" >&5
72169 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72170 if eval "test \"\${$as_ac_var+set}\" = set"; then
72171 echo $ECHO_N "(cached) $ECHO_C" >&6
72172 else
72173 if test x$gcc_no_link = xyes; then
72174 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72175 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72176 { (exit 1); exit 1; }; }
72178 cat >conftest.$ac_ext <<_ACEOF
72179 /* confdefs.h. */
72180 _ACEOF
72181 cat confdefs.h >>conftest.$ac_ext
72182 cat >>conftest.$ac_ext <<_ACEOF
72183 /* end confdefs.h. */
72184 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72185 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72186 #define $ac_func innocuous_$ac_func
72188 /* System header to define __stub macros and hopefully few prototypes,
72189 which can conflict with char $ac_func (); below.
72190 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72191 <limits.h> exists even on freestanding compilers. */
72193 #ifdef __STDC__
72194 # include <limits.h>
72195 #else
72196 # include <assert.h>
72197 #endif
72199 #undef $ac_func
72201 /* Override any gcc2 internal prototype to avoid an error. */
72202 #ifdef __cplusplus
72203 extern "C"
72205 #endif
72206 /* We use char because int might match the return type of a gcc2
72207 builtin and then its argument prototype would still apply. */
72208 char $ac_func ();
72209 /* The GNU C library defines this for functions which it implements
72210 to always fail with ENOSYS. Some functions are actually named
72211 something starting with __ and the normal name is an alias. */
72212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72213 choke me
72214 #else
72215 char (*f) () = $ac_func;
72216 #endif
72217 #ifdef __cplusplus
72219 #endif
72222 main ()
72224 return f != $ac_func;
72226 return 0;
72228 _ACEOF
72229 rm -f conftest.$ac_objext conftest$ac_exeext
72230 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72231 (eval $ac_link) 2>conftest.er1
72232 ac_status=$?
72233 grep -v '^ *+' conftest.er1 >conftest.err
72234 rm -f conftest.er1
72235 cat conftest.err >&5
72236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72237 (exit $ac_status); } &&
72238 { ac_try='test -z "$ac_c_werror_flag"
72239 || test ! -s conftest.err'
72240 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72241 (eval $ac_try) 2>&5
72242 ac_status=$?
72243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72244 (exit $ac_status); }; } &&
72245 { ac_try='test -s conftest$ac_exeext'
72246 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72247 (eval $ac_try) 2>&5
72248 ac_status=$?
72249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72250 (exit $ac_status); }; }; then
72251 eval "$as_ac_var=yes"
72252 else
72253 echo "$as_me: failed program was:" >&5
72254 sed 's/^/| /' conftest.$ac_ext >&5
72256 eval "$as_ac_var=no"
72258 rm -f conftest.err conftest.$ac_objext \
72259 conftest$ac_exeext conftest.$ac_ext
72261 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72262 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72263 if test `eval echo '${'$as_ac_var'}'` = yes; then
72264 cat >>confdefs.h <<_ACEOF
72265 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72266 _ACEOF
72269 done
72271 else
72273 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
72274 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
72275 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
72276 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
72277 echo $ECHO_N "(cached) $ECHO_C" >&6
72278 else
72282 ac_ext=cc
72283 ac_cpp='$CXXCPP $CPPFLAGS'
72284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72288 cat >conftest.$ac_ext <<_ACEOF
72289 /* confdefs.h. */
72290 _ACEOF
72291 cat confdefs.h >>conftest.$ac_ext
72292 cat >>conftest.$ac_ext <<_ACEOF
72293 /* end confdefs.h. */
72294 #include <math.h>
72296 main ()
72298 _fmodl(0, 0);
72300 return 0;
72302 _ACEOF
72303 rm -f conftest.$ac_objext
72304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72305 (eval $ac_compile) 2>conftest.er1
72306 ac_status=$?
72307 grep -v '^ *+' conftest.er1 >conftest.err
72308 rm -f conftest.er1
72309 cat conftest.err >&5
72310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72311 (exit $ac_status); } &&
72312 { ac_try='test -z "$ac_cxx_werror_flag"
72313 || test ! -s conftest.err'
72314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72315 (eval $ac_try) 2>&5
72316 ac_status=$?
72317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72318 (exit $ac_status); }; } &&
72319 { ac_try='test -s conftest.$ac_objext'
72320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72321 (eval $ac_try) 2>&5
72322 ac_status=$?
72323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72324 (exit $ac_status); }; }; then
72325 glibcxx_cv_func__fmodl_use=yes
72326 else
72327 echo "$as_me: failed program was:" >&5
72328 sed 's/^/| /' conftest.$ac_ext >&5
72330 glibcxx_cv_func__fmodl_use=no
72332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72333 ac_ext=c
72334 ac_cpp='$CPP $CPPFLAGS'
72335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
72344 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
72346 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
72348 for ac_func in _fmodl
72350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72351 echo "$as_me:$LINENO: checking for $ac_func" >&5
72352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72353 if eval "test \"\${$as_ac_var+set}\" = set"; then
72354 echo $ECHO_N "(cached) $ECHO_C" >&6
72355 else
72356 if test x$gcc_no_link = xyes; then
72357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72359 { (exit 1); exit 1; }; }
72361 cat >conftest.$ac_ext <<_ACEOF
72362 /* confdefs.h. */
72363 _ACEOF
72364 cat confdefs.h >>conftest.$ac_ext
72365 cat >>conftest.$ac_ext <<_ACEOF
72366 /* end confdefs.h. */
72367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72369 #define $ac_func innocuous_$ac_func
72371 /* System header to define __stub macros and hopefully few prototypes,
72372 which can conflict with char $ac_func (); below.
72373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72374 <limits.h> exists even on freestanding compilers. */
72376 #ifdef __STDC__
72377 # include <limits.h>
72378 #else
72379 # include <assert.h>
72380 #endif
72382 #undef $ac_func
72384 /* Override any gcc2 internal prototype to avoid an error. */
72385 #ifdef __cplusplus
72386 extern "C"
72388 #endif
72389 /* We use char because int might match the return type of a gcc2
72390 builtin and then its argument prototype would still apply. */
72391 char $ac_func ();
72392 /* The GNU C library defines this for functions which it implements
72393 to always fail with ENOSYS. Some functions are actually named
72394 something starting with __ and the normal name is an alias. */
72395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72396 choke me
72397 #else
72398 char (*f) () = $ac_func;
72399 #endif
72400 #ifdef __cplusplus
72402 #endif
72405 main ()
72407 return f != $ac_func;
72409 return 0;
72411 _ACEOF
72412 rm -f conftest.$ac_objext conftest$ac_exeext
72413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72414 (eval $ac_link) 2>conftest.er1
72415 ac_status=$?
72416 grep -v '^ *+' conftest.er1 >conftest.err
72417 rm -f conftest.er1
72418 cat conftest.err >&5
72419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72420 (exit $ac_status); } &&
72421 { ac_try='test -z "$ac_c_werror_flag"
72422 || test ! -s conftest.err'
72423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72424 (eval $ac_try) 2>&5
72425 ac_status=$?
72426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72427 (exit $ac_status); }; } &&
72428 { ac_try='test -s conftest$ac_exeext'
72429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72430 (eval $ac_try) 2>&5
72431 ac_status=$?
72432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72433 (exit $ac_status); }; }; then
72434 eval "$as_ac_var=yes"
72435 else
72436 echo "$as_me: failed program was:" >&5
72437 sed 's/^/| /' conftest.$ac_ext >&5
72439 eval "$as_ac_var=no"
72441 rm -f conftest.err conftest.$ac_objext \
72442 conftest$ac_exeext conftest.$ac_ext
72444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72446 if test `eval echo '${'$as_ac_var'}'` = yes; then
72447 cat >>confdefs.h <<_ACEOF
72448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72449 _ACEOF
72452 done
72462 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
72463 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
72464 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
72465 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
72466 echo $ECHO_N "(cached) $ECHO_C" >&6
72467 else
72471 ac_ext=cc
72472 ac_cpp='$CXXCPP $CPPFLAGS'
72473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72477 cat >conftest.$ac_ext <<_ACEOF
72478 /* confdefs.h. */
72479 _ACEOF
72480 cat confdefs.h >>conftest.$ac_ext
72481 cat >>conftest.$ac_ext <<_ACEOF
72482 /* end confdefs.h. */
72483 #include <math.h>
72485 main ()
72487 frexpl(0, 0);
72489 return 0;
72491 _ACEOF
72492 rm -f conftest.$ac_objext
72493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72494 (eval $ac_compile) 2>conftest.er1
72495 ac_status=$?
72496 grep -v '^ *+' conftest.er1 >conftest.err
72497 rm -f conftest.er1
72498 cat conftest.err >&5
72499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72500 (exit $ac_status); } &&
72501 { ac_try='test -z "$ac_cxx_werror_flag"
72502 || test ! -s conftest.err'
72503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72504 (eval $ac_try) 2>&5
72505 ac_status=$?
72506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72507 (exit $ac_status); }; } &&
72508 { ac_try='test -s conftest.$ac_objext'
72509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72510 (eval $ac_try) 2>&5
72511 ac_status=$?
72512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72513 (exit $ac_status); }; }; then
72514 glibcxx_cv_func_frexpl_use=yes
72515 else
72516 echo "$as_me: failed program was:" >&5
72517 sed 's/^/| /' conftest.$ac_ext >&5
72519 glibcxx_cv_func_frexpl_use=no
72521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72522 ac_ext=c
72523 ac_cpp='$CPP $CPPFLAGS'
72524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
72533 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
72535 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
72537 for ac_func in frexpl
72539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72540 echo "$as_me:$LINENO: checking for $ac_func" >&5
72541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72542 if eval "test \"\${$as_ac_var+set}\" = set"; then
72543 echo $ECHO_N "(cached) $ECHO_C" >&6
72544 else
72545 if test x$gcc_no_link = xyes; then
72546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72548 { (exit 1); exit 1; }; }
72550 cat >conftest.$ac_ext <<_ACEOF
72551 /* confdefs.h. */
72552 _ACEOF
72553 cat confdefs.h >>conftest.$ac_ext
72554 cat >>conftest.$ac_ext <<_ACEOF
72555 /* end confdefs.h. */
72556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72558 #define $ac_func innocuous_$ac_func
72560 /* System header to define __stub macros and hopefully few prototypes,
72561 which can conflict with char $ac_func (); below.
72562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72563 <limits.h> exists even on freestanding compilers. */
72565 #ifdef __STDC__
72566 # include <limits.h>
72567 #else
72568 # include <assert.h>
72569 #endif
72571 #undef $ac_func
72573 /* Override any gcc2 internal prototype to avoid an error. */
72574 #ifdef __cplusplus
72575 extern "C"
72577 #endif
72578 /* We use char because int might match the return type of a gcc2
72579 builtin and then its argument prototype would still apply. */
72580 char $ac_func ();
72581 /* The GNU C library defines this for functions which it implements
72582 to always fail with ENOSYS. Some functions are actually named
72583 something starting with __ and the normal name is an alias. */
72584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72585 choke me
72586 #else
72587 char (*f) () = $ac_func;
72588 #endif
72589 #ifdef __cplusplus
72591 #endif
72594 main ()
72596 return f != $ac_func;
72598 return 0;
72600 _ACEOF
72601 rm -f conftest.$ac_objext conftest$ac_exeext
72602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72603 (eval $ac_link) 2>conftest.er1
72604 ac_status=$?
72605 grep -v '^ *+' conftest.er1 >conftest.err
72606 rm -f conftest.er1
72607 cat conftest.err >&5
72608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72609 (exit $ac_status); } &&
72610 { ac_try='test -z "$ac_c_werror_flag"
72611 || test ! -s conftest.err'
72612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72613 (eval $ac_try) 2>&5
72614 ac_status=$?
72615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72616 (exit $ac_status); }; } &&
72617 { ac_try='test -s conftest$ac_exeext'
72618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72619 (eval $ac_try) 2>&5
72620 ac_status=$?
72621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72622 (exit $ac_status); }; }; then
72623 eval "$as_ac_var=yes"
72624 else
72625 echo "$as_me: failed program was:" >&5
72626 sed 's/^/| /' conftest.$ac_ext >&5
72628 eval "$as_ac_var=no"
72630 rm -f conftest.err conftest.$ac_objext \
72631 conftest$ac_exeext conftest.$ac_ext
72633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72635 if test `eval echo '${'$as_ac_var'}'` = yes; then
72636 cat >>confdefs.h <<_ACEOF
72637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72638 _ACEOF
72641 done
72643 else
72645 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
72646 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
72647 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
72648 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
72649 echo $ECHO_N "(cached) $ECHO_C" >&6
72650 else
72654 ac_ext=cc
72655 ac_cpp='$CXXCPP $CPPFLAGS'
72656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72660 cat >conftest.$ac_ext <<_ACEOF
72661 /* confdefs.h. */
72662 _ACEOF
72663 cat confdefs.h >>conftest.$ac_ext
72664 cat >>conftest.$ac_ext <<_ACEOF
72665 /* end confdefs.h. */
72666 #include <math.h>
72668 main ()
72670 _frexpl(0, 0);
72672 return 0;
72674 _ACEOF
72675 rm -f conftest.$ac_objext
72676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72677 (eval $ac_compile) 2>conftest.er1
72678 ac_status=$?
72679 grep -v '^ *+' conftest.er1 >conftest.err
72680 rm -f conftest.er1
72681 cat conftest.err >&5
72682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72683 (exit $ac_status); } &&
72684 { ac_try='test -z "$ac_cxx_werror_flag"
72685 || test ! -s conftest.err'
72686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72687 (eval $ac_try) 2>&5
72688 ac_status=$?
72689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72690 (exit $ac_status); }; } &&
72691 { ac_try='test -s conftest.$ac_objext'
72692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72693 (eval $ac_try) 2>&5
72694 ac_status=$?
72695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72696 (exit $ac_status); }; }; then
72697 glibcxx_cv_func__frexpl_use=yes
72698 else
72699 echo "$as_me: failed program was:" >&5
72700 sed 's/^/| /' conftest.$ac_ext >&5
72702 glibcxx_cv_func__frexpl_use=no
72704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72705 ac_ext=c
72706 ac_cpp='$CPP $CPPFLAGS'
72707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
72716 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
72718 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
72720 for ac_func in _frexpl
72722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72723 echo "$as_me:$LINENO: checking for $ac_func" >&5
72724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72725 if eval "test \"\${$as_ac_var+set}\" = set"; then
72726 echo $ECHO_N "(cached) $ECHO_C" >&6
72727 else
72728 if test x$gcc_no_link = xyes; then
72729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72731 { (exit 1); exit 1; }; }
72733 cat >conftest.$ac_ext <<_ACEOF
72734 /* confdefs.h. */
72735 _ACEOF
72736 cat confdefs.h >>conftest.$ac_ext
72737 cat >>conftest.$ac_ext <<_ACEOF
72738 /* end confdefs.h. */
72739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72741 #define $ac_func innocuous_$ac_func
72743 /* System header to define __stub macros and hopefully few prototypes,
72744 which can conflict with char $ac_func (); below.
72745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72746 <limits.h> exists even on freestanding compilers. */
72748 #ifdef __STDC__
72749 # include <limits.h>
72750 #else
72751 # include <assert.h>
72752 #endif
72754 #undef $ac_func
72756 /* Override any gcc2 internal prototype to avoid an error. */
72757 #ifdef __cplusplus
72758 extern "C"
72760 #endif
72761 /* We use char because int might match the return type of a gcc2
72762 builtin and then its argument prototype would still apply. */
72763 char $ac_func ();
72764 /* The GNU C library defines this for functions which it implements
72765 to always fail with ENOSYS. Some functions are actually named
72766 something starting with __ and the normal name is an alias. */
72767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72768 choke me
72769 #else
72770 char (*f) () = $ac_func;
72771 #endif
72772 #ifdef __cplusplus
72774 #endif
72777 main ()
72779 return f != $ac_func;
72781 return 0;
72783 _ACEOF
72784 rm -f conftest.$ac_objext conftest$ac_exeext
72785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72786 (eval $ac_link) 2>conftest.er1
72787 ac_status=$?
72788 grep -v '^ *+' conftest.er1 >conftest.err
72789 rm -f conftest.er1
72790 cat conftest.err >&5
72791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72792 (exit $ac_status); } &&
72793 { ac_try='test -z "$ac_c_werror_flag"
72794 || test ! -s conftest.err'
72795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72796 (eval $ac_try) 2>&5
72797 ac_status=$?
72798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72799 (exit $ac_status); }; } &&
72800 { ac_try='test -s conftest$ac_exeext'
72801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72802 (eval $ac_try) 2>&5
72803 ac_status=$?
72804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72805 (exit $ac_status); }; }; then
72806 eval "$as_ac_var=yes"
72807 else
72808 echo "$as_me: failed program was:" >&5
72809 sed 's/^/| /' conftest.$ac_ext >&5
72811 eval "$as_ac_var=no"
72813 rm -f conftest.err conftest.$ac_objext \
72814 conftest$ac_exeext conftest.$ac_ext
72816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
72817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
72818 if test `eval echo '${'$as_ac_var'}'` = yes; then
72819 cat >>confdefs.h <<_ACEOF
72820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
72821 _ACEOF
72824 done
72834 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
72835 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
72836 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
72837 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
72838 echo $ECHO_N "(cached) $ECHO_C" >&6
72839 else
72843 ac_ext=cc
72844 ac_cpp='$CXXCPP $CPPFLAGS'
72845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72849 cat >conftest.$ac_ext <<_ACEOF
72850 /* confdefs.h. */
72851 _ACEOF
72852 cat confdefs.h >>conftest.$ac_ext
72853 cat >>conftest.$ac_ext <<_ACEOF
72854 /* end confdefs.h. */
72855 #include <math.h>
72857 main ()
72859 hypotl(0, 0);
72861 return 0;
72863 _ACEOF
72864 rm -f conftest.$ac_objext
72865 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
72866 (eval $ac_compile) 2>conftest.er1
72867 ac_status=$?
72868 grep -v '^ *+' conftest.er1 >conftest.err
72869 rm -f conftest.er1
72870 cat conftest.err >&5
72871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72872 (exit $ac_status); } &&
72873 { ac_try='test -z "$ac_cxx_werror_flag"
72874 || test ! -s conftest.err'
72875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72876 (eval $ac_try) 2>&5
72877 ac_status=$?
72878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72879 (exit $ac_status); }; } &&
72880 { ac_try='test -s conftest.$ac_objext'
72881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72882 (eval $ac_try) 2>&5
72883 ac_status=$?
72884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72885 (exit $ac_status); }; }; then
72886 glibcxx_cv_func_hypotl_use=yes
72887 else
72888 echo "$as_me: failed program was:" >&5
72889 sed 's/^/| /' conftest.$ac_ext >&5
72891 glibcxx_cv_func_hypotl_use=no
72893 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
72894 ac_ext=c
72895 ac_cpp='$CPP $CPPFLAGS'
72896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72904 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
72905 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
72907 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
72909 for ac_func in hypotl
72911 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
72912 echo "$as_me:$LINENO: checking for $ac_func" >&5
72913 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
72914 if eval "test \"\${$as_ac_var+set}\" = set"; then
72915 echo $ECHO_N "(cached) $ECHO_C" >&6
72916 else
72917 if test x$gcc_no_link = xyes; then
72918 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
72919 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
72920 { (exit 1); exit 1; }; }
72922 cat >conftest.$ac_ext <<_ACEOF
72923 /* confdefs.h. */
72924 _ACEOF
72925 cat confdefs.h >>conftest.$ac_ext
72926 cat >>conftest.$ac_ext <<_ACEOF
72927 /* end confdefs.h. */
72928 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
72929 For example, HP-UX 11i <limits.h> declares gettimeofday. */
72930 #define $ac_func innocuous_$ac_func
72932 /* System header to define __stub macros and hopefully few prototypes,
72933 which can conflict with char $ac_func (); below.
72934 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
72935 <limits.h> exists even on freestanding compilers. */
72937 #ifdef __STDC__
72938 # include <limits.h>
72939 #else
72940 # include <assert.h>
72941 #endif
72943 #undef $ac_func
72945 /* Override any gcc2 internal prototype to avoid an error. */
72946 #ifdef __cplusplus
72947 extern "C"
72949 #endif
72950 /* We use char because int might match the return type of a gcc2
72951 builtin and then its argument prototype would still apply. */
72952 char $ac_func ();
72953 /* The GNU C library defines this for functions which it implements
72954 to always fail with ENOSYS. Some functions are actually named
72955 something starting with __ and the normal name is an alias. */
72956 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
72957 choke me
72958 #else
72959 char (*f) () = $ac_func;
72960 #endif
72961 #ifdef __cplusplus
72963 #endif
72966 main ()
72968 return f != $ac_func;
72970 return 0;
72972 _ACEOF
72973 rm -f conftest.$ac_objext conftest$ac_exeext
72974 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
72975 (eval $ac_link) 2>conftest.er1
72976 ac_status=$?
72977 grep -v '^ *+' conftest.er1 >conftest.err
72978 rm -f conftest.er1
72979 cat conftest.err >&5
72980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72981 (exit $ac_status); } &&
72982 { ac_try='test -z "$ac_c_werror_flag"
72983 || test ! -s conftest.err'
72984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72985 (eval $ac_try) 2>&5
72986 ac_status=$?
72987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72988 (exit $ac_status); }; } &&
72989 { ac_try='test -s conftest$ac_exeext'
72990 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
72991 (eval $ac_try) 2>&5
72992 ac_status=$?
72993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
72994 (exit $ac_status); }; }; then
72995 eval "$as_ac_var=yes"
72996 else
72997 echo "$as_me: failed program was:" >&5
72998 sed 's/^/| /' conftest.$ac_ext >&5
73000 eval "$as_ac_var=no"
73002 rm -f conftest.err conftest.$ac_objext \
73003 conftest$ac_exeext conftest.$ac_ext
73005 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73006 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73007 if test `eval echo '${'$as_ac_var'}'` = yes; then
73008 cat >>confdefs.h <<_ACEOF
73009 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73010 _ACEOF
73013 done
73015 else
73017 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
73018 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
73019 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
73020 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
73021 echo $ECHO_N "(cached) $ECHO_C" >&6
73022 else
73026 ac_ext=cc
73027 ac_cpp='$CXXCPP $CPPFLAGS'
73028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73032 cat >conftest.$ac_ext <<_ACEOF
73033 /* confdefs.h. */
73034 _ACEOF
73035 cat confdefs.h >>conftest.$ac_ext
73036 cat >>conftest.$ac_ext <<_ACEOF
73037 /* end confdefs.h. */
73038 #include <math.h>
73040 main ()
73042 _hypotl(0, 0);
73044 return 0;
73046 _ACEOF
73047 rm -f conftest.$ac_objext
73048 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73049 (eval $ac_compile) 2>conftest.er1
73050 ac_status=$?
73051 grep -v '^ *+' conftest.er1 >conftest.err
73052 rm -f conftest.er1
73053 cat conftest.err >&5
73054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73055 (exit $ac_status); } &&
73056 { ac_try='test -z "$ac_cxx_werror_flag"
73057 || test ! -s conftest.err'
73058 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73059 (eval $ac_try) 2>&5
73060 ac_status=$?
73061 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73062 (exit $ac_status); }; } &&
73063 { ac_try='test -s conftest.$ac_objext'
73064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73065 (eval $ac_try) 2>&5
73066 ac_status=$?
73067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73068 (exit $ac_status); }; }; then
73069 glibcxx_cv_func__hypotl_use=yes
73070 else
73071 echo "$as_me: failed program was:" >&5
73072 sed 's/^/| /' conftest.$ac_ext >&5
73074 glibcxx_cv_func__hypotl_use=no
73076 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73077 ac_ext=c
73078 ac_cpp='$CPP $CPPFLAGS'
73079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73087 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
73088 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
73090 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
73092 for ac_func in _hypotl
73094 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73095 echo "$as_me:$LINENO: checking for $ac_func" >&5
73096 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73097 if eval "test \"\${$as_ac_var+set}\" = set"; then
73098 echo $ECHO_N "(cached) $ECHO_C" >&6
73099 else
73100 if test x$gcc_no_link = xyes; then
73101 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73102 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73103 { (exit 1); exit 1; }; }
73105 cat >conftest.$ac_ext <<_ACEOF
73106 /* confdefs.h. */
73107 _ACEOF
73108 cat confdefs.h >>conftest.$ac_ext
73109 cat >>conftest.$ac_ext <<_ACEOF
73110 /* end confdefs.h. */
73111 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73112 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73113 #define $ac_func innocuous_$ac_func
73115 /* System header to define __stub macros and hopefully few prototypes,
73116 which can conflict with char $ac_func (); below.
73117 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73118 <limits.h> exists even on freestanding compilers. */
73120 #ifdef __STDC__
73121 # include <limits.h>
73122 #else
73123 # include <assert.h>
73124 #endif
73126 #undef $ac_func
73128 /* Override any gcc2 internal prototype to avoid an error. */
73129 #ifdef __cplusplus
73130 extern "C"
73132 #endif
73133 /* We use char because int might match the return type of a gcc2
73134 builtin and then its argument prototype would still apply. */
73135 char $ac_func ();
73136 /* The GNU C library defines this for functions which it implements
73137 to always fail with ENOSYS. Some functions are actually named
73138 something starting with __ and the normal name is an alias. */
73139 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73140 choke me
73141 #else
73142 char (*f) () = $ac_func;
73143 #endif
73144 #ifdef __cplusplus
73146 #endif
73149 main ()
73151 return f != $ac_func;
73153 return 0;
73155 _ACEOF
73156 rm -f conftest.$ac_objext conftest$ac_exeext
73157 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73158 (eval $ac_link) 2>conftest.er1
73159 ac_status=$?
73160 grep -v '^ *+' conftest.er1 >conftest.err
73161 rm -f conftest.er1
73162 cat conftest.err >&5
73163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73164 (exit $ac_status); } &&
73165 { ac_try='test -z "$ac_c_werror_flag"
73166 || test ! -s conftest.err'
73167 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73168 (eval $ac_try) 2>&5
73169 ac_status=$?
73170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73171 (exit $ac_status); }; } &&
73172 { ac_try='test -s conftest$ac_exeext'
73173 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73174 (eval $ac_try) 2>&5
73175 ac_status=$?
73176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73177 (exit $ac_status); }; }; then
73178 eval "$as_ac_var=yes"
73179 else
73180 echo "$as_me: failed program was:" >&5
73181 sed 's/^/| /' conftest.$ac_ext >&5
73183 eval "$as_ac_var=no"
73185 rm -f conftest.err conftest.$ac_objext \
73186 conftest$ac_exeext conftest.$ac_ext
73188 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73189 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73190 if test `eval echo '${'$as_ac_var'}'` = yes; then
73191 cat >>confdefs.h <<_ACEOF
73192 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73193 _ACEOF
73196 done
73206 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
73207 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
73208 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
73209 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
73210 echo $ECHO_N "(cached) $ECHO_C" >&6
73211 else
73215 ac_ext=cc
73216 ac_cpp='$CXXCPP $CPPFLAGS'
73217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73221 cat >conftest.$ac_ext <<_ACEOF
73222 /* confdefs.h. */
73223 _ACEOF
73224 cat confdefs.h >>conftest.$ac_ext
73225 cat >>conftest.$ac_ext <<_ACEOF
73226 /* end confdefs.h. */
73227 #include <math.h>
73229 main ()
73231 ldexpl(0, 0);
73233 return 0;
73235 _ACEOF
73236 rm -f conftest.$ac_objext
73237 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73238 (eval $ac_compile) 2>conftest.er1
73239 ac_status=$?
73240 grep -v '^ *+' conftest.er1 >conftest.err
73241 rm -f conftest.er1
73242 cat conftest.err >&5
73243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73244 (exit $ac_status); } &&
73245 { ac_try='test -z "$ac_cxx_werror_flag"
73246 || test ! -s conftest.err'
73247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73248 (eval $ac_try) 2>&5
73249 ac_status=$?
73250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73251 (exit $ac_status); }; } &&
73252 { ac_try='test -s conftest.$ac_objext'
73253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73254 (eval $ac_try) 2>&5
73255 ac_status=$?
73256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73257 (exit $ac_status); }; }; then
73258 glibcxx_cv_func_ldexpl_use=yes
73259 else
73260 echo "$as_me: failed program was:" >&5
73261 sed 's/^/| /' conftest.$ac_ext >&5
73263 glibcxx_cv_func_ldexpl_use=no
73265 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73266 ac_ext=c
73267 ac_cpp='$CPP $CPPFLAGS'
73268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73276 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
73277 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
73279 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
73281 for ac_func in ldexpl
73283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73284 echo "$as_me:$LINENO: checking for $ac_func" >&5
73285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73286 if eval "test \"\${$as_ac_var+set}\" = set"; then
73287 echo $ECHO_N "(cached) $ECHO_C" >&6
73288 else
73289 if test x$gcc_no_link = xyes; then
73290 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73291 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73292 { (exit 1); exit 1; }; }
73294 cat >conftest.$ac_ext <<_ACEOF
73295 /* confdefs.h. */
73296 _ACEOF
73297 cat confdefs.h >>conftest.$ac_ext
73298 cat >>conftest.$ac_ext <<_ACEOF
73299 /* end confdefs.h. */
73300 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73301 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73302 #define $ac_func innocuous_$ac_func
73304 /* System header to define __stub macros and hopefully few prototypes,
73305 which can conflict with char $ac_func (); below.
73306 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73307 <limits.h> exists even on freestanding compilers. */
73309 #ifdef __STDC__
73310 # include <limits.h>
73311 #else
73312 # include <assert.h>
73313 #endif
73315 #undef $ac_func
73317 /* Override any gcc2 internal prototype to avoid an error. */
73318 #ifdef __cplusplus
73319 extern "C"
73321 #endif
73322 /* We use char because int might match the return type of a gcc2
73323 builtin and then its argument prototype would still apply. */
73324 char $ac_func ();
73325 /* The GNU C library defines this for functions which it implements
73326 to always fail with ENOSYS. Some functions are actually named
73327 something starting with __ and the normal name is an alias. */
73328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73329 choke me
73330 #else
73331 char (*f) () = $ac_func;
73332 #endif
73333 #ifdef __cplusplus
73335 #endif
73338 main ()
73340 return f != $ac_func;
73342 return 0;
73344 _ACEOF
73345 rm -f conftest.$ac_objext conftest$ac_exeext
73346 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73347 (eval $ac_link) 2>conftest.er1
73348 ac_status=$?
73349 grep -v '^ *+' conftest.er1 >conftest.err
73350 rm -f conftest.er1
73351 cat conftest.err >&5
73352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73353 (exit $ac_status); } &&
73354 { ac_try='test -z "$ac_c_werror_flag"
73355 || test ! -s conftest.err'
73356 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73357 (eval $ac_try) 2>&5
73358 ac_status=$?
73359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73360 (exit $ac_status); }; } &&
73361 { ac_try='test -s conftest$ac_exeext'
73362 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73363 (eval $ac_try) 2>&5
73364 ac_status=$?
73365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73366 (exit $ac_status); }; }; then
73367 eval "$as_ac_var=yes"
73368 else
73369 echo "$as_me: failed program was:" >&5
73370 sed 's/^/| /' conftest.$ac_ext >&5
73372 eval "$as_ac_var=no"
73374 rm -f conftest.err conftest.$ac_objext \
73375 conftest$ac_exeext conftest.$ac_ext
73377 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73378 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73379 if test `eval echo '${'$as_ac_var'}'` = yes; then
73380 cat >>confdefs.h <<_ACEOF
73381 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73382 _ACEOF
73385 done
73387 else
73389 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
73390 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
73391 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
73392 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
73393 echo $ECHO_N "(cached) $ECHO_C" >&6
73394 else
73398 ac_ext=cc
73399 ac_cpp='$CXXCPP $CPPFLAGS'
73400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73404 cat >conftest.$ac_ext <<_ACEOF
73405 /* confdefs.h. */
73406 _ACEOF
73407 cat confdefs.h >>conftest.$ac_ext
73408 cat >>conftest.$ac_ext <<_ACEOF
73409 /* end confdefs.h. */
73410 #include <math.h>
73412 main ()
73414 _ldexpl(0, 0);
73416 return 0;
73418 _ACEOF
73419 rm -f conftest.$ac_objext
73420 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73421 (eval $ac_compile) 2>conftest.er1
73422 ac_status=$?
73423 grep -v '^ *+' conftest.er1 >conftest.err
73424 rm -f conftest.er1
73425 cat conftest.err >&5
73426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73427 (exit $ac_status); } &&
73428 { ac_try='test -z "$ac_cxx_werror_flag"
73429 || test ! -s conftest.err'
73430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73431 (eval $ac_try) 2>&5
73432 ac_status=$?
73433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73434 (exit $ac_status); }; } &&
73435 { ac_try='test -s conftest.$ac_objext'
73436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73437 (eval $ac_try) 2>&5
73438 ac_status=$?
73439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73440 (exit $ac_status); }; }; then
73441 glibcxx_cv_func__ldexpl_use=yes
73442 else
73443 echo "$as_me: failed program was:" >&5
73444 sed 's/^/| /' conftest.$ac_ext >&5
73446 glibcxx_cv_func__ldexpl_use=no
73448 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73449 ac_ext=c
73450 ac_cpp='$CPP $CPPFLAGS'
73451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73459 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
73460 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
73462 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
73464 for ac_func in _ldexpl
73466 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73467 echo "$as_me:$LINENO: checking for $ac_func" >&5
73468 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73469 if eval "test \"\${$as_ac_var+set}\" = set"; then
73470 echo $ECHO_N "(cached) $ECHO_C" >&6
73471 else
73472 if test x$gcc_no_link = xyes; then
73473 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73474 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73475 { (exit 1); exit 1; }; }
73477 cat >conftest.$ac_ext <<_ACEOF
73478 /* confdefs.h. */
73479 _ACEOF
73480 cat confdefs.h >>conftest.$ac_ext
73481 cat >>conftest.$ac_ext <<_ACEOF
73482 /* end confdefs.h. */
73483 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73484 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73485 #define $ac_func innocuous_$ac_func
73487 /* System header to define __stub macros and hopefully few prototypes,
73488 which can conflict with char $ac_func (); below.
73489 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73490 <limits.h> exists even on freestanding compilers. */
73492 #ifdef __STDC__
73493 # include <limits.h>
73494 #else
73495 # include <assert.h>
73496 #endif
73498 #undef $ac_func
73500 /* Override any gcc2 internal prototype to avoid an error. */
73501 #ifdef __cplusplus
73502 extern "C"
73504 #endif
73505 /* We use char because int might match the return type of a gcc2
73506 builtin and then its argument prototype would still apply. */
73507 char $ac_func ();
73508 /* The GNU C library defines this for functions which it implements
73509 to always fail with ENOSYS. Some functions are actually named
73510 something starting with __ and the normal name is an alias. */
73511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73512 choke me
73513 #else
73514 char (*f) () = $ac_func;
73515 #endif
73516 #ifdef __cplusplus
73518 #endif
73521 main ()
73523 return f != $ac_func;
73525 return 0;
73527 _ACEOF
73528 rm -f conftest.$ac_objext conftest$ac_exeext
73529 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73530 (eval $ac_link) 2>conftest.er1
73531 ac_status=$?
73532 grep -v '^ *+' conftest.er1 >conftest.err
73533 rm -f conftest.er1
73534 cat conftest.err >&5
73535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73536 (exit $ac_status); } &&
73537 { ac_try='test -z "$ac_c_werror_flag"
73538 || test ! -s conftest.err'
73539 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73540 (eval $ac_try) 2>&5
73541 ac_status=$?
73542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73543 (exit $ac_status); }; } &&
73544 { ac_try='test -s conftest$ac_exeext'
73545 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73546 (eval $ac_try) 2>&5
73547 ac_status=$?
73548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73549 (exit $ac_status); }; }; then
73550 eval "$as_ac_var=yes"
73551 else
73552 echo "$as_me: failed program was:" >&5
73553 sed 's/^/| /' conftest.$ac_ext >&5
73555 eval "$as_ac_var=no"
73557 rm -f conftest.err conftest.$ac_objext \
73558 conftest$ac_exeext conftest.$ac_ext
73560 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73561 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73562 if test `eval echo '${'$as_ac_var'}'` = yes; then
73563 cat >>confdefs.h <<_ACEOF
73564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73565 _ACEOF
73568 done
73578 echo "$as_me:$LINENO: checking for logl declaration" >&5
73579 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
73580 if test x${glibcxx_cv_func_logl_use+set} != xset; then
73581 if test "${glibcxx_cv_func_logl_use+set}" = set; then
73582 echo $ECHO_N "(cached) $ECHO_C" >&6
73583 else
73587 ac_ext=cc
73588 ac_cpp='$CXXCPP $CPPFLAGS'
73589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73593 cat >conftest.$ac_ext <<_ACEOF
73594 /* confdefs.h. */
73595 _ACEOF
73596 cat confdefs.h >>conftest.$ac_ext
73597 cat >>conftest.$ac_ext <<_ACEOF
73598 /* end confdefs.h. */
73599 #include <math.h>
73600 #ifdef HAVE_IEEEFP_H
73601 #include <ieeefp.h>
73602 #endif
73605 main ()
73607 logl(0);
73609 return 0;
73611 _ACEOF
73612 rm -f conftest.$ac_objext
73613 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73614 (eval $ac_compile) 2>conftest.er1
73615 ac_status=$?
73616 grep -v '^ *+' conftest.er1 >conftest.err
73617 rm -f conftest.er1
73618 cat conftest.err >&5
73619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73620 (exit $ac_status); } &&
73621 { ac_try='test -z "$ac_cxx_werror_flag"
73622 || test ! -s conftest.err'
73623 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73624 (eval $ac_try) 2>&5
73625 ac_status=$?
73626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73627 (exit $ac_status); }; } &&
73628 { ac_try='test -s conftest.$ac_objext'
73629 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73630 (eval $ac_try) 2>&5
73631 ac_status=$?
73632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73633 (exit $ac_status); }; }; then
73634 glibcxx_cv_func_logl_use=yes
73635 else
73636 echo "$as_me: failed program was:" >&5
73637 sed 's/^/| /' conftest.$ac_ext >&5
73639 glibcxx_cv_func_logl_use=no
73641 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73642 ac_ext=c
73643 ac_cpp='$CPP $CPPFLAGS'
73644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73652 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
73653 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
73655 if test x$glibcxx_cv_func_logl_use = x"yes"; then
73657 for ac_func in logl
73659 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73660 echo "$as_me:$LINENO: checking for $ac_func" >&5
73661 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73662 if eval "test \"\${$as_ac_var+set}\" = set"; then
73663 echo $ECHO_N "(cached) $ECHO_C" >&6
73664 else
73665 if test x$gcc_no_link = xyes; then
73666 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73667 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73668 { (exit 1); exit 1; }; }
73670 cat >conftest.$ac_ext <<_ACEOF
73671 /* confdefs.h. */
73672 _ACEOF
73673 cat confdefs.h >>conftest.$ac_ext
73674 cat >>conftest.$ac_ext <<_ACEOF
73675 /* end confdefs.h. */
73676 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73677 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73678 #define $ac_func innocuous_$ac_func
73680 /* System header to define __stub macros and hopefully few prototypes,
73681 which can conflict with char $ac_func (); below.
73682 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73683 <limits.h> exists even on freestanding compilers. */
73685 #ifdef __STDC__
73686 # include <limits.h>
73687 #else
73688 # include <assert.h>
73689 #endif
73691 #undef $ac_func
73693 /* Override any gcc2 internal prototype to avoid an error. */
73694 #ifdef __cplusplus
73695 extern "C"
73697 #endif
73698 /* We use char because int might match the return type of a gcc2
73699 builtin and then its argument prototype would still apply. */
73700 char $ac_func ();
73701 /* The GNU C library defines this for functions which it implements
73702 to always fail with ENOSYS. Some functions are actually named
73703 something starting with __ and the normal name is an alias. */
73704 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73705 choke me
73706 #else
73707 char (*f) () = $ac_func;
73708 #endif
73709 #ifdef __cplusplus
73711 #endif
73714 main ()
73716 return f != $ac_func;
73718 return 0;
73720 _ACEOF
73721 rm -f conftest.$ac_objext conftest$ac_exeext
73722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73723 (eval $ac_link) 2>conftest.er1
73724 ac_status=$?
73725 grep -v '^ *+' conftest.er1 >conftest.err
73726 rm -f conftest.er1
73727 cat conftest.err >&5
73728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73729 (exit $ac_status); } &&
73730 { ac_try='test -z "$ac_c_werror_flag"
73731 || test ! -s conftest.err'
73732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73733 (eval $ac_try) 2>&5
73734 ac_status=$?
73735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73736 (exit $ac_status); }; } &&
73737 { ac_try='test -s conftest$ac_exeext'
73738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73739 (eval $ac_try) 2>&5
73740 ac_status=$?
73741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73742 (exit $ac_status); }; }; then
73743 eval "$as_ac_var=yes"
73744 else
73745 echo "$as_me: failed program was:" >&5
73746 sed 's/^/| /' conftest.$ac_ext >&5
73748 eval "$as_ac_var=no"
73750 rm -f conftest.err conftest.$ac_objext \
73751 conftest$ac_exeext conftest.$ac_ext
73753 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73754 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73755 if test `eval echo '${'$as_ac_var'}'` = yes; then
73756 cat >>confdefs.h <<_ACEOF
73757 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73758 _ACEOF
73761 done
73763 else
73765 echo "$as_me:$LINENO: checking for _logl declaration" >&5
73766 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
73767 if test x${glibcxx_cv_func__logl_use+set} != xset; then
73768 if test "${glibcxx_cv_func__logl_use+set}" = set; then
73769 echo $ECHO_N "(cached) $ECHO_C" >&6
73770 else
73774 ac_ext=cc
73775 ac_cpp='$CXXCPP $CPPFLAGS'
73776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73780 cat >conftest.$ac_ext <<_ACEOF
73781 /* confdefs.h. */
73782 _ACEOF
73783 cat confdefs.h >>conftest.$ac_ext
73784 cat >>conftest.$ac_ext <<_ACEOF
73785 /* end confdefs.h. */
73786 #include <math.h>
73787 #ifdef HAVE_IEEEFP_H
73788 #include <ieeefp.h>
73789 #endif
73792 main ()
73794 _logl(0);
73796 return 0;
73798 _ACEOF
73799 rm -f conftest.$ac_objext
73800 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73801 (eval $ac_compile) 2>conftest.er1
73802 ac_status=$?
73803 grep -v '^ *+' conftest.er1 >conftest.err
73804 rm -f conftest.er1
73805 cat conftest.err >&5
73806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73807 (exit $ac_status); } &&
73808 { ac_try='test -z "$ac_cxx_werror_flag"
73809 || test ! -s conftest.err'
73810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73811 (eval $ac_try) 2>&5
73812 ac_status=$?
73813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73814 (exit $ac_status); }; } &&
73815 { ac_try='test -s conftest.$ac_objext'
73816 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73817 (eval $ac_try) 2>&5
73818 ac_status=$?
73819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73820 (exit $ac_status); }; }; then
73821 glibcxx_cv_func__logl_use=yes
73822 else
73823 echo "$as_me: failed program was:" >&5
73824 sed 's/^/| /' conftest.$ac_ext >&5
73826 glibcxx_cv_func__logl_use=no
73828 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
73829 ac_ext=c
73830 ac_cpp='$CPP $CPPFLAGS'
73831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73839 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
73840 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
73842 if test x$glibcxx_cv_func__logl_use = x"yes"; then
73844 for ac_func in _logl
73846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
73847 echo "$as_me:$LINENO: checking for $ac_func" >&5
73848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
73849 if eval "test \"\${$as_ac_var+set}\" = set"; then
73850 echo $ECHO_N "(cached) $ECHO_C" >&6
73851 else
73852 if test x$gcc_no_link = xyes; then
73853 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
73854 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
73855 { (exit 1); exit 1; }; }
73857 cat >conftest.$ac_ext <<_ACEOF
73858 /* confdefs.h. */
73859 _ACEOF
73860 cat confdefs.h >>conftest.$ac_ext
73861 cat >>conftest.$ac_ext <<_ACEOF
73862 /* end confdefs.h. */
73863 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
73864 For example, HP-UX 11i <limits.h> declares gettimeofday. */
73865 #define $ac_func innocuous_$ac_func
73867 /* System header to define __stub macros and hopefully few prototypes,
73868 which can conflict with char $ac_func (); below.
73869 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
73870 <limits.h> exists even on freestanding compilers. */
73872 #ifdef __STDC__
73873 # include <limits.h>
73874 #else
73875 # include <assert.h>
73876 #endif
73878 #undef $ac_func
73880 /* Override any gcc2 internal prototype to avoid an error. */
73881 #ifdef __cplusplus
73882 extern "C"
73884 #endif
73885 /* We use char because int might match the return type of a gcc2
73886 builtin and then its argument prototype would still apply. */
73887 char $ac_func ();
73888 /* The GNU C library defines this for functions which it implements
73889 to always fail with ENOSYS. Some functions are actually named
73890 something starting with __ and the normal name is an alias. */
73891 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
73892 choke me
73893 #else
73894 char (*f) () = $ac_func;
73895 #endif
73896 #ifdef __cplusplus
73898 #endif
73901 main ()
73903 return f != $ac_func;
73905 return 0;
73907 _ACEOF
73908 rm -f conftest.$ac_objext conftest$ac_exeext
73909 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
73910 (eval $ac_link) 2>conftest.er1
73911 ac_status=$?
73912 grep -v '^ *+' conftest.er1 >conftest.err
73913 rm -f conftest.er1
73914 cat conftest.err >&5
73915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73916 (exit $ac_status); } &&
73917 { ac_try='test -z "$ac_c_werror_flag"
73918 || test ! -s conftest.err'
73919 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73920 (eval $ac_try) 2>&5
73921 ac_status=$?
73922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73923 (exit $ac_status); }; } &&
73924 { ac_try='test -s conftest$ac_exeext'
73925 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
73926 (eval $ac_try) 2>&5
73927 ac_status=$?
73928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
73929 (exit $ac_status); }; }; then
73930 eval "$as_ac_var=yes"
73931 else
73932 echo "$as_me: failed program was:" >&5
73933 sed 's/^/| /' conftest.$ac_ext >&5
73935 eval "$as_ac_var=no"
73937 rm -f conftest.err conftest.$ac_objext \
73938 conftest$ac_exeext conftest.$ac_ext
73940 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
73941 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
73942 if test `eval echo '${'$as_ac_var'}'` = yes; then
73943 cat >>confdefs.h <<_ACEOF
73944 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
73945 _ACEOF
73948 done
73958 echo "$as_me:$LINENO: checking for log10l declaration" >&5
73959 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
73960 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
73961 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
73962 echo $ECHO_N "(cached) $ECHO_C" >&6
73963 else
73967 ac_ext=cc
73968 ac_cpp='$CXXCPP $CPPFLAGS'
73969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73973 cat >conftest.$ac_ext <<_ACEOF
73974 /* confdefs.h. */
73975 _ACEOF
73976 cat confdefs.h >>conftest.$ac_ext
73977 cat >>conftest.$ac_ext <<_ACEOF
73978 /* end confdefs.h. */
73979 #include <math.h>
73980 #ifdef HAVE_IEEEFP_H
73981 #include <ieeefp.h>
73982 #endif
73985 main ()
73987 log10l(0);
73989 return 0;
73991 _ACEOF
73992 rm -f conftest.$ac_objext
73993 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
73994 (eval $ac_compile) 2>conftest.er1
73995 ac_status=$?
73996 grep -v '^ *+' conftest.er1 >conftest.err
73997 rm -f conftest.er1
73998 cat conftest.err >&5
73999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74000 (exit $ac_status); } &&
74001 { ac_try='test -z "$ac_cxx_werror_flag"
74002 || test ! -s conftest.err'
74003 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74004 (eval $ac_try) 2>&5
74005 ac_status=$?
74006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74007 (exit $ac_status); }; } &&
74008 { ac_try='test -s conftest.$ac_objext'
74009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74010 (eval $ac_try) 2>&5
74011 ac_status=$?
74012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74013 (exit $ac_status); }; }; then
74014 glibcxx_cv_func_log10l_use=yes
74015 else
74016 echo "$as_me: failed program was:" >&5
74017 sed 's/^/| /' conftest.$ac_ext >&5
74019 glibcxx_cv_func_log10l_use=no
74021 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74022 ac_ext=c
74023 ac_cpp='$CPP $CPPFLAGS'
74024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74032 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
74033 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
74035 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
74037 for ac_func in log10l
74039 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74040 echo "$as_me:$LINENO: checking for $ac_func" >&5
74041 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74042 if eval "test \"\${$as_ac_var+set}\" = set"; then
74043 echo $ECHO_N "(cached) $ECHO_C" >&6
74044 else
74045 if test x$gcc_no_link = xyes; then
74046 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74047 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74048 { (exit 1); exit 1; }; }
74050 cat >conftest.$ac_ext <<_ACEOF
74051 /* confdefs.h. */
74052 _ACEOF
74053 cat confdefs.h >>conftest.$ac_ext
74054 cat >>conftest.$ac_ext <<_ACEOF
74055 /* end confdefs.h. */
74056 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74057 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74058 #define $ac_func innocuous_$ac_func
74060 /* System header to define __stub macros and hopefully few prototypes,
74061 which can conflict with char $ac_func (); below.
74062 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74063 <limits.h> exists even on freestanding compilers. */
74065 #ifdef __STDC__
74066 # include <limits.h>
74067 #else
74068 # include <assert.h>
74069 #endif
74071 #undef $ac_func
74073 /* Override any gcc2 internal prototype to avoid an error. */
74074 #ifdef __cplusplus
74075 extern "C"
74077 #endif
74078 /* We use char because int might match the return type of a gcc2
74079 builtin and then its argument prototype would still apply. */
74080 char $ac_func ();
74081 /* The GNU C library defines this for functions which it implements
74082 to always fail with ENOSYS. Some functions are actually named
74083 something starting with __ and the normal name is an alias. */
74084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74085 choke me
74086 #else
74087 char (*f) () = $ac_func;
74088 #endif
74089 #ifdef __cplusplus
74091 #endif
74094 main ()
74096 return f != $ac_func;
74098 return 0;
74100 _ACEOF
74101 rm -f conftest.$ac_objext conftest$ac_exeext
74102 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74103 (eval $ac_link) 2>conftest.er1
74104 ac_status=$?
74105 grep -v '^ *+' conftest.er1 >conftest.err
74106 rm -f conftest.er1
74107 cat conftest.err >&5
74108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74109 (exit $ac_status); } &&
74110 { ac_try='test -z "$ac_c_werror_flag"
74111 || test ! -s conftest.err'
74112 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74113 (eval $ac_try) 2>&5
74114 ac_status=$?
74115 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74116 (exit $ac_status); }; } &&
74117 { ac_try='test -s conftest$ac_exeext'
74118 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74119 (eval $ac_try) 2>&5
74120 ac_status=$?
74121 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74122 (exit $ac_status); }; }; then
74123 eval "$as_ac_var=yes"
74124 else
74125 echo "$as_me: failed program was:" >&5
74126 sed 's/^/| /' conftest.$ac_ext >&5
74128 eval "$as_ac_var=no"
74130 rm -f conftest.err conftest.$ac_objext \
74131 conftest$ac_exeext conftest.$ac_ext
74133 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74134 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74135 if test `eval echo '${'$as_ac_var'}'` = yes; then
74136 cat >>confdefs.h <<_ACEOF
74137 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74138 _ACEOF
74141 done
74143 else
74145 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
74146 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
74147 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
74148 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
74149 echo $ECHO_N "(cached) $ECHO_C" >&6
74150 else
74154 ac_ext=cc
74155 ac_cpp='$CXXCPP $CPPFLAGS'
74156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74160 cat >conftest.$ac_ext <<_ACEOF
74161 /* confdefs.h. */
74162 _ACEOF
74163 cat confdefs.h >>conftest.$ac_ext
74164 cat >>conftest.$ac_ext <<_ACEOF
74165 /* end confdefs.h. */
74166 #include <math.h>
74167 #ifdef HAVE_IEEEFP_H
74168 #include <ieeefp.h>
74169 #endif
74172 main ()
74174 _log10l(0);
74176 return 0;
74178 _ACEOF
74179 rm -f conftest.$ac_objext
74180 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74181 (eval $ac_compile) 2>conftest.er1
74182 ac_status=$?
74183 grep -v '^ *+' conftest.er1 >conftest.err
74184 rm -f conftest.er1
74185 cat conftest.err >&5
74186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74187 (exit $ac_status); } &&
74188 { ac_try='test -z "$ac_cxx_werror_flag"
74189 || test ! -s conftest.err'
74190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74191 (eval $ac_try) 2>&5
74192 ac_status=$?
74193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74194 (exit $ac_status); }; } &&
74195 { ac_try='test -s conftest.$ac_objext'
74196 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74197 (eval $ac_try) 2>&5
74198 ac_status=$?
74199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74200 (exit $ac_status); }; }; then
74201 glibcxx_cv_func__log10l_use=yes
74202 else
74203 echo "$as_me: failed program was:" >&5
74204 sed 's/^/| /' conftest.$ac_ext >&5
74206 glibcxx_cv_func__log10l_use=no
74208 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74209 ac_ext=c
74210 ac_cpp='$CPP $CPPFLAGS'
74211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74219 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
74220 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
74222 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
74224 for ac_func in _log10l
74226 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74227 echo "$as_me:$LINENO: checking for $ac_func" >&5
74228 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74229 if eval "test \"\${$as_ac_var+set}\" = set"; then
74230 echo $ECHO_N "(cached) $ECHO_C" >&6
74231 else
74232 if test x$gcc_no_link = xyes; then
74233 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74234 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74235 { (exit 1); exit 1; }; }
74237 cat >conftest.$ac_ext <<_ACEOF
74238 /* confdefs.h. */
74239 _ACEOF
74240 cat confdefs.h >>conftest.$ac_ext
74241 cat >>conftest.$ac_ext <<_ACEOF
74242 /* end confdefs.h. */
74243 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74244 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74245 #define $ac_func innocuous_$ac_func
74247 /* System header to define __stub macros and hopefully few prototypes,
74248 which can conflict with char $ac_func (); below.
74249 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74250 <limits.h> exists even on freestanding compilers. */
74252 #ifdef __STDC__
74253 # include <limits.h>
74254 #else
74255 # include <assert.h>
74256 #endif
74258 #undef $ac_func
74260 /* Override any gcc2 internal prototype to avoid an error. */
74261 #ifdef __cplusplus
74262 extern "C"
74264 #endif
74265 /* We use char because int might match the return type of a gcc2
74266 builtin and then its argument prototype would still apply. */
74267 char $ac_func ();
74268 /* The GNU C library defines this for functions which it implements
74269 to always fail with ENOSYS. Some functions are actually named
74270 something starting with __ and the normal name is an alias. */
74271 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74272 choke me
74273 #else
74274 char (*f) () = $ac_func;
74275 #endif
74276 #ifdef __cplusplus
74278 #endif
74281 main ()
74283 return f != $ac_func;
74285 return 0;
74287 _ACEOF
74288 rm -f conftest.$ac_objext conftest$ac_exeext
74289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74290 (eval $ac_link) 2>conftest.er1
74291 ac_status=$?
74292 grep -v '^ *+' conftest.er1 >conftest.err
74293 rm -f conftest.er1
74294 cat conftest.err >&5
74295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74296 (exit $ac_status); } &&
74297 { ac_try='test -z "$ac_c_werror_flag"
74298 || test ! -s conftest.err'
74299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74300 (eval $ac_try) 2>&5
74301 ac_status=$?
74302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74303 (exit $ac_status); }; } &&
74304 { ac_try='test -s conftest$ac_exeext'
74305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74306 (eval $ac_try) 2>&5
74307 ac_status=$?
74308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74309 (exit $ac_status); }; }; then
74310 eval "$as_ac_var=yes"
74311 else
74312 echo "$as_me: failed program was:" >&5
74313 sed 's/^/| /' conftest.$ac_ext >&5
74315 eval "$as_ac_var=no"
74317 rm -f conftest.err conftest.$ac_objext \
74318 conftest$ac_exeext conftest.$ac_ext
74320 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74321 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74322 if test `eval echo '${'$as_ac_var'}'` = yes; then
74323 cat >>confdefs.h <<_ACEOF
74324 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74325 _ACEOF
74328 done
74338 echo "$as_me:$LINENO: checking for modfl declaration" >&5
74339 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
74340 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
74341 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
74342 echo $ECHO_N "(cached) $ECHO_C" >&6
74343 else
74347 ac_ext=cc
74348 ac_cpp='$CXXCPP $CPPFLAGS'
74349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74353 cat >conftest.$ac_ext <<_ACEOF
74354 /* confdefs.h. */
74355 _ACEOF
74356 cat confdefs.h >>conftest.$ac_ext
74357 cat >>conftest.$ac_ext <<_ACEOF
74358 /* end confdefs.h. */
74359 #include <math.h>
74361 main ()
74363 modfl(0, 0);
74365 return 0;
74367 _ACEOF
74368 rm -f conftest.$ac_objext
74369 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74370 (eval $ac_compile) 2>conftest.er1
74371 ac_status=$?
74372 grep -v '^ *+' conftest.er1 >conftest.err
74373 rm -f conftest.er1
74374 cat conftest.err >&5
74375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74376 (exit $ac_status); } &&
74377 { ac_try='test -z "$ac_cxx_werror_flag"
74378 || test ! -s conftest.err'
74379 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74380 (eval $ac_try) 2>&5
74381 ac_status=$?
74382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74383 (exit $ac_status); }; } &&
74384 { ac_try='test -s conftest.$ac_objext'
74385 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74386 (eval $ac_try) 2>&5
74387 ac_status=$?
74388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74389 (exit $ac_status); }; }; then
74390 glibcxx_cv_func_modfl_use=yes
74391 else
74392 echo "$as_me: failed program was:" >&5
74393 sed 's/^/| /' conftest.$ac_ext >&5
74395 glibcxx_cv_func_modfl_use=no
74397 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74398 ac_ext=c
74399 ac_cpp='$CPP $CPPFLAGS'
74400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74408 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
74409 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
74411 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
74413 for ac_func in modfl
74415 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74416 echo "$as_me:$LINENO: checking for $ac_func" >&5
74417 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74418 if eval "test \"\${$as_ac_var+set}\" = set"; then
74419 echo $ECHO_N "(cached) $ECHO_C" >&6
74420 else
74421 if test x$gcc_no_link = xyes; then
74422 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74423 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74424 { (exit 1); exit 1; }; }
74426 cat >conftest.$ac_ext <<_ACEOF
74427 /* confdefs.h. */
74428 _ACEOF
74429 cat confdefs.h >>conftest.$ac_ext
74430 cat >>conftest.$ac_ext <<_ACEOF
74431 /* end confdefs.h. */
74432 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74433 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74434 #define $ac_func innocuous_$ac_func
74436 /* System header to define __stub macros and hopefully few prototypes,
74437 which can conflict with char $ac_func (); below.
74438 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74439 <limits.h> exists even on freestanding compilers. */
74441 #ifdef __STDC__
74442 # include <limits.h>
74443 #else
74444 # include <assert.h>
74445 #endif
74447 #undef $ac_func
74449 /* Override any gcc2 internal prototype to avoid an error. */
74450 #ifdef __cplusplus
74451 extern "C"
74453 #endif
74454 /* We use char because int might match the return type of a gcc2
74455 builtin and then its argument prototype would still apply. */
74456 char $ac_func ();
74457 /* The GNU C library defines this for functions which it implements
74458 to always fail with ENOSYS. Some functions are actually named
74459 something starting with __ and the normal name is an alias. */
74460 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74461 choke me
74462 #else
74463 char (*f) () = $ac_func;
74464 #endif
74465 #ifdef __cplusplus
74467 #endif
74470 main ()
74472 return f != $ac_func;
74474 return 0;
74476 _ACEOF
74477 rm -f conftest.$ac_objext conftest$ac_exeext
74478 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74479 (eval $ac_link) 2>conftest.er1
74480 ac_status=$?
74481 grep -v '^ *+' conftest.er1 >conftest.err
74482 rm -f conftest.er1
74483 cat conftest.err >&5
74484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74485 (exit $ac_status); } &&
74486 { ac_try='test -z "$ac_c_werror_flag"
74487 || test ! -s conftest.err'
74488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74489 (eval $ac_try) 2>&5
74490 ac_status=$?
74491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74492 (exit $ac_status); }; } &&
74493 { ac_try='test -s conftest$ac_exeext'
74494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74495 (eval $ac_try) 2>&5
74496 ac_status=$?
74497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74498 (exit $ac_status); }; }; then
74499 eval "$as_ac_var=yes"
74500 else
74501 echo "$as_me: failed program was:" >&5
74502 sed 's/^/| /' conftest.$ac_ext >&5
74504 eval "$as_ac_var=no"
74506 rm -f conftest.err conftest.$ac_objext \
74507 conftest$ac_exeext conftest.$ac_ext
74509 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74510 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74511 if test `eval echo '${'$as_ac_var'}'` = yes; then
74512 cat >>confdefs.h <<_ACEOF
74513 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74514 _ACEOF
74517 done
74519 else
74521 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
74522 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
74523 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
74524 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
74525 echo $ECHO_N "(cached) $ECHO_C" >&6
74526 else
74530 ac_ext=cc
74531 ac_cpp='$CXXCPP $CPPFLAGS'
74532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74536 cat >conftest.$ac_ext <<_ACEOF
74537 /* confdefs.h. */
74538 _ACEOF
74539 cat confdefs.h >>conftest.$ac_ext
74540 cat >>conftest.$ac_ext <<_ACEOF
74541 /* end confdefs.h. */
74542 #include <math.h>
74544 main ()
74546 _modfl(0, 0);
74548 return 0;
74550 _ACEOF
74551 rm -f conftest.$ac_objext
74552 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74553 (eval $ac_compile) 2>conftest.er1
74554 ac_status=$?
74555 grep -v '^ *+' conftest.er1 >conftest.err
74556 rm -f conftest.er1
74557 cat conftest.err >&5
74558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74559 (exit $ac_status); } &&
74560 { ac_try='test -z "$ac_cxx_werror_flag"
74561 || test ! -s conftest.err'
74562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74563 (eval $ac_try) 2>&5
74564 ac_status=$?
74565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74566 (exit $ac_status); }; } &&
74567 { ac_try='test -s conftest.$ac_objext'
74568 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74569 (eval $ac_try) 2>&5
74570 ac_status=$?
74571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74572 (exit $ac_status); }; }; then
74573 glibcxx_cv_func__modfl_use=yes
74574 else
74575 echo "$as_me: failed program was:" >&5
74576 sed 's/^/| /' conftest.$ac_ext >&5
74578 glibcxx_cv_func__modfl_use=no
74580 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74581 ac_ext=c
74582 ac_cpp='$CPP $CPPFLAGS'
74583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74591 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
74592 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
74594 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
74596 for ac_func in _modfl
74598 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74599 echo "$as_me:$LINENO: checking for $ac_func" >&5
74600 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74601 if eval "test \"\${$as_ac_var+set}\" = set"; then
74602 echo $ECHO_N "(cached) $ECHO_C" >&6
74603 else
74604 if test x$gcc_no_link = xyes; then
74605 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74606 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74607 { (exit 1); exit 1; }; }
74609 cat >conftest.$ac_ext <<_ACEOF
74610 /* confdefs.h. */
74611 _ACEOF
74612 cat confdefs.h >>conftest.$ac_ext
74613 cat >>conftest.$ac_ext <<_ACEOF
74614 /* end confdefs.h. */
74615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74617 #define $ac_func innocuous_$ac_func
74619 /* System header to define __stub macros and hopefully few prototypes,
74620 which can conflict with char $ac_func (); below.
74621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74622 <limits.h> exists even on freestanding compilers. */
74624 #ifdef __STDC__
74625 # include <limits.h>
74626 #else
74627 # include <assert.h>
74628 #endif
74630 #undef $ac_func
74632 /* Override any gcc2 internal prototype to avoid an error. */
74633 #ifdef __cplusplus
74634 extern "C"
74636 #endif
74637 /* We use char because int might match the return type of a gcc2
74638 builtin and then its argument prototype would still apply. */
74639 char $ac_func ();
74640 /* The GNU C library defines this for functions which it implements
74641 to always fail with ENOSYS. Some functions are actually named
74642 something starting with __ and the normal name is an alias. */
74643 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74644 choke me
74645 #else
74646 char (*f) () = $ac_func;
74647 #endif
74648 #ifdef __cplusplus
74650 #endif
74653 main ()
74655 return f != $ac_func;
74657 return 0;
74659 _ACEOF
74660 rm -f conftest.$ac_objext conftest$ac_exeext
74661 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74662 (eval $ac_link) 2>conftest.er1
74663 ac_status=$?
74664 grep -v '^ *+' conftest.er1 >conftest.err
74665 rm -f conftest.er1
74666 cat conftest.err >&5
74667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74668 (exit $ac_status); } &&
74669 { ac_try='test -z "$ac_c_werror_flag"
74670 || test ! -s conftest.err'
74671 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74672 (eval $ac_try) 2>&5
74673 ac_status=$?
74674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74675 (exit $ac_status); }; } &&
74676 { ac_try='test -s conftest$ac_exeext'
74677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74678 (eval $ac_try) 2>&5
74679 ac_status=$?
74680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74681 (exit $ac_status); }; }; then
74682 eval "$as_ac_var=yes"
74683 else
74684 echo "$as_me: failed program was:" >&5
74685 sed 's/^/| /' conftest.$ac_ext >&5
74687 eval "$as_ac_var=no"
74689 rm -f conftest.err conftest.$ac_objext \
74690 conftest$ac_exeext conftest.$ac_ext
74692 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74693 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74694 if test `eval echo '${'$as_ac_var'}'` = yes; then
74695 cat >>confdefs.h <<_ACEOF
74696 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74697 _ACEOF
74700 done
74710 echo "$as_me:$LINENO: checking for powl declaration" >&5
74711 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
74712 if test x${glibcxx_cv_func_powl_use+set} != xset; then
74713 if test "${glibcxx_cv_func_powl_use+set}" = set; then
74714 echo $ECHO_N "(cached) $ECHO_C" >&6
74715 else
74719 ac_ext=cc
74720 ac_cpp='$CXXCPP $CPPFLAGS'
74721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74725 cat >conftest.$ac_ext <<_ACEOF
74726 /* confdefs.h. */
74727 _ACEOF
74728 cat confdefs.h >>conftest.$ac_ext
74729 cat >>conftest.$ac_ext <<_ACEOF
74730 /* end confdefs.h. */
74731 #include <math.h>
74733 main ()
74735 powl(0, 0);
74737 return 0;
74739 _ACEOF
74740 rm -f conftest.$ac_objext
74741 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74742 (eval $ac_compile) 2>conftest.er1
74743 ac_status=$?
74744 grep -v '^ *+' conftest.er1 >conftest.err
74745 rm -f conftest.er1
74746 cat conftest.err >&5
74747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74748 (exit $ac_status); } &&
74749 { ac_try='test -z "$ac_cxx_werror_flag"
74750 || test ! -s conftest.err'
74751 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74752 (eval $ac_try) 2>&5
74753 ac_status=$?
74754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74755 (exit $ac_status); }; } &&
74756 { ac_try='test -s conftest.$ac_objext'
74757 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74758 (eval $ac_try) 2>&5
74759 ac_status=$?
74760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74761 (exit $ac_status); }; }; then
74762 glibcxx_cv_func_powl_use=yes
74763 else
74764 echo "$as_me: failed program was:" >&5
74765 sed 's/^/| /' conftest.$ac_ext >&5
74767 glibcxx_cv_func_powl_use=no
74769 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74770 ac_ext=c
74771 ac_cpp='$CPP $CPPFLAGS'
74772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74780 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
74781 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
74783 if test x$glibcxx_cv_func_powl_use = x"yes"; then
74785 for ac_func in powl
74787 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74788 echo "$as_me:$LINENO: checking for $ac_func" >&5
74789 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74790 if eval "test \"\${$as_ac_var+set}\" = set"; then
74791 echo $ECHO_N "(cached) $ECHO_C" >&6
74792 else
74793 if test x$gcc_no_link = xyes; then
74794 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74795 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74796 { (exit 1); exit 1; }; }
74798 cat >conftest.$ac_ext <<_ACEOF
74799 /* confdefs.h. */
74800 _ACEOF
74801 cat confdefs.h >>conftest.$ac_ext
74802 cat >>conftest.$ac_ext <<_ACEOF
74803 /* end confdefs.h. */
74804 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74805 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74806 #define $ac_func innocuous_$ac_func
74808 /* System header to define __stub macros and hopefully few prototypes,
74809 which can conflict with char $ac_func (); below.
74810 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74811 <limits.h> exists even on freestanding compilers. */
74813 #ifdef __STDC__
74814 # include <limits.h>
74815 #else
74816 # include <assert.h>
74817 #endif
74819 #undef $ac_func
74821 /* Override any gcc2 internal prototype to avoid an error. */
74822 #ifdef __cplusplus
74823 extern "C"
74825 #endif
74826 /* We use char because int might match the return type of a gcc2
74827 builtin and then its argument prototype would still apply. */
74828 char $ac_func ();
74829 /* The GNU C library defines this for functions which it implements
74830 to always fail with ENOSYS. Some functions are actually named
74831 something starting with __ and the normal name is an alias. */
74832 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
74833 choke me
74834 #else
74835 char (*f) () = $ac_func;
74836 #endif
74837 #ifdef __cplusplus
74839 #endif
74842 main ()
74844 return f != $ac_func;
74846 return 0;
74848 _ACEOF
74849 rm -f conftest.$ac_objext conftest$ac_exeext
74850 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
74851 (eval $ac_link) 2>conftest.er1
74852 ac_status=$?
74853 grep -v '^ *+' conftest.er1 >conftest.err
74854 rm -f conftest.er1
74855 cat conftest.err >&5
74856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74857 (exit $ac_status); } &&
74858 { ac_try='test -z "$ac_c_werror_flag"
74859 || test ! -s conftest.err'
74860 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74861 (eval $ac_try) 2>&5
74862 ac_status=$?
74863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74864 (exit $ac_status); }; } &&
74865 { ac_try='test -s conftest$ac_exeext'
74866 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74867 (eval $ac_try) 2>&5
74868 ac_status=$?
74869 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74870 (exit $ac_status); }; }; then
74871 eval "$as_ac_var=yes"
74872 else
74873 echo "$as_me: failed program was:" >&5
74874 sed 's/^/| /' conftest.$ac_ext >&5
74876 eval "$as_ac_var=no"
74878 rm -f conftest.err conftest.$ac_objext \
74879 conftest$ac_exeext conftest.$ac_ext
74881 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
74882 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
74883 if test `eval echo '${'$as_ac_var'}'` = yes; then
74884 cat >>confdefs.h <<_ACEOF
74885 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
74886 _ACEOF
74889 done
74891 else
74893 echo "$as_me:$LINENO: checking for _powl declaration" >&5
74894 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
74895 if test x${glibcxx_cv_func__powl_use+set} != xset; then
74896 if test "${glibcxx_cv_func__powl_use+set}" = set; then
74897 echo $ECHO_N "(cached) $ECHO_C" >&6
74898 else
74902 ac_ext=cc
74903 ac_cpp='$CXXCPP $CPPFLAGS'
74904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74908 cat >conftest.$ac_ext <<_ACEOF
74909 /* confdefs.h. */
74910 _ACEOF
74911 cat confdefs.h >>conftest.$ac_ext
74912 cat >>conftest.$ac_ext <<_ACEOF
74913 /* end confdefs.h. */
74914 #include <math.h>
74916 main ()
74918 _powl(0, 0);
74920 return 0;
74922 _ACEOF
74923 rm -f conftest.$ac_objext
74924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
74925 (eval $ac_compile) 2>conftest.er1
74926 ac_status=$?
74927 grep -v '^ *+' conftest.er1 >conftest.err
74928 rm -f conftest.er1
74929 cat conftest.err >&5
74930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74931 (exit $ac_status); } &&
74932 { ac_try='test -z "$ac_cxx_werror_flag"
74933 || test ! -s conftest.err'
74934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74935 (eval $ac_try) 2>&5
74936 ac_status=$?
74937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74938 (exit $ac_status); }; } &&
74939 { ac_try='test -s conftest.$ac_objext'
74940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
74941 (eval $ac_try) 2>&5
74942 ac_status=$?
74943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
74944 (exit $ac_status); }; }; then
74945 glibcxx_cv_func__powl_use=yes
74946 else
74947 echo "$as_me: failed program was:" >&5
74948 sed 's/^/| /' conftest.$ac_ext >&5
74950 glibcxx_cv_func__powl_use=no
74952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
74953 ac_ext=c
74954 ac_cpp='$CPP $CPPFLAGS'
74955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74963 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
74964 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
74966 if test x$glibcxx_cv_func__powl_use = x"yes"; then
74968 for ac_func in _powl
74970 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
74971 echo "$as_me:$LINENO: checking for $ac_func" >&5
74972 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
74973 if eval "test \"\${$as_ac_var+set}\" = set"; then
74974 echo $ECHO_N "(cached) $ECHO_C" >&6
74975 else
74976 if test x$gcc_no_link = xyes; then
74977 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
74978 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
74979 { (exit 1); exit 1; }; }
74981 cat >conftest.$ac_ext <<_ACEOF
74982 /* confdefs.h. */
74983 _ACEOF
74984 cat confdefs.h >>conftest.$ac_ext
74985 cat >>conftest.$ac_ext <<_ACEOF
74986 /* end confdefs.h. */
74987 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
74988 For example, HP-UX 11i <limits.h> declares gettimeofday. */
74989 #define $ac_func innocuous_$ac_func
74991 /* System header to define __stub macros and hopefully few prototypes,
74992 which can conflict with char $ac_func (); below.
74993 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
74994 <limits.h> exists even on freestanding compilers. */
74996 #ifdef __STDC__
74997 # include <limits.h>
74998 #else
74999 # include <assert.h>
75000 #endif
75002 #undef $ac_func
75004 /* Override any gcc2 internal prototype to avoid an error. */
75005 #ifdef __cplusplus
75006 extern "C"
75008 #endif
75009 /* We use char because int might match the return type of a gcc2
75010 builtin and then its argument prototype would still apply. */
75011 char $ac_func ();
75012 /* The GNU C library defines this for functions which it implements
75013 to always fail with ENOSYS. Some functions are actually named
75014 something starting with __ and the normal name is an alias. */
75015 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75016 choke me
75017 #else
75018 char (*f) () = $ac_func;
75019 #endif
75020 #ifdef __cplusplus
75022 #endif
75025 main ()
75027 return f != $ac_func;
75029 return 0;
75031 _ACEOF
75032 rm -f conftest.$ac_objext conftest$ac_exeext
75033 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75034 (eval $ac_link) 2>conftest.er1
75035 ac_status=$?
75036 grep -v '^ *+' conftest.er1 >conftest.err
75037 rm -f conftest.er1
75038 cat conftest.err >&5
75039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75040 (exit $ac_status); } &&
75041 { ac_try='test -z "$ac_c_werror_flag"
75042 || test ! -s conftest.err'
75043 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75044 (eval $ac_try) 2>&5
75045 ac_status=$?
75046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75047 (exit $ac_status); }; } &&
75048 { ac_try='test -s conftest$ac_exeext'
75049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75050 (eval $ac_try) 2>&5
75051 ac_status=$?
75052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75053 (exit $ac_status); }; }; then
75054 eval "$as_ac_var=yes"
75055 else
75056 echo "$as_me: failed program was:" >&5
75057 sed 's/^/| /' conftest.$ac_ext >&5
75059 eval "$as_ac_var=no"
75061 rm -f conftest.err conftest.$ac_objext \
75062 conftest$ac_exeext conftest.$ac_ext
75064 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75065 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75066 if test `eval echo '${'$as_ac_var'}'` = yes; then
75067 cat >>confdefs.h <<_ACEOF
75068 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75069 _ACEOF
75072 done
75082 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
75083 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
75084 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
75085 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
75086 echo $ECHO_N "(cached) $ECHO_C" >&6
75087 else
75091 ac_ext=cc
75092 ac_cpp='$CXXCPP $CPPFLAGS'
75093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75097 cat >conftest.$ac_ext <<_ACEOF
75098 /* confdefs.h. */
75099 _ACEOF
75100 cat confdefs.h >>conftest.$ac_ext
75101 cat >>conftest.$ac_ext <<_ACEOF
75102 /* end confdefs.h. */
75103 #include <math.h>
75104 #ifdef HAVE_IEEEFP_H
75105 #include <ieeefp.h>
75106 #endif
75109 main ()
75111 sqrtl(0);
75113 return 0;
75115 _ACEOF
75116 rm -f conftest.$ac_objext
75117 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75118 (eval $ac_compile) 2>conftest.er1
75119 ac_status=$?
75120 grep -v '^ *+' conftest.er1 >conftest.err
75121 rm -f conftest.er1
75122 cat conftest.err >&5
75123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75124 (exit $ac_status); } &&
75125 { ac_try='test -z "$ac_cxx_werror_flag"
75126 || test ! -s conftest.err'
75127 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75128 (eval $ac_try) 2>&5
75129 ac_status=$?
75130 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75131 (exit $ac_status); }; } &&
75132 { ac_try='test -s conftest.$ac_objext'
75133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75134 (eval $ac_try) 2>&5
75135 ac_status=$?
75136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75137 (exit $ac_status); }; }; then
75138 glibcxx_cv_func_sqrtl_use=yes
75139 else
75140 echo "$as_me: failed program was:" >&5
75141 sed 's/^/| /' conftest.$ac_ext >&5
75143 glibcxx_cv_func_sqrtl_use=no
75145 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75146 ac_ext=c
75147 ac_cpp='$CPP $CPPFLAGS'
75148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75156 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
75157 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
75159 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
75161 for ac_func in sqrtl
75163 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75164 echo "$as_me:$LINENO: checking for $ac_func" >&5
75165 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75166 if eval "test \"\${$as_ac_var+set}\" = set"; then
75167 echo $ECHO_N "(cached) $ECHO_C" >&6
75168 else
75169 if test x$gcc_no_link = xyes; then
75170 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75171 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75172 { (exit 1); exit 1; }; }
75174 cat >conftest.$ac_ext <<_ACEOF
75175 /* confdefs.h. */
75176 _ACEOF
75177 cat confdefs.h >>conftest.$ac_ext
75178 cat >>conftest.$ac_ext <<_ACEOF
75179 /* end confdefs.h. */
75180 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75181 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75182 #define $ac_func innocuous_$ac_func
75184 /* System header to define __stub macros and hopefully few prototypes,
75185 which can conflict with char $ac_func (); below.
75186 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75187 <limits.h> exists even on freestanding compilers. */
75189 #ifdef __STDC__
75190 # include <limits.h>
75191 #else
75192 # include <assert.h>
75193 #endif
75195 #undef $ac_func
75197 /* Override any gcc2 internal prototype to avoid an error. */
75198 #ifdef __cplusplus
75199 extern "C"
75201 #endif
75202 /* We use char because int might match the return type of a gcc2
75203 builtin and then its argument prototype would still apply. */
75204 char $ac_func ();
75205 /* The GNU C library defines this for functions which it implements
75206 to always fail with ENOSYS. Some functions are actually named
75207 something starting with __ and the normal name is an alias. */
75208 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75209 choke me
75210 #else
75211 char (*f) () = $ac_func;
75212 #endif
75213 #ifdef __cplusplus
75215 #endif
75218 main ()
75220 return f != $ac_func;
75222 return 0;
75224 _ACEOF
75225 rm -f conftest.$ac_objext conftest$ac_exeext
75226 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75227 (eval $ac_link) 2>conftest.er1
75228 ac_status=$?
75229 grep -v '^ *+' conftest.er1 >conftest.err
75230 rm -f conftest.er1
75231 cat conftest.err >&5
75232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75233 (exit $ac_status); } &&
75234 { ac_try='test -z "$ac_c_werror_flag"
75235 || test ! -s conftest.err'
75236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75237 (eval $ac_try) 2>&5
75238 ac_status=$?
75239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75240 (exit $ac_status); }; } &&
75241 { ac_try='test -s conftest$ac_exeext'
75242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75243 (eval $ac_try) 2>&5
75244 ac_status=$?
75245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75246 (exit $ac_status); }; }; then
75247 eval "$as_ac_var=yes"
75248 else
75249 echo "$as_me: failed program was:" >&5
75250 sed 's/^/| /' conftest.$ac_ext >&5
75252 eval "$as_ac_var=no"
75254 rm -f conftest.err conftest.$ac_objext \
75255 conftest$ac_exeext conftest.$ac_ext
75257 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75258 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75259 if test `eval echo '${'$as_ac_var'}'` = yes; then
75260 cat >>confdefs.h <<_ACEOF
75261 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75262 _ACEOF
75265 done
75267 else
75269 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
75270 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
75271 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
75272 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
75273 echo $ECHO_N "(cached) $ECHO_C" >&6
75274 else
75278 ac_ext=cc
75279 ac_cpp='$CXXCPP $CPPFLAGS'
75280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75284 cat >conftest.$ac_ext <<_ACEOF
75285 /* confdefs.h. */
75286 _ACEOF
75287 cat confdefs.h >>conftest.$ac_ext
75288 cat >>conftest.$ac_ext <<_ACEOF
75289 /* end confdefs.h. */
75290 #include <math.h>
75291 #ifdef HAVE_IEEEFP_H
75292 #include <ieeefp.h>
75293 #endif
75296 main ()
75298 _sqrtl(0);
75300 return 0;
75302 _ACEOF
75303 rm -f conftest.$ac_objext
75304 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75305 (eval $ac_compile) 2>conftest.er1
75306 ac_status=$?
75307 grep -v '^ *+' conftest.er1 >conftest.err
75308 rm -f conftest.er1
75309 cat conftest.err >&5
75310 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75311 (exit $ac_status); } &&
75312 { ac_try='test -z "$ac_cxx_werror_flag"
75313 || test ! -s conftest.err'
75314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75315 (eval $ac_try) 2>&5
75316 ac_status=$?
75317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75318 (exit $ac_status); }; } &&
75319 { ac_try='test -s conftest.$ac_objext'
75320 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75321 (eval $ac_try) 2>&5
75322 ac_status=$?
75323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75324 (exit $ac_status); }; }; then
75325 glibcxx_cv_func__sqrtl_use=yes
75326 else
75327 echo "$as_me: failed program was:" >&5
75328 sed 's/^/| /' conftest.$ac_ext >&5
75330 glibcxx_cv_func__sqrtl_use=no
75332 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75333 ac_ext=c
75334 ac_cpp='$CPP $CPPFLAGS'
75335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75343 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
75344 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
75346 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
75348 for ac_func in _sqrtl
75350 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75351 echo "$as_me:$LINENO: checking for $ac_func" >&5
75352 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75353 if eval "test \"\${$as_ac_var+set}\" = set"; then
75354 echo $ECHO_N "(cached) $ECHO_C" >&6
75355 else
75356 if test x$gcc_no_link = xyes; then
75357 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75358 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75359 { (exit 1); exit 1; }; }
75361 cat >conftest.$ac_ext <<_ACEOF
75362 /* confdefs.h. */
75363 _ACEOF
75364 cat confdefs.h >>conftest.$ac_ext
75365 cat >>conftest.$ac_ext <<_ACEOF
75366 /* end confdefs.h. */
75367 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75368 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75369 #define $ac_func innocuous_$ac_func
75371 /* System header to define __stub macros and hopefully few prototypes,
75372 which can conflict with char $ac_func (); below.
75373 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75374 <limits.h> exists even on freestanding compilers. */
75376 #ifdef __STDC__
75377 # include <limits.h>
75378 #else
75379 # include <assert.h>
75380 #endif
75382 #undef $ac_func
75384 /* Override any gcc2 internal prototype to avoid an error. */
75385 #ifdef __cplusplus
75386 extern "C"
75388 #endif
75389 /* We use char because int might match the return type of a gcc2
75390 builtin and then its argument prototype would still apply. */
75391 char $ac_func ();
75392 /* The GNU C library defines this for functions which it implements
75393 to always fail with ENOSYS. Some functions are actually named
75394 something starting with __ and the normal name is an alias. */
75395 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75396 choke me
75397 #else
75398 char (*f) () = $ac_func;
75399 #endif
75400 #ifdef __cplusplus
75402 #endif
75405 main ()
75407 return f != $ac_func;
75409 return 0;
75411 _ACEOF
75412 rm -f conftest.$ac_objext conftest$ac_exeext
75413 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75414 (eval $ac_link) 2>conftest.er1
75415 ac_status=$?
75416 grep -v '^ *+' conftest.er1 >conftest.err
75417 rm -f conftest.er1
75418 cat conftest.err >&5
75419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75420 (exit $ac_status); } &&
75421 { ac_try='test -z "$ac_c_werror_flag"
75422 || test ! -s conftest.err'
75423 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75424 (eval $ac_try) 2>&5
75425 ac_status=$?
75426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75427 (exit $ac_status); }; } &&
75428 { ac_try='test -s conftest$ac_exeext'
75429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75430 (eval $ac_try) 2>&5
75431 ac_status=$?
75432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75433 (exit $ac_status); }; }; then
75434 eval "$as_ac_var=yes"
75435 else
75436 echo "$as_me: failed program was:" >&5
75437 sed 's/^/| /' conftest.$ac_ext >&5
75439 eval "$as_ac_var=no"
75441 rm -f conftest.err conftest.$ac_objext \
75442 conftest$ac_exeext conftest.$ac_ext
75444 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75445 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75446 if test `eval echo '${'$as_ac_var'}'` = yes; then
75447 cat >>confdefs.h <<_ACEOF
75448 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75449 _ACEOF
75452 done
75462 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
75463 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
75464 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
75465 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
75466 echo $ECHO_N "(cached) $ECHO_C" >&6
75467 else
75471 ac_ext=cc
75472 ac_cpp='$CXXCPP $CPPFLAGS'
75473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75477 cat >conftest.$ac_ext <<_ACEOF
75478 /* confdefs.h. */
75479 _ACEOF
75480 cat confdefs.h >>conftest.$ac_ext
75481 cat >>conftest.$ac_ext <<_ACEOF
75482 /* end confdefs.h. */
75483 #include <math.h>
75485 main ()
75487 sincosl(0, 0, 0);
75489 return 0;
75491 _ACEOF
75492 rm -f conftest.$ac_objext
75493 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75494 (eval $ac_compile) 2>conftest.er1
75495 ac_status=$?
75496 grep -v '^ *+' conftest.er1 >conftest.err
75497 rm -f conftest.er1
75498 cat conftest.err >&5
75499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75500 (exit $ac_status); } &&
75501 { ac_try='test -z "$ac_cxx_werror_flag"
75502 || test ! -s conftest.err'
75503 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75504 (eval $ac_try) 2>&5
75505 ac_status=$?
75506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75507 (exit $ac_status); }; } &&
75508 { ac_try='test -s conftest.$ac_objext'
75509 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75510 (eval $ac_try) 2>&5
75511 ac_status=$?
75512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75513 (exit $ac_status); }; }; then
75514 glibcxx_cv_func_sincosl_use=yes
75515 else
75516 echo "$as_me: failed program was:" >&5
75517 sed 's/^/| /' conftest.$ac_ext >&5
75519 glibcxx_cv_func_sincosl_use=no
75521 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75522 ac_ext=c
75523 ac_cpp='$CPP $CPPFLAGS'
75524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75532 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
75533 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
75535 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
75537 for ac_func in sincosl
75539 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75540 echo "$as_me:$LINENO: checking for $ac_func" >&5
75541 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75542 if eval "test \"\${$as_ac_var+set}\" = set"; then
75543 echo $ECHO_N "(cached) $ECHO_C" >&6
75544 else
75545 if test x$gcc_no_link = xyes; then
75546 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75547 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75548 { (exit 1); exit 1; }; }
75550 cat >conftest.$ac_ext <<_ACEOF
75551 /* confdefs.h. */
75552 _ACEOF
75553 cat confdefs.h >>conftest.$ac_ext
75554 cat >>conftest.$ac_ext <<_ACEOF
75555 /* end confdefs.h. */
75556 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75557 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75558 #define $ac_func innocuous_$ac_func
75560 /* System header to define __stub macros and hopefully few prototypes,
75561 which can conflict with char $ac_func (); below.
75562 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75563 <limits.h> exists even on freestanding compilers. */
75565 #ifdef __STDC__
75566 # include <limits.h>
75567 #else
75568 # include <assert.h>
75569 #endif
75571 #undef $ac_func
75573 /* Override any gcc2 internal prototype to avoid an error. */
75574 #ifdef __cplusplus
75575 extern "C"
75577 #endif
75578 /* We use char because int might match the return type of a gcc2
75579 builtin and then its argument prototype would still apply. */
75580 char $ac_func ();
75581 /* The GNU C library defines this for functions which it implements
75582 to always fail with ENOSYS. Some functions are actually named
75583 something starting with __ and the normal name is an alias. */
75584 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75585 choke me
75586 #else
75587 char (*f) () = $ac_func;
75588 #endif
75589 #ifdef __cplusplus
75591 #endif
75594 main ()
75596 return f != $ac_func;
75598 return 0;
75600 _ACEOF
75601 rm -f conftest.$ac_objext conftest$ac_exeext
75602 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75603 (eval $ac_link) 2>conftest.er1
75604 ac_status=$?
75605 grep -v '^ *+' conftest.er1 >conftest.err
75606 rm -f conftest.er1
75607 cat conftest.err >&5
75608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75609 (exit $ac_status); } &&
75610 { ac_try='test -z "$ac_c_werror_flag"
75611 || test ! -s conftest.err'
75612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75613 (eval $ac_try) 2>&5
75614 ac_status=$?
75615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75616 (exit $ac_status); }; } &&
75617 { ac_try='test -s conftest$ac_exeext'
75618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75619 (eval $ac_try) 2>&5
75620 ac_status=$?
75621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75622 (exit $ac_status); }; }; then
75623 eval "$as_ac_var=yes"
75624 else
75625 echo "$as_me: failed program was:" >&5
75626 sed 's/^/| /' conftest.$ac_ext >&5
75628 eval "$as_ac_var=no"
75630 rm -f conftest.err conftest.$ac_objext \
75631 conftest$ac_exeext conftest.$ac_ext
75633 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75634 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75635 if test `eval echo '${'$as_ac_var'}'` = yes; then
75636 cat >>confdefs.h <<_ACEOF
75637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75638 _ACEOF
75641 done
75643 else
75645 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
75646 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
75647 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
75648 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
75649 echo $ECHO_N "(cached) $ECHO_C" >&6
75650 else
75654 ac_ext=cc
75655 ac_cpp='$CXXCPP $CPPFLAGS'
75656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75660 cat >conftest.$ac_ext <<_ACEOF
75661 /* confdefs.h. */
75662 _ACEOF
75663 cat confdefs.h >>conftest.$ac_ext
75664 cat >>conftest.$ac_ext <<_ACEOF
75665 /* end confdefs.h. */
75666 #include <math.h>
75668 main ()
75670 _sincosl(0, 0, 0);
75672 return 0;
75674 _ACEOF
75675 rm -f conftest.$ac_objext
75676 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75677 (eval $ac_compile) 2>conftest.er1
75678 ac_status=$?
75679 grep -v '^ *+' conftest.er1 >conftest.err
75680 rm -f conftest.er1
75681 cat conftest.err >&5
75682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75683 (exit $ac_status); } &&
75684 { ac_try='test -z "$ac_cxx_werror_flag"
75685 || test ! -s conftest.err'
75686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75687 (eval $ac_try) 2>&5
75688 ac_status=$?
75689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75690 (exit $ac_status); }; } &&
75691 { ac_try='test -s conftest.$ac_objext'
75692 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75693 (eval $ac_try) 2>&5
75694 ac_status=$?
75695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75696 (exit $ac_status); }; }; then
75697 glibcxx_cv_func__sincosl_use=yes
75698 else
75699 echo "$as_me: failed program was:" >&5
75700 sed 's/^/| /' conftest.$ac_ext >&5
75702 glibcxx_cv_func__sincosl_use=no
75704 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75705 ac_ext=c
75706 ac_cpp='$CPP $CPPFLAGS'
75707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75715 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
75716 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
75718 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
75720 for ac_func in _sincosl
75722 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75723 echo "$as_me:$LINENO: checking for $ac_func" >&5
75724 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75725 if eval "test \"\${$as_ac_var+set}\" = set"; then
75726 echo $ECHO_N "(cached) $ECHO_C" >&6
75727 else
75728 if test x$gcc_no_link = xyes; then
75729 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75730 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75731 { (exit 1); exit 1; }; }
75733 cat >conftest.$ac_ext <<_ACEOF
75734 /* confdefs.h. */
75735 _ACEOF
75736 cat confdefs.h >>conftest.$ac_ext
75737 cat >>conftest.$ac_ext <<_ACEOF
75738 /* end confdefs.h. */
75739 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75740 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75741 #define $ac_func innocuous_$ac_func
75743 /* System header to define __stub macros and hopefully few prototypes,
75744 which can conflict with char $ac_func (); below.
75745 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75746 <limits.h> exists even on freestanding compilers. */
75748 #ifdef __STDC__
75749 # include <limits.h>
75750 #else
75751 # include <assert.h>
75752 #endif
75754 #undef $ac_func
75756 /* Override any gcc2 internal prototype to avoid an error. */
75757 #ifdef __cplusplus
75758 extern "C"
75760 #endif
75761 /* We use char because int might match the return type of a gcc2
75762 builtin and then its argument prototype would still apply. */
75763 char $ac_func ();
75764 /* The GNU C library defines this for functions which it implements
75765 to always fail with ENOSYS. Some functions are actually named
75766 something starting with __ and the normal name is an alias. */
75767 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75768 choke me
75769 #else
75770 char (*f) () = $ac_func;
75771 #endif
75772 #ifdef __cplusplus
75774 #endif
75777 main ()
75779 return f != $ac_func;
75781 return 0;
75783 _ACEOF
75784 rm -f conftest.$ac_objext conftest$ac_exeext
75785 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75786 (eval $ac_link) 2>conftest.er1
75787 ac_status=$?
75788 grep -v '^ *+' conftest.er1 >conftest.err
75789 rm -f conftest.er1
75790 cat conftest.err >&5
75791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75792 (exit $ac_status); } &&
75793 { ac_try='test -z "$ac_c_werror_flag"
75794 || test ! -s conftest.err'
75795 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75796 (eval $ac_try) 2>&5
75797 ac_status=$?
75798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75799 (exit $ac_status); }; } &&
75800 { ac_try='test -s conftest$ac_exeext'
75801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75802 (eval $ac_try) 2>&5
75803 ac_status=$?
75804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75805 (exit $ac_status); }; }; then
75806 eval "$as_ac_var=yes"
75807 else
75808 echo "$as_me: failed program was:" >&5
75809 sed 's/^/| /' conftest.$ac_ext >&5
75811 eval "$as_ac_var=no"
75813 rm -f conftest.err conftest.$ac_objext \
75814 conftest$ac_exeext conftest.$ac_ext
75816 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
75817 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
75818 if test `eval echo '${'$as_ac_var'}'` = yes; then
75819 cat >>confdefs.h <<_ACEOF
75820 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
75821 _ACEOF
75824 done
75834 echo "$as_me:$LINENO: checking for finitel declaration" >&5
75835 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
75836 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
75837 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
75838 echo $ECHO_N "(cached) $ECHO_C" >&6
75839 else
75843 ac_ext=cc
75844 ac_cpp='$CXXCPP $CPPFLAGS'
75845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75849 cat >conftest.$ac_ext <<_ACEOF
75850 /* confdefs.h. */
75851 _ACEOF
75852 cat confdefs.h >>conftest.$ac_ext
75853 cat >>conftest.$ac_ext <<_ACEOF
75854 /* end confdefs.h. */
75855 #include <math.h>
75856 #ifdef HAVE_IEEEFP_H
75857 #include <ieeefp.h>
75858 #endif
75861 main ()
75863 finitel(0);
75865 return 0;
75867 _ACEOF
75868 rm -f conftest.$ac_objext
75869 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
75870 (eval $ac_compile) 2>conftest.er1
75871 ac_status=$?
75872 grep -v '^ *+' conftest.er1 >conftest.err
75873 rm -f conftest.er1
75874 cat conftest.err >&5
75875 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75876 (exit $ac_status); } &&
75877 { ac_try='test -z "$ac_cxx_werror_flag"
75878 || test ! -s conftest.err'
75879 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75880 (eval $ac_try) 2>&5
75881 ac_status=$?
75882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75883 (exit $ac_status); }; } &&
75884 { ac_try='test -s conftest.$ac_objext'
75885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75886 (eval $ac_try) 2>&5
75887 ac_status=$?
75888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75889 (exit $ac_status); }; }; then
75890 glibcxx_cv_func_finitel_use=yes
75891 else
75892 echo "$as_me: failed program was:" >&5
75893 sed 's/^/| /' conftest.$ac_ext >&5
75895 glibcxx_cv_func_finitel_use=no
75897 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
75898 ac_ext=c
75899 ac_cpp='$CPP $CPPFLAGS'
75900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75908 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
75909 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
75911 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
75913 for ac_func in finitel
75915 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
75916 echo "$as_me:$LINENO: checking for $ac_func" >&5
75917 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
75918 if eval "test \"\${$as_ac_var+set}\" = set"; then
75919 echo $ECHO_N "(cached) $ECHO_C" >&6
75920 else
75921 if test x$gcc_no_link = xyes; then
75922 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
75923 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
75924 { (exit 1); exit 1; }; }
75926 cat >conftest.$ac_ext <<_ACEOF
75927 /* confdefs.h. */
75928 _ACEOF
75929 cat confdefs.h >>conftest.$ac_ext
75930 cat >>conftest.$ac_ext <<_ACEOF
75931 /* end confdefs.h. */
75932 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
75933 For example, HP-UX 11i <limits.h> declares gettimeofday. */
75934 #define $ac_func innocuous_$ac_func
75936 /* System header to define __stub macros and hopefully few prototypes,
75937 which can conflict with char $ac_func (); below.
75938 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
75939 <limits.h> exists even on freestanding compilers. */
75941 #ifdef __STDC__
75942 # include <limits.h>
75943 #else
75944 # include <assert.h>
75945 #endif
75947 #undef $ac_func
75949 /* Override any gcc2 internal prototype to avoid an error. */
75950 #ifdef __cplusplus
75951 extern "C"
75953 #endif
75954 /* We use char because int might match the return type of a gcc2
75955 builtin and then its argument prototype would still apply. */
75956 char $ac_func ();
75957 /* The GNU C library defines this for functions which it implements
75958 to always fail with ENOSYS. Some functions are actually named
75959 something starting with __ and the normal name is an alias. */
75960 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
75961 choke me
75962 #else
75963 char (*f) () = $ac_func;
75964 #endif
75965 #ifdef __cplusplus
75967 #endif
75970 main ()
75972 return f != $ac_func;
75974 return 0;
75976 _ACEOF
75977 rm -f conftest.$ac_objext conftest$ac_exeext
75978 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
75979 (eval $ac_link) 2>conftest.er1
75980 ac_status=$?
75981 grep -v '^ *+' conftest.er1 >conftest.err
75982 rm -f conftest.er1
75983 cat conftest.err >&5
75984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75985 (exit $ac_status); } &&
75986 { ac_try='test -z "$ac_c_werror_flag"
75987 || test ! -s conftest.err'
75988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75989 (eval $ac_try) 2>&5
75990 ac_status=$?
75991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75992 (exit $ac_status); }; } &&
75993 { ac_try='test -s conftest$ac_exeext'
75994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
75995 (eval $ac_try) 2>&5
75996 ac_status=$?
75997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
75998 (exit $ac_status); }; }; then
75999 eval "$as_ac_var=yes"
76000 else
76001 echo "$as_me: failed program was:" >&5
76002 sed 's/^/| /' conftest.$ac_ext >&5
76004 eval "$as_ac_var=no"
76006 rm -f conftest.err conftest.$ac_objext \
76007 conftest$ac_exeext conftest.$ac_ext
76009 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76010 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76011 if test `eval echo '${'$as_ac_var'}'` = yes; then
76012 cat >>confdefs.h <<_ACEOF
76013 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76014 _ACEOF
76017 done
76019 else
76021 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
76022 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
76023 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76024 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
76025 echo $ECHO_N "(cached) $ECHO_C" >&6
76026 else
76030 ac_ext=cc
76031 ac_cpp='$CXXCPP $CPPFLAGS'
76032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76036 cat >conftest.$ac_ext <<_ACEOF
76037 /* confdefs.h. */
76038 _ACEOF
76039 cat confdefs.h >>conftest.$ac_ext
76040 cat >>conftest.$ac_ext <<_ACEOF
76041 /* end confdefs.h. */
76042 #include <math.h>
76043 #ifdef HAVE_IEEEFP_H
76044 #include <ieeefp.h>
76045 #endif
76048 main ()
76050 _finitel(0);
76052 return 0;
76054 _ACEOF
76055 rm -f conftest.$ac_objext
76056 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76057 (eval $ac_compile) 2>conftest.er1
76058 ac_status=$?
76059 grep -v '^ *+' conftest.er1 >conftest.err
76060 rm -f conftest.er1
76061 cat conftest.err >&5
76062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76063 (exit $ac_status); } &&
76064 { ac_try='test -z "$ac_cxx_werror_flag"
76065 || test ! -s conftest.err'
76066 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76067 (eval $ac_try) 2>&5
76068 ac_status=$?
76069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76070 (exit $ac_status); }; } &&
76071 { ac_try='test -s conftest.$ac_objext'
76072 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76073 (eval $ac_try) 2>&5
76074 ac_status=$?
76075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76076 (exit $ac_status); }; }; then
76077 glibcxx_cv_func__finitel_use=yes
76078 else
76079 echo "$as_me: failed program was:" >&5
76080 sed 's/^/| /' conftest.$ac_ext >&5
76082 glibcxx_cv_func__finitel_use=no
76084 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76085 ac_ext=c
76086 ac_cpp='$CPP $CPPFLAGS'
76087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76095 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
76096 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
76098 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76100 for ac_func in _finitel
76102 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76103 echo "$as_me:$LINENO: checking for $ac_func" >&5
76104 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76105 if eval "test \"\${$as_ac_var+set}\" = set"; then
76106 echo $ECHO_N "(cached) $ECHO_C" >&6
76107 else
76108 if test x$gcc_no_link = xyes; then
76109 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76110 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76111 { (exit 1); exit 1; }; }
76113 cat >conftest.$ac_ext <<_ACEOF
76114 /* confdefs.h. */
76115 _ACEOF
76116 cat confdefs.h >>conftest.$ac_ext
76117 cat >>conftest.$ac_ext <<_ACEOF
76118 /* end confdefs.h. */
76119 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76120 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76121 #define $ac_func innocuous_$ac_func
76123 /* System header to define __stub macros and hopefully few prototypes,
76124 which can conflict with char $ac_func (); below.
76125 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76126 <limits.h> exists even on freestanding compilers. */
76128 #ifdef __STDC__
76129 # include <limits.h>
76130 #else
76131 # include <assert.h>
76132 #endif
76134 #undef $ac_func
76136 /* Override any gcc2 internal prototype to avoid an error. */
76137 #ifdef __cplusplus
76138 extern "C"
76140 #endif
76141 /* We use char because int might match the return type of a gcc2
76142 builtin and then its argument prototype would still apply. */
76143 char $ac_func ();
76144 /* The GNU C library defines this for functions which it implements
76145 to always fail with ENOSYS. Some functions are actually named
76146 something starting with __ and the normal name is an alias. */
76147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76148 choke me
76149 #else
76150 char (*f) () = $ac_func;
76151 #endif
76152 #ifdef __cplusplus
76154 #endif
76157 main ()
76159 return f != $ac_func;
76161 return 0;
76163 _ACEOF
76164 rm -f conftest.$ac_objext conftest$ac_exeext
76165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76166 (eval $ac_link) 2>conftest.er1
76167 ac_status=$?
76168 grep -v '^ *+' conftest.er1 >conftest.err
76169 rm -f conftest.er1
76170 cat conftest.err >&5
76171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76172 (exit $ac_status); } &&
76173 { ac_try='test -z "$ac_c_werror_flag"
76174 || test ! -s conftest.err'
76175 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76176 (eval $ac_try) 2>&5
76177 ac_status=$?
76178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76179 (exit $ac_status); }; } &&
76180 { ac_try='test -s conftest$ac_exeext'
76181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76182 (eval $ac_try) 2>&5
76183 ac_status=$?
76184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76185 (exit $ac_status); }; }; then
76186 eval "$as_ac_var=yes"
76187 else
76188 echo "$as_me: failed program was:" >&5
76189 sed 's/^/| /' conftest.$ac_ext >&5
76191 eval "$as_ac_var=no"
76193 rm -f conftest.err conftest.$ac_objext \
76194 conftest$ac_exeext conftest.$ac_ext
76196 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76197 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76198 if test `eval echo '${'$as_ac_var'}'` = yes; then
76199 cat >>confdefs.h <<_ACEOF
76200 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76201 _ACEOF
76204 done
76213 LIBS="$ac_save_LIBS"
76214 CXXFLAGS="$ac_save_CXXFLAGS"
76217 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76218 ac_save_CXXFLAGS="$CXXFLAGS"
76219 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76222 echo "$as_me:$LINENO: checking for strtold declaration" >&5
76223 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
76224 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76225 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
76226 echo $ECHO_N "(cached) $ECHO_C" >&6
76227 else
76231 ac_ext=cc
76232 ac_cpp='$CXXCPP $CPPFLAGS'
76233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76237 cat >conftest.$ac_ext <<_ACEOF
76238 /* confdefs.h. */
76239 _ACEOF
76240 cat confdefs.h >>conftest.$ac_ext
76241 cat >>conftest.$ac_ext <<_ACEOF
76242 /* end confdefs.h. */
76243 #include <stdlib.h>
76245 main ()
76247 strtold(0, 0);
76249 return 0;
76251 _ACEOF
76252 rm -f conftest.$ac_objext
76253 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76254 (eval $ac_compile) 2>conftest.er1
76255 ac_status=$?
76256 grep -v '^ *+' conftest.er1 >conftest.err
76257 rm -f conftest.er1
76258 cat conftest.err >&5
76259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76260 (exit $ac_status); } &&
76261 { ac_try='test -z "$ac_cxx_werror_flag"
76262 || test ! -s conftest.err'
76263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76264 (eval $ac_try) 2>&5
76265 ac_status=$?
76266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76267 (exit $ac_status); }; } &&
76268 { ac_try='test -s conftest.$ac_objext'
76269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76270 (eval $ac_try) 2>&5
76271 ac_status=$?
76272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76273 (exit $ac_status); }; }; then
76274 glibcxx_cv_func_strtold_use=yes
76275 else
76276 echo "$as_me: failed program was:" >&5
76277 sed 's/^/| /' conftest.$ac_ext >&5
76279 glibcxx_cv_func_strtold_use=no
76281 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76282 ac_ext=c
76283 ac_cpp='$CPP $CPPFLAGS'
76284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76292 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
76293 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
76294 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76296 for ac_func in strtold
76298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76299 echo "$as_me:$LINENO: checking for $ac_func" >&5
76300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76301 if eval "test \"\${$as_ac_var+set}\" = set"; then
76302 echo $ECHO_N "(cached) $ECHO_C" >&6
76303 else
76304 if test x$gcc_no_link = xyes; then
76305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76307 { (exit 1); exit 1; }; }
76309 cat >conftest.$ac_ext <<_ACEOF
76310 /* confdefs.h. */
76311 _ACEOF
76312 cat confdefs.h >>conftest.$ac_ext
76313 cat >>conftest.$ac_ext <<_ACEOF
76314 /* end confdefs.h. */
76315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76317 #define $ac_func innocuous_$ac_func
76319 /* System header to define __stub macros and hopefully few prototypes,
76320 which can conflict with char $ac_func (); below.
76321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76322 <limits.h> exists even on freestanding compilers. */
76324 #ifdef __STDC__
76325 # include <limits.h>
76326 #else
76327 # include <assert.h>
76328 #endif
76330 #undef $ac_func
76332 /* Override any gcc2 internal prototype to avoid an error. */
76333 #ifdef __cplusplus
76334 extern "C"
76336 #endif
76337 /* We use char because int might match the return type of a gcc2
76338 builtin and then its argument prototype would still apply. */
76339 char $ac_func ();
76340 /* The GNU C library defines this for functions which it implements
76341 to always fail with ENOSYS. Some functions are actually named
76342 something starting with __ and the normal name is an alias. */
76343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76344 choke me
76345 #else
76346 char (*f) () = $ac_func;
76347 #endif
76348 #ifdef __cplusplus
76350 #endif
76353 main ()
76355 return f != $ac_func;
76357 return 0;
76359 _ACEOF
76360 rm -f conftest.$ac_objext conftest$ac_exeext
76361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76362 (eval $ac_link) 2>conftest.er1
76363 ac_status=$?
76364 grep -v '^ *+' conftest.er1 >conftest.err
76365 rm -f conftest.er1
76366 cat conftest.err >&5
76367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76368 (exit $ac_status); } &&
76369 { ac_try='test -z "$ac_c_werror_flag"
76370 || test ! -s conftest.err'
76371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76372 (eval $ac_try) 2>&5
76373 ac_status=$?
76374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76375 (exit $ac_status); }; } &&
76376 { ac_try='test -s conftest$ac_exeext'
76377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76378 (eval $ac_try) 2>&5
76379 ac_status=$?
76380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76381 (exit $ac_status); }; }; then
76382 eval "$as_ac_var=yes"
76383 else
76384 echo "$as_me: failed program was:" >&5
76385 sed 's/^/| /' conftest.$ac_ext >&5
76387 eval "$as_ac_var=no"
76389 rm -f conftest.err conftest.$ac_objext \
76390 conftest$ac_exeext conftest.$ac_ext
76392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76394 if test `eval echo '${'$as_ac_var'}'` = yes; then
76395 cat >>confdefs.h <<_ACEOF
76396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76397 _ACEOF
76400 done
76408 echo "$as_me:$LINENO: checking for strtof declaration" >&5
76409 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
76410 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76411 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
76412 echo $ECHO_N "(cached) $ECHO_C" >&6
76413 else
76417 ac_ext=cc
76418 ac_cpp='$CXXCPP $CPPFLAGS'
76419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76423 cat >conftest.$ac_ext <<_ACEOF
76424 /* confdefs.h. */
76425 _ACEOF
76426 cat confdefs.h >>conftest.$ac_ext
76427 cat >>conftest.$ac_ext <<_ACEOF
76428 /* end confdefs.h. */
76429 #include <stdlib.h>
76431 main ()
76433 strtof(0, 0);
76435 return 0;
76437 _ACEOF
76438 rm -f conftest.$ac_objext
76439 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
76440 (eval $ac_compile) 2>conftest.er1
76441 ac_status=$?
76442 grep -v '^ *+' conftest.er1 >conftest.err
76443 rm -f conftest.er1
76444 cat conftest.err >&5
76445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76446 (exit $ac_status); } &&
76447 { ac_try='test -z "$ac_cxx_werror_flag"
76448 || test ! -s conftest.err'
76449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76450 (eval $ac_try) 2>&5
76451 ac_status=$?
76452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76453 (exit $ac_status); }; } &&
76454 { ac_try='test -s conftest.$ac_objext'
76455 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76456 (eval $ac_try) 2>&5
76457 ac_status=$?
76458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76459 (exit $ac_status); }; }; then
76460 glibcxx_cv_func_strtof_use=yes
76461 else
76462 echo "$as_me: failed program was:" >&5
76463 sed 's/^/| /' conftest.$ac_ext >&5
76465 glibcxx_cv_func_strtof_use=no
76467 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
76468 ac_ext=c
76469 ac_cpp='$CPP $CPPFLAGS'
76470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76478 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
76479 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
76480 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
76482 for ac_func in strtof
76484 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
76485 echo "$as_me:$LINENO: checking for $ac_func" >&5
76486 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
76487 if eval "test \"\${$as_ac_var+set}\" = set"; then
76488 echo $ECHO_N "(cached) $ECHO_C" >&6
76489 else
76490 if test x$gcc_no_link = xyes; then
76491 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76492 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76493 { (exit 1); exit 1; }; }
76495 cat >conftest.$ac_ext <<_ACEOF
76496 /* confdefs.h. */
76497 _ACEOF
76498 cat confdefs.h >>conftest.$ac_ext
76499 cat >>conftest.$ac_ext <<_ACEOF
76500 /* end confdefs.h. */
76501 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
76502 For example, HP-UX 11i <limits.h> declares gettimeofday. */
76503 #define $ac_func innocuous_$ac_func
76505 /* System header to define __stub macros and hopefully few prototypes,
76506 which can conflict with char $ac_func (); below.
76507 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
76508 <limits.h> exists even on freestanding compilers. */
76510 #ifdef __STDC__
76511 # include <limits.h>
76512 #else
76513 # include <assert.h>
76514 #endif
76516 #undef $ac_func
76518 /* Override any gcc2 internal prototype to avoid an error. */
76519 #ifdef __cplusplus
76520 extern "C"
76522 #endif
76523 /* We use char because int might match the return type of a gcc2
76524 builtin and then its argument prototype would still apply. */
76525 char $ac_func ();
76526 /* The GNU C library defines this for functions which it implements
76527 to always fail with ENOSYS. Some functions are actually named
76528 something starting with __ and the normal name is an alias. */
76529 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
76530 choke me
76531 #else
76532 char (*f) () = $ac_func;
76533 #endif
76534 #ifdef __cplusplus
76536 #endif
76539 main ()
76541 return f != $ac_func;
76543 return 0;
76545 _ACEOF
76546 rm -f conftest.$ac_objext conftest$ac_exeext
76547 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76548 (eval $ac_link) 2>conftest.er1
76549 ac_status=$?
76550 grep -v '^ *+' conftest.er1 >conftest.err
76551 rm -f conftest.er1
76552 cat conftest.err >&5
76553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76554 (exit $ac_status); } &&
76555 { ac_try='test -z "$ac_c_werror_flag"
76556 || test ! -s conftest.err'
76557 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76558 (eval $ac_try) 2>&5
76559 ac_status=$?
76560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76561 (exit $ac_status); }; } &&
76562 { ac_try='test -s conftest$ac_exeext'
76563 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76564 (eval $ac_try) 2>&5
76565 ac_status=$?
76566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76567 (exit $ac_status); }; }; then
76568 eval "$as_ac_var=yes"
76569 else
76570 echo "$as_me: failed program was:" >&5
76571 sed 's/^/| /' conftest.$ac_ext >&5
76573 eval "$as_ac_var=no"
76575 rm -f conftest.err conftest.$ac_objext \
76576 conftest$ac_exeext conftest.$ac_ext
76578 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
76579 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
76580 if test `eval echo '${'$as_ac_var'}'` = yes; then
76581 cat >>confdefs.h <<_ACEOF
76582 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
76583 _ACEOF
76586 done
76594 CXXFLAGS="$ac_save_CXXFLAGS"
76598 *djgpp)
76599 # GLIBCXX_CHECK_MATH_SUPPORT
76600 cat >>confdefs.h <<\_ACEOF
76601 #define HAVE_ISINF 1
76602 _ACEOF
76604 cat >>confdefs.h <<\_ACEOF
76605 #define HAVE_ISNAN 1
76606 _ACEOF
76608 cat >>confdefs.h <<\_ACEOF
76609 #define HAVE_FINITE 1
76610 _ACEOF
76612 cat >>confdefs.h <<\_ACEOF
76613 #define HAVE_SINCOS 1
76614 _ACEOF
76616 cat >>confdefs.h <<\_ACEOF
76617 #define HAVE_HYPOT 1
76618 _ACEOF
76622 *-freebsd*)
76623 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76626 # If we're not using GNU ld, then there's no point in even trying these
76627 # tests. Check for that first. We should have already tested for gld
76628 # by now (in libtool), but require it now just to be safe...
76629 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76630 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76634 # The name set by libtool depends on the version of libtool. Shame on us
76635 # for depending on an impl detail, but c'est la vie. Older versions used
76636 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76637 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76638 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76639 # set (hence we're using an older libtool), then set it.
76640 if test x${with_gnu_ld+set} != xset; then
76641 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76642 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76643 with_gnu_ld=no
76644 else
76645 with_gnu_ld=$ac_cv_prog_gnu_ld
76649 # Start by getting the version number. I think the libtool test already
76650 # does some of this, but throws away the result.
76651 glibcxx_ld_is_gold=no
76652 if test x"$with_gnu_ld" = x"yes"; then
76653 echo "$as_me:$LINENO: checking for ld version" >&5
76654 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76656 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
76657 glibcxx_ld_is_gold=yes
76659 ldver=`$LD --version 2>/dev/null | head -1 | \
76660 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
76662 glibcxx_gnu_ld_version=`echo $ldver | \
76663 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76664 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76665 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76668 # Set --gc-sections.
76669 glibcxx_have_gc_sections=no
76670 if test "$glibcxx_ld_is_gold" = "yes"; then
76671 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
76672 glibcxx_have_gc_sections=yes
76674 else
76675 glibcxx_gcsections_min_ld=21602
76676 if test x"$with_gnu_ld" = x"yes" &&
76677 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76678 glibcxx_have_gc_sections=yes
76681 if test "$glibcxx_have_gc_sections" = "yes"; then
76682 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76683 # NB: This flag only works reliably after 2.16.1. Configure tests
76684 # for this are difficult, so hard wire a value that should work.
76686 ac_test_CFLAGS="${CFLAGS+set}"
76687 ac_save_CFLAGS="$CFLAGS"
76688 CFLAGS='-Wl,--gc-sections'
76690 # Check for -Wl,--gc-sections
76691 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
76692 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
76693 if test x$gcc_no_link = xyes; then
76694 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
76695 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
76696 { (exit 1); exit 1; }; }
76698 cat >conftest.$ac_ext <<_ACEOF
76699 /* confdefs.h. */
76700 _ACEOF
76701 cat confdefs.h >>conftest.$ac_ext
76702 cat >>conftest.$ac_ext <<_ACEOF
76703 /* end confdefs.h. */
76704 int one(void) { return 1; }
76705 int two(void) { return 2; }
76708 main ()
76710 two();
76712 return 0;
76714 _ACEOF
76715 rm -f conftest.$ac_objext conftest$ac_exeext
76716 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
76717 (eval $ac_link) 2>conftest.er1
76718 ac_status=$?
76719 grep -v '^ *+' conftest.er1 >conftest.err
76720 rm -f conftest.er1
76721 cat conftest.err >&5
76722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76723 (exit $ac_status); } &&
76724 { ac_try='test -z "$ac_c_werror_flag"
76725 || test ! -s conftest.err'
76726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76727 (eval $ac_try) 2>&5
76728 ac_status=$?
76729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76730 (exit $ac_status); }; } &&
76731 { ac_try='test -s conftest$ac_exeext'
76732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
76733 (eval $ac_try) 2>&5
76734 ac_status=$?
76735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
76736 (exit $ac_status); }; }; then
76737 ac_gcsections=yes
76738 else
76739 echo "$as_me: failed program was:" >&5
76740 sed 's/^/| /' conftest.$ac_ext >&5
76742 ac_gcsections=no
76744 rm -f conftest.err conftest.$ac_objext \
76745 conftest$ac_exeext conftest.$ac_ext
76746 if test "$ac_gcsections" = "yes"; then
76747 rm -f conftest.c
76748 touch conftest.c
76749 if $CC -c conftest.c; then
76750 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
76751 grep "Warning: gc-sections option ignored" > /dev/null; then
76752 ac_gcsections=no
76755 rm -f conftest.c conftest.o conftest
76757 if test "$ac_gcsections" = "yes"; then
76758 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
76760 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
76761 echo "${ECHO_T}$ac_gcsections" >&6
76763 if test "$ac_test_CFLAGS" = set; then
76764 CFLAGS="$ac_save_CFLAGS"
76765 else
76766 # this is the suspicious part
76767 CFLAGS=''
76771 # Set -z,relro.
76772 # Note this is only for shared objects.
76773 ac_ld_relro=no
76774 if test x"$with_gnu_ld" = x"yes"; then
76775 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
76776 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
76777 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
76778 if test -n "$cxx_z_relo"; then
76779 OPT_LDFLAGS="-Wl,-z,relro"
76780 ac_ld_relro=yes
76782 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
76783 echo "${ECHO_T}$ac_ld_relro" >&6
76786 # Set linker optimization flags.
76787 if test x"$with_gnu_ld" = x"yes"; then
76788 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
76794 cat >>confdefs.h <<\_ACEOF
76795 #define HAVE_SETENV 1
76796 _ACEOF
76798 cat >>confdefs.h <<\_ACEOF
76799 #define HAVE_FINITEF 1
76800 _ACEOF
76802 cat >>confdefs.h <<\_ACEOF
76803 #define HAVE_FINITE 1
76804 _ACEOF
76806 cat >>confdefs.h <<\_ACEOF
76807 #define HAVE_FREXPF 1
76808 _ACEOF
76810 cat >>confdefs.h <<\_ACEOF
76811 #define HAVE_HYPOT 1
76812 _ACEOF
76814 cat >>confdefs.h <<\_ACEOF
76815 #define HAVE_HYPOTF 1
76816 _ACEOF
76818 cat >>confdefs.h <<\_ACEOF
76819 #define HAVE_ISINF 1
76820 _ACEOF
76822 cat >>confdefs.h <<\_ACEOF
76823 #define HAVE_ISNAN 1
76824 _ACEOF
76826 cat >>confdefs.h <<\_ACEOF
76827 #define HAVE_ISNANF 1
76828 _ACEOF
76831 cat >>confdefs.h <<\_ACEOF
76832 #define HAVE_ACOSF 1
76833 _ACEOF
76835 cat >>confdefs.h <<\_ACEOF
76836 #define HAVE_ASINF 1
76837 _ACEOF
76839 cat >>confdefs.h <<\_ACEOF
76840 #define HAVE_ATAN2F 1
76841 _ACEOF
76843 cat >>confdefs.h <<\_ACEOF
76844 #define HAVE_ATANF 1
76845 _ACEOF
76847 cat >>confdefs.h <<\_ACEOF
76848 #define HAVE_CEILF 1
76849 _ACEOF
76851 cat >>confdefs.h <<\_ACEOF
76852 #define HAVE_COSF 1
76853 _ACEOF
76855 cat >>confdefs.h <<\_ACEOF
76856 #define HAVE_COSHF 1
76857 _ACEOF
76859 cat >>confdefs.h <<\_ACEOF
76860 #define HAVE_EXPF 1
76861 _ACEOF
76863 cat >>confdefs.h <<\_ACEOF
76864 #define HAVE_FABSF 1
76865 _ACEOF
76867 cat >>confdefs.h <<\_ACEOF
76868 #define HAVE_FLOORF 1
76869 _ACEOF
76871 cat >>confdefs.h <<\_ACEOF
76872 #define HAVE_FMODF 1
76873 _ACEOF
76875 cat >>confdefs.h <<\_ACEOF
76876 #define HAVE_FREXPF 1
76877 _ACEOF
76879 cat >>confdefs.h <<\_ACEOF
76880 #define HAVE_LDEXPF 1
76881 _ACEOF
76883 cat >>confdefs.h <<\_ACEOF
76884 #define HAVE_LOG10F 1
76885 _ACEOF
76887 cat >>confdefs.h <<\_ACEOF
76888 #define HAVE_LOGF 1
76889 _ACEOF
76891 cat >>confdefs.h <<\_ACEOF
76892 #define HAVE_MODFF 1
76893 _ACEOF
76895 cat >>confdefs.h <<\_ACEOF
76896 #define HAVE_POWF 1
76897 _ACEOF
76899 cat >>confdefs.h <<\_ACEOF
76900 #define HAVE_SINF 1
76901 _ACEOF
76903 cat >>confdefs.h <<\_ACEOF
76904 #define HAVE_SINHF 1
76905 _ACEOF
76907 cat >>confdefs.h <<\_ACEOF
76908 #define HAVE_SQRTF 1
76909 _ACEOF
76911 cat >>confdefs.h <<\_ACEOF
76912 #define HAVE_TANF 1
76913 _ACEOF
76915 cat >>confdefs.h <<\_ACEOF
76916 #define HAVE_TANHF 1
76917 _ACEOF
76919 if test x"long_double_math_on_this_cpu" = x"yes"; then
76920 cat >>confdefs.h <<\_ACEOF
76921 #define HAVE_FINITEL 1
76922 _ACEOF
76924 cat >>confdefs.h <<\_ACEOF
76925 #define HAVE_ISINFL 1
76926 _ACEOF
76928 cat >>confdefs.h <<\_ACEOF
76929 #define HAVE_ISNANL 1
76930 _ACEOF
76934 *-hpux*)
76935 SECTION_FLAGS='-ffunction-sections -fdata-sections'
76938 # If we're not using GNU ld, then there's no point in even trying these
76939 # tests. Check for that first. We should have already tested for gld
76940 # by now (in libtool), but require it now just to be safe...
76941 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
76942 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
76946 # The name set by libtool depends on the version of libtool. Shame on us
76947 # for depending on an impl detail, but c'est la vie. Older versions used
76948 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
76949 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
76950 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
76951 # set (hence we're using an older libtool), then set it.
76952 if test x${with_gnu_ld+set} != xset; then
76953 if test x${ac_cv_prog_gnu_ld+set} != xset; then
76954 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
76955 with_gnu_ld=no
76956 else
76957 with_gnu_ld=$ac_cv_prog_gnu_ld
76961 # Start by getting the version number. I think the libtool test already
76962 # does some of this, but throws away the result.
76963 glibcxx_ld_is_gold=no
76964 if test x"$with_gnu_ld" = x"yes"; then
76965 echo "$as_me:$LINENO: checking for ld version" >&5
76966 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
76968 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
76969 glibcxx_ld_is_gold=yes
76971 ldver=`$LD --version 2>/dev/null | head -1 | \
76972 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
76974 glibcxx_gnu_ld_version=`echo $ldver | \
76975 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
76976 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
76977 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
76980 # Set --gc-sections.
76981 glibcxx_have_gc_sections=no
76982 if test "$glibcxx_ld_is_gold" = "yes"; then
76983 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
76984 glibcxx_have_gc_sections=yes
76986 else
76987 glibcxx_gcsections_min_ld=21602
76988 if test x"$with_gnu_ld" = x"yes" &&
76989 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
76990 glibcxx_have_gc_sections=yes
76993 if test "$glibcxx_have_gc_sections" = "yes"; then
76994 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
76995 # NB: This flag only works reliably after 2.16.1. Configure tests
76996 # for this are difficult, so hard wire a value that should work.
76998 ac_test_CFLAGS="${CFLAGS+set}"
76999 ac_save_CFLAGS="$CFLAGS"
77000 CFLAGS='-Wl,--gc-sections'
77002 # Check for -Wl,--gc-sections
77003 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77004 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77005 if test x$gcc_no_link = xyes; then
77006 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77007 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77008 { (exit 1); exit 1; }; }
77010 cat >conftest.$ac_ext <<_ACEOF
77011 /* confdefs.h. */
77012 _ACEOF
77013 cat confdefs.h >>conftest.$ac_ext
77014 cat >>conftest.$ac_ext <<_ACEOF
77015 /* end confdefs.h. */
77016 int one(void) { return 1; }
77017 int two(void) { return 2; }
77020 main ()
77022 two();
77024 return 0;
77026 _ACEOF
77027 rm -f conftest.$ac_objext conftest$ac_exeext
77028 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77029 (eval $ac_link) 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_c_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_exeext'
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 ac_gcsections=yes
77050 else
77051 echo "$as_me: failed program was:" >&5
77052 sed 's/^/| /' conftest.$ac_ext >&5
77054 ac_gcsections=no
77056 rm -f conftest.err conftest.$ac_objext \
77057 conftest$ac_exeext conftest.$ac_ext
77058 if test "$ac_gcsections" = "yes"; then
77059 rm -f conftest.c
77060 touch conftest.c
77061 if $CC -c conftest.c; then
77062 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77063 grep "Warning: gc-sections option ignored" > /dev/null; then
77064 ac_gcsections=no
77067 rm -f conftest.c conftest.o conftest
77069 if test "$ac_gcsections" = "yes"; then
77070 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77072 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77073 echo "${ECHO_T}$ac_gcsections" >&6
77075 if test "$ac_test_CFLAGS" = set; then
77076 CFLAGS="$ac_save_CFLAGS"
77077 else
77078 # this is the suspicious part
77079 CFLAGS=''
77083 # Set -z,relro.
77084 # Note this is only for shared objects.
77085 ac_ld_relro=no
77086 if test x"$with_gnu_ld" = x"yes"; then
77087 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77088 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77089 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77090 if test -n "$cxx_z_relo"; then
77091 OPT_LDFLAGS="-Wl,-z,relro"
77092 ac_ld_relro=yes
77094 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77095 echo "${ECHO_T}$ac_ld_relro" >&6
77098 # Set linker optimization flags.
77099 if test x"$with_gnu_ld" = x"yes"; then
77100 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77107 # GLIBCXX_CHECK_MATH_SUPPORT
77108 cat >>confdefs.h <<\_ACEOF
77109 #define HAVE_ISNAN 1
77110 _ACEOF
77112 cat >>confdefs.h <<\_ACEOF
77113 #define HAVE_HYPOT 1
77114 _ACEOF
77116 cat >>confdefs.h <<\_ACEOF
77117 #define HAVE_ACOSF 1
77118 _ACEOF
77120 cat >>confdefs.h <<\_ACEOF
77121 #define HAVE_ASINF 1
77122 _ACEOF
77124 cat >>confdefs.h <<\_ACEOF
77125 #define HAVE_ATANF 1
77126 _ACEOF
77128 cat >>confdefs.h <<\_ACEOF
77129 #define HAVE_COSF 1
77130 _ACEOF
77132 cat >>confdefs.h <<\_ACEOF
77133 #define HAVE_COSHF 1
77134 _ACEOF
77136 cat >>confdefs.h <<\_ACEOF
77137 #define HAVE_SINF 1
77138 _ACEOF
77140 cat >>confdefs.h <<\_ACEOF
77141 #define HAVE_SINHF 1
77142 _ACEOF
77144 cat >>confdefs.h <<\_ACEOF
77145 #define HAVE_TANF 1
77146 _ACEOF
77148 cat >>confdefs.h <<\_ACEOF
77149 #define HAVE_TANHF 1
77150 _ACEOF
77152 cat >>confdefs.h <<\_ACEOF
77153 #define HAVE_EXPF 1
77154 _ACEOF
77156 cat >>confdefs.h <<\_ACEOF
77157 #define HAVE_ATAN2F 1
77158 _ACEOF
77160 cat >>confdefs.h <<\_ACEOF
77161 #define HAVE_FABSF 1
77162 _ACEOF
77164 cat >>confdefs.h <<\_ACEOF
77165 #define HAVE_FMODF 1
77166 _ACEOF
77168 cat >>confdefs.h <<\_ACEOF
77169 #define HAVE_FREXPF 1
77170 _ACEOF
77172 cat >>confdefs.h <<\_ACEOF
77173 #define HAVE_LOGF 1
77174 _ACEOF
77176 cat >>confdefs.h <<\_ACEOF
77177 #define HAVE_LOG10F 1
77178 _ACEOF
77180 cat >>confdefs.h <<\_ACEOF
77181 #define HAVE_MODF 1
77182 _ACEOF
77184 cat >>confdefs.h <<\_ACEOF
77185 #define HAVE_POWF 1
77186 _ACEOF
77188 cat >>confdefs.h <<\_ACEOF
77189 #define HAVE_SQRTF 1
77190 _ACEOF
77193 # GLIBCXX_CHECK_STDLIB_SUPPORT
77194 cat >>confdefs.h <<\_ACEOF
77195 #define HAVE_STRTOLD 1
77196 _ACEOF
77200 # Check whether --enable-tls or --disable-tls was given.
77201 if test "${enable_tls+set}" = set; then
77202 enableval="$enable_tls"
77204 case "$enableval" in
77205 yes|no) ;;
77206 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
77207 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
77208 { (exit 1); exit 1; }; } ;;
77209 esac
77211 else
77212 enable_tls=yes
77215 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
77216 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
77217 if test "${gcc_cv_have_tls+set}" = set; then
77218 echo $ECHO_N "(cached) $ECHO_C" >&6
77219 else
77221 if test "$cross_compiling" = yes; then
77222 if test x$gcc_no_link = xyes; then
77223 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77224 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77225 { (exit 1); exit 1; }; }
77227 cat >conftest.$ac_ext <<_ACEOF
77228 __thread int a; int b; int main() { return a = b; }
77229 _ACEOF
77230 rm -f conftest.$ac_objext conftest$ac_exeext
77231 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77232 (eval $ac_link) 2>conftest.er1
77233 ac_status=$?
77234 grep -v '^ *+' conftest.er1 >conftest.err
77235 rm -f conftest.er1
77236 cat conftest.err >&5
77237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77238 (exit $ac_status); } &&
77239 { ac_try='test -z "$ac_c_werror_flag"
77240 || test ! -s conftest.err'
77241 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77242 (eval $ac_try) 2>&5
77243 ac_status=$?
77244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77245 (exit $ac_status); }; } &&
77246 { ac_try='test -s conftest$ac_exeext'
77247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77248 (eval $ac_try) 2>&5
77249 ac_status=$?
77250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77251 (exit $ac_status); }; }; then
77252 gcc_cv_have_tls=yes
77253 else
77254 echo "$as_me: failed program was:" >&5
77255 sed 's/^/| /' conftest.$ac_ext >&5
77257 gcc_cv_have_tls=no
77259 rm -f conftest.err conftest.$ac_objext \
77260 conftest$ac_exeext conftest.$ac_ext
77263 else
77264 cat >conftest.$ac_ext <<_ACEOF
77265 __thread int a; int b; int main() { return a = b; }
77266 _ACEOF
77267 rm -f conftest$ac_exeext
77268 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77269 (eval $ac_link) 2>&5
77270 ac_status=$?
77271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77272 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77273 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77274 (eval $ac_try) 2>&5
77275 ac_status=$?
77276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77277 (exit $ac_status); }; }; then
77278 chktls_save_LDFLAGS="$LDFLAGS"
77279 LDFLAGS="-static $LDFLAGS"
77280 if test x$gcc_no_link = xyes; then
77281 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77282 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77283 { (exit 1); exit 1; }; }
77285 cat >conftest.$ac_ext <<_ACEOF
77286 int main() { return 0; }
77287 _ACEOF
77288 rm -f conftest.$ac_objext conftest$ac_exeext
77289 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77290 (eval $ac_link) 2>conftest.er1
77291 ac_status=$?
77292 grep -v '^ *+' conftest.er1 >conftest.err
77293 rm -f conftest.er1
77294 cat conftest.err >&5
77295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77296 (exit $ac_status); } &&
77297 { ac_try='test -z "$ac_c_werror_flag"
77298 || test ! -s conftest.err'
77299 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77300 (eval $ac_try) 2>&5
77301 ac_status=$?
77302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77303 (exit $ac_status); }; } &&
77304 { ac_try='test -s conftest$ac_exeext'
77305 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77306 (eval $ac_try) 2>&5
77307 ac_status=$?
77308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77309 (exit $ac_status); }; }; then
77310 if test "$cross_compiling" = yes; then
77311 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
77312 echo "$as_me: error: in \`$ac_pwd':" >&2;}
77313 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
77314 See \`config.log' for more details." >&5
77315 echo "$as_me: error: cannot run test program while cross compiling
77316 See \`config.log' for more details." >&2;}
77317 { (exit 1); exit 1; }; }; }
77318 else
77319 cat >conftest.$ac_ext <<_ACEOF
77320 __thread int a; int b; int main() { return a = b; }
77321 _ACEOF
77322 rm -f conftest$ac_exeext
77323 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77324 (eval $ac_link) 2>&5
77325 ac_status=$?
77326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77327 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77329 (eval $ac_try) 2>&5
77330 ac_status=$?
77331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77332 (exit $ac_status); }; }; then
77333 gcc_cv_have_tls=yes
77334 else
77335 echo "$as_me: program exited with status $ac_status" >&5
77336 echo "$as_me: failed program was:" >&5
77337 sed 's/^/| /' conftest.$ac_ext >&5
77339 ( exit $ac_status )
77340 gcc_cv_have_tls=no
77342 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77344 else
77345 echo "$as_me: failed program was:" >&5
77346 sed 's/^/| /' conftest.$ac_ext >&5
77348 gcc_cv_have_tls=yes
77350 rm -f conftest.err conftest.$ac_objext \
77351 conftest$ac_exeext conftest.$ac_ext
77352 LDFLAGS="$chktls_save_LDFLAGS"
77353 if test $gcc_cv_have_tls = yes; then
77354 chktls_save_CFLAGS="$CFLAGS"
77355 thread_CFLAGS=failed
77356 for flag in '' '-pthread' '-lpthread'; do
77357 CFLAGS="$flag $chktls_save_CFLAGS"
77358 if test x$gcc_no_link = xyes; then
77359 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77360 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77361 { (exit 1); exit 1; }; }
77363 cat >conftest.$ac_ext <<_ACEOF
77364 /* confdefs.h. */
77365 _ACEOF
77366 cat confdefs.h >>conftest.$ac_ext
77367 cat >>conftest.$ac_ext <<_ACEOF
77368 /* end confdefs.h. */
77369 #include <pthread.h>
77370 void *g(void *d) { return NULL; }
77372 main ()
77374 pthread_t t; pthread_create(&t,NULL,g,NULL);
77376 return 0;
77378 _ACEOF
77379 rm -f conftest.$ac_objext conftest$ac_exeext
77380 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77381 (eval $ac_link) 2>conftest.er1
77382 ac_status=$?
77383 grep -v '^ *+' conftest.er1 >conftest.err
77384 rm -f conftest.er1
77385 cat conftest.err >&5
77386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77387 (exit $ac_status); } &&
77388 { ac_try='test -z "$ac_c_werror_flag"
77389 || test ! -s conftest.err'
77390 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77391 (eval $ac_try) 2>&5
77392 ac_status=$?
77393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77394 (exit $ac_status); }; } &&
77395 { ac_try='test -s conftest$ac_exeext'
77396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77397 (eval $ac_try) 2>&5
77398 ac_status=$?
77399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77400 (exit $ac_status); }; }; then
77401 thread_CFLAGS="$flag"
77402 else
77403 echo "$as_me: failed program was:" >&5
77404 sed 's/^/| /' conftest.$ac_ext >&5
77407 rm -f conftest.err conftest.$ac_objext \
77408 conftest$ac_exeext conftest.$ac_ext
77409 if test "X$thread_CFLAGS" != Xfailed; then
77410 break
77412 done
77413 CFLAGS="$chktls_save_CFLAGS"
77414 if test "X$thread_CFLAGS" != Xfailed; then
77415 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
77416 if test "$cross_compiling" = yes; then
77417 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
77418 echo "$as_me: error: in \`$ac_pwd':" >&2;}
77419 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
77420 See \`config.log' for more details." >&5
77421 echo "$as_me: error: cannot run test program while cross compiling
77422 See \`config.log' for more details." >&2;}
77423 { (exit 1); exit 1; }; }; }
77424 else
77425 cat >conftest.$ac_ext <<_ACEOF
77426 /* confdefs.h. */
77427 _ACEOF
77428 cat confdefs.h >>conftest.$ac_ext
77429 cat >>conftest.$ac_ext <<_ACEOF
77430 /* end confdefs.h. */
77431 #include <pthread.h>
77432 __thread int a;
77433 static int *a_in_other_thread;
77434 static void *
77435 thread_func (void *arg)
77437 a_in_other_thread = &a;
77438 return (void *)0;
77441 main ()
77443 pthread_t thread;
77444 void *thread_retval;
77445 int *a_in_main_thread;
77446 if (pthread_create (&thread, (pthread_attr_t *)0,
77447 thread_func, (void *)0))
77448 return 0;
77449 a_in_main_thread = &a;
77450 if (pthread_join (thread, &thread_retval))
77451 return 0;
77452 return (a_in_other_thread == a_in_main_thread);
77454 return 0;
77456 _ACEOF
77457 rm -f conftest$ac_exeext
77458 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77459 (eval $ac_link) 2>&5
77460 ac_status=$?
77461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77462 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
77463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77464 (eval $ac_try) 2>&5
77465 ac_status=$?
77466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77467 (exit $ac_status); }; }; then
77468 gcc_cv_have_tls=yes
77469 else
77470 echo "$as_me: program exited with status $ac_status" >&5
77471 echo "$as_me: failed program was:" >&5
77472 sed 's/^/| /' conftest.$ac_ext >&5
77474 ( exit $ac_status )
77475 gcc_cv_have_tls=no
77477 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77479 CFLAGS="$chktls_save_CFLAGS"
77482 else
77483 echo "$as_me: program exited with status $ac_status" >&5
77484 echo "$as_me: failed program was:" >&5
77485 sed 's/^/| /' conftest.$ac_ext >&5
77487 ( exit $ac_status )
77488 gcc_cv_have_tls=no
77490 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
77493 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
77494 echo "${ECHO_T}$gcc_cv_have_tls" >&6
77495 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
77497 cat >>confdefs.h <<\_ACEOF
77498 #define HAVE_TLS 1
77499 _ACEOF
77502 case "$target" in
77503 *-hpux10*)
77504 cat >>confdefs.h <<\_ACEOF
77505 #define HAVE_ISINF 1
77506 _ACEOF
77508 cat >>confdefs.h <<\_ACEOF
77509 #define HAVE_ISINFF 1
77510 _ACEOF
77512 cat >>confdefs.h <<\_ACEOF
77513 #define HAVE_ISNANF 1
77514 _ACEOF
77516 cat >>confdefs.h <<\_ACEOF
77517 #define HAVE_FINITE 1
77518 _ACEOF
77520 cat >>confdefs.h <<\_ACEOF
77521 #define HAVE_FINITEF 1
77522 _ACEOF
77525 esac
77527 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu)
77529 # All these tests are for C++; save the language and the compiler flags.
77530 # The CXXFLAGS thing is suspicious, but based on similar bits previously
77531 # found in GLIBCXX_CONFIGURE.
77534 ac_ext=cc
77535 ac_cpp='$CXXCPP $CPPFLAGS'
77536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77540 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77541 ac_save_CXXFLAGS="$CXXFLAGS"
77543 # Check for maintainer-mode bits.
77544 if test x"$USE_MAINTAINER_MODE" = xno; then
77545 WERROR=''
77546 else
77547 WERROR='-Werror'
77550 # Check for -ffunction-sections -fdata-sections
77551 echo "$as_me:$LINENO: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
77552 echo $ECHO_N "checking for g++ that supports -ffunction-sections -fdata-sections... $ECHO_C" >&6
77553 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
77554 cat >conftest.$ac_ext <<_ACEOF
77555 /* confdefs.h. */
77556 _ACEOF
77557 cat confdefs.h >>conftest.$ac_ext
77558 cat >>conftest.$ac_ext <<_ACEOF
77559 /* end confdefs.h. */
77560 int foo; void bar() { };
77562 main ()
77566 return 0;
77568 _ACEOF
77569 rm -f conftest.$ac_objext
77570 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77571 (eval $ac_compile) 2>conftest.er1
77572 ac_status=$?
77573 grep -v '^ *+' conftest.er1 >conftest.err
77574 rm -f conftest.er1
77575 cat conftest.err >&5
77576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77577 (exit $ac_status); } &&
77578 { ac_try='test -z "$ac_cxx_werror_flag"
77579 || test ! -s conftest.err'
77580 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77581 (eval $ac_try) 2>&5
77582 ac_status=$?
77583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77584 (exit $ac_status); }; } &&
77585 { ac_try='test -s conftest.$ac_objext'
77586 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77587 (eval $ac_try) 2>&5
77588 ac_status=$?
77589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77590 (exit $ac_status); }; }; then
77591 ac_fdsections=yes
77592 else
77593 echo "$as_me: failed program was:" >&5
77594 sed 's/^/| /' conftest.$ac_ext >&5
77596 ac_fdsections=no
77598 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77599 if test "$ac_test_CXXFLAGS" = set; then
77600 CXXFLAGS="$ac_save_CXXFLAGS"
77601 else
77602 # this is the suspicious part
77603 CXXFLAGS=''
77605 if test x"$ac_fdsections" = x"yes"; then
77606 SECTION_FLAGS='-ffunction-sections -fdata-sections'
77608 echo "$as_me:$LINENO: result: $ac_fdsections" >&5
77609 echo "${ECHO_T}$ac_fdsections" >&6
77611 ac_ext=c
77612 ac_cpp='$CPP $CPPFLAGS'
77613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77621 # If we're not using GNU ld, then there's no point in even trying these
77622 # tests. Check for that first. We should have already tested for gld
77623 # by now (in libtool), but require it now just to be safe...
77624 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
77625 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
77629 # The name set by libtool depends on the version of libtool. Shame on us
77630 # for depending on an impl detail, but c'est la vie. Older versions used
77631 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
77632 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
77633 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
77634 # set (hence we're using an older libtool), then set it.
77635 if test x${with_gnu_ld+set} != xset; then
77636 if test x${ac_cv_prog_gnu_ld+set} != xset; then
77637 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
77638 with_gnu_ld=no
77639 else
77640 with_gnu_ld=$ac_cv_prog_gnu_ld
77644 # Start by getting the version number. I think the libtool test already
77645 # does some of this, but throws away the result.
77646 glibcxx_ld_is_gold=no
77647 if test x"$with_gnu_ld" = x"yes"; then
77648 echo "$as_me:$LINENO: checking for ld version" >&5
77649 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
77651 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
77652 glibcxx_ld_is_gold=yes
77654 ldver=`$LD --version 2>/dev/null | head -1 | \
77655 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
77657 glibcxx_gnu_ld_version=`echo $ldver | \
77658 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
77659 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
77660 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
77663 # Set --gc-sections.
77664 glibcxx_have_gc_sections=no
77665 if test "$glibcxx_ld_is_gold" = "yes"; then
77666 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
77667 glibcxx_have_gc_sections=yes
77669 else
77670 glibcxx_gcsections_min_ld=21602
77671 if test x"$with_gnu_ld" = x"yes" &&
77672 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
77673 glibcxx_have_gc_sections=yes
77676 if test "$glibcxx_have_gc_sections" = "yes"; then
77677 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
77678 # NB: This flag only works reliably after 2.16.1. Configure tests
77679 # for this are difficult, so hard wire a value that should work.
77681 ac_test_CFLAGS="${CFLAGS+set}"
77682 ac_save_CFLAGS="$CFLAGS"
77683 CFLAGS='-Wl,--gc-sections'
77685 # Check for -Wl,--gc-sections
77686 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
77687 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
77688 if test x$gcc_no_link = xyes; then
77689 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77690 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77691 { (exit 1); exit 1; }; }
77693 cat >conftest.$ac_ext <<_ACEOF
77694 /* confdefs.h. */
77695 _ACEOF
77696 cat confdefs.h >>conftest.$ac_ext
77697 cat >>conftest.$ac_ext <<_ACEOF
77698 /* end confdefs.h. */
77699 int one(void) { return 1; }
77700 int two(void) { return 2; }
77703 main ()
77705 two();
77707 return 0;
77709 _ACEOF
77710 rm -f conftest.$ac_objext conftest$ac_exeext
77711 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77712 (eval $ac_link) 2>conftest.er1
77713 ac_status=$?
77714 grep -v '^ *+' conftest.er1 >conftest.err
77715 rm -f conftest.er1
77716 cat conftest.err >&5
77717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77718 (exit $ac_status); } &&
77719 { ac_try='test -z "$ac_c_werror_flag"
77720 || test ! -s conftest.err'
77721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77722 (eval $ac_try) 2>&5
77723 ac_status=$?
77724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77725 (exit $ac_status); }; } &&
77726 { ac_try='test -s conftest$ac_exeext'
77727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77728 (eval $ac_try) 2>&5
77729 ac_status=$?
77730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77731 (exit $ac_status); }; }; then
77732 ac_gcsections=yes
77733 else
77734 echo "$as_me: failed program was:" >&5
77735 sed 's/^/| /' conftest.$ac_ext >&5
77737 ac_gcsections=no
77739 rm -f conftest.err conftest.$ac_objext \
77740 conftest$ac_exeext conftest.$ac_ext
77741 if test "$ac_gcsections" = "yes"; then
77742 rm -f conftest.c
77743 touch conftest.c
77744 if $CC -c conftest.c; then
77745 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
77746 grep "Warning: gc-sections option ignored" > /dev/null; then
77747 ac_gcsections=no
77750 rm -f conftest.c conftest.o conftest
77752 if test "$ac_gcsections" = "yes"; then
77753 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
77755 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
77756 echo "${ECHO_T}$ac_gcsections" >&6
77758 if test "$ac_test_CFLAGS" = set; then
77759 CFLAGS="$ac_save_CFLAGS"
77760 else
77761 # this is the suspicious part
77762 CFLAGS=''
77766 # Set -z,relro.
77767 # Note this is only for shared objects.
77768 ac_ld_relro=no
77769 if test x"$with_gnu_ld" = x"yes"; then
77770 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
77771 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
77772 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
77773 if test -n "$cxx_z_relo"; then
77774 OPT_LDFLAGS="-Wl,-z,relro"
77775 ac_ld_relro=yes
77777 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
77778 echo "${ECHO_T}$ac_ld_relro" >&6
77781 # Set linker optimization flags.
77782 if test x"$with_gnu_ld" = x"yes"; then
77783 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
77790 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77791 ac_save_CXXFLAGS="$CXXFLAGS"
77792 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77794 echo "$as_me:$LINENO: checking for sin in -lm" >&5
77795 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
77796 if test "${ac_cv_lib_m_sin+set}" = set; then
77797 echo $ECHO_N "(cached) $ECHO_C" >&6
77798 else
77799 ac_check_lib_save_LIBS=$LIBS
77800 LIBS="-lm $LIBS"
77801 if test x$gcc_no_link = xyes; then
77802 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77803 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77804 { (exit 1); exit 1; }; }
77806 cat >conftest.$ac_ext <<_ACEOF
77807 /* confdefs.h. */
77808 _ACEOF
77809 cat confdefs.h >>conftest.$ac_ext
77810 cat >>conftest.$ac_ext <<_ACEOF
77811 /* end confdefs.h. */
77813 /* Override any gcc2 internal prototype to avoid an error. */
77814 #ifdef __cplusplus
77815 extern "C"
77816 #endif
77817 /* We use char because int might match the return type of a gcc2
77818 builtin and then its argument prototype would still apply. */
77819 char sin ();
77821 main ()
77823 sin ();
77825 return 0;
77827 _ACEOF
77828 rm -f conftest.$ac_objext conftest$ac_exeext
77829 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
77830 (eval $ac_link) 2>conftest.er1
77831 ac_status=$?
77832 grep -v '^ *+' conftest.er1 >conftest.err
77833 rm -f conftest.er1
77834 cat conftest.err >&5
77835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77836 (exit $ac_status); } &&
77837 { ac_try='test -z "$ac_c_werror_flag"
77838 || test ! -s conftest.err'
77839 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77840 (eval $ac_try) 2>&5
77841 ac_status=$?
77842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77843 (exit $ac_status); }; } &&
77844 { ac_try='test -s conftest$ac_exeext'
77845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77846 (eval $ac_try) 2>&5
77847 ac_status=$?
77848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77849 (exit $ac_status); }; }; then
77850 ac_cv_lib_m_sin=yes
77851 else
77852 echo "$as_me: failed program was:" >&5
77853 sed 's/^/| /' conftest.$ac_ext >&5
77855 ac_cv_lib_m_sin=no
77857 rm -f conftest.err conftest.$ac_objext \
77858 conftest$ac_exeext conftest.$ac_ext
77859 LIBS=$ac_check_lib_save_LIBS
77861 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
77862 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
77863 if test $ac_cv_lib_m_sin = yes; then
77864 libm="-lm"
77867 ac_save_LIBS="$LIBS"
77868 LIBS="$LIBS $libm"
77872 echo "$as_me:$LINENO: checking for isinf declaration" >&5
77873 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
77874 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
77875 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
77876 echo $ECHO_N "(cached) $ECHO_C" >&6
77877 else
77881 ac_ext=cc
77882 ac_cpp='$CXXCPP $CPPFLAGS'
77883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77887 cat >conftest.$ac_ext <<_ACEOF
77888 /* confdefs.h. */
77889 _ACEOF
77890 cat confdefs.h >>conftest.$ac_ext
77891 cat >>conftest.$ac_ext <<_ACEOF
77892 /* end confdefs.h. */
77893 #include <math.h>
77894 #ifdef HAVE_IEEEFP_H
77895 #include <ieeefp.h>
77896 #endif
77899 main ()
77901 isinf(0);
77903 return 0;
77905 _ACEOF
77906 rm -f conftest.$ac_objext
77907 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
77908 (eval $ac_compile) 2>conftest.er1
77909 ac_status=$?
77910 grep -v '^ *+' conftest.er1 >conftest.err
77911 rm -f conftest.er1
77912 cat conftest.err >&5
77913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77914 (exit $ac_status); } &&
77915 { ac_try='test -z "$ac_cxx_werror_flag"
77916 || test ! -s conftest.err'
77917 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77918 (eval $ac_try) 2>&5
77919 ac_status=$?
77920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77921 (exit $ac_status); }; } &&
77922 { ac_try='test -s conftest.$ac_objext'
77923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
77924 (eval $ac_try) 2>&5
77925 ac_status=$?
77926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
77927 (exit $ac_status); }; }; then
77928 glibcxx_cv_func_isinf_use=yes
77929 else
77930 echo "$as_me: failed program was:" >&5
77931 sed 's/^/| /' conftest.$ac_ext >&5
77933 glibcxx_cv_func_isinf_use=no
77935 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
77936 ac_ext=c
77937 ac_cpp='$CPP $CPPFLAGS'
77938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77946 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
77947 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
77949 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
77951 for ac_func in isinf
77953 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
77954 echo "$as_me:$LINENO: checking for $ac_func" >&5
77955 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
77956 if eval "test \"\${$as_ac_var+set}\" = set"; then
77957 echo $ECHO_N "(cached) $ECHO_C" >&6
77958 else
77959 if test x$gcc_no_link = xyes; then
77960 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
77961 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
77962 { (exit 1); exit 1; }; }
77964 cat >conftest.$ac_ext <<_ACEOF
77965 /* confdefs.h. */
77966 _ACEOF
77967 cat confdefs.h >>conftest.$ac_ext
77968 cat >>conftest.$ac_ext <<_ACEOF
77969 /* end confdefs.h. */
77970 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
77971 For example, HP-UX 11i <limits.h> declares gettimeofday. */
77972 #define $ac_func innocuous_$ac_func
77974 /* System header to define __stub macros and hopefully few prototypes,
77975 which can conflict with char $ac_func (); below.
77976 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
77977 <limits.h> exists even on freestanding compilers. */
77979 #ifdef __STDC__
77980 # include <limits.h>
77981 #else
77982 # include <assert.h>
77983 #endif
77985 #undef $ac_func
77987 /* Override any gcc2 internal prototype to avoid an error. */
77988 #ifdef __cplusplus
77989 extern "C"
77991 #endif
77992 /* We use char because int might match the return type of a gcc2
77993 builtin and then its argument prototype would still apply. */
77994 char $ac_func ();
77995 /* The GNU C library defines this for functions which it implements
77996 to always fail with ENOSYS. Some functions are actually named
77997 something starting with __ and the normal name is an alias. */
77998 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
77999 choke me
78000 #else
78001 char (*f) () = $ac_func;
78002 #endif
78003 #ifdef __cplusplus
78005 #endif
78008 main ()
78010 return f != $ac_func;
78012 return 0;
78014 _ACEOF
78015 rm -f conftest.$ac_objext conftest$ac_exeext
78016 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78017 (eval $ac_link) 2>conftest.er1
78018 ac_status=$?
78019 grep -v '^ *+' conftest.er1 >conftest.err
78020 rm -f conftest.er1
78021 cat conftest.err >&5
78022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78023 (exit $ac_status); } &&
78024 { ac_try='test -z "$ac_c_werror_flag"
78025 || test ! -s conftest.err'
78026 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78027 (eval $ac_try) 2>&5
78028 ac_status=$?
78029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78030 (exit $ac_status); }; } &&
78031 { ac_try='test -s conftest$ac_exeext'
78032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78033 (eval $ac_try) 2>&5
78034 ac_status=$?
78035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78036 (exit $ac_status); }; }; then
78037 eval "$as_ac_var=yes"
78038 else
78039 echo "$as_me: failed program was:" >&5
78040 sed 's/^/| /' conftest.$ac_ext >&5
78042 eval "$as_ac_var=no"
78044 rm -f conftest.err conftest.$ac_objext \
78045 conftest$ac_exeext conftest.$ac_ext
78047 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78048 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78049 if test `eval echo '${'$as_ac_var'}'` = yes; then
78050 cat >>confdefs.h <<_ACEOF
78051 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78052 _ACEOF
78055 done
78057 else
78059 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
78060 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
78061 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
78062 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
78063 echo $ECHO_N "(cached) $ECHO_C" >&6
78064 else
78068 ac_ext=cc
78069 ac_cpp='$CXXCPP $CPPFLAGS'
78070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78074 cat >conftest.$ac_ext <<_ACEOF
78075 /* confdefs.h. */
78076 _ACEOF
78077 cat confdefs.h >>conftest.$ac_ext
78078 cat >>conftest.$ac_ext <<_ACEOF
78079 /* end confdefs.h. */
78080 #include <math.h>
78081 #ifdef HAVE_IEEEFP_H
78082 #include <ieeefp.h>
78083 #endif
78086 main ()
78088 _isinf(0);
78090 return 0;
78092 _ACEOF
78093 rm -f conftest.$ac_objext
78094 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78095 (eval $ac_compile) 2>conftest.er1
78096 ac_status=$?
78097 grep -v '^ *+' conftest.er1 >conftest.err
78098 rm -f conftest.er1
78099 cat conftest.err >&5
78100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78101 (exit $ac_status); } &&
78102 { ac_try='test -z "$ac_cxx_werror_flag"
78103 || test ! -s conftest.err'
78104 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78105 (eval $ac_try) 2>&5
78106 ac_status=$?
78107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78108 (exit $ac_status); }; } &&
78109 { ac_try='test -s conftest.$ac_objext'
78110 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78111 (eval $ac_try) 2>&5
78112 ac_status=$?
78113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78114 (exit $ac_status); }; }; then
78115 glibcxx_cv_func__isinf_use=yes
78116 else
78117 echo "$as_me: failed program was:" >&5
78118 sed 's/^/| /' conftest.$ac_ext >&5
78120 glibcxx_cv_func__isinf_use=no
78122 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78123 ac_ext=c
78124 ac_cpp='$CPP $CPPFLAGS'
78125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78133 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
78134 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
78136 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
78138 for ac_func in _isinf
78140 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78141 echo "$as_me:$LINENO: checking for $ac_func" >&5
78142 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78143 if eval "test \"\${$as_ac_var+set}\" = set"; then
78144 echo $ECHO_N "(cached) $ECHO_C" >&6
78145 else
78146 if test x$gcc_no_link = xyes; then
78147 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78148 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78149 { (exit 1); exit 1; }; }
78151 cat >conftest.$ac_ext <<_ACEOF
78152 /* confdefs.h. */
78153 _ACEOF
78154 cat confdefs.h >>conftest.$ac_ext
78155 cat >>conftest.$ac_ext <<_ACEOF
78156 /* end confdefs.h. */
78157 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78158 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78159 #define $ac_func innocuous_$ac_func
78161 /* System header to define __stub macros and hopefully few prototypes,
78162 which can conflict with char $ac_func (); below.
78163 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78164 <limits.h> exists even on freestanding compilers. */
78166 #ifdef __STDC__
78167 # include <limits.h>
78168 #else
78169 # include <assert.h>
78170 #endif
78172 #undef $ac_func
78174 /* Override any gcc2 internal prototype to avoid an error. */
78175 #ifdef __cplusplus
78176 extern "C"
78178 #endif
78179 /* We use char because int might match the return type of a gcc2
78180 builtin and then its argument prototype would still apply. */
78181 char $ac_func ();
78182 /* The GNU C library defines this for functions which it implements
78183 to always fail with ENOSYS. Some functions are actually named
78184 something starting with __ and the normal name is an alias. */
78185 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78186 choke me
78187 #else
78188 char (*f) () = $ac_func;
78189 #endif
78190 #ifdef __cplusplus
78192 #endif
78195 main ()
78197 return f != $ac_func;
78199 return 0;
78201 _ACEOF
78202 rm -f conftest.$ac_objext conftest$ac_exeext
78203 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78204 (eval $ac_link) 2>conftest.er1
78205 ac_status=$?
78206 grep -v '^ *+' conftest.er1 >conftest.err
78207 rm -f conftest.er1
78208 cat conftest.err >&5
78209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78210 (exit $ac_status); } &&
78211 { ac_try='test -z "$ac_c_werror_flag"
78212 || test ! -s conftest.err'
78213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78214 (eval $ac_try) 2>&5
78215 ac_status=$?
78216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78217 (exit $ac_status); }; } &&
78218 { ac_try='test -s conftest$ac_exeext'
78219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78220 (eval $ac_try) 2>&5
78221 ac_status=$?
78222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78223 (exit $ac_status); }; }; then
78224 eval "$as_ac_var=yes"
78225 else
78226 echo "$as_me: failed program was:" >&5
78227 sed 's/^/| /' conftest.$ac_ext >&5
78229 eval "$as_ac_var=no"
78231 rm -f conftest.err conftest.$ac_objext \
78232 conftest$ac_exeext conftest.$ac_ext
78234 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78235 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78236 if test `eval echo '${'$as_ac_var'}'` = yes; then
78237 cat >>confdefs.h <<_ACEOF
78238 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78239 _ACEOF
78242 done
78252 echo "$as_me:$LINENO: checking for isnan declaration" >&5
78253 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
78254 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
78255 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
78256 echo $ECHO_N "(cached) $ECHO_C" >&6
78257 else
78261 ac_ext=cc
78262 ac_cpp='$CXXCPP $CPPFLAGS'
78263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78267 cat >conftest.$ac_ext <<_ACEOF
78268 /* confdefs.h. */
78269 _ACEOF
78270 cat confdefs.h >>conftest.$ac_ext
78271 cat >>conftest.$ac_ext <<_ACEOF
78272 /* end confdefs.h. */
78273 #include <math.h>
78274 #ifdef HAVE_IEEEFP_H
78275 #include <ieeefp.h>
78276 #endif
78279 main ()
78281 isnan(0);
78283 return 0;
78285 _ACEOF
78286 rm -f conftest.$ac_objext
78287 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78288 (eval $ac_compile) 2>conftest.er1
78289 ac_status=$?
78290 grep -v '^ *+' conftest.er1 >conftest.err
78291 rm -f conftest.er1
78292 cat conftest.err >&5
78293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78294 (exit $ac_status); } &&
78295 { ac_try='test -z "$ac_cxx_werror_flag"
78296 || test ! -s conftest.err'
78297 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78298 (eval $ac_try) 2>&5
78299 ac_status=$?
78300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78301 (exit $ac_status); }; } &&
78302 { ac_try='test -s conftest.$ac_objext'
78303 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78304 (eval $ac_try) 2>&5
78305 ac_status=$?
78306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78307 (exit $ac_status); }; }; then
78308 glibcxx_cv_func_isnan_use=yes
78309 else
78310 echo "$as_me: failed program was:" >&5
78311 sed 's/^/| /' conftest.$ac_ext >&5
78313 glibcxx_cv_func_isnan_use=no
78315 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78316 ac_ext=c
78317 ac_cpp='$CPP $CPPFLAGS'
78318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78326 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
78327 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
78329 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
78331 for ac_func in isnan
78333 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78334 echo "$as_me:$LINENO: checking for $ac_func" >&5
78335 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78336 if eval "test \"\${$as_ac_var+set}\" = set"; then
78337 echo $ECHO_N "(cached) $ECHO_C" >&6
78338 else
78339 if test x$gcc_no_link = xyes; then
78340 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78341 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78342 { (exit 1); exit 1; }; }
78344 cat >conftest.$ac_ext <<_ACEOF
78345 /* confdefs.h. */
78346 _ACEOF
78347 cat confdefs.h >>conftest.$ac_ext
78348 cat >>conftest.$ac_ext <<_ACEOF
78349 /* end confdefs.h. */
78350 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78351 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78352 #define $ac_func innocuous_$ac_func
78354 /* System header to define __stub macros and hopefully few prototypes,
78355 which can conflict with char $ac_func (); below.
78356 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78357 <limits.h> exists even on freestanding compilers. */
78359 #ifdef __STDC__
78360 # include <limits.h>
78361 #else
78362 # include <assert.h>
78363 #endif
78365 #undef $ac_func
78367 /* Override any gcc2 internal prototype to avoid an error. */
78368 #ifdef __cplusplus
78369 extern "C"
78371 #endif
78372 /* We use char because int might match the return type of a gcc2
78373 builtin and then its argument prototype would still apply. */
78374 char $ac_func ();
78375 /* The GNU C library defines this for functions which it implements
78376 to always fail with ENOSYS. Some functions are actually named
78377 something starting with __ and the normal name is an alias. */
78378 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78379 choke me
78380 #else
78381 char (*f) () = $ac_func;
78382 #endif
78383 #ifdef __cplusplus
78385 #endif
78388 main ()
78390 return f != $ac_func;
78392 return 0;
78394 _ACEOF
78395 rm -f conftest.$ac_objext conftest$ac_exeext
78396 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78397 (eval $ac_link) 2>conftest.er1
78398 ac_status=$?
78399 grep -v '^ *+' conftest.er1 >conftest.err
78400 rm -f conftest.er1
78401 cat conftest.err >&5
78402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78403 (exit $ac_status); } &&
78404 { ac_try='test -z "$ac_c_werror_flag"
78405 || test ! -s conftest.err'
78406 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78407 (eval $ac_try) 2>&5
78408 ac_status=$?
78409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78410 (exit $ac_status); }; } &&
78411 { ac_try='test -s conftest$ac_exeext'
78412 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78413 (eval $ac_try) 2>&5
78414 ac_status=$?
78415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78416 (exit $ac_status); }; }; then
78417 eval "$as_ac_var=yes"
78418 else
78419 echo "$as_me: failed program was:" >&5
78420 sed 's/^/| /' conftest.$ac_ext >&5
78422 eval "$as_ac_var=no"
78424 rm -f conftest.err conftest.$ac_objext \
78425 conftest$ac_exeext conftest.$ac_ext
78427 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78428 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78429 if test `eval echo '${'$as_ac_var'}'` = yes; then
78430 cat >>confdefs.h <<_ACEOF
78431 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78432 _ACEOF
78435 done
78437 else
78439 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
78440 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
78441 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
78442 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
78443 echo $ECHO_N "(cached) $ECHO_C" >&6
78444 else
78448 ac_ext=cc
78449 ac_cpp='$CXXCPP $CPPFLAGS'
78450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78454 cat >conftest.$ac_ext <<_ACEOF
78455 /* confdefs.h. */
78456 _ACEOF
78457 cat confdefs.h >>conftest.$ac_ext
78458 cat >>conftest.$ac_ext <<_ACEOF
78459 /* end confdefs.h. */
78460 #include <math.h>
78461 #ifdef HAVE_IEEEFP_H
78462 #include <ieeefp.h>
78463 #endif
78466 main ()
78468 _isnan(0);
78470 return 0;
78472 _ACEOF
78473 rm -f conftest.$ac_objext
78474 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78475 (eval $ac_compile) 2>conftest.er1
78476 ac_status=$?
78477 grep -v '^ *+' conftest.er1 >conftest.err
78478 rm -f conftest.er1
78479 cat conftest.err >&5
78480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78481 (exit $ac_status); } &&
78482 { ac_try='test -z "$ac_cxx_werror_flag"
78483 || test ! -s conftest.err'
78484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78485 (eval $ac_try) 2>&5
78486 ac_status=$?
78487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78488 (exit $ac_status); }; } &&
78489 { ac_try='test -s conftest.$ac_objext'
78490 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78491 (eval $ac_try) 2>&5
78492 ac_status=$?
78493 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78494 (exit $ac_status); }; }; then
78495 glibcxx_cv_func__isnan_use=yes
78496 else
78497 echo "$as_me: failed program was:" >&5
78498 sed 's/^/| /' conftest.$ac_ext >&5
78500 glibcxx_cv_func__isnan_use=no
78502 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78503 ac_ext=c
78504 ac_cpp='$CPP $CPPFLAGS'
78505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78513 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
78514 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
78516 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
78518 for ac_func in _isnan
78520 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78521 echo "$as_me:$LINENO: checking for $ac_func" >&5
78522 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78523 if eval "test \"\${$as_ac_var+set}\" = set"; then
78524 echo $ECHO_N "(cached) $ECHO_C" >&6
78525 else
78526 if test x$gcc_no_link = xyes; then
78527 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78528 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78529 { (exit 1); exit 1; }; }
78531 cat >conftest.$ac_ext <<_ACEOF
78532 /* confdefs.h. */
78533 _ACEOF
78534 cat confdefs.h >>conftest.$ac_ext
78535 cat >>conftest.$ac_ext <<_ACEOF
78536 /* end confdefs.h. */
78537 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78538 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78539 #define $ac_func innocuous_$ac_func
78541 /* System header to define __stub macros and hopefully few prototypes,
78542 which can conflict with char $ac_func (); below.
78543 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78544 <limits.h> exists even on freestanding compilers. */
78546 #ifdef __STDC__
78547 # include <limits.h>
78548 #else
78549 # include <assert.h>
78550 #endif
78552 #undef $ac_func
78554 /* Override any gcc2 internal prototype to avoid an error. */
78555 #ifdef __cplusplus
78556 extern "C"
78558 #endif
78559 /* We use char because int might match the return type of a gcc2
78560 builtin and then its argument prototype would still apply. */
78561 char $ac_func ();
78562 /* The GNU C library defines this for functions which it implements
78563 to always fail with ENOSYS. Some functions are actually named
78564 something starting with __ and the normal name is an alias. */
78565 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78566 choke me
78567 #else
78568 char (*f) () = $ac_func;
78569 #endif
78570 #ifdef __cplusplus
78572 #endif
78575 main ()
78577 return f != $ac_func;
78579 return 0;
78581 _ACEOF
78582 rm -f conftest.$ac_objext conftest$ac_exeext
78583 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78584 (eval $ac_link) 2>conftest.er1
78585 ac_status=$?
78586 grep -v '^ *+' conftest.er1 >conftest.err
78587 rm -f conftest.er1
78588 cat conftest.err >&5
78589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78590 (exit $ac_status); } &&
78591 { ac_try='test -z "$ac_c_werror_flag"
78592 || test ! -s conftest.err'
78593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78594 (eval $ac_try) 2>&5
78595 ac_status=$?
78596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78597 (exit $ac_status); }; } &&
78598 { ac_try='test -s conftest$ac_exeext'
78599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78600 (eval $ac_try) 2>&5
78601 ac_status=$?
78602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78603 (exit $ac_status); }; }; then
78604 eval "$as_ac_var=yes"
78605 else
78606 echo "$as_me: failed program was:" >&5
78607 sed 's/^/| /' conftest.$ac_ext >&5
78609 eval "$as_ac_var=no"
78611 rm -f conftest.err conftest.$ac_objext \
78612 conftest$ac_exeext conftest.$ac_ext
78614 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78615 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78616 if test `eval echo '${'$as_ac_var'}'` = yes; then
78617 cat >>confdefs.h <<_ACEOF
78618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78619 _ACEOF
78622 done
78632 echo "$as_me:$LINENO: checking for finite declaration" >&5
78633 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
78634 if test x${glibcxx_cv_func_finite_use+set} != xset; then
78635 if test "${glibcxx_cv_func_finite_use+set}" = set; then
78636 echo $ECHO_N "(cached) $ECHO_C" >&6
78637 else
78641 ac_ext=cc
78642 ac_cpp='$CXXCPP $CPPFLAGS'
78643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78647 cat >conftest.$ac_ext <<_ACEOF
78648 /* confdefs.h. */
78649 _ACEOF
78650 cat confdefs.h >>conftest.$ac_ext
78651 cat >>conftest.$ac_ext <<_ACEOF
78652 /* end confdefs.h. */
78653 #include <math.h>
78654 #ifdef HAVE_IEEEFP_H
78655 #include <ieeefp.h>
78656 #endif
78659 main ()
78661 finite(0);
78663 return 0;
78665 _ACEOF
78666 rm -f conftest.$ac_objext
78667 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78668 (eval $ac_compile) 2>conftest.er1
78669 ac_status=$?
78670 grep -v '^ *+' conftest.er1 >conftest.err
78671 rm -f conftest.er1
78672 cat conftest.err >&5
78673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78674 (exit $ac_status); } &&
78675 { ac_try='test -z "$ac_cxx_werror_flag"
78676 || test ! -s conftest.err'
78677 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78678 (eval $ac_try) 2>&5
78679 ac_status=$?
78680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78681 (exit $ac_status); }; } &&
78682 { ac_try='test -s conftest.$ac_objext'
78683 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78684 (eval $ac_try) 2>&5
78685 ac_status=$?
78686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78687 (exit $ac_status); }; }; then
78688 glibcxx_cv_func_finite_use=yes
78689 else
78690 echo "$as_me: failed program was:" >&5
78691 sed 's/^/| /' conftest.$ac_ext >&5
78693 glibcxx_cv_func_finite_use=no
78695 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78696 ac_ext=c
78697 ac_cpp='$CPP $CPPFLAGS'
78698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78706 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
78707 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
78709 if test x$glibcxx_cv_func_finite_use = x"yes"; then
78711 for ac_func in finite
78713 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78714 echo "$as_me:$LINENO: checking for $ac_func" >&5
78715 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78716 if eval "test \"\${$as_ac_var+set}\" = set"; then
78717 echo $ECHO_N "(cached) $ECHO_C" >&6
78718 else
78719 if test x$gcc_no_link = xyes; then
78720 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78721 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78722 { (exit 1); exit 1; }; }
78724 cat >conftest.$ac_ext <<_ACEOF
78725 /* confdefs.h. */
78726 _ACEOF
78727 cat confdefs.h >>conftest.$ac_ext
78728 cat >>conftest.$ac_ext <<_ACEOF
78729 /* end confdefs.h. */
78730 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78731 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78732 #define $ac_func innocuous_$ac_func
78734 /* System header to define __stub macros and hopefully few prototypes,
78735 which can conflict with char $ac_func (); below.
78736 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78737 <limits.h> exists even on freestanding compilers. */
78739 #ifdef __STDC__
78740 # include <limits.h>
78741 #else
78742 # include <assert.h>
78743 #endif
78745 #undef $ac_func
78747 /* Override any gcc2 internal prototype to avoid an error. */
78748 #ifdef __cplusplus
78749 extern "C"
78751 #endif
78752 /* We use char because int might match the return type of a gcc2
78753 builtin and then its argument prototype would still apply. */
78754 char $ac_func ();
78755 /* The GNU C library defines this for functions which it implements
78756 to always fail with ENOSYS. Some functions are actually named
78757 something starting with __ and the normal name is an alias. */
78758 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78759 choke me
78760 #else
78761 char (*f) () = $ac_func;
78762 #endif
78763 #ifdef __cplusplus
78765 #endif
78768 main ()
78770 return f != $ac_func;
78772 return 0;
78774 _ACEOF
78775 rm -f conftest.$ac_objext conftest$ac_exeext
78776 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78777 (eval $ac_link) 2>conftest.er1
78778 ac_status=$?
78779 grep -v '^ *+' conftest.er1 >conftest.err
78780 rm -f conftest.er1
78781 cat conftest.err >&5
78782 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78783 (exit $ac_status); } &&
78784 { ac_try='test -z "$ac_c_werror_flag"
78785 || test ! -s conftest.err'
78786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78787 (eval $ac_try) 2>&5
78788 ac_status=$?
78789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78790 (exit $ac_status); }; } &&
78791 { ac_try='test -s conftest$ac_exeext'
78792 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78793 (eval $ac_try) 2>&5
78794 ac_status=$?
78795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78796 (exit $ac_status); }; }; then
78797 eval "$as_ac_var=yes"
78798 else
78799 echo "$as_me: failed program was:" >&5
78800 sed 's/^/| /' conftest.$ac_ext >&5
78802 eval "$as_ac_var=no"
78804 rm -f conftest.err conftest.$ac_objext \
78805 conftest$ac_exeext conftest.$ac_ext
78807 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78808 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78809 if test `eval echo '${'$as_ac_var'}'` = yes; then
78810 cat >>confdefs.h <<_ACEOF
78811 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78812 _ACEOF
78815 done
78817 else
78819 echo "$as_me:$LINENO: checking for _finite declaration" >&5
78820 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
78821 if test x${glibcxx_cv_func__finite_use+set} != xset; then
78822 if test "${glibcxx_cv_func__finite_use+set}" = set; then
78823 echo $ECHO_N "(cached) $ECHO_C" >&6
78824 else
78828 ac_ext=cc
78829 ac_cpp='$CXXCPP $CPPFLAGS'
78830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78834 cat >conftest.$ac_ext <<_ACEOF
78835 /* confdefs.h. */
78836 _ACEOF
78837 cat confdefs.h >>conftest.$ac_ext
78838 cat >>conftest.$ac_ext <<_ACEOF
78839 /* end confdefs.h. */
78840 #include <math.h>
78841 #ifdef HAVE_IEEEFP_H
78842 #include <ieeefp.h>
78843 #endif
78846 main ()
78848 _finite(0);
78850 return 0;
78852 _ACEOF
78853 rm -f conftest.$ac_objext
78854 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
78855 (eval $ac_compile) 2>conftest.er1
78856 ac_status=$?
78857 grep -v '^ *+' conftest.er1 >conftest.err
78858 rm -f conftest.er1
78859 cat conftest.err >&5
78860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78861 (exit $ac_status); } &&
78862 { ac_try='test -z "$ac_cxx_werror_flag"
78863 || test ! -s conftest.err'
78864 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78865 (eval $ac_try) 2>&5
78866 ac_status=$?
78867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78868 (exit $ac_status); }; } &&
78869 { ac_try='test -s conftest.$ac_objext'
78870 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78871 (eval $ac_try) 2>&5
78872 ac_status=$?
78873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78874 (exit $ac_status); }; }; then
78875 glibcxx_cv_func__finite_use=yes
78876 else
78877 echo "$as_me: failed program was:" >&5
78878 sed 's/^/| /' conftest.$ac_ext >&5
78880 glibcxx_cv_func__finite_use=no
78882 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
78883 ac_ext=c
78884 ac_cpp='$CPP $CPPFLAGS'
78885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78893 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
78894 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
78896 if test x$glibcxx_cv_func__finite_use = x"yes"; then
78898 for ac_func in _finite
78900 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
78901 echo "$as_me:$LINENO: checking for $ac_func" >&5
78902 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
78903 if eval "test \"\${$as_ac_var+set}\" = set"; then
78904 echo $ECHO_N "(cached) $ECHO_C" >&6
78905 else
78906 if test x$gcc_no_link = xyes; then
78907 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
78908 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
78909 { (exit 1); exit 1; }; }
78911 cat >conftest.$ac_ext <<_ACEOF
78912 /* confdefs.h. */
78913 _ACEOF
78914 cat confdefs.h >>conftest.$ac_ext
78915 cat >>conftest.$ac_ext <<_ACEOF
78916 /* end confdefs.h. */
78917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
78918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
78919 #define $ac_func innocuous_$ac_func
78921 /* System header to define __stub macros and hopefully few prototypes,
78922 which can conflict with char $ac_func (); below.
78923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
78924 <limits.h> exists even on freestanding compilers. */
78926 #ifdef __STDC__
78927 # include <limits.h>
78928 #else
78929 # include <assert.h>
78930 #endif
78932 #undef $ac_func
78934 /* Override any gcc2 internal prototype to avoid an error. */
78935 #ifdef __cplusplus
78936 extern "C"
78938 #endif
78939 /* We use char because int might match the return type of a gcc2
78940 builtin and then its argument prototype would still apply. */
78941 char $ac_func ();
78942 /* The GNU C library defines this for functions which it implements
78943 to always fail with ENOSYS. Some functions are actually named
78944 something starting with __ and the normal name is an alias. */
78945 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
78946 choke me
78947 #else
78948 char (*f) () = $ac_func;
78949 #endif
78950 #ifdef __cplusplus
78952 #endif
78955 main ()
78957 return f != $ac_func;
78959 return 0;
78961 _ACEOF
78962 rm -f conftest.$ac_objext conftest$ac_exeext
78963 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
78964 (eval $ac_link) 2>conftest.er1
78965 ac_status=$?
78966 grep -v '^ *+' conftest.er1 >conftest.err
78967 rm -f conftest.er1
78968 cat conftest.err >&5
78969 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78970 (exit $ac_status); } &&
78971 { ac_try='test -z "$ac_c_werror_flag"
78972 || test ! -s conftest.err'
78973 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78974 (eval $ac_try) 2>&5
78975 ac_status=$?
78976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78977 (exit $ac_status); }; } &&
78978 { ac_try='test -s conftest$ac_exeext'
78979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
78980 (eval $ac_try) 2>&5
78981 ac_status=$?
78982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
78983 (exit $ac_status); }; }; then
78984 eval "$as_ac_var=yes"
78985 else
78986 echo "$as_me: failed program was:" >&5
78987 sed 's/^/| /' conftest.$ac_ext >&5
78989 eval "$as_ac_var=no"
78991 rm -f conftest.err conftest.$ac_objext \
78992 conftest$ac_exeext conftest.$ac_ext
78994 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
78995 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
78996 if test `eval echo '${'$as_ac_var'}'` = yes; then
78997 cat >>confdefs.h <<_ACEOF
78998 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
78999 _ACEOF
79002 done
79012 echo "$as_me:$LINENO: checking for sincos declaration" >&5
79013 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
79014 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
79015 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
79016 echo $ECHO_N "(cached) $ECHO_C" >&6
79017 else
79021 ac_ext=cc
79022 ac_cpp='$CXXCPP $CPPFLAGS'
79023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79027 cat >conftest.$ac_ext <<_ACEOF
79028 /* confdefs.h. */
79029 _ACEOF
79030 cat confdefs.h >>conftest.$ac_ext
79031 cat >>conftest.$ac_ext <<_ACEOF
79032 /* end confdefs.h. */
79033 #include <math.h>
79035 main ()
79037 sincos(0, 0, 0);
79039 return 0;
79041 _ACEOF
79042 rm -f conftest.$ac_objext
79043 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79044 (eval $ac_compile) 2>conftest.er1
79045 ac_status=$?
79046 grep -v '^ *+' conftest.er1 >conftest.err
79047 rm -f conftest.er1
79048 cat conftest.err >&5
79049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79050 (exit $ac_status); } &&
79051 { ac_try='test -z "$ac_cxx_werror_flag"
79052 || test ! -s conftest.err'
79053 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79054 (eval $ac_try) 2>&5
79055 ac_status=$?
79056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79057 (exit $ac_status); }; } &&
79058 { ac_try='test -s conftest.$ac_objext'
79059 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79060 (eval $ac_try) 2>&5
79061 ac_status=$?
79062 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79063 (exit $ac_status); }; }; then
79064 glibcxx_cv_func_sincos_use=yes
79065 else
79066 echo "$as_me: failed program was:" >&5
79067 sed 's/^/| /' conftest.$ac_ext >&5
79069 glibcxx_cv_func_sincos_use=no
79071 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79072 ac_ext=c
79073 ac_cpp='$CPP $CPPFLAGS'
79074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79082 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
79083 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
79085 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
79087 for ac_func in sincos
79089 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79090 echo "$as_me:$LINENO: checking for $ac_func" >&5
79091 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79092 if eval "test \"\${$as_ac_var+set}\" = set"; then
79093 echo $ECHO_N "(cached) $ECHO_C" >&6
79094 else
79095 if test x$gcc_no_link = xyes; then
79096 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79097 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79098 { (exit 1); exit 1; }; }
79100 cat >conftest.$ac_ext <<_ACEOF
79101 /* confdefs.h. */
79102 _ACEOF
79103 cat confdefs.h >>conftest.$ac_ext
79104 cat >>conftest.$ac_ext <<_ACEOF
79105 /* end confdefs.h. */
79106 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79107 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79108 #define $ac_func innocuous_$ac_func
79110 /* System header to define __stub macros and hopefully few prototypes,
79111 which can conflict with char $ac_func (); below.
79112 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79113 <limits.h> exists even on freestanding compilers. */
79115 #ifdef __STDC__
79116 # include <limits.h>
79117 #else
79118 # include <assert.h>
79119 #endif
79121 #undef $ac_func
79123 /* Override any gcc2 internal prototype to avoid an error. */
79124 #ifdef __cplusplus
79125 extern "C"
79127 #endif
79128 /* We use char because int might match the return type of a gcc2
79129 builtin and then its argument prototype would still apply. */
79130 char $ac_func ();
79131 /* The GNU C library defines this for functions which it implements
79132 to always fail with ENOSYS. Some functions are actually named
79133 something starting with __ and the normal name is an alias. */
79134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79135 choke me
79136 #else
79137 char (*f) () = $ac_func;
79138 #endif
79139 #ifdef __cplusplus
79141 #endif
79144 main ()
79146 return f != $ac_func;
79148 return 0;
79150 _ACEOF
79151 rm -f conftest.$ac_objext conftest$ac_exeext
79152 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79153 (eval $ac_link) 2>conftest.er1
79154 ac_status=$?
79155 grep -v '^ *+' conftest.er1 >conftest.err
79156 rm -f conftest.er1
79157 cat conftest.err >&5
79158 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79159 (exit $ac_status); } &&
79160 { ac_try='test -z "$ac_c_werror_flag"
79161 || test ! -s conftest.err'
79162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79163 (eval $ac_try) 2>&5
79164 ac_status=$?
79165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79166 (exit $ac_status); }; } &&
79167 { ac_try='test -s conftest$ac_exeext'
79168 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79169 (eval $ac_try) 2>&5
79170 ac_status=$?
79171 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79172 (exit $ac_status); }; }; then
79173 eval "$as_ac_var=yes"
79174 else
79175 echo "$as_me: failed program was:" >&5
79176 sed 's/^/| /' conftest.$ac_ext >&5
79178 eval "$as_ac_var=no"
79180 rm -f conftest.err conftest.$ac_objext \
79181 conftest$ac_exeext conftest.$ac_ext
79183 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79184 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79185 if test `eval echo '${'$as_ac_var'}'` = yes; then
79186 cat >>confdefs.h <<_ACEOF
79187 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79188 _ACEOF
79191 done
79193 else
79195 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
79196 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
79197 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
79198 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
79199 echo $ECHO_N "(cached) $ECHO_C" >&6
79200 else
79204 ac_ext=cc
79205 ac_cpp='$CXXCPP $CPPFLAGS'
79206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79210 cat >conftest.$ac_ext <<_ACEOF
79211 /* confdefs.h. */
79212 _ACEOF
79213 cat confdefs.h >>conftest.$ac_ext
79214 cat >>conftest.$ac_ext <<_ACEOF
79215 /* end confdefs.h. */
79216 #include <math.h>
79218 main ()
79220 _sincos(0, 0, 0);
79222 return 0;
79224 _ACEOF
79225 rm -f conftest.$ac_objext
79226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79227 (eval $ac_compile) 2>conftest.er1
79228 ac_status=$?
79229 grep -v '^ *+' conftest.er1 >conftest.err
79230 rm -f conftest.er1
79231 cat conftest.err >&5
79232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79233 (exit $ac_status); } &&
79234 { ac_try='test -z "$ac_cxx_werror_flag"
79235 || test ! -s conftest.err'
79236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79237 (eval $ac_try) 2>&5
79238 ac_status=$?
79239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79240 (exit $ac_status); }; } &&
79241 { ac_try='test -s conftest.$ac_objext'
79242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79243 (eval $ac_try) 2>&5
79244 ac_status=$?
79245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79246 (exit $ac_status); }; }; then
79247 glibcxx_cv_func__sincos_use=yes
79248 else
79249 echo "$as_me: failed program was:" >&5
79250 sed 's/^/| /' conftest.$ac_ext >&5
79252 glibcxx_cv_func__sincos_use=no
79254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79255 ac_ext=c
79256 ac_cpp='$CPP $CPPFLAGS'
79257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
79266 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
79268 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
79270 for ac_func in _sincos
79272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79273 echo "$as_me:$LINENO: checking for $ac_func" >&5
79274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79275 if eval "test \"\${$as_ac_var+set}\" = set"; then
79276 echo $ECHO_N "(cached) $ECHO_C" >&6
79277 else
79278 if test x$gcc_no_link = xyes; then
79279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79281 { (exit 1); exit 1; }; }
79283 cat >conftest.$ac_ext <<_ACEOF
79284 /* confdefs.h. */
79285 _ACEOF
79286 cat confdefs.h >>conftest.$ac_ext
79287 cat >>conftest.$ac_ext <<_ACEOF
79288 /* end confdefs.h. */
79289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79291 #define $ac_func innocuous_$ac_func
79293 /* System header to define __stub macros and hopefully few prototypes,
79294 which can conflict with char $ac_func (); below.
79295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79296 <limits.h> exists even on freestanding compilers. */
79298 #ifdef __STDC__
79299 # include <limits.h>
79300 #else
79301 # include <assert.h>
79302 #endif
79304 #undef $ac_func
79306 /* Override any gcc2 internal prototype to avoid an error. */
79307 #ifdef __cplusplus
79308 extern "C"
79310 #endif
79311 /* We use char because int might match the return type of a gcc2
79312 builtin and then its argument prototype would still apply. */
79313 char $ac_func ();
79314 /* The GNU C library defines this for functions which it implements
79315 to always fail with ENOSYS. Some functions are actually named
79316 something starting with __ and the normal name is an alias. */
79317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79318 choke me
79319 #else
79320 char (*f) () = $ac_func;
79321 #endif
79322 #ifdef __cplusplus
79324 #endif
79327 main ()
79329 return f != $ac_func;
79331 return 0;
79333 _ACEOF
79334 rm -f conftest.$ac_objext conftest$ac_exeext
79335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79336 (eval $ac_link) 2>conftest.er1
79337 ac_status=$?
79338 grep -v '^ *+' conftest.er1 >conftest.err
79339 rm -f conftest.er1
79340 cat conftest.err >&5
79341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79342 (exit $ac_status); } &&
79343 { ac_try='test -z "$ac_c_werror_flag"
79344 || test ! -s conftest.err'
79345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79346 (eval $ac_try) 2>&5
79347 ac_status=$?
79348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79349 (exit $ac_status); }; } &&
79350 { ac_try='test -s conftest$ac_exeext'
79351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79352 (eval $ac_try) 2>&5
79353 ac_status=$?
79354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79355 (exit $ac_status); }; }; then
79356 eval "$as_ac_var=yes"
79357 else
79358 echo "$as_me: failed program was:" >&5
79359 sed 's/^/| /' conftest.$ac_ext >&5
79361 eval "$as_ac_var=no"
79363 rm -f conftest.err conftest.$ac_objext \
79364 conftest$ac_exeext conftest.$ac_ext
79366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79368 if test `eval echo '${'$as_ac_var'}'` = yes; then
79369 cat >>confdefs.h <<_ACEOF
79370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79371 _ACEOF
79374 done
79384 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
79385 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
79386 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
79387 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
79388 echo $ECHO_N "(cached) $ECHO_C" >&6
79389 else
79393 ac_ext=cc
79394 ac_cpp='$CXXCPP $CPPFLAGS'
79395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79399 cat >conftest.$ac_ext <<_ACEOF
79400 /* confdefs.h. */
79401 _ACEOF
79402 cat confdefs.h >>conftest.$ac_ext
79403 cat >>conftest.$ac_ext <<_ACEOF
79404 /* end confdefs.h. */
79405 #include <math.h>
79406 #ifdef HAVE_IEEEFP_H
79407 #include <ieeefp.h>
79408 #endif
79411 main ()
79413 fpclass(0);
79415 return 0;
79417 _ACEOF
79418 rm -f conftest.$ac_objext
79419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79420 (eval $ac_compile) 2>conftest.er1
79421 ac_status=$?
79422 grep -v '^ *+' conftest.er1 >conftest.err
79423 rm -f conftest.er1
79424 cat conftest.err >&5
79425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79426 (exit $ac_status); } &&
79427 { ac_try='test -z "$ac_cxx_werror_flag"
79428 || test ! -s conftest.err'
79429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79430 (eval $ac_try) 2>&5
79431 ac_status=$?
79432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79433 (exit $ac_status); }; } &&
79434 { ac_try='test -s conftest.$ac_objext'
79435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79436 (eval $ac_try) 2>&5
79437 ac_status=$?
79438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79439 (exit $ac_status); }; }; then
79440 glibcxx_cv_func_fpclass_use=yes
79441 else
79442 echo "$as_me: failed program was:" >&5
79443 sed 's/^/| /' conftest.$ac_ext >&5
79445 glibcxx_cv_func_fpclass_use=no
79447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79448 ac_ext=c
79449 ac_cpp='$CPP $CPPFLAGS'
79450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
79459 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
79461 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
79463 for ac_func in fpclass
79465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79466 echo "$as_me:$LINENO: checking for $ac_func" >&5
79467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79468 if eval "test \"\${$as_ac_var+set}\" = set"; then
79469 echo $ECHO_N "(cached) $ECHO_C" >&6
79470 else
79471 if test x$gcc_no_link = xyes; then
79472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79474 { (exit 1); exit 1; }; }
79476 cat >conftest.$ac_ext <<_ACEOF
79477 /* confdefs.h. */
79478 _ACEOF
79479 cat confdefs.h >>conftest.$ac_ext
79480 cat >>conftest.$ac_ext <<_ACEOF
79481 /* end confdefs.h. */
79482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79484 #define $ac_func innocuous_$ac_func
79486 /* System header to define __stub macros and hopefully few prototypes,
79487 which can conflict with char $ac_func (); below.
79488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79489 <limits.h> exists even on freestanding compilers. */
79491 #ifdef __STDC__
79492 # include <limits.h>
79493 #else
79494 # include <assert.h>
79495 #endif
79497 #undef $ac_func
79499 /* Override any gcc2 internal prototype to avoid an error. */
79500 #ifdef __cplusplus
79501 extern "C"
79503 #endif
79504 /* We use char because int might match the return type of a gcc2
79505 builtin and then its argument prototype would still apply. */
79506 char $ac_func ();
79507 /* The GNU C library defines this for functions which it implements
79508 to always fail with ENOSYS. Some functions are actually named
79509 something starting with __ and the normal name is an alias. */
79510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79511 choke me
79512 #else
79513 char (*f) () = $ac_func;
79514 #endif
79515 #ifdef __cplusplus
79517 #endif
79520 main ()
79522 return f != $ac_func;
79524 return 0;
79526 _ACEOF
79527 rm -f conftest.$ac_objext conftest$ac_exeext
79528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79529 (eval $ac_link) 2>conftest.er1
79530 ac_status=$?
79531 grep -v '^ *+' conftest.er1 >conftest.err
79532 rm -f conftest.er1
79533 cat conftest.err >&5
79534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79535 (exit $ac_status); } &&
79536 { ac_try='test -z "$ac_c_werror_flag"
79537 || test ! -s conftest.err'
79538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79539 (eval $ac_try) 2>&5
79540 ac_status=$?
79541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79542 (exit $ac_status); }; } &&
79543 { ac_try='test -s conftest$ac_exeext'
79544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79545 (eval $ac_try) 2>&5
79546 ac_status=$?
79547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79548 (exit $ac_status); }; }; then
79549 eval "$as_ac_var=yes"
79550 else
79551 echo "$as_me: failed program was:" >&5
79552 sed 's/^/| /' conftest.$ac_ext >&5
79554 eval "$as_ac_var=no"
79556 rm -f conftest.err conftest.$ac_objext \
79557 conftest$ac_exeext conftest.$ac_ext
79559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79561 if test `eval echo '${'$as_ac_var'}'` = yes; then
79562 cat >>confdefs.h <<_ACEOF
79563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79564 _ACEOF
79567 done
79569 else
79571 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
79572 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
79573 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
79574 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
79575 echo $ECHO_N "(cached) $ECHO_C" >&6
79576 else
79580 ac_ext=cc
79581 ac_cpp='$CXXCPP $CPPFLAGS'
79582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79586 cat >conftest.$ac_ext <<_ACEOF
79587 /* confdefs.h. */
79588 _ACEOF
79589 cat confdefs.h >>conftest.$ac_ext
79590 cat >>conftest.$ac_ext <<_ACEOF
79591 /* end confdefs.h. */
79592 #include <math.h>
79593 #ifdef HAVE_IEEEFP_H
79594 #include <ieeefp.h>
79595 #endif
79598 main ()
79600 _fpclass(0);
79602 return 0;
79604 _ACEOF
79605 rm -f conftest.$ac_objext
79606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79607 (eval $ac_compile) 2>conftest.er1
79608 ac_status=$?
79609 grep -v '^ *+' conftest.er1 >conftest.err
79610 rm -f conftest.er1
79611 cat conftest.err >&5
79612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79613 (exit $ac_status); } &&
79614 { ac_try='test -z "$ac_cxx_werror_flag"
79615 || test ! -s conftest.err'
79616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79617 (eval $ac_try) 2>&5
79618 ac_status=$?
79619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79620 (exit $ac_status); }; } &&
79621 { ac_try='test -s conftest.$ac_objext'
79622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79623 (eval $ac_try) 2>&5
79624 ac_status=$?
79625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79626 (exit $ac_status); }; }; then
79627 glibcxx_cv_func__fpclass_use=yes
79628 else
79629 echo "$as_me: failed program was:" >&5
79630 sed 's/^/| /' conftest.$ac_ext >&5
79632 glibcxx_cv_func__fpclass_use=no
79634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79635 ac_ext=c
79636 ac_cpp='$CPP $CPPFLAGS'
79637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
79646 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
79648 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
79650 for ac_func in _fpclass
79652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79653 echo "$as_me:$LINENO: checking for $ac_func" >&5
79654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79655 if eval "test \"\${$as_ac_var+set}\" = set"; then
79656 echo $ECHO_N "(cached) $ECHO_C" >&6
79657 else
79658 if test x$gcc_no_link = xyes; then
79659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79661 { (exit 1); exit 1; }; }
79663 cat >conftest.$ac_ext <<_ACEOF
79664 /* confdefs.h. */
79665 _ACEOF
79666 cat confdefs.h >>conftest.$ac_ext
79667 cat >>conftest.$ac_ext <<_ACEOF
79668 /* end confdefs.h. */
79669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79671 #define $ac_func innocuous_$ac_func
79673 /* System header to define __stub macros and hopefully few prototypes,
79674 which can conflict with char $ac_func (); below.
79675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79676 <limits.h> exists even on freestanding compilers. */
79678 #ifdef __STDC__
79679 # include <limits.h>
79680 #else
79681 # include <assert.h>
79682 #endif
79684 #undef $ac_func
79686 /* Override any gcc2 internal prototype to avoid an error. */
79687 #ifdef __cplusplus
79688 extern "C"
79690 #endif
79691 /* We use char because int might match the return type of a gcc2
79692 builtin and then its argument prototype would still apply. */
79693 char $ac_func ();
79694 /* The GNU C library defines this for functions which it implements
79695 to always fail with ENOSYS. Some functions are actually named
79696 something starting with __ and the normal name is an alias. */
79697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79698 choke me
79699 #else
79700 char (*f) () = $ac_func;
79701 #endif
79702 #ifdef __cplusplus
79704 #endif
79707 main ()
79709 return f != $ac_func;
79711 return 0;
79713 _ACEOF
79714 rm -f conftest.$ac_objext conftest$ac_exeext
79715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79716 (eval $ac_link) 2>conftest.er1
79717 ac_status=$?
79718 grep -v '^ *+' conftest.er1 >conftest.err
79719 rm -f conftest.er1
79720 cat conftest.err >&5
79721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79722 (exit $ac_status); } &&
79723 { ac_try='test -z "$ac_c_werror_flag"
79724 || test ! -s conftest.err'
79725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79726 (eval $ac_try) 2>&5
79727 ac_status=$?
79728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79729 (exit $ac_status); }; } &&
79730 { ac_try='test -s conftest$ac_exeext'
79731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79732 (eval $ac_try) 2>&5
79733 ac_status=$?
79734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79735 (exit $ac_status); }; }; then
79736 eval "$as_ac_var=yes"
79737 else
79738 echo "$as_me: failed program was:" >&5
79739 sed 's/^/| /' conftest.$ac_ext >&5
79741 eval "$as_ac_var=no"
79743 rm -f conftest.err conftest.$ac_objext \
79744 conftest$ac_exeext conftest.$ac_ext
79746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79748 if test `eval echo '${'$as_ac_var'}'` = yes; then
79749 cat >>confdefs.h <<_ACEOF
79750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79751 _ACEOF
79754 done
79764 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
79765 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
79766 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
79767 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
79768 echo $ECHO_N "(cached) $ECHO_C" >&6
79769 else
79773 ac_ext=cc
79774 ac_cpp='$CXXCPP $CPPFLAGS'
79775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79779 cat >conftest.$ac_ext <<_ACEOF
79780 /* confdefs.h. */
79781 _ACEOF
79782 cat confdefs.h >>conftest.$ac_ext
79783 cat >>conftest.$ac_ext <<_ACEOF
79784 /* end confdefs.h. */
79785 #include <math.h>
79786 #ifdef HAVE_IEEEFP_H
79787 #include <ieeefp.h>
79788 #endif
79791 main ()
79793 qfpclass(0);
79795 return 0;
79797 _ACEOF
79798 rm -f conftest.$ac_objext
79799 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79800 (eval $ac_compile) 2>conftest.er1
79801 ac_status=$?
79802 grep -v '^ *+' conftest.er1 >conftest.err
79803 rm -f conftest.er1
79804 cat conftest.err >&5
79805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79806 (exit $ac_status); } &&
79807 { ac_try='test -z "$ac_cxx_werror_flag"
79808 || test ! -s conftest.err'
79809 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79810 (eval $ac_try) 2>&5
79811 ac_status=$?
79812 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79813 (exit $ac_status); }; } &&
79814 { ac_try='test -s conftest.$ac_objext'
79815 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79816 (eval $ac_try) 2>&5
79817 ac_status=$?
79818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79819 (exit $ac_status); }; }; then
79820 glibcxx_cv_func_qfpclass_use=yes
79821 else
79822 echo "$as_me: failed program was:" >&5
79823 sed 's/^/| /' conftest.$ac_ext >&5
79825 glibcxx_cv_func_qfpclass_use=no
79827 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
79828 ac_ext=c
79829 ac_cpp='$CPP $CPPFLAGS'
79830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79838 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
79839 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
79841 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
79843 for ac_func in qfpclass
79845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
79846 echo "$as_me:$LINENO: checking for $ac_func" >&5
79847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
79848 if eval "test \"\${$as_ac_var+set}\" = set"; then
79849 echo $ECHO_N "(cached) $ECHO_C" >&6
79850 else
79851 if test x$gcc_no_link = xyes; then
79852 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
79853 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
79854 { (exit 1); exit 1; }; }
79856 cat >conftest.$ac_ext <<_ACEOF
79857 /* confdefs.h. */
79858 _ACEOF
79859 cat confdefs.h >>conftest.$ac_ext
79860 cat >>conftest.$ac_ext <<_ACEOF
79861 /* end confdefs.h. */
79862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
79863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
79864 #define $ac_func innocuous_$ac_func
79866 /* System header to define __stub macros and hopefully few prototypes,
79867 which can conflict with char $ac_func (); below.
79868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
79869 <limits.h> exists even on freestanding compilers. */
79871 #ifdef __STDC__
79872 # include <limits.h>
79873 #else
79874 # include <assert.h>
79875 #endif
79877 #undef $ac_func
79879 /* Override any gcc2 internal prototype to avoid an error. */
79880 #ifdef __cplusplus
79881 extern "C"
79883 #endif
79884 /* We use char because int might match the return type of a gcc2
79885 builtin and then its argument prototype would still apply. */
79886 char $ac_func ();
79887 /* The GNU C library defines this for functions which it implements
79888 to always fail with ENOSYS. Some functions are actually named
79889 something starting with __ and the normal name is an alias. */
79890 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
79891 choke me
79892 #else
79893 char (*f) () = $ac_func;
79894 #endif
79895 #ifdef __cplusplus
79897 #endif
79900 main ()
79902 return f != $ac_func;
79904 return 0;
79906 _ACEOF
79907 rm -f conftest.$ac_objext conftest$ac_exeext
79908 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
79909 (eval $ac_link) 2>conftest.er1
79910 ac_status=$?
79911 grep -v '^ *+' conftest.er1 >conftest.err
79912 rm -f conftest.er1
79913 cat conftest.err >&5
79914 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79915 (exit $ac_status); } &&
79916 { ac_try='test -z "$ac_c_werror_flag"
79917 || test ! -s conftest.err'
79918 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79919 (eval $ac_try) 2>&5
79920 ac_status=$?
79921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79922 (exit $ac_status); }; } &&
79923 { ac_try='test -s conftest$ac_exeext'
79924 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79925 (eval $ac_try) 2>&5
79926 ac_status=$?
79927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79928 (exit $ac_status); }; }; then
79929 eval "$as_ac_var=yes"
79930 else
79931 echo "$as_me: failed program was:" >&5
79932 sed 's/^/| /' conftest.$ac_ext >&5
79934 eval "$as_ac_var=no"
79936 rm -f conftest.err conftest.$ac_objext \
79937 conftest$ac_exeext conftest.$ac_ext
79939 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
79940 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
79941 if test `eval echo '${'$as_ac_var'}'` = yes; then
79942 cat >>confdefs.h <<_ACEOF
79943 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
79944 _ACEOF
79947 done
79949 else
79951 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
79952 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
79953 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
79954 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
79955 echo $ECHO_N "(cached) $ECHO_C" >&6
79956 else
79960 ac_ext=cc
79961 ac_cpp='$CXXCPP $CPPFLAGS'
79962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79966 cat >conftest.$ac_ext <<_ACEOF
79967 /* confdefs.h. */
79968 _ACEOF
79969 cat confdefs.h >>conftest.$ac_ext
79970 cat >>conftest.$ac_ext <<_ACEOF
79971 /* end confdefs.h. */
79972 #include <math.h>
79973 #ifdef HAVE_IEEEFP_H
79974 #include <ieeefp.h>
79975 #endif
79978 main ()
79980 _qfpclass(0);
79982 return 0;
79984 _ACEOF
79985 rm -f conftest.$ac_objext
79986 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
79987 (eval $ac_compile) 2>conftest.er1
79988 ac_status=$?
79989 grep -v '^ *+' conftest.er1 >conftest.err
79990 rm -f conftest.er1
79991 cat conftest.err >&5
79992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
79993 (exit $ac_status); } &&
79994 { ac_try='test -z "$ac_cxx_werror_flag"
79995 || test ! -s conftest.err'
79996 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
79997 (eval $ac_try) 2>&5
79998 ac_status=$?
79999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80000 (exit $ac_status); }; } &&
80001 { ac_try='test -s conftest.$ac_objext'
80002 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80003 (eval $ac_try) 2>&5
80004 ac_status=$?
80005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80006 (exit $ac_status); }; }; then
80007 glibcxx_cv_func__qfpclass_use=yes
80008 else
80009 echo "$as_me: failed program was:" >&5
80010 sed 's/^/| /' conftest.$ac_ext >&5
80012 glibcxx_cv_func__qfpclass_use=no
80014 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80015 ac_ext=c
80016 ac_cpp='$CPP $CPPFLAGS'
80017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80025 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
80026 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
80028 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
80030 for ac_func in _qfpclass
80032 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80033 echo "$as_me:$LINENO: checking for $ac_func" >&5
80034 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80035 if eval "test \"\${$as_ac_var+set}\" = set"; then
80036 echo $ECHO_N "(cached) $ECHO_C" >&6
80037 else
80038 if test x$gcc_no_link = xyes; then
80039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80041 { (exit 1); exit 1; }; }
80043 cat >conftest.$ac_ext <<_ACEOF
80044 /* confdefs.h. */
80045 _ACEOF
80046 cat confdefs.h >>conftest.$ac_ext
80047 cat >>conftest.$ac_ext <<_ACEOF
80048 /* end confdefs.h. */
80049 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80050 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80051 #define $ac_func innocuous_$ac_func
80053 /* System header to define __stub macros and hopefully few prototypes,
80054 which can conflict with char $ac_func (); below.
80055 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80056 <limits.h> exists even on freestanding compilers. */
80058 #ifdef __STDC__
80059 # include <limits.h>
80060 #else
80061 # include <assert.h>
80062 #endif
80064 #undef $ac_func
80066 /* Override any gcc2 internal prototype to avoid an error. */
80067 #ifdef __cplusplus
80068 extern "C"
80070 #endif
80071 /* We use char because int might match the return type of a gcc2
80072 builtin and then its argument prototype would still apply. */
80073 char $ac_func ();
80074 /* The GNU C library defines this for functions which it implements
80075 to always fail with ENOSYS. Some functions are actually named
80076 something starting with __ and the normal name is an alias. */
80077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80078 choke me
80079 #else
80080 char (*f) () = $ac_func;
80081 #endif
80082 #ifdef __cplusplus
80084 #endif
80087 main ()
80089 return f != $ac_func;
80091 return 0;
80093 _ACEOF
80094 rm -f conftest.$ac_objext conftest$ac_exeext
80095 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80096 (eval $ac_link) 2>conftest.er1
80097 ac_status=$?
80098 grep -v '^ *+' conftest.er1 >conftest.err
80099 rm -f conftest.er1
80100 cat conftest.err >&5
80101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80102 (exit $ac_status); } &&
80103 { ac_try='test -z "$ac_c_werror_flag"
80104 || test ! -s conftest.err'
80105 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80106 (eval $ac_try) 2>&5
80107 ac_status=$?
80108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80109 (exit $ac_status); }; } &&
80110 { ac_try='test -s conftest$ac_exeext'
80111 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80112 (eval $ac_try) 2>&5
80113 ac_status=$?
80114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80115 (exit $ac_status); }; }; then
80116 eval "$as_ac_var=yes"
80117 else
80118 echo "$as_me: failed program was:" >&5
80119 sed 's/^/| /' conftest.$ac_ext >&5
80121 eval "$as_ac_var=no"
80123 rm -f conftest.err conftest.$ac_objext \
80124 conftest$ac_exeext conftest.$ac_ext
80126 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80127 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80128 if test `eval echo '${'$as_ac_var'}'` = yes; then
80129 cat >>confdefs.h <<_ACEOF
80130 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80131 _ACEOF
80134 done
80144 echo "$as_me:$LINENO: checking for hypot declaration" >&5
80145 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
80146 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
80147 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
80148 echo $ECHO_N "(cached) $ECHO_C" >&6
80149 else
80153 ac_ext=cc
80154 ac_cpp='$CXXCPP $CPPFLAGS'
80155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80159 cat >conftest.$ac_ext <<_ACEOF
80160 /* confdefs.h. */
80161 _ACEOF
80162 cat confdefs.h >>conftest.$ac_ext
80163 cat >>conftest.$ac_ext <<_ACEOF
80164 /* end confdefs.h. */
80165 #include <math.h>
80167 main ()
80169 hypot(0, 0);
80171 return 0;
80173 _ACEOF
80174 rm -f conftest.$ac_objext
80175 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80176 (eval $ac_compile) 2>conftest.er1
80177 ac_status=$?
80178 grep -v '^ *+' conftest.er1 >conftest.err
80179 rm -f conftest.er1
80180 cat conftest.err >&5
80181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80182 (exit $ac_status); } &&
80183 { ac_try='test -z "$ac_cxx_werror_flag"
80184 || test ! -s conftest.err'
80185 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80186 (eval $ac_try) 2>&5
80187 ac_status=$?
80188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80189 (exit $ac_status); }; } &&
80190 { ac_try='test -s conftest.$ac_objext'
80191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80192 (eval $ac_try) 2>&5
80193 ac_status=$?
80194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80195 (exit $ac_status); }; }; then
80196 glibcxx_cv_func_hypot_use=yes
80197 else
80198 echo "$as_me: failed program was:" >&5
80199 sed 's/^/| /' conftest.$ac_ext >&5
80201 glibcxx_cv_func_hypot_use=no
80203 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80204 ac_ext=c
80205 ac_cpp='$CPP $CPPFLAGS'
80206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80214 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
80215 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
80217 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
80219 for ac_func in hypot
80221 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80222 echo "$as_me:$LINENO: checking for $ac_func" >&5
80223 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80224 if eval "test \"\${$as_ac_var+set}\" = set"; then
80225 echo $ECHO_N "(cached) $ECHO_C" >&6
80226 else
80227 if test x$gcc_no_link = xyes; then
80228 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80229 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80230 { (exit 1); exit 1; }; }
80232 cat >conftest.$ac_ext <<_ACEOF
80233 /* confdefs.h. */
80234 _ACEOF
80235 cat confdefs.h >>conftest.$ac_ext
80236 cat >>conftest.$ac_ext <<_ACEOF
80237 /* end confdefs.h. */
80238 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80239 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80240 #define $ac_func innocuous_$ac_func
80242 /* System header to define __stub macros and hopefully few prototypes,
80243 which can conflict with char $ac_func (); below.
80244 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80245 <limits.h> exists even on freestanding compilers. */
80247 #ifdef __STDC__
80248 # include <limits.h>
80249 #else
80250 # include <assert.h>
80251 #endif
80253 #undef $ac_func
80255 /* Override any gcc2 internal prototype to avoid an error. */
80256 #ifdef __cplusplus
80257 extern "C"
80259 #endif
80260 /* We use char because int might match the return type of a gcc2
80261 builtin and then its argument prototype would still apply. */
80262 char $ac_func ();
80263 /* The GNU C library defines this for functions which it implements
80264 to always fail with ENOSYS. Some functions are actually named
80265 something starting with __ and the normal name is an alias. */
80266 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80267 choke me
80268 #else
80269 char (*f) () = $ac_func;
80270 #endif
80271 #ifdef __cplusplus
80273 #endif
80276 main ()
80278 return f != $ac_func;
80280 return 0;
80282 _ACEOF
80283 rm -f conftest.$ac_objext conftest$ac_exeext
80284 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80285 (eval $ac_link) 2>conftest.er1
80286 ac_status=$?
80287 grep -v '^ *+' conftest.er1 >conftest.err
80288 rm -f conftest.er1
80289 cat conftest.err >&5
80290 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80291 (exit $ac_status); } &&
80292 { ac_try='test -z "$ac_c_werror_flag"
80293 || test ! -s conftest.err'
80294 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80295 (eval $ac_try) 2>&5
80296 ac_status=$?
80297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80298 (exit $ac_status); }; } &&
80299 { ac_try='test -s conftest$ac_exeext'
80300 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80301 (eval $ac_try) 2>&5
80302 ac_status=$?
80303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80304 (exit $ac_status); }; }; then
80305 eval "$as_ac_var=yes"
80306 else
80307 echo "$as_me: failed program was:" >&5
80308 sed 's/^/| /' conftest.$ac_ext >&5
80310 eval "$as_ac_var=no"
80312 rm -f conftest.err conftest.$ac_objext \
80313 conftest$ac_exeext conftest.$ac_ext
80315 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80316 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80317 if test `eval echo '${'$as_ac_var'}'` = yes; then
80318 cat >>confdefs.h <<_ACEOF
80319 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80320 _ACEOF
80323 done
80325 else
80327 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
80328 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
80329 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
80330 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
80331 echo $ECHO_N "(cached) $ECHO_C" >&6
80332 else
80336 ac_ext=cc
80337 ac_cpp='$CXXCPP $CPPFLAGS'
80338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80342 cat >conftest.$ac_ext <<_ACEOF
80343 /* confdefs.h. */
80344 _ACEOF
80345 cat confdefs.h >>conftest.$ac_ext
80346 cat >>conftest.$ac_ext <<_ACEOF
80347 /* end confdefs.h. */
80348 #include <math.h>
80350 main ()
80352 _hypot(0, 0);
80354 return 0;
80356 _ACEOF
80357 rm -f conftest.$ac_objext
80358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80359 (eval $ac_compile) 2>conftest.er1
80360 ac_status=$?
80361 grep -v '^ *+' conftest.er1 >conftest.err
80362 rm -f conftest.er1
80363 cat conftest.err >&5
80364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80365 (exit $ac_status); } &&
80366 { ac_try='test -z "$ac_cxx_werror_flag"
80367 || test ! -s conftest.err'
80368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80369 (eval $ac_try) 2>&5
80370 ac_status=$?
80371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80372 (exit $ac_status); }; } &&
80373 { ac_try='test -s conftest.$ac_objext'
80374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80375 (eval $ac_try) 2>&5
80376 ac_status=$?
80377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80378 (exit $ac_status); }; }; then
80379 glibcxx_cv_func__hypot_use=yes
80380 else
80381 echo "$as_me: failed program was:" >&5
80382 sed 's/^/| /' conftest.$ac_ext >&5
80384 glibcxx_cv_func__hypot_use=no
80386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80387 ac_ext=c
80388 ac_cpp='$CPP $CPPFLAGS'
80389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
80398 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
80400 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
80402 for ac_func in _hypot
80404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80405 echo "$as_me:$LINENO: checking for $ac_func" >&5
80406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80407 if eval "test \"\${$as_ac_var+set}\" = set"; then
80408 echo $ECHO_N "(cached) $ECHO_C" >&6
80409 else
80410 if test x$gcc_no_link = xyes; then
80411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80413 { (exit 1); exit 1; }; }
80415 cat >conftest.$ac_ext <<_ACEOF
80416 /* confdefs.h. */
80417 _ACEOF
80418 cat confdefs.h >>conftest.$ac_ext
80419 cat >>conftest.$ac_ext <<_ACEOF
80420 /* end confdefs.h. */
80421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80423 #define $ac_func innocuous_$ac_func
80425 /* System header to define __stub macros and hopefully few prototypes,
80426 which can conflict with char $ac_func (); below.
80427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80428 <limits.h> exists even on freestanding compilers. */
80430 #ifdef __STDC__
80431 # include <limits.h>
80432 #else
80433 # include <assert.h>
80434 #endif
80436 #undef $ac_func
80438 /* Override any gcc2 internal prototype to avoid an error. */
80439 #ifdef __cplusplus
80440 extern "C"
80442 #endif
80443 /* We use char because int might match the return type of a gcc2
80444 builtin and then its argument prototype would still apply. */
80445 char $ac_func ();
80446 /* The GNU C library defines this for functions which it implements
80447 to always fail with ENOSYS. Some functions are actually named
80448 something starting with __ and the normal name is an alias. */
80449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80450 choke me
80451 #else
80452 char (*f) () = $ac_func;
80453 #endif
80454 #ifdef __cplusplus
80456 #endif
80459 main ()
80461 return f != $ac_func;
80463 return 0;
80465 _ACEOF
80466 rm -f conftest.$ac_objext conftest$ac_exeext
80467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80468 (eval $ac_link) 2>conftest.er1
80469 ac_status=$?
80470 grep -v '^ *+' conftest.er1 >conftest.err
80471 rm -f conftest.er1
80472 cat conftest.err >&5
80473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80474 (exit $ac_status); } &&
80475 { ac_try='test -z "$ac_c_werror_flag"
80476 || test ! -s conftest.err'
80477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80478 (eval $ac_try) 2>&5
80479 ac_status=$?
80480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80481 (exit $ac_status); }; } &&
80482 { ac_try='test -s conftest$ac_exeext'
80483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80484 (eval $ac_try) 2>&5
80485 ac_status=$?
80486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80487 (exit $ac_status); }; }; then
80488 eval "$as_ac_var=yes"
80489 else
80490 echo "$as_me: failed program was:" >&5
80491 sed 's/^/| /' conftest.$ac_ext >&5
80493 eval "$as_ac_var=no"
80495 rm -f conftest.err conftest.$ac_objext \
80496 conftest$ac_exeext conftest.$ac_ext
80498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80500 if test `eval echo '${'$as_ac_var'}'` = yes; then
80501 cat >>confdefs.h <<_ACEOF
80502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80503 _ACEOF
80506 done
80516 echo "$as_me:$LINENO: checking for float trig functions" >&5
80517 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
80518 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
80519 echo $ECHO_N "(cached) $ECHO_C" >&6
80520 else
80524 ac_ext=cc
80525 ac_cpp='$CXXCPP $CPPFLAGS'
80526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80530 cat >conftest.$ac_ext <<_ACEOF
80531 /* confdefs.h. */
80532 _ACEOF
80533 cat confdefs.h >>conftest.$ac_ext
80534 cat >>conftest.$ac_ext <<_ACEOF
80535 /* end confdefs.h. */
80536 #include <math.h>
80538 main ()
80540 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
80542 return 0;
80544 _ACEOF
80545 rm -f conftest.$ac_objext
80546 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80547 (eval $ac_compile) 2>conftest.er1
80548 ac_status=$?
80549 grep -v '^ *+' conftest.er1 >conftest.err
80550 rm -f conftest.er1
80551 cat conftest.err >&5
80552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80553 (exit $ac_status); } &&
80554 { ac_try='test -z "$ac_cxx_werror_flag"
80555 || test ! -s conftest.err'
80556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80557 (eval $ac_try) 2>&5
80558 ac_status=$?
80559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80560 (exit $ac_status); }; } &&
80561 { ac_try='test -s conftest.$ac_objext'
80562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80563 (eval $ac_try) 2>&5
80564 ac_status=$?
80565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80566 (exit $ac_status); }; }; then
80567 glibcxx_cv_func_float_trig_use=yes
80568 else
80569 echo "$as_me: failed program was:" >&5
80570 sed 's/^/| /' conftest.$ac_ext >&5
80572 glibcxx_cv_func_float_trig_use=no
80574 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80575 ac_ext=c
80576 ac_cpp='$CPP $CPPFLAGS'
80577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80583 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
80584 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
80585 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
80595 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
80597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80598 echo "$as_me:$LINENO: checking for $ac_func" >&5
80599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80600 if eval "test \"\${$as_ac_var+set}\" = set"; then
80601 echo $ECHO_N "(cached) $ECHO_C" >&6
80602 else
80603 if test x$gcc_no_link = xyes; then
80604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80606 { (exit 1); exit 1; }; }
80608 cat >conftest.$ac_ext <<_ACEOF
80609 /* confdefs.h. */
80610 _ACEOF
80611 cat confdefs.h >>conftest.$ac_ext
80612 cat >>conftest.$ac_ext <<_ACEOF
80613 /* end confdefs.h. */
80614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80616 #define $ac_func innocuous_$ac_func
80618 /* System header to define __stub macros and hopefully few prototypes,
80619 which can conflict with char $ac_func (); below.
80620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80621 <limits.h> exists even on freestanding compilers. */
80623 #ifdef __STDC__
80624 # include <limits.h>
80625 #else
80626 # include <assert.h>
80627 #endif
80629 #undef $ac_func
80631 /* Override any gcc2 internal prototype to avoid an error. */
80632 #ifdef __cplusplus
80633 extern "C"
80635 #endif
80636 /* We use char because int might match the return type of a gcc2
80637 builtin and then its argument prototype would still apply. */
80638 char $ac_func ();
80639 /* The GNU C library defines this for functions which it implements
80640 to always fail with ENOSYS. Some functions are actually named
80641 something starting with __ and the normal name is an alias. */
80642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80643 choke me
80644 #else
80645 char (*f) () = $ac_func;
80646 #endif
80647 #ifdef __cplusplus
80649 #endif
80652 main ()
80654 return f != $ac_func;
80656 return 0;
80658 _ACEOF
80659 rm -f conftest.$ac_objext conftest$ac_exeext
80660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80661 (eval $ac_link) 2>conftest.er1
80662 ac_status=$?
80663 grep -v '^ *+' conftest.er1 >conftest.err
80664 rm -f conftest.er1
80665 cat conftest.err >&5
80666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80667 (exit $ac_status); } &&
80668 { ac_try='test -z "$ac_c_werror_flag"
80669 || test ! -s conftest.err'
80670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80671 (eval $ac_try) 2>&5
80672 ac_status=$?
80673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80674 (exit $ac_status); }; } &&
80675 { ac_try='test -s conftest$ac_exeext'
80676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80677 (eval $ac_try) 2>&5
80678 ac_status=$?
80679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80680 (exit $ac_status); }; }; then
80681 eval "$as_ac_var=yes"
80682 else
80683 echo "$as_me: failed program was:" >&5
80684 sed 's/^/| /' conftest.$ac_ext >&5
80686 eval "$as_ac_var=no"
80688 rm -f conftest.err conftest.$ac_objext \
80689 conftest$ac_exeext conftest.$ac_ext
80691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80693 if test `eval echo '${'$as_ac_var'}'` = yes; then
80694 cat >>confdefs.h <<_ACEOF
80695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80696 _ACEOF
80699 done
80701 else
80702 echo "$as_me:$LINENO: checking for _float trig functions" >&5
80703 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
80704 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
80705 echo $ECHO_N "(cached) $ECHO_C" >&6
80706 else
80710 ac_ext=cc
80711 ac_cpp='$CXXCPP $CPPFLAGS'
80712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80716 cat >conftest.$ac_ext <<_ACEOF
80717 /* confdefs.h. */
80718 _ACEOF
80719 cat confdefs.h >>conftest.$ac_ext
80720 cat >>conftest.$ac_ext <<_ACEOF
80721 /* end confdefs.h. */
80722 #include <math.h>
80724 main ()
80726 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
80728 return 0;
80730 _ACEOF
80731 rm -f conftest.$ac_objext
80732 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80733 (eval $ac_compile) 2>conftest.er1
80734 ac_status=$?
80735 grep -v '^ *+' conftest.er1 >conftest.err
80736 rm -f conftest.er1
80737 cat conftest.err >&5
80738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80739 (exit $ac_status); } &&
80740 { ac_try='test -z "$ac_cxx_werror_flag"
80741 || test ! -s conftest.err'
80742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80743 (eval $ac_try) 2>&5
80744 ac_status=$?
80745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80746 (exit $ac_status); }; } &&
80747 { ac_try='test -s conftest.$ac_objext'
80748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80749 (eval $ac_try) 2>&5
80750 ac_status=$?
80751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80752 (exit $ac_status); }; }; then
80753 glibcxx_cv_func__float_trig_use=yes
80754 else
80755 echo "$as_me: failed program was:" >&5
80756 sed 's/^/| /' conftest.$ac_ext >&5
80758 glibcxx_cv_func__float_trig_use=no
80760 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80761 ac_ext=c
80762 ac_cpp='$CPP $CPPFLAGS'
80763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80769 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
80770 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
80771 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
80781 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
80783 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80784 echo "$as_me:$LINENO: checking for $ac_func" >&5
80785 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80786 if eval "test \"\${$as_ac_var+set}\" = set"; then
80787 echo $ECHO_N "(cached) $ECHO_C" >&6
80788 else
80789 if test x$gcc_no_link = xyes; then
80790 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80791 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80792 { (exit 1); exit 1; }; }
80794 cat >conftest.$ac_ext <<_ACEOF
80795 /* confdefs.h. */
80796 _ACEOF
80797 cat confdefs.h >>conftest.$ac_ext
80798 cat >>conftest.$ac_ext <<_ACEOF
80799 /* end confdefs.h. */
80800 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80801 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80802 #define $ac_func innocuous_$ac_func
80804 /* System header to define __stub macros and hopefully few prototypes,
80805 which can conflict with char $ac_func (); below.
80806 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
80807 <limits.h> exists even on freestanding compilers. */
80809 #ifdef __STDC__
80810 # include <limits.h>
80811 #else
80812 # include <assert.h>
80813 #endif
80815 #undef $ac_func
80817 /* Override any gcc2 internal prototype to avoid an error. */
80818 #ifdef __cplusplus
80819 extern "C"
80821 #endif
80822 /* We use char because int might match the return type of a gcc2
80823 builtin and then its argument prototype would still apply. */
80824 char $ac_func ();
80825 /* The GNU C library defines this for functions which it implements
80826 to always fail with ENOSYS. Some functions are actually named
80827 something starting with __ and the normal name is an alias. */
80828 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
80829 choke me
80830 #else
80831 char (*f) () = $ac_func;
80832 #endif
80833 #ifdef __cplusplus
80835 #endif
80838 main ()
80840 return f != $ac_func;
80842 return 0;
80844 _ACEOF
80845 rm -f conftest.$ac_objext conftest$ac_exeext
80846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
80847 (eval $ac_link) 2>conftest.er1
80848 ac_status=$?
80849 grep -v '^ *+' conftest.er1 >conftest.err
80850 rm -f conftest.er1
80851 cat conftest.err >&5
80852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80853 (exit $ac_status); } &&
80854 { ac_try='test -z "$ac_c_werror_flag"
80855 || test ! -s conftest.err'
80856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80857 (eval $ac_try) 2>&5
80858 ac_status=$?
80859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80860 (exit $ac_status); }; } &&
80861 { ac_try='test -s conftest$ac_exeext'
80862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80863 (eval $ac_try) 2>&5
80864 ac_status=$?
80865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80866 (exit $ac_status); }; }; then
80867 eval "$as_ac_var=yes"
80868 else
80869 echo "$as_me: failed program was:" >&5
80870 sed 's/^/| /' conftest.$ac_ext >&5
80872 eval "$as_ac_var=no"
80874 rm -f conftest.err conftest.$ac_objext \
80875 conftest$ac_exeext conftest.$ac_ext
80877 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
80878 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
80879 if test `eval echo '${'$as_ac_var'}'` = yes; then
80880 cat >>confdefs.h <<_ACEOF
80881 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
80882 _ACEOF
80885 done
80903 echo "$as_me:$LINENO: checking for float round functions" >&5
80904 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
80905 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
80906 echo $ECHO_N "(cached) $ECHO_C" >&6
80907 else
80911 ac_ext=cc
80912 ac_cpp='$CXXCPP $CPPFLAGS'
80913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80917 cat >conftest.$ac_ext <<_ACEOF
80918 /* confdefs.h. */
80919 _ACEOF
80920 cat confdefs.h >>conftest.$ac_ext
80921 cat >>conftest.$ac_ext <<_ACEOF
80922 /* end confdefs.h. */
80923 #include <math.h>
80925 main ()
80927 ceilf (0); floorf (0);
80929 return 0;
80931 _ACEOF
80932 rm -f conftest.$ac_objext
80933 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
80934 (eval $ac_compile) 2>conftest.er1
80935 ac_status=$?
80936 grep -v '^ *+' conftest.er1 >conftest.err
80937 rm -f conftest.er1
80938 cat conftest.err >&5
80939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80940 (exit $ac_status); } &&
80941 { ac_try='test -z "$ac_cxx_werror_flag"
80942 || test ! -s conftest.err'
80943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80944 (eval $ac_try) 2>&5
80945 ac_status=$?
80946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80947 (exit $ac_status); }; } &&
80948 { ac_try='test -s conftest.$ac_objext'
80949 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
80950 (eval $ac_try) 2>&5
80951 ac_status=$?
80952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
80953 (exit $ac_status); }; }; then
80954 glibcxx_cv_func_float_round_use=yes
80955 else
80956 echo "$as_me: failed program was:" >&5
80957 sed 's/^/| /' conftest.$ac_ext >&5
80959 glibcxx_cv_func_float_round_use=no
80961 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
80962 ac_ext=c
80963 ac_cpp='$CPP $CPPFLAGS'
80964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80970 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
80971 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
80972 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
80975 for ac_func in ceilf floorf
80977 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
80978 echo "$as_me:$LINENO: checking for $ac_func" >&5
80979 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
80980 if eval "test \"\${$as_ac_var+set}\" = set"; then
80981 echo $ECHO_N "(cached) $ECHO_C" >&6
80982 else
80983 if test x$gcc_no_link = xyes; then
80984 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
80985 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
80986 { (exit 1); exit 1; }; }
80988 cat >conftest.$ac_ext <<_ACEOF
80989 /* confdefs.h. */
80990 _ACEOF
80991 cat confdefs.h >>conftest.$ac_ext
80992 cat >>conftest.$ac_ext <<_ACEOF
80993 /* end confdefs.h. */
80994 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
80995 For example, HP-UX 11i <limits.h> declares gettimeofday. */
80996 #define $ac_func innocuous_$ac_func
80998 /* System header to define __stub macros and hopefully few prototypes,
80999 which can conflict with char $ac_func (); below.
81000 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81001 <limits.h> exists even on freestanding compilers. */
81003 #ifdef __STDC__
81004 # include <limits.h>
81005 #else
81006 # include <assert.h>
81007 #endif
81009 #undef $ac_func
81011 /* Override any gcc2 internal prototype to avoid an error. */
81012 #ifdef __cplusplus
81013 extern "C"
81015 #endif
81016 /* We use char because int might match the return type of a gcc2
81017 builtin and then its argument prototype would still apply. */
81018 char $ac_func ();
81019 /* The GNU C library defines this for functions which it implements
81020 to always fail with ENOSYS. Some functions are actually named
81021 something starting with __ and the normal name is an alias. */
81022 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81023 choke me
81024 #else
81025 char (*f) () = $ac_func;
81026 #endif
81027 #ifdef __cplusplus
81029 #endif
81032 main ()
81034 return f != $ac_func;
81036 return 0;
81038 _ACEOF
81039 rm -f conftest.$ac_objext conftest$ac_exeext
81040 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81041 (eval $ac_link) 2>conftest.er1
81042 ac_status=$?
81043 grep -v '^ *+' conftest.er1 >conftest.err
81044 rm -f conftest.er1
81045 cat conftest.err >&5
81046 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81047 (exit $ac_status); } &&
81048 { ac_try='test -z "$ac_c_werror_flag"
81049 || test ! -s conftest.err'
81050 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81051 (eval $ac_try) 2>&5
81052 ac_status=$?
81053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81054 (exit $ac_status); }; } &&
81055 { ac_try='test -s conftest$ac_exeext'
81056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81057 (eval $ac_try) 2>&5
81058 ac_status=$?
81059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81060 (exit $ac_status); }; }; then
81061 eval "$as_ac_var=yes"
81062 else
81063 echo "$as_me: failed program was:" >&5
81064 sed 's/^/| /' conftest.$ac_ext >&5
81066 eval "$as_ac_var=no"
81068 rm -f conftest.err conftest.$ac_objext \
81069 conftest$ac_exeext conftest.$ac_ext
81071 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81072 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81073 if test `eval echo '${'$as_ac_var'}'` = yes; then
81074 cat >>confdefs.h <<_ACEOF
81075 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81076 _ACEOF
81079 done
81081 else
81082 echo "$as_me:$LINENO: checking for _float round functions" >&5
81083 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
81084 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
81085 echo $ECHO_N "(cached) $ECHO_C" >&6
81086 else
81090 ac_ext=cc
81091 ac_cpp='$CXXCPP $CPPFLAGS'
81092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81096 cat >conftest.$ac_ext <<_ACEOF
81097 /* confdefs.h. */
81098 _ACEOF
81099 cat confdefs.h >>conftest.$ac_ext
81100 cat >>conftest.$ac_ext <<_ACEOF
81101 /* end confdefs.h. */
81102 #include <math.h>
81104 main ()
81106 _ceilf (0); _floorf (0);
81108 return 0;
81110 _ACEOF
81111 rm -f conftest.$ac_objext
81112 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81113 (eval $ac_compile) 2>conftest.er1
81114 ac_status=$?
81115 grep -v '^ *+' conftest.er1 >conftest.err
81116 rm -f conftest.er1
81117 cat conftest.err >&5
81118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81119 (exit $ac_status); } &&
81120 { ac_try='test -z "$ac_cxx_werror_flag"
81121 || test ! -s conftest.err'
81122 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81123 (eval $ac_try) 2>&5
81124 ac_status=$?
81125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81126 (exit $ac_status); }; } &&
81127 { ac_try='test -s conftest.$ac_objext'
81128 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81129 (eval $ac_try) 2>&5
81130 ac_status=$?
81131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81132 (exit $ac_status); }; }; then
81133 glibcxx_cv_func__float_round_use=yes
81134 else
81135 echo "$as_me: failed program was:" >&5
81136 sed 's/^/| /' conftest.$ac_ext >&5
81138 glibcxx_cv_func__float_round_use=no
81140 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81141 ac_ext=c
81142 ac_cpp='$CPP $CPPFLAGS'
81143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81149 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
81150 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
81151 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
81154 for ac_func in _ceilf _floorf
81156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81157 echo "$as_me:$LINENO: checking for $ac_func" >&5
81158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81159 if eval "test \"\${$as_ac_var+set}\" = set"; then
81160 echo $ECHO_N "(cached) $ECHO_C" >&6
81161 else
81162 if test x$gcc_no_link = xyes; then
81163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81165 { (exit 1); exit 1; }; }
81167 cat >conftest.$ac_ext <<_ACEOF
81168 /* confdefs.h. */
81169 _ACEOF
81170 cat confdefs.h >>conftest.$ac_ext
81171 cat >>conftest.$ac_ext <<_ACEOF
81172 /* end confdefs.h. */
81173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81175 #define $ac_func innocuous_$ac_func
81177 /* System header to define __stub macros and hopefully few prototypes,
81178 which can conflict with char $ac_func (); below.
81179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81180 <limits.h> exists even on freestanding compilers. */
81182 #ifdef __STDC__
81183 # include <limits.h>
81184 #else
81185 # include <assert.h>
81186 #endif
81188 #undef $ac_func
81190 /* Override any gcc2 internal prototype to avoid an error. */
81191 #ifdef __cplusplus
81192 extern "C"
81194 #endif
81195 /* We use char because int might match the return type of a gcc2
81196 builtin and then its argument prototype would still apply. */
81197 char $ac_func ();
81198 /* The GNU C library defines this for functions which it implements
81199 to always fail with ENOSYS. Some functions are actually named
81200 something starting with __ and the normal name is an alias. */
81201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81202 choke me
81203 #else
81204 char (*f) () = $ac_func;
81205 #endif
81206 #ifdef __cplusplus
81208 #endif
81211 main ()
81213 return f != $ac_func;
81215 return 0;
81217 _ACEOF
81218 rm -f conftest.$ac_objext conftest$ac_exeext
81219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81220 (eval $ac_link) 2>conftest.er1
81221 ac_status=$?
81222 grep -v '^ *+' conftest.er1 >conftest.err
81223 rm -f conftest.er1
81224 cat conftest.err >&5
81225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81226 (exit $ac_status); } &&
81227 { ac_try='test -z "$ac_c_werror_flag"
81228 || test ! -s conftest.err'
81229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81230 (eval $ac_try) 2>&5
81231 ac_status=$?
81232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81233 (exit $ac_status); }; } &&
81234 { ac_try='test -s conftest$ac_exeext'
81235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81236 (eval $ac_try) 2>&5
81237 ac_status=$?
81238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81239 (exit $ac_status); }; }; then
81240 eval "$as_ac_var=yes"
81241 else
81242 echo "$as_me: failed program was:" >&5
81243 sed 's/^/| /' conftest.$ac_ext >&5
81245 eval "$as_ac_var=no"
81247 rm -f conftest.err conftest.$ac_objext \
81248 conftest$ac_exeext conftest.$ac_ext
81250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81252 if test `eval echo '${'$as_ac_var'}'` = yes; then
81253 cat >>confdefs.h <<_ACEOF
81254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81255 _ACEOF
81258 done
81270 echo "$as_me:$LINENO: checking for expf declaration" >&5
81271 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
81272 if test x${glibcxx_cv_func_expf_use+set} != xset; then
81273 if test "${glibcxx_cv_func_expf_use+set}" = set; then
81274 echo $ECHO_N "(cached) $ECHO_C" >&6
81275 else
81279 ac_ext=cc
81280 ac_cpp='$CXXCPP $CPPFLAGS'
81281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81285 cat >conftest.$ac_ext <<_ACEOF
81286 /* confdefs.h. */
81287 _ACEOF
81288 cat confdefs.h >>conftest.$ac_ext
81289 cat >>conftest.$ac_ext <<_ACEOF
81290 /* end confdefs.h. */
81291 #include <math.h>
81292 #ifdef HAVE_IEEEFP_H
81293 #include <ieeefp.h>
81294 #endif
81297 main ()
81299 expf(0);
81301 return 0;
81303 _ACEOF
81304 rm -f conftest.$ac_objext
81305 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81306 (eval $ac_compile) 2>conftest.er1
81307 ac_status=$?
81308 grep -v '^ *+' conftest.er1 >conftest.err
81309 rm -f conftest.er1
81310 cat conftest.err >&5
81311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81312 (exit $ac_status); } &&
81313 { ac_try='test -z "$ac_cxx_werror_flag"
81314 || test ! -s conftest.err'
81315 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81316 (eval $ac_try) 2>&5
81317 ac_status=$?
81318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81319 (exit $ac_status); }; } &&
81320 { ac_try='test -s conftest.$ac_objext'
81321 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81322 (eval $ac_try) 2>&5
81323 ac_status=$?
81324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81325 (exit $ac_status); }; }; then
81326 glibcxx_cv_func_expf_use=yes
81327 else
81328 echo "$as_me: failed program was:" >&5
81329 sed 's/^/| /' conftest.$ac_ext >&5
81331 glibcxx_cv_func_expf_use=no
81333 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81334 ac_ext=c
81335 ac_cpp='$CPP $CPPFLAGS'
81336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81344 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
81345 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
81347 if test x$glibcxx_cv_func_expf_use = x"yes"; then
81349 for ac_func in expf
81351 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81352 echo "$as_me:$LINENO: checking for $ac_func" >&5
81353 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81354 if eval "test \"\${$as_ac_var+set}\" = set"; then
81355 echo $ECHO_N "(cached) $ECHO_C" >&6
81356 else
81357 if test x$gcc_no_link = xyes; then
81358 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81359 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81360 { (exit 1); exit 1; }; }
81362 cat >conftest.$ac_ext <<_ACEOF
81363 /* confdefs.h. */
81364 _ACEOF
81365 cat confdefs.h >>conftest.$ac_ext
81366 cat >>conftest.$ac_ext <<_ACEOF
81367 /* end confdefs.h. */
81368 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81369 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81370 #define $ac_func innocuous_$ac_func
81372 /* System header to define __stub macros and hopefully few prototypes,
81373 which can conflict with char $ac_func (); below.
81374 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81375 <limits.h> exists even on freestanding compilers. */
81377 #ifdef __STDC__
81378 # include <limits.h>
81379 #else
81380 # include <assert.h>
81381 #endif
81383 #undef $ac_func
81385 /* Override any gcc2 internal prototype to avoid an error. */
81386 #ifdef __cplusplus
81387 extern "C"
81389 #endif
81390 /* We use char because int might match the return type of a gcc2
81391 builtin and then its argument prototype would still apply. */
81392 char $ac_func ();
81393 /* The GNU C library defines this for functions which it implements
81394 to always fail with ENOSYS. Some functions are actually named
81395 something starting with __ and the normal name is an alias. */
81396 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81397 choke me
81398 #else
81399 char (*f) () = $ac_func;
81400 #endif
81401 #ifdef __cplusplus
81403 #endif
81406 main ()
81408 return f != $ac_func;
81410 return 0;
81412 _ACEOF
81413 rm -f conftest.$ac_objext conftest$ac_exeext
81414 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81415 (eval $ac_link) 2>conftest.er1
81416 ac_status=$?
81417 grep -v '^ *+' conftest.er1 >conftest.err
81418 rm -f conftest.er1
81419 cat conftest.err >&5
81420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81421 (exit $ac_status); } &&
81422 { ac_try='test -z "$ac_c_werror_flag"
81423 || test ! -s conftest.err'
81424 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81425 (eval $ac_try) 2>&5
81426 ac_status=$?
81427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81428 (exit $ac_status); }; } &&
81429 { ac_try='test -s conftest$ac_exeext'
81430 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81431 (eval $ac_try) 2>&5
81432 ac_status=$?
81433 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81434 (exit $ac_status); }; }; then
81435 eval "$as_ac_var=yes"
81436 else
81437 echo "$as_me: failed program was:" >&5
81438 sed 's/^/| /' conftest.$ac_ext >&5
81440 eval "$as_ac_var=no"
81442 rm -f conftest.err conftest.$ac_objext \
81443 conftest$ac_exeext conftest.$ac_ext
81445 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81446 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81447 if test `eval echo '${'$as_ac_var'}'` = yes; then
81448 cat >>confdefs.h <<_ACEOF
81449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81450 _ACEOF
81453 done
81455 else
81457 echo "$as_me:$LINENO: checking for _expf declaration" >&5
81458 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
81459 if test x${glibcxx_cv_func__expf_use+set} != xset; then
81460 if test "${glibcxx_cv_func__expf_use+set}" = set; then
81461 echo $ECHO_N "(cached) $ECHO_C" >&6
81462 else
81466 ac_ext=cc
81467 ac_cpp='$CXXCPP $CPPFLAGS'
81468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81472 cat >conftest.$ac_ext <<_ACEOF
81473 /* confdefs.h. */
81474 _ACEOF
81475 cat confdefs.h >>conftest.$ac_ext
81476 cat >>conftest.$ac_ext <<_ACEOF
81477 /* end confdefs.h. */
81478 #include <math.h>
81479 #ifdef HAVE_IEEEFP_H
81480 #include <ieeefp.h>
81481 #endif
81484 main ()
81486 _expf(0);
81488 return 0;
81490 _ACEOF
81491 rm -f conftest.$ac_objext
81492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81493 (eval $ac_compile) 2>conftest.er1
81494 ac_status=$?
81495 grep -v '^ *+' conftest.er1 >conftest.err
81496 rm -f conftest.er1
81497 cat conftest.err >&5
81498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81499 (exit $ac_status); } &&
81500 { ac_try='test -z "$ac_cxx_werror_flag"
81501 || test ! -s conftest.err'
81502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81503 (eval $ac_try) 2>&5
81504 ac_status=$?
81505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81506 (exit $ac_status); }; } &&
81507 { ac_try='test -s conftest.$ac_objext'
81508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81509 (eval $ac_try) 2>&5
81510 ac_status=$?
81511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81512 (exit $ac_status); }; }; then
81513 glibcxx_cv_func__expf_use=yes
81514 else
81515 echo "$as_me: failed program was:" >&5
81516 sed 's/^/| /' conftest.$ac_ext >&5
81518 glibcxx_cv_func__expf_use=no
81520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81521 ac_ext=c
81522 ac_cpp='$CPP $CPPFLAGS'
81523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
81532 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
81534 if test x$glibcxx_cv_func__expf_use = x"yes"; then
81536 for ac_func in _expf
81538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81539 echo "$as_me:$LINENO: checking for $ac_func" >&5
81540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81541 if eval "test \"\${$as_ac_var+set}\" = set"; then
81542 echo $ECHO_N "(cached) $ECHO_C" >&6
81543 else
81544 if test x$gcc_no_link = xyes; then
81545 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81546 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81547 { (exit 1); exit 1; }; }
81549 cat >conftest.$ac_ext <<_ACEOF
81550 /* confdefs.h. */
81551 _ACEOF
81552 cat confdefs.h >>conftest.$ac_ext
81553 cat >>conftest.$ac_ext <<_ACEOF
81554 /* end confdefs.h. */
81555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81557 #define $ac_func innocuous_$ac_func
81559 /* System header to define __stub macros and hopefully few prototypes,
81560 which can conflict with char $ac_func (); below.
81561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81562 <limits.h> exists even on freestanding compilers. */
81564 #ifdef __STDC__
81565 # include <limits.h>
81566 #else
81567 # include <assert.h>
81568 #endif
81570 #undef $ac_func
81572 /* Override any gcc2 internal prototype to avoid an error. */
81573 #ifdef __cplusplus
81574 extern "C"
81576 #endif
81577 /* We use char because int might match the return type of a gcc2
81578 builtin and then its argument prototype would still apply. */
81579 char $ac_func ();
81580 /* The GNU C library defines this for functions which it implements
81581 to always fail with ENOSYS. Some functions are actually named
81582 something starting with __ and the normal name is an alias. */
81583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81584 choke me
81585 #else
81586 char (*f) () = $ac_func;
81587 #endif
81588 #ifdef __cplusplus
81590 #endif
81593 main ()
81595 return f != $ac_func;
81597 return 0;
81599 _ACEOF
81600 rm -f conftest.$ac_objext conftest$ac_exeext
81601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81602 (eval $ac_link) 2>conftest.er1
81603 ac_status=$?
81604 grep -v '^ *+' conftest.er1 >conftest.err
81605 rm -f conftest.er1
81606 cat conftest.err >&5
81607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81608 (exit $ac_status); } &&
81609 { ac_try='test -z "$ac_c_werror_flag"
81610 || test ! -s conftest.err'
81611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81612 (eval $ac_try) 2>&5
81613 ac_status=$?
81614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81615 (exit $ac_status); }; } &&
81616 { ac_try='test -s conftest$ac_exeext'
81617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81618 (eval $ac_try) 2>&5
81619 ac_status=$?
81620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81621 (exit $ac_status); }; }; then
81622 eval "$as_ac_var=yes"
81623 else
81624 echo "$as_me: failed program was:" >&5
81625 sed 's/^/| /' conftest.$ac_ext >&5
81627 eval "$as_ac_var=no"
81629 rm -f conftest.err conftest.$ac_objext \
81630 conftest$ac_exeext conftest.$ac_ext
81632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81634 if test `eval echo '${'$as_ac_var'}'` = yes; then
81635 cat >>confdefs.h <<_ACEOF
81636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81637 _ACEOF
81640 done
81650 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
81651 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
81652 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
81653 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
81654 echo $ECHO_N "(cached) $ECHO_C" >&6
81655 else
81659 ac_ext=cc
81660 ac_cpp='$CXXCPP $CPPFLAGS'
81661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81665 cat >conftest.$ac_ext <<_ACEOF
81666 /* confdefs.h. */
81667 _ACEOF
81668 cat confdefs.h >>conftest.$ac_ext
81669 cat >>conftest.$ac_ext <<_ACEOF
81670 /* end confdefs.h. */
81671 #include <math.h>
81672 #ifdef HAVE_IEEEFP_H
81673 #include <ieeefp.h>
81674 #endif
81677 main ()
81679 isnanf(0);
81681 return 0;
81683 _ACEOF
81684 rm -f conftest.$ac_objext
81685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81686 (eval $ac_compile) 2>conftest.er1
81687 ac_status=$?
81688 grep -v '^ *+' conftest.er1 >conftest.err
81689 rm -f conftest.er1
81690 cat conftest.err >&5
81691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81692 (exit $ac_status); } &&
81693 { ac_try='test -z "$ac_cxx_werror_flag"
81694 || test ! -s conftest.err'
81695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81696 (eval $ac_try) 2>&5
81697 ac_status=$?
81698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81699 (exit $ac_status); }; } &&
81700 { ac_try='test -s conftest.$ac_objext'
81701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81702 (eval $ac_try) 2>&5
81703 ac_status=$?
81704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81705 (exit $ac_status); }; }; then
81706 glibcxx_cv_func_isnanf_use=yes
81707 else
81708 echo "$as_me: failed program was:" >&5
81709 sed 's/^/| /' conftest.$ac_ext >&5
81711 glibcxx_cv_func_isnanf_use=no
81713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81714 ac_ext=c
81715 ac_cpp='$CPP $CPPFLAGS'
81716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
81725 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
81727 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
81729 for ac_func in isnanf
81731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81732 echo "$as_me:$LINENO: checking for $ac_func" >&5
81733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81734 if eval "test \"\${$as_ac_var+set}\" = set"; then
81735 echo $ECHO_N "(cached) $ECHO_C" >&6
81736 else
81737 if test x$gcc_no_link = xyes; then
81738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81740 { (exit 1); exit 1; }; }
81742 cat >conftest.$ac_ext <<_ACEOF
81743 /* confdefs.h. */
81744 _ACEOF
81745 cat confdefs.h >>conftest.$ac_ext
81746 cat >>conftest.$ac_ext <<_ACEOF
81747 /* end confdefs.h. */
81748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81750 #define $ac_func innocuous_$ac_func
81752 /* System header to define __stub macros and hopefully few prototypes,
81753 which can conflict with char $ac_func (); below.
81754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81755 <limits.h> exists even on freestanding compilers. */
81757 #ifdef __STDC__
81758 # include <limits.h>
81759 #else
81760 # include <assert.h>
81761 #endif
81763 #undef $ac_func
81765 /* Override any gcc2 internal prototype to avoid an error. */
81766 #ifdef __cplusplus
81767 extern "C"
81769 #endif
81770 /* We use char because int might match the return type of a gcc2
81771 builtin and then its argument prototype would still apply. */
81772 char $ac_func ();
81773 /* The GNU C library defines this for functions which it implements
81774 to always fail with ENOSYS. Some functions are actually named
81775 something starting with __ and the normal name is an alias. */
81776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81777 choke me
81778 #else
81779 char (*f) () = $ac_func;
81780 #endif
81781 #ifdef __cplusplus
81783 #endif
81786 main ()
81788 return f != $ac_func;
81790 return 0;
81792 _ACEOF
81793 rm -f conftest.$ac_objext conftest$ac_exeext
81794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81795 (eval $ac_link) 2>conftest.er1
81796 ac_status=$?
81797 grep -v '^ *+' conftest.er1 >conftest.err
81798 rm -f conftest.er1
81799 cat conftest.err >&5
81800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81801 (exit $ac_status); } &&
81802 { ac_try='test -z "$ac_c_werror_flag"
81803 || test ! -s conftest.err'
81804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81805 (eval $ac_try) 2>&5
81806 ac_status=$?
81807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81808 (exit $ac_status); }; } &&
81809 { ac_try='test -s conftest$ac_exeext'
81810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81811 (eval $ac_try) 2>&5
81812 ac_status=$?
81813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81814 (exit $ac_status); }; }; then
81815 eval "$as_ac_var=yes"
81816 else
81817 echo "$as_me: failed program was:" >&5
81818 sed 's/^/| /' conftest.$ac_ext >&5
81820 eval "$as_ac_var=no"
81822 rm -f conftest.err conftest.$ac_objext \
81823 conftest$ac_exeext conftest.$ac_ext
81825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
81826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
81827 if test `eval echo '${'$as_ac_var'}'` = yes; then
81828 cat >>confdefs.h <<_ACEOF
81829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
81830 _ACEOF
81833 done
81835 else
81837 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
81838 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
81839 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
81840 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
81841 echo $ECHO_N "(cached) $ECHO_C" >&6
81842 else
81846 ac_ext=cc
81847 ac_cpp='$CXXCPP $CPPFLAGS'
81848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
81852 cat >conftest.$ac_ext <<_ACEOF
81853 /* confdefs.h. */
81854 _ACEOF
81855 cat confdefs.h >>conftest.$ac_ext
81856 cat >>conftest.$ac_ext <<_ACEOF
81857 /* end confdefs.h. */
81858 #include <math.h>
81859 #ifdef HAVE_IEEEFP_H
81860 #include <ieeefp.h>
81861 #endif
81864 main ()
81866 _isnanf(0);
81868 return 0;
81870 _ACEOF
81871 rm -f conftest.$ac_objext
81872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
81873 (eval $ac_compile) 2>conftest.er1
81874 ac_status=$?
81875 grep -v '^ *+' conftest.er1 >conftest.err
81876 rm -f conftest.er1
81877 cat conftest.err >&5
81878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81879 (exit $ac_status); } &&
81880 { ac_try='test -z "$ac_cxx_werror_flag"
81881 || test ! -s conftest.err'
81882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81883 (eval $ac_try) 2>&5
81884 ac_status=$?
81885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81886 (exit $ac_status); }; } &&
81887 { ac_try='test -s conftest.$ac_objext'
81888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81889 (eval $ac_try) 2>&5
81890 ac_status=$?
81891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81892 (exit $ac_status); }; }; then
81893 glibcxx_cv_func__isnanf_use=yes
81894 else
81895 echo "$as_me: failed program was:" >&5
81896 sed 's/^/| /' conftest.$ac_ext >&5
81898 glibcxx_cv_func__isnanf_use=no
81900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
81901 ac_ext=c
81902 ac_cpp='$CPP $CPPFLAGS'
81903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
81912 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
81914 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
81916 for ac_func in _isnanf
81918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
81919 echo "$as_me:$LINENO: checking for $ac_func" >&5
81920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
81921 if eval "test \"\${$as_ac_var+set}\" = set"; then
81922 echo $ECHO_N "(cached) $ECHO_C" >&6
81923 else
81924 if test x$gcc_no_link = xyes; then
81925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
81926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
81927 { (exit 1); exit 1; }; }
81929 cat >conftest.$ac_ext <<_ACEOF
81930 /* confdefs.h. */
81931 _ACEOF
81932 cat confdefs.h >>conftest.$ac_ext
81933 cat >>conftest.$ac_ext <<_ACEOF
81934 /* end confdefs.h. */
81935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
81936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
81937 #define $ac_func innocuous_$ac_func
81939 /* System header to define __stub macros and hopefully few prototypes,
81940 which can conflict with char $ac_func (); below.
81941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
81942 <limits.h> exists even on freestanding compilers. */
81944 #ifdef __STDC__
81945 # include <limits.h>
81946 #else
81947 # include <assert.h>
81948 #endif
81950 #undef $ac_func
81952 /* Override any gcc2 internal prototype to avoid an error. */
81953 #ifdef __cplusplus
81954 extern "C"
81956 #endif
81957 /* We use char because int might match the return type of a gcc2
81958 builtin and then its argument prototype would still apply. */
81959 char $ac_func ();
81960 /* The GNU C library defines this for functions which it implements
81961 to always fail with ENOSYS. Some functions are actually named
81962 something starting with __ and the normal name is an alias. */
81963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
81964 choke me
81965 #else
81966 char (*f) () = $ac_func;
81967 #endif
81968 #ifdef __cplusplus
81970 #endif
81973 main ()
81975 return f != $ac_func;
81977 return 0;
81979 _ACEOF
81980 rm -f conftest.$ac_objext conftest$ac_exeext
81981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
81982 (eval $ac_link) 2>conftest.er1
81983 ac_status=$?
81984 grep -v '^ *+' conftest.er1 >conftest.err
81985 rm -f conftest.er1
81986 cat conftest.err >&5
81987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81988 (exit $ac_status); } &&
81989 { ac_try='test -z "$ac_c_werror_flag"
81990 || test ! -s conftest.err'
81991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81992 (eval $ac_try) 2>&5
81993 ac_status=$?
81994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
81995 (exit $ac_status); }; } &&
81996 { ac_try='test -s conftest$ac_exeext'
81997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
81998 (eval $ac_try) 2>&5
81999 ac_status=$?
82000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82001 (exit $ac_status); }; }; then
82002 eval "$as_ac_var=yes"
82003 else
82004 echo "$as_me: failed program was:" >&5
82005 sed 's/^/| /' conftest.$ac_ext >&5
82007 eval "$as_ac_var=no"
82009 rm -f conftest.err conftest.$ac_objext \
82010 conftest$ac_exeext conftest.$ac_ext
82012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82014 if test `eval echo '${'$as_ac_var'}'` = yes; then
82015 cat >>confdefs.h <<_ACEOF
82016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82017 _ACEOF
82020 done
82030 echo "$as_me:$LINENO: checking for isinff declaration" >&5
82031 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
82032 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
82033 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
82034 echo $ECHO_N "(cached) $ECHO_C" >&6
82035 else
82039 ac_ext=cc
82040 ac_cpp='$CXXCPP $CPPFLAGS'
82041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82045 cat >conftest.$ac_ext <<_ACEOF
82046 /* confdefs.h. */
82047 _ACEOF
82048 cat confdefs.h >>conftest.$ac_ext
82049 cat >>conftest.$ac_ext <<_ACEOF
82050 /* end confdefs.h. */
82051 #include <math.h>
82052 #ifdef HAVE_IEEEFP_H
82053 #include <ieeefp.h>
82054 #endif
82057 main ()
82059 isinff(0);
82061 return 0;
82063 _ACEOF
82064 rm -f conftest.$ac_objext
82065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82066 (eval $ac_compile) 2>conftest.er1
82067 ac_status=$?
82068 grep -v '^ *+' conftest.er1 >conftest.err
82069 rm -f conftest.er1
82070 cat conftest.err >&5
82071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82072 (exit $ac_status); } &&
82073 { ac_try='test -z "$ac_cxx_werror_flag"
82074 || test ! -s conftest.err'
82075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82076 (eval $ac_try) 2>&5
82077 ac_status=$?
82078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82079 (exit $ac_status); }; } &&
82080 { ac_try='test -s conftest.$ac_objext'
82081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82082 (eval $ac_try) 2>&5
82083 ac_status=$?
82084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82085 (exit $ac_status); }; }; then
82086 glibcxx_cv_func_isinff_use=yes
82087 else
82088 echo "$as_me: failed program was:" >&5
82089 sed 's/^/| /' conftest.$ac_ext >&5
82091 glibcxx_cv_func_isinff_use=no
82093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82094 ac_ext=c
82095 ac_cpp='$CPP $CPPFLAGS'
82096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
82105 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
82107 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
82109 for ac_func in isinff
82111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82112 echo "$as_me:$LINENO: checking for $ac_func" >&5
82113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82114 if eval "test \"\${$as_ac_var+set}\" = set"; then
82115 echo $ECHO_N "(cached) $ECHO_C" >&6
82116 else
82117 if test x$gcc_no_link = xyes; then
82118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82120 { (exit 1); exit 1; }; }
82122 cat >conftest.$ac_ext <<_ACEOF
82123 /* confdefs.h. */
82124 _ACEOF
82125 cat confdefs.h >>conftest.$ac_ext
82126 cat >>conftest.$ac_ext <<_ACEOF
82127 /* end confdefs.h. */
82128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82130 #define $ac_func innocuous_$ac_func
82132 /* System header to define __stub macros and hopefully few prototypes,
82133 which can conflict with char $ac_func (); below.
82134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82135 <limits.h> exists even on freestanding compilers. */
82137 #ifdef __STDC__
82138 # include <limits.h>
82139 #else
82140 # include <assert.h>
82141 #endif
82143 #undef $ac_func
82145 /* Override any gcc2 internal prototype to avoid an error. */
82146 #ifdef __cplusplus
82147 extern "C"
82149 #endif
82150 /* We use char because int might match the return type of a gcc2
82151 builtin and then its argument prototype would still apply. */
82152 char $ac_func ();
82153 /* The GNU C library defines this for functions which it implements
82154 to always fail with ENOSYS. Some functions are actually named
82155 something starting with __ and the normal name is an alias. */
82156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82157 choke me
82158 #else
82159 char (*f) () = $ac_func;
82160 #endif
82161 #ifdef __cplusplus
82163 #endif
82166 main ()
82168 return f != $ac_func;
82170 return 0;
82172 _ACEOF
82173 rm -f conftest.$ac_objext conftest$ac_exeext
82174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82175 (eval $ac_link) 2>conftest.er1
82176 ac_status=$?
82177 grep -v '^ *+' conftest.er1 >conftest.err
82178 rm -f conftest.er1
82179 cat conftest.err >&5
82180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82181 (exit $ac_status); } &&
82182 { ac_try='test -z "$ac_c_werror_flag"
82183 || test ! -s conftest.err'
82184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82185 (eval $ac_try) 2>&5
82186 ac_status=$?
82187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82188 (exit $ac_status); }; } &&
82189 { ac_try='test -s conftest$ac_exeext'
82190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82191 (eval $ac_try) 2>&5
82192 ac_status=$?
82193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82194 (exit $ac_status); }; }; then
82195 eval "$as_ac_var=yes"
82196 else
82197 echo "$as_me: failed program was:" >&5
82198 sed 's/^/| /' conftest.$ac_ext >&5
82200 eval "$as_ac_var=no"
82202 rm -f conftest.err conftest.$ac_objext \
82203 conftest$ac_exeext conftest.$ac_ext
82205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82207 if test `eval echo '${'$as_ac_var'}'` = yes; then
82208 cat >>confdefs.h <<_ACEOF
82209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82210 _ACEOF
82213 done
82215 else
82217 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
82218 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
82219 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
82220 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
82221 echo $ECHO_N "(cached) $ECHO_C" >&6
82222 else
82226 ac_ext=cc
82227 ac_cpp='$CXXCPP $CPPFLAGS'
82228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82232 cat >conftest.$ac_ext <<_ACEOF
82233 /* confdefs.h. */
82234 _ACEOF
82235 cat confdefs.h >>conftest.$ac_ext
82236 cat >>conftest.$ac_ext <<_ACEOF
82237 /* end confdefs.h. */
82238 #include <math.h>
82239 #ifdef HAVE_IEEEFP_H
82240 #include <ieeefp.h>
82241 #endif
82244 main ()
82246 _isinff(0);
82248 return 0;
82250 _ACEOF
82251 rm -f conftest.$ac_objext
82252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82253 (eval $ac_compile) 2>conftest.er1
82254 ac_status=$?
82255 grep -v '^ *+' conftest.er1 >conftest.err
82256 rm -f conftest.er1
82257 cat conftest.err >&5
82258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82259 (exit $ac_status); } &&
82260 { ac_try='test -z "$ac_cxx_werror_flag"
82261 || test ! -s conftest.err'
82262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82263 (eval $ac_try) 2>&5
82264 ac_status=$?
82265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82266 (exit $ac_status); }; } &&
82267 { ac_try='test -s conftest.$ac_objext'
82268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82269 (eval $ac_try) 2>&5
82270 ac_status=$?
82271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82272 (exit $ac_status); }; }; then
82273 glibcxx_cv_func__isinff_use=yes
82274 else
82275 echo "$as_me: failed program was:" >&5
82276 sed 's/^/| /' conftest.$ac_ext >&5
82278 glibcxx_cv_func__isinff_use=no
82280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82281 ac_ext=c
82282 ac_cpp='$CPP $CPPFLAGS'
82283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
82292 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
82294 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
82296 for ac_func in _isinff
82298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82299 echo "$as_me:$LINENO: checking for $ac_func" >&5
82300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82301 if eval "test \"\${$as_ac_var+set}\" = set"; then
82302 echo $ECHO_N "(cached) $ECHO_C" >&6
82303 else
82304 if test x$gcc_no_link = xyes; then
82305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82307 { (exit 1); exit 1; }; }
82309 cat >conftest.$ac_ext <<_ACEOF
82310 /* confdefs.h. */
82311 _ACEOF
82312 cat confdefs.h >>conftest.$ac_ext
82313 cat >>conftest.$ac_ext <<_ACEOF
82314 /* end confdefs.h. */
82315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82317 #define $ac_func innocuous_$ac_func
82319 /* System header to define __stub macros and hopefully few prototypes,
82320 which can conflict with char $ac_func (); below.
82321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82322 <limits.h> exists even on freestanding compilers. */
82324 #ifdef __STDC__
82325 # include <limits.h>
82326 #else
82327 # include <assert.h>
82328 #endif
82330 #undef $ac_func
82332 /* Override any gcc2 internal prototype to avoid an error. */
82333 #ifdef __cplusplus
82334 extern "C"
82336 #endif
82337 /* We use char because int might match the return type of a gcc2
82338 builtin and then its argument prototype would still apply. */
82339 char $ac_func ();
82340 /* The GNU C library defines this for functions which it implements
82341 to always fail with ENOSYS. Some functions are actually named
82342 something starting with __ and the normal name is an alias. */
82343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82344 choke me
82345 #else
82346 char (*f) () = $ac_func;
82347 #endif
82348 #ifdef __cplusplus
82350 #endif
82353 main ()
82355 return f != $ac_func;
82357 return 0;
82359 _ACEOF
82360 rm -f conftest.$ac_objext conftest$ac_exeext
82361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82362 (eval $ac_link) 2>conftest.er1
82363 ac_status=$?
82364 grep -v '^ *+' conftest.er1 >conftest.err
82365 rm -f conftest.er1
82366 cat conftest.err >&5
82367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82368 (exit $ac_status); } &&
82369 { ac_try='test -z "$ac_c_werror_flag"
82370 || test ! -s conftest.err'
82371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82372 (eval $ac_try) 2>&5
82373 ac_status=$?
82374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82375 (exit $ac_status); }; } &&
82376 { ac_try='test -s conftest$ac_exeext'
82377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82378 (eval $ac_try) 2>&5
82379 ac_status=$?
82380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82381 (exit $ac_status); }; }; then
82382 eval "$as_ac_var=yes"
82383 else
82384 echo "$as_me: failed program was:" >&5
82385 sed 's/^/| /' conftest.$ac_ext >&5
82387 eval "$as_ac_var=no"
82389 rm -f conftest.err conftest.$ac_objext \
82390 conftest$ac_exeext conftest.$ac_ext
82392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82394 if test `eval echo '${'$as_ac_var'}'` = yes; then
82395 cat >>confdefs.h <<_ACEOF
82396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82397 _ACEOF
82400 done
82410 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
82411 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
82412 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
82413 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
82414 echo $ECHO_N "(cached) $ECHO_C" >&6
82415 else
82419 ac_ext=cc
82420 ac_cpp='$CXXCPP $CPPFLAGS'
82421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82425 cat >conftest.$ac_ext <<_ACEOF
82426 /* confdefs.h. */
82427 _ACEOF
82428 cat confdefs.h >>conftest.$ac_ext
82429 cat >>conftest.$ac_ext <<_ACEOF
82430 /* end confdefs.h. */
82431 #include <math.h>
82433 main ()
82435 atan2f(0, 0);
82437 return 0;
82439 _ACEOF
82440 rm -f conftest.$ac_objext
82441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82442 (eval $ac_compile) 2>conftest.er1
82443 ac_status=$?
82444 grep -v '^ *+' conftest.er1 >conftest.err
82445 rm -f conftest.er1
82446 cat conftest.err >&5
82447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82448 (exit $ac_status); } &&
82449 { ac_try='test -z "$ac_cxx_werror_flag"
82450 || test ! -s conftest.err'
82451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82452 (eval $ac_try) 2>&5
82453 ac_status=$?
82454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82455 (exit $ac_status); }; } &&
82456 { ac_try='test -s conftest.$ac_objext'
82457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82458 (eval $ac_try) 2>&5
82459 ac_status=$?
82460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82461 (exit $ac_status); }; }; then
82462 glibcxx_cv_func_atan2f_use=yes
82463 else
82464 echo "$as_me: failed program was:" >&5
82465 sed 's/^/| /' conftest.$ac_ext >&5
82467 glibcxx_cv_func_atan2f_use=no
82469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82470 ac_ext=c
82471 ac_cpp='$CPP $CPPFLAGS'
82472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
82481 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
82483 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
82485 for ac_func in atan2f
82487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82488 echo "$as_me:$LINENO: checking for $ac_func" >&5
82489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82490 if eval "test \"\${$as_ac_var+set}\" = set"; then
82491 echo $ECHO_N "(cached) $ECHO_C" >&6
82492 else
82493 if test x$gcc_no_link = xyes; then
82494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82496 { (exit 1); exit 1; }; }
82498 cat >conftest.$ac_ext <<_ACEOF
82499 /* confdefs.h. */
82500 _ACEOF
82501 cat confdefs.h >>conftest.$ac_ext
82502 cat >>conftest.$ac_ext <<_ACEOF
82503 /* end confdefs.h. */
82504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82506 #define $ac_func innocuous_$ac_func
82508 /* System header to define __stub macros and hopefully few prototypes,
82509 which can conflict with char $ac_func (); below.
82510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82511 <limits.h> exists even on freestanding compilers. */
82513 #ifdef __STDC__
82514 # include <limits.h>
82515 #else
82516 # include <assert.h>
82517 #endif
82519 #undef $ac_func
82521 /* Override any gcc2 internal prototype to avoid an error. */
82522 #ifdef __cplusplus
82523 extern "C"
82525 #endif
82526 /* We use char because int might match the return type of a gcc2
82527 builtin and then its argument prototype would still apply. */
82528 char $ac_func ();
82529 /* The GNU C library defines this for functions which it implements
82530 to always fail with ENOSYS. Some functions are actually named
82531 something starting with __ and the normal name is an alias. */
82532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82533 choke me
82534 #else
82535 char (*f) () = $ac_func;
82536 #endif
82537 #ifdef __cplusplus
82539 #endif
82542 main ()
82544 return f != $ac_func;
82546 return 0;
82548 _ACEOF
82549 rm -f conftest.$ac_objext conftest$ac_exeext
82550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82551 (eval $ac_link) 2>conftest.er1
82552 ac_status=$?
82553 grep -v '^ *+' conftest.er1 >conftest.err
82554 rm -f conftest.er1
82555 cat conftest.err >&5
82556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82557 (exit $ac_status); } &&
82558 { ac_try='test -z "$ac_c_werror_flag"
82559 || test ! -s conftest.err'
82560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82561 (eval $ac_try) 2>&5
82562 ac_status=$?
82563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82564 (exit $ac_status); }; } &&
82565 { ac_try='test -s conftest$ac_exeext'
82566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82567 (eval $ac_try) 2>&5
82568 ac_status=$?
82569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82570 (exit $ac_status); }; }; then
82571 eval "$as_ac_var=yes"
82572 else
82573 echo "$as_me: failed program was:" >&5
82574 sed 's/^/| /' conftest.$ac_ext >&5
82576 eval "$as_ac_var=no"
82578 rm -f conftest.err conftest.$ac_objext \
82579 conftest$ac_exeext conftest.$ac_ext
82581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82583 if test `eval echo '${'$as_ac_var'}'` = yes; then
82584 cat >>confdefs.h <<_ACEOF
82585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82586 _ACEOF
82589 done
82591 else
82593 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
82594 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
82595 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
82596 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
82597 echo $ECHO_N "(cached) $ECHO_C" >&6
82598 else
82602 ac_ext=cc
82603 ac_cpp='$CXXCPP $CPPFLAGS'
82604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82608 cat >conftest.$ac_ext <<_ACEOF
82609 /* confdefs.h. */
82610 _ACEOF
82611 cat confdefs.h >>conftest.$ac_ext
82612 cat >>conftest.$ac_ext <<_ACEOF
82613 /* end confdefs.h. */
82614 #include <math.h>
82616 main ()
82618 _atan2f(0, 0);
82620 return 0;
82622 _ACEOF
82623 rm -f conftest.$ac_objext
82624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82625 (eval $ac_compile) 2>conftest.er1
82626 ac_status=$?
82627 grep -v '^ *+' conftest.er1 >conftest.err
82628 rm -f conftest.er1
82629 cat conftest.err >&5
82630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82631 (exit $ac_status); } &&
82632 { ac_try='test -z "$ac_cxx_werror_flag"
82633 || test ! -s conftest.err'
82634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82635 (eval $ac_try) 2>&5
82636 ac_status=$?
82637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82638 (exit $ac_status); }; } &&
82639 { ac_try='test -s conftest.$ac_objext'
82640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82641 (eval $ac_try) 2>&5
82642 ac_status=$?
82643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82644 (exit $ac_status); }; }; then
82645 glibcxx_cv_func__atan2f_use=yes
82646 else
82647 echo "$as_me: failed program was:" >&5
82648 sed 's/^/| /' conftest.$ac_ext >&5
82650 glibcxx_cv_func__atan2f_use=no
82652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82653 ac_ext=c
82654 ac_cpp='$CPP $CPPFLAGS'
82655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
82664 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
82666 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
82668 for ac_func in _atan2f
82670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82671 echo "$as_me:$LINENO: checking for $ac_func" >&5
82672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82673 if eval "test \"\${$as_ac_var+set}\" = set"; then
82674 echo $ECHO_N "(cached) $ECHO_C" >&6
82675 else
82676 if test x$gcc_no_link = xyes; then
82677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82679 { (exit 1); exit 1; }; }
82681 cat >conftest.$ac_ext <<_ACEOF
82682 /* confdefs.h. */
82683 _ACEOF
82684 cat confdefs.h >>conftest.$ac_ext
82685 cat >>conftest.$ac_ext <<_ACEOF
82686 /* end confdefs.h. */
82687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82689 #define $ac_func innocuous_$ac_func
82691 /* System header to define __stub macros and hopefully few prototypes,
82692 which can conflict with char $ac_func (); below.
82693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82694 <limits.h> exists even on freestanding compilers. */
82696 #ifdef __STDC__
82697 # include <limits.h>
82698 #else
82699 # include <assert.h>
82700 #endif
82702 #undef $ac_func
82704 /* Override any gcc2 internal prototype to avoid an error. */
82705 #ifdef __cplusplus
82706 extern "C"
82708 #endif
82709 /* We use char because int might match the return type of a gcc2
82710 builtin and then its argument prototype would still apply. */
82711 char $ac_func ();
82712 /* The GNU C library defines this for functions which it implements
82713 to always fail with ENOSYS. Some functions are actually named
82714 something starting with __ and the normal name is an alias. */
82715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82716 choke me
82717 #else
82718 char (*f) () = $ac_func;
82719 #endif
82720 #ifdef __cplusplus
82722 #endif
82725 main ()
82727 return f != $ac_func;
82729 return 0;
82731 _ACEOF
82732 rm -f conftest.$ac_objext conftest$ac_exeext
82733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82734 (eval $ac_link) 2>conftest.er1
82735 ac_status=$?
82736 grep -v '^ *+' conftest.er1 >conftest.err
82737 rm -f conftest.er1
82738 cat conftest.err >&5
82739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82740 (exit $ac_status); } &&
82741 { ac_try='test -z "$ac_c_werror_flag"
82742 || test ! -s conftest.err'
82743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82744 (eval $ac_try) 2>&5
82745 ac_status=$?
82746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82747 (exit $ac_status); }; } &&
82748 { ac_try='test -s conftest$ac_exeext'
82749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82750 (eval $ac_try) 2>&5
82751 ac_status=$?
82752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82753 (exit $ac_status); }; }; then
82754 eval "$as_ac_var=yes"
82755 else
82756 echo "$as_me: failed program was:" >&5
82757 sed 's/^/| /' conftest.$ac_ext >&5
82759 eval "$as_ac_var=no"
82761 rm -f conftest.err conftest.$ac_objext \
82762 conftest$ac_exeext conftest.$ac_ext
82764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82766 if test `eval echo '${'$as_ac_var'}'` = yes; then
82767 cat >>confdefs.h <<_ACEOF
82768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82769 _ACEOF
82772 done
82782 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
82783 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
82784 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
82785 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
82786 echo $ECHO_N "(cached) $ECHO_C" >&6
82787 else
82791 ac_ext=cc
82792 ac_cpp='$CXXCPP $CPPFLAGS'
82793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82797 cat >conftest.$ac_ext <<_ACEOF
82798 /* confdefs.h. */
82799 _ACEOF
82800 cat confdefs.h >>conftest.$ac_ext
82801 cat >>conftest.$ac_ext <<_ACEOF
82802 /* end confdefs.h. */
82803 #include <math.h>
82804 #ifdef HAVE_IEEEFP_H
82805 #include <ieeefp.h>
82806 #endif
82809 main ()
82811 fabsf(0);
82813 return 0;
82815 _ACEOF
82816 rm -f conftest.$ac_objext
82817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
82818 (eval $ac_compile) 2>conftest.er1
82819 ac_status=$?
82820 grep -v '^ *+' conftest.er1 >conftest.err
82821 rm -f conftest.er1
82822 cat conftest.err >&5
82823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82824 (exit $ac_status); } &&
82825 { ac_try='test -z "$ac_cxx_werror_flag"
82826 || test ! -s conftest.err'
82827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82828 (eval $ac_try) 2>&5
82829 ac_status=$?
82830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82831 (exit $ac_status); }; } &&
82832 { ac_try='test -s conftest.$ac_objext'
82833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82834 (eval $ac_try) 2>&5
82835 ac_status=$?
82836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82837 (exit $ac_status); }; }; then
82838 glibcxx_cv_func_fabsf_use=yes
82839 else
82840 echo "$as_me: failed program was:" >&5
82841 sed 's/^/| /' conftest.$ac_ext >&5
82843 glibcxx_cv_func_fabsf_use=no
82845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
82846 ac_ext=c
82847 ac_cpp='$CPP $CPPFLAGS'
82848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
82856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
82857 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
82859 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
82861 for ac_func in fabsf
82863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
82864 echo "$as_me:$LINENO: checking for $ac_func" >&5
82865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
82866 if eval "test \"\${$as_ac_var+set}\" = set"; then
82867 echo $ECHO_N "(cached) $ECHO_C" >&6
82868 else
82869 if test x$gcc_no_link = xyes; then
82870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
82871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
82872 { (exit 1); exit 1; }; }
82874 cat >conftest.$ac_ext <<_ACEOF
82875 /* confdefs.h. */
82876 _ACEOF
82877 cat confdefs.h >>conftest.$ac_ext
82878 cat >>conftest.$ac_ext <<_ACEOF
82879 /* end confdefs.h. */
82880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
82881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
82882 #define $ac_func innocuous_$ac_func
82884 /* System header to define __stub macros and hopefully few prototypes,
82885 which can conflict with char $ac_func (); below.
82886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
82887 <limits.h> exists even on freestanding compilers. */
82889 #ifdef __STDC__
82890 # include <limits.h>
82891 #else
82892 # include <assert.h>
82893 #endif
82895 #undef $ac_func
82897 /* Override any gcc2 internal prototype to avoid an error. */
82898 #ifdef __cplusplus
82899 extern "C"
82901 #endif
82902 /* We use char because int might match the return type of a gcc2
82903 builtin and then its argument prototype would still apply. */
82904 char $ac_func ();
82905 /* The GNU C library defines this for functions which it implements
82906 to always fail with ENOSYS. Some functions are actually named
82907 something starting with __ and the normal name is an alias. */
82908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
82909 choke me
82910 #else
82911 char (*f) () = $ac_func;
82912 #endif
82913 #ifdef __cplusplus
82915 #endif
82918 main ()
82920 return f != $ac_func;
82922 return 0;
82924 _ACEOF
82925 rm -f conftest.$ac_objext conftest$ac_exeext
82926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
82927 (eval $ac_link) 2>conftest.er1
82928 ac_status=$?
82929 grep -v '^ *+' conftest.er1 >conftest.err
82930 rm -f conftest.er1
82931 cat conftest.err >&5
82932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82933 (exit $ac_status); } &&
82934 { ac_try='test -z "$ac_c_werror_flag"
82935 || test ! -s conftest.err'
82936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82937 (eval $ac_try) 2>&5
82938 ac_status=$?
82939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82940 (exit $ac_status); }; } &&
82941 { ac_try='test -s conftest$ac_exeext'
82942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
82943 (eval $ac_try) 2>&5
82944 ac_status=$?
82945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
82946 (exit $ac_status); }; }; then
82947 eval "$as_ac_var=yes"
82948 else
82949 echo "$as_me: failed program was:" >&5
82950 sed 's/^/| /' conftest.$ac_ext >&5
82952 eval "$as_ac_var=no"
82954 rm -f conftest.err conftest.$ac_objext \
82955 conftest$ac_exeext conftest.$ac_ext
82957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
82958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
82959 if test `eval echo '${'$as_ac_var'}'` = yes; then
82960 cat >>confdefs.h <<_ACEOF
82961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
82962 _ACEOF
82965 done
82967 else
82969 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
82970 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
82971 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
82972 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
82973 echo $ECHO_N "(cached) $ECHO_C" >&6
82974 else
82978 ac_ext=cc
82979 ac_cpp='$CXXCPP $CPPFLAGS'
82980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
82981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
82982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
82984 cat >conftest.$ac_ext <<_ACEOF
82985 /* confdefs.h. */
82986 _ACEOF
82987 cat confdefs.h >>conftest.$ac_ext
82988 cat >>conftest.$ac_ext <<_ACEOF
82989 /* end confdefs.h. */
82990 #include <math.h>
82991 #ifdef HAVE_IEEEFP_H
82992 #include <ieeefp.h>
82993 #endif
82996 main ()
82998 _fabsf(0);
83000 return 0;
83002 _ACEOF
83003 rm -f conftest.$ac_objext
83004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83005 (eval $ac_compile) 2>conftest.er1
83006 ac_status=$?
83007 grep -v '^ *+' conftest.er1 >conftest.err
83008 rm -f conftest.er1
83009 cat conftest.err >&5
83010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83011 (exit $ac_status); } &&
83012 { ac_try='test -z "$ac_cxx_werror_flag"
83013 || test ! -s conftest.err'
83014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83015 (eval $ac_try) 2>&5
83016 ac_status=$?
83017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83018 (exit $ac_status); }; } &&
83019 { ac_try='test -s conftest.$ac_objext'
83020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83021 (eval $ac_try) 2>&5
83022 ac_status=$?
83023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83024 (exit $ac_status); }; }; then
83025 glibcxx_cv_func__fabsf_use=yes
83026 else
83027 echo "$as_me: failed program was:" >&5
83028 sed 's/^/| /' conftest.$ac_ext >&5
83030 glibcxx_cv_func__fabsf_use=no
83032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83033 ac_ext=c
83034 ac_cpp='$CPP $CPPFLAGS'
83035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
83044 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
83046 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
83048 for ac_func in _fabsf
83050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83051 echo "$as_me:$LINENO: checking for $ac_func" >&5
83052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83053 if eval "test \"\${$as_ac_var+set}\" = set"; then
83054 echo $ECHO_N "(cached) $ECHO_C" >&6
83055 else
83056 if test x$gcc_no_link = xyes; then
83057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83059 { (exit 1); exit 1; }; }
83061 cat >conftest.$ac_ext <<_ACEOF
83062 /* confdefs.h. */
83063 _ACEOF
83064 cat confdefs.h >>conftest.$ac_ext
83065 cat >>conftest.$ac_ext <<_ACEOF
83066 /* end confdefs.h. */
83067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83069 #define $ac_func innocuous_$ac_func
83071 /* System header to define __stub macros and hopefully few prototypes,
83072 which can conflict with char $ac_func (); below.
83073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83074 <limits.h> exists even on freestanding compilers. */
83076 #ifdef __STDC__
83077 # include <limits.h>
83078 #else
83079 # include <assert.h>
83080 #endif
83082 #undef $ac_func
83084 /* Override any gcc2 internal prototype to avoid an error. */
83085 #ifdef __cplusplus
83086 extern "C"
83088 #endif
83089 /* We use char because int might match the return type of a gcc2
83090 builtin and then its argument prototype would still apply. */
83091 char $ac_func ();
83092 /* The GNU C library defines this for functions which it implements
83093 to always fail with ENOSYS. Some functions are actually named
83094 something starting with __ and the normal name is an alias. */
83095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83096 choke me
83097 #else
83098 char (*f) () = $ac_func;
83099 #endif
83100 #ifdef __cplusplus
83102 #endif
83105 main ()
83107 return f != $ac_func;
83109 return 0;
83111 _ACEOF
83112 rm -f conftest.$ac_objext conftest$ac_exeext
83113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83114 (eval $ac_link) 2>conftest.er1
83115 ac_status=$?
83116 grep -v '^ *+' conftest.er1 >conftest.err
83117 rm -f conftest.er1
83118 cat conftest.err >&5
83119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83120 (exit $ac_status); } &&
83121 { ac_try='test -z "$ac_c_werror_flag"
83122 || test ! -s conftest.err'
83123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83124 (eval $ac_try) 2>&5
83125 ac_status=$?
83126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83127 (exit $ac_status); }; } &&
83128 { ac_try='test -s conftest$ac_exeext'
83129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83130 (eval $ac_try) 2>&5
83131 ac_status=$?
83132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83133 (exit $ac_status); }; }; then
83134 eval "$as_ac_var=yes"
83135 else
83136 echo "$as_me: failed program was:" >&5
83137 sed 's/^/| /' conftest.$ac_ext >&5
83139 eval "$as_ac_var=no"
83141 rm -f conftest.err conftest.$ac_objext \
83142 conftest$ac_exeext conftest.$ac_ext
83144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83146 if test `eval echo '${'$as_ac_var'}'` = yes; then
83147 cat >>confdefs.h <<_ACEOF
83148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83149 _ACEOF
83152 done
83162 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
83163 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
83164 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
83165 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
83166 echo $ECHO_N "(cached) $ECHO_C" >&6
83167 else
83171 ac_ext=cc
83172 ac_cpp='$CXXCPP $CPPFLAGS'
83173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83177 cat >conftest.$ac_ext <<_ACEOF
83178 /* confdefs.h. */
83179 _ACEOF
83180 cat confdefs.h >>conftest.$ac_ext
83181 cat >>conftest.$ac_ext <<_ACEOF
83182 /* end confdefs.h. */
83183 #include <math.h>
83185 main ()
83187 fmodf(0, 0);
83189 return 0;
83191 _ACEOF
83192 rm -f conftest.$ac_objext
83193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83194 (eval $ac_compile) 2>conftest.er1
83195 ac_status=$?
83196 grep -v '^ *+' conftest.er1 >conftest.err
83197 rm -f conftest.er1
83198 cat conftest.err >&5
83199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83200 (exit $ac_status); } &&
83201 { ac_try='test -z "$ac_cxx_werror_flag"
83202 || test ! -s conftest.err'
83203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83204 (eval $ac_try) 2>&5
83205 ac_status=$?
83206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83207 (exit $ac_status); }; } &&
83208 { ac_try='test -s conftest.$ac_objext'
83209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83210 (eval $ac_try) 2>&5
83211 ac_status=$?
83212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83213 (exit $ac_status); }; }; then
83214 glibcxx_cv_func_fmodf_use=yes
83215 else
83216 echo "$as_me: failed program was:" >&5
83217 sed 's/^/| /' conftest.$ac_ext >&5
83219 glibcxx_cv_func_fmodf_use=no
83221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83222 ac_ext=c
83223 ac_cpp='$CPP $CPPFLAGS'
83224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
83233 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
83235 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
83237 for ac_func in fmodf
83239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83240 echo "$as_me:$LINENO: checking for $ac_func" >&5
83241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83242 if eval "test \"\${$as_ac_var+set}\" = set"; then
83243 echo $ECHO_N "(cached) $ECHO_C" >&6
83244 else
83245 if test x$gcc_no_link = xyes; then
83246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83248 { (exit 1); exit 1; }; }
83250 cat >conftest.$ac_ext <<_ACEOF
83251 /* confdefs.h. */
83252 _ACEOF
83253 cat confdefs.h >>conftest.$ac_ext
83254 cat >>conftest.$ac_ext <<_ACEOF
83255 /* end confdefs.h. */
83256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83258 #define $ac_func innocuous_$ac_func
83260 /* System header to define __stub macros and hopefully few prototypes,
83261 which can conflict with char $ac_func (); below.
83262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83263 <limits.h> exists even on freestanding compilers. */
83265 #ifdef __STDC__
83266 # include <limits.h>
83267 #else
83268 # include <assert.h>
83269 #endif
83271 #undef $ac_func
83273 /* Override any gcc2 internal prototype to avoid an error. */
83274 #ifdef __cplusplus
83275 extern "C"
83277 #endif
83278 /* We use char because int might match the return type of a gcc2
83279 builtin and then its argument prototype would still apply. */
83280 char $ac_func ();
83281 /* The GNU C library defines this for functions which it implements
83282 to always fail with ENOSYS. Some functions are actually named
83283 something starting with __ and the normal name is an alias. */
83284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83285 choke me
83286 #else
83287 char (*f) () = $ac_func;
83288 #endif
83289 #ifdef __cplusplus
83291 #endif
83294 main ()
83296 return f != $ac_func;
83298 return 0;
83300 _ACEOF
83301 rm -f conftest.$ac_objext conftest$ac_exeext
83302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83303 (eval $ac_link) 2>conftest.er1
83304 ac_status=$?
83305 grep -v '^ *+' conftest.er1 >conftest.err
83306 rm -f conftest.er1
83307 cat conftest.err >&5
83308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83309 (exit $ac_status); } &&
83310 { ac_try='test -z "$ac_c_werror_flag"
83311 || test ! -s conftest.err'
83312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83313 (eval $ac_try) 2>&5
83314 ac_status=$?
83315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83316 (exit $ac_status); }; } &&
83317 { ac_try='test -s conftest$ac_exeext'
83318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83319 (eval $ac_try) 2>&5
83320 ac_status=$?
83321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83322 (exit $ac_status); }; }; then
83323 eval "$as_ac_var=yes"
83324 else
83325 echo "$as_me: failed program was:" >&5
83326 sed 's/^/| /' conftest.$ac_ext >&5
83328 eval "$as_ac_var=no"
83330 rm -f conftest.err conftest.$ac_objext \
83331 conftest$ac_exeext conftest.$ac_ext
83333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83335 if test `eval echo '${'$as_ac_var'}'` = yes; then
83336 cat >>confdefs.h <<_ACEOF
83337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83338 _ACEOF
83341 done
83343 else
83345 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
83346 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
83347 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
83348 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
83349 echo $ECHO_N "(cached) $ECHO_C" >&6
83350 else
83354 ac_ext=cc
83355 ac_cpp='$CXXCPP $CPPFLAGS'
83356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83360 cat >conftest.$ac_ext <<_ACEOF
83361 /* confdefs.h. */
83362 _ACEOF
83363 cat confdefs.h >>conftest.$ac_ext
83364 cat >>conftest.$ac_ext <<_ACEOF
83365 /* end confdefs.h. */
83366 #include <math.h>
83368 main ()
83370 _fmodf(0, 0);
83372 return 0;
83374 _ACEOF
83375 rm -f conftest.$ac_objext
83376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83377 (eval $ac_compile) 2>conftest.er1
83378 ac_status=$?
83379 grep -v '^ *+' conftest.er1 >conftest.err
83380 rm -f conftest.er1
83381 cat conftest.err >&5
83382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83383 (exit $ac_status); } &&
83384 { ac_try='test -z "$ac_cxx_werror_flag"
83385 || test ! -s conftest.err'
83386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83387 (eval $ac_try) 2>&5
83388 ac_status=$?
83389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83390 (exit $ac_status); }; } &&
83391 { ac_try='test -s conftest.$ac_objext'
83392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83393 (eval $ac_try) 2>&5
83394 ac_status=$?
83395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83396 (exit $ac_status); }; }; then
83397 glibcxx_cv_func__fmodf_use=yes
83398 else
83399 echo "$as_me: failed program was:" >&5
83400 sed 's/^/| /' conftest.$ac_ext >&5
83402 glibcxx_cv_func__fmodf_use=no
83404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83405 ac_ext=c
83406 ac_cpp='$CPP $CPPFLAGS'
83407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
83416 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
83418 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
83420 for ac_func in _fmodf
83422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83423 echo "$as_me:$LINENO: checking for $ac_func" >&5
83424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83425 if eval "test \"\${$as_ac_var+set}\" = set"; then
83426 echo $ECHO_N "(cached) $ECHO_C" >&6
83427 else
83428 if test x$gcc_no_link = xyes; then
83429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83431 { (exit 1); exit 1; }; }
83433 cat >conftest.$ac_ext <<_ACEOF
83434 /* confdefs.h. */
83435 _ACEOF
83436 cat confdefs.h >>conftest.$ac_ext
83437 cat >>conftest.$ac_ext <<_ACEOF
83438 /* end confdefs.h. */
83439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83441 #define $ac_func innocuous_$ac_func
83443 /* System header to define __stub macros and hopefully few prototypes,
83444 which can conflict with char $ac_func (); below.
83445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83446 <limits.h> exists even on freestanding compilers. */
83448 #ifdef __STDC__
83449 # include <limits.h>
83450 #else
83451 # include <assert.h>
83452 #endif
83454 #undef $ac_func
83456 /* Override any gcc2 internal prototype to avoid an error. */
83457 #ifdef __cplusplus
83458 extern "C"
83460 #endif
83461 /* We use char because int might match the return type of a gcc2
83462 builtin and then its argument prototype would still apply. */
83463 char $ac_func ();
83464 /* The GNU C library defines this for functions which it implements
83465 to always fail with ENOSYS. Some functions are actually named
83466 something starting with __ and the normal name is an alias. */
83467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83468 choke me
83469 #else
83470 char (*f) () = $ac_func;
83471 #endif
83472 #ifdef __cplusplus
83474 #endif
83477 main ()
83479 return f != $ac_func;
83481 return 0;
83483 _ACEOF
83484 rm -f conftest.$ac_objext conftest$ac_exeext
83485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83486 (eval $ac_link) 2>conftest.er1
83487 ac_status=$?
83488 grep -v '^ *+' conftest.er1 >conftest.err
83489 rm -f conftest.er1
83490 cat conftest.err >&5
83491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83492 (exit $ac_status); } &&
83493 { ac_try='test -z "$ac_c_werror_flag"
83494 || test ! -s conftest.err'
83495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83496 (eval $ac_try) 2>&5
83497 ac_status=$?
83498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83499 (exit $ac_status); }; } &&
83500 { ac_try='test -s conftest$ac_exeext'
83501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83502 (eval $ac_try) 2>&5
83503 ac_status=$?
83504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83505 (exit $ac_status); }; }; then
83506 eval "$as_ac_var=yes"
83507 else
83508 echo "$as_me: failed program was:" >&5
83509 sed 's/^/| /' conftest.$ac_ext >&5
83511 eval "$as_ac_var=no"
83513 rm -f conftest.err conftest.$ac_objext \
83514 conftest$ac_exeext conftest.$ac_ext
83516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83518 if test `eval echo '${'$as_ac_var'}'` = yes; then
83519 cat >>confdefs.h <<_ACEOF
83520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83521 _ACEOF
83524 done
83534 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
83535 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
83536 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
83537 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
83538 echo $ECHO_N "(cached) $ECHO_C" >&6
83539 else
83543 ac_ext=cc
83544 ac_cpp='$CXXCPP $CPPFLAGS'
83545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83549 cat >conftest.$ac_ext <<_ACEOF
83550 /* confdefs.h. */
83551 _ACEOF
83552 cat confdefs.h >>conftest.$ac_ext
83553 cat >>conftest.$ac_ext <<_ACEOF
83554 /* end confdefs.h. */
83555 #include <math.h>
83557 main ()
83559 frexpf(0, 0);
83561 return 0;
83563 _ACEOF
83564 rm -f conftest.$ac_objext
83565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83566 (eval $ac_compile) 2>conftest.er1
83567 ac_status=$?
83568 grep -v '^ *+' conftest.er1 >conftest.err
83569 rm -f conftest.er1
83570 cat conftest.err >&5
83571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83572 (exit $ac_status); } &&
83573 { ac_try='test -z "$ac_cxx_werror_flag"
83574 || test ! -s conftest.err'
83575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83576 (eval $ac_try) 2>&5
83577 ac_status=$?
83578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83579 (exit $ac_status); }; } &&
83580 { ac_try='test -s conftest.$ac_objext'
83581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83582 (eval $ac_try) 2>&5
83583 ac_status=$?
83584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83585 (exit $ac_status); }; }; then
83586 glibcxx_cv_func_frexpf_use=yes
83587 else
83588 echo "$as_me: failed program was:" >&5
83589 sed 's/^/| /' conftest.$ac_ext >&5
83591 glibcxx_cv_func_frexpf_use=no
83593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83594 ac_ext=c
83595 ac_cpp='$CPP $CPPFLAGS'
83596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
83605 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
83607 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
83609 for ac_func in frexpf
83611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83612 echo "$as_me:$LINENO: checking for $ac_func" >&5
83613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83614 if eval "test \"\${$as_ac_var+set}\" = set"; then
83615 echo $ECHO_N "(cached) $ECHO_C" >&6
83616 else
83617 if test x$gcc_no_link = xyes; then
83618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83620 { (exit 1); exit 1; }; }
83622 cat >conftest.$ac_ext <<_ACEOF
83623 /* confdefs.h. */
83624 _ACEOF
83625 cat confdefs.h >>conftest.$ac_ext
83626 cat >>conftest.$ac_ext <<_ACEOF
83627 /* end confdefs.h. */
83628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83630 #define $ac_func innocuous_$ac_func
83632 /* System header to define __stub macros and hopefully few prototypes,
83633 which can conflict with char $ac_func (); below.
83634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83635 <limits.h> exists even on freestanding compilers. */
83637 #ifdef __STDC__
83638 # include <limits.h>
83639 #else
83640 # include <assert.h>
83641 #endif
83643 #undef $ac_func
83645 /* Override any gcc2 internal prototype to avoid an error. */
83646 #ifdef __cplusplus
83647 extern "C"
83649 #endif
83650 /* We use char because int might match the return type of a gcc2
83651 builtin and then its argument prototype would still apply. */
83652 char $ac_func ();
83653 /* The GNU C library defines this for functions which it implements
83654 to always fail with ENOSYS. Some functions are actually named
83655 something starting with __ and the normal name is an alias. */
83656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83657 choke me
83658 #else
83659 char (*f) () = $ac_func;
83660 #endif
83661 #ifdef __cplusplus
83663 #endif
83666 main ()
83668 return f != $ac_func;
83670 return 0;
83672 _ACEOF
83673 rm -f conftest.$ac_objext conftest$ac_exeext
83674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83675 (eval $ac_link) 2>conftest.er1
83676 ac_status=$?
83677 grep -v '^ *+' conftest.er1 >conftest.err
83678 rm -f conftest.er1
83679 cat conftest.err >&5
83680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83681 (exit $ac_status); } &&
83682 { ac_try='test -z "$ac_c_werror_flag"
83683 || test ! -s conftest.err'
83684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83685 (eval $ac_try) 2>&5
83686 ac_status=$?
83687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83688 (exit $ac_status); }; } &&
83689 { ac_try='test -s conftest$ac_exeext'
83690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83691 (eval $ac_try) 2>&5
83692 ac_status=$?
83693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83694 (exit $ac_status); }; }; then
83695 eval "$as_ac_var=yes"
83696 else
83697 echo "$as_me: failed program was:" >&5
83698 sed 's/^/| /' conftest.$ac_ext >&5
83700 eval "$as_ac_var=no"
83702 rm -f conftest.err conftest.$ac_objext \
83703 conftest$ac_exeext conftest.$ac_ext
83705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83707 if test `eval echo '${'$as_ac_var'}'` = yes; then
83708 cat >>confdefs.h <<_ACEOF
83709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83710 _ACEOF
83713 done
83715 else
83717 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
83718 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
83719 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
83720 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
83721 echo $ECHO_N "(cached) $ECHO_C" >&6
83722 else
83726 ac_ext=cc
83727 ac_cpp='$CXXCPP $CPPFLAGS'
83728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83732 cat >conftest.$ac_ext <<_ACEOF
83733 /* confdefs.h. */
83734 _ACEOF
83735 cat confdefs.h >>conftest.$ac_ext
83736 cat >>conftest.$ac_ext <<_ACEOF
83737 /* end confdefs.h. */
83738 #include <math.h>
83740 main ()
83742 _frexpf(0, 0);
83744 return 0;
83746 _ACEOF
83747 rm -f conftest.$ac_objext
83748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83749 (eval $ac_compile) 2>conftest.er1
83750 ac_status=$?
83751 grep -v '^ *+' conftest.er1 >conftest.err
83752 rm -f conftest.er1
83753 cat conftest.err >&5
83754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83755 (exit $ac_status); } &&
83756 { ac_try='test -z "$ac_cxx_werror_flag"
83757 || test ! -s conftest.err'
83758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83759 (eval $ac_try) 2>&5
83760 ac_status=$?
83761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83762 (exit $ac_status); }; } &&
83763 { ac_try='test -s conftest.$ac_objext'
83764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83765 (eval $ac_try) 2>&5
83766 ac_status=$?
83767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83768 (exit $ac_status); }; }; then
83769 glibcxx_cv_func__frexpf_use=yes
83770 else
83771 echo "$as_me: failed program was:" >&5
83772 sed 's/^/| /' conftest.$ac_ext >&5
83774 glibcxx_cv_func__frexpf_use=no
83776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83777 ac_ext=c
83778 ac_cpp='$CPP $CPPFLAGS'
83779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
83788 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
83790 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
83792 for ac_func in _frexpf
83794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83795 echo "$as_me:$LINENO: checking for $ac_func" >&5
83796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83797 if eval "test \"\${$as_ac_var+set}\" = set"; then
83798 echo $ECHO_N "(cached) $ECHO_C" >&6
83799 else
83800 if test x$gcc_no_link = xyes; then
83801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83803 { (exit 1); exit 1; }; }
83805 cat >conftest.$ac_ext <<_ACEOF
83806 /* confdefs.h. */
83807 _ACEOF
83808 cat confdefs.h >>conftest.$ac_ext
83809 cat >>conftest.$ac_ext <<_ACEOF
83810 /* end confdefs.h. */
83811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
83812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
83813 #define $ac_func innocuous_$ac_func
83815 /* System header to define __stub macros and hopefully few prototypes,
83816 which can conflict with char $ac_func (); below.
83817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
83818 <limits.h> exists even on freestanding compilers. */
83820 #ifdef __STDC__
83821 # include <limits.h>
83822 #else
83823 # include <assert.h>
83824 #endif
83826 #undef $ac_func
83828 /* Override any gcc2 internal prototype to avoid an error. */
83829 #ifdef __cplusplus
83830 extern "C"
83832 #endif
83833 /* We use char because int might match the return type of a gcc2
83834 builtin and then its argument prototype would still apply. */
83835 char $ac_func ();
83836 /* The GNU C library defines this for functions which it implements
83837 to always fail with ENOSYS. Some functions are actually named
83838 something starting with __ and the normal name is an alias. */
83839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
83840 choke me
83841 #else
83842 char (*f) () = $ac_func;
83843 #endif
83844 #ifdef __cplusplus
83846 #endif
83849 main ()
83851 return f != $ac_func;
83853 return 0;
83855 _ACEOF
83856 rm -f conftest.$ac_objext conftest$ac_exeext
83857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
83858 (eval $ac_link) 2>conftest.er1
83859 ac_status=$?
83860 grep -v '^ *+' conftest.er1 >conftest.err
83861 rm -f conftest.er1
83862 cat conftest.err >&5
83863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83864 (exit $ac_status); } &&
83865 { ac_try='test -z "$ac_c_werror_flag"
83866 || test ! -s conftest.err'
83867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83868 (eval $ac_try) 2>&5
83869 ac_status=$?
83870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83871 (exit $ac_status); }; } &&
83872 { ac_try='test -s conftest$ac_exeext'
83873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83874 (eval $ac_try) 2>&5
83875 ac_status=$?
83876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83877 (exit $ac_status); }; }; then
83878 eval "$as_ac_var=yes"
83879 else
83880 echo "$as_me: failed program was:" >&5
83881 sed 's/^/| /' conftest.$ac_ext >&5
83883 eval "$as_ac_var=no"
83885 rm -f conftest.err conftest.$ac_objext \
83886 conftest$ac_exeext conftest.$ac_ext
83888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
83889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
83890 if test `eval echo '${'$as_ac_var'}'` = yes; then
83891 cat >>confdefs.h <<_ACEOF
83892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
83893 _ACEOF
83896 done
83906 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
83907 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
83908 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
83909 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
83910 echo $ECHO_N "(cached) $ECHO_C" >&6
83911 else
83915 ac_ext=cc
83916 ac_cpp='$CXXCPP $CPPFLAGS'
83917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
83921 cat >conftest.$ac_ext <<_ACEOF
83922 /* confdefs.h. */
83923 _ACEOF
83924 cat confdefs.h >>conftest.$ac_ext
83925 cat >>conftest.$ac_ext <<_ACEOF
83926 /* end confdefs.h. */
83927 #include <math.h>
83929 main ()
83931 hypotf(0, 0);
83933 return 0;
83935 _ACEOF
83936 rm -f conftest.$ac_objext
83937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
83938 (eval $ac_compile) 2>conftest.er1
83939 ac_status=$?
83940 grep -v '^ *+' conftest.er1 >conftest.err
83941 rm -f conftest.er1
83942 cat conftest.err >&5
83943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83944 (exit $ac_status); } &&
83945 { ac_try='test -z "$ac_cxx_werror_flag"
83946 || test ! -s conftest.err'
83947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83948 (eval $ac_try) 2>&5
83949 ac_status=$?
83950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83951 (exit $ac_status); }; } &&
83952 { ac_try='test -s conftest.$ac_objext'
83953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
83954 (eval $ac_try) 2>&5
83955 ac_status=$?
83956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
83957 (exit $ac_status); }; }; then
83958 glibcxx_cv_func_hypotf_use=yes
83959 else
83960 echo "$as_me: failed program was:" >&5
83961 sed 's/^/| /' conftest.$ac_ext >&5
83963 glibcxx_cv_func_hypotf_use=no
83965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
83966 ac_ext=c
83967 ac_cpp='$CPP $CPPFLAGS'
83968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
83969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
83970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
83976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
83977 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
83979 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
83981 for ac_func in hypotf
83983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
83984 echo "$as_me:$LINENO: checking for $ac_func" >&5
83985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
83986 if eval "test \"\${$as_ac_var+set}\" = set"; then
83987 echo $ECHO_N "(cached) $ECHO_C" >&6
83988 else
83989 if test x$gcc_no_link = xyes; then
83990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
83991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
83992 { (exit 1); exit 1; }; }
83994 cat >conftest.$ac_ext <<_ACEOF
83995 /* confdefs.h. */
83996 _ACEOF
83997 cat confdefs.h >>conftest.$ac_ext
83998 cat >>conftest.$ac_ext <<_ACEOF
83999 /* end confdefs.h. */
84000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84002 #define $ac_func innocuous_$ac_func
84004 /* System header to define __stub macros and hopefully few prototypes,
84005 which can conflict with char $ac_func (); below.
84006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84007 <limits.h> exists even on freestanding compilers. */
84009 #ifdef __STDC__
84010 # include <limits.h>
84011 #else
84012 # include <assert.h>
84013 #endif
84015 #undef $ac_func
84017 /* Override any gcc2 internal prototype to avoid an error. */
84018 #ifdef __cplusplus
84019 extern "C"
84021 #endif
84022 /* We use char because int might match the return type of a gcc2
84023 builtin and then its argument prototype would still apply. */
84024 char $ac_func ();
84025 /* The GNU C library defines this for functions which it implements
84026 to always fail with ENOSYS. Some functions are actually named
84027 something starting with __ and the normal name is an alias. */
84028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84029 choke me
84030 #else
84031 char (*f) () = $ac_func;
84032 #endif
84033 #ifdef __cplusplus
84035 #endif
84038 main ()
84040 return f != $ac_func;
84042 return 0;
84044 _ACEOF
84045 rm -f conftest.$ac_objext conftest$ac_exeext
84046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84047 (eval $ac_link) 2>conftest.er1
84048 ac_status=$?
84049 grep -v '^ *+' conftest.er1 >conftest.err
84050 rm -f conftest.er1
84051 cat conftest.err >&5
84052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84053 (exit $ac_status); } &&
84054 { ac_try='test -z "$ac_c_werror_flag"
84055 || test ! -s conftest.err'
84056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84057 (eval $ac_try) 2>&5
84058 ac_status=$?
84059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84060 (exit $ac_status); }; } &&
84061 { ac_try='test -s conftest$ac_exeext'
84062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84063 (eval $ac_try) 2>&5
84064 ac_status=$?
84065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84066 (exit $ac_status); }; }; then
84067 eval "$as_ac_var=yes"
84068 else
84069 echo "$as_me: failed program was:" >&5
84070 sed 's/^/| /' conftest.$ac_ext >&5
84072 eval "$as_ac_var=no"
84074 rm -f conftest.err conftest.$ac_objext \
84075 conftest$ac_exeext conftest.$ac_ext
84077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84079 if test `eval echo '${'$as_ac_var'}'` = yes; then
84080 cat >>confdefs.h <<_ACEOF
84081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84082 _ACEOF
84085 done
84087 else
84089 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
84090 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
84091 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
84092 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
84093 echo $ECHO_N "(cached) $ECHO_C" >&6
84094 else
84098 ac_ext=cc
84099 ac_cpp='$CXXCPP $CPPFLAGS'
84100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84104 cat >conftest.$ac_ext <<_ACEOF
84105 /* confdefs.h. */
84106 _ACEOF
84107 cat confdefs.h >>conftest.$ac_ext
84108 cat >>conftest.$ac_ext <<_ACEOF
84109 /* end confdefs.h. */
84110 #include <math.h>
84112 main ()
84114 _hypotf(0, 0);
84116 return 0;
84118 _ACEOF
84119 rm -f conftest.$ac_objext
84120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84121 (eval $ac_compile) 2>conftest.er1
84122 ac_status=$?
84123 grep -v '^ *+' conftest.er1 >conftest.err
84124 rm -f conftest.er1
84125 cat conftest.err >&5
84126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84127 (exit $ac_status); } &&
84128 { ac_try='test -z "$ac_cxx_werror_flag"
84129 || test ! -s conftest.err'
84130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84131 (eval $ac_try) 2>&5
84132 ac_status=$?
84133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84134 (exit $ac_status); }; } &&
84135 { ac_try='test -s conftest.$ac_objext'
84136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84137 (eval $ac_try) 2>&5
84138 ac_status=$?
84139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84140 (exit $ac_status); }; }; then
84141 glibcxx_cv_func__hypotf_use=yes
84142 else
84143 echo "$as_me: failed program was:" >&5
84144 sed 's/^/| /' conftest.$ac_ext >&5
84146 glibcxx_cv_func__hypotf_use=no
84148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84149 ac_ext=c
84150 ac_cpp='$CPP $CPPFLAGS'
84151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
84160 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
84162 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
84164 for ac_func in _hypotf
84166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84167 echo "$as_me:$LINENO: checking for $ac_func" >&5
84168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84169 if eval "test \"\${$as_ac_var+set}\" = set"; then
84170 echo $ECHO_N "(cached) $ECHO_C" >&6
84171 else
84172 if test x$gcc_no_link = xyes; then
84173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84175 { (exit 1); exit 1; }; }
84177 cat >conftest.$ac_ext <<_ACEOF
84178 /* confdefs.h. */
84179 _ACEOF
84180 cat confdefs.h >>conftest.$ac_ext
84181 cat >>conftest.$ac_ext <<_ACEOF
84182 /* end confdefs.h. */
84183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84185 #define $ac_func innocuous_$ac_func
84187 /* System header to define __stub macros and hopefully few prototypes,
84188 which can conflict with char $ac_func (); below.
84189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84190 <limits.h> exists even on freestanding compilers. */
84192 #ifdef __STDC__
84193 # include <limits.h>
84194 #else
84195 # include <assert.h>
84196 #endif
84198 #undef $ac_func
84200 /* Override any gcc2 internal prototype to avoid an error. */
84201 #ifdef __cplusplus
84202 extern "C"
84204 #endif
84205 /* We use char because int might match the return type of a gcc2
84206 builtin and then its argument prototype would still apply. */
84207 char $ac_func ();
84208 /* The GNU C library defines this for functions which it implements
84209 to always fail with ENOSYS. Some functions are actually named
84210 something starting with __ and the normal name is an alias. */
84211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84212 choke me
84213 #else
84214 char (*f) () = $ac_func;
84215 #endif
84216 #ifdef __cplusplus
84218 #endif
84221 main ()
84223 return f != $ac_func;
84225 return 0;
84227 _ACEOF
84228 rm -f conftest.$ac_objext conftest$ac_exeext
84229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84230 (eval $ac_link) 2>conftest.er1
84231 ac_status=$?
84232 grep -v '^ *+' conftest.er1 >conftest.err
84233 rm -f conftest.er1
84234 cat conftest.err >&5
84235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84236 (exit $ac_status); } &&
84237 { ac_try='test -z "$ac_c_werror_flag"
84238 || test ! -s conftest.err'
84239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84240 (eval $ac_try) 2>&5
84241 ac_status=$?
84242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84243 (exit $ac_status); }; } &&
84244 { ac_try='test -s conftest$ac_exeext'
84245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84246 (eval $ac_try) 2>&5
84247 ac_status=$?
84248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84249 (exit $ac_status); }; }; then
84250 eval "$as_ac_var=yes"
84251 else
84252 echo "$as_me: failed program was:" >&5
84253 sed 's/^/| /' conftest.$ac_ext >&5
84255 eval "$as_ac_var=no"
84257 rm -f conftest.err conftest.$ac_objext \
84258 conftest$ac_exeext conftest.$ac_ext
84260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84262 if test `eval echo '${'$as_ac_var'}'` = yes; then
84263 cat >>confdefs.h <<_ACEOF
84264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84265 _ACEOF
84268 done
84278 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
84279 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
84280 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
84281 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
84282 echo $ECHO_N "(cached) $ECHO_C" >&6
84283 else
84287 ac_ext=cc
84288 ac_cpp='$CXXCPP $CPPFLAGS'
84289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84293 cat >conftest.$ac_ext <<_ACEOF
84294 /* confdefs.h. */
84295 _ACEOF
84296 cat confdefs.h >>conftest.$ac_ext
84297 cat >>conftest.$ac_ext <<_ACEOF
84298 /* end confdefs.h. */
84299 #include <math.h>
84301 main ()
84303 ldexpf(0, 0);
84305 return 0;
84307 _ACEOF
84308 rm -f conftest.$ac_objext
84309 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84310 (eval $ac_compile) 2>conftest.er1
84311 ac_status=$?
84312 grep -v '^ *+' conftest.er1 >conftest.err
84313 rm -f conftest.er1
84314 cat conftest.err >&5
84315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84316 (exit $ac_status); } &&
84317 { ac_try='test -z "$ac_cxx_werror_flag"
84318 || test ! -s conftest.err'
84319 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84320 (eval $ac_try) 2>&5
84321 ac_status=$?
84322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84323 (exit $ac_status); }; } &&
84324 { ac_try='test -s conftest.$ac_objext'
84325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84326 (eval $ac_try) 2>&5
84327 ac_status=$?
84328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84329 (exit $ac_status); }; }; then
84330 glibcxx_cv_func_ldexpf_use=yes
84331 else
84332 echo "$as_me: failed program was:" >&5
84333 sed 's/^/| /' conftest.$ac_ext >&5
84335 glibcxx_cv_func_ldexpf_use=no
84337 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84338 ac_ext=c
84339 ac_cpp='$CPP $CPPFLAGS'
84340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84348 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
84349 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
84351 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
84353 for ac_func in ldexpf
84355 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84356 echo "$as_me:$LINENO: checking for $ac_func" >&5
84357 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84358 if eval "test \"\${$as_ac_var+set}\" = set"; then
84359 echo $ECHO_N "(cached) $ECHO_C" >&6
84360 else
84361 if test x$gcc_no_link = xyes; then
84362 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84363 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84364 { (exit 1); exit 1; }; }
84366 cat >conftest.$ac_ext <<_ACEOF
84367 /* confdefs.h. */
84368 _ACEOF
84369 cat confdefs.h >>conftest.$ac_ext
84370 cat >>conftest.$ac_ext <<_ACEOF
84371 /* end confdefs.h. */
84372 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84373 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84374 #define $ac_func innocuous_$ac_func
84376 /* System header to define __stub macros and hopefully few prototypes,
84377 which can conflict with char $ac_func (); below.
84378 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84379 <limits.h> exists even on freestanding compilers. */
84381 #ifdef __STDC__
84382 # include <limits.h>
84383 #else
84384 # include <assert.h>
84385 #endif
84387 #undef $ac_func
84389 /* Override any gcc2 internal prototype to avoid an error. */
84390 #ifdef __cplusplus
84391 extern "C"
84393 #endif
84394 /* We use char because int might match the return type of a gcc2
84395 builtin and then its argument prototype would still apply. */
84396 char $ac_func ();
84397 /* The GNU C library defines this for functions which it implements
84398 to always fail with ENOSYS. Some functions are actually named
84399 something starting with __ and the normal name is an alias. */
84400 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84401 choke me
84402 #else
84403 char (*f) () = $ac_func;
84404 #endif
84405 #ifdef __cplusplus
84407 #endif
84410 main ()
84412 return f != $ac_func;
84414 return 0;
84416 _ACEOF
84417 rm -f conftest.$ac_objext conftest$ac_exeext
84418 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84419 (eval $ac_link) 2>conftest.er1
84420 ac_status=$?
84421 grep -v '^ *+' conftest.er1 >conftest.err
84422 rm -f conftest.er1
84423 cat conftest.err >&5
84424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84425 (exit $ac_status); } &&
84426 { ac_try='test -z "$ac_c_werror_flag"
84427 || test ! -s conftest.err'
84428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84429 (eval $ac_try) 2>&5
84430 ac_status=$?
84431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84432 (exit $ac_status); }; } &&
84433 { ac_try='test -s conftest$ac_exeext'
84434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84435 (eval $ac_try) 2>&5
84436 ac_status=$?
84437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84438 (exit $ac_status); }; }; then
84439 eval "$as_ac_var=yes"
84440 else
84441 echo "$as_me: failed program was:" >&5
84442 sed 's/^/| /' conftest.$ac_ext >&5
84444 eval "$as_ac_var=no"
84446 rm -f conftest.err conftest.$ac_objext \
84447 conftest$ac_exeext conftest.$ac_ext
84449 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84450 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84451 if test `eval echo '${'$as_ac_var'}'` = yes; then
84452 cat >>confdefs.h <<_ACEOF
84453 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84454 _ACEOF
84457 done
84459 else
84461 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
84462 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
84463 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
84464 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
84465 echo $ECHO_N "(cached) $ECHO_C" >&6
84466 else
84470 ac_ext=cc
84471 ac_cpp='$CXXCPP $CPPFLAGS'
84472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84476 cat >conftest.$ac_ext <<_ACEOF
84477 /* confdefs.h. */
84478 _ACEOF
84479 cat confdefs.h >>conftest.$ac_ext
84480 cat >>conftest.$ac_ext <<_ACEOF
84481 /* end confdefs.h. */
84482 #include <math.h>
84484 main ()
84486 _ldexpf(0, 0);
84488 return 0;
84490 _ACEOF
84491 rm -f conftest.$ac_objext
84492 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84493 (eval $ac_compile) 2>conftest.er1
84494 ac_status=$?
84495 grep -v '^ *+' conftest.er1 >conftest.err
84496 rm -f conftest.er1
84497 cat conftest.err >&5
84498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84499 (exit $ac_status); } &&
84500 { ac_try='test -z "$ac_cxx_werror_flag"
84501 || test ! -s conftest.err'
84502 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84503 (eval $ac_try) 2>&5
84504 ac_status=$?
84505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84506 (exit $ac_status); }; } &&
84507 { ac_try='test -s conftest.$ac_objext'
84508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84509 (eval $ac_try) 2>&5
84510 ac_status=$?
84511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84512 (exit $ac_status); }; }; then
84513 glibcxx_cv_func__ldexpf_use=yes
84514 else
84515 echo "$as_me: failed program was:" >&5
84516 sed 's/^/| /' conftest.$ac_ext >&5
84518 glibcxx_cv_func__ldexpf_use=no
84520 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84521 ac_ext=c
84522 ac_cpp='$CPP $CPPFLAGS'
84523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84531 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
84532 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
84534 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
84536 for ac_func in _ldexpf
84538 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84539 echo "$as_me:$LINENO: checking for $ac_func" >&5
84540 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84541 if eval "test \"\${$as_ac_var+set}\" = set"; then
84542 echo $ECHO_N "(cached) $ECHO_C" >&6
84543 else
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. */
84555 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84556 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84557 #define $ac_func innocuous_$ac_func
84559 /* System header to define __stub macros and hopefully few prototypes,
84560 which can conflict with char $ac_func (); below.
84561 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84562 <limits.h> exists even on freestanding compilers. */
84564 #ifdef __STDC__
84565 # include <limits.h>
84566 #else
84567 # include <assert.h>
84568 #endif
84570 #undef $ac_func
84572 /* Override any gcc2 internal prototype to avoid an error. */
84573 #ifdef __cplusplus
84574 extern "C"
84576 #endif
84577 /* We use char because int might match the return type of a gcc2
84578 builtin and then its argument prototype would still apply. */
84579 char $ac_func ();
84580 /* The GNU C library defines this for functions which it implements
84581 to always fail with ENOSYS. Some functions are actually named
84582 something starting with __ and the normal name is an alias. */
84583 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84584 choke me
84585 #else
84586 char (*f) () = $ac_func;
84587 #endif
84588 #ifdef __cplusplus
84590 #endif
84593 main ()
84595 return f != $ac_func;
84597 return 0;
84599 _ACEOF
84600 rm -f conftest.$ac_objext conftest$ac_exeext
84601 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84602 (eval $ac_link) 2>conftest.er1
84603 ac_status=$?
84604 grep -v '^ *+' conftest.er1 >conftest.err
84605 rm -f conftest.er1
84606 cat conftest.err >&5
84607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84608 (exit $ac_status); } &&
84609 { ac_try='test -z "$ac_c_werror_flag"
84610 || test ! -s conftest.err'
84611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84612 (eval $ac_try) 2>&5
84613 ac_status=$?
84614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84615 (exit $ac_status); }; } &&
84616 { ac_try='test -s conftest$ac_exeext'
84617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84618 (eval $ac_try) 2>&5
84619 ac_status=$?
84620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84621 (exit $ac_status); }; }; then
84622 eval "$as_ac_var=yes"
84623 else
84624 echo "$as_me: failed program was:" >&5
84625 sed 's/^/| /' conftest.$ac_ext >&5
84627 eval "$as_ac_var=no"
84629 rm -f conftest.err conftest.$ac_objext \
84630 conftest$ac_exeext conftest.$ac_ext
84632 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84633 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84634 if test `eval echo '${'$as_ac_var'}'` = yes; then
84635 cat >>confdefs.h <<_ACEOF
84636 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84637 _ACEOF
84640 done
84650 echo "$as_me:$LINENO: checking for logf declaration" >&5
84651 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
84652 if test x${glibcxx_cv_func_logf_use+set} != xset; then
84653 if test "${glibcxx_cv_func_logf_use+set}" = set; then
84654 echo $ECHO_N "(cached) $ECHO_C" >&6
84655 else
84659 ac_ext=cc
84660 ac_cpp='$CXXCPP $CPPFLAGS'
84661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84665 cat >conftest.$ac_ext <<_ACEOF
84666 /* confdefs.h. */
84667 _ACEOF
84668 cat confdefs.h >>conftest.$ac_ext
84669 cat >>conftest.$ac_ext <<_ACEOF
84670 /* end confdefs.h. */
84671 #include <math.h>
84672 #ifdef HAVE_IEEEFP_H
84673 #include <ieeefp.h>
84674 #endif
84677 main ()
84679 logf(0);
84681 return 0;
84683 _ACEOF
84684 rm -f conftest.$ac_objext
84685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84686 (eval $ac_compile) 2>conftest.er1
84687 ac_status=$?
84688 grep -v '^ *+' conftest.er1 >conftest.err
84689 rm -f conftest.er1
84690 cat conftest.err >&5
84691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84692 (exit $ac_status); } &&
84693 { ac_try='test -z "$ac_cxx_werror_flag"
84694 || test ! -s conftest.err'
84695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84696 (eval $ac_try) 2>&5
84697 ac_status=$?
84698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84699 (exit $ac_status); }; } &&
84700 { ac_try='test -s conftest.$ac_objext'
84701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84702 (eval $ac_try) 2>&5
84703 ac_status=$?
84704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84705 (exit $ac_status); }; }; then
84706 glibcxx_cv_func_logf_use=yes
84707 else
84708 echo "$as_me: failed program was:" >&5
84709 sed 's/^/| /' conftest.$ac_ext >&5
84711 glibcxx_cv_func_logf_use=no
84713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84714 ac_ext=c
84715 ac_cpp='$CPP $CPPFLAGS'
84716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84724 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
84725 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
84727 if test x$glibcxx_cv_func_logf_use = x"yes"; then
84729 for ac_func in logf
84731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84732 echo "$as_me:$LINENO: checking for $ac_func" >&5
84733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84734 if eval "test \"\${$as_ac_var+set}\" = set"; then
84735 echo $ECHO_N "(cached) $ECHO_C" >&6
84736 else
84737 if test x$gcc_no_link = xyes; then
84738 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84739 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84740 { (exit 1); exit 1; }; }
84742 cat >conftest.$ac_ext <<_ACEOF
84743 /* confdefs.h. */
84744 _ACEOF
84745 cat confdefs.h >>conftest.$ac_ext
84746 cat >>conftest.$ac_ext <<_ACEOF
84747 /* end confdefs.h. */
84748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84750 #define $ac_func innocuous_$ac_func
84752 /* System header to define __stub macros and hopefully few prototypes,
84753 which can conflict with char $ac_func (); below.
84754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84755 <limits.h> exists even on freestanding compilers. */
84757 #ifdef __STDC__
84758 # include <limits.h>
84759 #else
84760 # include <assert.h>
84761 #endif
84763 #undef $ac_func
84765 /* Override any gcc2 internal prototype to avoid an error. */
84766 #ifdef __cplusplus
84767 extern "C"
84769 #endif
84770 /* We use char because int might match the return type of a gcc2
84771 builtin and then its argument prototype would still apply. */
84772 char $ac_func ();
84773 /* The GNU C library defines this for functions which it implements
84774 to always fail with ENOSYS. Some functions are actually named
84775 something starting with __ and the normal name is an alias. */
84776 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84777 choke me
84778 #else
84779 char (*f) () = $ac_func;
84780 #endif
84781 #ifdef __cplusplus
84783 #endif
84786 main ()
84788 return f != $ac_func;
84790 return 0;
84792 _ACEOF
84793 rm -f conftest.$ac_objext conftest$ac_exeext
84794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84795 (eval $ac_link) 2>conftest.er1
84796 ac_status=$?
84797 grep -v '^ *+' conftest.er1 >conftest.err
84798 rm -f conftest.er1
84799 cat conftest.err >&5
84800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84801 (exit $ac_status); } &&
84802 { ac_try='test -z "$ac_c_werror_flag"
84803 || test ! -s conftest.err'
84804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84805 (eval $ac_try) 2>&5
84806 ac_status=$?
84807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84808 (exit $ac_status); }; } &&
84809 { ac_try='test -s conftest$ac_exeext'
84810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84811 (eval $ac_try) 2>&5
84812 ac_status=$?
84813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84814 (exit $ac_status); }; }; then
84815 eval "$as_ac_var=yes"
84816 else
84817 echo "$as_me: failed program was:" >&5
84818 sed 's/^/| /' conftest.$ac_ext >&5
84820 eval "$as_ac_var=no"
84822 rm -f conftest.err conftest.$ac_objext \
84823 conftest$ac_exeext conftest.$ac_ext
84825 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
84826 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
84827 if test `eval echo '${'$as_ac_var'}'` = yes; then
84828 cat >>confdefs.h <<_ACEOF
84829 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
84830 _ACEOF
84833 done
84835 else
84837 echo "$as_me:$LINENO: checking for _logf declaration" >&5
84838 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
84839 if test x${glibcxx_cv_func__logf_use+set} != xset; then
84840 if test "${glibcxx_cv_func__logf_use+set}" = set; then
84841 echo $ECHO_N "(cached) $ECHO_C" >&6
84842 else
84846 ac_ext=cc
84847 ac_cpp='$CXXCPP $CPPFLAGS'
84848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
84852 cat >conftest.$ac_ext <<_ACEOF
84853 /* confdefs.h. */
84854 _ACEOF
84855 cat confdefs.h >>conftest.$ac_ext
84856 cat >>conftest.$ac_ext <<_ACEOF
84857 /* end confdefs.h. */
84858 #include <math.h>
84859 #ifdef HAVE_IEEEFP_H
84860 #include <ieeefp.h>
84861 #endif
84864 main ()
84866 _logf(0);
84868 return 0;
84870 _ACEOF
84871 rm -f conftest.$ac_objext
84872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
84873 (eval $ac_compile) 2>conftest.er1
84874 ac_status=$?
84875 grep -v '^ *+' conftest.er1 >conftest.err
84876 rm -f conftest.er1
84877 cat conftest.err >&5
84878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84879 (exit $ac_status); } &&
84880 { ac_try='test -z "$ac_cxx_werror_flag"
84881 || test ! -s conftest.err'
84882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84883 (eval $ac_try) 2>&5
84884 ac_status=$?
84885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84886 (exit $ac_status); }; } &&
84887 { ac_try='test -s conftest.$ac_objext'
84888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84889 (eval $ac_try) 2>&5
84890 ac_status=$?
84891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84892 (exit $ac_status); }; }; then
84893 glibcxx_cv_func__logf_use=yes
84894 else
84895 echo "$as_me: failed program was:" >&5
84896 sed 's/^/| /' conftest.$ac_ext >&5
84898 glibcxx_cv_func__logf_use=no
84900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
84901 ac_ext=c
84902 ac_cpp='$CPP $CPPFLAGS'
84903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
84904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
84905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
84911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
84912 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
84914 if test x$glibcxx_cv_func__logf_use = x"yes"; then
84916 for ac_func in _logf
84918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
84919 echo "$as_me:$LINENO: checking for $ac_func" >&5
84920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
84921 if eval "test \"\${$as_ac_var+set}\" = set"; then
84922 echo $ECHO_N "(cached) $ECHO_C" >&6
84923 else
84924 if test x$gcc_no_link = xyes; then
84925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
84926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
84927 { (exit 1); exit 1; }; }
84929 cat >conftest.$ac_ext <<_ACEOF
84930 /* confdefs.h. */
84931 _ACEOF
84932 cat confdefs.h >>conftest.$ac_ext
84933 cat >>conftest.$ac_ext <<_ACEOF
84934 /* end confdefs.h. */
84935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
84936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
84937 #define $ac_func innocuous_$ac_func
84939 /* System header to define __stub macros and hopefully few prototypes,
84940 which can conflict with char $ac_func (); below.
84941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
84942 <limits.h> exists even on freestanding compilers. */
84944 #ifdef __STDC__
84945 # include <limits.h>
84946 #else
84947 # include <assert.h>
84948 #endif
84950 #undef $ac_func
84952 /* Override any gcc2 internal prototype to avoid an error. */
84953 #ifdef __cplusplus
84954 extern "C"
84956 #endif
84957 /* We use char because int might match the return type of a gcc2
84958 builtin and then its argument prototype would still apply. */
84959 char $ac_func ();
84960 /* The GNU C library defines this for functions which it implements
84961 to always fail with ENOSYS. Some functions are actually named
84962 something starting with __ and the normal name is an alias. */
84963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
84964 choke me
84965 #else
84966 char (*f) () = $ac_func;
84967 #endif
84968 #ifdef __cplusplus
84970 #endif
84973 main ()
84975 return f != $ac_func;
84977 return 0;
84979 _ACEOF
84980 rm -f conftest.$ac_objext conftest$ac_exeext
84981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
84982 (eval $ac_link) 2>conftest.er1
84983 ac_status=$?
84984 grep -v '^ *+' conftest.er1 >conftest.err
84985 rm -f conftest.er1
84986 cat conftest.err >&5
84987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84988 (exit $ac_status); } &&
84989 { ac_try='test -z "$ac_c_werror_flag"
84990 || test ! -s conftest.err'
84991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84992 (eval $ac_try) 2>&5
84993 ac_status=$?
84994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
84995 (exit $ac_status); }; } &&
84996 { ac_try='test -s conftest$ac_exeext'
84997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
84998 (eval $ac_try) 2>&5
84999 ac_status=$?
85000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85001 (exit $ac_status); }; }; then
85002 eval "$as_ac_var=yes"
85003 else
85004 echo "$as_me: failed program was:" >&5
85005 sed 's/^/| /' conftest.$ac_ext >&5
85007 eval "$as_ac_var=no"
85009 rm -f conftest.err conftest.$ac_objext \
85010 conftest$ac_exeext conftest.$ac_ext
85012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85014 if test `eval echo '${'$as_ac_var'}'` = yes; then
85015 cat >>confdefs.h <<_ACEOF
85016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85017 _ACEOF
85020 done
85030 echo "$as_me:$LINENO: checking for log10f declaration" >&5
85031 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
85032 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
85033 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
85034 echo $ECHO_N "(cached) $ECHO_C" >&6
85035 else
85039 ac_ext=cc
85040 ac_cpp='$CXXCPP $CPPFLAGS'
85041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85045 cat >conftest.$ac_ext <<_ACEOF
85046 /* confdefs.h. */
85047 _ACEOF
85048 cat confdefs.h >>conftest.$ac_ext
85049 cat >>conftest.$ac_ext <<_ACEOF
85050 /* end confdefs.h. */
85051 #include <math.h>
85052 #ifdef HAVE_IEEEFP_H
85053 #include <ieeefp.h>
85054 #endif
85057 main ()
85059 log10f(0);
85061 return 0;
85063 _ACEOF
85064 rm -f conftest.$ac_objext
85065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85066 (eval $ac_compile) 2>conftest.er1
85067 ac_status=$?
85068 grep -v '^ *+' conftest.er1 >conftest.err
85069 rm -f conftest.er1
85070 cat conftest.err >&5
85071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85072 (exit $ac_status); } &&
85073 { ac_try='test -z "$ac_cxx_werror_flag"
85074 || test ! -s conftest.err'
85075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85076 (eval $ac_try) 2>&5
85077 ac_status=$?
85078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85079 (exit $ac_status); }; } &&
85080 { ac_try='test -s conftest.$ac_objext'
85081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85082 (eval $ac_try) 2>&5
85083 ac_status=$?
85084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85085 (exit $ac_status); }; }; then
85086 glibcxx_cv_func_log10f_use=yes
85087 else
85088 echo "$as_me: failed program was:" >&5
85089 sed 's/^/| /' conftest.$ac_ext >&5
85091 glibcxx_cv_func_log10f_use=no
85093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85094 ac_ext=c
85095 ac_cpp='$CPP $CPPFLAGS'
85096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
85105 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
85107 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
85109 for ac_func in log10f
85111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85112 echo "$as_me:$LINENO: checking for $ac_func" >&5
85113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85114 if eval "test \"\${$as_ac_var+set}\" = set"; then
85115 echo $ECHO_N "(cached) $ECHO_C" >&6
85116 else
85117 if test x$gcc_no_link = xyes; then
85118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85120 { (exit 1); exit 1; }; }
85122 cat >conftest.$ac_ext <<_ACEOF
85123 /* confdefs.h. */
85124 _ACEOF
85125 cat confdefs.h >>conftest.$ac_ext
85126 cat >>conftest.$ac_ext <<_ACEOF
85127 /* end confdefs.h. */
85128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85130 #define $ac_func innocuous_$ac_func
85132 /* System header to define __stub macros and hopefully few prototypes,
85133 which can conflict with char $ac_func (); below.
85134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85135 <limits.h> exists even on freestanding compilers. */
85137 #ifdef __STDC__
85138 # include <limits.h>
85139 #else
85140 # include <assert.h>
85141 #endif
85143 #undef $ac_func
85145 /* Override any gcc2 internal prototype to avoid an error. */
85146 #ifdef __cplusplus
85147 extern "C"
85149 #endif
85150 /* We use char because int might match the return type of a gcc2
85151 builtin and then its argument prototype would still apply. */
85152 char $ac_func ();
85153 /* The GNU C library defines this for functions which it implements
85154 to always fail with ENOSYS. Some functions are actually named
85155 something starting with __ and the normal name is an alias. */
85156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85157 choke me
85158 #else
85159 char (*f) () = $ac_func;
85160 #endif
85161 #ifdef __cplusplus
85163 #endif
85166 main ()
85168 return f != $ac_func;
85170 return 0;
85172 _ACEOF
85173 rm -f conftest.$ac_objext conftest$ac_exeext
85174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85175 (eval $ac_link) 2>conftest.er1
85176 ac_status=$?
85177 grep -v '^ *+' conftest.er1 >conftest.err
85178 rm -f conftest.er1
85179 cat conftest.err >&5
85180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85181 (exit $ac_status); } &&
85182 { ac_try='test -z "$ac_c_werror_flag"
85183 || test ! -s conftest.err'
85184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85185 (eval $ac_try) 2>&5
85186 ac_status=$?
85187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85188 (exit $ac_status); }; } &&
85189 { ac_try='test -s conftest$ac_exeext'
85190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85191 (eval $ac_try) 2>&5
85192 ac_status=$?
85193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85194 (exit $ac_status); }; }; then
85195 eval "$as_ac_var=yes"
85196 else
85197 echo "$as_me: failed program was:" >&5
85198 sed 's/^/| /' conftest.$ac_ext >&5
85200 eval "$as_ac_var=no"
85202 rm -f conftest.err conftest.$ac_objext \
85203 conftest$ac_exeext conftest.$ac_ext
85205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85207 if test `eval echo '${'$as_ac_var'}'` = yes; then
85208 cat >>confdefs.h <<_ACEOF
85209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85210 _ACEOF
85213 done
85215 else
85217 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
85218 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
85219 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
85220 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
85221 echo $ECHO_N "(cached) $ECHO_C" >&6
85222 else
85226 ac_ext=cc
85227 ac_cpp='$CXXCPP $CPPFLAGS'
85228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85232 cat >conftest.$ac_ext <<_ACEOF
85233 /* confdefs.h. */
85234 _ACEOF
85235 cat confdefs.h >>conftest.$ac_ext
85236 cat >>conftest.$ac_ext <<_ACEOF
85237 /* end confdefs.h. */
85238 #include <math.h>
85239 #ifdef HAVE_IEEEFP_H
85240 #include <ieeefp.h>
85241 #endif
85244 main ()
85246 _log10f(0);
85248 return 0;
85250 _ACEOF
85251 rm -f conftest.$ac_objext
85252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85253 (eval $ac_compile) 2>conftest.er1
85254 ac_status=$?
85255 grep -v '^ *+' conftest.er1 >conftest.err
85256 rm -f conftest.er1
85257 cat conftest.err >&5
85258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85259 (exit $ac_status); } &&
85260 { ac_try='test -z "$ac_cxx_werror_flag"
85261 || test ! -s conftest.err'
85262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85263 (eval $ac_try) 2>&5
85264 ac_status=$?
85265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85266 (exit $ac_status); }; } &&
85267 { ac_try='test -s conftest.$ac_objext'
85268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85269 (eval $ac_try) 2>&5
85270 ac_status=$?
85271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85272 (exit $ac_status); }; }; then
85273 glibcxx_cv_func__log10f_use=yes
85274 else
85275 echo "$as_me: failed program was:" >&5
85276 sed 's/^/| /' conftest.$ac_ext >&5
85278 glibcxx_cv_func__log10f_use=no
85280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85281 ac_ext=c
85282 ac_cpp='$CPP $CPPFLAGS'
85283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
85292 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
85294 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
85296 for ac_func in _log10f
85298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85299 echo "$as_me:$LINENO: checking for $ac_func" >&5
85300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85301 if eval "test \"\${$as_ac_var+set}\" = set"; then
85302 echo $ECHO_N "(cached) $ECHO_C" >&6
85303 else
85304 if test x$gcc_no_link = xyes; then
85305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85307 { (exit 1); exit 1; }; }
85309 cat >conftest.$ac_ext <<_ACEOF
85310 /* confdefs.h. */
85311 _ACEOF
85312 cat confdefs.h >>conftest.$ac_ext
85313 cat >>conftest.$ac_ext <<_ACEOF
85314 /* end confdefs.h. */
85315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85317 #define $ac_func innocuous_$ac_func
85319 /* System header to define __stub macros and hopefully few prototypes,
85320 which can conflict with char $ac_func (); below.
85321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85322 <limits.h> exists even on freestanding compilers. */
85324 #ifdef __STDC__
85325 # include <limits.h>
85326 #else
85327 # include <assert.h>
85328 #endif
85330 #undef $ac_func
85332 /* Override any gcc2 internal prototype to avoid an error. */
85333 #ifdef __cplusplus
85334 extern "C"
85336 #endif
85337 /* We use char because int might match the return type of a gcc2
85338 builtin and then its argument prototype would still apply. */
85339 char $ac_func ();
85340 /* The GNU C library defines this for functions which it implements
85341 to always fail with ENOSYS. Some functions are actually named
85342 something starting with __ and the normal name is an alias. */
85343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85344 choke me
85345 #else
85346 char (*f) () = $ac_func;
85347 #endif
85348 #ifdef __cplusplus
85350 #endif
85353 main ()
85355 return f != $ac_func;
85357 return 0;
85359 _ACEOF
85360 rm -f conftest.$ac_objext conftest$ac_exeext
85361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85362 (eval $ac_link) 2>conftest.er1
85363 ac_status=$?
85364 grep -v '^ *+' conftest.er1 >conftest.err
85365 rm -f conftest.er1
85366 cat conftest.err >&5
85367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85368 (exit $ac_status); } &&
85369 { ac_try='test -z "$ac_c_werror_flag"
85370 || test ! -s conftest.err'
85371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85372 (eval $ac_try) 2>&5
85373 ac_status=$?
85374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85375 (exit $ac_status); }; } &&
85376 { ac_try='test -s conftest$ac_exeext'
85377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85378 (eval $ac_try) 2>&5
85379 ac_status=$?
85380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85381 (exit $ac_status); }; }; then
85382 eval "$as_ac_var=yes"
85383 else
85384 echo "$as_me: failed program was:" >&5
85385 sed 's/^/| /' conftest.$ac_ext >&5
85387 eval "$as_ac_var=no"
85389 rm -f conftest.err conftest.$ac_objext \
85390 conftest$ac_exeext conftest.$ac_ext
85392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85394 if test `eval echo '${'$as_ac_var'}'` = yes; then
85395 cat >>confdefs.h <<_ACEOF
85396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85397 _ACEOF
85400 done
85410 echo "$as_me:$LINENO: checking for modff declaration" >&5
85411 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
85412 if test x${glibcxx_cv_func_modff_use+set} != xset; then
85413 if test "${glibcxx_cv_func_modff_use+set}" = set; then
85414 echo $ECHO_N "(cached) $ECHO_C" >&6
85415 else
85419 ac_ext=cc
85420 ac_cpp='$CXXCPP $CPPFLAGS'
85421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85425 cat >conftest.$ac_ext <<_ACEOF
85426 /* confdefs.h. */
85427 _ACEOF
85428 cat confdefs.h >>conftest.$ac_ext
85429 cat >>conftest.$ac_ext <<_ACEOF
85430 /* end confdefs.h. */
85431 #include <math.h>
85433 main ()
85435 modff(0, 0);
85437 return 0;
85439 _ACEOF
85440 rm -f conftest.$ac_objext
85441 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85442 (eval $ac_compile) 2>conftest.er1
85443 ac_status=$?
85444 grep -v '^ *+' conftest.er1 >conftest.err
85445 rm -f conftest.er1
85446 cat conftest.err >&5
85447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85448 (exit $ac_status); } &&
85449 { ac_try='test -z "$ac_cxx_werror_flag"
85450 || test ! -s conftest.err'
85451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85452 (eval $ac_try) 2>&5
85453 ac_status=$?
85454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85455 (exit $ac_status); }; } &&
85456 { ac_try='test -s conftest.$ac_objext'
85457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85458 (eval $ac_try) 2>&5
85459 ac_status=$?
85460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85461 (exit $ac_status); }; }; then
85462 glibcxx_cv_func_modff_use=yes
85463 else
85464 echo "$as_me: failed program was:" >&5
85465 sed 's/^/| /' conftest.$ac_ext >&5
85467 glibcxx_cv_func_modff_use=no
85469 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85470 ac_ext=c
85471 ac_cpp='$CPP $CPPFLAGS'
85472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85480 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
85481 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
85483 if test x$glibcxx_cv_func_modff_use = x"yes"; then
85485 for ac_func in modff
85487 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85488 echo "$as_me:$LINENO: checking for $ac_func" >&5
85489 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85490 if eval "test \"\${$as_ac_var+set}\" = set"; then
85491 echo $ECHO_N "(cached) $ECHO_C" >&6
85492 else
85493 if test x$gcc_no_link = xyes; then
85494 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85495 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85496 { (exit 1); exit 1; }; }
85498 cat >conftest.$ac_ext <<_ACEOF
85499 /* confdefs.h. */
85500 _ACEOF
85501 cat confdefs.h >>conftest.$ac_ext
85502 cat >>conftest.$ac_ext <<_ACEOF
85503 /* end confdefs.h. */
85504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85506 #define $ac_func innocuous_$ac_func
85508 /* System header to define __stub macros and hopefully few prototypes,
85509 which can conflict with char $ac_func (); below.
85510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85511 <limits.h> exists even on freestanding compilers. */
85513 #ifdef __STDC__
85514 # include <limits.h>
85515 #else
85516 # include <assert.h>
85517 #endif
85519 #undef $ac_func
85521 /* Override any gcc2 internal prototype to avoid an error. */
85522 #ifdef __cplusplus
85523 extern "C"
85525 #endif
85526 /* We use char because int might match the return type of a gcc2
85527 builtin and then its argument prototype would still apply. */
85528 char $ac_func ();
85529 /* The GNU C library defines this for functions which it implements
85530 to always fail with ENOSYS. Some functions are actually named
85531 something starting with __ and the normal name is an alias. */
85532 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85533 choke me
85534 #else
85535 char (*f) () = $ac_func;
85536 #endif
85537 #ifdef __cplusplus
85539 #endif
85542 main ()
85544 return f != $ac_func;
85546 return 0;
85548 _ACEOF
85549 rm -f conftest.$ac_objext conftest$ac_exeext
85550 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85551 (eval $ac_link) 2>conftest.er1
85552 ac_status=$?
85553 grep -v '^ *+' conftest.er1 >conftest.err
85554 rm -f conftest.er1
85555 cat conftest.err >&5
85556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85557 (exit $ac_status); } &&
85558 { ac_try='test -z "$ac_c_werror_flag"
85559 || test ! -s conftest.err'
85560 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85561 (eval $ac_try) 2>&5
85562 ac_status=$?
85563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85564 (exit $ac_status); }; } &&
85565 { ac_try='test -s conftest$ac_exeext'
85566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85567 (eval $ac_try) 2>&5
85568 ac_status=$?
85569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85570 (exit $ac_status); }; }; then
85571 eval "$as_ac_var=yes"
85572 else
85573 echo "$as_me: failed program was:" >&5
85574 sed 's/^/| /' conftest.$ac_ext >&5
85576 eval "$as_ac_var=no"
85578 rm -f conftest.err conftest.$ac_objext \
85579 conftest$ac_exeext conftest.$ac_ext
85581 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85582 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85583 if test `eval echo '${'$as_ac_var'}'` = yes; then
85584 cat >>confdefs.h <<_ACEOF
85585 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85586 _ACEOF
85589 done
85591 else
85593 echo "$as_me:$LINENO: checking for _modff declaration" >&5
85594 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
85595 if test x${glibcxx_cv_func__modff_use+set} != xset; then
85596 if test "${glibcxx_cv_func__modff_use+set}" = set; then
85597 echo $ECHO_N "(cached) $ECHO_C" >&6
85598 else
85602 ac_ext=cc
85603 ac_cpp='$CXXCPP $CPPFLAGS'
85604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85608 cat >conftest.$ac_ext <<_ACEOF
85609 /* confdefs.h. */
85610 _ACEOF
85611 cat confdefs.h >>conftest.$ac_ext
85612 cat >>conftest.$ac_ext <<_ACEOF
85613 /* end confdefs.h. */
85614 #include <math.h>
85616 main ()
85618 _modff(0, 0);
85620 return 0;
85622 _ACEOF
85623 rm -f conftest.$ac_objext
85624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85625 (eval $ac_compile) 2>conftest.er1
85626 ac_status=$?
85627 grep -v '^ *+' conftest.er1 >conftest.err
85628 rm -f conftest.er1
85629 cat conftest.err >&5
85630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85631 (exit $ac_status); } &&
85632 { ac_try='test -z "$ac_cxx_werror_flag"
85633 || test ! -s conftest.err'
85634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85635 (eval $ac_try) 2>&5
85636 ac_status=$?
85637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85638 (exit $ac_status); }; } &&
85639 { ac_try='test -s conftest.$ac_objext'
85640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85641 (eval $ac_try) 2>&5
85642 ac_status=$?
85643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85644 (exit $ac_status); }; }; then
85645 glibcxx_cv_func__modff_use=yes
85646 else
85647 echo "$as_me: failed program was:" >&5
85648 sed 's/^/| /' conftest.$ac_ext >&5
85650 glibcxx_cv_func__modff_use=no
85652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85653 ac_ext=c
85654 ac_cpp='$CPP $CPPFLAGS'
85655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
85664 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
85666 if test x$glibcxx_cv_func__modff_use = x"yes"; then
85668 for ac_func in _modff
85670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85671 echo "$as_me:$LINENO: checking for $ac_func" >&5
85672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85673 if eval "test \"\${$as_ac_var+set}\" = set"; then
85674 echo $ECHO_N "(cached) $ECHO_C" >&6
85675 else
85676 if test x$gcc_no_link = xyes; then
85677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85679 { (exit 1); exit 1; }; }
85681 cat >conftest.$ac_ext <<_ACEOF
85682 /* confdefs.h. */
85683 _ACEOF
85684 cat confdefs.h >>conftest.$ac_ext
85685 cat >>conftest.$ac_ext <<_ACEOF
85686 /* end confdefs.h. */
85687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85689 #define $ac_func innocuous_$ac_func
85691 /* System header to define __stub macros and hopefully few prototypes,
85692 which can conflict with char $ac_func (); below.
85693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85694 <limits.h> exists even on freestanding compilers. */
85696 #ifdef __STDC__
85697 # include <limits.h>
85698 #else
85699 # include <assert.h>
85700 #endif
85702 #undef $ac_func
85704 /* Override any gcc2 internal prototype to avoid an error. */
85705 #ifdef __cplusplus
85706 extern "C"
85708 #endif
85709 /* We use char because int might match the return type of a gcc2
85710 builtin and then its argument prototype would still apply. */
85711 char $ac_func ();
85712 /* The GNU C library defines this for functions which it implements
85713 to always fail with ENOSYS. Some functions are actually named
85714 something starting with __ and the normal name is an alias. */
85715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85716 choke me
85717 #else
85718 char (*f) () = $ac_func;
85719 #endif
85720 #ifdef __cplusplus
85722 #endif
85725 main ()
85727 return f != $ac_func;
85729 return 0;
85731 _ACEOF
85732 rm -f conftest.$ac_objext conftest$ac_exeext
85733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85734 (eval $ac_link) 2>conftest.er1
85735 ac_status=$?
85736 grep -v '^ *+' conftest.er1 >conftest.err
85737 rm -f conftest.er1
85738 cat conftest.err >&5
85739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85740 (exit $ac_status); } &&
85741 { ac_try='test -z "$ac_c_werror_flag"
85742 || test ! -s conftest.err'
85743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85744 (eval $ac_try) 2>&5
85745 ac_status=$?
85746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85747 (exit $ac_status); }; } &&
85748 { ac_try='test -s conftest$ac_exeext'
85749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85750 (eval $ac_try) 2>&5
85751 ac_status=$?
85752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85753 (exit $ac_status); }; }; then
85754 eval "$as_ac_var=yes"
85755 else
85756 echo "$as_me: failed program was:" >&5
85757 sed 's/^/| /' conftest.$ac_ext >&5
85759 eval "$as_ac_var=no"
85761 rm -f conftest.err conftest.$ac_objext \
85762 conftest$ac_exeext conftest.$ac_ext
85764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85766 if test `eval echo '${'$as_ac_var'}'` = yes; then
85767 cat >>confdefs.h <<_ACEOF
85768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85769 _ACEOF
85772 done
85782 echo "$as_me:$LINENO: checking for modf declaration" >&5
85783 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
85784 if test x${glibcxx_cv_func_modf_use+set} != xset; then
85785 if test "${glibcxx_cv_func_modf_use+set}" = set; then
85786 echo $ECHO_N "(cached) $ECHO_C" >&6
85787 else
85791 ac_ext=cc
85792 ac_cpp='$CXXCPP $CPPFLAGS'
85793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85797 cat >conftest.$ac_ext <<_ACEOF
85798 /* confdefs.h. */
85799 _ACEOF
85800 cat confdefs.h >>conftest.$ac_ext
85801 cat >>conftest.$ac_ext <<_ACEOF
85802 /* end confdefs.h. */
85803 #include <math.h>
85805 main ()
85807 modf(0, 0);
85809 return 0;
85811 _ACEOF
85812 rm -f conftest.$ac_objext
85813 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85814 (eval $ac_compile) 2>conftest.er1
85815 ac_status=$?
85816 grep -v '^ *+' conftest.er1 >conftest.err
85817 rm -f conftest.er1
85818 cat conftest.err >&5
85819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85820 (exit $ac_status); } &&
85821 { ac_try='test -z "$ac_cxx_werror_flag"
85822 || test ! -s conftest.err'
85823 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85824 (eval $ac_try) 2>&5
85825 ac_status=$?
85826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85827 (exit $ac_status); }; } &&
85828 { ac_try='test -s conftest.$ac_objext'
85829 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85830 (eval $ac_try) 2>&5
85831 ac_status=$?
85832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85833 (exit $ac_status); }; }; then
85834 glibcxx_cv_func_modf_use=yes
85835 else
85836 echo "$as_me: failed program was:" >&5
85837 sed 's/^/| /' conftest.$ac_ext >&5
85839 glibcxx_cv_func_modf_use=no
85841 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
85842 ac_ext=c
85843 ac_cpp='$CPP $CPPFLAGS'
85844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
85852 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
85853 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
85855 if test x$glibcxx_cv_func_modf_use = x"yes"; then
85857 for ac_func in modf
85859 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
85860 echo "$as_me:$LINENO: checking for $ac_func" >&5
85861 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
85862 if eval "test \"\${$as_ac_var+set}\" = set"; then
85863 echo $ECHO_N "(cached) $ECHO_C" >&6
85864 else
85865 if test x$gcc_no_link = xyes; then
85866 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
85867 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
85868 { (exit 1); exit 1; }; }
85870 cat >conftest.$ac_ext <<_ACEOF
85871 /* confdefs.h. */
85872 _ACEOF
85873 cat confdefs.h >>conftest.$ac_ext
85874 cat >>conftest.$ac_ext <<_ACEOF
85875 /* end confdefs.h. */
85876 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
85877 For example, HP-UX 11i <limits.h> declares gettimeofday. */
85878 #define $ac_func innocuous_$ac_func
85880 /* System header to define __stub macros and hopefully few prototypes,
85881 which can conflict with char $ac_func (); below.
85882 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
85883 <limits.h> exists even on freestanding compilers. */
85885 #ifdef __STDC__
85886 # include <limits.h>
85887 #else
85888 # include <assert.h>
85889 #endif
85891 #undef $ac_func
85893 /* Override any gcc2 internal prototype to avoid an error. */
85894 #ifdef __cplusplus
85895 extern "C"
85897 #endif
85898 /* We use char because int might match the return type of a gcc2
85899 builtin and then its argument prototype would still apply. */
85900 char $ac_func ();
85901 /* The GNU C library defines this for functions which it implements
85902 to always fail with ENOSYS. Some functions are actually named
85903 something starting with __ and the normal name is an alias. */
85904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
85905 choke me
85906 #else
85907 char (*f) () = $ac_func;
85908 #endif
85909 #ifdef __cplusplus
85911 #endif
85914 main ()
85916 return f != $ac_func;
85918 return 0;
85920 _ACEOF
85921 rm -f conftest.$ac_objext conftest$ac_exeext
85922 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
85923 (eval $ac_link) 2>conftest.er1
85924 ac_status=$?
85925 grep -v '^ *+' conftest.er1 >conftest.err
85926 rm -f conftest.er1
85927 cat conftest.err >&5
85928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85929 (exit $ac_status); } &&
85930 { ac_try='test -z "$ac_c_werror_flag"
85931 || test ! -s conftest.err'
85932 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85933 (eval $ac_try) 2>&5
85934 ac_status=$?
85935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85936 (exit $ac_status); }; } &&
85937 { ac_try='test -s conftest$ac_exeext'
85938 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
85939 (eval $ac_try) 2>&5
85940 ac_status=$?
85941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
85942 (exit $ac_status); }; }; then
85943 eval "$as_ac_var=yes"
85944 else
85945 echo "$as_me: failed program was:" >&5
85946 sed 's/^/| /' conftest.$ac_ext >&5
85948 eval "$as_ac_var=no"
85950 rm -f conftest.err conftest.$ac_objext \
85951 conftest$ac_exeext conftest.$ac_ext
85953 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
85954 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
85955 if test `eval echo '${'$as_ac_var'}'` = yes; then
85956 cat >>confdefs.h <<_ACEOF
85957 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
85958 _ACEOF
85961 done
85963 else
85965 echo "$as_me:$LINENO: checking for _modf declaration" >&5
85966 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
85967 if test x${glibcxx_cv_func__modf_use+set} != xset; then
85968 if test "${glibcxx_cv_func__modf_use+set}" = set; then
85969 echo $ECHO_N "(cached) $ECHO_C" >&6
85970 else
85974 ac_ext=cc
85975 ac_cpp='$CXXCPP $CPPFLAGS'
85976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
85980 cat >conftest.$ac_ext <<_ACEOF
85981 /* confdefs.h. */
85982 _ACEOF
85983 cat confdefs.h >>conftest.$ac_ext
85984 cat >>conftest.$ac_ext <<_ACEOF
85985 /* end confdefs.h. */
85986 #include <math.h>
85988 main ()
85990 _modf(0, 0);
85992 return 0;
85994 _ACEOF
85995 rm -f conftest.$ac_objext
85996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
85997 (eval $ac_compile) 2>conftest.er1
85998 ac_status=$?
85999 grep -v '^ *+' conftest.er1 >conftest.err
86000 rm -f conftest.er1
86001 cat conftest.err >&5
86002 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86003 (exit $ac_status); } &&
86004 { ac_try='test -z "$ac_cxx_werror_flag"
86005 || test ! -s conftest.err'
86006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86007 (eval $ac_try) 2>&5
86008 ac_status=$?
86009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86010 (exit $ac_status); }; } &&
86011 { ac_try='test -s conftest.$ac_objext'
86012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86013 (eval $ac_try) 2>&5
86014 ac_status=$?
86015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86016 (exit $ac_status); }; }; then
86017 glibcxx_cv_func__modf_use=yes
86018 else
86019 echo "$as_me: failed program was:" >&5
86020 sed 's/^/| /' conftest.$ac_ext >&5
86022 glibcxx_cv_func__modf_use=no
86024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86025 ac_ext=c
86026 ac_cpp='$CPP $CPPFLAGS'
86027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86035 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
86036 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
86038 if test x$glibcxx_cv_func__modf_use = x"yes"; then
86040 for ac_func in _modf
86042 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86043 echo "$as_me:$LINENO: checking for $ac_func" >&5
86044 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86045 if eval "test \"\${$as_ac_var+set}\" = set"; then
86046 echo $ECHO_N "(cached) $ECHO_C" >&6
86047 else
86048 if test x$gcc_no_link = xyes; then
86049 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86050 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86051 { (exit 1); exit 1; }; }
86053 cat >conftest.$ac_ext <<_ACEOF
86054 /* confdefs.h. */
86055 _ACEOF
86056 cat confdefs.h >>conftest.$ac_ext
86057 cat >>conftest.$ac_ext <<_ACEOF
86058 /* end confdefs.h. */
86059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86061 #define $ac_func innocuous_$ac_func
86063 /* System header to define __stub macros and hopefully few prototypes,
86064 which can conflict with char $ac_func (); below.
86065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86066 <limits.h> exists even on freestanding compilers. */
86068 #ifdef __STDC__
86069 # include <limits.h>
86070 #else
86071 # include <assert.h>
86072 #endif
86074 #undef $ac_func
86076 /* Override any gcc2 internal prototype to avoid an error. */
86077 #ifdef __cplusplus
86078 extern "C"
86080 #endif
86081 /* We use char because int might match the return type of a gcc2
86082 builtin and then its argument prototype would still apply. */
86083 char $ac_func ();
86084 /* The GNU C library defines this for functions which it implements
86085 to always fail with ENOSYS. Some functions are actually named
86086 something starting with __ and the normal name is an alias. */
86087 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86088 choke me
86089 #else
86090 char (*f) () = $ac_func;
86091 #endif
86092 #ifdef __cplusplus
86094 #endif
86097 main ()
86099 return f != $ac_func;
86101 return 0;
86103 _ACEOF
86104 rm -f conftest.$ac_objext conftest$ac_exeext
86105 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86106 (eval $ac_link) 2>conftest.er1
86107 ac_status=$?
86108 grep -v '^ *+' conftest.er1 >conftest.err
86109 rm -f conftest.er1
86110 cat conftest.err >&5
86111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86112 (exit $ac_status); } &&
86113 { ac_try='test -z "$ac_c_werror_flag"
86114 || test ! -s conftest.err'
86115 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86116 (eval $ac_try) 2>&5
86117 ac_status=$?
86118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86119 (exit $ac_status); }; } &&
86120 { ac_try='test -s conftest$ac_exeext'
86121 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86122 (eval $ac_try) 2>&5
86123 ac_status=$?
86124 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86125 (exit $ac_status); }; }; then
86126 eval "$as_ac_var=yes"
86127 else
86128 echo "$as_me: failed program was:" >&5
86129 sed 's/^/| /' conftest.$ac_ext >&5
86131 eval "$as_ac_var=no"
86133 rm -f conftest.err conftest.$ac_objext \
86134 conftest$ac_exeext conftest.$ac_ext
86136 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86137 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86138 if test `eval echo '${'$as_ac_var'}'` = yes; then
86139 cat >>confdefs.h <<_ACEOF
86140 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86141 _ACEOF
86144 done
86154 echo "$as_me:$LINENO: checking for powf declaration" >&5
86155 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
86156 if test x${glibcxx_cv_func_powf_use+set} != xset; then
86157 if test "${glibcxx_cv_func_powf_use+set}" = set; then
86158 echo $ECHO_N "(cached) $ECHO_C" >&6
86159 else
86163 ac_ext=cc
86164 ac_cpp='$CXXCPP $CPPFLAGS'
86165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86169 cat >conftest.$ac_ext <<_ACEOF
86170 /* confdefs.h. */
86171 _ACEOF
86172 cat confdefs.h >>conftest.$ac_ext
86173 cat >>conftest.$ac_ext <<_ACEOF
86174 /* end confdefs.h. */
86175 #include <math.h>
86177 main ()
86179 powf(0, 0);
86181 return 0;
86183 _ACEOF
86184 rm -f conftest.$ac_objext
86185 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86186 (eval $ac_compile) 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); } &&
86193 { ac_try='test -z "$ac_cxx_werror_flag"
86194 || test ! -s conftest.err'
86195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86196 (eval $ac_try) 2>&5
86197 ac_status=$?
86198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86199 (exit $ac_status); }; } &&
86200 { ac_try='test -s conftest.$ac_objext'
86201 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86202 (eval $ac_try) 2>&5
86203 ac_status=$?
86204 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86205 (exit $ac_status); }; }; then
86206 glibcxx_cv_func_powf_use=yes
86207 else
86208 echo "$as_me: failed program was:" >&5
86209 sed 's/^/| /' conftest.$ac_ext >&5
86211 glibcxx_cv_func_powf_use=no
86213 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86214 ac_ext=c
86215 ac_cpp='$CPP $CPPFLAGS'
86216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86224 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
86225 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
86227 if test x$glibcxx_cv_func_powf_use = x"yes"; then
86229 for ac_func in powf
86231 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86232 echo "$as_me:$LINENO: checking for $ac_func" >&5
86233 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86234 if eval "test \"\${$as_ac_var+set}\" = set"; then
86235 echo $ECHO_N "(cached) $ECHO_C" >&6
86236 else
86237 if test x$gcc_no_link = xyes; then
86238 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86239 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86240 { (exit 1); exit 1; }; }
86242 cat >conftest.$ac_ext <<_ACEOF
86243 /* confdefs.h. */
86244 _ACEOF
86245 cat confdefs.h >>conftest.$ac_ext
86246 cat >>conftest.$ac_ext <<_ACEOF
86247 /* end confdefs.h. */
86248 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86249 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86250 #define $ac_func innocuous_$ac_func
86252 /* System header to define __stub macros and hopefully few prototypes,
86253 which can conflict with char $ac_func (); below.
86254 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86255 <limits.h> exists even on freestanding compilers. */
86257 #ifdef __STDC__
86258 # include <limits.h>
86259 #else
86260 # include <assert.h>
86261 #endif
86263 #undef $ac_func
86265 /* Override any gcc2 internal prototype to avoid an error. */
86266 #ifdef __cplusplus
86267 extern "C"
86269 #endif
86270 /* We use char because int might match the return type of a gcc2
86271 builtin and then its argument prototype would still apply. */
86272 char $ac_func ();
86273 /* The GNU C library defines this for functions which it implements
86274 to always fail with ENOSYS. Some functions are actually named
86275 something starting with __ and the normal name is an alias. */
86276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86277 choke me
86278 #else
86279 char (*f) () = $ac_func;
86280 #endif
86281 #ifdef __cplusplus
86283 #endif
86286 main ()
86288 return f != $ac_func;
86290 return 0;
86292 _ACEOF
86293 rm -f conftest.$ac_objext conftest$ac_exeext
86294 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86295 (eval $ac_link) 2>conftest.er1
86296 ac_status=$?
86297 grep -v '^ *+' conftest.er1 >conftest.err
86298 rm -f conftest.er1
86299 cat conftest.err >&5
86300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86301 (exit $ac_status); } &&
86302 { ac_try='test -z "$ac_c_werror_flag"
86303 || test ! -s conftest.err'
86304 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86305 (eval $ac_try) 2>&5
86306 ac_status=$?
86307 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86308 (exit $ac_status); }; } &&
86309 { ac_try='test -s conftest$ac_exeext'
86310 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86311 (eval $ac_try) 2>&5
86312 ac_status=$?
86313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86314 (exit $ac_status); }; }; then
86315 eval "$as_ac_var=yes"
86316 else
86317 echo "$as_me: failed program was:" >&5
86318 sed 's/^/| /' conftest.$ac_ext >&5
86320 eval "$as_ac_var=no"
86322 rm -f conftest.err conftest.$ac_objext \
86323 conftest$ac_exeext conftest.$ac_ext
86325 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86326 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86327 if test `eval echo '${'$as_ac_var'}'` = yes; then
86328 cat >>confdefs.h <<_ACEOF
86329 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86330 _ACEOF
86333 done
86335 else
86337 echo "$as_me:$LINENO: checking for _powf declaration" >&5
86338 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
86339 if test x${glibcxx_cv_func__powf_use+set} != xset; then
86340 if test "${glibcxx_cv_func__powf_use+set}" = set; then
86341 echo $ECHO_N "(cached) $ECHO_C" >&6
86342 else
86346 ac_ext=cc
86347 ac_cpp='$CXXCPP $CPPFLAGS'
86348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86352 cat >conftest.$ac_ext <<_ACEOF
86353 /* confdefs.h. */
86354 _ACEOF
86355 cat confdefs.h >>conftest.$ac_ext
86356 cat >>conftest.$ac_ext <<_ACEOF
86357 /* end confdefs.h. */
86358 #include <math.h>
86360 main ()
86362 _powf(0, 0);
86364 return 0;
86366 _ACEOF
86367 rm -f conftest.$ac_objext
86368 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86369 (eval $ac_compile) 2>conftest.er1
86370 ac_status=$?
86371 grep -v '^ *+' conftest.er1 >conftest.err
86372 rm -f conftest.er1
86373 cat conftest.err >&5
86374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86375 (exit $ac_status); } &&
86376 { ac_try='test -z "$ac_cxx_werror_flag"
86377 || test ! -s conftest.err'
86378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86379 (eval $ac_try) 2>&5
86380 ac_status=$?
86381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86382 (exit $ac_status); }; } &&
86383 { ac_try='test -s conftest.$ac_objext'
86384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86385 (eval $ac_try) 2>&5
86386 ac_status=$?
86387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86388 (exit $ac_status); }; }; then
86389 glibcxx_cv_func__powf_use=yes
86390 else
86391 echo "$as_me: failed program was:" >&5
86392 sed 's/^/| /' conftest.$ac_ext >&5
86394 glibcxx_cv_func__powf_use=no
86396 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86397 ac_ext=c
86398 ac_cpp='$CPP $CPPFLAGS'
86399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86407 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
86408 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
86410 if test x$glibcxx_cv_func__powf_use = x"yes"; then
86412 for ac_func in _powf
86414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86415 echo "$as_me:$LINENO: checking for $ac_func" >&5
86416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86417 if eval "test \"\${$as_ac_var+set}\" = set"; then
86418 echo $ECHO_N "(cached) $ECHO_C" >&6
86419 else
86420 if test x$gcc_no_link = xyes; then
86421 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86422 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86423 { (exit 1); exit 1; }; }
86425 cat >conftest.$ac_ext <<_ACEOF
86426 /* confdefs.h. */
86427 _ACEOF
86428 cat confdefs.h >>conftest.$ac_ext
86429 cat >>conftest.$ac_ext <<_ACEOF
86430 /* end confdefs.h. */
86431 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86432 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86433 #define $ac_func innocuous_$ac_func
86435 /* System header to define __stub macros and hopefully few prototypes,
86436 which can conflict with char $ac_func (); below.
86437 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86438 <limits.h> exists even on freestanding compilers. */
86440 #ifdef __STDC__
86441 # include <limits.h>
86442 #else
86443 # include <assert.h>
86444 #endif
86446 #undef $ac_func
86448 /* Override any gcc2 internal prototype to avoid an error. */
86449 #ifdef __cplusplus
86450 extern "C"
86452 #endif
86453 /* We use char because int might match the return type of a gcc2
86454 builtin and then its argument prototype would still apply. */
86455 char $ac_func ();
86456 /* The GNU C library defines this for functions which it implements
86457 to always fail with ENOSYS. Some functions are actually named
86458 something starting with __ and the normal name is an alias. */
86459 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86460 choke me
86461 #else
86462 char (*f) () = $ac_func;
86463 #endif
86464 #ifdef __cplusplus
86466 #endif
86469 main ()
86471 return f != $ac_func;
86473 return 0;
86475 _ACEOF
86476 rm -f conftest.$ac_objext conftest$ac_exeext
86477 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86478 (eval $ac_link) 2>conftest.er1
86479 ac_status=$?
86480 grep -v '^ *+' conftest.er1 >conftest.err
86481 rm -f conftest.er1
86482 cat conftest.err >&5
86483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86484 (exit $ac_status); } &&
86485 { ac_try='test -z "$ac_c_werror_flag"
86486 || test ! -s conftest.err'
86487 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86488 (eval $ac_try) 2>&5
86489 ac_status=$?
86490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86491 (exit $ac_status); }; } &&
86492 { ac_try='test -s conftest$ac_exeext'
86493 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86494 (eval $ac_try) 2>&5
86495 ac_status=$?
86496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86497 (exit $ac_status); }; }; then
86498 eval "$as_ac_var=yes"
86499 else
86500 echo "$as_me: failed program was:" >&5
86501 sed 's/^/| /' conftest.$ac_ext >&5
86503 eval "$as_ac_var=no"
86505 rm -f conftest.err conftest.$ac_objext \
86506 conftest$ac_exeext conftest.$ac_ext
86508 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86509 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86510 if test `eval echo '${'$as_ac_var'}'` = yes; then
86511 cat >>confdefs.h <<_ACEOF
86512 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86513 _ACEOF
86516 done
86526 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
86527 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
86528 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
86529 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
86530 echo $ECHO_N "(cached) $ECHO_C" >&6
86531 else
86535 ac_ext=cc
86536 ac_cpp='$CXXCPP $CPPFLAGS'
86537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86541 cat >conftest.$ac_ext <<_ACEOF
86542 /* confdefs.h. */
86543 _ACEOF
86544 cat confdefs.h >>conftest.$ac_ext
86545 cat >>conftest.$ac_ext <<_ACEOF
86546 /* end confdefs.h. */
86547 #include <math.h>
86548 #ifdef HAVE_IEEEFP_H
86549 #include <ieeefp.h>
86550 #endif
86553 main ()
86555 sqrtf(0);
86557 return 0;
86559 _ACEOF
86560 rm -f conftest.$ac_objext
86561 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86562 (eval $ac_compile) 2>conftest.er1
86563 ac_status=$?
86564 grep -v '^ *+' conftest.er1 >conftest.err
86565 rm -f conftest.er1
86566 cat conftest.err >&5
86567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86568 (exit $ac_status); } &&
86569 { ac_try='test -z "$ac_cxx_werror_flag"
86570 || test ! -s conftest.err'
86571 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86572 (eval $ac_try) 2>&5
86573 ac_status=$?
86574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86575 (exit $ac_status); }; } &&
86576 { ac_try='test -s conftest.$ac_objext'
86577 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86578 (eval $ac_try) 2>&5
86579 ac_status=$?
86580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86581 (exit $ac_status); }; }; then
86582 glibcxx_cv_func_sqrtf_use=yes
86583 else
86584 echo "$as_me: failed program was:" >&5
86585 sed 's/^/| /' conftest.$ac_ext >&5
86587 glibcxx_cv_func_sqrtf_use=no
86589 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86590 ac_ext=c
86591 ac_cpp='$CPP $CPPFLAGS'
86592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86600 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
86601 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
86603 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
86605 for ac_func in sqrtf
86607 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86608 echo "$as_me:$LINENO: checking for $ac_func" >&5
86609 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86610 if eval "test \"\${$as_ac_var+set}\" = set"; then
86611 echo $ECHO_N "(cached) $ECHO_C" >&6
86612 else
86613 if test x$gcc_no_link = xyes; then
86614 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86615 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86616 { (exit 1); exit 1; }; }
86618 cat >conftest.$ac_ext <<_ACEOF
86619 /* confdefs.h. */
86620 _ACEOF
86621 cat confdefs.h >>conftest.$ac_ext
86622 cat >>conftest.$ac_ext <<_ACEOF
86623 /* end confdefs.h. */
86624 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
86625 For example, HP-UX 11i <limits.h> declares gettimeofday. */
86626 #define $ac_func innocuous_$ac_func
86628 /* System header to define __stub macros and hopefully few prototypes,
86629 which can conflict with char $ac_func (); below.
86630 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
86631 <limits.h> exists even on freestanding compilers. */
86633 #ifdef __STDC__
86634 # include <limits.h>
86635 #else
86636 # include <assert.h>
86637 #endif
86639 #undef $ac_func
86641 /* Override any gcc2 internal prototype to avoid an error. */
86642 #ifdef __cplusplus
86643 extern "C"
86645 #endif
86646 /* We use char because int might match the return type of a gcc2
86647 builtin and then its argument prototype would still apply. */
86648 char $ac_func ();
86649 /* The GNU C library defines this for functions which it implements
86650 to always fail with ENOSYS. Some functions are actually named
86651 something starting with __ and the normal name is an alias. */
86652 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
86653 choke me
86654 #else
86655 char (*f) () = $ac_func;
86656 #endif
86657 #ifdef __cplusplus
86659 #endif
86662 main ()
86664 return f != $ac_func;
86666 return 0;
86668 _ACEOF
86669 rm -f conftest.$ac_objext conftest$ac_exeext
86670 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
86671 (eval $ac_link) 2>conftest.er1
86672 ac_status=$?
86673 grep -v '^ *+' conftest.er1 >conftest.err
86674 rm -f conftest.er1
86675 cat conftest.err >&5
86676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86677 (exit $ac_status); } &&
86678 { ac_try='test -z "$ac_c_werror_flag"
86679 || test ! -s conftest.err'
86680 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86681 (eval $ac_try) 2>&5
86682 ac_status=$?
86683 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86684 (exit $ac_status); }; } &&
86685 { ac_try='test -s conftest$ac_exeext'
86686 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86687 (eval $ac_try) 2>&5
86688 ac_status=$?
86689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86690 (exit $ac_status); }; }; then
86691 eval "$as_ac_var=yes"
86692 else
86693 echo "$as_me: failed program was:" >&5
86694 sed 's/^/| /' conftest.$ac_ext >&5
86696 eval "$as_ac_var=no"
86698 rm -f conftest.err conftest.$ac_objext \
86699 conftest$ac_exeext conftest.$ac_ext
86701 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
86702 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
86703 if test `eval echo '${'$as_ac_var'}'` = yes; then
86704 cat >>confdefs.h <<_ACEOF
86705 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
86706 _ACEOF
86709 done
86711 else
86713 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
86714 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
86715 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
86716 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
86717 echo $ECHO_N "(cached) $ECHO_C" >&6
86718 else
86722 ac_ext=cc
86723 ac_cpp='$CXXCPP $CPPFLAGS'
86724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86728 cat >conftest.$ac_ext <<_ACEOF
86729 /* confdefs.h. */
86730 _ACEOF
86731 cat confdefs.h >>conftest.$ac_ext
86732 cat >>conftest.$ac_ext <<_ACEOF
86733 /* end confdefs.h. */
86734 #include <math.h>
86735 #ifdef HAVE_IEEEFP_H
86736 #include <ieeefp.h>
86737 #endif
86740 main ()
86742 _sqrtf(0);
86744 return 0;
86746 _ACEOF
86747 rm -f conftest.$ac_objext
86748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86749 (eval $ac_compile) 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_cxx_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_objext'
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 glibcxx_cv_func__sqrtf_use=yes
86770 else
86771 echo "$as_me: failed program was:" >&5
86772 sed 's/^/| /' conftest.$ac_ext >&5
86774 glibcxx_cv_func__sqrtf_use=no
86776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86777 ac_ext=c
86778 ac_cpp='$CPP $CPPFLAGS'
86779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
86788 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
86790 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
86792 for ac_func in _sqrtf
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
86896 done
86906 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
86907 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
86908 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
86909 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
86910 echo $ECHO_N "(cached) $ECHO_C" >&6
86911 else
86915 ac_ext=cc
86916 ac_cpp='$CXXCPP $CPPFLAGS'
86917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
86921 cat >conftest.$ac_ext <<_ACEOF
86922 /* confdefs.h. */
86923 _ACEOF
86924 cat confdefs.h >>conftest.$ac_ext
86925 cat >>conftest.$ac_ext <<_ACEOF
86926 /* end confdefs.h. */
86927 #include <math.h>
86929 main ()
86931 sincosf(0, 0, 0);
86933 return 0;
86935 _ACEOF
86936 rm -f conftest.$ac_objext
86937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
86938 (eval $ac_compile) 2>conftest.er1
86939 ac_status=$?
86940 grep -v '^ *+' conftest.er1 >conftest.err
86941 rm -f conftest.er1
86942 cat conftest.err >&5
86943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86944 (exit $ac_status); } &&
86945 { ac_try='test -z "$ac_cxx_werror_flag"
86946 || test ! -s conftest.err'
86947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86948 (eval $ac_try) 2>&5
86949 ac_status=$?
86950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86951 (exit $ac_status); }; } &&
86952 { ac_try='test -s conftest.$ac_objext'
86953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
86954 (eval $ac_try) 2>&5
86955 ac_status=$?
86956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
86957 (exit $ac_status); }; }; then
86958 glibcxx_cv_func_sincosf_use=yes
86959 else
86960 echo "$as_me: failed program was:" >&5
86961 sed 's/^/| /' conftest.$ac_ext >&5
86963 glibcxx_cv_func_sincosf_use=no
86965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
86966 ac_ext=c
86967 ac_cpp='$CPP $CPPFLAGS'
86968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
86969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
86970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
86976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
86977 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
86979 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
86981 for ac_func in sincosf
86983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
86984 echo "$as_me:$LINENO: checking for $ac_func" >&5
86985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
86986 if eval "test \"\${$as_ac_var+set}\" = set"; then
86987 echo $ECHO_N "(cached) $ECHO_C" >&6
86988 else
86989 if test x$gcc_no_link = xyes; then
86990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
86991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
86992 { (exit 1); exit 1; }; }
86994 cat >conftest.$ac_ext <<_ACEOF
86995 /* confdefs.h. */
86996 _ACEOF
86997 cat confdefs.h >>conftest.$ac_ext
86998 cat >>conftest.$ac_ext <<_ACEOF
86999 /* end confdefs.h. */
87000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87002 #define $ac_func innocuous_$ac_func
87004 /* System header to define __stub macros and hopefully few prototypes,
87005 which can conflict with char $ac_func (); below.
87006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87007 <limits.h> exists even on freestanding compilers. */
87009 #ifdef __STDC__
87010 # include <limits.h>
87011 #else
87012 # include <assert.h>
87013 #endif
87015 #undef $ac_func
87017 /* Override any gcc2 internal prototype to avoid an error. */
87018 #ifdef __cplusplus
87019 extern "C"
87021 #endif
87022 /* We use char because int might match the return type of a gcc2
87023 builtin and then its argument prototype would still apply. */
87024 char $ac_func ();
87025 /* The GNU C library defines this for functions which it implements
87026 to always fail with ENOSYS. Some functions are actually named
87027 something starting with __ and the normal name is an alias. */
87028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87029 choke me
87030 #else
87031 char (*f) () = $ac_func;
87032 #endif
87033 #ifdef __cplusplus
87035 #endif
87038 main ()
87040 return f != $ac_func;
87042 return 0;
87044 _ACEOF
87045 rm -f conftest.$ac_objext conftest$ac_exeext
87046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87047 (eval $ac_link) 2>conftest.er1
87048 ac_status=$?
87049 grep -v '^ *+' conftest.er1 >conftest.err
87050 rm -f conftest.er1
87051 cat conftest.err >&5
87052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87053 (exit $ac_status); } &&
87054 { ac_try='test -z "$ac_c_werror_flag"
87055 || test ! -s conftest.err'
87056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87057 (eval $ac_try) 2>&5
87058 ac_status=$?
87059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87060 (exit $ac_status); }; } &&
87061 { ac_try='test -s conftest$ac_exeext'
87062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87063 (eval $ac_try) 2>&5
87064 ac_status=$?
87065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87066 (exit $ac_status); }; }; then
87067 eval "$as_ac_var=yes"
87068 else
87069 echo "$as_me: failed program was:" >&5
87070 sed 's/^/| /' conftest.$ac_ext >&5
87072 eval "$as_ac_var=no"
87074 rm -f conftest.err conftest.$ac_objext \
87075 conftest$ac_exeext conftest.$ac_ext
87077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87079 if test `eval echo '${'$as_ac_var'}'` = yes; then
87080 cat >>confdefs.h <<_ACEOF
87081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87082 _ACEOF
87085 done
87087 else
87089 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
87090 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
87091 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
87092 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
87093 echo $ECHO_N "(cached) $ECHO_C" >&6
87094 else
87098 ac_ext=cc
87099 ac_cpp='$CXXCPP $CPPFLAGS'
87100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87104 cat >conftest.$ac_ext <<_ACEOF
87105 /* confdefs.h. */
87106 _ACEOF
87107 cat confdefs.h >>conftest.$ac_ext
87108 cat >>conftest.$ac_ext <<_ACEOF
87109 /* end confdefs.h. */
87110 #include <math.h>
87112 main ()
87114 _sincosf(0, 0, 0);
87116 return 0;
87118 _ACEOF
87119 rm -f conftest.$ac_objext
87120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87121 (eval $ac_compile) 2>conftest.er1
87122 ac_status=$?
87123 grep -v '^ *+' conftest.er1 >conftest.err
87124 rm -f conftest.er1
87125 cat conftest.err >&5
87126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87127 (exit $ac_status); } &&
87128 { ac_try='test -z "$ac_cxx_werror_flag"
87129 || test ! -s conftest.err'
87130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87131 (eval $ac_try) 2>&5
87132 ac_status=$?
87133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87134 (exit $ac_status); }; } &&
87135 { ac_try='test -s conftest.$ac_objext'
87136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87137 (eval $ac_try) 2>&5
87138 ac_status=$?
87139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87140 (exit $ac_status); }; }; then
87141 glibcxx_cv_func__sincosf_use=yes
87142 else
87143 echo "$as_me: failed program was:" >&5
87144 sed 's/^/| /' conftest.$ac_ext >&5
87146 glibcxx_cv_func__sincosf_use=no
87148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87149 ac_ext=c
87150 ac_cpp='$CPP $CPPFLAGS'
87151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
87160 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
87162 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
87164 for ac_func in _sincosf
87166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87167 echo "$as_me:$LINENO: checking for $ac_func" >&5
87168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87169 if eval "test \"\${$as_ac_var+set}\" = set"; then
87170 echo $ECHO_N "(cached) $ECHO_C" >&6
87171 else
87172 if test x$gcc_no_link = xyes; then
87173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87175 { (exit 1); exit 1; }; }
87177 cat >conftest.$ac_ext <<_ACEOF
87178 /* confdefs.h. */
87179 _ACEOF
87180 cat confdefs.h >>conftest.$ac_ext
87181 cat >>conftest.$ac_ext <<_ACEOF
87182 /* end confdefs.h. */
87183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87185 #define $ac_func innocuous_$ac_func
87187 /* System header to define __stub macros and hopefully few prototypes,
87188 which can conflict with char $ac_func (); below.
87189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87190 <limits.h> exists even on freestanding compilers. */
87192 #ifdef __STDC__
87193 # include <limits.h>
87194 #else
87195 # include <assert.h>
87196 #endif
87198 #undef $ac_func
87200 /* Override any gcc2 internal prototype to avoid an error. */
87201 #ifdef __cplusplus
87202 extern "C"
87204 #endif
87205 /* We use char because int might match the return type of a gcc2
87206 builtin and then its argument prototype would still apply. */
87207 char $ac_func ();
87208 /* The GNU C library defines this for functions which it implements
87209 to always fail with ENOSYS. Some functions are actually named
87210 something starting with __ and the normal name is an alias. */
87211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87212 choke me
87213 #else
87214 char (*f) () = $ac_func;
87215 #endif
87216 #ifdef __cplusplus
87218 #endif
87221 main ()
87223 return f != $ac_func;
87225 return 0;
87227 _ACEOF
87228 rm -f conftest.$ac_objext conftest$ac_exeext
87229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87230 (eval $ac_link) 2>conftest.er1
87231 ac_status=$?
87232 grep -v '^ *+' conftest.er1 >conftest.err
87233 rm -f conftest.er1
87234 cat conftest.err >&5
87235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87236 (exit $ac_status); } &&
87237 { ac_try='test -z "$ac_c_werror_flag"
87238 || test ! -s conftest.err'
87239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87240 (eval $ac_try) 2>&5
87241 ac_status=$?
87242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87243 (exit $ac_status); }; } &&
87244 { ac_try='test -s conftest$ac_exeext'
87245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87246 (eval $ac_try) 2>&5
87247 ac_status=$?
87248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87249 (exit $ac_status); }; }; then
87250 eval "$as_ac_var=yes"
87251 else
87252 echo "$as_me: failed program was:" >&5
87253 sed 's/^/| /' conftest.$ac_ext >&5
87255 eval "$as_ac_var=no"
87257 rm -f conftest.err conftest.$ac_objext \
87258 conftest$ac_exeext conftest.$ac_ext
87260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87262 if test `eval echo '${'$as_ac_var'}'` = yes; then
87263 cat >>confdefs.h <<_ACEOF
87264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87265 _ACEOF
87268 done
87278 echo "$as_me:$LINENO: checking for finitef declaration" >&5
87279 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
87280 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
87281 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
87282 echo $ECHO_N "(cached) $ECHO_C" >&6
87283 else
87287 ac_ext=cc
87288 ac_cpp='$CXXCPP $CPPFLAGS'
87289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87293 cat >conftest.$ac_ext <<_ACEOF
87294 /* confdefs.h. */
87295 _ACEOF
87296 cat confdefs.h >>conftest.$ac_ext
87297 cat >>conftest.$ac_ext <<_ACEOF
87298 /* end confdefs.h. */
87299 #include <math.h>
87300 #ifdef HAVE_IEEEFP_H
87301 #include <ieeefp.h>
87302 #endif
87305 main ()
87307 finitef(0);
87309 return 0;
87311 _ACEOF
87312 rm -f conftest.$ac_objext
87313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87314 (eval $ac_compile) 2>conftest.er1
87315 ac_status=$?
87316 grep -v '^ *+' conftest.er1 >conftest.err
87317 rm -f conftest.er1
87318 cat conftest.err >&5
87319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87320 (exit $ac_status); } &&
87321 { ac_try='test -z "$ac_cxx_werror_flag"
87322 || test ! -s conftest.err'
87323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87324 (eval $ac_try) 2>&5
87325 ac_status=$?
87326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87327 (exit $ac_status); }; } &&
87328 { ac_try='test -s conftest.$ac_objext'
87329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87330 (eval $ac_try) 2>&5
87331 ac_status=$?
87332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87333 (exit $ac_status); }; }; then
87334 glibcxx_cv_func_finitef_use=yes
87335 else
87336 echo "$as_me: failed program was:" >&5
87337 sed 's/^/| /' conftest.$ac_ext >&5
87339 glibcxx_cv_func_finitef_use=no
87341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87342 ac_ext=c
87343 ac_cpp='$CPP $CPPFLAGS'
87344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
87353 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
87355 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
87357 for ac_func in finitef
87359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87360 echo "$as_me:$LINENO: checking for $ac_func" >&5
87361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87362 if eval "test \"\${$as_ac_var+set}\" = set"; then
87363 echo $ECHO_N "(cached) $ECHO_C" >&6
87364 else
87365 if test x$gcc_no_link = xyes; then
87366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87368 { (exit 1); exit 1; }; }
87370 cat >conftest.$ac_ext <<_ACEOF
87371 /* confdefs.h. */
87372 _ACEOF
87373 cat confdefs.h >>conftest.$ac_ext
87374 cat >>conftest.$ac_ext <<_ACEOF
87375 /* end confdefs.h. */
87376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87378 #define $ac_func innocuous_$ac_func
87380 /* System header to define __stub macros and hopefully few prototypes,
87381 which can conflict with char $ac_func (); below.
87382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87383 <limits.h> exists even on freestanding compilers. */
87385 #ifdef __STDC__
87386 # include <limits.h>
87387 #else
87388 # include <assert.h>
87389 #endif
87391 #undef $ac_func
87393 /* Override any gcc2 internal prototype to avoid an error. */
87394 #ifdef __cplusplus
87395 extern "C"
87397 #endif
87398 /* We use char because int might match the return type of a gcc2
87399 builtin and then its argument prototype would still apply. */
87400 char $ac_func ();
87401 /* The GNU C library defines this for functions which it implements
87402 to always fail with ENOSYS. Some functions are actually named
87403 something starting with __ and the normal name is an alias. */
87404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87405 choke me
87406 #else
87407 char (*f) () = $ac_func;
87408 #endif
87409 #ifdef __cplusplus
87411 #endif
87414 main ()
87416 return f != $ac_func;
87418 return 0;
87420 _ACEOF
87421 rm -f conftest.$ac_objext conftest$ac_exeext
87422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87423 (eval $ac_link) 2>conftest.er1
87424 ac_status=$?
87425 grep -v '^ *+' conftest.er1 >conftest.err
87426 rm -f conftest.er1
87427 cat conftest.err >&5
87428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87429 (exit $ac_status); } &&
87430 { ac_try='test -z "$ac_c_werror_flag"
87431 || test ! -s conftest.err'
87432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87433 (eval $ac_try) 2>&5
87434 ac_status=$?
87435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87436 (exit $ac_status); }; } &&
87437 { ac_try='test -s conftest$ac_exeext'
87438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87439 (eval $ac_try) 2>&5
87440 ac_status=$?
87441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87442 (exit $ac_status); }; }; then
87443 eval "$as_ac_var=yes"
87444 else
87445 echo "$as_me: failed program was:" >&5
87446 sed 's/^/| /' conftest.$ac_ext >&5
87448 eval "$as_ac_var=no"
87450 rm -f conftest.err conftest.$ac_objext \
87451 conftest$ac_exeext conftest.$ac_ext
87453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87455 if test `eval echo '${'$as_ac_var'}'` = yes; then
87456 cat >>confdefs.h <<_ACEOF
87457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87458 _ACEOF
87461 done
87463 else
87465 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
87466 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
87467 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
87468 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
87469 echo $ECHO_N "(cached) $ECHO_C" >&6
87470 else
87474 ac_ext=cc
87475 ac_cpp='$CXXCPP $CPPFLAGS'
87476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87480 cat >conftest.$ac_ext <<_ACEOF
87481 /* confdefs.h. */
87482 _ACEOF
87483 cat confdefs.h >>conftest.$ac_ext
87484 cat >>conftest.$ac_ext <<_ACEOF
87485 /* end confdefs.h. */
87486 #include <math.h>
87487 #ifdef HAVE_IEEEFP_H
87488 #include <ieeefp.h>
87489 #endif
87492 main ()
87494 _finitef(0);
87496 return 0;
87498 _ACEOF
87499 rm -f conftest.$ac_objext
87500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87501 (eval $ac_compile) 2>conftest.er1
87502 ac_status=$?
87503 grep -v '^ *+' conftest.er1 >conftest.err
87504 rm -f conftest.er1
87505 cat conftest.err >&5
87506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87507 (exit $ac_status); } &&
87508 { ac_try='test -z "$ac_cxx_werror_flag"
87509 || test ! -s conftest.err'
87510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87511 (eval $ac_try) 2>&5
87512 ac_status=$?
87513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87514 (exit $ac_status); }; } &&
87515 { ac_try='test -s conftest.$ac_objext'
87516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87517 (eval $ac_try) 2>&5
87518 ac_status=$?
87519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87520 (exit $ac_status); }; }; then
87521 glibcxx_cv_func__finitef_use=yes
87522 else
87523 echo "$as_me: failed program was:" >&5
87524 sed 's/^/| /' conftest.$ac_ext >&5
87526 glibcxx_cv_func__finitef_use=no
87528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87529 ac_ext=c
87530 ac_cpp='$CPP $CPPFLAGS'
87531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
87540 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
87542 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
87544 for ac_func in _finitef
87546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87547 echo "$as_me:$LINENO: checking for $ac_func" >&5
87548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87549 if eval "test \"\${$as_ac_var+set}\" = set"; then
87550 echo $ECHO_N "(cached) $ECHO_C" >&6
87551 else
87552 if test x$gcc_no_link = xyes; then
87553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87555 { (exit 1); exit 1; }; }
87557 cat >conftest.$ac_ext <<_ACEOF
87558 /* confdefs.h. */
87559 _ACEOF
87560 cat confdefs.h >>conftest.$ac_ext
87561 cat >>conftest.$ac_ext <<_ACEOF
87562 /* end confdefs.h. */
87563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87565 #define $ac_func innocuous_$ac_func
87567 /* System header to define __stub macros and hopefully few prototypes,
87568 which can conflict with char $ac_func (); below.
87569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87570 <limits.h> exists even on freestanding compilers. */
87572 #ifdef __STDC__
87573 # include <limits.h>
87574 #else
87575 # include <assert.h>
87576 #endif
87578 #undef $ac_func
87580 /* Override any gcc2 internal prototype to avoid an error. */
87581 #ifdef __cplusplus
87582 extern "C"
87584 #endif
87585 /* We use char because int might match the return type of a gcc2
87586 builtin and then its argument prototype would still apply. */
87587 char $ac_func ();
87588 /* The GNU C library defines this for functions which it implements
87589 to always fail with ENOSYS. Some functions are actually named
87590 something starting with __ and the normal name is an alias. */
87591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87592 choke me
87593 #else
87594 char (*f) () = $ac_func;
87595 #endif
87596 #ifdef __cplusplus
87598 #endif
87601 main ()
87603 return f != $ac_func;
87605 return 0;
87607 _ACEOF
87608 rm -f conftest.$ac_objext conftest$ac_exeext
87609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87610 (eval $ac_link) 2>conftest.er1
87611 ac_status=$?
87612 grep -v '^ *+' conftest.er1 >conftest.err
87613 rm -f conftest.er1
87614 cat conftest.err >&5
87615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87616 (exit $ac_status); } &&
87617 { ac_try='test -z "$ac_c_werror_flag"
87618 || test ! -s conftest.err'
87619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87620 (eval $ac_try) 2>&5
87621 ac_status=$?
87622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87623 (exit $ac_status); }; } &&
87624 { ac_try='test -s conftest$ac_exeext'
87625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87626 (eval $ac_try) 2>&5
87627 ac_status=$?
87628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87629 (exit $ac_status); }; }; then
87630 eval "$as_ac_var=yes"
87631 else
87632 echo "$as_me: failed program was:" >&5
87633 sed 's/^/| /' conftest.$ac_ext >&5
87635 eval "$as_ac_var=no"
87637 rm -f conftest.err conftest.$ac_objext \
87638 conftest$ac_exeext conftest.$ac_ext
87640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87642 if test `eval echo '${'$as_ac_var'}'` = yes; then
87643 cat >>confdefs.h <<_ACEOF
87644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87645 _ACEOF
87648 done
87658 echo "$as_me:$LINENO: checking for long double trig functions" >&5
87659 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
87660 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
87661 echo $ECHO_N "(cached) $ECHO_C" >&6
87662 else
87666 ac_ext=cc
87667 ac_cpp='$CXXCPP $CPPFLAGS'
87668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87672 cat >conftest.$ac_ext <<_ACEOF
87673 /* confdefs.h. */
87674 _ACEOF
87675 cat confdefs.h >>conftest.$ac_ext
87676 cat >>conftest.$ac_ext <<_ACEOF
87677 /* end confdefs.h. */
87678 #include <math.h>
87680 main ()
87682 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
87684 return 0;
87686 _ACEOF
87687 rm -f conftest.$ac_objext
87688 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87689 (eval $ac_compile) 2>conftest.er1
87690 ac_status=$?
87691 grep -v '^ *+' conftest.er1 >conftest.err
87692 rm -f conftest.er1
87693 cat conftest.err >&5
87694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87695 (exit $ac_status); } &&
87696 { ac_try='test -z "$ac_cxx_werror_flag"
87697 || test ! -s conftest.err'
87698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87699 (eval $ac_try) 2>&5
87700 ac_status=$?
87701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87702 (exit $ac_status); }; } &&
87703 { ac_try='test -s conftest.$ac_objext'
87704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87705 (eval $ac_try) 2>&5
87706 ac_status=$?
87707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87708 (exit $ac_status); }; }; then
87709 glibcxx_cv_func_long_double_trig_use=yes
87710 else
87711 echo "$as_me: failed program was:" >&5
87712 sed 's/^/| /' conftest.$ac_ext >&5
87714 glibcxx_cv_func_long_double_trig_use=no
87716 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87717 ac_ext=c
87718 ac_cpp='$CPP $CPPFLAGS'
87719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87725 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
87726 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
87727 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
87737 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
87739 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87740 echo "$as_me:$LINENO: checking for $ac_func" >&5
87741 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87742 if eval "test \"\${$as_ac_var+set}\" = set"; then
87743 echo $ECHO_N "(cached) $ECHO_C" >&6
87744 else
87745 if test x$gcc_no_link = xyes; then
87746 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87747 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87748 { (exit 1); exit 1; }; }
87750 cat >conftest.$ac_ext <<_ACEOF
87751 /* confdefs.h. */
87752 _ACEOF
87753 cat confdefs.h >>conftest.$ac_ext
87754 cat >>conftest.$ac_ext <<_ACEOF
87755 /* end confdefs.h. */
87756 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87757 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87758 #define $ac_func innocuous_$ac_func
87760 /* System header to define __stub macros and hopefully few prototypes,
87761 which can conflict with char $ac_func (); below.
87762 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87763 <limits.h> exists even on freestanding compilers. */
87765 #ifdef __STDC__
87766 # include <limits.h>
87767 #else
87768 # include <assert.h>
87769 #endif
87771 #undef $ac_func
87773 /* Override any gcc2 internal prototype to avoid an error. */
87774 #ifdef __cplusplus
87775 extern "C"
87777 #endif
87778 /* We use char because int might match the return type of a gcc2
87779 builtin and then its argument prototype would still apply. */
87780 char $ac_func ();
87781 /* The GNU C library defines this for functions which it implements
87782 to always fail with ENOSYS. Some functions are actually named
87783 something starting with __ and the normal name is an alias. */
87784 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87785 choke me
87786 #else
87787 char (*f) () = $ac_func;
87788 #endif
87789 #ifdef __cplusplus
87791 #endif
87794 main ()
87796 return f != $ac_func;
87798 return 0;
87800 _ACEOF
87801 rm -f conftest.$ac_objext conftest$ac_exeext
87802 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87803 (eval $ac_link) 2>conftest.er1
87804 ac_status=$?
87805 grep -v '^ *+' conftest.er1 >conftest.err
87806 rm -f conftest.er1
87807 cat conftest.err >&5
87808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87809 (exit $ac_status); } &&
87810 { ac_try='test -z "$ac_c_werror_flag"
87811 || test ! -s conftest.err'
87812 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87813 (eval $ac_try) 2>&5
87814 ac_status=$?
87815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87816 (exit $ac_status); }; } &&
87817 { ac_try='test -s conftest$ac_exeext'
87818 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87819 (eval $ac_try) 2>&5
87820 ac_status=$?
87821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87822 (exit $ac_status); }; }; then
87823 eval "$as_ac_var=yes"
87824 else
87825 echo "$as_me: failed program was:" >&5
87826 sed 's/^/| /' conftest.$ac_ext >&5
87828 eval "$as_ac_var=no"
87830 rm -f conftest.err conftest.$ac_objext \
87831 conftest$ac_exeext conftest.$ac_ext
87833 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
87834 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
87835 if test `eval echo '${'$as_ac_var'}'` = yes; then
87836 cat >>confdefs.h <<_ACEOF
87837 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
87838 _ACEOF
87841 done
87843 else
87844 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
87845 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
87846 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
87847 echo $ECHO_N "(cached) $ECHO_C" >&6
87848 else
87852 ac_ext=cc
87853 ac_cpp='$CXXCPP $CPPFLAGS'
87854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
87858 cat >conftest.$ac_ext <<_ACEOF
87859 /* confdefs.h. */
87860 _ACEOF
87861 cat confdefs.h >>conftest.$ac_ext
87862 cat >>conftest.$ac_ext <<_ACEOF
87863 /* end confdefs.h. */
87864 #include <math.h>
87866 main ()
87868 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
87870 return 0;
87872 _ACEOF
87873 rm -f conftest.$ac_objext
87874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
87875 (eval $ac_compile) 2>conftest.er1
87876 ac_status=$?
87877 grep -v '^ *+' conftest.er1 >conftest.err
87878 rm -f conftest.er1
87879 cat conftest.err >&5
87880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87881 (exit $ac_status); } &&
87882 { ac_try='test -z "$ac_cxx_werror_flag"
87883 || test ! -s conftest.err'
87884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87885 (eval $ac_try) 2>&5
87886 ac_status=$?
87887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87888 (exit $ac_status); }; } &&
87889 { ac_try='test -s conftest.$ac_objext'
87890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87891 (eval $ac_try) 2>&5
87892 ac_status=$?
87893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87894 (exit $ac_status); }; }; then
87895 glibcxx_cv_func__long_double_trig_use=yes
87896 else
87897 echo "$as_me: failed program was:" >&5
87898 sed 's/^/| /' conftest.$ac_ext >&5
87900 glibcxx_cv_func__long_double_trig_use=no
87902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
87903 ac_ext=c
87904 ac_cpp='$CPP $CPPFLAGS'
87905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
87906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
87907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
87911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
87912 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
87913 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
87923 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
87925 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
87926 echo "$as_me:$LINENO: checking for $ac_func" >&5
87927 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
87928 if eval "test \"\${$as_ac_var+set}\" = set"; then
87929 echo $ECHO_N "(cached) $ECHO_C" >&6
87930 else
87931 if test x$gcc_no_link = xyes; then
87932 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
87933 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
87934 { (exit 1); exit 1; }; }
87936 cat >conftest.$ac_ext <<_ACEOF
87937 /* confdefs.h. */
87938 _ACEOF
87939 cat confdefs.h >>conftest.$ac_ext
87940 cat >>conftest.$ac_ext <<_ACEOF
87941 /* end confdefs.h. */
87942 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
87943 For example, HP-UX 11i <limits.h> declares gettimeofday. */
87944 #define $ac_func innocuous_$ac_func
87946 /* System header to define __stub macros and hopefully few prototypes,
87947 which can conflict with char $ac_func (); below.
87948 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
87949 <limits.h> exists even on freestanding compilers. */
87951 #ifdef __STDC__
87952 # include <limits.h>
87953 #else
87954 # include <assert.h>
87955 #endif
87957 #undef $ac_func
87959 /* Override any gcc2 internal prototype to avoid an error. */
87960 #ifdef __cplusplus
87961 extern "C"
87963 #endif
87964 /* We use char because int might match the return type of a gcc2
87965 builtin and then its argument prototype would still apply. */
87966 char $ac_func ();
87967 /* The GNU C library defines this for functions which it implements
87968 to always fail with ENOSYS. Some functions are actually named
87969 something starting with __ and the normal name is an alias. */
87970 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
87971 choke me
87972 #else
87973 char (*f) () = $ac_func;
87974 #endif
87975 #ifdef __cplusplus
87977 #endif
87980 main ()
87982 return f != $ac_func;
87984 return 0;
87986 _ACEOF
87987 rm -f conftest.$ac_objext conftest$ac_exeext
87988 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
87989 (eval $ac_link) 2>conftest.er1
87990 ac_status=$?
87991 grep -v '^ *+' conftest.er1 >conftest.err
87992 rm -f conftest.er1
87993 cat conftest.err >&5
87994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
87995 (exit $ac_status); } &&
87996 { ac_try='test -z "$ac_c_werror_flag"
87997 || test ! -s conftest.err'
87998 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
87999 (eval $ac_try) 2>&5
88000 ac_status=$?
88001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88002 (exit $ac_status); }; } &&
88003 { ac_try='test -s conftest$ac_exeext'
88004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88005 (eval $ac_try) 2>&5
88006 ac_status=$?
88007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88008 (exit $ac_status); }; }; then
88009 eval "$as_ac_var=yes"
88010 else
88011 echo "$as_me: failed program was:" >&5
88012 sed 's/^/| /' conftest.$ac_ext >&5
88014 eval "$as_ac_var=no"
88016 rm -f conftest.err conftest.$ac_objext \
88017 conftest$ac_exeext conftest.$ac_ext
88019 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88020 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88021 if test `eval echo '${'$as_ac_var'}'` = yes; then
88022 cat >>confdefs.h <<_ACEOF
88023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88024 _ACEOF
88027 done
88045 echo "$as_me:$LINENO: checking for long double round functions" >&5
88046 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
88047 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
88048 echo $ECHO_N "(cached) $ECHO_C" >&6
88049 else
88053 ac_ext=cc
88054 ac_cpp='$CXXCPP $CPPFLAGS'
88055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88059 cat >conftest.$ac_ext <<_ACEOF
88060 /* confdefs.h. */
88061 _ACEOF
88062 cat confdefs.h >>conftest.$ac_ext
88063 cat >>conftest.$ac_ext <<_ACEOF
88064 /* end confdefs.h. */
88065 #include <math.h>
88067 main ()
88069 ceill (0); floorl (0);
88071 return 0;
88073 _ACEOF
88074 rm -f conftest.$ac_objext
88075 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88076 (eval $ac_compile) 2>conftest.er1
88077 ac_status=$?
88078 grep -v '^ *+' conftest.er1 >conftest.err
88079 rm -f conftest.er1
88080 cat conftest.err >&5
88081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88082 (exit $ac_status); } &&
88083 { ac_try='test -z "$ac_cxx_werror_flag"
88084 || test ! -s conftest.err'
88085 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88086 (eval $ac_try) 2>&5
88087 ac_status=$?
88088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88089 (exit $ac_status); }; } &&
88090 { ac_try='test -s conftest.$ac_objext'
88091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88092 (eval $ac_try) 2>&5
88093 ac_status=$?
88094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88095 (exit $ac_status); }; }; then
88096 glibcxx_cv_func_long_double_round_use=yes
88097 else
88098 echo "$as_me: failed program was:" >&5
88099 sed 's/^/| /' conftest.$ac_ext >&5
88101 glibcxx_cv_func_long_double_round_use=no
88103 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88104 ac_ext=c
88105 ac_cpp='$CPP $CPPFLAGS'
88106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88112 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
88113 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
88114 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
88117 for ac_func in ceill floorl
88119 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88120 echo "$as_me:$LINENO: checking for $ac_func" >&5
88121 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88122 if eval "test \"\${$as_ac_var+set}\" = set"; then
88123 echo $ECHO_N "(cached) $ECHO_C" >&6
88124 else
88125 if test x$gcc_no_link = xyes; then
88126 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88127 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88128 { (exit 1); exit 1; }; }
88130 cat >conftest.$ac_ext <<_ACEOF
88131 /* confdefs.h. */
88132 _ACEOF
88133 cat confdefs.h >>conftest.$ac_ext
88134 cat >>conftest.$ac_ext <<_ACEOF
88135 /* end confdefs.h. */
88136 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88138 #define $ac_func innocuous_$ac_func
88140 /* System header to define __stub macros and hopefully few prototypes,
88141 which can conflict with char $ac_func (); below.
88142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88143 <limits.h> exists even on freestanding compilers. */
88145 #ifdef __STDC__
88146 # include <limits.h>
88147 #else
88148 # include <assert.h>
88149 #endif
88151 #undef $ac_func
88153 /* Override any gcc2 internal prototype to avoid an error. */
88154 #ifdef __cplusplus
88155 extern "C"
88157 #endif
88158 /* We use char because int might match the return type of a gcc2
88159 builtin and then its argument prototype would still apply. */
88160 char $ac_func ();
88161 /* The GNU C library defines this for functions which it implements
88162 to always fail with ENOSYS. Some functions are actually named
88163 something starting with __ and the normal name is an alias. */
88164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88165 choke me
88166 #else
88167 char (*f) () = $ac_func;
88168 #endif
88169 #ifdef __cplusplus
88171 #endif
88174 main ()
88176 return f != $ac_func;
88178 return 0;
88180 _ACEOF
88181 rm -f conftest.$ac_objext conftest$ac_exeext
88182 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88183 (eval $ac_link) 2>conftest.er1
88184 ac_status=$?
88185 grep -v '^ *+' conftest.er1 >conftest.err
88186 rm -f conftest.er1
88187 cat conftest.err >&5
88188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88189 (exit $ac_status); } &&
88190 { ac_try='test -z "$ac_c_werror_flag"
88191 || test ! -s conftest.err'
88192 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88193 (eval $ac_try) 2>&5
88194 ac_status=$?
88195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88196 (exit $ac_status); }; } &&
88197 { ac_try='test -s conftest$ac_exeext'
88198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88199 (eval $ac_try) 2>&5
88200 ac_status=$?
88201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88202 (exit $ac_status); }; }; then
88203 eval "$as_ac_var=yes"
88204 else
88205 echo "$as_me: failed program was:" >&5
88206 sed 's/^/| /' conftest.$ac_ext >&5
88208 eval "$as_ac_var=no"
88210 rm -f conftest.err conftest.$ac_objext \
88211 conftest$ac_exeext conftest.$ac_ext
88213 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88214 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88215 if test `eval echo '${'$as_ac_var'}'` = yes; then
88216 cat >>confdefs.h <<_ACEOF
88217 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88218 _ACEOF
88221 done
88223 else
88224 echo "$as_me:$LINENO: checking for _long double round functions" >&5
88225 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
88226 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
88227 echo $ECHO_N "(cached) $ECHO_C" >&6
88228 else
88232 ac_ext=cc
88233 ac_cpp='$CXXCPP $CPPFLAGS'
88234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88238 cat >conftest.$ac_ext <<_ACEOF
88239 /* confdefs.h. */
88240 _ACEOF
88241 cat confdefs.h >>conftest.$ac_ext
88242 cat >>conftest.$ac_ext <<_ACEOF
88243 /* end confdefs.h. */
88244 #include <math.h>
88246 main ()
88248 _ceill (0); _floorl (0);
88250 return 0;
88252 _ACEOF
88253 rm -f conftest.$ac_objext
88254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88255 (eval $ac_compile) 2>conftest.er1
88256 ac_status=$?
88257 grep -v '^ *+' conftest.er1 >conftest.err
88258 rm -f conftest.er1
88259 cat conftest.err >&5
88260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88261 (exit $ac_status); } &&
88262 { ac_try='test -z "$ac_cxx_werror_flag"
88263 || test ! -s conftest.err'
88264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88265 (eval $ac_try) 2>&5
88266 ac_status=$?
88267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88268 (exit $ac_status); }; } &&
88269 { ac_try='test -s conftest.$ac_objext'
88270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88271 (eval $ac_try) 2>&5
88272 ac_status=$?
88273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88274 (exit $ac_status); }; }; then
88275 glibcxx_cv_func__long_double_round_use=yes
88276 else
88277 echo "$as_me: failed program was:" >&5
88278 sed 's/^/| /' conftest.$ac_ext >&5
88280 glibcxx_cv_func__long_double_round_use=no
88282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88283 ac_ext=c
88284 ac_cpp='$CPP $CPPFLAGS'
88285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
88292 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
88293 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
88296 for ac_func in _ceill _floorl
88298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88299 echo "$as_me:$LINENO: checking for $ac_func" >&5
88300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88301 if eval "test \"\${$as_ac_var+set}\" = set"; then
88302 echo $ECHO_N "(cached) $ECHO_C" >&6
88303 else
88304 if test x$gcc_no_link = xyes; then
88305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88307 { (exit 1); exit 1; }; }
88309 cat >conftest.$ac_ext <<_ACEOF
88310 /* confdefs.h. */
88311 _ACEOF
88312 cat confdefs.h >>conftest.$ac_ext
88313 cat >>conftest.$ac_ext <<_ACEOF
88314 /* end confdefs.h. */
88315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88317 #define $ac_func innocuous_$ac_func
88319 /* System header to define __stub macros and hopefully few prototypes,
88320 which can conflict with char $ac_func (); below.
88321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88322 <limits.h> exists even on freestanding compilers. */
88324 #ifdef __STDC__
88325 # include <limits.h>
88326 #else
88327 # include <assert.h>
88328 #endif
88330 #undef $ac_func
88332 /* Override any gcc2 internal prototype to avoid an error. */
88333 #ifdef __cplusplus
88334 extern "C"
88336 #endif
88337 /* We use char because int might match the return type of a gcc2
88338 builtin and then its argument prototype would still apply. */
88339 char $ac_func ();
88340 /* The GNU C library defines this for functions which it implements
88341 to always fail with ENOSYS. Some functions are actually named
88342 something starting with __ and the normal name is an alias. */
88343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88344 choke me
88345 #else
88346 char (*f) () = $ac_func;
88347 #endif
88348 #ifdef __cplusplus
88350 #endif
88353 main ()
88355 return f != $ac_func;
88357 return 0;
88359 _ACEOF
88360 rm -f conftest.$ac_objext conftest$ac_exeext
88361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88362 (eval $ac_link) 2>conftest.er1
88363 ac_status=$?
88364 grep -v '^ *+' conftest.er1 >conftest.err
88365 rm -f conftest.er1
88366 cat conftest.err >&5
88367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88368 (exit $ac_status); } &&
88369 { ac_try='test -z "$ac_c_werror_flag"
88370 || test ! -s conftest.err'
88371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88372 (eval $ac_try) 2>&5
88373 ac_status=$?
88374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88375 (exit $ac_status); }; } &&
88376 { ac_try='test -s conftest$ac_exeext'
88377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88378 (eval $ac_try) 2>&5
88379 ac_status=$?
88380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88381 (exit $ac_status); }; }; then
88382 eval "$as_ac_var=yes"
88383 else
88384 echo "$as_me: failed program was:" >&5
88385 sed 's/^/| /' conftest.$ac_ext >&5
88387 eval "$as_ac_var=no"
88389 rm -f conftest.err conftest.$ac_objext \
88390 conftest$ac_exeext conftest.$ac_ext
88392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88394 if test `eval echo '${'$as_ac_var'}'` = yes; then
88395 cat >>confdefs.h <<_ACEOF
88396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88397 _ACEOF
88400 done
88412 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
88413 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
88414 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
88415 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
88416 echo $ECHO_N "(cached) $ECHO_C" >&6
88417 else
88421 ac_ext=cc
88422 ac_cpp='$CXXCPP $CPPFLAGS'
88423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88427 cat >conftest.$ac_ext <<_ACEOF
88428 /* confdefs.h. */
88429 _ACEOF
88430 cat confdefs.h >>conftest.$ac_ext
88431 cat >>conftest.$ac_ext <<_ACEOF
88432 /* end confdefs.h. */
88433 #include <math.h>
88434 #ifdef HAVE_IEEEFP_H
88435 #include <ieeefp.h>
88436 #endif
88439 main ()
88441 isnanl(0);
88443 return 0;
88445 _ACEOF
88446 rm -f conftest.$ac_objext
88447 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88448 (eval $ac_compile) 2>conftest.er1
88449 ac_status=$?
88450 grep -v '^ *+' conftest.er1 >conftest.err
88451 rm -f conftest.er1
88452 cat conftest.err >&5
88453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88454 (exit $ac_status); } &&
88455 { ac_try='test -z "$ac_cxx_werror_flag"
88456 || test ! -s conftest.err'
88457 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88458 (eval $ac_try) 2>&5
88459 ac_status=$?
88460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88461 (exit $ac_status); }; } &&
88462 { ac_try='test -s conftest.$ac_objext'
88463 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88464 (eval $ac_try) 2>&5
88465 ac_status=$?
88466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88467 (exit $ac_status); }; }; then
88468 glibcxx_cv_func_isnanl_use=yes
88469 else
88470 echo "$as_me: failed program was:" >&5
88471 sed 's/^/| /' conftest.$ac_ext >&5
88473 glibcxx_cv_func_isnanl_use=no
88475 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88476 ac_ext=c
88477 ac_cpp='$CPP $CPPFLAGS'
88478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88486 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
88487 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
88489 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
88491 for ac_func in isnanl
88493 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88494 echo "$as_me:$LINENO: checking for $ac_func" >&5
88495 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88496 if eval "test \"\${$as_ac_var+set}\" = set"; then
88497 echo $ECHO_N "(cached) $ECHO_C" >&6
88498 else
88499 if test x$gcc_no_link = xyes; then
88500 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88501 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88502 { (exit 1); exit 1; }; }
88504 cat >conftest.$ac_ext <<_ACEOF
88505 /* confdefs.h. */
88506 _ACEOF
88507 cat confdefs.h >>conftest.$ac_ext
88508 cat >>conftest.$ac_ext <<_ACEOF
88509 /* end confdefs.h. */
88510 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88511 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88512 #define $ac_func innocuous_$ac_func
88514 /* System header to define __stub macros and hopefully few prototypes,
88515 which can conflict with char $ac_func (); below.
88516 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88517 <limits.h> exists even on freestanding compilers. */
88519 #ifdef __STDC__
88520 # include <limits.h>
88521 #else
88522 # include <assert.h>
88523 #endif
88525 #undef $ac_func
88527 /* Override any gcc2 internal prototype to avoid an error. */
88528 #ifdef __cplusplus
88529 extern "C"
88531 #endif
88532 /* We use char because int might match the return type of a gcc2
88533 builtin and then its argument prototype would still apply. */
88534 char $ac_func ();
88535 /* The GNU C library defines this for functions which it implements
88536 to always fail with ENOSYS. Some functions are actually named
88537 something starting with __ and the normal name is an alias. */
88538 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88539 choke me
88540 #else
88541 char (*f) () = $ac_func;
88542 #endif
88543 #ifdef __cplusplus
88545 #endif
88548 main ()
88550 return f != $ac_func;
88552 return 0;
88554 _ACEOF
88555 rm -f conftest.$ac_objext conftest$ac_exeext
88556 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88557 (eval $ac_link) 2>conftest.er1
88558 ac_status=$?
88559 grep -v '^ *+' conftest.er1 >conftest.err
88560 rm -f conftest.er1
88561 cat conftest.err >&5
88562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88563 (exit $ac_status); } &&
88564 { ac_try='test -z "$ac_c_werror_flag"
88565 || test ! -s conftest.err'
88566 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88567 (eval $ac_try) 2>&5
88568 ac_status=$?
88569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88570 (exit $ac_status); }; } &&
88571 { ac_try='test -s conftest$ac_exeext'
88572 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88573 (eval $ac_try) 2>&5
88574 ac_status=$?
88575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88576 (exit $ac_status); }; }; then
88577 eval "$as_ac_var=yes"
88578 else
88579 echo "$as_me: failed program was:" >&5
88580 sed 's/^/| /' conftest.$ac_ext >&5
88582 eval "$as_ac_var=no"
88584 rm -f conftest.err conftest.$ac_objext \
88585 conftest$ac_exeext conftest.$ac_ext
88587 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88588 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88589 if test `eval echo '${'$as_ac_var'}'` = yes; then
88590 cat >>confdefs.h <<_ACEOF
88591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88592 _ACEOF
88595 done
88597 else
88599 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
88600 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
88601 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
88602 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
88603 echo $ECHO_N "(cached) $ECHO_C" >&6
88604 else
88608 ac_ext=cc
88609 ac_cpp='$CXXCPP $CPPFLAGS'
88610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88614 cat >conftest.$ac_ext <<_ACEOF
88615 /* confdefs.h. */
88616 _ACEOF
88617 cat confdefs.h >>conftest.$ac_ext
88618 cat >>conftest.$ac_ext <<_ACEOF
88619 /* end confdefs.h. */
88620 #include <math.h>
88621 #ifdef HAVE_IEEEFP_H
88622 #include <ieeefp.h>
88623 #endif
88626 main ()
88628 _isnanl(0);
88630 return 0;
88632 _ACEOF
88633 rm -f conftest.$ac_objext
88634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88635 (eval $ac_compile) 2>conftest.er1
88636 ac_status=$?
88637 grep -v '^ *+' conftest.er1 >conftest.err
88638 rm -f conftest.er1
88639 cat conftest.err >&5
88640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88641 (exit $ac_status); } &&
88642 { ac_try='test -z "$ac_cxx_werror_flag"
88643 || test ! -s conftest.err'
88644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88645 (eval $ac_try) 2>&5
88646 ac_status=$?
88647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88648 (exit $ac_status); }; } &&
88649 { ac_try='test -s conftest.$ac_objext'
88650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88651 (eval $ac_try) 2>&5
88652 ac_status=$?
88653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88654 (exit $ac_status); }; }; then
88655 glibcxx_cv_func__isnanl_use=yes
88656 else
88657 echo "$as_me: failed program was:" >&5
88658 sed 's/^/| /' conftest.$ac_ext >&5
88660 glibcxx_cv_func__isnanl_use=no
88662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88663 ac_ext=c
88664 ac_cpp='$CPP $CPPFLAGS'
88665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
88674 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
88676 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
88678 for ac_func in _isnanl
88680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88681 echo "$as_me:$LINENO: checking for $ac_func" >&5
88682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88683 if eval "test \"\${$as_ac_var+set}\" = set"; then
88684 echo $ECHO_N "(cached) $ECHO_C" >&6
88685 else
88686 if test x$gcc_no_link = xyes; then
88687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88689 { (exit 1); exit 1; }; }
88691 cat >conftest.$ac_ext <<_ACEOF
88692 /* confdefs.h. */
88693 _ACEOF
88694 cat confdefs.h >>conftest.$ac_ext
88695 cat >>conftest.$ac_ext <<_ACEOF
88696 /* end confdefs.h. */
88697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88699 #define $ac_func innocuous_$ac_func
88701 /* System header to define __stub macros and hopefully few prototypes,
88702 which can conflict with char $ac_func (); below.
88703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88704 <limits.h> exists even on freestanding compilers. */
88706 #ifdef __STDC__
88707 # include <limits.h>
88708 #else
88709 # include <assert.h>
88710 #endif
88712 #undef $ac_func
88714 /* Override any gcc2 internal prototype to avoid an error. */
88715 #ifdef __cplusplus
88716 extern "C"
88718 #endif
88719 /* We use char because int might match the return type of a gcc2
88720 builtin and then its argument prototype would still apply. */
88721 char $ac_func ();
88722 /* The GNU C library defines this for functions which it implements
88723 to always fail with ENOSYS. Some functions are actually named
88724 something starting with __ and the normal name is an alias. */
88725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88726 choke me
88727 #else
88728 char (*f) () = $ac_func;
88729 #endif
88730 #ifdef __cplusplus
88732 #endif
88735 main ()
88737 return f != $ac_func;
88739 return 0;
88741 _ACEOF
88742 rm -f conftest.$ac_objext conftest$ac_exeext
88743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88744 (eval $ac_link) 2>conftest.er1
88745 ac_status=$?
88746 grep -v '^ *+' conftest.er1 >conftest.err
88747 rm -f conftest.er1
88748 cat conftest.err >&5
88749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88750 (exit $ac_status); } &&
88751 { ac_try='test -z "$ac_c_werror_flag"
88752 || test ! -s conftest.err'
88753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88754 (eval $ac_try) 2>&5
88755 ac_status=$?
88756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88757 (exit $ac_status); }; } &&
88758 { ac_try='test -s conftest$ac_exeext'
88759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88760 (eval $ac_try) 2>&5
88761 ac_status=$?
88762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88763 (exit $ac_status); }; }; then
88764 eval "$as_ac_var=yes"
88765 else
88766 echo "$as_me: failed program was:" >&5
88767 sed 's/^/| /' conftest.$ac_ext >&5
88769 eval "$as_ac_var=no"
88771 rm -f conftest.err conftest.$ac_objext \
88772 conftest$ac_exeext conftest.$ac_ext
88774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88776 if test `eval echo '${'$as_ac_var'}'` = yes; then
88777 cat >>confdefs.h <<_ACEOF
88778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88779 _ACEOF
88782 done
88792 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
88793 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
88794 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
88795 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
88796 echo $ECHO_N "(cached) $ECHO_C" >&6
88797 else
88801 ac_ext=cc
88802 ac_cpp='$CXXCPP $CPPFLAGS'
88803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88807 cat >conftest.$ac_ext <<_ACEOF
88808 /* confdefs.h. */
88809 _ACEOF
88810 cat confdefs.h >>conftest.$ac_ext
88811 cat >>conftest.$ac_ext <<_ACEOF
88812 /* end confdefs.h. */
88813 #include <math.h>
88814 #ifdef HAVE_IEEEFP_H
88815 #include <ieeefp.h>
88816 #endif
88819 main ()
88821 isinfl(0);
88823 return 0;
88825 _ACEOF
88826 rm -f conftest.$ac_objext
88827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
88828 (eval $ac_compile) 2>conftest.er1
88829 ac_status=$?
88830 grep -v '^ *+' conftest.er1 >conftest.err
88831 rm -f conftest.er1
88832 cat conftest.err >&5
88833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88834 (exit $ac_status); } &&
88835 { ac_try='test -z "$ac_cxx_werror_flag"
88836 || test ! -s conftest.err'
88837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88838 (eval $ac_try) 2>&5
88839 ac_status=$?
88840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88841 (exit $ac_status); }; } &&
88842 { ac_try='test -s conftest.$ac_objext'
88843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88844 (eval $ac_try) 2>&5
88845 ac_status=$?
88846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88847 (exit $ac_status); }; }; then
88848 glibcxx_cv_func_isinfl_use=yes
88849 else
88850 echo "$as_me: failed program was:" >&5
88851 sed 's/^/| /' conftest.$ac_ext >&5
88853 glibcxx_cv_func_isinfl_use=no
88855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
88856 ac_ext=c
88857 ac_cpp='$CPP $CPPFLAGS'
88858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
88866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
88867 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
88869 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
88871 for ac_func in isinfl
88873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
88874 echo "$as_me:$LINENO: checking for $ac_func" >&5
88875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
88876 if eval "test \"\${$as_ac_var+set}\" = set"; then
88877 echo $ECHO_N "(cached) $ECHO_C" >&6
88878 else
88879 if test x$gcc_no_link = xyes; then
88880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
88881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
88882 { (exit 1); exit 1; }; }
88884 cat >conftest.$ac_ext <<_ACEOF
88885 /* confdefs.h. */
88886 _ACEOF
88887 cat confdefs.h >>conftest.$ac_ext
88888 cat >>conftest.$ac_ext <<_ACEOF
88889 /* end confdefs.h. */
88890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
88891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
88892 #define $ac_func innocuous_$ac_func
88894 /* System header to define __stub macros and hopefully few prototypes,
88895 which can conflict with char $ac_func (); below.
88896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
88897 <limits.h> exists even on freestanding compilers. */
88899 #ifdef __STDC__
88900 # include <limits.h>
88901 #else
88902 # include <assert.h>
88903 #endif
88905 #undef $ac_func
88907 /* Override any gcc2 internal prototype to avoid an error. */
88908 #ifdef __cplusplus
88909 extern "C"
88911 #endif
88912 /* We use char because int might match the return type of a gcc2
88913 builtin and then its argument prototype would still apply. */
88914 char $ac_func ();
88915 /* The GNU C library defines this for functions which it implements
88916 to always fail with ENOSYS. Some functions are actually named
88917 something starting with __ and the normal name is an alias. */
88918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
88919 choke me
88920 #else
88921 char (*f) () = $ac_func;
88922 #endif
88923 #ifdef __cplusplus
88925 #endif
88928 main ()
88930 return f != $ac_func;
88932 return 0;
88934 _ACEOF
88935 rm -f conftest.$ac_objext conftest$ac_exeext
88936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
88937 (eval $ac_link) 2>conftest.er1
88938 ac_status=$?
88939 grep -v '^ *+' conftest.er1 >conftest.err
88940 rm -f conftest.er1
88941 cat conftest.err >&5
88942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88943 (exit $ac_status); } &&
88944 { ac_try='test -z "$ac_c_werror_flag"
88945 || test ! -s conftest.err'
88946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88947 (eval $ac_try) 2>&5
88948 ac_status=$?
88949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88950 (exit $ac_status); }; } &&
88951 { ac_try='test -s conftest$ac_exeext'
88952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
88953 (eval $ac_try) 2>&5
88954 ac_status=$?
88955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
88956 (exit $ac_status); }; }; then
88957 eval "$as_ac_var=yes"
88958 else
88959 echo "$as_me: failed program was:" >&5
88960 sed 's/^/| /' conftest.$ac_ext >&5
88962 eval "$as_ac_var=no"
88964 rm -f conftest.err conftest.$ac_objext \
88965 conftest$ac_exeext conftest.$ac_ext
88967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
88968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
88969 if test `eval echo '${'$as_ac_var'}'` = yes; then
88970 cat >>confdefs.h <<_ACEOF
88971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
88972 _ACEOF
88975 done
88977 else
88979 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
88980 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
88981 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
88982 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
88983 echo $ECHO_N "(cached) $ECHO_C" >&6
88984 else
88988 ac_ext=cc
88989 ac_cpp='$CXXCPP $CPPFLAGS'
88990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
88991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
88992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
88994 cat >conftest.$ac_ext <<_ACEOF
88995 /* confdefs.h. */
88996 _ACEOF
88997 cat confdefs.h >>conftest.$ac_ext
88998 cat >>conftest.$ac_ext <<_ACEOF
88999 /* end confdefs.h. */
89000 #include <math.h>
89001 #ifdef HAVE_IEEEFP_H
89002 #include <ieeefp.h>
89003 #endif
89006 main ()
89008 _isinfl(0);
89010 return 0;
89012 _ACEOF
89013 rm -f conftest.$ac_objext
89014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89015 (eval $ac_compile) 2>conftest.er1
89016 ac_status=$?
89017 grep -v '^ *+' conftest.er1 >conftest.err
89018 rm -f conftest.er1
89019 cat conftest.err >&5
89020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89021 (exit $ac_status); } &&
89022 { ac_try='test -z "$ac_cxx_werror_flag"
89023 || test ! -s conftest.err'
89024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89025 (eval $ac_try) 2>&5
89026 ac_status=$?
89027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89028 (exit $ac_status); }; } &&
89029 { ac_try='test -s conftest.$ac_objext'
89030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89031 (eval $ac_try) 2>&5
89032 ac_status=$?
89033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89034 (exit $ac_status); }; }; then
89035 glibcxx_cv_func__isinfl_use=yes
89036 else
89037 echo "$as_me: failed program was:" >&5
89038 sed 's/^/| /' conftest.$ac_ext >&5
89040 glibcxx_cv_func__isinfl_use=no
89042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89043 ac_ext=c
89044 ac_cpp='$CPP $CPPFLAGS'
89045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
89054 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
89056 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
89058 for ac_func in _isinfl
89060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89061 echo "$as_me:$LINENO: checking for $ac_func" >&5
89062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89063 if eval "test \"\${$as_ac_var+set}\" = set"; then
89064 echo $ECHO_N "(cached) $ECHO_C" >&6
89065 else
89066 if test x$gcc_no_link = xyes; then
89067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89069 { (exit 1); exit 1; }; }
89071 cat >conftest.$ac_ext <<_ACEOF
89072 /* confdefs.h. */
89073 _ACEOF
89074 cat confdefs.h >>conftest.$ac_ext
89075 cat >>conftest.$ac_ext <<_ACEOF
89076 /* end confdefs.h. */
89077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89079 #define $ac_func innocuous_$ac_func
89081 /* System header to define __stub macros and hopefully few prototypes,
89082 which can conflict with char $ac_func (); below.
89083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89084 <limits.h> exists even on freestanding compilers. */
89086 #ifdef __STDC__
89087 # include <limits.h>
89088 #else
89089 # include <assert.h>
89090 #endif
89092 #undef $ac_func
89094 /* Override any gcc2 internal prototype to avoid an error. */
89095 #ifdef __cplusplus
89096 extern "C"
89098 #endif
89099 /* We use char because int might match the return type of a gcc2
89100 builtin and then its argument prototype would still apply. */
89101 char $ac_func ();
89102 /* The GNU C library defines this for functions which it implements
89103 to always fail with ENOSYS. Some functions are actually named
89104 something starting with __ and the normal name is an alias. */
89105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89106 choke me
89107 #else
89108 char (*f) () = $ac_func;
89109 #endif
89110 #ifdef __cplusplus
89112 #endif
89115 main ()
89117 return f != $ac_func;
89119 return 0;
89121 _ACEOF
89122 rm -f conftest.$ac_objext conftest$ac_exeext
89123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89124 (eval $ac_link) 2>conftest.er1
89125 ac_status=$?
89126 grep -v '^ *+' conftest.er1 >conftest.err
89127 rm -f conftest.er1
89128 cat conftest.err >&5
89129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89130 (exit $ac_status); } &&
89131 { ac_try='test -z "$ac_c_werror_flag"
89132 || test ! -s conftest.err'
89133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89134 (eval $ac_try) 2>&5
89135 ac_status=$?
89136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89137 (exit $ac_status); }; } &&
89138 { ac_try='test -s conftest$ac_exeext'
89139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89140 (eval $ac_try) 2>&5
89141 ac_status=$?
89142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89143 (exit $ac_status); }; }; then
89144 eval "$as_ac_var=yes"
89145 else
89146 echo "$as_me: failed program was:" >&5
89147 sed 's/^/| /' conftest.$ac_ext >&5
89149 eval "$as_ac_var=no"
89151 rm -f conftest.err conftest.$ac_objext \
89152 conftest$ac_exeext conftest.$ac_ext
89154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89156 if test `eval echo '${'$as_ac_var'}'` = yes; then
89157 cat >>confdefs.h <<_ACEOF
89158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89159 _ACEOF
89162 done
89172 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
89173 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
89174 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
89175 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
89176 echo $ECHO_N "(cached) $ECHO_C" >&6
89177 else
89181 ac_ext=cc
89182 ac_cpp='$CXXCPP $CPPFLAGS'
89183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89187 cat >conftest.$ac_ext <<_ACEOF
89188 /* confdefs.h. */
89189 _ACEOF
89190 cat confdefs.h >>conftest.$ac_ext
89191 cat >>conftest.$ac_ext <<_ACEOF
89192 /* end confdefs.h. */
89193 #include <math.h>
89195 main ()
89197 atan2l(0, 0);
89199 return 0;
89201 _ACEOF
89202 rm -f conftest.$ac_objext
89203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89204 (eval $ac_compile) 2>conftest.er1
89205 ac_status=$?
89206 grep -v '^ *+' conftest.er1 >conftest.err
89207 rm -f conftest.er1
89208 cat conftest.err >&5
89209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89210 (exit $ac_status); } &&
89211 { ac_try='test -z "$ac_cxx_werror_flag"
89212 || test ! -s conftest.err'
89213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89214 (eval $ac_try) 2>&5
89215 ac_status=$?
89216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89217 (exit $ac_status); }; } &&
89218 { ac_try='test -s conftest.$ac_objext'
89219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89220 (eval $ac_try) 2>&5
89221 ac_status=$?
89222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89223 (exit $ac_status); }; }; then
89224 glibcxx_cv_func_atan2l_use=yes
89225 else
89226 echo "$as_me: failed program was:" >&5
89227 sed 's/^/| /' conftest.$ac_ext >&5
89229 glibcxx_cv_func_atan2l_use=no
89231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89232 ac_ext=c
89233 ac_cpp='$CPP $CPPFLAGS'
89234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
89243 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
89245 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
89247 for ac_func in atan2l
89249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89250 echo "$as_me:$LINENO: checking for $ac_func" >&5
89251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89252 if eval "test \"\${$as_ac_var+set}\" = set"; then
89253 echo $ECHO_N "(cached) $ECHO_C" >&6
89254 else
89255 if test x$gcc_no_link = xyes; then
89256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89258 { (exit 1); exit 1; }; }
89260 cat >conftest.$ac_ext <<_ACEOF
89261 /* confdefs.h. */
89262 _ACEOF
89263 cat confdefs.h >>conftest.$ac_ext
89264 cat >>conftest.$ac_ext <<_ACEOF
89265 /* end confdefs.h. */
89266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89268 #define $ac_func innocuous_$ac_func
89270 /* System header to define __stub macros and hopefully few prototypes,
89271 which can conflict with char $ac_func (); below.
89272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89273 <limits.h> exists even on freestanding compilers. */
89275 #ifdef __STDC__
89276 # include <limits.h>
89277 #else
89278 # include <assert.h>
89279 #endif
89281 #undef $ac_func
89283 /* Override any gcc2 internal prototype to avoid an error. */
89284 #ifdef __cplusplus
89285 extern "C"
89287 #endif
89288 /* We use char because int might match the return type of a gcc2
89289 builtin and then its argument prototype would still apply. */
89290 char $ac_func ();
89291 /* The GNU C library defines this for functions which it implements
89292 to always fail with ENOSYS. Some functions are actually named
89293 something starting with __ and the normal name is an alias. */
89294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89295 choke me
89296 #else
89297 char (*f) () = $ac_func;
89298 #endif
89299 #ifdef __cplusplus
89301 #endif
89304 main ()
89306 return f != $ac_func;
89308 return 0;
89310 _ACEOF
89311 rm -f conftest.$ac_objext conftest$ac_exeext
89312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89313 (eval $ac_link) 2>conftest.er1
89314 ac_status=$?
89315 grep -v '^ *+' conftest.er1 >conftest.err
89316 rm -f conftest.er1
89317 cat conftest.err >&5
89318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89319 (exit $ac_status); } &&
89320 { ac_try='test -z "$ac_c_werror_flag"
89321 || test ! -s conftest.err'
89322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89323 (eval $ac_try) 2>&5
89324 ac_status=$?
89325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89326 (exit $ac_status); }; } &&
89327 { ac_try='test -s conftest$ac_exeext'
89328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89329 (eval $ac_try) 2>&5
89330 ac_status=$?
89331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89332 (exit $ac_status); }; }; then
89333 eval "$as_ac_var=yes"
89334 else
89335 echo "$as_me: failed program was:" >&5
89336 sed 's/^/| /' conftest.$ac_ext >&5
89338 eval "$as_ac_var=no"
89340 rm -f conftest.err conftest.$ac_objext \
89341 conftest$ac_exeext conftest.$ac_ext
89343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89345 if test `eval echo '${'$as_ac_var'}'` = yes; then
89346 cat >>confdefs.h <<_ACEOF
89347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89348 _ACEOF
89351 done
89353 else
89355 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
89356 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
89357 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
89358 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
89359 echo $ECHO_N "(cached) $ECHO_C" >&6
89360 else
89364 ac_ext=cc
89365 ac_cpp='$CXXCPP $CPPFLAGS'
89366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89370 cat >conftest.$ac_ext <<_ACEOF
89371 /* confdefs.h. */
89372 _ACEOF
89373 cat confdefs.h >>conftest.$ac_ext
89374 cat >>conftest.$ac_ext <<_ACEOF
89375 /* end confdefs.h. */
89376 #include <math.h>
89378 main ()
89380 _atan2l(0, 0);
89382 return 0;
89384 _ACEOF
89385 rm -f conftest.$ac_objext
89386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89387 (eval $ac_compile) 2>conftest.er1
89388 ac_status=$?
89389 grep -v '^ *+' conftest.er1 >conftest.err
89390 rm -f conftest.er1
89391 cat conftest.err >&5
89392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89393 (exit $ac_status); } &&
89394 { ac_try='test -z "$ac_cxx_werror_flag"
89395 || test ! -s conftest.err'
89396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89397 (eval $ac_try) 2>&5
89398 ac_status=$?
89399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89400 (exit $ac_status); }; } &&
89401 { ac_try='test -s conftest.$ac_objext'
89402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89403 (eval $ac_try) 2>&5
89404 ac_status=$?
89405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89406 (exit $ac_status); }; }; then
89407 glibcxx_cv_func__atan2l_use=yes
89408 else
89409 echo "$as_me: failed program was:" >&5
89410 sed 's/^/| /' conftest.$ac_ext >&5
89412 glibcxx_cv_func__atan2l_use=no
89414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89415 ac_ext=c
89416 ac_cpp='$CPP $CPPFLAGS'
89417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
89426 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
89428 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
89430 for ac_func in _atan2l
89432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89433 echo "$as_me:$LINENO: checking for $ac_func" >&5
89434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89435 if eval "test \"\${$as_ac_var+set}\" = set"; then
89436 echo $ECHO_N "(cached) $ECHO_C" >&6
89437 else
89438 if test x$gcc_no_link = xyes; then
89439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89441 { (exit 1); exit 1; }; }
89443 cat >conftest.$ac_ext <<_ACEOF
89444 /* confdefs.h. */
89445 _ACEOF
89446 cat confdefs.h >>conftest.$ac_ext
89447 cat >>conftest.$ac_ext <<_ACEOF
89448 /* end confdefs.h. */
89449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89451 #define $ac_func innocuous_$ac_func
89453 /* System header to define __stub macros and hopefully few prototypes,
89454 which can conflict with char $ac_func (); below.
89455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89456 <limits.h> exists even on freestanding compilers. */
89458 #ifdef __STDC__
89459 # include <limits.h>
89460 #else
89461 # include <assert.h>
89462 #endif
89464 #undef $ac_func
89466 /* Override any gcc2 internal prototype to avoid an error. */
89467 #ifdef __cplusplus
89468 extern "C"
89470 #endif
89471 /* We use char because int might match the return type of a gcc2
89472 builtin and then its argument prototype would still apply. */
89473 char $ac_func ();
89474 /* The GNU C library defines this for functions which it implements
89475 to always fail with ENOSYS. Some functions are actually named
89476 something starting with __ and the normal name is an alias. */
89477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89478 choke me
89479 #else
89480 char (*f) () = $ac_func;
89481 #endif
89482 #ifdef __cplusplus
89484 #endif
89487 main ()
89489 return f != $ac_func;
89491 return 0;
89493 _ACEOF
89494 rm -f conftest.$ac_objext conftest$ac_exeext
89495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89496 (eval $ac_link) 2>conftest.er1
89497 ac_status=$?
89498 grep -v '^ *+' conftest.er1 >conftest.err
89499 rm -f conftest.er1
89500 cat conftest.err >&5
89501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89502 (exit $ac_status); } &&
89503 { ac_try='test -z "$ac_c_werror_flag"
89504 || test ! -s conftest.err'
89505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89506 (eval $ac_try) 2>&5
89507 ac_status=$?
89508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89509 (exit $ac_status); }; } &&
89510 { ac_try='test -s conftest$ac_exeext'
89511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89512 (eval $ac_try) 2>&5
89513 ac_status=$?
89514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89515 (exit $ac_status); }; }; then
89516 eval "$as_ac_var=yes"
89517 else
89518 echo "$as_me: failed program was:" >&5
89519 sed 's/^/| /' conftest.$ac_ext >&5
89521 eval "$as_ac_var=no"
89523 rm -f conftest.err conftest.$ac_objext \
89524 conftest$ac_exeext conftest.$ac_ext
89526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89528 if test `eval echo '${'$as_ac_var'}'` = yes; then
89529 cat >>confdefs.h <<_ACEOF
89530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89531 _ACEOF
89534 done
89544 echo "$as_me:$LINENO: checking for expl declaration" >&5
89545 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
89546 if test x${glibcxx_cv_func_expl_use+set} != xset; then
89547 if test "${glibcxx_cv_func_expl_use+set}" = set; then
89548 echo $ECHO_N "(cached) $ECHO_C" >&6
89549 else
89553 ac_ext=cc
89554 ac_cpp='$CXXCPP $CPPFLAGS'
89555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89559 cat >conftest.$ac_ext <<_ACEOF
89560 /* confdefs.h. */
89561 _ACEOF
89562 cat confdefs.h >>conftest.$ac_ext
89563 cat >>conftest.$ac_ext <<_ACEOF
89564 /* end confdefs.h. */
89565 #include <math.h>
89566 #ifdef HAVE_IEEEFP_H
89567 #include <ieeefp.h>
89568 #endif
89571 main ()
89573 expl(0);
89575 return 0;
89577 _ACEOF
89578 rm -f conftest.$ac_objext
89579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89580 (eval $ac_compile) 2>conftest.er1
89581 ac_status=$?
89582 grep -v '^ *+' conftest.er1 >conftest.err
89583 rm -f conftest.er1
89584 cat conftest.err >&5
89585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89586 (exit $ac_status); } &&
89587 { ac_try='test -z "$ac_cxx_werror_flag"
89588 || test ! -s conftest.err'
89589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89590 (eval $ac_try) 2>&5
89591 ac_status=$?
89592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89593 (exit $ac_status); }; } &&
89594 { ac_try='test -s conftest.$ac_objext'
89595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89596 (eval $ac_try) 2>&5
89597 ac_status=$?
89598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89599 (exit $ac_status); }; }; then
89600 glibcxx_cv_func_expl_use=yes
89601 else
89602 echo "$as_me: failed program was:" >&5
89603 sed 's/^/| /' conftest.$ac_ext >&5
89605 glibcxx_cv_func_expl_use=no
89607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89608 ac_ext=c
89609 ac_cpp='$CPP $CPPFLAGS'
89610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
89619 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
89621 if test x$glibcxx_cv_func_expl_use = x"yes"; then
89623 for ac_func in expl
89625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89626 echo "$as_me:$LINENO: checking for $ac_func" >&5
89627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89628 if eval "test \"\${$as_ac_var+set}\" = set"; then
89629 echo $ECHO_N "(cached) $ECHO_C" >&6
89630 else
89631 if test x$gcc_no_link = xyes; then
89632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89634 { (exit 1); exit 1; }; }
89636 cat >conftest.$ac_ext <<_ACEOF
89637 /* confdefs.h. */
89638 _ACEOF
89639 cat confdefs.h >>conftest.$ac_ext
89640 cat >>conftest.$ac_ext <<_ACEOF
89641 /* end confdefs.h. */
89642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89644 #define $ac_func innocuous_$ac_func
89646 /* System header to define __stub macros and hopefully few prototypes,
89647 which can conflict with char $ac_func (); below.
89648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89649 <limits.h> exists even on freestanding compilers. */
89651 #ifdef __STDC__
89652 # include <limits.h>
89653 #else
89654 # include <assert.h>
89655 #endif
89657 #undef $ac_func
89659 /* Override any gcc2 internal prototype to avoid an error. */
89660 #ifdef __cplusplus
89661 extern "C"
89663 #endif
89664 /* We use char because int might match the return type of a gcc2
89665 builtin and then its argument prototype would still apply. */
89666 char $ac_func ();
89667 /* The GNU C library defines this for functions which it implements
89668 to always fail with ENOSYS. Some functions are actually named
89669 something starting with __ and the normal name is an alias. */
89670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89671 choke me
89672 #else
89673 char (*f) () = $ac_func;
89674 #endif
89675 #ifdef __cplusplus
89677 #endif
89680 main ()
89682 return f != $ac_func;
89684 return 0;
89686 _ACEOF
89687 rm -f conftest.$ac_objext conftest$ac_exeext
89688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89689 (eval $ac_link) 2>conftest.er1
89690 ac_status=$?
89691 grep -v '^ *+' conftest.er1 >conftest.err
89692 rm -f conftest.er1
89693 cat conftest.err >&5
89694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89695 (exit $ac_status); } &&
89696 { ac_try='test -z "$ac_c_werror_flag"
89697 || test ! -s conftest.err'
89698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89699 (eval $ac_try) 2>&5
89700 ac_status=$?
89701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89702 (exit $ac_status); }; } &&
89703 { ac_try='test -s conftest$ac_exeext'
89704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89705 (eval $ac_try) 2>&5
89706 ac_status=$?
89707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89708 (exit $ac_status); }; }; then
89709 eval "$as_ac_var=yes"
89710 else
89711 echo "$as_me: failed program was:" >&5
89712 sed 's/^/| /' conftest.$ac_ext >&5
89714 eval "$as_ac_var=no"
89716 rm -f conftest.err conftest.$ac_objext \
89717 conftest$ac_exeext conftest.$ac_ext
89719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89721 if test `eval echo '${'$as_ac_var'}'` = yes; then
89722 cat >>confdefs.h <<_ACEOF
89723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89724 _ACEOF
89727 done
89729 else
89731 echo "$as_me:$LINENO: checking for _expl declaration" >&5
89732 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
89733 if test x${glibcxx_cv_func__expl_use+set} != xset; then
89734 if test "${glibcxx_cv_func__expl_use+set}" = set; then
89735 echo $ECHO_N "(cached) $ECHO_C" >&6
89736 else
89740 ac_ext=cc
89741 ac_cpp='$CXXCPP $CPPFLAGS'
89742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89746 cat >conftest.$ac_ext <<_ACEOF
89747 /* confdefs.h. */
89748 _ACEOF
89749 cat confdefs.h >>conftest.$ac_ext
89750 cat >>conftest.$ac_ext <<_ACEOF
89751 /* end confdefs.h. */
89752 #include <math.h>
89753 #ifdef HAVE_IEEEFP_H
89754 #include <ieeefp.h>
89755 #endif
89758 main ()
89760 _expl(0);
89762 return 0;
89764 _ACEOF
89765 rm -f conftest.$ac_objext
89766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89767 (eval $ac_compile) 2>conftest.er1
89768 ac_status=$?
89769 grep -v '^ *+' conftest.er1 >conftest.err
89770 rm -f conftest.er1
89771 cat conftest.err >&5
89772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89773 (exit $ac_status); } &&
89774 { ac_try='test -z "$ac_cxx_werror_flag"
89775 || test ! -s conftest.err'
89776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89777 (eval $ac_try) 2>&5
89778 ac_status=$?
89779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89780 (exit $ac_status); }; } &&
89781 { ac_try='test -s conftest.$ac_objext'
89782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89783 (eval $ac_try) 2>&5
89784 ac_status=$?
89785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89786 (exit $ac_status); }; }; then
89787 glibcxx_cv_func__expl_use=yes
89788 else
89789 echo "$as_me: failed program was:" >&5
89790 sed 's/^/| /' conftest.$ac_ext >&5
89792 glibcxx_cv_func__expl_use=no
89794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89795 ac_ext=c
89796 ac_cpp='$CPP $CPPFLAGS'
89797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
89806 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
89808 if test x$glibcxx_cv_func__expl_use = x"yes"; then
89810 for ac_func in _expl
89812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
89813 echo "$as_me:$LINENO: checking for $ac_func" >&5
89814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
89815 if eval "test \"\${$as_ac_var+set}\" = set"; then
89816 echo $ECHO_N "(cached) $ECHO_C" >&6
89817 else
89818 if test x$gcc_no_link = xyes; then
89819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
89820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
89821 { (exit 1); exit 1; }; }
89823 cat >conftest.$ac_ext <<_ACEOF
89824 /* confdefs.h. */
89825 _ACEOF
89826 cat confdefs.h >>conftest.$ac_ext
89827 cat >>conftest.$ac_ext <<_ACEOF
89828 /* end confdefs.h. */
89829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
89830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
89831 #define $ac_func innocuous_$ac_func
89833 /* System header to define __stub macros and hopefully few prototypes,
89834 which can conflict with char $ac_func (); below.
89835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
89836 <limits.h> exists even on freestanding compilers. */
89838 #ifdef __STDC__
89839 # include <limits.h>
89840 #else
89841 # include <assert.h>
89842 #endif
89844 #undef $ac_func
89846 /* Override any gcc2 internal prototype to avoid an error. */
89847 #ifdef __cplusplus
89848 extern "C"
89850 #endif
89851 /* We use char because int might match the return type of a gcc2
89852 builtin and then its argument prototype would still apply. */
89853 char $ac_func ();
89854 /* The GNU C library defines this for functions which it implements
89855 to always fail with ENOSYS. Some functions are actually named
89856 something starting with __ and the normal name is an alias. */
89857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
89858 choke me
89859 #else
89860 char (*f) () = $ac_func;
89861 #endif
89862 #ifdef __cplusplus
89864 #endif
89867 main ()
89869 return f != $ac_func;
89871 return 0;
89873 _ACEOF
89874 rm -f conftest.$ac_objext conftest$ac_exeext
89875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
89876 (eval $ac_link) 2>conftest.er1
89877 ac_status=$?
89878 grep -v '^ *+' conftest.er1 >conftest.err
89879 rm -f conftest.er1
89880 cat conftest.err >&5
89881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89882 (exit $ac_status); } &&
89883 { ac_try='test -z "$ac_c_werror_flag"
89884 || test ! -s conftest.err'
89885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89886 (eval $ac_try) 2>&5
89887 ac_status=$?
89888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89889 (exit $ac_status); }; } &&
89890 { ac_try='test -s conftest$ac_exeext'
89891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89892 (eval $ac_try) 2>&5
89893 ac_status=$?
89894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89895 (exit $ac_status); }; }; then
89896 eval "$as_ac_var=yes"
89897 else
89898 echo "$as_me: failed program was:" >&5
89899 sed 's/^/| /' conftest.$ac_ext >&5
89901 eval "$as_ac_var=no"
89903 rm -f conftest.err conftest.$ac_objext \
89904 conftest$ac_exeext conftest.$ac_ext
89906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
89907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
89908 if test `eval echo '${'$as_ac_var'}'` = yes; then
89909 cat >>confdefs.h <<_ACEOF
89910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
89911 _ACEOF
89914 done
89924 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
89925 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
89926 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
89927 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
89928 echo $ECHO_N "(cached) $ECHO_C" >&6
89929 else
89933 ac_ext=cc
89934 ac_cpp='$CXXCPP $CPPFLAGS'
89935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
89939 cat >conftest.$ac_ext <<_ACEOF
89940 /* confdefs.h. */
89941 _ACEOF
89942 cat confdefs.h >>conftest.$ac_ext
89943 cat >>conftest.$ac_ext <<_ACEOF
89944 /* end confdefs.h. */
89945 #include <math.h>
89946 #ifdef HAVE_IEEEFP_H
89947 #include <ieeefp.h>
89948 #endif
89951 main ()
89953 fabsl(0);
89955 return 0;
89957 _ACEOF
89958 rm -f conftest.$ac_objext
89959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
89960 (eval $ac_compile) 2>conftest.er1
89961 ac_status=$?
89962 grep -v '^ *+' conftest.er1 >conftest.err
89963 rm -f conftest.er1
89964 cat conftest.err >&5
89965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89966 (exit $ac_status); } &&
89967 { ac_try='test -z "$ac_cxx_werror_flag"
89968 || test ! -s conftest.err'
89969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89970 (eval $ac_try) 2>&5
89971 ac_status=$?
89972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89973 (exit $ac_status); }; } &&
89974 { ac_try='test -s conftest.$ac_objext'
89975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
89976 (eval $ac_try) 2>&5
89977 ac_status=$?
89978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
89979 (exit $ac_status); }; }; then
89980 glibcxx_cv_func_fabsl_use=yes
89981 else
89982 echo "$as_me: failed program was:" >&5
89983 sed 's/^/| /' conftest.$ac_ext >&5
89985 glibcxx_cv_func_fabsl_use=no
89987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
89988 ac_ext=c
89989 ac_cpp='$CPP $CPPFLAGS'
89990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
89991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
89992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
89998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
89999 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
90001 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
90003 for ac_func in fabsl
90005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90006 echo "$as_me:$LINENO: checking for $ac_func" >&5
90007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90008 if eval "test \"\${$as_ac_var+set}\" = set"; then
90009 echo $ECHO_N "(cached) $ECHO_C" >&6
90010 else
90011 if test x$gcc_no_link = xyes; then
90012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90014 { (exit 1); exit 1; }; }
90016 cat >conftest.$ac_ext <<_ACEOF
90017 /* confdefs.h. */
90018 _ACEOF
90019 cat confdefs.h >>conftest.$ac_ext
90020 cat >>conftest.$ac_ext <<_ACEOF
90021 /* end confdefs.h. */
90022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90024 #define $ac_func innocuous_$ac_func
90026 /* System header to define __stub macros and hopefully few prototypes,
90027 which can conflict with char $ac_func (); below.
90028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90029 <limits.h> exists even on freestanding compilers. */
90031 #ifdef __STDC__
90032 # include <limits.h>
90033 #else
90034 # include <assert.h>
90035 #endif
90037 #undef $ac_func
90039 /* Override any gcc2 internal prototype to avoid an error. */
90040 #ifdef __cplusplus
90041 extern "C"
90043 #endif
90044 /* We use char because int might match the return type of a gcc2
90045 builtin and then its argument prototype would still apply. */
90046 char $ac_func ();
90047 /* The GNU C library defines this for functions which it implements
90048 to always fail with ENOSYS. Some functions are actually named
90049 something starting with __ and the normal name is an alias. */
90050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90051 choke me
90052 #else
90053 char (*f) () = $ac_func;
90054 #endif
90055 #ifdef __cplusplus
90057 #endif
90060 main ()
90062 return f != $ac_func;
90064 return 0;
90066 _ACEOF
90067 rm -f conftest.$ac_objext conftest$ac_exeext
90068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90069 (eval $ac_link) 2>conftest.er1
90070 ac_status=$?
90071 grep -v '^ *+' conftest.er1 >conftest.err
90072 rm -f conftest.er1
90073 cat conftest.err >&5
90074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90075 (exit $ac_status); } &&
90076 { ac_try='test -z "$ac_c_werror_flag"
90077 || test ! -s conftest.err'
90078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90079 (eval $ac_try) 2>&5
90080 ac_status=$?
90081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90082 (exit $ac_status); }; } &&
90083 { ac_try='test -s conftest$ac_exeext'
90084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90085 (eval $ac_try) 2>&5
90086 ac_status=$?
90087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90088 (exit $ac_status); }; }; then
90089 eval "$as_ac_var=yes"
90090 else
90091 echo "$as_me: failed program was:" >&5
90092 sed 's/^/| /' conftest.$ac_ext >&5
90094 eval "$as_ac_var=no"
90096 rm -f conftest.err conftest.$ac_objext \
90097 conftest$ac_exeext conftest.$ac_ext
90099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90101 if test `eval echo '${'$as_ac_var'}'` = yes; then
90102 cat >>confdefs.h <<_ACEOF
90103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90104 _ACEOF
90107 done
90109 else
90111 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
90112 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
90113 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
90114 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
90115 echo $ECHO_N "(cached) $ECHO_C" >&6
90116 else
90120 ac_ext=cc
90121 ac_cpp='$CXXCPP $CPPFLAGS'
90122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90126 cat >conftest.$ac_ext <<_ACEOF
90127 /* confdefs.h. */
90128 _ACEOF
90129 cat confdefs.h >>conftest.$ac_ext
90130 cat >>conftest.$ac_ext <<_ACEOF
90131 /* end confdefs.h. */
90132 #include <math.h>
90133 #ifdef HAVE_IEEEFP_H
90134 #include <ieeefp.h>
90135 #endif
90138 main ()
90140 _fabsl(0);
90142 return 0;
90144 _ACEOF
90145 rm -f conftest.$ac_objext
90146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90147 (eval $ac_compile) 2>conftest.er1
90148 ac_status=$?
90149 grep -v '^ *+' conftest.er1 >conftest.err
90150 rm -f conftest.er1
90151 cat conftest.err >&5
90152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90153 (exit $ac_status); } &&
90154 { ac_try='test -z "$ac_cxx_werror_flag"
90155 || test ! -s conftest.err'
90156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90157 (eval $ac_try) 2>&5
90158 ac_status=$?
90159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90160 (exit $ac_status); }; } &&
90161 { ac_try='test -s conftest.$ac_objext'
90162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90163 (eval $ac_try) 2>&5
90164 ac_status=$?
90165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90166 (exit $ac_status); }; }; then
90167 glibcxx_cv_func__fabsl_use=yes
90168 else
90169 echo "$as_me: failed program was:" >&5
90170 sed 's/^/| /' conftest.$ac_ext >&5
90172 glibcxx_cv_func__fabsl_use=no
90174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90175 ac_ext=c
90176 ac_cpp='$CPP $CPPFLAGS'
90177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
90186 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
90188 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
90190 for ac_func in _fabsl
90192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90193 echo "$as_me:$LINENO: checking for $ac_func" >&5
90194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90195 if eval "test \"\${$as_ac_var+set}\" = set"; then
90196 echo $ECHO_N "(cached) $ECHO_C" >&6
90197 else
90198 if test x$gcc_no_link = xyes; then
90199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90201 { (exit 1); exit 1; }; }
90203 cat >conftest.$ac_ext <<_ACEOF
90204 /* confdefs.h. */
90205 _ACEOF
90206 cat confdefs.h >>conftest.$ac_ext
90207 cat >>conftest.$ac_ext <<_ACEOF
90208 /* end confdefs.h. */
90209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90211 #define $ac_func innocuous_$ac_func
90213 /* System header to define __stub macros and hopefully few prototypes,
90214 which can conflict with char $ac_func (); below.
90215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90216 <limits.h> exists even on freestanding compilers. */
90218 #ifdef __STDC__
90219 # include <limits.h>
90220 #else
90221 # include <assert.h>
90222 #endif
90224 #undef $ac_func
90226 /* Override any gcc2 internal prototype to avoid an error. */
90227 #ifdef __cplusplus
90228 extern "C"
90230 #endif
90231 /* We use char because int might match the return type of a gcc2
90232 builtin and then its argument prototype would still apply. */
90233 char $ac_func ();
90234 /* The GNU C library defines this for functions which it implements
90235 to always fail with ENOSYS. Some functions are actually named
90236 something starting with __ and the normal name is an alias. */
90237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90238 choke me
90239 #else
90240 char (*f) () = $ac_func;
90241 #endif
90242 #ifdef __cplusplus
90244 #endif
90247 main ()
90249 return f != $ac_func;
90251 return 0;
90253 _ACEOF
90254 rm -f conftest.$ac_objext conftest$ac_exeext
90255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90256 (eval $ac_link) 2>conftest.er1
90257 ac_status=$?
90258 grep -v '^ *+' conftest.er1 >conftest.err
90259 rm -f conftest.er1
90260 cat conftest.err >&5
90261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90262 (exit $ac_status); } &&
90263 { ac_try='test -z "$ac_c_werror_flag"
90264 || test ! -s conftest.err'
90265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90266 (eval $ac_try) 2>&5
90267 ac_status=$?
90268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90269 (exit $ac_status); }; } &&
90270 { ac_try='test -s conftest$ac_exeext'
90271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90272 (eval $ac_try) 2>&5
90273 ac_status=$?
90274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90275 (exit $ac_status); }; }; then
90276 eval "$as_ac_var=yes"
90277 else
90278 echo "$as_me: failed program was:" >&5
90279 sed 's/^/| /' conftest.$ac_ext >&5
90281 eval "$as_ac_var=no"
90283 rm -f conftest.err conftest.$ac_objext \
90284 conftest$ac_exeext conftest.$ac_ext
90286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90288 if test `eval echo '${'$as_ac_var'}'` = yes; then
90289 cat >>confdefs.h <<_ACEOF
90290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90291 _ACEOF
90294 done
90304 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
90305 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
90306 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
90307 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
90308 echo $ECHO_N "(cached) $ECHO_C" >&6
90309 else
90313 ac_ext=cc
90314 ac_cpp='$CXXCPP $CPPFLAGS'
90315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90319 cat >conftest.$ac_ext <<_ACEOF
90320 /* confdefs.h. */
90321 _ACEOF
90322 cat confdefs.h >>conftest.$ac_ext
90323 cat >>conftest.$ac_ext <<_ACEOF
90324 /* end confdefs.h. */
90325 #include <math.h>
90327 main ()
90329 fmodl(0, 0);
90331 return 0;
90333 _ACEOF
90334 rm -f conftest.$ac_objext
90335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90336 (eval $ac_compile) 2>conftest.er1
90337 ac_status=$?
90338 grep -v '^ *+' conftest.er1 >conftest.err
90339 rm -f conftest.er1
90340 cat conftest.err >&5
90341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90342 (exit $ac_status); } &&
90343 { ac_try='test -z "$ac_cxx_werror_flag"
90344 || test ! -s conftest.err'
90345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90346 (eval $ac_try) 2>&5
90347 ac_status=$?
90348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90349 (exit $ac_status); }; } &&
90350 { ac_try='test -s conftest.$ac_objext'
90351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90352 (eval $ac_try) 2>&5
90353 ac_status=$?
90354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90355 (exit $ac_status); }; }; then
90356 glibcxx_cv_func_fmodl_use=yes
90357 else
90358 echo "$as_me: failed program was:" >&5
90359 sed 's/^/| /' conftest.$ac_ext >&5
90361 glibcxx_cv_func_fmodl_use=no
90363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90364 ac_ext=c
90365 ac_cpp='$CPP $CPPFLAGS'
90366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
90375 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
90377 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
90379 for ac_func in fmodl
90381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90382 echo "$as_me:$LINENO: checking for $ac_func" >&5
90383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90384 if eval "test \"\${$as_ac_var+set}\" = set"; then
90385 echo $ECHO_N "(cached) $ECHO_C" >&6
90386 else
90387 if test x$gcc_no_link = xyes; then
90388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90390 { (exit 1); exit 1; }; }
90392 cat >conftest.$ac_ext <<_ACEOF
90393 /* confdefs.h. */
90394 _ACEOF
90395 cat confdefs.h >>conftest.$ac_ext
90396 cat >>conftest.$ac_ext <<_ACEOF
90397 /* end confdefs.h. */
90398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90400 #define $ac_func innocuous_$ac_func
90402 /* System header to define __stub macros and hopefully few prototypes,
90403 which can conflict with char $ac_func (); below.
90404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90405 <limits.h> exists even on freestanding compilers. */
90407 #ifdef __STDC__
90408 # include <limits.h>
90409 #else
90410 # include <assert.h>
90411 #endif
90413 #undef $ac_func
90415 /* Override any gcc2 internal prototype to avoid an error. */
90416 #ifdef __cplusplus
90417 extern "C"
90419 #endif
90420 /* We use char because int might match the return type of a gcc2
90421 builtin and then its argument prototype would still apply. */
90422 char $ac_func ();
90423 /* The GNU C library defines this for functions which it implements
90424 to always fail with ENOSYS. Some functions are actually named
90425 something starting with __ and the normal name is an alias. */
90426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90427 choke me
90428 #else
90429 char (*f) () = $ac_func;
90430 #endif
90431 #ifdef __cplusplus
90433 #endif
90436 main ()
90438 return f != $ac_func;
90440 return 0;
90442 _ACEOF
90443 rm -f conftest.$ac_objext conftest$ac_exeext
90444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90445 (eval $ac_link) 2>conftest.er1
90446 ac_status=$?
90447 grep -v '^ *+' conftest.er1 >conftest.err
90448 rm -f conftest.er1
90449 cat conftest.err >&5
90450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90451 (exit $ac_status); } &&
90452 { ac_try='test -z "$ac_c_werror_flag"
90453 || test ! -s conftest.err'
90454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90455 (eval $ac_try) 2>&5
90456 ac_status=$?
90457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90458 (exit $ac_status); }; } &&
90459 { ac_try='test -s conftest$ac_exeext'
90460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90461 (eval $ac_try) 2>&5
90462 ac_status=$?
90463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90464 (exit $ac_status); }; }; then
90465 eval "$as_ac_var=yes"
90466 else
90467 echo "$as_me: failed program was:" >&5
90468 sed 's/^/| /' conftest.$ac_ext >&5
90470 eval "$as_ac_var=no"
90472 rm -f conftest.err conftest.$ac_objext \
90473 conftest$ac_exeext conftest.$ac_ext
90475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90477 if test `eval echo '${'$as_ac_var'}'` = yes; then
90478 cat >>confdefs.h <<_ACEOF
90479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90480 _ACEOF
90483 done
90485 else
90487 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
90488 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
90489 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
90490 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
90491 echo $ECHO_N "(cached) $ECHO_C" >&6
90492 else
90496 ac_ext=cc
90497 ac_cpp='$CXXCPP $CPPFLAGS'
90498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90502 cat >conftest.$ac_ext <<_ACEOF
90503 /* confdefs.h. */
90504 _ACEOF
90505 cat confdefs.h >>conftest.$ac_ext
90506 cat >>conftest.$ac_ext <<_ACEOF
90507 /* end confdefs.h. */
90508 #include <math.h>
90510 main ()
90512 _fmodl(0, 0);
90514 return 0;
90516 _ACEOF
90517 rm -f conftest.$ac_objext
90518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90519 (eval $ac_compile) 2>conftest.er1
90520 ac_status=$?
90521 grep -v '^ *+' conftest.er1 >conftest.err
90522 rm -f conftest.er1
90523 cat conftest.err >&5
90524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90525 (exit $ac_status); } &&
90526 { ac_try='test -z "$ac_cxx_werror_flag"
90527 || test ! -s conftest.err'
90528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90529 (eval $ac_try) 2>&5
90530 ac_status=$?
90531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90532 (exit $ac_status); }; } &&
90533 { ac_try='test -s conftest.$ac_objext'
90534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90535 (eval $ac_try) 2>&5
90536 ac_status=$?
90537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90538 (exit $ac_status); }; }; then
90539 glibcxx_cv_func__fmodl_use=yes
90540 else
90541 echo "$as_me: failed program was:" >&5
90542 sed 's/^/| /' conftest.$ac_ext >&5
90544 glibcxx_cv_func__fmodl_use=no
90546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90547 ac_ext=c
90548 ac_cpp='$CPP $CPPFLAGS'
90549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
90558 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
90560 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
90562 for ac_func in _fmodl
90564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90565 echo "$as_me:$LINENO: checking for $ac_func" >&5
90566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90567 if eval "test \"\${$as_ac_var+set}\" = set"; then
90568 echo $ECHO_N "(cached) $ECHO_C" >&6
90569 else
90570 if test x$gcc_no_link = xyes; then
90571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90573 { (exit 1); exit 1; }; }
90575 cat >conftest.$ac_ext <<_ACEOF
90576 /* confdefs.h. */
90577 _ACEOF
90578 cat confdefs.h >>conftest.$ac_ext
90579 cat >>conftest.$ac_ext <<_ACEOF
90580 /* end confdefs.h. */
90581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90583 #define $ac_func innocuous_$ac_func
90585 /* System header to define __stub macros and hopefully few prototypes,
90586 which can conflict with char $ac_func (); below.
90587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90588 <limits.h> exists even on freestanding compilers. */
90590 #ifdef __STDC__
90591 # include <limits.h>
90592 #else
90593 # include <assert.h>
90594 #endif
90596 #undef $ac_func
90598 /* Override any gcc2 internal prototype to avoid an error. */
90599 #ifdef __cplusplus
90600 extern "C"
90602 #endif
90603 /* We use char because int might match the return type of a gcc2
90604 builtin and then its argument prototype would still apply. */
90605 char $ac_func ();
90606 /* The GNU C library defines this for functions which it implements
90607 to always fail with ENOSYS. Some functions are actually named
90608 something starting with __ and the normal name is an alias. */
90609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90610 choke me
90611 #else
90612 char (*f) () = $ac_func;
90613 #endif
90614 #ifdef __cplusplus
90616 #endif
90619 main ()
90621 return f != $ac_func;
90623 return 0;
90625 _ACEOF
90626 rm -f conftest.$ac_objext conftest$ac_exeext
90627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90628 (eval $ac_link) 2>conftest.er1
90629 ac_status=$?
90630 grep -v '^ *+' conftest.er1 >conftest.err
90631 rm -f conftest.er1
90632 cat conftest.err >&5
90633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90634 (exit $ac_status); } &&
90635 { ac_try='test -z "$ac_c_werror_flag"
90636 || test ! -s conftest.err'
90637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90638 (eval $ac_try) 2>&5
90639 ac_status=$?
90640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90641 (exit $ac_status); }; } &&
90642 { ac_try='test -s conftest$ac_exeext'
90643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90644 (eval $ac_try) 2>&5
90645 ac_status=$?
90646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90647 (exit $ac_status); }; }; then
90648 eval "$as_ac_var=yes"
90649 else
90650 echo "$as_me: failed program was:" >&5
90651 sed 's/^/| /' conftest.$ac_ext >&5
90653 eval "$as_ac_var=no"
90655 rm -f conftest.err conftest.$ac_objext \
90656 conftest$ac_exeext conftest.$ac_ext
90658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90660 if test `eval echo '${'$as_ac_var'}'` = yes; then
90661 cat >>confdefs.h <<_ACEOF
90662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90663 _ACEOF
90666 done
90676 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
90677 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
90678 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
90679 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
90680 echo $ECHO_N "(cached) $ECHO_C" >&6
90681 else
90685 ac_ext=cc
90686 ac_cpp='$CXXCPP $CPPFLAGS'
90687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90691 cat >conftest.$ac_ext <<_ACEOF
90692 /* confdefs.h. */
90693 _ACEOF
90694 cat confdefs.h >>conftest.$ac_ext
90695 cat >>conftest.$ac_ext <<_ACEOF
90696 /* end confdefs.h. */
90697 #include <math.h>
90699 main ()
90701 frexpl(0, 0);
90703 return 0;
90705 _ACEOF
90706 rm -f conftest.$ac_objext
90707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90708 (eval $ac_compile) 2>conftest.er1
90709 ac_status=$?
90710 grep -v '^ *+' conftest.er1 >conftest.err
90711 rm -f conftest.er1
90712 cat conftest.err >&5
90713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90714 (exit $ac_status); } &&
90715 { ac_try='test -z "$ac_cxx_werror_flag"
90716 || test ! -s conftest.err'
90717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90718 (eval $ac_try) 2>&5
90719 ac_status=$?
90720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90721 (exit $ac_status); }; } &&
90722 { ac_try='test -s conftest.$ac_objext'
90723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90724 (eval $ac_try) 2>&5
90725 ac_status=$?
90726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90727 (exit $ac_status); }; }; then
90728 glibcxx_cv_func_frexpl_use=yes
90729 else
90730 echo "$as_me: failed program was:" >&5
90731 sed 's/^/| /' conftest.$ac_ext >&5
90733 glibcxx_cv_func_frexpl_use=no
90735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90736 ac_ext=c
90737 ac_cpp='$CPP $CPPFLAGS'
90738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
90747 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
90749 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
90751 for ac_func in frexpl
90753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90754 echo "$as_me:$LINENO: checking for $ac_func" >&5
90755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90756 if eval "test \"\${$as_ac_var+set}\" = set"; then
90757 echo $ECHO_N "(cached) $ECHO_C" >&6
90758 else
90759 if test x$gcc_no_link = xyes; then
90760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90762 { (exit 1); exit 1; }; }
90764 cat >conftest.$ac_ext <<_ACEOF
90765 /* confdefs.h. */
90766 _ACEOF
90767 cat confdefs.h >>conftest.$ac_ext
90768 cat >>conftest.$ac_ext <<_ACEOF
90769 /* end confdefs.h. */
90770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90772 #define $ac_func innocuous_$ac_func
90774 /* System header to define __stub macros and hopefully few prototypes,
90775 which can conflict with char $ac_func (); below.
90776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90777 <limits.h> exists even on freestanding compilers. */
90779 #ifdef __STDC__
90780 # include <limits.h>
90781 #else
90782 # include <assert.h>
90783 #endif
90785 #undef $ac_func
90787 /* Override any gcc2 internal prototype to avoid an error. */
90788 #ifdef __cplusplus
90789 extern "C"
90791 #endif
90792 /* We use char because int might match the return type of a gcc2
90793 builtin and then its argument prototype would still apply. */
90794 char $ac_func ();
90795 /* The GNU C library defines this for functions which it implements
90796 to always fail with ENOSYS. Some functions are actually named
90797 something starting with __ and the normal name is an alias. */
90798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90799 choke me
90800 #else
90801 char (*f) () = $ac_func;
90802 #endif
90803 #ifdef __cplusplus
90805 #endif
90808 main ()
90810 return f != $ac_func;
90812 return 0;
90814 _ACEOF
90815 rm -f conftest.$ac_objext conftest$ac_exeext
90816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
90817 (eval $ac_link) 2>conftest.er1
90818 ac_status=$?
90819 grep -v '^ *+' conftest.er1 >conftest.err
90820 rm -f conftest.er1
90821 cat conftest.err >&5
90822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90823 (exit $ac_status); } &&
90824 { ac_try='test -z "$ac_c_werror_flag"
90825 || test ! -s conftest.err'
90826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90827 (eval $ac_try) 2>&5
90828 ac_status=$?
90829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90830 (exit $ac_status); }; } &&
90831 { ac_try='test -s conftest$ac_exeext'
90832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90833 (eval $ac_try) 2>&5
90834 ac_status=$?
90835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90836 (exit $ac_status); }; }; then
90837 eval "$as_ac_var=yes"
90838 else
90839 echo "$as_me: failed program was:" >&5
90840 sed 's/^/| /' conftest.$ac_ext >&5
90842 eval "$as_ac_var=no"
90844 rm -f conftest.err conftest.$ac_objext \
90845 conftest$ac_exeext conftest.$ac_ext
90847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
90848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
90849 if test `eval echo '${'$as_ac_var'}'` = yes; then
90850 cat >>confdefs.h <<_ACEOF
90851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
90852 _ACEOF
90855 done
90857 else
90859 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
90860 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
90861 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
90862 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
90863 echo $ECHO_N "(cached) $ECHO_C" >&6
90864 else
90868 ac_ext=cc
90869 ac_cpp='$CXXCPP $CPPFLAGS'
90870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
90874 cat >conftest.$ac_ext <<_ACEOF
90875 /* confdefs.h. */
90876 _ACEOF
90877 cat confdefs.h >>conftest.$ac_ext
90878 cat >>conftest.$ac_ext <<_ACEOF
90879 /* end confdefs.h. */
90880 #include <math.h>
90882 main ()
90884 _frexpl(0, 0);
90886 return 0;
90888 _ACEOF
90889 rm -f conftest.$ac_objext
90890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
90891 (eval $ac_compile) 2>conftest.er1
90892 ac_status=$?
90893 grep -v '^ *+' conftest.er1 >conftest.err
90894 rm -f conftest.er1
90895 cat conftest.err >&5
90896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90897 (exit $ac_status); } &&
90898 { ac_try='test -z "$ac_cxx_werror_flag"
90899 || test ! -s conftest.err'
90900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90901 (eval $ac_try) 2>&5
90902 ac_status=$?
90903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90904 (exit $ac_status); }; } &&
90905 { ac_try='test -s conftest.$ac_objext'
90906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
90907 (eval $ac_try) 2>&5
90908 ac_status=$?
90909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
90910 (exit $ac_status); }; }; then
90911 glibcxx_cv_func__frexpl_use=yes
90912 else
90913 echo "$as_me: failed program was:" >&5
90914 sed 's/^/| /' conftest.$ac_ext >&5
90916 glibcxx_cv_func__frexpl_use=no
90918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
90919 ac_ext=c
90920 ac_cpp='$CPP $CPPFLAGS'
90921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
90922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
90923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
90929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
90930 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
90932 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
90934 for ac_func in _frexpl
90936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
90937 echo "$as_me:$LINENO: checking for $ac_func" >&5
90938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
90939 if eval "test \"\${$as_ac_var+set}\" = set"; then
90940 echo $ECHO_N "(cached) $ECHO_C" >&6
90941 else
90942 if test x$gcc_no_link = xyes; then
90943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
90944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
90945 { (exit 1); exit 1; }; }
90947 cat >conftest.$ac_ext <<_ACEOF
90948 /* confdefs.h. */
90949 _ACEOF
90950 cat confdefs.h >>conftest.$ac_ext
90951 cat >>conftest.$ac_ext <<_ACEOF
90952 /* end confdefs.h. */
90953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
90954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
90955 #define $ac_func innocuous_$ac_func
90957 /* System header to define __stub macros and hopefully few prototypes,
90958 which can conflict with char $ac_func (); below.
90959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
90960 <limits.h> exists even on freestanding compilers. */
90962 #ifdef __STDC__
90963 # include <limits.h>
90964 #else
90965 # include <assert.h>
90966 #endif
90968 #undef $ac_func
90970 /* Override any gcc2 internal prototype to avoid an error. */
90971 #ifdef __cplusplus
90972 extern "C"
90974 #endif
90975 /* We use char because int might match the return type of a gcc2
90976 builtin and then its argument prototype would still apply. */
90977 char $ac_func ();
90978 /* The GNU C library defines this for functions which it implements
90979 to always fail with ENOSYS. Some functions are actually named
90980 something starting with __ and the normal name is an alias. */
90981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
90982 choke me
90983 #else
90984 char (*f) () = $ac_func;
90985 #endif
90986 #ifdef __cplusplus
90988 #endif
90991 main ()
90993 return f != $ac_func;
90995 return 0;
90997 _ACEOF
90998 rm -f conftest.$ac_objext conftest$ac_exeext
90999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91000 (eval $ac_link) 2>conftest.er1
91001 ac_status=$?
91002 grep -v '^ *+' conftest.er1 >conftest.err
91003 rm -f conftest.er1
91004 cat conftest.err >&5
91005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91006 (exit $ac_status); } &&
91007 { ac_try='test -z "$ac_c_werror_flag"
91008 || test ! -s conftest.err'
91009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91010 (eval $ac_try) 2>&5
91011 ac_status=$?
91012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91013 (exit $ac_status); }; } &&
91014 { ac_try='test -s conftest$ac_exeext'
91015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91016 (eval $ac_try) 2>&5
91017 ac_status=$?
91018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91019 (exit $ac_status); }; }; then
91020 eval "$as_ac_var=yes"
91021 else
91022 echo "$as_me: failed program was:" >&5
91023 sed 's/^/| /' conftest.$ac_ext >&5
91025 eval "$as_ac_var=no"
91027 rm -f conftest.err conftest.$ac_objext \
91028 conftest$ac_exeext conftest.$ac_ext
91030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91032 if test `eval echo '${'$as_ac_var'}'` = yes; then
91033 cat >>confdefs.h <<_ACEOF
91034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91035 _ACEOF
91038 done
91048 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
91049 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
91050 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
91051 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
91052 echo $ECHO_N "(cached) $ECHO_C" >&6
91053 else
91057 ac_ext=cc
91058 ac_cpp='$CXXCPP $CPPFLAGS'
91059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91063 cat >conftest.$ac_ext <<_ACEOF
91064 /* confdefs.h. */
91065 _ACEOF
91066 cat confdefs.h >>conftest.$ac_ext
91067 cat >>conftest.$ac_ext <<_ACEOF
91068 /* end confdefs.h. */
91069 #include <math.h>
91071 main ()
91073 hypotl(0, 0);
91075 return 0;
91077 _ACEOF
91078 rm -f conftest.$ac_objext
91079 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91080 (eval $ac_compile) 2>conftest.er1
91081 ac_status=$?
91082 grep -v '^ *+' conftest.er1 >conftest.err
91083 rm -f conftest.er1
91084 cat conftest.err >&5
91085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91086 (exit $ac_status); } &&
91087 { ac_try='test -z "$ac_cxx_werror_flag"
91088 || test ! -s conftest.err'
91089 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91090 (eval $ac_try) 2>&5
91091 ac_status=$?
91092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91093 (exit $ac_status); }; } &&
91094 { ac_try='test -s conftest.$ac_objext'
91095 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91096 (eval $ac_try) 2>&5
91097 ac_status=$?
91098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91099 (exit $ac_status); }; }; then
91100 glibcxx_cv_func_hypotl_use=yes
91101 else
91102 echo "$as_me: failed program was:" >&5
91103 sed 's/^/| /' conftest.$ac_ext >&5
91105 glibcxx_cv_func_hypotl_use=no
91107 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91108 ac_ext=c
91109 ac_cpp='$CPP $CPPFLAGS'
91110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91118 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
91119 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
91121 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
91123 for ac_func in hypotl
91125 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91126 echo "$as_me:$LINENO: checking for $ac_func" >&5
91127 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91128 if eval "test \"\${$as_ac_var+set}\" = set"; then
91129 echo $ECHO_N "(cached) $ECHO_C" >&6
91130 else
91131 if test x$gcc_no_link = xyes; then
91132 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91133 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91134 { (exit 1); exit 1; }; }
91136 cat >conftest.$ac_ext <<_ACEOF
91137 /* confdefs.h. */
91138 _ACEOF
91139 cat confdefs.h >>conftest.$ac_ext
91140 cat >>conftest.$ac_ext <<_ACEOF
91141 /* end confdefs.h. */
91142 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91143 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91144 #define $ac_func innocuous_$ac_func
91146 /* System header to define __stub macros and hopefully few prototypes,
91147 which can conflict with char $ac_func (); below.
91148 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91149 <limits.h> exists even on freestanding compilers. */
91151 #ifdef __STDC__
91152 # include <limits.h>
91153 #else
91154 # include <assert.h>
91155 #endif
91157 #undef $ac_func
91159 /* Override any gcc2 internal prototype to avoid an error. */
91160 #ifdef __cplusplus
91161 extern "C"
91163 #endif
91164 /* We use char because int might match the return type of a gcc2
91165 builtin and then its argument prototype would still apply. */
91166 char $ac_func ();
91167 /* The GNU C library defines this for functions which it implements
91168 to always fail with ENOSYS. Some functions are actually named
91169 something starting with __ and the normal name is an alias. */
91170 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91171 choke me
91172 #else
91173 char (*f) () = $ac_func;
91174 #endif
91175 #ifdef __cplusplus
91177 #endif
91180 main ()
91182 return f != $ac_func;
91184 return 0;
91186 _ACEOF
91187 rm -f conftest.$ac_objext conftest$ac_exeext
91188 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91189 (eval $ac_link) 2>conftest.er1
91190 ac_status=$?
91191 grep -v '^ *+' conftest.er1 >conftest.err
91192 rm -f conftest.er1
91193 cat conftest.err >&5
91194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91195 (exit $ac_status); } &&
91196 { ac_try='test -z "$ac_c_werror_flag"
91197 || test ! -s conftest.err'
91198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91199 (eval $ac_try) 2>&5
91200 ac_status=$?
91201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91202 (exit $ac_status); }; } &&
91203 { ac_try='test -s conftest$ac_exeext'
91204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91205 (eval $ac_try) 2>&5
91206 ac_status=$?
91207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91208 (exit $ac_status); }; }; then
91209 eval "$as_ac_var=yes"
91210 else
91211 echo "$as_me: failed program was:" >&5
91212 sed 's/^/| /' conftest.$ac_ext >&5
91214 eval "$as_ac_var=no"
91216 rm -f conftest.err conftest.$ac_objext \
91217 conftest$ac_exeext conftest.$ac_ext
91219 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91220 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91221 if test `eval echo '${'$as_ac_var'}'` = yes; then
91222 cat >>confdefs.h <<_ACEOF
91223 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91224 _ACEOF
91227 done
91229 else
91231 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
91232 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
91233 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
91234 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
91235 echo $ECHO_N "(cached) $ECHO_C" >&6
91236 else
91240 ac_ext=cc
91241 ac_cpp='$CXXCPP $CPPFLAGS'
91242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91246 cat >conftest.$ac_ext <<_ACEOF
91247 /* confdefs.h. */
91248 _ACEOF
91249 cat confdefs.h >>conftest.$ac_ext
91250 cat >>conftest.$ac_ext <<_ACEOF
91251 /* end confdefs.h. */
91252 #include <math.h>
91254 main ()
91256 _hypotl(0, 0);
91258 return 0;
91260 _ACEOF
91261 rm -f conftest.$ac_objext
91262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91263 (eval $ac_compile) 2>conftest.er1
91264 ac_status=$?
91265 grep -v '^ *+' conftest.er1 >conftest.err
91266 rm -f conftest.er1
91267 cat conftest.err >&5
91268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91269 (exit $ac_status); } &&
91270 { ac_try='test -z "$ac_cxx_werror_flag"
91271 || test ! -s conftest.err'
91272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91273 (eval $ac_try) 2>&5
91274 ac_status=$?
91275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91276 (exit $ac_status); }; } &&
91277 { ac_try='test -s conftest.$ac_objext'
91278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91279 (eval $ac_try) 2>&5
91280 ac_status=$?
91281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91282 (exit $ac_status); }; }; then
91283 glibcxx_cv_func__hypotl_use=yes
91284 else
91285 echo "$as_me: failed program was:" >&5
91286 sed 's/^/| /' conftest.$ac_ext >&5
91288 glibcxx_cv_func__hypotl_use=no
91290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91291 ac_ext=c
91292 ac_cpp='$CPP $CPPFLAGS'
91293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91301 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
91302 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
91304 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
91306 for ac_func in _hypotl
91308 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91309 echo "$as_me:$LINENO: checking for $ac_func" >&5
91310 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91311 if eval "test \"\${$as_ac_var+set}\" = set"; then
91312 echo $ECHO_N "(cached) $ECHO_C" >&6
91313 else
91314 if test x$gcc_no_link = xyes; then
91315 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91316 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91317 { (exit 1); exit 1; }; }
91319 cat >conftest.$ac_ext <<_ACEOF
91320 /* confdefs.h. */
91321 _ACEOF
91322 cat confdefs.h >>conftest.$ac_ext
91323 cat >>conftest.$ac_ext <<_ACEOF
91324 /* end confdefs.h. */
91325 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91326 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91327 #define $ac_func innocuous_$ac_func
91329 /* System header to define __stub macros and hopefully few prototypes,
91330 which can conflict with char $ac_func (); below.
91331 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91332 <limits.h> exists even on freestanding compilers. */
91334 #ifdef __STDC__
91335 # include <limits.h>
91336 #else
91337 # include <assert.h>
91338 #endif
91340 #undef $ac_func
91342 /* Override any gcc2 internal prototype to avoid an error. */
91343 #ifdef __cplusplus
91344 extern "C"
91346 #endif
91347 /* We use char because int might match the return type of a gcc2
91348 builtin and then its argument prototype would still apply. */
91349 char $ac_func ();
91350 /* The GNU C library defines this for functions which it implements
91351 to always fail with ENOSYS. Some functions are actually named
91352 something starting with __ and the normal name is an alias. */
91353 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91354 choke me
91355 #else
91356 char (*f) () = $ac_func;
91357 #endif
91358 #ifdef __cplusplus
91360 #endif
91363 main ()
91365 return f != $ac_func;
91367 return 0;
91369 _ACEOF
91370 rm -f conftest.$ac_objext conftest$ac_exeext
91371 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91372 (eval $ac_link) 2>conftest.er1
91373 ac_status=$?
91374 grep -v '^ *+' conftest.er1 >conftest.err
91375 rm -f conftest.er1
91376 cat conftest.err >&5
91377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91378 (exit $ac_status); } &&
91379 { ac_try='test -z "$ac_c_werror_flag"
91380 || test ! -s conftest.err'
91381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91382 (eval $ac_try) 2>&5
91383 ac_status=$?
91384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91385 (exit $ac_status); }; } &&
91386 { ac_try='test -s conftest$ac_exeext'
91387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91388 (eval $ac_try) 2>&5
91389 ac_status=$?
91390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91391 (exit $ac_status); }; }; then
91392 eval "$as_ac_var=yes"
91393 else
91394 echo "$as_me: failed program was:" >&5
91395 sed 's/^/| /' conftest.$ac_ext >&5
91397 eval "$as_ac_var=no"
91399 rm -f conftest.err conftest.$ac_objext \
91400 conftest$ac_exeext conftest.$ac_ext
91402 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91403 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91404 if test `eval echo '${'$as_ac_var'}'` = yes; then
91405 cat >>confdefs.h <<_ACEOF
91406 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91407 _ACEOF
91410 done
91420 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
91421 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
91422 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
91423 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
91424 echo $ECHO_N "(cached) $ECHO_C" >&6
91425 else
91429 ac_ext=cc
91430 ac_cpp='$CXXCPP $CPPFLAGS'
91431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91435 cat >conftest.$ac_ext <<_ACEOF
91436 /* confdefs.h. */
91437 _ACEOF
91438 cat confdefs.h >>conftest.$ac_ext
91439 cat >>conftest.$ac_ext <<_ACEOF
91440 /* end confdefs.h. */
91441 #include <math.h>
91443 main ()
91445 ldexpl(0, 0);
91447 return 0;
91449 _ACEOF
91450 rm -f conftest.$ac_objext
91451 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91452 (eval $ac_compile) 2>conftest.er1
91453 ac_status=$?
91454 grep -v '^ *+' conftest.er1 >conftest.err
91455 rm -f conftest.er1
91456 cat conftest.err >&5
91457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91458 (exit $ac_status); } &&
91459 { ac_try='test -z "$ac_cxx_werror_flag"
91460 || test ! -s conftest.err'
91461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91462 (eval $ac_try) 2>&5
91463 ac_status=$?
91464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91465 (exit $ac_status); }; } &&
91466 { ac_try='test -s conftest.$ac_objext'
91467 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91468 (eval $ac_try) 2>&5
91469 ac_status=$?
91470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91471 (exit $ac_status); }; }; then
91472 glibcxx_cv_func_ldexpl_use=yes
91473 else
91474 echo "$as_me: failed program was:" >&5
91475 sed 's/^/| /' conftest.$ac_ext >&5
91477 glibcxx_cv_func_ldexpl_use=no
91479 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91480 ac_ext=c
91481 ac_cpp='$CPP $CPPFLAGS'
91482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91490 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
91491 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
91493 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
91495 for ac_func in ldexpl
91497 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91498 echo "$as_me:$LINENO: checking for $ac_func" >&5
91499 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91500 if eval "test \"\${$as_ac_var+set}\" = set"; then
91501 echo $ECHO_N "(cached) $ECHO_C" >&6
91502 else
91503 if test x$gcc_no_link = xyes; then
91504 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91505 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91506 { (exit 1); exit 1; }; }
91508 cat >conftest.$ac_ext <<_ACEOF
91509 /* confdefs.h. */
91510 _ACEOF
91511 cat confdefs.h >>conftest.$ac_ext
91512 cat >>conftest.$ac_ext <<_ACEOF
91513 /* end confdefs.h. */
91514 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91515 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91516 #define $ac_func innocuous_$ac_func
91518 /* System header to define __stub macros and hopefully few prototypes,
91519 which can conflict with char $ac_func (); below.
91520 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91521 <limits.h> exists even on freestanding compilers. */
91523 #ifdef __STDC__
91524 # include <limits.h>
91525 #else
91526 # include <assert.h>
91527 #endif
91529 #undef $ac_func
91531 /* Override any gcc2 internal prototype to avoid an error. */
91532 #ifdef __cplusplus
91533 extern "C"
91535 #endif
91536 /* We use char because int might match the return type of a gcc2
91537 builtin and then its argument prototype would still apply. */
91538 char $ac_func ();
91539 /* The GNU C library defines this for functions which it implements
91540 to always fail with ENOSYS. Some functions are actually named
91541 something starting with __ and the normal name is an alias. */
91542 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91543 choke me
91544 #else
91545 char (*f) () = $ac_func;
91546 #endif
91547 #ifdef __cplusplus
91549 #endif
91552 main ()
91554 return f != $ac_func;
91556 return 0;
91558 _ACEOF
91559 rm -f conftest.$ac_objext conftest$ac_exeext
91560 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91561 (eval $ac_link) 2>conftest.er1
91562 ac_status=$?
91563 grep -v '^ *+' conftest.er1 >conftest.err
91564 rm -f conftest.er1
91565 cat conftest.err >&5
91566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91567 (exit $ac_status); } &&
91568 { ac_try='test -z "$ac_c_werror_flag"
91569 || test ! -s conftest.err'
91570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91571 (eval $ac_try) 2>&5
91572 ac_status=$?
91573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91574 (exit $ac_status); }; } &&
91575 { ac_try='test -s conftest$ac_exeext'
91576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91577 (eval $ac_try) 2>&5
91578 ac_status=$?
91579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91580 (exit $ac_status); }; }; then
91581 eval "$as_ac_var=yes"
91582 else
91583 echo "$as_me: failed program was:" >&5
91584 sed 's/^/| /' conftest.$ac_ext >&5
91586 eval "$as_ac_var=no"
91588 rm -f conftest.err conftest.$ac_objext \
91589 conftest$ac_exeext conftest.$ac_ext
91591 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91592 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91593 if test `eval echo '${'$as_ac_var'}'` = yes; then
91594 cat >>confdefs.h <<_ACEOF
91595 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91596 _ACEOF
91599 done
91601 else
91603 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
91604 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
91605 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
91606 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
91607 echo $ECHO_N "(cached) $ECHO_C" >&6
91608 else
91612 ac_ext=cc
91613 ac_cpp='$CXXCPP $CPPFLAGS'
91614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91618 cat >conftest.$ac_ext <<_ACEOF
91619 /* confdefs.h. */
91620 _ACEOF
91621 cat confdefs.h >>conftest.$ac_ext
91622 cat >>conftest.$ac_ext <<_ACEOF
91623 /* end confdefs.h. */
91624 #include <math.h>
91626 main ()
91628 _ldexpl(0, 0);
91630 return 0;
91632 _ACEOF
91633 rm -f conftest.$ac_objext
91634 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91635 (eval $ac_compile) 2>conftest.er1
91636 ac_status=$?
91637 grep -v '^ *+' conftest.er1 >conftest.err
91638 rm -f conftest.er1
91639 cat conftest.err >&5
91640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91641 (exit $ac_status); } &&
91642 { ac_try='test -z "$ac_cxx_werror_flag"
91643 || test ! -s conftest.err'
91644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91645 (eval $ac_try) 2>&5
91646 ac_status=$?
91647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91648 (exit $ac_status); }; } &&
91649 { ac_try='test -s conftest.$ac_objext'
91650 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91651 (eval $ac_try) 2>&5
91652 ac_status=$?
91653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91654 (exit $ac_status); }; }; then
91655 glibcxx_cv_func__ldexpl_use=yes
91656 else
91657 echo "$as_me: failed program was:" >&5
91658 sed 's/^/| /' conftest.$ac_ext >&5
91660 glibcxx_cv_func__ldexpl_use=no
91662 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91663 ac_ext=c
91664 ac_cpp='$CPP $CPPFLAGS'
91665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91673 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
91674 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
91676 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
91678 for ac_func in _ldexpl
91680 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91681 echo "$as_me:$LINENO: checking for $ac_func" >&5
91682 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91683 if eval "test \"\${$as_ac_var+set}\" = set"; then
91684 echo $ECHO_N "(cached) $ECHO_C" >&6
91685 else
91686 if test x$gcc_no_link = xyes; then
91687 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91688 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91689 { (exit 1); exit 1; }; }
91691 cat >conftest.$ac_ext <<_ACEOF
91692 /* confdefs.h. */
91693 _ACEOF
91694 cat confdefs.h >>conftest.$ac_ext
91695 cat >>conftest.$ac_ext <<_ACEOF
91696 /* end confdefs.h. */
91697 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91698 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91699 #define $ac_func innocuous_$ac_func
91701 /* System header to define __stub macros and hopefully few prototypes,
91702 which can conflict with char $ac_func (); below.
91703 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91704 <limits.h> exists even on freestanding compilers. */
91706 #ifdef __STDC__
91707 # include <limits.h>
91708 #else
91709 # include <assert.h>
91710 #endif
91712 #undef $ac_func
91714 /* Override any gcc2 internal prototype to avoid an error. */
91715 #ifdef __cplusplus
91716 extern "C"
91718 #endif
91719 /* We use char because int might match the return type of a gcc2
91720 builtin and then its argument prototype would still apply. */
91721 char $ac_func ();
91722 /* The GNU C library defines this for functions which it implements
91723 to always fail with ENOSYS. Some functions are actually named
91724 something starting with __ and the normal name is an alias. */
91725 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91726 choke me
91727 #else
91728 char (*f) () = $ac_func;
91729 #endif
91730 #ifdef __cplusplus
91732 #endif
91735 main ()
91737 return f != $ac_func;
91739 return 0;
91741 _ACEOF
91742 rm -f conftest.$ac_objext conftest$ac_exeext
91743 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91744 (eval $ac_link) 2>conftest.er1
91745 ac_status=$?
91746 grep -v '^ *+' conftest.er1 >conftest.err
91747 rm -f conftest.er1
91748 cat conftest.err >&5
91749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91750 (exit $ac_status); } &&
91751 { ac_try='test -z "$ac_c_werror_flag"
91752 || test ! -s conftest.err'
91753 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91754 (eval $ac_try) 2>&5
91755 ac_status=$?
91756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91757 (exit $ac_status); }; } &&
91758 { ac_try='test -s conftest$ac_exeext'
91759 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91760 (eval $ac_try) 2>&5
91761 ac_status=$?
91762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91763 (exit $ac_status); }; }; then
91764 eval "$as_ac_var=yes"
91765 else
91766 echo "$as_me: failed program was:" >&5
91767 sed 's/^/| /' conftest.$ac_ext >&5
91769 eval "$as_ac_var=no"
91771 rm -f conftest.err conftest.$ac_objext \
91772 conftest$ac_exeext conftest.$ac_ext
91774 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91775 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91776 if test `eval echo '${'$as_ac_var'}'` = yes; then
91777 cat >>confdefs.h <<_ACEOF
91778 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91779 _ACEOF
91782 done
91792 echo "$as_me:$LINENO: checking for logl declaration" >&5
91793 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
91794 if test x${glibcxx_cv_func_logl_use+set} != xset; then
91795 if test "${glibcxx_cv_func_logl_use+set}" = set; then
91796 echo $ECHO_N "(cached) $ECHO_C" >&6
91797 else
91801 ac_ext=cc
91802 ac_cpp='$CXXCPP $CPPFLAGS'
91803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91807 cat >conftest.$ac_ext <<_ACEOF
91808 /* confdefs.h. */
91809 _ACEOF
91810 cat confdefs.h >>conftest.$ac_ext
91811 cat >>conftest.$ac_ext <<_ACEOF
91812 /* end confdefs.h. */
91813 #include <math.h>
91814 #ifdef HAVE_IEEEFP_H
91815 #include <ieeefp.h>
91816 #endif
91819 main ()
91821 logl(0);
91823 return 0;
91825 _ACEOF
91826 rm -f conftest.$ac_objext
91827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
91828 (eval $ac_compile) 2>conftest.er1
91829 ac_status=$?
91830 grep -v '^ *+' conftest.er1 >conftest.err
91831 rm -f conftest.er1
91832 cat conftest.err >&5
91833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91834 (exit $ac_status); } &&
91835 { ac_try='test -z "$ac_cxx_werror_flag"
91836 || test ! -s conftest.err'
91837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91838 (eval $ac_try) 2>&5
91839 ac_status=$?
91840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91841 (exit $ac_status); }; } &&
91842 { ac_try='test -s conftest.$ac_objext'
91843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91844 (eval $ac_try) 2>&5
91845 ac_status=$?
91846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91847 (exit $ac_status); }; }; then
91848 glibcxx_cv_func_logl_use=yes
91849 else
91850 echo "$as_me: failed program was:" >&5
91851 sed 's/^/| /' conftest.$ac_ext >&5
91853 glibcxx_cv_func_logl_use=no
91855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
91856 ac_ext=c
91857 ac_cpp='$CPP $CPPFLAGS'
91858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
91866 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
91867 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
91869 if test x$glibcxx_cv_func_logl_use = x"yes"; then
91871 for ac_func in logl
91873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
91874 echo "$as_me:$LINENO: checking for $ac_func" >&5
91875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
91876 if eval "test \"\${$as_ac_var+set}\" = set"; then
91877 echo $ECHO_N "(cached) $ECHO_C" >&6
91878 else
91879 if test x$gcc_no_link = xyes; then
91880 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
91881 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
91882 { (exit 1); exit 1; }; }
91884 cat >conftest.$ac_ext <<_ACEOF
91885 /* confdefs.h. */
91886 _ACEOF
91887 cat confdefs.h >>conftest.$ac_ext
91888 cat >>conftest.$ac_ext <<_ACEOF
91889 /* end confdefs.h. */
91890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
91891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
91892 #define $ac_func innocuous_$ac_func
91894 /* System header to define __stub macros and hopefully few prototypes,
91895 which can conflict with char $ac_func (); below.
91896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
91897 <limits.h> exists even on freestanding compilers. */
91899 #ifdef __STDC__
91900 # include <limits.h>
91901 #else
91902 # include <assert.h>
91903 #endif
91905 #undef $ac_func
91907 /* Override any gcc2 internal prototype to avoid an error. */
91908 #ifdef __cplusplus
91909 extern "C"
91911 #endif
91912 /* We use char because int might match the return type of a gcc2
91913 builtin and then its argument prototype would still apply. */
91914 char $ac_func ();
91915 /* The GNU C library defines this for functions which it implements
91916 to always fail with ENOSYS. Some functions are actually named
91917 something starting with __ and the normal name is an alias. */
91918 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
91919 choke me
91920 #else
91921 char (*f) () = $ac_func;
91922 #endif
91923 #ifdef __cplusplus
91925 #endif
91928 main ()
91930 return f != $ac_func;
91932 return 0;
91934 _ACEOF
91935 rm -f conftest.$ac_objext conftest$ac_exeext
91936 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
91937 (eval $ac_link) 2>conftest.er1
91938 ac_status=$?
91939 grep -v '^ *+' conftest.er1 >conftest.err
91940 rm -f conftest.er1
91941 cat conftest.err >&5
91942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91943 (exit $ac_status); } &&
91944 { ac_try='test -z "$ac_c_werror_flag"
91945 || test ! -s conftest.err'
91946 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91947 (eval $ac_try) 2>&5
91948 ac_status=$?
91949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91950 (exit $ac_status); }; } &&
91951 { ac_try='test -s conftest$ac_exeext'
91952 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
91953 (eval $ac_try) 2>&5
91954 ac_status=$?
91955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
91956 (exit $ac_status); }; }; then
91957 eval "$as_ac_var=yes"
91958 else
91959 echo "$as_me: failed program was:" >&5
91960 sed 's/^/| /' conftest.$ac_ext >&5
91962 eval "$as_ac_var=no"
91964 rm -f conftest.err conftest.$ac_objext \
91965 conftest$ac_exeext conftest.$ac_ext
91967 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
91968 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
91969 if test `eval echo '${'$as_ac_var'}'` = yes; then
91970 cat >>confdefs.h <<_ACEOF
91971 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
91972 _ACEOF
91975 done
91977 else
91979 echo "$as_me:$LINENO: checking for _logl declaration" >&5
91980 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
91981 if test x${glibcxx_cv_func__logl_use+set} != xset; then
91982 if test "${glibcxx_cv_func__logl_use+set}" = set; then
91983 echo $ECHO_N "(cached) $ECHO_C" >&6
91984 else
91988 ac_ext=cc
91989 ac_cpp='$CXXCPP $CPPFLAGS'
91990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
91991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
91992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
91994 cat >conftest.$ac_ext <<_ACEOF
91995 /* confdefs.h. */
91996 _ACEOF
91997 cat confdefs.h >>conftest.$ac_ext
91998 cat >>conftest.$ac_ext <<_ACEOF
91999 /* end confdefs.h. */
92000 #include <math.h>
92001 #ifdef HAVE_IEEEFP_H
92002 #include <ieeefp.h>
92003 #endif
92006 main ()
92008 _logl(0);
92010 return 0;
92012 _ACEOF
92013 rm -f conftest.$ac_objext
92014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92015 (eval $ac_compile) 2>conftest.er1
92016 ac_status=$?
92017 grep -v '^ *+' conftest.er1 >conftest.err
92018 rm -f conftest.er1
92019 cat conftest.err >&5
92020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92021 (exit $ac_status); } &&
92022 { ac_try='test -z "$ac_cxx_werror_flag"
92023 || test ! -s conftest.err'
92024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92025 (eval $ac_try) 2>&5
92026 ac_status=$?
92027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92028 (exit $ac_status); }; } &&
92029 { ac_try='test -s conftest.$ac_objext'
92030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92031 (eval $ac_try) 2>&5
92032 ac_status=$?
92033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92034 (exit $ac_status); }; }; then
92035 glibcxx_cv_func__logl_use=yes
92036 else
92037 echo "$as_me: failed program was:" >&5
92038 sed 's/^/| /' conftest.$ac_ext >&5
92040 glibcxx_cv_func__logl_use=no
92042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92043 ac_ext=c
92044 ac_cpp='$CPP $CPPFLAGS'
92045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
92054 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
92056 if test x$glibcxx_cv_func__logl_use = x"yes"; then
92058 for ac_func in _logl
92060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92061 echo "$as_me:$LINENO: checking for $ac_func" >&5
92062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92063 if eval "test \"\${$as_ac_var+set}\" = set"; then
92064 echo $ECHO_N "(cached) $ECHO_C" >&6
92065 else
92066 if test x$gcc_no_link = xyes; then
92067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92069 { (exit 1); exit 1; }; }
92071 cat >conftest.$ac_ext <<_ACEOF
92072 /* confdefs.h. */
92073 _ACEOF
92074 cat confdefs.h >>conftest.$ac_ext
92075 cat >>conftest.$ac_ext <<_ACEOF
92076 /* end confdefs.h. */
92077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92079 #define $ac_func innocuous_$ac_func
92081 /* System header to define __stub macros and hopefully few prototypes,
92082 which can conflict with char $ac_func (); below.
92083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92084 <limits.h> exists even on freestanding compilers. */
92086 #ifdef __STDC__
92087 # include <limits.h>
92088 #else
92089 # include <assert.h>
92090 #endif
92092 #undef $ac_func
92094 /* Override any gcc2 internal prototype to avoid an error. */
92095 #ifdef __cplusplus
92096 extern "C"
92098 #endif
92099 /* We use char because int might match the return type of a gcc2
92100 builtin and then its argument prototype would still apply. */
92101 char $ac_func ();
92102 /* The GNU C library defines this for functions which it implements
92103 to always fail with ENOSYS. Some functions are actually named
92104 something starting with __ and the normal name is an alias. */
92105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92106 choke me
92107 #else
92108 char (*f) () = $ac_func;
92109 #endif
92110 #ifdef __cplusplus
92112 #endif
92115 main ()
92117 return f != $ac_func;
92119 return 0;
92121 _ACEOF
92122 rm -f conftest.$ac_objext conftest$ac_exeext
92123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92124 (eval $ac_link) 2>conftest.er1
92125 ac_status=$?
92126 grep -v '^ *+' conftest.er1 >conftest.err
92127 rm -f conftest.er1
92128 cat conftest.err >&5
92129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92130 (exit $ac_status); } &&
92131 { ac_try='test -z "$ac_c_werror_flag"
92132 || test ! -s conftest.err'
92133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92134 (eval $ac_try) 2>&5
92135 ac_status=$?
92136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92137 (exit $ac_status); }; } &&
92138 { ac_try='test -s conftest$ac_exeext'
92139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92140 (eval $ac_try) 2>&5
92141 ac_status=$?
92142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92143 (exit $ac_status); }; }; then
92144 eval "$as_ac_var=yes"
92145 else
92146 echo "$as_me: failed program was:" >&5
92147 sed 's/^/| /' conftest.$ac_ext >&5
92149 eval "$as_ac_var=no"
92151 rm -f conftest.err conftest.$ac_objext \
92152 conftest$ac_exeext conftest.$ac_ext
92154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92156 if test `eval echo '${'$as_ac_var'}'` = yes; then
92157 cat >>confdefs.h <<_ACEOF
92158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92159 _ACEOF
92162 done
92172 echo "$as_me:$LINENO: checking for log10l declaration" >&5
92173 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
92174 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
92175 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
92176 echo $ECHO_N "(cached) $ECHO_C" >&6
92177 else
92181 ac_ext=cc
92182 ac_cpp='$CXXCPP $CPPFLAGS'
92183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92187 cat >conftest.$ac_ext <<_ACEOF
92188 /* confdefs.h. */
92189 _ACEOF
92190 cat confdefs.h >>conftest.$ac_ext
92191 cat >>conftest.$ac_ext <<_ACEOF
92192 /* end confdefs.h. */
92193 #include <math.h>
92194 #ifdef HAVE_IEEEFP_H
92195 #include <ieeefp.h>
92196 #endif
92199 main ()
92201 log10l(0);
92203 return 0;
92205 _ACEOF
92206 rm -f conftest.$ac_objext
92207 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92208 (eval $ac_compile) 2>conftest.er1
92209 ac_status=$?
92210 grep -v '^ *+' conftest.er1 >conftest.err
92211 rm -f conftest.er1
92212 cat conftest.err >&5
92213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92214 (exit $ac_status); } &&
92215 { ac_try='test -z "$ac_cxx_werror_flag"
92216 || test ! -s conftest.err'
92217 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92218 (eval $ac_try) 2>&5
92219 ac_status=$?
92220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92221 (exit $ac_status); }; } &&
92222 { ac_try='test -s conftest.$ac_objext'
92223 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92224 (eval $ac_try) 2>&5
92225 ac_status=$?
92226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92227 (exit $ac_status); }; }; then
92228 glibcxx_cv_func_log10l_use=yes
92229 else
92230 echo "$as_me: failed program was:" >&5
92231 sed 's/^/| /' conftest.$ac_ext >&5
92233 glibcxx_cv_func_log10l_use=no
92235 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92236 ac_ext=c
92237 ac_cpp='$CPP $CPPFLAGS'
92238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92246 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
92247 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
92249 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
92251 for ac_func in log10l
92253 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92254 echo "$as_me:$LINENO: checking for $ac_func" >&5
92255 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92256 if eval "test \"\${$as_ac_var+set}\" = set"; then
92257 echo $ECHO_N "(cached) $ECHO_C" >&6
92258 else
92259 if test x$gcc_no_link = xyes; then
92260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92262 { (exit 1); exit 1; }; }
92264 cat >conftest.$ac_ext <<_ACEOF
92265 /* confdefs.h. */
92266 _ACEOF
92267 cat confdefs.h >>conftest.$ac_ext
92268 cat >>conftest.$ac_ext <<_ACEOF
92269 /* end confdefs.h. */
92270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92272 #define $ac_func innocuous_$ac_func
92274 /* System header to define __stub macros and hopefully few prototypes,
92275 which can conflict with char $ac_func (); below.
92276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92277 <limits.h> exists even on freestanding compilers. */
92279 #ifdef __STDC__
92280 # include <limits.h>
92281 #else
92282 # include <assert.h>
92283 #endif
92285 #undef $ac_func
92287 /* Override any gcc2 internal prototype to avoid an error. */
92288 #ifdef __cplusplus
92289 extern "C"
92291 #endif
92292 /* We use char because int might match the return type of a gcc2
92293 builtin and then its argument prototype would still apply. */
92294 char $ac_func ();
92295 /* The GNU C library defines this for functions which it implements
92296 to always fail with ENOSYS. Some functions are actually named
92297 something starting with __ and the normal name is an alias. */
92298 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92299 choke me
92300 #else
92301 char (*f) () = $ac_func;
92302 #endif
92303 #ifdef __cplusplus
92305 #endif
92308 main ()
92310 return f != $ac_func;
92312 return 0;
92314 _ACEOF
92315 rm -f conftest.$ac_objext conftest$ac_exeext
92316 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92317 (eval $ac_link) 2>conftest.er1
92318 ac_status=$?
92319 grep -v '^ *+' conftest.er1 >conftest.err
92320 rm -f conftest.er1
92321 cat conftest.err >&5
92322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92323 (exit $ac_status); } &&
92324 { ac_try='test -z "$ac_c_werror_flag"
92325 || test ! -s conftest.err'
92326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92327 (eval $ac_try) 2>&5
92328 ac_status=$?
92329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92330 (exit $ac_status); }; } &&
92331 { ac_try='test -s conftest$ac_exeext'
92332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92333 (eval $ac_try) 2>&5
92334 ac_status=$?
92335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92336 (exit $ac_status); }; }; then
92337 eval "$as_ac_var=yes"
92338 else
92339 echo "$as_me: failed program was:" >&5
92340 sed 's/^/| /' conftest.$ac_ext >&5
92342 eval "$as_ac_var=no"
92344 rm -f conftest.err conftest.$ac_objext \
92345 conftest$ac_exeext conftest.$ac_ext
92347 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92348 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92349 if test `eval echo '${'$as_ac_var'}'` = yes; then
92350 cat >>confdefs.h <<_ACEOF
92351 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92352 _ACEOF
92355 done
92357 else
92359 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
92360 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
92361 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
92362 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
92363 echo $ECHO_N "(cached) $ECHO_C" >&6
92364 else
92368 ac_ext=cc
92369 ac_cpp='$CXXCPP $CPPFLAGS'
92370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92374 cat >conftest.$ac_ext <<_ACEOF
92375 /* confdefs.h. */
92376 _ACEOF
92377 cat confdefs.h >>conftest.$ac_ext
92378 cat >>conftest.$ac_ext <<_ACEOF
92379 /* end confdefs.h. */
92380 #include <math.h>
92381 #ifdef HAVE_IEEEFP_H
92382 #include <ieeefp.h>
92383 #endif
92386 main ()
92388 _log10l(0);
92390 return 0;
92392 _ACEOF
92393 rm -f conftest.$ac_objext
92394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92395 (eval $ac_compile) 2>conftest.er1
92396 ac_status=$?
92397 grep -v '^ *+' conftest.er1 >conftest.err
92398 rm -f conftest.er1
92399 cat conftest.err >&5
92400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92401 (exit $ac_status); } &&
92402 { ac_try='test -z "$ac_cxx_werror_flag"
92403 || test ! -s conftest.err'
92404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92405 (eval $ac_try) 2>&5
92406 ac_status=$?
92407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92408 (exit $ac_status); }; } &&
92409 { ac_try='test -s conftest.$ac_objext'
92410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92411 (eval $ac_try) 2>&5
92412 ac_status=$?
92413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92414 (exit $ac_status); }; }; then
92415 glibcxx_cv_func__log10l_use=yes
92416 else
92417 echo "$as_me: failed program was:" >&5
92418 sed 's/^/| /' conftest.$ac_ext >&5
92420 glibcxx_cv_func__log10l_use=no
92422 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92423 ac_ext=c
92424 ac_cpp='$CPP $CPPFLAGS'
92425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92433 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
92434 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
92436 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
92438 for ac_func in _log10l
92440 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92441 echo "$as_me:$LINENO: checking for $ac_func" >&5
92442 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92443 if eval "test \"\${$as_ac_var+set}\" = set"; then
92444 echo $ECHO_N "(cached) $ECHO_C" >&6
92445 else
92446 if test x$gcc_no_link = xyes; then
92447 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92448 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92449 { (exit 1); exit 1; }; }
92451 cat >conftest.$ac_ext <<_ACEOF
92452 /* confdefs.h. */
92453 _ACEOF
92454 cat confdefs.h >>conftest.$ac_ext
92455 cat >>conftest.$ac_ext <<_ACEOF
92456 /* end confdefs.h. */
92457 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92458 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92459 #define $ac_func innocuous_$ac_func
92461 /* System header to define __stub macros and hopefully few prototypes,
92462 which can conflict with char $ac_func (); below.
92463 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92464 <limits.h> exists even on freestanding compilers. */
92466 #ifdef __STDC__
92467 # include <limits.h>
92468 #else
92469 # include <assert.h>
92470 #endif
92472 #undef $ac_func
92474 /* Override any gcc2 internal prototype to avoid an error. */
92475 #ifdef __cplusplus
92476 extern "C"
92478 #endif
92479 /* We use char because int might match the return type of a gcc2
92480 builtin and then its argument prototype would still apply. */
92481 char $ac_func ();
92482 /* The GNU C library defines this for functions which it implements
92483 to always fail with ENOSYS. Some functions are actually named
92484 something starting with __ and the normal name is an alias. */
92485 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92486 choke me
92487 #else
92488 char (*f) () = $ac_func;
92489 #endif
92490 #ifdef __cplusplus
92492 #endif
92495 main ()
92497 return f != $ac_func;
92499 return 0;
92501 _ACEOF
92502 rm -f conftest.$ac_objext conftest$ac_exeext
92503 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92504 (eval $ac_link) 2>conftest.er1
92505 ac_status=$?
92506 grep -v '^ *+' conftest.er1 >conftest.err
92507 rm -f conftest.er1
92508 cat conftest.err >&5
92509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92510 (exit $ac_status); } &&
92511 { ac_try='test -z "$ac_c_werror_flag"
92512 || test ! -s conftest.err'
92513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92514 (eval $ac_try) 2>&5
92515 ac_status=$?
92516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92517 (exit $ac_status); }; } &&
92518 { ac_try='test -s conftest$ac_exeext'
92519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92520 (eval $ac_try) 2>&5
92521 ac_status=$?
92522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92523 (exit $ac_status); }; }; then
92524 eval "$as_ac_var=yes"
92525 else
92526 echo "$as_me: failed program was:" >&5
92527 sed 's/^/| /' conftest.$ac_ext >&5
92529 eval "$as_ac_var=no"
92531 rm -f conftest.err conftest.$ac_objext \
92532 conftest$ac_exeext conftest.$ac_ext
92534 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92535 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92536 if test `eval echo '${'$as_ac_var'}'` = yes; then
92537 cat >>confdefs.h <<_ACEOF
92538 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92539 _ACEOF
92542 done
92552 echo "$as_me:$LINENO: checking for modfl declaration" >&5
92553 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
92554 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
92555 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
92556 echo $ECHO_N "(cached) $ECHO_C" >&6
92557 else
92561 ac_ext=cc
92562 ac_cpp='$CXXCPP $CPPFLAGS'
92563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92567 cat >conftest.$ac_ext <<_ACEOF
92568 /* confdefs.h. */
92569 _ACEOF
92570 cat confdefs.h >>conftest.$ac_ext
92571 cat >>conftest.$ac_ext <<_ACEOF
92572 /* end confdefs.h. */
92573 #include <math.h>
92575 main ()
92577 modfl(0, 0);
92579 return 0;
92581 _ACEOF
92582 rm -f conftest.$ac_objext
92583 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92584 (eval $ac_compile) 2>conftest.er1
92585 ac_status=$?
92586 grep -v '^ *+' conftest.er1 >conftest.err
92587 rm -f conftest.er1
92588 cat conftest.err >&5
92589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92590 (exit $ac_status); } &&
92591 { ac_try='test -z "$ac_cxx_werror_flag"
92592 || test ! -s conftest.err'
92593 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92594 (eval $ac_try) 2>&5
92595 ac_status=$?
92596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92597 (exit $ac_status); }; } &&
92598 { ac_try='test -s conftest.$ac_objext'
92599 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92600 (eval $ac_try) 2>&5
92601 ac_status=$?
92602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92603 (exit $ac_status); }; }; then
92604 glibcxx_cv_func_modfl_use=yes
92605 else
92606 echo "$as_me: failed program was:" >&5
92607 sed 's/^/| /' conftest.$ac_ext >&5
92609 glibcxx_cv_func_modfl_use=no
92611 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92612 ac_ext=c
92613 ac_cpp='$CPP $CPPFLAGS'
92614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92622 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
92623 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
92625 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
92627 for ac_func in modfl
92629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92630 echo "$as_me:$LINENO: checking for $ac_func" >&5
92631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92632 if eval "test \"\${$as_ac_var+set}\" = set"; then
92633 echo $ECHO_N "(cached) $ECHO_C" >&6
92634 else
92635 if test x$gcc_no_link = xyes; then
92636 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92637 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92638 { (exit 1); exit 1; }; }
92640 cat >conftest.$ac_ext <<_ACEOF
92641 /* confdefs.h. */
92642 _ACEOF
92643 cat confdefs.h >>conftest.$ac_ext
92644 cat >>conftest.$ac_ext <<_ACEOF
92645 /* end confdefs.h. */
92646 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92647 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92648 #define $ac_func innocuous_$ac_func
92650 /* System header to define __stub macros and hopefully few prototypes,
92651 which can conflict with char $ac_func (); below.
92652 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92653 <limits.h> exists even on freestanding compilers. */
92655 #ifdef __STDC__
92656 # include <limits.h>
92657 #else
92658 # include <assert.h>
92659 #endif
92661 #undef $ac_func
92663 /* Override any gcc2 internal prototype to avoid an error. */
92664 #ifdef __cplusplus
92665 extern "C"
92667 #endif
92668 /* We use char because int might match the return type of a gcc2
92669 builtin and then its argument prototype would still apply. */
92670 char $ac_func ();
92671 /* The GNU C library defines this for functions which it implements
92672 to always fail with ENOSYS. Some functions are actually named
92673 something starting with __ and the normal name is an alias. */
92674 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92675 choke me
92676 #else
92677 char (*f) () = $ac_func;
92678 #endif
92679 #ifdef __cplusplus
92681 #endif
92684 main ()
92686 return f != $ac_func;
92688 return 0;
92690 _ACEOF
92691 rm -f conftest.$ac_objext conftest$ac_exeext
92692 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92693 (eval $ac_link) 2>conftest.er1
92694 ac_status=$?
92695 grep -v '^ *+' conftest.er1 >conftest.err
92696 rm -f conftest.er1
92697 cat conftest.err >&5
92698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92699 (exit $ac_status); } &&
92700 { ac_try='test -z "$ac_c_werror_flag"
92701 || test ! -s conftest.err'
92702 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92703 (eval $ac_try) 2>&5
92704 ac_status=$?
92705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92706 (exit $ac_status); }; } &&
92707 { ac_try='test -s conftest$ac_exeext'
92708 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92709 (eval $ac_try) 2>&5
92710 ac_status=$?
92711 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92712 (exit $ac_status); }; }; then
92713 eval "$as_ac_var=yes"
92714 else
92715 echo "$as_me: failed program was:" >&5
92716 sed 's/^/| /' conftest.$ac_ext >&5
92718 eval "$as_ac_var=no"
92720 rm -f conftest.err conftest.$ac_objext \
92721 conftest$ac_exeext conftest.$ac_ext
92723 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92724 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92725 if test `eval echo '${'$as_ac_var'}'` = yes; then
92726 cat >>confdefs.h <<_ACEOF
92727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92728 _ACEOF
92731 done
92733 else
92735 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
92736 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
92737 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
92738 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
92739 echo $ECHO_N "(cached) $ECHO_C" >&6
92740 else
92744 ac_ext=cc
92745 ac_cpp='$CXXCPP $CPPFLAGS'
92746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92750 cat >conftest.$ac_ext <<_ACEOF
92751 /* confdefs.h. */
92752 _ACEOF
92753 cat confdefs.h >>conftest.$ac_ext
92754 cat >>conftest.$ac_ext <<_ACEOF
92755 /* end confdefs.h. */
92756 #include <math.h>
92758 main ()
92760 _modfl(0, 0);
92762 return 0;
92764 _ACEOF
92765 rm -f conftest.$ac_objext
92766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92767 (eval $ac_compile) 2>conftest.er1
92768 ac_status=$?
92769 grep -v '^ *+' conftest.er1 >conftest.err
92770 rm -f conftest.er1
92771 cat conftest.err >&5
92772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92773 (exit $ac_status); } &&
92774 { ac_try='test -z "$ac_cxx_werror_flag"
92775 || test ! -s conftest.err'
92776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92777 (eval $ac_try) 2>&5
92778 ac_status=$?
92779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92780 (exit $ac_status); }; } &&
92781 { ac_try='test -s conftest.$ac_objext'
92782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92783 (eval $ac_try) 2>&5
92784 ac_status=$?
92785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92786 (exit $ac_status); }; }; then
92787 glibcxx_cv_func__modfl_use=yes
92788 else
92789 echo "$as_me: failed program was:" >&5
92790 sed 's/^/| /' conftest.$ac_ext >&5
92792 glibcxx_cv_func__modfl_use=no
92794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92795 ac_ext=c
92796 ac_cpp='$CPP $CPPFLAGS'
92797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
92806 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
92808 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
92810 for ac_func in _modfl
92812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
92813 echo "$as_me:$LINENO: checking for $ac_func" >&5
92814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
92815 if eval "test \"\${$as_ac_var+set}\" = set"; then
92816 echo $ECHO_N "(cached) $ECHO_C" >&6
92817 else
92818 if test x$gcc_no_link = xyes; then
92819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
92820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
92821 { (exit 1); exit 1; }; }
92823 cat >conftest.$ac_ext <<_ACEOF
92824 /* confdefs.h. */
92825 _ACEOF
92826 cat confdefs.h >>conftest.$ac_ext
92827 cat >>conftest.$ac_ext <<_ACEOF
92828 /* end confdefs.h. */
92829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
92830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
92831 #define $ac_func innocuous_$ac_func
92833 /* System header to define __stub macros and hopefully few prototypes,
92834 which can conflict with char $ac_func (); below.
92835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
92836 <limits.h> exists even on freestanding compilers. */
92838 #ifdef __STDC__
92839 # include <limits.h>
92840 #else
92841 # include <assert.h>
92842 #endif
92844 #undef $ac_func
92846 /* Override any gcc2 internal prototype to avoid an error. */
92847 #ifdef __cplusplus
92848 extern "C"
92850 #endif
92851 /* We use char because int might match the return type of a gcc2
92852 builtin and then its argument prototype would still apply. */
92853 char $ac_func ();
92854 /* The GNU C library defines this for functions which it implements
92855 to always fail with ENOSYS. Some functions are actually named
92856 something starting with __ and the normal name is an alias. */
92857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
92858 choke me
92859 #else
92860 char (*f) () = $ac_func;
92861 #endif
92862 #ifdef __cplusplus
92864 #endif
92867 main ()
92869 return f != $ac_func;
92871 return 0;
92873 _ACEOF
92874 rm -f conftest.$ac_objext conftest$ac_exeext
92875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
92876 (eval $ac_link) 2>conftest.er1
92877 ac_status=$?
92878 grep -v '^ *+' conftest.er1 >conftest.err
92879 rm -f conftest.er1
92880 cat conftest.err >&5
92881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92882 (exit $ac_status); } &&
92883 { ac_try='test -z "$ac_c_werror_flag"
92884 || test ! -s conftest.err'
92885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92886 (eval $ac_try) 2>&5
92887 ac_status=$?
92888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92889 (exit $ac_status); }; } &&
92890 { ac_try='test -s conftest$ac_exeext'
92891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92892 (eval $ac_try) 2>&5
92893 ac_status=$?
92894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92895 (exit $ac_status); }; }; then
92896 eval "$as_ac_var=yes"
92897 else
92898 echo "$as_me: failed program was:" >&5
92899 sed 's/^/| /' conftest.$ac_ext >&5
92901 eval "$as_ac_var=no"
92903 rm -f conftest.err conftest.$ac_objext \
92904 conftest$ac_exeext conftest.$ac_ext
92906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
92907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
92908 if test `eval echo '${'$as_ac_var'}'` = yes; then
92909 cat >>confdefs.h <<_ACEOF
92910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
92911 _ACEOF
92914 done
92924 echo "$as_me:$LINENO: checking for powl declaration" >&5
92925 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
92926 if test x${glibcxx_cv_func_powl_use+set} != xset; then
92927 if test "${glibcxx_cv_func_powl_use+set}" = set; then
92928 echo $ECHO_N "(cached) $ECHO_C" >&6
92929 else
92933 ac_ext=cc
92934 ac_cpp='$CXXCPP $CPPFLAGS'
92935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
92939 cat >conftest.$ac_ext <<_ACEOF
92940 /* confdefs.h. */
92941 _ACEOF
92942 cat confdefs.h >>conftest.$ac_ext
92943 cat >>conftest.$ac_ext <<_ACEOF
92944 /* end confdefs.h. */
92945 #include <math.h>
92947 main ()
92949 powl(0, 0);
92951 return 0;
92953 _ACEOF
92954 rm -f conftest.$ac_objext
92955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
92956 (eval $ac_compile) 2>conftest.er1
92957 ac_status=$?
92958 grep -v '^ *+' conftest.er1 >conftest.err
92959 rm -f conftest.er1
92960 cat conftest.err >&5
92961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92962 (exit $ac_status); } &&
92963 { ac_try='test -z "$ac_cxx_werror_flag"
92964 || test ! -s conftest.err'
92965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92966 (eval $ac_try) 2>&5
92967 ac_status=$?
92968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92969 (exit $ac_status); }; } &&
92970 { ac_try='test -s conftest.$ac_objext'
92971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
92972 (eval $ac_try) 2>&5
92973 ac_status=$?
92974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
92975 (exit $ac_status); }; }; then
92976 glibcxx_cv_func_powl_use=yes
92977 else
92978 echo "$as_me: failed program was:" >&5
92979 sed 's/^/| /' conftest.$ac_ext >&5
92981 glibcxx_cv_func_powl_use=no
92983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
92984 ac_ext=c
92985 ac_cpp='$CPP $CPPFLAGS'
92986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
92987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
92988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
92994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
92995 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
92997 if test x$glibcxx_cv_func_powl_use = x"yes"; then
92999 for ac_func in powl
93001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93002 echo "$as_me:$LINENO: checking for $ac_func" >&5
93003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93004 if eval "test \"\${$as_ac_var+set}\" = set"; then
93005 echo $ECHO_N "(cached) $ECHO_C" >&6
93006 else
93007 if test x$gcc_no_link = xyes; then
93008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93010 { (exit 1); exit 1; }; }
93012 cat >conftest.$ac_ext <<_ACEOF
93013 /* confdefs.h. */
93014 _ACEOF
93015 cat confdefs.h >>conftest.$ac_ext
93016 cat >>conftest.$ac_ext <<_ACEOF
93017 /* end confdefs.h. */
93018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93020 #define $ac_func innocuous_$ac_func
93022 /* System header to define __stub macros and hopefully few prototypes,
93023 which can conflict with char $ac_func (); below.
93024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93025 <limits.h> exists even on freestanding compilers. */
93027 #ifdef __STDC__
93028 # include <limits.h>
93029 #else
93030 # include <assert.h>
93031 #endif
93033 #undef $ac_func
93035 /* Override any gcc2 internal prototype to avoid an error. */
93036 #ifdef __cplusplus
93037 extern "C"
93039 #endif
93040 /* We use char because int might match the return type of a gcc2
93041 builtin and then its argument prototype would still apply. */
93042 char $ac_func ();
93043 /* The GNU C library defines this for functions which it implements
93044 to always fail with ENOSYS. Some functions are actually named
93045 something starting with __ and the normal name is an alias. */
93046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93047 choke me
93048 #else
93049 char (*f) () = $ac_func;
93050 #endif
93051 #ifdef __cplusplus
93053 #endif
93056 main ()
93058 return f != $ac_func;
93060 return 0;
93062 _ACEOF
93063 rm -f conftest.$ac_objext conftest$ac_exeext
93064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93065 (eval $ac_link) 2>conftest.er1
93066 ac_status=$?
93067 grep -v '^ *+' conftest.er1 >conftest.err
93068 rm -f conftest.er1
93069 cat conftest.err >&5
93070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93071 (exit $ac_status); } &&
93072 { ac_try='test -z "$ac_c_werror_flag"
93073 || test ! -s conftest.err'
93074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93075 (eval $ac_try) 2>&5
93076 ac_status=$?
93077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93078 (exit $ac_status); }; } &&
93079 { ac_try='test -s conftest$ac_exeext'
93080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93081 (eval $ac_try) 2>&5
93082 ac_status=$?
93083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93084 (exit $ac_status); }; }; then
93085 eval "$as_ac_var=yes"
93086 else
93087 echo "$as_me: failed program was:" >&5
93088 sed 's/^/| /' conftest.$ac_ext >&5
93090 eval "$as_ac_var=no"
93092 rm -f conftest.err conftest.$ac_objext \
93093 conftest$ac_exeext conftest.$ac_ext
93095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93097 if test `eval echo '${'$as_ac_var'}'` = yes; then
93098 cat >>confdefs.h <<_ACEOF
93099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93100 _ACEOF
93103 done
93105 else
93107 echo "$as_me:$LINENO: checking for _powl declaration" >&5
93108 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
93109 if test x${glibcxx_cv_func__powl_use+set} != xset; then
93110 if test "${glibcxx_cv_func__powl_use+set}" = set; then
93111 echo $ECHO_N "(cached) $ECHO_C" >&6
93112 else
93116 ac_ext=cc
93117 ac_cpp='$CXXCPP $CPPFLAGS'
93118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93122 cat >conftest.$ac_ext <<_ACEOF
93123 /* confdefs.h. */
93124 _ACEOF
93125 cat confdefs.h >>conftest.$ac_ext
93126 cat >>conftest.$ac_ext <<_ACEOF
93127 /* end confdefs.h. */
93128 #include <math.h>
93130 main ()
93132 _powl(0, 0);
93134 return 0;
93136 _ACEOF
93137 rm -f conftest.$ac_objext
93138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93139 (eval $ac_compile) 2>conftest.er1
93140 ac_status=$?
93141 grep -v '^ *+' conftest.er1 >conftest.err
93142 rm -f conftest.er1
93143 cat conftest.err >&5
93144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93145 (exit $ac_status); } &&
93146 { ac_try='test -z "$ac_cxx_werror_flag"
93147 || test ! -s conftest.err'
93148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93149 (eval $ac_try) 2>&5
93150 ac_status=$?
93151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93152 (exit $ac_status); }; } &&
93153 { ac_try='test -s conftest.$ac_objext'
93154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93155 (eval $ac_try) 2>&5
93156 ac_status=$?
93157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93158 (exit $ac_status); }; }; then
93159 glibcxx_cv_func__powl_use=yes
93160 else
93161 echo "$as_me: failed program was:" >&5
93162 sed 's/^/| /' conftest.$ac_ext >&5
93164 glibcxx_cv_func__powl_use=no
93166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93167 ac_ext=c
93168 ac_cpp='$CPP $CPPFLAGS'
93169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
93178 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
93180 if test x$glibcxx_cv_func__powl_use = x"yes"; then
93182 for ac_func in _powl
93184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93185 echo "$as_me:$LINENO: checking for $ac_func" >&5
93186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93187 if eval "test \"\${$as_ac_var+set}\" = set"; then
93188 echo $ECHO_N "(cached) $ECHO_C" >&6
93189 else
93190 if test x$gcc_no_link = xyes; then
93191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93193 { (exit 1); exit 1; }; }
93195 cat >conftest.$ac_ext <<_ACEOF
93196 /* confdefs.h. */
93197 _ACEOF
93198 cat confdefs.h >>conftest.$ac_ext
93199 cat >>conftest.$ac_ext <<_ACEOF
93200 /* end confdefs.h. */
93201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93203 #define $ac_func innocuous_$ac_func
93205 /* System header to define __stub macros and hopefully few prototypes,
93206 which can conflict with char $ac_func (); below.
93207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93208 <limits.h> exists even on freestanding compilers. */
93210 #ifdef __STDC__
93211 # include <limits.h>
93212 #else
93213 # include <assert.h>
93214 #endif
93216 #undef $ac_func
93218 /* Override any gcc2 internal prototype to avoid an error. */
93219 #ifdef __cplusplus
93220 extern "C"
93222 #endif
93223 /* We use char because int might match the return type of a gcc2
93224 builtin and then its argument prototype would still apply. */
93225 char $ac_func ();
93226 /* The GNU C library defines this for functions which it implements
93227 to always fail with ENOSYS. Some functions are actually named
93228 something starting with __ and the normal name is an alias. */
93229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93230 choke me
93231 #else
93232 char (*f) () = $ac_func;
93233 #endif
93234 #ifdef __cplusplus
93236 #endif
93239 main ()
93241 return f != $ac_func;
93243 return 0;
93245 _ACEOF
93246 rm -f conftest.$ac_objext conftest$ac_exeext
93247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93248 (eval $ac_link) 2>conftest.er1
93249 ac_status=$?
93250 grep -v '^ *+' conftest.er1 >conftest.err
93251 rm -f conftest.er1
93252 cat conftest.err >&5
93253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93254 (exit $ac_status); } &&
93255 { ac_try='test -z "$ac_c_werror_flag"
93256 || test ! -s conftest.err'
93257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93258 (eval $ac_try) 2>&5
93259 ac_status=$?
93260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93261 (exit $ac_status); }; } &&
93262 { ac_try='test -s conftest$ac_exeext'
93263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93264 (eval $ac_try) 2>&5
93265 ac_status=$?
93266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93267 (exit $ac_status); }; }; then
93268 eval "$as_ac_var=yes"
93269 else
93270 echo "$as_me: failed program was:" >&5
93271 sed 's/^/| /' conftest.$ac_ext >&5
93273 eval "$as_ac_var=no"
93275 rm -f conftest.err conftest.$ac_objext \
93276 conftest$ac_exeext conftest.$ac_ext
93278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93280 if test `eval echo '${'$as_ac_var'}'` = yes; then
93281 cat >>confdefs.h <<_ACEOF
93282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93283 _ACEOF
93286 done
93296 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
93297 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
93298 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
93299 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
93300 echo $ECHO_N "(cached) $ECHO_C" >&6
93301 else
93305 ac_ext=cc
93306 ac_cpp='$CXXCPP $CPPFLAGS'
93307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93311 cat >conftest.$ac_ext <<_ACEOF
93312 /* confdefs.h. */
93313 _ACEOF
93314 cat confdefs.h >>conftest.$ac_ext
93315 cat >>conftest.$ac_ext <<_ACEOF
93316 /* end confdefs.h. */
93317 #include <math.h>
93318 #ifdef HAVE_IEEEFP_H
93319 #include <ieeefp.h>
93320 #endif
93323 main ()
93325 sqrtl(0);
93327 return 0;
93329 _ACEOF
93330 rm -f conftest.$ac_objext
93331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93332 (eval $ac_compile) 2>conftest.er1
93333 ac_status=$?
93334 grep -v '^ *+' conftest.er1 >conftest.err
93335 rm -f conftest.er1
93336 cat conftest.err >&5
93337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93338 (exit $ac_status); } &&
93339 { ac_try='test -z "$ac_cxx_werror_flag"
93340 || test ! -s conftest.err'
93341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93342 (eval $ac_try) 2>&5
93343 ac_status=$?
93344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93345 (exit $ac_status); }; } &&
93346 { ac_try='test -s conftest.$ac_objext'
93347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93348 (eval $ac_try) 2>&5
93349 ac_status=$?
93350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93351 (exit $ac_status); }; }; then
93352 glibcxx_cv_func_sqrtl_use=yes
93353 else
93354 echo "$as_me: failed program was:" >&5
93355 sed 's/^/| /' conftest.$ac_ext >&5
93357 glibcxx_cv_func_sqrtl_use=no
93359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93360 ac_ext=c
93361 ac_cpp='$CPP $CPPFLAGS'
93362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
93371 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
93373 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
93375 for ac_func in sqrtl
93377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93378 echo "$as_me:$LINENO: checking for $ac_func" >&5
93379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93380 if eval "test \"\${$as_ac_var+set}\" = set"; then
93381 echo $ECHO_N "(cached) $ECHO_C" >&6
93382 else
93383 if test x$gcc_no_link = xyes; then
93384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93386 { (exit 1); exit 1; }; }
93388 cat >conftest.$ac_ext <<_ACEOF
93389 /* confdefs.h. */
93390 _ACEOF
93391 cat confdefs.h >>conftest.$ac_ext
93392 cat >>conftest.$ac_ext <<_ACEOF
93393 /* end confdefs.h. */
93394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93396 #define $ac_func innocuous_$ac_func
93398 /* System header to define __stub macros and hopefully few prototypes,
93399 which can conflict with char $ac_func (); below.
93400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93401 <limits.h> exists even on freestanding compilers. */
93403 #ifdef __STDC__
93404 # include <limits.h>
93405 #else
93406 # include <assert.h>
93407 #endif
93409 #undef $ac_func
93411 /* Override any gcc2 internal prototype to avoid an error. */
93412 #ifdef __cplusplus
93413 extern "C"
93415 #endif
93416 /* We use char because int might match the return type of a gcc2
93417 builtin and then its argument prototype would still apply. */
93418 char $ac_func ();
93419 /* The GNU C library defines this for functions which it implements
93420 to always fail with ENOSYS. Some functions are actually named
93421 something starting with __ and the normal name is an alias. */
93422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93423 choke me
93424 #else
93425 char (*f) () = $ac_func;
93426 #endif
93427 #ifdef __cplusplus
93429 #endif
93432 main ()
93434 return f != $ac_func;
93436 return 0;
93438 _ACEOF
93439 rm -f conftest.$ac_objext conftest$ac_exeext
93440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93441 (eval $ac_link) 2>conftest.er1
93442 ac_status=$?
93443 grep -v '^ *+' conftest.er1 >conftest.err
93444 rm -f conftest.er1
93445 cat conftest.err >&5
93446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93447 (exit $ac_status); } &&
93448 { ac_try='test -z "$ac_c_werror_flag"
93449 || test ! -s conftest.err'
93450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93451 (eval $ac_try) 2>&5
93452 ac_status=$?
93453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93454 (exit $ac_status); }; } &&
93455 { ac_try='test -s conftest$ac_exeext'
93456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93457 (eval $ac_try) 2>&5
93458 ac_status=$?
93459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93460 (exit $ac_status); }; }; then
93461 eval "$as_ac_var=yes"
93462 else
93463 echo "$as_me: failed program was:" >&5
93464 sed 's/^/| /' conftest.$ac_ext >&5
93466 eval "$as_ac_var=no"
93468 rm -f conftest.err conftest.$ac_objext \
93469 conftest$ac_exeext conftest.$ac_ext
93471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93473 if test `eval echo '${'$as_ac_var'}'` = yes; then
93474 cat >>confdefs.h <<_ACEOF
93475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93476 _ACEOF
93479 done
93481 else
93483 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
93484 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
93485 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
93486 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
93487 echo $ECHO_N "(cached) $ECHO_C" >&6
93488 else
93492 ac_ext=cc
93493 ac_cpp='$CXXCPP $CPPFLAGS'
93494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93498 cat >conftest.$ac_ext <<_ACEOF
93499 /* confdefs.h. */
93500 _ACEOF
93501 cat confdefs.h >>conftest.$ac_ext
93502 cat >>conftest.$ac_ext <<_ACEOF
93503 /* end confdefs.h. */
93504 #include <math.h>
93505 #ifdef HAVE_IEEEFP_H
93506 #include <ieeefp.h>
93507 #endif
93510 main ()
93512 _sqrtl(0);
93514 return 0;
93516 _ACEOF
93517 rm -f conftest.$ac_objext
93518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93519 (eval $ac_compile) 2>conftest.er1
93520 ac_status=$?
93521 grep -v '^ *+' conftest.er1 >conftest.err
93522 rm -f conftest.er1
93523 cat conftest.err >&5
93524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93525 (exit $ac_status); } &&
93526 { ac_try='test -z "$ac_cxx_werror_flag"
93527 || test ! -s conftest.err'
93528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93529 (eval $ac_try) 2>&5
93530 ac_status=$?
93531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93532 (exit $ac_status); }; } &&
93533 { ac_try='test -s conftest.$ac_objext'
93534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93535 (eval $ac_try) 2>&5
93536 ac_status=$?
93537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93538 (exit $ac_status); }; }; then
93539 glibcxx_cv_func__sqrtl_use=yes
93540 else
93541 echo "$as_me: failed program was:" >&5
93542 sed 's/^/| /' conftest.$ac_ext >&5
93544 glibcxx_cv_func__sqrtl_use=no
93546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93547 ac_ext=c
93548 ac_cpp='$CPP $CPPFLAGS'
93549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
93558 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
93560 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
93562 for ac_func in _sqrtl
93564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93565 echo "$as_me:$LINENO: checking for $ac_func" >&5
93566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93567 if eval "test \"\${$as_ac_var+set}\" = set"; then
93568 echo $ECHO_N "(cached) $ECHO_C" >&6
93569 else
93570 if test x$gcc_no_link = xyes; then
93571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93573 { (exit 1); exit 1; }; }
93575 cat >conftest.$ac_ext <<_ACEOF
93576 /* confdefs.h. */
93577 _ACEOF
93578 cat confdefs.h >>conftest.$ac_ext
93579 cat >>conftest.$ac_ext <<_ACEOF
93580 /* end confdefs.h. */
93581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93583 #define $ac_func innocuous_$ac_func
93585 /* System header to define __stub macros and hopefully few prototypes,
93586 which can conflict with char $ac_func (); below.
93587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93588 <limits.h> exists even on freestanding compilers. */
93590 #ifdef __STDC__
93591 # include <limits.h>
93592 #else
93593 # include <assert.h>
93594 #endif
93596 #undef $ac_func
93598 /* Override any gcc2 internal prototype to avoid an error. */
93599 #ifdef __cplusplus
93600 extern "C"
93602 #endif
93603 /* We use char because int might match the return type of a gcc2
93604 builtin and then its argument prototype would still apply. */
93605 char $ac_func ();
93606 /* The GNU C library defines this for functions which it implements
93607 to always fail with ENOSYS. Some functions are actually named
93608 something starting with __ and the normal name is an alias. */
93609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93610 choke me
93611 #else
93612 char (*f) () = $ac_func;
93613 #endif
93614 #ifdef __cplusplus
93616 #endif
93619 main ()
93621 return f != $ac_func;
93623 return 0;
93625 _ACEOF
93626 rm -f conftest.$ac_objext conftest$ac_exeext
93627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93628 (eval $ac_link) 2>conftest.er1
93629 ac_status=$?
93630 grep -v '^ *+' conftest.er1 >conftest.err
93631 rm -f conftest.er1
93632 cat conftest.err >&5
93633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93634 (exit $ac_status); } &&
93635 { ac_try='test -z "$ac_c_werror_flag"
93636 || test ! -s conftest.err'
93637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93638 (eval $ac_try) 2>&5
93639 ac_status=$?
93640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93641 (exit $ac_status); }; } &&
93642 { ac_try='test -s conftest$ac_exeext'
93643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93644 (eval $ac_try) 2>&5
93645 ac_status=$?
93646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93647 (exit $ac_status); }; }; then
93648 eval "$as_ac_var=yes"
93649 else
93650 echo "$as_me: failed program was:" >&5
93651 sed 's/^/| /' conftest.$ac_ext >&5
93653 eval "$as_ac_var=no"
93655 rm -f conftest.err conftest.$ac_objext \
93656 conftest$ac_exeext conftest.$ac_ext
93658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93660 if test `eval echo '${'$as_ac_var'}'` = yes; then
93661 cat >>confdefs.h <<_ACEOF
93662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93663 _ACEOF
93666 done
93676 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
93677 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
93678 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
93679 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
93680 echo $ECHO_N "(cached) $ECHO_C" >&6
93681 else
93685 ac_ext=cc
93686 ac_cpp='$CXXCPP $CPPFLAGS'
93687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93691 cat >conftest.$ac_ext <<_ACEOF
93692 /* confdefs.h. */
93693 _ACEOF
93694 cat confdefs.h >>conftest.$ac_ext
93695 cat >>conftest.$ac_ext <<_ACEOF
93696 /* end confdefs.h. */
93697 #include <math.h>
93699 main ()
93701 sincosl(0, 0, 0);
93703 return 0;
93705 _ACEOF
93706 rm -f conftest.$ac_objext
93707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93708 (eval $ac_compile) 2>conftest.er1
93709 ac_status=$?
93710 grep -v '^ *+' conftest.er1 >conftest.err
93711 rm -f conftest.er1
93712 cat conftest.err >&5
93713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93714 (exit $ac_status); } &&
93715 { ac_try='test -z "$ac_cxx_werror_flag"
93716 || test ! -s conftest.err'
93717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93718 (eval $ac_try) 2>&5
93719 ac_status=$?
93720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93721 (exit $ac_status); }; } &&
93722 { ac_try='test -s conftest.$ac_objext'
93723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93724 (eval $ac_try) 2>&5
93725 ac_status=$?
93726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93727 (exit $ac_status); }; }; then
93728 glibcxx_cv_func_sincosl_use=yes
93729 else
93730 echo "$as_me: failed program was:" >&5
93731 sed 's/^/| /' conftest.$ac_ext >&5
93733 glibcxx_cv_func_sincosl_use=no
93735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93736 ac_ext=c
93737 ac_cpp='$CPP $CPPFLAGS'
93738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
93747 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
93749 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
93751 for ac_func in sincosl
93753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93754 echo "$as_me:$LINENO: checking for $ac_func" >&5
93755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93756 if eval "test \"\${$as_ac_var+set}\" = set"; then
93757 echo $ECHO_N "(cached) $ECHO_C" >&6
93758 else
93759 if test x$gcc_no_link = xyes; then
93760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93762 { (exit 1); exit 1; }; }
93764 cat >conftest.$ac_ext <<_ACEOF
93765 /* confdefs.h. */
93766 _ACEOF
93767 cat confdefs.h >>conftest.$ac_ext
93768 cat >>conftest.$ac_ext <<_ACEOF
93769 /* end confdefs.h. */
93770 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93772 #define $ac_func innocuous_$ac_func
93774 /* System header to define __stub macros and hopefully few prototypes,
93775 which can conflict with char $ac_func (); below.
93776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93777 <limits.h> exists even on freestanding compilers. */
93779 #ifdef __STDC__
93780 # include <limits.h>
93781 #else
93782 # include <assert.h>
93783 #endif
93785 #undef $ac_func
93787 /* Override any gcc2 internal prototype to avoid an error. */
93788 #ifdef __cplusplus
93789 extern "C"
93791 #endif
93792 /* We use char because int might match the return type of a gcc2
93793 builtin and then its argument prototype would still apply. */
93794 char $ac_func ();
93795 /* The GNU C library defines this for functions which it implements
93796 to always fail with ENOSYS. Some functions are actually named
93797 something starting with __ and the normal name is an alias. */
93798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93799 choke me
93800 #else
93801 char (*f) () = $ac_func;
93802 #endif
93803 #ifdef __cplusplus
93805 #endif
93808 main ()
93810 return f != $ac_func;
93812 return 0;
93814 _ACEOF
93815 rm -f conftest.$ac_objext conftest$ac_exeext
93816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
93817 (eval $ac_link) 2>conftest.er1
93818 ac_status=$?
93819 grep -v '^ *+' conftest.er1 >conftest.err
93820 rm -f conftest.er1
93821 cat conftest.err >&5
93822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93823 (exit $ac_status); } &&
93824 { ac_try='test -z "$ac_c_werror_flag"
93825 || test ! -s conftest.err'
93826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93827 (eval $ac_try) 2>&5
93828 ac_status=$?
93829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93830 (exit $ac_status); }; } &&
93831 { ac_try='test -s conftest$ac_exeext'
93832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93833 (eval $ac_try) 2>&5
93834 ac_status=$?
93835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93836 (exit $ac_status); }; }; then
93837 eval "$as_ac_var=yes"
93838 else
93839 echo "$as_me: failed program was:" >&5
93840 sed 's/^/| /' conftest.$ac_ext >&5
93842 eval "$as_ac_var=no"
93844 rm -f conftest.err conftest.$ac_objext \
93845 conftest$ac_exeext conftest.$ac_ext
93847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
93848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
93849 if test `eval echo '${'$as_ac_var'}'` = yes; then
93850 cat >>confdefs.h <<_ACEOF
93851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
93852 _ACEOF
93855 done
93857 else
93859 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
93860 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
93861 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
93862 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
93863 echo $ECHO_N "(cached) $ECHO_C" >&6
93864 else
93868 ac_ext=cc
93869 ac_cpp='$CXXCPP $CPPFLAGS'
93870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
93874 cat >conftest.$ac_ext <<_ACEOF
93875 /* confdefs.h. */
93876 _ACEOF
93877 cat confdefs.h >>conftest.$ac_ext
93878 cat >>conftest.$ac_ext <<_ACEOF
93879 /* end confdefs.h. */
93880 #include <math.h>
93882 main ()
93884 _sincosl(0, 0, 0);
93886 return 0;
93888 _ACEOF
93889 rm -f conftest.$ac_objext
93890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
93891 (eval $ac_compile) 2>conftest.er1
93892 ac_status=$?
93893 grep -v '^ *+' conftest.er1 >conftest.err
93894 rm -f conftest.er1
93895 cat conftest.err >&5
93896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93897 (exit $ac_status); } &&
93898 { ac_try='test -z "$ac_cxx_werror_flag"
93899 || test ! -s conftest.err'
93900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93901 (eval $ac_try) 2>&5
93902 ac_status=$?
93903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93904 (exit $ac_status); }; } &&
93905 { ac_try='test -s conftest.$ac_objext'
93906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
93907 (eval $ac_try) 2>&5
93908 ac_status=$?
93909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
93910 (exit $ac_status); }; }; then
93911 glibcxx_cv_func__sincosl_use=yes
93912 else
93913 echo "$as_me: failed program was:" >&5
93914 sed 's/^/| /' conftest.$ac_ext >&5
93916 glibcxx_cv_func__sincosl_use=no
93918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
93919 ac_ext=c
93920 ac_cpp='$CPP $CPPFLAGS'
93921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
93922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
93923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
93929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
93930 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
93932 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
93934 for ac_func in _sincosl
93936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
93937 echo "$as_me:$LINENO: checking for $ac_func" >&5
93938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
93939 if eval "test \"\${$as_ac_var+set}\" = set"; then
93940 echo $ECHO_N "(cached) $ECHO_C" >&6
93941 else
93942 if test x$gcc_no_link = xyes; then
93943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
93944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
93945 { (exit 1); exit 1; }; }
93947 cat >conftest.$ac_ext <<_ACEOF
93948 /* confdefs.h. */
93949 _ACEOF
93950 cat confdefs.h >>conftest.$ac_ext
93951 cat >>conftest.$ac_ext <<_ACEOF
93952 /* end confdefs.h. */
93953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
93954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
93955 #define $ac_func innocuous_$ac_func
93957 /* System header to define __stub macros and hopefully few prototypes,
93958 which can conflict with char $ac_func (); below.
93959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
93960 <limits.h> exists even on freestanding compilers. */
93962 #ifdef __STDC__
93963 # include <limits.h>
93964 #else
93965 # include <assert.h>
93966 #endif
93968 #undef $ac_func
93970 /* Override any gcc2 internal prototype to avoid an error. */
93971 #ifdef __cplusplus
93972 extern "C"
93974 #endif
93975 /* We use char because int might match the return type of a gcc2
93976 builtin and then its argument prototype would still apply. */
93977 char $ac_func ();
93978 /* The GNU C library defines this for functions which it implements
93979 to always fail with ENOSYS. Some functions are actually named
93980 something starting with __ and the normal name is an alias. */
93981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
93982 choke me
93983 #else
93984 char (*f) () = $ac_func;
93985 #endif
93986 #ifdef __cplusplus
93988 #endif
93991 main ()
93993 return f != $ac_func;
93995 return 0;
93997 _ACEOF
93998 rm -f conftest.$ac_objext conftest$ac_exeext
93999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94000 (eval $ac_link) 2>conftest.er1
94001 ac_status=$?
94002 grep -v '^ *+' conftest.er1 >conftest.err
94003 rm -f conftest.er1
94004 cat conftest.err >&5
94005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94006 (exit $ac_status); } &&
94007 { ac_try='test -z "$ac_c_werror_flag"
94008 || test ! -s conftest.err'
94009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94010 (eval $ac_try) 2>&5
94011 ac_status=$?
94012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94013 (exit $ac_status); }; } &&
94014 { ac_try='test -s conftest$ac_exeext'
94015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94016 (eval $ac_try) 2>&5
94017 ac_status=$?
94018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94019 (exit $ac_status); }; }; then
94020 eval "$as_ac_var=yes"
94021 else
94022 echo "$as_me: failed program was:" >&5
94023 sed 's/^/| /' conftest.$ac_ext >&5
94025 eval "$as_ac_var=no"
94027 rm -f conftest.err conftest.$ac_objext \
94028 conftest$ac_exeext conftest.$ac_ext
94030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94032 if test `eval echo '${'$as_ac_var'}'` = yes; then
94033 cat >>confdefs.h <<_ACEOF
94034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94035 _ACEOF
94038 done
94048 echo "$as_me:$LINENO: checking for finitel declaration" >&5
94049 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
94050 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
94051 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
94052 echo $ECHO_N "(cached) $ECHO_C" >&6
94053 else
94057 ac_ext=cc
94058 ac_cpp='$CXXCPP $CPPFLAGS'
94059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94063 cat >conftest.$ac_ext <<_ACEOF
94064 /* confdefs.h. */
94065 _ACEOF
94066 cat confdefs.h >>conftest.$ac_ext
94067 cat >>conftest.$ac_ext <<_ACEOF
94068 /* end confdefs.h. */
94069 #include <math.h>
94070 #ifdef HAVE_IEEEFP_H
94071 #include <ieeefp.h>
94072 #endif
94075 main ()
94077 finitel(0);
94079 return 0;
94081 _ACEOF
94082 rm -f conftest.$ac_objext
94083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94084 (eval $ac_compile) 2>conftest.er1
94085 ac_status=$?
94086 grep -v '^ *+' conftest.er1 >conftest.err
94087 rm -f conftest.er1
94088 cat conftest.err >&5
94089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94090 (exit $ac_status); } &&
94091 { ac_try='test -z "$ac_cxx_werror_flag"
94092 || test ! -s conftest.err'
94093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94094 (eval $ac_try) 2>&5
94095 ac_status=$?
94096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94097 (exit $ac_status); }; } &&
94098 { ac_try='test -s conftest.$ac_objext'
94099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94100 (eval $ac_try) 2>&5
94101 ac_status=$?
94102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94103 (exit $ac_status); }; }; then
94104 glibcxx_cv_func_finitel_use=yes
94105 else
94106 echo "$as_me: failed program was:" >&5
94107 sed 's/^/| /' conftest.$ac_ext >&5
94109 glibcxx_cv_func_finitel_use=no
94111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94112 ac_ext=c
94113 ac_cpp='$CPP $CPPFLAGS'
94114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
94123 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
94125 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
94127 for ac_func in finitel
94129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94130 echo "$as_me:$LINENO: checking for $ac_func" >&5
94131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94132 if eval "test \"\${$as_ac_var+set}\" = set"; then
94133 echo $ECHO_N "(cached) $ECHO_C" >&6
94134 else
94135 if test x$gcc_no_link = xyes; then
94136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94138 { (exit 1); exit 1; }; }
94140 cat >conftest.$ac_ext <<_ACEOF
94141 /* confdefs.h. */
94142 _ACEOF
94143 cat confdefs.h >>conftest.$ac_ext
94144 cat >>conftest.$ac_ext <<_ACEOF
94145 /* end confdefs.h. */
94146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94148 #define $ac_func innocuous_$ac_func
94150 /* System header to define __stub macros and hopefully few prototypes,
94151 which can conflict with char $ac_func (); below.
94152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94153 <limits.h> exists even on freestanding compilers. */
94155 #ifdef __STDC__
94156 # include <limits.h>
94157 #else
94158 # include <assert.h>
94159 #endif
94161 #undef $ac_func
94163 /* Override any gcc2 internal prototype to avoid an error. */
94164 #ifdef __cplusplus
94165 extern "C"
94167 #endif
94168 /* We use char because int might match the return type of a gcc2
94169 builtin and then its argument prototype would still apply. */
94170 char $ac_func ();
94171 /* The GNU C library defines this for functions which it implements
94172 to always fail with ENOSYS. Some functions are actually named
94173 something starting with __ and the normal name is an alias. */
94174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94175 choke me
94176 #else
94177 char (*f) () = $ac_func;
94178 #endif
94179 #ifdef __cplusplus
94181 #endif
94184 main ()
94186 return f != $ac_func;
94188 return 0;
94190 _ACEOF
94191 rm -f conftest.$ac_objext conftest$ac_exeext
94192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94193 (eval $ac_link) 2>conftest.er1
94194 ac_status=$?
94195 grep -v '^ *+' conftest.er1 >conftest.err
94196 rm -f conftest.er1
94197 cat conftest.err >&5
94198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94199 (exit $ac_status); } &&
94200 { ac_try='test -z "$ac_c_werror_flag"
94201 || test ! -s conftest.err'
94202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94203 (eval $ac_try) 2>&5
94204 ac_status=$?
94205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94206 (exit $ac_status); }; } &&
94207 { ac_try='test -s conftest$ac_exeext'
94208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94209 (eval $ac_try) 2>&5
94210 ac_status=$?
94211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94212 (exit $ac_status); }; }; then
94213 eval "$as_ac_var=yes"
94214 else
94215 echo "$as_me: failed program was:" >&5
94216 sed 's/^/| /' conftest.$ac_ext >&5
94218 eval "$as_ac_var=no"
94220 rm -f conftest.err conftest.$ac_objext \
94221 conftest$ac_exeext conftest.$ac_ext
94223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94225 if test `eval echo '${'$as_ac_var'}'` = yes; then
94226 cat >>confdefs.h <<_ACEOF
94227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94228 _ACEOF
94231 done
94233 else
94235 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
94236 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
94237 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
94238 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
94239 echo $ECHO_N "(cached) $ECHO_C" >&6
94240 else
94244 ac_ext=cc
94245 ac_cpp='$CXXCPP $CPPFLAGS'
94246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94250 cat >conftest.$ac_ext <<_ACEOF
94251 /* confdefs.h. */
94252 _ACEOF
94253 cat confdefs.h >>conftest.$ac_ext
94254 cat >>conftest.$ac_ext <<_ACEOF
94255 /* end confdefs.h. */
94256 #include <math.h>
94257 #ifdef HAVE_IEEEFP_H
94258 #include <ieeefp.h>
94259 #endif
94262 main ()
94264 _finitel(0);
94266 return 0;
94268 _ACEOF
94269 rm -f conftest.$ac_objext
94270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94271 (eval $ac_compile) 2>conftest.er1
94272 ac_status=$?
94273 grep -v '^ *+' conftest.er1 >conftest.err
94274 rm -f conftest.er1
94275 cat conftest.err >&5
94276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94277 (exit $ac_status); } &&
94278 { ac_try='test -z "$ac_cxx_werror_flag"
94279 || test ! -s conftest.err'
94280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94281 (eval $ac_try) 2>&5
94282 ac_status=$?
94283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94284 (exit $ac_status); }; } &&
94285 { ac_try='test -s conftest.$ac_objext'
94286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94287 (eval $ac_try) 2>&5
94288 ac_status=$?
94289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94290 (exit $ac_status); }; }; then
94291 glibcxx_cv_func__finitel_use=yes
94292 else
94293 echo "$as_me: failed program was:" >&5
94294 sed 's/^/| /' conftest.$ac_ext >&5
94296 glibcxx_cv_func__finitel_use=no
94298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94299 ac_ext=c
94300 ac_cpp='$CPP $CPPFLAGS'
94301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
94310 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
94312 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
94314 for ac_func in _finitel
94316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94317 echo "$as_me:$LINENO: checking for $ac_func" >&5
94318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94319 if eval "test \"\${$as_ac_var+set}\" = set"; then
94320 echo $ECHO_N "(cached) $ECHO_C" >&6
94321 else
94322 if test x$gcc_no_link = xyes; then
94323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94325 { (exit 1); exit 1; }; }
94327 cat >conftest.$ac_ext <<_ACEOF
94328 /* confdefs.h. */
94329 _ACEOF
94330 cat confdefs.h >>conftest.$ac_ext
94331 cat >>conftest.$ac_ext <<_ACEOF
94332 /* end confdefs.h. */
94333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94335 #define $ac_func innocuous_$ac_func
94337 /* System header to define __stub macros and hopefully few prototypes,
94338 which can conflict with char $ac_func (); below.
94339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94340 <limits.h> exists even on freestanding compilers. */
94342 #ifdef __STDC__
94343 # include <limits.h>
94344 #else
94345 # include <assert.h>
94346 #endif
94348 #undef $ac_func
94350 /* Override any gcc2 internal prototype to avoid an error. */
94351 #ifdef __cplusplus
94352 extern "C"
94354 #endif
94355 /* We use char because int might match the return type of a gcc2
94356 builtin and then its argument prototype would still apply. */
94357 char $ac_func ();
94358 /* The GNU C library defines this for functions which it implements
94359 to always fail with ENOSYS. Some functions are actually named
94360 something starting with __ and the normal name is an alias. */
94361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94362 choke me
94363 #else
94364 char (*f) () = $ac_func;
94365 #endif
94366 #ifdef __cplusplus
94368 #endif
94371 main ()
94373 return f != $ac_func;
94375 return 0;
94377 _ACEOF
94378 rm -f conftest.$ac_objext conftest$ac_exeext
94379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94380 (eval $ac_link) 2>conftest.er1
94381 ac_status=$?
94382 grep -v '^ *+' conftest.er1 >conftest.err
94383 rm -f conftest.er1
94384 cat conftest.err >&5
94385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94386 (exit $ac_status); } &&
94387 { ac_try='test -z "$ac_c_werror_flag"
94388 || test ! -s conftest.err'
94389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94390 (eval $ac_try) 2>&5
94391 ac_status=$?
94392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94393 (exit $ac_status); }; } &&
94394 { ac_try='test -s conftest$ac_exeext'
94395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94396 (eval $ac_try) 2>&5
94397 ac_status=$?
94398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94399 (exit $ac_status); }; }; then
94400 eval "$as_ac_var=yes"
94401 else
94402 echo "$as_me: failed program was:" >&5
94403 sed 's/^/| /' conftest.$ac_ext >&5
94405 eval "$as_ac_var=no"
94407 rm -f conftest.err conftest.$ac_objext \
94408 conftest$ac_exeext conftest.$ac_ext
94410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94412 if test `eval echo '${'$as_ac_var'}'` = yes; then
94413 cat >>confdefs.h <<_ACEOF
94414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94415 _ACEOF
94418 done
94427 LIBS="$ac_save_LIBS"
94428 CXXFLAGS="$ac_save_CXXFLAGS"
94431 ac_test_CXXFLAGS="${CXXFLAGS+set}"
94432 ac_save_CXXFLAGS="$CXXFLAGS"
94433 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
94436 echo "$as_me:$LINENO: checking for strtold declaration" >&5
94437 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
94438 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
94439 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
94440 echo $ECHO_N "(cached) $ECHO_C" >&6
94441 else
94445 ac_ext=cc
94446 ac_cpp='$CXXCPP $CPPFLAGS'
94447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94451 cat >conftest.$ac_ext <<_ACEOF
94452 /* confdefs.h. */
94453 _ACEOF
94454 cat confdefs.h >>conftest.$ac_ext
94455 cat >>conftest.$ac_ext <<_ACEOF
94456 /* end confdefs.h. */
94457 #include <stdlib.h>
94459 main ()
94461 strtold(0, 0);
94463 return 0;
94465 _ACEOF
94466 rm -f conftest.$ac_objext
94467 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94468 (eval $ac_compile) 2>conftest.er1
94469 ac_status=$?
94470 grep -v '^ *+' conftest.er1 >conftest.err
94471 rm -f conftest.er1
94472 cat conftest.err >&5
94473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94474 (exit $ac_status); } &&
94475 { ac_try='test -z "$ac_cxx_werror_flag"
94476 || test ! -s conftest.err'
94477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94478 (eval $ac_try) 2>&5
94479 ac_status=$?
94480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94481 (exit $ac_status); }; } &&
94482 { ac_try='test -s conftest.$ac_objext'
94483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94484 (eval $ac_try) 2>&5
94485 ac_status=$?
94486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94487 (exit $ac_status); }; }; then
94488 glibcxx_cv_func_strtold_use=yes
94489 else
94490 echo "$as_me: failed program was:" >&5
94491 sed 's/^/| /' conftest.$ac_ext >&5
94493 glibcxx_cv_func_strtold_use=no
94495 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94496 ac_ext=c
94497 ac_cpp='$CPP $CPPFLAGS'
94498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94506 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
94507 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
94508 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
94510 for ac_func in strtold
94512 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94513 echo "$as_me:$LINENO: checking for $ac_func" >&5
94514 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94515 if eval "test \"\${$as_ac_var+set}\" = set"; then
94516 echo $ECHO_N "(cached) $ECHO_C" >&6
94517 else
94518 if test x$gcc_no_link = xyes; then
94519 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94520 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94521 { (exit 1); exit 1; }; }
94523 cat >conftest.$ac_ext <<_ACEOF
94524 /* confdefs.h. */
94525 _ACEOF
94526 cat confdefs.h >>conftest.$ac_ext
94527 cat >>conftest.$ac_ext <<_ACEOF
94528 /* end confdefs.h. */
94529 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94530 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94531 #define $ac_func innocuous_$ac_func
94533 /* System header to define __stub macros and hopefully few prototypes,
94534 which can conflict with char $ac_func (); below.
94535 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94536 <limits.h> exists even on freestanding compilers. */
94538 #ifdef __STDC__
94539 # include <limits.h>
94540 #else
94541 # include <assert.h>
94542 #endif
94544 #undef $ac_func
94546 /* Override any gcc2 internal prototype to avoid an error. */
94547 #ifdef __cplusplus
94548 extern "C"
94550 #endif
94551 /* We use char because int might match the return type of a gcc2
94552 builtin and then its argument prototype would still apply. */
94553 char $ac_func ();
94554 /* The GNU C library defines this for functions which it implements
94555 to always fail with ENOSYS. Some functions are actually named
94556 something starting with __ and the normal name is an alias. */
94557 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94558 choke me
94559 #else
94560 char (*f) () = $ac_func;
94561 #endif
94562 #ifdef __cplusplus
94564 #endif
94567 main ()
94569 return f != $ac_func;
94571 return 0;
94573 _ACEOF
94574 rm -f conftest.$ac_objext conftest$ac_exeext
94575 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94576 (eval $ac_link) 2>conftest.er1
94577 ac_status=$?
94578 grep -v '^ *+' conftest.er1 >conftest.err
94579 rm -f conftest.er1
94580 cat conftest.err >&5
94581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94582 (exit $ac_status); } &&
94583 { ac_try='test -z "$ac_c_werror_flag"
94584 || test ! -s conftest.err'
94585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94586 (eval $ac_try) 2>&5
94587 ac_status=$?
94588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94589 (exit $ac_status); }; } &&
94590 { ac_try='test -s conftest$ac_exeext'
94591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94592 (eval $ac_try) 2>&5
94593 ac_status=$?
94594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94595 (exit $ac_status); }; }; then
94596 eval "$as_ac_var=yes"
94597 else
94598 echo "$as_me: failed program was:" >&5
94599 sed 's/^/| /' conftest.$ac_ext >&5
94601 eval "$as_ac_var=no"
94603 rm -f conftest.err conftest.$ac_objext \
94604 conftest$ac_exeext conftest.$ac_ext
94606 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94607 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94608 if test `eval echo '${'$as_ac_var'}'` = yes; then
94609 cat >>confdefs.h <<_ACEOF
94610 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94611 _ACEOF
94614 done
94622 echo "$as_me:$LINENO: checking for strtof declaration" >&5
94623 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
94624 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
94625 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
94626 echo $ECHO_N "(cached) $ECHO_C" >&6
94627 else
94631 ac_ext=cc
94632 ac_cpp='$CXXCPP $CPPFLAGS'
94633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
94637 cat >conftest.$ac_ext <<_ACEOF
94638 /* confdefs.h. */
94639 _ACEOF
94640 cat confdefs.h >>conftest.$ac_ext
94641 cat >>conftest.$ac_ext <<_ACEOF
94642 /* end confdefs.h. */
94643 #include <stdlib.h>
94645 main ()
94647 strtof(0, 0);
94649 return 0;
94651 _ACEOF
94652 rm -f conftest.$ac_objext
94653 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
94654 (eval $ac_compile) 2>conftest.er1
94655 ac_status=$?
94656 grep -v '^ *+' conftest.er1 >conftest.err
94657 rm -f conftest.er1
94658 cat conftest.err >&5
94659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94660 (exit $ac_status); } &&
94661 { ac_try='test -z "$ac_cxx_werror_flag"
94662 || test ! -s conftest.err'
94663 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94664 (eval $ac_try) 2>&5
94665 ac_status=$?
94666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94667 (exit $ac_status); }; } &&
94668 { ac_try='test -s conftest.$ac_objext'
94669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94670 (eval $ac_try) 2>&5
94671 ac_status=$?
94672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94673 (exit $ac_status); }; }; then
94674 glibcxx_cv_func_strtof_use=yes
94675 else
94676 echo "$as_me: failed program was:" >&5
94677 sed 's/^/| /' conftest.$ac_ext >&5
94679 glibcxx_cv_func_strtof_use=no
94681 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
94682 ac_ext=c
94683 ac_cpp='$CPP $CPPFLAGS'
94684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
94685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
94686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
94692 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
94693 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
94694 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
94696 for ac_func in strtof
94698 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
94699 echo "$as_me:$LINENO: checking for $ac_func" >&5
94700 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
94701 if eval "test \"\${$as_ac_var+set}\" = set"; then
94702 echo $ECHO_N "(cached) $ECHO_C" >&6
94703 else
94704 if test x$gcc_no_link = xyes; then
94705 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94706 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94707 { (exit 1); exit 1; }; }
94709 cat >conftest.$ac_ext <<_ACEOF
94710 /* confdefs.h. */
94711 _ACEOF
94712 cat confdefs.h >>conftest.$ac_ext
94713 cat >>conftest.$ac_ext <<_ACEOF
94714 /* end confdefs.h. */
94715 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
94716 For example, HP-UX 11i <limits.h> declares gettimeofday. */
94717 #define $ac_func innocuous_$ac_func
94719 /* System header to define __stub macros and hopefully few prototypes,
94720 which can conflict with char $ac_func (); below.
94721 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
94722 <limits.h> exists even on freestanding compilers. */
94724 #ifdef __STDC__
94725 # include <limits.h>
94726 #else
94727 # include <assert.h>
94728 #endif
94730 #undef $ac_func
94732 /* Override any gcc2 internal prototype to avoid an error. */
94733 #ifdef __cplusplus
94734 extern "C"
94736 #endif
94737 /* We use char because int might match the return type of a gcc2
94738 builtin and then its argument prototype would still apply. */
94739 char $ac_func ();
94740 /* The GNU C library defines this for functions which it implements
94741 to always fail with ENOSYS. Some functions are actually named
94742 something starting with __ and the normal name is an alias. */
94743 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
94744 choke me
94745 #else
94746 char (*f) () = $ac_func;
94747 #endif
94748 #ifdef __cplusplus
94750 #endif
94753 main ()
94755 return f != $ac_func;
94757 return 0;
94759 _ACEOF
94760 rm -f conftest.$ac_objext conftest$ac_exeext
94761 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94762 (eval $ac_link) 2>conftest.er1
94763 ac_status=$?
94764 grep -v '^ *+' conftest.er1 >conftest.err
94765 rm -f conftest.er1
94766 cat conftest.err >&5
94767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94768 (exit $ac_status); } &&
94769 { ac_try='test -z "$ac_c_werror_flag"
94770 || test ! -s conftest.err'
94771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94772 (eval $ac_try) 2>&5
94773 ac_status=$?
94774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94775 (exit $ac_status); }; } &&
94776 { ac_try='test -s conftest$ac_exeext'
94777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94778 (eval $ac_try) 2>&5
94779 ac_status=$?
94780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94781 (exit $ac_status); }; }; then
94782 eval "$as_ac_var=yes"
94783 else
94784 echo "$as_me: failed program was:" >&5
94785 sed 's/^/| /' conftest.$ac_ext >&5
94787 eval "$as_ac_var=no"
94789 rm -f conftest.err conftest.$ac_objext \
94790 conftest$ac_exeext conftest.$ac_ext
94792 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
94793 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
94794 if test `eval echo '${'$as_ac_var'}'` = yes; then
94795 cat >>confdefs.h <<_ACEOF
94796 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
94797 _ACEOF
94800 done
94808 CXXFLAGS="$ac_save_CXXFLAGS"
94810 cat >>confdefs.h <<\_ACEOF
94811 #define _GLIBCXX_USE_RANDOM_TR1 1
94812 _ACEOF
94815 # Check whether --enable-tls or --disable-tls was given.
94816 if test "${enable_tls+set}" = set; then
94817 enableval="$enable_tls"
94819 case "$enableval" in
94820 yes|no) ;;
94821 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable tls must be yes or no" >&5
94822 echo "$as_me: error: Argument to enable/disable tls must be yes or no" >&2;}
94823 { (exit 1); exit 1; }; } ;;
94824 esac
94826 else
94827 enable_tls=yes
94830 echo "$as_me:$LINENO: checking whether the target supports thread-local storage" >&5
94831 echo $ECHO_N "checking whether the target supports thread-local storage... $ECHO_C" >&6
94832 if test "${gcc_cv_have_tls+set}" = set; then
94833 echo $ECHO_N "(cached) $ECHO_C" >&6
94834 else
94836 if test "$cross_compiling" = yes; then
94837 if test x$gcc_no_link = xyes; then
94838 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94839 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94840 { (exit 1); exit 1; }; }
94842 cat >conftest.$ac_ext <<_ACEOF
94843 __thread int a; int b; int main() { return a = b; }
94844 _ACEOF
94845 rm -f conftest.$ac_objext conftest$ac_exeext
94846 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94847 (eval $ac_link) 2>conftest.er1
94848 ac_status=$?
94849 grep -v '^ *+' conftest.er1 >conftest.err
94850 rm -f conftest.er1
94851 cat conftest.err >&5
94852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94853 (exit $ac_status); } &&
94854 { ac_try='test -z "$ac_c_werror_flag"
94855 || test ! -s conftest.err'
94856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94857 (eval $ac_try) 2>&5
94858 ac_status=$?
94859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94860 (exit $ac_status); }; } &&
94861 { ac_try='test -s conftest$ac_exeext'
94862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94863 (eval $ac_try) 2>&5
94864 ac_status=$?
94865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94866 (exit $ac_status); }; }; then
94867 gcc_cv_have_tls=yes
94868 else
94869 echo "$as_me: failed program was:" >&5
94870 sed 's/^/| /' conftest.$ac_ext >&5
94872 gcc_cv_have_tls=no
94874 rm -f conftest.err conftest.$ac_objext \
94875 conftest$ac_exeext conftest.$ac_ext
94878 else
94879 cat >conftest.$ac_ext <<_ACEOF
94880 __thread int a; int b; int main() { return a = b; }
94881 _ACEOF
94882 rm -f conftest$ac_exeext
94883 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94884 (eval $ac_link) 2>&5
94885 ac_status=$?
94886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94887 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94889 (eval $ac_try) 2>&5
94890 ac_status=$?
94891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94892 (exit $ac_status); }; }; then
94893 chktls_save_LDFLAGS="$LDFLAGS"
94894 LDFLAGS="-static $LDFLAGS"
94895 if test x$gcc_no_link = xyes; then
94896 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94897 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94898 { (exit 1); exit 1; }; }
94900 cat >conftest.$ac_ext <<_ACEOF
94901 int main() { return 0; }
94902 _ACEOF
94903 rm -f conftest.$ac_objext conftest$ac_exeext
94904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94905 (eval $ac_link) 2>conftest.er1
94906 ac_status=$?
94907 grep -v '^ *+' conftest.er1 >conftest.err
94908 rm -f conftest.er1
94909 cat conftest.err >&5
94910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94911 (exit $ac_status); } &&
94912 { ac_try='test -z "$ac_c_werror_flag"
94913 || test ! -s conftest.err'
94914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94915 (eval $ac_try) 2>&5
94916 ac_status=$?
94917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94918 (exit $ac_status); }; } &&
94919 { ac_try='test -s conftest$ac_exeext'
94920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94921 (eval $ac_try) 2>&5
94922 ac_status=$?
94923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94924 (exit $ac_status); }; }; then
94925 if test "$cross_compiling" = yes; then
94926 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
94927 echo "$as_me: error: in \`$ac_pwd':" >&2;}
94928 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
94929 See \`config.log' for more details." >&5
94930 echo "$as_me: error: cannot run test program while cross compiling
94931 See \`config.log' for more details." >&2;}
94932 { (exit 1); exit 1; }; }; }
94933 else
94934 cat >conftest.$ac_ext <<_ACEOF
94935 __thread int a; int b; int main() { return a = b; }
94936 _ACEOF
94937 rm -f conftest$ac_exeext
94938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94939 (eval $ac_link) 2>&5
94940 ac_status=$?
94941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94942 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
94943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
94944 (eval $ac_try) 2>&5
94945 ac_status=$?
94946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
94947 (exit $ac_status); }; }; then
94948 gcc_cv_have_tls=yes
94949 else
94950 echo "$as_me: program exited with status $ac_status" >&5
94951 echo "$as_me: failed program was:" >&5
94952 sed 's/^/| /' conftest.$ac_ext >&5
94954 ( exit $ac_status )
94955 gcc_cv_have_tls=no
94957 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
94959 else
94960 echo "$as_me: failed program was:" >&5
94961 sed 's/^/| /' conftest.$ac_ext >&5
94963 gcc_cv_have_tls=yes
94965 rm -f conftest.err conftest.$ac_objext \
94966 conftest$ac_exeext conftest.$ac_ext
94967 LDFLAGS="$chktls_save_LDFLAGS"
94968 if test $gcc_cv_have_tls = yes; then
94969 chktls_save_CFLAGS="$CFLAGS"
94970 thread_CFLAGS=failed
94971 for flag in '' '-pthread' '-lpthread'; do
94972 CFLAGS="$flag $chktls_save_CFLAGS"
94973 if test x$gcc_no_link = xyes; then
94974 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
94975 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
94976 { (exit 1); exit 1; }; }
94978 cat >conftest.$ac_ext <<_ACEOF
94979 /* confdefs.h. */
94980 _ACEOF
94981 cat confdefs.h >>conftest.$ac_ext
94982 cat >>conftest.$ac_ext <<_ACEOF
94983 /* end confdefs.h. */
94984 #include <pthread.h>
94985 void *g(void *d) { return NULL; }
94987 main ()
94989 pthread_t t; pthread_create(&t,NULL,g,NULL);
94991 return 0;
94993 _ACEOF
94994 rm -f conftest.$ac_objext conftest$ac_exeext
94995 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
94996 (eval $ac_link) 2>conftest.er1
94997 ac_status=$?
94998 grep -v '^ *+' conftest.er1 >conftest.err
94999 rm -f conftest.er1
95000 cat conftest.err >&5
95001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95002 (exit $ac_status); } &&
95003 { ac_try='test -z "$ac_c_werror_flag"
95004 || test ! -s conftest.err'
95005 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95006 (eval $ac_try) 2>&5
95007 ac_status=$?
95008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95009 (exit $ac_status); }; } &&
95010 { ac_try='test -s conftest$ac_exeext'
95011 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95012 (eval $ac_try) 2>&5
95013 ac_status=$?
95014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95015 (exit $ac_status); }; }; then
95016 thread_CFLAGS="$flag"
95017 else
95018 echo "$as_me: failed program was:" >&5
95019 sed 's/^/| /' conftest.$ac_ext >&5
95022 rm -f conftest.err conftest.$ac_objext \
95023 conftest$ac_exeext conftest.$ac_ext
95024 if test "X$thread_CFLAGS" != Xfailed; then
95025 break
95027 done
95028 CFLAGS="$chktls_save_CFLAGS"
95029 if test "X$thread_CFLAGS" != Xfailed; then
95030 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
95031 if test "$cross_compiling" = yes; then
95032 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
95033 echo "$as_me: error: in \`$ac_pwd':" >&2;}
95034 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
95035 See \`config.log' for more details." >&5
95036 echo "$as_me: error: cannot run test program while cross compiling
95037 See \`config.log' for more details." >&2;}
95038 { (exit 1); exit 1; }; }; }
95039 else
95040 cat >conftest.$ac_ext <<_ACEOF
95041 /* confdefs.h. */
95042 _ACEOF
95043 cat confdefs.h >>conftest.$ac_ext
95044 cat >>conftest.$ac_ext <<_ACEOF
95045 /* end confdefs.h. */
95046 #include <pthread.h>
95047 __thread int a;
95048 static int *a_in_other_thread;
95049 static void *
95050 thread_func (void *arg)
95052 a_in_other_thread = &a;
95053 return (void *)0;
95056 main ()
95058 pthread_t thread;
95059 void *thread_retval;
95060 int *a_in_main_thread;
95061 if (pthread_create (&thread, (pthread_attr_t *)0,
95062 thread_func, (void *)0))
95063 return 0;
95064 a_in_main_thread = &a;
95065 if (pthread_join (thread, &thread_retval))
95066 return 0;
95067 return (a_in_other_thread == a_in_main_thread);
95069 return 0;
95071 _ACEOF
95072 rm -f conftest$ac_exeext
95073 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95074 (eval $ac_link) 2>&5
95075 ac_status=$?
95076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95077 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
95078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95079 (eval $ac_try) 2>&5
95080 ac_status=$?
95081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95082 (exit $ac_status); }; }; then
95083 gcc_cv_have_tls=yes
95084 else
95085 echo "$as_me: program exited with status $ac_status" >&5
95086 echo "$as_me: failed program was:" >&5
95087 sed 's/^/| /' conftest.$ac_ext >&5
95089 ( exit $ac_status )
95090 gcc_cv_have_tls=no
95092 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95094 CFLAGS="$chktls_save_CFLAGS"
95097 else
95098 echo "$as_me: program exited with status $ac_status" >&5
95099 echo "$as_me: failed program was:" >&5
95100 sed 's/^/| /' conftest.$ac_ext >&5
95102 ( exit $ac_status )
95103 gcc_cv_have_tls=no
95105 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
95108 echo "$as_me:$LINENO: result: $gcc_cv_have_tls" >&5
95109 echo "${ECHO_T}$gcc_cv_have_tls" >&6
95110 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
95112 cat >>confdefs.h <<\_ACEOF
95113 #define HAVE_TLS 1
95114 _ACEOF
95122 am_save_CPPFLAGS="$CPPFLAGS"
95124 for element in $INCICONV; do
95125 haveit=
95126 for x in $CPPFLAGS; do
95128 acl_save_prefix="$prefix"
95129 prefix="$acl_final_prefix"
95130 acl_save_exec_prefix="$exec_prefix"
95131 exec_prefix="$acl_final_exec_prefix"
95132 eval x=\"$x\"
95133 exec_prefix="$acl_save_exec_prefix"
95134 prefix="$acl_save_prefix"
95136 if test "X$x" = "X$element"; then
95137 haveit=yes
95138 break
95140 done
95141 if test -z "$haveit"; then
95142 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
95144 done
95147 echo "$as_me:$LINENO: checking for iconv" >&5
95148 echo $ECHO_N "checking for iconv... $ECHO_C" >&6
95149 if test "${am_cv_func_iconv+set}" = set; then
95150 echo $ECHO_N "(cached) $ECHO_C" >&6
95151 else
95153 am_cv_func_iconv="no, consider installing GNU libiconv"
95154 am_cv_lib_iconv=no
95155 if test x$gcc_no_link = xyes; then
95156 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95157 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95158 { (exit 1); exit 1; }; }
95160 cat >conftest.$ac_ext <<_ACEOF
95161 /* confdefs.h. */
95162 _ACEOF
95163 cat confdefs.h >>conftest.$ac_ext
95164 cat >>conftest.$ac_ext <<_ACEOF
95165 /* end confdefs.h. */
95166 #include <stdlib.h>
95167 #include <iconv.h>
95169 main ()
95171 iconv_t cd = iconv_open("","");
95172 iconv(cd,NULL,NULL,NULL,NULL);
95173 iconv_close(cd);
95175 return 0;
95177 _ACEOF
95178 rm -f conftest.$ac_objext conftest$ac_exeext
95179 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95180 (eval $ac_link) 2>conftest.er1
95181 ac_status=$?
95182 grep -v '^ *+' conftest.er1 >conftest.err
95183 rm -f conftest.er1
95184 cat conftest.err >&5
95185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95186 (exit $ac_status); } &&
95187 { ac_try='test -z "$ac_c_werror_flag"
95188 || test ! -s conftest.err'
95189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95190 (eval $ac_try) 2>&5
95191 ac_status=$?
95192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95193 (exit $ac_status); }; } &&
95194 { ac_try='test -s conftest$ac_exeext'
95195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95196 (eval $ac_try) 2>&5
95197 ac_status=$?
95198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95199 (exit $ac_status); }; }; then
95200 am_cv_func_iconv=yes
95201 else
95202 echo "$as_me: failed program was:" >&5
95203 sed 's/^/| /' conftest.$ac_ext >&5
95206 rm -f conftest.err conftest.$ac_objext \
95207 conftest$ac_exeext conftest.$ac_ext
95208 if test "$am_cv_func_iconv" != yes; then
95209 am_save_LIBS="$LIBS"
95210 LIBS="$LIBS $LIBICONV"
95211 if test x$gcc_no_link = xyes; then
95212 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95213 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95214 { (exit 1); exit 1; }; }
95216 cat >conftest.$ac_ext <<_ACEOF
95217 /* confdefs.h. */
95218 _ACEOF
95219 cat confdefs.h >>conftest.$ac_ext
95220 cat >>conftest.$ac_ext <<_ACEOF
95221 /* end confdefs.h. */
95222 #include <stdlib.h>
95223 #include <iconv.h>
95225 main ()
95227 iconv_t cd = iconv_open("","");
95228 iconv(cd,NULL,NULL,NULL,NULL);
95229 iconv_close(cd);
95231 return 0;
95233 _ACEOF
95234 rm -f conftest.$ac_objext conftest$ac_exeext
95235 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95236 (eval $ac_link) 2>conftest.er1
95237 ac_status=$?
95238 grep -v '^ *+' conftest.er1 >conftest.err
95239 rm -f conftest.er1
95240 cat conftest.err >&5
95241 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95242 (exit $ac_status); } &&
95243 { ac_try='test -z "$ac_c_werror_flag"
95244 || test ! -s conftest.err'
95245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95246 (eval $ac_try) 2>&5
95247 ac_status=$?
95248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95249 (exit $ac_status); }; } &&
95250 { ac_try='test -s conftest$ac_exeext'
95251 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95252 (eval $ac_try) 2>&5
95253 ac_status=$?
95254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95255 (exit $ac_status); }; }; then
95256 am_cv_lib_iconv=yes
95257 am_cv_func_iconv=yes
95258 else
95259 echo "$as_me: failed program was:" >&5
95260 sed 's/^/| /' conftest.$ac_ext >&5
95263 rm -f conftest.err conftest.$ac_objext \
95264 conftest$ac_exeext conftest.$ac_ext
95265 LIBS="$am_save_LIBS"
95269 echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
95270 echo "${ECHO_T}$am_cv_func_iconv" >&6
95271 if test "$am_cv_func_iconv" = yes; then
95273 cat >>confdefs.h <<\_ACEOF
95274 #define HAVE_ICONV 1
95275 _ACEOF
95278 if test "$am_cv_lib_iconv" = yes; then
95279 echo "$as_me:$LINENO: checking how to link with libiconv" >&5
95280 echo $ECHO_N "checking how to link with libiconv... $ECHO_C" >&6
95281 echo "$as_me:$LINENO: result: $LIBICONV" >&5
95282 echo "${ECHO_T}$LIBICONV" >&6
95283 else
95284 CPPFLAGS="$am_save_CPPFLAGS"
95285 LIBICONV=
95286 LTLIBICONV=
95291 if test "$am_cv_func_iconv" = yes; then
95292 echo "$as_me:$LINENO: checking for iconv declaration" >&5
95293 echo $ECHO_N "checking for iconv declaration... $ECHO_C" >&6
95294 if test "${am_cv_proto_iconv+set}" = set; then
95295 echo $ECHO_N "(cached) $ECHO_C" >&6
95296 else
95298 cat >conftest.$ac_ext <<_ACEOF
95299 /* confdefs.h. */
95300 _ACEOF
95301 cat confdefs.h >>conftest.$ac_ext
95302 cat >>conftest.$ac_ext <<_ACEOF
95303 /* end confdefs.h. */
95305 #include <stdlib.h>
95306 #include <iconv.h>
95307 extern
95308 #ifdef __cplusplus
95310 #endif
95311 #if defined(__STDC__) || defined(__cplusplus)
95312 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
95313 #else
95314 size_t iconv();
95315 #endif
95318 main ()
95322 return 0;
95324 _ACEOF
95325 rm -f conftest.$ac_objext
95326 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95327 (eval $ac_compile) 2>conftest.er1
95328 ac_status=$?
95329 grep -v '^ *+' conftest.er1 >conftest.err
95330 rm -f conftest.er1
95331 cat conftest.err >&5
95332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95333 (exit $ac_status); } &&
95334 { ac_try='test -z "$ac_c_werror_flag"
95335 || test ! -s conftest.err'
95336 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95337 (eval $ac_try) 2>&5
95338 ac_status=$?
95339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95340 (exit $ac_status); }; } &&
95341 { ac_try='test -s conftest.$ac_objext'
95342 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95343 (eval $ac_try) 2>&5
95344 ac_status=$?
95345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95346 (exit $ac_status); }; }; then
95347 am_cv_proto_iconv_arg1=""
95348 else
95349 echo "$as_me: failed program was:" >&5
95350 sed 's/^/| /' conftest.$ac_ext >&5
95352 am_cv_proto_iconv_arg1="const"
95354 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95355 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);"
95358 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
95359 echo "$as_me:$LINENO: result: ${ac_t:-
95360 }$am_cv_proto_iconv" >&5
95361 echo "${ECHO_T}${ac_t:-
95362 }$am_cv_proto_iconv" >&6
95364 cat >>confdefs.h <<_ACEOF
95365 #define ICONV_CONST $am_cv_proto_iconv_arg1
95366 _ACEOF
95371 *-mingw32*)
95373 # If we're not using GNU ld, then there's no point in even trying these
95374 # tests. Check for that first. We should have already tested for gld
95375 # by now (in libtool), but require it now just to be safe...
95376 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
95377 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
95381 # The name set by libtool depends on the version of libtool. Shame on us
95382 # for depending on an impl detail, but c'est la vie. Older versions used
95383 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
95384 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
95385 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
95386 # set (hence we're using an older libtool), then set it.
95387 if test x${with_gnu_ld+set} != xset; then
95388 if test x${ac_cv_prog_gnu_ld+set} != xset; then
95389 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
95390 with_gnu_ld=no
95391 else
95392 with_gnu_ld=$ac_cv_prog_gnu_ld
95396 # Start by getting the version number. I think the libtool test already
95397 # does some of this, but throws away the result.
95398 glibcxx_ld_is_gold=no
95399 if test x"$with_gnu_ld" = x"yes"; then
95400 echo "$as_me:$LINENO: checking for ld version" >&5
95401 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
95403 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
95404 glibcxx_ld_is_gold=yes
95406 ldver=`$LD --version 2>/dev/null | head -1 | \
95407 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
95409 glibcxx_gnu_ld_version=`echo $ldver | \
95410 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
95411 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
95412 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
95415 # Set --gc-sections.
95416 glibcxx_have_gc_sections=no
95417 if test "$glibcxx_ld_is_gold" = "yes"; then
95418 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
95419 glibcxx_have_gc_sections=yes
95421 else
95422 glibcxx_gcsections_min_ld=21602
95423 if test x"$with_gnu_ld" = x"yes" &&
95424 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
95425 glibcxx_have_gc_sections=yes
95428 if test "$glibcxx_have_gc_sections" = "yes"; then
95429 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
95430 # NB: This flag only works reliably after 2.16.1. Configure tests
95431 # for this are difficult, so hard wire a value that should work.
95433 ac_test_CFLAGS="${CFLAGS+set}"
95434 ac_save_CFLAGS="$CFLAGS"
95435 CFLAGS='-Wl,--gc-sections'
95437 # Check for -Wl,--gc-sections
95438 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
95439 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
95440 if test x$gcc_no_link = xyes; then
95441 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95442 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95443 { (exit 1); exit 1; }; }
95445 cat >conftest.$ac_ext <<_ACEOF
95446 /* confdefs.h. */
95447 _ACEOF
95448 cat confdefs.h >>conftest.$ac_ext
95449 cat >>conftest.$ac_ext <<_ACEOF
95450 /* end confdefs.h. */
95451 int one(void) { return 1; }
95452 int two(void) { return 2; }
95455 main ()
95457 two();
95459 return 0;
95461 _ACEOF
95462 rm -f conftest.$ac_objext conftest$ac_exeext
95463 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95464 (eval $ac_link) 2>conftest.er1
95465 ac_status=$?
95466 grep -v '^ *+' conftest.er1 >conftest.err
95467 rm -f conftest.er1
95468 cat conftest.err >&5
95469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95470 (exit $ac_status); } &&
95471 { ac_try='test -z "$ac_c_werror_flag"
95472 || test ! -s conftest.err'
95473 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95474 (eval $ac_try) 2>&5
95475 ac_status=$?
95476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95477 (exit $ac_status); }; } &&
95478 { ac_try='test -s conftest$ac_exeext'
95479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95480 (eval $ac_try) 2>&5
95481 ac_status=$?
95482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95483 (exit $ac_status); }; }; then
95484 ac_gcsections=yes
95485 else
95486 echo "$as_me: failed program was:" >&5
95487 sed 's/^/| /' conftest.$ac_ext >&5
95489 ac_gcsections=no
95491 rm -f conftest.err conftest.$ac_objext \
95492 conftest$ac_exeext conftest.$ac_ext
95493 if test "$ac_gcsections" = "yes"; then
95494 rm -f conftest.c
95495 touch conftest.c
95496 if $CC -c conftest.c; then
95497 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
95498 grep "Warning: gc-sections option ignored" > /dev/null; then
95499 ac_gcsections=no
95502 rm -f conftest.c conftest.o conftest
95504 if test "$ac_gcsections" = "yes"; then
95505 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
95507 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
95508 echo "${ECHO_T}$ac_gcsections" >&6
95510 if test "$ac_test_CFLAGS" = set; then
95511 CFLAGS="$ac_save_CFLAGS"
95512 else
95513 # this is the suspicious part
95514 CFLAGS=''
95518 # Set -z,relro.
95519 # Note this is only for shared objects.
95520 ac_ld_relro=no
95521 if test x"$with_gnu_ld" = x"yes"; then
95522 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
95523 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
95524 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
95525 if test -n "$cxx_z_relo"; then
95526 OPT_LDFLAGS="-Wl,-z,relro"
95527 ac_ld_relro=yes
95529 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
95530 echo "${ECHO_T}$ac_ld_relro" >&6
95533 # Set linker optimization flags.
95534 if test x"$with_gnu_ld" = x"yes"; then
95535 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
95542 ac_test_CXXFLAGS="${CXXFLAGS+set}"
95543 ac_save_CXXFLAGS="$CXXFLAGS"
95544 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
95546 echo "$as_me:$LINENO: checking for sin in -lm" >&5
95547 echo $ECHO_N "checking for sin in -lm... $ECHO_C" >&6
95548 if test "${ac_cv_lib_m_sin+set}" = set; then
95549 echo $ECHO_N "(cached) $ECHO_C" >&6
95550 else
95551 ac_check_lib_save_LIBS=$LIBS
95552 LIBS="-lm $LIBS"
95553 if test x$gcc_no_link = xyes; then
95554 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95555 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95556 { (exit 1); exit 1; }; }
95558 cat >conftest.$ac_ext <<_ACEOF
95559 /* confdefs.h. */
95560 _ACEOF
95561 cat confdefs.h >>conftest.$ac_ext
95562 cat >>conftest.$ac_ext <<_ACEOF
95563 /* end confdefs.h. */
95565 /* Override any gcc2 internal prototype to avoid an error. */
95566 #ifdef __cplusplus
95567 extern "C"
95568 #endif
95569 /* We use char because int might match the return type of a gcc2
95570 builtin and then its argument prototype would still apply. */
95571 char sin ();
95573 main ()
95575 sin ();
95577 return 0;
95579 _ACEOF
95580 rm -f conftest.$ac_objext conftest$ac_exeext
95581 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95582 (eval $ac_link) 2>conftest.er1
95583 ac_status=$?
95584 grep -v '^ *+' conftest.er1 >conftest.err
95585 rm -f conftest.er1
95586 cat conftest.err >&5
95587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95588 (exit $ac_status); } &&
95589 { ac_try='test -z "$ac_c_werror_flag"
95590 || test ! -s conftest.err'
95591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95592 (eval $ac_try) 2>&5
95593 ac_status=$?
95594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95595 (exit $ac_status); }; } &&
95596 { ac_try='test -s conftest$ac_exeext'
95597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95598 (eval $ac_try) 2>&5
95599 ac_status=$?
95600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95601 (exit $ac_status); }; }; then
95602 ac_cv_lib_m_sin=yes
95603 else
95604 echo "$as_me: failed program was:" >&5
95605 sed 's/^/| /' conftest.$ac_ext >&5
95607 ac_cv_lib_m_sin=no
95609 rm -f conftest.err conftest.$ac_objext \
95610 conftest$ac_exeext conftest.$ac_ext
95611 LIBS=$ac_check_lib_save_LIBS
95613 echo "$as_me:$LINENO: result: $ac_cv_lib_m_sin" >&5
95614 echo "${ECHO_T}$ac_cv_lib_m_sin" >&6
95615 if test $ac_cv_lib_m_sin = yes; then
95616 libm="-lm"
95619 ac_save_LIBS="$LIBS"
95620 LIBS="$LIBS $libm"
95624 echo "$as_me:$LINENO: checking for isinf declaration" >&5
95625 echo $ECHO_N "checking for isinf declaration... $ECHO_C" >&6
95626 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
95627 if test "${glibcxx_cv_func_isinf_use+set}" = set; then
95628 echo $ECHO_N "(cached) $ECHO_C" >&6
95629 else
95633 ac_ext=cc
95634 ac_cpp='$CXXCPP $CPPFLAGS'
95635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95639 cat >conftest.$ac_ext <<_ACEOF
95640 /* confdefs.h. */
95641 _ACEOF
95642 cat confdefs.h >>conftest.$ac_ext
95643 cat >>conftest.$ac_ext <<_ACEOF
95644 /* end confdefs.h. */
95645 #include <math.h>
95646 #ifdef HAVE_IEEEFP_H
95647 #include <ieeefp.h>
95648 #endif
95651 main ()
95653 isinf(0);
95655 return 0;
95657 _ACEOF
95658 rm -f conftest.$ac_objext
95659 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95660 (eval $ac_compile) 2>conftest.er1
95661 ac_status=$?
95662 grep -v '^ *+' conftest.er1 >conftest.err
95663 rm -f conftest.er1
95664 cat conftest.err >&5
95665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95666 (exit $ac_status); } &&
95667 { ac_try='test -z "$ac_cxx_werror_flag"
95668 || test ! -s conftest.err'
95669 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95670 (eval $ac_try) 2>&5
95671 ac_status=$?
95672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95673 (exit $ac_status); }; } &&
95674 { ac_try='test -s conftest.$ac_objext'
95675 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95676 (eval $ac_try) 2>&5
95677 ac_status=$?
95678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95679 (exit $ac_status); }; }; then
95680 glibcxx_cv_func_isinf_use=yes
95681 else
95682 echo "$as_me: failed program was:" >&5
95683 sed 's/^/| /' conftest.$ac_ext >&5
95685 glibcxx_cv_func_isinf_use=no
95687 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95688 ac_ext=c
95689 ac_cpp='$CPP $CPPFLAGS'
95690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95698 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinf_use" >&5
95699 echo "${ECHO_T}$glibcxx_cv_func_isinf_use" >&6
95701 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
95703 for ac_func in isinf
95705 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95706 echo "$as_me:$LINENO: checking for $ac_func" >&5
95707 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95708 if eval "test \"\${$as_ac_var+set}\" = set"; then
95709 echo $ECHO_N "(cached) $ECHO_C" >&6
95710 else
95711 if test x$gcc_no_link = xyes; then
95712 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95713 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95714 { (exit 1); exit 1; }; }
95716 cat >conftest.$ac_ext <<_ACEOF
95717 /* confdefs.h. */
95718 _ACEOF
95719 cat confdefs.h >>conftest.$ac_ext
95720 cat >>conftest.$ac_ext <<_ACEOF
95721 /* end confdefs.h. */
95722 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95723 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95724 #define $ac_func innocuous_$ac_func
95726 /* System header to define __stub macros and hopefully few prototypes,
95727 which can conflict with char $ac_func (); below.
95728 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95729 <limits.h> exists even on freestanding compilers. */
95731 #ifdef __STDC__
95732 # include <limits.h>
95733 #else
95734 # include <assert.h>
95735 #endif
95737 #undef $ac_func
95739 /* Override any gcc2 internal prototype to avoid an error. */
95740 #ifdef __cplusplus
95741 extern "C"
95743 #endif
95744 /* We use char because int might match the return type of a gcc2
95745 builtin and then its argument prototype would still apply. */
95746 char $ac_func ();
95747 /* The GNU C library defines this for functions which it implements
95748 to always fail with ENOSYS. Some functions are actually named
95749 something starting with __ and the normal name is an alias. */
95750 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95751 choke me
95752 #else
95753 char (*f) () = $ac_func;
95754 #endif
95755 #ifdef __cplusplus
95757 #endif
95760 main ()
95762 return f != $ac_func;
95764 return 0;
95766 _ACEOF
95767 rm -f conftest.$ac_objext conftest$ac_exeext
95768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95769 (eval $ac_link) 2>conftest.er1
95770 ac_status=$?
95771 grep -v '^ *+' conftest.er1 >conftest.err
95772 rm -f conftest.er1
95773 cat conftest.err >&5
95774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95775 (exit $ac_status); } &&
95776 { ac_try='test -z "$ac_c_werror_flag"
95777 || test ! -s conftest.err'
95778 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95779 (eval $ac_try) 2>&5
95780 ac_status=$?
95781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95782 (exit $ac_status); }; } &&
95783 { ac_try='test -s conftest$ac_exeext'
95784 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95785 (eval $ac_try) 2>&5
95786 ac_status=$?
95787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95788 (exit $ac_status); }; }; then
95789 eval "$as_ac_var=yes"
95790 else
95791 echo "$as_me: failed program was:" >&5
95792 sed 's/^/| /' conftest.$ac_ext >&5
95794 eval "$as_ac_var=no"
95796 rm -f conftest.err conftest.$ac_objext \
95797 conftest$ac_exeext conftest.$ac_ext
95799 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95800 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95801 if test `eval echo '${'$as_ac_var'}'` = yes; then
95802 cat >>confdefs.h <<_ACEOF
95803 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95804 _ACEOF
95807 done
95809 else
95811 echo "$as_me:$LINENO: checking for _isinf declaration" >&5
95812 echo $ECHO_N "checking for _isinf declaration... $ECHO_C" >&6
95813 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
95814 if test "${glibcxx_cv_func__isinf_use+set}" = set; then
95815 echo $ECHO_N "(cached) $ECHO_C" >&6
95816 else
95820 ac_ext=cc
95821 ac_cpp='$CXXCPP $CPPFLAGS'
95822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
95826 cat >conftest.$ac_ext <<_ACEOF
95827 /* confdefs.h. */
95828 _ACEOF
95829 cat confdefs.h >>conftest.$ac_ext
95830 cat >>conftest.$ac_ext <<_ACEOF
95831 /* end confdefs.h. */
95832 #include <math.h>
95833 #ifdef HAVE_IEEEFP_H
95834 #include <ieeefp.h>
95835 #endif
95838 main ()
95840 _isinf(0);
95842 return 0;
95844 _ACEOF
95845 rm -f conftest.$ac_objext
95846 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
95847 (eval $ac_compile) 2>conftest.er1
95848 ac_status=$?
95849 grep -v '^ *+' conftest.er1 >conftest.err
95850 rm -f conftest.er1
95851 cat conftest.err >&5
95852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95853 (exit $ac_status); } &&
95854 { ac_try='test -z "$ac_cxx_werror_flag"
95855 || test ! -s conftest.err'
95856 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95857 (eval $ac_try) 2>&5
95858 ac_status=$?
95859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95860 (exit $ac_status); }; } &&
95861 { ac_try='test -s conftest.$ac_objext'
95862 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95863 (eval $ac_try) 2>&5
95864 ac_status=$?
95865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95866 (exit $ac_status); }; }; then
95867 glibcxx_cv_func__isinf_use=yes
95868 else
95869 echo "$as_me: failed program was:" >&5
95870 sed 's/^/| /' conftest.$ac_ext >&5
95872 glibcxx_cv_func__isinf_use=no
95874 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
95875 ac_ext=c
95876 ac_cpp='$CPP $CPPFLAGS'
95877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
95878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
95879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
95885 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinf_use" >&5
95886 echo "${ECHO_T}$glibcxx_cv_func__isinf_use" >&6
95888 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
95890 for ac_func in _isinf
95892 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
95893 echo "$as_me:$LINENO: checking for $ac_func" >&5
95894 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
95895 if eval "test \"\${$as_ac_var+set}\" = set"; then
95896 echo $ECHO_N "(cached) $ECHO_C" >&6
95897 else
95898 if test x$gcc_no_link = xyes; then
95899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
95900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
95901 { (exit 1); exit 1; }; }
95903 cat >conftest.$ac_ext <<_ACEOF
95904 /* confdefs.h. */
95905 _ACEOF
95906 cat confdefs.h >>conftest.$ac_ext
95907 cat >>conftest.$ac_ext <<_ACEOF
95908 /* end confdefs.h. */
95909 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
95910 For example, HP-UX 11i <limits.h> declares gettimeofday. */
95911 #define $ac_func innocuous_$ac_func
95913 /* System header to define __stub macros and hopefully few prototypes,
95914 which can conflict with char $ac_func (); below.
95915 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
95916 <limits.h> exists even on freestanding compilers. */
95918 #ifdef __STDC__
95919 # include <limits.h>
95920 #else
95921 # include <assert.h>
95922 #endif
95924 #undef $ac_func
95926 /* Override any gcc2 internal prototype to avoid an error. */
95927 #ifdef __cplusplus
95928 extern "C"
95930 #endif
95931 /* We use char because int might match the return type of a gcc2
95932 builtin and then its argument prototype would still apply. */
95933 char $ac_func ();
95934 /* The GNU C library defines this for functions which it implements
95935 to always fail with ENOSYS. Some functions are actually named
95936 something starting with __ and the normal name is an alias. */
95937 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
95938 choke me
95939 #else
95940 char (*f) () = $ac_func;
95941 #endif
95942 #ifdef __cplusplus
95944 #endif
95947 main ()
95949 return f != $ac_func;
95951 return 0;
95953 _ACEOF
95954 rm -f conftest.$ac_objext conftest$ac_exeext
95955 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
95956 (eval $ac_link) 2>conftest.er1
95957 ac_status=$?
95958 grep -v '^ *+' conftest.er1 >conftest.err
95959 rm -f conftest.er1
95960 cat conftest.err >&5
95961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95962 (exit $ac_status); } &&
95963 { ac_try='test -z "$ac_c_werror_flag"
95964 || test ! -s conftest.err'
95965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95966 (eval $ac_try) 2>&5
95967 ac_status=$?
95968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95969 (exit $ac_status); }; } &&
95970 { ac_try='test -s conftest$ac_exeext'
95971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
95972 (eval $ac_try) 2>&5
95973 ac_status=$?
95974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
95975 (exit $ac_status); }; }; then
95976 eval "$as_ac_var=yes"
95977 else
95978 echo "$as_me: failed program was:" >&5
95979 sed 's/^/| /' conftest.$ac_ext >&5
95981 eval "$as_ac_var=no"
95983 rm -f conftest.err conftest.$ac_objext \
95984 conftest$ac_exeext conftest.$ac_ext
95986 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
95987 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
95988 if test `eval echo '${'$as_ac_var'}'` = yes; then
95989 cat >>confdefs.h <<_ACEOF
95990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
95991 _ACEOF
95994 done
96004 echo "$as_me:$LINENO: checking for isnan declaration" >&5
96005 echo $ECHO_N "checking for isnan declaration... $ECHO_C" >&6
96006 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
96007 if test "${glibcxx_cv_func_isnan_use+set}" = set; then
96008 echo $ECHO_N "(cached) $ECHO_C" >&6
96009 else
96013 ac_ext=cc
96014 ac_cpp='$CXXCPP $CPPFLAGS'
96015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96019 cat >conftest.$ac_ext <<_ACEOF
96020 /* confdefs.h. */
96021 _ACEOF
96022 cat confdefs.h >>conftest.$ac_ext
96023 cat >>conftest.$ac_ext <<_ACEOF
96024 /* end confdefs.h. */
96025 #include <math.h>
96026 #ifdef HAVE_IEEEFP_H
96027 #include <ieeefp.h>
96028 #endif
96031 main ()
96033 isnan(0);
96035 return 0;
96037 _ACEOF
96038 rm -f conftest.$ac_objext
96039 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96040 (eval $ac_compile) 2>conftest.er1
96041 ac_status=$?
96042 grep -v '^ *+' conftest.er1 >conftest.err
96043 rm -f conftest.er1
96044 cat conftest.err >&5
96045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96046 (exit $ac_status); } &&
96047 { ac_try='test -z "$ac_cxx_werror_flag"
96048 || test ! -s conftest.err'
96049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96050 (eval $ac_try) 2>&5
96051 ac_status=$?
96052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96053 (exit $ac_status); }; } &&
96054 { ac_try='test -s conftest.$ac_objext'
96055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96056 (eval $ac_try) 2>&5
96057 ac_status=$?
96058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96059 (exit $ac_status); }; }; then
96060 glibcxx_cv_func_isnan_use=yes
96061 else
96062 echo "$as_me: failed program was:" >&5
96063 sed 's/^/| /' conftest.$ac_ext >&5
96065 glibcxx_cv_func_isnan_use=no
96067 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96068 ac_ext=c
96069 ac_cpp='$CPP $CPPFLAGS'
96070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96078 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnan_use" >&5
96079 echo "${ECHO_T}$glibcxx_cv_func_isnan_use" >&6
96081 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
96083 for ac_func in isnan
96085 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96086 echo "$as_me:$LINENO: checking for $ac_func" >&5
96087 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96088 if eval "test \"\${$as_ac_var+set}\" = set"; then
96089 echo $ECHO_N "(cached) $ECHO_C" >&6
96090 else
96091 if test x$gcc_no_link = xyes; then
96092 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96093 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96094 { (exit 1); exit 1; }; }
96096 cat >conftest.$ac_ext <<_ACEOF
96097 /* confdefs.h. */
96098 _ACEOF
96099 cat confdefs.h >>conftest.$ac_ext
96100 cat >>conftest.$ac_ext <<_ACEOF
96101 /* end confdefs.h. */
96102 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96104 #define $ac_func innocuous_$ac_func
96106 /* System header to define __stub macros and hopefully few prototypes,
96107 which can conflict with char $ac_func (); below.
96108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96109 <limits.h> exists even on freestanding compilers. */
96111 #ifdef __STDC__
96112 # include <limits.h>
96113 #else
96114 # include <assert.h>
96115 #endif
96117 #undef $ac_func
96119 /* Override any gcc2 internal prototype to avoid an error. */
96120 #ifdef __cplusplus
96121 extern "C"
96123 #endif
96124 /* We use char because int might match the return type of a gcc2
96125 builtin and then its argument prototype would still apply. */
96126 char $ac_func ();
96127 /* The GNU C library defines this for functions which it implements
96128 to always fail with ENOSYS. Some functions are actually named
96129 something starting with __ and the normal name is an alias. */
96130 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96131 choke me
96132 #else
96133 char (*f) () = $ac_func;
96134 #endif
96135 #ifdef __cplusplus
96137 #endif
96140 main ()
96142 return f != $ac_func;
96144 return 0;
96146 _ACEOF
96147 rm -f conftest.$ac_objext conftest$ac_exeext
96148 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96149 (eval $ac_link) 2>conftest.er1
96150 ac_status=$?
96151 grep -v '^ *+' conftest.er1 >conftest.err
96152 rm -f conftest.er1
96153 cat conftest.err >&5
96154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96155 (exit $ac_status); } &&
96156 { ac_try='test -z "$ac_c_werror_flag"
96157 || test ! -s conftest.err'
96158 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96159 (eval $ac_try) 2>&5
96160 ac_status=$?
96161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96162 (exit $ac_status); }; } &&
96163 { ac_try='test -s conftest$ac_exeext'
96164 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96165 (eval $ac_try) 2>&5
96166 ac_status=$?
96167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96168 (exit $ac_status); }; }; then
96169 eval "$as_ac_var=yes"
96170 else
96171 echo "$as_me: failed program was:" >&5
96172 sed 's/^/| /' conftest.$ac_ext >&5
96174 eval "$as_ac_var=no"
96176 rm -f conftest.err conftest.$ac_objext \
96177 conftest$ac_exeext conftest.$ac_ext
96179 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96180 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96181 if test `eval echo '${'$as_ac_var'}'` = yes; then
96182 cat >>confdefs.h <<_ACEOF
96183 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96184 _ACEOF
96187 done
96189 else
96191 echo "$as_me:$LINENO: checking for _isnan declaration" >&5
96192 echo $ECHO_N "checking for _isnan declaration... $ECHO_C" >&6
96193 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
96194 if test "${glibcxx_cv_func__isnan_use+set}" = set; then
96195 echo $ECHO_N "(cached) $ECHO_C" >&6
96196 else
96200 ac_ext=cc
96201 ac_cpp='$CXXCPP $CPPFLAGS'
96202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96206 cat >conftest.$ac_ext <<_ACEOF
96207 /* confdefs.h. */
96208 _ACEOF
96209 cat confdefs.h >>conftest.$ac_ext
96210 cat >>conftest.$ac_ext <<_ACEOF
96211 /* end confdefs.h. */
96212 #include <math.h>
96213 #ifdef HAVE_IEEEFP_H
96214 #include <ieeefp.h>
96215 #endif
96218 main ()
96220 _isnan(0);
96222 return 0;
96224 _ACEOF
96225 rm -f conftest.$ac_objext
96226 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96227 (eval $ac_compile) 2>conftest.er1
96228 ac_status=$?
96229 grep -v '^ *+' conftest.er1 >conftest.err
96230 rm -f conftest.er1
96231 cat conftest.err >&5
96232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96233 (exit $ac_status); } &&
96234 { ac_try='test -z "$ac_cxx_werror_flag"
96235 || test ! -s conftest.err'
96236 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96237 (eval $ac_try) 2>&5
96238 ac_status=$?
96239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96240 (exit $ac_status); }; } &&
96241 { ac_try='test -s conftest.$ac_objext'
96242 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96243 (eval $ac_try) 2>&5
96244 ac_status=$?
96245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96246 (exit $ac_status); }; }; then
96247 glibcxx_cv_func__isnan_use=yes
96248 else
96249 echo "$as_me: failed program was:" >&5
96250 sed 's/^/| /' conftest.$ac_ext >&5
96252 glibcxx_cv_func__isnan_use=no
96254 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96255 ac_ext=c
96256 ac_cpp='$CPP $CPPFLAGS'
96257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96265 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnan_use" >&5
96266 echo "${ECHO_T}$glibcxx_cv_func__isnan_use" >&6
96268 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
96270 for ac_func in _isnan
96272 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96273 echo "$as_me:$LINENO: checking for $ac_func" >&5
96274 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96275 if eval "test \"\${$as_ac_var+set}\" = set"; then
96276 echo $ECHO_N "(cached) $ECHO_C" >&6
96277 else
96278 if test x$gcc_no_link = xyes; then
96279 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96280 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96281 { (exit 1); exit 1; }; }
96283 cat >conftest.$ac_ext <<_ACEOF
96284 /* confdefs.h. */
96285 _ACEOF
96286 cat confdefs.h >>conftest.$ac_ext
96287 cat >>conftest.$ac_ext <<_ACEOF
96288 /* end confdefs.h. */
96289 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96290 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96291 #define $ac_func innocuous_$ac_func
96293 /* System header to define __stub macros and hopefully few prototypes,
96294 which can conflict with char $ac_func (); below.
96295 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96296 <limits.h> exists even on freestanding compilers. */
96298 #ifdef __STDC__
96299 # include <limits.h>
96300 #else
96301 # include <assert.h>
96302 #endif
96304 #undef $ac_func
96306 /* Override any gcc2 internal prototype to avoid an error. */
96307 #ifdef __cplusplus
96308 extern "C"
96310 #endif
96311 /* We use char because int might match the return type of a gcc2
96312 builtin and then its argument prototype would still apply. */
96313 char $ac_func ();
96314 /* The GNU C library defines this for functions which it implements
96315 to always fail with ENOSYS. Some functions are actually named
96316 something starting with __ and the normal name is an alias. */
96317 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96318 choke me
96319 #else
96320 char (*f) () = $ac_func;
96321 #endif
96322 #ifdef __cplusplus
96324 #endif
96327 main ()
96329 return f != $ac_func;
96331 return 0;
96333 _ACEOF
96334 rm -f conftest.$ac_objext conftest$ac_exeext
96335 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96336 (eval $ac_link) 2>conftest.er1
96337 ac_status=$?
96338 grep -v '^ *+' conftest.er1 >conftest.err
96339 rm -f conftest.er1
96340 cat conftest.err >&5
96341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96342 (exit $ac_status); } &&
96343 { ac_try='test -z "$ac_c_werror_flag"
96344 || test ! -s conftest.err'
96345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96346 (eval $ac_try) 2>&5
96347 ac_status=$?
96348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96349 (exit $ac_status); }; } &&
96350 { ac_try='test -s conftest$ac_exeext'
96351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96352 (eval $ac_try) 2>&5
96353 ac_status=$?
96354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96355 (exit $ac_status); }; }; then
96356 eval "$as_ac_var=yes"
96357 else
96358 echo "$as_me: failed program was:" >&5
96359 sed 's/^/| /' conftest.$ac_ext >&5
96361 eval "$as_ac_var=no"
96363 rm -f conftest.err conftest.$ac_objext \
96364 conftest$ac_exeext conftest.$ac_ext
96366 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96367 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96368 if test `eval echo '${'$as_ac_var'}'` = yes; then
96369 cat >>confdefs.h <<_ACEOF
96370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96371 _ACEOF
96374 done
96384 echo "$as_me:$LINENO: checking for finite declaration" >&5
96385 echo $ECHO_N "checking for finite declaration... $ECHO_C" >&6
96386 if test x${glibcxx_cv_func_finite_use+set} != xset; then
96387 if test "${glibcxx_cv_func_finite_use+set}" = set; then
96388 echo $ECHO_N "(cached) $ECHO_C" >&6
96389 else
96393 ac_ext=cc
96394 ac_cpp='$CXXCPP $CPPFLAGS'
96395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96399 cat >conftest.$ac_ext <<_ACEOF
96400 /* confdefs.h. */
96401 _ACEOF
96402 cat confdefs.h >>conftest.$ac_ext
96403 cat >>conftest.$ac_ext <<_ACEOF
96404 /* end confdefs.h. */
96405 #include <math.h>
96406 #ifdef HAVE_IEEEFP_H
96407 #include <ieeefp.h>
96408 #endif
96411 main ()
96413 finite(0);
96415 return 0;
96417 _ACEOF
96418 rm -f conftest.$ac_objext
96419 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96420 (eval $ac_compile) 2>conftest.er1
96421 ac_status=$?
96422 grep -v '^ *+' conftest.er1 >conftest.err
96423 rm -f conftest.er1
96424 cat conftest.err >&5
96425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96426 (exit $ac_status); } &&
96427 { ac_try='test -z "$ac_cxx_werror_flag"
96428 || test ! -s conftest.err'
96429 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96430 (eval $ac_try) 2>&5
96431 ac_status=$?
96432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96433 (exit $ac_status); }; } &&
96434 { ac_try='test -s conftest.$ac_objext'
96435 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96436 (eval $ac_try) 2>&5
96437 ac_status=$?
96438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96439 (exit $ac_status); }; }; then
96440 glibcxx_cv_func_finite_use=yes
96441 else
96442 echo "$as_me: failed program was:" >&5
96443 sed 's/^/| /' conftest.$ac_ext >&5
96445 glibcxx_cv_func_finite_use=no
96447 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96448 ac_ext=c
96449 ac_cpp='$CPP $CPPFLAGS'
96450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96458 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finite_use" >&5
96459 echo "${ECHO_T}$glibcxx_cv_func_finite_use" >&6
96461 if test x$glibcxx_cv_func_finite_use = x"yes"; then
96463 for ac_func in finite
96465 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96466 echo "$as_me:$LINENO: checking for $ac_func" >&5
96467 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96468 if eval "test \"\${$as_ac_var+set}\" = set"; then
96469 echo $ECHO_N "(cached) $ECHO_C" >&6
96470 else
96471 if test x$gcc_no_link = xyes; then
96472 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96473 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96474 { (exit 1); exit 1; }; }
96476 cat >conftest.$ac_ext <<_ACEOF
96477 /* confdefs.h. */
96478 _ACEOF
96479 cat confdefs.h >>conftest.$ac_ext
96480 cat >>conftest.$ac_ext <<_ACEOF
96481 /* end confdefs.h. */
96482 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96483 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96484 #define $ac_func innocuous_$ac_func
96486 /* System header to define __stub macros and hopefully few prototypes,
96487 which can conflict with char $ac_func (); below.
96488 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96489 <limits.h> exists even on freestanding compilers. */
96491 #ifdef __STDC__
96492 # include <limits.h>
96493 #else
96494 # include <assert.h>
96495 #endif
96497 #undef $ac_func
96499 /* Override any gcc2 internal prototype to avoid an error. */
96500 #ifdef __cplusplus
96501 extern "C"
96503 #endif
96504 /* We use char because int might match the return type of a gcc2
96505 builtin and then its argument prototype would still apply. */
96506 char $ac_func ();
96507 /* The GNU C library defines this for functions which it implements
96508 to always fail with ENOSYS. Some functions are actually named
96509 something starting with __ and the normal name is an alias. */
96510 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96511 choke me
96512 #else
96513 char (*f) () = $ac_func;
96514 #endif
96515 #ifdef __cplusplus
96517 #endif
96520 main ()
96522 return f != $ac_func;
96524 return 0;
96526 _ACEOF
96527 rm -f conftest.$ac_objext conftest$ac_exeext
96528 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96529 (eval $ac_link) 2>conftest.er1
96530 ac_status=$?
96531 grep -v '^ *+' conftest.er1 >conftest.err
96532 rm -f conftest.er1
96533 cat conftest.err >&5
96534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96535 (exit $ac_status); } &&
96536 { ac_try='test -z "$ac_c_werror_flag"
96537 || test ! -s conftest.err'
96538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96539 (eval $ac_try) 2>&5
96540 ac_status=$?
96541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96542 (exit $ac_status); }; } &&
96543 { ac_try='test -s conftest$ac_exeext'
96544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96545 (eval $ac_try) 2>&5
96546 ac_status=$?
96547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96548 (exit $ac_status); }; }; then
96549 eval "$as_ac_var=yes"
96550 else
96551 echo "$as_me: failed program was:" >&5
96552 sed 's/^/| /' conftest.$ac_ext >&5
96554 eval "$as_ac_var=no"
96556 rm -f conftest.err conftest.$ac_objext \
96557 conftest$ac_exeext conftest.$ac_ext
96559 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96560 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96561 if test `eval echo '${'$as_ac_var'}'` = yes; then
96562 cat >>confdefs.h <<_ACEOF
96563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96564 _ACEOF
96567 done
96569 else
96571 echo "$as_me:$LINENO: checking for _finite declaration" >&5
96572 echo $ECHO_N "checking for _finite declaration... $ECHO_C" >&6
96573 if test x${glibcxx_cv_func__finite_use+set} != xset; then
96574 if test "${glibcxx_cv_func__finite_use+set}" = set; then
96575 echo $ECHO_N "(cached) $ECHO_C" >&6
96576 else
96580 ac_ext=cc
96581 ac_cpp='$CXXCPP $CPPFLAGS'
96582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96586 cat >conftest.$ac_ext <<_ACEOF
96587 /* confdefs.h. */
96588 _ACEOF
96589 cat confdefs.h >>conftest.$ac_ext
96590 cat >>conftest.$ac_ext <<_ACEOF
96591 /* end confdefs.h. */
96592 #include <math.h>
96593 #ifdef HAVE_IEEEFP_H
96594 #include <ieeefp.h>
96595 #endif
96598 main ()
96600 _finite(0);
96602 return 0;
96604 _ACEOF
96605 rm -f conftest.$ac_objext
96606 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96607 (eval $ac_compile) 2>conftest.er1
96608 ac_status=$?
96609 grep -v '^ *+' conftest.er1 >conftest.err
96610 rm -f conftest.er1
96611 cat conftest.err >&5
96612 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96613 (exit $ac_status); } &&
96614 { ac_try='test -z "$ac_cxx_werror_flag"
96615 || test ! -s conftest.err'
96616 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96617 (eval $ac_try) 2>&5
96618 ac_status=$?
96619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96620 (exit $ac_status); }; } &&
96621 { ac_try='test -s conftest.$ac_objext'
96622 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96623 (eval $ac_try) 2>&5
96624 ac_status=$?
96625 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96626 (exit $ac_status); }; }; then
96627 glibcxx_cv_func__finite_use=yes
96628 else
96629 echo "$as_me: failed program was:" >&5
96630 sed 's/^/| /' conftest.$ac_ext >&5
96632 glibcxx_cv_func__finite_use=no
96634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96635 ac_ext=c
96636 ac_cpp='$CPP $CPPFLAGS'
96637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96645 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finite_use" >&5
96646 echo "${ECHO_T}$glibcxx_cv_func__finite_use" >&6
96648 if test x$glibcxx_cv_func__finite_use = x"yes"; then
96650 for ac_func in _finite
96652 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96653 echo "$as_me:$LINENO: checking for $ac_func" >&5
96654 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96655 if eval "test \"\${$as_ac_var+set}\" = set"; then
96656 echo $ECHO_N "(cached) $ECHO_C" >&6
96657 else
96658 if test x$gcc_no_link = xyes; then
96659 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96660 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96661 { (exit 1); exit 1; }; }
96663 cat >conftest.$ac_ext <<_ACEOF
96664 /* confdefs.h. */
96665 _ACEOF
96666 cat confdefs.h >>conftest.$ac_ext
96667 cat >>conftest.$ac_ext <<_ACEOF
96668 /* end confdefs.h. */
96669 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96670 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96671 #define $ac_func innocuous_$ac_func
96673 /* System header to define __stub macros and hopefully few prototypes,
96674 which can conflict with char $ac_func (); below.
96675 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96676 <limits.h> exists even on freestanding compilers. */
96678 #ifdef __STDC__
96679 # include <limits.h>
96680 #else
96681 # include <assert.h>
96682 #endif
96684 #undef $ac_func
96686 /* Override any gcc2 internal prototype to avoid an error. */
96687 #ifdef __cplusplus
96688 extern "C"
96690 #endif
96691 /* We use char because int might match the return type of a gcc2
96692 builtin and then its argument prototype would still apply. */
96693 char $ac_func ();
96694 /* The GNU C library defines this for functions which it implements
96695 to always fail with ENOSYS. Some functions are actually named
96696 something starting with __ and the normal name is an alias. */
96697 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96698 choke me
96699 #else
96700 char (*f) () = $ac_func;
96701 #endif
96702 #ifdef __cplusplus
96704 #endif
96707 main ()
96709 return f != $ac_func;
96711 return 0;
96713 _ACEOF
96714 rm -f conftest.$ac_objext conftest$ac_exeext
96715 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96716 (eval $ac_link) 2>conftest.er1
96717 ac_status=$?
96718 grep -v '^ *+' conftest.er1 >conftest.err
96719 rm -f conftest.er1
96720 cat conftest.err >&5
96721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96722 (exit $ac_status); } &&
96723 { ac_try='test -z "$ac_c_werror_flag"
96724 || test ! -s conftest.err'
96725 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96726 (eval $ac_try) 2>&5
96727 ac_status=$?
96728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96729 (exit $ac_status); }; } &&
96730 { ac_try='test -s conftest$ac_exeext'
96731 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96732 (eval $ac_try) 2>&5
96733 ac_status=$?
96734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96735 (exit $ac_status); }; }; then
96736 eval "$as_ac_var=yes"
96737 else
96738 echo "$as_me: failed program was:" >&5
96739 sed 's/^/| /' conftest.$ac_ext >&5
96741 eval "$as_ac_var=no"
96743 rm -f conftest.err conftest.$ac_objext \
96744 conftest$ac_exeext conftest.$ac_ext
96746 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96747 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96748 if test `eval echo '${'$as_ac_var'}'` = yes; then
96749 cat >>confdefs.h <<_ACEOF
96750 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96751 _ACEOF
96754 done
96764 echo "$as_me:$LINENO: checking for sincos declaration" >&5
96765 echo $ECHO_N "checking for sincos declaration... $ECHO_C" >&6
96766 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
96767 if test "${glibcxx_cv_func_sincos_use+set}" = set; then
96768 echo $ECHO_N "(cached) $ECHO_C" >&6
96769 else
96773 ac_ext=cc
96774 ac_cpp='$CXXCPP $CPPFLAGS'
96775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96779 cat >conftest.$ac_ext <<_ACEOF
96780 /* confdefs.h. */
96781 _ACEOF
96782 cat confdefs.h >>conftest.$ac_ext
96783 cat >>conftest.$ac_ext <<_ACEOF
96784 /* end confdefs.h. */
96785 #include <math.h>
96787 main ()
96789 sincos(0, 0, 0);
96791 return 0;
96793 _ACEOF
96794 rm -f conftest.$ac_objext
96795 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96796 (eval $ac_compile) 2>conftest.er1
96797 ac_status=$?
96798 grep -v '^ *+' conftest.er1 >conftest.err
96799 rm -f conftest.er1
96800 cat conftest.err >&5
96801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96802 (exit $ac_status); } &&
96803 { ac_try='test -z "$ac_cxx_werror_flag"
96804 || test ! -s conftest.err'
96805 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96806 (eval $ac_try) 2>&5
96807 ac_status=$?
96808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96809 (exit $ac_status); }; } &&
96810 { ac_try='test -s conftest.$ac_objext'
96811 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96812 (eval $ac_try) 2>&5
96813 ac_status=$?
96814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96815 (exit $ac_status); }; }; then
96816 glibcxx_cv_func_sincos_use=yes
96817 else
96818 echo "$as_me: failed program was:" >&5
96819 sed 's/^/| /' conftest.$ac_ext >&5
96821 glibcxx_cv_func_sincos_use=no
96823 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
96824 ac_ext=c
96825 ac_cpp='$CPP $CPPFLAGS'
96826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
96834 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincos_use" >&5
96835 echo "${ECHO_T}$glibcxx_cv_func_sincos_use" >&6
96837 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
96839 for ac_func in sincos
96841 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
96842 echo "$as_me:$LINENO: checking for $ac_func" >&5
96843 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
96844 if eval "test \"\${$as_ac_var+set}\" = set"; then
96845 echo $ECHO_N "(cached) $ECHO_C" >&6
96846 else
96847 if test x$gcc_no_link = xyes; then
96848 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
96849 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
96850 { (exit 1); exit 1; }; }
96852 cat >conftest.$ac_ext <<_ACEOF
96853 /* confdefs.h. */
96854 _ACEOF
96855 cat confdefs.h >>conftest.$ac_ext
96856 cat >>conftest.$ac_ext <<_ACEOF
96857 /* end confdefs.h. */
96858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
96859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
96860 #define $ac_func innocuous_$ac_func
96862 /* System header to define __stub macros and hopefully few prototypes,
96863 which can conflict with char $ac_func (); below.
96864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
96865 <limits.h> exists even on freestanding compilers. */
96867 #ifdef __STDC__
96868 # include <limits.h>
96869 #else
96870 # include <assert.h>
96871 #endif
96873 #undef $ac_func
96875 /* Override any gcc2 internal prototype to avoid an error. */
96876 #ifdef __cplusplus
96877 extern "C"
96879 #endif
96880 /* We use char because int might match the return type of a gcc2
96881 builtin and then its argument prototype would still apply. */
96882 char $ac_func ();
96883 /* The GNU C library defines this for functions which it implements
96884 to always fail with ENOSYS. Some functions are actually named
96885 something starting with __ and the normal name is an alias. */
96886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
96887 choke me
96888 #else
96889 char (*f) () = $ac_func;
96890 #endif
96891 #ifdef __cplusplus
96893 #endif
96896 main ()
96898 return f != $ac_func;
96900 return 0;
96902 _ACEOF
96903 rm -f conftest.$ac_objext conftest$ac_exeext
96904 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
96905 (eval $ac_link) 2>conftest.er1
96906 ac_status=$?
96907 grep -v '^ *+' conftest.er1 >conftest.err
96908 rm -f conftest.er1
96909 cat conftest.err >&5
96910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96911 (exit $ac_status); } &&
96912 { ac_try='test -z "$ac_c_werror_flag"
96913 || test ! -s conftest.err'
96914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96915 (eval $ac_try) 2>&5
96916 ac_status=$?
96917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96918 (exit $ac_status); }; } &&
96919 { ac_try='test -s conftest$ac_exeext'
96920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96921 (eval $ac_try) 2>&5
96922 ac_status=$?
96923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96924 (exit $ac_status); }; }; then
96925 eval "$as_ac_var=yes"
96926 else
96927 echo "$as_me: failed program was:" >&5
96928 sed 's/^/| /' conftest.$ac_ext >&5
96930 eval "$as_ac_var=no"
96932 rm -f conftest.err conftest.$ac_objext \
96933 conftest$ac_exeext conftest.$ac_ext
96935 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
96936 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
96937 if test `eval echo '${'$as_ac_var'}'` = yes; then
96938 cat >>confdefs.h <<_ACEOF
96939 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
96940 _ACEOF
96943 done
96945 else
96947 echo "$as_me:$LINENO: checking for _sincos declaration" >&5
96948 echo $ECHO_N "checking for _sincos declaration... $ECHO_C" >&6
96949 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
96950 if test "${glibcxx_cv_func__sincos_use+set}" = set; then
96951 echo $ECHO_N "(cached) $ECHO_C" >&6
96952 else
96956 ac_ext=cc
96957 ac_cpp='$CXXCPP $CPPFLAGS'
96958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
96959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
96960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
96962 cat >conftest.$ac_ext <<_ACEOF
96963 /* confdefs.h. */
96964 _ACEOF
96965 cat confdefs.h >>conftest.$ac_ext
96966 cat >>conftest.$ac_ext <<_ACEOF
96967 /* end confdefs.h. */
96968 #include <math.h>
96970 main ()
96972 _sincos(0, 0, 0);
96974 return 0;
96976 _ACEOF
96977 rm -f conftest.$ac_objext
96978 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
96979 (eval $ac_compile) 2>conftest.er1
96980 ac_status=$?
96981 grep -v '^ *+' conftest.er1 >conftest.err
96982 rm -f conftest.er1
96983 cat conftest.err >&5
96984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96985 (exit $ac_status); } &&
96986 { ac_try='test -z "$ac_cxx_werror_flag"
96987 || test ! -s conftest.err'
96988 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96989 (eval $ac_try) 2>&5
96990 ac_status=$?
96991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96992 (exit $ac_status); }; } &&
96993 { ac_try='test -s conftest.$ac_objext'
96994 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
96995 (eval $ac_try) 2>&5
96996 ac_status=$?
96997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
96998 (exit $ac_status); }; }; then
96999 glibcxx_cv_func__sincos_use=yes
97000 else
97001 echo "$as_me: failed program was:" >&5
97002 sed 's/^/| /' conftest.$ac_ext >&5
97004 glibcxx_cv_func__sincos_use=no
97006 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97007 ac_ext=c
97008 ac_cpp='$CPP $CPPFLAGS'
97009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97017 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincos_use" >&5
97018 echo "${ECHO_T}$glibcxx_cv_func__sincos_use" >&6
97020 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
97022 for ac_func in _sincos
97024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97025 echo "$as_me:$LINENO: checking for $ac_func" >&5
97026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97027 if eval "test \"\${$as_ac_var+set}\" = set"; then
97028 echo $ECHO_N "(cached) $ECHO_C" >&6
97029 else
97030 if test x$gcc_no_link = xyes; then
97031 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97032 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97033 { (exit 1); exit 1; }; }
97035 cat >conftest.$ac_ext <<_ACEOF
97036 /* confdefs.h. */
97037 _ACEOF
97038 cat confdefs.h >>conftest.$ac_ext
97039 cat >>conftest.$ac_ext <<_ACEOF
97040 /* end confdefs.h. */
97041 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97042 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97043 #define $ac_func innocuous_$ac_func
97045 /* System header to define __stub macros and hopefully few prototypes,
97046 which can conflict with char $ac_func (); below.
97047 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97048 <limits.h> exists even on freestanding compilers. */
97050 #ifdef __STDC__
97051 # include <limits.h>
97052 #else
97053 # include <assert.h>
97054 #endif
97056 #undef $ac_func
97058 /* Override any gcc2 internal prototype to avoid an error. */
97059 #ifdef __cplusplus
97060 extern "C"
97062 #endif
97063 /* We use char because int might match the return type of a gcc2
97064 builtin and then its argument prototype would still apply. */
97065 char $ac_func ();
97066 /* The GNU C library defines this for functions which it implements
97067 to always fail with ENOSYS. Some functions are actually named
97068 something starting with __ and the normal name is an alias. */
97069 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97070 choke me
97071 #else
97072 char (*f) () = $ac_func;
97073 #endif
97074 #ifdef __cplusplus
97076 #endif
97079 main ()
97081 return f != $ac_func;
97083 return 0;
97085 _ACEOF
97086 rm -f conftest.$ac_objext conftest$ac_exeext
97087 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97088 (eval $ac_link) 2>conftest.er1
97089 ac_status=$?
97090 grep -v '^ *+' conftest.er1 >conftest.err
97091 rm -f conftest.er1
97092 cat conftest.err >&5
97093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97094 (exit $ac_status); } &&
97095 { ac_try='test -z "$ac_c_werror_flag"
97096 || test ! -s conftest.err'
97097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97098 (eval $ac_try) 2>&5
97099 ac_status=$?
97100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97101 (exit $ac_status); }; } &&
97102 { ac_try='test -s conftest$ac_exeext'
97103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97104 (eval $ac_try) 2>&5
97105 ac_status=$?
97106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97107 (exit $ac_status); }; }; then
97108 eval "$as_ac_var=yes"
97109 else
97110 echo "$as_me: failed program was:" >&5
97111 sed 's/^/| /' conftest.$ac_ext >&5
97113 eval "$as_ac_var=no"
97115 rm -f conftest.err conftest.$ac_objext \
97116 conftest$ac_exeext conftest.$ac_ext
97118 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97119 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97120 if test `eval echo '${'$as_ac_var'}'` = yes; then
97121 cat >>confdefs.h <<_ACEOF
97122 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97123 _ACEOF
97126 done
97136 echo "$as_me:$LINENO: checking for fpclass declaration" >&5
97137 echo $ECHO_N "checking for fpclass declaration... $ECHO_C" >&6
97138 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
97139 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then
97140 echo $ECHO_N "(cached) $ECHO_C" >&6
97141 else
97145 ac_ext=cc
97146 ac_cpp='$CXXCPP $CPPFLAGS'
97147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97151 cat >conftest.$ac_ext <<_ACEOF
97152 /* confdefs.h. */
97153 _ACEOF
97154 cat confdefs.h >>conftest.$ac_ext
97155 cat >>conftest.$ac_ext <<_ACEOF
97156 /* end confdefs.h. */
97157 #include <math.h>
97158 #ifdef HAVE_IEEEFP_H
97159 #include <ieeefp.h>
97160 #endif
97163 main ()
97165 fpclass(0);
97167 return 0;
97169 _ACEOF
97170 rm -f conftest.$ac_objext
97171 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97172 (eval $ac_compile) 2>conftest.er1
97173 ac_status=$?
97174 grep -v '^ *+' conftest.er1 >conftest.err
97175 rm -f conftest.er1
97176 cat conftest.err >&5
97177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97178 (exit $ac_status); } &&
97179 { ac_try='test -z "$ac_cxx_werror_flag"
97180 || test ! -s conftest.err'
97181 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97182 (eval $ac_try) 2>&5
97183 ac_status=$?
97184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97185 (exit $ac_status); }; } &&
97186 { ac_try='test -s conftest.$ac_objext'
97187 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97188 (eval $ac_try) 2>&5
97189 ac_status=$?
97190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97191 (exit $ac_status); }; }; then
97192 glibcxx_cv_func_fpclass_use=yes
97193 else
97194 echo "$as_me: failed program was:" >&5
97195 sed 's/^/| /' conftest.$ac_ext >&5
97197 glibcxx_cv_func_fpclass_use=no
97199 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97200 ac_ext=c
97201 ac_cpp='$CPP $CPPFLAGS'
97202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97210 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fpclass_use" >&5
97211 echo "${ECHO_T}$glibcxx_cv_func_fpclass_use" >&6
97213 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
97215 for ac_func in fpclass
97217 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97218 echo "$as_me:$LINENO: checking for $ac_func" >&5
97219 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97220 if eval "test \"\${$as_ac_var+set}\" = set"; then
97221 echo $ECHO_N "(cached) $ECHO_C" >&6
97222 else
97223 if test x$gcc_no_link = xyes; then
97224 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97225 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97226 { (exit 1); exit 1; }; }
97228 cat >conftest.$ac_ext <<_ACEOF
97229 /* confdefs.h. */
97230 _ACEOF
97231 cat confdefs.h >>conftest.$ac_ext
97232 cat >>conftest.$ac_ext <<_ACEOF
97233 /* end confdefs.h. */
97234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97236 #define $ac_func innocuous_$ac_func
97238 /* System header to define __stub macros and hopefully few prototypes,
97239 which can conflict with char $ac_func (); below.
97240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97241 <limits.h> exists even on freestanding compilers. */
97243 #ifdef __STDC__
97244 # include <limits.h>
97245 #else
97246 # include <assert.h>
97247 #endif
97249 #undef $ac_func
97251 /* Override any gcc2 internal prototype to avoid an error. */
97252 #ifdef __cplusplus
97253 extern "C"
97255 #endif
97256 /* We use char because int might match the return type of a gcc2
97257 builtin and then its argument prototype would still apply. */
97258 char $ac_func ();
97259 /* The GNU C library defines this for functions which it implements
97260 to always fail with ENOSYS. Some functions are actually named
97261 something starting with __ and the normal name is an alias. */
97262 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97263 choke me
97264 #else
97265 char (*f) () = $ac_func;
97266 #endif
97267 #ifdef __cplusplus
97269 #endif
97272 main ()
97274 return f != $ac_func;
97276 return 0;
97278 _ACEOF
97279 rm -f conftest.$ac_objext conftest$ac_exeext
97280 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97281 (eval $ac_link) 2>conftest.er1
97282 ac_status=$?
97283 grep -v '^ *+' conftest.er1 >conftest.err
97284 rm -f conftest.er1
97285 cat conftest.err >&5
97286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97287 (exit $ac_status); } &&
97288 { ac_try='test -z "$ac_c_werror_flag"
97289 || test ! -s conftest.err'
97290 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97291 (eval $ac_try) 2>&5
97292 ac_status=$?
97293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97294 (exit $ac_status); }; } &&
97295 { ac_try='test -s conftest$ac_exeext'
97296 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97297 (eval $ac_try) 2>&5
97298 ac_status=$?
97299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97300 (exit $ac_status); }; }; then
97301 eval "$as_ac_var=yes"
97302 else
97303 echo "$as_me: failed program was:" >&5
97304 sed 's/^/| /' conftest.$ac_ext >&5
97306 eval "$as_ac_var=no"
97308 rm -f conftest.err conftest.$ac_objext \
97309 conftest$ac_exeext conftest.$ac_ext
97311 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97312 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97313 if test `eval echo '${'$as_ac_var'}'` = yes; then
97314 cat >>confdefs.h <<_ACEOF
97315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97316 _ACEOF
97319 done
97321 else
97323 echo "$as_me:$LINENO: checking for _fpclass declaration" >&5
97324 echo $ECHO_N "checking for _fpclass declaration... $ECHO_C" >&6
97325 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
97326 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then
97327 echo $ECHO_N "(cached) $ECHO_C" >&6
97328 else
97332 ac_ext=cc
97333 ac_cpp='$CXXCPP $CPPFLAGS'
97334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97338 cat >conftest.$ac_ext <<_ACEOF
97339 /* confdefs.h. */
97340 _ACEOF
97341 cat confdefs.h >>conftest.$ac_ext
97342 cat >>conftest.$ac_ext <<_ACEOF
97343 /* end confdefs.h. */
97344 #include <math.h>
97345 #ifdef HAVE_IEEEFP_H
97346 #include <ieeefp.h>
97347 #endif
97350 main ()
97352 _fpclass(0);
97354 return 0;
97356 _ACEOF
97357 rm -f conftest.$ac_objext
97358 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97359 (eval $ac_compile) 2>conftest.er1
97360 ac_status=$?
97361 grep -v '^ *+' conftest.er1 >conftest.err
97362 rm -f conftest.er1
97363 cat conftest.err >&5
97364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97365 (exit $ac_status); } &&
97366 { ac_try='test -z "$ac_cxx_werror_flag"
97367 || test ! -s conftest.err'
97368 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97369 (eval $ac_try) 2>&5
97370 ac_status=$?
97371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97372 (exit $ac_status); }; } &&
97373 { ac_try='test -s conftest.$ac_objext'
97374 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97375 (eval $ac_try) 2>&5
97376 ac_status=$?
97377 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97378 (exit $ac_status); }; }; then
97379 glibcxx_cv_func__fpclass_use=yes
97380 else
97381 echo "$as_me: failed program was:" >&5
97382 sed 's/^/| /' conftest.$ac_ext >&5
97384 glibcxx_cv_func__fpclass_use=no
97386 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97387 ac_ext=c
97388 ac_cpp='$CPP $CPPFLAGS'
97389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97397 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fpclass_use" >&5
97398 echo "${ECHO_T}$glibcxx_cv_func__fpclass_use" >&6
97400 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
97402 for ac_func in _fpclass
97404 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97405 echo "$as_me:$LINENO: checking for $ac_func" >&5
97406 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97407 if eval "test \"\${$as_ac_var+set}\" = set"; then
97408 echo $ECHO_N "(cached) $ECHO_C" >&6
97409 else
97410 if test x$gcc_no_link = xyes; then
97411 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97412 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97413 { (exit 1); exit 1; }; }
97415 cat >conftest.$ac_ext <<_ACEOF
97416 /* confdefs.h. */
97417 _ACEOF
97418 cat confdefs.h >>conftest.$ac_ext
97419 cat >>conftest.$ac_ext <<_ACEOF
97420 /* end confdefs.h. */
97421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97423 #define $ac_func innocuous_$ac_func
97425 /* System header to define __stub macros and hopefully few prototypes,
97426 which can conflict with char $ac_func (); below.
97427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97428 <limits.h> exists even on freestanding compilers. */
97430 #ifdef __STDC__
97431 # include <limits.h>
97432 #else
97433 # include <assert.h>
97434 #endif
97436 #undef $ac_func
97438 /* Override any gcc2 internal prototype to avoid an error. */
97439 #ifdef __cplusplus
97440 extern "C"
97442 #endif
97443 /* We use char because int might match the return type of a gcc2
97444 builtin and then its argument prototype would still apply. */
97445 char $ac_func ();
97446 /* The GNU C library defines this for functions which it implements
97447 to always fail with ENOSYS. Some functions are actually named
97448 something starting with __ and the normal name is an alias. */
97449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97450 choke me
97451 #else
97452 char (*f) () = $ac_func;
97453 #endif
97454 #ifdef __cplusplus
97456 #endif
97459 main ()
97461 return f != $ac_func;
97463 return 0;
97465 _ACEOF
97466 rm -f conftest.$ac_objext conftest$ac_exeext
97467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97468 (eval $ac_link) 2>conftest.er1
97469 ac_status=$?
97470 grep -v '^ *+' conftest.er1 >conftest.err
97471 rm -f conftest.er1
97472 cat conftest.err >&5
97473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97474 (exit $ac_status); } &&
97475 { ac_try='test -z "$ac_c_werror_flag"
97476 || test ! -s conftest.err'
97477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97478 (eval $ac_try) 2>&5
97479 ac_status=$?
97480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97481 (exit $ac_status); }; } &&
97482 { ac_try='test -s conftest$ac_exeext'
97483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97484 (eval $ac_try) 2>&5
97485 ac_status=$?
97486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97487 (exit $ac_status); }; }; then
97488 eval "$as_ac_var=yes"
97489 else
97490 echo "$as_me: failed program was:" >&5
97491 sed 's/^/| /' conftest.$ac_ext >&5
97493 eval "$as_ac_var=no"
97495 rm -f conftest.err conftest.$ac_objext \
97496 conftest$ac_exeext conftest.$ac_ext
97498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97500 if test `eval echo '${'$as_ac_var'}'` = yes; then
97501 cat >>confdefs.h <<_ACEOF
97502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97503 _ACEOF
97506 done
97516 echo "$as_me:$LINENO: checking for qfpclass declaration" >&5
97517 echo $ECHO_N "checking for qfpclass declaration... $ECHO_C" >&6
97518 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
97519 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then
97520 echo $ECHO_N "(cached) $ECHO_C" >&6
97521 else
97525 ac_ext=cc
97526 ac_cpp='$CXXCPP $CPPFLAGS'
97527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97531 cat >conftest.$ac_ext <<_ACEOF
97532 /* confdefs.h. */
97533 _ACEOF
97534 cat confdefs.h >>conftest.$ac_ext
97535 cat >>conftest.$ac_ext <<_ACEOF
97536 /* end confdefs.h. */
97537 #include <math.h>
97538 #ifdef HAVE_IEEEFP_H
97539 #include <ieeefp.h>
97540 #endif
97543 main ()
97545 qfpclass(0);
97547 return 0;
97549 _ACEOF
97550 rm -f conftest.$ac_objext
97551 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97552 (eval $ac_compile) 2>conftest.er1
97553 ac_status=$?
97554 grep -v '^ *+' conftest.er1 >conftest.err
97555 rm -f conftest.er1
97556 cat conftest.err >&5
97557 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97558 (exit $ac_status); } &&
97559 { ac_try='test -z "$ac_cxx_werror_flag"
97560 || test ! -s conftest.err'
97561 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97562 (eval $ac_try) 2>&5
97563 ac_status=$?
97564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97565 (exit $ac_status); }; } &&
97566 { ac_try='test -s conftest.$ac_objext'
97567 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97568 (eval $ac_try) 2>&5
97569 ac_status=$?
97570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97571 (exit $ac_status); }; }; then
97572 glibcxx_cv_func_qfpclass_use=yes
97573 else
97574 echo "$as_me: failed program was:" >&5
97575 sed 's/^/| /' conftest.$ac_ext >&5
97577 glibcxx_cv_func_qfpclass_use=no
97579 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97580 ac_ext=c
97581 ac_cpp='$CPP $CPPFLAGS'
97582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97590 echo "$as_me:$LINENO: result: $glibcxx_cv_func_qfpclass_use" >&5
97591 echo "${ECHO_T}$glibcxx_cv_func_qfpclass_use" >&6
97593 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
97595 for ac_func in qfpclass
97597 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97598 echo "$as_me:$LINENO: checking for $ac_func" >&5
97599 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97600 if eval "test \"\${$as_ac_var+set}\" = set"; then
97601 echo $ECHO_N "(cached) $ECHO_C" >&6
97602 else
97603 if test x$gcc_no_link = xyes; then
97604 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97605 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97606 { (exit 1); exit 1; }; }
97608 cat >conftest.$ac_ext <<_ACEOF
97609 /* confdefs.h. */
97610 _ACEOF
97611 cat confdefs.h >>conftest.$ac_ext
97612 cat >>conftest.$ac_ext <<_ACEOF
97613 /* end confdefs.h. */
97614 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97615 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97616 #define $ac_func innocuous_$ac_func
97618 /* System header to define __stub macros and hopefully few prototypes,
97619 which can conflict with char $ac_func (); below.
97620 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97621 <limits.h> exists even on freestanding compilers. */
97623 #ifdef __STDC__
97624 # include <limits.h>
97625 #else
97626 # include <assert.h>
97627 #endif
97629 #undef $ac_func
97631 /* Override any gcc2 internal prototype to avoid an error. */
97632 #ifdef __cplusplus
97633 extern "C"
97635 #endif
97636 /* We use char because int might match the return type of a gcc2
97637 builtin and then its argument prototype would still apply. */
97638 char $ac_func ();
97639 /* The GNU C library defines this for functions which it implements
97640 to always fail with ENOSYS. Some functions are actually named
97641 something starting with __ and the normal name is an alias. */
97642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97643 choke me
97644 #else
97645 char (*f) () = $ac_func;
97646 #endif
97647 #ifdef __cplusplus
97649 #endif
97652 main ()
97654 return f != $ac_func;
97656 return 0;
97658 _ACEOF
97659 rm -f conftest.$ac_objext conftest$ac_exeext
97660 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97661 (eval $ac_link) 2>conftest.er1
97662 ac_status=$?
97663 grep -v '^ *+' conftest.er1 >conftest.err
97664 rm -f conftest.er1
97665 cat conftest.err >&5
97666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97667 (exit $ac_status); } &&
97668 { ac_try='test -z "$ac_c_werror_flag"
97669 || test ! -s conftest.err'
97670 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97671 (eval $ac_try) 2>&5
97672 ac_status=$?
97673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97674 (exit $ac_status); }; } &&
97675 { ac_try='test -s conftest$ac_exeext'
97676 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97677 (eval $ac_try) 2>&5
97678 ac_status=$?
97679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97680 (exit $ac_status); }; }; then
97681 eval "$as_ac_var=yes"
97682 else
97683 echo "$as_me: failed program was:" >&5
97684 sed 's/^/| /' conftest.$ac_ext >&5
97686 eval "$as_ac_var=no"
97688 rm -f conftest.err conftest.$ac_objext \
97689 conftest$ac_exeext conftest.$ac_ext
97691 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97692 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97693 if test `eval echo '${'$as_ac_var'}'` = yes; then
97694 cat >>confdefs.h <<_ACEOF
97695 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97696 _ACEOF
97699 done
97701 else
97703 echo "$as_me:$LINENO: checking for _qfpclass declaration" >&5
97704 echo $ECHO_N "checking for _qfpclass declaration... $ECHO_C" >&6
97705 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
97706 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then
97707 echo $ECHO_N "(cached) $ECHO_C" >&6
97708 else
97712 ac_ext=cc
97713 ac_cpp='$CXXCPP $CPPFLAGS'
97714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97718 cat >conftest.$ac_ext <<_ACEOF
97719 /* confdefs.h. */
97720 _ACEOF
97721 cat confdefs.h >>conftest.$ac_ext
97722 cat >>conftest.$ac_ext <<_ACEOF
97723 /* end confdefs.h. */
97724 #include <math.h>
97725 #ifdef HAVE_IEEEFP_H
97726 #include <ieeefp.h>
97727 #endif
97730 main ()
97732 _qfpclass(0);
97734 return 0;
97736 _ACEOF
97737 rm -f conftest.$ac_objext
97738 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97739 (eval $ac_compile) 2>conftest.er1
97740 ac_status=$?
97741 grep -v '^ *+' conftest.er1 >conftest.err
97742 rm -f conftest.er1
97743 cat conftest.err >&5
97744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97745 (exit $ac_status); } &&
97746 { ac_try='test -z "$ac_cxx_werror_flag"
97747 || test ! -s conftest.err'
97748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97749 (eval $ac_try) 2>&5
97750 ac_status=$?
97751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97752 (exit $ac_status); }; } &&
97753 { ac_try='test -s conftest.$ac_objext'
97754 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97755 (eval $ac_try) 2>&5
97756 ac_status=$?
97757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97758 (exit $ac_status); }; }; then
97759 glibcxx_cv_func__qfpclass_use=yes
97760 else
97761 echo "$as_me: failed program was:" >&5
97762 sed 's/^/| /' conftest.$ac_ext >&5
97764 glibcxx_cv_func__qfpclass_use=no
97766 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97767 ac_ext=c
97768 ac_cpp='$CPP $CPPFLAGS'
97769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97777 echo "$as_me:$LINENO: result: $glibcxx_cv_func__qfpclass_use" >&5
97778 echo "${ECHO_T}$glibcxx_cv_func__qfpclass_use" >&6
97780 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
97782 for ac_func in _qfpclass
97784 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97785 echo "$as_me:$LINENO: checking for $ac_func" >&5
97786 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97787 if eval "test \"\${$as_ac_var+set}\" = set"; then
97788 echo $ECHO_N "(cached) $ECHO_C" >&6
97789 else
97790 if test x$gcc_no_link = xyes; then
97791 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97792 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97793 { (exit 1); exit 1; }; }
97795 cat >conftest.$ac_ext <<_ACEOF
97796 /* confdefs.h. */
97797 _ACEOF
97798 cat confdefs.h >>conftest.$ac_ext
97799 cat >>conftest.$ac_ext <<_ACEOF
97800 /* end confdefs.h. */
97801 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97802 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97803 #define $ac_func innocuous_$ac_func
97805 /* System header to define __stub macros and hopefully few prototypes,
97806 which can conflict with char $ac_func (); below.
97807 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97808 <limits.h> exists even on freestanding compilers. */
97810 #ifdef __STDC__
97811 # include <limits.h>
97812 #else
97813 # include <assert.h>
97814 #endif
97816 #undef $ac_func
97818 /* Override any gcc2 internal prototype to avoid an error. */
97819 #ifdef __cplusplus
97820 extern "C"
97822 #endif
97823 /* We use char because int might match the return type of a gcc2
97824 builtin and then its argument prototype would still apply. */
97825 char $ac_func ();
97826 /* The GNU C library defines this for functions which it implements
97827 to always fail with ENOSYS. Some functions are actually named
97828 something starting with __ and the normal name is an alias. */
97829 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
97830 choke me
97831 #else
97832 char (*f) () = $ac_func;
97833 #endif
97834 #ifdef __cplusplus
97836 #endif
97839 main ()
97841 return f != $ac_func;
97843 return 0;
97845 _ACEOF
97846 rm -f conftest.$ac_objext conftest$ac_exeext
97847 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
97848 (eval $ac_link) 2>conftest.er1
97849 ac_status=$?
97850 grep -v '^ *+' conftest.er1 >conftest.err
97851 rm -f conftest.er1
97852 cat conftest.err >&5
97853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97854 (exit $ac_status); } &&
97855 { ac_try='test -z "$ac_c_werror_flag"
97856 || test ! -s conftest.err'
97857 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97858 (eval $ac_try) 2>&5
97859 ac_status=$?
97860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97861 (exit $ac_status); }; } &&
97862 { ac_try='test -s conftest$ac_exeext'
97863 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97864 (eval $ac_try) 2>&5
97865 ac_status=$?
97866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97867 (exit $ac_status); }; }; then
97868 eval "$as_ac_var=yes"
97869 else
97870 echo "$as_me: failed program was:" >&5
97871 sed 's/^/| /' conftest.$ac_ext >&5
97873 eval "$as_ac_var=no"
97875 rm -f conftest.err conftest.$ac_objext \
97876 conftest$ac_exeext conftest.$ac_ext
97878 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
97879 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
97880 if test `eval echo '${'$as_ac_var'}'` = yes; then
97881 cat >>confdefs.h <<_ACEOF
97882 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
97883 _ACEOF
97886 done
97896 echo "$as_me:$LINENO: checking for hypot declaration" >&5
97897 echo $ECHO_N "checking for hypot declaration... $ECHO_C" >&6
97898 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
97899 if test "${glibcxx_cv_func_hypot_use+set}" = set; then
97900 echo $ECHO_N "(cached) $ECHO_C" >&6
97901 else
97905 ac_ext=cc
97906 ac_cpp='$CXXCPP $CPPFLAGS'
97907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
97911 cat >conftest.$ac_ext <<_ACEOF
97912 /* confdefs.h. */
97913 _ACEOF
97914 cat confdefs.h >>conftest.$ac_ext
97915 cat >>conftest.$ac_ext <<_ACEOF
97916 /* end confdefs.h. */
97917 #include <math.h>
97919 main ()
97921 hypot(0, 0);
97923 return 0;
97925 _ACEOF
97926 rm -f conftest.$ac_objext
97927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
97928 (eval $ac_compile) 2>conftest.er1
97929 ac_status=$?
97930 grep -v '^ *+' conftest.er1 >conftest.err
97931 rm -f conftest.er1
97932 cat conftest.err >&5
97933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97934 (exit $ac_status); } &&
97935 { ac_try='test -z "$ac_cxx_werror_flag"
97936 || test ! -s conftest.err'
97937 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97938 (eval $ac_try) 2>&5
97939 ac_status=$?
97940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97941 (exit $ac_status); }; } &&
97942 { ac_try='test -s conftest.$ac_objext'
97943 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
97944 (eval $ac_try) 2>&5
97945 ac_status=$?
97946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
97947 (exit $ac_status); }; }; then
97948 glibcxx_cv_func_hypot_use=yes
97949 else
97950 echo "$as_me: failed program was:" >&5
97951 sed 's/^/| /' conftest.$ac_ext >&5
97953 glibcxx_cv_func_hypot_use=no
97955 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
97956 ac_ext=c
97957 ac_cpp='$CPP $CPPFLAGS'
97958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
97959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
97960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
97966 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypot_use" >&5
97967 echo "${ECHO_T}$glibcxx_cv_func_hypot_use" >&6
97969 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
97971 for ac_func in hypot
97973 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
97974 echo "$as_me:$LINENO: checking for $ac_func" >&5
97975 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
97976 if eval "test \"\${$as_ac_var+set}\" = set"; then
97977 echo $ECHO_N "(cached) $ECHO_C" >&6
97978 else
97979 if test x$gcc_no_link = xyes; then
97980 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
97981 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
97982 { (exit 1); exit 1; }; }
97984 cat >conftest.$ac_ext <<_ACEOF
97985 /* confdefs.h. */
97986 _ACEOF
97987 cat confdefs.h >>conftest.$ac_ext
97988 cat >>conftest.$ac_ext <<_ACEOF
97989 /* end confdefs.h. */
97990 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
97991 For example, HP-UX 11i <limits.h> declares gettimeofday. */
97992 #define $ac_func innocuous_$ac_func
97994 /* System header to define __stub macros and hopefully few prototypes,
97995 which can conflict with char $ac_func (); below.
97996 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
97997 <limits.h> exists even on freestanding compilers. */
97999 #ifdef __STDC__
98000 # include <limits.h>
98001 #else
98002 # include <assert.h>
98003 #endif
98005 #undef $ac_func
98007 /* Override any gcc2 internal prototype to avoid an error. */
98008 #ifdef __cplusplus
98009 extern "C"
98011 #endif
98012 /* We use char because int might match the return type of a gcc2
98013 builtin and then its argument prototype would still apply. */
98014 char $ac_func ();
98015 /* The GNU C library defines this for functions which it implements
98016 to always fail with ENOSYS. Some functions are actually named
98017 something starting with __ and the normal name is an alias. */
98018 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98019 choke me
98020 #else
98021 char (*f) () = $ac_func;
98022 #endif
98023 #ifdef __cplusplus
98025 #endif
98028 main ()
98030 return f != $ac_func;
98032 return 0;
98034 _ACEOF
98035 rm -f conftest.$ac_objext conftest$ac_exeext
98036 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98037 (eval $ac_link) 2>conftest.er1
98038 ac_status=$?
98039 grep -v '^ *+' conftest.er1 >conftest.err
98040 rm -f conftest.er1
98041 cat conftest.err >&5
98042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98043 (exit $ac_status); } &&
98044 { ac_try='test -z "$ac_c_werror_flag"
98045 || test ! -s conftest.err'
98046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98047 (eval $ac_try) 2>&5
98048 ac_status=$?
98049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98050 (exit $ac_status); }; } &&
98051 { ac_try='test -s conftest$ac_exeext'
98052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98053 (eval $ac_try) 2>&5
98054 ac_status=$?
98055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98056 (exit $ac_status); }; }; then
98057 eval "$as_ac_var=yes"
98058 else
98059 echo "$as_me: failed program was:" >&5
98060 sed 's/^/| /' conftest.$ac_ext >&5
98062 eval "$as_ac_var=no"
98064 rm -f conftest.err conftest.$ac_objext \
98065 conftest$ac_exeext conftest.$ac_ext
98067 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98068 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98069 if test `eval echo '${'$as_ac_var'}'` = yes; then
98070 cat >>confdefs.h <<_ACEOF
98071 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98072 _ACEOF
98075 done
98077 else
98079 echo "$as_me:$LINENO: checking for _hypot declaration" >&5
98080 echo $ECHO_N "checking for _hypot declaration... $ECHO_C" >&6
98081 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
98082 if test "${glibcxx_cv_func__hypot_use+set}" = set; then
98083 echo $ECHO_N "(cached) $ECHO_C" >&6
98084 else
98088 ac_ext=cc
98089 ac_cpp='$CXXCPP $CPPFLAGS'
98090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98094 cat >conftest.$ac_ext <<_ACEOF
98095 /* confdefs.h. */
98096 _ACEOF
98097 cat confdefs.h >>conftest.$ac_ext
98098 cat >>conftest.$ac_ext <<_ACEOF
98099 /* end confdefs.h. */
98100 #include <math.h>
98102 main ()
98104 _hypot(0, 0);
98106 return 0;
98108 _ACEOF
98109 rm -f conftest.$ac_objext
98110 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98111 (eval $ac_compile) 2>conftest.er1
98112 ac_status=$?
98113 grep -v '^ *+' conftest.er1 >conftest.err
98114 rm -f conftest.er1
98115 cat conftest.err >&5
98116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98117 (exit $ac_status); } &&
98118 { ac_try='test -z "$ac_cxx_werror_flag"
98119 || test ! -s conftest.err'
98120 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98121 (eval $ac_try) 2>&5
98122 ac_status=$?
98123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98124 (exit $ac_status); }; } &&
98125 { ac_try='test -s conftest.$ac_objext'
98126 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98127 (eval $ac_try) 2>&5
98128 ac_status=$?
98129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98130 (exit $ac_status); }; }; then
98131 glibcxx_cv_func__hypot_use=yes
98132 else
98133 echo "$as_me: failed program was:" >&5
98134 sed 's/^/| /' conftest.$ac_ext >&5
98136 glibcxx_cv_func__hypot_use=no
98138 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98139 ac_ext=c
98140 ac_cpp='$CPP $CPPFLAGS'
98141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98149 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypot_use" >&5
98150 echo "${ECHO_T}$glibcxx_cv_func__hypot_use" >&6
98152 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
98154 for ac_func in _hypot
98156 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98157 echo "$as_me:$LINENO: checking for $ac_func" >&5
98158 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98159 if eval "test \"\${$as_ac_var+set}\" = set"; then
98160 echo $ECHO_N "(cached) $ECHO_C" >&6
98161 else
98162 if test x$gcc_no_link = xyes; then
98163 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98164 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98165 { (exit 1); exit 1; }; }
98167 cat >conftest.$ac_ext <<_ACEOF
98168 /* confdefs.h. */
98169 _ACEOF
98170 cat confdefs.h >>conftest.$ac_ext
98171 cat >>conftest.$ac_ext <<_ACEOF
98172 /* end confdefs.h. */
98173 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98174 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98175 #define $ac_func innocuous_$ac_func
98177 /* System header to define __stub macros and hopefully few prototypes,
98178 which can conflict with char $ac_func (); below.
98179 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98180 <limits.h> exists even on freestanding compilers. */
98182 #ifdef __STDC__
98183 # include <limits.h>
98184 #else
98185 # include <assert.h>
98186 #endif
98188 #undef $ac_func
98190 /* Override any gcc2 internal prototype to avoid an error. */
98191 #ifdef __cplusplus
98192 extern "C"
98194 #endif
98195 /* We use char because int might match the return type of a gcc2
98196 builtin and then its argument prototype would still apply. */
98197 char $ac_func ();
98198 /* The GNU C library defines this for functions which it implements
98199 to always fail with ENOSYS. Some functions are actually named
98200 something starting with __ and the normal name is an alias. */
98201 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98202 choke me
98203 #else
98204 char (*f) () = $ac_func;
98205 #endif
98206 #ifdef __cplusplus
98208 #endif
98211 main ()
98213 return f != $ac_func;
98215 return 0;
98217 _ACEOF
98218 rm -f conftest.$ac_objext conftest$ac_exeext
98219 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98220 (eval $ac_link) 2>conftest.er1
98221 ac_status=$?
98222 grep -v '^ *+' conftest.er1 >conftest.err
98223 rm -f conftest.er1
98224 cat conftest.err >&5
98225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98226 (exit $ac_status); } &&
98227 { ac_try='test -z "$ac_c_werror_flag"
98228 || test ! -s conftest.err'
98229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98230 (eval $ac_try) 2>&5
98231 ac_status=$?
98232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98233 (exit $ac_status); }; } &&
98234 { ac_try='test -s conftest$ac_exeext'
98235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98236 (eval $ac_try) 2>&5
98237 ac_status=$?
98238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98239 (exit $ac_status); }; }; then
98240 eval "$as_ac_var=yes"
98241 else
98242 echo "$as_me: failed program was:" >&5
98243 sed 's/^/| /' conftest.$ac_ext >&5
98245 eval "$as_ac_var=no"
98247 rm -f conftest.err conftest.$ac_objext \
98248 conftest$ac_exeext conftest.$ac_ext
98250 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98251 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98252 if test `eval echo '${'$as_ac_var'}'` = yes; then
98253 cat >>confdefs.h <<_ACEOF
98254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98255 _ACEOF
98258 done
98268 echo "$as_me:$LINENO: checking for float trig functions" >&5
98269 echo $ECHO_N "checking for float trig functions... $ECHO_C" >&6
98270 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then
98271 echo $ECHO_N "(cached) $ECHO_C" >&6
98272 else
98276 ac_ext=cc
98277 ac_cpp='$CXXCPP $CPPFLAGS'
98278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98282 cat >conftest.$ac_ext <<_ACEOF
98283 /* confdefs.h. */
98284 _ACEOF
98285 cat confdefs.h >>conftest.$ac_ext
98286 cat >>conftest.$ac_ext <<_ACEOF
98287 /* end confdefs.h. */
98288 #include <math.h>
98290 main ()
98292 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
98294 return 0;
98296 _ACEOF
98297 rm -f conftest.$ac_objext
98298 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98299 (eval $ac_compile) 2>conftest.er1
98300 ac_status=$?
98301 grep -v '^ *+' conftest.er1 >conftest.err
98302 rm -f conftest.er1
98303 cat conftest.err >&5
98304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98305 (exit $ac_status); } &&
98306 { ac_try='test -z "$ac_cxx_werror_flag"
98307 || test ! -s conftest.err'
98308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98309 (eval $ac_try) 2>&5
98310 ac_status=$?
98311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98312 (exit $ac_status); }; } &&
98313 { ac_try='test -s conftest.$ac_objext'
98314 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98315 (eval $ac_try) 2>&5
98316 ac_status=$?
98317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98318 (exit $ac_status); }; }; then
98319 glibcxx_cv_func_float_trig_use=yes
98320 else
98321 echo "$as_me: failed program was:" >&5
98322 sed 's/^/| /' conftest.$ac_ext >&5
98324 glibcxx_cv_func_float_trig_use=no
98326 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98327 ac_ext=c
98328 ac_cpp='$CPP $CPPFLAGS'
98329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98335 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_trig_use" >&5
98336 echo "${ECHO_T}$glibcxx_cv_func_float_trig_use" >&6
98337 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
98347 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
98349 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98350 echo "$as_me:$LINENO: checking for $ac_func" >&5
98351 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98352 if eval "test \"\${$as_ac_var+set}\" = set"; then
98353 echo $ECHO_N "(cached) $ECHO_C" >&6
98354 else
98355 if test x$gcc_no_link = xyes; then
98356 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98357 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98358 { (exit 1); exit 1; }; }
98360 cat >conftest.$ac_ext <<_ACEOF
98361 /* confdefs.h. */
98362 _ACEOF
98363 cat confdefs.h >>conftest.$ac_ext
98364 cat >>conftest.$ac_ext <<_ACEOF
98365 /* end confdefs.h. */
98366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98368 #define $ac_func innocuous_$ac_func
98370 /* System header to define __stub macros and hopefully few prototypes,
98371 which can conflict with char $ac_func (); below.
98372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98373 <limits.h> exists even on freestanding compilers. */
98375 #ifdef __STDC__
98376 # include <limits.h>
98377 #else
98378 # include <assert.h>
98379 #endif
98381 #undef $ac_func
98383 /* Override any gcc2 internal prototype to avoid an error. */
98384 #ifdef __cplusplus
98385 extern "C"
98387 #endif
98388 /* We use char because int might match the return type of a gcc2
98389 builtin and then its argument prototype would still apply. */
98390 char $ac_func ();
98391 /* The GNU C library defines this for functions which it implements
98392 to always fail with ENOSYS. Some functions are actually named
98393 something starting with __ and the normal name is an alias. */
98394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98395 choke me
98396 #else
98397 char (*f) () = $ac_func;
98398 #endif
98399 #ifdef __cplusplus
98401 #endif
98404 main ()
98406 return f != $ac_func;
98408 return 0;
98410 _ACEOF
98411 rm -f conftest.$ac_objext conftest$ac_exeext
98412 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98413 (eval $ac_link) 2>conftest.er1
98414 ac_status=$?
98415 grep -v '^ *+' conftest.er1 >conftest.err
98416 rm -f conftest.er1
98417 cat conftest.err >&5
98418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98419 (exit $ac_status); } &&
98420 { ac_try='test -z "$ac_c_werror_flag"
98421 || test ! -s conftest.err'
98422 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98423 (eval $ac_try) 2>&5
98424 ac_status=$?
98425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98426 (exit $ac_status); }; } &&
98427 { ac_try='test -s conftest$ac_exeext'
98428 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98429 (eval $ac_try) 2>&5
98430 ac_status=$?
98431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98432 (exit $ac_status); }; }; then
98433 eval "$as_ac_var=yes"
98434 else
98435 echo "$as_me: failed program was:" >&5
98436 sed 's/^/| /' conftest.$ac_ext >&5
98438 eval "$as_ac_var=no"
98440 rm -f conftest.err conftest.$ac_objext \
98441 conftest$ac_exeext conftest.$ac_ext
98443 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98444 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98445 if test `eval echo '${'$as_ac_var'}'` = yes; then
98446 cat >>confdefs.h <<_ACEOF
98447 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98448 _ACEOF
98451 done
98453 else
98454 echo "$as_me:$LINENO: checking for _float trig functions" >&5
98455 echo $ECHO_N "checking for _float trig functions... $ECHO_C" >&6
98456 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then
98457 echo $ECHO_N "(cached) $ECHO_C" >&6
98458 else
98462 ac_ext=cc
98463 ac_cpp='$CXXCPP $CPPFLAGS'
98464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98468 cat >conftest.$ac_ext <<_ACEOF
98469 /* confdefs.h. */
98470 _ACEOF
98471 cat confdefs.h >>conftest.$ac_ext
98472 cat >>conftest.$ac_ext <<_ACEOF
98473 /* end confdefs.h. */
98474 #include <math.h>
98476 main ()
98478 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
98480 return 0;
98482 _ACEOF
98483 rm -f conftest.$ac_objext
98484 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98485 (eval $ac_compile) 2>conftest.er1
98486 ac_status=$?
98487 grep -v '^ *+' conftest.er1 >conftest.err
98488 rm -f conftest.er1
98489 cat conftest.err >&5
98490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98491 (exit $ac_status); } &&
98492 { ac_try='test -z "$ac_cxx_werror_flag"
98493 || test ! -s conftest.err'
98494 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98495 (eval $ac_try) 2>&5
98496 ac_status=$?
98497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98498 (exit $ac_status); }; } &&
98499 { ac_try='test -s conftest.$ac_objext'
98500 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98501 (eval $ac_try) 2>&5
98502 ac_status=$?
98503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98504 (exit $ac_status); }; }; then
98505 glibcxx_cv_func__float_trig_use=yes
98506 else
98507 echo "$as_me: failed program was:" >&5
98508 sed 's/^/| /' conftest.$ac_ext >&5
98510 glibcxx_cv_func__float_trig_use=no
98512 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98513 ac_ext=c
98514 ac_cpp='$CPP $CPPFLAGS'
98515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98521 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_trig_use" >&5
98522 echo "${ECHO_T}$glibcxx_cv_func__float_trig_use" >&6
98523 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
98533 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
98535 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98536 echo "$as_me:$LINENO: checking for $ac_func" >&5
98537 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98538 if eval "test \"\${$as_ac_var+set}\" = set"; then
98539 echo $ECHO_N "(cached) $ECHO_C" >&6
98540 else
98541 if test x$gcc_no_link = xyes; then
98542 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98543 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98544 { (exit 1); exit 1; }; }
98546 cat >conftest.$ac_ext <<_ACEOF
98547 /* confdefs.h. */
98548 _ACEOF
98549 cat confdefs.h >>conftest.$ac_ext
98550 cat >>conftest.$ac_ext <<_ACEOF
98551 /* end confdefs.h. */
98552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98554 #define $ac_func innocuous_$ac_func
98556 /* System header to define __stub macros and hopefully few prototypes,
98557 which can conflict with char $ac_func (); below.
98558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98559 <limits.h> exists even on freestanding compilers. */
98561 #ifdef __STDC__
98562 # include <limits.h>
98563 #else
98564 # include <assert.h>
98565 #endif
98567 #undef $ac_func
98569 /* Override any gcc2 internal prototype to avoid an error. */
98570 #ifdef __cplusplus
98571 extern "C"
98573 #endif
98574 /* We use char because int might match the return type of a gcc2
98575 builtin and then its argument prototype would still apply. */
98576 char $ac_func ();
98577 /* The GNU C library defines this for functions which it implements
98578 to always fail with ENOSYS. Some functions are actually named
98579 something starting with __ and the normal name is an alias. */
98580 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98581 choke me
98582 #else
98583 char (*f) () = $ac_func;
98584 #endif
98585 #ifdef __cplusplus
98587 #endif
98590 main ()
98592 return f != $ac_func;
98594 return 0;
98596 _ACEOF
98597 rm -f conftest.$ac_objext conftest$ac_exeext
98598 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98599 (eval $ac_link) 2>conftest.er1
98600 ac_status=$?
98601 grep -v '^ *+' conftest.er1 >conftest.err
98602 rm -f conftest.er1
98603 cat conftest.err >&5
98604 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98605 (exit $ac_status); } &&
98606 { ac_try='test -z "$ac_c_werror_flag"
98607 || test ! -s conftest.err'
98608 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98609 (eval $ac_try) 2>&5
98610 ac_status=$?
98611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98612 (exit $ac_status); }; } &&
98613 { ac_try='test -s conftest$ac_exeext'
98614 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98615 (eval $ac_try) 2>&5
98616 ac_status=$?
98617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98618 (exit $ac_status); }; }; then
98619 eval "$as_ac_var=yes"
98620 else
98621 echo "$as_me: failed program was:" >&5
98622 sed 's/^/| /' conftest.$ac_ext >&5
98624 eval "$as_ac_var=no"
98626 rm -f conftest.err conftest.$ac_objext \
98627 conftest$ac_exeext conftest.$ac_ext
98629 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98630 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98631 if test `eval echo '${'$as_ac_var'}'` = yes; then
98632 cat >>confdefs.h <<_ACEOF
98633 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98634 _ACEOF
98637 done
98655 echo "$as_me:$LINENO: checking for float round functions" >&5
98656 echo $ECHO_N "checking for float round functions... $ECHO_C" >&6
98657 if test "${glibcxx_cv_func_float_round_use+set}" = set; then
98658 echo $ECHO_N "(cached) $ECHO_C" >&6
98659 else
98663 ac_ext=cc
98664 ac_cpp='$CXXCPP $CPPFLAGS'
98665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98669 cat >conftest.$ac_ext <<_ACEOF
98670 /* confdefs.h. */
98671 _ACEOF
98672 cat confdefs.h >>conftest.$ac_ext
98673 cat >>conftest.$ac_ext <<_ACEOF
98674 /* end confdefs.h. */
98675 #include <math.h>
98677 main ()
98679 ceilf (0); floorf (0);
98681 return 0;
98683 _ACEOF
98684 rm -f conftest.$ac_objext
98685 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98686 (eval $ac_compile) 2>conftest.er1
98687 ac_status=$?
98688 grep -v '^ *+' conftest.er1 >conftest.err
98689 rm -f conftest.er1
98690 cat conftest.err >&5
98691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98692 (exit $ac_status); } &&
98693 { ac_try='test -z "$ac_cxx_werror_flag"
98694 || test ! -s conftest.err'
98695 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98696 (eval $ac_try) 2>&5
98697 ac_status=$?
98698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98699 (exit $ac_status); }; } &&
98700 { ac_try='test -s conftest.$ac_objext'
98701 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98702 (eval $ac_try) 2>&5
98703 ac_status=$?
98704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98705 (exit $ac_status); }; }; then
98706 glibcxx_cv_func_float_round_use=yes
98707 else
98708 echo "$as_me: failed program was:" >&5
98709 sed 's/^/| /' conftest.$ac_ext >&5
98711 glibcxx_cv_func_float_round_use=no
98713 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98714 ac_ext=c
98715 ac_cpp='$CPP $CPPFLAGS'
98716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98722 echo "$as_me:$LINENO: result: $glibcxx_cv_func_float_round_use" >&5
98723 echo "${ECHO_T}$glibcxx_cv_func_float_round_use" >&6
98724 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
98727 for ac_func in ceilf floorf
98729 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98730 echo "$as_me:$LINENO: checking for $ac_func" >&5
98731 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98732 if eval "test \"\${$as_ac_var+set}\" = set"; then
98733 echo $ECHO_N "(cached) $ECHO_C" >&6
98734 else
98735 if test x$gcc_no_link = xyes; then
98736 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98737 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98738 { (exit 1); exit 1; }; }
98740 cat >conftest.$ac_ext <<_ACEOF
98741 /* confdefs.h. */
98742 _ACEOF
98743 cat confdefs.h >>conftest.$ac_ext
98744 cat >>conftest.$ac_ext <<_ACEOF
98745 /* end confdefs.h. */
98746 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98747 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98748 #define $ac_func innocuous_$ac_func
98750 /* System header to define __stub macros and hopefully few prototypes,
98751 which can conflict with char $ac_func (); below.
98752 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98753 <limits.h> exists even on freestanding compilers. */
98755 #ifdef __STDC__
98756 # include <limits.h>
98757 #else
98758 # include <assert.h>
98759 #endif
98761 #undef $ac_func
98763 /* Override any gcc2 internal prototype to avoid an error. */
98764 #ifdef __cplusplus
98765 extern "C"
98767 #endif
98768 /* We use char because int might match the return type of a gcc2
98769 builtin and then its argument prototype would still apply. */
98770 char $ac_func ();
98771 /* The GNU C library defines this for functions which it implements
98772 to always fail with ENOSYS. Some functions are actually named
98773 something starting with __ and the normal name is an alias. */
98774 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98775 choke me
98776 #else
98777 char (*f) () = $ac_func;
98778 #endif
98779 #ifdef __cplusplus
98781 #endif
98784 main ()
98786 return f != $ac_func;
98788 return 0;
98790 _ACEOF
98791 rm -f conftest.$ac_objext conftest$ac_exeext
98792 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98793 (eval $ac_link) 2>conftest.er1
98794 ac_status=$?
98795 grep -v '^ *+' conftest.er1 >conftest.err
98796 rm -f conftest.er1
98797 cat conftest.err >&5
98798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98799 (exit $ac_status); } &&
98800 { ac_try='test -z "$ac_c_werror_flag"
98801 || test ! -s conftest.err'
98802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98803 (eval $ac_try) 2>&5
98804 ac_status=$?
98805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98806 (exit $ac_status); }; } &&
98807 { ac_try='test -s conftest$ac_exeext'
98808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98809 (eval $ac_try) 2>&5
98810 ac_status=$?
98811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98812 (exit $ac_status); }; }; then
98813 eval "$as_ac_var=yes"
98814 else
98815 echo "$as_me: failed program was:" >&5
98816 sed 's/^/| /' conftest.$ac_ext >&5
98818 eval "$as_ac_var=no"
98820 rm -f conftest.err conftest.$ac_objext \
98821 conftest$ac_exeext conftest.$ac_ext
98823 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
98824 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
98825 if test `eval echo '${'$as_ac_var'}'` = yes; then
98826 cat >>confdefs.h <<_ACEOF
98827 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
98828 _ACEOF
98831 done
98833 else
98834 echo "$as_me:$LINENO: checking for _float round functions" >&5
98835 echo $ECHO_N "checking for _float round functions... $ECHO_C" >&6
98836 if test "${glibcxx_cv_func__float_round_use+set}" = set; then
98837 echo $ECHO_N "(cached) $ECHO_C" >&6
98838 else
98842 ac_ext=cc
98843 ac_cpp='$CXXCPP $CPPFLAGS'
98844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
98848 cat >conftest.$ac_ext <<_ACEOF
98849 /* confdefs.h. */
98850 _ACEOF
98851 cat confdefs.h >>conftest.$ac_ext
98852 cat >>conftest.$ac_ext <<_ACEOF
98853 /* end confdefs.h. */
98854 #include <math.h>
98856 main ()
98858 _ceilf (0); _floorf (0);
98860 return 0;
98862 _ACEOF
98863 rm -f conftest.$ac_objext
98864 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
98865 (eval $ac_compile) 2>conftest.er1
98866 ac_status=$?
98867 grep -v '^ *+' conftest.er1 >conftest.err
98868 rm -f conftest.er1
98869 cat conftest.err >&5
98870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98871 (exit $ac_status); } &&
98872 { ac_try='test -z "$ac_cxx_werror_flag"
98873 || test ! -s conftest.err'
98874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98875 (eval $ac_try) 2>&5
98876 ac_status=$?
98877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98878 (exit $ac_status); }; } &&
98879 { ac_try='test -s conftest.$ac_objext'
98880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98881 (eval $ac_try) 2>&5
98882 ac_status=$?
98883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98884 (exit $ac_status); }; }; then
98885 glibcxx_cv_func__float_round_use=yes
98886 else
98887 echo "$as_me: failed program was:" >&5
98888 sed 's/^/| /' conftest.$ac_ext >&5
98890 glibcxx_cv_func__float_round_use=no
98892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
98893 ac_ext=c
98894 ac_cpp='$CPP $CPPFLAGS'
98895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
98896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
98897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
98901 echo "$as_me:$LINENO: result: $glibcxx_cv_func__float_round_use" >&5
98902 echo "${ECHO_T}$glibcxx_cv_func__float_round_use" >&6
98903 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
98906 for ac_func in _ceilf _floorf
98908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
98909 echo "$as_me:$LINENO: checking for $ac_func" >&5
98910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
98911 if eval "test \"\${$as_ac_var+set}\" = set"; then
98912 echo $ECHO_N "(cached) $ECHO_C" >&6
98913 else
98914 if test x$gcc_no_link = xyes; then
98915 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
98916 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
98917 { (exit 1); exit 1; }; }
98919 cat >conftest.$ac_ext <<_ACEOF
98920 /* confdefs.h. */
98921 _ACEOF
98922 cat confdefs.h >>conftest.$ac_ext
98923 cat >>conftest.$ac_ext <<_ACEOF
98924 /* end confdefs.h. */
98925 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
98926 For example, HP-UX 11i <limits.h> declares gettimeofday. */
98927 #define $ac_func innocuous_$ac_func
98929 /* System header to define __stub macros and hopefully few prototypes,
98930 which can conflict with char $ac_func (); below.
98931 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
98932 <limits.h> exists even on freestanding compilers. */
98934 #ifdef __STDC__
98935 # include <limits.h>
98936 #else
98937 # include <assert.h>
98938 #endif
98940 #undef $ac_func
98942 /* Override any gcc2 internal prototype to avoid an error. */
98943 #ifdef __cplusplus
98944 extern "C"
98946 #endif
98947 /* We use char because int might match the return type of a gcc2
98948 builtin and then its argument prototype would still apply. */
98949 char $ac_func ();
98950 /* The GNU C library defines this for functions which it implements
98951 to always fail with ENOSYS. Some functions are actually named
98952 something starting with __ and the normal name is an alias. */
98953 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
98954 choke me
98955 #else
98956 char (*f) () = $ac_func;
98957 #endif
98958 #ifdef __cplusplus
98960 #endif
98963 main ()
98965 return f != $ac_func;
98967 return 0;
98969 _ACEOF
98970 rm -f conftest.$ac_objext conftest$ac_exeext
98971 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
98972 (eval $ac_link) 2>conftest.er1
98973 ac_status=$?
98974 grep -v '^ *+' conftest.er1 >conftest.err
98975 rm -f conftest.er1
98976 cat conftest.err >&5
98977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98978 (exit $ac_status); } &&
98979 { ac_try='test -z "$ac_c_werror_flag"
98980 || test ! -s conftest.err'
98981 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98982 (eval $ac_try) 2>&5
98983 ac_status=$?
98984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98985 (exit $ac_status); }; } &&
98986 { ac_try='test -s conftest$ac_exeext'
98987 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
98988 (eval $ac_try) 2>&5
98989 ac_status=$?
98990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
98991 (exit $ac_status); }; }; then
98992 eval "$as_ac_var=yes"
98993 else
98994 echo "$as_me: failed program was:" >&5
98995 sed 's/^/| /' conftest.$ac_ext >&5
98997 eval "$as_ac_var=no"
98999 rm -f conftest.err conftest.$ac_objext \
99000 conftest$ac_exeext conftest.$ac_ext
99002 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99003 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99004 if test `eval echo '${'$as_ac_var'}'` = yes; then
99005 cat >>confdefs.h <<_ACEOF
99006 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99007 _ACEOF
99010 done
99022 echo "$as_me:$LINENO: checking for expf declaration" >&5
99023 echo $ECHO_N "checking for expf declaration... $ECHO_C" >&6
99024 if test x${glibcxx_cv_func_expf_use+set} != xset; then
99025 if test "${glibcxx_cv_func_expf_use+set}" = set; then
99026 echo $ECHO_N "(cached) $ECHO_C" >&6
99027 else
99031 ac_ext=cc
99032 ac_cpp='$CXXCPP $CPPFLAGS'
99033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99037 cat >conftest.$ac_ext <<_ACEOF
99038 /* confdefs.h. */
99039 _ACEOF
99040 cat confdefs.h >>conftest.$ac_ext
99041 cat >>conftest.$ac_ext <<_ACEOF
99042 /* end confdefs.h. */
99043 #include <math.h>
99044 #ifdef HAVE_IEEEFP_H
99045 #include <ieeefp.h>
99046 #endif
99049 main ()
99051 expf(0);
99053 return 0;
99055 _ACEOF
99056 rm -f conftest.$ac_objext
99057 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99058 (eval $ac_compile) 2>conftest.er1
99059 ac_status=$?
99060 grep -v '^ *+' conftest.er1 >conftest.err
99061 rm -f conftest.er1
99062 cat conftest.err >&5
99063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99064 (exit $ac_status); } &&
99065 { ac_try='test -z "$ac_cxx_werror_flag"
99066 || test ! -s conftest.err'
99067 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99068 (eval $ac_try) 2>&5
99069 ac_status=$?
99070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99071 (exit $ac_status); }; } &&
99072 { ac_try='test -s conftest.$ac_objext'
99073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99074 (eval $ac_try) 2>&5
99075 ac_status=$?
99076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99077 (exit $ac_status); }; }; then
99078 glibcxx_cv_func_expf_use=yes
99079 else
99080 echo "$as_me: failed program was:" >&5
99081 sed 's/^/| /' conftest.$ac_ext >&5
99083 glibcxx_cv_func_expf_use=no
99085 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99086 ac_ext=c
99087 ac_cpp='$CPP $CPPFLAGS'
99088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99096 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expf_use" >&5
99097 echo "${ECHO_T}$glibcxx_cv_func_expf_use" >&6
99099 if test x$glibcxx_cv_func_expf_use = x"yes"; then
99101 for ac_func in expf
99103 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99104 echo "$as_me:$LINENO: checking for $ac_func" >&5
99105 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99106 if eval "test \"\${$as_ac_var+set}\" = set"; then
99107 echo $ECHO_N "(cached) $ECHO_C" >&6
99108 else
99109 if test x$gcc_no_link = xyes; then
99110 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99111 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99112 { (exit 1); exit 1; }; }
99114 cat >conftest.$ac_ext <<_ACEOF
99115 /* confdefs.h. */
99116 _ACEOF
99117 cat confdefs.h >>conftest.$ac_ext
99118 cat >>conftest.$ac_ext <<_ACEOF
99119 /* end confdefs.h. */
99120 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99121 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99122 #define $ac_func innocuous_$ac_func
99124 /* System header to define __stub macros and hopefully few prototypes,
99125 which can conflict with char $ac_func (); below.
99126 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99127 <limits.h> exists even on freestanding compilers. */
99129 #ifdef __STDC__
99130 # include <limits.h>
99131 #else
99132 # include <assert.h>
99133 #endif
99135 #undef $ac_func
99137 /* Override any gcc2 internal prototype to avoid an error. */
99138 #ifdef __cplusplus
99139 extern "C"
99141 #endif
99142 /* We use char because int might match the return type of a gcc2
99143 builtin and then its argument prototype would still apply. */
99144 char $ac_func ();
99145 /* The GNU C library defines this for functions which it implements
99146 to always fail with ENOSYS. Some functions are actually named
99147 something starting with __ and the normal name is an alias. */
99148 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99149 choke me
99150 #else
99151 char (*f) () = $ac_func;
99152 #endif
99153 #ifdef __cplusplus
99155 #endif
99158 main ()
99160 return f != $ac_func;
99162 return 0;
99164 _ACEOF
99165 rm -f conftest.$ac_objext conftest$ac_exeext
99166 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99167 (eval $ac_link) 2>conftest.er1
99168 ac_status=$?
99169 grep -v '^ *+' conftest.er1 >conftest.err
99170 rm -f conftest.er1
99171 cat conftest.err >&5
99172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99173 (exit $ac_status); } &&
99174 { ac_try='test -z "$ac_c_werror_flag"
99175 || test ! -s conftest.err'
99176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99177 (eval $ac_try) 2>&5
99178 ac_status=$?
99179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99180 (exit $ac_status); }; } &&
99181 { ac_try='test -s conftest$ac_exeext'
99182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99183 (eval $ac_try) 2>&5
99184 ac_status=$?
99185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99186 (exit $ac_status); }; }; then
99187 eval "$as_ac_var=yes"
99188 else
99189 echo "$as_me: failed program was:" >&5
99190 sed 's/^/| /' conftest.$ac_ext >&5
99192 eval "$as_ac_var=no"
99194 rm -f conftest.err conftest.$ac_objext \
99195 conftest$ac_exeext conftest.$ac_ext
99197 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99198 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99199 if test `eval echo '${'$as_ac_var'}'` = yes; then
99200 cat >>confdefs.h <<_ACEOF
99201 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99202 _ACEOF
99205 done
99207 else
99209 echo "$as_me:$LINENO: checking for _expf declaration" >&5
99210 echo $ECHO_N "checking for _expf declaration... $ECHO_C" >&6
99211 if test x${glibcxx_cv_func__expf_use+set} != xset; then
99212 if test "${glibcxx_cv_func__expf_use+set}" = set; then
99213 echo $ECHO_N "(cached) $ECHO_C" >&6
99214 else
99218 ac_ext=cc
99219 ac_cpp='$CXXCPP $CPPFLAGS'
99220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99224 cat >conftest.$ac_ext <<_ACEOF
99225 /* confdefs.h. */
99226 _ACEOF
99227 cat confdefs.h >>conftest.$ac_ext
99228 cat >>conftest.$ac_ext <<_ACEOF
99229 /* end confdefs.h. */
99230 #include <math.h>
99231 #ifdef HAVE_IEEEFP_H
99232 #include <ieeefp.h>
99233 #endif
99236 main ()
99238 _expf(0);
99240 return 0;
99242 _ACEOF
99243 rm -f conftest.$ac_objext
99244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99245 (eval $ac_compile) 2>conftest.er1
99246 ac_status=$?
99247 grep -v '^ *+' conftest.er1 >conftest.err
99248 rm -f conftest.er1
99249 cat conftest.err >&5
99250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99251 (exit $ac_status); } &&
99252 { ac_try='test -z "$ac_cxx_werror_flag"
99253 || test ! -s conftest.err'
99254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99255 (eval $ac_try) 2>&5
99256 ac_status=$?
99257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99258 (exit $ac_status); }; } &&
99259 { ac_try='test -s conftest.$ac_objext'
99260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99261 (eval $ac_try) 2>&5
99262 ac_status=$?
99263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99264 (exit $ac_status); }; }; then
99265 glibcxx_cv_func__expf_use=yes
99266 else
99267 echo "$as_me: failed program was:" >&5
99268 sed 's/^/| /' conftest.$ac_ext >&5
99270 glibcxx_cv_func__expf_use=no
99272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99273 ac_ext=c
99274 ac_cpp='$CPP $CPPFLAGS'
99275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expf_use" >&5
99284 echo "${ECHO_T}$glibcxx_cv_func__expf_use" >&6
99286 if test x$glibcxx_cv_func__expf_use = x"yes"; then
99288 for ac_func in _expf
99290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99291 echo "$as_me:$LINENO: checking for $ac_func" >&5
99292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99293 if eval "test \"\${$as_ac_var+set}\" = set"; then
99294 echo $ECHO_N "(cached) $ECHO_C" >&6
99295 else
99296 if test x$gcc_no_link = xyes; then
99297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99299 { (exit 1); exit 1; }; }
99301 cat >conftest.$ac_ext <<_ACEOF
99302 /* confdefs.h. */
99303 _ACEOF
99304 cat confdefs.h >>conftest.$ac_ext
99305 cat >>conftest.$ac_ext <<_ACEOF
99306 /* end confdefs.h. */
99307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99309 #define $ac_func innocuous_$ac_func
99311 /* System header to define __stub macros and hopefully few prototypes,
99312 which can conflict with char $ac_func (); below.
99313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99314 <limits.h> exists even on freestanding compilers. */
99316 #ifdef __STDC__
99317 # include <limits.h>
99318 #else
99319 # include <assert.h>
99320 #endif
99322 #undef $ac_func
99324 /* Override any gcc2 internal prototype to avoid an error. */
99325 #ifdef __cplusplus
99326 extern "C"
99328 #endif
99329 /* We use char because int might match the return type of a gcc2
99330 builtin and then its argument prototype would still apply. */
99331 char $ac_func ();
99332 /* The GNU C library defines this for functions which it implements
99333 to always fail with ENOSYS. Some functions are actually named
99334 something starting with __ and the normal name is an alias. */
99335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99336 choke me
99337 #else
99338 char (*f) () = $ac_func;
99339 #endif
99340 #ifdef __cplusplus
99342 #endif
99345 main ()
99347 return f != $ac_func;
99349 return 0;
99351 _ACEOF
99352 rm -f conftest.$ac_objext conftest$ac_exeext
99353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99354 (eval $ac_link) 2>conftest.er1
99355 ac_status=$?
99356 grep -v '^ *+' conftest.er1 >conftest.err
99357 rm -f conftest.er1
99358 cat conftest.err >&5
99359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99360 (exit $ac_status); } &&
99361 { ac_try='test -z "$ac_c_werror_flag"
99362 || test ! -s conftest.err'
99363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99364 (eval $ac_try) 2>&5
99365 ac_status=$?
99366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99367 (exit $ac_status); }; } &&
99368 { ac_try='test -s conftest$ac_exeext'
99369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99370 (eval $ac_try) 2>&5
99371 ac_status=$?
99372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99373 (exit $ac_status); }; }; then
99374 eval "$as_ac_var=yes"
99375 else
99376 echo "$as_me: failed program was:" >&5
99377 sed 's/^/| /' conftest.$ac_ext >&5
99379 eval "$as_ac_var=no"
99381 rm -f conftest.err conftest.$ac_objext \
99382 conftest$ac_exeext conftest.$ac_ext
99384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99386 if test `eval echo '${'$as_ac_var'}'` = yes; then
99387 cat >>confdefs.h <<_ACEOF
99388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99389 _ACEOF
99392 done
99402 echo "$as_me:$LINENO: checking for isnanf declaration" >&5
99403 echo $ECHO_N "checking for isnanf declaration... $ECHO_C" >&6
99404 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
99405 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then
99406 echo $ECHO_N "(cached) $ECHO_C" >&6
99407 else
99411 ac_ext=cc
99412 ac_cpp='$CXXCPP $CPPFLAGS'
99413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99417 cat >conftest.$ac_ext <<_ACEOF
99418 /* confdefs.h. */
99419 _ACEOF
99420 cat confdefs.h >>conftest.$ac_ext
99421 cat >>conftest.$ac_ext <<_ACEOF
99422 /* end confdefs.h. */
99423 #include <math.h>
99424 #ifdef HAVE_IEEEFP_H
99425 #include <ieeefp.h>
99426 #endif
99429 main ()
99431 isnanf(0);
99433 return 0;
99435 _ACEOF
99436 rm -f conftest.$ac_objext
99437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99438 (eval $ac_compile) 2>conftest.er1
99439 ac_status=$?
99440 grep -v '^ *+' conftest.er1 >conftest.err
99441 rm -f conftest.er1
99442 cat conftest.err >&5
99443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99444 (exit $ac_status); } &&
99445 { ac_try='test -z "$ac_cxx_werror_flag"
99446 || test ! -s conftest.err'
99447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99448 (eval $ac_try) 2>&5
99449 ac_status=$?
99450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99451 (exit $ac_status); }; } &&
99452 { ac_try='test -s conftest.$ac_objext'
99453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99454 (eval $ac_try) 2>&5
99455 ac_status=$?
99456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99457 (exit $ac_status); }; }; then
99458 glibcxx_cv_func_isnanf_use=yes
99459 else
99460 echo "$as_me: failed program was:" >&5
99461 sed 's/^/| /' conftest.$ac_ext >&5
99463 glibcxx_cv_func_isnanf_use=no
99465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99466 ac_ext=c
99467 ac_cpp='$CPP $CPPFLAGS'
99468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanf_use" >&5
99477 echo "${ECHO_T}$glibcxx_cv_func_isnanf_use" >&6
99479 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
99481 for ac_func in isnanf
99483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99484 echo "$as_me:$LINENO: checking for $ac_func" >&5
99485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99486 if eval "test \"\${$as_ac_var+set}\" = set"; then
99487 echo $ECHO_N "(cached) $ECHO_C" >&6
99488 else
99489 if test x$gcc_no_link = xyes; then
99490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99492 { (exit 1); exit 1; }; }
99494 cat >conftest.$ac_ext <<_ACEOF
99495 /* confdefs.h. */
99496 _ACEOF
99497 cat confdefs.h >>conftest.$ac_ext
99498 cat >>conftest.$ac_ext <<_ACEOF
99499 /* end confdefs.h. */
99500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99502 #define $ac_func innocuous_$ac_func
99504 /* System header to define __stub macros and hopefully few prototypes,
99505 which can conflict with char $ac_func (); below.
99506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99507 <limits.h> exists even on freestanding compilers. */
99509 #ifdef __STDC__
99510 # include <limits.h>
99511 #else
99512 # include <assert.h>
99513 #endif
99515 #undef $ac_func
99517 /* Override any gcc2 internal prototype to avoid an error. */
99518 #ifdef __cplusplus
99519 extern "C"
99521 #endif
99522 /* We use char because int might match the return type of a gcc2
99523 builtin and then its argument prototype would still apply. */
99524 char $ac_func ();
99525 /* The GNU C library defines this for functions which it implements
99526 to always fail with ENOSYS. Some functions are actually named
99527 something starting with __ and the normal name is an alias. */
99528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99529 choke me
99530 #else
99531 char (*f) () = $ac_func;
99532 #endif
99533 #ifdef __cplusplus
99535 #endif
99538 main ()
99540 return f != $ac_func;
99542 return 0;
99544 _ACEOF
99545 rm -f conftest.$ac_objext conftest$ac_exeext
99546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99547 (eval $ac_link) 2>conftest.er1
99548 ac_status=$?
99549 grep -v '^ *+' conftest.er1 >conftest.err
99550 rm -f conftest.er1
99551 cat conftest.err >&5
99552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99553 (exit $ac_status); } &&
99554 { ac_try='test -z "$ac_c_werror_flag"
99555 || test ! -s conftest.err'
99556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99557 (eval $ac_try) 2>&5
99558 ac_status=$?
99559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99560 (exit $ac_status); }; } &&
99561 { ac_try='test -s conftest$ac_exeext'
99562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99563 (eval $ac_try) 2>&5
99564 ac_status=$?
99565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99566 (exit $ac_status); }; }; then
99567 eval "$as_ac_var=yes"
99568 else
99569 echo "$as_me: failed program was:" >&5
99570 sed 's/^/| /' conftest.$ac_ext >&5
99572 eval "$as_ac_var=no"
99574 rm -f conftest.err conftest.$ac_objext \
99575 conftest$ac_exeext conftest.$ac_ext
99577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99579 if test `eval echo '${'$as_ac_var'}'` = yes; then
99580 cat >>confdefs.h <<_ACEOF
99581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99582 _ACEOF
99585 done
99587 else
99589 echo "$as_me:$LINENO: checking for _isnanf declaration" >&5
99590 echo $ECHO_N "checking for _isnanf declaration... $ECHO_C" >&6
99591 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
99592 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then
99593 echo $ECHO_N "(cached) $ECHO_C" >&6
99594 else
99598 ac_ext=cc
99599 ac_cpp='$CXXCPP $CPPFLAGS'
99600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99604 cat >conftest.$ac_ext <<_ACEOF
99605 /* confdefs.h. */
99606 _ACEOF
99607 cat confdefs.h >>conftest.$ac_ext
99608 cat >>conftest.$ac_ext <<_ACEOF
99609 /* end confdefs.h. */
99610 #include <math.h>
99611 #ifdef HAVE_IEEEFP_H
99612 #include <ieeefp.h>
99613 #endif
99616 main ()
99618 _isnanf(0);
99620 return 0;
99622 _ACEOF
99623 rm -f conftest.$ac_objext
99624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99625 (eval $ac_compile) 2>conftest.er1
99626 ac_status=$?
99627 grep -v '^ *+' conftest.er1 >conftest.err
99628 rm -f conftest.er1
99629 cat conftest.err >&5
99630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99631 (exit $ac_status); } &&
99632 { ac_try='test -z "$ac_cxx_werror_flag"
99633 || test ! -s conftest.err'
99634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99635 (eval $ac_try) 2>&5
99636 ac_status=$?
99637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99638 (exit $ac_status); }; } &&
99639 { ac_try='test -s conftest.$ac_objext'
99640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99641 (eval $ac_try) 2>&5
99642 ac_status=$?
99643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99644 (exit $ac_status); }; }; then
99645 glibcxx_cv_func__isnanf_use=yes
99646 else
99647 echo "$as_me: failed program was:" >&5
99648 sed 's/^/| /' conftest.$ac_ext >&5
99650 glibcxx_cv_func__isnanf_use=no
99652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99653 ac_ext=c
99654 ac_cpp='$CPP $CPPFLAGS'
99655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanf_use" >&5
99664 echo "${ECHO_T}$glibcxx_cv_func__isnanf_use" >&6
99666 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
99668 for ac_func in _isnanf
99670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99671 echo "$as_me:$LINENO: checking for $ac_func" >&5
99672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99673 if eval "test \"\${$as_ac_var+set}\" = set"; then
99674 echo $ECHO_N "(cached) $ECHO_C" >&6
99675 else
99676 if test x$gcc_no_link = xyes; then
99677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99679 { (exit 1); exit 1; }; }
99681 cat >conftest.$ac_ext <<_ACEOF
99682 /* confdefs.h. */
99683 _ACEOF
99684 cat confdefs.h >>conftest.$ac_ext
99685 cat >>conftest.$ac_ext <<_ACEOF
99686 /* end confdefs.h. */
99687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99689 #define $ac_func innocuous_$ac_func
99691 /* System header to define __stub macros and hopefully few prototypes,
99692 which can conflict with char $ac_func (); below.
99693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99694 <limits.h> exists even on freestanding compilers. */
99696 #ifdef __STDC__
99697 # include <limits.h>
99698 #else
99699 # include <assert.h>
99700 #endif
99702 #undef $ac_func
99704 /* Override any gcc2 internal prototype to avoid an error. */
99705 #ifdef __cplusplus
99706 extern "C"
99708 #endif
99709 /* We use char because int might match the return type of a gcc2
99710 builtin and then its argument prototype would still apply. */
99711 char $ac_func ();
99712 /* The GNU C library defines this for functions which it implements
99713 to always fail with ENOSYS. Some functions are actually named
99714 something starting with __ and the normal name is an alias. */
99715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99716 choke me
99717 #else
99718 char (*f) () = $ac_func;
99719 #endif
99720 #ifdef __cplusplus
99722 #endif
99725 main ()
99727 return f != $ac_func;
99729 return 0;
99731 _ACEOF
99732 rm -f conftest.$ac_objext conftest$ac_exeext
99733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99734 (eval $ac_link) 2>conftest.er1
99735 ac_status=$?
99736 grep -v '^ *+' conftest.er1 >conftest.err
99737 rm -f conftest.er1
99738 cat conftest.err >&5
99739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99740 (exit $ac_status); } &&
99741 { ac_try='test -z "$ac_c_werror_flag"
99742 || test ! -s conftest.err'
99743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99744 (eval $ac_try) 2>&5
99745 ac_status=$?
99746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99747 (exit $ac_status); }; } &&
99748 { ac_try='test -s conftest$ac_exeext'
99749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99750 (eval $ac_try) 2>&5
99751 ac_status=$?
99752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99753 (exit $ac_status); }; }; then
99754 eval "$as_ac_var=yes"
99755 else
99756 echo "$as_me: failed program was:" >&5
99757 sed 's/^/| /' conftest.$ac_ext >&5
99759 eval "$as_ac_var=no"
99761 rm -f conftest.err conftest.$ac_objext \
99762 conftest$ac_exeext conftest.$ac_ext
99764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99766 if test `eval echo '${'$as_ac_var'}'` = yes; then
99767 cat >>confdefs.h <<_ACEOF
99768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99769 _ACEOF
99772 done
99782 echo "$as_me:$LINENO: checking for isinff declaration" >&5
99783 echo $ECHO_N "checking for isinff declaration... $ECHO_C" >&6
99784 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
99785 if test "${glibcxx_cv_func_isinff_use+set}" = set; then
99786 echo $ECHO_N "(cached) $ECHO_C" >&6
99787 else
99791 ac_ext=cc
99792 ac_cpp='$CXXCPP $CPPFLAGS'
99793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99797 cat >conftest.$ac_ext <<_ACEOF
99798 /* confdefs.h. */
99799 _ACEOF
99800 cat confdefs.h >>conftest.$ac_ext
99801 cat >>conftest.$ac_ext <<_ACEOF
99802 /* end confdefs.h. */
99803 #include <math.h>
99804 #ifdef HAVE_IEEEFP_H
99805 #include <ieeefp.h>
99806 #endif
99809 main ()
99811 isinff(0);
99813 return 0;
99815 _ACEOF
99816 rm -f conftest.$ac_objext
99817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
99818 (eval $ac_compile) 2>conftest.er1
99819 ac_status=$?
99820 grep -v '^ *+' conftest.er1 >conftest.err
99821 rm -f conftest.er1
99822 cat conftest.err >&5
99823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99824 (exit $ac_status); } &&
99825 { ac_try='test -z "$ac_cxx_werror_flag"
99826 || test ! -s conftest.err'
99827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99828 (eval $ac_try) 2>&5
99829 ac_status=$?
99830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99831 (exit $ac_status); }; } &&
99832 { ac_try='test -s conftest.$ac_objext'
99833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99834 (eval $ac_try) 2>&5
99835 ac_status=$?
99836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99837 (exit $ac_status); }; }; then
99838 glibcxx_cv_func_isinff_use=yes
99839 else
99840 echo "$as_me: failed program was:" >&5
99841 sed 's/^/| /' conftest.$ac_ext >&5
99843 glibcxx_cv_func_isinff_use=no
99845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
99846 ac_ext=c
99847 ac_cpp='$CPP $CPPFLAGS'
99848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
99856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinff_use" >&5
99857 echo "${ECHO_T}$glibcxx_cv_func_isinff_use" >&6
99859 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
99861 for ac_func in isinff
99863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
99864 echo "$as_me:$LINENO: checking for $ac_func" >&5
99865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
99866 if eval "test \"\${$as_ac_var+set}\" = set"; then
99867 echo $ECHO_N "(cached) $ECHO_C" >&6
99868 else
99869 if test x$gcc_no_link = xyes; then
99870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
99871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
99872 { (exit 1); exit 1; }; }
99874 cat >conftest.$ac_ext <<_ACEOF
99875 /* confdefs.h. */
99876 _ACEOF
99877 cat confdefs.h >>conftest.$ac_ext
99878 cat >>conftest.$ac_ext <<_ACEOF
99879 /* end confdefs.h. */
99880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
99881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
99882 #define $ac_func innocuous_$ac_func
99884 /* System header to define __stub macros and hopefully few prototypes,
99885 which can conflict with char $ac_func (); below.
99886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
99887 <limits.h> exists even on freestanding compilers. */
99889 #ifdef __STDC__
99890 # include <limits.h>
99891 #else
99892 # include <assert.h>
99893 #endif
99895 #undef $ac_func
99897 /* Override any gcc2 internal prototype to avoid an error. */
99898 #ifdef __cplusplus
99899 extern "C"
99901 #endif
99902 /* We use char because int might match the return type of a gcc2
99903 builtin and then its argument prototype would still apply. */
99904 char $ac_func ();
99905 /* The GNU C library defines this for functions which it implements
99906 to always fail with ENOSYS. Some functions are actually named
99907 something starting with __ and the normal name is an alias. */
99908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
99909 choke me
99910 #else
99911 char (*f) () = $ac_func;
99912 #endif
99913 #ifdef __cplusplus
99915 #endif
99918 main ()
99920 return f != $ac_func;
99922 return 0;
99924 _ACEOF
99925 rm -f conftest.$ac_objext conftest$ac_exeext
99926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
99927 (eval $ac_link) 2>conftest.er1
99928 ac_status=$?
99929 grep -v '^ *+' conftest.er1 >conftest.err
99930 rm -f conftest.er1
99931 cat conftest.err >&5
99932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99933 (exit $ac_status); } &&
99934 { ac_try='test -z "$ac_c_werror_flag"
99935 || test ! -s conftest.err'
99936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99937 (eval $ac_try) 2>&5
99938 ac_status=$?
99939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99940 (exit $ac_status); }; } &&
99941 { ac_try='test -s conftest$ac_exeext'
99942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
99943 (eval $ac_try) 2>&5
99944 ac_status=$?
99945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
99946 (exit $ac_status); }; }; then
99947 eval "$as_ac_var=yes"
99948 else
99949 echo "$as_me: failed program was:" >&5
99950 sed 's/^/| /' conftest.$ac_ext >&5
99952 eval "$as_ac_var=no"
99954 rm -f conftest.err conftest.$ac_objext \
99955 conftest$ac_exeext conftest.$ac_ext
99957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
99958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
99959 if test `eval echo '${'$as_ac_var'}'` = yes; then
99960 cat >>confdefs.h <<_ACEOF
99961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
99962 _ACEOF
99965 done
99967 else
99969 echo "$as_me:$LINENO: checking for _isinff declaration" >&5
99970 echo $ECHO_N "checking for _isinff declaration... $ECHO_C" >&6
99971 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
99972 if test "${glibcxx_cv_func__isinff_use+set}" = set; then
99973 echo $ECHO_N "(cached) $ECHO_C" >&6
99974 else
99978 ac_ext=cc
99979 ac_cpp='$CXXCPP $CPPFLAGS'
99980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
99981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
99982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
99984 cat >conftest.$ac_ext <<_ACEOF
99985 /* confdefs.h. */
99986 _ACEOF
99987 cat confdefs.h >>conftest.$ac_ext
99988 cat >>conftest.$ac_ext <<_ACEOF
99989 /* end confdefs.h. */
99990 #include <math.h>
99991 #ifdef HAVE_IEEEFP_H
99992 #include <ieeefp.h>
99993 #endif
99996 main ()
99998 _isinff(0);
100000 return 0;
100002 _ACEOF
100003 rm -f conftest.$ac_objext
100004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100005 (eval $ac_compile) 2>conftest.er1
100006 ac_status=$?
100007 grep -v '^ *+' conftest.er1 >conftest.err
100008 rm -f conftest.er1
100009 cat conftest.err >&5
100010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100011 (exit $ac_status); } &&
100012 { ac_try='test -z "$ac_cxx_werror_flag"
100013 || test ! -s conftest.err'
100014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100015 (eval $ac_try) 2>&5
100016 ac_status=$?
100017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100018 (exit $ac_status); }; } &&
100019 { ac_try='test -s conftest.$ac_objext'
100020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100021 (eval $ac_try) 2>&5
100022 ac_status=$?
100023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100024 (exit $ac_status); }; }; then
100025 glibcxx_cv_func__isinff_use=yes
100027 echo "$as_me: failed program was:" >&5
100028 sed 's/^/| /' conftest.$ac_ext >&5
100030 glibcxx_cv_func__isinff_use=no
100032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100033 ac_ext=c
100034 ac_cpp='$CPP $CPPFLAGS'
100035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinff_use" >&5
100044 echo "${ECHO_T}$glibcxx_cv_func__isinff_use" >&6
100046 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
100048 for ac_func in _isinff
100050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100051 echo "$as_me:$LINENO: checking for $ac_func" >&5
100052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100053 if eval "test \"\${$as_ac_var+set}\" = set"; then
100054 echo $ECHO_N "(cached) $ECHO_C" >&6
100056 if test x$gcc_no_link = xyes; then
100057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100059 { (exit 1); exit 1; }; }
100061 cat >conftest.$ac_ext <<_ACEOF
100062 /* confdefs.h. */
100063 _ACEOF
100064 cat confdefs.h >>conftest.$ac_ext
100065 cat >>conftest.$ac_ext <<_ACEOF
100066 /* end confdefs.h. */
100067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100069 #define $ac_func innocuous_$ac_func
100071 /* System header to define __stub macros and hopefully few prototypes,
100072 which can conflict with char $ac_func (); below.
100073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100074 <limits.h> exists even on freestanding compilers. */
100076 #ifdef __STDC__
100077 # include <limits.h>
100078 #else
100079 # include <assert.h>
100080 #endif
100082 #undef $ac_func
100084 /* Override any gcc2 internal prototype to avoid an error. */
100085 #ifdef __cplusplus
100086 extern "C"
100088 #endif
100089 /* We use char because int might match the return type of a gcc2
100090 builtin and then its argument prototype would still apply. */
100091 char $ac_func ();
100092 /* The GNU C library defines this for functions which it implements
100093 to always fail with ENOSYS. Some functions are actually named
100094 something starting with __ and the normal name is an alias. */
100095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100096 choke me
100097 #else
100098 char (*f) () = $ac_func;
100099 #endif
100100 #ifdef __cplusplus
100102 #endif
100105 main ()
100107 return f != $ac_func;
100109 return 0;
100111 _ACEOF
100112 rm -f conftest.$ac_objext conftest$ac_exeext
100113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100114 (eval $ac_link) 2>conftest.er1
100115 ac_status=$?
100116 grep -v '^ *+' conftest.er1 >conftest.err
100117 rm -f conftest.er1
100118 cat conftest.err >&5
100119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100120 (exit $ac_status); } &&
100121 { ac_try='test -z "$ac_c_werror_flag"
100122 || test ! -s conftest.err'
100123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100124 (eval $ac_try) 2>&5
100125 ac_status=$?
100126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100127 (exit $ac_status); }; } &&
100128 { ac_try='test -s conftest$ac_exeext'
100129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100130 (eval $ac_try) 2>&5
100131 ac_status=$?
100132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100133 (exit $ac_status); }; }; then
100134 eval "$as_ac_var=yes"
100136 echo "$as_me: failed program was:" >&5
100137 sed 's/^/| /' conftest.$ac_ext >&5
100139 eval "$as_ac_var=no"
100141 rm -f conftest.err conftest.$ac_objext \
100142 conftest$ac_exeext conftest.$ac_ext
100144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100146 if test `eval echo '${'$as_ac_var'}'` = yes; then
100147 cat >>confdefs.h <<_ACEOF
100148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100149 _ACEOF
100162 echo "$as_me:$LINENO: checking for atan2f declaration" >&5
100163 echo $ECHO_N "checking for atan2f declaration... $ECHO_C" >&6
100164 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
100165 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then
100166 echo $ECHO_N "(cached) $ECHO_C" >&6
100171 ac_ext=cc
100172 ac_cpp='$CXXCPP $CPPFLAGS'
100173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100177 cat >conftest.$ac_ext <<_ACEOF
100178 /* confdefs.h. */
100179 _ACEOF
100180 cat confdefs.h >>conftest.$ac_ext
100181 cat >>conftest.$ac_ext <<_ACEOF
100182 /* end confdefs.h. */
100183 #include <math.h>
100185 main ()
100187 atan2f(0, 0);
100189 return 0;
100191 _ACEOF
100192 rm -f conftest.$ac_objext
100193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100194 (eval $ac_compile) 2>conftest.er1
100195 ac_status=$?
100196 grep -v '^ *+' conftest.er1 >conftest.err
100197 rm -f conftest.er1
100198 cat conftest.err >&5
100199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100200 (exit $ac_status); } &&
100201 { ac_try='test -z "$ac_cxx_werror_flag"
100202 || test ! -s conftest.err'
100203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100204 (eval $ac_try) 2>&5
100205 ac_status=$?
100206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100207 (exit $ac_status); }; } &&
100208 { ac_try='test -s conftest.$ac_objext'
100209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100210 (eval $ac_try) 2>&5
100211 ac_status=$?
100212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100213 (exit $ac_status); }; }; then
100214 glibcxx_cv_func_atan2f_use=yes
100216 echo "$as_me: failed program was:" >&5
100217 sed 's/^/| /' conftest.$ac_ext >&5
100219 glibcxx_cv_func_atan2f_use=no
100221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100222 ac_ext=c
100223 ac_cpp='$CPP $CPPFLAGS'
100224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2f_use" >&5
100233 echo "${ECHO_T}$glibcxx_cv_func_atan2f_use" >&6
100235 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
100237 for ac_func in atan2f
100239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100240 echo "$as_me:$LINENO: checking for $ac_func" >&5
100241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100242 if eval "test \"\${$as_ac_var+set}\" = set"; then
100243 echo $ECHO_N "(cached) $ECHO_C" >&6
100245 if test x$gcc_no_link = xyes; then
100246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100248 { (exit 1); exit 1; }; }
100250 cat >conftest.$ac_ext <<_ACEOF
100251 /* confdefs.h. */
100252 _ACEOF
100253 cat confdefs.h >>conftest.$ac_ext
100254 cat >>conftest.$ac_ext <<_ACEOF
100255 /* end confdefs.h. */
100256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100258 #define $ac_func innocuous_$ac_func
100260 /* System header to define __stub macros and hopefully few prototypes,
100261 which can conflict with char $ac_func (); below.
100262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100263 <limits.h> exists even on freestanding compilers. */
100265 #ifdef __STDC__
100266 # include <limits.h>
100267 #else
100268 # include <assert.h>
100269 #endif
100271 #undef $ac_func
100273 /* Override any gcc2 internal prototype to avoid an error. */
100274 #ifdef __cplusplus
100275 extern "C"
100277 #endif
100278 /* We use char because int might match the return type of a gcc2
100279 builtin and then its argument prototype would still apply. */
100280 char $ac_func ();
100281 /* The GNU C library defines this for functions which it implements
100282 to always fail with ENOSYS. Some functions are actually named
100283 something starting with __ and the normal name is an alias. */
100284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100285 choke me
100286 #else
100287 char (*f) () = $ac_func;
100288 #endif
100289 #ifdef __cplusplus
100291 #endif
100294 main ()
100296 return f != $ac_func;
100298 return 0;
100300 _ACEOF
100301 rm -f conftest.$ac_objext conftest$ac_exeext
100302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100303 (eval $ac_link) 2>conftest.er1
100304 ac_status=$?
100305 grep -v '^ *+' conftest.er1 >conftest.err
100306 rm -f conftest.er1
100307 cat conftest.err >&5
100308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100309 (exit $ac_status); } &&
100310 { ac_try='test -z "$ac_c_werror_flag"
100311 || test ! -s conftest.err'
100312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100313 (eval $ac_try) 2>&5
100314 ac_status=$?
100315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100316 (exit $ac_status); }; } &&
100317 { ac_try='test -s conftest$ac_exeext'
100318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100319 (eval $ac_try) 2>&5
100320 ac_status=$?
100321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100322 (exit $ac_status); }; }; then
100323 eval "$as_ac_var=yes"
100325 echo "$as_me: failed program was:" >&5
100326 sed 's/^/| /' conftest.$ac_ext >&5
100328 eval "$as_ac_var=no"
100330 rm -f conftest.err conftest.$ac_objext \
100331 conftest$ac_exeext conftest.$ac_ext
100333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100335 if test `eval echo '${'$as_ac_var'}'` = yes; then
100336 cat >>confdefs.h <<_ACEOF
100337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100338 _ACEOF
100345 echo "$as_me:$LINENO: checking for _atan2f declaration" >&5
100346 echo $ECHO_N "checking for _atan2f declaration... $ECHO_C" >&6
100347 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
100348 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then
100349 echo $ECHO_N "(cached) $ECHO_C" >&6
100354 ac_ext=cc
100355 ac_cpp='$CXXCPP $CPPFLAGS'
100356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100360 cat >conftest.$ac_ext <<_ACEOF
100361 /* confdefs.h. */
100362 _ACEOF
100363 cat confdefs.h >>conftest.$ac_ext
100364 cat >>conftest.$ac_ext <<_ACEOF
100365 /* end confdefs.h. */
100366 #include <math.h>
100368 main ()
100370 _atan2f(0, 0);
100372 return 0;
100374 _ACEOF
100375 rm -f conftest.$ac_objext
100376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100377 (eval $ac_compile) 2>conftest.er1
100378 ac_status=$?
100379 grep -v '^ *+' conftest.er1 >conftest.err
100380 rm -f conftest.er1
100381 cat conftest.err >&5
100382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100383 (exit $ac_status); } &&
100384 { ac_try='test -z "$ac_cxx_werror_flag"
100385 || test ! -s conftest.err'
100386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100387 (eval $ac_try) 2>&5
100388 ac_status=$?
100389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100390 (exit $ac_status); }; } &&
100391 { ac_try='test -s conftest.$ac_objext'
100392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100393 (eval $ac_try) 2>&5
100394 ac_status=$?
100395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100396 (exit $ac_status); }; }; then
100397 glibcxx_cv_func__atan2f_use=yes
100399 echo "$as_me: failed program was:" >&5
100400 sed 's/^/| /' conftest.$ac_ext >&5
100402 glibcxx_cv_func__atan2f_use=no
100404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100405 ac_ext=c
100406 ac_cpp='$CPP $CPPFLAGS'
100407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2f_use" >&5
100416 echo "${ECHO_T}$glibcxx_cv_func__atan2f_use" >&6
100418 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
100420 for ac_func in _atan2f
100422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100423 echo "$as_me:$LINENO: checking for $ac_func" >&5
100424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100425 if eval "test \"\${$as_ac_var+set}\" = set"; then
100426 echo $ECHO_N "(cached) $ECHO_C" >&6
100428 if test x$gcc_no_link = xyes; then
100429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100431 { (exit 1); exit 1; }; }
100433 cat >conftest.$ac_ext <<_ACEOF
100434 /* confdefs.h. */
100435 _ACEOF
100436 cat confdefs.h >>conftest.$ac_ext
100437 cat >>conftest.$ac_ext <<_ACEOF
100438 /* end confdefs.h. */
100439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100441 #define $ac_func innocuous_$ac_func
100443 /* System header to define __stub macros and hopefully few prototypes,
100444 which can conflict with char $ac_func (); below.
100445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100446 <limits.h> exists even on freestanding compilers. */
100448 #ifdef __STDC__
100449 # include <limits.h>
100450 #else
100451 # include <assert.h>
100452 #endif
100454 #undef $ac_func
100456 /* Override any gcc2 internal prototype to avoid an error. */
100457 #ifdef __cplusplus
100458 extern "C"
100460 #endif
100461 /* We use char because int might match the return type of a gcc2
100462 builtin and then its argument prototype would still apply. */
100463 char $ac_func ();
100464 /* The GNU C library defines this for functions which it implements
100465 to always fail with ENOSYS. Some functions are actually named
100466 something starting with __ and the normal name is an alias. */
100467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100468 choke me
100469 #else
100470 char (*f) () = $ac_func;
100471 #endif
100472 #ifdef __cplusplus
100474 #endif
100477 main ()
100479 return f != $ac_func;
100481 return 0;
100483 _ACEOF
100484 rm -f conftest.$ac_objext conftest$ac_exeext
100485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100486 (eval $ac_link) 2>conftest.er1
100487 ac_status=$?
100488 grep -v '^ *+' conftest.er1 >conftest.err
100489 rm -f conftest.er1
100490 cat conftest.err >&5
100491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100492 (exit $ac_status); } &&
100493 { ac_try='test -z "$ac_c_werror_flag"
100494 || test ! -s conftest.err'
100495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100496 (eval $ac_try) 2>&5
100497 ac_status=$?
100498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100499 (exit $ac_status); }; } &&
100500 { ac_try='test -s conftest$ac_exeext'
100501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100502 (eval $ac_try) 2>&5
100503 ac_status=$?
100504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100505 (exit $ac_status); }; }; then
100506 eval "$as_ac_var=yes"
100508 echo "$as_me: failed program was:" >&5
100509 sed 's/^/| /' conftest.$ac_ext >&5
100511 eval "$as_ac_var=no"
100513 rm -f conftest.err conftest.$ac_objext \
100514 conftest$ac_exeext conftest.$ac_ext
100516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100518 if test `eval echo '${'$as_ac_var'}'` = yes; then
100519 cat >>confdefs.h <<_ACEOF
100520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100521 _ACEOF
100534 echo "$as_me:$LINENO: checking for fabsf declaration" >&5
100535 echo $ECHO_N "checking for fabsf declaration... $ECHO_C" >&6
100536 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
100537 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then
100538 echo $ECHO_N "(cached) $ECHO_C" >&6
100543 ac_ext=cc
100544 ac_cpp='$CXXCPP $CPPFLAGS'
100545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100549 cat >conftest.$ac_ext <<_ACEOF
100550 /* confdefs.h. */
100551 _ACEOF
100552 cat confdefs.h >>conftest.$ac_ext
100553 cat >>conftest.$ac_ext <<_ACEOF
100554 /* end confdefs.h. */
100555 #include <math.h>
100556 #ifdef HAVE_IEEEFP_H
100557 #include <ieeefp.h>
100558 #endif
100561 main ()
100563 fabsf(0);
100565 return 0;
100567 _ACEOF
100568 rm -f conftest.$ac_objext
100569 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100570 (eval $ac_compile) 2>conftest.er1
100571 ac_status=$?
100572 grep -v '^ *+' conftest.er1 >conftest.err
100573 rm -f conftest.er1
100574 cat conftest.err >&5
100575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100576 (exit $ac_status); } &&
100577 { ac_try='test -z "$ac_cxx_werror_flag"
100578 || test ! -s conftest.err'
100579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100580 (eval $ac_try) 2>&5
100581 ac_status=$?
100582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100583 (exit $ac_status); }; } &&
100584 { ac_try='test -s conftest.$ac_objext'
100585 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100586 (eval $ac_try) 2>&5
100587 ac_status=$?
100588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100589 (exit $ac_status); }; }; then
100590 glibcxx_cv_func_fabsf_use=yes
100592 echo "$as_me: failed program was:" >&5
100593 sed 's/^/| /' conftest.$ac_ext >&5
100595 glibcxx_cv_func_fabsf_use=no
100597 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100598 ac_ext=c
100599 ac_cpp='$CPP $CPPFLAGS'
100600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100608 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsf_use" >&5
100609 echo "${ECHO_T}$glibcxx_cv_func_fabsf_use" >&6
100611 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
100613 for ac_func in fabsf
100615 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100616 echo "$as_me:$LINENO: checking for $ac_func" >&5
100617 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100618 if eval "test \"\${$as_ac_var+set}\" = set"; then
100619 echo $ECHO_N "(cached) $ECHO_C" >&6
100621 if test x$gcc_no_link = xyes; then
100622 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100623 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100624 { (exit 1); exit 1; }; }
100626 cat >conftest.$ac_ext <<_ACEOF
100627 /* confdefs.h. */
100628 _ACEOF
100629 cat confdefs.h >>conftest.$ac_ext
100630 cat >>conftest.$ac_ext <<_ACEOF
100631 /* end confdefs.h. */
100632 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100633 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100634 #define $ac_func innocuous_$ac_func
100636 /* System header to define __stub macros and hopefully few prototypes,
100637 which can conflict with char $ac_func (); below.
100638 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100639 <limits.h> exists even on freestanding compilers. */
100641 #ifdef __STDC__
100642 # include <limits.h>
100643 #else
100644 # include <assert.h>
100645 #endif
100647 #undef $ac_func
100649 /* Override any gcc2 internal prototype to avoid an error. */
100650 #ifdef __cplusplus
100651 extern "C"
100653 #endif
100654 /* We use char because int might match the return type of a gcc2
100655 builtin and then its argument prototype would still apply. */
100656 char $ac_func ();
100657 /* The GNU C library defines this for functions which it implements
100658 to always fail with ENOSYS. Some functions are actually named
100659 something starting with __ and the normal name is an alias. */
100660 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100661 choke me
100662 #else
100663 char (*f) () = $ac_func;
100664 #endif
100665 #ifdef __cplusplus
100667 #endif
100670 main ()
100672 return f != $ac_func;
100674 return 0;
100676 _ACEOF
100677 rm -f conftest.$ac_objext conftest$ac_exeext
100678 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100679 (eval $ac_link) 2>conftest.er1
100680 ac_status=$?
100681 grep -v '^ *+' conftest.er1 >conftest.err
100682 rm -f conftest.er1
100683 cat conftest.err >&5
100684 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100685 (exit $ac_status); } &&
100686 { ac_try='test -z "$ac_c_werror_flag"
100687 || test ! -s conftest.err'
100688 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100689 (eval $ac_try) 2>&5
100690 ac_status=$?
100691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100692 (exit $ac_status); }; } &&
100693 { ac_try='test -s conftest$ac_exeext'
100694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100695 (eval $ac_try) 2>&5
100696 ac_status=$?
100697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100698 (exit $ac_status); }; }; then
100699 eval "$as_ac_var=yes"
100701 echo "$as_me: failed program was:" >&5
100702 sed 's/^/| /' conftest.$ac_ext >&5
100704 eval "$as_ac_var=no"
100706 rm -f conftest.err conftest.$ac_objext \
100707 conftest$ac_exeext conftest.$ac_ext
100709 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100710 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100711 if test `eval echo '${'$as_ac_var'}'` = yes; then
100712 cat >>confdefs.h <<_ACEOF
100713 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100714 _ACEOF
100721 echo "$as_me:$LINENO: checking for _fabsf declaration" >&5
100722 echo $ECHO_N "checking for _fabsf declaration... $ECHO_C" >&6
100723 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
100724 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then
100725 echo $ECHO_N "(cached) $ECHO_C" >&6
100730 ac_ext=cc
100731 ac_cpp='$CXXCPP $CPPFLAGS'
100732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100736 cat >conftest.$ac_ext <<_ACEOF
100737 /* confdefs.h. */
100738 _ACEOF
100739 cat confdefs.h >>conftest.$ac_ext
100740 cat >>conftest.$ac_ext <<_ACEOF
100741 /* end confdefs.h. */
100742 #include <math.h>
100743 #ifdef HAVE_IEEEFP_H
100744 #include <ieeefp.h>
100745 #endif
100748 main ()
100750 _fabsf(0);
100752 return 0;
100754 _ACEOF
100755 rm -f conftest.$ac_objext
100756 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100757 (eval $ac_compile) 2>conftest.er1
100758 ac_status=$?
100759 grep -v '^ *+' conftest.er1 >conftest.err
100760 rm -f conftest.er1
100761 cat conftest.err >&5
100762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100763 (exit $ac_status); } &&
100764 { ac_try='test -z "$ac_cxx_werror_flag"
100765 || test ! -s conftest.err'
100766 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100767 (eval $ac_try) 2>&5
100768 ac_status=$?
100769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100770 (exit $ac_status); }; } &&
100771 { ac_try='test -s conftest.$ac_objext'
100772 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100773 (eval $ac_try) 2>&5
100774 ac_status=$?
100775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100776 (exit $ac_status); }; }; then
100777 glibcxx_cv_func__fabsf_use=yes
100779 echo "$as_me: failed program was:" >&5
100780 sed 's/^/| /' conftest.$ac_ext >&5
100782 glibcxx_cv_func__fabsf_use=no
100784 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100785 ac_ext=c
100786 ac_cpp='$CPP $CPPFLAGS'
100787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100795 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsf_use" >&5
100796 echo "${ECHO_T}$glibcxx_cv_func__fabsf_use" >&6
100798 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
100800 for ac_func in _fabsf
100802 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100803 echo "$as_me:$LINENO: checking for $ac_func" >&5
100804 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100805 if eval "test \"\${$as_ac_var+set}\" = set"; then
100806 echo $ECHO_N "(cached) $ECHO_C" >&6
100808 if test x$gcc_no_link = xyes; then
100809 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100810 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
100811 { (exit 1); exit 1; }; }
100813 cat >conftest.$ac_ext <<_ACEOF
100814 /* confdefs.h. */
100815 _ACEOF
100816 cat confdefs.h >>conftest.$ac_ext
100817 cat >>conftest.$ac_ext <<_ACEOF
100818 /* end confdefs.h. */
100819 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
100820 For example, HP-UX 11i <limits.h> declares gettimeofday. */
100821 #define $ac_func innocuous_$ac_func
100823 /* System header to define __stub macros and hopefully few prototypes,
100824 which can conflict with char $ac_func (); below.
100825 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
100826 <limits.h> exists even on freestanding compilers. */
100828 #ifdef __STDC__
100829 # include <limits.h>
100830 #else
100831 # include <assert.h>
100832 #endif
100834 #undef $ac_func
100836 /* Override any gcc2 internal prototype to avoid an error. */
100837 #ifdef __cplusplus
100838 extern "C"
100840 #endif
100841 /* We use char because int might match the return type of a gcc2
100842 builtin and then its argument prototype would still apply. */
100843 char $ac_func ();
100844 /* The GNU C library defines this for functions which it implements
100845 to always fail with ENOSYS. Some functions are actually named
100846 something starting with __ and the normal name is an alias. */
100847 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
100848 choke me
100849 #else
100850 char (*f) () = $ac_func;
100851 #endif
100852 #ifdef __cplusplus
100854 #endif
100857 main ()
100859 return f != $ac_func;
100861 return 0;
100863 _ACEOF
100864 rm -f conftest.$ac_objext conftest$ac_exeext
100865 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
100866 (eval $ac_link) 2>conftest.er1
100867 ac_status=$?
100868 grep -v '^ *+' conftest.er1 >conftest.err
100869 rm -f conftest.er1
100870 cat conftest.err >&5
100871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100872 (exit $ac_status); } &&
100873 { ac_try='test -z "$ac_c_werror_flag"
100874 || test ! -s conftest.err'
100875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100876 (eval $ac_try) 2>&5
100877 ac_status=$?
100878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100879 (exit $ac_status); }; } &&
100880 { ac_try='test -s conftest$ac_exeext'
100881 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100882 (eval $ac_try) 2>&5
100883 ac_status=$?
100884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100885 (exit $ac_status); }; }; then
100886 eval "$as_ac_var=yes"
100888 echo "$as_me: failed program was:" >&5
100889 sed 's/^/| /' conftest.$ac_ext >&5
100891 eval "$as_ac_var=no"
100893 rm -f conftest.err conftest.$ac_objext \
100894 conftest$ac_exeext conftest.$ac_ext
100896 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
100897 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
100898 if test `eval echo '${'$as_ac_var'}'` = yes; then
100899 cat >>confdefs.h <<_ACEOF
100900 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
100901 _ACEOF
100914 echo "$as_me:$LINENO: checking for fmodf declaration" >&5
100915 echo $ECHO_N "checking for fmodf declaration... $ECHO_C" >&6
100916 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
100917 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then
100918 echo $ECHO_N "(cached) $ECHO_C" >&6
100923 ac_ext=cc
100924 ac_cpp='$CXXCPP $CPPFLAGS'
100925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
100929 cat >conftest.$ac_ext <<_ACEOF
100930 /* confdefs.h. */
100931 _ACEOF
100932 cat confdefs.h >>conftest.$ac_ext
100933 cat >>conftest.$ac_ext <<_ACEOF
100934 /* end confdefs.h. */
100935 #include <math.h>
100937 main ()
100939 fmodf(0, 0);
100941 return 0;
100943 _ACEOF
100944 rm -f conftest.$ac_objext
100945 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
100946 (eval $ac_compile) 2>conftest.er1
100947 ac_status=$?
100948 grep -v '^ *+' conftest.er1 >conftest.err
100949 rm -f conftest.er1
100950 cat conftest.err >&5
100951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100952 (exit $ac_status); } &&
100953 { ac_try='test -z "$ac_cxx_werror_flag"
100954 || test ! -s conftest.err'
100955 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100956 (eval $ac_try) 2>&5
100957 ac_status=$?
100958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100959 (exit $ac_status); }; } &&
100960 { ac_try='test -s conftest.$ac_objext'
100961 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
100962 (eval $ac_try) 2>&5
100963 ac_status=$?
100964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
100965 (exit $ac_status); }; }; then
100966 glibcxx_cv_func_fmodf_use=yes
100968 echo "$as_me: failed program was:" >&5
100969 sed 's/^/| /' conftest.$ac_ext >&5
100971 glibcxx_cv_func_fmodf_use=no
100973 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
100974 ac_ext=c
100975 ac_cpp='$CPP $CPPFLAGS'
100976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
100977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
100978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
100984 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodf_use" >&5
100985 echo "${ECHO_T}$glibcxx_cv_func_fmodf_use" >&6
100987 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
100989 for ac_func in fmodf
100991 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
100992 echo "$as_me:$LINENO: checking for $ac_func" >&5
100993 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
100994 if eval "test \"\${$as_ac_var+set}\" = set"; then
100995 echo $ECHO_N "(cached) $ECHO_C" >&6
100997 if test x$gcc_no_link = xyes; then
100998 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
100999 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101000 { (exit 1); exit 1; }; }
101002 cat >conftest.$ac_ext <<_ACEOF
101003 /* confdefs.h. */
101004 _ACEOF
101005 cat confdefs.h >>conftest.$ac_ext
101006 cat >>conftest.$ac_ext <<_ACEOF
101007 /* end confdefs.h. */
101008 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101009 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101010 #define $ac_func innocuous_$ac_func
101012 /* System header to define __stub macros and hopefully few prototypes,
101013 which can conflict with char $ac_func (); below.
101014 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101015 <limits.h> exists even on freestanding compilers. */
101017 #ifdef __STDC__
101018 # include <limits.h>
101019 #else
101020 # include <assert.h>
101021 #endif
101023 #undef $ac_func
101025 /* Override any gcc2 internal prototype to avoid an error. */
101026 #ifdef __cplusplus
101027 extern "C"
101029 #endif
101030 /* We use char because int might match the return type of a gcc2
101031 builtin and then its argument prototype would still apply. */
101032 char $ac_func ();
101033 /* The GNU C library defines this for functions which it implements
101034 to always fail with ENOSYS. Some functions are actually named
101035 something starting with __ and the normal name is an alias. */
101036 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101037 choke me
101038 #else
101039 char (*f) () = $ac_func;
101040 #endif
101041 #ifdef __cplusplus
101043 #endif
101046 main ()
101048 return f != $ac_func;
101050 return 0;
101052 _ACEOF
101053 rm -f conftest.$ac_objext conftest$ac_exeext
101054 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101055 (eval $ac_link) 2>conftest.er1
101056 ac_status=$?
101057 grep -v '^ *+' conftest.er1 >conftest.err
101058 rm -f conftest.er1
101059 cat conftest.err >&5
101060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101061 (exit $ac_status); } &&
101062 { ac_try='test -z "$ac_c_werror_flag"
101063 || test ! -s conftest.err'
101064 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101065 (eval $ac_try) 2>&5
101066 ac_status=$?
101067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101068 (exit $ac_status); }; } &&
101069 { ac_try='test -s conftest$ac_exeext'
101070 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101071 (eval $ac_try) 2>&5
101072 ac_status=$?
101073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101074 (exit $ac_status); }; }; then
101075 eval "$as_ac_var=yes"
101077 echo "$as_me: failed program was:" >&5
101078 sed 's/^/| /' conftest.$ac_ext >&5
101080 eval "$as_ac_var=no"
101082 rm -f conftest.err conftest.$ac_objext \
101083 conftest$ac_exeext conftest.$ac_ext
101085 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101086 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101087 if test `eval echo '${'$as_ac_var'}'` = yes; then
101088 cat >>confdefs.h <<_ACEOF
101089 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101090 _ACEOF
101097 echo "$as_me:$LINENO: checking for _fmodf declaration" >&5
101098 echo $ECHO_N "checking for _fmodf declaration... $ECHO_C" >&6
101099 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
101100 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then
101101 echo $ECHO_N "(cached) $ECHO_C" >&6
101106 ac_ext=cc
101107 ac_cpp='$CXXCPP $CPPFLAGS'
101108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101112 cat >conftest.$ac_ext <<_ACEOF
101113 /* confdefs.h. */
101114 _ACEOF
101115 cat confdefs.h >>conftest.$ac_ext
101116 cat >>conftest.$ac_ext <<_ACEOF
101117 /* end confdefs.h. */
101118 #include <math.h>
101120 main ()
101122 _fmodf(0, 0);
101124 return 0;
101126 _ACEOF
101127 rm -f conftest.$ac_objext
101128 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101129 (eval $ac_compile) 2>conftest.er1
101130 ac_status=$?
101131 grep -v '^ *+' conftest.er1 >conftest.err
101132 rm -f conftest.er1
101133 cat conftest.err >&5
101134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101135 (exit $ac_status); } &&
101136 { ac_try='test -z "$ac_cxx_werror_flag"
101137 || test ! -s conftest.err'
101138 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101139 (eval $ac_try) 2>&5
101140 ac_status=$?
101141 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101142 (exit $ac_status); }; } &&
101143 { ac_try='test -s conftest.$ac_objext'
101144 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101145 (eval $ac_try) 2>&5
101146 ac_status=$?
101147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101148 (exit $ac_status); }; }; then
101149 glibcxx_cv_func__fmodf_use=yes
101151 echo "$as_me: failed program was:" >&5
101152 sed 's/^/| /' conftest.$ac_ext >&5
101154 glibcxx_cv_func__fmodf_use=no
101156 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101157 ac_ext=c
101158 ac_cpp='$CPP $CPPFLAGS'
101159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101167 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodf_use" >&5
101168 echo "${ECHO_T}$glibcxx_cv_func__fmodf_use" >&6
101170 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
101172 for ac_func in _fmodf
101174 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101175 echo "$as_me:$LINENO: checking for $ac_func" >&5
101176 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101177 if eval "test \"\${$as_ac_var+set}\" = set"; then
101178 echo $ECHO_N "(cached) $ECHO_C" >&6
101180 if test x$gcc_no_link = xyes; then
101181 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101182 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101183 { (exit 1); exit 1; }; }
101185 cat >conftest.$ac_ext <<_ACEOF
101186 /* confdefs.h. */
101187 _ACEOF
101188 cat confdefs.h >>conftest.$ac_ext
101189 cat >>conftest.$ac_ext <<_ACEOF
101190 /* end confdefs.h. */
101191 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101192 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101193 #define $ac_func innocuous_$ac_func
101195 /* System header to define __stub macros and hopefully few prototypes,
101196 which can conflict with char $ac_func (); below.
101197 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101198 <limits.h> exists even on freestanding compilers. */
101200 #ifdef __STDC__
101201 # include <limits.h>
101202 #else
101203 # include <assert.h>
101204 #endif
101206 #undef $ac_func
101208 /* Override any gcc2 internal prototype to avoid an error. */
101209 #ifdef __cplusplus
101210 extern "C"
101212 #endif
101213 /* We use char because int might match the return type of a gcc2
101214 builtin and then its argument prototype would still apply. */
101215 char $ac_func ();
101216 /* The GNU C library defines this for functions which it implements
101217 to always fail with ENOSYS. Some functions are actually named
101218 something starting with __ and the normal name is an alias. */
101219 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101220 choke me
101221 #else
101222 char (*f) () = $ac_func;
101223 #endif
101224 #ifdef __cplusplus
101226 #endif
101229 main ()
101231 return f != $ac_func;
101233 return 0;
101235 _ACEOF
101236 rm -f conftest.$ac_objext conftest$ac_exeext
101237 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101238 (eval $ac_link) 2>conftest.er1
101239 ac_status=$?
101240 grep -v '^ *+' conftest.er1 >conftest.err
101241 rm -f conftest.er1
101242 cat conftest.err >&5
101243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101244 (exit $ac_status); } &&
101245 { ac_try='test -z "$ac_c_werror_flag"
101246 || test ! -s conftest.err'
101247 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101248 (eval $ac_try) 2>&5
101249 ac_status=$?
101250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101251 (exit $ac_status); }; } &&
101252 { ac_try='test -s conftest$ac_exeext'
101253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101254 (eval $ac_try) 2>&5
101255 ac_status=$?
101256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101257 (exit $ac_status); }; }; then
101258 eval "$as_ac_var=yes"
101260 echo "$as_me: failed program was:" >&5
101261 sed 's/^/| /' conftest.$ac_ext >&5
101263 eval "$as_ac_var=no"
101265 rm -f conftest.err conftest.$ac_objext \
101266 conftest$ac_exeext conftest.$ac_ext
101268 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101269 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101270 if test `eval echo '${'$as_ac_var'}'` = yes; then
101271 cat >>confdefs.h <<_ACEOF
101272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101273 _ACEOF
101286 echo "$as_me:$LINENO: checking for frexpf declaration" >&5
101287 echo $ECHO_N "checking for frexpf declaration... $ECHO_C" >&6
101288 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
101289 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then
101290 echo $ECHO_N "(cached) $ECHO_C" >&6
101295 ac_ext=cc
101296 ac_cpp='$CXXCPP $CPPFLAGS'
101297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101301 cat >conftest.$ac_ext <<_ACEOF
101302 /* confdefs.h. */
101303 _ACEOF
101304 cat confdefs.h >>conftest.$ac_ext
101305 cat >>conftest.$ac_ext <<_ACEOF
101306 /* end confdefs.h. */
101307 #include <math.h>
101309 main ()
101311 frexpf(0, 0);
101313 return 0;
101315 _ACEOF
101316 rm -f conftest.$ac_objext
101317 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101318 (eval $ac_compile) 2>conftest.er1
101319 ac_status=$?
101320 grep -v '^ *+' conftest.er1 >conftest.err
101321 rm -f conftest.er1
101322 cat conftest.err >&5
101323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101324 (exit $ac_status); } &&
101325 { ac_try='test -z "$ac_cxx_werror_flag"
101326 || test ! -s conftest.err'
101327 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101328 (eval $ac_try) 2>&5
101329 ac_status=$?
101330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101331 (exit $ac_status); }; } &&
101332 { ac_try='test -s conftest.$ac_objext'
101333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101334 (eval $ac_try) 2>&5
101335 ac_status=$?
101336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101337 (exit $ac_status); }; }; then
101338 glibcxx_cv_func_frexpf_use=yes
101340 echo "$as_me: failed program was:" >&5
101341 sed 's/^/| /' conftest.$ac_ext >&5
101343 glibcxx_cv_func_frexpf_use=no
101345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101346 ac_ext=c
101347 ac_cpp='$CPP $CPPFLAGS'
101348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101356 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpf_use" >&5
101357 echo "${ECHO_T}$glibcxx_cv_func_frexpf_use" >&6
101359 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
101361 for ac_func in frexpf
101363 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101364 echo "$as_me:$LINENO: checking for $ac_func" >&5
101365 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101366 if eval "test \"\${$as_ac_var+set}\" = set"; then
101367 echo $ECHO_N "(cached) $ECHO_C" >&6
101369 if test x$gcc_no_link = xyes; then
101370 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101371 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101372 { (exit 1); exit 1; }; }
101374 cat >conftest.$ac_ext <<_ACEOF
101375 /* confdefs.h. */
101376 _ACEOF
101377 cat confdefs.h >>conftest.$ac_ext
101378 cat >>conftest.$ac_ext <<_ACEOF
101379 /* end confdefs.h. */
101380 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101382 #define $ac_func innocuous_$ac_func
101384 /* System header to define __stub macros and hopefully few prototypes,
101385 which can conflict with char $ac_func (); below.
101386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101387 <limits.h> exists even on freestanding compilers. */
101389 #ifdef __STDC__
101390 # include <limits.h>
101391 #else
101392 # include <assert.h>
101393 #endif
101395 #undef $ac_func
101397 /* Override any gcc2 internal prototype to avoid an error. */
101398 #ifdef __cplusplus
101399 extern "C"
101401 #endif
101402 /* We use char because int might match the return type of a gcc2
101403 builtin and then its argument prototype would still apply. */
101404 char $ac_func ();
101405 /* The GNU C library defines this for functions which it implements
101406 to always fail with ENOSYS. Some functions are actually named
101407 something starting with __ and the normal name is an alias. */
101408 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101409 choke me
101410 #else
101411 char (*f) () = $ac_func;
101412 #endif
101413 #ifdef __cplusplus
101415 #endif
101418 main ()
101420 return f != $ac_func;
101422 return 0;
101424 _ACEOF
101425 rm -f conftest.$ac_objext conftest$ac_exeext
101426 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101427 (eval $ac_link) 2>conftest.er1
101428 ac_status=$?
101429 grep -v '^ *+' conftest.er1 >conftest.err
101430 rm -f conftest.er1
101431 cat conftest.err >&5
101432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101433 (exit $ac_status); } &&
101434 { ac_try='test -z "$ac_c_werror_flag"
101435 || test ! -s conftest.err'
101436 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101437 (eval $ac_try) 2>&5
101438 ac_status=$?
101439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101440 (exit $ac_status); }; } &&
101441 { ac_try='test -s conftest$ac_exeext'
101442 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101443 (eval $ac_try) 2>&5
101444 ac_status=$?
101445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101446 (exit $ac_status); }; }; then
101447 eval "$as_ac_var=yes"
101449 echo "$as_me: failed program was:" >&5
101450 sed 's/^/| /' conftest.$ac_ext >&5
101452 eval "$as_ac_var=no"
101454 rm -f conftest.err conftest.$ac_objext \
101455 conftest$ac_exeext conftest.$ac_ext
101457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101458 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101459 if test `eval echo '${'$as_ac_var'}'` = yes; then
101460 cat >>confdefs.h <<_ACEOF
101461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101462 _ACEOF
101469 echo "$as_me:$LINENO: checking for _frexpf declaration" >&5
101470 echo $ECHO_N "checking for _frexpf declaration... $ECHO_C" >&6
101471 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
101472 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then
101473 echo $ECHO_N "(cached) $ECHO_C" >&6
101478 ac_ext=cc
101479 ac_cpp='$CXXCPP $CPPFLAGS'
101480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101484 cat >conftest.$ac_ext <<_ACEOF
101485 /* confdefs.h. */
101486 _ACEOF
101487 cat confdefs.h >>conftest.$ac_ext
101488 cat >>conftest.$ac_ext <<_ACEOF
101489 /* end confdefs.h. */
101490 #include <math.h>
101492 main ()
101494 _frexpf(0, 0);
101496 return 0;
101498 _ACEOF
101499 rm -f conftest.$ac_objext
101500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101501 (eval $ac_compile) 2>conftest.er1
101502 ac_status=$?
101503 grep -v '^ *+' conftest.er1 >conftest.err
101504 rm -f conftest.er1
101505 cat conftest.err >&5
101506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101507 (exit $ac_status); } &&
101508 { ac_try='test -z "$ac_cxx_werror_flag"
101509 || test ! -s conftest.err'
101510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101511 (eval $ac_try) 2>&5
101512 ac_status=$?
101513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101514 (exit $ac_status); }; } &&
101515 { ac_try='test -s conftest.$ac_objext'
101516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101517 (eval $ac_try) 2>&5
101518 ac_status=$?
101519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101520 (exit $ac_status); }; }; then
101521 glibcxx_cv_func__frexpf_use=yes
101523 echo "$as_me: failed program was:" >&5
101524 sed 's/^/| /' conftest.$ac_ext >&5
101526 glibcxx_cv_func__frexpf_use=no
101528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101529 ac_ext=c
101530 ac_cpp='$CPP $CPPFLAGS'
101531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpf_use" >&5
101540 echo "${ECHO_T}$glibcxx_cv_func__frexpf_use" >&6
101542 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
101544 for ac_func in _frexpf
101546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101547 echo "$as_me:$LINENO: checking for $ac_func" >&5
101548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101549 if eval "test \"\${$as_ac_var+set}\" = set"; then
101550 echo $ECHO_N "(cached) $ECHO_C" >&6
101552 if test x$gcc_no_link = xyes; then
101553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101555 { (exit 1); exit 1; }; }
101557 cat >conftest.$ac_ext <<_ACEOF
101558 /* confdefs.h. */
101559 _ACEOF
101560 cat confdefs.h >>conftest.$ac_ext
101561 cat >>conftest.$ac_ext <<_ACEOF
101562 /* end confdefs.h. */
101563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101565 #define $ac_func innocuous_$ac_func
101567 /* System header to define __stub macros and hopefully few prototypes,
101568 which can conflict with char $ac_func (); below.
101569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101570 <limits.h> exists even on freestanding compilers. */
101572 #ifdef __STDC__
101573 # include <limits.h>
101574 #else
101575 # include <assert.h>
101576 #endif
101578 #undef $ac_func
101580 /* Override any gcc2 internal prototype to avoid an error. */
101581 #ifdef __cplusplus
101582 extern "C"
101584 #endif
101585 /* We use char because int might match the return type of a gcc2
101586 builtin and then its argument prototype would still apply. */
101587 char $ac_func ();
101588 /* The GNU C library defines this for functions which it implements
101589 to always fail with ENOSYS. Some functions are actually named
101590 something starting with __ and the normal name is an alias. */
101591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101592 choke me
101593 #else
101594 char (*f) () = $ac_func;
101595 #endif
101596 #ifdef __cplusplus
101598 #endif
101601 main ()
101603 return f != $ac_func;
101605 return 0;
101607 _ACEOF
101608 rm -f conftest.$ac_objext conftest$ac_exeext
101609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101610 (eval $ac_link) 2>conftest.er1
101611 ac_status=$?
101612 grep -v '^ *+' conftest.er1 >conftest.err
101613 rm -f conftest.er1
101614 cat conftest.err >&5
101615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101616 (exit $ac_status); } &&
101617 { ac_try='test -z "$ac_c_werror_flag"
101618 || test ! -s conftest.err'
101619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101620 (eval $ac_try) 2>&5
101621 ac_status=$?
101622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101623 (exit $ac_status); }; } &&
101624 { ac_try='test -s conftest$ac_exeext'
101625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101626 (eval $ac_try) 2>&5
101627 ac_status=$?
101628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101629 (exit $ac_status); }; }; then
101630 eval "$as_ac_var=yes"
101632 echo "$as_me: failed program was:" >&5
101633 sed 's/^/| /' conftest.$ac_ext >&5
101635 eval "$as_ac_var=no"
101637 rm -f conftest.err conftest.$ac_objext \
101638 conftest$ac_exeext conftest.$ac_ext
101640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101642 if test `eval echo '${'$as_ac_var'}'` = yes; then
101643 cat >>confdefs.h <<_ACEOF
101644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101645 _ACEOF
101658 echo "$as_me:$LINENO: checking for hypotf declaration" >&5
101659 echo $ECHO_N "checking for hypotf declaration... $ECHO_C" >&6
101660 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
101661 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then
101662 echo $ECHO_N "(cached) $ECHO_C" >&6
101667 ac_ext=cc
101668 ac_cpp='$CXXCPP $CPPFLAGS'
101669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101673 cat >conftest.$ac_ext <<_ACEOF
101674 /* confdefs.h. */
101675 _ACEOF
101676 cat confdefs.h >>conftest.$ac_ext
101677 cat >>conftest.$ac_ext <<_ACEOF
101678 /* end confdefs.h. */
101679 #include <math.h>
101681 main ()
101683 hypotf(0, 0);
101685 return 0;
101687 _ACEOF
101688 rm -f conftest.$ac_objext
101689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101690 (eval $ac_compile) 2>conftest.er1
101691 ac_status=$?
101692 grep -v '^ *+' conftest.er1 >conftest.err
101693 rm -f conftest.er1
101694 cat conftest.err >&5
101695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101696 (exit $ac_status); } &&
101697 { ac_try='test -z "$ac_cxx_werror_flag"
101698 || test ! -s conftest.err'
101699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101700 (eval $ac_try) 2>&5
101701 ac_status=$?
101702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101703 (exit $ac_status); }; } &&
101704 { ac_try='test -s conftest.$ac_objext'
101705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101706 (eval $ac_try) 2>&5
101707 ac_status=$?
101708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101709 (exit $ac_status); }; }; then
101710 glibcxx_cv_func_hypotf_use=yes
101712 echo "$as_me: failed program was:" >&5
101713 sed 's/^/| /' conftest.$ac_ext >&5
101715 glibcxx_cv_func_hypotf_use=no
101717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101718 ac_ext=c
101719 ac_cpp='$CPP $CPPFLAGS'
101720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotf_use" >&5
101729 echo "${ECHO_T}$glibcxx_cv_func_hypotf_use" >&6
101731 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
101733 for ac_func in hypotf
101735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101736 echo "$as_me:$LINENO: checking for $ac_func" >&5
101737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101738 if eval "test \"\${$as_ac_var+set}\" = set"; then
101739 echo $ECHO_N "(cached) $ECHO_C" >&6
101741 if test x$gcc_no_link = xyes; then
101742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101744 { (exit 1); exit 1; }; }
101746 cat >conftest.$ac_ext <<_ACEOF
101747 /* confdefs.h. */
101748 _ACEOF
101749 cat confdefs.h >>conftest.$ac_ext
101750 cat >>conftest.$ac_ext <<_ACEOF
101751 /* end confdefs.h. */
101752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101754 #define $ac_func innocuous_$ac_func
101756 /* System header to define __stub macros and hopefully few prototypes,
101757 which can conflict with char $ac_func (); below.
101758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101759 <limits.h> exists even on freestanding compilers. */
101761 #ifdef __STDC__
101762 # include <limits.h>
101763 #else
101764 # include <assert.h>
101765 #endif
101767 #undef $ac_func
101769 /* Override any gcc2 internal prototype to avoid an error. */
101770 #ifdef __cplusplus
101771 extern "C"
101773 #endif
101774 /* We use char because int might match the return type of a gcc2
101775 builtin and then its argument prototype would still apply. */
101776 char $ac_func ();
101777 /* The GNU C library defines this for functions which it implements
101778 to always fail with ENOSYS. Some functions are actually named
101779 something starting with __ and the normal name is an alias. */
101780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101781 choke me
101782 #else
101783 char (*f) () = $ac_func;
101784 #endif
101785 #ifdef __cplusplus
101787 #endif
101790 main ()
101792 return f != $ac_func;
101794 return 0;
101796 _ACEOF
101797 rm -f conftest.$ac_objext conftest$ac_exeext
101798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101799 (eval $ac_link) 2>conftest.er1
101800 ac_status=$?
101801 grep -v '^ *+' conftest.er1 >conftest.err
101802 rm -f conftest.er1
101803 cat conftest.err >&5
101804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101805 (exit $ac_status); } &&
101806 { ac_try='test -z "$ac_c_werror_flag"
101807 || test ! -s conftest.err'
101808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101809 (eval $ac_try) 2>&5
101810 ac_status=$?
101811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101812 (exit $ac_status); }; } &&
101813 { ac_try='test -s conftest$ac_exeext'
101814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101815 (eval $ac_try) 2>&5
101816 ac_status=$?
101817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101818 (exit $ac_status); }; }; then
101819 eval "$as_ac_var=yes"
101821 echo "$as_me: failed program was:" >&5
101822 sed 's/^/| /' conftest.$ac_ext >&5
101824 eval "$as_ac_var=no"
101826 rm -f conftest.err conftest.$ac_objext \
101827 conftest$ac_exeext conftest.$ac_ext
101829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
101830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
101831 if test `eval echo '${'$as_ac_var'}'` = yes; then
101832 cat >>confdefs.h <<_ACEOF
101833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
101834 _ACEOF
101841 echo "$as_me:$LINENO: checking for _hypotf declaration" >&5
101842 echo $ECHO_N "checking for _hypotf declaration... $ECHO_C" >&6
101843 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
101844 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then
101845 echo $ECHO_N "(cached) $ECHO_C" >&6
101850 ac_ext=cc
101851 ac_cpp='$CXXCPP $CPPFLAGS'
101852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
101856 cat >conftest.$ac_ext <<_ACEOF
101857 /* confdefs.h. */
101858 _ACEOF
101859 cat confdefs.h >>conftest.$ac_ext
101860 cat >>conftest.$ac_ext <<_ACEOF
101861 /* end confdefs.h. */
101862 #include <math.h>
101864 main ()
101866 _hypotf(0, 0);
101868 return 0;
101870 _ACEOF
101871 rm -f conftest.$ac_objext
101872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
101873 (eval $ac_compile) 2>conftest.er1
101874 ac_status=$?
101875 grep -v '^ *+' conftest.er1 >conftest.err
101876 rm -f conftest.er1
101877 cat conftest.err >&5
101878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101879 (exit $ac_status); } &&
101880 { ac_try='test -z "$ac_cxx_werror_flag"
101881 || test ! -s conftest.err'
101882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101883 (eval $ac_try) 2>&5
101884 ac_status=$?
101885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101886 (exit $ac_status); }; } &&
101887 { ac_try='test -s conftest.$ac_objext'
101888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101889 (eval $ac_try) 2>&5
101890 ac_status=$?
101891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101892 (exit $ac_status); }; }; then
101893 glibcxx_cv_func__hypotf_use=yes
101895 echo "$as_me: failed program was:" >&5
101896 sed 's/^/| /' conftest.$ac_ext >&5
101898 glibcxx_cv_func__hypotf_use=no
101900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
101901 ac_ext=c
101902 ac_cpp='$CPP $CPPFLAGS'
101903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
101904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
101905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
101911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotf_use" >&5
101912 echo "${ECHO_T}$glibcxx_cv_func__hypotf_use" >&6
101914 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
101916 for ac_func in _hypotf
101918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
101919 echo "$as_me:$LINENO: checking for $ac_func" >&5
101920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
101921 if eval "test \"\${$as_ac_var+set}\" = set"; then
101922 echo $ECHO_N "(cached) $ECHO_C" >&6
101924 if test x$gcc_no_link = xyes; then
101925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
101926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
101927 { (exit 1); exit 1; }; }
101929 cat >conftest.$ac_ext <<_ACEOF
101930 /* confdefs.h. */
101931 _ACEOF
101932 cat confdefs.h >>conftest.$ac_ext
101933 cat >>conftest.$ac_ext <<_ACEOF
101934 /* end confdefs.h. */
101935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
101936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
101937 #define $ac_func innocuous_$ac_func
101939 /* System header to define __stub macros and hopefully few prototypes,
101940 which can conflict with char $ac_func (); below.
101941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
101942 <limits.h> exists even on freestanding compilers. */
101944 #ifdef __STDC__
101945 # include <limits.h>
101946 #else
101947 # include <assert.h>
101948 #endif
101950 #undef $ac_func
101952 /* Override any gcc2 internal prototype to avoid an error. */
101953 #ifdef __cplusplus
101954 extern "C"
101956 #endif
101957 /* We use char because int might match the return type of a gcc2
101958 builtin and then its argument prototype would still apply. */
101959 char $ac_func ();
101960 /* The GNU C library defines this for functions which it implements
101961 to always fail with ENOSYS. Some functions are actually named
101962 something starting with __ and the normal name is an alias. */
101963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
101964 choke me
101965 #else
101966 char (*f) () = $ac_func;
101967 #endif
101968 #ifdef __cplusplus
101970 #endif
101973 main ()
101975 return f != $ac_func;
101977 return 0;
101979 _ACEOF
101980 rm -f conftest.$ac_objext conftest$ac_exeext
101981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
101982 (eval $ac_link) 2>conftest.er1
101983 ac_status=$?
101984 grep -v '^ *+' conftest.er1 >conftest.err
101985 rm -f conftest.er1
101986 cat conftest.err >&5
101987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101988 (exit $ac_status); } &&
101989 { ac_try='test -z "$ac_c_werror_flag"
101990 || test ! -s conftest.err'
101991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101992 (eval $ac_try) 2>&5
101993 ac_status=$?
101994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
101995 (exit $ac_status); }; } &&
101996 { ac_try='test -s conftest$ac_exeext'
101997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
101998 (eval $ac_try) 2>&5
101999 ac_status=$?
102000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102001 (exit $ac_status); }; }; then
102002 eval "$as_ac_var=yes"
102004 echo "$as_me: failed program was:" >&5
102005 sed 's/^/| /' conftest.$ac_ext >&5
102007 eval "$as_ac_var=no"
102009 rm -f conftest.err conftest.$ac_objext \
102010 conftest$ac_exeext conftest.$ac_ext
102012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102014 if test `eval echo '${'$as_ac_var'}'` = yes; then
102015 cat >>confdefs.h <<_ACEOF
102016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102017 _ACEOF
102030 echo "$as_me:$LINENO: checking for ldexpf declaration" >&5
102031 echo $ECHO_N "checking for ldexpf declaration... $ECHO_C" >&6
102032 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
102033 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then
102034 echo $ECHO_N "(cached) $ECHO_C" >&6
102039 ac_ext=cc
102040 ac_cpp='$CXXCPP $CPPFLAGS'
102041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102045 cat >conftest.$ac_ext <<_ACEOF
102046 /* confdefs.h. */
102047 _ACEOF
102048 cat confdefs.h >>conftest.$ac_ext
102049 cat >>conftest.$ac_ext <<_ACEOF
102050 /* end confdefs.h. */
102051 #include <math.h>
102053 main ()
102055 ldexpf(0, 0);
102057 return 0;
102059 _ACEOF
102060 rm -f conftest.$ac_objext
102061 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102062 (eval $ac_compile) 2>conftest.er1
102063 ac_status=$?
102064 grep -v '^ *+' conftest.er1 >conftest.err
102065 rm -f conftest.er1
102066 cat conftest.err >&5
102067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102068 (exit $ac_status); } &&
102069 { ac_try='test -z "$ac_cxx_werror_flag"
102070 || test ! -s conftest.err'
102071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102072 (eval $ac_try) 2>&5
102073 ac_status=$?
102074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102075 (exit $ac_status); }; } &&
102076 { ac_try='test -s conftest.$ac_objext'
102077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102078 (eval $ac_try) 2>&5
102079 ac_status=$?
102080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102081 (exit $ac_status); }; }; then
102082 glibcxx_cv_func_ldexpf_use=yes
102084 echo "$as_me: failed program was:" >&5
102085 sed 's/^/| /' conftest.$ac_ext >&5
102087 glibcxx_cv_func_ldexpf_use=no
102089 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102090 ac_ext=c
102091 ac_cpp='$CPP $CPPFLAGS'
102092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102100 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpf_use" >&5
102101 echo "${ECHO_T}$glibcxx_cv_func_ldexpf_use" >&6
102103 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
102105 for ac_func in ldexpf
102107 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102108 echo "$as_me:$LINENO: checking for $ac_func" >&5
102109 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102110 if eval "test \"\${$as_ac_var+set}\" = set"; then
102111 echo $ECHO_N "(cached) $ECHO_C" >&6
102113 if test x$gcc_no_link = xyes; then
102114 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102115 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102116 { (exit 1); exit 1; }; }
102118 cat >conftest.$ac_ext <<_ACEOF
102119 /* confdefs.h. */
102120 _ACEOF
102121 cat confdefs.h >>conftest.$ac_ext
102122 cat >>conftest.$ac_ext <<_ACEOF
102123 /* end confdefs.h. */
102124 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102125 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102126 #define $ac_func innocuous_$ac_func
102128 /* System header to define __stub macros and hopefully few prototypes,
102129 which can conflict with char $ac_func (); below.
102130 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102131 <limits.h> exists even on freestanding compilers. */
102133 #ifdef __STDC__
102134 # include <limits.h>
102135 #else
102136 # include <assert.h>
102137 #endif
102139 #undef $ac_func
102141 /* Override any gcc2 internal prototype to avoid an error. */
102142 #ifdef __cplusplus
102143 extern "C"
102145 #endif
102146 /* We use char because int might match the return type of a gcc2
102147 builtin and then its argument prototype would still apply. */
102148 char $ac_func ();
102149 /* The GNU C library defines this for functions which it implements
102150 to always fail with ENOSYS. Some functions are actually named
102151 something starting with __ and the normal name is an alias. */
102152 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102153 choke me
102154 #else
102155 char (*f) () = $ac_func;
102156 #endif
102157 #ifdef __cplusplus
102159 #endif
102162 main ()
102164 return f != $ac_func;
102166 return 0;
102168 _ACEOF
102169 rm -f conftest.$ac_objext conftest$ac_exeext
102170 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102171 (eval $ac_link) 2>conftest.er1
102172 ac_status=$?
102173 grep -v '^ *+' conftest.er1 >conftest.err
102174 rm -f conftest.er1
102175 cat conftest.err >&5
102176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102177 (exit $ac_status); } &&
102178 { ac_try='test -z "$ac_c_werror_flag"
102179 || test ! -s conftest.err'
102180 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102181 (eval $ac_try) 2>&5
102182 ac_status=$?
102183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102184 (exit $ac_status); }; } &&
102185 { ac_try='test -s conftest$ac_exeext'
102186 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102187 (eval $ac_try) 2>&5
102188 ac_status=$?
102189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102190 (exit $ac_status); }; }; then
102191 eval "$as_ac_var=yes"
102193 echo "$as_me: failed program was:" >&5
102194 sed 's/^/| /' conftest.$ac_ext >&5
102196 eval "$as_ac_var=no"
102198 rm -f conftest.err conftest.$ac_objext \
102199 conftest$ac_exeext conftest.$ac_ext
102201 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102202 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102203 if test `eval echo '${'$as_ac_var'}'` = yes; then
102204 cat >>confdefs.h <<_ACEOF
102205 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102206 _ACEOF
102213 echo "$as_me:$LINENO: checking for _ldexpf declaration" >&5
102214 echo $ECHO_N "checking for _ldexpf declaration... $ECHO_C" >&6
102215 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
102216 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then
102217 echo $ECHO_N "(cached) $ECHO_C" >&6
102222 ac_ext=cc
102223 ac_cpp='$CXXCPP $CPPFLAGS'
102224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102228 cat >conftest.$ac_ext <<_ACEOF
102229 /* confdefs.h. */
102230 _ACEOF
102231 cat confdefs.h >>conftest.$ac_ext
102232 cat >>conftest.$ac_ext <<_ACEOF
102233 /* end confdefs.h. */
102234 #include <math.h>
102236 main ()
102238 _ldexpf(0, 0);
102240 return 0;
102242 _ACEOF
102243 rm -f conftest.$ac_objext
102244 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102245 (eval $ac_compile) 2>conftest.er1
102246 ac_status=$?
102247 grep -v '^ *+' conftest.er1 >conftest.err
102248 rm -f conftest.er1
102249 cat conftest.err >&5
102250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102251 (exit $ac_status); } &&
102252 { ac_try='test -z "$ac_cxx_werror_flag"
102253 || test ! -s conftest.err'
102254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102255 (eval $ac_try) 2>&5
102256 ac_status=$?
102257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102258 (exit $ac_status); }; } &&
102259 { ac_try='test -s conftest.$ac_objext'
102260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102261 (eval $ac_try) 2>&5
102262 ac_status=$?
102263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102264 (exit $ac_status); }; }; then
102265 glibcxx_cv_func__ldexpf_use=yes
102267 echo "$as_me: failed program was:" >&5
102268 sed 's/^/| /' conftest.$ac_ext >&5
102270 glibcxx_cv_func__ldexpf_use=no
102272 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102273 ac_ext=c
102274 ac_cpp='$CPP $CPPFLAGS'
102275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102283 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpf_use" >&5
102284 echo "${ECHO_T}$glibcxx_cv_func__ldexpf_use" >&6
102286 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
102288 for ac_func in _ldexpf
102290 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102291 echo "$as_me:$LINENO: checking for $ac_func" >&5
102292 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102293 if eval "test \"\${$as_ac_var+set}\" = set"; then
102294 echo $ECHO_N "(cached) $ECHO_C" >&6
102296 if test x$gcc_no_link = xyes; then
102297 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102298 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102299 { (exit 1); exit 1; }; }
102301 cat >conftest.$ac_ext <<_ACEOF
102302 /* confdefs.h. */
102303 _ACEOF
102304 cat confdefs.h >>conftest.$ac_ext
102305 cat >>conftest.$ac_ext <<_ACEOF
102306 /* end confdefs.h. */
102307 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102308 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102309 #define $ac_func innocuous_$ac_func
102311 /* System header to define __stub macros and hopefully few prototypes,
102312 which can conflict with char $ac_func (); below.
102313 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102314 <limits.h> exists even on freestanding compilers. */
102316 #ifdef __STDC__
102317 # include <limits.h>
102318 #else
102319 # include <assert.h>
102320 #endif
102322 #undef $ac_func
102324 /* Override any gcc2 internal prototype to avoid an error. */
102325 #ifdef __cplusplus
102326 extern "C"
102328 #endif
102329 /* We use char because int might match the return type of a gcc2
102330 builtin and then its argument prototype would still apply. */
102331 char $ac_func ();
102332 /* The GNU C library defines this for functions which it implements
102333 to always fail with ENOSYS. Some functions are actually named
102334 something starting with __ and the normal name is an alias. */
102335 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102336 choke me
102337 #else
102338 char (*f) () = $ac_func;
102339 #endif
102340 #ifdef __cplusplus
102342 #endif
102345 main ()
102347 return f != $ac_func;
102349 return 0;
102351 _ACEOF
102352 rm -f conftest.$ac_objext conftest$ac_exeext
102353 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102354 (eval $ac_link) 2>conftest.er1
102355 ac_status=$?
102356 grep -v '^ *+' conftest.er1 >conftest.err
102357 rm -f conftest.er1
102358 cat conftest.err >&5
102359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102360 (exit $ac_status); } &&
102361 { ac_try='test -z "$ac_c_werror_flag"
102362 || test ! -s conftest.err'
102363 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102364 (eval $ac_try) 2>&5
102365 ac_status=$?
102366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102367 (exit $ac_status); }; } &&
102368 { ac_try='test -s conftest$ac_exeext'
102369 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102370 (eval $ac_try) 2>&5
102371 ac_status=$?
102372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102373 (exit $ac_status); }; }; then
102374 eval "$as_ac_var=yes"
102376 echo "$as_me: failed program was:" >&5
102377 sed 's/^/| /' conftest.$ac_ext >&5
102379 eval "$as_ac_var=no"
102381 rm -f conftest.err conftest.$ac_objext \
102382 conftest$ac_exeext conftest.$ac_ext
102384 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102385 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102386 if test `eval echo '${'$as_ac_var'}'` = yes; then
102387 cat >>confdefs.h <<_ACEOF
102388 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102389 _ACEOF
102402 echo "$as_me:$LINENO: checking for logf declaration" >&5
102403 echo $ECHO_N "checking for logf declaration... $ECHO_C" >&6
102404 if test x${glibcxx_cv_func_logf_use+set} != xset; then
102405 if test "${glibcxx_cv_func_logf_use+set}" = set; then
102406 echo $ECHO_N "(cached) $ECHO_C" >&6
102411 ac_ext=cc
102412 ac_cpp='$CXXCPP $CPPFLAGS'
102413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102417 cat >conftest.$ac_ext <<_ACEOF
102418 /* confdefs.h. */
102419 _ACEOF
102420 cat confdefs.h >>conftest.$ac_ext
102421 cat >>conftest.$ac_ext <<_ACEOF
102422 /* end confdefs.h. */
102423 #include <math.h>
102424 #ifdef HAVE_IEEEFP_H
102425 #include <ieeefp.h>
102426 #endif
102429 main ()
102431 logf(0);
102433 return 0;
102435 _ACEOF
102436 rm -f conftest.$ac_objext
102437 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102438 (eval $ac_compile) 2>conftest.er1
102439 ac_status=$?
102440 grep -v '^ *+' conftest.er1 >conftest.err
102441 rm -f conftest.er1
102442 cat conftest.err >&5
102443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102444 (exit $ac_status); } &&
102445 { ac_try='test -z "$ac_cxx_werror_flag"
102446 || test ! -s conftest.err'
102447 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102448 (eval $ac_try) 2>&5
102449 ac_status=$?
102450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102451 (exit $ac_status); }; } &&
102452 { ac_try='test -s conftest.$ac_objext'
102453 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102454 (eval $ac_try) 2>&5
102455 ac_status=$?
102456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102457 (exit $ac_status); }; }; then
102458 glibcxx_cv_func_logf_use=yes
102460 echo "$as_me: failed program was:" >&5
102461 sed 's/^/| /' conftest.$ac_ext >&5
102463 glibcxx_cv_func_logf_use=no
102465 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102466 ac_ext=c
102467 ac_cpp='$CPP $CPPFLAGS'
102468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102476 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logf_use" >&5
102477 echo "${ECHO_T}$glibcxx_cv_func_logf_use" >&6
102479 if test x$glibcxx_cv_func_logf_use = x"yes"; then
102481 for ac_func in logf
102483 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102484 echo "$as_me:$LINENO: checking for $ac_func" >&5
102485 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102486 if eval "test \"\${$as_ac_var+set}\" = set"; then
102487 echo $ECHO_N "(cached) $ECHO_C" >&6
102489 if test x$gcc_no_link = xyes; then
102490 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102491 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102492 { (exit 1); exit 1; }; }
102494 cat >conftest.$ac_ext <<_ACEOF
102495 /* confdefs.h. */
102496 _ACEOF
102497 cat confdefs.h >>conftest.$ac_ext
102498 cat >>conftest.$ac_ext <<_ACEOF
102499 /* end confdefs.h. */
102500 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102502 #define $ac_func innocuous_$ac_func
102504 /* System header to define __stub macros and hopefully few prototypes,
102505 which can conflict with char $ac_func (); below.
102506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102507 <limits.h> exists even on freestanding compilers. */
102509 #ifdef __STDC__
102510 # include <limits.h>
102511 #else
102512 # include <assert.h>
102513 #endif
102515 #undef $ac_func
102517 /* Override any gcc2 internal prototype to avoid an error. */
102518 #ifdef __cplusplus
102519 extern "C"
102521 #endif
102522 /* We use char because int might match the return type of a gcc2
102523 builtin and then its argument prototype would still apply. */
102524 char $ac_func ();
102525 /* The GNU C library defines this for functions which it implements
102526 to always fail with ENOSYS. Some functions are actually named
102527 something starting with __ and the normal name is an alias. */
102528 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102529 choke me
102530 #else
102531 char (*f) () = $ac_func;
102532 #endif
102533 #ifdef __cplusplus
102535 #endif
102538 main ()
102540 return f != $ac_func;
102542 return 0;
102544 _ACEOF
102545 rm -f conftest.$ac_objext conftest$ac_exeext
102546 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102547 (eval $ac_link) 2>conftest.er1
102548 ac_status=$?
102549 grep -v '^ *+' conftest.er1 >conftest.err
102550 rm -f conftest.er1
102551 cat conftest.err >&5
102552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102553 (exit $ac_status); } &&
102554 { ac_try='test -z "$ac_c_werror_flag"
102555 || test ! -s conftest.err'
102556 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102557 (eval $ac_try) 2>&5
102558 ac_status=$?
102559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102560 (exit $ac_status); }; } &&
102561 { ac_try='test -s conftest$ac_exeext'
102562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102563 (eval $ac_try) 2>&5
102564 ac_status=$?
102565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102566 (exit $ac_status); }; }; then
102567 eval "$as_ac_var=yes"
102569 echo "$as_me: failed program was:" >&5
102570 sed 's/^/| /' conftest.$ac_ext >&5
102572 eval "$as_ac_var=no"
102574 rm -f conftest.err conftest.$ac_objext \
102575 conftest$ac_exeext conftest.$ac_ext
102577 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102578 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102579 if test `eval echo '${'$as_ac_var'}'` = yes; then
102580 cat >>confdefs.h <<_ACEOF
102581 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102582 _ACEOF
102589 echo "$as_me:$LINENO: checking for _logf declaration" >&5
102590 echo $ECHO_N "checking for _logf declaration... $ECHO_C" >&6
102591 if test x${glibcxx_cv_func__logf_use+set} != xset; then
102592 if test "${glibcxx_cv_func__logf_use+set}" = set; then
102593 echo $ECHO_N "(cached) $ECHO_C" >&6
102598 ac_ext=cc
102599 ac_cpp='$CXXCPP $CPPFLAGS'
102600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102604 cat >conftest.$ac_ext <<_ACEOF
102605 /* confdefs.h. */
102606 _ACEOF
102607 cat confdefs.h >>conftest.$ac_ext
102608 cat >>conftest.$ac_ext <<_ACEOF
102609 /* end confdefs.h. */
102610 #include <math.h>
102611 #ifdef HAVE_IEEEFP_H
102612 #include <ieeefp.h>
102613 #endif
102616 main ()
102618 _logf(0);
102620 return 0;
102622 _ACEOF
102623 rm -f conftest.$ac_objext
102624 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102625 (eval $ac_compile) 2>conftest.er1
102626 ac_status=$?
102627 grep -v '^ *+' conftest.er1 >conftest.err
102628 rm -f conftest.er1
102629 cat conftest.err >&5
102630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102631 (exit $ac_status); } &&
102632 { ac_try='test -z "$ac_cxx_werror_flag"
102633 || test ! -s conftest.err'
102634 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102635 (eval $ac_try) 2>&5
102636 ac_status=$?
102637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102638 (exit $ac_status); }; } &&
102639 { ac_try='test -s conftest.$ac_objext'
102640 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102641 (eval $ac_try) 2>&5
102642 ac_status=$?
102643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102644 (exit $ac_status); }; }; then
102645 glibcxx_cv_func__logf_use=yes
102647 echo "$as_me: failed program was:" >&5
102648 sed 's/^/| /' conftest.$ac_ext >&5
102650 glibcxx_cv_func__logf_use=no
102652 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102653 ac_ext=c
102654 ac_cpp='$CPP $CPPFLAGS'
102655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logf_use" >&5
102664 echo "${ECHO_T}$glibcxx_cv_func__logf_use" >&6
102666 if test x$glibcxx_cv_func__logf_use = x"yes"; then
102668 for ac_func in _logf
102670 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102671 echo "$as_me:$LINENO: checking for $ac_func" >&5
102672 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102673 if eval "test \"\${$as_ac_var+set}\" = set"; then
102674 echo $ECHO_N "(cached) $ECHO_C" >&6
102676 if test x$gcc_no_link = xyes; then
102677 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102678 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102679 { (exit 1); exit 1; }; }
102681 cat >conftest.$ac_ext <<_ACEOF
102682 /* confdefs.h. */
102683 _ACEOF
102684 cat confdefs.h >>conftest.$ac_ext
102685 cat >>conftest.$ac_ext <<_ACEOF
102686 /* end confdefs.h. */
102687 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102688 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102689 #define $ac_func innocuous_$ac_func
102691 /* System header to define __stub macros and hopefully few prototypes,
102692 which can conflict with char $ac_func (); below.
102693 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102694 <limits.h> exists even on freestanding compilers. */
102696 #ifdef __STDC__
102697 # include <limits.h>
102698 #else
102699 # include <assert.h>
102700 #endif
102702 #undef $ac_func
102704 /* Override any gcc2 internal prototype to avoid an error. */
102705 #ifdef __cplusplus
102706 extern "C"
102708 #endif
102709 /* We use char because int might match the return type of a gcc2
102710 builtin and then its argument prototype would still apply. */
102711 char $ac_func ();
102712 /* The GNU C library defines this for functions which it implements
102713 to always fail with ENOSYS. Some functions are actually named
102714 something starting with __ and the normal name is an alias. */
102715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102716 choke me
102717 #else
102718 char (*f) () = $ac_func;
102719 #endif
102720 #ifdef __cplusplus
102722 #endif
102725 main ()
102727 return f != $ac_func;
102729 return 0;
102731 _ACEOF
102732 rm -f conftest.$ac_objext conftest$ac_exeext
102733 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102734 (eval $ac_link) 2>conftest.er1
102735 ac_status=$?
102736 grep -v '^ *+' conftest.er1 >conftest.err
102737 rm -f conftest.er1
102738 cat conftest.err >&5
102739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102740 (exit $ac_status); } &&
102741 { ac_try='test -z "$ac_c_werror_flag"
102742 || test ! -s conftest.err'
102743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102744 (eval $ac_try) 2>&5
102745 ac_status=$?
102746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102747 (exit $ac_status); }; } &&
102748 { ac_try='test -s conftest$ac_exeext'
102749 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102750 (eval $ac_try) 2>&5
102751 ac_status=$?
102752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102753 (exit $ac_status); }; }; then
102754 eval "$as_ac_var=yes"
102756 echo "$as_me: failed program was:" >&5
102757 sed 's/^/| /' conftest.$ac_ext >&5
102759 eval "$as_ac_var=no"
102761 rm -f conftest.err conftest.$ac_objext \
102762 conftest$ac_exeext conftest.$ac_ext
102764 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102765 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102766 if test `eval echo '${'$as_ac_var'}'` = yes; then
102767 cat >>confdefs.h <<_ACEOF
102768 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102769 _ACEOF
102782 echo "$as_me:$LINENO: checking for log10f declaration" >&5
102783 echo $ECHO_N "checking for log10f declaration... $ECHO_C" >&6
102784 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
102785 if test "${glibcxx_cv_func_log10f_use+set}" = set; then
102786 echo $ECHO_N "(cached) $ECHO_C" >&6
102791 ac_ext=cc
102792 ac_cpp='$CXXCPP $CPPFLAGS'
102793 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102794 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102795 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102797 cat >conftest.$ac_ext <<_ACEOF
102798 /* confdefs.h. */
102799 _ACEOF
102800 cat confdefs.h >>conftest.$ac_ext
102801 cat >>conftest.$ac_ext <<_ACEOF
102802 /* end confdefs.h. */
102803 #include <math.h>
102804 #ifdef HAVE_IEEEFP_H
102805 #include <ieeefp.h>
102806 #endif
102809 main ()
102811 log10f(0);
102813 return 0;
102815 _ACEOF
102816 rm -f conftest.$ac_objext
102817 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
102818 (eval $ac_compile) 2>conftest.er1
102819 ac_status=$?
102820 grep -v '^ *+' conftest.er1 >conftest.err
102821 rm -f conftest.er1
102822 cat conftest.err >&5
102823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102824 (exit $ac_status); } &&
102825 { ac_try='test -z "$ac_cxx_werror_flag"
102826 || test ! -s conftest.err'
102827 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102828 (eval $ac_try) 2>&5
102829 ac_status=$?
102830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102831 (exit $ac_status); }; } &&
102832 { ac_try='test -s conftest.$ac_objext'
102833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102834 (eval $ac_try) 2>&5
102835 ac_status=$?
102836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102837 (exit $ac_status); }; }; then
102838 glibcxx_cv_func_log10f_use=yes
102840 echo "$as_me: failed program was:" >&5
102841 sed 's/^/| /' conftest.$ac_ext >&5
102843 glibcxx_cv_func_log10f_use=no
102845 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
102846 ac_ext=c
102847 ac_cpp='$CPP $CPPFLAGS'
102848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
102856 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10f_use" >&5
102857 echo "${ECHO_T}$glibcxx_cv_func_log10f_use" >&6
102859 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
102861 for ac_func in log10f
102863 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
102864 echo "$as_me:$LINENO: checking for $ac_func" >&5
102865 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
102866 if eval "test \"\${$as_ac_var+set}\" = set"; then
102867 echo $ECHO_N "(cached) $ECHO_C" >&6
102869 if test x$gcc_no_link = xyes; then
102870 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
102871 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
102872 { (exit 1); exit 1; }; }
102874 cat >conftest.$ac_ext <<_ACEOF
102875 /* confdefs.h. */
102876 _ACEOF
102877 cat confdefs.h >>conftest.$ac_ext
102878 cat >>conftest.$ac_ext <<_ACEOF
102879 /* end confdefs.h. */
102880 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
102881 For example, HP-UX 11i <limits.h> declares gettimeofday. */
102882 #define $ac_func innocuous_$ac_func
102884 /* System header to define __stub macros and hopefully few prototypes,
102885 which can conflict with char $ac_func (); below.
102886 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
102887 <limits.h> exists even on freestanding compilers. */
102889 #ifdef __STDC__
102890 # include <limits.h>
102891 #else
102892 # include <assert.h>
102893 #endif
102895 #undef $ac_func
102897 /* Override any gcc2 internal prototype to avoid an error. */
102898 #ifdef __cplusplus
102899 extern "C"
102901 #endif
102902 /* We use char because int might match the return type of a gcc2
102903 builtin and then its argument prototype would still apply. */
102904 char $ac_func ();
102905 /* The GNU C library defines this for functions which it implements
102906 to always fail with ENOSYS. Some functions are actually named
102907 something starting with __ and the normal name is an alias. */
102908 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
102909 choke me
102910 #else
102911 char (*f) () = $ac_func;
102912 #endif
102913 #ifdef __cplusplus
102915 #endif
102918 main ()
102920 return f != $ac_func;
102922 return 0;
102924 _ACEOF
102925 rm -f conftest.$ac_objext conftest$ac_exeext
102926 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
102927 (eval $ac_link) 2>conftest.er1
102928 ac_status=$?
102929 grep -v '^ *+' conftest.er1 >conftest.err
102930 rm -f conftest.er1
102931 cat conftest.err >&5
102932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102933 (exit $ac_status); } &&
102934 { ac_try='test -z "$ac_c_werror_flag"
102935 || test ! -s conftest.err'
102936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102937 (eval $ac_try) 2>&5
102938 ac_status=$?
102939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102940 (exit $ac_status); }; } &&
102941 { ac_try='test -s conftest$ac_exeext'
102942 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
102943 (eval $ac_try) 2>&5
102944 ac_status=$?
102945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
102946 (exit $ac_status); }; }; then
102947 eval "$as_ac_var=yes"
102949 echo "$as_me: failed program was:" >&5
102950 sed 's/^/| /' conftest.$ac_ext >&5
102952 eval "$as_ac_var=no"
102954 rm -f conftest.err conftest.$ac_objext \
102955 conftest$ac_exeext conftest.$ac_ext
102957 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
102958 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
102959 if test `eval echo '${'$as_ac_var'}'` = yes; then
102960 cat >>confdefs.h <<_ACEOF
102961 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
102962 _ACEOF
102969 echo "$as_me:$LINENO: checking for _log10f declaration" >&5
102970 echo $ECHO_N "checking for _log10f declaration... $ECHO_C" >&6
102971 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
102972 if test "${glibcxx_cv_func__log10f_use+set}" = set; then
102973 echo $ECHO_N "(cached) $ECHO_C" >&6
102978 ac_ext=cc
102979 ac_cpp='$CXXCPP $CPPFLAGS'
102980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
102981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
102982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
102984 cat >conftest.$ac_ext <<_ACEOF
102985 /* confdefs.h. */
102986 _ACEOF
102987 cat confdefs.h >>conftest.$ac_ext
102988 cat >>conftest.$ac_ext <<_ACEOF
102989 /* end confdefs.h. */
102990 #include <math.h>
102991 #ifdef HAVE_IEEEFP_H
102992 #include <ieeefp.h>
102993 #endif
102996 main ()
102998 _log10f(0);
103000 return 0;
103002 _ACEOF
103003 rm -f conftest.$ac_objext
103004 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103005 (eval $ac_compile) 2>conftest.er1
103006 ac_status=$?
103007 grep -v '^ *+' conftest.er1 >conftest.err
103008 rm -f conftest.er1
103009 cat conftest.err >&5
103010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103011 (exit $ac_status); } &&
103012 { ac_try='test -z "$ac_cxx_werror_flag"
103013 || test ! -s conftest.err'
103014 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103015 (eval $ac_try) 2>&5
103016 ac_status=$?
103017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103018 (exit $ac_status); }; } &&
103019 { ac_try='test -s conftest.$ac_objext'
103020 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103021 (eval $ac_try) 2>&5
103022 ac_status=$?
103023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103024 (exit $ac_status); }; }; then
103025 glibcxx_cv_func__log10f_use=yes
103027 echo "$as_me: failed program was:" >&5
103028 sed 's/^/| /' conftest.$ac_ext >&5
103030 glibcxx_cv_func__log10f_use=no
103032 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103033 ac_ext=c
103034 ac_cpp='$CPP $CPPFLAGS'
103035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10f_use" >&5
103044 echo "${ECHO_T}$glibcxx_cv_func__log10f_use" >&6
103046 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
103048 for ac_func in _log10f
103050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103051 echo "$as_me:$LINENO: checking for $ac_func" >&5
103052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103053 if eval "test \"\${$as_ac_var+set}\" = set"; then
103054 echo $ECHO_N "(cached) $ECHO_C" >&6
103056 if test x$gcc_no_link = xyes; then
103057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103059 { (exit 1); exit 1; }; }
103061 cat >conftest.$ac_ext <<_ACEOF
103062 /* confdefs.h. */
103063 _ACEOF
103064 cat confdefs.h >>conftest.$ac_ext
103065 cat >>conftest.$ac_ext <<_ACEOF
103066 /* end confdefs.h. */
103067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103069 #define $ac_func innocuous_$ac_func
103071 /* System header to define __stub macros and hopefully few prototypes,
103072 which can conflict with char $ac_func (); below.
103073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103074 <limits.h> exists even on freestanding compilers. */
103076 #ifdef __STDC__
103077 # include <limits.h>
103078 #else
103079 # include <assert.h>
103080 #endif
103082 #undef $ac_func
103084 /* Override any gcc2 internal prototype to avoid an error. */
103085 #ifdef __cplusplus
103086 extern "C"
103088 #endif
103089 /* We use char because int might match the return type of a gcc2
103090 builtin and then its argument prototype would still apply. */
103091 char $ac_func ();
103092 /* The GNU C library defines this for functions which it implements
103093 to always fail with ENOSYS. Some functions are actually named
103094 something starting with __ and the normal name is an alias. */
103095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103096 choke me
103097 #else
103098 char (*f) () = $ac_func;
103099 #endif
103100 #ifdef __cplusplus
103102 #endif
103105 main ()
103107 return f != $ac_func;
103109 return 0;
103111 _ACEOF
103112 rm -f conftest.$ac_objext conftest$ac_exeext
103113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103114 (eval $ac_link) 2>conftest.er1
103115 ac_status=$?
103116 grep -v '^ *+' conftest.er1 >conftest.err
103117 rm -f conftest.er1
103118 cat conftest.err >&5
103119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103120 (exit $ac_status); } &&
103121 { ac_try='test -z "$ac_c_werror_flag"
103122 || test ! -s conftest.err'
103123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103124 (eval $ac_try) 2>&5
103125 ac_status=$?
103126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103127 (exit $ac_status); }; } &&
103128 { ac_try='test -s conftest$ac_exeext'
103129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103130 (eval $ac_try) 2>&5
103131 ac_status=$?
103132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103133 (exit $ac_status); }; }; then
103134 eval "$as_ac_var=yes"
103136 echo "$as_me: failed program was:" >&5
103137 sed 's/^/| /' conftest.$ac_ext >&5
103139 eval "$as_ac_var=no"
103141 rm -f conftest.err conftest.$ac_objext \
103142 conftest$ac_exeext conftest.$ac_ext
103144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103146 if test `eval echo '${'$as_ac_var'}'` = yes; then
103147 cat >>confdefs.h <<_ACEOF
103148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103149 _ACEOF
103162 echo "$as_me:$LINENO: checking for modff declaration" >&5
103163 echo $ECHO_N "checking for modff declaration... $ECHO_C" >&6
103164 if test x${glibcxx_cv_func_modff_use+set} != xset; then
103165 if test "${glibcxx_cv_func_modff_use+set}" = set; then
103166 echo $ECHO_N "(cached) $ECHO_C" >&6
103171 ac_ext=cc
103172 ac_cpp='$CXXCPP $CPPFLAGS'
103173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103177 cat >conftest.$ac_ext <<_ACEOF
103178 /* confdefs.h. */
103179 _ACEOF
103180 cat confdefs.h >>conftest.$ac_ext
103181 cat >>conftest.$ac_ext <<_ACEOF
103182 /* end confdefs.h. */
103183 #include <math.h>
103185 main ()
103187 modff(0, 0);
103189 return 0;
103191 _ACEOF
103192 rm -f conftest.$ac_objext
103193 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103194 (eval $ac_compile) 2>conftest.er1
103195 ac_status=$?
103196 grep -v '^ *+' conftest.er1 >conftest.err
103197 rm -f conftest.er1
103198 cat conftest.err >&5
103199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103200 (exit $ac_status); } &&
103201 { ac_try='test -z "$ac_cxx_werror_flag"
103202 || test ! -s conftest.err'
103203 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103204 (eval $ac_try) 2>&5
103205 ac_status=$?
103206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103207 (exit $ac_status); }; } &&
103208 { ac_try='test -s conftest.$ac_objext'
103209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103210 (eval $ac_try) 2>&5
103211 ac_status=$?
103212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103213 (exit $ac_status); }; }; then
103214 glibcxx_cv_func_modff_use=yes
103216 echo "$as_me: failed program was:" >&5
103217 sed 's/^/| /' conftest.$ac_ext >&5
103219 glibcxx_cv_func_modff_use=no
103221 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103222 ac_ext=c
103223 ac_cpp='$CPP $CPPFLAGS'
103224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103232 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modff_use" >&5
103233 echo "${ECHO_T}$glibcxx_cv_func_modff_use" >&6
103235 if test x$glibcxx_cv_func_modff_use = x"yes"; then
103237 for ac_func in modff
103239 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103240 echo "$as_me:$LINENO: checking for $ac_func" >&5
103241 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103242 if eval "test \"\${$as_ac_var+set}\" = set"; then
103243 echo $ECHO_N "(cached) $ECHO_C" >&6
103245 if test x$gcc_no_link = xyes; then
103246 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103247 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103248 { (exit 1); exit 1; }; }
103250 cat >conftest.$ac_ext <<_ACEOF
103251 /* confdefs.h. */
103252 _ACEOF
103253 cat confdefs.h >>conftest.$ac_ext
103254 cat >>conftest.$ac_ext <<_ACEOF
103255 /* end confdefs.h. */
103256 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103257 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103258 #define $ac_func innocuous_$ac_func
103260 /* System header to define __stub macros and hopefully few prototypes,
103261 which can conflict with char $ac_func (); below.
103262 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103263 <limits.h> exists even on freestanding compilers. */
103265 #ifdef __STDC__
103266 # include <limits.h>
103267 #else
103268 # include <assert.h>
103269 #endif
103271 #undef $ac_func
103273 /* Override any gcc2 internal prototype to avoid an error. */
103274 #ifdef __cplusplus
103275 extern "C"
103277 #endif
103278 /* We use char because int might match the return type of a gcc2
103279 builtin and then its argument prototype would still apply. */
103280 char $ac_func ();
103281 /* The GNU C library defines this for functions which it implements
103282 to always fail with ENOSYS. Some functions are actually named
103283 something starting with __ and the normal name is an alias. */
103284 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103285 choke me
103286 #else
103287 char (*f) () = $ac_func;
103288 #endif
103289 #ifdef __cplusplus
103291 #endif
103294 main ()
103296 return f != $ac_func;
103298 return 0;
103300 _ACEOF
103301 rm -f conftest.$ac_objext conftest$ac_exeext
103302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103303 (eval $ac_link) 2>conftest.er1
103304 ac_status=$?
103305 grep -v '^ *+' conftest.er1 >conftest.err
103306 rm -f conftest.er1
103307 cat conftest.err >&5
103308 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103309 (exit $ac_status); } &&
103310 { ac_try='test -z "$ac_c_werror_flag"
103311 || test ! -s conftest.err'
103312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103313 (eval $ac_try) 2>&5
103314 ac_status=$?
103315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103316 (exit $ac_status); }; } &&
103317 { ac_try='test -s conftest$ac_exeext'
103318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103319 (eval $ac_try) 2>&5
103320 ac_status=$?
103321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103322 (exit $ac_status); }; }; then
103323 eval "$as_ac_var=yes"
103325 echo "$as_me: failed program was:" >&5
103326 sed 's/^/| /' conftest.$ac_ext >&5
103328 eval "$as_ac_var=no"
103330 rm -f conftest.err conftest.$ac_objext \
103331 conftest$ac_exeext conftest.$ac_ext
103333 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103334 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103335 if test `eval echo '${'$as_ac_var'}'` = yes; then
103336 cat >>confdefs.h <<_ACEOF
103337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103338 _ACEOF
103345 echo "$as_me:$LINENO: checking for _modff declaration" >&5
103346 echo $ECHO_N "checking for _modff declaration... $ECHO_C" >&6
103347 if test x${glibcxx_cv_func__modff_use+set} != xset; then
103348 if test "${glibcxx_cv_func__modff_use+set}" = set; then
103349 echo $ECHO_N "(cached) $ECHO_C" >&6
103354 ac_ext=cc
103355 ac_cpp='$CXXCPP $CPPFLAGS'
103356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103360 cat >conftest.$ac_ext <<_ACEOF
103361 /* confdefs.h. */
103362 _ACEOF
103363 cat confdefs.h >>conftest.$ac_ext
103364 cat >>conftest.$ac_ext <<_ACEOF
103365 /* end confdefs.h. */
103366 #include <math.h>
103368 main ()
103370 _modff(0, 0);
103372 return 0;
103374 _ACEOF
103375 rm -f conftest.$ac_objext
103376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103377 (eval $ac_compile) 2>conftest.er1
103378 ac_status=$?
103379 grep -v '^ *+' conftest.er1 >conftest.err
103380 rm -f conftest.er1
103381 cat conftest.err >&5
103382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103383 (exit $ac_status); } &&
103384 { ac_try='test -z "$ac_cxx_werror_flag"
103385 || test ! -s conftest.err'
103386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103387 (eval $ac_try) 2>&5
103388 ac_status=$?
103389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103390 (exit $ac_status); }; } &&
103391 { ac_try='test -s conftest.$ac_objext'
103392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103393 (eval $ac_try) 2>&5
103394 ac_status=$?
103395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103396 (exit $ac_status); }; }; then
103397 glibcxx_cv_func__modff_use=yes
103399 echo "$as_me: failed program was:" >&5
103400 sed 's/^/| /' conftest.$ac_ext >&5
103402 glibcxx_cv_func__modff_use=no
103404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103405 ac_ext=c
103406 ac_cpp='$CPP $CPPFLAGS'
103407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103415 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modff_use" >&5
103416 echo "${ECHO_T}$glibcxx_cv_func__modff_use" >&6
103418 if test x$glibcxx_cv_func__modff_use = x"yes"; then
103420 for ac_func in _modff
103422 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103423 echo "$as_me:$LINENO: checking for $ac_func" >&5
103424 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103425 if eval "test \"\${$as_ac_var+set}\" = set"; then
103426 echo $ECHO_N "(cached) $ECHO_C" >&6
103428 if test x$gcc_no_link = xyes; then
103429 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103430 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103431 { (exit 1); exit 1; }; }
103433 cat >conftest.$ac_ext <<_ACEOF
103434 /* confdefs.h. */
103435 _ACEOF
103436 cat confdefs.h >>conftest.$ac_ext
103437 cat >>conftest.$ac_ext <<_ACEOF
103438 /* end confdefs.h. */
103439 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103440 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103441 #define $ac_func innocuous_$ac_func
103443 /* System header to define __stub macros and hopefully few prototypes,
103444 which can conflict with char $ac_func (); below.
103445 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103446 <limits.h> exists even on freestanding compilers. */
103448 #ifdef __STDC__
103449 # include <limits.h>
103450 #else
103451 # include <assert.h>
103452 #endif
103454 #undef $ac_func
103456 /* Override any gcc2 internal prototype to avoid an error. */
103457 #ifdef __cplusplus
103458 extern "C"
103460 #endif
103461 /* We use char because int might match the return type of a gcc2
103462 builtin and then its argument prototype would still apply. */
103463 char $ac_func ();
103464 /* The GNU C library defines this for functions which it implements
103465 to always fail with ENOSYS. Some functions are actually named
103466 something starting with __ and the normal name is an alias. */
103467 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103468 choke me
103469 #else
103470 char (*f) () = $ac_func;
103471 #endif
103472 #ifdef __cplusplus
103474 #endif
103477 main ()
103479 return f != $ac_func;
103481 return 0;
103483 _ACEOF
103484 rm -f conftest.$ac_objext conftest$ac_exeext
103485 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103486 (eval $ac_link) 2>conftest.er1
103487 ac_status=$?
103488 grep -v '^ *+' conftest.er1 >conftest.err
103489 rm -f conftest.er1
103490 cat conftest.err >&5
103491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103492 (exit $ac_status); } &&
103493 { ac_try='test -z "$ac_c_werror_flag"
103494 || test ! -s conftest.err'
103495 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103496 (eval $ac_try) 2>&5
103497 ac_status=$?
103498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103499 (exit $ac_status); }; } &&
103500 { ac_try='test -s conftest$ac_exeext'
103501 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103502 (eval $ac_try) 2>&5
103503 ac_status=$?
103504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103505 (exit $ac_status); }; }; then
103506 eval "$as_ac_var=yes"
103508 echo "$as_me: failed program was:" >&5
103509 sed 's/^/| /' conftest.$ac_ext >&5
103511 eval "$as_ac_var=no"
103513 rm -f conftest.err conftest.$ac_objext \
103514 conftest$ac_exeext conftest.$ac_ext
103516 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103517 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103518 if test `eval echo '${'$as_ac_var'}'` = yes; then
103519 cat >>confdefs.h <<_ACEOF
103520 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103521 _ACEOF
103534 echo "$as_me:$LINENO: checking for modf declaration" >&5
103535 echo $ECHO_N "checking for modf declaration... $ECHO_C" >&6
103536 if test x${glibcxx_cv_func_modf_use+set} != xset; then
103537 if test "${glibcxx_cv_func_modf_use+set}" = set; then
103538 echo $ECHO_N "(cached) $ECHO_C" >&6
103543 ac_ext=cc
103544 ac_cpp='$CXXCPP $CPPFLAGS'
103545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103549 cat >conftest.$ac_ext <<_ACEOF
103550 /* confdefs.h. */
103551 _ACEOF
103552 cat confdefs.h >>conftest.$ac_ext
103553 cat >>conftest.$ac_ext <<_ACEOF
103554 /* end confdefs.h. */
103555 #include <math.h>
103557 main ()
103559 modf(0, 0);
103561 return 0;
103563 _ACEOF
103564 rm -f conftest.$ac_objext
103565 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103566 (eval $ac_compile) 2>conftest.er1
103567 ac_status=$?
103568 grep -v '^ *+' conftest.er1 >conftest.err
103569 rm -f conftest.er1
103570 cat conftest.err >&5
103571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103572 (exit $ac_status); } &&
103573 { ac_try='test -z "$ac_cxx_werror_flag"
103574 || test ! -s conftest.err'
103575 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103576 (eval $ac_try) 2>&5
103577 ac_status=$?
103578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103579 (exit $ac_status); }; } &&
103580 { ac_try='test -s conftest.$ac_objext'
103581 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103582 (eval $ac_try) 2>&5
103583 ac_status=$?
103584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103585 (exit $ac_status); }; }; then
103586 glibcxx_cv_func_modf_use=yes
103588 echo "$as_me: failed program was:" >&5
103589 sed 's/^/| /' conftest.$ac_ext >&5
103591 glibcxx_cv_func_modf_use=no
103593 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103594 ac_ext=c
103595 ac_cpp='$CPP $CPPFLAGS'
103596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103604 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modf_use" >&5
103605 echo "${ECHO_T}$glibcxx_cv_func_modf_use" >&6
103607 if test x$glibcxx_cv_func_modf_use = x"yes"; then
103609 for ac_func in modf
103611 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103612 echo "$as_me:$LINENO: checking for $ac_func" >&5
103613 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103614 if eval "test \"\${$as_ac_var+set}\" = set"; then
103615 echo $ECHO_N "(cached) $ECHO_C" >&6
103617 if test x$gcc_no_link = xyes; then
103618 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103619 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103620 { (exit 1); exit 1; }; }
103622 cat >conftest.$ac_ext <<_ACEOF
103623 /* confdefs.h. */
103624 _ACEOF
103625 cat confdefs.h >>conftest.$ac_ext
103626 cat >>conftest.$ac_ext <<_ACEOF
103627 /* end confdefs.h. */
103628 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103629 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103630 #define $ac_func innocuous_$ac_func
103632 /* System header to define __stub macros and hopefully few prototypes,
103633 which can conflict with char $ac_func (); below.
103634 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103635 <limits.h> exists even on freestanding compilers. */
103637 #ifdef __STDC__
103638 # include <limits.h>
103639 #else
103640 # include <assert.h>
103641 #endif
103643 #undef $ac_func
103645 /* Override any gcc2 internal prototype to avoid an error. */
103646 #ifdef __cplusplus
103647 extern "C"
103649 #endif
103650 /* We use char because int might match the return type of a gcc2
103651 builtin and then its argument prototype would still apply. */
103652 char $ac_func ();
103653 /* The GNU C library defines this for functions which it implements
103654 to always fail with ENOSYS. Some functions are actually named
103655 something starting with __ and the normal name is an alias. */
103656 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103657 choke me
103658 #else
103659 char (*f) () = $ac_func;
103660 #endif
103661 #ifdef __cplusplus
103663 #endif
103666 main ()
103668 return f != $ac_func;
103670 return 0;
103672 _ACEOF
103673 rm -f conftest.$ac_objext conftest$ac_exeext
103674 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103675 (eval $ac_link) 2>conftest.er1
103676 ac_status=$?
103677 grep -v '^ *+' conftest.er1 >conftest.err
103678 rm -f conftest.er1
103679 cat conftest.err >&5
103680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103681 (exit $ac_status); } &&
103682 { ac_try='test -z "$ac_c_werror_flag"
103683 || test ! -s conftest.err'
103684 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103685 (eval $ac_try) 2>&5
103686 ac_status=$?
103687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103688 (exit $ac_status); }; } &&
103689 { ac_try='test -s conftest$ac_exeext'
103690 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103691 (eval $ac_try) 2>&5
103692 ac_status=$?
103693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103694 (exit $ac_status); }; }; then
103695 eval "$as_ac_var=yes"
103697 echo "$as_me: failed program was:" >&5
103698 sed 's/^/| /' conftest.$ac_ext >&5
103700 eval "$as_ac_var=no"
103702 rm -f conftest.err conftest.$ac_objext \
103703 conftest$ac_exeext conftest.$ac_ext
103705 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103706 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103707 if test `eval echo '${'$as_ac_var'}'` = yes; then
103708 cat >>confdefs.h <<_ACEOF
103709 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103710 _ACEOF
103717 echo "$as_me:$LINENO: checking for _modf declaration" >&5
103718 echo $ECHO_N "checking for _modf declaration... $ECHO_C" >&6
103719 if test x${glibcxx_cv_func__modf_use+set} != xset; then
103720 if test "${glibcxx_cv_func__modf_use+set}" = set; then
103721 echo $ECHO_N "(cached) $ECHO_C" >&6
103726 ac_ext=cc
103727 ac_cpp='$CXXCPP $CPPFLAGS'
103728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103732 cat >conftest.$ac_ext <<_ACEOF
103733 /* confdefs.h. */
103734 _ACEOF
103735 cat confdefs.h >>conftest.$ac_ext
103736 cat >>conftest.$ac_ext <<_ACEOF
103737 /* end confdefs.h. */
103738 #include <math.h>
103740 main ()
103742 _modf(0, 0);
103744 return 0;
103746 _ACEOF
103747 rm -f conftest.$ac_objext
103748 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103749 (eval $ac_compile) 2>conftest.er1
103750 ac_status=$?
103751 grep -v '^ *+' conftest.er1 >conftest.err
103752 rm -f conftest.er1
103753 cat conftest.err >&5
103754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103755 (exit $ac_status); } &&
103756 { ac_try='test -z "$ac_cxx_werror_flag"
103757 || test ! -s conftest.err'
103758 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103759 (eval $ac_try) 2>&5
103760 ac_status=$?
103761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103762 (exit $ac_status); }; } &&
103763 { ac_try='test -s conftest.$ac_objext'
103764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103765 (eval $ac_try) 2>&5
103766 ac_status=$?
103767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103768 (exit $ac_status); }; }; then
103769 glibcxx_cv_func__modf_use=yes
103771 echo "$as_me: failed program was:" >&5
103772 sed 's/^/| /' conftest.$ac_ext >&5
103774 glibcxx_cv_func__modf_use=no
103776 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103777 ac_ext=c
103778 ac_cpp='$CPP $CPPFLAGS'
103779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103787 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modf_use" >&5
103788 echo "${ECHO_T}$glibcxx_cv_func__modf_use" >&6
103790 if test x$glibcxx_cv_func__modf_use = x"yes"; then
103792 for ac_func in _modf
103794 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103795 echo "$as_me:$LINENO: checking for $ac_func" >&5
103796 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103797 if eval "test \"\${$as_ac_var+set}\" = set"; then
103798 echo $ECHO_N "(cached) $ECHO_C" >&6
103800 if test x$gcc_no_link = xyes; then
103801 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103802 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103803 { (exit 1); exit 1; }; }
103805 cat >conftest.$ac_ext <<_ACEOF
103806 /* confdefs.h. */
103807 _ACEOF
103808 cat confdefs.h >>conftest.$ac_ext
103809 cat >>conftest.$ac_ext <<_ACEOF
103810 /* end confdefs.h. */
103811 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
103812 For example, HP-UX 11i <limits.h> declares gettimeofday. */
103813 #define $ac_func innocuous_$ac_func
103815 /* System header to define __stub macros and hopefully few prototypes,
103816 which can conflict with char $ac_func (); below.
103817 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
103818 <limits.h> exists even on freestanding compilers. */
103820 #ifdef __STDC__
103821 # include <limits.h>
103822 #else
103823 # include <assert.h>
103824 #endif
103826 #undef $ac_func
103828 /* Override any gcc2 internal prototype to avoid an error. */
103829 #ifdef __cplusplus
103830 extern "C"
103832 #endif
103833 /* We use char because int might match the return type of a gcc2
103834 builtin and then its argument prototype would still apply. */
103835 char $ac_func ();
103836 /* The GNU C library defines this for functions which it implements
103837 to always fail with ENOSYS. Some functions are actually named
103838 something starting with __ and the normal name is an alias. */
103839 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
103840 choke me
103841 #else
103842 char (*f) () = $ac_func;
103843 #endif
103844 #ifdef __cplusplus
103846 #endif
103849 main ()
103851 return f != $ac_func;
103853 return 0;
103855 _ACEOF
103856 rm -f conftest.$ac_objext conftest$ac_exeext
103857 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
103858 (eval $ac_link) 2>conftest.er1
103859 ac_status=$?
103860 grep -v '^ *+' conftest.er1 >conftest.err
103861 rm -f conftest.er1
103862 cat conftest.err >&5
103863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103864 (exit $ac_status); } &&
103865 { ac_try='test -z "$ac_c_werror_flag"
103866 || test ! -s conftest.err'
103867 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103868 (eval $ac_try) 2>&5
103869 ac_status=$?
103870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103871 (exit $ac_status); }; } &&
103872 { ac_try='test -s conftest$ac_exeext'
103873 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103874 (eval $ac_try) 2>&5
103875 ac_status=$?
103876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103877 (exit $ac_status); }; }; then
103878 eval "$as_ac_var=yes"
103880 echo "$as_me: failed program was:" >&5
103881 sed 's/^/| /' conftest.$ac_ext >&5
103883 eval "$as_ac_var=no"
103885 rm -f conftest.err conftest.$ac_objext \
103886 conftest$ac_exeext conftest.$ac_ext
103888 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
103889 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
103890 if test `eval echo '${'$as_ac_var'}'` = yes; then
103891 cat >>confdefs.h <<_ACEOF
103892 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
103893 _ACEOF
103906 echo "$as_me:$LINENO: checking for powf declaration" >&5
103907 echo $ECHO_N "checking for powf declaration... $ECHO_C" >&6
103908 if test x${glibcxx_cv_func_powf_use+set} != xset; then
103909 if test "${glibcxx_cv_func_powf_use+set}" = set; then
103910 echo $ECHO_N "(cached) $ECHO_C" >&6
103915 ac_ext=cc
103916 ac_cpp='$CXXCPP $CPPFLAGS'
103917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
103921 cat >conftest.$ac_ext <<_ACEOF
103922 /* confdefs.h. */
103923 _ACEOF
103924 cat confdefs.h >>conftest.$ac_ext
103925 cat >>conftest.$ac_ext <<_ACEOF
103926 /* end confdefs.h. */
103927 #include <math.h>
103929 main ()
103931 powf(0, 0);
103933 return 0;
103935 _ACEOF
103936 rm -f conftest.$ac_objext
103937 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
103938 (eval $ac_compile) 2>conftest.er1
103939 ac_status=$?
103940 grep -v '^ *+' conftest.er1 >conftest.err
103941 rm -f conftest.er1
103942 cat conftest.err >&5
103943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103944 (exit $ac_status); } &&
103945 { ac_try='test -z "$ac_cxx_werror_flag"
103946 || test ! -s conftest.err'
103947 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103948 (eval $ac_try) 2>&5
103949 ac_status=$?
103950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103951 (exit $ac_status); }; } &&
103952 { ac_try='test -s conftest.$ac_objext'
103953 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
103954 (eval $ac_try) 2>&5
103955 ac_status=$?
103956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
103957 (exit $ac_status); }; }; then
103958 glibcxx_cv_func_powf_use=yes
103960 echo "$as_me: failed program was:" >&5
103961 sed 's/^/| /' conftest.$ac_ext >&5
103963 glibcxx_cv_func_powf_use=no
103965 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
103966 ac_ext=c
103967 ac_cpp='$CPP $CPPFLAGS'
103968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
103969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
103970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
103976 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powf_use" >&5
103977 echo "${ECHO_T}$glibcxx_cv_func_powf_use" >&6
103979 if test x$glibcxx_cv_func_powf_use = x"yes"; then
103981 for ac_func in powf
103983 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
103984 echo "$as_me:$LINENO: checking for $ac_func" >&5
103985 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
103986 if eval "test \"\${$as_ac_var+set}\" = set"; then
103987 echo $ECHO_N "(cached) $ECHO_C" >&6
103989 if test x$gcc_no_link = xyes; then
103990 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
103991 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
103992 { (exit 1); exit 1; }; }
103994 cat >conftest.$ac_ext <<_ACEOF
103995 /* confdefs.h. */
103996 _ACEOF
103997 cat confdefs.h >>conftest.$ac_ext
103998 cat >>conftest.$ac_ext <<_ACEOF
103999 /* end confdefs.h. */
104000 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104001 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104002 #define $ac_func innocuous_$ac_func
104004 /* System header to define __stub macros and hopefully few prototypes,
104005 which can conflict with char $ac_func (); below.
104006 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104007 <limits.h> exists even on freestanding compilers. */
104009 #ifdef __STDC__
104010 # include <limits.h>
104011 #else
104012 # include <assert.h>
104013 #endif
104015 #undef $ac_func
104017 /* Override any gcc2 internal prototype to avoid an error. */
104018 #ifdef __cplusplus
104019 extern "C"
104021 #endif
104022 /* We use char because int might match the return type of a gcc2
104023 builtin and then its argument prototype would still apply. */
104024 char $ac_func ();
104025 /* The GNU C library defines this for functions which it implements
104026 to always fail with ENOSYS. Some functions are actually named
104027 something starting with __ and the normal name is an alias. */
104028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104029 choke me
104030 #else
104031 char (*f) () = $ac_func;
104032 #endif
104033 #ifdef __cplusplus
104035 #endif
104038 main ()
104040 return f != $ac_func;
104042 return 0;
104044 _ACEOF
104045 rm -f conftest.$ac_objext conftest$ac_exeext
104046 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104047 (eval $ac_link) 2>conftest.er1
104048 ac_status=$?
104049 grep -v '^ *+' conftest.er1 >conftest.err
104050 rm -f conftest.er1
104051 cat conftest.err >&5
104052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104053 (exit $ac_status); } &&
104054 { ac_try='test -z "$ac_c_werror_flag"
104055 || test ! -s conftest.err'
104056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104057 (eval $ac_try) 2>&5
104058 ac_status=$?
104059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104060 (exit $ac_status); }; } &&
104061 { ac_try='test -s conftest$ac_exeext'
104062 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104063 (eval $ac_try) 2>&5
104064 ac_status=$?
104065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104066 (exit $ac_status); }; }; then
104067 eval "$as_ac_var=yes"
104069 echo "$as_me: failed program was:" >&5
104070 sed 's/^/| /' conftest.$ac_ext >&5
104072 eval "$as_ac_var=no"
104074 rm -f conftest.err conftest.$ac_objext \
104075 conftest$ac_exeext conftest.$ac_ext
104077 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104078 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104079 if test `eval echo '${'$as_ac_var'}'` = yes; then
104080 cat >>confdefs.h <<_ACEOF
104081 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104082 _ACEOF
104089 echo "$as_me:$LINENO: checking for _powf declaration" >&5
104090 echo $ECHO_N "checking for _powf declaration... $ECHO_C" >&6
104091 if test x${glibcxx_cv_func__powf_use+set} != xset; then
104092 if test "${glibcxx_cv_func__powf_use+set}" = set; then
104093 echo $ECHO_N "(cached) $ECHO_C" >&6
104098 ac_ext=cc
104099 ac_cpp='$CXXCPP $CPPFLAGS'
104100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104104 cat >conftest.$ac_ext <<_ACEOF
104105 /* confdefs.h. */
104106 _ACEOF
104107 cat confdefs.h >>conftest.$ac_ext
104108 cat >>conftest.$ac_ext <<_ACEOF
104109 /* end confdefs.h. */
104110 #include <math.h>
104112 main ()
104114 _powf(0, 0);
104116 return 0;
104118 _ACEOF
104119 rm -f conftest.$ac_objext
104120 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104121 (eval $ac_compile) 2>conftest.er1
104122 ac_status=$?
104123 grep -v '^ *+' conftest.er1 >conftest.err
104124 rm -f conftest.er1
104125 cat conftest.err >&5
104126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104127 (exit $ac_status); } &&
104128 { ac_try='test -z "$ac_cxx_werror_flag"
104129 || test ! -s conftest.err'
104130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104131 (eval $ac_try) 2>&5
104132 ac_status=$?
104133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104134 (exit $ac_status); }; } &&
104135 { ac_try='test -s conftest.$ac_objext'
104136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104137 (eval $ac_try) 2>&5
104138 ac_status=$?
104139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104140 (exit $ac_status); }; }; then
104141 glibcxx_cv_func__powf_use=yes
104143 echo "$as_me: failed program was:" >&5
104144 sed 's/^/| /' conftest.$ac_ext >&5
104146 glibcxx_cv_func__powf_use=no
104148 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104149 ac_ext=c
104150 ac_cpp='$CPP $CPPFLAGS'
104151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104159 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powf_use" >&5
104160 echo "${ECHO_T}$glibcxx_cv_func__powf_use" >&6
104162 if test x$glibcxx_cv_func__powf_use = x"yes"; then
104164 for ac_func in _powf
104166 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104167 echo "$as_me:$LINENO: checking for $ac_func" >&5
104168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104169 if eval "test \"\${$as_ac_var+set}\" = set"; then
104170 echo $ECHO_N "(cached) $ECHO_C" >&6
104172 if test x$gcc_no_link = xyes; then
104173 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104174 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104175 { (exit 1); exit 1; }; }
104177 cat >conftest.$ac_ext <<_ACEOF
104178 /* confdefs.h. */
104179 _ACEOF
104180 cat confdefs.h >>conftest.$ac_ext
104181 cat >>conftest.$ac_ext <<_ACEOF
104182 /* end confdefs.h. */
104183 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104185 #define $ac_func innocuous_$ac_func
104187 /* System header to define __stub macros and hopefully few prototypes,
104188 which can conflict with char $ac_func (); below.
104189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104190 <limits.h> exists even on freestanding compilers. */
104192 #ifdef __STDC__
104193 # include <limits.h>
104194 #else
104195 # include <assert.h>
104196 #endif
104198 #undef $ac_func
104200 /* Override any gcc2 internal prototype to avoid an error. */
104201 #ifdef __cplusplus
104202 extern "C"
104204 #endif
104205 /* We use char because int might match the return type of a gcc2
104206 builtin and then its argument prototype would still apply. */
104207 char $ac_func ();
104208 /* The GNU C library defines this for functions which it implements
104209 to always fail with ENOSYS. Some functions are actually named
104210 something starting with __ and the normal name is an alias. */
104211 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104212 choke me
104213 #else
104214 char (*f) () = $ac_func;
104215 #endif
104216 #ifdef __cplusplus
104218 #endif
104221 main ()
104223 return f != $ac_func;
104225 return 0;
104227 _ACEOF
104228 rm -f conftest.$ac_objext conftest$ac_exeext
104229 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104230 (eval $ac_link) 2>conftest.er1
104231 ac_status=$?
104232 grep -v '^ *+' conftest.er1 >conftest.err
104233 rm -f conftest.er1
104234 cat conftest.err >&5
104235 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104236 (exit $ac_status); } &&
104237 { ac_try='test -z "$ac_c_werror_flag"
104238 || test ! -s conftest.err'
104239 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104240 (eval $ac_try) 2>&5
104241 ac_status=$?
104242 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104243 (exit $ac_status); }; } &&
104244 { ac_try='test -s conftest$ac_exeext'
104245 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104246 (eval $ac_try) 2>&5
104247 ac_status=$?
104248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104249 (exit $ac_status); }; }; then
104250 eval "$as_ac_var=yes"
104252 echo "$as_me: failed program was:" >&5
104253 sed 's/^/| /' conftest.$ac_ext >&5
104255 eval "$as_ac_var=no"
104257 rm -f conftest.err conftest.$ac_objext \
104258 conftest$ac_exeext conftest.$ac_ext
104260 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104261 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104262 if test `eval echo '${'$as_ac_var'}'` = yes; then
104263 cat >>confdefs.h <<_ACEOF
104264 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104265 _ACEOF
104278 echo "$as_me:$LINENO: checking for sqrtf declaration" >&5
104279 echo $ECHO_N "checking for sqrtf declaration... $ECHO_C" >&6
104280 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
104281 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then
104282 echo $ECHO_N "(cached) $ECHO_C" >&6
104287 ac_ext=cc
104288 ac_cpp='$CXXCPP $CPPFLAGS'
104289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104293 cat >conftest.$ac_ext <<_ACEOF
104294 /* confdefs.h. */
104295 _ACEOF
104296 cat confdefs.h >>conftest.$ac_ext
104297 cat >>conftest.$ac_ext <<_ACEOF
104298 /* end confdefs.h. */
104299 #include <math.h>
104300 #ifdef HAVE_IEEEFP_H
104301 #include <ieeefp.h>
104302 #endif
104305 main ()
104307 sqrtf(0);
104309 return 0;
104311 _ACEOF
104312 rm -f conftest.$ac_objext
104313 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104314 (eval $ac_compile) 2>conftest.er1
104315 ac_status=$?
104316 grep -v '^ *+' conftest.er1 >conftest.err
104317 rm -f conftest.er1
104318 cat conftest.err >&5
104319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104320 (exit $ac_status); } &&
104321 { ac_try='test -z "$ac_cxx_werror_flag"
104322 || test ! -s conftest.err'
104323 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104324 (eval $ac_try) 2>&5
104325 ac_status=$?
104326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104327 (exit $ac_status); }; } &&
104328 { ac_try='test -s conftest.$ac_objext'
104329 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104330 (eval $ac_try) 2>&5
104331 ac_status=$?
104332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104333 (exit $ac_status); }; }; then
104334 glibcxx_cv_func_sqrtf_use=yes
104336 echo "$as_me: failed program was:" >&5
104337 sed 's/^/| /' conftest.$ac_ext >&5
104339 glibcxx_cv_func_sqrtf_use=no
104341 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104342 ac_ext=c
104343 ac_cpp='$CPP $CPPFLAGS'
104344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104352 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtf_use" >&5
104353 echo "${ECHO_T}$glibcxx_cv_func_sqrtf_use" >&6
104355 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
104357 for ac_func in sqrtf
104359 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104360 echo "$as_me:$LINENO: checking for $ac_func" >&5
104361 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104362 if eval "test \"\${$as_ac_var+set}\" = set"; then
104363 echo $ECHO_N "(cached) $ECHO_C" >&6
104365 if test x$gcc_no_link = xyes; then
104366 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104367 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104368 { (exit 1); exit 1; }; }
104370 cat >conftest.$ac_ext <<_ACEOF
104371 /* confdefs.h. */
104372 _ACEOF
104373 cat confdefs.h >>conftest.$ac_ext
104374 cat >>conftest.$ac_ext <<_ACEOF
104375 /* end confdefs.h. */
104376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104378 #define $ac_func innocuous_$ac_func
104380 /* System header to define __stub macros and hopefully few prototypes,
104381 which can conflict with char $ac_func (); below.
104382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104383 <limits.h> exists even on freestanding compilers. */
104385 #ifdef __STDC__
104386 # include <limits.h>
104387 #else
104388 # include <assert.h>
104389 #endif
104391 #undef $ac_func
104393 /* Override any gcc2 internal prototype to avoid an error. */
104394 #ifdef __cplusplus
104395 extern "C"
104397 #endif
104398 /* We use char because int might match the return type of a gcc2
104399 builtin and then its argument prototype would still apply. */
104400 char $ac_func ();
104401 /* The GNU C library defines this for functions which it implements
104402 to always fail with ENOSYS. Some functions are actually named
104403 something starting with __ and the normal name is an alias. */
104404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104405 choke me
104406 #else
104407 char (*f) () = $ac_func;
104408 #endif
104409 #ifdef __cplusplus
104411 #endif
104414 main ()
104416 return f != $ac_func;
104418 return 0;
104420 _ACEOF
104421 rm -f conftest.$ac_objext conftest$ac_exeext
104422 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104423 (eval $ac_link) 2>conftest.er1
104424 ac_status=$?
104425 grep -v '^ *+' conftest.er1 >conftest.err
104426 rm -f conftest.er1
104427 cat conftest.err >&5
104428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104429 (exit $ac_status); } &&
104430 { ac_try='test -z "$ac_c_werror_flag"
104431 || test ! -s conftest.err'
104432 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104433 (eval $ac_try) 2>&5
104434 ac_status=$?
104435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104436 (exit $ac_status); }; } &&
104437 { ac_try='test -s conftest$ac_exeext'
104438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104439 (eval $ac_try) 2>&5
104440 ac_status=$?
104441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104442 (exit $ac_status); }; }; then
104443 eval "$as_ac_var=yes"
104445 echo "$as_me: failed program was:" >&5
104446 sed 's/^/| /' conftest.$ac_ext >&5
104448 eval "$as_ac_var=no"
104450 rm -f conftest.err conftest.$ac_objext \
104451 conftest$ac_exeext conftest.$ac_ext
104453 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104454 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104455 if test `eval echo '${'$as_ac_var'}'` = yes; then
104456 cat >>confdefs.h <<_ACEOF
104457 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104458 _ACEOF
104465 echo "$as_me:$LINENO: checking for _sqrtf declaration" >&5
104466 echo $ECHO_N "checking for _sqrtf declaration... $ECHO_C" >&6
104467 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
104468 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then
104469 echo $ECHO_N "(cached) $ECHO_C" >&6
104474 ac_ext=cc
104475 ac_cpp='$CXXCPP $CPPFLAGS'
104476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104480 cat >conftest.$ac_ext <<_ACEOF
104481 /* confdefs.h. */
104482 _ACEOF
104483 cat confdefs.h >>conftest.$ac_ext
104484 cat >>conftest.$ac_ext <<_ACEOF
104485 /* end confdefs.h. */
104486 #include <math.h>
104487 #ifdef HAVE_IEEEFP_H
104488 #include <ieeefp.h>
104489 #endif
104492 main ()
104494 _sqrtf(0);
104496 return 0;
104498 _ACEOF
104499 rm -f conftest.$ac_objext
104500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104501 (eval $ac_compile) 2>conftest.er1
104502 ac_status=$?
104503 grep -v '^ *+' conftest.er1 >conftest.err
104504 rm -f conftest.er1
104505 cat conftest.err >&5
104506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104507 (exit $ac_status); } &&
104508 { ac_try='test -z "$ac_cxx_werror_flag"
104509 || test ! -s conftest.err'
104510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104511 (eval $ac_try) 2>&5
104512 ac_status=$?
104513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104514 (exit $ac_status); }; } &&
104515 { ac_try='test -s conftest.$ac_objext'
104516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104517 (eval $ac_try) 2>&5
104518 ac_status=$?
104519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104520 (exit $ac_status); }; }; then
104521 glibcxx_cv_func__sqrtf_use=yes
104523 echo "$as_me: failed program was:" >&5
104524 sed 's/^/| /' conftest.$ac_ext >&5
104526 glibcxx_cv_func__sqrtf_use=no
104528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104529 ac_ext=c
104530 ac_cpp='$CPP $CPPFLAGS'
104531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104539 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtf_use" >&5
104540 echo "${ECHO_T}$glibcxx_cv_func__sqrtf_use" >&6
104542 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
104544 for ac_func in _sqrtf
104546 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104547 echo "$as_me:$LINENO: checking for $ac_func" >&5
104548 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104549 if eval "test \"\${$as_ac_var+set}\" = set"; then
104550 echo $ECHO_N "(cached) $ECHO_C" >&6
104552 if test x$gcc_no_link = xyes; then
104553 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104554 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104555 { (exit 1); exit 1; }; }
104557 cat >conftest.$ac_ext <<_ACEOF
104558 /* confdefs.h. */
104559 _ACEOF
104560 cat confdefs.h >>conftest.$ac_ext
104561 cat >>conftest.$ac_ext <<_ACEOF
104562 /* end confdefs.h. */
104563 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104564 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104565 #define $ac_func innocuous_$ac_func
104567 /* System header to define __stub macros and hopefully few prototypes,
104568 which can conflict with char $ac_func (); below.
104569 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104570 <limits.h> exists even on freestanding compilers. */
104572 #ifdef __STDC__
104573 # include <limits.h>
104574 #else
104575 # include <assert.h>
104576 #endif
104578 #undef $ac_func
104580 /* Override any gcc2 internal prototype to avoid an error. */
104581 #ifdef __cplusplus
104582 extern "C"
104584 #endif
104585 /* We use char because int might match the return type of a gcc2
104586 builtin and then its argument prototype would still apply. */
104587 char $ac_func ();
104588 /* The GNU C library defines this for functions which it implements
104589 to always fail with ENOSYS. Some functions are actually named
104590 something starting with __ and the normal name is an alias. */
104591 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104592 choke me
104593 #else
104594 char (*f) () = $ac_func;
104595 #endif
104596 #ifdef __cplusplus
104598 #endif
104601 main ()
104603 return f != $ac_func;
104605 return 0;
104607 _ACEOF
104608 rm -f conftest.$ac_objext conftest$ac_exeext
104609 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104610 (eval $ac_link) 2>conftest.er1
104611 ac_status=$?
104612 grep -v '^ *+' conftest.er1 >conftest.err
104613 rm -f conftest.er1
104614 cat conftest.err >&5
104615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104616 (exit $ac_status); } &&
104617 { ac_try='test -z "$ac_c_werror_flag"
104618 || test ! -s conftest.err'
104619 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104620 (eval $ac_try) 2>&5
104621 ac_status=$?
104622 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104623 (exit $ac_status); }; } &&
104624 { ac_try='test -s conftest$ac_exeext'
104625 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104626 (eval $ac_try) 2>&5
104627 ac_status=$?
104628 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104629 (exit $ac_status); }; }; then
104630 eval "$as_ac_var=yes"
104632 echo "$as_me: failed program was:" >&5
104633 sed 's/^/| /' conftest.$ac_ext >&5
104635 eval "$as_ac_var=no"
104637 rm -f conftest.err conftest.$ac_objext \
104638 conftest$ac_exeext conftest.$ac_ext
104640 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104641 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104642 if test `eval echo '${'$as_ac_var'}'` = yes; then
104643 cat >>confdefs.h <<_ACEOF
104644 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104645 _ACEOF
104658 echo "$as_me:$LINENO: checking for sincosf declaration" >&5
104659 echo $ECHO_N "checking for sincosf declaration... $ECHO_C" >&6
104660 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
104661 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then
104662 echo $ECHO_N "(cached) $ECHO_C" >&6
104667 ac_ext=cc
104668 ac_cpp='$CXXCPP $CPPFLAGS'
104669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104673 cat >conftest.$ac_ext <<_ACEOF
104674 /* confdefs.h. */
104675 _ACEOF
104676 cat confdefs.h >>conftest.$ac_ext
104677 cat >>conftest.$ac_ext <<_ACEOF
104678 /* end confdefs.h. */
104679 #include <math.h>
104681 main ()
104683 sincosf(0, 0, 0);
104685 return 0;
104687 _ACEOF
104688 rm -f conftest.$ac_objext
104689 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104690 (eval $ac_compile) 2>conftest.er1
104691 ac_status=$?
104692 grep -v '^ *+' conftest.er1 >conftest.err
104693 rm -f conftest.er1
104694 cat conftest.err >&5
104695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104696 (exit $ac_status); } &&
104697 { ac_try='test -z "$ac_cxx_werror_flag"
104698 || test ! -s conftest.err'
104699 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104700 (eval $ac_try) 2>&5
104701 ac_status=$?
104702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104703 (exit $ac_status); }; } &&
104704 { ac_try='test -s conftest.$ac_objext'
104705 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104706 (eval $ac_try) 2>&5
104707 ac_status=$?
104708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104709 (exit $ac_status); }; }; then
104710 glibcxx_cv_func_sincosf_use=yes
104712 echo "$as_me: failed program was:" >&5
104713 sed 's/^/| /' conftest.$ac_ext >&5
104715 glibcxx_cv_func_sincosf_use=no
104717 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104718 ac_ext=c
104719 ac_cpp='$CPP $CPPFLAGS'
104720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104728 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosf_use" >&5
104729 echo "${ECHO_T}$glibcxx_cv_func_sincosf_use" >&6
104731 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
104733 for ac_func in sincosf
104735 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104736 echo "$as_me:$LINENO: checking for $ac_func" >&5
104737 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104738 if eval "test \"\${$as_ac_var+set}\" = set"; then
104739 echo $ECHO_N "(cached) $ECHO_C" >&6
104741 if test x$gcc_no_link = xyes; then
104742 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104743 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104744 { (exit 1); exit 1; }; }
104746 cat >conftest.$ac_ext <<_ACEOF
104747 /* confdefs.h. */
104748 _ACEOF
104749 cat confdefs.h >>conftest.$ac_ext
104750 cat >>conftest.$ac_ext <<_ACEOF
104751 /* end confdefs.h. */
104752 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104753 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104754 #define $ac_func innocuous_$ac_func
104756 /* System header to define __stub macros and hopefully few prototypes,
104757 which can conflict with char $ac_func (); below.
104758 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104759 <limits.h> exists even on freestanding compilers. */
104761 #ifdef __STDC__
104762 # include <limits.h>
104763 #else
104764 # include <assert.h>
104765 #endif
104767 #undef $ac_func
104769 /* Override any gcc2 internal prototype to avoid an error. */
104770 #ifdef __cplusplus
104771 extern "C"
104773 #endif
104774 /* We use char because int might match the return type of a gcc2
104775 builtin and then its argument prototype would still apply. */
104776 char $ac_func ();
104777 /* The GNU C library defines this for functions which it implements
104778 to always fail with ENOSYS. Some functions are actually named
104779 something starting with __ and the normal name is an alias. */
104780 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104781 choke me
104782 #else
104783 char (*f) () = $ac_func;
104784 #endif
104785 #ifdef __cplusplus
104787 #endif
104790 main ()
104792 return f != $ac_func;
104794 return 0;
104796 _ACEOF
104797 rm -f conftest.$ac_objext conftest$ac_exeext
104798 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104799 (eval $ac_link) 2>conftest.er1
104800 ac_status=$?
104801 grep -v '^ *+' conftest.er1 >conftest.err
104802 rm -f conftest.er1
104803 cat conftest.err >&5
104804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104805 (exit $ac_status); } &&
104806 { ac_try='test -z "$ac_c_werror_flag"
104807 || test ! -s conftest.err'
104808 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104809 (eval $ac_try) 2>&5
104810 ac_status=$?
104811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104812 (exit $ac_status); }; } &&
104813 { ac_try='test -s conftest$ac_exeext'
104814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104815 (eval $ac_try) 2>&5
104816 ac_status=$?
104817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104818 (exit $ac_status); }; }; then
104819 eval "$as_ac_var=yes"
104821 echo "$as_me: failed program was:" >&5
104822 sed 's/^/| /' conftest.$ac_ext >&5
104824 eval "$as_ac_var=no"
104826 rm -f conftest.err conftest.$ac_objext \
104827 conftest$ac_exeext conftest.$ac_ext
104829 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
104830 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
104831 if test `eval echo '${'$as_ac_var'}'` = yes; then
104832 cat >>confdefs.h <<_ACEOF
104833 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
104834 _ACEOF
104841 echo "$as_me:$LINENO: checking for _sincosf declaration" >&5
104842 echo $ECHO_N "checking for _sincosf declaration... $ECHO_C" >&6
104843 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
104844 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then
104845 echo $ECHO_N "(cached) $ECHO_C" >&6
104850 ac_ext=cc
104851 ac_cpp='$CXXCPP $CPPFLAGS'
104852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
104856 cat >conftest.$ac_ext <<_ACEOF
104857 /* confdefs.h. */
104858 _ACEOF
104859 cat confdefs.h >>conftest.$ac_ext
104860 cat >>conftest.$ac_ext <<_ACEOF
104861 /* end confdefs.h. */
104862 #include <math.h>
104864 main ()
104866 _sincosf(0, 0, 0);
104868 return 0;
104870 _ACEOF
104871 rm -f conftest.$ac_objext
104872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
104873 (eval $ac_compile) 2>conftest.er1
104874 ac_status=$?
104875 grep -v '^ *+' conftest.er1 >conftest.err
104876 rm -f conftest.er1
104877 cat conftest.err >&5
104878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104879 (exit $ac_status); } &&
104880 { ac_try='test -z "$ac_cxx_werror_flag"
104881 || test ! -s conftest.err'
104882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104883 (eval $ac_try) 2>&5
104884 ac_status=$?
104885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104886 (exit $ac_status); }; } &&
104887 { ac_try='test -s conftest.$ac_objext'
104888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104889 (eval $ac_try) 2>&5
104890 ac_status=$?
104891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104892 (exit $ac_status); }; }; then
104893 glibcxx_cv_func__sincosf_use=yes
104895 echo "$as_me: failed program was:" >&5
104896 sed 's/^/| /' conftest.$ac_ext >&5
104898 glibcxx_cv_func__sincosf_use=no
104900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
104901 ac_ext=c
104902 ac_cpp='$CPP $CPPFLAGS'
104903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
104904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
104905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
104911 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosf_use" >&5
104912 echo "${ECHO_T}$glibcxx_cv_func__sincosf_use" >&6
104914 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
104916 for ac_func in _sincosf
104918 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
104919 echo "$as_me:$LINENO: checking for $ac_func" >&5
104920 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
104921 if eval "test \"\${$as_ac_var+set}\" = set"; then
104922 echo $ECHO_N "(cached) $ECHO_C" >&6
104924 if test x$gcc_no_link = xyes; then
104925 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
104926 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
104927 { (exit 1); exit 1; }; }
104929 cat >conftest.$ac_ext <<_ACEOF
104930 /* confdefs.h. */
104931 _ACEOF
104932 cat confdefs.h >>conftest.$ac_ext
104933 cat >>conftest.$ac_ext <<_ACEOF
104934 /* end confdefs.h. */
104935 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
104936 For example, HP-UX 11i <limits.h> declares gettimeofday. */
104937 #define $ac_func innocuous_$ac_func
104939 /* System header to define __stub macros and hopefully few prototypes,
104940 which can conflict with char $ac_func (); below.
104941 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
104942 <limits.h> exists even on freestanding compilers. */
104944 #ifdef __STDC__
104945 # include <limits.h>
104946 #else
104947 # include <assert.h>
104948 #endif
104950 #undef $ac_func
104952 /* Override any gcc2 internal prototype to avoid an error. */
104953 #ifdef __cplusplus
104954 extern "C"
104956 #endif
104957 /* We use char because int might match the return type of a gcc2
104958 builtin and then its argument prototype would still apply. */
104959 char $ac_func ();
104960 /* The GNU C library defines this for functions which it implements
104961 to always fail with ENOSYS. Some functions are actually named
104962 something starting with __ and the normal name is an alias. */
104963 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
104964 choke me
104965 #else
104966 char (*f) () = $ac_func;
104967 #endif
104968 #ifdef __cplusplus
104970 #endif
104973 main ()
104975 return f != $ac_func;
104977 return 0;
104979 _ACEOF
104980 rm -f conftest.$ac_objext conftest$ac_exeext
104981 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
104982 (eval $ac_link) 2>conftest.er1
104983 ac_status=$?
104984 grep -v '^ *+' conftest.er1 >conftest.err
104985 rm -f conftest.er1
104986 cat conftest.err >&5
104987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104988 (exit $ac_status); } &&
104989 { ac_try='test -z "$ac_c_werror_flag"
104990 || test ! -s conftest.err'
104991 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104992 (eval $ac_try) 2>&5
104993 ac_status=$?
104994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
104995 (exit $ac_status); }; } &&
104996 { ac_try='test -s conftest$ac_exeext'
104997 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
104998 (eval $ac_try) 2>&5
104999 ac_status=$?
105000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105001 (exit $ac_status); }; }; then
105002 eval "$as_ac_var=yes"
105004 echo "$as_me: failed program was:" >&5
105005 sed 's/^/| /' conftest.$ac_ext >&5
105007 eval "$as_ac_var=no"
105009 rm -f conftest.err conftest.$ac_objext \
105010 conftest$ac_exeext conftest.$ac_ext
105012 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105013 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105014 if test `eval echo '${'$as_ac_var'}'` = yes; then
105015 cat >>confdefs.h <<_ACEOF
105016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105017 _ACEOF
105030 echo "$as_me:$LINENO: checking for finitef declaration" >&5
105031 echo $ECHO_N "checking for finitef declaration... $ECHO_C" >&6
105032 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
105033 if test "${glibcxx_cv_func_finitef_use+set}" = set; then
105034 echo $ECHO_N "(cached) $ECHO_C" >&6
105039 ac_ext=cc
105040 ac_cpp='$CXXCPP $CPPFLAGS'
105041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105045 cat >conftest.$ac_ext <<_ACEOF
105046 /* confdefs.h. */
105047 _ACEOF
105048 cat confdefs.h >>conftest.$ac_ext
105049 cat >>conftest.$ac_ext <<_ACEOF
105050 /* end confdefs.h. */
105051 #include <math.h>
105052 #ifdef HAVE_IEEEFP_H
105053 #include <ieeefp.h>
105054 #endif
105057 main ()
105059 finitef(0);
105061 return 0;
105063 _ACEOF
105064 rm -f conftest.$ac_objext
105065 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105066 (eval $ac_compile) 2>conftest.er1
105067 ac_status=$?
105068 grep -v '^ *+' conftest.er1 >conftest.err
105069 rm -f conftest.er1
105070 cat conftest.err >&5
105071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105072 (exit $ac_status); } &&
105073 { ac_try='test -z "$ac_cxx_werror_flag"
105074 || test ! -s conftest.err'
105075 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105076 (eval $ac_try) 2>&5
105077 ac_status=$?
105078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105079 (exit $ac_status); }; } &&
105080 { ac_try='test -s conftest.$ac_objext'
105081 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105082 (eval $ac_try) 2>&5
105083 ac_status=$?
105084 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105085 (exit $ac_status); }; }; then
105086 glibcxx_cv_func_finitef_use=yes
105088 echo "$as_me: failed program was:" >&5
105089 sed 's/^/| /' conftest.$ac_ext >&5
105091 glibcxx_cv_func_finitef_use=no
105093 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105094 ac_ext=c
105095 ac_cpp='$CPP $CPPFLAGS'
105096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105104 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitef_use" >&5
105105 echo "${ECHO_T}$glibcxx_cv_func_finitef_use" >&6
105107 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
105109 for ac_func in finitef
105111 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105112 echo "$as_me:$LINENO: checking for $ac_func" >&5
105113 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105114 if eval "test \"\${$as_ac_var+set}\" = set"; then
105115 echo $ECHO_N "(cached) $ECHO_C" >&6
105117 if test x$gcc_no_link = xyes; then
105118 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105119 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105120 { (exit 1); exit 1; }; }
105122 cat >conftest.$ac_ext <<_ACEOF
105123 /* confdefs.h. */
105124 _ACEOF
105125 cat confdefs.h >>conftest.$ac_ext
105126 cat >>conftest.$ac_ext <<_ACEOF
105127 /* end confdefs.h. */
105128 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105129 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105130 #define $ac_func innocuous_$ac_func
105132 /* System header to define __stub macros and hopefully few prototypes,
105133 which can conflict with char $ac_func (); below.
105134 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105135 <limits.h> exists even on freestanding compilers. */
105137 #ifdef __STDC__
105138 # include <limits.h>
105139 #else
105140 # include <assert.h>
105141 #endif
105143 #undef $ac_func
105145 /* Override any gcc2 internal prototype to avoid an error. */
105146 #ifdef __cplusplus
105147 extern "C"
105149 #endif
105150 /* We use char because int might match the return type of a gcc2
105151 builtin and then its argument prototype would still apply. */
105152 char $ac_func ();
105153 /* The GNU C library defines this for functions which it implements
105154 to always fail with ENOSYS. Some functions are actually named
105155 something starting with __ and the normal name is an alias. */
105156 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105157 choke me
105158 #else
105159 char (*f) () = $ac_func;
105160 #endif
105161 #ifdef __cplusplus
105163 #endif
105166 main ()
105168 return f != $ac_func;
105170 return 0;
105172 _ACEOF
105173 rm -f conftest.$ac_objext conftest$ac_exeext
105174 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105175 (eval $ac_link) 2>conftest.er1
105176 ac_status=$?
105177 grep -v '^ *+' conftest.er1 >conftest.err
105178 rm -f conftest.er1
105179 cat conftest.err >&5
105180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105181 (exit $ac_status); } &&
105182 { ac_try='test -z "$ac_c_werror_flag"
105183 || test ! -s conftest.err'
105184 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105185 (eval $ac_try) 2>&5
105186 ac_status=$?
105187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105188 (exit $ac_status); }; } &&
105189 { ac_try='test -s conftest$ac_exeext'
105190 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105191 (eval $ac_try) 2>&5
105192 ac_status=$?
105193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105194 (exit $ac_status); }; }; then
105195 eval "$as_ac_var=yes"
105197 echo "$as_me: failed program was:" >&5
105198 sed 's/^/| /' conftest.$ac_ext >&5
105200 eval "$as_ac_var=no"
105202 rm -f conftest.err conftest.$ac_objext \
105203 conftest$ac_exeext conftest.$ac_ext
105205 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105206 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105207 if test `eval echo '${'$as_ac_var'}'` = yes; then
105208 cat >>confdefs.h <<_ACEOF
105209 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105210 _ACEOF
105217 echo "$as_me:$LINENO: checking for _finitef declaration" >&5
105218 echo $ECHO_N "checking for _finitef declaration... $ECHO_C" >&6
105219 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
105220 if test "${glibcxx_cv_func__finitef_use+set}" = set; then
105221 echo $ECHO_N "(cached) $ECHO_C" >&6
105226 ac_ext=cc
105227 ac_cpp='$CXXCPP $CPPFLAGS'
105228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105232 cat >conftest.$ac_ext <<_ACEOF
105233 /* confdefs.h. */
105234 _ACEOF
105235 cat confdefs.h >>conftest.$ac_ext
105236 cat >>conftest.$ac_ext <<_ACEOF
105237 /* end confdefs.h. */
105238 #include <math.h>
105239 #ifdef HAVE_IEEEFP_H
105240 #include <ieeefp.h>
105241 #endif
105244 main ()
105246 _finitef(0);
105248 return 0;
105250 _ACEOF
105251 rm -f conftest.$ac_objext
105252 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105253 (eval $ac_compile) 2>conftest.er1
105254 ac_status=$?
105255 grep -v '^ *+' conftest.er1 >conftest.err
105256 rm -f conftest.er1
105257 cat conftest.err >&5
105258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105259 (exit $ac_status); } &&
105260 { ac_try='test -z "$ac_cxx_werror_flag"
105261 || test ! -s conftest.err'
105262 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105263 (eval $ac_try) 2>&5
105264 ac_status=$?
105265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105266 (exit $ac_status); }; } &&
105267 { ac_try='test -s conftest.$ac_objext'
105268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105269 (eval $ac_try) 2>&5
105270 ac_status=$?
105271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105272 (exit $ac_status); }; }; then
105273 glibcxx_cv_func__finitef_use=yes
105275 echo "$as_me: failed program was:" >&5
105276 sed 's/^/| /' conftest.$ac_ext >&5
105278 glibcxx_cv_func__finitef_use=no
105280 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105281 ac_ext=c
105282 ac_cpp='$CPP $CPPFLAGS'
105283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105291 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitef_use" >&5
105292 echo "${ECHO_T}$glibcxx_cv_func__finitef_use" >&6
105294 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
105296 for ac_func in _finitef
105298 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105299 echo "$as_me:$LINENO: checking for $ac_func" >&5
105300 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105301 if eval "test \"\${$as_ac_var+set}\" = set"; then
105302 echo $ECHO_N "(cached) $ECHO_C" >&6
105304 if test x$gcc_no_link = xyes; then
105305 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105306 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105307 { (exit 1); exit 1; }; }
105309 cat >conftest.$ac_ext <<_ACEOF
105310 /* confdefs.h. */
105311 _ACEOF
105312 cat confdefs.h >>conftest.$ac_ext
105313 cat >>conftest.$ac_ext <<_ACEOF
105314 /* end confdefs.h. */
105315 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105316 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105317 #define $ac_func innocuous_$ac_func
105319 /* System header to define __stub macros and hopefully few prototypes,
105320 which can conflict with char $ac_func (); below.
105321 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105322 <limits.h> exists even on freestanding compilers. */
105324 #ifdef __STDC__
105325 # include <limits.h>
105326 #else
105327 # include <assert.h>
105328 #endif
105330 #undef $ac_func
105332 /* Override any gcc2 internal prototype to avoid an error. */
105333 #ifdef __cplusplus
105334 extern "C"
105336 #endif
105337 /* We use char because int might match the return type of a gcc2
105338 builtin and then its argument prototype would still apply. */
105339 char $ac_func ();
105340 /* The GNU C library defines this for functions which it implements
105341 to always fail with ENOSYS. Some functions are actually named
105342 something starting with __ and the normal name is an alias. */
105343 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105344 choke me
105345 #else
105346 char (*f) () = $ac_func;
105347 #endif
105348 #ifdef __cplusplus
105350 #endif
105353 main ()
105355 return f != $ac_func;
105357 return 0;
105359 _ACEOF
105360 rm -f conftest.$ac_objext conftest$ac_exeext
105361 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105362 (eval $ac_link) 2>conftest.er1
105363 ac_status=$?
105364 grep -v '^ *+' conftest.er1 >conftest.err
105365 rm -f conftest.er1
105366 cat conftest.err >&5
105367 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105368 (exit $ac_status); } &&
105369 { ac_try='test -z "$ac_c_werror_flag"
105370 || test ! -s conftest.err'
105371 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105372 (eval $ac_try) 2>&5
105373 ac_status=$?
105374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105375 (exit $ac_status); }; } &&
105376 { ac_try='test -s conftest$ac_exeext'
105377 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105378 (eval $ac_try) 2>&5
105379 ac_status=$?
105380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105381 (exit $ac_status); }; }; then
105382 eval "$as_ac_var=yes"
105384 echo "$as_me: failed program was:" >&5
105385 sed 's/^/| /' conftest.$ac_ext >&5
105387 eval "$as_ac_var=no"
105389 rm -f conftest.err conftest.$ac_objext \
105390 conftest$ac_exeext conftest.$ac_ext
105392 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105393 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105394 if test `eval echo '${'$as_ac_var'}'` = yes; then
105395 cat >>confdefs.h <<_ACEOF
105396 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105397 _ACEOF
105410 echo "$as_me:$LINENO: checking for long double trig functions" >&5
105411 echo $ECHO_N "checking for long double trig functions... $ECHO_C" >&6
105412 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then
105413 echo $ECHO_N "(cached) $ECHO_C" >&6
105418 ac_ext=cc
105419 ac_cpp='$CXXCPP $CPPFLAGS'
105420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105424 cat >conftest.$ac_ext <<_ACEOF
105425 /* confdefs.h. */
105426 _ACEOF
105427 cat confdefs.h >>conftest.$ac_ext
105428 cat >>conftest.$ac_ext <<_ACEOF
105429 /* end confdefs.h. */
105430 #include <math.h>
105432 main ()
105434 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
105436 return 0;
105438 _ACEOF
105439 rm -f conftest.$ac_objext
105440 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105441 (eval $ac_compile) 2>conftest.er1
105442 ac_status=$?
105443 grep -v '^ *+' conftest.er1 >conftest.err
105444 rm -f conftest.er1
105445 cat conftest.err >&5
105446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105447 (exit $ac_status); } &&
105448 { ac_try='test -z "$ac_cxx_werror_flag"
105449 || test ! -s conftest.err'
105450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105451 (eval $ac_try) 2>&5
105452 ac_status=$?
105453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105454 (exit $ac_status); }; } &&
105455 { ac_try='test -s conftest.$ac_objext'
105456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105457 (eval $ac_try) 2>&5
105458 ac_status=$?
105459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105460 (exit $ac_status); }; }; then
105461 glibcxx_cv_func_long_double_trig_use=yes
105463 echo "$as_me: failed program was:" >&5
105464 sed 's/^/| /' conftest.$ac_ext >&5
105466 glibcxx_cv_func_long_double_trig_use=no
105468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105469 ac_ext=c
105470 ac_cpp='$CPP $CPPFLAGS'
105471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105477 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_trig_use" >&5
105478 echo "${ECHO_T}$glibcxx_cv_func_long_double_trig_use" >&6
105479 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
105489 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
105491 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105492 echo "$as_me:$LINENO: checking for $ac_func" >&5
105493 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105494 if eval "test \"\${$as_ac_var+set}\" = set"; then
105495 echo $ECHO_N "(cached) $ECHO_C" >&6
105497 if test x$gcc_no_link = xyes; then
105498 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105499 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105500 { (exit 1); exit 1; }; }
105502 cat >conftest.$ac_ext <<_ACEOF
105503 /* confdefs.h. */
105504 _ACEOF
105505 cat confdefs.h >>conftest.$ac_ext
105506 cat >>conftest.$ac_ext <<_ACEOF
105507 /* end confdefs.h. */
105508 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105509 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105510 #define $ac_func innocuous_$ac_func
105512 /* System header to define __stub macros and hopefully few prototypes,
105513 which can conflict with char $ac_func (); below.
105514 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105515 <limits.h> exists even on freestanding compilers. */
105517 #ifdef __STDC__
105518 # include <limits.h>
105519 #else
105520 # include <assert.h>
105521 #endif
105523 #undef $ac_func
105525 /* Override any gcc2 internal prototype to avoid an error. */
105526 #ifdef __cplusplus
105527 extern "C"
105529 #endif
105530 /* We use char because int might match the return type of a gcc2
105531 builtin and then its argument prototype would still apply. */
105532 char $ac_func ();
105533 /* The GNU C library defines this for functions which it implements
105534 to always fail with ENOSYS. Some functions are actually named
105535 something starting with __ and the normal name is an alias. */
105536 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105537 choke me
105538 #else
105539 char (*f) () = $ac_func;
105540 #endif
105541 #ifdef __cplusplus
105543 #endif
105546 main ()
105548 return f != $ac_func;
105550 return 0;
105552 _ACEOF
105553 rm -f conftest.$ac_objext conftest$ac_exeext
105554 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105555 (eval $ac_link) 2>conftest.er1
105556 ac_status=$?
105557 grep -v '^ *+' conftest.er1 >conftest.err
105558 rm -f conftest.er1
105559 cat conftest.err >&5
105560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105561 (exit $ac_status); } &&
105562 { ac_try='test -z "$ac_c_werror_flag"
105563 || test ! -s conftest.err'
105564 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105565 (eval $ac_try) 2>&5
105566 ac_status=$?
105567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105568 (exit $ac_status); }; } &&
105569 { ac_try='test -s conftest$ac_exeext'
105570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105571 (eval $ac_try) 2>&5
105572 ac_status=$?
105573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105574 (exit $ac_status); }; }; then
105575 eval "$as_ac_var=yes"
105577 echo "$as_me: failed program was:" >&5
105578 sed 's/^/| /' conftest.$ac_ext >&5
105580 eval "$as_ac_var=no"
105582 rm -f conftest.err conftest.$ac_objext \
105583 conftest$ac_exeext conftest.$ac_ext
105585 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105586 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105587 if test `eval echo '${'$as_ac_var'}'` = yes; then
105588 cat >>confdefs.h <<_ACEOF
105589 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105590 _ACEOF
105596 echo "$as_me:$LINENO: checking for _long double trig functions" >&5
105597 echo $ECHO_N "checking for _long double trig functions... $ECHO_C" >&6
105598 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then
105599 echo $ECHO_N "(cached) $ECHO_C" >&6
105604 ac_ext=cc
105605 ac_cpp='$CXXCPP $CPPFLAGS'
105606 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105607 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105608 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105610 cat >conftest.$ac_ext <<_ACEOF
105611 /* confdefs.h. */
105612 _ACEOF
105613 cat confdefs.h >>conftest.$ac_ext
105614 cat >>conftest.$ac_ext <<_ACEOF
105615 /* end confdefs.h. */
105616 #include <math.h>
105618 main ()
105620 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
105622 return 0;
105624 _ACEOF
105625 rm -f conftest.$ac_objext
105626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105627 (eval $ac_compile) 2>conftest.er1
105628 ac_status=$?
105629 grep -v '^ *+' conftest.er1 >conftest.err
105630 rm -f conftest.er1
105631 cat conftest.err >&5
105632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105633 (exit $ac_status); } &&
105634 { ac_try='test -z "$ac_cxx_werror_flag"
105635 || test ! -s conftest.err'
105636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105637 (eval $ac_try) 2>&5
105638 ac_status=$?
105639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105640 (exit $ac_status); }; } &&
105641 { ac_try='test -s conftest.$ac_objext'
105642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105643 (eval $ac_try) 2>&5
105644 ac_status=$?
105645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105646 (exit $ac_status); }; }; then
105647 glibcxx_cv_func__long_double_trig_use=yes
105649 echo "$as_me: failed program was:" >&5
105650 sed 's/^/| /' conftest.$ac_ext >&5
105652 glibcxx_cv_func__long_double_trig_use=no
105654 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105655 ac_ext=c
105656 ac_cpp='$CPP $CPPFLAGS'
105657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105663 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_trig_use" >&5
105664 echo "${ECHO_T}$glibcxx_cv_func__long_double_trig_use" >&6
105665 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
105675 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
105677 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105678 echo "$as_me:$LINENO: checking for $ac_func" >&5
105679 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105680 if eval "test \"\${$as_ac_var+set}\" = set"; then
105681 echo $ECHO_N "(cached) $ECHO_C" >&6
105683 if test x$gcc_no_link = xyes; then
105684 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105685 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105686 { (exit 1); exit 1; }; }
105688 cat >conftest.$ac_ext <<_ACEOF
105689 /* confdefs.h. */
105690 _ACEOF
105691 cat confdefs.h >>conftest.$ac_ext
105692 cat >>conftest.$ac_ext <<_ACEOF
105693 /* end confdefs.h. */
105694 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105695 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105696 #define $ac_func innocuous_$ac_func
105698 /* System header to define __stub macros and hopefully few prototypes,
105699 which can conflict with char $ac_func (); below.
105700 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105701 <limits.h> exists even on freestanding compilers. */
105703 #ifdef __STDC__
105704 # include <limits.h>
105705 #else
105706 # include <assert.h>
105707 #endif
105709 #undef $ac_func
105711 /* Override any gcc2 internal prototype to avoid an error. */
105712 #ifdef __cplusplus
105713 extern "C"
105715 #endif
105716 /* We use char because int might match the return type of a gcc2
105717 builtin and then its argument prototype would still apply. */
105718 char $ac_func ();
105719 /* The GNU C library defines this for functions which it implements
105720 to always fail with ENOSYS. Some functions are actually named
105721 something starting with __ and the normal name is an alias. */
105722 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105723 choke me
105724 #else
105725 char (*f) () = $ac_func;
105726 #endif
105727 #ifdef __cplusplus
105729 #endif
105732 main ()
105734 return f != $ac_func;
105736 return 0;
105738 _ACEOF
105739 rm -f conftest.$ac_objext conftest$ac_exeext
105740 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105741 (eval $ac_link) 2>conftest.er1
105742 ac_status=$?
105743 grep -v '^ *+' conftest.er1 >conftest.err
105744 rm -f conftest.er1
105745 cat conftest.err >&5
105746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105747 (exit $ac_status); } &&
105748 { ac_try='test -z "$ac_c_werror_flag"
105749 || test ! -s conftest.err'
105750 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105751 (eval $ac_try) 2>&5
105752 ac_status=$?
105753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105754 (exit $ac_status); }; } &&
105755 { ac_try='test -s conftest$ac_exeext'
105756 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105757 (eval $ac_try) 2>&5
105758 ac_status=$?
105759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105760 (exit $ac_status); }; }; then
105761 eval "$as_ac_var=yes"
105763 echo "$as_me: failed program was:" >&5
105764 sed 's/^/| /' conftest.$ac_ext >&5
105766 eval "$as_ac_var=no"
105768 rm -f conftest.err conftest.$ac_objext \
105769 conftest$ac_exeext conftest.$ac_ext
105771 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105772 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105773 if test `eval echo '${'$as_ac_var'}'` = yes; then
105774 cat >>confdefs.h <<_ACEOF
105775 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105776 _ACEOF
105797 echo "$as_me:$LINENO: checking for long double round functions" >&5
105798 echo $ECHO_N "checking for long double round functions... $ECHO_C" >&6
105799 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then
105800 echo $ECHO_N "(cached) $ECHO_C" >&6
105805 ac_ext=cc
105806 ac_cpp='$CXXCPP $CPPFLAGS'
105807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105811 cat >conftest.$ac_ext <<_ACEOF
105812 /* confdefs.h. */
105813 _ACEOF
105814 cat confdefs.h >>conftest.$ac_ext
105815 cat >>conftest.$ac_ext <<_ACEOF
105816 /* end confdefs.h. */
105817 #include <math.h>
105819 main ()
105821 ceill (0); floorl (0);
105823 return 0;
105825 _ACEOF
105826 rm -f conftest.$ac_objext
105827 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
105828 (eval $ac_compile) 2>conftest.er1
105829 ac_status=$?
105830 grep -v '^ *+' conftest.er1 >conftest.err
105831 rm -f conftest.er1
105832 cat conftest.err >&5
105833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105834 (exit $ac_status); } &&
105835 { ac_try='test -z "$ac_cxx_werror_flag"
105836 || test ! -s conftest.err'
105837 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105838 (eval $ac_try) 2>&5
105839 ac_status=$?
105840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105841 (exit $ac_status); }; } &&
105842 { ac_try='test -s conftest.$ac_objext'
105843 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105844 (eval $ac_try) 2>&5
105845 ac_status=$?
105846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105847 (exit $ac_status); }; }; then
105848 glibcxx_cv_func_long_double_round_use=yes
105850 echo "$as_me: failed program was:" >&5
105851 sed 's/^/| /' conftest.$ac_ext >&5
105853 glibcxx_cv_func_long_double_round_use=no
105855 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
105856 ac_ext=c
105857 ac_cpp='$CPP $CPPFLAGS'
105858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
105864 echo "$as_me:$LINENO: result: $glibcxx_cv_func_long_double_round_use" >&5
105865 echo "${ECHO_T}$glibcxx_cv_func_long_double_round_use" >&6
105866 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
105869 for ac_func in ceill floorl
105871 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
105872 echo "$as_me:$LINENO: checking for $ac_func" >&5
105873 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
105874 if eval "test \"\${$as_ac_var+set}\" = set"; then
105875 echo $ECHO_N "(cached) $ECHO_C" >&6
105877 if test x$gcc_no_link = xyes; then
105878 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
105879 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
105880 { (exit 1); exit 1; }; }
105882 cat >conftest.$ac_ext <<_ACEOF
105883 /* confdefs.h. */
105884 _ACEOF
105885 cat confdefs.h >>conftest.$ac_ext
105886 cat >>conftest.$ac_ext <<_ACEOF
105887 /* end confdefs.h. */
105888 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
105889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
105890 #define $ac_func innocuous_$ac_func
105892 /* System header to define __stub macros and hopefully few prototypes,
105893 which can conflict with char $ac_func (); below.
105894 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
105895 <limits.h> exists even on freestanding compilers. */
105897 #ifdef __STDC__
105898 # include <limits.h>
105899 #else
105900 # include <assert.h>
105901 #endif
105903 #undef $ac_func
105905 /* Override any gcc2 internal prototype to avoid an error. */
105906 #ifdef __cplusplus
105907 extern "C"
105909 #endif
105910 /* We use char because int might match the return type of a gcc2
105911 builtin and then its argument prototype would still apply. */
105912 char $ac_func ();
105913 /* The GNU C library defines this for functions which it implements
105914 to always fail with ENOSYS. Some functions are actually named
105915 something starting with __ and the normal name is an alias. */
105916 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
105917 choke me
105918 #else
105919 char (*f) () = $ac_func;
105920 #endif
105921 #ifdef __cplusplus
105923 #endif
105926 main ()
105928 return f != $ac_func;
105930 return 0;
105932 _ACEOF
105933 rm -f conftest.$ac_objext conftest$ac_exeext
105934 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
105935 (eval $ac_link) 2>conftest.er1
105936 ac_status=$?
105937 grep -v '^ *+' conftest.er1 >conftest.err
105938 rm -f conftest.er1
105939 cat conftest.err >&5
105940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105941 (exit $ac_status); } &&
105942 { ac_try='test -z "$ac_c_werror_flag"
105943 || test ! -s conftest.err'
105944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105945 (eval $ac_try) 2>&5
105946 ac_status=$?
105947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105948 (exit $ac_status); }; } &&
105949 { ac_try='test -s conftest$ac_exeext'
105950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
105951 (eval $ac_try) 2>&5
105952 ac_status=$?
105953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
105954 (exit $ac_status); }; }; then
105955 eval "$as_ac_var=yes"
105957 echo "$as_me: failed program was:" >&5
105958 sed 's/^/| /' conftest.$ac_ext >&5
105960 eval "$as_ac_var=no"
105962 rm -f conftest.err conftest.$ac_objext \
105963 conftest$ac_exeext conftest.$ac_ext
105965 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
105966 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
105967 if test `eval echo '${'$as_ac_var'}'` = yes; then
105968 cat >>confdefs.h <<_ACEOF
105969 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
105970 _ACEOF
105976 echo "$as_me:$LINENO: checking for _long double round functions" >&5
105977 echo $ECHO_N "checking for _long double round functions... $ECHO_C" >&6
105978 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then
105979 echo $ECHO_N "(cached) $ECHO_C" >&6
105984 ac_ext=cc
105985 ac_cpp='$CXXCPP $CPPFLAGS'
105986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
105987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
105988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
105990 cat >conftest.$ac_ext <<_ACEOF
105991 /* confdefs.h. */
105992 _ACEOF
105993 cat confdefs.h >>conftest.$ac_ext
105994 cat >>conftest.$ac_ext <<_ACEOF
105995 /* end confdefs.h. */
105996 #include <math.h>
105998 main ()
106000 _ceill (0); _floorl (0);
106002 return 0;
106004 _ACEOF
106005 rm -f conftest.$ac_objext
106006 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106007 (eval $ac_compile) 2>conftest.er1
106008 ac_status=$?
106009 grep -v '^ *+' conftest.er1 >conftest.err
106010 rm -f conftest.er1
106011 cat conftest.err >&5
106012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106013 (exit $ac_status); } &&
106014 { ac_try='test -z "$ac_cxx_werror_flag"
106015 || test ! -s conftest.err'
106016 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106017 (eval $ac_try) 2>&5
106018 ac_status=$?
106019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106020 (exit $ac_status); }; } &&
106021 { ac_try='test -s conftest.$ac_objext'
106022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106023 (eval $ac_try) 2>&5
106024 ac_status=$?
106025 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106026 (exit $ac_status); }; }; then
106027 glibcxx_cv_func__long_double_round_use=yes
106029 echo "$as_me: failed program was:" >&5
106030 sed 's/^/| /' conftest.$ac_ext >&5
106032 glibcxx_cv_func__long_double_round_use=no
106034 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106035 ac_ext=c
106036 ac_cpp='$CPP $CPPFLAGS'
106037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106043 echo "$as_me:$LINENO: result: $glibcxx_cv_func__long_double_round_use" >&5
106044 echo "${ECHO_T}$glibcxx_cv_func__long_double_round_use" >&6
106045 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
106048 for ac_func in _ceill _floorl
106050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106051 echo "$as_me:$LINENO: checking for $ac_func" >&5
106052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106053 if eval "test \"\${$as_ac_var+set}\" = set"; then
106054 echo $ECHO_N "(cached) $ECHO_C" >&6
106056 if test x$gcc_no_link = xyes; then
106057 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106058 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106059 { (exit 1); exit 1; }; }
106061 cat >conftest.$ac_ext <<_ACEOF
106062 /* confdefs.h. */
106063 _ACEOF
106064 cat confdefs.h >>conftest.$ac_ext
106065 cat >>conftest.$ac_ext <<_ACEOF
106066 /* end confdefs.h. */
106067 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106068 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106069 #define $ac_func innocuous_$ac_func
106071 /* System header to define __stub macros and hopefully few prototypes,
106072 which can conflict with char $ac_func (); below.
106073 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106074 <limits.h> exists even on freestanding compilers. */
106076 #ifdef __STDC__
106077 # include <limits.h>
106078 #else
106079 # include <assert.h>
106080 #endif
106082 #undef $ac_func
106084 /* Override any gcc2 internal prototype to avoid an error. */
106085 #ifdef __cplusplus
106086 extern "C"
106088 #endif
106089 /* We use char because int might match the return type of a gcc2
106090 builtin and then its argument prototype would still apply. */
106091 char $ac_func ();
106092 /* The GNU C library defines this for functions which it implements
106093 to always fail with ENOSYS. Some functions are actually named
106094 something starting with __ and the normal name is an alias. */
106095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106096 choke me
106097 #else
106098 char (*f) () = $ac_func;
106099 #endif
106100 #ifdef __cplusplus
106102 #endif
106105 main ()
106107 return f != $ac_func;
106109 return 0;
106111 _ACEOF
106112 rm -f conftest.$ac_objext conftest$ac_exeext
106113 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106114 (eval $ac_link) 2>conftest.er1
106115 ac_status=$?
106116 grep -v '^ *+' conftest.er1 >conftest.err
106117 rm -f conftest.er1
106118 cat conftest.err >&5
106119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106120 (exit $ac_status); } &&
106121 { ac_try='test -z "$ac_c_werror_flag"
106122 || test ! -s conftest.err'
106123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106124 (eval $ac_try) 2>&5
106125 ac_status=$?
106126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106127 (exit $ac_status); }; } &&
106128 { ac_try='test -s conftest$ac_exeext'
106129 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106130 (eval $ac_try) 2>&5
106131 ac_status=$?
106132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106133 (exit $ac_status); }; }; then
106134 eval "$as_ac_var=yes"
106136 echo "$as_me: failed program was:" >&5
106137 sed 's/^/| /' conftest.$ac_ext >&5
106139 eval "$as_ac_var=no"
106141 rm -f conftest.err conftest.$ac_objext \
106142 conftest$ac_exeext conftest.$ac_ext
106144 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106145 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106146 if test `eval echo '${'$as_ac_var'}'` = yes; then
106147 cat >>confdefs.h <<_ACEOF
106148 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106149 _ACEOF
106164 echo "$as_me:$LINENO: checking for isnanl declaration" >&5
106165 echo $ECHO_N "checking for isnanl declaration... $ECHO_C" >&6
106166 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
106167 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then
106168 echo $ECHO_N "(cached) $ECHO_C" >&6
106173 ac_ext=cc
106174 ac_cpp='$CXXCPP $CPPFLAGS'
106175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106179 cat >conftest.$ac_ext <<_ACEOF
106180 /* confdefs.h. */
106181 _ACEOF
106182 cat confdefs.h >>conftest.$ac_ext
106183 cat >>conftest.$ac_ext <<_ACEOF
106184 /* end confdefs.h. */
106185 #include <math.h>
106186 #ifdef HAVE_IEEEFP_H
106187 #include <ieeefp.h>
106188 #endif
106191 main ()
106193 isnanl(0);
106195 return 0;
106197 _ACEOF
106198 rm -f conftest.$ac_objext
106199 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106200 (eval $ac_compile) 2>conftest.er1
106201 ac_status=$?
106202 grep -v '^ *+' conftest.er1 >conftest.err
106203 rm -f conftest.er1
106204 cat conftest.err >&5
106205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106206 (exit $ac_status); } &&
106207 { ac_try='test -z "$ac_cxx_werror_flag"
106208 || test ! -s conftest.err'
106209 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106210 (eval $ac_try) 2>&5
106211 ac_status=$?
106212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106213 (exit $ac_status); }; } &&
106214 { ac_try='test -s conftest.$ac_objext'
106215 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106216 (eval $ac_try) 2>&5
106217 ac_status=$?
106218 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106219 (exit $ac_status); }; }; then
106220 glibcxx_cv_func_isnanl_use=yes
106222 echo "$as_me: failed program was:" >&5
106223 sed 's/^/| /' conftest.$ac_ext >&5
106225 glibcxx_cv_func_isnanl_use=no
106227 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106228 ac_ext=c
106229 ac_cpp='$CPP $CPPFLAGS'
106230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106238 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isnanl_use" >&5
106239 echo "${ECHO_T}$glibcxx_cv_func_isnanl_use" >&6
106241 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
106243 for ac_func in isnanl
106245 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106246 echo "$as_me:$LINENO: checking for $ac_func" >&5
106247 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106248 if eval "test \"\${$as_ac_var+set}\" = set"; then
106249 echo $ECHO_N "(cached) $ECHO_C" >&6
106251 if test x$gcc_no_link = xyes; then
106252 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106253 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106254 { (exit 1); exit 1; }; }
106256 cat >conftest.$ac_ext <<_ACEOF
106257 /* confdefs.h. */
106258 _ACEOF
106259 cat confdefs.h >>conftest.$ac_ext
106260 cat >>conftest.$ac_ext <<_ACEOF
106261 /* end confdefs.h. */
106262 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106264 #define $ac_func innocuous_$ac_func
106266 /* System header to define __stub macros and hopefully few prototypes,
106267 which can conflict with char $ac_func (); below.
106268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106269 <limits.h> exists even on freestanding compilers. */
106271 #ifdef __STDC__
106272 # include <limits.h>
106273 #else
106274 # include <assert.h>
106275 #endif
106277 #undef $ac_func
106279 /* Override any gcc2 internal prototype to avoid an error. */
106280 #ifdef __cplusplus
106281 extern "C"
106283 #endif
106284 /* We use char because int might match the return type of a gcc2
106285 builtin and then its argument prototype would still apply. */
106286 char $ac_func ();
106287 /* The GNU C library defines this for functions which it implements
106288 to always fail with ENOSYS. Some functions are actually named
106289 something starting with __ and the normal name is an alias. */
106290 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106291 choke me
106292 #else
106293 char (*f) () = $ac_func;
106294 #endif
106295 #ifdef __cplusplus
106297 #endif
106300 main ()
106302 return f != $ac_func;
106304 return 0;
106306 _ACEOF
106307 rm -f conftest.$ac_objext conftest$ac_exeext
106308 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106309 (eval $ac_link) 2>conftest.er1
106310 ac_status=$?
106311 grep -v '^ *+' conftest.er1 >conftest.err
106312 rm -f conftest.er1
106313 cat conftest.err >&5
106314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106315 (exit $ac_status); } &&
106316 { ac_try='test -z "$ac_c_werror_flag"
106317 || test ! -s conftest.err'
106318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106319 (eval $ac_try) 2>&5
106320 ac_status=$?
106321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106322 (exit $ac_status); }; } &&
106323 { ac_try='test -s conftest$ac_exeext'
106324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106325 (eval $ac_try) 2>&5
106326 ac_status=$?
106327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106328 (exit $ac_status); }; }; then
106329 eval "$as_ac_var=yes"
106331 echo "$as_me: failed program was:" >&5
106332 sed 's/^/| /' conftest.$ac_ext >&5
106334 eval "$as_ac_var=no"
106336 rm -f conftest.err conftest.$ac_objext \
106337 conftest$ac_exeext conftest.$ac_ext
106339 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106340 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106341 if test `eval echo '${'$as_ac_var'}'` = yes; then
106342 cat >>confdefs.h <<_ACEOF
106343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106344 _ACEOF
106351 echo "$as_me:$LINENO: checking for _isnanl declaration" >&5
106352 echo $ECHO_N "checking for _isnanl declaration... $ECHO_C" >&6
106353 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
106354 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then
106355 echo $ECHO_N "(cached) $ECHO_C" >&6
106360 ac_ext=cc
106361 ac_cpp='$CXXCPP $CPPFLAGS'
106362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106366 cat >conftest.$ac_ext <<_ACEOF
106367 /* confdefs.h. */
106368 _ACEOF
106369 cat confdefs.h >>conftest.$ac_ext
106370 cat >>conftest.$ac_ext <<_ACEOF
106371 /* end confdefs.h. */
106372 #include <math.h>
106373 #ifdef HAVE_IEEEFP_H
106374 #include <ieeefp.h>
106375 #endif
106378 main ()
106380 _isnanl(0);
106382 return 0;
106384 _ACEOF
106385 rm -f conftest.$ac_objext
106386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106387 (eval $ac_compile) 2>conftest.er1
106388 ac_status=$?
106389 grep -v '^ *+' conftest.er1 >conftest.err
106390 rm -f conftest.er1
106391 cat conftest.err >&5
106392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106393 (exit $ac_status); } &&
106394 { ac_try='test -z "$ac_cxx_werror_flag"
106395 || test ! -s conftest.err'
106396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106397 (eval $ac_try) 2>&5
106398 ac_status=$?
106399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106400 (exit $ac_status); }; } &&
106401 { ac_try='test -s conftest.$ac_objext'
106402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106403 (eval $ac_try) 2>&5
106404 ac_status=$?
106405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106406 (exit $ac_status); }; }; then
106407 glibcxx_cv_func__isnanl_use=yes
106409 echo "$as_me: failed program was:" >&5
106410 sed 's/^/| /' conftest.$ac_ext >&5
106412 glibcxx_cv_func__isnanl_use=no
106414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106415 ac_ext=c
106416 ac_cpp='$CPP $CPPFLAGS'
106417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isnanl_use" >&5
106426 echo "${ECHO_T}$glibcxx_cv_func__isnanl_use" >&6
106428 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
106430 for ac_func in _isnanl
106432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106433 echo "$as_me:$LINENO: checking for $ac_func" >&5
106434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106435 if eval "test \"\${$as_ac_var+set}\" = set"; then
106436 echo $ECHO_N "(cached) $ECHO_C" >&6
106438 if test x$gcc_no_link = xyes; then
106439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106441 { (exit 1); exit 1; }; }
106443 cat >conftest.$ac_ext <<_ACEOF
106444 /* confdefs.h. */
106445 _ACEOF
106446 cat confdefs.h >>conftest.$ac_ext
106447 cat >>conftest.$ac_ext <<_ACEOF
106448 /* end confdefs.h. */
106449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106451 #define $ac_func innocuous_$ac_func
106453 /* System header to define __stub macros and hopefully few prototypes,
106454 which can conflict with char $ac_func (); below.
106455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106456 <limits.h> exists even on freestanding compilers. */
106458 #ifdef __STDC__
106459 # include <limits.h>
106460 #else
106461 # include <assert.h>
106462 #endif
106464 #undef $ac_func
106466 /* Override any gcc2 internal prototype to avoid an error. */
106467 #ifdef __cplusplus
106468 extern "C"
106470 #endif
106471 /* We use char because int might match the return type of a gcc2
106472 builtin and then its argument prototype would still apply. */
106473 char $ac_func ();
106474 /* The GNU C library defines this for functions which it implements
106475 to always fail with ENOSYS. Some functions are actually named
106476 something starting with __ and the normal name is an alias. */
106477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106478 choke me
106479 #else
106480 char (*f) () = $ac_func;
106481 #endif
106482 #ifdef __cplusplus
106484 #endif
106487 main ()
106489 return f != $ac_func;
106491 return 0;
106493 _ACEOF
106494 rm -f conftest.$ac_objext conftest$ac_exeext
106495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106496 (eval $ac_link) 2>conftest.er1
106497 ac_status=$?
106498 grep -v '^ *+' conftest.er1 >conftest.err
106499 rm -f conftest.er1
106500 cat conftest.err >&5
106501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106502 (exit $ac_status); } &&
106503 { ac_try='test -z "$ac_c_werror_flag"
106504 || test ! -s conftest.err'
106505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106506 (eval $ac_try) 2>&5
106507 ac_status=$?
106508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106509 (exit $ac_status); }; } &&
106510 { ac_try='test -s conftest$ac_exeext'
106511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106512 (eval $ac_try) 2>&5
106513 ac_status=$?
106514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106515 (exit $ac_status); }; }; then
106516 eval "$as_ac_var=yes"
106518 echo "$as_me: failed program was:" >&5
106519 sed 's/^/| /' conftest.$ac_ext >&5
106521 eval "$as_ac_var=no"
106523 rm -f conftest.err conftest.$ac_objext \
106524 conftest$ac_exeext conftest.$ac_ext
106526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106528 if test `eval echo '${'$as_ac_var'}'` = yes; then
106529 cat >>confdefs.h <<_ACEOF
106530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106531 _ACEOF
106544 echo "$as_me:$LINENO: checking for isinfl declaration" >&5
106545 echo $ECHO_N "checking for isinfl declaration... $ECHO_C" >&6
106546 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
106547 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then
106548 echo $ECHO_N "(cached) $ECHO_C" >&6
106553 ac_ext=cc
106554 ac_cpp='$CXXCPP $CPPFLAGS'
106555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106559 cat >conftest.$ac_ext <<_ACEOF
106560 /* confdefs.h. */
106561 _ACEOF
106562 cat confdefs.h >>conftest.$ac_ext
106563 cat >>conftest.$ac_ext <<_ACEOF
106564 /* end confdefs.h. */
106565 #include <math.h>
106566 #ifdef HAVE_IEEEFP_H
106567 #include <ieeefp.h>
106568 #endif
106571 main ()
106573 isinfl(0);
106575 return 0;
106577 _ACEOF
106578 rm -f conftest.$ac_objext
106579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106580 (eval $ac_compile) 2>conftest.er1
106581 ac_status=$?
106582 grep -v '^ *+' conftest.er1 >conftest.err
106583 rm -f conftest.er1
106584 cat conftest.err >&5
106585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106586 (exit $ac_status); } &&
106587 { ac_try='test -z "$ac_cxx_werror_flag"
106588 || test ! -s conftest.err'
106589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106590 (eval $ac_try) 2>&5
106591 ac_status=$?
106592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106593 (exit $ac_status); }; } &&
106594 { ac_try='test -s conftest.$ac_objext'
106595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106596 (eval $ac_try) 2>&5
106597 ac_status=$?
106598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106599 (exit $ac_status); }; }; then
106600 glibcxx_cv_func_isinfl_use=yes
106602 echo "$as_me: failed program was:" >&5
106603 sed 's/^/| /' conftest.$ac_ext >&5
106605 glibcxx_cv_func_isinfl_use=no
106607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106608 ac_ext=c
106609 ac_cpp='$CPP $CPPFLAGS'
106610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_isinfl_use" >&5
106619 echo "${ECHO_T}$glibcxx_cv_func_isinfl_use" >&6
106621 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
106623 for ac_func in isinfl
106625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106626 echo "$as_me:$LINENO: checking for $ac_func" >&5
106627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106628 if eval "test \"\${$as_ac_var+set}\" = set"; then
106629 echo $ECHO_N "(cached) $ECHO_C" >&6
106631 if test x$gcc_no_link = xyes; then
106632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106634 { (exit 1); exit 1; }; }
106636 cat >conftest.$ac_ext <<_ACEOF
106637 /* confdefs.h. */
106638 _ACEOF
106639 cat confdefs.h >>conftest.$ac_ext
106640 cat >>conftest.$ac_ext <<_ACEOF
106641 /* end confdefs.h. */
106642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106644 #define $ac_func innocuous_$ac_func
106646 /* System header to define __stub macros and hopefully few prototypes,
106647 which can conflict with char $ac_func (); below.
106648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106649 <limits.h> exists even on freestanding compilers. */
106651 #ifdef __STDC__
106652 # include <limits.h>
106653 #else
106654 # include <assert.h>
106655 #endif
106657 #undef $ac_func
106659 /* Override any gcc2 internal prototype to avoid an error. */
106660 #ifdef __cplusplus
106661 extern "C"
106663 #endif
106664 /* We use char because int might match the return type of a gcc2
106665 builtin and then its argument prototype would still apply. */
106666 char $ac_func ();
106667 /* The GNU C library defines this for functions which it implements
106668 to always fail with ENOSYS. Some functions are actually named
106669 something starting with __ and the normal name is an alias. */
106670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106671 choke me
106672 #else
106673 char (*f) () = $ac_func;
106674 #endif
106675 #ifdef __cplusplus
106677 #endif
106680 main ()
106682 return f != $ac_func;
106684 return 0;
106686 _ACEOF
106687 rm -f conftest.$ac_objext conftest$ac_exeext
106688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106689 (eval $ac_link) 2>conftest.er1
106690 ac_status=$?
106691 grep -v '^ *+' conftest.er1 >conftest.err
106692 rm -f conftest.er1
106693 cat conftest.err >&5
106694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106695 (exit $ac_status); } &&
106696 { ac_try='test -z "$ac_c_werror_flag"
106697 || test ! -s conftest.err'
106698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106699 (eval $ac_try) 2>&5
106700 ac_status=$?
106701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106702 (exit $ac_status); }; } &&
106703 { ac_try='test -s conftest$ac_exeext'
106704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106705 (eval $ac_try) 2>&5
106706 ac_status=$?
106707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106708 (exit $ac_status); }; }; then
106709 eval "$as_ac_var=yes"
106711 echo "$as_me: failed program was:" >&5
106712 sed 's/^/| /' conftest.$ac_ext >&5
106714 eval "$as_ac_var=no"
106716 rm -f conftest.err conftest.$ac_objext \
106717 conftest$ac_exeext conftest.$ac_ext
106719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106721 if test `eval echo '${'$as_ac_var'}'` = yes; then
106722 cat >>confdefs.h <<_ACEOF
106723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106724 _ACEOF
106731 echo "$as_me:$LINENO: checking for _isinfl declaration" >&5
106732 echo $ECHO_N "checking for _isinfl declaration... $ECHO_C" >&6
106733 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
106734 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then
106735 echo $ECHO_N "(cached) $ECHO_C" >&6
106740 ac_ext=cc
106741 ac_cpp='$CXXCPP $CPPFLAGS'
106742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106746 cat >conftest.$ac_ext <<_ACEOF
106747 /* confdefs.h. */
106748 _ACEOF
106749 cat confdefs.h >>conftest.$ac_ext
106750 cat >>conftest.$ac_ext <<_ACEOF
106751 /* end confdefs.h. */
106752 #include <math.h>
106753 #ifdef HAVE_IEEEFP_H
106754 #include <ieeefp.h>
106755 #endif
106758 main ()
106760 _isinfl(0);
106762 return 0;
106764 _ACEOF
106765 rm -f conftest.$ac_objext
106766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106767 (eval $ac_compile) 2>conftest.er1
106768 ac_status=$?
106769 grep -v '^ *+' conftest.er1 >conftest.err
106770 rm -f conftest.er1
106771 cat conftest.err >&5
106772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106773 (exit $ac_status); } &&
106774 { ac_try='test -z "$ac_cxx_werror_flag"
106775 || test ! -s conftest.err'
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); }; } &&
106781 { ac_try='test -s conftest.$ac_objext'
106782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106783 (eval $ac_try) 2>&5
106784 ac_status=$?
106785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106786 (exit $ac_status); }; }; then
106787 glibcxx_cv_func__isinfl_use=yes
106789 echo "$as_me: failed program was:" >&5
106790 sed 's/^/| /' conftest.$ac_ext >&5
106792 glibcxx_cv_func__isinfl_use=no
106794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106795 ac_ext=c
106796 ac_cpp='$CPP $CPPFLAGS'
106797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__isinfl_use" >&5
106806 echo "${ECHO_T}$glibcxx_cv_func__isinfl_use" >&6
106808 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
106810 for ac_func in _isinfl
106812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
106813 echo "$as_me:$LINENO: checking for $ac_func" >&5
106814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
106815 if eval "test \"\${$as_ac_var+set}\" = set"; then
106816 echo $ECHO_N "(cached) $ECHO_C" >&6
106818 if test x$gcc_no_link = xyes; then
106819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
106820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
106821 { (exit 1); exit 1; }; }
106823 cat >conftest.$ac_ext <<_ACEOF
106824 /* confdefs.h. */
106825 _ACEOF
106826 cat confdefs.h >>conftest.$ac_ext
106827 cat >>conftest.$ac_ext <<_ACEOF
106828 /* end confdefs.h. */
106829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
106830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
106831 #define $ac_func innocuous_$ac_func
106833 /* System header to define __stub macros and hopefully few prototypes,
106834 which can conflict with char $ac_func (); below.
106835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
106836 <limits.h> exists even on freestanding compilers. */
106838 #ifdef __STDC__
106839 # include <limits.h>
106840 #else
106841 # include <assert.h>
106842 #endif
106844 #undef $ac_func
106846 /* Override any gcc2 internal prototype to avoid an error. */
106847 #ifdef __cplusplus
106848 extern "C"
106850 #endif
106851 /* We use char because int might match the return type of a gcc2
106852 builtin and then its argument prototype would still apply. */
106853 char $ac_func ();
106854 /* The GNU C library defines this for functions which it implements
106855 to always fail with ENOSYS. Some functions are actually named
106856 something starting with __ and the normal name is an alias. */
106857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
106858 choke me
106859 #else
106860 char (*f) () = $ac_func;
106861 #endif
106862 #ifdef __cplusplus
106864 #endif
106867 main ()
106869 return f != $ac_func;
106871 return 0;
106873 _ACEOF
106874 rm -f conftest.$ac_objext conftest$ac_exeext
106875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
106876 (eval $ac_link) 2>conftest.er1
106877 ac_status=$?
106878 grep -v '^ *+' conftest.er1 >conftest.err
106879 rm -f conftest.er1
106880 cat conftest.err >&5
106881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106882 (exit $ac_status); } &&
106883 { ac_try='test -z "$ac_c_werror_flag"
106884 || test ! -s conftest.err'
106885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106886 (eval $ac_try) 2>&5
106887 ac_status=$?
106888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106889 (exit $ac_status); }; } &&
106890 { ac_try='test -s conftest$ac_exeext'
106891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106892 (eval $ac_try) 2>&5
106893 ac_status=$?
106894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106895 (exit $ac_status); }; }; then
106896 eval "$as_ac_var=yes"
106898 echo "$as_me: failed program was:" >&5
106899 sed 's/^/| /' conftest.$ac_ext >&5
106901 eval "$as_ac_var=no"
106903 rm -f conftest.err conftest.$ac_objext \
106904 conftest$ac_exeext conftest.$ac_ext
106906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
106907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
106908 if test `eval echo '${'$as_ac_var'}'` = yes; then
106909 cat >>confdefs.h <<_ACEOF
106910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
106911 _ACEOF
106924 echo "$as_me:$LINENO: checking for atan2l declaration" >&5
106925 echo $ECHO_N "checking for atan2l declaration... $ECHO_C" >&6
106926 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
106927 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then
106928 echo $ECHO_N "(cached) $ECHO_C" >&6
106933 ac_ext=cc
106934 ac_cpp='$CXXCPP $CPPFLAGS'
106935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
106939 cat >conftest.$ac_ext <<_ACEOF
106940 /* confdefs.h. */
106941 _ACEOF
106942 cat confdefs.h >>conftest.$ac_ext
106943 cat >>conftest.$ac_ext <<_ACEOF
106944 /* end confdefs.h. */
106945 #include <math.h>
106947 main ()
106949 atan2l(0, 0);
106951 return 0;
106953 _ACEOF
106954 rm -f conftest.$ac_objext
106955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
106956 (eval $ac_compile) 2>conftest.er1
106957 ac_status=$?
106958 grep -v '^ *+' conftest.er1 >conftest.err
106959 rm -f conftest.er1
106960 cat conftest.err >&5
106961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106962 (exit $ac_status); } &&
106963 { ac_try='test -z "$ac_cxx_werror_flag"
106964 || test ! -s conftest.err'
106965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106966 (eval $ac_try) 2>&5
106967 ac_status=$?
106968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106969 (exit $ac_status); }; } &&
106970 { ac_try='test -s conftest.$ac_objext'
106971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
106972 (eval $ac_try) 2>&5
106973 ac_status=$?
106974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
106975 (exit $ac_status); }; }; then
106976 glibcxx_cv_func_atan2l_use=yes
106978 echo "$as_me: failed program was:" >&5
106979 sed 's/^/| /' conftest.$ac_ext >&5
106981 glibcxx_cv_func_atan2l_use=no
106983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
106984 ac_ext=c
106985 ac_cpp='$CPP $CPPFLAGS'
106986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
106987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
106988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
106994 echo "$as_me:$LINENO: result: $glibcxx_cv_func_atan2l_use" >&5
106995 echo "${ECHO_T}$glibcxx_cv_func_atan2l_use" >&6
106997 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
106999 for ac_func in atan2l
107001 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107002 echo "$as_me:$LINENO: checking for $ac_func" >&5
107003 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107004 if eval "test \"\${$as_ac_var+set}\" = set"; then
107005 echo $ECHO_N "(cached) $ECHO_C" >&6
107007 if test x$gcc_no_link = xyes; then
107008 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107009 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107010 { (exit 1); exit 1; }; }
107012 cat >conftest.$ac_ext <<_ACEOF
107013 /* confdefs.h. */
107014 _ACEOF
107015 cat confdefs.h >>conftest.$ac_ext
107016 cat >>conftest.$ac_ext <<_ACEOF
107017 /* end confdefs.h. */
107018 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107019 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107020 #define $ac_func innocuous_$ac_func
107022 /* System header to define __stub macros and hopefully few prototypes,
107023 which can conflict with char $ac_func (); below.
107024 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107025 <limits.h> exists even on freestanding compilers. */
107027 #ifdef __STDC__
107028 # include <limits.h>
107029 #else
107030 # include <assert.h>
107031 #endif
107033 #undef $ac_func
107035 /* Override any gcc2 internal prototype to avoid an error. */
107036 #ifdef __cplusplus
107037 extern "C"
107039 #endif
107040 /* We use char because int might match the return type of a gcc2
107041 builtin and then its argument prototype would still apply. */
107042 char $ac_func ();
107043 /* The GNU C library defines this for functions which it implements
107044 to always fail with ENOSYS. Some functions are actually named
107045 something starting with __ and the normal name is an alias. */
107046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107047 choke me
107048 #else
107049 char (*f) () = $ac_func;
107050 #endif
107051 #ifdef __cplusplus
107053 #endif
107056 main ()
107058 return f != $ac_func;
107060 return 0;
107062 _ACEOF
107063 rm -f conftest.$ac_objext conftest$ac_exeext
107064 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107065 (eval $ac_link) 2>conftest.er1
107066 ac_status=$?
107067 grep -v '^ *+' conftest.er1 >conftest.err
107068 rm -f conftest.er1
107069 cat conftest.err >&5
107070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107071 (exit $ac_status); } &&
107072 { ac_try='test -z "$ac_c_werror_flag"
107073 || test ! -s conftest.err'
107074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107075 (eval $ac_try) 2>&5
107076 ac_status=$?
107077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107078 (exit $ac_status); }; } &&
107079 { ac_try='test -s conftest$ac_exeext'
107080 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107081 (eval $ac_try) 2>&5
107082 ac_status=$?
107083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107084 (exit $ac_status); }; }; then
107085 eval "$as_ac_var=yes"
107087 echo "$as_me: failed program was:" >&5
107088 sed 's/^/| /' conftest.$ac_ext >&5
107090 eval "$as_ac_var=no"
107092 rm -f conftest.err conftest.$ac_objext \
107093 conftest$ac_exeext conftest.$ac_ext
107095 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107096 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107097 if test `eval echo '${'$as_ac_var'}'` = yes; then
107098 cat >>confdefs.h <<_ACEOF
107099 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107100 _ACEOF
107107 echo "$as_me:$LINENO: checking for _atan2l declaration" >&5
107108 echo $ECHO_N "checking for _atan2l declaration... $ECHO_C" >&6
107109 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
107110 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then
107111 echo $ECHO_N "(cached) $ECHO_C" >&6
107116 ac_ext=cc
107117 ac_cpp='$CXXCPP $CPPFLAGS'
107118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107122 cat >conftest.$ac_ext <<_ACEOF
107123 /* confdefs.h. */
107124 _ACEOF
107125 cat confdefs.h >>conftest.$ac_ext
107126 cat >>conftest.$ac_ext <<_ACEOF
107127 /* end confdefs.h. */
107128 #include <math.h>
107130 main ()
107132 _atan2l(0, 0);
107134 return 0;
107136 _ACEOF
107137 rm -f conftest.$ac_objext
107138 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107139 (eval $ac_compile) 2>conftest.er1
107140 ac_status=$?
107141 grep -v '^ *+' conftest.er1 >conftest.err
107142 rm -f conftest.er1
107143 cat conftest.err >&5
107144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107145 (exit $ac_status); } &&
107146 { ac_try='test -z "$ac_cxx_werror_flag"
107147 || test ! -s conftest.err'
107148 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107149 (eval $ac_try) 2>&5
107150 ac_status=$?
107151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107152 (exit $ac_status); }; } &&
107153 { ac_try='test -s conftest.$ac_objext'
107154 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107155 (eval $ac_try) 2>&5
107156 ac_status=$?
107157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107158 (exit $ac_status); }; }; then
107159 glibcxx_cv_func__atan2l_use=yes
107161 echo "$as_me: failed program was:" >&5
107162 sed 's/^/| /' conftest.$ac_ext >&5
107164 glibcxx_cv_func__atan2l_use=no
107166 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107167 ac_ext=c
107168 ac_cpp='$CPP $CPPFLAGS'
107169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107177 echo "$as_me:$LINENO: result: $glibcxx_cv_func__atan2l_use" >&5
107178 echo "${ECHO_T}$glibcxx_cv_func__atan2l_use" >&6
107180 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
107182 for ac_func in _atan2l
107184 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107185 echo "$as_me:$LINENO: checking for $ac_func" >&5
107186 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107187 if eval "test \"\${$as_ac_var+set}\" = set"; then
107188 echo $ECHO_N "(cached) $ECHO_C" >&6
107190 if test x$gcc_no_link = xyes; then
107191 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107192 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107193 { (exit 1); exit 1; }; }
107195 cat >conftest.$ac_ext <<_ACEOF
107196 /* confdefs.h. */
107197 _ACEOF
107198 cat confdefs.h >>conftest.$ac_ext
107199 cat >>conftest.$ac_ext <<_ACEOF
107200 /* end confdefs.h. */
107201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107203 #define $ac_func innocuous_$ac_func
107205 /* System header to define __stub macros and hopefully few prototypes,
107206 which can conflict with char $ac_func (); below.
107207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107208 <limits.h> exists even on freestanding compilers. */
107210 #ifdef __STDC__
107211 # include <limits.h>
107212 #else
107213 # include <assert.h>
107214 #endif
107216 #undef $ac_func
107218 /* Override any gcc2 internal prototype to avoid an error. */
107219 #ifdef __cplusplus
107220 extern "C"
107222 #endif
107223 /* We use char because int might match the return type of a gcc2
107224 builtin and then its argument prototype would still apply. */
107225 char $ac_func ();
107226 /* The GNU C library defines this for functions which it implements
107227 to always fail with ENOSYS. Some functions are actually named
107228 something starting with __ and the normal name is an alias. */
107229 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107230 choke me
107231 #else
107232 char (*f) () = $ac_func;
107233 #endif
107234 #ifdef __cplusplus
107236 #endif
107239 main ()
107241 return f != $ac_func;
107243 return 0;
107245 _ACEOF
107246 rm -f conftest.$ac_objext conftest$ac_exeext
107247 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107248 (eval $ac_link) 2>conftest.er1
107249 ac_status=$?
107250 grep -v '^ *+' conftest.er1 >conftest.err
107251 rm -f conftest.er1
107252 cat conftest.err >&5
107253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107254 (exit $ac_status); } &&
107255 { ac_try='test -z "$ac_c_werror_flag"
107256 || test ! -s conftest.err'
107257 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107258 (eval $ac_try) 2>&5
107259 ac_status=$?
107260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107261 (exit $ac_status); }; } &&
107262 { ac_try='test -s conftest$ac_exeext'
107263 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107264 (eval $ac_try) 2>&5
107265 ac_status=$?
107266 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107267 (exit $ac_status); }; }; then
107268 eval "$as_ac_var=yes"
107270 echo "$as_me: failed program was:" >&5
107271 sed 's/^/| /' conftest.$ac_ext >&5
107273 eval "$as_ac_var=no"
107275 rm -f conftest.err conftest.$ac_objext \
107276 conftest$ac_exeext conftest.$ac_ext
107278 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107279 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107280 if test `eval echo '${'$as_ac_var'}'` = yes; then
107281 cat >>confdefs.h <<_ACEOF
107282 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107283 _ACEOF
107296 echo "$as_me:$LINENO: checking for expl declaration" >&5
107297 echo $ECHO_N "checking for expl declaration... $ECHO_C" >&6
107298 if test x${glibcxx_cv_func_expl_use+set} != xset; then
107299 if test "${glibcxx_cv_func_expl_use+set}" = set; then
107300 echo $ECHO_N "(cached) $ECHO_C" >&6
107305 ac_ext=cc
107306 ac_cpp='$CXXCPP $CPPFLAGS'
107307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107311 cat >conftest.$ac_ext <<_ACEOF
107312 /* confdefs.h. */
107313 _ACEOF
107314 cat confdefs.h >>conftest.$ac_ext
107315 cat >>conftest.$ac_ext <<_ACEOF
107316 /* end confdefs.h. */
107317 #include <math.h>
107318 #ifdef HAVE_IEEEFP_H
107319 #include <ieeefp.h>
107320 #endif
107323 main ()
107325 expl(0);
107327 return 0;
107329 _ACEOF
107330 rm -f conftest.$ac_objext
107331 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107332 (eval $ac_compile) 2>conftest.er1
107333 ac_status=$?
107334 grep -v '^ *+' conftest.er1 >conftest.err
107335 rm -f conftest.er1
107336 cat conftest.err >&5
107337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107338 (exit $ac_status); } &&
107339 { ac_try='test -z "$ac_cxx_werror_flag"
107340 || test ! -s conftest.err'
107341 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107342 (eval $ac_try) 2>&5
107343 ac_status=$?
107344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107345 (exit $ac_status); }; } &&
107346 { ac_try='test -s conftest.$ac_objext'
107347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107348 (eval $ac_try) 2>&5
107349 ac_status=$?
107350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107351 (exit $ac_status); }; }; then
107352 glibcxx_cv_func_expl_use=yes
107354 echo "$as_me: failed program was:" >&5
107355 sed 's/^/| /' conftest.$ac_ext >&5
107357 glibcxx_cv_func_expl_use=no
107359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107360 ac_ext=c
107361 ac_cpp='$CPP $CPPFLAGS'
107362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107370 echo "$as_me:$LINENO: result: $glibcxx_cv_func_expl_use" >&5
107371 echo "${ECHO_T}$glibcxx_cv_func_expl_use" >&6
107373 if test x$glibcxx_cv_func_expl_use = x"yes"; then
107375 for ac_func in expl
107377 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107378 echo "$as_me:$LINENO: checking for $ac_func" >&5
107379 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107380 if eval "test \"\${$as_ac_var+set}\" = set"; then
107381 echo $ECHO_N "(cached) $ECHO_C" >&6
107383 if test x$gcc_no_link = xyes; then
107384 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107385 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107386 { (exit 1); exit 1; }; }
107388 cat >conftest.$ac_ext <<_ACEOF
107389 /* confdefs.h. */
107390 _ACEOF
107391 cat confdefs.h >>conftest.$ac_ext
107392 cat >>conftest.$ac_ext <<_ACEOF
107393 /* end confdefs.h. */
107394 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107396 #define $ac_func innocuous_$ac_func
107398 /* System header to define __stub macros and hopefully few prototypes,
107399 which can conflict with char $ac_func (); below.
107400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107401 <limits.h> exists even on freestanding compilers. */
107403 #ifdef __STDC__
107404 # include <limits.h>
107405 #else
107406 # include <assert.h>
107407 #endif
107409 #undef $ac_func
107411 /* Override any gcc2 internal prototype to avoid an error. */
107412 #ifdef __cplusplus
107413 extern "C"
107415 #endif
107416 /* We use char because int might match the return type of a gcc2
107417 builtin and then its argument prototype would still apply. */
107418 char $ac_func ();
107419 /* The GNU C library defines this for functions which it implements
107420 to always fail with ENOSYS. Some functions are actually named
107421 something starting with __ and the normal name is an alias. */
107422 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107423 choke me
107424 #else
107425 char (*f) () = $ac_func;
107426 #endif
107427 #ifdef __cplusplus
107429 #endif
107432 main ()
107434 return f != $ac_func;
107436 return 0;
107438 _ACEOF
107439 rm -f conftest.$ac_objext conftest$ac_exeext
107440 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107441 (eval $ac_link) 2>conftest.er1
107442 ac_status=$?
107443 grep -v '^ *+' conftest.er1 >conftest.err
107444 rm -f conftest.er1
107445 cat conftest.err >&5
107446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107447 (exit $ac_status); } &&
107448 { ac_try='test -z "$ac_c_werror_flag"
107449 || test ! -s conftest.err'
107450 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107451 (eval $ac_try) 2>&5
107452 ac_status=$?
107453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107454 (exit $ac_status); }; } &&
107455 { ac_try='test -s conftest$ac_exeext'
107456 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107457 (eval $ac_try) 2>&5
107458 ac_status=$?
107459 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107460 (exit $ac_status); }; }; then
107461 eval "$as_ac_var=yes"
107463 echo "$as_me: failed program was:" >&5
107464 sed 's/^/| /' conftest.$ac_ext >&5
107466 eval "$as_ac_var=no"
107468 rm -f conftest.err conftest.$ac_objext \
107469 conftest$ac_exeext conftest.$ac_ext
107471 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107472 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107473 if test `eval echo '${'$as_ac_var'}'` = yes; then
107474 cat >>confdefs.h <<_ACEOF
107475 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107476 _ACEOF
107483 echo "$as_me:$LINENO: checking for _expl declaration" >&5
107484 echo $ECHO_N "checking for _expl declaration... $ECHO_C" >&6
107485 if test x${glibcxx_cv_func__expl_use+set} != xset; then
107486 if test "${glibcxx_cv_func__expl_use+set}" = set; then
107487 echo $ECHO_N "(cached) $ECHO_C" >&6
107492 ac_ext=cc
107493 ac_cpp='$CXXCPP $CPPFLAGS'
107494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107498 cat >conftest.$ac_ext <<_ACEOF
107499 /* confdefs.h. */
107500 _ACEOF
107501 cat confdefs.h >>conftest.$ac_ext
107502 cat >>conftest.$ac_ext <<_ACEOF
107503 /* end confdefs.h. */
107504 #include <math.h>
107505 #ifdef HAVE_IEEEFP_H
107506 #include <ieeefp.h>
107507 #endif
107510 main ()
107512 _expl(0);
107514 return 0;
107516 _ACEOF
107517 rm -f conftest.$ac_objext
107518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107519 (eval $ac_compile) 2>conftest.er1
107520 ac_status=$?
107521 grep -v '^ *+' conftest.er1 >conftest.err
107522 rm -f conftest.er1
107523 cat conftest.err >&5
107524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107525 (exit $ac_status); } &&
107526 { ac_try='test -z "$ac_cxx_werror_flag"
107527 || test ! -s conftest.err'
107528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107529 (eval $ac_try) 2>&5
107530 ac_status=$?
107531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107532 (exit $ac_status); }; } &&
107533 { ac_try='test -s conftest.$ac_objext'
107534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107535 (eval $ac_try) 2>&5
107536 ac_status=$?
107537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107538 (exit $ac_status); }; }; then
107539 glibcxx_cv_func__expl_use=yes
107541 echo "$as_me: failed program was:" >&5
107542 sed 's/^/| /' conftest.$ac_ext >&5
107544 glibcxx_cv_func__expl_use=no
107546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107547 ac_ext=c
107548 ac_cpp='$CPP $CPPFLAGS'
107549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__expl_use" >&5
107558 echo "${ECHO_T}$glibcxx_cv_func__expl_use" >&6
107560 if test x$glibcxx_cv_func__expl_use = x"yes"; then
107562 for ac_func in _expl
107564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107565 echo "$as_me:$LINENO: checking for $ac_func" >&5
107566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107567 if eval "test \"\${$as_ac_var+set}\" = set"; then
107568 echo $ECHO_N "(cached) $ECHO_C" >&6
107570 if test x$gcc_no_link = xyes; then
107571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107573 { (exit 1); exit 1; }; }
107575 cat >conftest.$ac_ext <<_ACEOF
107576 /* confdefs.h. */
107577 _ACEOF
107578 cat confdefs.h >>conftest.$ac_ext
107579 cat >>conftest.$ac_ext <<_ACEOF
107580 /* end confdefs.h. */
107581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107583 #define $ac_func innocuous_$ac_func
107585 /* System header to define __stub macros and hopefully few prototypes,
107586 which can conflict with char $ac_func (); below.
107587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107588 <limits.h> exists even on freestanding compilers. */
107590 #ifdef __STDC__
107591 # include <limits.h>
107592 #else
107593 # include <assert.h>
107594 #endif
107596 #undef $ac_func
107598 /* Override any gcc2 internal prototype to avoid an error. */
107599 #ifdef __cplusplus
107600 extern "C"
107602 #endif
107603 /* We use char because int might match the return type of a gcc2
107604 builtin and then its argument prototype would still apply. */
107605 char $ac_func ();
107606 /* The GNU C library defines this for functions which it implements
107607 to always fail with ENOSYS. Some functions are actually named
107608 something starting with __ and the normal name is an alias. */
107609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107610 choke me
107611 #else
107612 char (*f) () = $ac_func;
107613 #endif
107614 #ifdef __cplusplus
107616 #endif
107619 main ()
107621 return f != $ac_func;
107623 return 0;
107625 _ACEOF
107626 rm -f conftest.$ac_objext conftest$ac_exeext
107627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107628 (eval $ac_link) 2>conftest.er1
107629 ac_status=$?
107630 grep -v '^ *+' conftest.er1 >conftest.err
107631 rm -f conftest.er1
107632 cat conftest.err >&5
107633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107634 (exit $ac_status); } &&
107635 { ac_try='test -z "$ac_c_werror_flag"
107636 || test ! -s conftest.err'
107637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107638 (eval $ac_try) 2>&5
107639 ac_status=$?
107640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107641 (exit $ac_status); }; } &&
107642 { ac_try='test -s conftest$ac_exeext'
107643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107644 (eval $ac_try) 2>&5
107645 ac_status=$?
107646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107647 (exit $ac_status); }; }; then
107648 eval "$as_ac_var=yes"
107650 echo "$as_me: failed program was:" >&5
107651 sed 's/^/| /' conftest.$ac_ext >&5
107653 eval "$as_ac_var=no"
107655 rm -f conftest.err conftest.$ac_objext \
107656 conftest$ac_exeext conftest.$ac_ext
107658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107660 if test `eval echo '${'$as_ac_var'}'` = yes; then
107661 cat >>confdefs.h <<_ACEOF
107662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107663 _ACEOF
107676 echo "$as_me:$LINENO: checking for fabsl declaration" >&5
107677 echo $ECHO_N "checking for fabsl declaration... $ECHO_C" >&6
107678 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
107679 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then
107680 echo $ECHO_N "(cached) $ECHO_C" >&6
107685 ac_ext=cc
107686 ac_cpp='$CXXCPP $CPPFLAGS'
107687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107691 cat >conftest.$ac_ext <<_ACEOF
107692 /* confdefs.h. */
107693 _ACEOF
107694 cat confdefs.h >>conftest.$ac_ext
107695 cat >>conftest.$ac_ext <<_ACEOF
107696 /* end confdefs.h. */
107697 #include <math.h>
107698 #ifdef HAVE_IEEEFP_H
107699 #include <ieeefp.h>
107700 #endif
107703 main ()
107705 fabsl(0);
107707 return 0;
107709 _ACEOF
107710 rm -f conftest.$ac_objext
107711 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107712 (eval $ac_compile) 2>conftest.er1
107713 ac_status=$?
107714 grep -v '^ *+' conftest.er1 >conftest.err
107715 rm -f conftest.er1
107716 cat conftest.err >&5
107717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107718 (exit $ac_status); } &&
107719 { ac_try='test -z "$ac_cxx_werror_flag"
107720 || test ! -s conftest.err'
107721 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107722 (eval $ac_try) 2>&5
107723 ac_status=$?
107724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107725 (exit $ac_status); }; } &&
107726 { ac_try='test -s conftest.$ac_objext'
107727 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107728 (eval $ac_try) 2>&5
107729 ac_status=$?
107730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107731 (exit $ac_status); }; }; then
107732 glibcxx_cv_func_fabsl_use=yes
107734 echo "$as_me: failed program was:" >&5
107735 sed 's/^/| /' conftest.$ac_ext >&5
107737 glibcxx_cv_func_fabsl_use=no
107739 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107740 ac_ext=c
107741 ac_cpp='$CPP $CPPFLAGS'
107742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107750 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fabsl_use" >&5
107751 echo "${ECHO_T}$glibcxx_cv_func_fabsl_use" >&6
107753 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
107755 for ac_func in fabsl
107757 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107758 echo "$as_me:$LINENO: checking for $ac_func" >&5
107759 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107760 if eval "test \"\${$as_ac_var+set}\" = set"; then
107761 echo $ECHO_N "(cached) $ECHO_C" >&6
107763 if test x$gcc_no_link = xyes; then
107764 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107765 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107766 { (exit 1); exit 1; }; }
107768 cat >conftest.$ac_ext <<_ACEOF
107769 /* confdefs.h. */
107770 _ACEOF
107771 cat confdefs.h >>conftest.$ac_ext
107772 cat >>conftest.$ac_ext <<_ACEOF
107773 /* end confdefs.h. */
107774 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107775 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107776 #define $ac_func innocuous_$ac_func
107778 /* System header to define __stub macros and hopefully few prototypes,
107779 which can conflict with char $ac_func (); below.
107780 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107781 <limits.h> exists even on freestanding compilers. */
107783 #ifdef __STDC__
107784 # include <limits.h>
107785 #else
107786 # include <assert.h>
107787 #endif
107789 #undef $ac_func
107791 /* Override any gcc2 internal prototype to avoid an error. */
107792 #ifdef __cplusplus
107793 extern "C"
107795 #endif
107796 /* We use char because int might match the return type of a gcc2
107797 builtin and then its argument prototype would still apply. */
107798 char $ac_func ();
107799 /* The GNU C library defines this for functions which it implements
107800 to always fail with ENOSYS. Some functions are actually named
107801 something starting with __ and the normal name is an alias. */
107802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107803 choke me
107804 #else
107805 char (*f) () = $ac_func;
107806 #endif
107807 #ifdef __cplusplus
107809 #endif
107812 main ()
107814 return f != $ac_func;
107816 return 0;
107818 _ACEOF
107819 rm -f conftest.$ac_objext conftest$ac_exeext
107820 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
107821 (eval $ac_link) 2>conftest.er1
107822 ac_status=$?
107823 grep -v '^ *+' conftest.er1 >conftest.err
107824 rm -f conftest.er1
107825 cat conftest.err >&5
107826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107827 (exit $ac_status); } &&
107828 { ac_try='test -z "$ac_c_werror_flag"
107829 || test ! -s conftest.err'
107830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107831 (eval $ac_try) 2>&5
107832 ac_status=$?
107833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107834 (exit $ac_status); }; } &&
107835 { ac_try='test -s conftest$ac_exeext'
107836 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107837 (eval $ac_try) 2>&5
107838 ac_status=$?
107839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107840 (exit $ac_status); }; }; then
107841 eval "$as_ac_var=yes"
107843 echo "$as_me: failed program was:" >&5
107844 sed 's/^/| /' conftest.$ac_ext >&5
107846 eval "$as_ac_var=no"
107848 rm -f conftest.err conftest.$ac_objext \
107849 conftest$ac_exeext conftest.$ac_ext
107851 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
107852 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
107853 if test `eval echo '${'$as_ac_var'}'` = yes; then
107854 cat >>confdefs.h <<_ACEOF
107855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
107856 _ACEOF
107863 echo "$as_me:$LINENO: checking for _fabsl declaration" >&5
107864 echo $ECHO_N "checking for _fabsl declaration... $ECHO_C" >&6
107865 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
107866 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then
107867 echo $ECHO_N "(cached) $ECHO_C" >&6
107872 ac_ext=cc
107873 ac_cpp='$CXXCPP $CPPFLAGS'
107874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
107878 cat >conftest.$ac_ext <<_ACEOF
107879 /* confdefs.h. */
107880 _ACEOF
107881 cat confdefs.h >>conftest.$ac_ext
107882 cat >>conftest.$ac_ext <<_ACEOF
107883 /* end confdefs.h. */
107884 #include <math.h>
107885 #ifdef HAVE_IEEEFP_H
107886 #include <ieeefp.h>
107887 #endif
107890 main ()
107892 _fabsl(0);
107894 return 0;
107896 _ACEOF
107897 rm -f conftest.$ac_objext
107898 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
107899 (eval $ac_compile) 2>conftest.er1
107900 ac_status=$?
107901 grep -v '^ *+' conftest.er1 >conftest.err
107902 rm -f conftest.er1
107903 cat conftest.err >&5
107904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107905 (exit $ac_status); } &&
107906 { ac_try='test -z "$ac_cxx_werror_flag"
107907 || test ! -s conftest.err'
107908 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107909 (eval $ac_try) 2>&5
107910 ac_status=$?
107911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107912 (exit $ac_status); }; } &&
107913 { ac_try='test -s conftest.$ac_objext'
107914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
107915 (eval $ac_try) 2>&5
107916 ac_status=$?
107917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
107918 (exit $ac_status); }; }; then
107919 glibcxx_cv_func__fabsl_use=yes
107921 echo "$as_me: failed program was:" >&5
107922 sed 's/^/| /' conftest.$ac_ext >&5
107924 glibcxx_cv_func__fabsl_use=no
107926 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
107927 ac_ext=c
107928 ac_cpp='$CPP $CPPFLAGS'
107929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
107930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
107931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
107937 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fabsl_use" >&5
107938 echo "${ECHO_T}$glibcxx_cv_func__fabsl_use" >&6
107940 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
107942 for ac_func in _fabsl
107944 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
107945 echo "$as_me:$LINENO: checking for $ac_func" >&5
107946 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
107947 if eval "test \"\${$as_ac_var+set}\" = set"; then
107948 echo $ECHO_N "(cached) $ECHO_C" >&6
107950 if test x$gcc_no_link = xyes; then
107951 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
107952 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
107953 { (exit 1); exit 1; }; }
107955 cat >conftest.$ac_ext <<_ACEOF
107956 /* confdefs.h. */
107957 _ACEOF
107958 cat confdefs.h >>conftest.$ac_ext
107959 cat >>conftest.$ac_ext <<_ACEOF
107960 /* end confdefs.h. */
107961 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
107962 For example, HP-UX 11i <limits.h> declares gettimeofday. */
107963 #define $ac_func innocuous_$ac_func
107965 /* System header to define __stub macros and hopefully few prototypes,
107966 which can conflict with char $ac_func (); below.
107967 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
107968 <limits.h> exists even on freestanding compilers. */
107970 #ifdef __STDC__
107971 # include <limits.h>
107972 #else
107973 # include <assert.h>
107974 #endif
107976 #undef $ac_func
107978 /* Override any gcc2 internal prototype to avoid an error. */
107979 #ifdef __cplusplus
107980 extern "C"
107982 #endif
107983 /* We use char because int might match the return type of a gcc2
107984 builtin and then its argument prototype would still apply. */
107985 char $ac_func ();
107986 /* The GNU C library defines this for functions which it implements
107987 to always fail with ENOSYS. Some functions are actually named
107988 something starting with __ and the normal name is an alias. */
107989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
107990 choke me
107991 #else
107992 char (*f) () = $ac_func;
107993 #endif
107994 #ifdef __cplusplus
107996 #endif
107999 main ()
108001 return f != $ac_func;
108003 return 0;
108005 _ACEOF
108006 rm -f conftest.$ac_objext conftest$ac_exeext
108007 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108008 (eval $ac_link) 2>conftest.er1
108009 ac_status=$?
108010 grep -v '^ *+' conftest.er1 >conftest.err
108011 rm -f conftest.er1
108012 cat conftest.err >&5
108013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108014 (exit $ac_status); } &&
108015 { ac_try='test -z "$ac_c_werror_flag"
108016 || test ! -s conftest.err'
108017 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108018 (eval $ac_try) 2>&5
108019 ac_status=$?
108020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108021 (exit $ac_status); }; } &&
108022 { ac_try='test -s conftest$ac_exeext'
108023 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108024 (eval $ac_try) 2>&5
108025 ac_status=$?
108026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108027 (exit $ac_status); }; }; then
108028 eval "$as_ac_var=yes"
108030 echo "$as_me: failed program was:" >&5
108031 sed 's/^/| /' conftest.$ac_ext >&5
108033 eval "$as_ac_var=no"
108035 rm -f conftest.err conftest.$ac_objext \
108036 conftest$ac_exeext conftest.$ac_ext
108038 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108039 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108040 if test `eval echo '${'$as_ac_var'}'` = yes; then
108041 cat >>confdefs.h <<_ACEOF
108042 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108043 _ACEOF
108056 echo "$as_me:$LINENO: checking for fmodl declaration" >&5
108057 echo $ECHO_N "checking for fmodl declaration... $ECHO_C" >&6
108058 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
108059 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then
108060 echo $ECHO_N "(cached) $ECHO_C" >&6
108065 ac_ext=cc
108066 ac_cpp='$CXXCPP $CPPFLAGS'
108067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108071 cat >conftest.$ac_ext <<_ACEOF
108072 /* confdefs.h. */
108073 _ACEOF
108074 cat confdefs.h >>conftest.$ac_ext
108075 cat >>conftest.$ac_ext <<_ACEOF
108076 /* end confdefs.h. */
108077 #include <math.h>
108079 main ()
108081 fmodl(0, 0);
108083 return 0;
108085 _ACEOF
108086 rm -f conftest.$ac_objext
108087 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108088 (eval $ac_compile) 2>conftest.er1
108089 ac_status=$?
108090 grep -v '^ *+' conftest.er1 >conftest.err
108091 rm -f conftest.er1
108092 cat conftest.err >&5
108093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108094 (exit $ac_status); } &&
108095 { ac_try='test -z "$ac_cxx_werror_flag"
108096 || test ! -s conftest.err'
108097 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108098 (eval $ac_try) 2>&5
108099 ac_status=$?
108100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108101 (exit $ac_status); }; } &&
108102 { ac_try='test -s conftest.$ac_objext'
108103 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108104 (eval $ac_try) 2>&5
108105 ac_status=$?
108106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108107 (exit $ac_status); }; }; then
108108 glibcxx_cv_func_fmodl_use=yes
108110 echo "$as_me: failed program was:" >&5
108111 sed 's/^/| /' conftest.$ac_ext >&5
108113 glibcxx_cv_func_fmodl_use=no
108115 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108116 ac_ext=c
108117 ac_cpp='$CPP $CPPFLAGS'
108118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108126 echo "$as_me:$LINENO: result: $glibcxx_cv_func_fmodl_use" >&5
108127 echo "${ECHO_T}$glibcxx_cv_func_fmodl_use" >&6
108129 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
108131 for ac_func in fmodl
108133 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108134 echo "$as_me:$LINENO: checking for $ac_func" >&5
108135 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108136 if eval "test \"\${$as_ac_var+set}\" = set"; then
108137 echo $ECHO_N "(cached) $ECHO_C" >&6
108139 if test x$gcc_no_link = xyes; then
108140 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108141 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108142 { (exit 1); exit 1; }; }
108144 cat >conftest.$ac_ext <<_ACEOF
108145 /* confdefs.h. */
108146 _ACEOF
108147 cat confdefs.h >>conftest.$ac_ext
108148 cat >>conftest.$ac_ext <<_ACEOF
108149 /* end confdefs.h. */
108150 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108152 #define $ac_func innocuous_$ac_func
108154 /* System header to define __stub macros and hopefully few prototypes,
108155 which can conflict with char $ac_func (); below.
108156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108157 <limits.h> exists even on freestanding compilers. */
108159 #ifdef __STDC__
108160 # include <limits.h>
108161 #else
108162 # include <assert.h>
108163 #endif
108165 #undef $ac_func
108167 /* Override any gcc2 internal prototype to avoid an error. */
108168 #ifdef __cplusplus
108169 extern "C"
108171 #endif
108172 /* We use char because int might match the return type of a gcc2
108173 builtin and then its argument prototype would still apply. */
108174 char $ac_func ();
108175 /* The GNU C library defines this for functions which it implements
108176 to always fail with ENOSYS. Some functions are actually named
108177 something starting with __ and the normal name is an alias. */
108178 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108179 choke me
108180 #else
108181 char (*f) () = $ac_func;
108182 #endif
108183 #ifdef __cplusplus
108185 #endif
108188 main ()
108190 return f != $ac_func;
108192 return 0;
108194 _ACEOF
108195 rm -f conftest.$ac_objext conftest$ac_exeext
108196 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108197 (eval $ac_link) 2>conftest.er1
108198 ac_status=$?
108199 grep -v '^ *+' conftest.er1 >conftest.err
108200 rm -f conftest.er1
108201 cat conftest.err >&5
108202 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108203 (exit $ac_status); } &&
108204 { ac_try='test -z "$ac_c_werror_flag"
108205 || test ! -s conftest.err'
108206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108207 (eval $ac_try) 2>&5
108208 ac_status=$?
108209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108210 (exit $ac_status); }; } &&
108211 { ac_try='test -s conftest$ac_exeext'
108212 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108213 (eval $ac_try) 2>&5
108214 ac_status=$?
108215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108216 (exit $ac_status); }; }; then
108217 eval "$as_ac_var=yes"
108219 echo "$as_me: failed program was:" >&5
108220 sed 's/^/| /' conftest.$ac_ext >&5
108222 eval "$as_ac_var=no"
108224 rm -f conftest.err conftest.$ac_objext \
108225 conftest$ac_exeext conftest.$ac_ext
108227 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108228 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108229 if test `eval echo '${'$as_ac_var'}'` = yes; then
108230 cat >>confdefs.h <<_ACEOF
108231 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108232 _ACEOF
108239 echo "$as_me:$LINENO: checking for _fmodl declaration" >&5
108240 echo $ECHO_N "checking for _fmodl declaration... $ECHO_C" >&6
108241 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
108242 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then
108243 echo $ECHO_N "(cached) $ECHO_C" >&6
108248 ac_ext=cc
108249 ac_cpp='$CXXCPP $CPPFLAGS'
108250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108254 cat >conftest.$ac_ext <<_ACEOF
108255 /* confdefs.h. */
108256 _ACEOF
108257 cat confdefs.h >>conftest.$ac_ext
108258 cat >>conftest.$ac_ext <<_ACEOF
108259 /* end confdefs.h. */
108260 #include <math.h>
108262 main ()
108264 _fmodl(0, 0);
108266 return 0;
108268 _ACEOF
108269 rm -f conftest.$ac_objext
108270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108271 (eval $ac_compile) 2>conftest.er1
108272 ac_status=$?
108273 grep -v '^ *+' conftest.er1 >conftest.err
108274 rm -f conftest.er1
108275 cat conftest.err >&5
108276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108277 (exit $ac_status); } &&
108278 { ac_try='test -z "$ac_cxx_werror_flag"
108279 || test ! -s conftest.err'
108280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108281 (eval $ac_try) 2>&5
108282 ac_status=$?
108283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108284 (exit $ac_status); }; } &&
108285 { ac_try='test -s conftest.$ac_objext'
108286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108287 (eval $ac_try) 2>&5
108288 ac_status=$?
108289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108290 (exit $ac_status); }; }; then
108291 glibcxx_cv_func__fmodl_use=yes
108293 echo "$as_me: failed program was:" >&5
108294 sed 's/^/| /' conftest.$ac_ext >&5
108296 glibcxx_cv_func__fmodl_use=no
108298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108299 ac_ext=c
108300 ac_cpp='$CPP $CPPFLAGS'
108301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__fmodl_use" >&5
108310 echo "${ECHO_T}$glibcxx_cv_func__fmodl_use" >&6
108312 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
108314 for ac_func in _fmodl
108316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108317 echo "$as_me:$LINENO: checking for $ac_func" >&5
108318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108319 if eval "test \"\${$as_ac_var+set}\" = set"; then
108320 echo $ECHO_N "(cached) $ECHO_C" >&6
108322 if test x$gcc_no_link = xyes; then
108323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108325 { (exit 1); exit 1; }; }
108327 cat >conftest.$ac_ext <<_ACEOF
108328 /* confdefs.h. */
108329 _ACEOF
108330 cat confdefs.h >>conftest.$ac_ext
108331 cat >>conftest.$ac_ext <<_ACEOF
108332 /* end confdefs.h. */
108333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108335 #define $ac_func innocuous_$ac_func
108337 /* System header to define __stub macros and hopefully few prototypes,
108338 which can conflict with char $ac_func (); below.
108339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108340 <limits.h> exists even on freestanding compilers. */
108342 #ifdef __STDC__
108343 # include <limits.h>
108344 #else
108345 # include <assert.h>
108346 #endif
108348 #undef $ac_func
108350 /* Override any gcc2 internal prototype to avoid an error. */
108351 #ifdef __cplusplus
108352 extern "C"
108354 #endif
108355 /* We use char because int might match the return type of a gcc2
108356 builtin and then its argument prototype would still apply. */
108357 char $ac_func ();
108358 /* The GNU C library defines this for functions which it implements
108359 to always fail with ENOSYS. Some functions are actually named
108360 something starting with __ and the normal name is an alias. */
108361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108362 choke me
108363 #else
108364 char (*f) () = $ac_func;
108365 #endif
108366 #ifdef __cplusplus
108368 #endif
108371 main ()
108373 return f != $ac_func;
108375 return 0;
108377 _ACEOF
108378 rm -f conftest.$ac_objext conftest$ac_exeext
108379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108380 (eval $ac_link) 2>conftest.er1
108381 ac_status=$?
108382 grep -v '^ *+' conftest.er1 >conftest.err
108383 rm -f conftest.er1
108384 cat conftest.err >&5
108385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108386 (exit $ac_status); } &&
108387 { ac_try='test -z "$ac_c_werror_flag"
108388 || test ! -s conftest.err'
108389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108390 (eval $ac_try) 2>&5
108391 ac_status=$?
108392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108393 (exit $ac_status); }; } &&
108394 { ac_try='test -s conftest$ac_exeext'
108395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108396 (eval $ac_try) 2>&5
108397 ac_status=$?
108398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108399 (exit $ac_status); }; }; then
108400 eval "$as_ac_var=yes"
108402 echo "$as_me: failed program was:" >&5
108403 sed 's/^/| /' conftest.$ac_ext >&5
108405 eval "$as_ac_var=no"
108407 rm -f conftest.err conftest.$ac_objext \
108408 conftest$ac_exeext conftest.$ac_ext
108410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108412 if test `eval echo '${'$as_ac_var'}'` = yes; then
108413 cat >>confdefs.h <<_ACEOF
108414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108415 _ACEOF
108428 echo "$as_me:$LINENO: checking for frexpl declaration" >&5
108429 echo $ECHO_N "checking for frexpl declaration... $ECHO_C" >&6
108430 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
108431 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then
108432 echo $ECHO_N "(cached) $ECHO_C" >&6
108437 ac_ext=cc
108438 ac_cpp='$CXXCPP $CPPFLAGS'
108439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108443 cat >conftest.$ac_ext <<_ACEOF
108444 /* confdefs.h. */
108445 _ACEOF
108446 cat confdefs.h >>conftest.$ac_ext
108447 cat >>conftest.$ac_ext <<_ACEOF
108448 /* end confdefs.h. */
108449 #include <math.h>
108451 main ()
108453 frexpl(0, 0);
108455 return 0;
108457 _ACEOF
108458 rm -f conftest.$ac_objext
108459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108460 (eval $ac_compile) 2>conftest.er1
108461 ac_status=$?
108462 grep -v '^ *+' conftest.er1 >conftest.err
108463 rm -f conftest.er1
108464 cat conftest.err >&5
108465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108466 (exit $ac_status); } &&
108467 { ac_try='test -z "$ac_cxx_werror_flag"
108468 || test ! -s conftest.err'
108469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108470 (eval $ac_try) 2>&5
108471 ac_status=$?
108472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108473 (exit $ac_status); }; } &&
108474 { ac_try='test -s conftest.$ac_objext'
108475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108476 (eval $ac_try) 2>&5
108477 ac_status=$?
108478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108479 (exit $ac_status); }; }; then
108480 glibcxx_cv_func_frexpl_use=yes
108482 echo "$as_me: failed program was:" >&5
108483 sed 's/^/| /' conftest.$ac_ext >&5
108485 glibcxx_cv_func_frexpl_use=no
108487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108488 ac_ext=c
108489 ac_cpp='$CPP $CPPFLAGS'
108490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_frexpl_use" >&5
108499 echo "${ECHO_T}$glibcxx_cv_func_frexpl_use" >&6
108501 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
108503 for ac_func in frexpl
108505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108506 echo "$as_me:$LINENO: checking for $ac_func" >&5
108507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108508 if eval "test \"\${$as_ac_var+set}\" = set"; then
108509 echo $ECHO_N "(cached) $ECHO_C" >&6
108511 if test x$gcc_no_link = xyes; then
108512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108514 { (exit 1); exit 1; }; }
108516 cat >conftest.$ac_ext <<_ACEOF
108517 /* confdefs.h. */
108518 _ACEOF
108519 cat confdefs.h >>conftest.$ac_ext
108520 cat >>conftest.$ac_ext <<_ACEOF
108521 /* end confdefs.h. */
108522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108524 #define $ac_func innocuous_$ac_func
108526 /* System header to define __stub macros and hopefully few prototypes,
108527 which can conflict with char $ac_func (); below.
108528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108529 <limits.h> exists even on freestanding compilers. */
108531 #ifdef __STDC__
108532 # include <limits.h>
108533 #else
108534 # include <assert.h>
108535 #endif
108537 #undef $ac_func
108539 /* Override any gcc2 internal prototype to avoid an error. */
108540 #ifdef __cplusplus
108541 extern "C"
108543 #endif
108544 /* We use char because int might match the return type of a gcc2
108545 builtin and then its argument prototype would still apply. */
108546 char $ac_func ();
108547 /* The GNU C library defines this for functions which it implements
108548 to always fail with ENOSYS. Some functions are actually named
108549 something starting with __ and the normal name is an alias. */
108550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108551 choke me
108552 #else
108553 char (*f) () = $ac_func;
108554 #endif
108555 #ifdef __cplusplus
108557 #endif
108560 main ()
108562 return f != $ac_func;
108564 return 0;
108566 _ACEOF
108567 rm -f conftest.$ac_objext conftest$ac_exeext
108568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108569 (eval $ac_link) 2>conftest.er1
108570 ac_status=$?
108571 grep -v '^ *+' conftest.er1 >conftest.err
108572 rm -f conftest.er1
108573 cat conftest.err >&5
108574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108575 (exit $ac_status); } &&
108576 { ac_try='test -z "$ac_c_werror_flag"
108577 || test ! -s conftest.err'
108578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108579 (eval $ac_try) 2>&5
108580 ac_status=$?
108581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108582 (exit $ac_status); }; } &&
108583 { ac_try='test -s conftest$ac_exeext'
108584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108585 (eval $ac_try) 2>&5
108586 ac_status=$?
108587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108588 (exit $ac_status); }; }; then
108589 eval "$as_ac_var=yes"
108591 echo "$as_me: failed program was:" >&5
108592 sed 's/^/| /' conftest.$ac_ext >&5
108594 eval "$as_ac_var=no"
108596 rm -f conftest.err conftest.$ac_objext \
108597 conftest$ac_exeext conftest.$ac_ext
108599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108601 if test `eval echo '${'$as_ac_var'}'` = yes; then
108602 cat >>confdefs.h <<_ACEOF
108603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108604 _ACEOF
108611 echo "$as_me:$LINENO: checking for _frexpl declaration" >&5
108612 echo $ECHO_N "checking for _frexpl declaration... $ECHO_C" >&6
108613 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
108614 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then
108615 echo $ECHO_N "(cached) $ECHO_C" >&6
108620 ac_ext=cc
108621 ac_cpp='$CXXCPP $CPPFLAGS'
108622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108626 cat >conftest.$ac_ext <<_ACEOF
108627 /* confdefs.h. */
108628 _ACEOF
108629 cat confdefs.h >>conftest.$ac_ext
108630 cat >>conftest.$ac_ext <<_ACEOF
108631 /* end confdefs.h. */
108632 #include <math.h>
108634 main ()
108636 _frexpl(0, 0);
108638 return 0;
108640 _ACEOF
108641 rm -f conftest.$ac_objext
108642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108643 (eval $ac_compile) 2>conftest.er1
108644 ac_status=$?
108645 grep -v '^ *+' conftest.er1 >conftest.err
108646 rm -f conftest.er1
108647 cat conftest.err >&5
108648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108649 (exit $ac_status); } &&
108650 { ac_try='test -z "$ac_cxx_werror_flag"
108651 || test ! -s conftest.err'
108652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108653 (eval $ac_try) 2>&5
108654 ac_status=$?
108655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108656 (exit $ac_status); }; } &&
108657 { ac_try='test -s conftest.$ac_objext'
108658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108659 (eval $ac_try) 2>&5
108660 ac_status=$?
108661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108662 (exit $ac_status); }; }; then
108663 glibcxx_cv_func__frexpl_use=yes
108665 echo "$as_me: failed program was:" >&5
108666 sed 's/^/| /' conftest.$ac_ext >&5
108668 glibcxx_cv_func__frexpl_use=no
108670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108671 ac_ext=c
108672 ac_cpp='$CPP $CPPFLAGS'
108673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__frexpl_use" >&5
108682 echo "${ECHO_T}$glibcxx_cv_func__frexpl_use" >&6
108684 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
108686 for ac_func in _frexpl
108688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108689 echo "$as_me:$LINENO: checking for $ac_func" >&5
108690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108691 if eval "test \"\${$as_ac_var+set}\" = set"; then
108692 echo $ECHO_N "(cached) $ECHO_C" >&6
108694 if test x$gcc_no_link = xyes; then
108695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108697 { (exit 1); exit 1; }; }
108699 cat >conftest.$ac_ext <<_ACEOF
108700 /* confdefs.h. */
108701 _ACEOF
108702 cat confdefs.h >>conftest.$ac_ext
108703 cat >>conftest.$ac_ext <<_ACEOF
108704 /* end confdefs.h. */
108705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108707 #define $ac_func innocuous_$ac_func
108709 /* System header to define __stub macros and hopefully few prototypes,
108710 which can conflict with char $ac_func (); below.
108711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108712 <limits.h> exists even on freestanding compilers. */
108714 #ifdef __STDC__
108715 # include <limits.h>
108716 #else
108717 # include <assert.h>
108718 #endif
108720 #undef $ac_func
108722 /* Override any gcc2 internal prototype to avoid an error. */
108723 #ifdef __cplusplus
108724 extern "C"
108726 #endif
108727 /* We use char because int might match the return type of a gcc2
108728 builtin and then its argument prototype would still apply. */
108729 char $ac_func ();
108730 /* The GNU C library defines this for functions which it implements
108731 to always fail with ENOSYS. Some functions are actually named
108732 something starting with __ and the normal name is an alias. */
108733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108734 choke me
108735 #else
108736 char (*f) () = $ac_func;
108737 #endif
108738 #ifdef __cplusplus
108740 #endif
108743 main ()
108745 return f != $ac_func;
108747 return 0;
108749 _ACEOF
108750 rm -f conftest.$ac_objext conftest$ac_exeext
108751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108752 (eval $ac_link) 2>conftest.er1
108753 ac_status=$?
108754 grep -v '^ *+' conftest.er1 >conftest.err
108755 rm -f conftest.er1
108756 cat conftest.err >&5
108757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108758 (exit $ac_status); } &&
108759 { ac_try='test -z "$ac_c_werror_flag"
108760 || test ! -s conftest.err'
108761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108762 (eval $ac_try) 2>&5
108763 ac_status=$?
108764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108765 (exit $ac_status); }; } &&
108766 { ac_try='test -s conftest$ac_exeext'
108767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108768 (eval $ac_try) 2>&5
108769 ac_status=$?
108770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108771 (exit $ac_status); }; }; then
108772 eval "$as_ac_var=yes"
108774 echo "$as_me: failed program was:" >&5
108775 sed 's/^/| /' conftest.$ac_ext >&5
108777 eval "$as_ac_var=no"
108779 rm -f conftest.err conftest.$ac_objext \
108780 conftest$ac_exeext conftest.$ac_ext
108782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108784 if test `eval echo '${'$as_ac_var'}'` = yes; then
108785 cat >>confdefs.h <<_ACEOF
108786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108787 _ACEOF
108800 echo "$as_me:$LINENO: checking for hypotl declaration" >&5
108801 echo $ECHO_N "checking for hypotl declaration... $ECHO_C" >&6
108802 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
108803 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then
108804 echo $ECHO_N "(cached) $ECHO_C" >&6
108809 ac_ext=cc
108810 ac_cpp='$CXXCPP $CPPFLAGS'
108811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108815 cat >conftest.$ac_ext <<_ACEOF
108816 /* confdefs.h. */
108817 _ACEOF
108818 cat confdefs.h >>conftest.$ac_ext
108819 cat >>conftest.$ac_ext <<_ACEOF
108820 /* end confdefs.h. */
108821 #include <math.h>
108823 main ()
108825 hypotl(0, 0);
108827 return 0;
108829 _ACEOF
108830 rm -f conftest.$ac_objext
108831 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
108832 (eval $ac_compile) 2>conftest.er1
108833 ac_status=$?
108834 grep -v '^ *+' conftest.er1 >conftest.err
108835 rm -f conftest.er1
108836 cat conftest.err >&5
108837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108838 (exit $ac_status); } &&
108839 { ac_try='test -z "$ac_cxx_werror_flag"
108840 || test ! -s conftest.err'
108841 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108842 (eval $ac_try) 2>&5
108843 ac_status=$?
108844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108845 (exit $ac_status); }; } &&
108846 { ac_try='test -s conftest.$ac_objext'
108847 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108848 (eval $ac_try) 2>&5
108849 ac_status=$?
108850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108851 (exit $ac_status); }; }; then
108852 glibcxx_cv_func_hypotl_use=yes
108854 echo "$as_me: failed program was:" >&5
108855 sed 's/^/| /' conftest.$ac_ext >&5
108857 glibcxx_cv_func_hypotl_use=no
108859 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
108860 ac_ext=c
108861 ac_cpp='$CPP $CPPFLAGS'
108862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
108870 echo "$as_me:$LINENO: result: $glibcxx_cv_func_hypotl_use" >&5
108871 echo "${ECHO_T}$glibcxx_cv_func_hypotl_use" >&6
108873 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
108875 for ac_func in hypotl
108877 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
108878 echo "$as_me:$LINENO: checking for $ac_func" >&5
108879 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
108880 if eval "test \"\${$as_ac_var+set}\" = set"; then
108881 echo $ECHO_N "(cached) $ECHO_C" >&6
108883 if test x$gcc_no_link = xyes; then
108884 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
108885 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
108886 { (exit 1); exit 1; }; }
108888 cat >conftest.$ac_ext <<_ACEOF
108889 /* confdefs.h. */
108890 _ACEOF
108891 cat confdefs.h >>conftest.$ac_ext
108892 cat >>conftest.$ac_ext <<_ACEOF
108893 /* end confdefs.h. */
108894 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
108895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
108896 #define $ac_func innocuous_$ac_func
108898 /* System header to define __stub macros and hopefully few prototypes,
108899 which can conflict with char $ac_func (); below.
108900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
108901 <limits.h> exists even on freestanding compilers. */
108903 #ifdef __STDC__
108904 # include <limits.h>
108905 #else
108906 # include <assert.h>
108907 #endif
108909 #undef $ac_func
108911 /* Override any gcc2 internal prototype to avoid an error. */
108912 #ifdef __cplusplus
108913 extern "C"
108915 #endif
108916 /* We use char because int might match the return type of a gcc2
108917 builtin and then its argument prototype would still apply. */
108918 char $ac_func ();
108919 /* The GNU C library defines this for functions which it implements
108920 to always fail with ENOSYS. Some functions are actually named
108921 something starting with __ and the normal name is an alias. */
108922 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
108923 choke me
108924 #else
108925 char (*f) () = $ac_func;
108926 #endif
108927 #ifdef __cplusplus
108929 #endif
108932 main ()
108934 return f != $ac_func;
108936 return 0;
108938 _ACEOF
108939 rm -f conftest.$ac_objext conftest$ac_exeext
108940 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
108941 (eval $ac_link) 2>conftest.er1
108942 ac_status=$?
108943 grep -v '^ *+' conftest.er1 >conftest.err
108944 rm -f conftest.er1
108945 cat conftest.err >&5
108946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108947 (exit $ac_status); } &&
108948 { ac_try='test -z "$ac_c_werror_flag"
108949 || test ! -s conftest.err'
108950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108951 (eval $ac_try) 2>&5
108952 ac_status=$?
108953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108954 (exit $ac_status); }; } &&
108955 { ac_try='test -s conftest$ac_exeext'
108956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
108957 (eval $ac_try) 2>&5
108958 ac_status=$?
108959 echo "$as_me:$LINENO: \$? = $ac_status" >&5
108960 (exit $ac_status); }; }; then
108961 eval "$as_ac_var=yes"
108963 echo "$as_me: failed program was:" >&5
108964 sed 's/^/| /' conftest.$ac_ext >&5
108966 eval "$as_ac_var=no"
108968 rm -f conftest.err conftest.$ac_objext \
108969 conftest$ac_exeext conftest.$ac_ext
108971 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
108972 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
108973 if test `eval echo '${'$as_ac_var'}'` = yes; then
108974 cat >>confdefs.h <<_ACEOF
108975 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
108976 _ACEOF
108983 echo "$as_me:$LINENO: checking for _hypotl declaration" >&5
108984 echo $ECHO_N "checking for _hypotl declaration... $ECHO_C" >&6
108985 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
108986 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then
108987 echo $ECHO_N "(cached) $ECHO_C" >&6
108992 ac_ext=cc
108993 ac_cpp='$CXXCPP $CPPFLAGS'
108994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
108995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
108996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
108998 cat >conftest.$ac_ext <<_ACEOF
108999 /* confdefs.h. */
109000 _ACEOF
109001 cat confdefs.h >>conftest.$ac_ext
109002 cat >>conftest.$ac_ext <<_ACEOF
109003 /* end confdefs.h. */
109004 #include <math.h>
109006 main ()
109008 _hypotl(0, 0);
109010 return 0;
109012 _ACEOF
109013 rm -f conftest.$ac_objext
109014 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109015 (eval $ac_compile) 2>conftest.er1
109016 ac_status=$?
109017 grep -v '^ *+' conftest.er1 >conftest.err
109018 rm -f conftest.er1
109019 cat conftest.err >&5
109020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109021 (exit $ac_status); } &&
109022 { ac_try='test -z "$ac_cxx_werror_flag"
109023 || test ! -s conftest.err'
109024 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109025 (eval $ac_try) 2>&5
109026 ac_status=$?
109027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109028 (exit $ac_status); }; } &&
109029 { ac_try='test -s conftest.$ac_objext'
109030 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109031 (eval $ac_try) 2>&5
109032 ac_status=$?
109033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109034 (exit $ac_status); }; }; then
109035 glibcxx_cv_func__hypotl_use=yes
109037 echo "$as_me: failed program was:" >&5
109038 sed 's/^/| /' conftest.$ac_ext >&5
109040 glibcxx_cv_func__hypotl_use=no
109042 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109043 ac_ext=c
109044 ac_cpp='$CPP $CPPFLAGS'
109045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109053 echo "$as_me:$LINENO: result: $glibcxx_cv_func__hypotl_use" >&5
109054 echo "${ECHO_T}$glibcxx_cv_func__hypotl_use" >&6
109056 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
109058 for ac_func in _hypotl
109060 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109061 echo "$as_me:$LINENO: checking for $ac_func" >&5
109062 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109063 if eval "test \"\${$as_ac_var+set}\" = set"; then
109064 echo $ECHO_N "(cached) $ECHO_C" >&6
109066 if test x$gcc_no_link = xyes; then
109067 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109068 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109069 { (exit 1); exit 1; }; }
109071 cat >conftest.$ac_ext <<_ACEOF
109072 /* confdefs.h. */
109073 _ACEOF
109074 cat confdefs.h >>conftest.$ac_ext
109075 cat >>conftest.$ac_ext <<_ACEOF
109076 /* end confdefs.h. */
109077 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109078 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109079 #define $ac_func innocuous_$ac_func
109081 /* System header to define __stub macros and hopefully few prototypes,
109082 which can conflict with char $ac_func (); below.
109083 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109084 <limits.h> exists even on freestanding compilers. */
109086 #ifdef __STDC__
109087 # include <limits.h>
109088 #else
109089 # include <assert.h>
109090 #endif
109092 #undef $ac_func
109094 /* Override any gcc2 internal prototype to avoid an error. */
109095 #ifdef __cplusplus
109096 extern "C"
109098 #endif
109099 /* We use char because int might match the return type of a gcc2
109100 builtin and then its argument prototype would still apply. */
109101 char $ac_func ();
109102 /* The GNU C library defines this for functions which it implements
109103 to always fail with ENOSYS. Some functions are actually named
109104 something starting with __ and the normal name is an alias. */
109105 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109106 choke me
109107 #else
109108 char (*f) () = $ac_func;
109109 #endif
109110 #ifdef __cplusplus
109112 #endif
109115 main ()
109117 return f != $ac_func;
109119 return 0;
109121 _ACEOF
109122 rm -f conftest.$ac_objext conftest$ac_exeext
109123 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109124 (eval $ac_link) 2>conftest.er1
109125 ac_status=$?
109126 grep -v '^ *+' conftest.er1 >conftest.err
109127 rm -f conftest.er1
109128 cat conftest.err >&5
109129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109130 (exit $ac_status); } &&
109131 { ac_try='test -z "$ac_c_werror_flag"
109132 || test ! -s conftest.err'
109133 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109134 (eval $ac_try) 2>&5
109135 ac_status=$?
109136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109137 (exit $ac_status); }; } &&
109138 { ac_try='test -s conftest$ac_exeext'
109139 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109140 (eval $ac_try) 2>&5
109141 ac_status=$?
109142 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109143 (exit $ac_status); }; }; then
109144 eval "$as_ac_var=yes"
109146 echo "$as_me: failed program was:" >&5
109147 sed 's/^/| /' conftest.$ac_ext >&5
109149 eval "$as_ac_var=no"
109151 rm -f conftest.err conftest.$ac_objext \
109152 conftest$ac_exeext conftest.$ac_ext
109154 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109155 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109156 if test `eval echo '${'$as_ac_var'}'` = yes; then
109157 cat >>confdefs.h <<_ACEOF
109158 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109159 _ACEOF
109172 echo "$as_me:$LINENO: checking for ldexpl declaration" >&5
109173 echo $ECHO_N "checking for ldexpl declaration... $ECHO_C" >&6
109174 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
109175 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then
109176 echo $ECHO_N "(cached) $ECHO_C" >&6
109181 ac_ext=cc
109182 ac_cpp='$CXXCPP $CPPFLAGS'
109183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109187 cat >conftest.$ac_ext <<_ACEOF
109188 /* confdefs.h. */
109189 _ACEOF
109190 cat confdefs.h >>conftest.$ac_ext
109191 cat >>conftest.$ac_ext <<_ACEOF
109192 /* end confdefs.h. */
109193 #include <math.h>
109195 main ()
109197 ldexpl(0, 0);
109199 return 0;
109201 _ACEOF
109202 rm -f conftest.$ac_objext
109203 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109204 (eval $ac_compile) 2>conftest.er1
109205 ac_status=$?
109206 grep -v '^ *+' conftest.er1 >conftest.err
109207 rm -f conftest.er1
109208 cat conftest.err >&5
109209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109210 (exit $ac_status); } &&
109211 { ac_try='test -z "$ac_cxx_werror_flag"
109212 || test ! -s conftest.err'
109213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109214 (eval $ac_try) 2>&5
109215 ac_status=$?
109216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109217 (exit $ac_status); }; } &&
109218 { ac_try='test -s conftest.$ac_objext'
109219 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109220 (eval $ac_try) 2>&5
109221 ac_status=$?
109222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109223 (exit $ac_status); }; }; then
109224 glibcxx_cv_func_ldexpl_use=yes
109226 echo "$as_me: failed program was:" >&5
109227 sed 's/^/| /' conftest.$ac_ext >&5
109229 glibcxx_cv_func_ldexpl_use=no
109231 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109232 ac_ext=c
109233 ac_cpp='$CPP $CPPFLAGS'
109234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109242 echo "$as_me:$LINENO: result: $glibcxx_cv_func_ldexpl_use" >&5
109243 echo "${ECHO_T}$glibcxx_cv_func_ldexpl_use" >&6
109245 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
109247 for ac_func in ldexpl
109249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109250 echo "$as_me:$LINENO: checking for $ac_func" >&5
109251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109252 if eval "test \"\${$as_ac_var+set}\" = set"; then
109253 echo $ECHO_N "(cached) $ECHO_C" >&6
109255 if test x$gcc_no_link = xyes; then
109256 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109257 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109258 { (exit 1); exit 1; }; }
109260 cat >conftest.$ac_ext <<_ACEOF
109261 /* confdefs.h. */
109262 _ACEOF
109263 cat confdefs.h >>conftest.$ac_ext
109264 cat >>conftest.$ac_ext <<_ACEOF
109265 /* end confdefs.h. */
109266 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109267 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109268 #define $ac_func innocuous_$ac_func
109270 /* System header to define __stub macros and hopefully few prototypes,
109271 which can conflict with char $ac_func (); below.
109272 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109273 <limits.h> exists even on freestanding compilers. */
109275 #ifdef __STDC__
109276 # include <limits.h>
109277 #else
109278 # include <assert.h>
109279 #endif
109281 #undef $ac_func
109283 /* Override any gcc2 internal prototype to avoid an error. */
109284 #ifdef __cplusplus
109285 extern "C"
109287 #endif
109288 /* We use char because int might match the return type of a gcc2
109289 builtin and then its argument prototype would still apply. */
109290 char $ac_func ();
109291 /* The GNU C library defines this for functions which it implements
109292 to always fail with ENOSYS. Some functions are actually named
109293 something starting with __ and the normal name is an alias. */
109294 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109295 choke me
109296 #else
109297 char (*f) () = $ac_func;
109298 #endif
109299 #ifdef __cplusplus
109301 #endif
109304 main ()
109306 return f != $ac_func;
109308 return 0;
109310 _ACEOF
109311 rm -f conftest.$ac_objext conftest$ac_exeext
109312 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109313 (eval $ac_link) 2>conftest.er1
109314 ac_status=$?
109315 grep -v '^ *+' conftest.er1 >conftest.err
109316 rm -f conftest.er1
109317 cat conftest.err >&5
109318 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109319 (exit $ac_status); } &&
109320 { ac_try='test -z "$ac_c_werror_flag"
109321 || test ! -s conftest.err'
109322 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109323 (eval $ac_try) 2>&5
109324 ac_status=$?
109325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109326 (exit $ac_status); }; } &&
109327 { ac_try='test -s conftest$ac_exeext'
109328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109329 (eval $ac_try) 2>&5
109330 ac_status=$?
109331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109332 (exit $ac_status); }; }; then
109333 eval "$as_ac_var=yes"
109335 echo "$as_me: failed program was:" >&5
109336 sed 's/^/| /' conftest.$ac_ext >&5
109338 eval "$as_ac_var=no"
109340 rm -f conftest.err conftest.$ac_objext \
109341 conftest$ac_exeext conftest.$ac_ext
109343 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109344 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109345 if test `eval echo '${'$as_ac_var'}'` = yes; then
109346 cat >>confdefs.h <<_ACEOF
109347 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109348 _ACEOF
109355 echo "$as_me:$LINENO: checking for _ldexpl declaration" >&5
109356 echo $ECHO_N "checking for _ldexpl declaration... $ECHO_C" >&6
109357 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
109358 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then
109359 echo $ECHO_N "(cached) $ECHO_C" >&6
109364 ac_ext=cc
109365 ac_cpp='$CXXCPP $CPPFLAGS'
109366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109370 cat >conftest.$ac_ext <<_ACEOF
109371 /* confdefs.h. */
109372 _ACEOF
109373 cat confdefs.h >>conftest.$ac_ext
109374 cat >>conftest.$ac_ext <<_ACEOF
109375 /* end confdefs.h. */
109376 #include <math.h>
109378 main ()
109380 _ldexpl(0, 0);
109382 return 0;
109384 _ACEOF
109385 rm -f conftest.$ac_objext
109386 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109387 (eval $ac_compile) 2>conftest.er1
109388 ac_status=$?
109389 grep -v '^ *+' conftest.er1 >conftest.err
109390 rm -f conftest.er1
109391 cat conftest.err >&5
109392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109393 (exit $ac_status); } &&
109394 { ac_try='test -z "$ac_cxx_werror_flag"
109395 || test ! -s conftest.err'
109396 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109397 (eval $ac_try) 2>&5
109398 ac_status=$?
109399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109400 (exit $ac_status); }; } &&
109401 { ac_try='test -s conftest.$ac_objext'
109402 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109403 (eval $ac_try) 2>&5
109404 ac_status=$?
109405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109406 (exit $ac_status); }; }; then
109407 glibcxx_cv_func__ldexpl_use=yes
109409 echo "$as_me: failed program was:" >&5
109410 sed 's/^/| /' conftest.$ac_ext >&5
109412 glibcxx_cv_func__ldexpl_use=no
109414 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109415 ac_ext=c
109416 ac_cpp='$CPP $CPPFLAGS'
109417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109425 echo "$as_me:$LINENO: result: $glibcxx_cv_func__ldexpl_use" >&5
109426 echo "${ECHO_T}$glibcxx_cv_func__ldexpl_use" >&6
109428 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
109430 for ac_func in _ldexpl
109432 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109433 echo "$as_me:$LINENO: checking for $ac_func" >&5
109434 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109435 if eval "test \"\${$as_ac_var+set}\" = set"; then
109436 echo $ECHO_N "(cached) $ECHO_C" >&6
109438 if test x$gcc_no_link = xyes; then
109439 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109440 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109441 { (exit 1); exit 1; }; }
109443 cat >conftest.$ac_ext <<_ACEOF
109444 /* confdefs.h. */
109445 _ACEOF
109446 cat confdefs.h >>conftest.$ac_ext
109447 cat >>conftest.$ac_ext <<_ACEOF
109448 /* end confdefs.h. */
109449 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109450 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109451 #define $ac_func innocuous_$ac_func
109453 /* System header to define __stub macros and hopefully few prototypes,
109454 which can conflict with char $ac_func (); below.
109455 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109456 <limits.h> exists even on freestanding compilers. */
109458 #ifdef __STDC__
109459 # include <limits.h>
109460 #else
109461 # include <assert.h>
109462 #endif
109464 #undef $ac_func
109466 /* Override any gcc2 internal prototype to avoid an error. */
109467 #ifdef __cplusplus
109468 extern "C"
109470 #endif
109471 /* We use char because int might match the return type of a gcc2
109472 builtin and then its argument prototype would still apply. */
109473 char $ac_func ();
109474 /* The GNU C library defines this for functions which it implements
109475 to always fail with ENOSYS. Some functions are actually named
109476 something starting with __ and the normal name is an alias. */
109477 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109478 choke me
109479 #else
109480 char (*f) () = $ac_func;
109481 #endif
109482 #ifdef __cplusplus
109484 #endif
109487 main ()
109489 return f != $ac_func;
109491 return 0;
109493 _ACEOF
109494 rm -f conftest.$ac_objext conftest$ac_exeext
109495 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109496 (eval $ac_link) 2>conftest.er1
109497 ac_status=$?
109498 grep -v '^ *+' conftest.er1 >conftest.err
109499 rm -f conftest.er1
109500 cat conftest.err >&5
109501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109502 (exit $ac_status); } &&
109503 { ac_try='test -z "$ac_c_werror_flag"
109504 || test ! -s conftest.err'
109505 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109506 (eval $ac_try) 2>&5
109507 ac_status=$?
109508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109509 (exit $ac_status); }; } &&
109510 { ac_try='test -s conftest$ac_exeext'
109511 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109512 (eval $ac_try) 2>&5
109513 ac_status=$?
109514 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109515 (exit $ac_status); }; }; then
109516 eval "$as_ac_var=yes"
109518 echo "$as_me: failed program was:" >&5
109519 sed 's/^/| /' conftest.$ac_ext >&5
109521 eval "$as_ac_var=no"
109523 rm -f conftest.err conftest.$ac_objext \
109524 conftest$ac_exeext conftest.$ac_ext
109526 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109527 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109528 if test `eval echo '${'$as_ac_var'}'` = yes; then
109529 cat >>confdefs.h <<_ACEOF
109530 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109531 _ACEOF
109544 echo "$as_me:$LINENO: checking for logl declaration" >&5
109545 echo $ECHO_N "checking for logl declaration... $ECHO_C" >&6
109546 if test x${glibcxx_cv_func_logl_use+set} != xset; then
109547 if test "${glibcxx_cv_func_logl_use+set}" = set; then
109548 echo $ECHO_N "(cached) $ECHO_C" >&6
109553 ac_ext=cc
109554 ac_cpp='$CXXCPP $CPPFLAGS'
109555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109559 cat >conftest.$ac_ext <<_ACEOF
109560 /* confdefs.h. */
109561 _ACEOF
109562 cat confdefs.h >>conftest.$ac_ext
109563 cat >>conftest.$ac_ext <<_ACEOF
109564 /* end confdefs.h. */
109565 #include <math.h>
109566 #ifdef HAVE_IEEEFP_H
109567 #include <ieeefp.h>
109568 #endif
109571 main ()
109573 logl(0);
109575 return 0;
109577 _ACEOF
109578 rm -f conftest.$ac_objext
109579 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109580 (eval $ac_compile) 2>conftest.er1
109581 ac_status=$?
109582 grep -v '^ *+' conftest.er1 >conftest.err
109583 rm -f conftest.er1
109584 cat conftest.err >&5
109585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109586 (exit $ac_status); } &&
109587 { ac_try='test -z "$ac_cxx_werror_flag"
109588 || test ! -s conftest.err'
109589 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109590 (eval $ac_try) 2>&5
109591 ac_status=$?
109592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109593 (exit $ac_status); }; } &&
109594 { ac_try='test -s conftest.$ac_objext'
109595 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109596 (eval $ac_try) 2>&5
109597 ac_status=$?
109598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109599 (exit $ac_status); }; }; then
109600 glibcxx_cv_func_logl_use=yes
109602 echo "$as_me: failed program was:" >&5
109603 sed 's/^/| /' conftest.$ac_ext >&5
109605 glibcxx_cv_func_logl_use=no
109607 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109608 ac_ext=c
109609 ac_cpp='$CPP $CPPFLAGS'
109610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109618 echo "$as_me:$LINENO: result: $glibcxx_cv_func_logl_use" >&5
109619 echo "${ECHO_T}$glibcxx_cv_func_logl_use" >&6
109621 if test x$glibcxx_cv_func_logl_use = x"yes"; then
109623 for ac_func in logl
109625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109626 echo "$as_me:$LINENO: checking for $ac_func" >&5
109627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109628 if eval "test \"\${$as_ac_var+set}\" = set"; then
109629 echo $ECHO_N "(cached) $ECHO_C" >&6
109631 if test x$gcc_no_link = xyes; then
109632 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109633 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109634 { (exit 1); exit 1; }; }
109636 cat >conftest.$ac_ext <<_ACEOF
109637 /* confdefs.h. */
109638 _ACEOF
109639 cat confdefs.h >>conftest.$ac_ext
109640 cat >>conftest.$ac_ext <<_ACEOF
109641 /* end confdefs.h. */
109642 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109644 #define $ac_func innocuous_$ac_func
109646 /* System header to define __stub macros and hopefully few prototypes,
109647 which can conflict with char $ac_func (); below.
109648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109649 <limits.h> exists even on freestanding compilers. */
109651 #ifdef __STDC__
109652 # include <limits.h>
109653 #else
109654 # include <assert.h>
109655 #endif
109657 #undef $ac_func
109659 /* Override any gcc2 internal prototype to avoid an error. */
109660 #ifdef __cplusplus
109661 extern "C"
109663 #endif
109664 /* We use char because int might match the return type of a gcc2
109665 builtin and then its argument prototype would still apply. */
109666 char $ac_func ();
109667 /* The GNU C library defines this for functions which it implements
109668 to always fail with ENOSYS. Some functions are actually named
109669 something starting with __ and the normal name is an alias. */
109670 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109671 choke me
109672 #else
109673 char (*f) () = $ac_func;
109674 #endif
109675 #ifdef __cplusplus
109677 #endif
109680 main ()
109682 return f != $ac_func;
109684 return 0;
109686 _ACEOF
109687 rm -f conftest.$ac_objext conftest$ac_exeext
109688 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109689 (eval $ac_link) 2>conftest.er1
109690 ac_status=$?
109691 grep -v '^ *+' conftest.er1 >conftest.err
109692 rm -f conftest.er1
109693 cat conftest.err >&5
109694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109695 (exit $ac_status); } &&
109696 { ac_try='test -z "$ac_c_werror_flag"
109697 || test ! -s conftest.err'
109698 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109699 (eval $ac_try) 2>&5
109700 ac_status=$?
109701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109702 (exit $ac_status); }; } &&
109703 { ac_try='test -s conftest$ac_exeext'
109704 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109705 (eval $ac_try) 2>&5
109706 ac_status=$?
109707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109708 (exit $ac_status); }; }; then
109709 eval "$as_ac_var=yes"
109711 echo "$as_me: failed program was:" >&5
109712 sed 's/^/| /' conftest.$ac_ext >&5
109714 eval "$as_ac_var=no"
109716 rm -f conftest.err conftest.$ac_objext \
109717 conftest$ac_exeext conftest.$ac_ext
109719 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109720 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109721 if test `eval echo '${'$as_ac_var'}'` = yes; then
109722 cat >>confdefs.h <<_ACEOF
109723 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109724 _ACEOF
109731 echo "$as_me:$LINENO: checking for _logl declaration" >&5
109732 echo $ECHO_N "checking for _logl declaration... $ECHO_C" >&6
109733 if test x${glibcxx_cv_func__logl_use+set} != xset; then
109734 if test "${glibcxx_cv_func__logl_use+set}" = set; then
109735 echo $ECHO_N "(cached) $ECHO_C" >&6
109740 ac_ext=cc
109741 ac_cpp='$CXXCPP $CPPFLAGS'
109742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109746 cat >conftest.$ac_ext <<_ACEOF
109747 /* confdefs.h. */
109748 _ACEOF
109749 cat confdefs.h >>conftest.$ac_ext
109750 cat >>conftest.$ac_ext <<_ACEOF
109751 /* end confdefs.h. */
109752 #include <math.h>
109753 #ifdef HAVE_IEEEFP_H
109754 #include <ieeefp.h>
109755 #endif
109758 main ()
109760 _logl(0);
109762 return 0;
109764 _ACEOF
109765 rm -f conftest.$ac_objext
109766 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109767 (eval $ac_compile) 2>conftest.er1
109768 ac_status=$?
109769 grep -v '^ *+' conftest.er1 >conftest.err
109770 rm -f conftest.er1
109771 cat conftest.err >&5
109772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109773 (exit $ac_status); } &&
109774 { ac_try='test -z "$ac_cxx_werror_flag"
109775 || test ! -s conftest.err'
109776 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109777 (eval $ac_try) 2>&5
109778 ac_status=$?
109779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109780 (exit $ac_status); }; } &&
109781 { ac_try='test -s conftest.$ac_objext'
109782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109783 (eval $ac_try) 2>&5
109784 ac_status=$?
109785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109786 (exit $ac_status); }; }; then
109787 glibcxx_cv_func__logl_use=yes
109789 echo "$as_me: failed program was:" >&5
109790 sed 's/^/| /' conftest.$ac_ext >&5
109792 glibcxx_cv_func__logl_use=no
109794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109795 ac_ext=c
109796 ac_cpp='$CPP $CPPFLAGS'
109797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109805 echo "$as_me:$LINENO: result: $glibcxx_cv_func__logl_use" >&5
109806 echo "${ECHO_T}$glibcxx_cv_func__logl_use" >&6
109808 if test x$glibcxx_cv_func__logl_use = x"yes"; then
109810 for ac_func in _logl
109812 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
109813 echo "$as_me:$LINENO: checking for $ac_func" >&5
109814 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
109815 if eval "test \"\${$as_ac_var+set}\" = set"; then
109816 echo $ECHO_N "(cached) $ECHO_C" >&6
109818 if test x$gcc_no_link = xyes; then
109819 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
109820 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
109821 { (exit 1); exit 1; }; }
109823 cat >conftest.$ac_ext <<_ACEOF
109824 /* confdefs.h. */
109825 _ACEOF
109826 cat confdefs.h >>conftest.$ac_ext
109827 cat >>conftest.$ac_ext <<_ACEOF
109828 /* end confdefs.h. */
109829 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
109830 For example, HP-UX 11i <limits.h> declares gettimeofday. */
109831 #define $ac_func innocuous_$ac_func
109833 /* System header to define __stub macros and hopefully few prototypes,
109834 which can conflict with char $ac_func (); below.
109835 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
109836 <limits.h> exists even on freestanding compilers. */
109838 #ifdef __STDC__
109839 # include <limits.h>
109840 #else
109841 # include <assert.h>
109842 #endif
109844 #undef $ac_func
109846 /* Override any gcc2 internal prototype to avoid an error. */
109847 #ifdef __cplusplus
109848 extern "C"
109850 #endif
109851 /* We use char because int might match the return type of a gcc2
109852 builtin and then its argument prototype would still apply. */
109853 char $ac_func ();
109854 /* The GNU C library defines this for functions which it implements
109855 to always fail with ENOSYS. Some functions are actually named
109856 something starting with __ and the normal name is an alias. */
109857 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
109858 choke me
109859 #else
109860 char (*f) () = $ac_func;
109861 #endif
109862 #ifdef __cplusplus
109864 #endif
109867 main ()
109869 return f != $ac_func;
109871 return 0;
109873 _ACEOF
109874 rm -f conftest.$ac_objext conftest$ac_exeext
109875 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
109876 (eval $ac_link) 2>conftest.er1
109877 ac_status=$?
109878 grep -v '^ *+' conftest.er1 >conftest.err
109879 rm -f conftest.er1
109880 cat conftest.err >&5
109881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109882 (exit $ac_status); } &&
109883 { ac_try='test -z "$ac_c_werror_flag"
109884 || test ! -s conftest.err'
109885 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109886 (eval $ac_try) 2>&5
109887 ac_status=$?
109888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109889 (exit $ac_status); }; } &&
109890 { ac_try='test -s conftest$ac_exeext'
109891 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109892 (eval $ac_try) 2>&5
109893 ac_status=$?
109894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109895 (exit $ac_status); }; }; then
109896 eval "$as_ac_var=yes"
109898 echo "$as_me: failed program was:" >&5
109899 sed 's/^/| /' conftest.$ac_ext >&5
109901 eval "$as_ac_var=no"
109903 rm -f conftest.err conftest.$ac_objext \
109904 conftest$ac_exeext conftest.$ac_ext
109906 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
109907 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
109908 if test `eval echo '${'$as_ac_var'}'` = yes; then
109909 cat >>confdefs.h <<_ACEOF
109910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
109911 _ACEOF
109924 echo "$as_me:$LINENO: checking for log10l declaration" >&5
109925 echo $ECHO_N "checking for log10l declaration... $ECHO_C" >&6
109926 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
109927 if test "${glibcxx_cv_func_log10l_use+set}" = set; then
109928 echo $ECHO_N "(cached) $ECHO_C" >&6
109933 ac_ext=cc
109934 ac_cpp='$CXXCPP $CPPFLAGS'
109935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
109939 cat >conftest.$ac_ext <<_ACEOF
109940 /* confdefs.h. */
109941 _ACEOF
109942 cat confdefs.h >>conftest.$ac_ext
109943 cat >>conftest.$ac_ext <<_ACEOF
109944 /* end confdefs.h. */
109945 #include <math.h>
109946 #ifdef HAVE_IEEEFP_H
109947 #include <ieeefp.h>
109948 #endif
109951 main ()
109953 log10l(0);
109955 return 0;
109957 _ACEOF
109958 rm -f conftest.$ac_objext
109959 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
109960 (eval $ac_compile) 2>conftest.er1
109961 ac_status=$?
109962 grep -v '^ *+' conftest.er1 >conftest.err
109963 rm -f conftest.er1
109964 cat conftest.err >&5
109965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109966 (exit $ac_status); } &&
109967 { ac_try='test -z "$ac_cxx_werror_flag"
109968 || test ! -s conftest.err'
109969 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109970 (eval $ac_try) 2>&5
109971 ac_status=$?
109972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109973 (exit $ac_status); }; } &&
109974 { ac_try='test -s conftest.$ac_objext'
109975 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
109976 (eval $ac_try) 2>&5
109977 ac_status=$?
109978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
109979 (exit $ac_status); }; }; then
109980 glibcxx_cv_func_log10l_use=yes
109982 echo "$as_me: failed program was:" >&5
109983 sed 's/^/| /' conftest.$ac_ext >&5
109985 glibcxx_cv_func_log10l_use=no
109987 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
109988 ac_ext=c
109989 ac_cpp='$CPP $CPPFLAGS'
109990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
109991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
109992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
109998 echo "$as_me:$LINENO: result: $glibcxx_cv_func_log10l_use" >&5
109999 echo "${ECHO_T}$glibcxx_cv_func_log10l_use" >&6
110001 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
110003 for ac_func in log10l
110005 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110006 echo "$as_me:$LINENO: checking for $ac_func" >&5
110007 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110008 if eval "test \"\${$as_ac_var+set}\" = set"; then
110009 echo $ECHO_N "(cached) $ECHO_C" >&6
110011 if test x$gcc_no_link = xyes; then
110012 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110013 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110014 { (exit 1); exit 1; }; }
110016 cat >conftest.$ac_ext <<_ACEOF
110017 /* confdefs.h. */
110018 _ACEOF
110019 cat confdefs.h >>conftest.$ac_ext
110020 cat >>conftest.$ac_ext <<_ACEOF
110021 /* end confdefs.h. */
110022 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110023 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110024 #define $ac_func innocuous_$ac_func
110026 /* System header to define __stub macros and hopefully few prototypes,
110027 which can conflict with char $ac_func (); below.
110028 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110029 <limits.h> exists even on freestanding compilers. */
110031 #ifdef __STDC__
110032 # include <limits.h>
110033 #else
110034 # include <assert.h>
110035 #endif
110037 #undef $ac_func
110039 /* Override any gcc2 internal prototype to avoid an error. */
110040 #ifdef __cplusplus
110041 extern "C"
110043 #endif
110044 /* We use char because int might match the return type of a gcc2
110045 builtin and then its argument prototype would still apply. */
110046 char $ac_func ();
110047 /* The GNU C library defines this for functions which it implements
110048 to always fail with ENOSYS. Some functions are actually named
110049 something starting with __ and the normal name is an alias. */
110050 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110051 choke me
110052 #else
110053 char (*f) () = $ac_func;
110054 #endif
110055 #ifdef __cplusplus
110057 #endif
110060 main ()
110062 return f != $ac_func;
110064 return 0;
110066 _ACEOF
110067 rm -f conftest.$ac_objext conftest$ac_exeext
110068 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110069 (eval $ac_link) 2>conftest.er1
110070 ac_status=$?
110071 grep -v '^ *+' conftest.er1 >conftest.err
110072 rm -f conftest.er1
110073 cat conftest.err >&5
110074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110075 (exit $ac_status); } &&
110076 { ac_try='test -z "$ac_c_werror_flag"
110077 || test ! -s conftest.err'
110078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110079 (eval $ac_try) 2>&5
110080 ac_status=$?
110081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110082 (exit $ac_status); }; } &&
110083 { ac_try='test -s conftest$ac_exeext'
110084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110085 (eval $ac_try) 2>&5
110086 ac_status=$?
110087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110088 (exit $ac_status); }; }; then
110089 eval "$as_ac_var=yes"
110091 echo "$as_me: failed program was:" >&5
110092 sed 's/^/| /' conftest.$ac_ext >&5
110094 eval "$as_ac_var=no"
110096 rm -f conftest.err conftest.$ac_objext \
110097 conftest$ac_exeext conftest.$ac_ext
110099 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110100 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110101 if test `eval echo '${'$as_ac_var'}'` = yes; then
110102 cat >>confdefs.h <<_ACEOF
110103 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110104 _ACEOF
110111 echo "$as_me:$LINENO: checking for _log10l declaration" >&5
110112 echo $ECHO_N "checking for _log10l declaration... $ECHO_C" >&6
110113 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
110114 if test "${glibcxx_cv_func__log10l_use+set}" = set; then
110115 echo $ECHO_N "(cached) $ECHO_C" >&6
110120 ac_ext=cc
110121 ac_cpp='$CXXCPP $CPPFLAGS'
110122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110126 cat >conftest.$ac_ext <<_ACEOF
110127 /* confdefs.h. */
110128 _ACEOF
110129 cat confdefs.h >>conftest.$ac_ext
110130 cat >>conftest.$ac_ext <<_ACEOF
110131 /* end confdefs.h. */
110132 #include <math.h>
110133 #ifdef HAVE_IEEEFP_H
110134 #include <ieeefp.h>
110135 #endif
110138 main ()
110140 _log10l(0);
110142 return 0;
110144 _ACEOF
110145 rm -f conftest.$ac_objext
110146 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110147 (eval $ac_compile) 2>conftest.er1
110148 ac_status=$?
110149 grep -v '^ *+' conftest.er1 >conftest.err
110150 rm -f conftest.er1
110151 cat conftest.err >&5
110152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110153 (exit $ac_status); } &&
110154 { ac_try='test -z "$ac_cxx_werror_flag"
110155 || test ! -s conftest.err'
110156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110157 (eval $ac_try) 2>&5
110158 ac_status=$?
110159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110160 (exit $ac_status); }; } &&
110161 { ac_try='test -s conftest.$ac_objext'
110162 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110163 (eval $ac_try) 2>&5
110164 ac_status=$?
110165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110166 (exit $ac_status); }; }; then
110167 glibcxx_cv_func__log10l_use=yes
110169 echo "$as_me: failed program was:" >&5
110170 sed 's/^/| /' conftest.$ac_ext >&5
110172 glibcxx_cv_func__log10l_use=no
110174 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110175 ac_ext=c
110176 ac_cpp='$CPP $CPPFLAGS'
110177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110185 echo "$as_me:$LINENO: result: $glibcxx_cv_func__log10l_use" >&5
110186 echo "${ECHO_T}$glibcxx_cv_func__log10l_use" >&6
110188 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
110190 for ac_func in _log10l
110192 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110193 echo "$as_me:$LINENO: checking for $ac_func" >&5
110194 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110195 if eval "test \"\${$as_ac_var+set}\" = set"; then
110196 echo $ECHO_N "(cached) $ECHO_C" >&6
110198 if test x$gcc_no_link = xyes; then
110199 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110200 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110201 { (exit 1); exit 1; }; }
110203 cat >conftest.$ac_ext <<_ACEOF
110204 /* confdefs.h. */
110205 _ACEOF
110206 cat confdefs.h >>conftest.$ac_ext
110207 cat >>conftest.$ac_ext <<_ACEOF
110208 /* end confdefs.h. */
110209 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110210 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110211 #define $ac_func innocuous_$ac_func
110213 /* System header to define __stub macros and hopefully few prototypes,
110214 which can conflict with char $ac_func (); below.
110215 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110216 <limits.h> exists even on freestanding compilers. */
110218 #ifdef __STDC__
110219 # include <limits.h>
110220 #else
110221 # include <assert.h>
110222 #endif
110224 #undef $ac_func
110226 /* Override any gcc2 internal prototype to avoid an error. */
110227 #ifdef __cplusplus
110228 extern "C"
110230 #endif
110231 /* We use char because int might match the return type of a gcc2
110232 builtin and then its argument prototype would still apply. */
110233 char $ac_func ();
110234 /* The GNU C library defines this for functions which it implements
110235 to always fail with ENOSYS. Some functions are actually named
110236 something starting with __ and the normal name is an alias. */
110237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110238 choke me
110239 #else
110240 char (*f) () = $ac_func;
110241 #endif
110242 #ifdef __cplusplus
110244 #endif
110247 main ()
110249 return f != $ac_func;
110251 return 0;
110253 _ACEOF
110254 rm -f conftest.$ac_objext conftest$ac_exeext
110255 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110256 (eval $ac_link) 2>conftest.er1
110257 ac_status=$?
110258 grep -v '^ *+' conftest.er1 >conftest.err
110259 rm -f conftest.er1
110260 cat conftest.err >&5
110261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110262 (exit $ac_status); } &&
110263 { ac_try='test -z "$ac_c_werror_flag"
110264 || test ! -s conftest.err'
110265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110266 (eval $ac_try) 2>&5
110267 ac_status=$?
110268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110269 (exit $ac_status); }; } &&
110270 { ac_try='test -s conftest$ac_exeext'
110271 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110272 (eval $ac_try) 2>&5
110273 ac_status=$?
110274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110275 (exit $ac_status); }; }; then
110276 eval "$as_ac_var=yes"
110278 echo "$as_me: failed program was:" >&5
110279 sed 's/^/| /' conftest.$ac_ext >&5
110281 eval "$as_ac_var=no"
110283 rm -f conftest.err conftest.$ac_objext \
110284 conftest$ac_exeext conftest.$ac_ext
110286 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110287 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110288 if test `eval echo '${'$as_ac_var'}'` = yes; then
110289 cat >>confdefs.h <<_ACEOF
110290 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110291 _ACEOF
110304 echo "$as_me:$LINENO: checking for modfl declaration" >&5
110305 echo $ECHO_N "checking for modfl declaration... $ECHO_C" >&6
110306 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
110307 if test "${glibcxx_cv_func_modfl_use+set}" = set; then
110308 echo $ECHO_N "(cached) $ECHO_C" >&6
110313 ac_ext=cc
110314 ac_cpp='$CXXCPP $CPPFLAGS'
110315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110319 cat >conftest.$ac_ext <<_ACEOF
110320 /* confdefs.h. */
110321 _ACEOF
110322 cat confdefs.h >>conftest.$ac_ext
110323 cat >>conftest.$ac_ext <<_ACEOF
110324 /* end confdefs.h. */
110325 #include <math.h>
110327 main ()
110329 modfl(0, 0);
110331 return 0;
110333 _ACEOF
110334 rm -f conftest.$ac_objext
110335 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110336 (eval $ac_compile) 2>conftest.er1
110337 ac_status=$?
110338 grep -v '^ *+' conftest.er1 >conftest.err
110339 rm -f conftest.er1
110340 cat conftest.err >&5
110341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110342 (exit $ac_status); } &&
110343 { ac_try='test -z "$ac_cxx_werror_flag"
110344 || test ! -s conftest.err'
110345 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110346 (eval $ac_try) 2>&5
110347 ac_status=$?
110348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110349 (exit $ac_status); }; } &&
110350 { ac_try='test -s conftest.$ac_objext'
110351 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110352 (eval $ac_try) 2>&5
110353 ac_status=$?
110354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110355 (exit $ac_status); }; }; then
110356 glibcxx_cv_func_modfl_use=yes
110358 echo "$as_me: failed program was:" >&5
110359 sed 's/^/| /' conftest.$ac_ext >&5
110361 glibcxx_cv_func_modfl_use=no
110363 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110364 ac_ext=c
110365 ac_cpp='$CPP $CPPFLAGS'
110366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110374 echo "$as_me:$LINENO: result: $glibcxx_cv_func_modfl_use" >&5
110375 echo "${ECHO_T}$glibcxx_cv_func_modfl_use" >&6
110377 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
110379 for ac_func in modfl
110381 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110382 echo "$as_me:$LINENO: checking for $ac_func" >&5
110383 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110384 if eval "test \"\${$as_ac_var+set}\" = set"; then
110385 echo $ECHO_N "(cached) $ECHO_C" >&6
110387 if test x$gcc_no_link = xyes; then
110388 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110389 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110390 { (exit 1); exit 1; }; }
110392 cat >conftest.$ac_ext <<_ACEOF
110393 /* confdefs.h. */
110394 _ACEOF
110395 cat confdefs.h >>conftest.$ac_ext
110396 cat >>conftest.$ac_ext <<_ACEOF
110397 /* end confdefs.h. */
110398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110400 #define $ac_func innocuous_$ac_func
110402 /* System header to define __stub macros and hopefully few prototypes,
110403 which can conflict with char $ac_func (); below.
110404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110405 <limits.h> exists even on freestanding compilers. */
110407 #ifdef __STDC__
110408 # include <limits.h>
110409 #else
110410 # include <assert.h>
110411 #endif
110413 #undef $ac_func
110415 /* Override any gcc2 internal prototype to avoid an error. */
110416 #ifdef __cplusplus
110417 extern "C"
110419 #endif
110420 /* We use char because int might match the return type of a gcc2
110421 builtin and then its argument prototype would still apply. */
110422 char $ac_func ();
110423 /* The GNU C library defines this for functions which it implements
110424 to always fail with ENOSYS. Some functions are actually named
110425 something starting with __ and the normal name is an alias. */
110426 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110427 choke me
110428 #else
110429 char (*f) () = $ac_func;
110430 #endif
110431 #ifdef __cplusplus
110433 #endif
110436 main ()
110438 return f != $ac_func;
110440 return 0;
110442 _ACEOF
110443 rm -f conftest.$ac_objext conftest$ac_exeext
110444 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110445 (eval $ac_link) 2>conftest.er1
110446 ac_status=$?
110447 grep -v '^ *+' conftest.er1 >conftest.err
110448 rm -f conftest.er1
110449 cat conftest.err >&5
110450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110451 (exit $ac_status); } &&
110452 { ac_try='test -z "$ac_c_werror_flag"
110453 || test ! -s conftest.err'
110454 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110455 (eval $ac_try) 2>&5
110456 ac_status=$?
110457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110458 (exit $ac_status); }; } &&
110459 { ac_try='test -s conftest$ac_exeext'
110460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110461 (eval $ac_try) 2>&5
110462 ac_status=$?
110463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110464 (exit $ac_status); }; }; then
110465 eval "$as_ac_var=yes"
110467 echo "$as_me: failed program was:" >&5
110468 sed 's/^/| /' conftest.$ac_ext >&5
110470 eval "$as_ac_var=no"
110472 rm -f conftest.err conftest.$ac_objext \
110473 conftest$ac_exeext conftest.$ac_ext
110475 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110476 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110477 if test `eval echo '${'$as_ac_var'}'` = yes; then
110478 cat >>confdefs.h <<_ACEOF
110479 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110480 _ACEOF
110487 echo "$as_me:$LINENO: checking for _modfl declaration" >&5
110488 echo $ECHO_N "checking for _modfl declaration... $ECHO_C" >&6
110489 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
110490 if test "${glibcxx_cv_func__modfl_use+set}" = set; then
110491 echo $ECHO_N "(cached) $ECHO_C" >&6
110496 ac_ext=cc
110497 ac_cpp='$CXXCPP $CPPFLAGS'
110498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110502 cat >conftest.$ac_ext <<_ACEOF
110503 /* confdefs.h. */
110504 _ACEOF
110505 cat confdefs.h >>conftest.$ac_ext
110506 cat >>conftest.$ac_ext <<_ACEOF
110507 /* end confdefs.h. */
110508 #include <math.h>
110510 main ()
110512 _modfl(0, 0);
110514 return 0;
110516 _ACEOF
110517 rm -f conftest.$ac_objext
110518 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110519 (eval $ac_compile) 2>conftest.er1
110520 ac_status=$?
110521 grep -v '^ *+' conftest.er1 >conftest.err
110522 rm -f conftest.er1
110523 cat conftest.err >&5
110524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110525 (exit $ac_status); } &&
110526 { ac_try='test -z "$ac_cxx_werror_flag"
110527 || test ! -s conftest.err'
110528 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110529 (eval $ac_try) 2>&5
110530 ac_status=$?
110531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110532 (exit $ac_status); }; } &&
110533 { ac_try='test -s conftest.$ac_objext'
110534 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110535 (eval $ac_try) 2>&5
110536 ac_status=$?
110537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110538 (exit $ac_status); }; }; then
110539 glibcxx_cv_func__modfl_use=yes
110541 echo "$as_me: failed program was:" >&5
110542 sed 's/^/| /' conftest.$ac_ext >&5
110544 glibcxx_cv_func__modfl_use=no
110546 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110547 ac_ext=c
110548 ac_cpp='$CPP $CPPFLAGS'
110549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110557 echo "$as_me:$LINENO: result: $glibcxx_cv_func__modfl_use" >&5
110558 echo "${ECHO_T}$glibcxx_cv_func__modfl_use" >&6
110560 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
110562 for ac_func in _modfl
110564 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110565 echo "$as_me:$LINENO: checking for $ac_func" >&5
110566 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110567 if eval "test \"\${$as_ac_var+set}\" = set"; then
110568 echo $ECHO_N "(cached) $ECHO_C" >&6
110570 if test x$gcc_no_link = xyes; then
110571 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110572 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110573 { (exit 1); exit 1; }; }
110575 cat >conftest.$ac_ext <<_ACEOF
110576 /* confdefs.h. */
110577 _ACEOF
110578 cat confdefs.h >>conftest.$ac_ext
110579 cat >>conftest.$ac_ext <<_ACEOF
110580 /* end confdefs.h. */
110581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110583 #define $ac_func innocuous_$ac_func
110585 /* System header to define __stub macros and hopefully few prototypes,
110586 which can conflict with char $ac_func (); below.
110587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110588 <limits.h> exists even on freestanding compilers. */
110590 #ifdef __STDC__
110591 # include <limits.h>
110592 #else
110593 # include <assert.h>
110594 #endif
110596 #undef $ac_func
110598 /* Override any gcc2 internal prototype to avoid an error. */
110599 #ifdef __cplusplus
110600 extern "C"
110602 #endif
110603 /* We use char because int might match the return type of a gcc2
110604 builtin and then its argument prototype would still apply. */
110605 char $ac_func ();
110606 /* The GNU C library defines this for functions which it implements
110607 to always fail with ENOSYS. Some functions are actually named
110608 something starting with __ and the normal name is an alias. */
110609 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110610 choke me
110611 #else
110612 char (*f) () = $ac_func;
110613 #endif
110614 #ifdef __cplusplus
110616 #endif
110619 main ()
110621 return f != $ac_func;
110623 return 0;
110625 _ACEOF
110626 rm -f conftest.$ac_objext conftest$ac_exeext
110627 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110628 (eval $ac_link) 2>conftest.er1
110629 ac_status=$?
110630 grep -v '^ *+' conftest.er1 >conftest.err
110631 rm -f conftest.er1
110632 cat conftest.err >&5
110633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110634 (exit $ac_status); } &&
110635 { ac_try='test -z "$ac_c_werror_flag"
110636 || test ! -s conftest.err'
110637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110638 (eval $ac_try) 2>&5
110639 ac_status=$?
110640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110641 (exit $ac_status); }; } &&
110642 { ac_try='test -s conftest$ac_exeext'
110643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110644 (eval $ac_try) 2>&5
110645 ac_status=$?
110646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110647 (exit $ac_status); }; }; then
110648 eval "$as_ac_var=yes"
110650 echo "$as_me: failed program was:" >&5
110651 sed 's/^/| /' conftest.$ac_ext >&5
110653 eval "$as_ac_var=no"
110655 rm -f conftest.err conftest.$ac_objext \
110656 conftest$ac_exeext conftest.$ac_ext
110658 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110659 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110660 if test `eval echo '${'$as_ac_var'}'` = yes; then
110661 cat >>confdefs.h <<_ACEOF
110662 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110663 _ACEOF
110676 echo "$as_me:$LINENO: checking for powl declaration" >&5
110677 echo $ECHO_N "checking for powl declaration... $ECHO_C" >&6
110678 if test x${glibcxx_cv_func_powl_use+set} != xset; then
110679 if test "${glibcxx_cv_func_powl_use+set}" = set; then
110680 echo $ECHO_N "(cached) $ECHO_C" >&6
110685 ac_ext=cc
110686 ac_cpp='$CXXCPP $CPPFLAGS'
110687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110691 cat >conftest.$ac_ext <<_ACEOF
110692 /* confdefs.h. */
110693 _ACEOF
110694 cat confdefs.h >>conftest.$ac_ext
110695 cat >>conftest.$ac_ext <<_ACEOF
110696 /* end confdefs.h. */
110697 #include <math.h>
110699 main ()
110701 powl(0, 0);
110703 return 0;
110705 _ACEOF
110706 rm -f conftest.$ac_objext
110707 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110708 (eval $ac_compile) 2>conftest.er1
110709 ac_status=$?
110710 grep -v '^ *+' conftest.er1 >conftest.err
110711 rm -f conftest.er1
110712 cat conftest.err >&5
110713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110714 (exit $ac_status); } &&
110715 { ac_try='test -z "$ac_cxx_werror_flag"
110716 || test ! -s conftest.err'
110717 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110718 (eval $ac_try) 2>&5
110719 ac_status=$?
110720 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110721 (exit $ac_status); }; } &&
110722 { ac_try='test -s conftest.$ac_objext'
110723 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110724 (eval $ac_try) 2>&5
110725 ac_status=$?
110726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110727 (exit $ac_status); }; }; then
110728 glibcxx_cv_func_powl_use=yes
110730 echo "$as_me: failed program was:" >&5
110731 sed 's/^/| /' conftest.$ac_ext >&5
110733 glibcxx_cv_func_powl_use=no
110735 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110736 ac_ext=c
110737 ac_cpp='$CPP $CPPFLAGS'
110738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110746 echo "$as_me:$LINENO: result: $glibcxx_cv_func_powl_use" >&5
110747 echo "${ECHO_T}$glibcxx_cv_func_powl_use" >&6
110749 if test x$glibcxx_cv_func_powl_use = x"yes"; then
110751 for ac_func in powl
110753 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110754 echo "$as_me:$LINENO: checking for $ac_func" >&5
110755 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110756 if eval "test \"\${$as_ac_var+set}\" = set"; then
110757 echo $ECHO_N "(cached) $ECHO_C" >&6
110759 if test x$gcc_no_link = xyes; then
110760 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110761 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110762 { (exit 1); exit 1; }; }
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110771 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110772 #define $ac_func innocuous_$ac_func
110774 /* System header to define __stub macros and hopefully few prototypes,
110775 which can conflict with char $ac_func (); below.
110776 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110777 <limits.h> exists even on freestanding compilers. */
110779 #ifdef __STDC__
110780 # include <limits.h>
110781 #else
110782 # include <assert.h>
110783 #endif
110785 #undef $ac_func
110787 /* Override any gcc2 internal prototype to avoid an error. */
110788 #ifdef __cplusplus
110789 extern "C"
110791 #endif
110792 /* We use char because int might match the return type of a gcc2
110793 builtin and then its argument prototype would still apply. */
110794 char $ac_func ();
110795 /* The GNU C library defines this for functions which it implements
110796 to always fail with ENOSYS. Some functions are actually named
110797 something starting with __ and the normal name is an alias. */
110798 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110799 choke me
110800 #else
110801 char (*f) () = $ac_func;
110802 #endif
110803 #ifdef __cplusplus
110805 #endif
110808 main ()
110810 return f != $ac_func;
110812 return 0;
110814 _ACEOF
110815 rm -f conftest.$ac_objext conftest$ac_exeext
110816 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
110817 (eval $ac_link) 2>conftest.er1
110818 ac_status=$?
110819 grep -v '^ *+' conftest.er1 >conftest.err
110820 rm -f conftest.er1
110821 cat conftest.err >&5
110822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110823 (exit $ac_status); } &&
110824 { ac_try='test -z "$ac_c_werror_flag"
110825 || test ! -s conftest.err'
110826 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110827 (eval $ac_try) 2>&5
110828 ac_status=$?
110829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110830 (exit $ac_status); }; } &&
110831 { ac_try='test -s conftest$ac_exeext'
110832 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110833 (eval $ac_try) 2>&5
110834 ac_status=$?
110835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110836 (exit $ac_status); }; }; then
110837 eval "$as_ac_var=yes"
110839 echo "$as_me: failed program was:" >&5
110840 sed 's/^/| /' conftest.$ac_ext >&5
110842 eval "$as_ac_var=no"
110844 rm -f conftest.err conftest.$ac_objext \
110845 conftest$ac_exeext conftest.$ac_ext
110847 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
110848 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
110849 if test `eval echo '${'$as_ac_var'}'` = yes; then
110850 cat >>confdefs.h <<_ACEOF
110851 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
110852 _ACEOF
110859 echo "$as_me:$LINENO: checking for _powl declaration" >&5
110860 echo $ECHO_N "checking for _powl declaration... $ECHO_C" >&6
110861 if test x${glibcxx_cv_func__powl_use+set} != xset; then
110862 if test "${glibcxx_cv_func__powl_use+set}" = set; then
110863 echo $ECHO_N "(cached) $ECHO_C" >&6
110868 ac_ext=cc
110869 ac_cpp='$CXXCPP $CPPFLAGS'
110870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
110874 cat >conftest.$ac_ext <<_ACEOF
110875 /* confdefs.h. */
110876 _ACEOF
110877 cat confdefs.h >>conftest.$ac_ext
110878 cat >>conftest.$ac_ext <<_ACEOF
110879 /* end confdefs.h. */
110880 #include <math.h>
110882 main ()
110884 _powl(0, 0);
110886 return 0;
110888 _ACEOF
110889 rm -f conftest.$ac_objext
110890 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
110891 (eval $ac_compile) 2>conftest.er1
110892 ac_status=$?
110893 grep -v '^ *+' conftest.er1 >conftest.err
110894 rm -f conftest.er1
110895 cat conftest.err >&5
110896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110897 (exit $ac_status); } &&
110898 { ac_try='test -z "$ac_cxx_werror_flag"
110899 || test ! -s conftest.err'
110900 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110901 (eval $ac_try) 2>&5
110902 ac_status=$?
110903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110904 (exit $ac_status); }; } &&
110905 { ac_try='test -s conftest.$ac_objext'
110906 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
110907 (eval $ac_try) 2>&5
110908 ac_status=$?
110909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
110910 (exit $ac_status); }; }; then
110911 glibcxx_cv_func__powl_use=yes
110913 echo "$as_me: failed program was:" >&5
110914 sed 's/^/| /' conftest.$ac_ext >&5
110916 glibcxx_cv_func__powl_use=no
110918 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
110919 ac_ext=c
110920 ac_cpp='$CPP $CPPFLAGS'
110921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
110922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
110923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
110929 echo "$as_me:$LINENO: result: $glibcxx_cv_func__powl_use" >&5
110930 echo "${ECHO_T}$glibcxx_cv_func__powl_use" >&6
110932 if test x$glibcxx_cv_func__powl_use = x"yes"; then
110934 for ac_func in _powl
110936 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
110937 echo "$as_me:$LINENO: checking for $ac_func" >&5
110938 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
110939 if eval "test \"\${$as_ac_var+set}\" = set"; then
110940 echo $ECHO_N "(cached) $ECHO_C" >&6
110942 if test x$gcc_no_link = xyes; then
110943 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
110944 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
110945 { (exit 1); exit 1; }; }
110947 cat >conftest.$ac_ext <<_ACEOF
110948 /* confdefs.h. */
110949 _ACEOF
110950 cat confdefs.h >>conftest.$ac_ext
110951 cat >>conftest.$ac_ext <<_ACEOF
110952 /* end confdefs.h. */
110953 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
110954 For example, HP-UX 11i <limits.h> declares gettimeofday. */
110955 #define $ac_func innocuous_$ac_func
110957 /* System header to define __stub macros and hopefully few prototypes,
110958 which can conflict with char $ac_func (); below.
110959 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
110960 <limits.h> exists even on freestanding compilers. */
110962 #ifdef __STDC__
110963 # include <limits.h>
110964 #else
110965 # include <assert.h>
110966 #endif
110968 #undef $ac_func
110970 /* Override any gcc2 internal prototype to avoid an error. */
110971 #ifdef __cplusplus
110972 extern "C"
110974 #endif
110975 /* We use char because int might match the return type of a gcc2
110976 builtin and then its argument prototype would still apply. */
110977 char $ac_func ();
110978 /* The GNU C library defines this for functions which it implements
110979 to always fail with ENOSYS. Some functions are actually named
110980 something starting with __ and the normal name is an alias. */
110981 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
110982 choke me
110983 #else
110984 char (*f) () = $ac_func;
110985 #endif
110986 #ifdef __cplusplus
110988 #endif
110991 main ()
110993 return f != $ac_func;
110995 return 0;
110997 _ACEOF
110998 rm -f conftest.$ac_objext conftest$ac_exeext
110999 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111000 (eval $ac_link) 2>conftest.er1
111001 ac_status=$?
111002 grep -v '^ *+' conftest.er1 >conftest.err
111003 rm -f conftest.er1
111004 cat conftest.err >&5
111005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111006 (exit $ac_status); } &&
111007 { ac_try='test -z "$ac_c_werror_flag"
111008 || test ! -s conftest.err'
111009 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111010 (eval $ac_try) 2>&5
111011 ac_status=$?
111012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111013 (exit $ac_status); }; } &&
111014 { ac_try='test -s conftest$ac_exeext'
111015 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111016 (eval $ac_try) 2>&5
111017 ac_status=$?
111018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111019 (exit $ac_status); }; }; then
111020 eval "$as_ac_var=yes"
111022 echo "$as_me: failed program was:" >&5
111023 sed 's/^/| /' conftest.$ac_ext >&5
111025 eval "$as_ac_var=no"
111027 rm -f conftest.err conftest.$ac_objext \
111028 conftest$ac_exeext conftest.$ac_ext
111030 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111031 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111032 if test `eval echo '${'$as_ac_var'}'` = yes; then
111033 cat >>confdefs.h <<_ACEOF
111034 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111035 _ACEOF
111048 echo "$as_me:$LINENO: checking for sqrtl declaration" >&5
111049 echo $ECHO_N "checking for sqrtl declaration... $ECHO_C" >&6
111050 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
111051 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then
111052 echo $ECHO_N "(cached) $ECHO_C" >&6
111057 ac_ext=cc
111058 ac_cpp='$CXXCPP $CPPFLAGS'
111059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111063 cat >conftest.$ac_ext <<_ACEOF
111064 /* confdefs.h. */
111065 _ACEOF
111066 cat confdefs.h >>conftest.$ac_ext
111067 cat >>conftest.$ac_ext <<_ACEOF
111068 /* end confdefs.h. */
111069 #include <math.h>
111070 #ifdef HAVE_IEEEFP_H
111071 #include <ieeefp.h>
111072 #endif
111075 main ()
111077 sqrtl(0);
111079 return 0;
111081 _ACEOF
111082 rm -f conftest.$ac_objext
111083 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111084 (eval $ac_compile) 2>conftest.er1
111085 ac_status=$?
111086 grep -v '^ *+' conftest.er1 >conftest.err
111087 rm -f conftest.er1
111088 cat conftest.err >&5
111089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111090 (exit $ac_status); } &&
111091 { ac_try='test -z "$ac_cxx_werror_flag"
111092 || test ! -s conftest.err'
111093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111094 (eval $ac_try) 2>&5
111095 ac_status=$?
111096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111097 (exit $ac_status); }; } &&
111098 { ac_try='test -s conftest.$ac_objext'
111099 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111100 (eval $ac_try) 2>&5
111101 ac_status=$?
111102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111103 (exit $ac_status); }; }; then
111104 glibcxx_cv_func_sqrtl_use=yes
111106 echo "$as_me: failed program was:" >&5
111107 sed 's/^/| /' conftest.$ac_ext >&5
111109 glibcxx_cv_func_sqrtl_use=no
111111 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111112 ac_ext=c
111113 ac_cpp='$CPP $CPPFLAGS'
111114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111122 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sqrtl_use" >&5
111123 echo "${ECHO_T}$glibcxx_cv_func_sqrtl_use" >&6
111125 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
111127 for ac_func in sqrtl
111129 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111130 echo "$as_me:$LINENO: checking for $ac_func" >&5
111131 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111132 if eval "test \"\${$as_ac_var+set}\" = set"; then
111133 echo $ECHO_N "(cached) $ECHO_C" >&6
111135 if test x$gcc_no_link = xyes; then
111136 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111137 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111138 { (exit 1); exit 1; }; }
111140 cat >conftest.$ac_ext <<_ACEOF
111141 /* confdefs.h. */
111142 _ACEOF
111143 cat confdefs.h >>conftest.$ac_ext
111144 cat >>conftest.$ac_ext <<_ACEOF
111145 /* end confdefs.h. */
111146 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111147 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111148 #define $ac_func innocuous_$ac_func
111150 /* System header to define __stub macros and hopefully few prototypes,
111151 which can conflict with char $ac_func (); below.
111152 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111153 <limits.h> exists even on freestanding compilers. */
111155 #ifdef __STDC__
111156 # include <limits.h>
111157 #else
111158 # include <assert.h>
111159 #endif
111161 #undef $ac_func
111163 /* Override any gcc2 internal prototype to avoid an error. */
111164 #ifdef __cplusplus
111165 extern "C"
111167 #endif
111168 /* We use char because int might match the return type of a gcc2
111169 builtin and then its argument prototype would still apply. */
111170 char $ac_func ();
111171 /* The GNU C library defines this for functions which it implements
111172 to always fail with ENOSYS. Some functions are actually named
111173 something starting with __ and the normal name is an alias. */
111174 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111175 choke me
111176 #else
111177 char (*f) () = $ac_func;
111178 #endif
111179 #ifdef __cplusplus
111181 #endif
111184 main ()
111186 return f != $ac_func;
111188 return 0;
111190 _ACEOF
111191 rm -f conftest.$ac_objext conftest$ac_exeext
111192 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111193 (eval $ac_link) 2>conftest.er1
111194 ac_status=$?
111195 grep -v '^ *+' conftest.er1 >conftest.err
111196 rm -f conftest.er1
111197 cat conftest.err >&5
111198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111199 (exit $ac_status); } &&
111200 { ac_try='test -z "$ac_c_werror_flag"
111201 || test ! -s conftest.err'
111202 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111203 (eval $ac_try) 2>&5
111204 ac_status=$?
111205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111206 (exit $ac_status); }; } &&
111207 { ac_try='test -s conftest$ac_exeext'
111208 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111209 (eval $ac_try) 2>&5
111210 ac_status=$?
111211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111212 (exit $ac_status); }; }; then
111213 eval "$as_ac_var=yes"
111215 echo "$as_me: failed program was:" >&5
111216 sed 's/^/| /' conftest.$ac_ext >&5
111218 eval "$as_ac_var=no"
111220 rm -f conftest.err conftest.$ac_objext \
111221 conftest$ac_exeext conftest.$ac_ext
111223 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111224 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111225 if test `eval echo '${'$as_ac_var'}'` = yes; then
111226 cat >>confdefs.h <<_ACEOF
111227 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111228 _ACEOF
111235 echo "$as_me:$LINENO: checking for _sqrtl declaration" >&5
111236 echo $ECHO_N "checking for _sqrtl declaration... $ECHO_C" >&6
111237 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
111238 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then
111239 echo $ECHO_N "(cached) $ECHO_C" >&6
111244 ac_ext=cc
111245 ac_cpp='$CXXCPP $CPPFLAGS'
111246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111250 cat >conftest.$ac_ext <<_ACEOF
111251 /* confdefs.h. */
111252 _ACEOF
111253 cat confdefs.h >>conftest.$ac_ext
111254 cat >>conftest.$ac_ext <<_ACEOF
111255 /* end confdefs.h. */
111256 #include <math.h>
111257 #ifdef HAVE_IEEEFP_H
111258 #include <ieeefp.h>
111259 #endif
111262 main ()
111264 _sqrtl(0);
111266 return 0;
111268 _ACEOF
111269 rm -f conftest.$ac_objext
111270 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111271 (eval $ac_compile) 2>conftest.er1
111272 ac_status=$?
111273 grep -v '^ *+' conftest.er1 >conftest.err
111274 rm -f conftest.er1
111275 cat conftest.err >&5
111276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111277 (exit $ac_status); } &&
111278 { ac_try='test -z "$ac_cxx_werror_flag"
111279 || test ! -s conftest.err'
111280 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111281 (eval $ac_try) 2>&5
111282 ac_status=$?
111283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111284 (exit $ac_status); }; } &&
111285 { ac_try='test -s conftest.$ac_objext'
111286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111287 (eval $ac_try) 2>&5
111288 ac_status=$?
111289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111290 (exit $ac_status); }; }; then
111291 glibcxx_cv_func__sqrtl_use=yes
111293 echo "$as_me: failed program was:" >&5
111294 sed 's/^/| /' conftest.$ac_ext >&5
111296 glibcxx_cv_func__sqrtl_use=no
111298 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111299 ac_ext=c
111300 ac_cpp='$CPP $CPPFLAGS'
111301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111309 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sqrtl_use" >&5
111310 echo "${ECHO_T}$glibcxx_cv_func__sqrtl_use" >&6
111312 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
111314 for ac_func in _sqrtl
111316 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111317 echo "$as_me:$LINENO: checking for $ac_func" >&5
111318 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111319 if eval "test \"\${$as_ac_var+set}\" = set"; then
111320 echo $ECHO_N "(cached) $ECHO_C" >&6
111322 if test x$gcc_no_link = xyes; then
111323 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111324 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111325 { (exit 1); exit 1; }; }
111327 cat >conftest.$ac_ext <<_ACEOF
111328 /* confdefs.h. */
111329 _ACEOF
111330 cat confdefs.h >>conftest.$ac_ext
111331 cat >>conftest.$ac_ext <<_ACEOF
111332 /* end confdefs.h. */
111333 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111334 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111335 #define $ac_func innocuous_$ac_func
111337 /* System header to define __stub macros and hopefully few prototypes,
111338 which can conflict with char $ac_func (); below.
111339 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111340 <limits.h> exists even on freestanding compilers. */
111342 #ifdef __STDC__
111343 # include <limits.h>
111344 #else
111345 # include <assert.h>
111346 #endif
111348 #undef $ac_func
111350 /* Override any gcc2 internal prototype to avoid an error. */
111351 #ifdef __cplusplus
111352 extern "C"
111354 #endif
111355 /* We use char because int might match the return type of a gcc2
111356 builtin and then its argument prototype would still apply. */
111357 char $ac_func ();
111358 /* The GNU C library defines this for functions which it implements
111359 to always fail with ENOSYS. Some functions are actually named
111360 something starting with __ and the normal name is an alias. */
111361 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111362 choke me
111363 #else
111364 char (*f) () = $ac_func;
111365 #endif
111366 #ifdef __cplusplus
111368 #endif
111371 main ()
111373 return f != $ac_func;
111375 return 0;
111377 _ACEOF
111378 rm -f conftest.$ac_objext conftest$ac_exeext
111379 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111380 (eval $ac_link) 2>conftest.er1
111381 ac_status=$?
111382 grep -v '^ *+' conftest.er1 >conftest.err
111383 rm -f conftest.er1
111384 cat conftest.err >&5
111385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111386 (exit $ac_status); } &&
111387 { ac_try='test -z "$ac_c_werror_flag"
111388 || test ! -s conftest.err'
111389 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111390 (eval $ac_try) 2>&5
111391 ac_status=$?
111392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111393 (exit $ac_status); }; } &&
111394 { ac_try='test -s conftest$ac_exeext'
111395 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111396 (eval $ac_try) 2>&5
111397 ac_status=$?
111398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111399 (exit $ac_status); }; }; then
111400 eval "$as_ac_var=yes"
111402 echo "$as_me: failed program was:" >&5
111403 sed 's/^/| /' conftest.$ac_ext >&5
111405 eval "$as_ac_var=no"
111407 rm -f conftest.err conftest.$ac_objext \
111408 conftest$ac_exeext conftest.$ac_ext
111410 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111411 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111412 if test `eval echo '${'$as_ac_var'}'` = yes; then
111413 cat >>confdefs.h <<_ACEOF
111414 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111415 _ACEOF
111428 echo "$as_me:$LINENO: checking for sincosl declaration" >&5
111429 echo $ECHO_N "checking for sincosl declaration... $ECHO_C" >&6
111430 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
111431 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then
111432 echo $ECHO_N "(cached) $ECHO_C" >&6
111437 ac_ext=cc
111438 ac_cpp='$CXXCPP $CPPFLAGS'
111439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111443 cat >conftest.$ac_ext <<_ACEOF
111444 /* confdefs.h. */
111445 _ACEOF
111446 cat confdefs.h >>conftest.$ac_ext
111447 cat >>conftest.$ac_ext <<_ACEOF
111448 /* end confdefs.h. */
111449 #include <math.h>
111451 main ()
111453 sincosl(0, 0, 0);
111455 return 0;
111457 _ACEOF
111458 rm -f conftest.$ac_objext
111459 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111460 (eval $ac_compile) 2>conftest.er1
111461 ac_status=$?
111462 grep -v '^ *+' conftest.er1 >conftest.err
111463 rm -f conftest.er1
111464 cat conftest.err >&5
111465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111466 (exit $ac_status); } &&
111467 { ac_try='test -z "$ac_cxx_werror_flag"
111468 || test ! -s conftest.err'
111469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111470 (eval $ac_try) 2>&5
111471 ac_status=$?
111472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111473 (exit $ac_status); }; } &&
111474 { ac_try='test -s conftest.$ac_objext'
111475 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111476 (eval $ac_try) 2>&5
111477 ac_status=$?
111478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111479 (exit $ac_status); }; }; then
111480 glibcxx_cv_func_sincosl_use=yes
111482 echo "$as_me: failed program was:" >&5
111483 sed 's/^/| /' conftest.$ac_ext >&5
111485 glibcxx_cv_func_sincosl_use=no
111487 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111488 ac_ext=c
111489 ac_cpp='$CPP $CPPFLAGS'
111490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111498 echo "$as_me:$LINENO: result: $glibcxx_cv_func_sincosl_use" >&5
111499 echo "${ECHO_T}$glibcxx_cv_func_sincosl_use" >&6
111501 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
111503 for ac_func in sincosl
111505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111506 echo "$as_me:$LINENO: checking for $ac_func" >&5
111507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111508 if eval "test \"\${$as_ac_var+set}\" = set"; then
111509 echo $ECHO_N "(cached) $ECHO_C" >&6
111511 if test x$gcc_no_link = xyes; then
111512 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111513 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111514 { (exit 1); exit 1; }; }
111516 cat >conftest.$ac_ext <<_ACEOF
111517 /* confdefs.h. */
111518 _ACEOF
111519 cat confdefs.h >>conftest.$ac_ext
111520 cat >>conftest.$ac_ext <<_ACEOF
111521 /* end confdefs.h. */
111522 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111523 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111524 #define $ac_func innocuous_$ac_func
111526 /* System header to define __stub macros and hopefully few prototypes,
111527 which can conflict with char $ac_func (); below.
111528 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111529 <limits.h> exists even on freestanding compilers. */
111531 #ifdef __STDC__
111532 # include <limits.h>
111533 #else
111534 # include <assert.h>
111535 #endif
111537 #undef $ac_func
111539 /* Override any gcc2 internal prototype to avoid an error. */
111540 #ifdef __cplusplus
111541 extern "C"
111543 #endif
111544 /* We use char because int might match the return type of a gcc2
111545 builtin and then its argument prototype would still apply. */
111546 char $ac_func ();
111547 /* The GNU C library defines this for functions which it implements
111548 to always fail with ENOSYS. Some functions are actually named
111549 something starting with __ and the normal name is an alias. */
111550 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111551 choke me
111552 #else
111553 char (*f) () = $ac_func;
111554 #endif
111555 #ifdef __cplusplus
111557 #endif
111560 main ()
111562 return f != $ac_func;
111564 return 0;
111566 _ACEOF
111567 rm -f conftest.$ac_objext conftest$ac_exeext
111568 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111569 (eval $ac_link) 2>conftest.er1
111570 ac_status=$?
111571 grep -v '^ *+' conftest.er1 >conftest.err
111572 rm -f conftest.er1
111573 cat conftest.err >&5
111574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111575 (exit $ac_status); } &&
111576 { ac_try='test -z "$ac_c_werror_flag"
111577 || test ! -s conftest.err'
111578 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111579 (eval $ac_try) 2>&5
111580 ac_status=$?
111581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111582 (exit $ac_status); }; } &&
111583 { ac_try='test -s conftest$ac_exeext'
111584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111585 (eval $ac_try) 2>&5
111586 ac_status=$?
111587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111588 (exit $ac_status); }; }; then
111589 eval "$as_ac_var=yes"
111591 echo "$as_me: failed program was:" >&5
111592 sed 's/^/| /' conftest.$ac_ext >&5
111594 eval "$as_ac_var=no"
111596 rm -f conftest.err conftest.$ac_objext \
111597 conftest$ac_exeext conftest.$ac_ext
111599 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111600 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111601 if test `eval echo '${'$as_ac_var'}'` = yes; then
111602 cat >>confdefs.h <<_ACEOF
111603 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111604 _ACEOF
111611 echo "$as_me:$LINENO: checking for _sincosl declaration" >&5
111612 echo $ECHO_N "checking for _sincosl declaration... $ECHO_C" >&6
111613 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
111614 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then
111615 echo $ECHO_N "(cached) $ECHO_C" >&6
111620 ac_ext=cc
111621 ac_cpp='$CXXCPP $CPPFLAGS'
111622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111626 cat >conftest.$ac_ext <<_ACEOF
111627 /* confdefs.h. */
111628 _ACEOF
111629 cat confdefs.h >>conftest.$ac_ext
111630 cat >>conftest.$ac_ext <<_ACEOF
111631 /* end confdefs.h. */
111632 #include <math.h>
111634 main ()
111636 _sincosl(0, 0, 0);
111638 return 0;
111640 _ACEOF
111641 rm -f conftest.$ac_objext
111642 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111643 (eval $ac_compile) 2>conftest.er1
111644 ac_status=$?
111645 grep -v '^ *+' conftest.er1 >conftest.err
111646 rm -f conftest.er1
111647 cat conftest.err >&5
111648 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111649 (exit $ac_status); } &&
111650 { ac_try='test -z "$ac_cxx_werror_flag"
111651 || test ! -s conftest.err'
111652 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111653 (eval $ac_try) 2>&5
111654 ac_status=$?
111655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111656 (exit $ac_status); }; } &&
111657 { ac_try='test -s conftest.$ac_objext'
111658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111659 (eval $ac_try) 2>&5
111660 ac_status=$?
111661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111662 (exit $ac_status); }; }; then
111663 glibcxx_cv_func__sincosl_use=yes
111665 echo "$as_me: failed program was:" >&5
111666 sed 's/^/| /' conftest.$ac_ext >&5
111668 glibcxx_cv_func__sincosl_use=no
111670 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111671 ac_ext=c
111672 ac_cpp='$CPP $CPPFLAGS'
111673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111681 echo "$as_me:$LINENO: result: $glibcxx_cv_func__sincosl_use" >&5
111682 echo "${ECHO_T}$glibcxx_cv_func__sincosl_use" >&6
111684 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
111686 for ac_func in _sincosl
111688 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111689 echo "$as_me:$LINENO: checking for $ac_func" >&5
111690 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111691 if eval "test \"\${$as_ac_var+set}\" = set"; then
111692 echo $ECHO_N "(cached) $ECHO_C" >&6
111694 if test x$gcc_no_link = xyes; then
111695 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111696 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111697 { (exit 1); exit 1; }; }
111699 cat >conftest.$ac_ext <<_ACEOF
111700 /* confdefs.h. */
111701 _ACEOF
111702 cat confdefs.h >>conftest.$ac_ext
111703 cat >>conftest.$ac_ext <<_ACEOF
111704 /* end confdefs.h. */
111705 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111706 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111707 #define $ac_func innocuous_$ac_func
111709 /* System header to define __stub macros and hopefully few prototypes,
111710 which can conflict with char $ac_func (); below.
111711 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111712 <limits.h> exists even on freestanding compilers. */
111714 #ifdef __STDC__
111715 # include <limits.h>
111716 #else
111717 # include <assert.h>
111718 #endif
111720 #undef $ac_func
111722 /* Override any gcc2 internal prototype to avoid an error. */
111723 #ifdef __cplusplus
111724 extern "C"
111726 #endif
111727 /* We use char because int might match the return type of a gcc2
111728 builtin and then its argument prototype would still apply. */
111729 char $ac_func ();
111730 /* The GNU C library defines this for functions which it implements
111731 to always fail with ENOSYS. Some functions are actually named
111732 something starting with __ and the normal name is an alias. */
111733 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111734 choke me
111735 #else
111736 char (*f) () = $ac_func;
111737 #endif
111738 #ifdef __cplusplus
111740 #endif
111743 main ()
111745 return f != $ac_func;
111747 return 0;
111749 _ACEOF
111750 rm -f conftest.$ac_objext conftest$ac_exeext
111751 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111752 (eval $ac_link) 2>conftest.er1
111753 ac_status=$?
111754 grep -v '^ *+' conftest.er1 >conftest.err
111755 rm -f conftest.er1
111756 cat conftest.err >&5
111757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111758 (exit $ac_status); } &&
111759 { ac_try='test -z "$ac_c_werror_flag"
111760 || test ! -s conftest.err'
111761 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111762 (eval $ac_try) 2>&5
111763 ac_status=$?
111764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111765 (exit $ac_status); }; } &&
111766 { ac_try='test -s conftest$ac_exeext'
111767 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111768 (eval $ac_try) 2>&5
111769 ac_status=$?
111770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111771 (exit $ac_status); }; }; then
111772 eval "$as_ac_var=yes"
111774 echo "$as_me: failed program was:" >&5
111775 sed 's/^/| /' conftest.$ac_ext >&5
111777 eval "$as_ac_var=no"
111779 rm -f conftest.err conftest.$ac_objext \
111780 conftest$ac_exeext conftest.$ac_ext
111782 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111783 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111784 if test `eval echo '${'$as_ac_var'}'` = yes; then
111785 cat >>confdefs.h <<_ACEOF
111786 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111787 _ACEOF
111800 echo "$as_me:$LINENO: checking for finitel declaration" >&5
111801 echo $ECHO_N "checking for finitel declaration... $ECHO_C" >&6
111802 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
111803 if test "${glibcxx_cv_func_finitel_use+set}" = set; then
111804 echo $ECHO_N "(cached) $ECHO_C" >&6
111809 ac_ext=cc
111810 ac_cpp='$CXXCPP $CPPFLAGS'
111811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
111815 cat >conftest.$ac_ext <<_ACEOF
111816 /* confdefs.h. */
111817 _ACEOF
111818 cat confdefs.h >>conftest.$ac_ext
111819 cat >>conftest.$ac_ext <<_ACEOF
111820 /* end confdefs.h. */
111821 #include <math.h>
111822 #ifdef HAVE_IEEEFP_H
111823 #include <ieeefp.h>
111824 #endif
111827 main ()
111829 finitel(0);
111831 return 0;
111833 _ACEOF
111834 rm -f conftest.$ac_objext
111835 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
111836 (eval $ac_compile) 2>conftest.er1
111837 ac_status=$?
111838 grep -v '^ *+' conftest.er1 >conftest.err
111839 rm -f conftest.er1
111840 cat conftest.err >&5
111841 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111842 (exit $ac_status); } &&
111843 { ac_try='test -z "$ac_cxx_werror_flag"
111844 || test ! -s conftest.err'
111845 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111846 (eval $ac_try) 2>&5
111847 ac_status=$?
111848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111849 (exit $ac_status); }; } &&
111850 { ac_try='test -s conftest.$ac_objext'
111851 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111852 (eval $ac_try) 2>&5
111853 ac_status=$?
111854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111855 (exit $ac_status); }; }; then
111856 glibcxx_cv_func_finitel_use=yes
111858 echo "$as_me: failed program was:" >&5
111859 sed 's/^/| /' conftest.$ac_ext >&5
111861 glibcxx_cv_func_finitel_use=no
111863 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
111864 ac_ext=c
111865 ac_cpp='$CPP $CPPFLAGS'
111866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
111868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
111874 echo "$as_me:$LINENO: result: $glibcxx_cv_func_finitel_use" >&5
111875 echo "${ECHO_T}$glibcxx_cv_func_finitel_use" >&6
111877 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
111879 for ac_func in finitel
111881 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
111882 echo "$as_me:$LINENO: checking for $ac_func" >&5
111883 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
111884 if eval "test \"\${$as_ac_var+set}\" = set"; then
111885 echo $ECHO_N "(cached) $ECHO_C" >&6
111887 if test x$gcc_no_link = xyes; then
111888 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
111889 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
111890 { (exit 1); exit 1; }; }
111892 cat >conftest.$ac_ext <<_ACEOF
111893 /* confdefs.h. */
111894 _ACEOF
111895 cat confdefs.h >>conftest.$ac_ext
111896 cat >>conftest.$ac_ext <<_ACEOF
111897 /* end confdefs.h. */
111898 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
111899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
111900 #define $ac_func innocuous_$ac_func
111902 /* System header to define __stub macros and hopefully few prototypes,
111903 which can conflict with char $ac_func (); below.
111904 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
111905 <limits.h> exists even on freestanding compilers. */
111907 #ifdef __STDC__
111908 # include <limits.h>
111909 #else
111910 # include <assert.h>
111911 #endif
111913 #undef $ac_func
111915 /* Override any gcc2 internal prototype to avoid an error. */
111916 #ifdef __cplusplus
111917 extern "C"
111919 #endif
111920 /* We use char because int might match the return type of a gcc2
111921 builtin and then its argument prototype would still apply. */
111922 char $ac_func ();
111923 /* The GNU C library defines this for functions which it implements
111924 to always fail with ENOSYS. Some functions are actually named
111925 something starting with __ and the normal name is an alias. */
111926 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
111927 choke me
111928 #else
111929 char (*f) () = $ac_func;
111930 #endif
111931 #ifdef __cplusplus
111933 #endif
111936 main ()
111938 return f != $ac_func;
111940 return 0;
111942 _ACEOF
111943 rm -f conftest.$ac_objext conftest$ac_exeext
111944 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
111945 (eval $ac_link) 2>conftest.er1
111946 ac_status=$?
111947 grep -v '^ *+' conftest.er1 >conftest.err
111948 rm -f conftest.er1
111949 cat conftest.err >&5
111950 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111951 (exit $ac_status); } &&
111952 { ac_try='test -z "$ac_c_werror_flag"
111953 || test ! -s conftest.err'
111954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111955 (eval $ac_try) 2>&5
111956 ac_status=$?
111957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111958 (exit $ac_status); }; } &&
111959 { ac_try='test -s conftest$ac_exeext'
111960 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
111961 (eval $ac_try) 2>&5
111962 ac_status=$?
111963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
111964 (exit $ac_status); }; }; then
111965 eval "$as_ac_var=yes"
111967 echo "$as_me: failed program was:" >&5
111968 sed 's/^/| /' conftest.$ac_ext >&5
111970 eval "$as_ac_var=no"
111972 rm -f conftest.err conftest.$ac_objext \
111973 conftest$ac_exeext conftest.$ac_ext
111975 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
111976 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
111977 if test `eval echo '${'$as_ac_var'}'` = yes; then
111978 cat >>confdefs.h <<_ACEOF
111979 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
111980 _ACEOF
111987 echo "$as_me:$LINENO: checking for _finitel declaration" >&5
111988 echo $ECHO_N "checking for _finitel declaration... $ECHO_C" >&6
111989 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
111990 if test "${glibcxx_cv_func__finitel_use+set}" = set; then
111991 echo $ECHO_N "(cached) $ECHO_C" >&6
111996 ac_ext=cc
111997 ac_cpp='$CXXCPP $CPPFLAGS'
111998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
111999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
112002 cat >conftest.$ac_ext <<_ACEOF
112003 /* confdefs.h. */
112004 _ACEOF
112005 cat confdefs.h >>conftest.$ac_ext
112006 cat >>conftest.$ac_ext <<_ACEOF
112007 /* end confdefs.h. */
112008 #include <math.h>
112009 #ifdef HAVE_IEEEFP_H
112010 #include <ieeefp.h>
112011 #endif
112014 main ()
112016 _finitel(0);
112018 return 0;
112020 _ACEOF
112021 rm -f conftest.$ac_objext
112022 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112023 (eval $ac_compile) 2>conftest.er1
112024 ac_status=$?
112025 grep -v '^ *+' conftest.er1 >conftest.err
112026 rm -f conftest.er1
112027 cat conftest.err >&5
112028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112029 (exit $ac_status); } &&
112030 { ac_try='test -z "$ac_cxx_werror_flag"
112031 || test ! -s conftest.err'
112032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112033 (eval $ac_try) 2>&5
112034 ac_status=$?
112035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112036 (exit $ac_status); }; } &&
112037 { ac_try='test -s conftest.$ac_objext'
112038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112039 (eval $ac_try) 2>&5
112040 ac_status=$?
112041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112042 (exit $ac_status); }; }; then
112043 glibcxx_cv_func__finitel_use=yes
112045 echo "$as_me: failed program was:" >&5
112046 sed 's/^/| /' conftest.$ac_ext >&5
112048 glibcxx_cv_func__finitel_use=no
112050 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112051 ac_ext=c
112052 ac_cpp='$CPP $CPPFLAGS'
112053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
112061 echo "$as_me:$LINENO: result: $glibcxx_cv_func__finitel_use" >&5
112062 echo "${ECHO_T}$glibcxx_cv_func__finitel_use" >&6
112064 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
112066 for ac_func in _finitel
112068 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112069 echo "$as_me:$LINENO: checking for $ac_func" >&5
112070 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112071 if eval "test \"\${$as_ac_var+set}\" = set"; then
112072 echo $ECHO_N "(cached) $ECHO_C" >&6
112074 if test x$gcc_no_link = xyes; then
112075 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112076 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112077 { (exit 1); exit 1; }; }
112079 cat >conftest.$ac_ext <<_ACEOF
112080 /* confdefs.h. */
112081 _ACEOF
112082 cat confdefs.h >>conftest.$ac_ext
112083 cat >>conftest.$ac_ext <<_ACEOF
112084 /* end confdefs.h. */
112085 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112086 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112087 #define $ac_func innocuous_$ac_func
112089 /* System header to define __stub macros and hopefully few prototypes,
112090 which can conflict with char $ac_func (); below.
112091 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112092 <limits.h> exists even on freestanding compilers. */
112094 #ifdef __STDC__
112095 # include <limits.h>
112096 #else
112097 # include <assert.h>
112098 #endif
112100 #undef $ac_func
112102 /* Override any gcc2 internal prototype to avoid an error. */
112103 #ifdef __cplusplus
112104 extern "C"
112106 #endif
112107 /* We use char because int might match the return type of a gcc2
112108 builtin and then its argument prototype would still apply. */
112109 char $ac_func ();
112110 /* The GNU C library defines this for functions which it implements
112111 to always fail with ENOSYS. Some functions are actually named
112112 something starting with __ and the normal name is an alias. */
112113 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112114 choke me
112115 #else
112116 char (*f) () = $ac_func;
112117 #endif
112118 #ifdef __cplusplus
112120 #endif
112123 main ()
112125 return f != $ac_func;
112127 return 0;
112129 _ACEOF
112130 rm -f conftest.$ac_objext conftest$ac_exeext
112131 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112132 (eval $ac_link) 2>conftest.er1
112133 ac_status=$?
112134 grep -v '^ *+' conftest.er1 >conftest.err
112135 rm -f conftest.er1
112136 cat conftest.err >&5
112137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112138 (exit $ac_status); } &&
112139 { ac_try='test -z "$ac_c_werror_flag"
112140 || test ! -s conftest.err'
112141 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112142 (eval $ac_try) 2>&5
112143 ac_status=$?
112144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112145 (exit $ac_status); }; } &&
112146 { ac_try='test -s conftest$ac_exeext'
112147 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112148 (eval $ac_try) 2>&5
112149 ac_status=$?
112150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112151 (exit $ac_status); }; }; then
112152 eval "$as_ac_var=yes"
112154 echo "$as_me: failed program was:" >&5
112155 sed 's/^/| /' conftest.$ac_ext >&5
112157 eval "$as_ac_var=no"
112159 rm -f conftest.err conftest.$ac_objext \
112160 conftest$ac_exeext conftest.$ac_ext
112162 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112163 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112164 if test `eval echo '${'$as_ac_var'}'` = yes; then
112165 cat >>confdefs.h <<_ACEOF
112166 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112167 _ACEOF
112179 LIBS="$ac_save_LIBS"
112180 CXXFLAGS="$ac_save_CXXFLAGS"
112183 ac_test_CXXFLAGS="${CXXFLAGS+set}"
112184 ac_save_CXXFLAGS="$CXXFLAGS"
112185 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
112188 echo "$as_me:$LINENO: checking for strtold declaration" >&5
112189 echo $ECHO_N "checking for strtold declaration... $ECHO_C" >&6
112190 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
112191 if test "${glibcxx_cv_func_strtold_use+set}" = set; then
112192 echo $ECHO_N "(cached) $ECHO_C" >&6
112197 ac_ext=cc
112198 ac_cpp='$CXXCPP $CPPFLAGS'
112199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
112203 cat >conftest.$ac_ext <<_ACEOF
112204 /* confdefs.h. */
112205 _ACEOF
112206 cat confdefs.h >>conftest.$ac_ext
112207 cat >>conftest.$ac_ext <<_ACEOF
112208 /* end confdefs.h. */
112209 #include <stdlib.h>
112211 main ()
112213 strtold(0, 0);
112215 return 0;
112217 _ACEOF
112218 rm -f conftest.$ac_objext
112219 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112220 (eval $ac_compile) 2>conftest.er1
112221 ac_status=$?
112222 grep -v '^ *+' conftest.er1 >conftest.err
112223 rm -f conftest.er1
112224 cat conftest.err >&5
112225 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112226 (exit $ac_status); } &&
112227 { ac_try='test -z "$ac_cxx_werror_flag"
112228 || test ! -s conftest.err'
112229 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112230 (eval $ac_try) 2>&5
112231 ac_status=$?
112232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112233 (exit $ac_status); }; } &&
112234 { ac_try='test -s conftest.$ac_objext'
112235 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112236 (eval $ac_try) 2>&5
112237 ac_status=$?
112238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112239 (exit $ac_status); }; }; then
112240 glibcxx_cv_func_strtold_use=yes
112242 echo "$as_me: failed program was:" >&5
112243 sed 's/^/| /' conftest.$ac_ext >&5
112245 glibcxx_cv_func_strtold_use=no
112247 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112248 ac_ext=c
112249 ac_cpp='$CPP $CPPFLAGS'
112250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
112258 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtold_use" >&5
112259 echo "${ECHO_T}$glibcxx_cv_func_strtold_use" >&6
112260 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
112262 for ac_func in strtold
112264 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112265 echo "$as_me:$LINENO: checking for $ac_func" >&5
112266 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112267 if eval "test \"\${$as_ac_var+set}\" = set"; then
112268 echo $ECHO_N "(cached) $ECHO_C" >&6
112270 if test x$gcc_no_link = xyes; then
112271 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112272 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112273 { (exit 1); exit 1; }; }
112275 cat >conftest.$ac_ext <<_ACEOF
112276 /* confdefs.h. */
112277 _ACEOF
112278 cat confdefs.h >>conftest.$ac_ext
112279 cat >>conftest.$ac_ext <<_ACEOF
112280 /* end confdefs.h. */
112281 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112283 #define $ac_func innocuous_$ac_func
112285 /* System header to define __stub macros and hopefully few prototypes,
112286 which can conflict with char $ac_func (); below.
112287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112288 <limits.h> exists even on freestanding compilers. */
112290 #ifdef __STDC__
112291 # include <limits.h>
112292 #else
112293 # include <assert.h>
112294 #endif
112296 #undef $ac_func
112298 /* Override any gcc2 internal prototype to avoid an error. */
112299 #ifdef __cplusplus
112300 extern "C"
112302 #endif
112303 /* We use char because int might match the return type of a gcc2
112304 builtin and then its argument prototype would still apply. */
112305 char $ac_func ();
112306 /* The GNU C library defines this for functions which it implements
112307 to always fail with ENOSYS. Some functions are actually named
112308 something starting with __ and the normal name is an alias. */
112309 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112310 choke me
112311 #else
112312 char (*f) () = $ac_func;
112313 #endif
112314 #ifdef __cplusplus
112316 #endif
112319 main ()
112321 return f != $ac_func;
112323 return 0;
112325 _ACEOF
112326 rm -f conftest.$ac_objext conftest$ac_exeext
112327 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112328 (eval $ac_link) 2>conftest.er1
112329 ac_status=$?
112330 grep -v '^ *+' conftest.er1 >conftest.err
112331 rm -f conftest.er1
112332 cat conftest.err >&5
112333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112334 (exit $ac_status); } &&
112335 { ac_try='test -z "$ac_c_werror_flag"
112336 || test ! -s conftest.err'
112337 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112338 (eval $ac_try) 2>&5
112339 ac_status=$?
112340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112341 (exit $ac_status); }; } &&
112342 { ac_try='test -s conftest$ac_exeext'
112343 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112344 (eval $ac_try) 2>&5
112345 ac_status=$?
112346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112347 (exit $ac_status); }; }; then
112348 eval "$as_ac_var=yes"
112350 echo "$as_me: failed program was:" >&5
112351 sed 's/^/| /' conftest.$ac_ext >&5
112353 eval "$as_ac_var=no"
112355 rm -f conftest.err conftest.$ac_objext \
112356 conftest$ac_exeext conftest.$ac_ext
112358 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112359 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112360 if test `eval echo '${'$as_ac_var'}'` = yes; then
112361 cat >>confdefs.h <<_ACEOF
112362 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112363 _ACEOF
112374 echo "$as_me:$LINENO: checking for strtof declaration" >&5
112375 echo $ECHO_N "checking for strtof declaration... $ECHO_C" >&6
112376 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
112377 if test "${glibcxx_cv_func_strtof_use+set}" = set; then
112378 echo $ECHO_N "(cached) $ECHO_C" >&6
112383 ac_ext=cc
112384 ac_cpp='$CXXCPP $CPPFLAGS'
112385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
112389 cat >conftest.$ac_ext <<_ACEOF
112390 /* confdefs.h. */
112391 _ACEOF
112392 cat confdefs.h >>conftest.$ac_ext
112393 cat >>conftest.$ac_ext <<_ACEOF
112394 /* end confdefs.h. */
112395 #include <stdlib.h>
112397 main ()
112399 strtof(0, 0);
112401 return 0;
112403 _ACEOF
112404 rm -f conftest.$ac_objext
112405 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
112406 (eval $ac_compile) 2>conftest.er1
112407 ac_status=$?
112408 grep -v '^ *+' conftest.er1 >conftest.err
112409 rm -f conftest.er1
112410 cat conftest.err >&5
112411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112412 (exit $ac_status); } &&
112413 { ac_try='test -z "$ac_cxx_werror_flag"
112414 || test ! -s conftest.err'
112415 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112416 (eval $ac_try) 2>&5
112417 ac_status=$?
112418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112419 (exit $ac_status); }; } &&
112420 { ac_try='test -s conftest.$ac_objext'
112421 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112422 (eval $ac_try) 2>&5
112423 ac_status=$?
112424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112425 (exit $ac_status); }; }; then
112426 glibcxx_cv_func_strtof_use=yes
112428 echo "$as_me: failed program was:" >&5
112429 sed 's/^/| /' conftest.$ac_ext >&5
112431 glibcxx_cv_func_strtof_use=no
112433 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
112434 ac_ext=c
112435 ac_cpp='$CPP $CPPFLAGS'
112436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
112437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
112438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
112444 echo "$as_me:$LINENO: result: $glibcxx_cv_func_strtof_use" >&5
112445 echo "${ECHO_T}$glibcxx_cv_func_strtof_use" >&6
112446 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
112448 for ac_func in strtof
112450 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
112451 echo "$as_me:$LINENO: checking for $ac_func" >&5
112452 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
112453 if eval "test \"\${$as_ac_var+set}\" = set"; then
112454 echo $ECHO_N "(cached) $ECHO_C" >&6
112456 if test x$gcc_no_link = xyes; then
112457 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112458 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112459 { (exit 1); exit 1; }; }
112461 cat >conftest.$ac_ext <<_ACEOF
112462 /* confdefs.h. */
112463 _ACEOF
112464 cat confdefs.h >>conftest.$ac_ext
112465 cat >>conftest.$ac_ext <<_ACEOF
112466 /* end confdefs.h. */
112467 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
112468 For example, HP-UX 11i <limits.h> declares gettimeofday. */
112469 #define $ac_func innocuous_$ac_func
112471 /* System header to define __stub macros and hopefully few prototypes,
112472 which can conflict with char $ac_func (); below.
112473 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
112474 <limits.h> exists even on freestanding compilers. */
112476 #ifdef __STDC__
112477 # include <limits.h>
112478 #else
112479 # include <assert.h>
112480 #endif
112482 #undef $ac_func
112484 /* Override any gcc2 internal prototype to avoid an error. */
112485 #ifdef __cplusplus
112486 extern "C"
112488 #endif
112489 /* We use char because int might match the return type of a gcc2
112490 builtin and then its argument prototype would still apply. */
112491 char $ac_func ();
112492 /* The GNU C library defines this for functions which it implements
112493 to always fail with ENOSYS. Some functions are actually named
112494 something starting with __ and the normal name is an alias. */
112495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
112496 choke me
112497 #else
112498 char (*f) () = $ac_func;
112499 #endif
112500 #ifdef __cplusplus
112502 #endif
112505 main ()
112507 return f != $ac_func;
112509 return 0;
112511 _ACEOF
112512 rm -f conftest.$ac_objext conftest$ac_exeext
112513 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112514 (eval $ac_link) 2>conftest.er1
112515 ac_status=$?
112516 grep -v '^ *+' conftest.er1 >conftest.err
112517 rm -f conftest.er1
112518 cat conftest.err >&5
112519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112520 (exit $ac_status); } &&
112521 { ac_try='test -z "$ac_c_werror_flag"
112522 || test ! -s conftest.err'
112523 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112524 (eval $ac_try) 2>&5
112525 ac_status=$?
112526 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112527 (exit $ac_status); }; } &&
112528 { ac_try='test -s conftest$ac_exeext'
112529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112530 (eval $ac_try) 2>&5
112531 ac_status=$?
112532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112533 (exit $ac_status); }; }; then
112534 eval "$as_ac_var=yes"
112536 echo "$as_me: failed program was:" >&5
112537 sed 's/^/| /' conftest.$ac_ext >&5
112539 eval "$as_ac_var=no"
112541 rm -f conftest.err conftest.$ac_objext \
112542 conftest$ac_exeext conftest.$ac_ext
112544 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
112545 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
112546 if test `eval echo '${'$as_ac_var'}'` = yes; then
112547 cat >>confdefs.h <<_ACEOF
112548 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
112549 _ACEOF
112560 CXXFLAGS="$ac_save_CXXFLAGS"
112563 *-netbsd*)
112564 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112567 # If we're not using GNU ld, then there's no point in even trying these
112568 # tests. Check for that first. We should have already tested for gld
112569 # by now (in libtool), but require it now just to be safe...
112570 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112571 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112575 # The name set by libtool depends on the version of libtool. Shame on us
112576 # for depending on an impl detail, but c'est la vie. Older versions used
112577 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112578 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112579 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112580 # set (hence we're using an older libtool), then set it.
112581 if test x${with_gnu_ld+set} != xset; then
112582 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112583 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112584 with_gnu_ld=no
112586 with_gnu_ld=$ac_cv_prog_gnu_ld
112590 # Start by getting the version number. I think the libtool test already
112591 # does some of this, but throws away the result.
112592 glibcxx_ld_is_gold=no
112593 if test x"$with_gnu_ld" = x"yes"; then
112594 echo "$as_me:$LINENO: checking for ld version" >&5
112595 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112597 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112598 glibcxx_ld_is_gold=yes
112600 ldver=`$LD --version 2>/dev/null | head -1 | \
112601 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112603 glibcxx_gnu_ld_version=`echo $ldver | \
112604 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112605 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112606 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112609 # Set --gc-sections.
112610 glibcxx_have_gc_sections=no
112611 if test "$glibcxx_ld_is_gold" = "yes"; then
112612 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112613 glibcxx_have_gc_sections=yes
112616 glibcxx_gcsections_min_ld=21602
112617 if test x"$with_gnu_ld" = x"yes" &&
112618 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112619 glibcxx_have_gc_sections=yes
112622 if test "$glibcxx_have_gc_sections" = "yes"; then
112623 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112624 # NB: This flag only works reliably after 2.16.1. Configure tests
112625 # for this are difficult, so hard wire a value that should work.
112627 ac_test_CFLAGS="${CFLAGS+set}"
112628 ac_save_CFLAGS="$CFLAGS"
112629 CFLAGS='-Wl,--gc-sections'
112631 # Check for -Wl,--gc-sections
112632 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112633 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112634 if test x$gcc_no_link = xyes; then
112635 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112636 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112637 { (exit 1); exit 1; }; }
112639 cat >conftest.$ac_ext <<_ACEOF
112640 /* confdefs.h. */
112641 _ACEOF
112642 cat confdefs.h >>conftest.$ac_ext
112643 cat >>conftest.$ac_ext <<_ACEOF
112644 /* end confdefs.h. */
112645 int one(void) { return 1; }
112646 int two(void) { return 2; }
112649 main ()
112651 two();
112653 return 0;
112655 _ACEOF
112656 rm -f conftest.$ac_objext conftest$ac_exeext
112657 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112658 (eval $ac_link) 2>conftest.er1
112659 ac_status=$?
112660 grep -v '^ *+' conftest.er1 >conftest.err
112661 rm -f conftest.er1
112662 cat conftest.err >&5
112663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112664 (exit $ac_status); } &&
112665 { ac_try='test -z "$ac_c_werror_flag"
112666 || test ! -s conftest.err'
112667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112668 (eval $ac_try) 2>&5
112669 ac_status=$?
112670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112671 (exit $ac_status); }; } &&
112672 { ac_try='test -s conftest$ac_exeext'
112673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112674 (eval $ac_try) 2>&5
112675 ac_status=$?
112676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112677 (exit $ac_status); }; }; then
112678 ac_gcsections=yes
112680 echo "$as_me: failed program was:" >&5
112681 sed 's/^/| /' conftest.$ac_ext >&5
112683 ac_gcsections=no
112685 rm -f conftest.err conftest.$ac_objext \
112686 conftest$ac_exeext conftest.$ac_ext
112687 if test "$ac_gcsections" = "yes"; then
112688 rm -f conftest.c
112689 touch conftest.c
112690 if $CC -c conftest.c; then
112691 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112692 grep "Warning: gc-sections option ignored" > /dev/null; then
112693 ac_gcsections=no
112696 rm -f conftest.c conftest.o conftest
112698 if test "$ac_gcsections" = "yes"; then
112699 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112701 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112702 echo "${ECHO_T}$ac_gcsections" >&6
112704 if test "$ac_test_CFLAGS" = set; then
112705 CFLAGS="$ac_save_CFLAGS"
112707 # this is the suspicious part
112708 CFLAGS=''
112712 # Set -z,relro.
112713 # Note this is only for shared objects.
112714 ac_ld_relro=no
112715 if test x"$with_gnu_ld" = x"yes"; then
112716 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112717 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112718 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112719 if test -n "$cxx_z_relo"; then
112720 OPT_LDFLAGS="-Wl,-z,relro"
112721 ac_ld_relro=yes
112723 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112724 echo "${ECHO_T}$ac_ld_relro" >&6
112727 # Set linker optimization flags.
112728 if test x"$with_gnu_ld" = x"yes"; then
112729 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112735 cat >>confdefs.h <<\_ACEOF
112736 #define HAVE_FINITEF 1
112737 _ACEOF
112739 cat >>confdefs.h <<\_ACEOF
112740 #define HAVE_FINITE 1
112741 _ACEOF
112743 cat >>confdefs.h <<\_ACEOF
112744 #define HAVE_FREXPF 1
112745 _ACEOF
112747 cat >>confdefs.h <<\_ACEOF
112748 #define HAVE_HYPOTF 1
112749 _ACEOF
112751 cat >>confdefs.h <<\_ACEOF
112752 #define HAVE_ISINF 1
112753 _ACEOF
112755 cat >>confdefs.h <<\_ACEOF
112756 #define HAVE_ISINFF 1
112757 _ACEOF
112759 cat >>confdefs.h <<\_ACEOF
112760 #define HAVE_ISNAN 1
112761 _ACEOF
112763 cat >>confdefs.h <<\_ACEOF
112764 #define HAVE_ISNANF 1
112765 _ACEOF
112767 if test x"long_double_math_on_this_cpu" = x"yes"; then
112768 cat >>confdefs.h <<\_ACEOF
112769 #define HAVE_FINITEL 1
112770 _ACEOF
112772 cat >>confdefs.h <<\_ACEOF
112773 #define HAVE_ISINFL 1
112774 _ACEOF
112776 cat >>confdefs.h <<\_ACEOF
112777 #define HAVE_ISNANL 1
112778 _ACEOF
112782 *-netware)
112783 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112786 # If we're not using GNU ld, then there's no point in even trying these
112787 # tests. Check for that first. We should have already tested for gld
112788 # by now (in libtool), but require it now just to be safe...
112789 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112790 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112794 # The name set by libtool depends on the version of libtool. Shame on us
112795 # for depending on an impl detail, but c'est la vie. Older versions used
112796 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112797 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112798 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112799 # set (hence we're using an older libtool), then set it.
112800 if test x${with_gnu_ld+set} != xset; then
112801 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112802 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112803 with_gnu_ld=no
112805 with_gnu_ld=$ac_cv_prog_gnu_ld
112809 # Start by getting the version number. I think the libtool test already
112810 # does some of this, but throws away the result.
112811 glibcxx_ld_is_gold=no
112812 if test x"$with_gnu_ld" = x"yes"; then
112813 echo "$as_me:$LINENO: checking for ld version" >&5
112814 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
112816 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
112817 glibcxx_ld_is_gold=yes
112819 ldver=`$LD --version 2>/dev/null | head -1 | \
112820 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
112822 glibcxx_gnu_ld_version=`echo $ldver | \
112823 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
112824 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
112825 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
112828 # Set --gc-sections.
112829 glibcxx_have_gc_sections=no
112830 if test "$glibcxx_ld_is_gold" = "yes"; then
112831 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
112832 glibcxx_have_gc_sections=yes
112835 glibcxx_gcsections_min_ld=21602
112836 if test x"$with_gnu_ld" = x"yes" &&
112837 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
112838 glibcxx_have_gc_sections=yes
112841 if test "$glibcxx_have_gc_sections" = "yes"; then
112842 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
112843 # NB: This flag only works reliably after 2.16.1. Configure tests
112844 # for this are difficult, so hard wire a value that should work.
112846 ac_test_CFLAGS="${CFLAGS+set}"
112847 ac_save_CFLAGS="$CFLAGS"
112848 CFLAGS='-Wl,--gc-sections'
112850 # Check for -Wl,--gc-sections
112851 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
112852 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
112853 if test x$gcc_no_link = xyes; then
112854 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
112855 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
112856 { (exit 1); exit 1; }; }
112858 cat >conftest.$ac_ext <<_ACEOF
112859 /* confdefs.h. */
112860 _ACEOF
112861 cat confdefs.h >>conftest.$ac_ext
112862 cat >>conftest.$ac_ext <<_ACEOF
112863 /* end confdefs.h. */
112864 int one(void) { return 1; }
112865 int two(void) { return 2; }
112868 main ()
112870 two();
112872 return 0;
112874 _ACEOF
112875 rm -f conftest.$ac_objext conftest$ac_exeext
112876 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
112877 (eval $ac_link) 2>conftest.er1
112878 ac_status=$?
112879 grep -v '^ *+' conftest.er1 >conftest.err
112880 rm -f conftest.er1
112881 cat conftest.err >&5
112882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112883 (exit $ac_status); } &&
112884 { ac_try='test -z "$ac_c_werror_flag"
112885 || test ! -s conftest.err'
112886 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112887 (eval $ac_try) 2>&5
112888 ac_status=$?
112889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112890 (exit $ac_status); }; } &&
112891 { ac_try='test -s conftest$ac_exeext'
112892 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
112893 (eval $ac_try) 2>&5
112894 ac_status=$?
112895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
112896 (exit $ac_status); }; }; then
112897 ac_gcsections=yes
112899 echo "$as_me: failed program was:" >&5
112900 sed 's/^/| /' conftest.$ac_ext >&5
112902 ac_gcsections=no
112904 rm -f conftest.err conftest.$ac_objext \
112905 conftest$ac_exeext conftest.$ac_ext
112906 if test "$ac_gcsections" = "yes"; then
112907 rm -f conftest.c
112908 touch conftest.c
112909 if $CC -c conftest.c; then
112910 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
112911 grep "Warning: gc-sections option ignored" > /dev/null; then
112912 ac_gcsections=no
112915 rm -f conftest.c conftest.o conftest
112917 if test "$ac_gcsections" = "yes"; then
112918 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
112920 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
112921 echo "${ECHO_T}$ac_gcsections" >&6
112923 if test "$ac_test_CFLAGS" = set; then
112924 CFLAGS="$ac_save_CFLAGS"
112926 # this is the suspicious part
112927 CFLAGS=''
112931 # Set -z,relro.
112932 # Note this is only for shared objects.
112933 ac_ld_relro=no
112934 if test x"$with_gnu_ld" = x"yes"; then
112935 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
112936 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
112937 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
112938 if test -n "$cxx_z_relo"; then
112939 OPT_LDFLAGS="-Wl,-z,relro"
112940 ac_ld_relro=yes
112942 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
112943 echo "${ECHO_T}$ac_ld_relro" >&6
112946 # Set linker optimization flags.
112947 if test x"$with_gnu_ld" = x"yes"; then
112948 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
112954 cat >>confdefs.h <<\_ACEOF
112955 #define HAVE_HYPOT 1
112956 _ACEOF
112958 cat >>confdefs.h <<\_ACEOF
112959 #define HAVE_ISINF 1
112960 _ACEOF
112962 cat >>confdefs.h <<\_ACEOF
112963 #define HAVE_ISNAN 1
112964 _ACEOF
112967 *-qnx6.1* | *-qnx6.2*)
112968 SECTION_FLAGS='-ffunction-sections -fdata-sections'
112971 # If we're not using GNU ld, then there's no point in even trying these
112972 # tests. Check for that first. We should have already tested for gld
112973 # by now (in libtool), but require it now just to be safe...
112974 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
112975 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
112979 # The name set by libtool depends on the version of libtool. Shame on us
112980 # for depending on an impl detail, but c'est la vie. Older versions used
112981 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
112982 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
112983 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
112984 # set (hence we're using an older libtool), then set it.
112985 if test x${with_gnu_ld+set} != xset; then
112986 if test x${ac_cv_prog_gnu_ld+set} != xset; then
112987 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
112988 with_gnu_ld=no
112990 with_gnu_ld=$ac_cv_prog_gnu_ld
112994 # Start by getting the version number. I think the libtool test already
112995 # does some of this, but throws away the result.
112996 glibcxx_ld_is_gold=no
112997 if test x"$with_gnu_ld" = x"yes"; then
112998 echo "$as_me:$LINENO: checking for ld version" >&5
112999 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113001 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113002 glibcxx_ld_is_gold=yes
113004 ldver=`$LD --version 2>/dev/null | head -1 | \
113005 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113007 glibcxx_gnu_ld_version=`echo $ldver | \
113008 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113009 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113010 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113013 # Set --gc-sections.
113014 glibcxx_have_gc_sections=no
113015 if test "$glibcxx_ld_is_gold" = "yes"; then
113016 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113017 glibcxx_have_gc_sections=yes
113020 glibcxx_gcsections_min_ld=21602
113021 if test x"$with_gnu_ld" = x"yes" &&
113022 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113023 glibcxx_have_gc_sections=yes
113026 if test "$glibcxx_have_gc_sections" = "yes"; then
113027 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113028 # NB: This flag only works reliably after 2.16.1. Configure tests
113029 # for this are difficult, so hard wire a value that should work.
113031 ac_test_CFLAGS="${CFLAGS+set}"
113032 ac_save_CFLAGS="$CFLAGS"
113033 CFLAGS='-Wl,--gc-sections'
113035 # Check for -Wl,--gc-sections
113036 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113037 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113038 if test x$gcc_no_link = xyes; then
113039 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113040 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113041 { (exit 1); exit 1; }; }
113043 cat >conftest.$ac_ext <<_ACEOF
113044 /* confdefs.h. */
113045 _ACEOF
113046 cat confdefs.h >>conftest.$ac_ext
113047 cat >>conftest.$ac_ext <<_ACEOF
113048 /* end confdefs.h. */
113049 int one(void) { return 1; }
113050 int two(void) { return 2; }
113053 main ()
113055 two();
113057 return 0;
113059 _ACEOF
113060 rm -f conftest.$ac_objext conftest$ac_exeext
113061 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113062 (eval $ac_link) 2>conftest.er1
113063 ac_status=$?
113064 grep -v '^ *+' conftest.er1 >conftest.err
113065 rm -f conftest.er1
113066 cat conftest.err >&5
113067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113068 (exit $ac_status); } &&
113069 { ac_try='test -z "$ac_c_werror_flag"
113070 || test ! -s conftest.err'
113071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113072 (eval $ac_try) 2>&5
113073 ac_status=$?
113074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113075 (exit $ac_status); }; } &&
113076 { ac_try='test -s conftest$ac_exeext'
113077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113078 (eval $ac_try) 2>&5
113079 ac_status=$?
113080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113081 (exit $ac_status); }; }; then
113082 ac_gcsections=yes
113084 echo "$as_me: failed program was:" >&5
113085 sed 's/^/| /' conftest.$ac_ext >&5
113087 ac_gcsections=no
113089 rm -f conftest.err conftest.$ac_objext \
113090 conftest$ac_exeext conftest.$ac_ext
113091 if test "$ac_gcsections" = "yes"; then
113092 rm -f conftest.c
113093 touch conftest.c
113094 if $CC -c conftest.c; then
113095 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113096 grep "Warning: gc-sections option ignored" > /dev/null; then
113097 ac_gcsections=no
113100 rm -f conftest.c conftest.o conftest
113102 if test "$ac_gcsections" = "yes"; then
113103 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113105 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113106 echo "${ECHO_T}$ac_gcsections" >&6
113108 if test "$ac_test_CFLAGS" = set; then
113109 CFLAGS="$ac_save_CFLAGS"
113111 # this is the suspicious part
113112 CFLAGS=''
113116 # Set -z,relro.
113117 # Note this is only for shared objects.
113118 ac_ld_relro=no
113119 if test x"$with_gnu_ld" = x"yes"; then
113120 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113121 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113122 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113123 if test -n "$cxx_z_relo"; then
113124 OPT_LDFLAGS="-Wl,-z,relro"
113125 ac_ld_relro=yes
113127 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113128 echo "${ECHO_T}$ac_ld_relro" >&6
113131 # Set linker optimization flags.
113132 if test x"$with_gnu_ld" = x"yes"; then
113133 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113139 cat >>confdefs.h <<\_ACEOF
113140 #define HAVE_COSF 1
113141 _ACEOF
113143 cat >>confdefs.h <<\_ACEOF
113144 #define HAVE_COSL 1
113145 _ACEOF
113147 cat >>confdefs.h <<\_ACEOF
113148 #define HAVE_COSHF 1
113149 _ACEOF
113151 cat >>confdefs.h <<\_ACEOF
113152 #define HAVE_COSHL 1
113153 _ACEOF
113155 cat >>confdefs.h <<\_ACEOF
113156 #define HAVE_LOGF 1
113157 _ACEOF
113159 cat >>confdefs.h <<\_ACEOF
113160 #define HAVE_LOGL 1
113161 _ACEOF
113163 cat >>confdefs.h <<\_ACEOF
113164 #define HAVE_LOG10F 1
113165 _ACEOF
113167 cat >>confdefs.h <<\_ACEOF
113168 #define HAVE_LOG10L 1
113169 _ACEOF
113171 cat >>confdefs.h <<\_ACEOF
113172 #define HAVE_SINF 1
113173 _ACEOF
113175 cat >>confdefs.h <<\_ACEOF
113176 #define HAVE_SINL 1
113177 _ACEOF
113179 cat >>confdefs.h <<\_ACEOF
113180 #define HAVE_SINHF 1
113181 _ACEOF
113183 cat >>confdefs.h <<\_ACEOF
113184 #define HAVE_SINHL 1
113185 _ACEOF
113188 *-solaris*)
113189 case "$target" in
113190 *-solaris2.7 | *-solaris2.8 | *-solaris2.9 | *-solaris2.10)
113192 # If we're not using GNU ld, then there's no point in even trying these
113193 # tests. Check for that first. We should have already tested for gld
113194 # by now (in libtool), but require it now just to be safe...
113195 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113196 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113200 # The name set by libtool depends on the version of libtool. Shame on us
113201 # for depending on an impl detail, but c'est la vie. Older versions used
113202 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113203 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113204 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113205 # set (hence we're using an older libtool), then set it.
113206 if test x${with_gnu_ld+set} != xset; then
113207 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113208 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113209 with_gnu_ld=no
113211 with_gnu_ld=$ac_cv_prog_gnu_ld
113215 # Start by getting the version number. I think the libtool test already
113216 # does some of this, but throws away the result.
113217 glibcxx_ld_is_gold=no
113218 if test x"$with_gnu_ld" = x"yes"; then
113219 echo "$as_me:$LINENO: checking for ld version" >&5
113220 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113222 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113223 glibcxx_ld_is_gold=yes
113225 ldver=`$LD --version 2>/dev/null | head -1 | \
113226 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113228 glibcxx_gnu_ld_version=`echo $ldver | \
113229 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113230 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113231 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113234 # Set --gc-sections.
113235 glibcxx_have_gc_sections=no
113236 if test "$glibcxx_ld_is_gold" = "yes"; then
113237 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113238 glibcxx_have_gc_sections=yes
113241 glibcxx_gcsections_min_ld=21602
113242 if test x"$with_gnu_ld" = x"yes" &&
113243 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113244 glibcxx_have_gc_sections=yes
113247 if test "$glibcxx_have_gc_sections" = "yes"; then
113248 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113249 # NB: This flag only works reliably after 2.16.1. Configure tests
113250 # for this are difficult, so hard wire a value that should work.
113252 ac_test_CFLAGS="${CFLAGS+set}"
113253 ac_save_CFLAGS="$CFLAGS"
113254 CFLAGS='-Wl,--gc-sections'
113256 # Check for -Wl,--gc-sections
113257 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113258 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113259 if test x$gcc_no_link = xyes; then
113260 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113261 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113262 { (exit 1); exit 1; }; }
113264 cat >conftest.$ac_ext <<_ACEOF
113265 /* confdefs.h. */
113266 _ACEOF
113267 cat confdefs.h >>conftest.$ac_ext
113268 cat >>conftest.$ac_ext <<_ACEOF
113269 /* end confdefs.h. */
113270 int one(void) { return 1; }
113271 int two(void) { return 2; }
113274 main ()
113276 two();
113278 return 0;
113280 _ACEOF
113281 rm -f conftest.$ac_objext conftest$ac_exeext
113282 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113283 (eval $ac_link) 2>conftest.er1
113284 ac_status=$?
113285 grep -v '^ *+' conftest.er1 >conftest.err
113286 rm -f conftest.er1
113287 cat conftest.err >&5
113288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113289 (exit $ac_status); } &&
113290 { ac_try='test -z "$ac_c_werror_flag"
113291 || test ! -s conftest.err'
113292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113293 (eval $ac_try) 2>&5
113294 ac_status=$?
113295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113296 (exit $ac_status); }; } &&
113297 { ac_try='test -s conftest$ac_exeext'
113298 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113299 (eval $ac_try) 2>&5
113300 ac_status=$?
113301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113302 (exit $ac_status); }; }; then
113303 ac_gcsections=yes
113305 echo "$as_me: failed program was:" >&5
113306 sed 's/^/| /' conftest.$ac_ext >&5
113308 ac_gcsections=no
113310 rm -f conftest.err conftest.$ac_objext \
113311 conftest$ac_exeext conftest.$ac_ext
113312 if test "$ac_gcsections" = "yes"; then
113313 rm -f conftest.c
113314 touch conftest.c
113315 if $CC -c conftest.c; then
113316 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113317 grep "Warning: gc-sections option ignored" > /dev/null; then
113318 ac_gcsections=no
113321 rm -f conftest.c conftest.o conftest
113323 if test "$ac_gcsections" = "yes"; then
113324 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113326 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113327 echo "${ECHO_T}$ac_gcsections" >&6
113329 if test "$ac_test_CFLAGS" = set; then
113330 CFLAGS="$ac_save_CFLAGS"
113332 # this is the suspicious part
113333 CFLAGS=''
113337 # Set -z,relro.
113338 # Note this is only for shared objects.
113339 ac_ld_relro=no
113340 if test x"$with_gnu_ld" = x"yes"; then
113341 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113342 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113343 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113344 if test -n "$cxx_z_relo"; then
113345 OPT_LDFLAGS="-Wl,-z,relro"
113346 ac_ld_relro=yes
113348 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113349 echo "${ECHO_T}$ac_ld_relro" >&6
113352 # Set linker optimization flags.
113353 if test x"$with_gnu_ld" = x"yes"; then
113354 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113360 cat >>confdefs.h <<\_ACEOF
113361 #define HAVE_MBSTATE_T 1
113362 _ACEOF
113364 cat >>confdefs.h <<\_ACEOF
113365 #define HAVE_FINITE 1
113366 _ACEOF
113368 cat >>confdefs.h <<\_ACEOF
113369 #define HAVE_FPCLASS 1
113370 _ACEOF
113372 # All of the dependencies for wide character support are here, so
113373 # turn it on.
113374 cat >>confdefs.h <<\_ACEOF
113375 #define _GLIBCXX_USE_WCHAR_T 1
113376 _ACEOF
113380 case "$target" in
113381 *-*-solaris2.10)
113382 # These two C99 functions are present only in Solaris >= 10
113383 cat >>confdefs.h <<\_ACEOF
113384 #define HAVE_STRTOF 1
113385 _ACEOF
113387 cat >>confdefs.h <<\_ACEOF
113388 #define HAVE_STRTOLD 1
113389 _ACEOF
113393 cat >>confdefs.h <<\_ACEOF
113394 #define HAVE_ISNAN 1
113395 _ACEOF
113397 cat >>confdefs.h <<\_ACEOF
113398 #define HAVE_ISNANF 1
113399 _ACEOF
113401 cat >>confdefs.h <<\_ACEOF
113402 #define HAVE_MODFF 1
113403 _ACEOF
113405 cat >>confdefs.h <<\_ACEOF
113406 #define HAVE_HYPOT 1
113407 _ACEOF
113410 *-tpf)
113411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
113414 # If we're not using GNU ld, then there's no point in even trying these
113415 # tests. Check for that first. We should have already tested for gld
113416 # by now (in libtool), but require it now just to be safe...
113417 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
113418 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
113422 # The name set by libtool depends on the version of libtool. Shame on us
113423 # for depending on an impl detail, but c'est la vie. Older versions used
113424 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
113425 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
113426 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
113427 # set (hence we're using an older libtool), then set it.
113428 if test x${with_gnu_ld+set} != xset; then
113429 if test x${ac_cv_prog_gnu_ld+set} != xset; then
113430 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
113431 with_gnu_ld=no
113433 with_gnu_ld=$ac_cv_prog_gnu_ld
113437 # Start by getting the version number. I think the libtool test already
113438 # does some of this, but throws away the result.
113439 glibcxx_ld_is_gold=no
113440 if test x"$with_gnu_ld" = x"yes"; then
113441 echo "$as_me:$LINENO: checking for ld version" >&5
113442 echo $ECHO_N "checking for ld version... $ECHO_C" >&6
113444 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
113445 glibcxx_ld_is_gold=yes
113447 ldver=`$LD --version 2>/dev/null | head -1 | \
113448 sed -e 's/GNU \(go\)\{0,1\}ld \(version \)\{0,1\}\(([^)]*) \)\{0,1\}\([0-9.][0-9.]*\).*/\4/'`
113450 glibcxx_gnu_ld_version=`echo $ldver | \
113451 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
113452 echo "$as_me:$LINENO: result: $glibcxx_gnu_ld_version" >&5
113453 echo "${ECHO_T}$glibcxx_gnu_ld_version" >&6
113456 # Set --gc-sections.
113457 glibcxx_have_gc_sections=no
113458 if test "$glibcxx_ld_is_gold" = "yes"; then
113459 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
113460 glibcxx_have_gc_sections=yes
113463 glibcxx_gcsections_min_ld=21602
113464 if test x"$with_gnu_ld" = x"yes" &&
113465 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
113466 glibcxx_have_gc_sections=yes
113469 if test "$glibcxx_have_gc_sections" = "yes"; then
113470 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
113471 # NB: This flag only works reliably after 2.16.1. Configure tests
113472 # for this are difficult, so hard wire a value that should work.
113474 ac_test_CFLAGS="${CFLAGS+set}"
113475 ac_save_CFLAGS="$CFLAGS"
113476 CFLAGS='-Wl,--gc-sections'
113478 # Check for -Wl,--gc-sections
113479 echo "$as_me:$LINENO: checking for ld that supports -Wl,--gc-sections" >&5
113480 echo $ECHO_N "checking for ld that supports -Wl,--gc-sections... $ECHO_C" >&6
113481 if test x$gcc_no_link = xyes; then
113482 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113483 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113484 { (exit 1); exit 1; }; }
113486 cat >conftest.$ac_ext <<_ACEOF
113487 /* confdefs.h. */
113488 _ACEOF
113489 cat confdefs.h >>conftest.$ac_ext
113490 cat >>conftest.$ac_ext <<_ACEOF
113491 /* end confdefs.h. */
113492 int one(void) { return 1; }
113493 int two(void) { return 2; }
113496 main ()
113498 two();
113500 return 0;
113502 _ACEOF
113503 rm -f conftest.$ac_objext conftest$ac_exeext
113504 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113505 (eval $ac_link) 2>conftest.er1
113506 ac_status=$?
113507 grep -v '^ *+' conftest.er1 >conftest.err
113508 rm -f conftest.er1
113509 cat conftest.err >&5
113510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113511 (exit $ac_status); } &&
113512 { ac_try='test -z "$ac_c_werror_flag"
113513 || test ! -s conftest.err'
113514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113515 (eval $ac_try) 2>&5
113516 ac_status=$?
113517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113518 (exit $ac_status); }; } &&
113519 { ac_try='test -s conftest$ac_exeext'
113520 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113521 (eval $ac_try) 2>&5
113522 ac_status=$?
113523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113524 (exit $ac_status); }; }; then
113525 ac_gcsections=yes
113527 echo "$as_me: failed program was:" >&5
113528 sed 's/^/| /' conftest.$ac_ext >&5
113530 ac_gcsections=no
113532 rm -f conftest.err conftest.$ac_objext \
113533 conftest$ac_exeext conftest.$ac_ext
113534 if test "$ac_gcsections" = "yes"; then
113535 rm -f conftest.c
113536 touch conftest.c
113537 if $CC -c conftest.c; then
113538 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
113539 grep "Warning: gc-sections option ignored" > /dev/null; then
113540 ac_gcsections=no
113543 rm -f conftest.c conftest.o conftest
113545 if test "$ac_gcsections" = "yes"; then
113546 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
113548 echo "$as_me:$LINENO: result: $ac_gcsections" >&5
113549 echo "${ECHO_T}$ac_gcsections" >&6
113551 if test "$ac_test_CFLAGS" = set; then
113552 CFLAGS="$ac_save_CFLAGS"
113554 # this is the suspicious part
113555 CFLAGS=''
113559 # Set -z,relro.
113560 # Note this is only for shared objects.
113561 ac_ld_relro=no
113562 if test x"$with_gnu_ld" = x"yes"; then
113563 echo "$as_me:$LINENO: checking for ld that supports -Wl,-z,relro" >&5
113564 echo $ECHO_N "checking for ld that supports -Wl,-z,relro... $ECHO_C" >&6
113565 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
113566 if test -n "$cxx_z_relo"; then
113567 OPT_LDFLAGS="-Wl,-z,relro"
113568 ac_ld_relro=yes
113570 echo "$as_me:$LINENO: result: $ac_ld_relro" >&5
113571 echo "${ECHO_T}$ac_ld_relro" >&6
113574 # Set linker optimization flags.
113575 if test x"$with_gnu_ld" = x"yes"; then
113576 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
113582 cat >>confdefs.h <<\_ACEOF
113583 #define HAVE_FINITE 1
113584 _ACEOF
113586 cat >>confdefs.h <<\_ACEOF
113587 #define HAVE_FINITEF 1
113588 _ACEOF
113590 cat >>confdefs.h <<\_ACEOF
113591 #define HAVE_FREXPF 1
113592 _ACEOF
113594 cat >>confdefs.h <<\_ACEOF
113595 #define HAVE_HYPOTF 1
113596 _ACEOF
113598 cat >>confdefs.h <<\_ACEOF
113599 #define HAVE_ISINF 1
113600 _ACEOF
113602 cat >>confdefs.h <<\_ACEOF
113603 #define HAVE_ISINFF 1
113604 _ACEOF
113606 cat >>confdefs.h <<\_ACEOF
113607 #define HAVE_ISNAN 1
113608 _ACEOF
113610 cat >>confdefs.h <<\_ACEOF
113611 #define HAVE_ISNANF 1
113612 _ACEOF
113614 cat >>confdefs.h <<\_ACEOF
113615 #define HAVE_SINCOS 1
113616 _ACEOF
113618 cat >>confdefs.h <<\_ACEOF
113619 #define HAVE_SINCOSF 1
113620 _ACEOF
113622 if test x"long_double_math_on_this_cpu" = x"yes"; then
113623 cat >>confdefs.h <<\_ACEOF
113624 #define HAVE_FINITEL 1
113625 _ACEOF
113627 cat >>confdefs.h <<\_ACEOF
113628 #define HAVE_HYPOTL 1
113629 _ACEOF
113631 cat >>confdefs.h <<\_ACEOF
113632 #define HAVE_ISINFL 1
113633 _ACEOF
113635 cat >>confdefs.h <<\_ACEOF
113636 #define HAVE_ISNANL 1
113637 _ACEOF
113641 *-vxworks)
113642 cat >>confdefs.h <<\_ACEOF
113643 #define HAVE_ACOSF 1
113644 _ACEOF
113646 cat >>confdefs.h <<\_ACEOF
113647 #define HAVE_ASINF 1
113648 _ACEOF
113650 cat >>confdefs.h <<\_ACEOF
113651 #define HAVE_ATAN2F 1
113652 _ACEOF
113654 cat >>confdefs.h <<\_ACEOF
113655 #define HAVE_ATANF 1
113656 _ACEOF
113658 cat >>confdefs.h <<\_ACEOF
113659 #define HAVE_CEILF 1
113660 _ACEOF
113662 cat >>confdefs.h <<\_ACEOF
113663 #define HAVE_COSF 1
113664 _ACEOF
113666 cat >>confdefs.h <<\_ACEOF
113667 #define HAVE_COSHF 1
113668 _ACEOF
113670 cat >>confdefs.h <<\_ACEOF
113671 #define HAVE_EXPF 1
113672 _ACEOF
113674 cat >>confdefs.h <<\_ACEOF
113675 #define HAVE_FABSF 1
113676 _ACEOF
113678 cat >>confdefs.h <<\_ACEOF
113679 #define HAVE_FLOORF 1
113680 _ACEOF
113682 cat >>confdefs.h <<\_ACEOF
113683 #define HAVE_FMODF 1
113684 _ACEOF
113686 cat >>confdefs.h <<\_ACEOF
113687 #define HAVE_HYPOT 1
113688 _ACEOF
113690 cat >>confdefs.h <<\_ACEOF
113691 #define HAVE_LOG10F 1
113692 _ACEOF
113694 cat >>confdefs.h <<\_ACEOF
113695 #define HAVE_LOGF 1
113696 _ACEOF
113698 cat >>confdefs.h <<\_ACEOF
113699 #define HAVE_POWF 1
113700 _ACEOF
113702 cat >>confdefs.h <<\_ACEOF
113703 #define HAVE_SINF 1
113704 _ACEOF
113706 cat >>confdefs.h <<\_ACEOF
113707 #define HAVE_SINHF 1
113708 _ACEOF
113710 cat >>confdefs.h <<\_ACEOF
113711 #define HAVE_SQRTF 1
113712 _ACEOF
113714 cat >>confdefs.h <<\_ACEOF
113715 #define HAVE_TANF 1
113716 _ACEOF
113718 cat >>confdefs.h <<\_ACEOF
113719 #define HAVE_TANHF 1
113720 _ACEOF
113724 { { echo "$as_me:$LINENO: error: No support for this host/target combination." >&5
113725 echo "$as_me: error: No support for this host/target combination." >&2;}
113726 { (exit 1); exit 1; }; }
113732 # At some point, we should differentiate between architectures
113733 # like x86, which have long double versions, and alpha/powerpc/etc.,
113734 # which don't. For the time being, punt.
113735 if test x"long_double_math_on_this_cpu" = x"yes"; then
113736 cat >>confdefs.h <<\_ACEOF
113737 #define HAVE_ACOSL 1
113738 _ACEOF
113740 cat >>confdefs.h <<\_ACEOF
113741 #define HAVE_ASINL 1
113742 _ACEOF
113744 cat >>confdefs.h <<\_ACEOF
113745 #define HAVE_ATAN2L 1
113746 _ACEOF
113748 cat >>confdefs.h <<\_ACEOF
113749 #define HAVE_ATANL 1
113750 _ACEOF
113752 cat >>confdefs.h <<\_ACEOF
113753 #define HAVE_CEILL 1
113754 _ACEOF
113756 cat >>confdefs.h <<\_ACEOF
113757 #define HAVE_COSL 1
113758 _ACEOF
113760 cat >>confdefs.h <<\_ACEOF
113761 #define HAVE_COSHL 1
113762 _ACEOF
113764 cat >>confdefs.h <<\_ACEOF
113765 #define HAVE_EXPL 1
113766 _ACEOF
113768 cat >>confdefs.h <<\_ACEOF
113769 #define HAVE_FABSL 1
113770 _ACEOF
113772 cat >>confdefs.h <<\_ACEOF
113773 #define HAVE_FLOORL 1
113774 _ACEOF
113776 cat >>confdefs.h <<\_ACEOF
113777 #define HAVE_FMODL 1
113778 _ACEOF
113780 cat >>confdefs.h <<\_ACEOF
113781 #define HAVE_FREXPL 1
113782 _ACEOF
113784 cat >>confdefs.h <<\_ACEOF
113785 #define HAVE_LDEXPL 1
113786 _ACEOF
113788 cat >>confdefs.h <<\_ACEOF
113789 #define HAVE_LOG10L 1
113790 _ACEOF
113792 cat >>confdefs.h <<\_ACEOF
113793 #define HAVE_LOGL 1
113794 _ACEOF
113796 cat >>confdefs.h <<\_ACEOF
113797 #define HAVE_MODFL 1
113798 _ACEOF
113800 cat >>confdefs.h <<\_ACEOF
113801 #define HAVE_POWL 1
113802 _ACEOF
113804 cat >>confdefs.h <<\_ACEOF
113805 #define HAVE_SINCOSL 1
113806 _ACEOF
113808 cat >>confdefs.h <<\_ACEOF
113809 #define HAVE_SINL 1
113810 _ACEOF
113812 cat >>confdefs.h <<\_ACEOF
113813 #define HAVE_SINHL 1
113814 _ACEOF
113816 cat >>confdefs.h <<\_ACEOF
113817 #define HAVE_SQRTL 1
113818 _ACEOF
113820 cat >>confdefs.h <<\_ACEOF
113821 #define HAVE_TANL 1
113822 _ACEOF
113824 cat >>confdefs.h <<\_ACEOF
113825 #define HAVE_TANHL 1
113826 _ACEOF
113831 # Check for _Unwind_GetIPInfo.
113834 # Check whether --with-system-libunwind or --without-system-libunwind was given.
113835 if test "${with_system_libunwind+set}" = set; then
113836 withval="$with_system_libunwind"
113839 # If system-libunwind was not specifically set, pick a default setting.
113840 if test x$with_system_libunwind = x; then
113841 case ${target} in
113842 ia64-*-hpux*) with_system_libunwind=yes ;;
113843 *) with_system_libunwind=no ;;
113846 # Based on system-libunwind and target, do we have ipinfo?
113847 if test x$with_system_libunwind = xyes; then
113848 case ${target} in
113849 ia64-*-*) have_unwind_getipinfo=no ;;
113850 *) have_unwind_getipinfo=yes ;;
113853 # Darwin before version 9 does not have _Unwind_GetIPInfo.
113855 case ${target} in
113856 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
113857 *) have_unwind_getipinfo=yes ;;
113862 if test x$have_unwind_getipinfo = xyes; then
113864 cat >>confdefs.h <<\_ACEOF
113865 #define HAVE_GETIPINFO 1
113866 _ACEOF
113872 # Check whether --enable-linux-futex or --disable-linux-futex was given.
113873 if test "${enable_linux_futex+set}" = set; then
113874 enableval="$enable_linux_futex"
113876 case "$enableval" in
113877 yes|no|default) ;;
113878 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable linux-futex" >&5
113879 echo "$as_me: error: Unknown argument to enable/disable linux-futex" >&2;}
113880 { (exit 1); exit 1; }; } ;;
113884 enable_linux_futex=default
113887 case "$target" in
113888 *-linux*)
113889 case "$enable_linux_futex" in
113890 default)
113891 # If headers don't have gettid/futex syscalls definition, then
113892 # default to no, otherwise there will be compile time failures.
113893 # Otherwise, default to yes. If we don't detect we are
113894 # compiled/linked against NPTL and not cross-compiling, check
113895 # if programs are run by default against NPTL and if not, issue
113896 # a warning.
113897 enable_linux_futex=no
113898 if test x$gcc_no_link = xyes; then
113899 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113900 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113901 { (exit 1); exit 1; }; }
113903 cat >conftest.$ac_ext <<_ACEOF
113904 /* confdefs.h. */
113905 _ACEOF
113906 cat confdefs.h >>conftest.$ac_ext
113907 cat >>conftest.$ac_ext <<_ACEOF
113908 /* end confdefs.h. */
113909 #include <sys/syscall.h>
113910 int lk;
113912 main ()
113914 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
113916 return 0;
113918 _ACEOF
113919 rm -f conftest.$ac_objext conftest$ac_exeext
113920 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113921 (eval $ac_link) 2>conftest.er1
113922 ac_status=$?
113923 grep -v '^ *+' conftest.er1 >conftest.err
113924 rm -f conftest.er1
113925 cat conftest.err >&5
113926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113927 (exit $ac_status); } &&
113928 { ac_try='test -z "$ac_c_werror_flag"
113929 || test ! -s conftest.err'
113930 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113931 (eval $ac_try) 2>&5
113932 ac_status=$?
113933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113934 (exit $ac_status); }; } &&
113935 { ac_try='test -s conftest$ac_exeext'
113936 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113937 (eval $ac_try) 2>&5
113938 ac_status=$?
113939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113940 (exit $ac_status); }; }; then
113941 save_LIBS="$LIBS"
113942 LIBS="-lpthread $LIBS"
113943 if test x$gcc_no_link = xyes; then
113944 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
113945 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
113946 { (exit 1); exit 1; }; }
113948 cat >conftest.$ac_ext <<_ACEOF
113949 /* confdefs.h. */
113950 _ACEOF
113951 cat confdefs.h >>conftest.$ac_ext
113952 cat >>conftest.$ac_ext <<_ACEOF
113953 /* end confdefs.h. */
113954 #ifndef _GNU_SOURCE
113955 #define _GNU_SOURCE 1
113956 #endif
113957 #include <pthread.h>
113958 pthread_t th; void *status;
113960 main ()
113962 pthread_tryjoin_np (th, &status);
113964 return 0;
113966 _ACEOF
113967 rm -f conftest.$ac_objext conftest$ac_exeext
113968 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
113969 (eval $ac_link) 2>conftest.er1
113970 ac_status=$?
113971 grep -v '^ *+' conftest.er1 >conftest.err
113972 rm -f conftest.er1
113973 cat conftest.err >&5
113974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113975 (exit $ac_status); } &&
113976 { ac_try='test -z "$ac_c_werror_flag"
113977 || test ! -s conftest.err'
113978 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113979 (eval $ac_try) 2>&5
113980 ac_status=$?
113981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113982 (exit $ac_status); }; } &&
113983 { ac_try='test -s conftest$ac_exeext'
113984 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
113985 (eval $ac_try) 2>&5
113986 ac_status=$?
113987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
113988 (exit $ac_status); }; }; then
113989 enable_linux_futex=yes
113991 echo "$as_me: failed program was:" >&5
113992 sed 's/^/| /' conftest.$ac_ext >&5
113994 if test x$cross_compiling = xno; then
113995 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
113996 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
113997 { echo "$as_me:$LINENO: WARNING: The kernel might not support futex or gettid syscalls.
113998 If so, please configure with --disable-linux-futex" >&5
113999 echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
114000 If so, please configure with --disable-linux-futex" >&2;}
114003 enable_linux_futex=yes
114005 rm -f conftest.err conftest.$ac_objext \
114006 conftest$ac_exeext conftest.$ac_ext
114007 LIBS="$save_LIBS"
114009 echo "$as_me: failed program was:" >&5
114010 sed 's/^/| /' conftest.$ac_ext >&5
114013 rm -f conftest.err conftest.$ac_objext \
114014 conftest$ac_exeext conftest.$ac_ext
114017 if test x$gcc_no_link = xyes; then
114018 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
114019 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
114020 { (exit 1); exit 1; }; }
114022 cat >conftest.$ac_ext <<_ACEOF
114023 /* confdefs.h. */
114024 _ACEOF
114025 cat confdefs.h >>conftest.$ac_ext
114026 cat >>conftest.$ac_ext <<_ACEOF
114027 /* end confdefs.h. */
114028 #include <sys/syscall.h>
114029 int lk;
114031 main ()
114033 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
114035 return 0;
114037 _ACEOF
114038 rm -f conftest.$ac_objext conftest$ac_exeext
114039 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
114040 (eval $ac_link) 2>conftest.er1
114041 ac_status=$?
114042 grep -v '^ *+' conftest.er1 >conftest.err
114043 rm -f conftest.er1
114044 cat conftest.err >&5
114045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114046 (exit $ac_status); } &&
114047 { ac_try='test -z "$ac_c_werror_flag"
114048 || test ! -s conftest.err'
114049 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114050 (eval $ac_try) 2>&5
114051 ac_status=$?
114052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114053 (exit $ac_status); }; } &&
114054 { ac_try='test -s conftest$ac_exeext'
114055 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114056 (eval $ac_try) 2>&5
114057 ac_status=$?
114058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114059 (exit $ac_status); }; }; then
114062 echo "$as_me: failed program was:" >&5
114063 sed 's/^/| /' conftest.$ac_ext >&5
114065 { { echo "$as_me:$LINENO: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&5
114066 echo "$as_me: error: SYS_gettid and SYS_futex required for --enable-linux-futex" >&2;}
114067 { (exit 1); exit 1; }; }
114069 rm -f conftest.err conftest.$ac_objext \
114070 conftest$ac_exeext conftest.$ac_ext
114075 enable_linux_futex=no
114078 if test x$enable_linux_futex = xyes; then
114080 cat >>confdefs.h <<\_ACEOF
114081 #define HAVE_LINUX_FUTEX 1
114082 _ACEOF
114089 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
114091 acx_cv_header_stdint=stddef.h
114092 acx_cv_header_stdint_kind="(already complete)"
114093 for i in stdint.h $inttype_headers; do
114094 unset ac_cv_type_uintptr_t
114095 unset ac_cv_type_uintmax_t
114096 unset ac_cv_type_int_least32_t
114097 unset ac_cv_type_int_fast32_t
114098 unset ac_cv_type_uint64_t
114099 echo $ECHO_N "looking for a compliant stdint.h in $i, $ECHO_C" >&6
114100 echo "$as_me:$LINENO: checking for uintmax_t" >&5
114101 echo $ECHO_N "checking for uintmax_t... $ECHO_C" >&6
114102 if test "${ac_cv_type_uintmax_t+set}" = set; then
114103 echo $ECHO_N "(cached) $ECHO_C" >&6
114105 cat >conftest.$ac_ext <<_ACEOF
114106 /* confdefs.h. */
114107 _ACEOF
114108 cat confdefs.h >>conftest.$ac_ext
114109 cat >>conftest.$ac_ext <<_ACEOF
114110 /* end confdefs.h. */
114111 #include <sys/types.h>
114112 #include <$i>
114115 main ()
114117 if ((uintmax_t *) 0)
114118 return 0;
114119 if (sizeof (uintmax_t))
114120 return 0;
114122 return 0;
114124 _ACEOF
114125 rm -f conftest.$ac_objext
114126 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114127 (eval $ac_compile) 2>conftest.er1
114128 ac_status=$?
114129 grep -v '^ *+' conftest.er1 >conftest.err
114130 rm -f conftest.er1
114131 cat conftest.err >&5
114132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114133 (exit $ac_status); } &&
114134 { ac_try='test -z "$ac_c_werror_flag"
114135 || test ! -s conftest.err'
114136 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114137 (eval $ac_try) 2>&5
114138 ac_status=$?
114139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114140 (exit $ac_status); }; } &&
114141 { ac_try='test -s conftest.$ac_objext'
114142 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114143 (eval $ac_try) 2>&5
114144 ac_status=$?
114145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114146 (exit $ac_status); }; }; then
114147 ac_cv_type_uintmax_t=yes
114149 echo "$as_me: failed program was:" >&5
114150 sed 's/^/| /' conftest.$ac_ext >&5
114152 ac_cv_type_uintmax_t=no
114154 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114156 echo "$as_me:$LINENO: result: $ac_cv_type_uintmax_t" >&5
114157 echo "${ECHO_T}$ac_cv_type_uintmax_t" >&6
114158 if test $ac_cv_type_uintmax_t = yes; then
114159 acx_cv_header_stdint=$i
114161 continue
114164 echo "$as_me:$LINENO: checking for uintptr_t" >&5
114165 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
114166 if test "${ac_cv_type_uintptr_t+set}" = set; then
114167 echo $ECHO_N "(cached) $ECHO_C" >&6
114169 cat >conftest.$ac_ext <<_ACEOF
114170 /* confdefs.h. */
114171 _ACEOF
114172 cat confdefs.h >>conftest.$ac_ext
114173 cat >>conftest.$ac_ext <<_ACEOF
114174 /* end confdefs.h. */
114175 #include <sys/types.h>
114176 #include <$i>
114179 main ()
114181 if ((uintptr_t *) 0)
114182 return 0;
114183 if (sizeof (uintptr_t))
114184 return 0;
114186 return 0;
114188 _ACEOF
114189 rm -f conftest.$ac_objext
114190 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114191 (eval $ac_compile) 2>conftest.er1
114192 ac_status=$?
114193 grep -v '^ *+' conftest.er1 >conftest.err
114194 rm -f conftest.er1
114195 cat conftest.err >&5
114196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114197 (exit $ac_status); } &&
114198 { ac_try='test -z "$ac_c_werror_flag"
114199 || test ! -s conftest.err'
114200 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114201 (eval $ac_try) 2>&5
114202 ac_status=$?
114203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114204 (exit $ac_status); }; } &&
114205 { ac_try='test -s conftest.$ac_objext'
114206 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114207 (eval $ac_try) 2>&5
114208 ac_status=$?
114209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114210 (exit $ac_status); }; }; then
114211 ac_cv_type_uintptr_t=yes
114213 echo "$as_me: failed program was:" >&5
114214 sed 's/^/| /' conftest.$ac_ext >&5
114216 ac_cv_type_uintptr_t=no
114218 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114220 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
114221 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
114222 if test $ac_cv_type_uintptr_t = yes; then
114225 acx_cv_header_stdint_kind="(mostly complete)"
114228 echo "$as_me:$LINENO: checking for int_least32_t" >&5
114229 echo $ECHO_N "checking for int_least32_t... $ECHO_C" >&6
114230 if test "${ac_cv_type_int_least32_t+set}" = set; then
114231 echo $ECHO_N "(cached) $ECHO_C" >&6
114233 cat >conftest.$ac_ext <<_ACEOF
114234 /* confdefs.h. */
114235 _ACEOF
114236 cat confdefs.h >>conftest.$ac_ext
114237 cat >>conftest.$ac_ext <<_ACEOF
114238 /* end confdefs.h. */
114239 #include <sys/types.h>
114240 #include <$i>
114243 main ()
114245 if ((int_least32_t *) 0)
114246 return 0;
114247 if (sizeof (int_least32_t))
114248 return 0;
114250 return 0;
114252 _ACEOF
114253 rm -f conftest.$ac_objext
114254 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114255 (eval $ac_compile) 2>conftest.er1
114256 ac_status=$?
114257 grep -v '^ *+' conftest.er1 >conftest.err
114258 rm -f conftest.er1
114259 cat conftest.err >&5
114260 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114261 (exit $ac_status); } &&
114262 { ac_try='test -z "$ac_c_werror_flag"
114263 || test ! -s conftest.err'
114264 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114265 (eval $ac_try) 2>&5
114266 ac_status=$?
114267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114268 (exit $ac_status); }; } &&
114269 { ac_try='test -s conftest.$ac_objext'
114270 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114271 (eval $ac_try) 2>&5
114272 ac_status=$?
114273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114274 (exit $ac_status); }; }; then
114275 ac_cv_type_int_least32_t=yes
114277 echo "$as_me: failed program was:" >&5
114278 sed 's/^/| /' conftest.$ac_ext >&5
114280 ac_cv_type_int_least32_t=no
114282 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114284 echo "$as_me:$LINENO: result: $ac_cv_type_int_least32_t" >&5
114285 echo "${ECHO_T}$ac_cv_type_int_least32_t" >&6
114286 if test $ac_cv_type_int_least32_t = yes; then
114289 acx_cv_header_stdint_kind="(mostly complete)"
114292 echo "$as_me:$LINENO: checking for int_fast32_t" >&5
114293 echo $ECHO_N "checking for int_fast32_t... $ECHO_C" >&6
114294 if test "${ac_cv_type_int_fast32_t+set}" = set; then
114295 echo $ECHO_N "(cached) $ECHO_C" >&6
114297 cat >conftest.$ac_ext <<_ACEOF
114298 /* confdefs.h. */
114299 _ACEOF
114300 cat confdefs.h >>conftest.$ac_ext
114301 cat >>conftest.$ac_ext <<_ACEOF
114302 /* end confdefs.h. */
114303 #include <sys/types.h>
114304 #include <$i>
114307 main ()
114309 if ((int_fast32_t *) 0)
114310 return 0;
114311 if (sizeof (int_fast32_t))
114312 return 0;
114314 return 0;
114316 _ACEOF
114317 rm -f conftest.$ac_objext
114318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114319 (eval $ac_compile) 2>conftest.er1
114320 ac_status=$?
114321 grep -v '^ *+' conftest.er1 >conftest.err
114322 rm -f conftest.er1
114323 cat conftest.err >&5
114324 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114325 (exit $ac_status); } &&
114326 { ac_try='test -z "$ac_c_werror_flag"
114327 || test ! -s conftest.err'
114328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114329 (eval $ac_try) 2>&5
114330 ac_status=$?
114331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114332 (exit $ac_status); }; } &&
114333 { ac_try='test -s conftest.$ac_objext'
114334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114335 (eval $ac_try) 2>&5
114336 ac_status=$?
114337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114338 (exit $ac_status); }; }; then
114339 ac_cv_type_int_fast32_t=yes
114341 echo "$as_me: failed program was:" >&5
114342 sed 's/^/| /' conftest.$ac_ext >&5
114344 ac_cv_type_int_fast32_t=no
114346 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114348 echo "$as_me:$LINENO: result: $ac_cv_type_int_fast32_t" >&5
114349 echo "${ECHO_T}$ac_cv_type_int_fast32_t" >&6
114350 if test $ac_cv_type_int_fast32_t = yes; then
114353 acx_cv_header_stdint_kind="(mostly complete)"
114356 echo "$as_me:$LINENO: checking for uint64_t" >&5
114357 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
114358 if test "${ac_cv_type_uint64_t+set}" = set; then
114359 echo $ECHO_N "(cached) $ECHO_C" >&6
114361 cat >conftest.$ac_ext <<_ACEOF
114362 /* confdefs.h. */
114363 _ACEOF
114364 cat confdefs.h >>conftest.$ac_ext
114365 cat >>conftest.$ac_ext <<_ACEOF
114366 /* end confdefs.h. */
114367 #include <sys/types.h>
114368 #include <$i>
114371 main ()
114373 if ((uint64_t *) 0)
114374 return 0;
114375 if (sizeof (uint64_t))
114376 return 0;
114378 return 0;
114380 _ACEOF
114381 rm -f conftest.$ac_objext
114382 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114383 (eval $ac_compile) 2>conftest.er1
114384 ac_status=$?
114385 grep -v '^ *+' conftest.er1 >conftest.err
114386 rm -f conftest.er1
114387 cat conftest.err >&5
114388 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114389 (exit $ac_status); } &&
114390 { ac_try='test -z "$ac_c_werror_flag"
114391 || test ! -s conftest.err'
114392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114393 (eval $ac_try) 2>&5
114394 ac_status=$?
114395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114396 (exit $ac_status); }; } &&
114397 { ac_try='test -s conftest.$ac_objext'
114398 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114399 (eval $ac_try) 2>&5
114400 ac_status=$?
114401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114402 (exit $ac_status); }; }; then
114403 ac_cv_type_uint64_t=yes
114405 echo "$as_me: failed program was:" >&5
114406 sed 's/^/| /' conftest.$ac_ext >&5
114408 ac_cv_type_uint64_t=no
114410 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114412 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
114413 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
114414 if test $ac_cv_type_uint64_t = yes; then
114417 acx_cv_header_stdint_kind="(lacks uint64_t)"
114420 break
114422 if test "$acx_cv_header_stdint" = stddef.h; then
114423 acx_cv_header_stdint_kind="(lacks uintmax_t)"
114424 for i in stdint.h $inttype_headers; do
114425 unset ac_cv_type_uintptr_t
114426 unset ac_cv_type_uint32_t
114427 unset ac_cv_type_uint64_t
114428 echo $ECHO_N "looking for an incomplete stdint.h in $i, $ECHO_C" >&6
114429 echo "$as_me:$LINENO: checking for uint32_t" >&5
114430 echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6
114431 if test "${ac_cv_type_uint32_t+set}" = set; then
114432 echo $ECHO_N "(cached) $ECHO_C" >&6
114434 cat >conftest.$ac_ext <<_ACEOF
114435 /* confdefs.h. */
114436 _ACEOF
114437 cat confdefs.h >>conftest.$ac_ext
114438 cat >>conftest.$ac_ext <<_ACEOF
114439 /* end confdefs.h. */
114440 #include <sys/types.h>
114441 #include <$i>
114444 main ()
114446 if ((uint32_t *) 0)
114447 return 0;
114448 if (sizeof (uint32_t))
114449 return 0;
114451 return 0;
114453 _ACEOF
114454 rm -f conftest.$ac_objext
114455 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114456 (eval $ac_compile) 2>conftest.er1
114457 ac_status=$?
114458 grep -v '^ *+' conftest.er1 >conftest.err
114459 rm -f conftest.er1
114460 cat conftest.err >&5
114461 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114462 (exit $ac_status); } &&
114463 { ac_try='test -z "$ac_c_werror_flag"
114464 || test ! -s conftest.err'
114465 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114466 (eval $ac_try) 2>&5
114467 ac_status=$?
114468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114469 (exit $ac_status); }; } &&
114470 { ac_try='test -s conftest.$ac_objext'
114471 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114472 (eval $ac_try) 2>&5
114473 ac_status=$?
114474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114475 (exit $ac_status); }; }; then
114476 ac_cv_type_uint32_t=yes
114478 echo "$as_me: failed program was:" >&5
114479 sed 's/^/| /' conftest.$ac_ext >&5
114481 ac_cv_type_uint32_t=no
114483 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114485 echo "$as_me:$LINENO: result: $ac_cv_type_uint32_t" >&5
114486 echo "${ECHO_T}$ac_cv_type_uint32_t" >&6
114487 if test $ac_cv_type_uint32_t = yes; then
114488 acx_cv_header_stdint=$i
114490 continue
114493 echo "$as_me:$LINENO: checking for uint64_t" >&5
114494 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
114495 if test "${ac_cv_type_uint64_t+set}" = set; then
114496 echo $ECHO_N "(cached) $ECHO_C" >&6
114498 cat >conftest.$ac_ext <<_ACEOF
114499 /* confdefs.h. */
114500 _ACEOF
114501 cat confdefs.h >>conftest.$ac_ext
114502 cat >>conftest.$ac_ext <<_ACEOF
114503 /* end confdefs.h. */
114504 #include <sys/types.h>
114505 #include <$i>
114508 main ()
114510 if ((uint64_t *) 0)
114511 return 0;
114512 if (sizeof (uint64_t))
114513 return 0;
114515 return 0;
114517 _ACEOF
114518 rm -f conftest.$ac_objext
114519 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114520 (eval $ac_compile) 2>conftest.er1
114521 ac_status=$?
114522 grep -v '^ *+' conftest.er1 >conftest.err
114523 rm -f conftest.er1
114524 cat conftest.err >&5
114525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114526 (exit $ac_status); } &&
114527 { ac_try='test -z "$ac_c_werror_flag"
114528 || test ! -s conftest.err'
114529 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114530 (eval $ac_try) 2>&5
114531 ac_status=$?
114532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114533 (exit $ac_status); }; } &&
114534 { ac_try='test -s conftest.$ac_objext'
114535 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114536 (eval $ac_try) 2>&5
114537 ac_status=$?
114538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114539 (exit $ac_status); }; }; then
114540 ac_cv_type_uint64_t=yes
114542 echo "$as_me: failed program was:" >&5
114543 sed 's/^/| /' conftest.$ac_ext >&5
114545 ac_cv_type_uint64_t=no
114547 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114549 echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
114550 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
114552 echo "$as_me:$LINENO: checking for uintptr_t" >&5
114553 echo $ECHO_N "checking for uintptr_t... $ECHO_C" >&6
114554 if test "${ac_cv_type_uintptr_t+set}" = set; then
114555 echo $ECHO_N "(cached) $ECHO_C" >&6
114557 cat >conftest.$ac_ext <<_ACEOF
114558 /* confdefs.h. */
114559 _ACEOF
114560 cat confdefs.h >>conftest.$ac_ext
114561 cat >>conftest.$ac_ext <<_ACEOF
114562 /* end confdefs.h. */
114563 #include <sys/types.h>
114564 #include <$i>
114567 main ()
114569 if ((uintptr_t *) 0)
114570 return 0;
114571 if (sizeof (uintptr_t))
114572 return 0;
114574 return 0;
114576 _ACEOF
114577 rm -f conftest.$ac_objext
114578 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114579 (eval $ac_compile) 2>conftest.er1
114580 ac_status=$?
114581 grep -v '^ *+' conftest.er1 >conftest.err
114582 rm -f conftest.er1
114583 cat conftest.err >&5
114584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114585 (exit $ac_status); } &&
114586 { ac_try='test -z "$ac_c_werror_flag"
114587 || test ! -s conftest.err'
114588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114589 (eval $ac_try) 2>&5
114590 ac_status=$?
114591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114592 (exit $ac_status); }; } &&
114593 { ac_try='test -s conftest.$ac_objext'
114594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114595 (eval $ac_try) 2>&5
114596 ac_status=$?
114597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114598 (exit $ac_status); }; }; then
114599 ac_cv_type_uintptr_t=yes
114601 echo "$as_me: failed program was:" >&5
114602 sed 's/^/| /' conftest.$ac_ext >&5
114604 ac_cv_type_uintptr_t=no
114606 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114608 echo "$as_me:$LINENO: result: $ac_cv_type_uintptr_t" >&5
114609 echo "${ECHO_T}$ac_cv_type_uintptr_t" >&6
114611 break
114614 if test "$acx_cv_header_stdint" = stddef.h; then
114615 acx_cv_header_stdint_kind="(u_intXX_t style)"
114616 for i in sys/types.h $inttype_headers; do
114617 unset ac_cv_type_u_int32_t
114618 unset ac_cv_type_u_int64_t
114619 echo $ECHO_N "looking for u_intXX_t types in $i, $ECHO_C" >&6
114620 echo "$as_me:$LINENO: checking for u_int32_t" >&5
114621 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
114622 if test "${ac_cv_type_u_int32_t+set}" = set; then
114623 echo $ECHO_N "(cached) $ECHO_C" >&6
114625 cat >conftest.$ac_ext <<_ACEOF
114626 /* confdefs.h. */
114627 _ACEOF
114628 cat confdefs.h >>conftest.$ac_ext
114629 cat >>conftest.$ac_ext <<_ACEOF
114630 /* end confdefs.h. */
114631 #include <sys/types.h>
114632 #include <$i>
114635 main ()
114637 if ((u_int32_t *) 0)
114638 return 0;
114639 if (sizeof (u_int32_t))
114640 return 0;
114642 return 0;
114644 _ACEOF
114645 rm -f conftest.$ac_objext
114646 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114647 (eval $ac_compile) 2>conftest.er1
114648 ac_status=$?
114649 grep -v '^ *+' conftest.er1 >conftest.err
114650 rm -f conftest.er1
114651 cat conftest.err >&5
114652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114653 (exit $ac_status); } &&
114654 { ac_try='test -z "$ac_c_werror_flag"
114655 || test ! -s conftest.err'
114656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114657 (eval $ac_try) 2>&5
114658 ac_status=$?
114659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114660 (exit $ac_status); }; } &&
114661 { ac_try='test -s conftest.$ac_objext'
114662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114663 (eval $ac_try) 2>&5
114664 ac_status=$?
114665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114666 (exit $ac_status); }; }; then
114667 ac_cv_type_u_int32_t=yes
114669 echo "$as_me: failed program was:" >&5
114670 sed 's/^/| /' conftest.$ac_ext >&5
114672 ac_cv_type_u_int32_t=no
114674 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114676 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
114677 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
114678 if test $ac_cv_type_u_int32_t = yes; then
114679 acx_cv_header_stdint=$i
114681 continue
114684 echo "$as_me:$LINENO: checking for u_int64_t" >&5
114685 echo $ECHO_N "checking for u_int64_t... $ECHO_C" >&6
114686 if test "${ac_cv_type_u_int64_t+set}" = set; then
114687 echo $ECHO_N "(cached) $ECHO_C" >&6
114689 cat >conftest.$ac_ext <<_ACEOF
114690 /* confdefs.h. */
114691 _ACEOF
114692 cat confdefs.h >>conftest.$ac_ext
114693 cat >>conftest.$ac_ext <<_ACEOF
114694 /* end confdefs.h. */
114695 #include <sys/types.h>
114696 #include <$i>
114699 main ()
114701 if ((u_int64_t *) 0)
114702 return 0;
114703 if (sizeof (u_int64_t))
114704 return 0;
114706 return 0;
114708 _ACEOF
114709 rm -f conftest.$ac_objext
114710 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114711 (eval $ac_compile) 2>conftest.er1
114712 ac_status=$?
114713 grep -v '^ *+' conftest.er1 >conftest.err
114714 rm -f conftest.er1
114715 cat conftest.err >&5
114716 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114717 (exit $ac_status); } &&
114718 { ac_try='test -z "$ac_c_werror_flag"
114719 || test ! -s conftest.err'
114720 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114721 (eval $ac_try) 2>&5
114722 ac_status=$?
114723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114724 (exit $ac_status); }; } &&
114725 { ac_try='test -s conftest.$ac_objext'
114726 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114727 (eval $ac_try) 2>&5
114728 ac_status=$?
114729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114730 (exit $ac_status); }; }; then
114731 ac_cv_type_u_int64_t=yes
114733 echo "$as_me: failed program was:" >&5
114734 sed 's/^/| /' conftest.$ac_ext >&5
114736 ac_cv_type_u_int64_t=no
114738 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114740 echo "$as_me:$LINENO: result: $ac_cv_type_u_int64_t" >&5
114741 echo "${ECHO_T}$ac_cv_type_u_int64_t" >&6
114743 break
114746 if test "$acx_cv_header_stdint" = stddef.h; then
114747 acx_cv_header_stdint_kind="(using manual detection)"
114750 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
114751 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
114752 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
114753 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
114754 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
114756 # ----------------- Summarize what we found so far
114758 echo "$as_me:$LINENO: checking what to include in include/gstdint.h" >&5
114759 echo $ECHO_N "checking what to include in include/gstdint.h... $ECHO_C" >&6
114761 case `$as_basename include/gstdint.h ||
114762 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
114763 Xinclude/gstdint.h : 'X\(//\)$' \| \
114764 Xinclude/gstdint.h : 'X\(/\)$' \| \
114765 . : '\(.\)' 2>/dev/null ||
114766 echo X/include/gstdint.h |
114767 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
114768 /^X\/\(\/\/\)$/{ s//\1/; q; }
114769 /^X\/\(\/\).*/{ s//\1/; q; }
114770 s/.*/./; q'` in
114771 stdint.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
114772 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
114773 inttypes.h) { echo "$as_me:$LINENO: WARNING: are you sure you want it there?" >&5
114774 echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
114775 *) ;;
114778 echo "$as_me:$LINENO: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
114779 echo "${ECHO_T}$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6
114781 # ----------------- done included file, check C basic types --------
114783 # Lacking an uintptr_t? Test size of void *
114784 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
114785 stddef.h:* | *:no) echo "$as_me:$LINENO: checking for void *" >&5
114786 echo $ECHO_N "checking for void *... $ECHO_C" >&6
114787 if test "${ac_cv_type_void_p+set}" = set; then
114788 echo $ECHO_N "(cached) $ECHO_C" >&6
114790 cat >conftest.$ac_ext <<_ACEOF
114791 /* confdefs.h. */
114792 _ACEOF
114793 cat confdefs.h >>conftest.$ac_ext
114794 cat >>conftest.$ac_ext <<_ACEOF
114795 /* end confdefs.h. */
114796 $ac_includes_default
114798 main ()
114800 if ((void * *) 0)
114801 return 0;
114802 if (sizeof (void *))
114803 return 0;
114805 return 0;
114807 _ACEOF
114808 rm -f conftest.$ac_objext
114809 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114810 (eval $ac_compile) 2>conftest.er1
114811 ac_status=$?
114812 grep -v '^ *+' conftest.er1 >conftest.err
114813 rm -f conftest.er1
114814 cat conftest.err >&5
114815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114816 (exit $ac_status); } &&
114817 { ac_try='test -z "$ac_c_werror_flag"
114818 || test ! -s conftest.err'
114819 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114820 (eval $ac_try) 2>&5
114821 ac_status=$?
114822 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114823 (exit $ac_status); }; } &&
114824 { ac_try='test -s conftest.$ac_objext'
114825 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114826 (eval $ac_try) 2>&5
114827 ac_status=$?
114828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114829 (exit $ac_status); }; }; then
114830 ac_cv_type_void_p=yes
114832 echo "$as_me: failed program was:" >&5
114833 sed 's/^/| /' conftest.$ac_ext >&5
114835 ac_cv_type_void_p=no
114837 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114839 echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
114840 echo "${ECHO_T}$ac_cv_type_void_p" >&6
114842 echo "$as_me:$LINENO: checking size of void *" >&5
114843 echo $ECHO_N "checking size of void *... $ECHO_C" >&6
114844 if test "${ac_cv_sizeof_void_p+set}" = set; then
114845 echo $ECHO_N "(cached) $ECHO_C" >&6
114847 if test "$ac_cv_type_void_p" = yes; then
114848 # The cast to unsigned long works around a bug in the HP C Compiler
114849 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
114850 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
114851 # This bug is HP SR number 8606223364.
114852 if test "$cross_compiling" = yes; then
114853 # Depending upon the size, compute the lo and hi bounds.
114854 cat >conftest.$ac_ext <<_ACEOF
114855 /* confdefs.h. */
114856 _ACEOF
114857 cat confdefs.h >>conftest.$ac_ext
114858 cat >>conftest.$ac_ext <<_ACEOF
114859 /* end confdefs.h. */
114860 $ac_includes_default
114862 main ()
114864 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= 0)];
114865 test_array [0] = 0
114868 return 0;
114870 _ACEOF
114871 rm -f conftest.$ac_objext
114872 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114873 (eval $ac_compile) 2>conftest.er1
114874 ac_status=$?
114875 grep -v '^ *+' conftest.er1 >conftest.err
114876 rm -f conftest.er1
114877 cat conftest.err >&5
114878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114879 (exit $ac_status); } &&
114880 { ac_try='test -z "$ac_c_werror_flag"
114881 || test ! -s conftest.err'
114882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114883 (eval $ac_try) 2>&5
114884 ac_status=$?
114885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114886 (exit $ac_status); }; } &&
114887 { ac_try='test -s conftest.$ac_objext'
114888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114889 (eval $ac_try) 2>&5
114890 ac_status=$?
114891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114892 (exit $ac_status); }; }; then
114893 ac_lo=0 ac_mid=0
114894 while :; do
114895 cat >conftest.$ac_ext <<_ACEOF
114896 /* confdefs.h. */
114897 _ACEOF
114898 cat confdefs.h >>conftest.$ac_ext
114899 cat >>conftest.$ac_ext <<_ACEOF
114900 /* end confdefs.h. */
114901 $ac_includes_default
114903 main ()
114905 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
114906 test_array [0] = 0
114909 return 0;
114911 _ACEOF
114912 rm -f conftest.$ac_objext
114913 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114914 (eval $ac_compile) 2>conftest.er1
114915 ac_status=$?
114916 grep -v '^ *+' conftest.er1 >conftest.err
114917 rm -f conftest.er1
114918 cat conftest.err >&5
114919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114920 (exit $ac_status); } &&
114921 { ac_try='test -z "$ac_c_werror_flag"
114922 || test ! -s conftest.err'
114923 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114924 (eval $ac_try) 2>&5
114925 ac_status=$?
114926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114927 (exit $ac_status); }; } &&
114928 { ac_try='test -s conftest.$ac_objext'
114929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114930 (eval $ac_try) 2>&5
114931 ac_status=$?
114932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114933 (exit $ac_status); }; }; then
114934 ac_hi=$ac_mid; break
114936 echo "$as_me: failed program was:" >&5
114937 sed 's/^/| /' conftest.$ac_ext >&5
114939 ac_lo=`expr $ac_mid + 1`
114940 if test $ac_lo -le $ac_mid; then
114941 ac_lo= ac_hi=
114942 break
114944 ac_mid=`expr 2 '*' $ac_mid + 1`
114946 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
114949 echo "$as_me: failed program was:" >&5
114950 sed 's/^/| /' conftest.$ac_ext >&5
114952 cat >conftest.$ac_ext <<_ACEOF
114953 /* confdefs.h. */
114954 _ACEOF
114955 cat confdefs.h >>conftest.$ac_ext
114956 cat >>conftest.$ac_ext <<_ACEOF
114957 /* end confdefs.h. */
114958 $ac_includes_default
114960 main ()
114962 static int test_array [1 - 2 * !(((long) (sizeof (void *))) < 0)];
114963 test_array [0] = 0
114966 return 0;
114968 _ACEOF
114969 rm -f conftest.$ac_objext
114970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
114971 (eval $ac_compile) 2>conftest.er1
114972 ac_status=$?
114973 grep -v '^ *+' conftest.er1 >conftest.err
114974 rm -f conftest.er1
114975 cat conftest.err >&5
114976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114977 (exit $ac_status); } &&
114978 { ac_try='test -z "$ac_c_werror_flag"
114979 || test ! -s conftest.err'
114980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114981 (eval $ac_try) 2>&5
114982 ac_status=$?
114983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114984 (exit $ac_status); }; } &&
114985 { ac_try='test -s conftest.$ac_objext'
114986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
114987 (eval $ac_try) 2>&5
114988 ac_status=$?
114989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
114990 (exit $ac_status); }; }; then
114991 ac_hi=-1 ac_mid=-1
114992 while :; do
114993 cat >conftest.$ac_ext <<_ACEOF
114994 /* confdefs.h. */
114995 _ACEOF
114996 cat confdefs.h >>conftest.$ac_ext
114997 cat >>conftest.$ac_ext <<_ACEOF
114998 /* end confdefs.h. */
114999 $ac_includes_default
115001 main ()
115003 static int test_array [1 - 2 * !(((long) (sizeof (void *))) >= $ac_mid)];
115004 test_array [0] = 0
115007 return 0;
115009 _ACEOF
115010 rm -f conftest.$ac_objext
115011 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115012 (eval $ac_compile) 2>conftest.er1
115013 ac_status=$?
115014 grep -v '^ *+' conftest.er1 >conftest.err
115015 rm -f conftest.er1
115016 cat conftest.err >&5
115017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115018 (exit $ac_status); } &&
115019 { ac_try='test -z "$ac_c_werror_flag"
115020 || test ! -s conftest.err'
115021 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115022 (eval $ac_try) 2>&5
115023 ac_status=$?
115024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115025 (exit $ac_status); }; } &&
115026 { ac_try='test -s conftest.$ac_objext'
115027 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115028 (eval $ac_try) 2>&5
115029 ac_status=$?
115030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115031 (exit $ac_status); }; }; then
115032 ac_lo=$ac_mid; break
115034 echo "$as_me: failed program was:" >&5
115035 sed 's/^/| /' conftest.$ac_ext >&5
115037 ac_hi=`expr '(' $ac_mid ')' - 1`
115038 if test $ac_mid -le $ac_hi; then
115039 ac_lo= ac_hi=
115040 break
115042 ac_mid=`expr 2 '*' $ac_mid`
115044 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115047 echo "$as_me: failed program was:" >&5
115048 sed 's/^/| /' conftest.$ac_ext >&5
115050 ac_lo= ac_hi=
115052 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115054 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115055 # Binary search between lo and hi bounds.
115056 while test "x$ac_lo" != "x$ac_hi"; do
115057 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
115058 cat >conftest.$ac_ext <<_ACEOF
115059 /* confdefs.h. */
115060 _ACEOF
115061 cat confdefs.h >>conftest.$ac_ext
115062 cat >>conftest.$ac_ext <<_ACEOF
115063 /* end confdefs.h. */
115064 $ac_includes_default
115066 main ()
115068 static int test_array [1 - 2 * !(((long) (sizeof (void *))) <= $ac_mid)];
115069 test_array [0] = 0
115072 return 0;
115074 _ACEOF
115075 rm -f conftest.$ac_objext
115076 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115077 (eval $ac_compile) 2>conftest.er1
115078 ac_status=$?
115079 grep -v '^ *+' conftest.er1 >conftest.err
115080 rm -f conftest.er1
115081 cat conftest.err >&5
115082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115083 (exit $ac_status); } &&
115084 { ac_try='test -z "$ac_c_werror_flag"
115085 || test ! -s conftest.err'
115086 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115087 (eval $ac_try) 2>&5
115088 ac_status=$?
115089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115090 (exit $ac_status); }; } &&
115091 { ac_try='test -s conftest.$ac_objext'
115092 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115093 (eval $ac_try) 2>&5
115094 ac_status=$?
115095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115096 (exit $ac_status); }; }; then
115097 ac_hi=$ac_mid
115099 echo "$as_me: failed program was:" >&5
115100 sed 's/^/| /' conftest.$ac_ext >&5
115102 ac_lo=`expr '(' $ac_mid ')' + 1`
115104 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115106 case $ac_lo in
115107 ?*) ac_cv_sizeof_void_p=$ac_lo;;
115108 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115109 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
115111 See \`config.log' for more details." >&5
115112 echo "$as_me: error: cannot compute sizeof (void *), 77
115113 See \`config.log' for more details." >&2;}
115114 { (exit 1); exit 1; }; }; } ;;
115117 if test "$cross_compiling" = yes; then
115118 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115119 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115120 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
115121 See \`config.log' for more details." >&5
115122 echo "$as_me: error: cannot run test program while cross compiling
115123 See \`config.log' for more details." >&2;}
115124 { (exit 1); exit 1; }; }; }
115126 cat >conftest.$ac_ext <<_ACEOF
115127 /* confdefs.h. */
115128 _ACEOF
115129 cat confdefs.h >>conftest.$ac_ext
115130 cat >>conftest.$ac_ext <<_ACEOF
115131 /* end confdefs.h. */
115132 $ac_includes_default
115133 long longval () { return (long) (sizeof (void *)); }
115134 unsigned long ulongval () { return (long) (sizeof (void *)); }
115135 #include <stdio.h>
115136 #include <stdlib.h>
115138 main ()
115141 FILE *f = fopen ("conftest.val", "w");
115142 if (! f)
115143 exit (1);
115144 if (((long) (sizeof (void *))) < 0)
115146 long i = longval ();
115147 if (i != ((long) (sizeof (void *))))
115148 exit (1);
115149 fprintf (f, "%ld\n", i);
115153 unsigned long i = ulongval ();
115154 if (i != ((long) (sizeof (void *))))
115155 exit (1);
115156 fprintf (f, "%lu\n", i);
115158 exit (ferror (f) || fclose (f) != 0);
115161 return 0;
115163 _ACEOF
115164 rm -f conftest$ac_exeext
115165 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115166 (eval $ac_link) 2>&5
115167 ac_status=$?
115168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115169 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
115170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115171 (eval $ac_try) 2>&5
115172 ac_status=$?
115173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115174 (exit $ac_status); }; }; then
115175 ac_cv_sizeof_void_p=`cat conftest.val`
115177 echo "$as_me: program exited with status $ac_status" >&5
115178 echo "$as_me: failed program was:" >&5
115179 sed 's/^/| /' conftest.$ac_ext >&5
115181 ( exit $ac_status )
115182 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115183 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115184 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *), 77
115185 See \`config.log' for more details." >&5
115186 echo "$as_me: error: cannot compute sizeof (void *), 77
115187 See \`config.log' for more details." >&2;}
115188 { (exit 1); exit 1; }; }; }
115190 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
115193 rm -f conftest.val
115195 ac_cv_sizeof_void_p=0
115198 echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
115199 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6
115200 cat >>confdefs.h <<_ACEOF
115201 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
115202 _ACEOF
115207 # Lacking an uint64_t? Test size of long
115208 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
115209 stddef.h:*:* | *:no:no) echo "$as_me:$LINENO: checking for long" >&5
115210 echo $ECHO_N "checking for long... $ECHO_C" >&6
115211 if test "${ac_cv_type_long+set}" = set; then
115212 echo $ECHO_N "(cached) $ECHO_C" >&6
115214 cat >conftest.$ac_ext <<_ACEOF
115215 /* confdefs.h. */
115216 _ACEOF
115217 cat confdefs.h >>conftest.$ac_ext
115218 cat >>conftest.$ac_ext <<_ACEOF
115219 /* end confdefs.h. */
115220 $ac_includes_default
115222 main ()
115224 if ((long *) 0)
115225 return 0;
115226 if (sizeof (long))
115227 return 0;
115229 return 0;
115231 _ACEOF
115232 rm -f conftest.$ac_objext
115233 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115234 (eval $ac_compile) 2>conftest.er1
115235 ac_status=$?
115236 grep -v '^ *+' conftest.er1 >conftest.err
115237 rm -f conftest.er1
115238 cat conftest.err >&5
115239 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115240 (exit $ac_status); } &&
115241 { ac_try='test -z "$ac_c_werror_flag"
115242 || test ! -s conftest.err'
115243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115244 (eval $ac_try) 2>&5
115245 ac_status=$?
115246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115247 (exit $ac_status); }; } &&
115248 { ac_try='test -s conftest.$ac_objext'
115249 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115250 (eval $ac_try) 2>&5
115251 ac_status=$?
115252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115253 (exit $ac_status); }; }; then
115254 ac_cv_type_long=yes
115256 echo "$as_me: failed program was:" >&5
115257 sed 's/^/| /' conftest.$ac_ext >&5
115259 ac_cv_type_long=no
115261 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115263 echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
115264 echo "${ECHO_T}$ac_cv_type_long" >&6
115266 echo "$as_me:$LINENO: checking size of long" >&5
115267 echo $ECHO_N "checking size of long... $ECHO_C" >&6
115268 if test "${ac_cv_sizeof_long+set}" = set; then
115269 echo $ECHO_N "(cached) $ECHO_C" >&6
115271 if test "$ac_cv_type_long" = yes; then
115272 # The cast to unsigned long works around a bug in the HP C Compiler
115273 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115274 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115275 # This bug is HP SR number 8606223364.
115276 if test "$cross_compiling" = yes; then
115277 # Depending upon the size, compute the lo and hi bounds.
115278 cat >conftest.$ac_ext <<_ACEOF
115279 /* confdefs.h. */
115280 _ACEOF
115281 cat confdefs.h >>conftest.$ac_ext
115282 cat >>conftest.$ac_ext <<_ACEOF
115283 /* end confdefs.h. */
115284 $ac_includes_default
115286 main ()
115288 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= 0)];
115289 test_array [0] = 0
115292 return 0;
115294 _ACEOF
115295 rm -f conftest.$ac_objext
115296 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115297 (eval $ac_compile) 2>conftest.er1
115298 ac_status=$?
115299 grep -v '^ *+' conftest.er1 >conftest.err
115300 rm -f conftest.er1
115301 cat conftest.err >&5
115302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115303 (exit $ac_status); } &&
115304 { ac_try='test -z "$ac_c_werror_flag"
115305 || test ! -s conftest.err'
115306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115307 (eval $ac_try) 2>&5
115308 ac_status=$?
115309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115310 (exit $ac_status); }; } &&
115311 { ac_try='test -s conftest.$ac_objext'
115312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115313 (eval $ac_try) 2>&5
115314 ac_status=$?
115315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115316 (exit $ac_status); }; }; then
115317 ac_lo=0 ac_mid=0
115318 while :; do
115319 cat >conftest.$ac_ext <<_ACEOF
115320 /* confdefs.h. */
115321 _ACEOF
115322 cat confdefs.h >>conftest.$ac_ext
115323 cat >>conftest.$ac_ext <<_ACEOF
115324 /* end confdefs.h. */
115325 $ac_includes_default
115327 main ()
115329 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
115330 test_array [0] = 0
115333 return 0;
115335 _ACEOF
115336 rm -f conftest.$ac_objext
115337 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115338 (eval $ac_compile) 2>conftest.er1
115339 ac_status=$?
115340 grep -v '^ *+' conftest.er1 >conftest.err
115341 rm -f conftest.er1
115342 cat conftest.err >&5
115343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115344 (exit $ac_status); } &&
115345 { ac_try='test -z "$ac_c_werror_flag"
115346 || test ! -s conftest.err'
115347 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115348 (eval $ac_try) 2>&5
115349 ac_status=$?
115350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115351 (exit $ac_status); }; } &&
115352 { ac_try='test -s conftest.$ac_objext'
115353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115354 (eval $ac_try) 2>&5
115355 ac_status=$?
115356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115357 (exit $ac_status); }; }; then
115358 ac_hi=$ac_mid; break
115360 echo "$as_me: failed program was:" >&5
115361 sed 's/^/| /' conftest.$ac_ext >&5
115363 ac_lo=`expr $ac_mid + 1`
115364 if test $ac_lo -le $ac_mid; then
115365 ac_lo= ac_hi=
115366 break
115368 ac_mid=`expr 2 '*' $ac_mid + 1`
115370 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115373 echo "$as_me: failed program was:" >&5
115374 sed 's/^/| /' conftest.$ac_ext >&5
115376 cat >conftest.$ac_ext <<_ACEOF
115377 /* confdefs.h. */
115378 _ACEOF
115379 cat confdefs.h >>conftest.$ac_ext
115380 cat >>conftest.$ac_ext <<_ACEOF
115381 /* end confdefs.h. */
115382 $ac_includes_default
115384 main ()
115386 static int test_array [1 - 2 * !(((long) (sizeof (long))) < 0)];
115387 test_array [0] = 0
115390 return 0;
115392 _ACEOF
115393 rm -f conftest.$ac_objext
115394 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115395 (eval $ac_compile) 2>conftest.er1
115396 ac_status=$?
115397 grep -v '^ *+' conftest.er1 >conftest.err
115398 rm -f conftest.er1
115399 cat conftest.err >&5
115400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115401 (exit $ac_status); } &&
115402 { ac_try='test -z "$ac_c_werror_flag"
115403 || test ! -s conftest.err'
115404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115405 (eval $ac_try) 2>&5
115406 ac_status=$?
115407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115408 (exit $ac_status); }; } &&
115409 { ac_try='test -s conftest.$ac_objext'
115410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115411 (eval $ac_try) 2>&5
115412 ac_status=$?
115413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115414 (exit $ac_status); }; }; then
115415 ac_hi=-1 ac_mid=-1
115416 while :; do
115417 cat >conftest.$ac_ext <<_ACEOF
115418 /* confdefs.h. */
115419 _ACEOF
115420 cat confdefs.h >>conftest.$ac_ext
115421 cat >>conftest.$ac_ext <<_ACEOF
115422 /* end confdefs.h. */
115423 $ac_includes_default
115425 main ()
115427 static int test_array [1 - 2 * !(((long) (sizeof (long))) >= $ac_mid)];
115428 test_array [0] = 0
115431 return 0;
115433 _ACEOF
115434 rm -f conftest.$ac_objext
115435 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115436 (eval $ac_compile) 2>conftest.er1
115437 ac_status=$?
115438 grep -v '^ *+' conftest.er1 >conftest.err
115439 rm -f conftest.er1
115440 cat conftest.err >&5
115441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115442 (exit $ac_status); } &&
115443 { ac_try='test -z "$ac_c_werror_flag"
115444 || test ! -s conftest.err'
115445 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115446 (eval $ac_try) 2>&5
115447 ac_status=$?
115448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115449 (exit $ac_status); }; } &&
115450 { ac_try='test -s conftest.$ac_objext'
115451 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115452 (eval $ac_try) 2>&5
115453 ac_status=$?
115454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115455 (exit $ac_status); }; }; then
115456 ac_lo=$ac_mid; break
115458 echo "$as_me: failed program was:" >&5
115459 sed 's/^/| /' conftest.$ac_ext >&5
115461 ac_hi=`expr '(' $ac_mid ')' - 1`
115462 if test $ac_mid -le $ac_hi; then
115463 ac_lo= ac_hi=
115464 break
115466 ac_mid=`expr 2 '*' $ac_mid`
115468 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115471 echo "$as_me: failed program was:" >&5
115472 sed 's/^/| /' conftest.$ac_ext >&5
115474 ac_lo= ac_hi=
115476 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115479 # Binary search between lo and hi bounds.
115480 while test "x$ac_lo" != "x$ac_hi"; do
115481 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
115482 cat >conftest.$ac_ext <<_ACEOF
115483 /* confdefs.h. */
115484 _ACEOF
115485 cat confdefs.h >>conftest.$ac_ext
115486 cat >>conftest.$ac_ext <<_ACEOF
115487 /* end confdefs.h. */
115488 $ac_includes_default
115490 main ()
115492 static int test_array [1 - 2 * !(((long) (sizeof (long))) <= $ac_mid)];
115493 test_array [0] = 0
115496 return 0;
115498 _ACEOF
115499 rm -f conftest.$ac_objext
115500 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115501 (eval $ac_compile) 2>conftest.er1
115502 ac_status=$?
115503 grep -v '^ *+' conftest.er1 >conftest.err
115504 rm -f conftest.er1
115505 cat conftest.err >&5
115506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115507 (exit $ac_status); } &&
115508 { ac_try='test -z "$ac_c_werror_flag"
115509 || test ! -s conftest.err'
115510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115511 (eval $ac_try) 2>&5
115512 ac_status=$?
115513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115514 (exit $ac_status); }; } &&
115515 { ac_try='test -s conftest.$ac_objext'
115516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115517 (eval $ac_try) 2>&5
115518 ac_status=$?
115519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115520 (exit $ac_status); }; }; then
115521 ac_hi=$ac_mid
115523 echo "$as_me: failed program was:" >&5
115524 sed 's/^/| /' conftest.$ac_ext >&5
115526 ac_lo=`expr '(' $ac_mid ')' + 1`
115528 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115530 case $ac_lo in
115531 ?*) ac_cv_sizeof_long=$ac_lo;;
115532 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115533 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115534 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
115535 See \`config.log' for more details." >&5
115536 echo "$as_me: error: cannot compute sizeof (long), 77
115537 See \`config.log' for more details." >&2;}
115538 { (exit 1); exit 1; }; }; } ;;
115541 if test "$cross_compiling" = yes; then
115542 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115543 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115544 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
115545 See \`config.log' for more details." >&5
115546 echo "$as_me: error: cannot run test program while cross compiling
115547 See \`config.log' for more details." >&2;}
115548 { (exit 1); exit 1; }; }; }
115550 cat >conftest.$ac_ext <<_ACEOF
115551 /* confdefs.h. */
115552 _ACEOF
115553 cat confdefs.h >>conftest.$ac_ext
115554 cat >>conftest.$ac_ext <<_ACEOF
115555 /* end confdefs.h. */
115556 $ac_includes_default
115557 long longval () { return (long) (sizeof (long)); }
115558 unsigned long ulongval () { return (long) (sizeof (long)); }
115559 #include <stdio.h>
115560 #include <stdlib.h>
115562 main ()
115565 FILE *f = fopen ("conftest.val", "w");
115566 if (! f)
115567 exit (1);
115568 if (((long) (sizeof (long))) < 0)
115570 long i = longval ();
115571 if (i != ((long) (sizeof (long))))
115572 exit (1);
115573 fprintf (f, "%ld\n", i);
115577 unsigned long i = ulongval ();
115578 if (i != ((long) (sizeof (long))))
115579 exit (1);
115580 fprintf (f, "%lu\n", i);
115582 exit (ferror (f) || fclose (f) != 0);
115585 return 0;
115587 _ACEOF
115588 rm -f conftest$ac_exeext
115589 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
115590 (eval $ac_link) 2>&5
115591 ac_status=$?
115592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115593 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
115594 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115595 (eval $ac_try) 2>&5
115596 ac_status=$?
115597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115598 (exit $ac_status); }; }; then
115599 ac_cv_sizeof_long=`cat conftest.val`
115601 echo "$as_me: program exited with status $ac_status" >&5
115602 echo "$as_me: failed program was:" >&5
115603 sed 's/^/| /' conftest.$ac_ext >&5
115605 ( exit $ac_status )
115606 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115607 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115608 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long), 77
115609 See \`config.log' for more details." >&5
115610 echo "$as_me: error: cannot compute sizeof (long), 77
115611 See \`config.log' for more details." >&2;}
115612 { (exit 1); exit 1; }; }; }
115614 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
115617 rm -f conftest.val
115619 ac_cv_sizeof_long=0
115622 echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
115623 echo "${ECHO_T}$ac_cv_sizeof_long" >&6
115624 cat >>confdefs.h <<_ACEOF
115625 #define SIZEOF_LONG $ac_cv_sizeof_long
115626 _ACEOF
115631 if test $acx_cv_header_stdint = stddef.h; then
115632 # Lacking a good header? Test size of everything and deduce all types.
115633 echo "$as_me:$LINENO: checking for int" >&5
115634 echo $ECHO_N "checking for int... $ECHO_C" >&6
115635 if test "${ac_cv_type_int+set}" = set; then
115636 echo $ECHO_N "(cached) $ECHO_C" >&6
115638 cat >conftest.$ac_ext <<_ACEOF
115639 /* confdefs.h. */
115640 _ACEOF
115641 cat confdefs.h >>conftest.$ac_ext
115642 cat >>conftest.$ac_ext <<_ACEOF
115643 /* end confdefs.h. */
115644 $ac_includes_default
115646 main ()
115648 if ((int *) 0)
115649 return 0;
115650 if (sizeof (int))
115651 return 0;
115653 return 0;
115655 _ACEOF
115656 rm -f conftest.$ac_objext
115657 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115658 (eval $ac_compile) 2>conftest.er1
115659 ac_status=$?
115660 grep -v '^ *+' conftest.er1 >conftest.err
115661 rm -f conftest.er1
115662 cat conftest.err >&5
115663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115664 (exit $ac_status); } &&
115665 { ac_try='test -z "$ac_c_werror_flag"
115666 || test ! -s conftest.err'
115667 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115668 (eval $ac_try) 2>&5
115669 ac_status=$?
115670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115671 (exit $ac_status); }; } &&
115672 { ac_try='test -s conftest.$ac_objext'
115673 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115674 (eval $ac_try) 2>&5
115675 ac_status=$?
115676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115677 (exit $ac_status); }; }; then
115678 ac_cv_type_int=yes
115680 echo "$as_me: failed program was:" >&5
115681 sed 's/^/| /' conftest.$ac_ext >&5
115683 ac_cv_type_int=no
115685 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115687 echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
115688 echo "${ECHO_T}$ac_cv_type_int" >&6
115690 echo "$as_me:$LINENO: checking size of int" >&5
115691 echo $ECHO_N "checking size of int... $ECHO_C" >&6
115692 if test "${ac_cv_sizeof_int+set}" = set; then
115693 echo $ECHO_N "(cached) $ECHO_C" >&6
115695 if test "$ac_cv_type_int" = yes; then
115696 # The cast to unsigned long works around a bug in the HP C Compiler
115697 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
115698 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
115699 # This bug is HP SR number 8606223364.
115700 if test "$cross_compiling" = yes; then
115701 # Depending upon the size, compute the lo and hi bounds.
115702 cat >conftest.$ac_ext <<_ACEOF
115703 /* confdefs.h. */
115704 _ACEOF
115705 cat confdefs.h >>conftest.$ac_ext
115706 cat >>conftest.$ac_ext <<_ACEOF
115707 /* end confdefs.h. */
115708 $ac_includes_default
115710 main ()
115712 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= 0)];
115713 test_array [0] = 0
115716 return 0;
115718 _ACEOF
115719 rm -f conftest.$ac_objext
115720 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115721 (eval $ac_compile) 2>conftest.er1
115722 ac_status=$?
115723 grep -v '^ *+' conftest.er1 >conftest.err
115724 rm -f conftest.er1
115725 cat conftest.err >&5
115726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115727 (exit $ac_status); } &&
115728 { ac_try='test -z "$ac_c_werror_flag"
115729 || test ! -s conftest.err'
115730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115731 (eval $ac_try) 2>&5
115732 ac_status=$?
115733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115734 (exit $ac_status); }; } &&
115735 { ac_try='test -s conftest.$ac_objext'
115736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115737 (eval $ac_try) 2>&5
115738 ac_status=$?
115739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115740 (exit $ac_status); }; }; then
115741 ac_lo=0 ac_mid=0
115742 while :; do
115743 cat >conftest.$ac_ext <<_ACEOF
115744 /* confdefs.h. */
115745 _ACEOF
115746 cat confdefs.h >>conftest.$ac_ext
115747 cat >>conftest.$ac_ext <<_ACEOF
115748 /* end confdefs.h. */
115749 $ac_includes_default
115751 main ()
115753 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
115754 test_array [0] = 0
115757 return 0;
115759 _ACEOF
115760 rm -f conftest.$ac_objext
115761 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115762 (eval $ac_compile) 2>conftest.er1
115763 ac_status=$?
115764 grep -v '^ *+' conftest.er1 >conftest.err
115765 rm -f conftest.er1
115766 cat conftest.err >&5
115767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115768 (exit $ac_status); } &&
115769 { ac_try='test -z "$ac_c_werror_flag"
115770 || test ! -s conftest.err'
115771 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115772 (eval $ac_try) 2>&5
115773 ac_status=$?
115774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115775 (exit $ac_status); }; } &&
115776 { ac_try='test -s conftest.$ac_objext'
115777 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115778 (eval $ac_try) 2>&5
115779 ac_status=$?
115780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115781 (exit $ac_status); }; }; then
115782 ac_hi=$ac_mid; break
115784 echo "$as_me: failed program was:" >&5
115785 sed 's/^/| /' conftest.$ac_ext >&5
115787 ac_lo=`expr $ac_mid + 1`
115788 if test $ac_lo -le $ac_mid; then
115789 ac_lo= ac_hi=
115790 break
115792 ac_mid=`expr 2 '*' $ac_mid + 1`
115794 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115797 echo "$as_me: failed program was:" >&5
115798 sed 's/^/| /' conftest.$ac_ext >&5
115800 cat >conftest.$ac_ext <<_ACEOF
115801 /* confdefs.h. */
115802 _ACEOF
115803 cat confdefs.h >>conftest.$ac_ext
115804 cat >>conftest.$ac_ext <<_ACEOF
115805 /* end confdefs.h. */
115806 $ac_includes_default
115808 main ()
115810 static int test_array [1 - 2 * !(((long) (sizeof (int))) < 0)];
115811 test_array [0] = 0
115814 return 0;
115816 _ACEOF
115817 rm -f conftest.$ac_objext
115818 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115819 (eval $ac_compile) 2>conftest.er1
115820 ac_status=$?
115821 grep -v '^ *+' conftest.er1 >conftest.err
115822 rm -f conftest.er1
115823 cat conftest.err >&5
115824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115825 (exit $ac_status); } &&
115826 { ac_try='test -z "$ac_c_werror_flag"
115827 || test ! -s conftest.err'
115828 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115829 (eval $ac_try) 2>&5
115830 ac_status=$?
115831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115832 (exit $ac_status); }; } &&
115833 { ac_try='test -s conftest.$ac_objext'
115834 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115835 (eval $ac_try) 2>&5
115836 ac_status=$?
115837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115838 (exit $ac_status); }; }; then
115839 ac_hi=-1 ac_mid=-1
115840 while :; do
115841 cat >conftest.$ac_ext <<_ACEOF
115842 /* confdefs.h. */
115843 _ACEOF
115844 cat confdefs.h >>conftest.$ac_ext
115845 cat >>conftest.$ac_ext <<_ACEOF
115846 /* end confdefs.h. */
115847 $ac_includes_default
115849 main ()
115851 static int test_array [1 - 2 * !(((long) (sizeof (int))) >= $ac_mid)];
115852 test_array [0] = 0
115855 return 0;
115857 _ACEOF
115858 rm -f conftest.$ac_objext
115859 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115860 (eval $ac_compile) 2>conftest.er1
115861 ac_status=$?
115862 grep -v '^ *+' conftest.er1 >conftest.err
115863 rm -f conftest.er1
115864 cat conftest.err >&5
115865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115866 (exit $ac_status); } &&
115867 { ac_try='test -z "$ac_c_werror_flag"
115868 || test ! -s conftest.err'
115869 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115870 (eval $ac_try) 2>&5
115871 ac_status=$?
115872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115873 (exit $ac_status); }; } &&
115874 { ac_try='test -s conftest.$ac_objext'
115875 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115876 (eval $ac_try) 2>&5
115877 ac_status=$?
115878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115879 (exit $ac_status); }; }; then
115880 ac_lo=$ac_mid; break
115882 echo "$as_me: failed program was:" >&5
115883 sed 's/^/| /' conftest.$ac_ext >&5
115885 ac_hi=`expr '(' $ac_mid ')' - 1`
115886 if test $ac_mid -le $ac_hi; then
115887 ac_lo= ac_hi=
115888 break
115890 ac_mid=`expr 2 '*' $ac_mid`
115892 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115895 echo "$as_me: failed program was:" >&5
115896 sed 's/^/| /' conftest.$ac_ext >&5
115898 ac_lo= ac_hi=
115900 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115903 # Binary search between lo and hi bounds.
115904 while test "x$ac_lo" != "x$ac_hi"; do
115905 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
115906 cat >conftest.$ac_ext <<_ACEOF
115907 /* confdefs.h. */
115908 _ACEOF
115909 cat confdefs.h >>conftest.$ac_ext
115910 cat >>conftest.$ac_ext <<_ACEOF
115911 /* end confdefs.h. */
115912 $ac_includes_default
115914 main ()
115916 static int test_array [1 - 2 * !(((long) (sizeof (int))) <= $ac_mid)];
115917 test_array [0] = 0
115920 return 0;
115922 _ACEOF
115923 rm -f conftest.$ac_objext
115924 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
115925 (eval $ac_compile) 2>conftest.er1
115926 ac_status=$?
115927 grep -v '^ *+' conftest.er1 >conftest.err
115928 rm -f conftest.er1
115929 cat conftest.err >&5
115930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115931 (exit $ac_status); } &&
115932 { ac_try='test -z "$ac_c_werror_flag"
115933 || test ! -s conftest.err'
115934 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115935 (eval $ac_try) 2>&5
115936 ac_status=$?
115937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115938 (exit $ac_status); }; } &&
115939 { ac_try='test -s conftest.$ac_objext'
115940 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
115941 (eval $ac_try) 2>&5
115942 ac_status=$?
115943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
115944 (exit $ac_status); }; }; then
115945 ac_hi=$ac_mid
115947 echo "$as_me: failed program was:" >&5
115948 sed 's/^/| /' conftest.$ac_ext >&5
115950 ac_lo=`expr '(' $ac_mid ')' + 1`
115952 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
115954 case $ac_lo in
115955 ?*) ac_cv_sizeof_int=$ac_lo;;
115956 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115957 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115958 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
115959 See \`config.log' for more details." >&5
115960 echo "$as_me: error: cannot compute sizeof (int), 77
115961 See \`config.log' for more details." >&2;}
115962 { (exit 1); exit 1; }; }; } ;;
115965 if test "$cross_compiling" = yes; then
115966 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
115967 echo "$as_me: error: in \`$ac_pwd':" >&2;}
115968 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
115969 See \`config.log' for more details." >&5
115970 echo "$as_me: error: cannot run test program while cross compiling
115971 See \`config.log' for more details." >&2;}
115972 { (exit 1); exit 1; }; }; }
115974 cat >conftest.$ac_ext <<_ACEOF
115975 /* confdefs.h. */
115976 _ACEOF
115977 cat confdefs.h >>conftest.$ac_ext
115978 cat >>conftest.$ac_ext <<_ACEOF
115979 /* end confdefs.h. */
115980 $ac_includes_default
115981 long longval () { return (long) (sizeof (int)); }
115982 unsigned long ulongval () { return (long) (sizeof (int)); }
115983 #include <stdio.h>
115984 #include <stdlib.h>
115986 main ()
115989 FILE *f = fopen ("conftest.val", "w");
115990 if (! f)
115991 exit (1);
115992 if (((long) (sizeof (int))) < 0)
115994 long i = longval ();
115995 if (i != ((long) (sizeof (int))))
115996 exit (1);
115997 fprintf (f, "%ld\n", i);
116001 unsigned long i = ulongval ();
116002 if (i != ((long) (sizeof (int))))
116003 exit (1);
116004 fprintf (f, "%lu\n", i);
116006 exit (ferror (f) || fclose (f) != 0);
116009 return 0;
116011 _ACEOF
116012 rm -f conftest$ac_exeext
116013 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116014 (eval $ac_link) 2>&5
116015 ac_status=$?
116016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116017 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116018 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116019 (eval $ac_try) 2>&5
116020 ac_status=$?
116021 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116022 (exit $ac_status); }; }; then
116023 ac_cv_sizeof_int=`cat conftest.val`
116025 echo "$as_me: program exited with status $ac_status" >&5
116026 echo "$as_me: failed program was:" >&5
116027 sed 's/^/| /' conftest.$ac_ext >&5
116029 ( exit $ac_status )
116030 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116031 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116032 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int), 77
116033 See \`config.log' for more details." >&5
116034 echo "$as_me: error: cannot compute sizeof (int), 77
116035 See \`config.log' for more details." >&2;}
116036 { (exit 1); exit 1; }; }; }
116038 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116041 rm -f conftest.val
116043 ac_cv_sizeof_int=0
116046 echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
116047 echo "${ECHO_T}$ac_cv_sizeof_int" >&6
116048 cat >>confdefs.h <<_ACEOF
116049 #define SIZEOF_INT $ac_cv_sizeof_int
116050 _ACEOF
116053 echo "$as_me:$LINENO: checking for short" >&5
116054 echo $ECHO_N "checking for short... $ECHO_C" >&6
116055 if test "${ac_cv_type_short+set}" = set; then
116056 echo $ECHO_N "(cached) $ECHO_C" >&6
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. */
116064 $ac_includes_default
116066 main ()
116068 if ((short *) 0)
116069 return 0;
116070 if (sizeof (short))
116071 return 0;
116073 return 0;
116075 _ACEOF
116076 rm -f conftest.$ac_objext
116077 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116078 (eval $ac_compile) 2>conftest.er1
116079 ac_status=$?
116080 grep -v '^ *+' conftest.er1 >conftest.err
116081 rm -f conftest.er1
116082 cat conftest.err >&5
116083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116084 (exit $ac_status); } &&
116085 { ac_try='test -z "$ac_c_werror_flag"
116086 || test ! -s conftest.err'
116087 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116088 (eval $ac_try) 2>&5
116089 ac_status=$?
116090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116091 (exit $ac_status); }; } &&
116092 { ac_try='test -s conftest.$ac_objext'
116093 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116094 (eval $ac_try) 2>&5
116095 ac_status=$?
116096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116097 (exit $ac_status); }; }; then
116098 ac_cv_type_short=yes
116100 echo "$as_me: failed program was:" >&5
116101 sed 's/^/| /' conftest.$ac_ext >&5
116103 ac_cv_type_short=no
116105 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116107 echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
116108 echo "${ECHO_T}$ac_cv_type_short" >&6
116110 echo "$as_me:$LINENO: checking size of short" >&5
116111 echo $ECHO_N "checking size of short... $ECHO_C" >&6
116112 if test "${ac_cv_sizeof_short+set}" = set; then
116113 echo $ECHO_N "(cached) $ECHO_C" >&6
116115 if test "$ac_cv_type_short" = yes; then
116116 # The cast to unsigned long works around a bug in the HP C Compiler
116117 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116118 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116119 # This bug is HP SR number 8606223364.
116120 if test "$cross_compiling" = yes; then
116121 # Depending upon the size, compute the lo and hi bounds.
116122 cat >conftest.$ac_ext <<_ACEOF
116123 /* confdefs.h. */
116124 _ACEOF
116125 cat confdefs.h >>conftest.$ac_ext
116126 cat >>conftest.$ac_ext <<_ACEOF
116127 /* end confdefs.h. */
116128 $ac_includes_default
116130 main ()
116132 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= 0)];
116133 test_array [0] = 0
116136 return 0;
116138 _ACEOF
116139 rm -f conftest.$ac_objext
116140 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116141 (eval $ac_compile) 2>conftest.er1
116142 ac_status=$?
116143 grep -v '^ *+' conftest.er1 >conftest.err
116144 rm -f conftest.er1
116145 cat conftest.err >&5
116146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116147 (exit $ac_status); } &&
116148 { ac_try='test -z "$ac_c_werror_flag"
116149 || test ! -s conftest.err'
116150 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116151 (eval $ac_try) 2>&5
116152 ac_status=$?
116153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116154 (exit $ac_status); }; } &&
116155 { ac_try='test -s conftest.$ac_objext'
116156 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116157 (eval $ac_try) 2>&5
116158 ac_status=$?
116159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116160 (exit $ac_status); }; }; then
116161 ac_lo=0 ac_mid=0
116162 while :; do
116163 cat >conftest.$ac_ext <<_ACEOF
116164 /* confdefs.h. */
116165 _ACEOF
116166 cat confdefs.h >>conftest.$ac_ext
116167 cat >>conftest.$ac_ext <<_ACEOF
116168 /* end confdefs.h. */
116169 $ac_includes_default
116171 main ()
116173 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
116174 test_array [0] = 0
116177 return 0;
116179 _ACEOF
116180 rm -f conftest.$ac_objext
116181 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116182 (eval $ac_compile) 2>conftest.er1
116183 ac_status=$?
116184 grep -v '^ *+' conftest.er1 >conftest.err
116185 rm -f conftest.er1
116186 cat conftest.err >&5
116187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116188 (exit $ac_status); } &&
116189 { ac_try='test -z "$ac_c_werror_flag"
116190 || test ! -s conftest.err'
116191 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116192 (eval $ac_try) 2>&5
116193 ac_status=$?
116194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116195 (exit $ac_status); }; } &&
116196 { ac_try='test -s conftest.$ac_objext'
116197 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116198 (eval $ac_try) 2>&5
116199 ac_status=$?
116200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116201 (exit $ac_status); }; }; then
116202 ac_hi=$ac_mid; break
116204 echo "$as_me: failed program was:" >&5
116205 sed 's/^/| /' conftest.$ac_ext >&5
116207 ac_lo=`expr $ac_mid + 1`
116208 if test $ac_lo -le $ac_mid; then
116209 ac_lo= ac_hi=
116210 break
116212 ac_mid=`expr 2 '*' $ac_mid + 1`
116214 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116217 echo "$as_me: failed program was:" >&5
116218 sed 's/^/| /' conftest.$ac_ext >&5
116220 cat >conftest.$ac_ext <<_ACEOF
116221 /* confdefs.h. */
116222 _ACEOF
116223 cat confdefs.h >>conftest.$ac_ext
116224 cat >>conftest.$ac_ext <<_ACEOF
116225 /* end confdefs.h. */
116226 $ac_includes_default
116228 main ()
116230 static int test_array [1 - 2 * !(((long) (sizeof (short))) < 0)];
116231 test_array [0] = 0
116234 return 0;
116236 _ACEOF
116237 rm -f conftest.$ac_objext
116238 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116239 (eval $ac_compile) 2>conftest.er1
116240 ac_status=$?
116241 grep -v '^ *+' conftest.er1 >conftest.err
116242 rm -f conftest.er1
116243 cat conftest.err >&5
116244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116245 (exit $ac_status); } &&
116246 { ac_try='test -z "$ac_c_werror_flag"
116247 || test ! -s conftest.err'
116248 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116249 (eval $ac_try) 2>&5
116250 ac_status=$?
116251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116252 (exit $ac_status); }; } &&
116253 { ac_try='test -s conftest.$ac_objext'
116254 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116255 (eval $ac_try) 2>&5
116256 ac_status=$?
116257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116258 (exit $ac_status); }; }; then
116259 ac_hi=-1 ac_mid=-1
116260 while :; do
116261 cat >conftest.$ac_ext <<_ACEOF
116262 /* confdefs.h. */
116263 _ACEOF
116264 cat confdefs.h >>conftest.$ac_ext
116265 cat >>conftest.$ac_ext <<_ACEOF
116266 /* end confdefs.h. */
116267 $ac_includes_default
116269 main ()
116271 static int test_array [1 - 2 * !(((long) (sizeof (short))) >= $ac_mid)];
116272 test_array [0] = 0
116275 return 0;
116277 _ACEOF
116278 rm -f conftest.$ac_objext
116279 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116280 (eval $ac_compile) 2>conftest.er1
116281 ac_status=$?
116282 grep -v '^ *+' conftest.er1 >conftest.err
116283 rm -f conftest.er1
116284 cat conftest.err >&5
116285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116286 (exit $ac_status); } &&
116287 { ac_try='test -z "$ac_c_werror_flag"
116288 || test ! -s conftest.err'
116289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116290 (eval $ac_try) 2>&5
116291 ac_status=$?
116292 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116293 (exit $ac_status); }; } &&
116294 { ac_try='test -s conftest.$ac_objext'
116295 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116296 (eval $ac_try) 2>&5
116297 ac_status=$?
116298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116299 (exit $ac_status); }; }; then
116300 ac_lo=$ac_mid; break
116302 echo "$as_me: failed program was:" >&5
116303 sed 's/^/| /' conftest.$ac_ext >&5
116305 ac_hi=`expr '(' $ac_mid ')' - 1`
116306 if test $ac_mid -le $ac_hi; then
116307 ac_lo= ac_hi=
116308 break
116310 ac_mid=`expr 2 '*' $ac_mid`
116312 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116315 echo "$as_me: failed program was:" >&5
116316 sed 's/^/| /' conftest.$ac_ext >&5
116318 ac_lo= ac_hi=
116320 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116322 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116323 # Binary search between lo and hi bounds.
116324 while test "x$ac_lo" != "x$ac_hi"; do
116325 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116326 cat >conftest.$ac_ext <<_ACEOF
116327 /* confdefs.h. */
116328 _ACEOF
116329 cat confdefs.h >>conftest.$ac_ext
116330 cat >>conftest.$ac_ext <<_ACEOF
116331 /* end confdefs.h. */
116332 $ac_includes_default
116334 main ()
116336 static int test_array [1 - 2 * !(((long) (sizeof (short))) <= $ac_mid)];
116337 test_array [0] = 0
116340 return 0;
116342 _ACEOF
116343 rm -f conftest.$ac_objext
116344 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116345 (eval $ac_compile) 2>conftest.er1
116346 ac_status=$?
116347 grep -v '^ *+' conftest.er1 >conftest.err
116348 rm -f conftest.er1
116349 cat conftest.err >&5
116350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116351 (exit $ac_status); } &&
116352 { ac_try='test -z "$ac_c_werror_flag"
116353 || test ! -s conftest.err'
116354 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116355 (eval $ac_try) 2>&5
116356 ac_status=$?
116357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116358 (exit $ac_status); }; } &&
116359 { ac_try='test -s conftest.$ac_objext'
116360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116361 (eval $ac_try) 2>&5
116362 ac_status=$?
116363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116364 (exit $ac_status); }; }; then
116365 ac_hi=$ac_mid
116367 echo "$as_me: failed program was:" >&5
116368 sed 's/^/| /' conftest.$ac_ext >&5
116370 ac_lo=`expr '(' $ac_mid ')' + 1`
116372 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116374 case $ac_lo in
116375 ?*) ac_cv_sizeof_short=$ac_lo;;
116376 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116377 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116378 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
116379 See \`config.log' for more details." >&5
116380 echo "$as_me: error: cannot compute sizeof (short), 77
116381 See \`config.log' for more details." >&2;}
116382 { (exit 1); exit 1; }; }; } ;;
116385 if test "$cross_compiling" = yes; then
116386 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116387 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116388 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116389 See \`config.log' for more details." >&5
116390 echo "$as_me: error: cannot run test program while cross compiling
116391 See \`config.log' for more details." >&2;}
116392 { (exit 1); exit 1; }; }; }
116394 cat >conftest.$ac_ext <<_ACEOF
116395 /* confdefs.h. */
116396 _ACEOF
116397 cat confdefs.h >>conftest.$ac_ext
116398 cat >>conftest.$ac_ext <<_ACEOF
116399 /* end confdefs.h. */
116400 $ac_includes_default
116401 long longval () { return (long) (sizeof (short)); }
116402 unsigned long ulongval () { return (long) (sizeof (short)); }
116403 #include <stdio.h>
116404 #include <stdlib.h>
116406 main ()
116409 FILE *f = fopen ("conftest.val", "w");
116410 if (! f)
116411 exit (1);
116412 if (((long) (sizeof (short))) < 0)
116414 long i = longval ();
116415 if (i != ((long) (sizeof (short))))
116416 exit (1);
116417 fprintf (f, "%ld\n", i);
116421 unsigned long i = ulongval ();
116422 if (i != ((long) (sizeof (short))))
116423 exit (1);
116424 fprintf (f, "%lu\n", i);
116426 exit (ferror (f) || fclose (f) != 0);
116429 return 0;
116431 _ACEOF
116432 rm -f conftest$ac_exeext
116433 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116434 (eval $ac_link) 2>&5
116435 ac_status=$?
116436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116437 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116439 (eval $ac_try) 2>&5
116440 ac_status=$?
116441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116442 (exit $ac_status); }; }; then
116443 ac_cv_sizeof_short=`cat conftest.val`
116445 echo "$as_me: program exited with status $ac_status" >&5
116446 echo "$as_me: failed program was:" >&5
116447 sed 's/^/| /' conftest.$ac_ext >&5
116449 ( exit $ac_status )
116450 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116451 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116452 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short), 77
116453 See \`config.log' for more details." >&5
116454 echo "$as_me: error: cannot compute sizeof (short), 77
116455 See \`config.log' for more details." >&2;}
116456 { (exit 1); exit 1; }; }; }
116458 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116461 rm -f conftest.val
116463 ac_cv_sizeof_short=0
116466 echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
116467 echo "${ECHO_T}$ac_cv_sizeof_short" >&6
116468 cat >>confdefs.h <<_ACEOF
116469 #define SIZEOF_SHORT $ac_cv_sizeof_short
116470 _ACEOF
116473 echo "$as_me:$LINENO: checking for char" >&5
116474 echo $ECHO_N "checking for char... $ECHO_C" >&6
116475 if test "${ac_cv_type_char+set}" = set; then
116476 echo $ECHO_N "(cached) $ECHO_C" >&6
116478 cat >conftest.$ac_ext <<_ACEOF
116479 /* confdefs.h. */
116480 _ACEOF
116481 cat confdefs.h >>conftest.$ac_ext
116482 cat >>conftest.$ac_ext <<_ACEOF
116483 /* end confdefs.h. */
116484 $ac_includes_default
116486 main ()
116488 if ((char *) 0)
116489 return 0;
116490 if (sizeof (char))
116491 return 0;
116493 return 0;
116495 _ACEOF
116496 rm -f conftest.$ac_objext
116497 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116498 (eval $ac_compile) 2>conftest.er1
116499 ac_status=$?
116500 grep -v '^ *+' conftest.er1 >conftest.err
116501 rm -f conftest.er1
116502 cat conftest.err >&5
116503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116504 (exit $ac_status); } &&
116505 { ac_try='test -z "$ac_c_werror_flag"
116506 || test ! -s conftest.err'
116507 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116508 (eval $ac_try) 2>&5
116509 ac_status=$?
116510 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116511 (exit $ac_status); }; } &&
116512 { ac_try='test -s conftest.$ac_objext'
116513 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116514 (eval $ac_try) 2>&5
116515 ac_status=$?
116516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116517 (exit $ac_status); }; }; then
116518 ac_cv_type_char=yes
116520 echo "$as_me: failed program was:" >&5
116521 sed 's/^/| /' conftest.$ac_ext >&5
116523 ac_cv_type_char=no
116525 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116527 echo "$as_me:$LINENO: result: $ac_cv_type_char" >&5
116528 echo "${ECHO_T}$ac_cv_type_char" >&6
116530 echo "$as_me:$LINENO: checking size of char" >&5
116531 echo $ECHO_N "checking size of char... $ECHO_C" >&6
116532 if test "${ac_cv_sizeof_char+set}" = set; then
116533 echo $ECHO_N "(cached) $ECHO_C" >&6
116535 if test "$ac_cv_type_char" = yes; then
116536 # The cast to unsigned long works around a bug in the HP C Compiler
116537 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
116538 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
116539 # This bug is HP SR number 8606223364.
116540 if test "$cross_compiling" = yes; then
116541 # Depending upon the size, compute the lo and hi bounds.
116542 cat >conftest.$ac_ext <<_ACEOF
116543 /* confdefs.h. */
116544 _ACEOF
116545 cat confdefs.h >>conftest.$ac_ext
116546 cat >>conftest.$ac_ext <<_ACEOF
116547 /* end confdefs.h. */
116548 $ac_includes_default
116550 main ()
116552 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= 0)];
116553 test_array [0] = 0
116556 return 0;
116558 _ACEOF
116559 rm -f conftest.$ac_objext
116560 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116561 (eval $ac_compile) 2>conftest.er1
116562 ac_status=$?
116563 grep -v '^ *+' conftest.er1 >conftest.err
116564 rm -f conftest.er1
116565 cat conftest.err >&5
116566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116567 (exit $ac_status); } &&
116568 { ac_try='test -z "$ac_c_werror_flag"
116569 || test ! -s conftest.err'
116570 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116571 (eval $ac_try) 2>&5
116572 ac_status=$?
116573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116574 (exit $ac_status); }; } &&
116575 { ac_try='test -s conftest.$ac_objext'
116576 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116577 (eval $ac_try) 2>&5
116578 ac_status=$?
116579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116580 (exit $ac_status); }; }; then
116581 ac_lo=0 ac_mid=0
116582 while :; do
116583 cat >conftest.$ac_ext <<_ACEOF
116584 /* confdefs.h. */
116585 _ACEOF
116586 cat confdefs.h >>conftest.$ac_ext
116587 cat >>conftest.$ac_ext <<_ACEOF
116588 /* end confdefs.h. */
116589 $ac_includes_default
116591 main ()
116593 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
116594 test_array [0] = 0
116597 return 0;
116599 _ACEOF
116600 rm -f conftest.$ac_objext
116601 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116602 (eval $ac_compile) 2>conftest.er1
116603 ac_status=$?
116604 grep -v '^ *+' conftest.er1 >conftest.err
116605 rm -f conftest.er1
116606 cat conftest.err >&5
116607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116608 (exit $ac_status); } &&
116609 { ac_try='test -z "$ac_c_werror_flag"
116610 || test ! -s conftest.err'
116611 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116612 (eval $ac_try) 2>&5
116613 ac_status=$?
116614 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116615 (exit $ac_status); }; } &&
116616 { ac_try='test -s conftest.$ac_objext'
116617 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116618 (eval $ac_try) 2>&5
116619 ac_status=$?
116620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116621 (exit $ac_status); }; }; then
116622 ac_hi=$ac_mid; break
116624 echo "$as_me: failed program was:" >&5
116625 sed 's/^/| /' conftest.$ac_ext >&5
116627 ac_lo=`expr $ac_mid + 1`
116628 if test $ac_lo -le $ac_mid; then
116629 ac_lo= ac_hi=
116630 break
116632 ac_mid=`expr 2 '*' $ac_mid + 1`
116634 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116637 echo "$as_me: failed program was:" >&5
116638 sed 's/^/| /' conftest.$ac_ext >&5
116640 cat >conftest.$ac_ext <<_ACEOF
116641 /* confdefs.h. */
116642 _ACEOF
116643 cat confdefs.h >>conftest.$ac_ext
116644 cat >>conftest.$ac_ext <<_ACEOF
116645 /* end confdefs.h. */
116646 $ac_includes_default
116648 main ()
116650 static int test_array [1 - 2 * !(((long) (sizeof (char))) < 0)];
116651 test_array [0] = 0
116654 return 0;
116656 _ACEOF
116657 rm -f conftest.$ac_objext
116658 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116659 (eval $ac_compile) 2>conftest.er1
116660 ac_status=$?
116661 grep -v '^ *+' conftest.er1 >conftest.err
116662 rm -f conftest.er1
116663 cat conftest.err >&5
116664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116665 (exit $ac_status); } &&
116666 { ac_try='test -z "$ac_c_werror_flag"
116667 || test ! -s conftest.err'
116668 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116669 (eval $ac_try) 2>&5
116670 ac_status=$?
116671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116672 (exit $ac_status); }; } &&
116673 { ac_try='test -s conftest.$ac_objext'
116674 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116675 (eval $ac_try) 2>&5
116676 ac_status=$?
116677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116678 (exit $ac_status); }; }; then
116679 ac_hi=-1 ac_mid=-1
116680 while :; do
116681 cat >conftest.$ac_ext <<_ACEOF
116682 /* confdefs.h. */
116683 _ACEOF
116684 cat confdefs.h >>conftest.$ac_ext
116685 cat >>conftest.$ac_ext <<_ACEOF
116686 /* end confdefs.h. */
116687 $ac_includes_default
116689 main ()
116691 static int test_array [1 - 2 * !(((long) (sizeof (char))) >= $ac_mid)];
116692 test_array [0] = 0
116695 return 0;
116697 _ACEOF
116698 rm -f conftest.$ac_objext
116699 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116700 (eval $ac_compile) 2>conftest.er1
116701 ac_status=$?
116702 grep -v '^ *+' conftest.er1 >conftest.err
116703 rm -f conftest.er1
116704 cat conftest.err >&5
116705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116706 (exit $ac_status); } &&
116707 { ac_try='test -z "$ac_c_werror_flag"
116708 || test ! -s conftest.err'
116709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116710 (eval $ac_try) 2>&5
116711 ac_status=$?
116712 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116713 (exit $ac_status); }; } &&
116714 { ac_try='test -s conftest.$ac_objext'
116715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116716 (eval $ac_try) 2>&5
116717 ac_status=$?
116718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116719 (exit $ac_status); }; }; then
116720 ac_lo=$ac_mid; break
116722 echo "$as_me: failed program was:" >&5
116723 sed 's/^/| /' conftest.$ac_ext >&5
116725 ac_hi=`expr '(' $ac_mid ')' - 1`
116726 if test $ac_mid -le $ac_hi; then
116727 ac_lo= ac_hi=
116728 break
116730 ac_mid=`expr 2 '*' $ac_mid`
116732 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116735 echo "$as_me: failed program was:" >&5
116736 sed 's/^/| /' conftest.$ac_ext >&5
116738 ac_lo= ac_hi=
116740 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116742 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116743 # Binary search between lo and hi bounds.
116744 while test "x$ac_lo" != "x$ac_hi"; do
116745 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
116746 cat >conftest.$ac_ext <<_ACEOF
116747 /* confdefs.h. */
116748 _ACEOF
116749 cat confdefs.h >>conftest.$ac_ext
116750 cat >>conftest.$ac_ext <<_ACEOF
116751 /* end confdefs.h. */
116752 $ac_includes_default
116754 main ()
116756 static int test_array [1 - 2 * !(((long) (sizeof (char))) <= $ac_mid)];
116757 test_array [0] = 0
116760 return 0;
116762 _ACEOF
116763 rm -f conftest.$ac_objext
116764 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
116765 (eval $ac_compile) 2>conftest.er1
116766 ac_status=$?
116767 grep -v '^ *+' conftest.er1 >conftest.err
116768 rm -f conftest.er1
116769 cat conftest.err >&5
116770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116771 (exit $ac_status); } &&
116772 { ac_try='test -z "$ac_c_werror_flag"
116773 || test ! -s conftest.err'
116774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116775 (eval $ac_try) 2>&5
116776 ac_status=$?
116777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116778 (exit $ac_status); }; } &&
116779 { ac_try='test -s conftest.$ac_objext'
116780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116781 (eval $ac_try) 2>&5
116782 ac_status=$?
116783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116784 (exit $ac_status); }; }; then
116785 ac_hi=$ac_mid
116787 echo "$as_me: failed program was:" >&5
116788 sed 's/^/| /' conftest.$ac_ext >&5
116790 ac_lo=`expr '(' $ac_mid ')' + 1`
116792 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
116794 case $ac_lo in
116795 ?*) ac_cv_sizeof_char=$ac_lo;;
116796 '') { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116797 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116798 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
116799 See \`config.log' for more details." >&5
116800 echo "$as_me: error: cannot compute sizeof (char), 77
116801 See \`config.log' for more details." >&2;}
116802 { (exit 1); exit 1; }; }; } ;;
116805 if test "$cross_compiling" = yes; then
116806 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116807 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116808 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
116809 See \`config.log' for more details." >&5
116810 echo "$as_me: error: cannot run test program while cross compiling
116811 See \`config.log' for more details." >&2;}
116812 { (exit 1); exit 1; }; }; }
116814 cat >conftest.$ac_ext <<_ACEOF
116815 /* confdefs.h. */
116816 _ACEOF
116817 cat confdefs.h >>conftest.$ac_ext
116818 cat >>conftest.$ac_ext <<_ACEOF
116819 /* end confdefs.h. */
116820 $ac_includes_default
116821 long longval () { return (long) (sizeof (char)); }
116822 unsigned long ulongval () { return (long) (sizeof (char)); }
116823 #include <stdio.h>
116824 #include <stdlib.h>
116826 main ()
116829 FILE *f = fopen ("conftest.val", "w");
116830 if (! f)
116831 exit (1);
116832 if (((long) (sizeof (char))) < 0)
116834 long i = longval ();
116835 if (i != ((long) (sizeof (char))))
116836 exit (1);
116837 fprintf (f, "%ld\n", i);
116841 unsigned long i = ulongval ();
116842 if (i != ((long) (sizeof (char))))
116843 exit (1);
116844 fprintf (f, "%lu\n", i);
116846 exit (ferror (f) || fclose (f) != 0);
116849 return 0;
116851 _ACEOF
116852 rm -f conftest$ac_exeext
116853 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
116854 (eval $ac_link) 2>&5
116855 ac_status=$?
116856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116857 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
116858 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
116859 (eval $ac_try) 2>&5
116860 ac_status=$?
116861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
116862 (exit $ac_status); }; }; then
116863 ac_cv_sizeof_char=`cat conftest.val`
116865 echo "$as_me: program exited with status $ac_status" >&5
116866 echo "$as_me: failed program was:" >&5
116867 sed 's/^/| /' conftest.$ac_ext >&5
116869 ( exit $ac_status )
116870 { { echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
116871 echo "$as_me: error: in \`$ac_pwd':" >&2;}
116872 { { echo "$as_me:$LINENO: error: cannot compute sizeof (char), 77
116873 See \`config.log' for more details." >&5
116874 echo "$as_me: error: cannot compute sizeof (char), 77
116875 See \`config.log' for more details." >&2;}
116876 { (exit 1); exit 1; }; }; }
116878 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
116881 rm -f conftest.val
116883 ac_cv_sizeof_char=0
116886 echo "$as_me:$LINENO: result: $ac_cv_sizeof_char" >&5
116887 echo "${ECHO_T}$ac_cv_sizeof_char" >&6
116888 cat >>confdefs.h <<_ACEOF
116889 #define SIZEOF_CHAR $ac_cv_sizeof_char
116890 _ACEOF
116894 echo "$as_me:$LINENO: checking for type equivalent to int8_t" >&5
116895 echo $ECHO_N "checking for type equivalent to int8_t... $ECHO_C" >&6
116896 case "$ac_cv_sizeof_char" in
116897 1) acx_cv_type_int8_t=char ;;
116898 *) { { echo "$as_me:$LINENO: error: no 8-bit type" >&5
116899 echo "$as_me: error: no 8-bit type" >&2;}
116900 { (exit please report a bug); exit please report a bug; }; }
116902 echo "$as_me:$LINENO: result: $acx_cv_type_int8_t" >&5
116903 echo "${ECHO_T}$acx_cv_type_int8_t" >&6
116905 echo "$as_me:$LINENO: checking for type equivalent to int16_t" >&5
116906 echo $ECHO_N "checking for type equivalent to int16_t... $ECHO_C" >&6
116907 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
116908 2:*) acx_cv_type_int16_t=int ;;
116909 *:2) acx_cv_type_int16_t=short ;;
116910 *) { { echo "$as_me:$LINENO: error: no 16-bit type" >&5
116911 echo "$as_me: error: no 16-bit type" >&2;}
116912 { (exit please report a bug); exit please report a bug; }; }
116914 echo "$as_me:$LINENO: result: $acx_cv_type_int16_t" >&5
116915 echo "${ECHO_T}$acx_cv_type_int16_t" >&6
116917 echo "$as_me:$LINENO: checking for type equivalent to int32_t" >&5
116918 echo $ECHO_N "checking for type equivalent to int32_t... $ECHO_C" >&6
116919 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
116920 4:*) acx_cv_type_int32_t=int ;;
116921 *:4) acx_cv_type_int32_t=long ;;
116922 *) { { echo "$as_me:$LINENO: error: no 32-bit type" >&5
116923 echo "$as_me: error: no 32-bit type" >&2;}
116924 { (exit please report a bug); exit please report a bug; }; }
116926 echo "$as_me:$LINENO: result: $acx_cv_type_int32_t" >&5
116927 echo "${ECHO_T}$acx_cv_type_int32_t" >&6
116930 # These tests are here to make the output prettier
116932 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
116933 case "$ac_cv_sizeof_long" in
116934 8) acx_cv_type_int64_t=long ;;
116936 echo "$as_me:$LINENO: checking for type equivalent to int64_t" >&5
116937 echo $ECHO_N "checking for type equivalent to int64_t... $ECHO_C" >&6
116938 echo "$as_me:$LINENO: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
116939 echo "${ECHO_T}${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6
116942 # Now we can use the above types
116944 if test "$ac_cv_type_uintptr_t" != yes; then
116945 echo "$as_me:$LINENO: checking for type equivalent to intptr_t" >&5
116946 echo $ECHO_N "checking for type equivalent to intptr_t... $ECHO_C" >&6
116947 case $ac_cv_sizeof_void_p in
116948 2) acx_cv_type_intptr_t=int16_t ;;
116949 4) acx_cv_type_intptr_t=int32_t ;;
116950 8) acx_cv_type_intptr_t=int64_t ;;
116951 *) { { echo "$as_me:$LINENO: error: no equivalent for intptr_t" >&5
116952 echo "$as_me: error: no equivalent for intptr_t" >&2;}
116953 { (exit please report a bug); exit please report a bug; }; }
116955 echo "$as_me:$LINENO: result: $acx_cv_type_intptr_t" >&5
116956 echo "${ECHO_T}$acx_cv_type_intptr_t" >&6
116959 # ----------------- done all checks, emit header -------------
116960 ac_config_commands="$ac_config_commands include/gstdint.h"
116965 # This depends on GLIBCXX CHECK_LINKER_FEATURES, but without it assumes no.
116968 # Check whether --enable-symvers or --disable-symvers was given.
116969 if test "${enable_symvers+set}" = set; then
116970 enableval="$enable_symvers"
116972 case "$enableval" in
116973 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export) ;;
116974 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable symvers" >&5
116975 echo "$as_me: error: Unknown argument to enable/disable symvers" >&2;}
116976 { (exit 1); exit 1; }; } ;;
116980 enable_symvers=yes
116984 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
116985 # don't know enough about $LD to do tricks...
116988 # Turn a 'yes' into a suitable default.
116989 if test x$enable_symvers = xyes ; then
116990 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
116991 enable_symvers=no
116993 if test $with_gnu_ld = yes ; then
116994 case ${target_os} in
116995 cygwin* | pe | mingw32* | hpux*)
116996 enable_symvers=no ;;
116998 enable_symvers=gnu ;;
117001 case ${target_os} in
117002 darwin*)
117003 enable_symvers=darwin ;;
117005 enable_symvers=no ;;
117011 # Check to see if 'darwin' or 'darwin-export' can win.
117012 if test x$enable_symvers = xdarwin-export ; then
117013 enable_symvers=darwin
117016 # Check to see if 'gnu' can win.
117017 if test $enable_symvers = gnu || test $enable_symvers = gnu-versioned-namespace; then
117018 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
117019 echo "$as_me:$LINENO: checking for shared libgcc" >&5
117020 echo $ECHO_N "checking for shared libgcc... $ECHO_C" >&6
117021 ac_save_CFLAGS="$CFLAGS"
117022 CFLAGS=' -lgcc_s'
117023 if test x$gcc_no_link = xyes; then
117024 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117025 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117026 { (exit 1); exit 1; }; }
117028 cat >conftest.$ac_ext <<_ACEOF
117029 /* confdefs.h. */
117030 _ACEOF
117031 cat confdefs.h >>conftest.$ac_ext
117032 cat >>conftest.$ac_ext <<_ACEOF
117033 /* end confdefs.h. */
117036 main ()
117038 return 0;
117040 return 0;
117042 _ACEOF
117043 rm -f conftest.$ac_objext conftest$ac_exeext
117044 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117045 (eval $ac_link) 2>conftest.er1
117046 ac_status=$?
117047 grep -v '^ *+' conftest.er1 >conftest.err
117048 rm -f conftest.er1
117049 cat conftest.err >&5
117050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117051 (exit $ac_status); } &&
117052 { ac_try='test -z "$ac_c_werror_flag"
117053 || test ! -s conftest.err'
117054 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117055 (eval $ac_try) 2>&5
117056 ac_status=$?
117057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117058 (exit $ac_status); }; } &&
117059 { ac_try='test -s conftest$ac_exeext'
117060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117061 (eval $ac_try) 2>&5
117062 ac_status=$?
117063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117064 (exit $ac_status); }; }; then
117065 glibcxx_shared_libgcc=yes
117067 echo "$as_me: failed program was:" >&5
117068 sed 's/^/| /' conftest.$ac_ext >&5
117070 glibcxx_shared_libgcc=no
117072 rm -f conftest.err conftest.$ac_objext \
117073 conftest$ac_exeext conftest.$ac_ext
117074 CFLAGS="$ac_save_CFLAGS"
117075 if test $glibcxx_shared_libgcc = no; then
117076 cat > conftest.c <<EOF
117077 int main (void) { return 0; }
117079 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
117080 -shared -shared-libgcc -o conftest.so \
117081 conftest.c -v 2>&1 >/dev/null \
117082 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
117083 rm -f conftest.c conftest.so
117084 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
117085 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
117086 if test x$gcc_no_link = xyes; then
117087 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
117088 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
117089 { (exit 1); exit 1; }; }
117091 cat >conftest.$ac_ext <<_ACEOF
117092 /* confdefs.h. */
117093 _ACEOF
117094 cat confdefs.h >>conftest.$ac_ext
117095 cat >>conftest.$ac_ext <<_ACEOF
117096 /* end confdefs.h. */
117099 main ()
117101 return 0;
117103 return 0;
117105 _ACEOF
117106 rm -f conftest.$ac_objext conftest$ac_exeext
117107 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
117108 (eval $ac_link) 2>conftest.er1
117109 ac_status=$?
117110 grep -v '^ *+' conftest.er1 >conftest.err
117111 rm -f conftest.er1
117112 cat conftest.err >&5
117113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117114 (exit $ac_status); } &&
117115 { ac_try='test -z "$ac_c_werror_flag"
117116 || test ! -s conftest.err'
117117 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117118 (eval $ac_try) 2>&5
117119 ac_status=$?
117120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117121 (exit $ac_status); }; } &&
117122 { ac_try='test -s conftest$ac_exeext'
117123 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117124 (eval $ac_try) 2>&5
117125 ac_status=$?
117126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117127 (exit $ac_status); }; }; then
117128 glibcxx_shared_libgcc=yes
117130 echo "$as_me: failed program was:" >&5
117131 sed 's/^/| /' conftest.$ac_ext >&5
117134 rm -f conftest.err conftest.$ac_objext \
117135 conftest$ac_exeext conftest.$ac_ext
117136 CFLAGS="$ac_save_CFLAGS"
117139 echo "$as_me:$LINENO: result: $glibcxx_shared_libgcc" >&5
117140 echo "${ECHO_T}$glibcxx_shared_libgcc" >&6
117142 # For GNU ld, we need at least this version. The format is described in
117143 # GLIBCXX_CHECK_LINKER_FEATURES above.
117144 glibcxx_min_gnu_ld_version=21400
117146 # If no shared libgcc, can't win.
117147 if test $glibcxx_shared_libgcc != yes; then
117148 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
117149 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
117150 { echo "$as_me:$LINENO: WARNING: === you are not building a shared libgcc_s." >&5
117151 echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
117152 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
117153 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
117154 enable_symvers=no
117155 elif test $with_gnu_ld != yes ; then
117156 # just fail for now
117157 { echo "$as_me:$LINENO: WARNING: === You have requested GNU symbol versioning, but" >&5
117158 echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
117159 { echo "$as_me:$LINENO: WARNING: === you are not using the GNU linker." >&5
117160 echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
117161 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
117162 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
117163 enable_symvers=no
117164 elif test $glibcxx_ld_is_gold = yes ; then
117165 : All versions of gold support symbol versioning.
117166 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
117167 # The right tools, the right setup, but too old. Fallbacks?
117168 { echo "$as_me:$LINENO: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
117169 echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
117170 { echo "$as_me:$LINENO: WARNING: === full symbol versioning support in this release of GCC." >&5
117171 echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
117172 { echo "$as_me:$LINENO: WARNING: === You would need to upgrade your binutils to version" >&5
117173 echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
117174 { echo "$as_me:$LINENO: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
117175 echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
117176 { echo "$as_me:$LINENO: WARNING: === Symbol versioning will be disabled." >&5
117177 echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
117178 enable_symvers=no
117182 # Everything parsed; figure out what file to use.
117183 case $enable_symvers in
117185 SYMVER_FILE=config/abi/pre/none.ver
117188 SYMVER_FILE=config/abi/pre/gnu.ver
117190 cat >>confdefs.h <<\_ACEOF
117191 #define _GLIBCXX_SYMVER_GNU 1
117192 _ACEOF
117195 gnu-versioned-namespace)
117196 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
117198 cat >>confdefs.h <<\_ACEOF
117199 #define _GLIBCXX_SYMVER_GNU_NAMESPACE 1
117200 _ACEOF
117203 darwin)
117204 SYMVER_FILE=config/abi/pre/gnu.ver
117206 cat >>confdefs.h <<\_ACEOF
117207 #define _GLIBCXX_SYMVER_DARWIN 1
117208 _ACEOF
117213 if test x$enable_symvers != xno ; then
117215 cat >>confdefs.h <<\_ACEOF
117216 #define _GLIBCXX_SYMVER 1
117217 _ACEOF
117221 echo "$as_me:$LINENO: checking whether the target supports .symver directive" >&5
117222 echo $ECHO_N "checking whether the target supports .symver directive... $ECHO_C" >&6
117223 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then
117224 echo $ECHO_N "(cached) $ECHO_C" >&6
117227 cat >conftest.$ac_ext <<_ACEOF
117228 /* confdefs.h. */
117229 _ACEOF
117230 cat confdefs.h >>conftest.$ac_ext
117231 cat >>conftest.$ac_ext <<_ACEOF
117232 /* end confdefs.h. */
117233 void foo (void); __asm (".symver foo, bar@SYMVER");
117235 main ()
117239 return 0;
117241 _ACEOF
117242 rm -f conftest.$ac_objext
117243 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117244 (eval $ac_compile) 2>conftest.er1
117245 ac_status=$?
117246 grep -v '^ *+' conftest.er1 >conftest.err
117247 rm -f conftest.er1
117248 cat conftest.err >&5
117249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117250 (exit $ac_status); } &&
117251 { ac_try='test -z "$ac_c_werror_flag"
117252 || test ! -s conftest.err'
117253 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117254 (eval $ac_try) 2>&5
117255 ac_status=$?
117256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117257 (exit $ac_status); }; } &&
117258 { ac_try='test -s conftest.$ac_objext'
117259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117260 (eval $ac_try) 2>&5
117261 ac_status=$?
117262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117263 (exit $ac_status); }; }; then
117264 glibcxx_cv_have_as_symver_directive=yes
117266 echo "$as_me: failed program was:" >&5
117267 sed 's/^/| /' conftest.$ac_ext >&5
117269 glibcxx_cv_have_as_symver_directive=no
117271 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117273 echo "$as_me:$LINENO: result: $glibcxx_cv_have_as_symver_directive" >&5
117274 echo "${ECHO_T}$glibcxx_cv_have_as_symver_directive" >&6
117275 if test $glibcxx_cv_have_as_symver_directive = yes; then
117277 cat >>confdefs.h <<\_ACEOF
117278 #define HAVE_AS_SYMVER_DIRECTIVE 1
117279 _ACEOF
117289 { echo "$as_me:$LINENO: versioning on shared library symbols is $enable_symvers" >&5
117290 echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
117292 # Now, set up compatibility support, if any.
117293 # In addition, need this to deal with std::size_t mangling in
117294 # src/compatibility.cc. In a perfect world, could use
117295 # typeid(std::size_t).name()[0] to do direct substitution.
117296 echo "$as_me:$LINENO: checking for size_t as unsigned int" >&5
117297 echo $ECHO_N "checking for size_t as unsigned int... $ECHO_C" >&6
117298 ac_save_CFLAGS="$CFLAGS"
117299 CFLAGS="-Werror"
117300 cat >conftest.$ac_ext <<_ACEOF
117301 /* confdefs.h. */
117302 _ACEOF
117303 cat confdefs.h >>conftest.$ac_ext
117304 cat >>conftest.$ac_ext <<_ACEOF
117305 /* end confdefs.h. */
117308 main ()
117310 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
117312 return 0;
117314 _ACEOF
117315 rm -f conftest.$ac_objext
117316 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117317 (eval $ac_compile) 2>conftest.er1
117318 ac_status=$?
117319 grep -v '^ *+' conftest.er1 >conftest.err
117320 rm -f conftest.er1
117321 cat conftest.err >&5
117322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117323 (exit $ac_status); } &&
117324 { ac_try='test -z "$ac_c_werror_flag"
117325 || test ! -s conftest.err'
117326 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117327 (eval $ac_try) 2>&5
117328 ac_status=$?
117329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117330 (exit $ac_status); }; } &&
117331 { ac_try='test -s conftest.$ac_objext'
117332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117333 (eval $ac_try) 2>&5
117334 ac_status=$?
117335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117336 (exit $ac_status); }; }; then
117337 glibcxx_size_t_is_i=yes
117339 echo "$as_me: failed program was:" >&5
117340 sed 's/^/| /' conftest.$ac_ext >&5
117342 glibcxx_size_t_is_i=no
117344 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117345 CFLAGS=$ac_save_CFLAGS
117346 if test "$glibcxx_size_t_is_i" = yes; then
117348 cat >>confdefs.h <<\_ACEOF
117349 #define _GLIBCXX_SIZE_T_IS_UINT 1
117350 _ACEOF
117353 echo "$as_me:$LINENO: result: $glibcxx_size_t_is_i" >&5
117354 echo "${ECHO_T}$glibcxx_size_t_is_i" >&6
117356 echo "$as_me:$LINENO: checking for ptrdiff_t as int" >&5
117357 echo $ECHO_N "checking for ptrdiff_t as int... $ECHO_C" >&6
117358 ac_save_CFLAGS="$CFLAGS"
117359 CFLAGS="-Werror"
117360 cat >conftest.$ac_ext <<_ACEOF
117361 /* confdefs.h. */
117362 _ACEOF
117363 cat confdefs.h >>conftest.$ac_ext
117364 cat >>conftest.$ac_ext <<_ACEOF
117365 /* end confdefs.h. */
117368 main ()
117370 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
117372 return 0;
117374 _ACEOF
117375 rm -f conftest.$ac_objext
117376 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117377 (eval $ac_compile) 2>conftest.er1
117378 ac_status=$?
117379 grep -v '^ *+' conftest.er1 >conftest.err
117380 rm -f conftest.er1
117381 cat conftest.err >&5
117382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117383 (exit $ac_status); } &&
117384 { ac_try='test -z "$ac_c_werror_flag"
117385 || test ! -s conftest.err'
117386 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117387 (eval $ac_try) 2>&5
117388 ac_status=$?
117389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117390 (exit $ac_status); }; } &&
117391 { ac_try='test -s conftest.$ac_objext'
117392 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117393 (eval $ac_try) 2>&5
117394 ac_status=$?
117395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117396 (exit $ac_status); }; }; then
117397 glibcxx_ptrdiff_t_is_i=yes
117399 echo "$as_me: failed program was:" >&5
117400 sed 's/^/| /' conftest.$ac_ext >&5
117402 glibcxx_ptrdiff_t_is_i=no
117404 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117405 CFLAGS=$ac_save_CFLAGS
117406 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
117408 cat >>confdefs.h <<\_ACEOF
117409 #define _GLIBCXX_PTRDIFF_T_IS_INT 1
117410 _ACEOF
117413 echo "$as_me:$LINENO: result: $glibcxx_ptrdiff_t_is_i" >&5
117414 echo "${ECHO_T}$glibcxx_ptrdiff_t_is_i" >&6
117417 # Check whether --enable-visibility or --disable-visibility was given.
117418 if test "${enable_visibility+set}" = set; then
117419 enableval="$enable_visibility"
117421 case "$enableval" in
117422 yes|no) ;;
117423 *) { { echo "$as_me:$LINENO: error: Argument to enable/disable visibility must be yes or no" >&5
117424 echo "$as_me: error: Argument to enable/disable visibility must be yes or no" >&2;}
117425 { (exit 1); exit 1; }; } ;;
117429 enable_visibility=yes
117433 if test x$enable_visibility = xyes ; then
117434 echo "$as_me:$LINENO: checking whether the target supports hidden visibility" >&5
117435 echo $ECHO_N "checking whether the target supports hidden visibility... $ECHO_C" >&6
117436 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then
117437 echo $ECHO_N "(cached) $ECHO_C" >&6
117440 save_CFLAGS="$CFLAGS"
117441 CFLAGS="$CFLAGS -Werror"
117442 cat >conftest.$ac_ext <<_ACEOF
117443 /* confdefs.h. */
117444 _ACEOF
117445 cat confdefs.h >>conftest.$ac_ext
117446 cat >>conftest.$ac_ext <<_ACEOF
117447 /* end confdefs.h. */
117448 void __attribute__((visibility("hidden"))) foo(void) { }
117450 main ()
117454 return 0;
117456 _ACEOF
117457 rm -f conftest.$ac_objext
117458 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117459 (eval $ac_compile) 2>conftest.er1
117460 ac_status=$?
117461 grep -v '^ *+' conftest.er1 >conftest.err
117462 rm -f conftest.er1
117463 cat conftest.err >&5
117464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117465 (exit $ac_status); } &&
117466 { ac_try='test -z "$ac_c_werror_flag"
117467 || test ! -s conftest.err'
117468 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117469 (eval $ac_try) 2>&5
117470 ac_status=$?
117471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117472 (exit $ac_status); }; } &&
117473 { ac_try='test -s conftest.$ac_objext'
117474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117475 (eval $ac_try) 2>&5
117476 ac_status=$?
117477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117478 (exit $ac_status); }; }; then
117479 glibcxx_cv_have_attribute_visibility=yes
117481 echo "$as_me: failed program was:" >&5
117482 sed 's/^/| /' conftest.$ac_ext >&5
117484 glibcxx_cv_have_attribute_visibility=no
117486 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117487 CFLAGS="$save_CFLAGS"
117489 echo "$as_me:$LINENO: result: $glibcxx_cv_have_attribute_visibility" >&5
117490 echo "${ECHO_T}$glibcxx_cv_have_attribute_visibility" >&6
117491 if test $glibcxx_cv_have_attribute_visibility = no; then
117492 enable_visibility=no
117497 { echo "$as_me:$LINENO: visibility supported: $enable_visibility" >&5
117498 echo "$as_me: visibility supported: $enable_visibility" >&6;}
117501 ac_ldbl_compat=no
117502 case "$target" in
117503 powerpc*-*-linux* | \
117504 powerpc*-*-gnu* | \
117505 sparc*-*-linux* | \
117506 s390*-*-linux* | \
117507 alpha*-*-linux*)
117508 cat >conftest.$ac_ext <<_ACEOF
117509 /* confdefs.h. */
117510 _ACEOF
117511 cat confdefs.h >>conftest.$ac_ext
117512 cat >>conftest.$ac_ext <<_ACEOF
117513 /* end confdefs.h. */
117516 main ()
117519 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
117520 #error no need for long double compatibility
117521 #endif
117524 return 0;
117526 _ACEOF
117527 rm -f conftest.$ac_objext
117528 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117529 (eval $ac_compile) 2>conftest.er1
117530 ac_status=$?
117531 grep -v '^ *+' conftest.er1 >conftest.err
117532 rm -f conftest.er1
117533 cat conftest.err >&5
117534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117535 (exit $ac_status); } &&
117536 { ac_try='test -z "$ac_c_werror_flag"
117537 || test ! -s conftest.err'
117538 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117539 (eval $ac_try) 2>&5
117540 ac_status=$?
117541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117542 (exit $ac_status); }; } &&
117543 { ac_try='test -s conftest.$ac_objext'
117544 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117545 (eval $ac_try) 2>&5
117546 ac_status=$?
117547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117548 (exit $ac_status); }; }; then
117549 ac_ldbl_compat=yes
117551 echo "$as_me: failed program was:" >&5
117552 sed 's/^/| /' conftest.$ac_ext >&5
117554 ac_ldbl_compat=no
117556 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117557 if test "$ac_ldbl_compat" = yes; then
117559 cat >>confdefs.h <<\_ACEOF
117560 #define _GLIBCXX_LONG_DOUBLE_COMPAT 1
117561 _ACEOF
117563 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
117568 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
117570 if $GLIBCXX_IS_NATIVE ; then
117571 # Do checks for resource limit functions.
117573 setrlimit_have_headers=yes
117577 for ac_header in unistd.h sys/time.h sys/resource.h
117579 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
117580 if eval "test \"\${$as_ac_Header+set}\" = set"; then
117581 echo "$as_me:$LINENO: checking for $ac_header" >&5
117582 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
117583 if eval "test \"\${$as_ac_Header+set}\" = set"; then
117584 echo $ECHO_N "(cached) $ECHO_C" >&6
117586 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
117587 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
117589 # Is the header compilable?
117590 echo "$as_me:$LINENO: checking $ac_header usability" >&5
117591 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
117592 cat >conftest.$ac_ext <<_ACEOF
117593 /* confdefs.h. */
117594 _ACEOF
117595 cat confdefs.h >>conftest.$ac_ext
117596 cat >>conftest.$ac_ext <<_ACEOF
117597 /* end confdefs.h. */
117598 $ac_includes_default
117599 #include <$ac_header>
117600 _ACEOF
117601 rm -f conftest.$ac_objext
117602 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117603 (eval $ac_compile) 2>conftest.er1
117604 ac_status=$?
117605 grep -v '^ *+' conftest.er1 >conftest.err
117606 rm -f conftest.er1
117607 cat conftest.err >&5
117608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117609 (exit $ac_status); } &&
117610 { ac_try='test -z "$ac_c_werror_flag"
117611 || test ! -s conftest.err'
117612 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117613 (eval $ac_try) 2>&5
117614 ac_status=$?
117615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117616 (exit $ac_status); }; } &&
117617 { ac_try='test -s conftest.$ac_objext'
117618 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117619 (eval $ac_try) 2>&5
117620 ac_status=$?
117621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117622 (exit $ac_status); }; }; then
117623 ac_header_compiler=yes
117625 echo "$as_me: failed program was:" >&5
117626 sed 's/^/| /' conftest.$ac_ext >&5
117628 ac_header_compiler=no
117630 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117631 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
117632 echo "${ECHO_T}$ac_header_compiler" >&6
117634 # Is the header present?
117635 echo "$as_me:$LINENO: checking $ac_header presence" >&5
117636 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
117637 cat >conftest.$ac_ext <<_ACEOF
117638 /* confdefs.h. */
117639 _ACEOF
117640 cat confdefs.h >>conftest.$ac_ext
117641 cat >>conftest.$ac_ext <<_ACEOF
117642 /* end confdefs.h. */
117643 #include <$ac_header>
117644 _ACEOF
117645 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
117646 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
117647 ac_status=$?
117648 grep -v '^ *+' conftest.er1 >conftest.err
117649 rm -f conftest.er1
117650 cat conftest.err >&5
117651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117652 (exit $ac_status); } >/dev/null; then
117653 if test -s conftest.err; then
117654 ac_cpp_err=$ac_c_preproc_warn_flag
117655 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
117657 ac_cpp_err=
117660 ac_cpp_err=yes
117662 if test -z "$ac_cpp_err"; then
117663 ac_header_preproc=yes
117665 echo "$as_me: failed program was:" >&5
117666 sed 's/^/| /' conftest.$ac_ext >&5
117668 ac_header_preproc=no
117670 rm -f conftest.err conftest.$ac_ext
117671 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
117672 echo "${ECHO_T}$ac_header_preproc" >&6
117674 # So? What about this header?
117675 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
117676 yes:no: )
117677 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
117678 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
117679 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
117680 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
117681 ac_header_preproc=yes
117683 no:yes:* )
117684 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
117685 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
117686 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
117687 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
117688 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
117689 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
117690 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
117691 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
117692 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
117693 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
117694 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
117695 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
117697 cat <<\_ASBOX
117698 ## ----------------------------------------- ##
117699 ## Report this to the package-unused lists. ##
117700 ## ----------------------------------------- ##
117701 _ASBOX
117703 sed "s/^/$as_me: WARNING: /" >&2
117706 echo "$as_me:$LINENO: checking for $ac_header" >&5
117707 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
117708 if eval "test \"\${$as_ac_Header+set}\" = set"; then
117709 echo $ECHO_N "(cached) $ECHO_C" >&6
117711 eval "$as_ac_Header=\$ac_header_preproc"
117713 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
117714 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
117717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
117718 cat >>confdefs.h <<_ACEOF
117719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
117720 _ACEOF
117723 setrlimit_have_headers=no
117728 # If don't have the headers, then we can't run the tests now, and we
117729 # won't be seeing any of these during testsuite compilation.
117730 if test $setrlimit_have_headers = yes; then
117731 # Can't do these in a loop, else the resulting syntax is wrong.
117733 echo "$as_me:$LINENO: checking for RLIMIT_DATA" >&5
117734 echo $ECHO_N "checking for RLIMIT_DATA... $ECHO_C" >&6
117735 cat >conftest.$ac_ext <<_ACEOF
117736 /* confdefs.h. */
117737 _ACEOF
117738 cat confdefs.h >>conftest.$ac_ext
117739 cat >>conftest.$ac_ext <<_ACEOF
117740 /* end confdefs.h. */
117741 #include <unistd.h>
117742 #include <sys/time.h>
117743 #include <sys/resource.h>
117746 main ()
117748 int f = RLIMIT_DATA ;
117750 return 0;
117752 _ACEOF
117753 rm -f conftest.$ac_objext
117754 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117755 (eval $ac_compile) 2>conftest.er1
117756 ac_status=$?
117757 grep -v '^ *+' conftest.er1 >conftest.err
117758 rm -f conftest.er1
117759 cat conftest.err >&5
117760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117761 (exit $ac_status); } &&
117762 { ac_try='test -z "$ac_c_werror_flag"
117763 || test ! -s conftest.err'
117764 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117765 (eval $ac_try) 2>&5
117766 ac_status=$?
117767 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117768 (exit $ac_status); }; } &&
117769 { ac_try='test -s conftest.$ac_objext'
117770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117771 (eval $ac_try) 2>&5
117772 ac_status=$?
117773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117774 (exit $ac_status); }; }; then
117775 glibcxx_mresult=1
117777 echo "$as_me: failed program was:" >&5
117778 sed 's/^/| /' conftest.$ac_ext >&5
117780 glibcxx_mresult=0
117782 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117784 cat >>confdefs.h <<_ACEOF
117785 #define HAVE_LIMIT_DATA $glibcxx_mresult
117786 _ACEOF
117788 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117789 echo "$as_me:$LINENO: result: $res" >&5
117790 echo "${ECHO_T}$res" >&6
117793 echo "$as_me:$LINENO: checking for RLIMIT_RSS" >&5
117794 echo $ECHO_N "checking for RLIMIT_RSS... $ECHO_C" >&6
117795 cat >conftest.$ac_ext <<_ACEOF
117796 /* confdefs.h. */
117797 _ACEOF
117798 cat confdefs.h >>conftest.$ac_ext
117799 cat >>conftest.$ac_ext <<_ACEOF
117800 /* end confdefs.h. */
117801 #include <unistd.h>
117802 #include <sys/time.h>
117803 #include <sys/resource.h>
117806 main ()
117808 int f = RLIMIT_RSS ;
117810 return 0;
117812 _ACEOF
117813 rm -f conftest.$ac_objext
117814 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117815 (eval $ac_compile) 2>conftest.er1
117816 ac_status=$?
117817 grep -v '^ *+' conftest.er1 >conftest.err
117818 rm -f conftest.er1
117819 cat conftest.err >&5
117820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117821 (exit $ac_status); } &&
117822 { ac_try='test -z "$ac_c_werror_flag"
117823 || test ! -s conftest.err'
117824 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117825 (eval $ac_try) 2>&5
117826 ac_status=$?
117827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117828 (exit $ac_status); }; } &&
117829 { ac_try='test -s conftest.$ac_objext'
117830 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117831 (eval $ac_try) 2>&5
117832 ac_status=$?
117833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117834 (exit $ac_status); }; }; then
117835 glibcxx_mresult=1
117837 echo "$as_me: failed program was:" >&5
117838 sed 's/^/| /' conftest.$ac_ext >&5
117840 glibcxx_mresult=0
117842 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117844 cat >>confdefs.h <<_ACEOF
117845 #define HAVE_LIMIT_RSS $glibcxx_mresult
117846 _ACEOF
117848 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117849 echo "$as_me:$LINENO: result: $res" >&5
117850 echo "${ECHO_T}$res" >&6
117853 echo "$as_me:$LINENO: checking for RLIMIT_VMEM" >&5
117854 echo $ECHO_N "checking for RLIMIT_VMEM... $ECHO_C" >&6
117855 cat >conftest.$ac_ext <<_ACEOF
117856 /* confdefs.h. */
117857 _ACEOF
117858 cat confdefs.h >>conftest.$ac_ext
117859 cat >>conftest.$ac_ext <<_ACEOF
117860 /* end confdefs.h. */
117861 #include <unistd.h>
117862 #include <sys/time.h>
117863 #include <sys/resource.h>
117866 main ()
117868 int f = RLIMIT_VMEM ;
117870 return 0;
117872 _ACEOF
117873 rm -f conftest.$ac_objext
117874 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117875 (eval $ac_compile) 2>conftest.er1
117876 ac_status=$?
117877 grep -v '^ *+' conftest.er1 >conftest.err
117878 rm -f conftest.er1
117879 cat conftest.err >&5
117880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117881 (exit $ac_status); } &&
117882 { ac_try='test -z "$ac_c_werror_flag"
117883 || test ! -s conftest.err'
117884 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117885 (eval $ac_try) 2>&5
117886 ac_status=$?
117887 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117888 (exit $ac_status); }; } &&
117889 { ac_try='test -s conftest.$ac_objext'
117890 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117891 (eval $ac_try) 2>&5
117892 ac_status=$?
117893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117894 (exit $ac_status); }; }; then
117895 glibcxx_mresult=1
117897 echo "$as_me: failed program was:" >&5
117898 sed 's/^/| /' conftest.$ac_ext >&5
117900 glibcxx_mresult=0
117902 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117904 cat >>confdefs.h <<_ACEOF
117905 #define HAVE_LIMIT_VMEM $glibcxx_mresult
117906 _ACEOF
117908 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117909 echo "$as_me:$LINENO: result: $res" >&5
117910 echo "${ECHO_T}$res" >&6
117913 echo "$as_me:$LINENO: checking for RLIMIT_AS" >&5
117914 echo $ECHO_N "checking for RLIMIT_AS... $ECHO_C" >&6
117915 cat >conftest.$ac_ext <<_ACEOF
117916 /* confdefs.h. */
117917 _ACEOF
117918 cat confdefs.h >>conftest.$ac_ext
117919 cat >>conftest.$ac_ext <<_ACEOF
117920 /* end confdefs.h. */
117921 #include <unistd.h>
117922 #include <sys/time.h>
117923 #include <sys/resource.h>
117926 main ()
117928 int f = RLIMIT_AS ;
117930 return 0;
117932 _ACEOF
117933 rm -f conftest.$ac_objext
117934 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117935 (eval $ac_compile) 2>conftest.er1
117936 ac_status=$?
117937 grep -v '^ *+' conftest.er1 >conftest.err
117938 rm -f conftest.er1
117939 cat conftest.err >&5
117940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117941 (exit $ac_status); } &&
117942 { ac_try='test -z "$ac_c_werror_flag"
117943 || test ! -s conftest.err'
117944 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117945 (eval $ac_try) 2>&5
117946 ac_status=$?
117947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117948 (exit $ac_status); }; } &&
117949 { ac_try='test -s conftest.$ac_objext'
117950 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
117951 (eval $ac_try) 2>&5
117952 ac_status=$?
117953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
117954 (exit $ac_status); }; }; then
117955 glibcxx_mresult=1
117957 echo "$as_me: failed program was:" >&5
117958 sed 's/^/| /' conftest.$ac_ext >&5
117960 glibcxx_mresult=0
117962 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
117964 cat >>confdefs.h <<_ACEOF
117965 #define HAVE_LIMIT_AS $glibcxx_mresult
117966 _ACEOF
117968 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
117969 echo "$as_me:$LINENO: result: $res" >&5
117970 echo "${ECHO_T}$res" >&6
117973 echo "$as_me:$LINENO: checking for RLIMIT_FSIZE" >&5
117974 echo $ECHO_N "checking for RLIMIT_FSIZE... $ECHO_C" >&6
117975 cat >conftest.$ac_ext <<_ACEOF
117976 /* confdefs.h. */
117977 _ACEOF
117978 cat confdefs.h >>conftest.$ac_ext
117979 cat >>conftest.$ac_ext <<_ACEOF
117980 /* end confdefs.h. */
117981 #include <unistd.h>
117982 #include <sys/time.h>
117983 #include <sys/resource.h>
117986 main ()
117988 int f = RLIMIT_FSIZE ;
117990 return 0;
117992 _ACEOF
117993 rm -f conftest.$ac_objext
117994 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
117995 (eval $ac_compile) 2>conftest.er1
117996 ac_status=$?
117997 grep -v '^ *+' conftest.er1 >conftest.err
117998 rm -f conftest.er1
117999 cat conftest.err >&5
118000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118001 (exit $ac_status); } &&
118002 { ac_try='test -z "$ac_c_werror_flag"
118003 || test ! -s conftest.err'
118004 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118005 (eval $ac_try) 2>&5
118006 ac_status=$?
118007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118008 (exit $ac_status); }; } &&
118009 { ac_try='test -s conftest.$ac_objext'
118010 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118011 (eval $ac_try) 2>&5
118012 ac_status=$?
118013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118014 (exit $ac_status); }; }; then
118015 glibcxx_mresult=1
118017 echo "$as_me: failed program was:" >&5
118018 sed 's/^/| /' conftest.$ac_ext >&5
118020 glibcxx_mresult=0
118022 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118024 cat >>confdefs.h <<_ACEOF
118025 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
118026 _ACEOF
118028 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
118029 echo "$as_me:$LINENO: result: $res" >&5
118030 echo "${ECHO_T}$res" >&6
118033 # Check for rlimit, setrlimit.
118034 if test "${glibcxx_cv_setrlimit+set}" = set; then
118035 echo $ECHO_N "(cached) $ECHO_C" >&6
118038 cat >conftest.$ac_ext <<_ACEOF
118039 /* confdefs.h. */
118040 _ACEOF
118041 cat confdefs.h >>conftest.$ac_ext
118042 cat >>conftest.$ac_ext <<_ACEOF
118043 /* end confdefs.h. */
118044 #include <unistd.h>
118045 #include <sys/time.h>
118046 #include <sys/resource.h>
118049 main ()
118051 struct rlimit r;
118052 setrlimit(0, &r);
118054 return 0;
118056 _ACEOF
118057 rm -f conftest.$ac_objext
118058 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118059 (eval $ac_compile) 2>conftest.er1
118060 ac_status=$?
118061 grep -v '^ *+' conftest.er1 >conftest.err
118062 rm -f conftest.er1
118063 cat conftest.err >&5
118064 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118065 (exit $ac_status); } &&
118066 { ac_try='test -z "$ac_c_werror_flag"
118067 || test ! -s conftest.err'
118068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118069 (eval $ac_try) 2>&5
118070 ac_status=$?
118071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118072 (exit $ac_status); }; } &&
118073 { ac_try='test -s conftest.$ac_objext'
118074 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118075 (eval $ac_try) 2>&5
118076 ac_status=$?
118077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118078 (exit $ac_status); }; }; then
118079 glibcxx_cv_setrlimit=yes
118081 echo "$as_me: failed program was:" >&5
118082 sed 's/^/| /' conftest.$ac_ext >&5
118084 glibcxx_cv_setrlimit=no
118086 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118092 echo "$as_me:$LINENO: checking for testsuite resource limits support" >&5
118093 echo $ECHO_N "checking for testsuite resource limits support... $ECHO_C" >&6
118094 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
118095 ac_res_limits=yes
118097 cat >>confdefs.h <<\_ACEOF
118098 #define _GLIBCXX_RES_LIMITS 1
118099 _ACEOF
118102 ac_res_limits=no
118104 echo "$as_me:$LINENO: result: $ac_res_limits" >&5
118105 echo "${ECHO_T}$ac_res_limits" >&6
118108 # Look for setenv, so that extended locale tests can be performed.
118110 echo "$as_me:$LINENO: checking for setenv declaration" >&5
118111 echo $ECHO_N "checking for setenv declaration... $ECHO_C" >&6
118112 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
118113 if test "${glibcxx_cv_func_setenv_use+set}" = set; then
118114 echo $ECHO_N "(cached) $ECHO_C" >&6
118119 ac_ext=cc
118120 ac_cpp='$CXXCPP $CPPFLAGS'
118121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
118125 cat >conftest.$ac_ext <<_ACEOF
118126 /* confdefs.h. */
118127 _ACEOF
118128 cat confdefs.h >>conftest.$ac_ext
118129 cat >>conftest.$ac_ext <<_ACEOF
118130 /* end confdefs.h. */
118131 #include <stdlib.h>
118133 main ()
118135 setenv(0, 0, 0);
118137 return 0;
118139 _ACEOF
118140 rm -f conftest.$ac_objext
118141 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
118142 (eval $ac_compile) 2>conftest.er1
118143 ac_status=$?
118144 grep -v '^ *+' conftest.er1 >conftest.err
118145 rm -f conftest.er1
118146 cat conftest.err >&5
118147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118148 (exit $ac_status); } &&
118149 { ac_try='test -z "$ac_cxx_werror_flag"
118150 || test ! -s conftest.err'
118151 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118152 (eval $ac_try) 2>&5
118153 ac_status=$?
118154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118155 (exit $ac_status); }; } &&
118156 { ac_try='test -s conftest.$ac_objext'
118157 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118158 (eval $ac_try) 2>&5
118159 ac_status=$?
118160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118161 (exit $ac_status); }; }; then
118162 glibcxx_cv_func_setenv_use=yes
118164 echo "$as_me: failed program was:" >&5
118165 sed 's/^/| /' conftest.$ac_ext >&5
118167 glibcxx_cv_func_setenv_use=no
118169 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
118170 ac_ext=c
118171 ac_cpp='$CPP $CPPFLAGS'
118172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
118173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
118174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
118180 echo "$as_me:$LINENO: result: $glibcxx_cv_func_setenv_use" >&5
118181 echo "${ECHO_T}$glibcxx_cv_func_setenv_use" >&6
118182 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
118184 for ac_func in setenv
118186 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
118187 echo "$as_me:$LINENO: checking for $ac_func" >&5
118188 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
118189 if eval "test \"\${$as_ac_var+set}\" = set"; then
118190 echo $ECHO_N "(cached) $ECHO_C" >&6
118192 if test x$gcc_no_link = xyes; then
118193 { { echo "$as_me:$LINENO: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&5
118194 echo "$as_me: error: Link tests are not allowed after GCC_NO_EXECUTABLES." >&2;}
118195 { (exit 1); exit 1; }; }
118197 cat >conftest.$ac_ext <<_ACEOF
118198 /* confdefs.h. */
118199 _ACEOF
118200 cat confdefs.h >>conftest.$ac_ext
118201 cat >>conftest.$ac_ext <<_ACEOF
118202 /* end confdefs.h. */
118203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
118204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
118205 #define $ac_func innocuous_$ac_func
118207 /* System header to define __stub macros and hopefully few prototypes,
118208 which can conflict with char $ac_func (); below.
118209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
118210 <limits.h> exists even on freestanding compilers. */
118212 #ifdef __STDC__
118213 # include <limits.h>
118214 #else
118215 # include <assert.h>
118216 #endif
118218 #undef $ac_func
118220 /* Override any gcc2 internal prototype to avoid an error. */
118221 #ifdef __cplusplus
118222 extern "C"
118224 #endif
118225 /* We use char because int might match the return type of a gcc2
118226 builtin and then its argument prototype would still apply. */
118227 char $ac_func ();
118228 /* The GNU C library defines this for functions which it implements
118229 to always fail with ENOSYS. Some functions are actually named
118230 something starting with __ and the normal name is an alias. */
118231 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
118232 choke me
118233 #else
118234 char (*f) () = $ac_func;
118235 #endif
118236 #ifdef __cplusplus
118238 #endif
118241 main ()
118243 return f != $ac_func;
118245 return 0;
118247 _ACEOF
118248 rm -f conftest.$ac_objext conftest$ac_exeext
118249 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
118250 (eval $ac_link) 2>conftest.er1
118251 ac_status=$?
118252 grep -v '^ *+' conftest.er1 >conftest.err
118253 rm -f conftest.er1
118254 cat conftest.err >&5
118255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118256 (exit $ac_status); } &&
118257 { ac_try='test -z "$ac_c_werror_flag"
118258 || test ! -s conftest.err'
118259 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118260 (eval $ac_try) 2>&5
118261 ac_status=$?
118262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118263 (exit $ac_status); }; } &&
118264 { ac_try='test -s conftest$ac_exeext'
118265 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
118266 (eval $ac_try) 2>&5
118267 ac_status=$?
118268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
118269 (exit $ac_status); }; }; then
118270 eval "$as_ac_var=yes"
118272 echo "$as_me: failed program was:" >&5
118273 sed 's/^/| /' conftest.$ac_ext >&5
118275 eval "$as_ac_var=no"
118277 rm -f conftest.err conftest.$ac_objext \
118278 conftest$ac_exeext conftest.$ac_ext
118280 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
118281 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
118282 if test `eval echo '${'$as_ac_var'}'` = yes; then
118283 cat >>confdefs.h <<_ACEOF
118284 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
118285 _ACEOF
118294 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
118295 test $enable_symvers != no; then
118296 case "$host" in
118297 *-*-cygwin*)
118298 enable_abi_check=no ;;
118300 enable_abi_check=yes ;;
118303 # Only build this as native, since automake does not understand
118304 # CXX_FOR_BUILD.
118305 enable_abi_check=no
118308 # Export file names for ABI checking.
118309 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
118313 # Propagate the target-specific source directories through the build chain.
118314 ATOMICITY_SRCDIR=config/${atomicity_dir}
118315 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
118316 ATOMIC_FLAGS=${atomic_flags}
118317 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
118318 OS_INC_SRCDIR=config/${os_include_dir}
118319 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
118320 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
118330 # Determine cross-compile flags and AM_CONDITIONALs.
118331 #AC_SUBST(GLIBCXX_IS_NATIVE)
118332 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
118335 if test $is_hosted = yes; then
118336 GLIBCXX_HOSTED_TRUE=
118337 GLIBCXX_HOSTED_FALSE='#'
118339 GLIBCXX_HOSTED_TRUE='#'
118340 GLIBCXX_HOSTED_FALSE=
118346 if test $enable_libstdcxx_pch = yes; then
118347 GLIBCXX_BUILD_PCH_TRUE=
118348 GLIBCXX_BUILD_PCH_FALSE='#'
118350 GLIBCXX_BUILD_PCH_TRUE='#'
118351 GLIBCXX_BUILD_PCH_FALSE=
118357 if test $enable_cheaders = c; then
118358 GLIBCXX_C_HEADERS_C_TRUE=
118359 GLIBCXX_C_HEADERS_C_FALSE='#'
118361 GLIBCXX_C_HEADERS_C_TRUE='#'
118362 GLIBCXX_C_HEADERS_C_FALSE=
118368 if test $enable_cheaders = c_std; then
118369 GLIBCXX_C_HEADERS_C_STD_TRUE=
118370 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
118372 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
118373 GLIBCXX_C_HEADERS_C_STD_FALSE=
118379 if test $enable_cheaders = c_global; then
118380 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
118381 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
118383 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
118384 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
118390 if test $c_compatibility = yes; then
118391 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
118392 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
118394 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
118395 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
118401 if test $c_extra = yes; then
118402 GLIBCXX_C_HEADERS_EXTRA_TRUE=
118403 GLIBCXX_C_HEADERS_EXTRA_FALSE='#'
118405 GLIBCXX_C_HEADERS_EXTRA_TRUE='#'
118406 GLIBCXX_C_HEADERS_EXTRA_FALSE=
118412 if test $enable_libstdcxx_debug = yes; then
118413 GLIBCXX_BUILD_DEBUG_TRUE=
118414 GLIBCXX_BUILD_DEBUG_FALSE='#'
118416 GLIBCXX_BUILD_DEBUG_TRUE='#'
118417 GLIBCXX_BUILD_DEBUG_FALSE=
118423 if test $enable_parallel = yes; then
118424 ENABLE_PARALLEL_TRUE=
118425 ENABLE_PARALLEL_FALSE='#'
118427 ENABLE_PARALLEL_TRUE='#'
118428 ENABLE_PARALLEL_FALSE=
118434 if test $enable_symvers != no; then
118435 ENABLE_SYMVERS_TRUE=
118436 ENABLE_SYMVERS_FALSE='#'
118438 ENABLE_SYMVERS_TRUE='#'
118439 ENABLE_SYMVERS_FALSE=
118445 if test $enable_symvers = gnu; then
118446 ENABLE_SYMVERS_GNU_TRUE=
118447 ENABLE_SYMVERS_GNU_FALSE='#'
118449 ENABLE_SYMVERS_GNU_TRUE='#'
118450 ENABLE_SYMVERS_GNU_FALSE=
118456 if test $enable_symvers = gnu-versioned-namespace; then
118457 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
118458 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
118460 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
118461 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
118467 if test $enable_symvers = darwin; then
118468 ENABLE_SYMVERS_DARWIN_TRUE=
118469 ENABLE_SYMVERS_DARWIN_FALSE='#'
118471 ENABLE_SYMVERS_DARWIN_TRUE='#'
118472 ENABLE_SYMVERS_DARWIN_FALSE=
118478 if test $enable_visibility = yes; then
118479 ENABLE_VISIBILITY_TRUE=
118480 ENABLE_VISIBILITY_FALSE='#'
118482 ENABLE_VISIBILITY_TRUE='#'
118483 ENABLE_VISIBILITY_FALSE=
118489 if test $ac_ldbl_compat = yes; then
118490 GLIBCXX_LDBL_COMPAT_TRUE=
118491 GLIBCXX_LDBL_COMPAT_FALSE='#'
118493 GLIBCXX_LDBL_COMPAT_TRUE='#'
118494 GLIBCXX_LDBL_COMPAT_FALSE=
118500 cat >confcache <<\_ACEOF
118501 # This file is a shell script that caches the results of configure
118502 # tests run on this system so they can be shared between configure
118503 # scripts and configure runs, see configure's option --config-cache.
118504 # It is not useful on other systems. If it contains results you don't
118505 # want to keep, you may remove or edit it.
118507 # config.status only pays attention to the cache file if you give it
118508 # the --recheck option to rerun configure.
118510 # `ac_cv_env_foo' variables (set or unset) will be overridden when
118511 # loading this file, other *unset* `ac_cv_foo' will be assigned the
118512 # following values.
118514 _ACEOF
118516 # The following way of writing the cache mishandles newlines in values,
118517 # but we know of no workaround that is simple, portable, and efficient.
118518 # So, don't put newlines in cache variables' values.
118519 # Ultrix sh set writes to stderr and can't be redirected directly,
118520 # and sets the high bit in the cache file unless we assign to the vars.
118522 (set) 2>&1 |
118523 case `(ac_space=' '; set | grep ac_space) 2>&1` in
118524 *ac_space=\ *)
118525 # `set' does not quote correctly, so add quotes (double-quote
118526 # substitution turns \\\\ into \\, and sed turns \\ into \).
118527 sed -n \
118528 "s/'/'\\\\''/g;
118529 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
118532 # `set' quotes correctly as required by POSIX, so do not add quotes.
118533 sed -n \
118534 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
118536 esac;
118538 sed '
118539 t clear
118540 : clear
118541 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
118542 t end
118543 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
118544 : end' >>confcache
118545 if diff $cache_file confcache >/dev/null 2>&1; then :; else
118546 if test -w $cache_file; then
118547 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
118548 cat confcache >$cache_file
118550 echo "not updating unwritable cache $cache_file"
118553 rm -f confcache
118555 if test ${multilib} = yes; then
118556 multilib_arg="--enable-multilib"
118558 multilib_arg=
118561 # Export all the install information.
118563 glibcxx_toolexecdir=no
118564 glibcxx_toolexeclibdir=no
118565 glibcxx_prefixdir=$prefix
118567 echo "$as_me:$LINENO: checking for gxx-include-dir" >&5
118568 echo $ECHO_N "checking for gxx-include-dir... $ECHO_C" >&6
118570 # Check whether --with-gxx-include-dir or --without-gxx-include-dir was given.
118571 if test "${with_gxx_include_dir+set}" = set; then
118572 withval="$with_gxx_include_dir"
118573 case "$withval" in
118574 yes) { { echo "$as_me:$LINENO: error: Missing directory for --with-gxx-include-dir" >&5
118575 echo "$as_me: error: Missing directory for --with-gxx-include-dir" >&2;}
118576 { (exit 1); exit 1; }; } ;;
118577 no) gxx_include_dir=no ;;
118578 *) gxx_include_dir=$withval ;;
118581 gxx_include_dir=no
118583 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
118584 echo "${ECHO_T}$gxx_include_dir" >&6
118586 echo "$as_me:$LINENO: checking for --enable-version-specific-runtime-libs" >&5
118587 echo $ECHO_N "checking for --enable-version-specific-runtime-libs... $ECHO_C" >&6
118588 # Check whether --enable-version-specific-runtime-libs or --disable-version-specific-runtime-libs was given.
118589 if test "${enable_version_specific_runtime_libs+set}" = set; then
118590 enableval="$enable_version_specific_runtime_libs"
118591 case "$enableval" in
118592 yes) version_specific_libs=yes ;;
118593 no) version_specific_libs=no ;;
118594 *) { { echo "$as_me:$LINENO: error: Unknown argument to enable/disable version-specific libs" >&5
118595 echo "$as_me: error: Unknown argument to enable/disable version-specific libs" >&2;}
118596 { (exit 1); exit 1; }; };;
118599 version_specific_libs=no
118601 echo "$as_me:$LINENO: result: $version_specific_libs" >&5
118602 echo "${ECHO_T}$version_specific_libs" >&6
118604 # Default case for install directory for include files.
118605 if test $version_specific_libs = no && test $gxx_include_dir = no; then
118606 gxx_include_dir='include/c++/${gcc_version}'
118607 if test -n "$with_cross_host" &&
118608 test x"$with_cross_host" != x"no"; then
118609 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
118611 gxx_include_dir='${prefix}/'"$gxx_include_dir"
118615 # Version-specific runtime libs processing.
118616 if test $version_specific_libs = yes; then
118617 # Need the gcc compiler version to know where to install libraries
118618 # and header files if --enable-version-specific-runtime-libs option
118619 # is selected. FIXME: these variables are misnamed, there are
118620 # no executables installed in _toolexecdir or _toolexeclibdir.
118621 if test x"$gxx_include_dir" = x"no"; then
118622 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
118624 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
118625 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
118628 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
118629 # Install a library built with a cross compiler in tooldir, not libdir.
118630 if test x"$glibcxx_toolexecdir" = x"no"; then
118631 if test -n "$with_cross_host" &&
118632 test x"$with_cross_host" != x"no"; then
118633 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
118634 glibcxx_toolexeclibdir='${toolexecdir}/lib'
118636 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
118637 glibcxx_toolexeclibdir='${libdir}'
118639 multi_os_directory=`$CXX -print-multi-os-directory`
118640 case $multi_os_directory in
118641 .) ;; # Avoid trailing /.
118642 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
118646 echo "$as_me:$LINENO: checking for install location" >&5
118647 echo $ECHO_N "checking for install location... $ECHO_C" >&6
118648 echo "$as_me:$LINENO: result: $gxx_include_dir" >&5
118649 echo "${ECHO_T}$gxx_include_dir" >&6
118657 # Export all the include and flag information to Makefiles.
118659 # Used for every C++ compile we perform.
118660 GLIBCXX_INCLUDES="\
118661 -I$glibcxx_builddir/include/$host_alias \
118662 -I$glibcxx_builddir/include \
118663 -I$glibcxx_srcdir/libsupc++"
118665 # For Canadian crosses, pick this up too.
118666 if test $CANADIAN = yes; then
118667 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
118670 # Stuff in the actual top level. Currently only used by libsupc++ to
118671 # get unwind* headers from the gcc dir.
118672 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc -I$(toplevel_srcdir)/include'
118673 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/gcc'
118675 # Now, export this to all the little Makefiles....
118680 # Optimization flags that are probably a good idea for thrill-seekers. Just
118681 # uncomment the lines below and make, everything else is ready to go...
118682 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
118683 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
118686 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual'
118690 if test "$enable_shared" = yes; then
118691 LIBSUPCXX_PICFLAGS="-prefer-pic"
118693 LIBSUPCXX_PICFLAGS=
118697 ac_config_files="$ac_config_files Makefile include/Makefile libsupc++/Makefile src/Makefile doc/Makefile po/Makefile testsuite/Makefile"
118699 ac_config_files="$ac_config_files scripts/testsuite_flags"
118702 ac_config_commands="$ac_config_commands default"
118705 cat >confcache <<\_ACEOF
118706 # This file is a shell script that caches the results of configure
118707 # tests run on this system so they can be shared between configure
118708 # scripts and configure runs, see configure's option --config-cache.
118709 # It is not useful on other systems. If it contains results you don't
118710 # want to keep, you may remove or edit it.
118712 # config.status only pays attention to the cache file if you give it
118713 # the --recheck option to rerun configure.
118715 # `ac_cv_env_foo' variables (set or unset) will be overridden when
118716 # loading this file, other *unset* `ac_cv_foo' will be assigned the
118717 # following values.
118719 _ACEOF
118721 # The following way of writing the cache mishandles newlines in values,
118722 # but we know of no workaround that is simple, portable, and efficient.
118723 # So, don't put newlines in cache variables' values.
118724 # Ultrix sh set writes to stderr and can't be redirected directly,
118725 # and sets the high bit in the cache file unless we assign to the vars.
118727 (set) 2>&1 |
118728 case `(ac_space=' '; set | grep ac_space) 2>&1` in
118729 *ac_space=\ *)
118730 # `set' does not quote correctly, so add quotes (double-quote
118731 # substitution turns \\\\ into \\, and sed turns \\ into \).
118732 sed -n \
118733 "s/'/'\\\\''/g;
118734 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
118737 # `set' quotes correctly as required by POSIX, so do not add quotes.
118738 sed -n \
118739 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
118741 esac;
118743 sed '
118744 t clear
118745 : clear
118746 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
118747 t end
118748 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
118749 : end' >>confcache
118750 if diff $cache_file confcache >/dev/null 2>&1; then :; else
118751 if test -w $cache_file; then
118752 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
118753 cat confcache >$cache_file
118755 echo "not updating unwritable cache $cache_file"
118758 rm -f confcache
118760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
118761 # Let make expand exec_prefix.
118762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
118764 # VPATH may cause trouble with some makes, so we remove $(srcdir),
118765 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
118766 # trailing colons and then remove the whole line if VPATH becomes empty
118767 # (actually we leave an empty line to preserve line numbers).
118768 if test "x$srcdir" = x.; then
118769 ac_vpsub='/^[ ]*VPATH[ ]*=/{
118770 s/:*\$(srcdir):*/:/;
118771 s/:*\${srcdir}:*/:/;
118772 s/:*@srcdir@:*/:/;
118773 s/^\([^=]*=[ ]*\):*/\1/;
118774 s/:*$//;
118775 s/^[^=]*=[ ]*$//;
118779 DEFS=-DHAVE_CONFIG_H
118781 ac_libobjs=
118782 ac_ltlibobjs=
118783 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
118784 # 1. Remove the extension, and $U if already installed.
118785 ac_i=`echo "$ac_i" |
118786 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
118787 # 2. Add them.
118788 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
118789 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
118791 LIBOBJS=$ac_libobjs
118793 LTLIBOBJS=$ac_ltlibobjs
118796 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
118797 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
118798 Usually this means the macro was only invoked conditionally." >&5
118799 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
118800 Usually this means the macro was only invoked conditionally." >&2;}
118801 { (exit 1); exit 1; }; }
118803 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
118804 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_HOSTED\" was never defined.
118805 Usually this means the macro was only invoked conditionally." >&5
118806 echo "$as_me: error: conditional \"GLIBCXX_HOSTED\" was never defined.
118807 Usually this means the macro was only invoked conditionally." >&2;}
118808 { (exit 1); exit 1; }; }
118810 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
118811 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
118812 Usually this means the macro was only invoked conditionally." >&5
118813 echo "$as_me: error: conditional \"GLIBCXX_BUILD_PCH\" was never defined.
118814 Usually this means the macro was only invoked conditionally." >&2;}
118815 { (exit 1); exit 1; }; }
118817 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
118818 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
118819 Usually this means the macro was only invoked conditionally." >&5
118820 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
118821 Usually this means the macro was only invoked conditionally." >&2;}
118822 { (exit 1); exit 1; }; }
118824 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
118825 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
118826 Usually this means the macro was only invoked conditionally." >&5
118827 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
118828 Usually this means the macro was only invoked conditionally." >&2;}
118829 { (exit 1); exit 1; }; }
118831 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
118832 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
118833 Usually this means the macro was only invoked conditionally." >&5
118834 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
118835 Usually this means the macro was only invoked conditionally." >&2;}
118836 { (exit 1); exit 1; }; }
118838 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
118839 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
118840 Usually this means the macro was only invoked conditionally." >&5
118841 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
118842 Usually this means the macro was only invoked conditionally." >&2;}
118843 { (exit 1); exit 1; }; }
118845 if test -z "${GLIBCXX_C_HEADERS_EXTRA_TRUE}" && test -z "${GLIBCXX_C_HEADERS_EXTRA_FALSE}"; then
118846 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
118847 Usually this means the macro was only invoked conditionally." >&5
118848 echo "$as_me: error: conditional \"GLIBCXX_C_HEADERS_EXTRA\" was never defined.
118849 Usually this means the macro was only invoked conditionally." >&2;}
118850 { (exit 1); exit 1; }; }
118852 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
118853 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
118854 Usually this means the macro was only invoked conditionally." >&5
118855 echo "$as_me: error: conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
118856 Usually this means the macro was only invoked conditionally." >&2;}
118857 { (exit 1); exit 1; }; }
118859 if test -z "${ENABLE_PARALLEL_TRUE}" && test -z "${ENABLE_PARALLEL_FALSE}"; then
118860 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_PARALLEL\" was never defined.
118861 Usually this means the macro was only invoked conditionally." >&5
118862 echo "$as_me: error: conditional \"ENABLE_PARALLEL\" was never defined.
118863 Usually this means the macro was only invoked conditionally." >&2;}
118864 { (exit 1); exit 1; }; }
118866 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
118867 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS\" was never defined.
118868 Usually this means the macro was only invoked conditionally." >&5
118869 echo "$as_me: error: conditional \"ENABLE_SYMVERS\" was never defined.
118870 Usually this means the macro was only invoked conditionally." >&2;}
118871 { (exit 1); exit 1; }; }
118873 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
118874 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
118875 Usually this means the macro was only invoked conditionally." >&5
118876 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU\" was never defined.
118877 Usually this means the macro was only invoked conditionally." >&2;}
118878 { (exit 1); exit 1; }; }
118880 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
118881 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
118882 Usually this means the macro was only invoked conditionally." >&5
118883 echo "$as_me: error: conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
118884 Usually this means the macro was only invoked conditionally." >&2;}
118885 { (exit 1); exit 1; }; }
118887 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
118888 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
118889 Usually this means the macro was only invoked conditionally." >&5
118890 echo "$as_me: error: conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
118891 Usually this means the macro was only invoked conditionally." >&2;}
118892 { (exit 1); exit 1; }; }
118894 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
118895 { { echo "$as_me:$LINENO: error: conditional \"ENABLE_VISIBILITY\" was never defined.
118896 Usually this means the macro was only invoked conditionally." >&5
118897 echo "$as_me: error: conditional \"ENABLE_VISIBILITY\" was never defined.
118898 Usually this means the macro was only invoked conditionally." >&2;}
118899 { (exit 1); exit 1; }; }
118901 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
118902 { { echo "$as_me:$LINENO: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
118903 Usually this means the macro was only invoked conditionally." >&5
118904 echo "$as_me: error: conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
118905 Usually this means the macro was only invoked conditionally." >&2;}
118906 { (exit 1); exit 1; }; }
118909 : ${CONFIG_STATUS=./config.status}
118910 ac_clean_files_save=$ac_clean_files
118911 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
118912 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
118913 echo "$as_me: creating $CONFIG_STATUS" >&6;}
118914 cat >$CONFIG_STATUS <<_ACEOF
118915 #! $SHELL
118916 # Generated by $as_me.
118917 # Run this file to recreate the current configuration.
118918 # Compiler output produced by configure, useful for debugging
118919 # configure, is in config.log if it exists.
118921 debug=false
118922 ac_cs_recheck=false
118923 ac_cs_silent=false
118924 SHELL=\${CONFIG_SHELL-$SHELL}
118925 _ACEOF
118927 cat >>$CONFIG_STATUS <<\_ACEOF
118928 ## --------------------- ##
118929 ## M4sh Initialization. ##
118930 ## --------------------- ##
118932 # Be Bourne compatible
118933 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
118934 emulate sh
118935 NULLCMD=:
118936 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
118937 # is contrary to our usage. Disable this feature.
118938 alias -g '${1+"$@"}'='"$@"'
118939 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
118940 set -o posix
118942 DUALCASE=1; export DUALCASE # for MKS sh
118944 # Support unset when possible.
118945 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
118946 as_unset=unset
118948 as_unset=false
118952 # Work around bugs in pre-3.0 UWIN ksh.
118953 $as_unset ENV MAIL MAILPATH
118954 PS1='$ '
118955 PS2='> '
118956 PS4='+ '
118958 # NLS nuisances.
118959 for as_var in \
118960 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
118961 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
118962 LC_TELEPHONE LC_TIME
118964 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
118965 eval $as_var=C; export $as_var
118967 $as_unset $as_var
118971 # Required to use basename.
118972 if expr a : '\(a\)' >/dev/null 2>&1; then
118973 as_expr=expr
118975 as_expr=false
118978 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
118979 as_basename=basename
118981 as_basename=false
118985 # Name of the executable.
118986 as_me=`$as_basename "$0" ||
118987 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
118988 X"$0" : 'X\(//\)$' \| \
118989 X"$0" : 'X\(/\)$' \| \
118990 . : '\(.\)' 2>/dev/null ||
118991 echo X/"$0" |
118992 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
118993 /^X\/\(\/\/\)$/{ s//\1/; q; }
118994 /^X\/\(\/\).*/{ s//\1/; q; }
118995 s/.*/./; q'`
118998 # PATH needs CR, and LINENO needs CR and PATH.
118999 # Avoid depending upon Character Ranges.
119000 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
119001 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
119002 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
119003 as_cr_digits='0123456789'
119004 as_cr_alnum=$as_cr_Letters$as_cr_digits
119006 # The user is always right.
119007 if test "${PATH_SEPARATOR+set}" != set; then
119008 echo "#! /bin/sh" >conf$$.sh
119009 echo "exit 0" >>conf$$.sh
119010 chmod +x conf$$.sh
119011 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
119012 PATH_SEPARATOR=';'
119014 PATH_SEPARATOR=:
119016 rm -f conf$$.sh
119020 as_lineno_1=$LINENO
119021 as_lineno_2=$LINENO
119022 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
119023 test "x$as_lineno_1" != "x$as_lineno_2" &&
119024 test "x$as_lineno_3" = "x$as_lineno_2" || {
119025 # Find who we are. Look in the path if we contain no path at all
119026 # relative or not.
119027 case $0 in
119028 *[\\/]* ) as_myself=$0 ;;
119029 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
119030 for as_dir in $PATH
119032 IFS=$as_save_IFS
119033 test -z "$as_dir" && as_dir=.
119034 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119039 # We did not find ourselves, most probably we were run as `sh COMMAND'
119040 # in which case we are not to be found in the path.
119041 if test "x$as_myself" = x; then
119042 as_myself=$0
119044 if test ! -f "$as_myself"; then
119045 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
119046 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
119047 { (exit 1); exit 1; }; }
119049 case $CONFIG_SHELL in
119051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
119052 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
119054 IFS=$as_save_IFS
119055 test -z "$as_dir" && as_dir=.
119056 for as_base in sh bash ksh sh5; do
119057 case $as_dir in
119059 if ("$as_dir/$as_base" -c '
119060 as_lineno_1=$LINENO
119061 as_lineno_2=$LINENO
119062 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
119063 test "x$as_lineno_1" != "x$as_lineno_2" &&
119064 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
119065 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
119066 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
119067 CONFIG_SHELL=$as_dir/$as_base
119068 export CONFIG_SHELL
119069 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
119077 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
119078 # uniformly replaced by the line number. The first 'sed' inserts a
119079 # line-number line before each line; the second 'sed' does the real
119080 # work. The second script uses 'N' to pair each line-number line
119081 # with the numbered line, and appends trailing '-' during
119082 # substitution so that $LINENO is not a special case at line end.
119083 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
119084 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
119085 sed '=' <$as_myself |
119086 sed '
119088 s,$,-,
119089 : loop
119090 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
119091 t loop
119092 s,-$,,
119093 s,^['$as_cr_digits']*\n,,
119094 ' >$as_me.lineno &&
119095 chmod +x $as_me.lineno ||
119096 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
119097 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
119098 { (exit 1); exit 1; }; }
119100 # Don't try to exec as it changes $[0], causing all sort of problems
119101 # (the dirname of $[0] is not the place where we might find the
119102 # original and so on. Autoconf is especially sensible to this).
119103 . ./$as_me.lineno
119104 # Exit status is that of the last command.
119109 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
119110 *c*,-n*) ECHO_N= ECHO_C='
119111 ' ECHO_T=' ' ;;
119112 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
119113 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
119116 if expr a : '\(a\)' >/dev/null 2>&1; then
119117 as_expr=expr
119119 as_expr=false
119122 rm -f conf$$ conf$$.exe conf$$.file
119123 echo >conf$$.file
119124 if ln -s conf$$.file conf$$ 2>/dev/null; then
119125 # We could just check for DJGPP; but this test a) works b) is more generic
119126 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
119127 if test -f conf$$.exe; then
119128 # Don't use ln at all; we don't have any links
119129 as_ln_s='cp -p'
119131 as_ln_s='ln -s'
119133 elif ln conf$$.file conf$$ 2>/dev/null; then
119134 as_ln_s=ln
119136 as_ln_s='cp -p'
119138 rm -f conf$$ conf$$.exe conf$$.file
119140 if mkdir -p . 2>/dev/null; then
119141 as_mkdir_p=:
119143 test -d ./-p && rmdir ./-p
119144 as_mkdir_p=false
119147 as_executable_p="test -f"
119149 # Sed expression to map a string onto a valid CPP name.
119150 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
119152 # Sed expression to map a string onto a valid variable name.
119153 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
119156 # IFS
119157 # We need space, tab and new line, in precisely that order.
119158 as_nl='
119160 IFS=" $as_nl"
119162 # CDPATH.
119163 $as_unset CDPATH
119165 exec 6>&1
119167 # Open the log real soon, to keep \$[0] and so on meaningful, and to
119168 # report actual input values of CONFIG_FILES etc. instead of their
119169 # values after options handling. Logging --version etc. is OK.
119170 exec 5>>config.log
119173 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
119174 ## Running $as_me. ##
119175 _ASBOX
119176 } >&5
119177 cat >&5 <<_CSEOF
119179 This file was extended by package-unused $as_me version-unused, which was
119180 generated by GNU Autoconf 2.59. Invocation command line was
119182 CONFIG_FILES = $CONFIG_FILES
119183 CONFIG_HEADERS = $CONFIG_HEADERS
119184 CONFIG_LINKS = $CONFIG_LINKS
119185 CONFIG_COMMANDS = $CONFIG_COMMANDS
119186 $ $0 $@
119188 _CSEOF
119189 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
119190 echo >&5
119191 _ACEOF
119193 # Files that config.status was made for.
119194 if test -n "$ac_config_files"; then
119195 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
119198 if test -n "$ac_config_headers"; then
119199 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
119202 if test -n "$ac_config_links"; then
119203 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
119206 if test -n "$ac_config_commands"; then
119207 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
119210 cat >>$CONFIG_STATUS <<\_ACEOF
119212 ac_cs_usage="\
119213 \`$as_me' instantiates files from templates according to the
119214 current configuration.
119216 Usage: $0 [OPTIONS] [FILE]...
119218 -h, --help print this help, then exit
119219 -V, --version print version number, then exit
119220 -q, --quiet do not print progress messages
119221 -d, --debug don't remove temporary files
119222 --recheck update $as_me by reconfiguring in the same conditions
119223 --file=FILE[:TEMPLATE]
119224 instantiate the configuration file FILE
119225 --header=FILE[:TEMPLATE]
119226 instantiate the configuration header FILE
119228 Configuration files:
119229 $config_files
119231 Configuration headers:
119232 $config_headers
119234 Configuration commands:
119235 $config_commands
119237 Report bugs to <bug-autoconf@gnu.org>."
119238 _ACEOF
119240 cat >>$CONFIG_STATUS <<_ACEOF
119241 ac_cs_version="\\
119242 package-unused config.status version-unused
119243 configured by $0, generated by GNU Autoconf 2.59,
119244 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
119246 Copyright (C) 2003 Free Software Foundation, Inc.
119247 This config.status script is free software; the Free Software Foundation
119248 gives unlimited permission to copy, distribute and modify it."
119249 srcdir=$srcdir
119250 INSTALL="$INSTALL"
119251 _ACEOF
119253 cat >>$CONFIG_STATUS <<\_ACEOF
119254 # If no file are specified by the user, then we need to provide default
119255 # value. By we need to know if files were specified by the user.
119256 ac_need_defaults=:
119257 while test $# != 0
119259 case $1 in
119260 --*=*)
119261 ac_option=`expr "x$1" : 'x\([^=]*\)='`
119262 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
119263 ac_shift=:
119266 ac_option=$1
119267 ac_optarg=$2
119268 ac_shift=shift
119270 *) # This is not an option, so the user has probably given explicit
119271 # arguments.
119272 ac_option=$1
119273 ac_need_defaults=false;;
119276 case $ac_option in
119277 # Handling of the options.
119278 _ACEOF
119279 cat >>$CONFIG_STATUS <<\_ACEOF
119280 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
119281 ac_cs_recheck=: ;;
119282 --version | --vers* | -V )
119283 echo "$ac_cs_version"; exit 0 ;;
119284 --he | --h)
119285 # Conflict between --help and --header
119286 { { echo "$as_me:$LINENO: error: ambiguous option: $1
119287 Try \`$0 --help' for more information." >&5
119288 echo "$as_me: error: ambiguous option: $1
119289 Try \`$0 --help' for more information." >&2;}
119290 { (exit 1); exit 1; }; };;
119291 --help | --hel | -h )
119292 echo "$ac_cs_usage"; exit 0 ;;
119293 --debug | --d* | -d )
119294 debug=: ;;
119295 --file | --fil | --fi | --f )
119296 $ac_shift
119297 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
119298 ac_need_defaults=false;;
119299 --header | --heade | --head | --hea )
119300 $ac_shift
119301 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
119302 ac_need_defaults=false;;
119303 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
119304 | -silent | --silent | --silen | --sile | --sil | --si | --s)
119305 ac_cs_silent=: ;;
119307 # This is an error.
119308 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
119309 Try \`$0 --help' for more information." >&5
119310 echo "$as_me: error: unrecognized option: $1
119311 Try \`$0 --help' for more information." >&2;}
119312 { (exit 1); exit 1; }; } ;;
119314 *) ac_config_targets="$ac_config_targets $1" ;;
119317 shift
119320 ac_configure_extra_args=
119322 if $ac_cs_silent; then
119323 exec 6>/dev/null
119324 ac_configure_extra_args="$ac_configure_extra_args --silent"
119327 _ACEOF
119328 cat >>$CONFIG_STATUS <<_ACEOF
119329 if \$ac_cs_recheck; then
119330 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
119331 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
119334 _ACEOF
119336 cat >>$CONFIG_STATUS <<_ACEOF
119338 # INIT-COMMANDS section.
119342 srcdir="$srcdir"
119343 host="$host"
119344 target="$target"
119345 with_multisubdir="$with_multisubdir"
119346 with_multisrctop="$with_multisrctop"
119347 with_target_subdir="$with_target_subdir"
119348 ac_configure_args="${multilib_arg} ${ac_configure_args}"
119349 multi_basedir="$multi_basedir"
119350 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
119351 CC="$CC"
119354 # The HP-UX ksh and POSIX shell print the target directory to stdout
119355 # if CDPATH is set.
119356 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
119358 sed_quote_subst='$sed_quote_subst'
119359 double_quote_subst='$double_quote_subst'
119360 delay_variable_subst='$delay_variable_subst'
119361 macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
119362 macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
119363 enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
119364 enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
119365 pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
119366 enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
119367 host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
119368 host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
119369 host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
119370 build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
119371 build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
119372 build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
119373 SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
119374 Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
119375 GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
119376 EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
119377 FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
119378 LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
119379 NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
119380 LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
119381 max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
119382 ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
119383 exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
119384 lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
119385 lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
119386 lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
119387 reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
119388 reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119389 OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
119390 deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
119391 file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
119392 AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
119393 AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
119394 STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
119395 RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
119396 old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119397 old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119398 old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119399 CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
119400 CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
119401 compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
119402 GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
119403 lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
119404 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
119405 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"`'
119406 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
119407 objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
119408 SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
119409 ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
119410 MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
119411 lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
119412 lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
119413 lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
119414 lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
119415 lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
119416 need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
119417 DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
119418 NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
119419 LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
119420 OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
119421 OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
119422 libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
119423 shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119424 extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119425 archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
119426 enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
119427 export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
119428 whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
119429 compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
119430 old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119431 old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119432 archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119433 archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119434 module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119435 module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119436 with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
119437 allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
119438 no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
119439 hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
119440 hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
119441 hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
119442 hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
119443 hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
119444 hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
119445 hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
119446 hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
119447 inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
119448 link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
119449 fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
119450 always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
119451 export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119452 exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
119453 include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
119454 prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119455 file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
119456 variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
119457 need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
119458 need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
119459 version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
119460 runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
119461 shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
119462 shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
119463 libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
119464 library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
119465 soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
119466 postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119467 postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119468 finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
119469 finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
119470 hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
119471 sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
119472 sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
119473 hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
119474 enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
119475 enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
119476 enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
119477 old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
119478 striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
119479 compiler_lib_search_dirs='`$ECHO "X$compiler_lib_search_dirs" | $Xsed -e "$delay_single_quote_subst"`'
119480 predep_objects='`$ECHO "X$predep_objects" | $Xsed -e "$delay_single_quote_subst"`'
119481 postdep_objects='`$ECHO "X$postdep_objects" | $Xsed -e "$delay_single_quote_subst"`'
119482 predeps='`$ECHO "X$predeps" | $Xsed -e "$delay_single_quote_subst"`'
119483 postdeps='`$ECHO "X$postdeps" | $Xsed -e "$delay_single_quote_subst"`'
119484 compiler_lib_search_path='`$ECHO "X$compiler_lib_search_path" | $Xsed -e "$delay_single_quote_subst"`'
119485 LD_CXX='`$ECHO "X$LD_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119486 old_archive_cmds_CXX='`$ECHO "X$old_archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119487 compiler_CXX='`$ECHO "X$compiler_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119488 GCC_CXX='`$ECHO "X$GCC_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119489 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "X$lt_prog_compiler_no_builtin_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119490 lt_prog_compiler_wl_CXX='`$ECHO "X$lt_prog_compiler_wl_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119491 lt_prog_compiler_pic_CXX='`$ECHO "X$lt_prog_compiler_pic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119492 lt_prog_compiler_static_CXX='`$ECHO "X$lt_prog_compiler_static_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119493 lt_cv_prog_compiler_c_o_CXX='`$ECHO "X$lt_cv_prog_compiler_c_o_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119494 archive_cmds_need_lc_CXX='`$ECHO "X$archive_cmds_need_lc_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119495 enable_shared_with_static_runtimes_CXX='`$ECHO "X$enable_shared_with_static_runtimes_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119496 export_dynamic_flag_spec_CXX='`$ECHO "X$export_dynamic_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119497 whole_archive_flag_spec_CXX='`$ECHO "X$whole_archive_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119498 compiler_needs_object_CXX='`$ECHO "X$compiler_needs_object_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119499 old_archive_from_new_cmds_CXX='`$ECHO "X$old_archive_from_new_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119500 old_archive_from_expsyms_cmds_CXX='`$ECHO "X$old_archive_from_expsyms_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119501 archive_cmds_CXX='`$ECHO "X$archive_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119502 archive_expsym_cmds_CXX='`$ECHO "X$archive_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119503 module_cmds_CXX='`$ECHO "X$module_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119504 module_expsym_cmds_CXX='`$ECHO "X$module_expsym_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119505 with_gnu_ld_CXX='`$ECHO "X$with_gnu_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119506 allow_undefined_flag_CXX='`$ECHO "X$allow_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119507 no_undefined_flag_CXX='`$ECHO "X$no_undefined_flag_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119508 hardcode_libdir_flag_spec_CXX='`$ECHO "X$hardcode_libdir_flag_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119509 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "X$hardcode_libdir_flag_spec_ld_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119510 hardcode_libdir_separator_CXX='`$ECHO "X$hardcode_libdir_separator_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119511 hardcode_direct_CXX='`$ECHO "X$hardcode_direct_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119512 hardcode_direct_absolute_CXX='`$ECHO "X$hardcode_direct_absolute_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119513 hardcode_minus_L_CXX='`$ECHO "X$hardcode_minus_L_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119514 hardcode_shlibpath_var_CXX='`$ECHO "X$hardcode_shlibpath_var_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119515 hardcode_automatic_CXX='`$ECHO "X$hardcode_automatic_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119516 inherit_rpath_CXX='`$ECHO "X$inherit_rpath_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119517 link_all_deplibs_CXX='`$ECHO "X$link_all_deplibs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119518 fix_srcfile_path_CXX='`$ECHO "X$fix_srcfile_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119519 always_export_symbols_CXX='`$ECHO "X$always_export_symbols_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119520 export_symbols_cmds_CXX='`$ECHO "X$export_symbols_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119521 exclude_expsyms_CXX='`$ECHO "X$exclude_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119522 include_expsyms_CXX='`$ECHO "X$include_expsyms_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119523 prelink_cmds_CXX='`$ECHO "X$prelink_cmds_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119524 file_list_spec_CXX='`$ECHO "X$file_list_spec_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119525 hardcode_action_CXX='`$ECHO "X$hardcode_action_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119526 compiler_lib_search_dirs_CXX='`$ECHO "X$compiler_lib_search_dirs_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119527 predep_objects_CXX='`$ECHO "X$predep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119528 postdep_objects_CXX='`$ECHO "X$postdep_objects_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119529 predeps_CXX='`$ECHO "X$predeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119530 postdeps_CXX='`$ECHO "X$postdeps_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119531 compiler_lib_search_path_CXX='`$ECHO "X$compiler_lib_search_path_CXX" | $Xsed -e "$delay_single_quote_subst"`'
119533 LTCC='$LTCC'
119534 LTCFLAGS='$LTCFLAGS'
119535 compiler='$compiler_DEFAULT'
119537 # Quote evaled strings.
119538 for var in SED \
119539 GREP \
119540 EGREP \
119541 FGREP \
119544 LN_S \
119545 lt_SP2NL \
119546 lt_NL2SP \
119547 reload_flag \
119548 OBJDUMP \
119549 deplibs_check_method \
119550 file_magic_cmd \
119552 AR_FLAGS \
119553 STRIP \
119554 RANLIB \
119556 CFLAGS \
119557 compiler \
119558 lt_cv_sys_global_symbol_pipe \
119559 lt_cv_sys_global_symbol_to_cdecl \
119560 lt_cv_sys_global_symbol_to_c_name_address \
119561 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
119562 SHELL \
119563 ECHO \
119564 lt_prog_compiler_no_builtin_flag \
119565 lt_prog_compiler_wl \
119566 lt_prog_compiler_pic \
119567 lt_prog_compiler_static \
119568 lt_cv_prog_compiler_c_o \
119569 need_locks \
119570 DSYMUTIL \
119571 NMEDIT \
119572 LIPO \
119573 OTOOL \
119574 OTOOL64 \
119575 shrext_cmds \
119576 export_dynamic_flag_spec \
119577 whole_archive_flag_spec \
119578 compiler_needs_object \
119579 with_gnu_ld \
119580 allow_undefined_flag \
119581 no_undefined_flag \
119582 hardcode_libdir_flag_spec \
119583 hardcode_libdir_flag_spec_ld \
119584 hardcode_libdir_separator \
119585 fix_srcfile_path \
119586 exclude_expsyms \
119587 include_expsyms \
119588 file_list_spec \
119589 variables_saved_for_relink \
119590 libname_spec \
119591 library_names_spec \
119592 soname_spec \
119593 finish_eval \
119594 old_striplib \
119595 striplib \
119596 compiler_lib_search_dirs \
119597 predep_objects \
119598 postdep_objects \
119599 predeps \
119600 postdeps \
119601 compiler_lib_search_path \
119602 LD_CXX \
119603 compiler_CXX \
119604 lt_prog_compiler_no_builtin_flag_CXX \
119605 lt_prog_compiler_wl_CXX \
119606 lt_prog_compiler_pic_CXX \
119607 lt_prog_compiler_static_CXX \
119608 lt_cv_prog_compiler_c_o_CXX \
119609 export_dynamic_flag_spec_CXX \
119610 whole_archive_flag_spec_CXX \
119611 compiler_needs_object_CXX \
119612 with_gnu_ld_CXX \
119613 allow_undefined_flag_CXX \
119614 no_undefined_flag_CXX \
119615 hardcode_libdir_flag_spec_CXX \
119616 hardcode_libdir_flag_spec_ld_CXX \
119617 hardcode_libdir_separator_CXX \
119618 fix_srcfile_path_CXX \
119619 exclude_expsyms_CXX \
119620 include_expsyms_CXX \
119621 file_list_spec_CXX \
119622 compiler_lib_search_dirs_CXX \
119623 predep_objects_CXX \
119624 postdep_objects_CXX \
119625 predeps_CXX \
119626 postdeps_CXX \
119627 compiler_lib_search_path_CXX; do
119628 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
119629 *[\\\\\\\`\\"\\\$]*)
119630 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
119633 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
119638 # Double-quote double-evaled strings.
119639 for var in reload_cmds \
119640 old_postinstall_cmds \
119641 old_postuninstall_cmds \
119642 old_archive_cmds \
119643 extract_expsyms_cmds \
119644 old_archive_from_new_cmds \
119645 old_archive_from_expsyms_cmds \
119646 archive_cmds \
119647 archive_expsym_cmds \
119648 module_cmds \
119649 module_expsym_cmds \
119650 export_symbols_cmds \
119651 prelink_cmds \
119652 postinstall_cmds \
119653 postuninstall_cmds \
119654 finish_cmds \
119655 sys_lib_search_path_spec \
119656 sys_lib_dlsearch_path_spec \
119657 old_archive_cmds_CXX \
119658 old_archive_from_new_cmds_CXX \
119659 old_archive_from_expsyms_cmds_CXX \
119660 archive_cmds_CXX \
119661 archive_expsym_cmds_CXX \
119662 module_cmds_CXX \
119663 module_expsym_cmds_CXX \
119664 export_symbols_cmds_CXX \
119665 prelink_cmds_CXX; do
119666 case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
119667 *[\\\\\\\`\\"\\\$]*)
119668 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
119671 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
119676 # Fix-up fallback echo if it was mangled by the above quoting rules.
119677 case \$lt_ECHO in
119678 *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
119682 ac_aux_dir='$ac_aux_dir'
119683 xsi_shell='$xsi_shell'
119684 lt_shell_append='$lt_shell_append'
119686 # See if we are running on zsh, and set the options which allow our
119687 # commands through without removal of \ escapes INIT.
119688 if test -n "\${ZSH_VERSION+set}" ; then
119689 setopt NO_GLOB_SUBST
119693 PACKAGE='$PACKAGE'
119694 VERSION='$VERSION'
119695 TIMESTAMP='$TIMESTAMP'
119696 RM='$RM'
119697 ofile='$ofile'
119704 GCC="$GCC"
119705 CC="$CC"
119706 acx_cv_header_stdint="$acx_cv_header_stdint"
119707 acx_cv_type_int8_t="$acx_cv_type_int8_t"
119708 acx_cv_type_int16_t="$acx_cv_type_int16_t"
119709 acx_cv_type_int32_t="$acx_cv_type_int32_t"
119710 acx_cv_type_int64_t="$acx_cv_type_int64_t"
119711 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
119712 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
119713 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
119714 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
119715 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
119716 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
119717 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
119718 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
119719 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
119722 # Variables needed in config.status (file generation) which aren't already
119723 # passed by autoconf.
119724 SUBDIRS="$SUBDIRS"
119727 _ACEOF
119731 cat >>$CONFIG_STATUS <<\_ACEOF
119732 for ac_config_target in $ac_config_targets
119734 case "$ac_config_target" in
119735 # Handling of arguments.
119736 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
119737 "include/Makefile" ) CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
119738 "libsupc++/Makefile" ) CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
119739 "src/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
119740 "doc/Makefile" ) CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
119741 "po/Makefile" ) CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
119742 "testsuite/Makefile" ) CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
119743 "scripts/testsuite_flags" ) CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
119744 "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
119745 "libtool" ) CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
119746 "include/gstdint.h" ) CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
119747 "default" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default" ;;
119748 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
119749 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
119750 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
119751 { (exit 1); exit 1; }; };;
119755 # If the user did not use the arguments to specify the items to instantiate,
119756 # then the envvar interface is used. Set only those that are not.
119757 # We use the long form for the default assignment because of an extremely
119758 # bizarre bug on SunOS 4.1.3.
119759 if $ac_need_defaults; then
119760 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
119761 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
119762 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
119765 # Have a temporary directory for convenience. Make it in the build tree
119766 # simply because there is no reason to put it here, and in addition,
119767 # creating and moving files from /tmp can sometimes cause problems.
119768 # Create a temporary directory, and hook for its removal unless debugging.
119769 $debug ||
119771 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
119772 trap '{ (exit 1); exit 1; }' 1 2 13 15
119775 # Create a (secure) tmp directory for tmp files.
119778 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
119779 test -n "$tmp" && test -d "$tmp"
119782 tmp=./confstat$$-$RANDOM
119783 (umask 077 && mkdir $tmp)
119786 echo "$me: cannot create a temporary directory in ." >&2
119787 { (exit 1); exit 1; }
119790 _ACEOF
119792 cat >>$CONFIG_STATUS <<_ACEOF
119795 # CONFIG_FILES section.
119798 # No need to generate the scripts if there are no CONFIG_FILES.
119799 # This happens for instance when ./config.status config.h
119800 if test -n "\$CONFIG_FILES"; then
119801 # Protect against being on the right side of a sed subst in config.status.
119802 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
119803 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
119804 s,@SHELL@,$SHELL,;t t
119805 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
119806 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
119807 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
119808 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
119809 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
119810 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
119811 s,@exec_prefix@,$exec_prefix,;t t
119812 s,@prefix@,$prefix,;t t
119813 s,@program_transform_name@,$program_transform_name,;t t
119814 s,@bindir@,$bindir,;t t
119815 s,@sbindir@,$sbindir,;t t
119816 s,@libexecdir@,$libexecdir,;t t
119817 s,@datadir@,$datadir,;t t
119818 s,@sysconfdir@,$sysconfdir,;t t
119819 s,@sharedstatedir@,$sharedstatedir,;t t
119820 s,@localstatedir@,$localstatedir,;t t
119821 s,@libdir@,$libdir,;t t
119822 s,@includedir@,$includedir,;t t
119823 s,@oldincludedir@,$oldincludedir,;t t
119824 s,@infodir@,$infodir,;t t
119825 s,@mandir@,$mandir,;t t
119826 s,@build_alias@,$build_alias,;t t
119827 s,@host_alias@,$host_alias,;t t
119828 s,@target_alias@,$target_alias,;t t
119829 s,@DEFS@,$DEFS,;t t
119830 s,@ECHO_C@,$ECHO_C,;t t
119831 s,@ECHO_N@,$ECHO_N,;t t
119832 s,@ECHO_T@,$ECHO_T,;t t
119833 s,@LIBS@,$LIBS,;t t
119834 s,@libtool_VERSION@,$libtool_VERSION,;t t
119835 s,@multi_basedir@,$multi_basedir,;t t
119836 s,@build@,$build,;t t
119837 s,@build_cpu@,$build_cpu,;t t
119838 s,@build_vendor@,$build_vendor,;t t
119839 s,@build_os@,$build_os,;t t
119840 s,@host@,$host,;t t
119841 s,@host_cpu@,$host_cpu,;t t
119842 s,@host_vendor@,$host_vendor,;t t
119843 s,@host_os@,$host_os,;t t
119844 s,@target@,$target,;t t
119845 s,@target_cpu@,$target_cpu,;t t
119846 s,@target_vendor@,$target_vendor,;t t
119847 s,@target_os@,$target_os,;t t
119848 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
119849 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
119850 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
119851 s,@CYGPATH_W@,$CYGPATH_W,;t t
119852 s,@PACKAGE@,$PACKAGE,;t t
119853 s,@VERSION@,$VERSION,;t t
119854 s,@ACLOCAL@,$ACLOCAL,;t t
119855 s,@AUTOCONF@,$AUTOCONF,;t t
119856 s,@AUTOMAKE@,$AUTOMAKE,;t t
119857 s,@AUTOHEADER@,$AUTOHEADER,;t t
119858 s,@MAKEINFO@,$MAKEINFO,;t t
119859 s,@install_sh@,$install_sh,;t t
119860 s,@STRIP@,$STRIP,;t t
119861 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
119862 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
119863 s,@mkdir_p@,$mkdir_p,;t t
119864 s,@AWK@,$AWK,;t t
119865 s,@SET_MAKE@,$SET_MAKE,;t t
119866 s,@am__leading_dot@,$am__leading_dot,;t t
119867 s,@AMTAR@,$AMTAR,;t t
119868 s,@am__tar@,$am__tar,;t t
119869 s,@am__untar@,$am__untar,;t t
119870 s,@glibcxx_builddir@,$glibcxx_builddir,;t t
119871 s,@glibcxx_srcdir@,$glibcxx_srcdir,;t t
119872 s,@toplevel_srcdir@,$toplevel_srcdir,;t t
119873 s,@CC@,$CC,;t t
119874 s,@ac_ct_CC@,$ac_ct_CC,;t t
119875 s,@EXEEXT@,$EXEEXT,;t t
119876 s,@OBJEXT@,$OBJEXT,;t t
119877 s,@CXX@,$CXX,;t t
119878 s,@ac_ct_CXX@,$ac_ct_CXX,;t t
119879 s,@CFLAGS@,$CFLAGS,;t t
119880 s,@CXXFLAGS@,$CXXFLAGS,;t t
119881 s,@LN_S@,$LN_S,;t t
119882 s,@AS@,$AS,;t t
119883 s,@ac_ct_AS@,$ac_ct_AS,;t t
119884 s,@AR@,$AR,;t t
119885 s,@ac_ct_AR@,$ac_ct_AR,;t t
119886 s,@RANLIB@,$RANLIB,;t t
119887 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
119888 s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
119889 s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
119890 s,@MAINT@,$MAINT,;t t
119891 s,@CPP@,$CPP,;t t
119892 s,@CPPFLAGS@,$CPPFLAGS,;t t
119893 s,@EGREP@,$EGREP,;t t
119894 s,@LIBTOOL@,$LIBTOOL,;t t
119895 s,@SED@,$SED,;t t
119896 s,@FGREP@,$FGREP,;t t
119897 s,@GREP@,$GREP,;t t
119898 s,@LD@,$LD,;t t
119899 s,@DUMPBIN@,$DUMPBIN,;t t
119900 s,@ac_ct_DUMPBIN@,$ac_ct_DUMPBIN,;t t
119901 s,@NM@,$NM,;t t
119902 s,@OBJDUMP@,$OBJDUMP,;t t
119903 s,@ac_ct_OBJDUMP@,$ac_ct_OBJDUMP,;t t
119904 s,@lt_ECHO@,$lt_ECHO,;t t
119905 s,@DSYMUTIL@,$DSYMUTIL,;t t
119906 s,@ac_ct_DSYMUTIL@,$ac_ct_DSYMUTIL,;t t
119907 s,@NMEDIT@,$NMEDIT,;t t
119908 s,@ac_ct_NMEDIT@,$ac_ct_NMEDIT,;t t
119909 s,@LIPO@,$LIPO,;t t
119910 s,@ac_ct_LIPO@,$ac_ct_LIPO,;t t
119911 s,@OTOOL@,$OTOOL,;t t
119912 s,@ac_ct_OTOOL@,$ac_ct_OTOOL,;t t
119913 s,@OTOOL64@,$OTOOL64,;t t
119914 s,@ac_ct_OTOOL64@,$ac_ct_OTOOL64,;t t
119915 s,@LDFLAGS@,$LDFLAGS,;t t
119916 s,@CXXCPP@,$CXXCPP,;t t
119917 s,@enable_shared@,$enable_shared,;t t
119918 s,@enable_static@,$enable_static,;t t
119919 s,@GLIBCXX_HOSTED_TRUE@,$GLIBCXX_HOSTED_TRUE,;t t
119920 s,@GLIBCXX_HOSTED_FALSE@,$GLIBCXX_HOSTED_FALSE,;t t
119921 s,@GLIBCXX_BUILD_PCH_TRUE@,$GLIBCXX_BUILD_PCH_TRUE,;t t
119922 s,@GLIBCXX_BUILD_PCH_FALSE@,$GLIBCXX_BUILD_PCH_FALSE,;t t
119923 s,@glibcxx_PCHFLAGS@,$glibcxx_PCHFLAGS,;t t
119924 s,@glibcxx_thread_h@,$glibcxx_thread_h,;t t
119925 s,@WERROR@,$WERROR,;t t
119926 s,@SECTION_FLAGS@,$SECTION_FLAGS,;t t
119927 s,@CSTDIO_H@,$CSTDIO_H,;t t
119928 s,@BASIC_FILE_H@,$BASIC_FILE_H,;t t
119929 s,@BASIC_FILE_CC@,$BASIC_FILE_CC,;t t
119930 s,@check_msgfmt@,$check_msgfmt,;t t
119931 s,@glibcxx_MOFILES@,$glibcxx_MOFILES,;t t
119932 s,@glibcxx_POFILES@,$glibcxx_POFILES,;t t
119933 s,@glibcxx_localedir@,$glibcxx_localedir,;t t
119934 s,@USE_NLS@,$USE_NLS,;t t
119935 s,@CLOCALE_H@,$CLOCALE_H,;t t
119936 s,@CMESSAGES_H@,$CMESSAGES_H,;t t
119937 s,@CCODECVT_CC@,$CCODECVT_CC,;t t
119938 s,@CCOLLATE_CC@,$CCOLLATE_CC,;t t
119939 s,@CCTYPE_CC@,$CCTYPE_CC,;t t
119940 s,@CMESSAGES_CC@,$CMESSAGES_CC,;t t
119941 s,@CMONEY_CC@,$CMONEY_CC,;t t
119942 s,@CNUMERIC_CC@,$CNUMERIC_CC,;t t
119943 s,@CTIME_H@,$CTIME_H,;t t
119944 s,@CTIME_CC@,$CTIME_CC,;t t
119945 s,@CLOCALE_CC@,$CLOCALE_CC,;t t
119946 s,@CLOCALE_INTERNAL_H@,$CLOCALE_INTERNAL_H,;t t
119947 s,@ALLOCATOR_H@,$ALLOCATOR_H,;t t
119948 s,@ALLOCATOR_NAME@,$ALLOCATOR_NAME,;t t
119949 s,@C_INCLUDE_DIR@,$C_INCLUDE_DIR,;t t
119950 s,@GLIBCXX_C_HEADERS_C_TRUE@,$GLIBCXX_C_HEADERS_C_TRUE,;t t
119951 s,@GLIBCXX_C_HEADERS_C_FALSE@,$GLIBCXX_C_HEADERS_C_FALSE,;t t
119952 s,@GLIBCXX_C_HEADERS_C_STD_TRUE@,$GLIBCXX_C_HEADERS_C_STD_TRUE,;t t
119953 s,@GLIBCXX_C_HEADERS_C_STD_FALSE@,$GLIBCXX_C_HEADERS_C_STD_FALSE,;t t
119954 s,@GLIBCXX_C_HEADERS_C_GLOBAL_TRUE@,$GLIBCXX_C_HEADERS_C_GLOBAL_TRUE,;t t
119955 s,@GLIBCXX_C_HEADERS_C_GLOBAL_FALSE@,$GLIBCXX_C_HEADERS_C_GLOBAL_FALSE,;t t
119956 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE,;t t
119957 s,@GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE@,$GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE,;t t
119958 s,@GLIBCXX_C_HEADERS_EXTRA_TRUE@,$GLIBCXX_C_HEADERS_EXTRA_TRUE,;t t
119959 s,@GLIBCXX_C_HEADERS_EXTRA_FALSE@,$GLIBCXX_C_HEADERS_EXTRA_FALSE,;t t
119960 s,@DEBUG_FLAGS@,$DEBUG_FLAGS,;t t
119961 s,@GLIBCXX_BUILD_DEBUG_TRUE@,$GLIBCXX_BUILD_DEBUG_TRUE,;t t
119962 s,@GLIBCXX_BUILD_DEBUG_FALSE@,$GLIBCXX_BUILD_DEBUG_FALSE,;t t
119963 s,@ENABLE_PARALLEL_TRUE@,$ENABLE_PARALLEL_TRUE,;t t
119964 s,@ENABLE_PARALLEL_FALSE@,$ENABLE_PARALLEL_FALSE,;t t
119965 s,@EXTRA_CXX_FLAGS@,$EXTRA_CXX_FLAGS,;t t
119966 s,@GLIBCXX_LIBS@,$GLIBCXX_LIBS,;t t
119967 s,@SECTION_LDFLAGS@,$SECTION_LDFLAGS,;t t
119968 s,@OPT_LDFLAGS@,$OPT_LDFLAGS,;t t
119969 s,@LIBICONV@,$LIBICONV,;t t
119970 s,@LTLIBICONV@,$LTLIBICONV,;t t
119971 s,@SYMVER_FILE@,$SYMVER_FILE,;t t
119972 s,@port_specific_symbol_files@,$port_specific_symbol_files,;t t
119973 s,@ENABLE_SYMVERS_TRUE@,$ENABLE_SYMVERS_TRUE,;t t
119974 s,@ENABLE_SYMVERS_FALSE@,$ENABLE_SYMVERS_FALSE,;t t
119975 s,@ENABLE_SYMVERS_GNU_TRUE@,$ENABLE_SYMVERS_GNU_TRUE,;t t
119976 s,@ENABLE_SYMVERS_GNU_FALSE@,$ENABLE_SYMVERS_GNU_FALSE,;t t
119977 s,@ENABLE_SYMVERS_GNU_NAMESPACE_TRUE@,$ENABLE_SYMVERS_GNU_NAMESPACE_TRUE,;t t
119978 s,@ENABLE_SYMVERS_GNU_NAMESPACE_FALSE@,$ENABLE_SYMVERS_GNU_NAMESPACE_FALSE,;t t
119979 s,@ENABLE_SYMVERS_DARWIN_TRUE@,$ENABLE_SYMVERS_DARWIN_TRUE,;t t
119980 s,@ENABLE_SYMVERS_DARWIN_FALSE@,$ENABLE_SYMVERS_DARWIN_FALSE,;t t
119981 s,@ENABLE_VISIBILITY_TRUE@,$ENABLE_VISIBILITY_TRUE,;t t
119982 s,@ENABLE_VISIBILITY_FALSE@,$ENABLE_VISIBILITY_FALSE,;t t
119983 s,@GLIBCXX_LDBL_COMPAT_TRUE@,$GLIBCXX_LDBL_COMPAT_TRUE,;t t
119984 s,@GLIBCXX_LDBL_COMPAT_FALSE@,$GLIBCXX_LDBL_COMPAT_FALSE,;t t
119985 s,@baseline_dir@,$baseline_dir,;t t
119986 s,@ATOMICITY_SRCDIR@,$ATOMICITY_SRCDIR,;t t
119987 s,@ATOMIC_WORD_SRCDIR@,$ATOMIC_WORD_SRCDIR,;t t
119988 s,@ATOMIC_FLAGS@,$ATOMIC_FLAGS,;t t
119989 s,@CPU_DEFINES_SRCDIR@,$CPU_DEFINES_SRCDIR,;t t
119990 s,@ABI_TWEAKS_SRCDIR@,$ABI_TWEAKS_SRCDIR,;t t
119991 s,@OS_INC_SRCDIR@,$OS_INC_SRCDIR,;t t
119992 s,@ERROR_CONSTANTS_SRCDIR@,$ERROR_CONSTANTS_SRCDIR,;t t
119993 s,@glibcxx_prefixdir@,$glibcxx_prefixdir,;t t
119994 s,@gxx_include_dir@,$gxx_include_dir,;t t
119995 s,@glibcxx_toolexecdir@,$glibcxx_toolexecdir,;t t
119996 s,@glibcxx_toolexeclibdir@,$glibcxx_toolexeclibdir,;t t
119997 s,@GLIBCXX_INCLUDES@,$GLIBCXX_INCLUDES,;t t
119998 s,@TOPLEVEL_INCLUDES@,$TOPLEVEL_INCLUDES,;t t
119999 s,@OPTIMIZE_CXXFLAGS@,$OPTIMIZE_CXXFLAGS,;t t
120000 s,@WARN_FLAGS@,$WARN_FLAGS,;t t
120001 s,@LIBSUPCXX_PICFLAGS@,$LIBSUPCXX_PICFLAGS,;t t
120002 s,@LIBOBJS@,$LIBOBJS,;t t
120003 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
120006 _ACEOF
120008 cat >>$CONFIG_STATUS <<\_ACEOF
120009 # Split the substitutions into bite-sized pieces for seds with
120010 # small command number limits, like on Digital OSF/1 and HP-UX.
120011 ac_max_sed_lines=48
120012 ac_sed_frag=1 # Number of current file.
120013 ac_beg=1 # First line for current file.
120014 ac_end=$ac_max_sed_lines # Line after last line for current file.
120015 ac_more_lines=:
120016 ac_sed_cmds=
120017 while $ac_more_lines; do
120018 if test $ac_beg -gt 1; then
120019 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
120021 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
120023 if test ! -s $tmp/subs.frag; then
120024 ac_more_lines=false
120026 # The purpose of the label and of the branching condition is to
120027 # speed up the sed processing (if there are no `@' at all, there
120028 # is no need to browse any of the substitutions).
120029 # These are the two extra sed commands mentioned above.
120030 (echo ':t
120031 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
120032 if test -z "$ac_sed_cmds"; then
120033 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
120035 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
120037 ac_sed_frag=`expr $ac_sed_frag + 1`
120038 ac_beg=$ac_end
120039 ac_end=`expr $ac_end + $ac_max_sed_lines`
120042 if test -z "$ac_sed_cmds"; then
120043 ac_sed_cmds=cat
120045 fi # test -n "$CONFIG_FILES"
120047 _ACEOF
120048 cat >>$CONFIG_STATUS <<\_ACEOF
120049 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
120050 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
120051 case $ac_file in
120052 - | *:- | *:-:* ) # input from stdin
120053 cat >$tmp/stdin
120054 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
120055 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
120056 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
120057 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
120058 * ) ac_file_in=$ac_file.in ;;
120061 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
120062 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
120063 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120064 X"$ac_file" : 'X\(//\)[^/]' \| \
120065 X"$ac_file" : 'X\(//\)$' \| \
120066 X"$ac_file" : 'X\(/\)' \| \
120067 . : '\(.\)' 2>/dev/null ||
120068 echo X"$ac_file" |
120069 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120070 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120071 /^X\(\/\/\)$/{ s//\1/; q; }
120072 /^X\(\/\).*/{ s//\1/; q; }
120073 s/.*/./; q'`
120074 { if $as_mkdir_p; then
120075 mkdir -p "$ac_dir"
120077 as_dir="$ac_dir"
120078 as_dirs=
120079 while test ! -d "$as_dir"; do
120080 as_dirs="$as_dir $as_dirs"
120081 as_dir=`(dirname "$as_dir") 2>/dev/null ||
120082 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120083 X"$as_dir" : 'X\(//\)[^/]' \| \
120084 X"$as_dir" : 'X\(//\)$' \| \
120085 X"$as_dir" : 'X\(/\)' \| \
120086 . : '\(.\)' 2>/dev/null ||
120087 echo X"$as_dir" |
120088 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120089 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120090 /^X\(\/\/\)$/{ s//\1/; q; }
120091 /^X\(\/\).*/{ s//\1/; q; }
120092 s/.*/./; q'`
120094 test ! -n "$as_dirs" || mkdir $as_dirs
120095 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
120096 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
120097 { (exit 1); exit 1; }; }; }
120099 ac_builddir=.
120101 if test "$ac_dir" != .; then
120102 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
120103 # A "../" for each directory in $ac_dir_suffix.
120104 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
120106 ac_dir_suffix= ac_top_builddir=
120109 case $srcdir in
120110 .) # No --srcdir option. We are building in place.
120111 ac_srcdir=.
120112 if test -z "$ac_top_builddir"; then
120113 ac_top_srcdir=.
120115 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
120116 fi ;;
120117 [\\/]* | ?:[\\/]* ) # Absolute path.
120118 ac_srcdir=$srcdir$ac_dir_suffix;
120119 ac_top_srcdir=$srcdir ;;
120120 *) # Relative path.
120121 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
120122 ac_top_srcdir=$ac_top_builddir$srcdir ;;
120125 # Do not use `cd foo && pwd` to compute absolute paths, because
120126 # the directories may not exist.
120127 case `pwd` in
120128 .) ac_abs_builddir="$ac_dir";;
120130 case "$ac_dir" in
120131 .) ac_abs_builddir=`pwd`;;
120132 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
120133 *) ac_abs_builddir=`pwd`/"$ac_dir";;
120134 esac;;
120136 case $ac_abs_builddir in
120137 .) ac_abs_top_builddir=${ac_top_builddir}.;;
120139 case ${ac_top_builddir}. in
120140 .) ac_abs_top_builddir=$ac_abs_builddir;;
120141 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
120142 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
120143 esac;;
120145 case $ac_abs_builddir in
120146 .) ac_abs_srcdir=$ac_srcdir;;
120148 case $ac_srcdir in
120149 .) ac_abs_srcdir=$ac_abs_builddir;;
120150 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
120151 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
120152 esac;;
120154 case $ac_abs_builddir in
120155 .) ac_abs_top_srcdir=$ac_top_srcdir;;
120157 case $ac_top_srcdir in
120158 .) ac_abs_top_srcdir=$ac_abs_builddir;;
120159 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
120160 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
120161 esac;;
120165 case $INSTALL in
120166 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
120167 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
120170 if test x"$ac_file" != x-; then
120171 { echo "$as_me:$LINENO: creating $ac_file" >&5
120172 echo "$as_me: creating $ac_file" >&6;}
120173 rm -f "$ac_file"
120175 # Let's still pretend it is `configure' which instantiates (i.e., don't
120176 # use $as_me), people would be surprised to read:
120177 # /* config.h. Generated by config.status. */
120178 if test x"$ac_file" = x-; then
120179 configure_input=
120181 configure_input="$ac_file. "
120183 configure_input=$configure_input"Generated from `echo $ac_file_in |
120184 sed 's,.*/,,'` by configure."
120186 # First look for the input files in the build tree, otherwise in the
120187 # src tree.
120188 ac_file_inputs=`IFS=:
120189 for f in $ac_file_in; do
120190 case $f in
120191 -) echo $tmp/stdin ;;
120192 [\\/$]*)
120193 # Absolute (can't be DOS-style, as IFS=:)
120194 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
120195 echo "$as_me: error: cannot find input file: $f" >&2;}
120196 { (exit 1); exit 1; }; }
120197 echo "$f";;
120198 *) # Relative
120199 if test -f "$f"; then
120200 # Build tree
120201 echo "$f"
120202 elif test -f "$srcdir/$f"; then
120203 # Source tree
120204 echo "$srcdir/$f"
120206 # /dev/null tree
120207 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
120208 echo "$as_me: error: cannot find input file: $f" >&2;}
120209 { (exit 1); exit 1; }; }
120212 done` || { (exit 1); exit 1; }
120213 _ACEOF
120214 cat >>$CONFIG_STATUS <<_ACEOF
120215 sed "$ac_vpsub
120216 $extrasub
120217 _ACEOF
120218 cat >>$CONFIG_STATUS <<\_ACEOF
120220 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
120221 s,@configure_input@,$configure_input,;t t
120222 s,@srcdir@,$ac_srcdir,;t t
120223 s,@abs_srcdir@,$ac_abs_srcdir,;t t
120224 s,@top_srcdir@,$ac_top_srcdir,;t t
120225 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
120226 s,@builddir@,$ac_builddir,;t t
120227 s,@abs_builddir@,$ac_abs_builddir,;t t
120228 s,@top_builddir@,$ac_top_builddir,;t t
120229 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
120230 s,@INSTALL@,$ac_INSTALL,;t t
120231 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
120232 rm -f $tmp/stdin
120233 if test x"$ac_file" != x-; then
120234 mv $tmp/out $ac_file
120236 cat $tmp/out
120237 rm -f $tmp/out
120240 # Run the commands associated with the file.
120241 case $ac_file in
120242 scripts/testsuite_flags ) chmod +x scripts/testsuite_flags ;;
120245 _ACEOF
120246 cat >>$CONFIG_STATUS <<\_ACEOF
120249 # CONFIG_HEADER section.
120252 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
120253 # NAME is the cpp macro being defined and VALUE is the value it is being given.
120255 # ac_d sets the value in "#define NAME VALUE" lines.
120256 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
120257 ac_dB='[ ].*$,\1#\2'
120258 ac_dC=' '
120259 ac_dD=',;t'
120260 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
120261 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
120262 ac_uB='$,\1#\2define\3'
120263 ac_uC=' '
120264 ac_uD=',;t'
120266 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
120267 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
120268 case $ac_file in
120269 - | *:- | *:-:* ) # input from stdin
120270 cat >$tmp/stdin
120271 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
120272 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
120273 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
120274 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
120275 * ) ac_file_in=$ac_file.in ;;
120278 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
120279 echo "$as_me: creating $ac_file" >&6;}
120281 # First look for the input files in the build tree, otherwise in the
120282 # src tree.
120283 ac_file_inputs=`IFS=:
120284 for f in $ac_file_in; do
120285 case $f in
120286 -) echo $tmp/stdin ;;
120287 [\\/$]*)
120288 # Absolute (can't be DOS-style, as IFS=:)
120289 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
120290 echo "$as_me: error: cannot find input file: $f" >&2;}
120291 { (exit 1); exit 1; }; }
120292 # Do quote $f, to prevent DOS paths from being IFS'd.
120293 echo "$f";;
120294 *) # Relative
120295 if test -f "$f"; then
120296 # Build tree
120297 echo "$f"
120298 elif test -f "$srcdir/$f"; then
120299 # Source tree
120300 echo "$srcdir/$f"
120302 # /dev/null tree
120303 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
120304 echo "$as_me: error: cannot find input file: $f" >&2;}
120305 { (exit 1); exit 1; }; }
120308 done` || { (exit 1); exit 1; }
120309 # Remove the trailing spaces.
120310 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
120312 _ACEOF
120314 # Transform confdefs.h into two sed scripts, `conftest.defines' and
120315 # `conftest.undefs', that substitutes the proper values into
120316 # config.h.in to produce config.h. The first handles `#define'
120317 # templates, and the second `#undef' templates.
120318 # And first: Protect against being on the right side of a sed subst in
120319 # config.status. Protect against being in an unquoted here document
120320 # in config.status.
120321 rm -f conftest.defines conftest.undefs
120322 # Using a here document instead of a string reduces the quoting nightmare.
120323 # Putting comments in sed scripts is not portable.
120325 # `end' is used to avoid that the second main sed command (meant for
120326 # 0-ary CPP macros) applies to n-ary macro definitions.
120327 # See the Autoconf documentation for `clear'.
120328 cat >confdef2sed.sed <<\_ACEOF
120329 s/[\\&,]/\\&/g
120330 s,[\\$`],\\&,g
120331 t clear
120332 : clear
120333 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
120334 t end
120335 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
120336 : end
120337 _ACEOF
120338 # If some macros were called several times there might be several times
120339 # the same #defines, which is useless. Nevertheless, we may not want to
120340 # sort them, since we want the *last* AC-DEFINE to be honored.
120341 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
120342 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
120343 rm -f confdef2sed.sed
120345 # This sed command replaces #undef with comments. This is necessary, for
120346 # example, in the case of _POSIX_SOURCE, which is predefined and required
120347 # on some systems where configure will not decide to define it.
120348 cat >>conftest.undefs <<\_ACEOF
120349 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
120350 _ACEOF
120352 # Break up conftest.defines because some shells have a limit on the size
120353 # of here documents, and old seds have small limits too (100 cmds).
120354 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
120355 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
120356 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
120357 echo ' :' >>$CONFIG_STATUS
120358 rm -f conftest.tail
120359 while grep . conftest.defines >/dev/null
120361 # Write a limited-size here document to $tmp/defines.sed.
120362 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
120363 # Speed up: don't consider the non `#define' lines.
120364 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
120365 # Work around the forget-to-reset-the-flag bug.
120366 echo 't clr' >>$CONFIG_STATUS
120367 echo ': clr' >>$CONFIG_STATUS
120368 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
120369 echo 'CEOF
120370 sed -f $tmp/defines.sed $tmp/in >$tmp/out
120371 rm -f $tmp/in
120372 mv $tmp/out $tmp/in
120373 ' >>$CONFIG_STATUS
120374 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
120375 rm -f conftest.defines
120376 mv conftest.tail conftest.defines
120378 rm -f conftest.defines
120379 echo ' fi # grep' >>$CONFIG_STATUS
120380 echo >>$CONFIG_STATUS
120382 # Break up conftest.undefs because some shells have a limit on the size
120383 # of here documents, and old seds have small limits too (100 cmds).
120384 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
120385 rm -f conftest.tail
120386 while grep . conftest.undefs >/dev/null
120388 # Write a limited-size here document to $tmp/undefs.sed.
120389 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
120390 # Speed up: don't consider the non `#undef'
120391 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
120392 # Work around the forget-to-reset-the-flag bug.
120393 echo 't clr' >>$CONFIG_STATUS
120394 echo ': clr' >>$CONFIG_STATUS
120395 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
120396 echo 'CEOF
120397 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
120398 rm -f $tmp/in
120399 mv $tmp/out $tmp/in
120400 ' >>$CONFIG_STATUS
120401 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
120402 rm -f conftest.undefs
120403 mv conftest.tail conftest.undefs
120405 rm -f conftest.undefs
120407 cat >>$CONFIG_STATUS <<\_ACEOF
120408 # Let's still pretend it is `configure' which instantiates (i.e., don't
120409 # use $as_me), people would be surprised to read:
120410 # /* config.h. Generated by config.status. */
120411 if test x"$ac_file" = x-; then
120412 echo "/* Generated by configure. */" >$tmp/config.h
120414 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
120416 cat $tmp/in >>$tmp/config.h
120417 rm -f $tmp/in
120418 if test x"$ac_file" != x-; then
120419 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
120420 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
120421 echo "$as_me: $ac_file is unchanged" >&6;}
120423 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
120424 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120425 X"$ac_file" : 'X\(//\)[^/]' \| \
120426 X"$ac_file" : 'X\(//\)$' \| \
120427 X"$ac_file" : 'X\(/\)' \| \
120428 . : '\(.\)' 2>/dev/null ||
120429 echo X"$ac_file" |
120430 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120431 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120432 /^X\(\/\/\)$/{ s//\1/; q; }
120433 /^X\(\/\).*/{ s//\1/; q; }
120434 s/.*/./; q'`
120435 { if $as_mkdir_p; then
120436 mkdir -p "$ac_dir"
120438 as_dir="$ac_dir"
120439 as_dirs=
120440 while test ! -d "$as_dir"; do
120441 as_dirs="$as_dir $as_dirs"
120442 as_dir=`(dirname "$as_dir") 2>/dev/null ||
120443 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120444 X"$as_dir" : 'X\(//\)[^/]' \| \
120445 X"$as_dir" : 'X\(//\)$' \| \
120446 X"$as_dir" : 'X\(/\)' \| \
120447 . : '\(.\)' 2>/dev/null ||
120448 echo X"$as_dir" |
120449 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120450 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120451 /^X\(\/\/\)$/{ s//\1/; q; }
120452 /^X\(\/\).*/{ s//\1/; q; }
120453 s/.*/./; q'`
120455 test ! -n "$as_dirs" || mkdir $as_dirs
120456 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
120457 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
120458 { (exit 1); exit 1; }; }; }
120460 rm -f $ac_file
120461 mv $tmp/config.h $ac_file
120464 cat $tmp/config.h
120465 rm -f $tmp/config.h
120467 # Compute $ac_file's index in $config_headers.
120468 _am_stamp_count=1
120469 for _am_header in $config_headers :; do
120470 case $_am_header in
120471 $ac_file | $ac_file:* )
120472 break ;;
120474 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
120477 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
120478 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120479 X$ac_file : 'X\(//\)[^/]' \| \
120480 X$ac_file : 'X\(//\)$' \| \
120481 X$ac_file : 'X\(/\)' \| \
120482 . : '\(.\)' 2>/dev/null ||
120483 echo X$ac_file |
120484 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120485 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120486 /^X\(\/\/\)$/{ s//\1/; q; }
120487 /^X\(\/\).*/{ s//\1/; q; }
120488 s/.*/./; q'`/stamp-h$_am_stamp_count
120490 _ACEOF
120491 cat >>$CONFIG_STATUS <<\_ACEOF
120494 # CONFIG_COMMANDS section.
120496 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
120497 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
120498 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
120499 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
120500 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120501 X"$ac_dest" : 'X\(//\)[^/]' \| \
120502 X"$ac_dest" : 'X\(//\)$' \| \
120503 X"$ac_dest" : 'X\(/\)' \| \
120504 . : '\(.\)' 2>/dev/null ||
120505 echo X"$ac_dest" |
120506 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120507 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120508 /^X\(\/\/\)$/{ s//\1/; q; }
120509 /^X\(\/\).*/{ s//\1/; q; }
120510 s/.*/./; q'`
120511 { if $as_mkdir_p; then
120512 mkdir -p "$ac_dir"
120514 as_dir="$ac_dir"
120515 as_dirs=
120516 while test ! -d "$as_dir"; do
120517 as_dirs="$as_dir $as_dirs"
120518 as_dir=`(dirname "$as_dir") 2>/dev/null ||
120519 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
120520 X"$as_dir" : 'X\(//\)[^/]' \| \
120521 X"$as_dir" : 'X\(//\)$' \| \
120522 X"$as_dir" : 'X\(/\)' \| \
120523 . : '\(.\)' 2>/dev/null ||
120524 echo X"$as_dir" |
120525 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
120526 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
120527 /^X\(\/\/\)$/{ s//\1/; q; }
120528 /^X\(\/\).*/{ s//\1/; q; }
120529 s/.*/./; q'`
120531 test ! -n "$as_dirs" || mkdir $as_dirs
120532 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
120533 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
120534 { (exit 1); exit 1; }; }; }
120536 ac_builddir=.
120538 if test "$ac_dir" != .; then
120539 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
120540 # A "../" for each directory in $ac_dir_suffix.
120541 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
120543 ac_dir_suffix= ac_top_builddir=
120546 case $srcdir in
120547 .) # No --srcdir option. We are building in place.
120548 ac_srcdir=.
120549 if test -z "$ac_top_builddir"; then
120550 ac_top_srcdir=.
120552 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
120553 fi ;;
120554 [\\/]* | ?:[\\/]* ) # Absolute path.
120555 ac_srcdir=$srcdir$ac_dir_suffix;
120556 ac_top_srcdir=$srcdir ;;
120557 *) # Relative path.
120558 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
120559 ac_top_srcdir=$ac_top_builddir$srcdir ;;
120562 # Do not use `cd foo && pwd` to compute absolute paths, because
120563 # the directories may not exist.
120564 case `pwd` in
120565 .) ac_abs_builddir="$ac_dir";;
120567 case "$ac_dir" in
120568 .) ac_abs_builddir=`pwd`;;
120569 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
120570 *) ac_abs_builddir=`pwd`/"$ac_dir";;
120571 esac;;
120573 case $ac_abs_builddir in
120574 .) ac_abs_top_builddir=${ac_top_builddir}.;;
120576 case ${ac_top_builddir}. in
120577 .) ac_abs_top_builddir=$ac_abs_builddir;;
120578 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
120579 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
120580 esac;;
120582 case $ac_abs_builddir in
120583 .) ac_abs_srcdir=$ac_srcdir;;
120585 case $ac_srcdir in
120586 .) ac_abs_srcdir=$ac_abs_builddir;;
120587 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
120588 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
120589 esac;;
120591 case $ac_abs_builddir in
120592 .) ac_abs_top_srcdir=$ac_top_srcdir;;
120594 case $ac_top_srcdir in
120595 .) ac_abs_top_srcdir=$ac_abs_builddir;;
120596 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
120597 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
120598 esac;;
120602 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
120603 echo "$as_me: executing $ac_dest commands" >&6;}
120604 case $ac_dest in
120605 default-1 )
120606 # Only add multilib support code if we just rebuilt the top-level
120607 # Makefile.
120608 case " $CONFIG_FILES " in
120609 *" Makefile "*)
120610 ac_file=Makefile . ${multi_basedir}/config-ml.in
120612 esac ;;
120613 libtool )
120615 # See if we are running on zsh, and set the options which allow our
120616 # commands through without removal of \ escapes.
120617 if test -n "${ZSH_VERSION+set}" ; then
120618 setopt NO_GLOB_SUBST
120621 cfgfile="${ofile}T"
120622 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
120623 $RM "$cfgfile"
120625 cat <<_LT_EOF >> "$cfgfile"
120626 #! $SHELL
120628 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
120629 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
120630 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
120631 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
120633 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
120634 # 2006, 2007, 2008 Free Software Foundation, Inc.
120635 # Written by Gordon Matzigkeit, 1996
120637 # This file is part of GNU Libtool.
120639 # GNU Libtool is free software; you can redistribute it and/or
120640 # modify it under the terms of the GNU General Public License as
120641 # published by the Free Software Foundation; either version 2 of
120642 # the License, or (at your option) any later version.
120644 # As a special exception to the GNU General Public License,
120645 # if you distribute this file as part of a program or library that
120646 # is built using GNU Libtool, you may include this file under the
120647 # same distribution terms that you use for the rest of that program.
120649 # GNU Libtool is distributed in the hope that it will be useful,
120650 # but WITHOUT ANY WARRANTY; without even the implied warranty of
120651 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
120652 # GNU General Public License for more details.
120654 # You should have received a copy of the GNU General Public License
120655 # along with GNU Libtool; see the file COPYING. If not, a copy
120656 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
120657 # obtained by writing to the Free Software Foundation, Inc.,
120658 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
120661 # The names of the tagged configurations supported by this script.
120662 available_tags="CXX "
120664 # ### BEGIN LIBTOOL CONFIG
120666 # Which release of libtool.m4 was used?
120667 macro_version=$macro_version
120668 macro_revision=$macro_revision
120670 # Whether or not to build shared libraries.
120671 build_libtool_libs=$enable_shared
120673 # Whether or not to build static libraries.
120674 build_old_libs=$enable_static
120676 # What type of objects to build.
120677 pic_mode=$pic_mode
120679 # Whether or not to optimize for fast installation.
120680 fast_install=$enable_fast_install
120682 # The host system.
120683 host_alias=$host_alias
120684 host=$host
120685 host_os=$host_os
120687 # The build system.
120688 build_alias=$build_alias
120689 build=$build
120690 build_os=$build_os
120692 # A sed program that does not truncate output.
120693 SED=$lt_SED
120695 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
120696 Xsed="\$SED -e 1s/^X//"
120698 # A grep program that handles long lines.
120699 GREP=$lt_GREP
120701 # An ERE matcher.
120702 EGREP=$lt_EGREP
120704 # A literal string matcher.
120705 FGREP=$lt_FGREP
120707 # A BSD- or MS-compatible name lister.
120708 NM=$lt_NM
120710 # Whether we need soft or hard links.
120711 LN_S=$lt_LN_S
120713 # What is the maximum length of a command?
120714 max_cmd_len=$max_cmd_len
120716 # Object file suffix (normally "o").
120717 objext=$ac_objext
120719 # Executable file suffix (normally "").
120720 exeext=$exeext
120722 # whether the shell understands "unset".
120723 lt_unset=$lt_unset
120725 # turn spaces into newlines.
120726 SP2NL=$lt_lt_SP2NL
120728 # turn newlines into spaces.
120729 NL2SP=$lt_lt_NL2SP
120731 # How to create reloadable object files.
120732 reload_flag=$lt_reload_flag
120733 reload_cmds=$lt_reload_cmds
120735 # An object symbol dumper.
120736 OBJDUMP=$lt_OBJDUMP
120738 # Method to check whether dependent libraries are shared objects.
120739 deplibs_check_method=$lt_deplibs_check_method
120741 # Command to use when deplibs_check_method == "file_magic".
120742 file_magic_cmd=$lt_file_magic_cmd
120744 # The archiver.
120745 AR=$lt_AR
120746 AR_FLAGS=$lt_AR_FLAGS
120748 # A symbol stripping program.
120749 STRIP=$lt_STRIP
120751 # Commands used to install an old-style archive.
120752 RANLIB=$lt_RANLIB
120753 old_postinstall_cmds=$lt_old_postinstall_cmds
120754 old_postuninstall_cmds=$lt_old_postuninstall_cmds
120756 # A C compiler.
120757 LTCC=$lt_CC
120759 # LTCC compiler flags.
120760 LTCFLAGS=$lt_CFLAGS
120762 # Take the output of nm and produce a listing of raw symbols and C names.
120763 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
120765 # Transform the output of nm in a proper C declaration.
120766 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
120768 # Transform the output of nm in a C name address pair.
120769 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
120771 # Transform the output of nm in a C name address pair when lib prefix is needed.
120772 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
120774 # The name of the directory that contains temporary libtool files.
120775 objdir=$objdir
120777 # Shell to use when invoking shell scripts.
120778 SHELL=$lt_SHELL
120780 # An echo program that does not interpret backslashes.
120781 ECHO=$lt_ECHO
120783 # Used to examine libraries when file_magic_cmd begins with "file".
120784 MAGIC_CMD=$MAGIC_CMD
120786 # Must we lock files when doing compilation?
120787 need_locks=$lt_need_locks
120789 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
120790 DSYMUTIL=$lt_DSYMUTIL
120792 # Tool to change global to local symbols on Mac OS X.
120793 NMEDIT=$lt_NMEDIT
120795 # Tool to manipulate fat objects and archives on Mac OS X.
120796 LIPO=$lt_LIPO
120798 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
120799 OTOOL=$lt_OTOOL
120801 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
120802 OTOOL64=$lt_OTOOL64
120804 # Old archive suffix (normally "a").
120805 libext=$libext
120807 # Shared library suffix (normally ".so").
120808 shrext_cmds=$lt_shrext_cmds
120810 # The commands to extract the exported symbol list from a shared archive.
120811 extract_expsyms_cmds=$lt_extract_expsyms_cmds
120813 # Variables whose values should be saved in libtool wrapper scripts and
120814 # restored at link time.
120815 variables_saved_for_relink=$lt_variables_saved_for_relink
120817 # Do we need the "lib" prefix for modules?
120818 need_lib_prefix=$need_lib_prefix
120820 # Do we need a version for libraries?
120821 need_version=$need_version
120823 # Library versioning type.
120824 version_type=$version_type
120826 # Shared library runtime path variable.
120827 runpath_var=$runpath_var
120829 # Shared library path variable.
120830 shlibpath_var=$shlibpath_var
120832 # Is shlibpath searched before the hard-coded library search path?
120833 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
120835 # Format of library name prefix.
120836 libname_spec=$lt_libname_spec
120838 # List of archive names. First name is the real one, the rest are links.
120839 # The last name is the one that the linker finds with -lNAME
120840 library_names_spec=$lt_library_names_spec
120842 # The coded name of the library, if different from the real name.
120843 soname_spec=$lt_soname_spec
120845 # Command to use after installation of a shared archive.
120846 postinstall_cmds=$lt_postinstall_cmds
120848 # Command to use after uninstallation of a shared archive.
120849 postuninstall_cmds=$lt_postuninstall_cmds
120851 # Commands used to finish a libtool library installation in a directory.
120852 finish_cmds=$lt_finish_cmds
120854 # As "finish_cmds", except a single script fragment to be evaled but
120855 # not shown.
120856 finish_eval=$lt_finish_eval
120858 # Whether we should hardcode library paths into libraries.
120859 hardcode_into_libs=$hardcode_into_libs
120861 # Compile-time system search path for libraries.
120862 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
120864 # Run-time system search path for libraries.
120865 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
120867 # Whether dlopen is supported.
120868 dlopen_support=$enable_dlopen
120870 # Whether dlopen of programs is supported.
120871 dlopen_self=$enable_dlopen_self
120873 # Whether dlopen of statically linked programs is supported.
120874 dlopen_self_static=$enable_dlopen_self_static
120876 # Commands to strip libraries.
120877 old_striplib=$lt_old_striplib
120878 striplib=$lt_striplib
120881 # The linker used to build libraries.
120882 LD=$lt_LD
120884 # Commands used to build an old-style archive.
120885 old_archive_cmds=$lt_old_archive_cmds
120887 # A language specific compiler.
120888 CC=$lt_compiler
120890 # Is the compiler the GNU compiler?
120891 with_gcc=$GCC
120893 # Compiler flag to turn off builtin functions.
120894 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
120896 # How to pass a linker flag through the compiler.
120897 wl=$lt_lt_prog_compiler_wl
120899 # Additional compiler flags for building library objects.
120900 pic_flag=$lt_lt_prog_compiler_pic
120902 # Compiler flag to prevent dynamic linking.
120903 link_static_flag=$lt_lt_prog_compiler_static
120905 # Does compiler simultaneously support -c and -o options?
120906 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
120908 # Whether or not to add -lc for building shared libraries.
120909 build_libtool_need_lc=$archive_cmds_need_lc
120911 # Whether or not to disallow shared libs when runtime libs are static.
120912 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
120914 # Compiler flag to allow reflexive dlopens.
120915 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
120917 # Compiler flag to generate shared objects directly from archives.
120918 whole_archive_flag_spec=$lt_whole_archive_flag_spec
120920 # Whether the compiler copes with passing no objects directly.
120921 compiler_needs_object=$lt_compiler_needs_object
120923 # Create an old-style archive from a shared archive.
120924 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
120926 # Create a temporary old-style archive to link instead of a shared archive.
120927 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
120929 # Commands used to build a shared archive.
120930 archive_cmds=$lt_archive_cmds
120931 archive_expsym_cmds=$lt_archive_expsym_cmds
120933 # Commands used to build a loadable module if different from building
120934 # a shared archive.
120935 module_cmds=$lt_module_cmds
120936 module_expsym_cmds=$lt_module_expsym_cmds
120938 # Whether we are building with GNU ld or not.
120939 with_gnu_ld=$lt_with_gnu_ld
120941 # Flag that allows shared libraries with undefined symbols to be built.
120942 allow_undefined_flag=$lt_allow_undefined_flag
120944 # Flag that enforces no undefined symbols.
120945 no_undefined_flag=$lt_no_undefined_flag
120947 # Flag to hardcode \$libdir into a binary during linking.
120948 # This must work even if \$libdir does not exist
120949 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
120951 # If ld is used when linking, flag to hardcode \$libdir into a binary
120952 # during linking. This must work even if \$libdir does not exist.
120953 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
120955 # Whether we need a single "-rpath" flag with a separated argument.
120956 hardcode_libdir_separator=$lt_hardcode_libdir_separator
120958 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
120959 # DIR into the resulting binary.
120960 hardcode_direct=$hardcode_direct
120962 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
120963 # DIR into the resulting binary and the resulting library dependency is
120964 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
120965 # library is relocated.
120966 hardcode_direct_absolute=$hardcode_direct_absolute
120968 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
120969 # into the resulting binary.
120970 hardcode_minus_L=$hardcode_minus_L
120972 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
120973 # into the resulting binary.
120974 hardcode_shlibpath_var=$hardcode_shlibpath_var
120976 # Set to "yes" if building a shared library automatically hardcodes DIR
120977 # into the library and all subsequent libraries and executables linked
120978 # against it.
120979 hardcode_automatic=$hardcode_automatic
120981 # Set to yes if linker adds runtime paths of dependent libraries
120982 # to runtime path list.
120983 inherit_rpath=$inherit_rpath
120985 # Whether libtool must link a program against all its dependency libraries.
120986 link_all_deplibs=$link_all_deplibs
120988 # Fix the shell variable \$srcfile for the compiler.
120989 fix_srcfile_path=$lt_fix_srcfile_path
120991 # Set to "yes" if exported symbols are required.
120992 always_export_symbols=$always_export_symbols
120994 # The commands to list exported symbols.
120995 export_symbols_cmds=$lt_export_symbols_cmds
120997 # Symbols that should not be listed in the preloaded symbols.
120998 exclude_expsyms=$lt_exclude_expsyms
121000 # Symbols that must always be exported.
121001 include_expsyms=$lt_include_expsyms
121003 # Commands necessary for linking programs (against libraries) with templates.
121004 prelink_cmds=$lt_prelink_cmds
121006 # Specify filename containing input files.
121007 file_list_spec=$lt_file_list_spec
121009 # How to hardcode a shared library path into an executable.
121010 hardcode_action=$hardcode_action
121012 # The directories searched by this compiler when creating a shared library.
121013 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
121015 # Dependencies to place before and after the objects being linked to
121016 # create a shared library.
121017 predep_objects=$lt_predep_objects
121018 postdep_objects=$lt_postdep_objects
121019 predeps=$lt_predeps
121020 postdeps=$lt_postdeps
121022 # The library search path used internally by the compiler when linking
121023 # a shared library.
121024 compiler_lib_search_path=$lt_compiler_lib_search_path
121026 # ### END LIBTOOL CONFIG
121028 _LT_EOF
121030 case $host_os in
121031 aix3*)
121032 cat <<\_LT_EOF >> "$cfgfile"
121033 # AIX sometimes has problems with the GCC collect2 program. For some
121034 # reason, if we set the COLLECT_NAMES environment variable, the problems
121035 # vanish in a puff of smoke.
121036 if test "X${COLLECT_NAMES+set}" != Xset; then
121037 COLLECT_NAMES=
121038 export COLLECT_NAMES
121040 _LT_EOF
121045 ltmain="$ac_aux_dir/ltmain.sh"
121048 # We use sed instead of cat because bash on DJGPP gets confused if
121049 # if finds mixed CR/LF and LF-only lines. Since sed operates in
121050 # text mode, it properly converts lines to CR/LF. This bash problem
121051 # is reportedly fixed, but why not run on old versions too?
121052 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
121053 || (rm -f "$cfgfile"; exit 1)
121055 case $xsi_shell in
121057 cat << \_LT_EOF >> "$cfgfile"
121059 # func_dirname file append nondir_replacement
121060 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
121061 # otherwise set result to NONDIR_REPLACEMENT.
121062 func_dirname ()
121064 case ${1} in
121065 */*) func_dirname_result="${1%/*}${2}" ;;
121066 * ) func_dirname_result="${3}" ;;
121070 # func_basename file
121071 func_basename ()
121073 func_basename_result="${1##*/}"
121076 # func_dirname_and_basename file append nondir_replacement
121077 # perform func_basename and func_dirname in a single function
121078 # call:
121079 # dirname: Compute the dirname of FILE. If nonempty,
121080 # add APPEND to the result, otherwise set result
121081 # to NONDIR_REPLACEMENT.
121082 # value returned in "$func_dirname_result"
121083 # basename: Compute filename of FILE.
121084 # value retuned in "$func_basename_result"
121085 # Implementation must be kept synchronized with func_dirname
121086 # and func_basename. For efficiency, we do not delegate to
121087 # those functions but instead duplicate the functionality here.
121088 func_dirname_and_basename ()
121090 case ${1} in
121091 */*) func_dirname_result="${1%/*}${2}" ;;
121092 * ) func_dirname_result="${3}" ;;
121094 func_basename_result="${1##*/}"
121097 # func_stripname prefix suffix name
121098 # strip PREFIX and SUFFIX off of NAME.
121099 # PREFIX and SUFFIX must not contain globbing or regex special
121100 # characters, hashes, percent signs, but SUFFIX may contain a leading
121101 # dot (in which case that matches only a dot).
121102 func_stripname ()
121104 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
121105 # positional parameters, so assign one to ordinary parameter first.
121106 func_stripname_result=${3}
121107 func_stripname_result=${func_stripname_result#"${1}"}
121108 func_stripname_result=${func_stripname_result%"${2}"}
121111 # func_opt_split
121112 func_opt_split ()
121114 func_opt_split_opt=${1%%=*}
121115 func_opt_split_arg=${1#*=}
121118 # func_lo2o object
121119 func_lo2o ()
121121 case ${1} in
121122 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
121123 *) func_lo2o_result=${1} ;;
121127 # func_xform libobj-or-source
121128 func_xform ()
121130 func_xform_result=${1%.*}.lo
121133 # func_arith arithmetic-term...
121134 func_arith ()
121136 func_arith_result=$(( $* ))
121139 # func_len string
121140 # STRING may not start with a hyphen.
121141 func_len ()
121143 func_len_result=${#1}
121146 _LT_EOF
121148 *) # Bourne compatible functions.
121149 cat << \_LT_EOF >> "$cfgfile"
121151 # func_dirname file append nondir_replacement
121152 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
121153 # otherwise set result to NONDIR_REPLACEMENT.
121154 func_dirname ()
121156 # Extract subdirectory from the argument.
121157 func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
121158 if test "X$func_dirname_result" = "X${1}"; then
121159 func_dirname_result="${3}"
121161 func_dirname_result="$func_dirname_result${2}"
121165 # func_basename file
121166 func_basename ()
121168 func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
121172 # func_stripname prefix suffix name
121173 # strip PREFIX and SUFFIX off of NAME.
121174 # PREFIX and SUFFIX must not contain globbing or regex special
121175 # characters, hashes, percent signs, but SUFFIX may contain a leading
121176 # dot (in which case that matches only a dot).
121177 # func_strip_suffix prefix name
121178 func_stripname ()
121180 case ${2} in
121181 .*) func_stripname_result=`$ECHO "X${3}" \
121182 | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
121183 *) func_stripname_result=`$ECHO "X${3}" \
121184 | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
121188 # sed scripts:
121189 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
121190 my_sed_long_arg='1s/^-[^=]*=//'
121192 # func_opt_split
121193 func_opt_split ()
121195 func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
121196 func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
121199 # func_lo2o object
121200 func_lo2o ()
121202 func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
121205 # func_xform libobj-or-source
121206 func_xform ()
121208 func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
121211 # func_arith arithmetic-term...
121212 func_arith ()
121214 func_arith_result=`expr "$@"`
121217 # func_len string
121218 # STRING may not start with a hyphen.
121219 func_len ()
121221 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
121224 _LT_EOF
121227 case $lt_shell_append in
121229 cat << \_LT_EOF >> "$cfgfile"
121231 # func_append var value
121232 # Append VALUE to the end of shell variable VAR.
121233 func_append ()
121235 eval "$1+=\$2"
121237 _LT_EOF
121240 cat << \_LT_EOF >> "$cfgfile"
121242 # func_append var value
121243 # Append VALUE to the end of shell variable VAR.
121244 func_append ()
121246 eval "$1=\$$1\$2"
121249 _LT_EOF
121254 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
121255 || (rm -f "$cfgfile"; exit 1)
121257 mv -f "$cfgfile" "$ofile" ||
121258 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
121259 chmod +x "$ofile"
121262 cat <<_LT_EOF >> "$ofile"
121264 # ### BEGIN LIBTOOL TAG CONFIG: CXX
121266 # The linker used to build libraries.
121267 LD=$lt_LD_CXX
121269 # Commands used to build an old-style archive.
121270 old_archive_cmds=$lt_old_archive_cmds_CXX
121272 # A language specific compiler.
121273 CC=$lt_compiler_CXX
121275 # Is the compiler the GNU compiler?
121276 with_gcc=$GCC_CXX
121278 # Compiler flag to turn off builtin functions.
121279 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
121281 # How to pass a linker flag through the compiler.
121282 wl=$lt_lt_prog_compiler_wl_CXX
121284 # Additional compiler flags for building library objects.
121285 pic_flag=$lt_lt_prog_compiler_pic_CXX
121287 # Compiler flag to prevent dynamic linking.
121288 link_static_flag=$lt_lt_prog_compiler_static_CXX
121290 # Does compiler simultaneously support -c and -o options?
121291 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
121293 # Whether or not to add -lc for building shared libraries.
121294 build_libtool_need_lc=$archive_cmds_need_lc_CXX
121296 # Whether or not to disallow shared libs when runtime libs are static.
121297 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
121299 # Compiler flag to allow reflexive dlopens.
121300 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
121302 # Compiler flag to generate shared objects directly from archives.
121303 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
121305 # Whether the compiler copes with passing no objects directly.
121306 compiler_needs_object=$lt_compiler_needs_object_CXX
121308 # Create an old-style archive from a shared archive.
121309 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
121311 # Create a temporary old-style archive to link instead of a shared archive.
121312 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
121314 # Commands used to build a shared archive.
121315 archive_cmds=$lt_archive_cmds_CXX
121316 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
121318 # Commands used to build a loadable module if different from building
121319 # a shared archive.
121320 module_cmds=$lt_module_cmds_CXX
121321 module_expsym_cmds=$lt_module_expsym_cmds_CXX
121323 # Whether we are building with GNU ld or not.
121324 with_gnu_ld=$lt_with_gnu_ld_CXX
121326 # Flag that allows shared libraries with undefined symbols to be built.
121327 allow_undefined_flag=$lt_allow_undefined_flag_CXX
121329 # Flag that enforces no undefined symbols.
121330 no_undefined_flag=$lt_no_undefined_flag_CXX
121332 # Flag to hardcode \$libdir into a binary during linking.
121333 # This must work even if \$libdir does not exist
121334 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
121336 # If ld is used when linking, flag to hardcode \$libdir into a binary
121337 # during linking. This must work even if \$libdir does not exist.
121338 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
121340 # Whether we need a single "-rpath" flag with a separated argument.
121341 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
121343 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
121344 # DIR into the resulting binary.
121345 hardcode_direct=$hardcode_direct_CXX
121347 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
121348 # DIR into the resulting binary and the resulting library dependency is
121349 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
121350 # library is relocated.
121351 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
121353 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
121354 # into the resulting binary.
121355 hardcode_minus_L=$hardcode_minus_L_CXX
121357 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
121358 # into the resulting binary.
121359 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
121361 # Set to "yes" if building a shared library automatically hardcodes DIR
121362 # into the library and all subsequent libraries and executables linked
121363 # against it.
121364 hardcode_automatic=$hardcode_automatic_CXX
121366 # Set to yes if linker adds runtime paths of dependent libraries
121367 # to runtime path list.
121368 inherit_rpath=$inherit_rpath_CXX
121370 # Whether libtool must link a program against all its dependency libraries.
121371 link_all_deplibs=$link_all_deplibs_CXX
121373 # Fix the shell variable \$srcfile for the compiler.
121374 fix_srcfile_path=$lt_fix_srcfile_path_CXX
121376 # Set to "yes" if exported symbols are required.
121377 always_export_symbols=$always_export_symbols_CXX
121379 # The commands to list exported symbols.
121380 export_symbols_cmds=$lt_export_symbols_cmds_CXX
121382 # Symbols that should not be listed in the preloaded symbols.
121383 exclude_expsyms=$lt_exclude_expsyms_CXX
121385 # Symbols that must always be exported.
121386 include_expsyms=$lt_include_expsyms_CXX
121388 # Commands necessary for linking programs (against libraries) with templates.
121389 prelink_cmds=$lt_prelink_cmds_CXX
121391 # Specify filename containing input files.
121392 file_list_spec=$lt_file_list_spec_CXX
121394 # How to hardcode a shared library path into an executable.
121395 hardcode_action=$hardcode_action_CXX
121397 # The directories searched by this compiler when creating a shared library.
121398 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
121400 # Dependencies to place before and after the objects being linked to
121401 # create a shared library.
121402 predep_objects=$lt_predep_objects_CXX
121403 postdep_objects=$lt_postdep_objects_CXX
121404 predeps=$lt_predeps_CXX
121405 postdeps=$lt_postdeps_CXX
121407 # The library search path used internally by the compiler when linking
121408 # a shared library.
121409 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
121411 # ### END LIBTOOL TAG CONFIG: CXX
121412 _LT_EOF
121415 include/gstdint.h )
121416 if test "$GCC" = yes; then
121417 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
121419 echo "/* generated for $CC */" > tmp-stdint.h
121422 sed 's/^ *//' >> tmp-stdint.h <<EOF
121424 #ifndef GCC_GENERATED_STDINT_H
121425 #define GCC_GENERATED_STDINT_H 1
121427 #include <sys/types.h>
121430 if test "$acx_cv_header_stdint" != stdint.h; then
121431 echo "#include <stddef.h>" >> tmp-stdint.h
121433 if test "$acx_cv_header_stdint" != stddef.h; then
121434 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
121437 sed 's/^ *//' >> tmp-stdint.h <<EOF
121438 /* glibc uses these symbols as guards to prevent redefinitions. */
121439 #ifdef __int8_t_defined
121440 #define _INT8_T
121441 #define _INT16_T
121442 #define _INT32_T
121443 #endif
121444 #ifdef __uint32_t_defined
121445 #define _UINT32_T
121446 #endif
121450 # ----------------- done header, emit basic int types -------------
121451 if test "$acx_cv_header_stdint" = stddef.h; then
121452 sed 's/^ *//' >> tmp-stdint.h <<EOF
121454 #ifndef _UINT8_T
121455 #define _UINT8_T
121456 #ifndef __uint8_t_defined
121457 #define __uint8_t_defined
121458 typedef unsigned $acx_cv_type_int8_t uint8_t;
121459 #endif
121460 #endif
121462 #ifndef _UINT16_T
121463 #define _UINT16_T
121464 #ifndef __uint16_t_defined
121465 #define __uint16_t_defined
121466 typedef unsigned $acx_cv_type_int16_t uint16_t;
121467 #endif
121468 #endif
121470 #ifndef _UINT32_T
121471 #define _UINT32_T
121472 #ifndef __uint32_t_defined
121473 #define __uint32_t_defined
121474 typedef unsigned $acx_cv_type_int32_t uint32_t;
121475 #endif
121476 #endif
121478 #ifndef _INT8_T
121479 #define _INT8_T
121480 #ifndef __int8_t_defined
121481 #define __int8_t_defined
121482 typedef $acx_cv_type_int8_t int8_t;
121483 #endif
121484 #endif
121486 #ifndef _INT16_T
121487 #define _INT16_T
121488 #ifndef __int16_t_defined
121489 #define __int16_t_defined
121490 typedef $acx_cv_type_int16_t int16_t;
121491 #endif
121492 #endif
121494 #ifndef _INT32_T
121495 #define _INT32_T
121496 #ifndef __int32_t_defined
121497 #define __int32_t_defined
121498 typedef $acx_cv_type_int32_t int32_t;
121499 #endif
121500 #endif
121502 elif test "$ac_cv_type_u_int32_t" = yes; then
121503 sed 's/^ *//' >> tmp-stdint.h <<EOF
121505 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
121506 #ifndef _INT8_T
121507 #define _INT8_T
121508 #endif
121509 #ifndef _INT16_T
121510 #define _INT16_T
121511 #endif
121512 #ifndef _INT32_T
121513 #define _INT32_T
121514 #endif
121516 #ifndef _UINT8_T
121517 #define _UINT8_T
121518 #ifndef __uint8_t_defined
121519 #define __uint8_t_defined
121520 typedef u_int8_t uint8_t;
121521 #endif
121522 #endif
121524 #ifndef _UINT16_T
121525 #define _UINT16_T
121526 #ifndef __uint16_t_defined
121527 #define __uint16_t_defined
121528 typedef u_int16_t uint16_t;
121529 #endif
121530 #endif
121532 #ifndef _UINT32_T
121533 #define _UINT32_T
121534 #ifndef __uint32_t_defined
121535 #define __uint32_t_defined
121536 typedef u_int32_t uint32_t;
121537 #endif
121538 #endif
121541 sed 's/^ *//' >> tmp-stdint.h <<EOF
121543 /* Some systems have guard macros to prevent redefinitions, define them. */
121544 #ifndef _INT8_T
121545 #define _INT8_T
121546 #endif
121547 #ifndef _INT16_T
121548 #define _INT16_T
121549 #endif
121550 #ifndef _INT32_T
121551 #define _INT32_T
121552 #endif
121553 #ifndef _UINT8_T
121554 #define _UINT8_T
121555 #endif
121556 #ifndef _UINT16_T
121557 #define _UINT16_T
121558 #endif
121559 #ifndef _UINT32_T
121560 #define _UINT32_T
121561 #endif
121565 # ------------- done basic int types, emit int64_t types ------------
121566 if test "$ac_cv_type_uint64_t" = yes; then
121567 sed 's/^ *//' >> tmp-stdint.h <<EOF
121569 /* system headers have good uint64_t and int64_t */
121570 #ifndef _INT64_T
121571 #define _INT64_T
121572 #endif
121573 #ifndef _UINT64_T
121574 #define _UINT64_T
121575 #endif
121577 elif test "$ac_cv_type_u_int64_t" = yes; then
121578 sed 's/^ *//' >> tmp-stdint.h <<EOF
121580 /* system headers have an u_int64_t (and int64_t) */
121581 #ifndef _INT64_T
121582 #define _INT64_T
121583 #endif
121584 #ifndef _UINT64_T
121585 #define _UINT64_T
121586 #ifndef __uint64_t_defined
121587 #define __uint64_t_defined
121588 typedef u_int64_t uint64_t;
121589 #endif
121590 #endif
121592 elif test -n "$acx_cv_type_int64_t"; then
121593 sed 's/^ *//' >> tmp-stdint.h <<EOF
121595 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
121596 #ifndef _INT64_T
121597 #define _INT64_T
121598 typedef $acx_cv_type_int64_t int64_t;
121599 #endif
121600 #ifndef _UINT64_T
121601 #define _UINT64_T
121602 #ifndef __uint64_t_defined
121603 #define __uint64_t_defined
121604 typedef unsigned $acx_cv_type_int64_t uint64_t;
121605 #endif
121606 #endif
121609 sed 's/^ *//' >> tmp-stdint.h <<EOF
121611 /* some common heuristics for int64_t, using compiler-specific tests */
121612 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
121613 #ifndef _INT64_T
121614 #define _INT64_T
121615 #ifndef __int64_t_defined
121616 typedef long long int64_t;
121617 #endif
121618 #endif
121619 #ifndef _UINT64_T
121620 #define _UINT64_T
121621 typedef unsigned long long uint64_t;
121622 #endif
121624 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
121625 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
121626 does not implement __extension__. But that compiler doesn't define
121627 __GNUC_MINOR__. */
121628 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
121629 # define __extension__
121630 # endif
121632 # ifndef _INT64_T
121633 # define _INT64_T
121634 __extension__ typedef long long int64_t;
121635 # endif
121636 # ifndef _UINT64_T
121637 # define _UINT64_T
121638 __extension__ typedef unsigned long long uint64_t;
121639 # endif
121641 #elif !defined __STRICT_ANSI__
121642 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
121644 # ifndef _INT64_T
121645 # define _INT64_T
121646 typedef __int64 int64_t;
121647 # endif
121648 # ifndef _UINT64_T
121649 # define _UINT64_T
121650 typedef unsigned __int64 uint64_t;
121651 # endif
121652 # endif /* compiler */
121654 #endif /* ANSI version */
121658 # ------------- done int64_t types, emit intptr types ------------
121659 if test "$ac_cv_type_uintptr_t" != yes; then
121660 sed 's/^ *//' >> tmp-stdint.h <<EOF
121662 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
121663 #ifndef __uintptr_t_defined
121664 typedef u$acx_cv_type_intptr_t uintptr_t;
121665 #endif
121666 #ifndef __intptr_t_defined
121667 typedef $acx_cv_type_intptr_t intptr_t;
121668 #endif
121672 # ------------- done intptr types, emit int_least types ------------
121673 if test "$ac_cv_type_int_least32_t" != yes; then
121674 sed 's/^ *//' >> tmp-stdint.h <<EOF
121676 /* Define int_least types */
121677 typedef int8_t int_least8_t;
121678 typedef int16_t int_least16_t;
121679 typedef int32_t int_least32_t;
121680 #ifdef _INT64_T
121681 typedef int64_t int_least64_t;
121682 #endif
121684 typedef uint8_t uint_least8_t;
121685 typedef uint16_t uint_least16_t;
121686 typedef uint32_t uint_least32_t;
121687 #ifdef _UINT64_T
121688 typedef uint64_t uint_least64_t;
121689 #endif
121693 # ------------- done intptr types, emit int_fast types ------------
121694 if test "$ac_cv_type_int_fast32_t" != yes; then
121695 sed 's/^ *//' >> tmp-stdint.h <<EOF
121697 /* Define int_fast types. short is often slow */
121698 typedef int8_t int_fast8_t;
121699 typedef int int_fast16_t;
121700 typedef int32_t int_fast32_t;
121701 #ifdef _INT64_T
121702 typedef int64_t int_fast64_t;
121703 #endif
121705 typedef uint8_t uint_fast8_t;
121706 typedef unsigned int uint_fast16_t;
121707 typedef uint32_t uint_fast32_t;
121708 #ifdef _UINT64_T
121709 typedef uint64_t uint_fast64_t;
121710 #endif
121714 if test "$ac_cv_type_uintmax_t" != yes; then
121715 sed 's/^ *//' >> tmp-stdint.h <<EOF
121717 /* Define intmax based on what we found */
121718 #ifdef _INT64_T
121719 typedef int64_t intmax_t;
121720 #else
121721 typedef long intmax_t;
121722 #endif
121723 #ifdef _UINT64_T
121724 typedef uint64_t uintmax_t;
121725 #else
121726 typedef unsigned long uintmax_t;
121727 #endif
121731 sed 's/^ *//' >> tmp-stdint.h <<EOF
121733 #endif /* GCC_GENERATED_STDINT_H */
121736 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
121737 rm -f tmp-stdint.h
121739 mv -f tmp-stdint.h include/gstdint.h
121743 default ) if test -n "$CONFIG_FILES"; then
121744 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
121745 # that multilib installs will end up installed in the correct place.
121746 # The testsuite needs it for multilib-aware ABI baseline files.
121747 # To work around this not being passed down from config-ml.in ->
121748 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
121749 # append it here. Only modify Makefiles that have just been created.
121751 # Also, get rid of this simulated-VPATH thing that automake does.
121752 cat > vpsed << \_EOF
121753 s!`test -f '$<' || echo '$(srcdir)/'`!!
121755 for i in $SUBDIRS; do
121756 case $CONFIG_FILES in
121757 *${i}/Makefile*)
121758 #echo "Adding MULTISUBDIR to $i/Makefile"
121759 sed -f vpsed $i/Makefile > tmp
121760 grep '^MULTISUBDIR =' Makefile >> tmp
121761 mv tmp $i/Makefile
121765 rm vpsed
121767 (cd include && ${MAKE-make})
121771 _ACEOF
121773 cat >>$CONFIG_STATUS <<\_ACEOF
121775 { (exit 0); exit 0; }
121776 _ACEOF
121777 chmod +x $CONFIG_STATUS
121778 ac_clean_files=$ac_clean_files_save
121781 # configure is writing to config.log, and then calls config.status.
121782 # config.status does its own redirection, appending to config.log.
121783 # Unfortunately, on DOS this fails, as config.log is still kept open
121784 # by configure, so config.status won't be able to write to it; its
121785 # output is simply discarded. So we exec the FD to /dev/null,
121786 # effectively closing config.log, so it can be properly (re)opened and
121787 # appended to by config.status. When coming back to configure, we
121788 # need to make the FD available again.
121789 if test "$no_create" != yes; then
121790 ac_cs_success=:
121791 ac_config_status_args=
121792 test "$silent" = yes &&
121793 ac_config_status_args="$ac_config_status_args --quiet"
121794 exec 5>/dev/null
121795 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
121796 exec 5>>config.log
121797 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
121798 # would make configure fail if this is the last instruction.
121799 $ac_cs_success || { (exit 1); exit 1; }